@ionic/core 8.7.6-nightly.20251007 → 8.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +7 -5
- package/components/alert.js +7 -5
- package/components/backdrop.js +4 -2
- package/components/button.js +5 -3
- package/components/buttons.js +4 -2
- package/components/checkbox.js +4 -2
- package/components/content.js +4 -2
- package/components/data.js +9 -6
- package/components/header.js +4 -2
- package/components/icon.js +4 -2
- package/components/ion-accordion-group.js +4 -2
- package/components/ion-accordion.js +4 -2
- package/components/ion-app.js +4 -2
- package/components/ion-avatar.js +4 -2
- package/components/ion-back-button.js +5 -3
- package/components/ion-badge.js +4 -2
- package/components/ion-breadcrumb.js +5 -3
- package/components/ion-breadcrumbs.js +4 -2
- package/components/ion-card-content.js +4 -2
- package/components/ion-card-header.js +4 -2
- package/components/ion-card-subtitle.js +4 -2
- package/components/ion-card-title.js +4 -2
- package/components/ion-card.js +5 -3
- package/components/ion-chip.js +4 -2
- package/components/ion-col.js +4 -2
- package/components/ion-datetime-button.js +4 -2
- package/components/ion-datetime.js +8 -6
- package/components/ion-fab-button.js +5 -3
- package/components/ion-fab-list.js +4 -2
- package/components/ion-fab.js +4 -2
- package/components/ion-footer.js +4 -2
- package/components/ion-grid.js +4 -2
- package/components/ion-img.js +4 -2
- package/components/ion-infinite-scroll-content.js +4 -2
- package/components/ion-infinite-scroll.js +4 -2
- package/components/ion-input-otp.js +4 -2
- package/components/ion-input-password-toggle.js +4 -2
- package/components/ion-input.js +5 -3
- package/components/ion-item-divider.js +4 -2
- package/components/ion-item-group.js +4 -2
- package/components/ion-item-option.js +4 -2
- package/components/ion-item-options.js +4 -2
- package/components/ion-item-sliding.js +4 -2
- package/components/ion-loading.js +7 -5
- package/components/ion-menu-button.js +4 -2
- package/components/ion-menu-toggle.js +4 -2
- package/components/ion-menu.js +4 -2
- package/components/ion-nav-link.js +6 -4
- package/components/ion-nav.js +5 -3
- package/components/ion-note.js +4 -2
- package/components/ion-picker-legacy.js +7 -5
- package/components/ion-progress-bar.js +4 -2
- package/components/ion-range.js +5 -3
- package/components/ion-refresher-content.js +4 -2
- package/components/ion-refresher.js +4 -2
- package/components/ion-reorder-group.js +4 -2
- package/components/ion-reorder.js +4 -2
- package/components/ion-route-redirect.js +4 -2
- package/components/ion-route.js +7 -5
- package/components/ion-router-link.js +5 -3
- package/components/ion-router-outlet.js +5 -3
- package/components/ion-router.js +4 -2
- package/components/ion-row.js +4 -2
- package/components/ion-searchbar.js +4 -2
- package/components/ion-segment-button.js +4 -2
- package/components/ion-segment-content.js +4 -2
- package/components/ion-segment-view.js +4 -2
- package/components/ion-segment.js +4 -2
- package/components/ion-select-option.js +4 -2
- package/components/ion-select.js +4 -2
- package/components/ion-skeleton-text.js +4 -2
- package/components/ion-split-pane.js +4 -2
- package/components/ion-tab-bar.js +4 -2
- package/components/ion-tab-button.js +4 -2
- package/components/ion-tab.js +4 -2
- package/components/ion-tabs.js +4 -2
- package/components/ion-text.js +4 -2
- package/components/ion-textarea.js +5 -3
- package/components/ion-thumbnail.js +4 -2
- package/components/ion-toast.js +7 -5
- package/components/ion-toggle.js +4 -2
- package/components/item.js +5 -3
- package/components/label.js +4 -2
- package/components/list-header.js +4 -2
- package/components/list.js +4 -2
- package/components/modal.js +9 -7
- package/components/picker-column-option.js +4 -2
- package/components/picker-column.js +4 -2
- package/components/picker-column2.js +4 -2
- package/components/picker.js +4 -2
- package/components/popover.js +8 -6
- package/components/radio-group.js +4 -2
- package/components/radio.js +4 -2
- package/components/ripple-effect.js +4 -2
- package/components/select-modal.js +4 -2
- package/components/select-popover.js +4 -2
- package/components/spinner.js +4 -2
- package/components/title.js +4 -2
- package/components/toolbar.js +4 -2
- package/dist/cjs/{animation-ZJ1lAkZD.js → animation-Bt3H9L1C.js} +1 -1
- package/dist/cjs/{app-globals-77ZfuXXk.js → app-globals-Ciccnk9_.js} +1 -1
- package/dist/cjs/{button-active-BzZenWWH.js → button-active-CMc8cD90.js} +1 -1
- package/dist/cjs/{config-CKhELRRu.js → config-C5fsO43a.js} +1 -1
- package/dist/cjs/{data-DW6ofvJ8.js → data-JwZKaIQB.js} +10 -7
- package/dist/cjs/{framework-delegate-WkyjrnCx.js → framework-delegate-DMJRBuDi.js} +1 -1
- package/dist/cjs/{hardware-back-button-BxdNu76F.js → hardware-back-button-VCK4V3mG.js} +1 -1
- package/dist/cjs/{helpers-DgwmcYAu.js → helpers-DrTqNghc.js} +1 -1
- package/dist/cjs/{index-bGpoPC4u.js → index-C534ULug.js} +2 -2
- package/dist/cjs/{index-BzEyuIww.js → index-CD5Rjp23.js} +4 -4
- package/dist/cjs/{index-Cc5PNMyz.js → index-CO6eryBo.js} +2 -2
- package/dist/cjs/{index-DNh170BW.js → index-D6Wc6v08.js} +51 -47
- package/dist/cjs/{index-D24wggHR.js → index-DrMUZJj6.js} +5 -5
- package/dist/cjs/index.cjs.js +12 -12
- package/dist/cjs/{input-shims-CLI_OrmU.js → input-shims-CW0KUFTQ.js} +3 -3
- package/dist/cjs/{input.utils-B2hZ5tX6.js → input.utils-B_QROI2g.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +9 -9
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- 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 +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +8 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +9 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +8 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- 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 +3 -3
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +8 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{ionic-global-UI5YPSi-.js → ionic-global-HMVqOFGO.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-DEitrLlG.js → ios.transition-j9CclgEW.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-BHtGC-Wg.js → md.transition-CwFyRSfv.js} +4 -4
- package/dist/cjs/{notch-controller-Bf5Rr4R5.js → notch-controller-Bzqhjm4f.js} +1 -1
- package/dist/cjs/{overlays-czPyT6xP.js → overlays-DxIZwUXI.js} +5 -5
- package/dist/cjs/{status-tap-D9YPr62n.js → status-tap-g0sWWkXk.js} +3 -3
- package/dist/cjs/{swipe-back-C1wRtoww.js → swipe-back-BIayeNOD.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +5 -5
- package/dist/collection/components/accordion-group/accordion-group.js +8 -8
- package/dist/collection/components/action-sheet/action-sheet.js +16 -21
- package/dist/collection/components/alert/alert.js +18 -24
- package/dist/collection/components/back-button/back-button.js +10 -11
- package/dist/collection/components/backdrop/backdrop.js +3 -3
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +20 -21
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -6
- package/dist/collection/components/button/button.js +25 -26
- package/dist/collection/components/buttons/buttons.js +1 -1
- package/dist/collection/components/card/card.js +14 -15
- package/dist/collection/components/card-header/card-header.js +3 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +17 -17
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/col/col.js +48 -48
- package/dist/collection/components/content/content.js +9 -9
- package/dist/collection/components/datetime/datetime.js +36 -40
- package/dist/collection/components/datetime-button/datetime-button.js +4 -4
- package/dist/collection/components/fab/fab.js +6 -6
- package/dist/collection/components/fab-button/fab-button.js +19 -20
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +3 -3
- package/dist/collection/components/img/img.js +4 -4
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +3 -3
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -4
- package/dist/collection/components/input/input.js +52 -53
- package/dist/collection/components/input-otp/input-otp.js +17 -17
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +7 -7
- package/dist/collection/components/item/item.js +19 -20
- package/dist/collection/components/item-divider/item-divider.js +3 -3
- package/dist/collection/components/item-option/item-option.js +13 -13
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/list/list.js +3 -3
- package/dist/collection/components/list-header/list-header.js +4 -4
- package/dist/collection/components/loading/loading.js +18 -22
- package/dist/collection/components/menu/menu.js +10 -10
- package/dist/collection/components/menu-button/menu-button.js +7 -7
- package/dist/collection/components/menu-toggle/menu-toggle.js +3 -3
- package/dist/collection/components/modal/modal.js +24 -31
- package/dist/collection/components/nav/nav.js +5 -8
- package/dist/collection/components/nav-link/nav-link.js +3 -5
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +5 -5
- package/dist/collection/components/picker-column-option/picker-column-option.js +4 -4
- package/dist/collection/components/picker-legacy/picker.js +13 -19
- package/dist/collection/components/picker-legacy-column/picker-column.js +0 -1
- package/dist/collection/components/popover/popover.js +28 -33
- package/dist/collection/components/progress-bar/progress-bar.js +6 -6
- package/dist/collection/components/radio/radio.js +11 -11
- package/dist/collection/components/radio-group/radio-group.js +10 -10
- package/dist/collection/components/range/range.js +19 -20
- package/dist/collection/components/refresher/refresher.js +6 -6
- package/dist/collection/components/refresher-content/refresher-content.js +8 -8
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/route/route.js +3 -6
- package/dist/collection/components/route-redirect/route-redirect.js +4 -4
- package/dist/collection/components/router/router.js +2 -2
- package/dist/collection/components/router-link/router-link.js +9 -10
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/searchbar/searchbar.js +30 -30
- package/dist/collection/components/segment/segment.js +8 -8
- package/dist/collection/components/segment-button/segment-button.js +6 -6
- package/dist/collection/components/segment-view/segment-view.js +1 -1
- package/dist/collection/components/select/select.js +35 -35
- package/dist/collection/components/select-modal/select-modal.js +4 -5
- package/dist/collection/components/select-option/select-option.js +3 -3
- package/dist/collection/components/select-popover/select-popover.js +8 -9
- package/dist/collection/components/skeleton-text/skeleton-text.js +1 -1
- package/dist/collection/components/spinner/spinner.js +7 -7
- package/dist/collection/components/split-pane/split-pane.js +4 -4
- package/dist/collection/components/tab/tab.js +5 -6
- package/dist/collection/components/tab-bar/tab-bar.js +5 -5
- package/dist/collection/components/tab-button/tab-button.js +14 -14
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +42 -43
- package/dist/collection/components/title/title.js +4 -4
- package/dist/collection/components/toast/toast.js +26 -31
- package/dist/collection/components/toggle/toggle.js +17 -17
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +2 -55
- package/dist/esm/{animation-BvhAtgca.js → animation-Dt8bGnA-.js} +1 -1
- package/dist/esm/{app-globals-CvLYUxE9.js → app-globals-BDSf8fOA.js} +1 -1
- package/dist/esm/{button-active-DBUPuLNw.js → button-active-L570Swow.js} +1 -1
- package/dist/esm/{config-Dx_6wPIJ.js → config-mCdtaoPe.js} +1 -1
- package/dist/esm/{data-CKHMWxfe.js → data-DCORV9FH.js} +10 -7
- package/dist/esm/{framework-delegate-BLEBgH06.js → framework-delegate-BYawdMXj.js} +1 -1
- package/dist/esm/{hardware-back-button-Dhbd-23H.js → hardware-back-button-CPLxO-Ev.js} +1 -1
- package/dist/esm/{helpers-8KSQQGQy.js → helpers-DEn3pfjm.js} +1 -1
- package/dist/esm/{index-7UbSlv7N.js → index-Bs3kT4bc.js} +2 -2
- package/dist/esm/{index-4DxY6_gG.js → index-C8IsBmNU.js} +51 -47
- package/dist/esm/{index-CXSTcaAW.js → index-CvDIirVx.js} +5 -5
- package/dist/esm/{index-Dp7GXH1z.js → index-D6G2seR8.js} +4 -4
- package/dist/esm/{index-C6WeRr09.js → index-ceb5RaMT.js} +2 -2
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-shims-C4KDnhxb.js → input-shims-DyOpfTg6.js} +3 -3
- package/dist/esm/{input.utils-be4gBvVY.js → input.utils-DrvTa8gz.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +9 -9
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- 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 +4 -4
- package/dist/esm/ion-datetime_3.entry.js +8 -8
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +8 -8
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +7 -7
- 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 +3 -3
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +5 -5
- package/dist/esm/ion-toast.entry.js +8 -8
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-CTSyufhF.js → ionic-global-CDrldh-5.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-eAEkgVAv.js → ios.transition-Bpq9ixwv.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-D8TeJ_Pz.js → md.transition-zOA0oanq.js} +4 -4
- package/dist/esm/{notch-controller-lb417-kU.js → notch-controller-BwelN_JM.js} +1 -1
- package/dist/esm/{overlays-BYcYBCrx.js → overlays-BymNv-BL.js} +5 -5
- package/dist/esm/{status-tap-pATNXEtr.js → status-tap-5DQ7Fc4V.js} +3 -3
- package/dist/esm/{swipe-back-B2YfOHRM.js → swipe-back-BKw2CAHc.js} +2 -2
- package/dist/html.html-data.json +0 -212
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-3392f558.entry.js → p-020af078.entry.js} +1 -1
- package/dist/ionic/{p-6383afc2.entry.js → p-074839fc.entry.js} +1 -1
- package/dist/ionic/{p-25e5e5cc.entry.js → p-0b80d700.entry.js} +1 -1
- package/dist/ionic/{p-16116947.entry.js → p-0dfa5a37.entry.js} +1 -1
- package/dist/ionic/{p-bc9f9032.entry.js → p-11518b31.entry.js} +1 -1
- package/dist/ionic/{p-90f4cc71.entry.js → p-15193d01.entry.js} +1 -1
- package/dist/ionic/{p-d04d66fc.entry.js → p-1647c46c.entry.js} +1 -1
- package/dist/ionic/{p-5c976c00.entry.js → p-1c8a476d.entry.js} +1 -1
- package/dist/ionic/{p-7b12d853.entry.js → p-2a939845.entry.js} +1 -1
- package/dist/ionic/{p-cde6d39b.entry.js → p-316c0420.entry.js} +1 -1
- package/dist/ionic/{p-f7db572a.entry.js → p-31f7095f.entry.js} +1 -1
- package/dist/ionic/{p-54dec9b1.entry.js → p-370e4237.entry.js} +1 -1
- package/dist/ionic/{p-1191a2d9.entry.js → p-3a6caca9.entry.js} +1 -1
- package/dist/ionic/{p-a81be128.entry.js → p-46d74291.entry.js} +1 -1
- package/dist/ionic/{p-349fc921.entry.js → p-49d06882.entry.js} +1 -1
- package/dist/ionic/{p-4f2c5845.entry.js → p-49f0149c.entry.js} +1 -1
- package/dist/ionic/{p-568efea2.entry.js → p-4efea47a.entry.js} +1 -1
- package/dist/ionic/{p-0793aea6.entry.js → p-510d86e1.entry.js} +1 -1
- package/dist/ionic/{p-0f396661.entry.js → p-51a60e0f.entry.js} +1 -1
- package/dist/ionic/{p-bf81a468.entry.js → p-582824c5.entry.js} +1 -1
- package/dist/ionic/{p-528af4e6.entry.js → p-6241ce47.entry.js} +1 -1
- package/dist/ionic/{p-39ed3212.entry.js → p-62e50f80.entry.js} +1 -1
- package/dist/ionic/{p-8cdb4ff5.entry.js → p-639dd543.entry.js} +1 -1
- package/dist/ionic/{p-36a54836.entry.js → p-6444c606.entry.js} +1 -1
- package/dist/ionic/{p-b292804d.entry.js → p-675b1a31.entry.js} +1 -1
- package/dist/ionic/{p-8888efe4.entry.js → p-6d070558.entry.js} +1 -1
- package/dist/ionic/{p-e3cacac2.entry.js → p-7268efa5.entry.js} +1 -1
- package/dist/ionic/{p-7a53f04c.entry.js → p-72c38b88.entry.js} +1 -1
- package/dist/ionic/{p-a00ad0f2.entry.js → p-785026d7.entry.js} +1 -1
- package/dist/ionic/{p-117e7a3f.entry.js → p-78c74a3e.entry.js} +1 -1
- package/dist/ionic/{p-7da05504.entry.js → p-79bd78f9.entry.js} +1 -1
- package/dist/ionic/{p-f9eb54ee.entry.js → p-7bcfc421.entry.js} +1 -1
- package/dist/ionic/{p-1f68cb59.entry.js → p-7da39a4d.entry.js} +1 -1
- package/dist/ionic/{p-63852736.entry.js → p-83be404e.entry.js} +1 -1
- package/dist/ionic/{p-1a91f317.entry.js → p-83fc84e7.entry.js} +1 -1
- package/dist/ionic/{p-dbba38cf.entry.js → p-86f53961.entry.js} +1 -1
- package/dist/ionic/{p-44e3b33a.entry.js → p-913a7c1e.entry.js} +1 -1
- package/dist/ionic/{p-d3df6032.entry.js → p-94de5cfa.entry.js} +1 -1
- package/dist/ionic/{p-9ddf2620.entry.js → p-9575b654.entry.js} +1 -1
- package/dist/ionic/{p-746cd400.entry.js → p-98fc09eb.entry.js} +1 -1
- package/dist/ionic/p-9R1XyICs.js +4 -0
- package/dist/ionic/{p-CvaZMP6T.js → p-B0q1YL7N.js} +1 -1
- package/dist/ionic/{p-Br3vSlYh.js → p-BFvmZNyx.js} +1 -1
- package/dist/ionic/p-BKc55Xev.js +4 -0
- package/dist/ionic/{p-B5MDSrGg.js → p-BOVrCkpJ.js} +1 -1
- package/dist/ionic/{p-BHGXdud8.js → p-BYEqWnSg.js} +1 -1
- package/dist/ionic/p-Bmgaetn_.js +4 -0
- package/dist/ionic/p-C8IsBmNU.js +5 -0
- package/dist/ionic/{p-B1xocg0A.js → p-CJxh_yLS.js} +1 -1
- package/dist/ionic/p-CMhMiYSX.js +4 -0
- package/dist/ionic/{p-C-Cct-6D.js → p-CTfR9YZG.js} +1 -1
- package/dist/ionic/{p-BhNEp2QP.js → p-CwgG81ZD.js} +1 -1
- package/dist/ionic/p-D-eFFUkA.js +4 -0
- package/dist/ionic/{p-DiZPU8BH.js → p-D0dMcSkw.js} +1 -1
- package/dist/ionic/{p-Cnh7O81W.js → p-D87hU-Ly.js} +1 -1
- package/dist/ionic/p-DCv9sLH2.js +4 -0
- package/dist/ionic/p-DDb5r57F.js +4 -0
- package/dist/ionic/{p-C8d2ebIg.js → p-DNcfiJwE.js} +1 -1
- package/dist/ionic/{p-BB-JoKGB.js → p-DPhQmGJN.js} +1 -1
- package/dist/ionic/{p-EnaLTYYj.js → p-DbQ5QkTP.js} +1 -1
- package/dist/ionic/{p-CWvl4RPO.js → p-Dc45iWE4.js} +1 -1
- package/dist/ionic/{p-D2fQU_qK.js → p-QHYY4sjU.js} +1 -1
- package/dist/ionic/{p-2135be78.entry.js → p-a127bee2.entry.js} +1 -1
- package/dist/ionic/{p-2cb0f39f.entry.js → p-ac4eb91d.entry.js} +1 -1
- package/dist/ionic/{p-afeb9df6.entry.js → p-b0a7585c.entry.js} +1 -1
- package/dist/ionic/{p-148bdf18.entry.js → p-b57c6d3e.entry.js} +1 -1
- package/dist/ionic/{p-1bbd0a23.entry.js → p-c17c0a01.entry.js} +1 -1
- package/dist/ionic/{p-6e43c86a.entry.js → p-c59314fd.entry.js} +1 -1
- package/dist/ionic/p-c85c40ee.entry.js +4 -0
- package/dist/ionic/{p-ee2e35a6.entry.js → p-cc45bcbc.entry.js} +1 -1
- package/dist/ionic/{p-e6c465ff.entry.js → p-d126e8d3.entry.js} +1 -1
- package/dist/ionic/{p-19f80390.entry.js → p-da7d04cc.entry.js} +1 -1
- package/dist/ionic/{p-0e1904a0.entry.js → p-de7b5fa3.entry.js} +1 -1
- package/dist/ionic/{p-3624b640.entry.js → p-f8f22cc0.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +39 -2
- package/hydrate/index.d.ts +2 -0
- package/hydrate/index.js +117 -109
- package/hydrate/index.mjs +117 -109
- package/package.json +2 -2
- package/dist/ionic/p-40d56a51.entry.js +0 -4
- package/dist/ionic/p-4DxY6_gG.js +0 -5
- package/dist/ionic/p-C4I6B3uV.js +0 -4
- package/dist/ionic/p-C87oPMMF.js +0 -4
- package/dist/ionic/p-DAfH9Iif.js +0 -4
- package/dist/ionic/p-DCuOL88l.js +0 -4
- package/dist/ionic/p-DJKvq7vb.js +0 -4
- package/dist/ionic/p-Dm_oBkW1.js +0 -4
- package/dist/ionic/p-LaGjiAVo.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -390,7 +390,7 @@ const initialize = (userConfig = {}) => {
|
|
|
390
390
|
const globalScripts = initialize;
|
|
391
391
|
|
|
392
392
|
/*
|
|
393
|
-
Stencil Hydrate Platform v4.
|
|
393
|
+
Stencil Hydrate Platform v4.38.0 | MIT Licensed | https://stenciljs.com
|
|
394
394
|
*/
|
|
395
395
|
var __defProp = Object.defineProperty;
|
|
396
396
|
var __export = (target, all) => {
|
|
@@ -988,7 +988,7 @@ var convertToPrivate = (node) => {
|
|
|
988
988
|
|
|
989
989
|
// src/runtime/client-hydrate.ts
|
|
990
990
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
991
|
-
var _a, _b
|
|
991
|
+
var _a, _b;
|
|
992
992
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
993
993
|
const shadowRoot = hostElm.shadowRoot;
|
|
994
994
|
const childRenderNodes = [];
|
|
@@ -997,21 +997,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
997
997
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
998
998
|
const vnode = newVNode(tagName, null);
|
|
999
999
|
vnode.$elm$ = hostElm;
|
|
1000
|
-
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
1001
|
-
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
1002
|
-
var _b2;
|
|
1003
|
-
if (!(memberFlags & 31 /* Prop */)) {
|
|
1004
|
-
return;
|
|
1005
|
-
}
|
|
1006
|
-
const attributeName = metaAttributeName || memberName;
|
|
1007
|
-
const attrVal = hostElm.getAttribute(attributeName);
|
|
1008
|
-
if (attrVal !== null) {
|
|
1009
|
-
const attrPropVal = parsePropertyValue(
|
|
1010
|
-
attrVal,
|
|
1011
|
-
memberFlags);
|
|
1012
|
-
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
1013
|
-
}
|
|
1014
|
-
});
|
|
1015
1000
|
let scopeId2;
|
|
1016
1001
|
{
|
|
1017
1002
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -1050,7 +1035,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1050
1035
|
if (childRenderNode.$tag$ === "slot") {
|
|
1051
1036
|
node["s-cr"] = hostElm["s-cr"];
|
|
1052
1037
|
}
|
|
1053
|
-
} else if (((
|
|
1038
|
+
} else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
1054
1039
|
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
1055
1040
|
if (cmpMeta) {
|
|
1056
1041
|
const scopeId3 = getScopeId(
|
|
@@ -1121,7 +1106,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1121
1106
|
}
|
|
1122
1107
|
}
|
|
1123
1108
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1124
|
-
if (((
|
|
1109
|
+
if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
1125
1110
|
slottedItem.node.removeAttribute("slot");
|
|
1126
1111
|
}
|
|
1127
1112
|
}
|
|
@@ -1837,12 +1822,6 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
|
1837
1822
|
propValue = deserializeProperty(propValue);
|
|
1838
1823
|
return propValue;
|
|
1839
1824
|
}
|
|
1840
|
-
if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
1841
|
-
try {
|
|
1842
|
-
return JSON.parse(propValue);
|
|
1843
|
-
} catch (e) {
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
1825
|
if (propValue != null && !isComplexType(propValue)) {
|
|
1847
1826
|
if (propType & 4 /* Boolean */) {
|
|
1848
1827
|
{
|
|
@@ -2438,9 +2417,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2438
2417
|
hostTagName = hostElm.tagName;
|
|
2439
2418
|
if (cmpMeta.$attrsToReflect$) {
|
|
2440
2419
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
2441
|
-
cmpMeta.$attrsToReflect$.
|
|
2442
|
-
|
|
2443
|
-
|
|
2420
|
+
cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
|
|
2421
|
+
{
|
|
2422
|
+
rootVnode.$attrs$[attribute] = hostElm[propName];
|
|
2423
|
+
}
|
|
2424
|
+
});
|
|
2444
2425
|
}
|
|
2445
2426
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
2446
2427
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
@@ -2568,10 +2549,15 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
2568
2549
|
let maybePromise;
|
|
2569
2550
|
if (isInitialLoad) {
|
|
2570
2551
|
{
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
hostRef.$queuedListeners
|
|
2574
|
-
|
|
2552
|
+
{
|
|
2553
|
+
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
2554
|
+
if (hostRef.$queuedListeners$) {
|
|
2555
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall$1(instance, methodName, event, elm));
|
|
2556
|
+
hostRef.$queuedListeners$ = void 0;
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
2560
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
2575
2561
|
}
|
|
2576
2562
|
}
|
|
2577
2563
|
maybePromise = safeCall$1(instance, "componentWillLoad", void 0, elm);
|
|
@@ -2784,9 +2770,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2784
2770
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2785
2771
|
var _a;
|
|
2786
2772
|
const prototype = Cstr.prototype;
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
cmpMeta.$watchers$
|
|
2773
|
+
{
|
|
2774
|
+
{
|
|
2775
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
2776
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2777
|
+
}
|
|
2778
|
+
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
2779
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2780
|
+
}
|
|
2781
|
+
if (Cstr.serializers && !cmpMeta.$serializers$) {
|
|
2782
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2783
|
+
}
|
|
2790
2784
|
}
|
|
2791
2785
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2792
2786
|
members.map(([memberName, [memberFlags]]) => {
|
|
@@ -2821,8 +2815,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2821
2815
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2822
2816
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2823
2817
|
newValue = ref.$instanceValues$.get(memberName);
|
|
2824
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2825
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
2826
2818
|
}
|
|
2827
2819
|
origSetter.apply(this, [
|
|
2828
2820
|
parsePropertyValue(
|
|
@@ -2868,6 +2860,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2868
2860
|
if (!Cstr.isProxied) {
|
|
2869
2861
|
{
|
|
2870
2862
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2863
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2864
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2871
2865
|
}
|
|
2872
2866
|
proxyComponent(Cstr, cmpMeta);
|
|
2873
2867
|
Cstr.isProxied = true;
|
|
@@ -3207,6 +3201,9 @@ var hAsync = (nodeName, vnodeData, ...children) => {
|
|
|
3207
3201
|
// src/hydrate/platform/proxy-host-element.ts
|
|
3208
3202
|
function proxyHostElement(elm, cstr) {
|
|
3209
3203
|
const cmpMeta = cstr.cmpMeta;
|
|
3204
|
+
cmpMeta.$watchers$ = cmpMeta.$watchers$ || cstr.watchers;
|
|
3205
|
+
cmpMeta.$deserializers$ = cmpMeta.$deserializers$ || cstr.deserializers;
|
|
3206
|
+
cmpMeta.$serializers$ = cmpMeta.$serializers$ || cstr.serializers;
|
|
3210
3207
|
if (typeof elm.componentOnReady !== "function") {
|
|
3211
3208
|
elm.componentOnReady = componentOnReady$1;
|
|
3212
3209
|
}
|
|
@@ -3220,7 +3217,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
3220
3217
|
const hostRef = getHostRef(elm);
|
|
3221
3218
|
const members = Object.entries(cmpMeta.$members$);
|
|
3222
3219
|
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
3223
|
-
var _a;
|
|
3220
|
+
var _a, _b;
|
|
3224
3221
|
if (memberFlags & 31 /* Prop */) {
|
|
3225
3222
|
const attributeName = metaAttributeName || memberName;
|
|
3226
3223
|
const attrValue = elm.getAttribute(attributeName);
|
|
@@ -3228,7 +3225,13 @@ function proxyHostElement(elm, cstr) {
|
|
|
3228
3225
|
let attrPropVal;
|
|
3229
3226
|
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
|
|
3230
3227
|
if (attrValue != null) {
|
|
3231
|
-
|
|
3228
|
+
if ((_a = cmpMeta.$deserializers$) == null ? void 0 : _a[memberName]) {
|
|
3229
|
+
for (const methodName of cmpMeta.$deserializers$[memberName]) {
|
|
3230
|
+
attrPropVal = cstr.prototype[methodName](attrValue, memberName);
|
|
3231
|
+
}
|
|
3232
|
+
} else {
|
|
3233
|
+
attrPropVal = parsePropertyValue(attrValue, memberFlags);
|
|
3234
|
+
}
|
|
3232
3235
|
}
|
|
3233
3236
|
if (propValue !== void 0) {
|
|
3234
3237
|
attrPropVal = propValue;
|
|
@@ -3239,7 +3242,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
3239
3242
|
origSetter.apply(elm, [attrPropVal]);
|
|
3240
3243
|
attrPropVal = origGetter ? origGetter.apply(elm) : attrPropVal;
|
|
3241
3244
|
}
|
|
3242
|
-
(
|
|
3245
|
+
(_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, attrPropVal);
|
|
3243
3246
|
}
|
|
3244
3247
|
const getterSetterDescriptor = {
|
|
3245
3248
|
get: function() {
|
|
@@ -3253,21 +3256,18 @@ function proxyHostElement(elm, cstr) {
|
|
|
3253
3256
|
};
|
|
3254
3257
|
Object.defineProperty(elm, memberName, getterSetterDescriptor);
|
|
3255
3258
|
Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
enumerable: true
|
|
3269
|
-
});
|
|
3270
|
-
}
|
|
3259
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
3260
|
+
var _a2;
|
|
3261
|
+
if (!((_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.has(memberName))) {
|
|
3262
|
+
setValue(
|
|
3263
|
+
elm,
|
|
3264
|
+
memberName,
|
|
3265
|
+
attrPropVal !== void 0 ? attrPropVal : hostRef.$lazyInstance$[memberName],
|
|
3266
|
+
cmpMeta
|
|
3267
|
+
);
|
|
3268
|
+
}
|
|
3269
|
+
Object.defineProperty(hostRef.$lazyInstance$, memberName, getterSetterDescriptor);
|
|
3270
|
+
});
|
|
3271
3271
|
} else if (memberFlags & 64 /* Method */) {
|
|
3272
3272
|
Object.defineProperty(elm, memberName, {
|
|
3273
3273
|
value(...args) {
|
|
@@ -3283,7 +3283,6 @@ function proxyHostElement(elm, cstr) {
|
|
|
3283
3283
|
});
|
|
3284
3284
|
}
|
|
3285
3285
|
});
|
|
3286
|
-
cstr.prototype.__stencilAugmented = true;
|
|
3287
3286
|
}
|
|
3288
3287
|
}
|
|
3289
3288
|
function componentOnReady$1() {
|
|
@@ -3643,6 +3642,7 @@ var getHostRef = (ref) => {
|
|
|
3643
3642
|
return void 0;
|
|
3644
3643
|
};
|
|
3645
3644
|
var registerInstance = (lazyInstance, hostRef) => {
|
|
3645
|
+
if (!hostRef) return void 0;
|
|
3646
3646
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
3647
3647
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
3648
3648
|
return hostRef;
|
|
@@ -3653,8 +3653,10 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
3653
3653
|
$cmpMeta$: cmpMeta,
|
|
3654
3654
|
$hostElement$: elm,
|
|
3655
3655
|
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
3656
|
+
$serializerValues$: /* @__PURE__ */ new Map(),
|
|
3656
3657
|
$renderCount$: 0
|
|
3657
3658
|
};
|
|
3659
|
+
hostRef.$fetchedCbList$ = [];
|
|
3658
3660
|
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
3659
3661
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
3660
3662
|
elm["s-p"] = [];
|
|
@@ -7743,8 +7745,8 @@ class ActionSheet {
|
|
|
7743
7745
|
"delegate": [16],
|
|
7744
7746
|
"hasController": [4, "has-controller"],
|
|
7745
7747
|
"keyboardClose": [4, "keyboard-close"],
|
|
7746
|
-
"enterAnimation": [16
|
|
7747
|
-
"leaveAnimation": [16
|
|
7748
|
+
"enterAnimation": [16],
|
|
7749
|
+
"leaveAnimation": [16],
|
|
7748
7750
|
"buttons": [16],
|
|
7749
7751
|
"cssClass": [1, "css-class"],
|
|
7750
7752
|
"backdropDismiss": [4, "backdrop-dismiss"],
|
|
@@ -7752,7 +7754,7 @@ class ActionSheet {
|
|
|
7752
7754
|
"subHeader": [1, "sub-header"],
|
|
7753
7755
|
"translucent": [4],
|
|
7754
7756
|
"animated": [4],
|
|
7755
|
-
"htmlAttributes": [16
|
|
7757
|
+
"htmlAttributes": [16],
|
|
7756
7758
|
"isOpen": [4, "is-open"],
|
|
7757
7759
|
"trigger": [1],
|
|
7758
7760
|
"present": [64],
|
|
@@ -8476,8 +8478,8 @@ class Alert {
|
|
|
8476
8478
|
"delegate": [16],
|
|
8477
8479
|
"hasController": [4, "has-controller"],
|
|
8478
8480
|
"keyboardClose": [4, "keyboard-close"],
|
|
8479
|
-
"enterAnimation": [16
|
|
8480
|
-
"leaveAnimation": [16
|
|
8481
|
+
"enterAnimation": [16],
|
|
8482
|
+
"leaveAnimation": [16],
|
|
8481
8483
|
"cssClass": [1, "css-class"],
|
|
8482
8484
|
"header": [1],
|
|
8483
8485
|
"subHeader": [1, "sub-header"],
|
|
@@ -8487,7 +8489,7 @@ class Alert {
|
|
|
8487
8489
|
"backdropDismiss": [4, "backdrop-dismiss"],
|
|
8488
8490
|
"translucent": [4],
|
|
8489
8491
|
"animated": [4],
|
|
8490
|
-
"htmlAttributes": [16
|
|
8492
|
+
"htmlAttributes": [16],
|
|
8491
8493
|
"isOpen": [4, "is-open"],
|
|
8492
8494
|
"trigger": [1],
|
|
8493
8495
|
"present": [64],
|
|
@@ -8677,7 +8679,7 @@ class BackButton {
|
|
|
8677
8679
|
"icon": [1],
|
|
8678
8680
|
"text": [1],
|
|
8679
8681
|
"type": [1],
|
|
8680
|
-
"routerAnimation": [16
|
|
8682
|
+
"routerAnimation": [16]
|
|
8681
8683
|
},
|
|
8682
8684
|
"$listeners$": undefined,
|
|
8683
8685
|
"$lazyBundleId$": "-",
|
|
@@ -8888,7 +8890,7 @@ class Breadcrumb {
|
|
|
8888
8890
|
"separator": [4],
|
|
8889
8891
|
"target": [1],
|
|
8890
8892
|
"routerDirection": [1, "router-direction"],
|
|
8891
|
-
"routerAnimation": [16
|
|
8893
|
+
"routerAnimation": [16]
|
|
8892
8894
|
},
|
|
8893
8895
|
"$listeners$": undefined,
|
|
8894
8896
|
"$lazyBundleId$": "-",
|
|
@@ -9313,7 +9315,7 @@ class Button {
|
|
|
9313
9315
|
"expand": [513],
|
|
9314
9316
|
"fill": [1537],
|
|
9315
9317
|
"routerDirection": [1, "router-direction"],
|
|
9316
|
-
"routerAnimation": [16
|
|
9318
|
+
"routerAnimation": [16],
|
|
9317
9319
|
"download": [1],
|
|
9318
9320
|
"href": [1],
|
|
9319
9321
|
"rel": [1],
|
|
@@ -9454,7 +9456,7 @@ class Card {
|
|
|
9454
9456
|
"href": [1],
|
|
9455
9457
|
"rel": [1],
|
|
9456
9458
|
"routerDirection": [1, "router-direction"],
|
|
9457
|
-
"routerAnimation": [16
|
|
9459
|
+
"routerAnimation": [16],
|
|
9458
9460
|
"target": [1]
|
|
9459
9461
|
},
|
|
9460
9462
|
"$listeners$": undefined,
|
|
@@ -11362,17 +11364,18 @@ const getFormattedDayPeriod = (dayPeriod) => {
|
|
|
11362
11364
|
* confusion.
|
|
11363
11365
|
*/
|
|
11364
11366
|
const stripTimeZone = (formatOptions) => {
|
|
11365
|
-
return Object.assign(Object.assign({}, formatOptions), {
|
|
11367
|
+
return Object.assign(Object.assign({}, formatOptions), {
|
|
11366
11368
|
/**
|
|
11367
11369
|
* Setting the time zone to UTC ensures that the value shown is always the
|
|
11368
11370
|
* same as what was selected and safeguards against older Safari bugs with
|
|
11369
11371
|
* Intl.DateTimeFormat.
|
|
11370
11372
|
*/
|
|
11371
|
-
timeZone: 'UTC',
|
|
11373
|
+
timeZone: 'UTC',
|
|
11372
11374
|
/**
|
|
11373
11375
|
* We do not want to display the time zone name
|
|
11374
11376
|
*/
|
|
11375
|
-
timeZoneName: undefined
|
|
11377
|
+
timeZoneName: undefined
|
|
11378
|
+
});
|
|
11376
11379
|
};
|
|
11377
11380
|
const getLocalizedTime = (locale, refParts, hourCycle, formatOptions = { hour: 'numeric', minute: 'numeric' }) => {
|
|
11378
11381
|
const timeParts = {
|
|
@@ -11382,12 +11385,13 @@ const getLocalizedTime = (locale, refParts, hourCycle, formatOptions = { hour: '
|
|
|
11382
11385
|
if (timeParts.hour === undefined || timeParts.minute === undefined) {
|
|
11383
11386
|
return 'Invalid Time';
|
|
11384
11387
|
}
|
|
11385
|
-
return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, stripTimeZone(formatOptions)), {
|
|
11388
|
+
return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, stripTimeZone(formatOptions)), {
|
|
11386
11389
|
/**
|
|
11387
11390
|
* We use hourCycle here instead of hour12 due to:
|
|
11388
11391
|
* https://bugs.chromium.org/p/chromium/issues/detail?id=1347316&q=hour12&can=2
|
|
11389
11392
|
*/
|
|
11390
|
-
hourCycle
|
|
11393
|
+
hourCycle
|
|
11394
|
+
})).format(new Date(convertDataToISO(Object.assign({
|
|
11391
11395
|
/**
|
|
11392
11396
|
* JS uses a simplified ISO 8601 format which allows for
|
|
11393
11397
|
* date-only formats and date-time formats, but not
|
|
@@ -11399,7 +11403,8 @@ const getLocalizedTime = (locale, refParts, hourCycle, formatOptions = { hour: '
|
|
|
11399
11403
|
* values, so passing these date values should have no impact
|
|
11400
11404
|
* on the time output.
|
|
11401
11405
|
*/
|
|
11402
|
-
year: 2023, day: 1, month: 1
|
|
11406
|
+
year: 2023, day: 1, month: 1
|
|
11407
|
+
}, timeParts)) + 'Z'));
|
|
11403
11408
|
};
|
|
11404
11409
|
/**
|
|
11405
11410
|
* Adds padding to a time value so
|
|
@@ -14054,9 +14059,9 @@ class Datetime {
|
|
|
14054
14059
|
"color": [1],
|
|
14055
14060
|
"name": [1],
|
|
14056
14061
|
"disabled": [4],
|
|
14057
|
-
"formatOptions": [16
|
|
14062
|
+
"formatOptions": [16],
|
|
14058
14063
|
"readonly": [4],
|
|
14059
|
-
"isDateEnabled": [16
|
|
14064
|
+
"isDateEnabled": [16],
|
|
14060
14065
|
"showAdjacentDays": [4, "show-adjacent-days"],
|
|
14061
14066
|
"min": [1025],
|
|
14062
14067
|
"max": [1025],
|
|
@@ -14071,9 +14076,9 @@ class Datetime {
|
|
|
14071
14076
|
"minuteValues": [8, "minute-values"],
|
|
14072
14077
|
"locale": [1],
|
|
14073
14078
|
"firstDayOfWeek": [2, "first-day-of-week"],
|
|
14074
|
-
"titleSelectedDatesFormatter": [16
|
|
14079
|
+
"titleSelectedDatesFormatter": [16],
|
|
14075
14080
|
"multiple": [4],
|
|
14076
|
-
"highlightedDates": [16
|
|
14081
|
+
"highlightedDates": [16],
|
|
14077
14082
|
"value": [1025],
|
|
14078
14083
|
"showDefaultTitle": [4, "show-default-title"],
|
|
14079
14084
|
"showDefaultButtons": [4, "show-default-buttons"],
|
|
@@ -14663,7 +14668,7 @@ class FabButton {
|
|
|
14663
14668
|
"href": [1],
|
|
14664
14669
|
"rel": [1],
|
|
14665
14670
|
"routerDirection": [1, "router-direction"],
|
|
14666
|
-
"routerAnimation": [16
|
|
14671
|
+
"routerAnimation": [16],
|
|
14667
14672
|
"target": [1],
|
|
14668
14673
|
"show": [4],
|
|
14669
14674
|
"translucent": [4],
|
|
@@ -17056,7 +17061,7 @@ class Input {
|
|
|
17056
17061
|
"clearInputIcon": [1, "clear-input-icon"],
|
|
17057
17062
|
"clearOnEdit": [4, "clear-on-edit"],
|
|
17058
17063
|
"counter": [4],
|
|
17059
|
-
"counterFormatter": [16
|
|
17064
|
+
"counterFormatter": [16],
|
|
17060
17065
|
"debounce": [2],
|
|
17061
17066
|
"disabled": [516],
|
|
17062
17067
|
"enterkeyhint": [1],
|
|
@@ -18113,7 +18118,7 @@ class Item {
|
|
|
18113
18118
|
"href": [1],
|
|
18114
18119
|
"rel": [1],
|
|
18115
18120
|
"lines": [1],
|
|
18116
|
-
"routerAnimation": [16
|
|
18121
|
+
"routerAnimation": [16],
|
|
18117
18122
|
"routerDirection": [1, "router-direction"],
|
|
18118
18123
|
"target": [1],
|
|
18119
18124
|
"type": [1],
|
|
@@ -19293,8 +19298,8 @@ class Loading {
|
|
|
19293
19298
|
"delegate": [16],
|
|
19294
19299
|
"hasController": [4, "has-controller"],
|
|
19295
19300
|
"keyboardClose": [4, "keyboard-close"],
|
|
19296
|
-
"enterAnimation": [16
|
|
19297
|
-
"leaveAnimation": [16
|
|
19301
|
+
"enterAnimation": [16],
|
|
19302
|
+
"leaveAnimation": [16],
|
|
19298
19303
|
"message": [1],
|
|
19299
19304
|
"cssClass": [1, "css-class"],
|
|
19300
19305
|
"duration": [2],
|
|
@@ -19303,7 +19308,7 @@ class Loading {
|
|
|
19303
19308
|
"spinner": [1025],
|
|
19304
19309
|
"translucent": [4],
|
|
19305
19310
|
"animated": [4],
|
|
19306
|
-
"htmlAttributes": [16
|
|
19311
|
+
"htmlAttributes": [16],
|
|
19307
19312
|
"isOpen": [4, "is-open"],
|
|
19308
19313
|
"trigger": [1],
|
|
19309
19314
|
"present": [64],
|
|
@@ -23210,8 +23215,8 @@ class Modal {
|
|
|
23210
23215
|
"overlayIndex": [2, "overlay-index"],
|
|
23211
23216
|
"delegate": [16],
|
|
23212
23217
|
"keyboardClose": [4, "keyboard-close"],
|
|
23213
|
-
"enterAnimation": [16
|
|
23214
|
-
"leaveAnimation": [16
|
|
23218
|
+
"enterAnimation": [16],
|
|
23219
|
+
"leaveAnimation": [16],
|
|
23215
23220
|
"breakpoints": [16],
|
|
23216
23221
|
"expandToScroll": [4, "expand-to-scroll"],
|
|
23217
23222
|
"initialBreakpoint": [2, "initial-breakpoint"],
|
|
@@ -23219,13 +23224,13 @@ class Modal {
|
|
|
23219
23224
|
"handle": [4],
|
|
23220
23225
|
"handleBehavior": [1, "handle-behavior"],
|
|
23221
23226
|
"component": [1],
|
|
23222
|
-
"componentProps": [16
|
|
23227
|
+
"componentProps": [16],
|
|
23223
23228
|
"cssClass": [1, "css-class"],
|
|
23224
23229
|
"backdropDismiss": [4, "backdrop-dismiss"],
|
|
23225
23230
|
"showBackdrop": [4, "show-backdrop"],
|
|
23226
23231
|
"animated": [4],
|
|
23227
|
-
"presentingElement": [16
|
|
23228
|
-
"htmlAttributes": [16
|
|
23232
|
+
"presentingElement": [16],
|
|
23233
|
+
"htmlAttributes": [16],
|
|
23229
23234
|
"isOpen": [4, "is-open"],
|
|
23230
23235
|
"trigger": [1],
|
|
23231
23236
|
"keepContentsMounted": [4, "keep-contents-mounted"],
|
|
@@ -24154,7 +24159,7 @@ class Nav {
|
|
|
24154
24159
|
"swipeGesture": [1028, "swipe-gesture"],
|
|
24155
24160
|
"animated": [4],
|
|
24156
24161
|
"animation": [16],
|
|
24157
|
-
"rootParams": [16
|
|
24162
|
+
"rootParams": [16],
|
|
24158
24163
|
"root": [1],
|
|
24159
24164
|
"push": [64],
|
|
24160
24165
|
"insert": [64],
|
|
@@ -24219,9 +24224,9 @@ class NavLink {
|
|
|
24219
24224
|
"$tagName$": "ion-nav-link",
|
|
24220
24225
|
"$members$": {
|
|
24221
24226
|
"component": [1],
|
|
24222
|
-
"componentProps": [16
|
|
24227
|
+
"componentProps": [16],
|
|
24223
24228
|
"routerDirection": [1, "router-direction"],
|
|
24224
|
-
"routerAnimation": [16
|
|
24229
|
+
"routerAnimation": [16]
|
|
24225
24230
|
},
|
|
24226
24231
|
"$listeners$": undefined,
|
|
24227
24232
|
"$lazyBundleId$": "-",
|
|
@@ -25027,8 +25032,8 @@ class Picker {
|
|
|
25027
25032
|
"delegate": [16],
|
|
25028
25033
|
"hasController": [4, "has-controller"],
|
|
25029
25034
|
"keyboardClose": [4, "keyboard-close"],
|
|
25030
|
-
"enterAnimation": [16
|
|
25031
|
-
"leaveAnimation": [16
|
|
25035
|
+
"enterAnimation": [16],
|
|
25036
|
+
"leaveAnimation": [16],
|
|
25032
25037
|
"buttons": [16],
|
|
25033
25038
|
"columns": [16],
|
|
25034
25039
|
"cssClass": [1, "css-class"],
|
|
@@ -25036,7 +25041,7 @@ class Picker {
|
|
|
25036
25041
|
"showBackdrop": [4, "show-backdrop"],
|
|
25037
25042
|
"backdropDismiss": [4, "backdrop-dismiss"],
|
|
25038
25043
|
"animated": [4],
|
|
25039
|
-
"htmlAttributes": [16
|
|
25044
|
+
"htmlAttributes": [16],
|
|
25040
25045
|
"isOpen": [4, "is-open"],
|
|
25041
25046
|
"trigger": [1],
|
|
25042
25047
|
"presented": [32],
|
|
@@ -27527,10 +27532,10 @@ class Popover {
|
|
|
27527
27532
|
"hasController": [4, "has-controller"],
|
|
27528
27533
|
"delegate": [16],
|
|
27529
27534
|
"overlayIndex": [2, "overlay-index"],
|
|
27530
|
-
"enterAnimation": [16
|
|
27531
|
-
"leaveAnimation": [16
|
|
27535
|
+
"enterAnimation": [16],
|
|
27536
|
+
"leaveAnimation": [16],
|
|
27532
27537
|
"component": [1],
|
|
27533
|
-
"componentProps": [16
|
|
27538
|
+
"componentProps": [16],
|
|
27534
27539
|
"keyboardClose": [4, "keyboard-close"],
|
|
27535
27540
|
"cssClass": [1, "css-class"],
|
|
27536
27541
|
"backdropDismiss": [4, "backdrop-dismiss"],
|
|
@@ -27538,7 +27543,7 @@ class Popover {
|
|
|
27538
27543
|
"showBackdrop": [4, "show-backdrop"],
|
|
27539
27544
|
"translucent": [4],
|
|
27540
27545
|
"animated": [4],
|
|
27541
|
-
"htmlAttributes": [16
|
|
27546
|
+
"htmlAttributes": [16],
|
|
27542
27547
|
"triggerAction": [1, "trigger-action"],
|
|
27543
27548
|
"trigger": [1],
|
|
27544
27549
|
"size": [1],
|
|
@@ -28833,7 +28838,7 @@ class Range {
|
|
|
28833
28838
|
"min": [2],
|
|
28834
28839
|
"max": [2],
|
|
28835
28840
|
"pin": [4],
|
|
28836
|
-
"pinFormatter": [16
|
|
28841
|
+
"pinFormatter": [16],
|
|
28837
28842
|
"snaps": [4],
|
|
28838
28843
|
"step": [2],
|
|
28839
28844
|
"ticks": [4],
|
|
@@ -30499,9 +30504,9 @@ class Route {
|
|
|
30499
30504
|
"$members$": {
|
|
30500
30505
|
"url": [1],
|
|
30501
30506
|
"component": [1],
|
|
30502
|
-
"componentProps": [16
|
|
30503
|
-
"beforeLeave": [16
|
|
30504
|
-
"beforeEnter": [16
|
|
30507
|
+
"componentProps": [16],
|
|
30508
|
+
"beforeLeave": [16],
|
|
30509
|
+
"beforeEnter": [16]
|
|
30505
30510
|
},
|
|
30506
30511
|
"$listeners$": undefined,
|
|
30507
30512
|
"$lazyBundleId$": "-",
|
|
@@ -31397,7 +31402,7 @@ class RouterLink {
|
|
|
31397
31402
|
"href": [1],
|
|
31398
31403
|
"rel": [1],
|
|
31399
31404
|
"routerDirection": [1, "router-direction"],
|
|
31400
|
-
"routerAnimation": [16
|
|
31405
|
+
"routerAnimation": [16],
|
|
31401
31406
|
"target": [1]
|
|
31402
31407
|
},
|
|
31403
31408
|
"$listeners$": undefined,
|
|
@@ -31598,7 +31603,7 @@ class RouterOutlet {
|
|
|
31598
31603
|
"delegate": [16],
|
|
31599
31604
|
"animated": [4],
|
|
31600
31605
|
"animation": [16],
|
|
31601
|
-
"swipeHandler": [16
|
|
31606
|
+
"swipeHandler": [16],
|
|
31602
31607
|
"commit": [64],
|
|
31603
31608
|
"setRouteId": [64],
|
|
31604
31609
|
"getRouteId": [64]
|
|
@@ -35296,7 +35301,7 @@ class Textarea {
|
|
|
35296
35301
|
"autoGrow": [516, "auto-grow"],
|
|
35297
35302
|
"value": [1025],
|
|
35298
35303
|
"counter": [4],
|
|
35299
|
-
"counterFormatter": [16
|
|
35304
|
+
"counterFormatter": [16],
|
|
35300
35305
|
"errorText": [1, "error-text"],
|
|
35301
35306
|
"helperText": [1, "helper-text"],
|
|
35302
35307
|
"label": [1],
|
|
@@ -36201,8 +36206,8 @@ class Toast {
|
|
|
36201
36206
|
"delegate": [16],
|
|
36202
36207
|
"hasController": [4, "has-controller"],
|
|
36203
36208
|
"color": [513],
|
|
36204
|
-
"enterAnimation": [16
|
|
36205
|
-
"leaveAnimation": [16
|
|
36209
|
+
"enterAnimation": [16],
|
|
36210
|
+
"leaveAnimation": [16],
|
|
36206
36211
|
"cssClass": [1, "css-class"],
|
|
36207
36212
|
"duration": [2],
|
|
36208
36213
|
"header": [1],
|
|
@@ -36215,7 +36220,7 @@ class Toast {
|
|
|
36215
36220
|
"translucent": [4],
|
|
36216
36221
|
"animated": [4],
|
|
36217
36222
|
"icon": [1],
|
|
36218
|
-
"htmlAttributes": [16
|
|
36223
|
+
"htmlAttributes": [16],
|
|
36219
36224
|
"swipeGesture": [1, "swipe-gesture"],
|
|
36220
36225
|
"isOpen": [4, "is-open"],
|
|
36221
36226
|
"trigger": [1],
|
|
@@ -37631,7 +37636,7 @@ var BUILD = {
|
|
|
37631
37636
|
vdomRender: true,
|
|
37632
37637
|
vdomStyle: true,
|
|
37633
37638
|
vdomText: true,
|
|
37634
|
-
|
|
37639
|
+
propChangeCallback: true,
|
|
37635
37640
|
taskQueue: true,
|
|
37636
37641
|
hotModuleReplacement: false,
|
|
37637
37642
|
isDebug: false,
|
|
@@ -37679,7 +37684,7 @@ var NAMESPACE = (
|
|
|
37679
37684
|
);
|
|
37680
37685
|
|
|
37681
37686
|
/*
|
|
37682
|
-
Stencil Hydrate Runner v4.
|
|
37687
|
+
Stencil Hydrate Runner v4.38.0 | MIT Licensed | https://stenciljs.com
|
|
37683
37688
|
*/
|
|
37684
37689
|
var __defProp = Object.defineProperty;
|
|
37685
37690
|
var __export = (target, all) => {
|
|
@@ -52356,6 +52361,9 @@ var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
|
52356
52361
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
52357
52362
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
52358
52363
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
52364
|
+
var baseClass = BUILD.lazyLoad ? class {
|
|
52365
|
+
} : globalThis.HTMLElement || class {
|
|
52366
|
+
};
|
|
52359
52367
|
|
|
52360
52368
|
// src/compiler/html/canonical-link.ts
|
|
52361
52369
|
var updateCanonicalLink = (doc, href) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/core",
|
|
3
|
-
"version": "8.7.6
|
|
3
|
+
"version": "8.7.6",
|
|
4
4
|
"description": "Base components for Ionic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"loader/"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@stencil/core": "4.
|
|
34
|
+
"@stencil/core": "4.38.0",
|
|
35
35
|
"ionicons": "^8.0.13",
|
|
36
36
|
"tslib": "^2.1.0"
|
|
37
37
|
},
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as i,e as s,f as e,h as n,g as o,d as r}from"./p-4DxY6_gG.js";import{g as a}from"./p-hHmYLOfE.js";import{s as h,l as c}from"./p-C-Cct-6D.js";import{l,t as d,s as u,d as v,b as f,c as m}from"./p-DCuOL88l.js";import{b as p}from"./p-Br3vSlYh.js";import{a as w}from"./p-DAfH9Iif.js";class b{constructor(t,i){this.component=t,this.params=i,this.state=1}async init(t){if(this.state=2,!this.element){const i=this.component;this.element=await w(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)}}_destroy(){c(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const g=(t,i,s)=>!!t&&t.component===i&&h(t.params,s),y=(t,i)=>t?t instanceof b?t:new b(t,i):null,k=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.animated=!0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const t=p(this);this.swipeGesture=s.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await import("./p-C4I6B3uV.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const t of this.views)l(t.element,v),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,i,s,e){return this.insert(-1,t,i,s,e)}insert(t,i,s,e,n){return this.insertPages(t,[{component:i,componentProps:s}],e,n)}insertPages(t,i,s,e){return this.queueTrns({insertStart:t,insertViews:i,opts:s},e)}pop(t,i){return this.removeIndex(-1,1,t,i)}popTo(t,i,s){const e={removeStart:-1,removeCount:-1,opts:i};return"object"==typeof t&&t.component?(e.removeView=t,e.removeStart=1):"number"==typeof t&&(e.removeStart=t+1),this.queueTrns(e,s)}popToRoot(t,i){return this.removeIndex(1,-1,t,i)}removeIndex(t,i=1,s,e){return this.queueTrns({removeStart:t,removeCount:i,opts:s},e)}setRoot(t,i,s,e){return this.setPages([{component:t,componentProps:i}],s,e)}setPages(t,i,s){return null!=i||(i={}),!0!==i.animated&&(i.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},s)}setRouteId(t,i,s,e){const n=this.getActiveSync();if(g(n,t,i))return Promise.resolve({changed:!1,element:n.element});let o;const r=new Promise((t=>o=t));let a;const h={updateURL:!1,viewIsReady:t=>{let i;const s=new Promise((t=>i=t));return o({changed:!0,element:t,markVisible:async()=>{i(),await a}}),s}};if("root"===s)a=this.setRoot(t,i,h);else{const n=this.views.find((s=>g(s,t,i)));n?a=this.popTo(n,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:e})):"forward"===s?a=this.push(t,i,Object.assign(Object.assign({},h),{animationBuilder:e})):"back"===s&&(a=this.setRoot(t,i,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:e})))}return r}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}async getLength(){return Promise.resolve(this.views.length)}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!(!t||!this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const i=this.views,s=i.indexOf(t);return s>0?i[s-1]:void 0}async queueTrns(t,i){var s,e;if(this.isTransitioning&&(null===(s=t.opts)||void 0===s?void 0:s.skipIfBusy))return!1;const n=new Promise(((i,s)=>{t.resolve=i,t.reject=s}));if(t.done=i,t.opts&&!1!==t.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");if(i){const s=await i.canTransition();if(!1===s)return!1;if("string"==typeof s)return i.push(s,t.opts.direction||"back"),!1}}return 0===(null===(e=t.insertViews)||void 0===e?void 0:e.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),n}success(t,i){if(this.destroyed)this.fireError("nav controller was destroyed",i);else if(i.done&&i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),i.resolve(t.hasCompleted),!1!==i.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");i&&i.navChanged("back"===t.direction?"back":"forward")}}failed(t,i){this.destroyed?this.fireError("nav controller was destroyed",i):(this.transInstr.length=0,this.fireError(t,i))}fireError(t,i){i.done&&i.done(!1,!1,t),i.reject&&!this.destroyed?i.reject(t):i.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const i=this.getActiveSync(),s=this.getEnteringView(t,i);if(!i&&!s)throw new Error("no views in the stack to be removed");s&&1===s.state&&await s.init(this.el),this.postViewInit(s,i,t);const e=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&s!==i;let n;e&&t.opts&&i&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null==s?void 0:s.animationBuilder)),i.animationBuilder=t.opts.animationBuilder),n=e?await this.transition(s,i,t):{hasCompleted:!0,requiresTransition:!1},this.success(n,t),this.ionNavDidChange.emit()}catch(i){this.failed(i,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var i,s,e;const n=this.views.length;if(null!==(i=t.opts)&&void 0!==i||(t.opts={}),null!==(s=(e=t.opts).delegate)&&void 0!==s||(e.delegate=this.delegate),void 0!==t.removeView){c(void 0!==t.removeStart,"removeView needs removeStart"),c(void 0!==t.removeCount,"removeView needs removeCount");const i=this.views.indexOf(t.removeView);if(i<0)throw new Error("removeView was not found");t.removeStart+=i}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n);const o=t.insertViews;if(!o)return;c(o.length>0,"length can not be zero");const r=o.map((t=>t instanceof b?t:"component"in t?y(t.component,null===t.componentProps?void 0:t.componentProps):y(t,void 0))).filter((t=>null!==t));if(0===r.length)throw new Error("invalid views to insert");for(const i of r){i.delegate=t.opts.delegate;const s=i.nav;if(s&&s!==this)throw new Error("inserted view was already inserted");if(3===i.state)throw new Error("inserted view was already destroyed")}t.insertViews=r}getEnteringView(t,i){const s=t.insertViews;if(void 0!==s)return s[s.length-1];const e=t.removeStart;if(void 0!==e){const s=this.views,n=e+t.removeCount;for(let t=s.length-1;t>=0;t--){const o=s[t];if((t<e||t>=n)&&o!==i)return o}}}postViewInit(t,i,s){var n,o,r;c(i||t,"Both leavingView and enteringView are null"),c(s.resolve,"resolve must be valid"),c(s.reject,"reject must be valid");const a=s.opts,{insertViews:h,removeStart:d,removeCount:u}=s;let p;if(void 0!==d&&void 0!==u){c(d>=0,"removeStart can not be negative"),c(u>=0,"removeCount can not be negative"),p=[];for(let s=d;s<d+u;s++){const e=this.views[s];void 0!==e&&e!==t&&e!==i&&p.push(e)}null!==(n=a.direction)&&void 0!==n||(a.direction="back")}const w=this.views.length+(null!==(o=null==h?void 0:h.length)&&void 0!==o?o:0)-(null!=u?u:0);if(c(w>=0,"final balance can not be negative"),0===w)throw e("[ion-nav] - You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){let t=s.insertStart;for(const i of h)this.insertViewAt(i,t),t++;s.enteringRequiresTransition&&(null!==(r=a.direction)&&void 0!==r||(a.direction="forward"))}if(p&&p.length>0){for(const t of p)l(t.element,f),l(t.element,m),l(t.element,v);for(const t of p)this.destroyView(t)}}async transition(t,i,e){const n=e.opts,o=n.progressAnimation?t=>{void 0===t||this.gestureOrAnimationInProgress?this.sbAni=t:(this.gestureOrAnimationInProgress=!0,t.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0,r=p(this),a=t.element,h=i&&i.element,c=Object.assign(Object.assign({mode:r,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:o,animated:this.animated&&s.getBoolean("animated",!0),enteringEl:a,leavingEl:h},n),{animationBuilder:n.animationBuilder||this.animation||s.get("navAnimation")}),{hasCompleted:l}=await d(c);return this.transitionFinish(l,t,i,n)}transitionFinish(t,i,s,e){const n=t?i:s;return n&&this.unmountInactiveViews(n),{hasCompleted:t,requiresTransition:!0,enteringView:i,leavingView:s,direction:e.direction}}insertViewAt(t,i){const s=this.views,e=s.indexOf(t);e>-1?(c(t.nav===this,"view is not part of the nav"),s.splice(e,1),s.splice(i,0,t)):(c(!t.nav,"nav is used"),t.nav=this,s.splice(i,0,t))}removeView(t){c(2===t.state||3===t.state,"view state should be loaded or destroyed");const i=this.views,s=i.indexOf(t);c(s>-1,"view must be part of the stack"),s>=0&&i.splice(s,1)}destroyView(t){t._destroy(),this.removeView(t)}unmountInactiveViews(t){if(this.destroyed)return;const i=this.views,s=i.indexOf(t);for(let t=i.length-1;t>=0;t--){const e=i[t],n=e.element;n&&(t>s?(l(n,v),this.destroyView(e)):t<s&&u(n,!0))}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=!0,this.pop({direction:"back",progressAnimation:!0})}onMove(t){this.sbAni&&this.sbAni.progressStep(t)}onEnd(t,i,s){if(this.sbAni){this.sbAni.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0});let e=t?-.001:.001;t?e+=a([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),e+=a([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.sbAni.progressEnd(t?1:0,e,s)}else this.gestureOrAnimationInProgress=!1}render(){return n("slot",{key:"8067c9835d255daec61f33dba200fd3a6ff839a0"})}get el(){return o(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};k.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const C=class{constructor(i){t(this,i),this.routerDirection="forward",this.onClick=()=>((t,i,s,e,n)=>{const o=this.el.closest("ion-nav");if(o)if("forward"===i){if(void 0!==s)return o.push(s,e,{skipIfBusy:!0,animationBuilder:n})}else if("root"===i){if(void 0!==s)return o.setRoot(s,e,{skipIfBusy:!0,animationBuilder:n})}else if("back"===i)return o.pop({skipIfBusy:!0,animationBuilder:n});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation)}render(){return n(r,{key:"6dbb1ad4f351e9215375aac11ab9b53762e07a08",onClick:this.onClick})}get el(){return o(this)}};export{k as ion_nav,C as ion_nav_link}
|