@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
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { c as componentOnReady } from './helpers.js';
|
|
5
|
+
import { b as printRequiredElementError } from './index6.js';
|
|
6
|
+
|
|
7
|
+
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
|
+
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
9
|
+
const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
|
10
|
+
/**
|
|
11
|
+
* Selector used for implementations reliant on `<ion-content>` for scroll event changes.
|
|
12
|
+
*
|
|
13
|
+
* Developers should use the `.ion-content-scroll-host` selector to target the element emitting
|
|
14
|
+
* scroll events. With virtual scroll implementations this will be the host element for
|
|
15
|
+
* the scroll viewport.
|
|
16
|
+
*/
|
|
17
|
+
const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
|
|
18
|
+
const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;
|
|
19
|
+
/**
|
|
20
|
+
* Waits for the element host fully initialize before
|
|
21
|
+
* returning the inner scroll element.
|
|
22
|
+
*
|
|
23
|
+
* For `ion-content` the scroll target will be the result
|
|
24
|
+
* of the `getScrollElement` function.
|
|
25
|
+
*
|
|
26
|
+
* For custom implementations it will be the element host
|
|
27
|
+
* or a selector within the host, if supplied through `scrollTarget`.
|
|
28
|
+
*/
|
|
29
|
+
const getScrollElement = async (el) => {
|
|
30
|
+
if (isIonContent(el)) {
|
|
31
|
+
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
32
|
+
return el.getScrollElement();
|
|
33
|
+
}
|
|
34
|
+
return el;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Queries the element matching the selector for IonContent.
|
|
38
|
+
* See ION_CONTENT_SELECTOR for the selector used.
|
|
39
|
+
*/
|
|
40
|
+
const findIonContent = (el) => {
|
|
41
|
+
/**
|
|
42
|
+
* First we try to query the custom scroll host selector in cases where
|
|
43
|
+
* the implementation is using an outer `ion-content` with an inner custom
|
|
44
|
+
* scroll container.
|
|
45
|
+
*/
|
|
46
|
+
const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
|
47
|
+
if (customContentHost) {
|
|
48
|
+
return customContentHost;
|
|
49
|
+
}
|
|
50
|
+
return el.querySelector(ION_CONTENT_SELECTOR);
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Queries the closest element matching the selector for IonContent.
|
|
54
|
+
*/
|
|
55
|
+
const findClosestIonContent = (el) => {
|
|
56
|
+
return el.closest(ION_CONTENT_SELECTOR);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
|
60
|
+
* using the public API `scrollToTop` with a duration.
|
|
61
|
+
*/
|
|
62
|
+
const scrollToTop = (el, durationMs) => {
|
|
63
|
+
if (isIonContent(el)) {
|
|
64
|
+
const content = el;
|
|
65
|
+
return content.scrollToTop(durationMs);
|
|
66
|
+
}
|
|
67
|
+
return Promise.resolve(el.scrollTo({
|
|
68
|
+
top: 0,
|
|
69
|
+
left: 0,
|
|
70
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
71
|
+
}));
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
|
|
75
|
+
* using the public API `scrollByPoint` with a duration.
|
|
76
|
+
*/
|
|
77
|
+
const scrollByPoint = (el, x, y, durationMs) => {
|
|
78
|
+
if (isIonContent(el)) {
|
|
79
|
+
const content = el;
|
|
80
|
+
return content.scrollByPoint(x, y, durationMs);
|
|
81
|
+
}
|
|
82
|
+
return Promise.resolve(el.scrollBy({
|
|
83
|
+
top: y,
|
|
84
|
+
left: x,
|
|
85
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
86
|
+
}));
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
|
90
|
+
* within either the `ion-content` selector or the `.ion-content-scroll-host` class.
|
|
91
|
+
*/
|
|
92
|
+
const printIonContentErrorMsg = (el) => {
|
|
93
|
+
return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Several components in Ionic need to prevent scrolling
|
|
97
|
+
* during a gesture (card modal, range, item sliding, etc).
|
|
98
|
+
* Use this utility to account for ion-content and custom content hosts.
|
|
99
|
+
*/
|
|
100
|
+
const disableContentScrollY = (contentEl) => {
|
|
101
|
+
if (isIonContent(contentEl)) {
|
|
102
|
+
const ionContent = contentEl;
|
|
103
|
+
const initialScrollY = ionContent.scrollY;
|
|
104
|
+
ionContent.scrollY = false;
|
|
105
|
+
/**
|
|
106
|
+
* This should be passed into resetContentScrollY
|
|
107
|
+
* so that we can revert ion-content's scrollY to the
|
|
108
|
+
* correct state. For example, if scrollY = false
|
|
109
|
+
* initially, we do not want to enable scrolling
|
|
110
|
+
* when we call resetContentScrollY.
|
|
111
|
+
*/
|
|
112
|
+
return initialScrollY;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
contentEl.style.setProperty('overflow', 'hidden');
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const resetContentScrollY = (contentEl, initialScrollY) => {
|
|
120
|
+
if (isIonContent(contentEl)) {
|
|
121
|
+
contentEl.scrollY = initialScrollY;
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
contentEl.style.removeProperty('overflow');
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export { ION_CONTENT_CLASS_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_ELEMENT_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { d as doc } from './index5.js';
|
|
5
|
+
import { p as pointerCoord } from './helpers.js';
|
|
6
|
+
|
|
7
|
+
const startTapClick = (config) => {
|
|
8
|
+
if (doc === undefined) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
let lastActivated = 0;
|
|
12
|
+
let activatableEle;
|
|
13
|
+
let activeRipple;
|
|
14
|
+
let activeDefer;
|
|
15
|
+
const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);
|
|
16
|
+
const clearDefers = new WeakMap();
|
|
17
|
+
const cancelActive = () => {
|
|
18
|
+
if (activeDefer)
|
|
19
|
+
clearTimeout(activeDefer);
|
|
20
|
+
activeDefer = undefined;
|
|
21
|
+
if (activatableEle) {
|
|
22
|
+
removeActivated(false);
|
|
23
|
+
activatableEle = undefined;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const pointerDown = (ev) => {
|
|
27
|
+
// Ignore right clicks
|
|
28
|
+
if (activatableEle || ev.button === 2) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
setActivatedElement(getActivatableTarget(ev), ev);
|
|
32
|
+
};
|
|
33
|
+
const pointerUp = (ev) => {
|
|
34
|
+
setActivatedElement(undefined, ev);
|
|
35
|
+
};
|
|
36
|
+
const setActivatedElement = (el, ev) => {
|
|
37
|
+
// do nothing
|
|
38
|
+
if (el && el === activatableEle) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (activeDefer)
|
|
42
|
+
clearTimeout(activeDefer);
|
|
43
|
+
activeDefer = undefined;
|
|
44
|
+
const { x, y } = pointerCoord(ev);
|
|
45
|
+
// deactivate selected
|
|
46
|
+
if (activatableEle) {
|
|
47
|
+
if (clearDefers.has(activatableEle)) {
|
|
48
|
+
throw new Error('internal error');
|
|
49
|
+
}
|
|
50
|
+
if (!activatableEle.classList.contains(ACTIVATED)) {
|
|
51
|
+
addActivated(activatableEle, x, y);
|
|
52
|
+
}
|
|
53
|
+
removeActivated(true);
|
|
54
|
+
}
|
|
55
|
+
// activate
|
|
56
|
+
if (el) {
|
|
57
|
+
const deferId = clearDefers.get(el);
|
|
58
|
+
if (deferId) {
|
|
59
|
+
clearTimeout(deferId);
|
|
60
|
+
clearDefers.delete(el);
|
|
61
|
+
}
|
|
62
|
+
el.classList.remove(ACTIVATED);
|
|
63
|
+
const callback = () => {
|
|
64
|
+
addActivated(el, x, y);
|
|
65
|
+
activeDefer = undefined;
|
|
66
|
+
};
|
|
67
|
+
if (isInstant(el)) {
|
|
68
|
+
callback();
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
activeDefer = setTimeout(callback, ADD_ACTIVATED_DEFERS);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
activatableEle = el;
|
|
75
|
+
};
|
|
76
|
+
const addActivated = (el, x, y) => {
|
|
77
|
+
lastActivated = Date.now();
|
|
78
|
+
el.classList.add(ACTIVATED);
|
|
79
|
+
if (!useRippleEffect)
|
|
80
|
+
return;
|
|
81
|
+
const rippleEffect = getRippleEffect(el);
|
|
82
|
+
if (rippleEffect !== null) {
|
|
83
|
+
removeRipple();
|
|
84
|
+
activeRipple = rippleEffect.addRipple(x, y);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const removeRipple = () => {
|
|
88
|
+
if (activeRipple !== undefined) {
|
|
89
|
+
activeRipple.then((remove) => remove());
|
|
90
|
+
activeRipple = undefined;
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
const removeActivated = (smooth) => {
|
|
94
|
+
removeRipple();
|
|
95
|
+
const active = activatableEle;
|
|
96
|
+
if (!active) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const time = CLEAR_STATE_DEFERS - Date.now() + lastActivated;
|
|
100
|
+
if (smooth && time > 0 && !isInstant(active)) {
|
|
101
|
+
const deferId = setTimeout(() => {
|
|
102
|
+
active.classList.remove(ACTIVATED);
|
|
103
|
+
clearDefers.delete(active);
|
|
104
|
+
}, CLEAR_STATE_DEFERS);
|
|
105
|
+
clearDefers.set(active, deferId);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
active.classList.remove(ACTIVATED);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
112
|
+
doc.addEventListener('pointerdown', pointerDown, true);
|
|
113
|
+
doc.addEventListener('pointerup', pointerUp, true);
|
|
114
|
+
/**
|
|
115
|
+
* Tap click effects such as the ripple effect should
|
|
116
|
+
* not happen when scrolling. For example, if a user scrolls
|
|
117
|
+
* the page but also happens to do a touchstart on a button
|
|
118
|
+
* as part of the scroll, the ripple effect should not
|
|
119
|
+
* be dispatched. The ripple effect should only happen
|
|
120
|
+
* if the button is activated and the page is not scrolling.
|
|
121
|
+
*
|
|
122
|
+
* pointercancel is dispatched on a gesture when scrolling
|
|
123
|
+
* starts, so this lets us avoid having to listen for
|
|
124
|
+
* ion-content's scroll events.
|
|
125
|
+
*/
|
|
126
|
+
doc.addEventListener('pointercancel', cancelActive, true);
|
|
127
|
+
};
|
|
128
|
+
// TODO(FW-2832): type
|
|
129
|
+
const getActivatableTarget = (ev) => {
|
|
130
|
+
if (ev.composedPath !== undefined) {
|
|
131
|
+
/**
|
|
132
|
+
* composedPath returns EventTarget[]. However,
|
|
133
|
+
* objects other than Element can be targets too.
|
|
134
|
+
* For example, AudioContext can be a target. In this
|
|
135
|
+
* case, we know that the event is a UIEvent so we
|
|
136
|
+
* can assume that the path will contain either Element
|
|
137
|
+
* or ShadowRoot.
|
|
138
|
+
*/
|
|
139
|
+
const path = ev.composedPath();
|
|
140
|
+
for (let i = 0; i < path.length - 2; i++) {
|
|
141
|
+
const el = path[i];
|
|
142
|
+
if (!(el instanceof ShadowRoot) && el.classList.contains('ion-activatable')) {
|
|
143
|
+
return el;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
return ev.target.closest('.ion-activatable');
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
const isInstant = (el) => {
|
|
152
|
+
return el.classList.contains('ion-activatable-instant');
|
|
153
|
+
};
|
|
154
|
+
const getRippleEffect = (el) => {
|
|
155
|
+
if (el.shadowRoot) {
|
|
156
|
+
const ripple = el.shadowRoot.querySelector('ion-ripple-effect');
|
|
157
|
+
if (ripple) {
|
|
158
|
+
return ripple;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return el.querySelector('ion-ripple-effect');
|
|
162
|
+
};
|
|
163
|
+
const ACTIVATED = 'ion-activated';
|
|
164
|
+
const ADD_ACTIVATED_DEFERS = 100;
|
|
165
|
+
const CLEAR_STATE_DEFERS = 150;
|
|
166
|
+
|
|
167
|
+
export { startTapClick };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win, d as doc } from './
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, a as findClosestIonContent } from './
|
|
4
|
+
import { w as win, d as doc } from './index5.js';
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, a as findClosestIonContent } from './index8.js';
|
|
6
6
|
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard.js';
|
|
8
8
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win
|
|
4
|
+
import { w as win } from './index5.js';
|
|
5
5
|
import { r as raf } from './helpers.js';
|
|
6
|
+
import { a as printIonError } from './index6.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { p as printIonWarning
|
|
5
|
+
import { p as printIonWarning } from './index6.js';
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
6
7
|
|
|
7
8
|
const accordionGroupIosCss = ":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";
|
|
8
9
|
const IonAccordionGroupIosStyle0 = accordionGroupIosCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
6
|
-
import { c as chevronDown } from './
|
|
6
|
+
import { c as chevronDown } from './index7.js';
|
|
7
7
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
9
9
|
|
package/components/ion-app.js
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, Build, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import {
|
|
5
|
+
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
6
|
+
import { p as printIonWarning } from './index6.js';
|
|
7
|
+
import { b as getIonMode, c as config, a as isPlatform } from './ionic-global.js';
|
|
6
8
|
|
|
7
9
|
const appCss = "html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";
|
|
8
10
|
const IonAppStyle0 = appCss;
|
|
@@ -13,9 +15,41 @@ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
|
13
15
|
this.__registerHost();
|
|
14
16
|
}
|
|
15
17
|
componentDidLoad() {
|
|
16
|
-
// TODO can we move focus visible to global
|
|
17
18
|
if (Build.isBrowser) {
|
|
18
19
|
rIC(async () => {
|
|
20
|
+
const isHybrid = isPlatform(window, 'hybrid');
|
|
21
|
+
if (!config.getBoolean('_testing')) {
|
|
22
|
+
import('./index9.js').then((module) => module.startTapClick(config));
|
|
23
|
+
}
|
|
24
|
+
if (config.getBoolean('statusTap', isHybrid)) {
|
|
25
|
+
import('./status-tap.js').then((module) => module.startStatusTap());
|
|
26
|
+
}
|
|
27
|
+
if (config.getBoolean('inputShims', needInputShims())) {
|
|
28
|
+
/**
|
|
29
|
+
* needInputShims() ensures that only iOS and Android
|
|
30
|
+
* platforms proceed into this block.
|
|
31
|
+
*/
|
|
32
|
+
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
33
|
+
import('./input-shims.js').then((module) => module.startInputShims(config, platform));
|
|
34
|
+
}
|
|
35
|
+
const hardwareBackButtonModule = await import('./hardware-back-button.js');
|
|
36
|
+
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
37
|
+
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
38
|
+
hardwareBackButtonModule.startHardwareBackButton();
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
/**
|
|
42
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
43
|
+
* then the close watcher will not be used.
|
|
44
|
+
*/
|
|
45
|
+
if (shouldUseCloseWatcher()) {
|
|
46
|
+
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.');
|
|
47
|
+
}
|
|
48
|
+
hardwareBackButtonModule.blockHardwareBackButton();
|
|
49
|
+
}
|
|
50
|
+
if (typeof window !== 'undefined') {
|
|
51
|
+
import('./keyboard2.js').then((module) => module.startKeyboardAssist(window));
|
|
52
|
+
}
|
|
19
53
|
import('./focus-visible.js').then((module) => (this.focusVisible = module.startFocusVisible()));
|
|
20
54
|
});
|
|
21
55
|
}
|
|
@@ -37,7 +71,7 @@ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
|
37
71
|
}
|
|
38
72
|
render() {
|
|
39
73
|
const mode = getIonMode(this);
|
|
40
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'a562850f242d9d45573e35efdd4bd178254677ef', class: {
|
|
41
75
|
[mode]: true,
|
|
42
76
|
'ion-page': true,
|
|
43
77
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -48,6 +82,33 @@ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
|
48
82
|
}, [0, "ion-app", {
|
|
49
83
|
"setFocus": [64]
|
|
50
84
|
}]);
|
|
85
|
+
const needInputShims = () => {
|
|
86
|
+
/**
|
|
87
|
+
* iOS always needs input shims
|
|
88
|
+
*/
|
|
89
|
+
const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');
|
|
90
|
+
if (needsShimsIOS) {
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Android only needs input shims when running
|
|
95
|
+
* in the browser and only if the browser is using the
|
|
96
|
+
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
97
|
+
*/
|
|
98
|
+
const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');
|
|
99
|
+
if (isAndroidMobileWeb) {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
return false;
|
|
103
|
+
};
|
|
104
|
+
const rIC = (callback) => {
|
|
105
|
+
if ('requestIdleCallback' in window) {
|
|
106
|
+
window.requestIdleCallback(callback);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
setTimeout(callback, 32);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
51
112
|
function defineCustomElement$1() {
|
|
52
113
|
if (typeof customElements === "undefined") {
|
|
53
114
|
return;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';
|
|
7
|
-
import { a as chevronBack, b as arrowBackSharp } from './
|
|
7
|
+
import { a as chevronBack, b as arrowBackSharp } from './index7.js';
|
|
8
8
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';
|
|
7
|
-
import { e as ellipsisHorizontal, d as chevronForwardOutline } from './
|
|
7
|
+
import { e as ellipsisHorizontal, d as chevronForwardOutline } from './index7.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
10
10
|
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { a as addEventListener, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { a as printIonError } from './index6.js';
|
|
7
7
|
import { c as createColorClasses } from './theme.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
8
9
|
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data.js';
|
|
9
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
10
11
|
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { startFocusVisible } from './focus-visible.js';
|
|
6
6
|
import { r as raf, e as renderHiddenInput, g as getElementRoot } from './helpers.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as printIonError, p as printIonWarning } from './index6.js';
|
|
8
8
|
import { i as isRTL } from './dir.js';
|
|
9
9
|
import { c as createColorClasses } from './theme.js';
|
|
10
|
-
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './
|
|
10
|
+
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './index7.js';
|
|
11
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
11
12
|
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getMonthAndYear, J as getDaysOfWeek, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data.js';
|
|
12
13
|
import { d as defineCustomElement$a } from './backdrop.js';
|
|
13
14
|
import { d as defineCustomElement$9 } from './button.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { h as hostContext, c as createColorClasses, o as openURL } from './theme.js';
|
|
7
|
-
import { i as close } from './
|
|
7
|
+
import { i as close } from './index7.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
package/components/ion-footer.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { f as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './
|
|
5
|
+
import { f as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index8.js';
|
|
6
6
|
import { c as createKeyboardController } from './keyboard-controller.js';
|
|
7
7
|
import { b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { k as clamp } from './helpers.js';
|
package/components/ion-header.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './
|
|
5
|
+
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
|
|
6
6
|
import { k as clamp, i as inheritAriaAttributes } from './helpers.js';
|
|
7
7
|
import { h as hostContext } from './theme.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, readTask, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './
|
|
5
|
+
import { a as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index8.js';
|
|
6
6
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
|
|
8
8
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { p as printIonWarning
|
|
5
|
+
import { p as printIonWarning } from './index6.js';
|
|
6
6
|
import { c as createColorClasses } from './theme.js';
|
|
7
|
-
import { l as eye, m as eyeOff } from './
|
|
7
|
+
import { l as eye, m as eyeOff } from './index7.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
8
9
|
import { d as defineCustomElement$4 } from './button.js';
|
|
9
10
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
11
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
package/components/ion-input.js
CHANGED
|
@@ -6,7 +6,7 @@ import { c as createNotchController } from './notch-controller.js';
|
|
|
6
6
|
import { l as debounceEvent, i as inheritAriaAttributes, d as inheritAttributes, c as componentOnReady } from './helpers.js';
|
|
7
7
|
import { c as createSlotMutationController, g as getCounterText } from './input.utils.js';
|
|
8
8
|
import { h as hostContext, c as createColorClasses } from './theme.js';
|
|
9
|
-
import { j as closeCircle, k as closeSharp } from './
|
|
9
|
+
import { j as closeCircle, k as closeSharp } from './index7.js';
|
|
10
10
|
import { b as getIonMode } from './ionic-global.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
12
12
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './
|
|
5
|
+
import { a as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index8.js';
|
|
6
6
|
import { m as isEndSide } from './helpers.js';
|
|
7
7
|
import { w as watchForOptions } from './watch-options.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
@@ -5,7 +5,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { m as menuController } from './index4.js';
|
|
7
7
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
8
|
-
import { n as menuOutline, o as menuSharp } from './
|
|
8
|
+
import { n as menuOutline, o as menuSharp } from './index7.js';
|
|
9
9
|
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
10
10
|
import { u as updateVisibility } from './menu-toggle-util.js';
|
|
11
11
|
import { d as defineCustomElement$3 } from './icon.js';
|
package/components/ion-menu.js
CHANGED
|
@@ -5,10 +5,11 @@ import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@s
|
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller.js';
|
|
8
|
-
import {
|
|
8
|
+
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
9
9
|
import { m as isEndSide, i as inheritAriaAttributes, n as assert, k as clamp } from './helpers.js';
|
|
10
10
|
import { m as menuController } from './index4.js';
|
|
11
11
|
import { h as hostContext } from './theme.js';
|
|
12
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
12
13
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
13
14
|
|
|
14
15
|
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
package/components/ion-modal.js
CHANGED
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, f as findIonContent, p as printIonContentErrorMsg } from './
|
|
5
|
+
import { a as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
|
|
6
6
|
import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate.js';
|
|
7
7
|
import { g as getElementRoot, k as clamp, r as raf, d as inheritAttributes, j as hasLazyBuild } from './helpers.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller.js';
|
|
9
|
-
import {
|
|
9
|
+
import { p as printIonWarning } from './index6.js';
|
|
10
10
|
import { g as getCapacitor } from './capacitor.js';
|
|
11
11
|
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays.js';
|
|
12
12
|
import { g as getClassMap } from './theme.js';
|
|
13
13
|
import { e as deepReady, w as waitForMount } from './index2.js';
|
|
14
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
14
15
|
import { KEYBOARD_DID_OPEN } from './keyboard2.js';
|
|
15
16
|
import { c as createAnimation } from './animation.js';
|
|
16
17
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
17
18
|
import { createGesture } from './index3.js';
|
|
19
|
+
import { w as win } from './index5.js';
|
|
18
20
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
19
21
|
|
|
20
22
|
var Style;
|
package/components/ion-nav.js
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Build } from '@stencil/core/internal/client';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { n as assert, s as shallowEqualStringMap } from './helpers.js';
|
|
7
|
-
import { p as printIonWarning
|
|
7
|
+
import { p as printIonWarning } from './index6.js';
|
|
8
8
|
import { l as lifecycle, t as transition, s as setPageHidden, d as LIFECYCLE_WILL_UNLOAD, b as LIFECYCLE_WILL_LEAVE, c as LIFECYCLE_DID_LEAVE } from './index2.js';
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
9
10
|
import { a as attachComponent } from './framework-delegate.js';
|
|
10
11
|
|
|
11
12
|
const VIEW_STATE_NEW = 1;
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { r as raf } from './helpers.js';
|
|
6
6
|
import { c as createLockController } from './lock-controller.js';
|
|
7
|
-
import { p as printIonWarning
|
|
7
|
+
import { p as printIonWarning } from './index6.js';
|
|
8
8
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays.js';
|
|
9
9
|
import { g as getClassMap } from './theme.js';
|
|
10
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
10
11
|
import { c as createAnimation } from './animation.js';
|
|
11
12
|
import { d as defineCustomElement$3 } from './backdrop.js';
|
|
12
13
|
import { d as defineCustomElement$2 } from './picker-column2.js';
|