@ionic/core 8.3.1-dev.11726165401.13e99534 → 8.3.1-dev.11726167750.15400355
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/animation.js +1 -1
- package/components/button.js +2 -1
- package/components/capacitor.js +1 -1
- package/components/data.js +1 -1
- package/components/hardware-back-button.js +115 -0
- package/components/index2.js +2 -1
- package/components/index4.js +4 -1
- package/components/index5.js +3 -27
- package/components/index6.js +20 -114
- package/components/index7.js +27 -163
- package/components/index8.js +128 -0
- package/components/index9.js +167 -0
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +2 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-app.js +64 -3
- package/components/ion-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-datetime-button.js +2 -1
- package/components/ion-datetime.js +3 -2
- package/components/ion-fab-button.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +2 -1
- package/components/ion-modal.js +4 -2
- package/components/ion-nav.js +2 -1
- package/components/ion-picker-legacy.js +2 -1
- package/components/ion-range.js +3 -2
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-toast.js +3 -1
- package/components/ion-toggle.js +1 -1
- package/components/ionic-global.js +2 -220
- package/components/item.js +1 -1
- package/components/keyboard-controller.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -1
- package/components/picker-column.js +2 -1
- package/components/popover.js +2 -1
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-0e966ffd.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-efeec904.js → app-globals-21afee77.js} +1 -1
- package/dist/cjs/{button-active-2b9e348c.js → button-active-3f2f60b4.js} +2 -2
- package/dist/cjs/{capacitor-8b094750.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-dbc55c01.js → data-21dc0f81.js} +3 -3
- package/dist/cjs/{haptic-90af2b30.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-9e8a2c4f.js +122 -0
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-2329dd7d.js → index-5b6a7459.js} +2 -2
- package/dist/cjs/{index-b9e25ecd.js → index-73f75efb.js} +13 -19
- package/dist/cjs/{index-205f4d6c.js → index-9509ecad.js} +6 -7
- package/dist/cjs/{index-b0d55bd0.js → index-9cd00dc3.js} +9 -6
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-2a7fa0c6.js → index-f05acd21.js} +8 -7
- package/dist/cjs/index.cjs.js +11 -8
- package/dist/cjs/{input-shims-850e2ebb.js → input-shims-9e59ef62.js} +16 -16
- package/dist/cjs/{input.utils-bff12d3f.js → input.utils-611cde0b.js} +4 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -7
- package/dist/cjs/ion-alert.cjs.entry.js +10 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +82 -20
- 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 +6 -5
- 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 +8 -7
- package/dist/cjs/ion-datetime_3.cjs.entry.js +96 -93
- 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 +4 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +8 -7
- package/dist/cjs/ion-input.cjs.entry.js +6 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +7 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +9 -6
- package/dist/cjs/ion-modal.cjs.entry.js +50 -47
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +11 -8
- 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 +9 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +8 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +7 -5
- 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 +7 -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 +6 -5
- 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 +6 -4
- package/dist/cjs/ion-toast.cjs.entry.js +32 -29
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -4
- package/dist/cjs/ionic-global-d9a8bb5b.js +237 -0
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-d3b17084.js → ios.transition-cf40433b.js} +6 -4
- package/dist/cjs/{keyboard-6a572bd2.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-29ccffc1.js → keyboard-af1bb365.js} +3 -4
- package/dist/cjs/{keyboard-controller-fcba95dc.js → keyboard-controller-c05e747a.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-fa016453.js → md.transition-ededf99f.js} +6 -4
- package/dist/cjs/{notch-controller-f23af294.js → notch-controller-d69150f5.js} +3 -3
- package/dist/cjs/{overlays-6cdb8aa4.js → overlays-0123d7d4.js} +12 -9
- package/dist/cjs/{status-tap-147ee377.js → status-tap-37681226.js} +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/app/app.js +65 -3
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/global/ionic-global.js +1 -71
- package/dist/docs.json +108 -108
- package/dist/esm/{animation-bc91b6f2.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-a405ed0d.js → app-globals-5dbb61a5.js} +1 -1
- package/dist/esm/{button-active-405f8dfb.js → button-active-f6503382.js} +2 -2
- package/dist/esm/{capacitor-7a4165d9.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-a1b4d211.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{haptic-c00dcaf7.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-06ef3c3e.js +116 -0
- package/dist/esm/{index-4e02bb5d.js → index-28849c61.js} +13 -19
- package/dist/esm/{index-3497dcba.js → index-3ad7f18b.js} +5 -4
- package/dist/esm/{index-3811e0a3.js → index-5cc724f3.js} +1 -1
- package/dist/esm/{index-7d7fdaad.js → index-79b30591.js} +1 -2
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/{index-52a167d1.js → index-fe1782b1.js} +5 -2
- package/dist/esm/index.js +11 -8
- package/dist/esm/{input-shims-bc1cc120.js → input-shims-0314bbe5.js} +5 -5
- package/dist/esm/{input.utils-7a6034e6.js → input.utils-09c71bc7.js} +2 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -2
- package/dist/esm/ion-action-sheet.entry.js +10 -7
- package/dist/esm/ion-alert.entry.js +10 -7
- package/dist/esm/ion-app_8.entry.js +71 -9
- 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 +3 -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 +4 -3
- package/dist/esm/ion-datetime_3.entry.js +10 -7
- 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 +4 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -2
- package/dist/esm/ion-input.entry.js +6 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -3
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +7 -4
- package/dist/esm/ion-menu_3.entry.js +8 -5
- package/dist/esm/ion-modal.entry.js +12 -9
- package/dist/esm/ion-nav_2.entry.js +4 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +5 -4
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +8 -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 +4 -3
- package/dist/esm/ion-refresher_2.entry.js +8 -6
- package/dist/esm/ion-reorder_2.entry.js +7 -5
- 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 +7 -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 +6 -5
- 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 +6 -4
- package/dist/esm/ion-toast.entry.js +7 -4
- package/dist/esm/ion-toggle.entry.js +5 -4
- package/dist/esm/ionic-global-c81d82ab.js +231 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-d4256afc.js → ios.transition-4ee1a3af.js} +6 -4
- package/dist/esm/{keyboard-ed2134e3.js → keyboard-52278bd7.js} +3 -4
- package/dist/esm/{keyboard-d793eb55.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-63a70cc3.js → keyboard-controller-ec5c2bfa.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-2e0541c4.js → md.transition-5106a0d2.js} +6 -4
- package/dist/esm/{notch-controller-efd4d592.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm/{overlays-8ea559a8.js → overlays-9c75ec54.js} +4 -1
- package/dist/esm/{status-tap-b5cdef45.js → status-tap-f472b09f.js} +3 -3
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
- package/dist/esm-es5/{button-active-405f8dfb.js → button-active-f6503382.js} +1 -1
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/{haptic-c00dcaf7.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-06ef3c3e.js +4 -0
- package/dist/esm-es5/index-28849c61.js +5 -0
- package/dist/esm-es5/index-3ad7f18b.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index-fe1782b1.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
- 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-c81d82ab.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4ee1a3af.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/{keyboard-d793eb55.js → keyboard-73175e24.js} +1 -1
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-9c75ec54.js +4 -0
- package/dist/esm-es5/status-tap-f472b09f.js +4 -0
- package/dist/html.html-data.json +102 -102
- 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-ae2ffc81.entry.js → p-003eecb9.entry.js} +1 -1
- package/dist/ionic/{p-8a2509af.system.entry.js → p-00b01a55.system.entry.js} +1 -1
- package/dist/ionic/{p-0e13c364.system.entry.js → p-01503bbd.system.entry.js} +1 -1
- package/dist/ionic/p-0303d0f8.js +4 -0
- package/dist/ionic/p-0373d924.system.entry.js +4 -0
- package/dist/ionic/p-0574e87e.js +4 -0
- package/dist/ionic/p-05beda73.entry.js +4 -0
- package/dist/ionic/p-06e58c4e.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-0c06e09b.system.js +4 -0
- package/dist/ionic/p-0fa0c92b.entry.js +4 -0
- package/dist/ionic/p-100b83fd.system.entry.js +4 -0
- package/dist/ionic/{p-872bf4d3.system.entry.js → p-16207409.system.entry.js} +1 -1
- package/dist/ionic/p-17474161.system.js +4 -0
- package/dist/ionic/p-176b372f.entry.js +4 -0
- package/dist/ionic/{p-a3d8a4d8.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/{p-4018f881.system.js → p-1dfc11b3.system.js} +1 -1
- package/dist/ionic/{p-705a8c00.js → p-1e4371bd.js} +1 -1
- package/dist/ionic/p-21cfd4de.entry.js +4 -0
- package/dist/ionic/p-21e5e7e4.js +4 -0
- package/dist/ionic/{p-ed96c9a0.entry.js → p-2200e26b.entry.js} +1 -1
- package/dist/ionic/p-22c020db.system.entry.js +4 -0
- package/dist/ionic/{p-68728b43.entry.js → p-233e6c93.entry.js} +1 -1
- package/dist/ionic/p-25180df3.system.js +5 -0
- package/dist/ionic/{p-27292ed7.system.entry.js → p-25928b83.system.entry.js} +1 -1
- package/dist/ionic/{p-e7aee7cd.js → p-2690b1de.js} +1 -1
- package/dist/ionic/{p-67feade9.js → p-27281edd.js} +1 -1
- package/dist/ionic/{p-48d7aa61.system.entry.js → p-293ed6ac.system.entry.js} +1 -1
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-2b7c93b4.entry.js +4 -0
- package/dist/ionic/p-2c4bdd9d.entry.js +4 -0
- package/dist/ionic/{p-f8a3a05d.system.entry.js → p-2ca6eac2.system.entry.js} +1 -1
- package/dist/ionic/p-2ea1ca4f.system.entry.js +4 -0
- package/dist/ionic/{p-7a3cc822.system.entry.js → p-313ccc01.system.entry.js} +1 -1
- package/dist/ionic/{p-b5defde7.system.js → p-322c5fb4.system.js} +1 -1
- package/dist/ionic/{p-43a264be.js → p-34b11c24.js} +1 -1
- package/dist/ionic/{p-49530528.system.js → p-372ae7f4.system.js} +1 -1
- package/dist/ionic/{p-141fffe4.system.js → p-3c8e5c23.system.js} +1 -1
- package/dist/ionic/p-3c968c7f.system.entry.js +4 -0
- package/dist/ionic/{p-1ef8603e.entry.js → p-49bc6544.entry.js} +1 -1
- package/dist/ionic/{p-aed2b108.system.entry.js → p-4a0a4204.system.entry.js} +1 -1
- package/dist/ionic/{p-8cf8bda2.system.entry.js → p-4a82bd1c.system.entry.js} +1 -1
- package/dist/ionic/p-4b0fedb7.system.entry.js +4 -0
- package/dist/ionic/{p-cc5c828d.entry.js → p-4c8fceb0.entry.js} +1 -1
- package/dist/ionic/p-521eca2e.entry.js +4 -0
- package/dist/ionic/{p-7b24df04.entry.js → p-53854390.entry.js} +1 -1
- package/dist/ionic/p-5417b9bb.entry.js +4 -0
- package/dist/ionic/{p-e217d369.system.js → p-5da94421.system.js} +2 -2
- package/dist/ionic/p-5e66bcf2.entry.js +4 -0
- package/dist/ionic/{p-fa4b0c41.entry.js → p-5e842258.entry.js} +1 -1
- package/dist/ionic/{p-9d134a58.system.entry.js → p-6562e0a9.system.entry.js} +1 -1
- package/dist/ionic/{p-444c76ee.system.entry.js → p-6817cf42.system.entry.js} +1 -1
- package/dist/ionic/{p-ba1396d4.entry.js → p-68c4df55.entry.js} +1 -1
- package/dist/ionic/{p-bddc8f8e.js → p-69066a53.js} +1 -1
- package/dist/ionic/p-6b8893dd.entry.js +4 -0
- package/dist/ionic/p-6d7931cc.system.entry.js +4 -0
- package/dist/ionic/{p-97195002.entry.js → p-6e85e450.entry.js} +1 -1
- package/dist/ionic/{p-702d3b7d.entry.js → p-7243df6f.entry.js} +1 -1
- package/dist/ionic/p-7251fed5.entry.js +4 -0
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/{p-f92ff9d2.system.entry.js → p-72ffd137.system.entry.js} +1 -1
- package/dist/ionic/p-755b27f0.system.entry.js +4 -0
- package/dist/ionic/p-75c0dc65.system.entry.js +4 -0
- package/dist/ionic/{p-dd2e30d9.system.entry.js → p-772dacba.system.entry.js} +1 -1
- package/dist/ionic/{p-5222cdd0.entry.js → p-773d118d.entry.js} +1 -1
- package/dist/ionic/p-7740e32c.system.js +4 -0
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7c50965e.entry.js +4 -0
- package/dist/ionic/{p-b6fbbe81.system.entry.js → p-836d39d4.system.entry.js} +1 -1
- package/dist/ionic/{p-45fdfccc.entry.js → p-854f9b64.entry.js} +1 -1
- package/dist/ionic/p-8836d0eb.system.entry.js +4 -0
- package/dist/ionic/p-88e63c7d.js +4 -0
- package/dist/ionic/{p-eb099866.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-ee00b4c1.entry.js → p-89a0a446.entry.js} +1 -1
- package/dist/ionic/{p-2b41e073.js → p-89b61afc.js} +1 -1
- package/dist/ionic/p-8b6232a6.system.entry.js +4 -0
- package/dist/ionic/{p-b0df97b9.entry.js → p-8d44cf1f.entry.js} +1 -1
- package/dist/ionic/p-8ed31163.system.entry.js +4 -0
- package/dist/ionic/{p-ddf9c7fa.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/{p-6f58c884.entry.js → p-9172535c.entry.js} +1 -1
- package/dist/ionic/{p-325414c0.entry.js → p-92d7a3d1.entry.js} +1 -1
- package/dist/ionic/{p-ea72f71b.system.entry.js → p-93f37ceb.system.entry.js} +1 -1
- package/dist/ionic/p-95823c62.system.entry.js +4 -0
- package/dist/ionic/{p-95b84628.system.entry.js → p-960803fc.system.entry.js} +1 -1
- package/dist/ionic/p-96cc4814.js +4 -0
- package/dist/ionic/{p-cdc702c5.system.entry.js → p-973f0b15.system.entry.js} +1 -1
- package/dist/ionic/p-98871496.system.js +4 -0
- package/dist/ionic/{p-03852992.system.entry.js → p-9b6c6302.system.entry.js} +1 -1
- package/dist/ionic/p-9c23044d.entry.js +4 -0
- package/dist/ionic/p-9cc3bcc5.system.entry.js +4 -0
- package/dist/ionic/{p-fe533e9b.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/{p-e00617fb.entry.js → p-9ece8dcf.entry.js} +1 -1
- package/dist/ionic/p-9f3008d4.system.js +4 -0
- package/dist/ionic/p-9fef1364.entry.js +4 -0
- package/dist/ionic/p-a0c88dc2.system.entry.js +4 -0
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/p-a3711608.system.entry.js +4 -0
- package/dist/ionic/p-a41699db.entry.js +4 -0
- package/dist/ionic/p-a440397c.js +4 -0
- package/dist/ionic/p-a4565eb5.system.js +4 -0
- package/dist/ionic/p-a4d51b8d.system.js +4 -0
- package/dist/ionic/p-a69b9fc5.system.js +4 -0
- package/dist/ionic/p-a72fb8a1.system.entry.js +4 -0
- package/dist/ionic/{p-d74676dc.system.entry.js → p-a879ecb7.system.entry.js} +1 -1
- package/dist/ionic/p-a90e2708.system.entry.js +4 -0
- package/dist/ionic/{p-995f77b5.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/{p-9cbf03b9.entry.js → p-ab8a2ff1.entry.js} +1 -1
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/{p-cc1e9101.entry.js → p-af999a31.entry.js} +1 -1
- package/dist/ionic/p-b0568945.system.entry.js +4 -0
- package/dist/ionic/{p-2693d3fb.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b4c950f8.entry.js +4 -0
- package/dist/ionic/p-b54fc1ae.entry.js +4 -0
- package/dist/ionic/p-b7657e8d.entry.js +4 -0
- package/dist/ionic/p-baffaf8d.system.entry.js +4 -0
- package/dist/ionic/{p-e0b155a5.system.entry.js → p-bd25d639.system.entry.js} +1 -1
- package/dist/ionic/p-bfa2e81c.entry.js +4 -0
- package/dist/ionic/p-c34659b9.entry.js +4 -0
- package/dist/ionic/p-c45bd24c.entry.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/{p-646e5cb0.js → p-c7e16491.js} +1 -1
- package/dist/ionic/{p-a861930f.system.entry.js → p-cdb11938.system.entry.js} +1 -1
- package/dist/ionic/{p-ed1491e2.system.entry.js → p-ce705aac.system.entry.js} +1 -1
- package/dist/ionic/p-cff5585e.system.entry.js +4 -0
- package/dist/ionic/{p-e046c13d.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d6841eac.js +4 -0
- package/dist/ionic/{p-92585b67.js → p-d743e981.js} +1 -1
- package/dist/ionic/p-d77e12ca.entry.js +4 -0
- package/dist/ionic/p-d836d43e.js +5 -0
- package/dist/ionic/p-da263d8e.entry.js +4 -0
- package/dist/ionic/p-df83e308.system.entry.js +4 -0
- package/dist/ionic/{p-ae31a576.system.js → p-dfb78785.system.js} +1 -1
- package/dist/ionic/p-e3a5da9d.entry.js +4 -0
- package/dist/ionic/{p-2f95e4a4.entry.js → p-e3e1e3de.entry.js} +1 -1
- package/dist/ionic/p-e3f13b08.js +4 -0
- package/dist/ionic/p-ecb57d24.system.entry.js +4 -0
- package/dist/ionic/p-ecceeb90.js +4 -0
- package/dist/ionic/p-efaffe74.entry.js +4 -0
- package/dist/ionic/p-f1acf541.system.entry.js +4 -0
- package/dist/ionic/p-f50ae0d5.system.entry.js +4 -0
- package/dist/ionic/{p-999693a8.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f88ebc36.entry.js +4 -0
- package/dist/ionic/{p-de1e5d8a.entry.js → p-f8c8b9ba.entry.js} +1 -1
- package/dist/ionic/p-f9a53abb.system.js +4 -0
- package/dist/ionic/{p-2a3860b9.system.entry.js → p-fcd71204.system.entry.js} +1 -1
- package/dist/ionic/{p-cc35239f.entry.js → p-fd0cb4ef.entry.js} +1 -1
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/global/ionic-global.d.ts +0 -2
- package/hydrate/index.d.ts +4 -4
- package/hydrate/index.js +64 -75
- package/hydrate/index.mjs +64 -75
- package/package.json +3 -3
- package/dist/cjs/ionic-global-6d67c8d1.js +0 -464
- package/dist/esm/ionic-global-c44ae874.js +0 -449
- package/dist/esm-es5/animation-bc91b6f2.js +0 -4
- package/dist/esm-es5/app-globals-a405ed0d.js +0 -4
- package/dist/esm-es5/capacitor-7a4165d9.js +0 -4
- package/dist/esm-es5/data-a1b4d211.js +0 -4
- package/dist/esm-es5/index-3497dcba.js +0 -4
- package/dist/esm-es5/index-3811e0a3.js +0 -4
- package/dist/esm-es5/index-4e02bb5d.js +0 -5
- package/dist/esm-es5/index-52a167d1.js +0 -4
- package/dist/esm-es5/index-7d7fdaad.js +0 -4
- package/dist/esm-es5/input-shims-bc1cc120.js +0 -4
- package/dist/esm-es5/input.utils-7a6034e6.js +0 -4
- package/dist/esm-es5/ionic-global-c44ae874.js +0 -4
- package/dist/esm-es5/ios.transition-d4256afc.js +0 -4
- package/dist/esm-es5/keyboard-controller-63a70cc3.js +0 -4
- package/dist/esm-es5/keyboard-ed2134e3.js +0 -4
- package/dist/esm-es5/md.transition-2e0541c4.js +0 -4
- package/dist/esm-es5/notch-controller-efd4d592.js +0 -4
- package/dist/esm-es5/overlays-8ea559a8.js +0 -4
- package/dist/esm-es5/status-tap-b5cdef45.js +0 -4
- package/dist/ionic/p-002a43eb.system.entry.js +0 -4
- package/dist/ionic/p-0170e66d.system.entry.js +0 -4
- package/dist/ionic/p-06a15c1a.js +0 -4
- package/dist/ionic/p-0ae0b773.system.entry.js +0 -4
- package/dist/ionic/p-101b8d3c.system.entry.js +0 -4
- package/dist/ionic/p-1bc17376.js +0 -4
- package/dist/ionic/p-244f21d9.system.entry.js +0 -4
- package/dist/ionic/p-246855ee.js +0 -4
- package/dist/ionic/p-2901b77d.entry.js +0 -4
- package/dist/ionic/p-2e95ce86.entry.js +0 -4
- package/dist/ionic/p-3231947e.system.entry.js +0 -4
- package/dist/ionic/p-3414d514.entry.js +0 -4
- package/dist/ionic/p-3936977d.system.entry.js +0 -4
- package/dist/ionic/p-421103f4.entry.js +0 -4
- package/dist/ionic/p-48691dfe.system.entry.js +0 -4
- package/dist/ionic/p-487a3ae7.system.js +0 -5
- package/dist/ionic/p-48c96b9c.js +0 -4
- package/dist/ionic/p-4b528ed3.js +0 -5
- package/dist/ionic/p-4e2452de.entry.js +0 -4
- package/dist/ionic/p-5bacc2dc.entry.js +0 -4
- package/dist/ionic/p-5bc2035a.entry.js +0 -4
- package/dist/ionic/p-5d706e16.system.js +0 -4
- package/dist/ionic/p-61740302.entry.js +0 -4
- package/dist/ionic/p-64bfc41b.entry.js +0 -4
- package/dist/ionic/p-65492fd5.entry.js +0 -4
- package/dist/ionic/p-66cb9ae9.entry.js +0 -4
- package/dist/ionic/p-6a304027.js +0 -4
- package/dist/ionic/p-6aeef436.system.entry.js +0 -4
- package/dist/ionic/p-701188f8.system.entry.js +0 -4
- package/dist/ionic/p-703c78f0.js +0 -4
- package/dist/ionic/p-740566fc.system.js +0 -4
- package/dist/ionic/p-757b4aa4.system.entry.js +0 -4
- package/dist/ionic/p-769484a8.system.js +0 -4
- package/dist/ionic/p-7a5a9a11.entry.js +0 -4
- package/dist/ionic/p-7c64f804.entry.js +0 -4
- package/dist/ionic/p-7cca9c01.system.js +0 -4
- package/dist/ionic/p-8235cab9.system.entry.js +0 -4
- package/dist/ionic/p-8ac6a104.system.entry.js +0 -4
- package/dist/ionic/p-8af57279.js +0 -4
- package/dist/ionic/p-8b067044.system.entry.js +0 -4
- package/dist/ionic/p-9282e480.system.entry.js +0 -4
- package/dist/ionic/p-96eaa7e2.entry.js +0 -4
- package/dist/ionic/p-9890a4c4.entry.js +0 -4
- package/dist/ionic/p-996a2209.system.js +0 -4
- package/dist/ionic/p-a03a1264.system.js +0 -4
- package/dist/ionic/p-a5537ce0.system.entry.js +0 -4
- package/dist/ionic/p-a6af8913.js +0 -4
- package/dist/ionic/p-a9fb3848.entry.js +0 -4
- package/dist/ionic/p-aa5f8086.system.entry.js +0 -4
- package/dist/ionic/p-ab6f49d3.system.entry.js +0 -4
- package/dist/ionic/p-b46ccde5.js +0 -4
- package/dist/ionic/p-b6438d56.js +0 -4
- package/dist/ionic/p-bce90bcc.entry.js +0 -4
- package/dist/ionic/p-bd5f5dd5.system.entry.js +0 -4
- package/dist/ionic/p-be720bce.entry.js +0 -4
- package/dist/ionic/p-be7ba661.system.entry.js +0 -4
- package/dist/ionic/p-c8414717.entry.js +0 -4
- package/dist/ionic/p-c95c6694.entry.js +0 -4
- package/dist/ionic/p-cc8dc05a.js +0 -4
- package/dist/ionic/p-cd78816f.system.js +0 -4
- package/dist/ionic/p-cdd44009.system.entry.js +0 -4
- package/dist/ionic/p-cf4097be.system.js +0 -4
- package/dist/ionic/p-d08ba7ce.entry.js +0 -4
- package/dist/ionic/p-d599973b.entry.js +0 -4
- package/dist/ionic/p-d95bfbd2.entry.js +0 -4
- package/dist/ionic/p-da014e9d.entry.js +0 -4
- package/dist/ionic/p-df41ef98.entry.js +0 -4
- package/dist/ionic/p-e0cda956.js +0 -4
- package/dist/ionic/p-e5c0076e.system.entry.js +0 -4
- package/dist/ionic/p-eb8b0915.system.js +0 -4
- package/dist/ionic/p-ec7c2905.system.entry.js +0 -4
- package/dist/ionic/p-efdc8a89.entry.js +0 -4
- package/dist/ionic/p-f9f735c2.system.entry.js +0 -4
- package/dist/ionic/p-fb885b36.system.entry.js +0 -4
- package/dist/ionic/p-ff896585.system.js +0 -4
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
-
const haptic = require('./haptic-
|
|
10
|
+
const haptic = require('./haptic-f6b37aa3.js');
|
|
11
11
|
const dir = require('./dir-94c21456.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
13
|
const index$1 = require('./index-073c7cdc.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
require('./capacitor-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
15
|
+
require('./capacitor-c04564bf.js');
|
|
16
|
+
require('./index-c8d52405.js');
|
|
16
17
|
|
|
17
18
|
const toggleIosCss = ":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #0054e9);--border-radius:15.5px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);--handle-height:calc(31px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(31px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}.native-wrapper .toggle-icon{width:51px;height:31px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark, #222428)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}";
|
|
18
19
|
const IonToggleIosStyle0 = toggleIosCss;
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
const index = require('./index-73f75efb.js');
|
|
7
|
+
|
|
8
|
+
// TODO(FW-2832): types
|
|
9
|
+
class Config {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.m = new Map();
|
|
12
|
+
}
|
|
13
|
+
reset(configObj) {
|
|
14
|
+
this.m = new Map(Object.entries(configObj));
|
|
15
|
+
}
|
|
16
|
+
get(key, fallback) {
|
|
17
|
+
const value = this.m.get(key);
|
|
18
|
+
return value !== undefined ? value : fallback;
|
|
19
|
+
}
|
|
20
|
+
getBoolean(key, fallback = false) {
|
|
21
|
+
const val = this.m.get(key);
|
|
22
|
+
if (val === undefined) {
|
|
23
|
+
return fallback;
|
|
24
|
+
}
|
|
25
|
+
if (typeof val === 'string') {
|
|
26
|
+
return val === 'true';
|
|
27
|
+
}
|
|
28
|
+
return !!val;
|
|
29
|
+
}
|
|
30
|
+
getNumber(key, fallback) {
|
|
31
|
+
const val = parseFloat(this.m.get(key));
|
|
32
|
+
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
33
|
+
}
|
|
34
|
+
set(key, value) {
|
|
35
|
+
this.m.set(key, value);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const config = /*@__PURE__*/ new Config();
|
|
39
|
+
const configFromSession = (win) => {
|
|
40
|
+
try {
|
|
41
|
+
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
42
|
+
return configStr !== null ? JSON.parse(configStr) : {};
|
|
43
|
+
}
|
|
44
|
+
catch (e) {
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const saveConfig = (win, c) => {
|
|
49
|
+
try {
|
|
50
|
+
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
51
|
+
}
|
|
52
|
+
catch (e) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const configFromURL = (win) => {
|
|
57
|
+
const configObj = {};
|
|
58
|
+
win.location.search
|
|
59
|
+
.slice(1)
|
|
60
|
+
.split('&')
|
|
61
|
+
.map((entry) => entry.split('='))
|
|
62
|
+
.map(([key, value]) => {
|
|
63
|
+
try {
|
|
64
|
+
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
65
|
+
}
|
|
66
|
+
catch (e) {
|
|
67
|
+
return ['', ''];
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
71
|
+
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
72
|
+
.forEach(([key, value]) => {
|
|
73
|
+
configObj[key] = value;
|
|
74
|
+
});
|
|
75
|
+
return configObj;
|
|
76
|
+
};
|
|
77
|
+
const startsWith = (input, search) => {
|
|
78
|
+
return input.substr(0, search.length) === search;
|
|
79
|
+
};
|
|
80
|
+
const IONIC_PREFIX = 'ionic:';
|
|
81
|
+
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
82
|
+
|
|
83
|
+
const getPlatforms = (win) => setupPlatforms(win);
|
|
84
|
+
const isPlatform = (winOrPlatform, platform) => {
|
|
85
|
+
if (typeof winOrPlatform === 'string') {
|
|
86
|
+
platform = winOrPlatform;
|
|
87
|
+
winOrPlatform = undefined;
|
|
88
|
+
}
|
|
89
|
+
return getPlatforms(winOrPlatform).includes(platform);
|
|
90
|
+
};
|
|
91
|
+
const setupPlatforms = (win = window) => {
|
|
92
|
+
if (typeof win === 'undefined') {
|
|
93
|
+
return [];
|
|
94
|
+
}
|
|
95
|
+
win.Ionic = win.Ionic || {};
|
|
96
|
+
let platforms = win.Ionic.platforms;
|
|
97
|
+
if (platforms == null) {
|
|
98
|
+
platforms = win.Ionic.platforms = detectPlatforms(win);
|
|
99
|
+
platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
|
|
100
|
+
}
|
|
101
|
+
return platforms;
|
|
102
|
+
};
|
|
103
|
+
const detectPlatforms = (win) => {
|
|
104
|
+
const customPlatformMethods = config.get('platform');
|
|
105
|
+
return Object.keys(PLATFORMS_MAP).filter((p) => {
|
|
106
|
+
const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
|
|
107
|
+
return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
|
|
111
|
+
const isIpad = (win) => {
|
|
112
|
+
// iOS 12 and below
|
|
113
|
+
if (testUserAgent(win, /iPad/i)) {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
// iOS 13+
|
|
117
|
+
if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
return false;
|
|
121
|
+
};
|
|
122
|
+
const isIphone = (win) => testUserAgent(win, /iPhone/i);
|
|
123
|
+
const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
|
|
124
|
+
const isAndroid = (win) => testUserAgent(win, /android|sink/i);
|
|
125
|
+
const isAndroidTablet = (win) => {
|
|
126
|
+
return isAndroid(win) && !testUserAgent(win, /mobile/i);
|
|
127
|
+
};
|
|
128
|
+
const isPhablet = (win) => {
|
|
129
|
+
const width = win.innerWidth;
|
|
130
|
+
const height = win.innerHeight;
|
|
131
|
+
const smallest = Math.min(width, height);
|
|
132
|
+
const largest = Math.max(width, height);
|
|
133
|
+
return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
|
|
134
|
+
};
|
|
135
|
+
const isTablet = (win) => {
|
|
136
|
+
const width = win.innerWidth;
|
|
137
|
+
const height = win.innerHeight;
|
|
138
|
+
const smallest = Math.min(width, height);
|
|
139
|
+
const largest = Math.max(width, height);
|
|
140
|
+
return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
|
|
141
|
+
};
|
|
142
|
+
const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
|
|
143
|
+
const isDesktop = (win) => !isMobile(win);
|
|
144
|
+
const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
|
|
145
|
+
const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
|
|
146
|
+
const isCapacitorNative = (win) => {
|
|
147
|
+
const capacitor = win['Capacitor'];
|
|
148
|
+
return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
|
|
149
|
+
};
|
|
150
|
+
const isElectron = (win) => testUserAgent(win, /electron/i);
|
|
151
|
+
const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
|
|
152
|
+
const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
|
|
153
|
+
const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
|
|
154
|
+
const PLATFORMS_MAP = {
|
|
155
|
+
ipad: isIpad,
|
|
156
|
+
iphone: isIphone,
|
|
157
|
+
ios: isIOS,
|
|
158
|
+
android: isAndroid,
|
|
159
|
+
phablet: isPhablet,
|
|
160
|
+
tablet: isTablet,
|
|
161
|
+
cordova: isCordova,
|
|
162
|
+
capacitor: isCapacitorNative,
|
|
163
|
+
electron: isElectron,
|
|
164
|
+
pwa: isPWA,
|
|
165
|
+
mobile: isMobile,
|
|
166
|
+
mobileweb: isMobileWeb,
|
|
167
|
+
desktop: isDesktop,
|
|
168
|
+
hybrid: isHybrid,
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
// TODO(FW-2832): types
|
|
172
|
+
let defaultMode;
|
|
173
|
+
const getIonMode = (ref) => {
|
|
174
|
+
return (ref && index.getMode(ref)) || defaultMode;
|
|
175
|
+
};
|
|
176
|
+
const initialize = (userConfig = {}) => {
|
|
177
|
+
if (typeof window === 'undefined') {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
const doc = window.document;
|
|
181
|
+
const win = window;
|
|
182
|
+
const Ionic = (win.Ionic = win.Ionic || {});
|
|
183
|
+
const platformHelpers = {};
|
|
184
|
+
if (userConfig._ael) {
|
|
185
|
+
platformHelpers.ael = userConfig._ael;
|
|
186
|
+
}
|
|
187
|
+
if (userConfig._rel) {
|
|
188
|
+
platformHelpers.rel = userConfig._rel;
|
|
189
|
+
}
|
|
190
|
+
if (userConfig._ce) {
|
|
191
|
+
platformHelpers.ce = userConfig._ce;
|
|
192
|
+
}
|
|
193
|
+
index.setPlatformHelpers(platformHelpers);
|
|
194
|
+
// create the Ionic.config from raw config object (if it exists)
|
|
195
|
+
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
196
|
+
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
|
|
197
|
+
config.reset(configObj);
|
|
198
|
+
if (config.getBoolean('persistConfig')) {
|
|
199
|
+
saveConfig(win, configObj);
|
|
200
|
+
}
|
|
201
|
+
// Setup platforms
|
|
202
|
+
setupPlatforms(win);
|
|
203
|
+
// first see if the mode was set as an attribute on <html>
|
|
204
|
+
// which could have been set by the user, or by pre-rendering
|
|
205
|
+
// otherwise get the mode via config settings, and fallback to md
|
|
206
|
+
Ionic.config = config;
|
|
207
|
+
Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
|
|
208
|
+
config.set('mode', defaultMode);
|
|
209
|
+
doc.documentElement.setAttribute('mode', defaultMode);
|
|
210
|
+
doc.documentElement.classList.add(defaultMode);
|
|
211
|
+
if (config.getBoolean('_testing')) {
|
|
212
|
+
config.set('animated', false);
|
|
213
|
+
}
|
|
214
|
+
const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
|
|
215
|
+
const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
|
|
216
|
+
index.setMode((elm) => {
|
|
217
|
+
while (elm) {
|
|
218
|
+
const elmMode = elm.mode || elm.getAttribute('mode');
|
|
219
|
+
if (elmMode) {
|
|
220
|
+
if (isAllowedIonicModeValue(elmMode)) {
|
|
221
|
+
return elmMode;
|
|
222
|
+
}
|
|
223
|
+
else if (isIonicElement(elm)) {
|
|
224
|
+
console.warn('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
elm = elm.parentElement;
|
|
228
|
+
}
|
|
229
|
+
return defaultMode;
|
|
230
|
+
});
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
exports.config = config;
|
|
234
|
+
exports.getIonMode = getIonMode;
|
|
235
|
+
exports.getPlatforms = getPlatforms;
|
|
236
|
+
exports.initialize = initialize;
|
|
237
|
+
exports.isPlatform = isPlatform;
|
package/dist/cjs/ionic.cjs.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const appGlobals = require('./app-globals-21afee77.js');
|
|
10
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
Stencil Client Patch Browser v4.
|
|
13
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
14
14
|
*/
|
|
15
15
|
var patchBrowser = () => {
|
|
16
16
|
{
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const animation = require('./animation-
|
|
7
|
-
const index = require('./index-
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
6
|
+
const animation = require('./animation-b4fdf128.js');
|
|
7
|
+
const index = require('./index-f05acd21.js');
|
|
8
|
+
require('./index-c8d52405.js');
|
|
9
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
10
|
+
require('./index-73f75efb.js');
|
|
11
|
+
require('./index-5915f9b3.js');
|
|
10
12
|
require('./helpers-afaa9001.js');
|
|
11
13
|
|
|
12
14
|
const DURATION = 540;
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const keyboard = require('./keyboard-
|
|
7
|
-
require('./capacitor-
|
|
8
|
-
require('./
|
|
9
|
-
require('./index-b9e25ecd.js');
|
|
6
|
+
const keyboard = require('./keyboard-0272231f.js');
|
|
7
|
+
require('./capacitor-c04564bf.js');
|
|
8
|
+
require('./index-c8d52405.js');
|
|
10
9
|
|
|
11
10
|
const KEYBOARD_DID_OPEN = 'ionKeyboardDidShow';
|
|
12
11
|
const KEYBOARD_DID_CLOSE = 'ionKeyboardDidHide';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const keyboard = require('./keyboard-
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
|
+
const keyboard = require('./keyboard-0272231f.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The element that resizes when the keyboard opens
|
|
@@ -19,7 +19,7 @@ const getResizeContainer = (resizeMode) => {
|
|
|
19
19
|
* If the webview does not resize then there
|
|
20
20
|
* is no container to resize.
|
|
21
21
|
*/
|
|
22
|
-
if (
|
|
22
|
+
if (index.doc === undefined || resizeMode === keyboard.KeyboardResize.None || resizeMode === undefined) {
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -28,8 +28,8 @@ const getResizeContainer = (resizeMode) => {
|
|
|
28
28
|
* on that. In the event `ion-app` is not available then
|
|
29
29
|
* we can fall back to `body`.
|
|
30
30
|
*/
|
|
31
|
-
const ionApp =
|
|
32
|
-
return ionApp !== null && ionApp !== void 0 ? ionApp :
|
|
31
|
+
const ionApp = index.doc.querySelector('ion-app');
|
|
32
|
+
return ionApp !== null && ionApp !== void 0 ? ionApp : index.doc.body;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Get the height of ion-app or body.
|
|
@@ -77,8 +77,8 @@ const createKeyboardController = async (keyboardChangeCallback) => {
|
|
|
77
77
|
keyboardVisible = false;
|
|
78
78
|
fireChangeCallback(keyboardVisible, resizeMode);
|
|
79
79
|
};
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.addEventListener('keyboardWillShow', keyboardWillShowHandler);
|
|
81
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.addEventListener('keyboardWillHide', keyboardWillHideHandler);
|
|
82
82
|
};
|
|
83
83
|
const fireChangeCallback = (state, resizeMode) => {
|
|
84
84
|
if (keyboardChangeCallback) {
|
|
@@ -155,8 +155,8 @@ const createKeyboardController = async (keyboardChangeCallback) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
const destroy = () => {
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.removeEventListener('keyboardWillShow', keyboardWillShowHandler);
|
|
159
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.removeEventListener('keyboardWillHide', keyboardWillHideHandler);
|
|
160
160
|
keyboardWillShowHandler = keyboardWillHideHandler = undefined;
|
|
161
161
|
};
|
|
162
162
|
const isKeyboardVisible = () => keyboardVisible;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const appGlobals = require('./app-globals-
|
|
10
|
-
require('./ionic-global-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const appGlobals = require('./app-globals-21afee77.js');
|
|
10
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = async (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const animation = require('./animation-
|
|
7
|
-
const index = require('./index-
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
6
|
+
const animation = require('./animation-b4fdf128.js');
|
|
7
|
+
const index = require('./index-f05acd21.js');
|
|
8
|
+
require('./index-c8d52405.js');
|
|
9
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
10
|
+
require('./index-73f75efb.js');
|
|
11
|
+
require('./index-5915f9b3.js');
|
|
10
12
|
require('./helpers-afaa9001.js');
|
|
11
13
|
|
|
12
14
|
const mdTransitionAnimation = (_, opts) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
7
|
const helpers = require('./helpers-afaa9001.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -95,8 +95,8 @@ const createNotchController = (el, getNotchSpacerEl, getLabelSlot) => {
|
|
|
95
95
|
*/
|
|
96
96
|
width === 0 &&
|
|
97
97
|
notchSpacerEl.offsetParent === null &&
|
|
98
|
-
|
|
99
|
-
'IntersectionObserver' in
|
|
98
|
+
index.win !== undefined &&
|
|
99
|
+
'IntersectionObserver' in index.win) {
|
|
100
100
|
/**
|
|
101
101
|
* If there is an IO already attached
|
|
102
102
|
* then that will update the notch
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
7
|
const helpers = require('./helpers-afaa9001.js');
|
|
8
|
+
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
8
10
|
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
9
11
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
|
+
const index$1 = require('./index-5915f9b3.js');
|
|
10
13
|
|
|
11
14
|
/**
|
|
12
15
|
* This query string selects elements that
|
|
@@ -387,7 +390,7 @@ const connectListeners = (doc) => {
|
|
|
387
390
|
doc.addEventListener('ionBackButton', (ev) => {
|
|
388
391
|
const lastOverlay = getPresentedOverlay(doc);
|
|
389
392
|
if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
|
|
390
|
-
ev.detail.register(
|
|
393
|
+
ev.detail.register(hardwareBackButton.OVERLAY_BACK_BUTTON_PRIORITY, () => {
|
|
391
394
|
/**
|
|
392
395
|
* Do not return this promise otherwise
|
|
393
396
|
* the hardware back button utility will
|
|
@@ -410,7 +413,7 @@ const connectListeners = (doc) => {
|
|
|
410
413
|
* this behavior will be handled via the ionBackButton
|
|
411
414
|
* event.
|
|
412
415
|
*/
|
|
413
|
-
if (!
|
|
416
|
+
if (!hardwareBackButton.shouldUseCloseWatcher()) {
|
|
414
417
|
doc.addEventListener('keydown', (ev) => {
|
|
415
418
|
if (ev.key === 'Escape') {
|
|
416
419
|
const lastOverlay = getPresentedOverlay(doc);
|
|
@@ -598,7 +601,7 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
598
601
|
if (!overlay.presented) {
|
|
599
602
|
return false;
|
|
600
603
|
}
|
|
601
|
-
const lastOverlay =
|
|
604
|
+
const lastOverlay = index.doc !== undefined && getPresentedOverlays(index.doc).length === 1;
|
|
602
605
|
/**
|
|
603
606
|
* If this is the last visible overlay then
|
|
604
607
|
* we want to re-add the root to the accessibility tree.
|
|
@@ -824,7 +827,7 @@ const createTriggerController = () => {
|
|
|
824
827
|
removeClickListener();
|
|
825
828
|
const triggerEl = trigger !== undefined ? document.getElementById(trigger) : null;
|
|
826
829
|
if (!triggerEl) {
|
|
827
|
-
|
|
830
|
+
index$1.printIonWarning(`A trigger element with the ID "${trigger}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`, el);
|
|
828
831
|
return;
|
|
829
832
|
}
|
|
830
833
|
const configureTriggerInteraction = (targetEl, overlayEl) => {
|
|
@@ -855,9 +858,9 @@ const createTriggerController = () => {
|
|
|
855
858
|
*/
|
|
856
859
|
const hideOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
857
860
|
var _a;
|
|
858
|
-
if (
|
|
861
|
+
if (index.doc === undefined)
|
|
859
862
|
return;
|
|
860
|
-
const overlays = getPresentedOverlays(
|
|
863
|
+
const overlays = getPresentedOverlays(index.doc);
|
|
861
864
|
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
862
865
|
const presentedOverlay = overlays[i];
|
|
863
866
|
const nextPresentedOverlay = (_a = overlays[i + 1]) !== null && _a !== void 0 ? _a : newTopMostOverlay;
|
|
@@ -877,9 +880,9 @@ const hideOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
|
877
880
|
* focus is never automatically moved to the Toast.
|
|
878
881
|
*/
|
|
879
882
|
const revealOverlaysToScreenReaders = () => {
|
|
880
|
-
if (
|
|
883
|
+
if (index.doc === undefined)
|
|
881
884
|
return;
|
|
882
|
-
const overlays = getPresentedOverlays(
|
|
885
|
+
const overlays = getPresentedOverlays(index.doc);
|
|
883
886
|
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
884
887
|
const currentOverlay = overlays[i];
|
|
885
888
|
/**
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const index = require('./index-
|
|
7
|
-
const index$1 = require('./index-
|
|
6
|
+
const index = require('./index-73f75efb.js');
|
|
7
|
+
const index$1 = require('./index-5b6a7459.js');
|
|
8
8
|
const helpers = require('./helpers-afaa9001.js');
|
|
9
|
-
require('./
|
|
9
|
+
require('./index-5915f9b3.js');
|
|
10
10
|
|
|
11
11
|
const startStatusTap = () => {
|
|
12
12
|
const win = window;
|
|
@@ -2,13 +2,48 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Build, Host, h } from "@stencil/core";
|
|
5
|
+
import { shouldUseCloseWatcher } from "../../utils/hardware-back-button";
|
|
6
|
+
import { printIonWarning } from "../../utils/logging/index";
|
|
7
|
+
import { isPlatform } from "../../utils/platform";
|
|
5
8
|
import { config } from "../../global/config";
|
|
6
|
-
import { getIonMode
|
|
9
|
+
import { getIonMode } from "../../global/ionic-global";
|
|
7
10
|
export class App {
|
|
8
11
|
componentDidLoad() {
|
|
9
|
-
// TODO can we move focus visible to global
|
|
10
12
|
if (Build.isBrowser) {
|
|
11
13
|
rIC(async () => {
|
|
14
|
+
const isHybrid = isPlatform(window, 'hybrid');
|
|
15
|
+
if (!config.getBoolean('_testing')) {
|
|
16
|
+
import('../../utils/tap-click').then((module) => module.startTapClick(config));
|
|
17
|
+
}
|
|
18
|
+
if (config.getBoolean('statusTap', isHybrid)) {
|
|
19
|
+
import('../../utils/status-tap').then((module) => module.startStatusTap());
|
|
20
|
+
}
|
|
21
|
+
if (config.getBoolean('inputShims', needInputShims())) {
|
|
22
|
+
/**
|
|
23
|
+
* needInputShims() ensures that only iOS and Android
|
|
24
|
+
* platforms proceed into this block.
|
|
25
|
+
*/
|
|
26
|
+
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
27
|
+
import('../../utils/input-shims/input-shims').then((module) => module.startInputShims(config, platform));
|
|
28
|
+
}
|
|
29
|
+
const hardwareBackButtonModule = await import('../../utils/hardware-back-button');
|
|
30
|
+
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
31
|
+
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
32
|
+
hardwareBackButtonModule.startHardwareBackButton();
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
/**
|
|
36
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
37
|
+
* then the close watcher will not be used.
|
|
38
|
+
*/
|
|
39
|
+
if (shouldUseCloseWatcher()) {
|
|
40
|
+
printIonWarning('experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.');
|
|
41
|
+
}
|
|
42
|
+
hardwareBackButtonModule.blockHardwareBackButton();
|
|
43
|
+
}
|
|
44
|
+
if (typeof window !== 'undefined') {
|
|
45
|
+
import('../../utils/keyboard/keyboard').then((module) => module.startKeyboardAssist(window));
|
|
46
|
+
}
|
|
12
47
|
import('../../utils/focus-visible').then((module) => (this.focusVisible = module.startFocusVisible()));
|
|
13
48
|
});
|
|
14
49
|
}
|
|
@@ -30,7 +65,7 @@ export class App {
|
|
|
30
65
|
}
|
|
31
66
|
render() {
|
|
32
67
|
const mode = getIonMode(this);
|
|
33
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'a562850f242d9d45573e35efdd4bd178254677ef', class: {
|
|
34
69
|
[mode]: true,
|
|
35
70
|
'ion-page': true,
|
|
36
71
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -81,3 +116,30 @@ export class App {
|
|
|
81
116
|
}
|
|
82
117
|
static get elementRef() { return "el"; }
|
|
83
118
|
}
|
|
119
|
+
const needInputShims = () => {
|
|
120
|
+
/**
|
|
121
|
+
* iOS always needs input shims
|
|
122
|
+
*/
|
|
123
|
+
const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');
|
|
124
|
+
if (needsShimsIOS) {
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Android only needs input shims when running
|
|
129
|
+
* in the browser and only if the browser is using the
|
|
130
|
+
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
131
|
+
*/
|
|
132
|
+
const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');
|
|
133
|
+
if (isAndroidMobileWeb) {
|
|
134
|
+
return true;
|
|
135
|
+
}
|
|
136
|
+
return false;
|
|
137
|
+
};
|
|
138
|
+
const rIC = (callback) => {
|
|
139
|
+
if ('requestIdleCallback' in window) {
|
|
140
|
+
window.requestIdleCallback(callback);
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
setTimeout(callback, 32);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
@@ -489,7 +489,7 @@ export class Input {
|
|
|
489
489
|
"mutable": false,
|
|
490
490
|
"complexType": {
|
|
491
491
|
"original": "AutocompleteTypes",
|
|
492
|
-
"resolved": "\"name\" | \"
|
|
492
|
+
"resolved": "\"name\" | \"email\" | \"tel\" | \"url\" | \"on\" | \"off\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
493
493
|
"references": {
|
|
494
494
|
"AutocompleteTypes": {
|
|
495
495
|
"location": "import",
|