voyager-ionic-core 8.2.0 → 8.2.5
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/ion-refresher.js +28 -1
- package/components/item.js +3 -3
- package/dist/cjs/{app-globals-1c261a7f.js → app-globals-7dbf2ade.js} +1 -1
- package/dist/cjs/{button-active-8da8d63e.js → button-active-cf1c215d.js} +1 -1
- package/dist/cjs/{hardware-back-button-93f7a8f0.js → hardware-back-button-ddbc12ea.js} +2 -2
- package/dist/cjs/{index-fa3cf6ba.js → index-24fe3fe6.js} +4 -4
- package/dist/cjs/{index-ceeb4ff8.js → index-480c143c.js} +234 -185
- package/dist/cjs/{index-93b3a556.js → index-a3f97de0.js} +2 -2
- 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 +30 -3
- 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-f401ca2e.js → ionic-global-c1db87a5.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-ae54d131.js → ios.transition-8419294d.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-dbc2d3f3.js → md.transition-39852d6b.js} +3 -3
- package/dist/cjs/{overlays-d4afb0bd.js → overlays-55d77381.js} +2 -2
- package/dist/cjs/{status-tap-0a82a165.js → status-tap-b68fa888.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/refresher/refresher.js +28 -1
- package/dist/docs.json +3 -3
- package/dist/esm/{app-globals-7c667c11.js → app-globals-7f30ce3c.js} +1 -1
- package/dist/esm/{button-active-7c57df95.js → button-active-78f50add.js} +1 -1
- package/dist/esm/{hardware-back-button-63852d15.js → hardware-back-button-2e99752e.js} +2 -2
- package/dist/esm/{index-1e2f8425.js → index-4094f808.js} +2 -2
- package/dist/esm/{index-8d8c14b0.js → index-7a952e7a.js} +234 -185
- package/dist/esm/{index-91ed2172.js → index-8808daa5.js} +4 -4
- 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 +30 -3
- 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-8180d812.js → ionic-global-81a1064f.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-140cedc8.js → ios.transition-0a5004b4.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-4961bea4.js → md.transition-b6135ada.js} +3 -3
- package/dist/esm/{overlays-e8e5bd06.js → overlays-e1bad9cd.js} +2 -2
- package/dist/esm/{status-tap-0502d0fd.js → status-tap-17122cea.js} +1 -1
- package/dist/esm-es5/app-globals-7f30ce3c.js +4 -0
- package/dist/esm-es5/{button-active-7c57df95.js → button-active-78f50add.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-63852d15.js → hardware-back-button-2e99752e.js} +1 -1
- package/dist/esm-es5/{index-1e2f8425.js → index-4094f808.js} +1 -1
- package/dist/esm-es5/index-7a952e7a.js +5 -0
- package/dist/esm-es5/{index-91ed2172.js → index-8808daa5.js} +1 -1
- 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-8180d812.js → ionic-global-81a1064f.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-140cedc8.js → ios.transition-0a5004b4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-4961bea4.js → md.transition-b6135ada.js} +1 -1
- package/dist/esm-es5/{overlays-e8e5bd06.js → overlays-e1bad9cd.js} +1 -1
- package/dist/esm-es5/{status-tap-0502d0fd.js → status-tap-17122cea.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-f9b3ffd6.system.entry.js → p-013621f0.system.entry.js} +1 -1
- package/dist/ionic/{p-94b46442.entry.js → p-057c2f6f.entry.js} +1 -1
- package/dist/ionic/p-071cb08a.entry.js +4 -0
- package/dist/ionic/{p-1e5cabf8.entry.js → p-090c318d.entry.js} +1 -1
- package/dist/ionic/{p-a0abe7ab.system.entry.js → p-09f64b99.system.entry.js} +1 -1
- package/dist/ionic/{p-00f85ca4.entry.js → p-0abd2546.entry.js} +1 -1
- package/dist/ionic/{p-111b0e11.system.entry.js → p-0db55ab4.system.entry.js} +1 -1
- package/dist/ionic/{p-5e1094ae.system.entry.js → p-11c4215a.system.entry.js} +1 -1
- package/dist/ionic/{p-a4116282.entry.js → p-130ce79e.entry.js} +1 -1
- package/dist/ionic/{p-fcbd65bc.system.js → p-14f0f49f.system.js} +1 -1
- package/dist/ionic/{p-b7299e38.system.entry.js → p-15c36478.system.entry.js} +1 -1
- package/dist/ionic/{p-c5c65bbe.js → p-1974d32f.js} +1 -1
- package/dist/ionic/{p-79f4cb29.entry.js → p-1b2c22ed.entry.js} +1 -1
- package/dist/ionic/{p-aeb61b82.entry.js → p-1c6cd5bc.entry.js} +1 -1
- package/dist/ionic/{p-5f610767.entry.js → p-2496a357.entry.js} +1 -1
- package/dist/ionic/{p-4816d827.entry.js → p-25467ef7.entry.js} +1 -1
- package/dist/ionic/{p-f5efe527.entry.js → p-271076f2.entry.js} +1 -1
- package/dist/ionic/{p-4691dc8d.js → p-274496f1.js} +1 -1
- package/dist/ionic/{p-a00a5621.entry.js → p-283c6631.entry.js} +1 -1
- package/dist/ionic/{p-370835b4.system.js → p-2a08e244.system.js} +1 -1
- package/dist/ionic/{p-ae3be67f.system.entry.js → p-33ce19cf.system.entry.js} +1 -1
- package/dist/ionic/{p-7a416af9.entry.js → p-344d6225.entry.js} +1 -1
- package/dist/ionic/{p-a5adb027.entry.js → p-3961b22e.entry.js} +1 -1
- package/dist/ionic/{p-78bf8302.system.entry.js → p-39af4fa4.system.entry.js} +1 -1
- package/dist/ionic/{p-00343522.system.entry.js → p-3b11ab95.system.entry.js} +1 -1
- package/dist/ionic/{p-0617a85d.entry.js → p-3b767add.entry.js} +1 -1
- package/dist/ionic/{p-27317f8f.system.js → p-3fcfe35c.system.js} +1 -1
- package/dist/ionic/p-41e85f07.js +4 -0
- package/dist/ionic/{p-1dd59f8d.system.entry.js → p-437d3e12.system.entry.js} +1 -1
- package/dist/ionic/{p-c6143912.entry.js → p-46cf378f.entry.js} +1 -1
- package/dist/ionic/{p-71f25447.system.entry.js → p-49c011e3.system.entry.js} +1 -1
- package/dist/ionic/{p-e08d9edc.system.entry.js → p-4a0db73d.system.entry.js} +1 -1
- package/dist/ionic/{p-750e902d.system.entry.js → p-4a3d2f75.system.entry.js} +1 -1
- package/dist/ionic/{p-c44efdb8.entry.js → p-4af59128.entry.js} +1 -1
- package/dist/ionic/{p-eef82267.entry.js → p-4c06d890.entry.js} +1 -1
- package/dist/ionic/{p-fa7234ee.entry.js → p-4c68bf47.entry.js} +1 -1
- package/dist/ionic/{p-eaab79f3.entry.js → p-4d96e6a7.entry.js} +1 -1
- package/dist/ionic/{p-764eb419.system.entry.js → p-4de0819c.system.entry.js} +1 -1
- package/dist/ionic/{p-11feccde.system.entry.js → p-4f54d1aa.system.entry.js} +1 -1
- package/dist/ionic/{p-4fa57f1e.system.entry.js → p-527815e1.system.entry.js} +1 -1
- package/dist/ionic/{p-935221f8.system.entry.js → p-5303af24.system.entry.js} +1 -1
- package/dist/ionic/{p-71e2f283.system.entry.js → p-54690f26.system.entry.js} +1 -1
- package/dist/ionic/{p-13a736a9.entry.js → p-57c9689a.entry.js} +1 -1
- package/dist/ionic/p-5a28559b.js +5 -0
- package/dist/ionic/{p-967da5f2.system.js → p-5c00ca73.system.js} +1 -1
- package/dist/ionic/{p-80aae5d7.entry.js → p-5c5e7f5c.entry.js} +1 -1
- package/dist/ionic/{p-c1d7a187.system.entry.js → p-5d0b285d.system.entry.js} +1 -1
- package/dist/ionic/{p-bdc1b4e3.js → p-5e687df9.js} +1 -1
- package/dist/ionic/{p-0973cae7.entry.js → p-60a6fadb.entry.js} +1 -1
- package/dist/ionic/{p-8c7490bc.system.entry.js → p-611bb4d1.system.entry.js} +1 -1
- package/dist/ionic/{p-a931cd3e.system.entry.js → p-6782ffa5.system.entry.js} +1 -1
- package/dist/ionic/{p-0f89c47c.js → p-678beb9e.js} +1 -1
- package/dist/ionic/{p-fba8ea9e.entry.js → p-679744bf.entry.js} +1 -1
- package/dist/ionic/{p-cf8ad0c3.entry.js → p-67bc0359.entry.js} +1 -1
- package/dist/ionic/{p-3fd68f4e.system.entry.js → p-6904a62e.system.entry.js} +1 -1
- package/dist/ionic/{p-ee8bf348.system.entry.js → p-6b14212a.system.entry.js} +1 -1
- package/dist/ionic/{p-b0ff8469.system.entry.js → p-6db3f661.system.entry.js} +1 -1
- package/dist/ionic/p-6e3e94e2.js +4 -0
- package/dist/ionic/{p-f1c090c5.system.entry.js → p-6ef231bc.system.entry.js} +1 -1
- package/dist/ionic/p-6f7eb5d1.system.js +5 -0
- package/dist/ionic/{p-a055fdcf.system.entry.js → p-6fb5e9a7.system.entry.js} +1 -1
- package/dist/ionic/{p-7198726e.entry.js → p-7048fe74.entry.js} +1 -1
- package/dist/ionic/{p-aeef6ac4.entry.js → p-70e786ea.entry.js} +1 -1
- package/dist/ionic/{p-30bbe61c.system.js → p-767a0d69.system.js} +1 -1
- package/dist/ionic/{p-c89af27e.entry.js → p-7a6e6896.entry.js} +1 -1
- package/dist/ionic/{p-443cbfcb.entry.js → p-7dbadc9f.entry.js} +1 -1
- package/dist/ionic/{p-4455daad.entry.js → p-7e192c6a.entry.js} +1 -1
- package/dist/ionic/{p-c5543c41.system.entry.js → p-804c9125.system.entry.js} +1 -1
- package/dist/ionic/{p-c4493e98.system.entry.js → p-88c0ff08.system.entry.js} +1 -1
- package/dist/ionic/{p-98125393.system.js → p-8df34150.system.js} +1 -1
- package/dist/ionic/{p-c7717147.js → p-972902db.js} +1 -1
- package/dist/ionic/{p-f896c857.system.entry.js → p-9847b92f.system.entry.js} +1 -1
- package/dist/ionic/{p-24b0ece0.entry.js → p-98566693.entry.js} +1 -1
- package/dist/ionic/{p-4713f5f0.entry.js → p-9aae0bf3.entry.js} +1 -1
- package/dist/ionic/{p-ddde112a.js → p-9d88dc43.js} +1 -1
- package/dist/ionic/{p-c7a015e4.entry.js → p-9df171a1.entry.js} +1 -1
- package/dist/ionic/{p-9b46f7e0.entry.js → p-a60914c0.entry.js} +1 -1
- package/dist/ionic/{p-7058dfda.entry.js → p-a69e118f.entry.js} +1 -1
- package/dist/ionic/{p-5cd86cdb.system.entry.js → p-a8ed8cd3.system.entry.js} +1 -1
- package/dist/ionic/{p-54b04ed1.system.entry.js → p-aa34fd2f.system.entry.js} +1 -1
- package/dist/ionic/{p-45a51395.system.js → p-b0bd4813.system.js} +1 -1
- package/dist/ionic/{p-fc6f99be.js → p-b2cd7aae.js} +1 -1
- package/dist/ionic/p-b59d0fab.system.js +4 -0
- package/dist/ionic/{p-34827988.system.entry.js → p-b7b4c08d.system.entry.js} +1 -1
- package/dist/ionic/{p-3b0711a0.system.entry.js → p-b7d1659f.system.entry.js} +1 -1
- package/dist/ionic/{p-eea44228.entry.js → p-bbeeadc8.entry.js} +1 -1
- package/dist/ionic/{p-b84d9005.system.entry.js → p-c21ea624.system.entry.js} +1 -1
- package/dist/ionic/{p-3d1951f5.entry.js → p-c2438564.entry.js} +1 -1
- package/dist/ionic/{p-f149e6c3.system.entry.js → p-c29d39e0.system.entry.js} +1 -1
- package/dist/ionic/{p-69cc64ab.entry.js → p-c8a847f1.entry.js} +1 -1
- package/dist/ionic/{p-4927bd6e.entry.js → p-cb19fdbf.entry.js} +1 -1
- package/dist/ionic/{p-06330374.system.entry.js → p-cec53b82.system.entry.js} +1 -1
- package/dist/ionic/{p-7171dbf4.system.js → p-cfcc1b63.system.js} +1 -1
- package/dist/ionic/{p-d8a1f0e2.entry.js → p-d274a7d8.entry.js} +1 -1
- package/dist/ionic/{p-09bd8558.system.entry.js → p-d450f1f9.system.entry.js} +1 -1
- package/dist/ionic/{p-c6d9d978.system.entry.js → p-d755fc91.system.entry.js} +1 -1
- package/dist/ionic/{p-941ecbba.entry.js → p-d950be65.entry.js} +1 -1
- package/dist/ionic/{p-8d0eb68d.js → p-dc4a3358.js} +1 -1
- package/dist/ionic/{p-18657fab.system.entry.js → p-ddd3b389.system.entry.js} +1 -1
- package/dist/ionic/{p-b7eecfa6.entry.js → p-deb257b7.entry.js} +1 -1
- package/dist/ionic/p-df4c53fe.entry.js +4 -0
- package/dist/ionic/{p-aef1c744.system.js → p-e72fcc94.system.js} +1 -1
- package/dist/ionic/{p-dba2da82.system.entry.js → p-e8162d35.system.entry.js} +1 -1
- package/dist/ionic/p-ec1562e7.system.js +4 -0
- package/dist/ionic/{p-bad2e0c8.system.entry.js → p-ed8726ad.system.entry.js} +1 -1
- package/dist/ionic/p-eda5abe2.entry.js +4 -0
- package/dist/ionic/{p-a4a45ad9.system.js → p-ef57ad27.system.js} +1 -1
- package/dist/ionic/{p-f9046353.system.entry.js → p-ef83f46b.system.entry.js} +1 -1
- package/dist/ionic/{p-8890e47f.system.entry.js → p-f0899af9.system.entry.js} +1 -1
- package/dist/ionic/{p-66de062f.system.entry.js → p-f66fed32.system.entry.js} +1 -1
- package/dist/ionic/{p-c623f0d9.entry.js → p-f7ed7806.entry.js} +1 -1
- package/dist/ionic/{p-036382b2.system.entry.js → p-f8083fd4.system.entry.js} +1 -1
- package/dist/ionic/{p-1ca3679b.entry.js → p-f81cef9b.entry.js} +1 -1
- package/dist/ionic/{p-a87b1500.entry.js → p-f8856320.entry.js} +1 -1
- package/dist/ionic/{p-d7e957e9.entry.js → p-fafa4d9b.entry.js} +1 -1
- package/dist/ionic/{p-0a9c8c36.system.entry.js → p-fc55e1c2.system.entry.js} +1 -1
- package/dist/ionic/{p-6e76ed16.entry.js → p-fca84e5b.entry.js} +1 -1
- package/dist/ionic/{p-47ab6574.system.entry.js → p-fd61bdcd.system.entry.js} +1 -1
- package/dist/ionic/{p-76637161.system.entry.js → p-fe74ecc0.system.entry.js} +1 -1
- package/dist/ionic/{p-bd7ad51d.system.entry.js → p-fed12de8.system.entry.js} +1 -1
- package/dist/types/components/refresher/refresher.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -10
- package/hydrate/index.d.ts +29 -11
- package/hydrate/index.js +450 -376
- package/hydrate/index.mjs +48652 -0
- package/hydrate/package.json +7 -1
- package/loader/index.d.ts +3 -0
- package/package.json +7 -5
- 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/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-7c667c11.js +0 -4
- package/dist/esm-es5/index-8d8c14b0.js +0 -5
- package/dist/ionic/p-0213e506.entry.js +0 -4
- package/dist/ionic/p-39303199.system.js +0 -4
- package/dist/ionic/p-479e7655.system.js +0 -5
- package/dist/ionic/p-65a8336f.entry.js +0 -4
- package/dist/ionic/p-6c16d0e8.js +0 -4
- package/dist/ionic/p-a82d4913.system.js +0 -4
- package/dist/ionic/p-cd681265.entry.js +0 -4
- package/dist/ionic/p-d6dbda17.js +0 -5
- package/dist/ionic/p-f6a419d2.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
+
var stream = require('stream');
|
|
9
|
+
|
|
8
10
|
function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResults, $stencilAfterHydrate, $stencilHydrateResolve) {
|
|
9
11
|
var globalThis = $stencilWindow;
|
|
10
12
|
var self = $stencilWindow;
|
|
@@ -125,10 +127,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
125
127
|
|
|
126
128
|
|
|
127
129
|
const NAMESPACE = 'ionic';
|
|
128
|
-
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
130
|
+
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
129
131
|
|
|
130
132
|
/*
|
|
131
|
-
Stencil Hydrate Platform v4.
|
|
133
|
+
Stencil Hydrate Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
132
134
|
*/
|
|
133
135
|
var __defProp = Object.defineProperty;
|
|
134
136
|
var __export = (target, all) => {
|
|
@@ -147,7 +149,6 @@ var isComplexType = (o) => {
|
|
|
147
149
|
o = typeof o;
|
|
148
150
|
return o === "object" || o === "function";
|
|
149
151
|
};
|
|
150
|
-
var isPromise = (v) => !!v && (typeof v === "object" || typeof v === "function") && typeof v.then === "function";
|
|
151
152
|
|
|
152
153
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
153
154
|
function queryNonceMetaTagContent(doc2) {
|
|
@@ -626,7 +627,7 @@ var attachStyles = (hostRef) => {
|
|
|
626
627
|
const flags = cmpMeta.$flags$;
|
|
627
628
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
628
629
|
const scopeId2 = addStyle(
|
|
629
|
-
elm.getRootNode(),
|
|
630
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
630
631
|
cmpMeta,
|
|
631
632
|
hostRef.$modeName$
|
|
632
633
|
);
|
|
@@ -806,7 +807,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
806
807
|
}
|
|
807
808
|
elm = newVNode2.$elm$ = doc$1.createElementNS(
|
|
808
809
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
809
|
-
newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
810
|
+
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
810
811
|
) ;
|
|
811
812
|
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
812
813
|
isSvgMode = false;
|
|
@@ -817,6 +818,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
817
818
|
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
818
819
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
819
820
|
}
|
|
821
|
+
{
|
|
822
|
+
updateElementScopeIds(elm, parentElm);
|
|
823
|
+
}
|
|
820
824
|
if (newVNode2.$children$) {
|
|
821
825
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
822
826
|
childNode = createElm(oldParentVNode, newVNode2, i2, elm);
|
|
@@ -1153,22 +1157,33 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
1153
1157
|
var insertBefore = (parent, newNode, reference) => {
|
|
1154
1158
|
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
1155
1159
|
{
|
|
1156
|
-
|
|
1160
|
+
updateElementScopeIds(newNode, parent);
|
|
1157
1161
|
}
|
|
1158
1162
|
return inserted;
|
|
1159
1163
|
};
|
|
1160
|
-
var
|
|
1161
|
-
|
|
1164
|
+
var findScopeIds = (element) => {
|
|
1165
|
+
const scopeIds = [];
|
|
1166
|
+
if (element) {
|
|
1167
|
+
scopeIds.push(
|
|
1168
|
+
...element["s-scs"] || [],
|
|
1169
|
+
element["s-si"],
|
|
1170
|
+
element["s-sc"],
|
|
1171
|
+
...findScopeIds(element.parentElement)
|
|
1172
|
+
);
|
|
1173
|
+
}
|
|
1174
|
+
return scopeIds;
|
|
1162
1175
|
};
|
|
1163
|
-
var
|
|
1164
|
-
var _a
|
|
1165
|
-
if (element && parent) {
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1176
|
+
var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
|
|
1177
|
+
var _a;
|
|
1178
|
+
if (element && parent && element.nodeType === 1 /* ElementNode */) {
|
|
1179
|
+
const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
|
|
1180
|
+
if (scopeIds.size) {
|
|
1181
|
+
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
|
|
1182
|
+
if (element["s-ol"] || iterateChildNodes) {
|
|
1183
|
+
for (const childNode of Array.from(element.childNodes)) {
|
|
1184
|
+
updateElementScopeIds(childNode, element, true);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1172
1187
|
}
|
|
1173
1188
|
}
|
|
1174
1189
|
};
|
|
@@ -1199,7 +1214,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1199
1214
|
{
|
|
1200
1215
|
scopeId = hostElm["s-sc"];
|
|
1201
1216
|
}
|
|
1202
|
-
useNativeShadowDom =
|
|
1217
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
1203
1218
|
{
|
|
1204
1219
|
contentRef = hostElm["s-cr"];
|
|
1205
1220
|
checkSlotFallbackVisibility = false;
|
|
@@ -1296,8 +1311,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1296
1311
|
return writeTask(dispatch) ;
|
|
1297
1312
|
};
|
|
1298
1313
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1314
|
+
const elm = hostRef.$hostElement$;
|
|
1299
1315
|
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
1300
1316
|
const instance = hostRef.$lazyInstance$ ;
|
|
1317
|
+
if (!instance) {
|
|
1318
|
+
throw new Error(
|
|
1319
|
+
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1301
1322
|
let maybePromise;
|
|
1302
1323
|
if (isInitialLoad) {
|
|
1303
1324
|
{
|
|
@@ -1317,7 +1338,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1317
1338
|
endSchedule();
|
|
1318
1339
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1319
1340
|
};
|
|
1320
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn)
|
|
1341
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
|
|
1342
|
+
console.error(err2);
|
|
1343
|
+
fn();
|
|
1344
|
+
}) : fn();
|
|
1321
1345
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
1322
1346
|
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1323
1347
|
var _a;
|
|
@@ -1447,7 +1471,10 @@ var safeCall$1 = (instance, method, arg) => {
|
|
|
1447
1471
|
}
|
|
1448
1472
|
return void 0;
|
|
1449
1473
|
};
|
|
1450
|
-
var addHydratedFlag = (elm) =>
|
|
1474
|
+
var addHydratedFlag = (elm) => {
|
|
1475
|
+
var _a;
|
|
1476
|
+
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
1477
|
+
};
|
|
1451
1478
|
var serverSideConnected = (elm) => {
|
|
1452
1479
|
const children = elm.children;
|
|
1453
1480
|
if (children != null) {
|
|
@@ -1501,13 +1528,13 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1501
1528
|
|
|
1502
1529
|
// src/runtime/proxy-component.ts
|
|
1503
1530
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1504
|
-
var _a;
|
|
1531
|
+
var _a, _b;
|
|
1505
1532
|
const prototype = Cstr.prototype;
|
|
1506
|
-
if (cmpMeta.$members$) {
|
|
1507
|
-
if (Cstr.watchers) {
|
|
1533
|
+
if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
|
|
1534
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1508
1535
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1509
1536
|
}
|
|
1510
|
-
const members = Object.entries(cmpMeta.$members$);
|
|
1537
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1511
1538
|
members.map(([memberName, [memberFlags]]) => {
|
|
1512
1539
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1513
1540
|
Object.defineProperty(prototype, memberName, {
|
|
@@ -1563,7 +1590,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1563
1590
|
};
|
|
1564
1591
|
Cstr.observedAttributes = Array.from(
|
|
1565
1592
|
/* @__PURE__ */ new Set([
|
|
1566
|
-
...Object.keys((
|
|
1593
|
+
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
1567
1594
|
...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
|
|
1568
1595
|
var _a2;
|
|
1569
1596
|
const attrName = m[1] || propName;
|
|
@@ -1587,11 +1614,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1587
1614
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1588
1615
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1589
1616
|
if (bundleId) {
|
|
1590
|
-
|
|
1591
|
-
if (
|
|
1617
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1618
|
+
if (CstrImport && "then" in CstrImport) {
|
|
1592
1619
|
const endLoad = uniqueTime();
|
|
1593
|
-
Cstr = await
|
|
1620
|
+
Cstr = await CstrImport;
|
|
1594
1621
|
endLoad();
|
|
1622
|
+
} else {
|
|
1623
|
+
Cstr = CstrImport;
|
|
1624
|
+
}
|
|
1625
|
+
if (!Cstr) {
|
|
1626
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1595
1627
|
}
|
|
1596
1628
|
if (!Cstr.isProxied) {
|
|
1597
1629
|
{
|
|
@@ -1619,12 +1651,18 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1619
1651
|
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1620
1652
|
} else {
|
|
1621
1653
|
Cstr = elm.constructor;
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1654
|
+
const cmpTag = elm.localName;
|
|
1655
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1656
|
+
}
|
|
1657
|
+
if (Cstr && Cstr.style) {
|
|
1658
|
+
let style;
|
|
1659
|
+
if (typeof Cstr.style === "string") {
|
|
1660
|
+
style = Cstr.style;
|
|
1661
|
+
} else if (typeof Cstr.style !== "string") {
|
|
1662
|
+
hostRef.$modeName$ = computeMode(elm);
|
|
1663
|
+
if (hostRef.$modeName$) {
|
|
1664
|
+
style = Cstr.style[hostRef.$modeName$];
|
|
1665
|
+
}
|
|
1628
1666
|
if (hostRef.$modeName$) {
|
|
1629
1667
|
elm.setAttribute("s-mode", hostRef.$modeName$);
|
|
1630
1668
|
}
|
|
@@ -1663,6 +1701,10 @@ var connectedCallback = (elm) => {
|
|
|
1663
1701
|
{
|
|
1664
1702
|
hostId = elm.getAttribute(HYDRATE_ID);
|
|
1665
1703
|
if (hostId) {
|
|
1704
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1705
|
+
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) ;
|
|
1706
|
+
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
1707
|
+
}
|
|
1666
1708
|
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1667
1709
|
}
|
|
1668
1710
|
}
|
|
@@ -1713,10 +1755,11 @@ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =>
|
|
|
1713
1755
|
}
|
|
1714
1756
|
};
|
|
1715
1757
|
var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1758
|
+
var _a;
|
|
1716
1759
|
try {
|
|
1717
1760
|
{
|
|
1718
1761
|
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
1719
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
1762
|
+
(_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
|
|
1720
1763
|
} else {
|
|
1721
1764
|
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1722
1765
|
}
|
|
@@ -1785,6 +1828,7 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
|
|
|
1785
1828
|
}
|
|
1786
1829
|
};
|
|
1787
1830
|
var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
|
|
1831
|
+
var _a;
|
|
1788
1832
|
if (node == null) {
|
|
1789
1833
|
return;
|
|
1790
1834
|
}
|
|
@@ -1792,7 +1836,8 @@ var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
|
|
|
1792
1836
|
orgLocationNodes.push(node);
|
|
1793
1837
|
}
|
|
1794
1838
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
1795
|
-
node.childNodes.
|
|
1839
|
+
const childNodes = [...Array.from(node.childNodes), ...Array.from(((_a = node.shadowRoot) == null ? void 0 : _a.childNodes) || [])];
|
|
1840
|
+
childNodes.forEach((childNode) => {
|
|
1796
1841
|
const hostRef = getHostRef(childNode);
|
|
1797
1842
|
if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {
|
|
1798
1843
|
const cmpData = {
|
|
@@ -1873,44 +1918,54 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
|
|
|
1873
1918
|
var hAsync = (nodeName, vnodeData, ...children) => {
|
|
1874
1919
|
if (Array.isArray(children) && children.length > 0) {
|
|
1875
1920
|
const flatChildren = children.flat(Infinity);
|
|
1876
|
-
if (flatChildren.some(
|
|
1921
|
+
if (flatChildren.some((child) => child instanceof Promise)) {
|
|
1877
1922
|
return Promise.all(flatChildren).then((resolvedChildren) => {
|
|
1878
1923
|
return h(nodeName, vnodeData, ...resolvedChildren);
|
|
1879
1924
|
}).catch((err2) => {
|
|
1880
1925
|
return h(nodeName, vnodeData);
|
|
1881
1926
|
});
|
|
1882
1927
|
}
|
|
1883
|
-
return h(nodeName, vnodeData, ...
|
|
1928
|
+
return h(nodeName, vnodeData, ...flatChildren);
|
|
1884
1929
|
}
|
|
1885
1930
|
return h(nodeName, vnodeData);
|
|
1886
1931
|
};
|
|
1887
|
-
|
|
1888
|
-
// src/hydrate/platform/proxy-host-element.ts
|
|
1889
|
-
function proxyHostElement(elm, cmpMeta) {
|
|
1932
|
+
function proxyHostElement(elm, cmpMeta, opts) {
|
|
1890
1933
|
if (typeof elm.componentOnReady !== "function") {
|
|
1891
1934
|
elm.componentOnReady = componentOnReady$1;
|
|
1892
1935
|
}
|
|
1893
1936
|
if (typeof elm.forceUpdate !== "function") {
|
|
1894
1937
|
elm.forceUpdate = forceUpdate2;
|
|
1895
1938
|
}
|
|
1896
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1897
|
-
|
|
1939
|
+
if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1940
|
+
{
|
|
1941
|
+
elm.attachShadow({
|
|
1942
|
+
mode: "open",
|
|
1943
|
+
delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
|
|
1944
|
+
});
|
|
1945
|
+
}
|
|
1898
1946
|
}
|
|
1899
1947
|
if (cmpMeta.$members$ != null) {
|
|
1900
1948
|
const hostRef = getHostRef(elm);
|
|
1901
1949
|
const members = Object.entries(cmpMeta.$members$);
|
|
1902
1950
|
members.forEach(([memberName, m]) => {
|
|
1951
|
+
var _a, _b;
|
|
1903
1952
|
const memberFlags = m[0];
|
|
1904
1953
|
if (memberFlags & 31 /* Prop */) {
|
|
1905
1954
|
const attributeName = m[1] || memberName;
|
|
1906
|
-
|
|
1955
|
+
let attrValue = elm.getAttribute(attributeName);
|
|
1956
|
+
if ((attrValue == null ? void 0 : attrValue.startsWith("{")) && attrValue.endsWith("}") || (attrValue == null ? void 0 : attrValue.startsWith("[")) && attrValue.endsWith("]")) {
|
|
1957
|
+
try {
|
|
1958
|
+
attrValue = JSON.parse(attrValue);
|
|
1959
|
+
} catch (e) {
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1907
1962
|
if (attrValue != null) {
|
|
1908
1963
|
const parsedAttrValue = parsePropertyValue(attrValue, memberFlags);
|
|
1909
|
-
hostRef.$instanceValues
|
|
1964
|
+
(_a = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a.set(memberName, parsedAttrValue);
|
|
1910
1965
|
}
|
|
1911
1966
|
const ownValue = elm[memberName];
|
|
1912
1967
|
if (ownValue !== void 0) {
|
|
1913
|
-
hostRef.$instanceValues
|
|
1968
|
+
(_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, ownValue);
|
|
1914
1969
|
delete elm[memberName];
|
|
1915
1970
|
}
|
|
1916
1971
|
Object.defineProperty(elm, memberName, {
|
|
@@ -1926,8 +1981,12 @@ function proxyHostElement(elm, cmpMeta) {
|
|
|
1926
1981
|
} else if (memberFlags & 64 /* Method */) {
|
|
1927
1982
|
Object.defineProperty(elm, memberName, {
|
|
1928
1983
|
value(...args) {
|
|
1984
|
+
var _a2;
|
|
1929
1985
|
const ref = getHostRef(this);
|
|
1930
|
-
return ref.$onInstancePromise
|
|
1986
|
+
return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
|
|
1987
|
+
var _a3;
|
|
1988
|
+
return (_a3 = ref == null ? void 0 : ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
|
|
1989
|
+
}).catch(consoleError);
|
|
1931
1990
|
}
|
|
1932
1991
|
});
|
|
1933
1992
|
}
|
|
@@ -1935,7 +1994,8 @@ function proxyHostElement(elm, cmpMeta) {
|
|
|
1935
1994
|
}
|
|
1936
1995
|
}
|
|
1937
1996
|
function componentOnReady$1() {
|
|
1938
|
-
|
|
1997
|
+
var _a;
|
|
1998
|
+
return (_a = getHostRef(this)) == null ? void 0 : _a.$onReadyPromise$;
|
|
1939
1999
|
}
|
|
1940
2000
|
function forceUpdate2() {
|
|
1941
2001
|
}
|
|
@@ -1951,7 +2011,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
1951
2011
|
let tmrId;
|
|
1952
2012
|
let ranCompleted = false;
|
|
1953
2013
|
function hydratedComplete() {
|
|
1954
|
-
|
|
2014
|
+
globalThis.clearTimeout(tmrId);
|
|
1955
2015
|
createdElements.clear();
|
|
1956
2016
|
connectedElements.clear();
|
|
1957
2017
|
if (!ranCompleted) {
|
|
@@ -2009,7 +2069,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
2009
2069
|
if (isValidComponent(elm, opts) && results.hydratedCount < opts.maxHydrateCount) {
|
|
2010
2070
|
if (!connectedElements.has(elm) && shouldHydrate(elm)) {
|
|
2011
2071
|
connectedElements.add(elm);
|
|
2012
|
-
return hydrateComponent(win2, results, elm.nodeName, elm, waitingElements);
|
|
2072
|
+
return hydrateComponent.call(elm, win2, results, elm.nodeName, elm, waitingElements);
|
|
2013
2073
|
}
|
|
2014
2074
|
}
|
|
2015
2075
|
return resolved2;
|
|
@@ -2030,7 +2090,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
2030
2090
|
patchElement2(elm);
|
|
2031
2091
|
return elm;
|
|
2032
2092
|
};
|
|
2033
|
-
tmrId =
|
|
2093
|
+
tmrId = globalThis.setTimeout(timeoutExceeded, opts.timeout);
|
|
2034
2094
|
plt.$resourcesUrl$ = new URL(opts.resourcesUrl || "./", doc$1.baseURI).href;
|
|
2035
2095
|
patchChild2(win2.document.body);
|
|
2036
2096
|
waitLoop2().then(hydratedComplete).catch(hydratedError);
|
|
@@ -2049,6 +2109,8 @@ async function hydrateComponent(win2, results, tagName, elm, waitingElements) {
|
|
|
2049
2109
|
const cmpMeta = Cstr.cmpMeta;
|
|
2050
2110
|
if (cmpMeta != null) {
|
|
2051
2111
|
waitingElements.add(elm);
|
|
2112
|
+
const hostRef = getHostRef(this);
|
|
2113
|
+
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
2052
2114
|
try {
|
|
2053
2115
|
connectedCallback(elm);
|
|
2054
2116
|
await elm.componentOnReady();
|
|
@@ -2219,7 +2281,7 @@ var registerComponents = (Cstrs) => {
|
|
|
2219
2281
|
var win$2 = window;
|
|
2220
2282
|
var doc$1 = win$2.document;
|
|
2221
2283
|
var readTask = (cb) => {
|
|
2222
|
-
|
|
2284
|
+
nextTick(() => {
|
|
2223
2285
|
try {
|
|
2224
2286
|
cb();
|
|
2225
2287
|
} catch (e) {
|
|
@@ -2228,7 +2290,7 @@ var readTask = (cb) => {
|
|
|
2228
2290
|
});
|
|
2229
2291
|
};
|
|
2230
2292
|
var writeTask = (cb) => {
|
|
2231
|
-
|
|
2293
|
+
nextTick(() => {
|
|
2232
2294
|
try {
|
|
2233
2295
|
cb();
|
|
2234
2296
|
} catch (e) {
|
|
@@ -2253,7 +2315,7 @@ var plt = {
|
|
|
2253
2315
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2254
2316
|
ce: (eventName, opts) => new win$2.CustomEvent(eventName, opts)
|
|
2255
2317
|
};
|
|
2256
|
-
var supportsShadow =
|
|
2318
|
+
var supportsShadow = BUILD.shadowDom;
|
|
2257
2319
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
2258
2320
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
2259
2321
|
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
@@ -2269,7 +2331,6 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
2269
2331
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
2270
2332
|
elm["s-p"] = [];
|
|
2271
2333
|
elm["s-rc"] = [];
|
|
2272
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
2273
2334
|
return hostRefs.set(elm, hostRef);
|
|
2274
2335
|
};
|
|
2275
2336
|
var Build = {
|
|
@@ -15619,7 +15680,7 @@ class Item {
|
|
|
15619
15680
|
* However, other form controls such as checkboxes and radios do.
|
|
15620
15681
|
*/
|
|
15621
15682
|
const firstInteractiveNeedsPointerCursor = firstInteractive !== undefined && !['ION-INPUT', 'ION-TEXTAREA'].includes(firstInteractive.tagName);
|
|
15622
|
-
return (hAsync(Host, { key: '
|
|
15683
|
+
return (hAsync(Host, { key: 'f7986b5b81c4f289460bff2c452ce993b674236b', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses$1(this.color, {
|
|
15623
15684
|
item: true,
|
|
15624
15685
|
[mode]: true,
|
|
15625
15686
|
'item-lines-default': lines === undefined,
|
|
@@ -15631,7 +15692,7 @@ class Item {
|
|
|
15631
15692
|
'ion-activatable': canActivate,
|
|
15632
15693
|
'ion-focusable': this.focusable,
|
|
15633
15694
|
'item-rtl': document.dir === 'rtl',
|
|
15634
|
-
})), role: inList ? 'listitem' : null }, hAsync(TagType, Object.assign({ key: '
|
|
15695
|
+
})), role: inList ? 'listitem' : null }, hAsync(TagType, Object.assign({ key: 'cfafac67cdb532e4bce2dd4989e1936c013396ba' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), hAsync("slot", { key: '68a5b8e978eed62d7d913ca006bd4bd01497cd32', name: "start" }), hAsync("div", { key: '5b052cc338b00e8d40ab77cac7a139448f9b6452', class: "item-inner" }, hAsync("div", { key: '7548addbe881a41ee32fd51627db230b56510760', class: "input-wrapper" }, hAsync("slot", { key: 'b6f4edd5895b9f91bf060edb35666b0e7ea26ccc' })), hAsync("slot", { key: 'b595e7fb96461ea2e356dbad6529531ca19705db', name: "end" }), showDetail && (hAsync("ion-icon", { key: '091aa449464d530c921bd7de79bdc16fbdc14a70', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && hAsync("ion-ripple-effect", { key: 'a4454f5ad15a67d5e41173d0227b77cd69776a18' }))));
|
|
15635
15696
|
}
|
|
15636
15697
|
get el() { return getElement(this); }
|
|
15637
15698
|
static get watchers() { return {
|
|
@@ -15649,7 +15710,7 @@ class Item {
|
|
|
15649
15710
|
"button": [4],
|
|
15650
15711
|
"detail": [4],
|
|
15651
15712
|
"detailIcon": [1, "detail-icon"],
|
|
15652
|
-
"disabled": [
|
|
15713
|
+
"disabled": [516],
|
|
15653
15714
|
"download": [1],
|
|
15654
15715
|
"href": [1],
|
|
15655
15716
|
"rel": [1],
|
|
@@ -15663,7 +15724,7 @@ class Item {
|
|
|
15663
15724
|
},
|
|
15664
15725
|
"$listeners$": [[0, "ionColor", "labelColorChanged"], [0, "ionStyle", "itemStyle"]],
|
|
15665
15726
|
"$lazyBundleId$": "-",
|
|
15666
|
-
"$attrsToReflect$": [["color", "color"]]
|
|
15727
|
+
"$attrsToReflect$": [["color", "color"], ["disabled", "disabled"]]
|
|
15667
15728
|
}; }
|
|
15668
15729
|
}
|
|
15669
15730
|
|
|
@@ -25580,6 +25641,7 @@ class Refresher {
|
|
|
25580
25641
|
this.pointerDown = false;
|
|
25581
25642
|
this.needsCompletion = false;
|
|
25582
25643
|
this.didRefresh = false;
|
|
25644
|
+
this.contentFullscreen = false;
|
|
25583
25645
|
this.lastVelocityY = 0;
|
|
25584
25646
|
this.animations = [];
|
|
25585
25647
|
this.nativeRefresher = false;
|
|
@@ -25874,6 +25936,12 @@ class Refresher {
|
|
|
25874
25936
|
* Query the background content element from the host ion-content element directly.
|
|
25875
25937
|
*/
|
|
25876
25938
|
this.backgroundContentEl = await contentEl.getBackgroundElement();
|
|
25939
|
+
/**
|
|
25940
|
+
* Check if the content element is fullscreen to apply the correct styles
|
|
25941
|
+
* when the refresher is refreshing. Otherwise, the refresher will be
|
|
25942
|
+
* hidden because it is positioned behind the background content element.
|
|
25943
|
+
*/
|
|
25944
|
+
this.contentFullscreen = contentEl.fullscreen;
|
|
25877
25945
|
if (await shouldUseNativeRefresher(this.el, getIonMode$1(this))) {
|
|
25878
25946
|
this.setupNativeRefresher(contentEl);
|
|
25879
25947
|
}
|
|
@@ -25967,6 +26035,14 @@ class Refresher {
|
|
|
25967
26035
|
this.progress = 0;
|
|
25968
26036
|
this.state = 1 /* RefresherState.Inactive */;
|
|
25969
26037
|
this.memoizeOverflowStyle();
|
|
26038
|
+
/**
|
|
26039
|
+
* If the content is fullscreen, then we need to
|
|
26040
|
+
* set the offset-top style on the background content
|
|
26041
|
+
* element to ensure that the refresher is shown.
|
|
26042
|
+
*/
|
|
26043
|
+
if (this.contentFullscreen && this.backgroundContentEl) {
|
|
26044
|
+
this.backgroundContentEl.style.setProperty('--offset-top', '0px');
|
|
26045
|
+
}
|
|
25970
26046
|
}
|
|
25971
26047
|
onMove(detail) {
|
|
25972
26048
|
if (!this.scrollEl) {
|
|
@@ -26094,6 +26170,7 @@ class Refresher {
|
|
|
26094
26170
|
close(state, delay) {
|
|
26095
26171
|
// create fallback timer incase something goes wrong with transitionEnd event
|
|
26096
26172
|
setTimeout(() => {
|
|
26173
|
+
var _a;
|
|
26097
26174
|
this.state = 1 /* RefresherState.Inactive */;
|
|
26098
26175
|
this.progress = 0;
|
|
26099
26176
|
this.didStart = false;
|
|
@@ -26102,6 +26179,17 @@ class Refresher {
|
|
|
26102
26179
|
* user can scroll again.
|
|
26103
26180
|
*/
|
|
26104
26181
|
this.setCss(0, '0ms', false, '', true);
|
|
26182
|
+
/**
|
|
26183
|
+
* Reset the offset-top style on the background content
|
|
26184
|
+
* when the refresher is no longer refreshing and the
|
|
26185
|
+
* content is fullscreen.
|
|
26186
|
+
*
|
|
26187
|
+
* This ensures that the behavior of background content
|
|
26188
|
+
* does not change when refreshing is complete.
|
|
26189
|
+
*/
|
|
26190
|
+
if (this.contentFullscreen && this.backgroundContentEl) {
|
|
26191
|
+
(_a = this.backgroundContentEl) === null || _a === void 0 ? void 0 : _a.style.removeProperty('--offset-top');
|
|
26192
|
+
}
|
|
26105
26193
|
}, 600);
|
|
26106
26194
|
// reset the styles on the scroll element
|
|
26107
26195
|
// set that the refresh is actively cancelling/completing
|
|
@@ -26155,7 +26243,7 @@ class Refresher {
|
|
|
26155
26243
|
}
|
|
26156
26244
|
render() {
|
|
26157
26245
|
const mode = getIonMode$1(this);
|
|
26158
|
-
return (hAsync(Host, { key: '
|
|
26246
|
+
return (hAsync(Host, { key: '3270f181a5141e7d886ec554a3e892974446b90e', slot: "fixed", class: {
|
|
26159
26247
|
[mode]: true,
|
|
26160
26248
|
// Used internally for styling
|
|
26161
26249
|
[`refresher-${mode}`]: true,
|
|
@@ -33108,7 +33196,7 @@ exports.hydrateApp = hydrateApp;
|
|
|
33108
33196
|
}
|
|
33109
33197
|
|
|
33110
33198
|
/*
|
|
33111
|
-
Stencil Hydrate Runner v4.
|
|
33199
|
+
Stencil Hydrate Runner v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
33112
33200
|
*/
|
|
33113
33201
|
var __defProp = Object.defineProperty;
|
|
33114
33202
|
var __export = (target, all) => {
|
|
@@ -43506,67 +43594,50 @@ function humanReadableList(items) {
|
|
|
43506
43594
|
}
|
|
43507
43595
|
|
|
43508
43596
|
// src/mock-doc/serialize-node.ts
|
|
43509
|
-
function
|
|
43597
|
+
function normalizeSerializationOptions(opts = {}) {
|
|
43598
|
+
return {
|
|
43599
|
+
...opts,
|
|
43600
|
+
outerHtml: typeof opts.outerHtml !== "boolean" ? false : opts.outerHtml,
|
|
43601
|
+
...opts.prettyHtml ? {
|
|
43602
|
+
indentSpaces: typeof opts.indentSpaces !== "number" ? 2 : opts.indentSpaces,
|
|
43603
|
+
newLines: typeof opts.newLines !== "boolean" ? true : opts.newLines
|
|
43604
|
+
} : {
|
|
43605
|
+
prettyHtml: false,
|
|
43606
|
+
indentSpaces: typeof opts.indentSpaces !== "number" ? 0 : opts.indentSpaces,
|
|
43607
|
+
newLines: typeof opts.newLines !== "boolean" ? false : opts.newLines
|
|
43608
|
+
},
|
|
43609
|
+
approximateLineWidth: typeof opts.approximateLineWidth !== "number" ? -1 : opts.approximateLineWidth,
|
|
43610
|
+
removeEmptyAttributes: typeof opts.removeEmptyAttributes !== "boolean" ? true : opts.removeEmptyAttributes,
|
|
43611
|
+
removeAttributeQuotes: typeof opts.removeAttributeQuotes !== "boolean" ? false : opts.removeAttributeQuotes,
|
|
43612
|
+
removeBooleanAttributeQuotes: typeof opts.removeBooleanAttributeQuotes !== "boolean" ? false : opts.removeBooleanAttributeQuotes,
|
|
43613
|
+
removeHtmlComments: typeof opts.removeHtmlComments !== "boolean" ? false : opts.removeHtmlComments,
|
|
43614
|
+
serializeShadowRoot: typeof opts.serializeShadowRoot !== "boolean" ? false : opts.serializeShadowRoot,
|
|
43615
|
+
fullDocument: typeof opts.fullDocument !== "boolean" ? true : opts.fullDocument
|
|
43616
|
+
};
|
|
43617
|
+
}
|
|
43618
|
+
function serializeNodeToHtml(elm, serializationOptions = {}) {
|
|
43619
|
+
const opts = normalizeSerializationOptions(serializationOptions);
|
|
43510
43620
|
const output = {
|
|
43511
43621
|
currentLineWidth: 0,
|
|
43512
43622
|
indent: 0,
|
|
43513
43623
|
isWithinBody: false,
|
|
43514
43624
|
text: []
|
|
43515
43625
|
};
|
|
43516
|
-
|
|
43517
|
-
|
|
43518
|
-
|
|
43519
|
-
|
|
43520
|
-
|
|
43521
|
-
|
|
43522
|
-
}
|
|
43523
|
-
opts.approximateLineWidth = -1;
|
|
43524
|
-
} else {
|
|
43525
|
-
opts.prettyHtml = false;
|
|
43526
|
-
if (typeof opts.newLines !== "boolean") {
|
|
43527
|
-
opts.newLines = false;
|
|
43528
|
-
}
|
|
43529
|
-
if (typeof opts.indentSpaces !== "number") {
|
|
43530
|
-
opts.indentSpaces = 0;
|
|
43531
|
-
}
|
|
43532
|
-
}
|
|
43533
|
-
if (typeof opts.approximateLineWidth !== "number") {
|
|
43534
|
-
opts.approximateLineWidth = -1;
|
|
43535
|
-
}
|
|
43536
|
-
if (typeof opts.removeEmptyAttributes !== "boolean") {
|
|
43537
|
-
opts.removeEmptyAttributes = true;
|
|
43538
|
-
}
|
|
43539
|
-
if (typeof opts.removeAttributeQuotes !== "boolean") {
|
|
43540
|
-
opts.removeAttributeQuotes = false;
|
|
43541
|
-
}
|
|
43542
|
-
if (typeof opts.removeBooleanAttributeQuotes !== "boolean") {
|
|
43543
|
-
opts.removeBooleanAttributeQuotes = false;
|
|
43544
|
-
}
|
|
43545
|
-
if (typeof opts.removeHtmlComments !== "boolean") {
|
|
43546
|
-
opts.removeHtmlComments = false;
|
|
43547
|
-
}
|
|
43548
|
-
if (typeof opts.serializeShadowRoot !== "boolean") {
|
|
43549
|
-
opts.serializeShadowRoot = false;
|
|
43550
|
-
}
|
|
43551
|
-
if (opts.outerHtml) {
|
|
43552
|
-
serializeToHtml(elm, opts, output, false);
|
|
43553
|
-
} else {
|
|
43554
|
-
for (let i = 0, ii = elm.childNodes.length; i < ii; i++) {
|
|
43555
|
-
serializeToHtml(elm.childNodes[i], opts, output, false);
|
|
43556
|
-
}
|
|
43557
|
-
}
|
|
43558
|
-
if (output.text[0] === "\n") {
|
|
43559
|
-
output.text.shift();
|
|
43560
|
-
}
|
|
43561
|
-
if (output.text[output.text.length - 1] === "\n") {
|
|
43562
|
-
output.text.pop();
|
|
43626
|
+
let renderedNode = "";
|
|
43627
|
+
const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(elm.childNodes);
|
|
43628
|
+
for (let i = 0, ii = children.length; i < ii; i++) {
|
|
43629
|
+
const child = children[i];
|
|
43630
|
+
const chunks = Array.from(streamToHtml(child, opts, output));
|
|
43631
|
+
renderedNode += chunks.join("");
|
|
43563
43632
|
}
|
|
43564
|
-
return
|
|
43633
|
+
return renderedNode.trim();
|
|
43565
43634
|
}
|
|
43566
|
-
|
|
43635
|
+
var shadowRootTag = "mock:shadow-root";
|
|
43636
|
+
function* streamToHtml(node, opts, output) {
|
|
43567
43637
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
43638
|
+
const isShadowRoot = node.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */;
|
|
43568
43639
|
if (node.nodeType === 1 /* ELEMENT_NODE */ || isShadowRoot) {
|
|
43569
|
-
const tagName = isShadowRoot ?
|
|
43640
|
+
const tagName = isShadowRoot ? shadowRootTag : getTagName(node);
|
|
43570
43641
|
if (tagName === "body") {
|
|
43571
43642
|
output.isWithinBody = true;
|
|
43572
43643
|
}
|
|
@@ -43574,17 +43645,23 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
43574
43645
|
if (ignoreTag === false) {
|
|
43575
43646
|
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a2 = opts.indentSpaces) != null ? _a2 : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
43576
43647
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
43577
|
-
|
|
43648
|
+
yield "\n";
|
|
43578
43649
|
output.currentLineWidth = 0;
|
|
43579
43650
|
}
|
|
43580
43651
|
if (((_b = opts.indentSpaces) != null ? _b : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
43581
43652
|
for (let i = 0; i < output.indent; i++) {
|
|
43582
|
-
|
|
43653
|
+
yield " ";
|
|
43583
43654
|
}
|
|
43584
43655
|
output.currentLineWidth += output.indent;
|
|
43585
43656
|
}
|
|
43586
|
-
|
|
43587
|
-
|
|
43657
|
+
const tag = tagName === shadowRootTag ? "template" : tagName;
|
|
43658
|
+
yield "<" + tag;
|
|
43659
|
+
output.currentLineWidth += tag.length + 1;
|
|
43660
|
+
if (tag === "template") {
|
|
43661
|
+
const mode = ` shadowrootmode="open"`;
|
|
43662
|
+
yield mode;
|
|
43663
|
+
output.currentLineWidth += mode.length;
|
|
43664
|
+
}
|
|
43588
43665
|
const attrsLength = node.attributes.length;
|
|
43589
43666
|
const attributes = opts.prettyHtml && attrsLength > 1 ? cloneAttributes(node.attributes, true) : node.attributes;
|
|
43590
43667
|
for (let i = 0; i < attrsLength; i++) {
|
|
@@ -43601,27 +43678,27 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
43601
43678
|
if (attrNamespaceURI == null) {
|
|
43602
43679
|
output.currentLineWidth += attrName.length + 1;
|
|
43603
43680
|
if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
|
|
43604
|
-
|
|
43681
|
+
yield "\n" + attrName;
|
|
43605
43682
|
output.currentLineWidth = 0;
|
|
43606
43683
|
} else {
|
|
43607
|
-
|
|
43684
|
+
yield " " + attrName;
|
|
43608
43685
|
}
|
|
43609
43686
|
} else if (attrNamespaceURI === "http://www.w3.org/XML/1998/namespace") {
|
|
43610
|
-
|
|
43687
|
+
yield " xml:" + attrName;
|
|
43611
43688
|
output.currentLineWidth += attrName.length + 5;
|
|
43612
43689
|
} else if (attrNamespaceURI === "http://www.w3.org/2000/xmlns/") {
|
|
43613
43690
|
if (attrName !== "xmlns") {
|
|
43614
|
-
|
|
43691
|
+
yield " xmlns:" + attrName;
|
|
43615
43692
|
output.currentLineWidth += attrName.length + 7;
|
|
43616
43693
|
} else {
|
|
43617
|
-
|
|
43694
|
+
yield " " + attrName;
|
|
43618
43695
|
output.currentLineWidth += attrName.length + 1;
|
|
43619
43696
|
}
|
|
43620
43697
|
} else if (attrNamespaceURI === XLINK_NS) {
|
|
43621
|
-
|
|
43698
|
+
yield " xlink:" + attrName;
|
|
43622
43699
|
output.currentLineWidth += attrName.length + 7;
|
|
43623
43700
|
} else {
|
|
43624
|
-
|
|
43701
|
+
yield " " + attrNamespaceURI + ":" + attrName;
|
|
43625
43702
|
output.currentLineWidth += attrNamespaceURI.length + attrName.length + 2;
|
|
43626
43703
|
}
|
|
43627
43704
|
if (opts.prettyHtml && attrName === "class") {
|
|
@@ -43636,43 +43713,45 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
43636
43713
|
}
|
|
43637
43714
|
}
|
|
43638
43715
|
if (opts.removeAttributeQuotes && CAN_REMOVE_ATTR_QUOTES.test(attrValue)) {
|
|
43639
|
-
|
|
43716
|
+
yield "=" + escapeString(attrValue, true);
|
|
43640
43717
|
output.currentLineWidth += attrValue.length + 1;
|
|
43641
43718
|
} else {
|
|
43642
|
-
|
|
43719
|
+
yield '="' + escapeString(attrValue, true) + '"';
|
|
43643
43720
|
output.currentLineWidth += attrValue.length + 3;
|
|
43644
43721
|
}
|
|
43645
43722
|
}
|
|
43646
43723
|
if (node.hasAttribute("style")) {
|
|
43647
43724
|
const cssText = node.style.cssText;
|
|
43648
43725
|
if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth + cssText.length + 10 > opts.approximateLineWidth) {
|
|
43649
|
-
|
|
43650
|
-
style="${cssText}"
|
|
43726
|
+
yield `
|
|
43727
|
+
style="${cssText}">`;
|
|
43651
43728
|
output.currentLineWidth = 0;
|
|
43652
43729
|
} else {
|
|
43653
|
-
|
|
43730
|
+
yield ` style="${cssText}">`;
|
|
43654
43731
|
output.currentLineWidth += cssText.length + 10;
|
|
43655
43732
|
}
|
|
43656
43733
|
} else {
|
|
43657
|
-
|
|
43734
|
+
yield ">";
|
|
43658
43735
|
output.currentLineWidth += 1;
|
|
43659
43736
|
}
|
|
43660
43737
|
}
|
|
43661
43738
|
if (EMPTY_ELEMENTS.has(tagName) === false) {
|
|
43662
|
-
|
|
43739
|
+
const shadowRoot = node.shadowRoot;
|
|
43740
|
+
if (opts.serializeShadowRoot && shadowRoot != null) {
|
|
43663
43741
|
output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
|
|
43664
|
-
|
|
43742
|
+
yield* streamToHtml(shadowRoot, opts, output);
|
|
43665
43743
|
output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
|
|
43666
43744
|
if (opts.newLines && (node.childNodes.length === 0 || node.childNodes.length === 1 && node.childNodes[0].nodeType === 3 /* TEXT_NODE */ && ((_e = node.childNodes[0].nodeValue) == null ? void 0 : _e.trim()) === "")) {
|
|
43667
|
-
|
|
43745
|
+
yield "\n";
|
|
43668
43746
|
output.currentLineWidth = 0;
|
|
43669
43747
|
for (let i = 0; i < output.indent; i++) {
|
|
43670
|
-
|
|
43748
|
+
yield " ";
|
|
43671
43749
|
}
|
|
43672
43750
|
output.currentLineWidth += output.indent;
|
|
43673
43751
|
}
|
|
43674
43752
|
}
|
|
43675
43753
|
if (opts.excludeTagContent == null || opts.excludeTagContent.includes(tagName) === false) {
|
|
43754
|
+
const tag = tagName === shadowRootTag ? "template" : tagName;
|
|
43676
43755
|
const childNodes = tagName === "template" ? node.content.childNodes : node.childNodes;
|
|
43677
43756
|
const childNodeLength = childNodes.length;
|
|
43678
43757
|
if (childNodeLength > 0) {
|
|
@@ -43683,17 +43762,17 @@ style="${cssText}">`);
|
|
|
43683
43762
|
output.indent = output.indent + ((_h = opts.indentSpaces) != null ? _h : 0);
|
|
43684
43763
|
}
|
|
43685
43764
|
for (let i = 0; i < childNodeLength; i++) {
|
|
43686
|
-
|
|
43765
|
+
yield* streamToHtml(childNodes[i], opts, output);
|
|
43687
43766
|
}
|
|
43688
43767
|
if (ignoreTag === false) {
|
|
43689
43768
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
43690
|
-
|
|
43769
|
+
yield "\n";
|
|
43691
43770
|
output.currentLineWidth = 0;
|
|
43692
43771
|
}
|
|
43693
43772
|
if (((_i = opts.indentSpaces) != null ? _i : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
43694
43773
|
output.indent = output.indent - ((_j = opts.indentSpaces) != null ? _j : 0);
|
|
43695
43774
|
for (let i = 0; i < output.indent; i++) {
|
|
43696
|
-
|
|
43775
|
+
yield " ";
|
|
43697
43776
|
}
|
|
43698
43777
|
output.currentLineWidth += output.indent;
|
|
43699
43778
|
}
|
|
@@ -43701,13 +43780,13 @@ style="${cssText}">`);
|
|
|
43701
43780
|
}
|
|
43702
43781
|
}
|
|
43703
43782
|
if (ignoreTag === false) {
|
|
43704
|
-
|
|
43705
|
-
output.currentLineWidth +=
|
|
43783
|
+
yield "</" + tag + ">";
|
|
43784
|
+
output.currentLineWidth += tag.length + 3;
|
|
43706
43785
|
}
|
|
43707
43786
|
}
|
|
43708
43787
|
}
|
|
43709
43788
|
if (((_k = opts.approximateLineWidth) != null ? _k : 0) > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
|
|
43710
|
-
|
|
43789
|
+
yield "\n";
|
|
43711
43790
|
output.currentLineWidth = 0;
|
|
43712
43791
|
}
|
|
43713
43792
|
if (tagName === "body") {
|
|
@@ -43719,27 +43798,27 @@ style="${cssText}">`);
|
|
|
43719
43798
|
const trimmedTextContent = textContent.trim();
|
|
43720
43799
|
if (trimmedTextContent === "") {
|
|
43721
43800
|
if (isWithinWhitespaceSensitive(node)) {
|
|
43722
|
-
|
|
43801
|
+
yield textContent;
|
|
43723
43802
|
output.currentLineWidth += textContent.length;
|
|
43724
43803
|
} else if (((_l = opts.approximateLineWidth) != null ? _l : 0) > 0 && !output.isWithinBody) {
|
|
43725
43804
|
} else if (!opts.prettyHtml) {
|
|
43726
43805
|
output.currentLineWidth += 1;
|
|
43727
43806
|
if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
|
|
43728
|
-
|
|
43807
|
+
yield "\n";
|
|
43729
43808
|
output.currentLineWidth = 0;
|
|
43730
43809
|
} else {
|
|
43731
|
-
|
|
43810
|
+
yield " ";
|
|
43732
43811
|
}
|
|
43733
43812
|
}
|
|
43734
43813
|
} else {
|
|
43735
43814
|
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_m = opts.indentSpaces) != null ? _m : 0) > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
|
|
43736
43815
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
43737
|
-
|
|
43816
|
+
yield "\n";
|
|
43738
43817
|
output.currentLineWidth = 0;
|
|
43739
43818
|
}
|
|
43740
43819
|
if (((_n = opts.indentSpaces) != null ? _n : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
43741
43820
|
for (let i = 0; i < output.indent; i++) {
|
|
43742
|
-
|
|
43821
|
+
yield " ";
|
|
43743
43822
|
}
|
|
43744
43823
|
output.currentLineWidth += output.indent;
|
|
43745
43824
|
}
|
|
@@ -43748,15 +43827,15 @@ style="${cssText}">`);
|
|
|
43748
43827
|
const parentTagName = node.parentNode != null && node.parentNode.nodeType === 1 /* ELEMENT_NODE */ ? node.parentNode.nodeName : null;
|
|
43749
43828
|
if (typeof parentTagName === "string" && NON_ESCAPABLE_CONTENT.has(parentTagName)) {
|
|
43750
43829
|
if (isWithinWhitespaceSensitive(node)) {
|
|
43751
|
-
|
|
43830
|
+
yield textContent;
|
|
43752
43831
|
} else {
|
|
43753
|
-
|
|
43832
|
+
yield trimmedTextContent;
|
|
43754
43833
|
textContentLength = trimmedTextContent.length;
|
|
43755
43834
|
}
|
|
43756
43835
|
output.currentLineWidth += textContentLength;
|
|
43757
43836
|
} else {
|
|
43758
43837
|
if (opts.prettyHtml && !isWithinWhitespaceSensitiveNode) {
|
|
43759
|
-
|
|
43838
|
+
yield escapeString(textContent.replace(/\s\s+/g, " ").trim(), false);
|
|
43760
43839
|
output.currentLineWidth += textContentLength;
|
|
43761
43840
|
} else {
|
|
43762
43841
|
if (isWithinWhitespaceSensitive(node)) {
|
|
@@ -43778,7 +43857,7 @@ style="${cssText}">`);
|
|
|
43778
43857
|
}
|
|
43779
43858
|
output.currentLineWidth += textContentLength;
|
|
43780
43859
|
}
|
|
43781
|
-
|
|
43860
|
+
yield escapeString(textContent, false);
|
|
43782
43861
|
}
|
|
43783
43862
|
}
|
|
43784
43863
|
}
|
|
@@ -43786,27 +43865,27 @@ style="${cssText}">`);
|
|
|
43786
43865
|
}
|
|
43787
43866
|
} else if (node.nodeType === 8 /* COMMENT_NODE */) {
|
|
43788
43867
|
const nodeValue = node.nodeValue;
|
|
43789
|
-
|
|
43790
|
-
|
|
43791
|
-
|
|
43792
|
-
return;
|
|
43793
|
-
}
|
|
43868
|
+
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 + "."));
|
|
43869
|
+
if (opts.removeHtmlComments && !isHydrateAnnotation) {
|
|
43870
|
+
return;
|
|
43794
43871
|
}
|
|
43795
43872
|
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_o = opts.indentSpaces) != null ? _o : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
43796
43873
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
43797
|
-
|
|
43874
|
+
yield "\n";
|
|
43798
43875
|
output.currentLineWidth = 0;
|
|
43799
43876
|
}
|
|
43800
43877
|
if (((_p = opts.indentSpaces) != null ? _p : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
43801
43878
|
for (let i = 0; i < output.indent; i++) {
|
|
43802
|
-
|
|
43879
|
+
yield " ";
|
|
43803
43880
|
}
|
|
43804
43881
|
output.currentLineWidth += output.indent;
|
|
43805
43882
|
}
|
|
43806
|
-
|
|
43807
|
-
|
|
43883
|
+
yield "<!--" + nodeValue + "-->";
|
|
43884
|
+
if (nodeValue) {
|
|
43885
|
+
output.currentLineWidth += nodeValue.length + 7;
|
|
43886
|
+
}
|
|
43808
43887
|
} else if (node.nodeType === 10 /* DOCUMENT_TYPE_NODE */) {
|
|
43809
|
-
|
|
43888
|
+
yield "<!doctype html>";
|
|
43810
43889
|
}
|
|
43811
43890
|
}
|
|
43812
43891
|
var AMP_REGEX = /&/g;
|
|
@@ -43831,7 +43910,7 @@ function escapeString(str, attrMode) {
|
|
|
43831
43910
|
}
|
|
43832
43911
|
function isWithinWhitespaceSensitive(node) {
|
|
43833
43912
|
let _node = node;
|
|
43834
|
-
while (_node
|
|
43913
|
+
while (_node == null ? void 0 : _node.nodeName) {
|
|
43835
43914
|
if (WHITESPACE_SENSITIVE.has(_node.nodeName)) {
|
|
43836
43915
|
return true;
|
|
43837
43916
|
}
|
|
@@ -44147,6 +44226,10 @@ Testing components with ElementInternals is fully supported in e2e tests.`
|
|
|
44147
44226
|
get shadowRoot() {
|
|
44148
44227
|
return this.__shadowRoot || null;
|
|
44149
44228
|
}
|
|
44229
|
+
/**
|
|
44230
|
+
* Set shadow root for element
|
|
44231
|
+
* @param shadowRoot - ShadowRoot to set
|
|
44232
|
+
*/
|
|
44150
44233
|
set shadowRoot(shadowRoot) {
|
|
44151
44234
|
if (shadowRoot != null) {
|
|
44152
44235
|
shadowRoot.host = this;
|
|
@@ -45438,67 +45521,75 @@ var MockUListElement = class extends MockHTMLElement {
|
|
|
45438
45521
|
super(ownerDocument, "ul");
|
|
45439
45522
|
}
|
|
45440
45523
|
};
|
|
45524
|
+
var CanvasRenderingContext = class {
|
|
45525
|
+
constructor(context, contextAttributes) {
|
|
45526
|
+
this.context = context;
|
|
45527
|
+
this.contextAttributes = contextAttributes;
|
|
45528
|
+
}
|
|
45529
|
+
fillRect() {
|
|
45530
|
+
return;
|
|
45531
|
+
}
|
|
45532
|
+
clearRect() {
|
|
45533
|
+
}
|
|
45534
|
+
getImageData(_, __, w, h) {
|
|
45535
|
+
return {
|
|
45536
|
+
data: new Array(w * h * 4)
|
|
45537
|
+
};
|
|
45538
|
+
}
|
|
45539
|
+
toDataURL() {
|
|
45540
|
+
return "data:,";
|
|
45541
|
+
}
|
|
45542
|
+
putImageData() {
|
|
45543
|
+
}
|
|
45544
|
+
createImageData() {
|
|
45545
|
+
return {};
|
|
45546
|
+
}
|
|
45547
|
+
setTransform() {
|
|
45548
|
+
}
|
|
45549
|
+
drawImage() {
|
|
45550
|
+
}
|
|
45551
|
+
save() {
|
|
45552
|
+
}
|
|
45553
|
+
fillText() {
|
|
45554
|
+
}
|
|
45555
|
+
restore() {
|
|
45556
|
+
}
|
|
45557
|
+
beginPath() {
|
|
45558
|
+
}
|
|
45559
|
+
moveTo() {
|
|
45560
|
+
}
|
|
45561
|
+
lineTo() {
|
|
45562
|
+
}
|
|
45563
|
+
closePath() {
|
|
45564
|
+
}
|
|
45565
|
+
stroke() {
|
|
45566
|
+
}
|
|
45567
|
+
translate() {
|
|
45568
|
+
}
|
|
45569
|
+
scale() {
|
|
45570
|
+
}
|
|
45571
|
+
rotate() {
|
|
45572
|
+
}
|
|
45573
|
+
arc() {
|
|
45574
|
+
}
|
|
45575
|
+
fill() {
|
|
45576
|
+
}
|
|
45577
|
+
measureText() {
|
|
45578
|
+
return { width: 0 };
|
|
45579
|
+
}
|
|
45580
|
+
transform() {
|
|
45581
|
+
}
|
|
45582
|
+
rect() {
|
|
45583
|
+
}
|
|
45584
|
+
clip() {
|
|
45585
|
+
}
|
|
45586
|
+
};
|
|
45441
45587
|
var MockCanvasElement = class extends MockHTMLElement {
|
|
45442
45588
|
constructor(ownerDocument) {
|
|
45443
45589
|
super(ownerDocument, "canvas");
|
|
45444
45590
|
}
|
|
45445
|
-
getContext() {
|
|
45446
|
-
return
|
|
45447
|
-
fillRect() {
|
|
45448
|
-
return;
|
|
45449
|
-
},
|
|
45450
|
-
clearRect() {
|
|
45451
|
-
},
|
|
45452
|
-
getImageData: function(_, __, w, h) {
|
|
45453
|
-
return {
|
|
45454
|
-
data: new Array(w * h * 4)
|
|
45455
|
-
};
|
|
45456
|
-
},
|
|
45457
|
-
putImageData() {
|
|
45458
|
-
},
|
|
45459
|
-
createImageData: function() {
|
|
45460
|
-
return [];
|
|
45461
|
-
},
|
|
45462
|
-
setTransform() {
|
|
45463
|
-
},
|
|
45464
|
-
drawImage() {
|
|
45465
|
-
},
|
|
45466
|
-
save() {
|
|
45467
|
-
},
|
|
45468
|
-
fillText() {
|
|
45469
|
-
},
|
|
45470
|
-
restore() {
|
|
45471
|
-
},
|
|
45472
|
-
beginPath() {
|
|
45473
|
-
},
|
|
45474
|
-
moveTo() {
|
|
45475
|
-
},
|
|
45476
|
-
lineTo() {
|
|
45477
|
-
},
|
|
45478
|
-
closePath() {
|
|
45479
|
-
},
|
|
45480
|
-
stroke() {
|
|
45481
|
-
},
|
|
45482
|
-
translate() {
|
|
45483
|
-
},
|
|
45484
|
-
scale() {
|
|
45485
|
-
},
|
|
45486
|
-
rotate() {
|
|
45487
|
-
},
|
|
45488
|
-
arc() {
|
|
45489
|
-
},
|
|
45490
|
-
fill() {
|
|
45491
|
-
},
|
|
45492
|
-
measureText() {
|
|
45493
|
-
return { width: 0 };
|
|
45494
|
-
},
|
|
45495
|
-
transform() {
|
|
45496
|
-
},
|
|
45497
|
-
rect() {
|
|
45498
|
-
},
|
|
45499
|
-
clip() {
|
|
45500
|
-
}
|
|
45501
|
-
};
|
|
45591
|
+
getContext(context, contextAttributes) {
|
|
45592
|
+
return new CanvasRenderingContext(context, contextAttributes);
|
|
45502
45593
|
}
|
|
45503
45594
|
};
|
|
45504
45595
|
function fullUrl(elm, attrName) {
|
|
@@ -45925,14 +46016,16 @@ var WINDOW_PROPS = [
|
|
|
45925
46016
|
];
|
|
45926
46017
|
var GLOBAL_CONSTRUCTORS = [
|
|
45927
46018
|
["CustomEvent", MockCustomEvent],
|
|
46019
|
+
["DocumentFragment", MockDocumentFragment],
|
|
46020
|
+
["DOMParser", MockDOMParser],
|
|
45928
46021
|
["Event", MockEvent],
|
|
45929
|
-
["Headers", MockHeaders],
|
|
45930
46022
|
["FocusEvent", MockFocusEvent],
|
|
46023
|
+
["Headers", MockHeaders],
|
|
45931
46024
|
["KeyboardEvent", MockKeyboardEvent],
|
|
45932
46025
|
["MouseEvent", MockMouseEvent],
|
|
45933
46026
|
["Request", MockRequest],
|
|
45934
46027
|
["Response", MockResponse],
|
|
45935
|
-
["
|
|
46028
|
+
["ShadowRoot", MockDocumentFragment],
|
|
45936
46029
|
["HTMLAnchorElement", MockAnchorElement],
|
|
45937
46030
|
["HTMLBaseElement", MockBaseElement],
|
|
45938
46031
|
["HTMLButtonElement", MockButtonElement],
|
|
@@ -46143,6 +46236,7 @@ var nativeClearTimeout = clearTimeout;
|
|
|
46143
46236
|
var nativeSetInterval = setInterval;
|
|
46144
46237
|
var nativeSetTimeout = setTimeout;
|
|
46145
46238
|
var nativeURL = URL;
|
|
46239
|
+
var nativeWindow = globalThis.window;
|
|
46146
46240
|
var MockWindow = class {
|
|
46147
46241
|
constructor(html = null) {
|
|
46148
46242
|
if (html !== false) {
|
|
@@ -46169,10 +46263,10 @@ var MockWindow = class {
|
|
|
46169
46263
|
blur() {
|
|
46170
46264
|
}
|
|
46171
46265
|
cancelAnimationFrame(id) {
|
|
46172
|
-
this.__clearTimeout(id);
|
|
46266
|
+
this.__clearTimeout.call(nativeWindow || this, id);
|
|
46173
46267
|
}
|
|
46174
46268
|
cancelIdleCallback(id) {
|
|
46175
|
-
this.__clearTimeout(id);
|
|
46269
|
+
this.__clearTimeout.call(nativeWindow || this, id);
|
|
46176
46270
|
}
|
|
46177
46271
|
get CharacterData() {
|
|
46178
46272
|
if (this.__charDataCstr == null) {
|
|
@@ -46190,10 +46284,10 @@ var MockWindow = class {
|
|
|
46190
46284
|
this.__charDataCstr = charDataCstr;
|
|
46191
46285
|
}
|
|
46192
46286
|
clearInterval(id) {
|
|
46193
|
-
this.__clearInterval(id);
|
|
46287
|
+
this.__clearInterval.call(nativeWindow || this, id);
|
|
46194
46288
|
}
|
|
46195
46289
|
clearTimeout(id) {
|
|
46196
|
-
this.__clearTimeout(id);
|
|
46290
|
+
this.__clearTimeout.call(nativeWindow || this, id);
|
|
46197
46291
|
}
|
|
46198
46292
|
close() {
|
|
46199
46293
|
resetWindow(this);
|
|
@@ -46493,20 +46587,24 @@ var MockWindow = class {
|
|
|
46493
46587
|
}
|
|
46494
46588
|
return intervalId;
|
|
46495
46589
|
}
|
|
46496
|
-
const timeoutId = this.__setTimeout(
|
|
46497
|
-
|
|
46498
|
-
|
|
46499
|
-
|
|
46500
|
-
|
|
46501
|
-
|
|
46502
|
-
|
|
46503
|
-
|
|
46504
|
-
|
|
46505
|
-
|
|
46590
|
+
const timeoutId = this.__setTimeout.call(
|
|
46591
|
+
nativeWindow || this,
|
|
46592
|
+
() => {
|
|
46593
|
+
if (this.__timeouts) {
|
|
46594
|
+
this.__timeouts.delete(timeoutId);
|
|
46595
|
+
try {
|
|
46596
|
+
callback(...args);
|
|
46597
|
+
} catch (e) {
|
|
46598
|
+
if (this.console) {
|
|
46599
|
+
this.console.error(e);
|
|
46600
|
+
} else {
|
|
46601
|
+
console.error(e);
|
|
46602
|
+
}
|
|
46506
46603
|
}
|
|
46507
46604
|
}
|
|
46508
|
-
}
|
|
46509
|
-
|
|
46605
|
+
},
|
|
46606
|
+
ms
|
|
46607
|
+
);
|
|
46510
46608
|
if (this.__timeouts) {
|
|
46511
46609
|
this.__timeouts.add(timeoutId);
|
|
46512
46610
|
}
|
|
@@ -46517,20 +46615,24 @@ var MockWindow = class {
|
|
|
46517
46615
|
this.__timeouts = /* @__PURE__ */ new Set();
|
|
46518
46616
|
}
|
|
46519
46617
|
ms = Math.min(ms, this.__maxTimeout);
|
|
46520
|
-
const timeoutId = this.__setTimeout(
|
|
46521
|
-
|
|
46522
|
-
|
|
46523
|
-
|
|
46524
|
-
|
|
46525
|
-
|
|
46526
|
-
|
|
46527
|
-
|
|
46528
|
-
|
|
46529
|
-
|
|
46618
|
+
const timeoutId = this.__setTimeout.call(
|
|
46619
|
+
nativeWindow || this,
|
|
46620
|
+
() => {
|
|
46621
|
+
if (this.__timeouts) {
|
|
46622
|
+
this.__timeouts.delete(timeoutId);
|
|
46623
|
+
try {
|
|
46624
|
+
callback(...args);
|
|
46625
|
+
} catch (e) {
|
|
46626
|
+
if (this.console) {
|
|
46627
|
+
this.console.error(e);
|
|
46628
|
+
} else {
|
|
46629
|
+
console.error(e);
|
|
46630
|
+
}
|
|
46530
46631
|
}
|
|
46531
46632
|
}
|
|
46532
|
-
}
|
|
46533
|
-
|
|
46633
|
+
},
|
|
46634
|
+
ms
|
|
46635
|
+
);
|
|
46534
46636
|
if (this.__timeouts) {
|
|
46535
46637
|
this.__timeouts.add(timeoutId);
|
|
46536
46638
|
}
|
|
@@ -47105,7 +47207,6 @@ function createWindowFromHtml(templateHtml, uniqueId) {
|
|
|
47105
47207
|
|
|
47106
47208
|
// src/utils/helpers.ts
|
|
47107
47209
|
var isString = (v) => typeof v === "string";
|
|
47108
|
-
var isPromise = (v) => !!v && (typeof v === "object" || typeof v === "function") && typeof v.then === "function";
|
|
47109
47210
|
|
|
47110
47211
|
// src/utils/message-utils.ts
|
|
47111
47212
|
var catchError = (diagnostics, err2, msg) => {
|
|
@@ -47196,6 +47297,7 @@ var unwrapErr = (result) => {
|
|
|
47196
47297
|
|
|
47197
47298
|
// src/compiler/html/canonical-link.ts
|
|
47198
47299
|
var updateCanonicalLink = (doc, href) => {
|
|
47300
|
+
var _a2;
|
|
47199
47301
|
let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
|
|
47200
47302
|
if (typeof href === "string") {
|
|
47201
47303
|
if (canonicalLinkElm == null) {
|
|
@@ -47208,7 +47310,7 @@ var updateCanonicalLink = (doc, href) => {
|
|
|
47208
47310
|
if (canonicalLinkElm != null) {
|
|
47209
47311
|
const existingHref = canonicalLinkElm.getAttribute("href");
|
|
47210
47312
|
if (!existingHref) {
|
|
47211
|
-
canonicalLinkElm.parentNode.removeChild(canonicalLinkElm);
|
|
47313
|
+
(_a2 = canonicalLinkElm.parentNode) == null ? void 0 : _a2.removeChild(canonicalLinkElm);
|
|
47212
47314
|
}
|
|
47213
47315
|
}
|
|
47214
47316
|
}
|
|
@@ -48242,10 +48344,10 @@ function renderBuildDiagnostic(results, level, header, msg) {
|
|
|
48242
48344
|
return diagnostic;
|
|
48243
48345
|
}
|
|
48244
48346
|
function renderBuildError(results, msg) {
|
|
48245
|
-
return renderBuildDiagnostic(results, "error", "Hydrate Error", msg);
|
|
48347
|
+
return renderBuildDiagnostic(results, "error", "Hydrate Error", msg || "");
|
|
48246
48348
|
}
|
|
48247
48349
|
function renderCatchError(results, err2) {
|
|
48248
|
-
const diagnostic = renderBuildError(results
|
|
48350
|
+
const diagnostic = renderBuildError(results);
|
|
48249
48351
|
if (err2 != null) {
|
|
48250
48352
|
if (err2.stack != null) {
|
|
48251
48353
|
diagnostic.messageText = err2.stack.toString();
|
|
@@ -48307,10 +48409,11 @@ function runtimeLog(pathname, type, msgs) {
|
|
|
48307
48409
|
|
|
48308
48410
|
// src/hydrate/runner/window-initialize.ts
|
|
48309
48411
|
function initializeWindow(win, doc, opts, results) {
|
|
48310
|
-
|
|
48311
|
-
|
|
48312
|
-
|
|
48313
|
-
|
|
48412
|
+
if (typeof opts.url === "string") {
|
|
48413
|
+
try {
|
|
48414
|
+
win.location.href = opts.url;
|
|
48415
|
+
} catch (e) {
|
|
48416
|
+
}
|
|
48314
48417
|
}
|
|
48315
48418
|
if (typeof opts.userAgent === "string") {
|
|
48316
48419
|
try {
|
|
@@ -48360,134 +48463,99 @@ function initializeWindow(win, doc, opts, results) {
|
|
|
48360
48463
|
}
|
|
48361
48464
|
|
|
48362
48465
|
// src/hydrate/runner/render.ts
|
|
48363
|
-
|
|
48466
|
+
var NOOP = () => {
|
|
48467
|
+
};
|
|
48468
|
+
function streamToString(html, option) {
|
|
48469
|
+
return renderToString(html, option, true);
|
|
48470
|
+
}
|
|
48471
|
+
function renderToString(html, options, asStream) {
|
|
48364
48472
|
const opts = normalizeHydrateOptions(options);
|
|
48365
48473
|
opts.serializeToHtml = true;
|
|
48366
|
-
|
|
48367
|
-
|
|
48368
|
-
|
|
48369
|
-
|
|
48370
|
-
|
|
48371
|
-
|
|
48372
|
-
|
|
48373
|
-
|
|
48374
|
-
|
|
48375
|
-
|
|
48376
|
-
|
|
48377
|
-
|
|
48378
|
-
|
|
48379
|
-
|
|
48380
|
-
|
|
48381
|
-
|
|
48382
|
-
|
|
48383
|
-
|
|
48474
|
+
opts.fullDocument = typeof opts.fullDocument === "boolean" ? opts.fullDocument : true;
|
|
48475
|
+
opts.serializeShadowRoot = Boolean(opts.serializeShadowRoot);
|
|
48476
|
+
opts.constrainTimeouts = false;
|
|
48477
|
+
return hydrateDocument(html, opts, asStream);
|
|
48478
|
+
}
|
|
48479
|
+
function hydrateDocument(doc, options, asStream) {
|
|
48480
|
+
const opts = normalizeHydrateOptions(options);
|
|
48481
|
+
let win = null;
|
|
48482
|
+
const results = generateHydrateResults(opts);
|
|
48483
|
+
if (hasError(results.diagnostics)) {
|
|
48484
|
+
return Promise.resolve(results);
|
|
48485
|
+
}
|
|
48486
|
+
if (typeof doc === "string") {
|
|
48487
|
+
try {
|
|
48488
|
+
opts.destroyWindow = true;
|
|
48489
|
+
opts.destroyDocument = true;
|
|
48490
|
+
win = new MockWindow(doc);
|
|
48491
|
+
if (!asStream) {
|
|
48492
|
+
return render(win, opts, results).then(() => results);
|
|
48384
48493
|
}
|
|
48385
|
-
|
|
48386
|
-
|
|
48387
|
-
|
|
48388
|
-
win
|
|
48389
|
-
render(win, opts, results, resolve);
|
|
48390
|
-
} catch (e) {
|
|
48391
|
-
if (win && win.close) {
|
|
48392
|
-
win.close();
|
|
48393
|
-
}
|
|
48394
|
-
win = null;
|
|
48395
|
-
renderCatchError(results, e);
|
|
48396
|
-
resolve(results);
|
|
48494
|
+
return renderStream(win, opts, results);
|
|
48495
|
+
} catch (e) {
|
|
48496
|
+
if (win && win.close) {
|
|
48497
|
+
win.close();
|
|
48397
48498
|
}
|
|
48398
|
-
|
|
48399
|
-
|
|
48400
|
-
resolve(results);
|
|
48499
|
+
win = null;
|
|
48500
|
+
renderCatchError(results, e);
|
|
48501
|
+
return Promise.resolve(results);
|
|
48401
48502
|
}
|
|
48402
|
-
}
|
|
48403
|
-
|
|
48404
|
-
|
|
48405
|
-
|
|
48406
|
-
|
|
48407
|
-
|
|
48408
|
-
|
|
48409
|
-
const results = generateHydrateResults(opts);
|
|
48410
|
-
if (hasError(results.diagnostics)) {
|
|
48411
|
-
resolve(results);
|
|
48412
|
-
} else if (typeof doc === "string") {
|
|
48413
|
-
try {
|
|
48414
|
-
opts.destroyWindow = true;
|
|
48415
|
-
opts.destroyDocument = true;
|
|
48416
|
-
win = new MockWindow(doc);
|
|
48417
|
-
render(win, opts, results, resolve);
|
|
48418
|
-
} catch (e) {
|
|
48419
|
-
if (win && win.close) {
|
|
48420
|
-
win.close();
|
|
48421
|
-
}
|
|
48422
|
-
win = null;
|
|
48423
|
-
renderCatchError(results, e);
|
|
48424
|
-
resolve(results);
|
|
48503
|
+
}
|
|
48504
|
+
if (isValidDocument(doc)) {
|
|
48505
|
+
try {
|
|
48506
|
+
opts.destroyDocument = false;
|
|
48507
|
+
win = patchDomImplementation(doc, opts);
|
|
48508
|
+
if (!asStream) {
|
|
48509
|
+
return render(win, opts, results).then(() => results);
|
|
48425
48510
|
}
|
|
48426
|
-
|
|
48427
|
-
|
|
48428
|
-
|
|
48429
|
-
win
|
|
48430
|
-
render(win, opts, results, resolve);
|
|
48431
|
-
} catch (e) {
|
|
48432
|
-
if (win && win.close) {
|
|
48433
|
-
win.close();
|
|
48434
|
-
}
|
|
48435
|
-
win = null;
|
|
48436
|
-
renderCatchError(results, e);
|
|
48437
|
-
resolve(results);
|
|
48511
|
+
return renderStream(win, opts, results);
|
|
48512
|
+
} catch (e) {
|
|
48513
|
+
if (win && win.close) {
|
|
48514
|
+
win.close();
|
|
48438
48515
|
}
|
|
48439
|
-
|
|
48440
|
-
|
|
48441
|
-
resolve(results);
|
|
48516
|
+
win = null;
|
|
48517
|
+
renderCatchError(results, e);
|
|
48518
|
+
return Promise.resolve(results);
|
|
48442
48519
|
}
|
|
48443
|
-
}
|
|
48520
|
+
}
|
|
48521
|
+
renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
|
|
48522
|
+
return Promise.resolve(results);
|
|
48444
48523
|
}
|
|
48445
|
-
function render(win, opts, results
|
|
48446
|
-
if (!process.__stencilErrors) {
|
|
48524
|
+
async function render(win, opts, results) {
|
|
48525
|
+
if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
|
|
48447
48526
|
process.__stencilErrors = true;
|
|
48448
48527
|
process.on("unhandledRejection", (e) => {
|
|
48449
48528
|
console.log("unhandledRejection", e);
|
|
48450
48529
|
});
|
|
48451
48530
|
}
|
|
48452
48531
|
initializeWindow(win, win.document, opts, results);
|
|
48453
|
-
|
|
48454
|
-
|
|
48455
|
-
|
|
48456
|
-
|
|
48457
|
-
|
|
48458
|
-
|
|
48459
|
-
|
|
48460
|
-
} else {
|
|
48461
|
-
hydrateFactory(win, opts, results, afterHydrate, resolve);
|
|
48462
|
-
}
|
|
48463
|
-
} catch (e) {
|
|
48464
|
-
renderCatchError(results, e);
|
|
48465
|
-
finalizeHydrate(win, win.document, opts, results, resolve);
|
|
48466
|
-
}
|
|
48467
|
-
} else {
|
|
48468
|
-
hydrateFactory(win, opts, results, afterHydrate, resolve);
|
|
48532
|
+
const beforeHydrateFn = typeof opts.beforeHydrate === "function" ? opts.beforeHydrate(win.document) : NOOP;
|
|
48533
|
+
try {
|
|
48534
|
+
await Promise.resolve(beforeHydrateFn(win.document));
|
|
48535
|
+
return new Promise((resolve) => hydrateFactory(win, opts, results, afterHydrate, resolve));
|
|
48536
|
+
} catch (e) {
|
|
48537
|
+
renderCatchError(results, e);
|
|
48538
|
+
return finalizeHydrate(win, win.document, opts, results);
|
|
48469
48539
|
}
|
|
48470
48540
|
}
|
|
48471
|
-
function
|
|
48472
|
-
|
|
48473
|
-
|
|
48474
|
-
|
|
48475
|
-
if (isPromise(rtn)) {
|
|
48476
|
-
rtn.then(() => {
|
|
48477
|
-
finalizeHydrate(win, win.document, opts, results, resolve);
|
|
48478
|
-
});
|
|
48479
|
-
} else {
|
|
48480
|
-
finalizeHydrate(win, win.document, opts, results, resolve);
|
|
48481
|
-
}
|
|
48482
|
-
} catch (e) {
|
|
48483
|
-
renderCatchError(results, e);
|
|
48484
|
-
finalizeHydrate(win, win.document, opts, results, resolve);
|
|
48485
|
-
}
|
|
48486
|
-
} else {
|
|
48487
|
-
finalizeHydrate(win, win.document, opts, results, resolve);
|
|
48541
|
+
function renderStream(win, opts, results) {
|
|
48542
|
+
async function* processRender() {
|
|
48543
|
+
const renderResult = await render(win, opts, results);
|
|
48544
|
+
yield renderResult.html;
|
|
48488
48545
|
}
|
|
48546
|
+
return stream.Readable.from(processRender());
|
|
48489
48547
|
}
|
|
48490
|
-
function
|
|
48548
|
+
async function afterHydrate(win, opts, results, resolve) {
|
|
48549
|
+
const afterHydrateFn = typeof opts.afterHydrate === "function" ? opts.afterHydrate(win.document) : NOOP;
|
|
48550
|
+
try {
|
|
48551
|
+
await Promise.resolve(afterHydrateFn(win.document));
|
|
48552
|
+
return resolve(finalizeHydrate(win, win.document, opts, results));
|
|
48553
|
+
} catch (e) {
|
|
48554
|
+
renderCatchError(results, e);
|
|
48555
|
+
return resolve(finalizeHydrate(win, win.document, opts, results));
|
|
48556
|
+
}
|
|
48557
|
+
}
|
|
48558
|
+
function finalizeHydrate(win, doc, opts, results) {
|
|
48491
48559
|
try {
|
|
48492
48560
|
inspectElement(results, doc.documentElement, 0);
|
|
48493
48561
|
if (opts.removeUnusedStyles !== false) {
|
|
@@ -48539,20 +48607,24 @@ function finalizeHydrate(win, doc, opts, results, resolve) {
|
|
|
48539
48607
|
} catch (e) {
|
|
48540
48608
|
renderCatchError(results, e);
|
|
48541
48609
|
}
|
|
48542
|
-
|
|
48543
|
-
|
|
48544
|
-
|
|
48545
|
-
|
|
48546
|
-
|
|
48547
|
-
|
|
48548
|
-
|
|
48549
|
-
|
|
48550
|
-
|
|
48551
|
-
|
|
48552
|
-
|
|
48610
|
+
destroyWindow(win, doc, opts, results);
|
|
48611
|
+
return results;
|
|
48612
|
+
}
|
|
48613
|
+
function destroyWindow(win, doc, opts, results) {
|
|
48614
|
+
if (!opts.destroyWindow) {
|
|
48615
|
+
return;
|
|
48616
|
+
}
|
|
48617
|
+
try {
|
|
48618
|
+
if (!opts.destroyDocument) {
|
|
48619
|
+
win.document = null;
|
|
48620
|
+
doc.defaultView = null;
|
|
48621
|
+
}
|
|
48622
|
+
if (win.close) {
|
|
48623
|
+
win.close();
|
|
48553
48624
|
}
|
|
48625
|
+
} catch (e) {
|
|
48626
|
+
renderCatchError(results, e);
|
|
48554
48627
|
}
|
|
48555
|
-
resolve(results);
|
|
48556
48628
|
}
|
|
48557
48629
|
function serializeDocumentToString(doc, opts) {
|
|
48558
48630
|
return serializeNodeToHtml(doc, {
|
|
@@ -48563,7 +48635,8 @@ function serializeDocumentToString(doc, opts) {
|
|
|
48563
48635
|
removeBooleanAttributeQuotes: opts.removeBooleanAttributeQuotes,
|
|
48564
48636
|
removeEmptyAttributes: opts.removeEmptyAttributes,
|
|
48565
48637
|
removeHtmlComments: opts.removeHtmlComments,
|
|
48566
|
-
serializeShadowRoot:
|
|
48638
|
+
serializeShadowRoot: opts.serializeShadowRoot,
|
|
48639
|
+
fullDocument: opts.fullDocument
|
|
48567
48640
|
});
|
|
48568
48641
|
}
|
|
48569
48642
|
function isValidDocument(doc) {
|
|
@@ -48584,3 +48657,4 @@ exports.createWindowFromHtml = createWindowFromHtml;
|
|
|
48584
48657
|
exports.hydrateDocument = hydrateDocument;
|
|
48585
48658
|
exports.renderToString = renderToString;
|
|
48586
48659
|
exports.serializeDocumentToString = serializeDocumentToString;
|
|
48660
|
+
exports.streamToString = streamToString;
|