@ionic/core 8.3.2-dev.11728314937.130218e6 → 8.3.2-dev.11729014526.1ab61c12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +1 -1
- package/components/alert.js +1 -2
- package/components/animation.js +1 -1
- package/components/backdrop.js +1 -1
- package/components/button.js +1 -1
- package/components/buttons.js +1 -1
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +1 -1
- package/components/focus-visible.js +1 -8
- package/components/framework-delegate.js +1 -3
- package/components/hardware-back-button.js +115 -0
- package/components/helpers.js +1 -4
- package/components/index2.js +1 -2
- package/components/index4.js +3 -1
- package/components/index5.js +3 -27
- package/components/index6.js +27 -124
- package/components/index7.js +111 -150
- package/{dist/esm/index-7f65e865.js → components/index8.js} +2 -3
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +2 -3
- package/components/ion-app.js +74 -7
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -3
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +2 -3
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +5 -7
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +2 -3
- package/components/ion-fab-button.js +2 -3
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +5 -7
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +6 -8
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -2
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +2 -3
- package/components/ion-input.js +2 -3
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +2 -2
- package/components/ion-loading.js +1 -2
- package/components/ion-menu-button.js +2 -3
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- package/components/ion-nav.js +1 -2
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +1 -2
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +2 -3
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +2 -3
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -2
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -4
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -3
- package/components/ion-skeleton-text.js +1 -2
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -2
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +8 -8
- package/components/ion-toggle.js +2 -3
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +76 -189
- package/components/item.js +2 -3
- package/components/keyboard-controller.js +2 -4
- package/components/label.js +1 -1
- package/components/list-header.js +1 -1
- package/components/list.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -4
- package/components/picker-column-option.js +1 -1
- package/components/picker-column.js +2 -1
- package/components/picker-column2.js +1 -1
- package/components/popover.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +1 -1
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -2
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-232e0c8f.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-0189a70c.js → app-globals-38bbc401.js} +1 -1
- package/dist/cjs/{button-active-41228dbf.js → button-active-3f2f60b4.js} +4 -4
- package/dist/cjs/{capacitor-806e7fee.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-cad5d489.js → data-b3a1a686.js} +1 -1
- package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
- package/dist/cjs/{framework-delegate-cf116b1d.js → framework-delegate-55f5683a.js} +2 -4
- package/dist/cjs/{haptic-f0cad9a6.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-d37054f2.js +122 -0
- package/dist/cjs/{helpers-e75eb909.js → helpers-afaa9001.js} +1 -4
- package/dist/cjs/{index-1d02518d.js → index-2fa32189.js} +2 -2
- package/dist/cjs/{index-3ac79a1b.js → index-694a3808.js} +10 -10
- package/dist/cjs/{config-1349d5b4.js → index-73f75efb.js} +0 -79
- package/dist/cjs/{index-2c8b42cd.js → index-9509ecad.js} +7 -8
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-71085796.js → index-ed0f67a3.js} +7 -5
- package/dist/cjs/index.cjs.js +12 -10
- package/dist/cjs/{input-shims-2958dcc9.js → input-shims-ab680ecf.js} +18 -17
- package/dist/cjs/{input.utils-ed749ecb.js → input.utils-44ff82f0.js} +4 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +18 -18
- package/dist/cjs/ion-action-sheet.cjs.entry.js +25 -23
- package/dist/cjs/ion-alert.cjs.entry.js +35 -33
- package/dist/cjs/ion-app_8.cjs.entry.js +150 -84
- package/dist/cjs/ion-avatar_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-back-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +24 -24
- package/dist/cjs/ion-button_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -19
- package/dist/cjs/ion-checkbox.cjs.entry.js +15 -15
- package/dist/cjs/ion-chip.cjs.entry.js +5 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +91 -89
- package/dist/cjs/ion-fab_3.cjs.entry.js +21 -21
- package/dist/cjs/ion-img.cjs.entry.js +10 -10
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +22 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +14 -14
- package/dist/cjs/ion-input.cjs.entry.js +28 -27
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +40 -40
- package/dist/cjs/ion-loading.cjs.entry.js +25 -23
- package/dist/cjs/ion-menu_3.cjs.entry.js +39 -37
- package/dist/cjs/ion-modal.cjs.entry.js +50 -48
- package/dist/cjs/ion-nav_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column.cjs.entry.js +14 -13
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +24 -22
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -10
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-range.cjs.entry.js +23 -23
- package/dist/cjs/ion-refresher_2.cjs.entry.js +47 -46
- package/dist/cjs/ion-reorder_2.cjs.entry.js +21 -20
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +14 -14
- package/dist/cjs/ion-searchbar.cjs.entry.js +31 -31
- package/dist/cjs/ion-segment_2.cjs.entry.js +17 -17
- package/dist/cjs/ion-select_3.cjs.entry.js +45 -43
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -12
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +19 -18
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +24 -23
- package/dist/cjs/ion-toast.cjs.entry.js +35 -33
- package/dist/cjs/ion-toggle.cjs.entry.js +25 -24
- package/dist/cjs/{ionic-global-3647b9f5.js → ionic-global-5df85d73.js} +89 -205
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-4411892c.js → ios.transition-7574ba71.js} +6 -5
- package/dist/cjs/{keyboard-ed6e1327.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-e0062bfc.js → keyboard-af1bb365.js} +3 -4
- package/dist/cjs/{keyboard-controller-020444ad.js → keyboard-controller-c05e747a.js} +9 -11
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-261f9f67.js → md.transition-d9d90911.js} +6 -5
- package/dist/cjs/{notch-controller-70ad2323.js → notch-controller-d69150f5.js} +4 -4
- package/dist/cjs/{overlays-22320753.js → overlays-faf6f843.js} +17 -17
- package/dist/cjs/{status-tap-cfc7f9a5.js → status-tap-28780caa.js} +8 -8
- package/dist/cjs/{swipe-back-ecdf1cf5.js → swipe-back-0303a5e4.js} +1 -2
- package/dist/collection/components/app/app.js +75 -5
- package/dist/collection/components/content/content.js +4 -6
- package/dist/collection/components/footer/footer.js +3 -5
- package/dist/collection/components/header/header.js +4 -6
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/searchbar/searchbar.ionic.css +166 -89
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +348 -0
- package/dist/collection/components/toast/toast.ios.css +68 -41
- package/dist/collection/components/toast/toast.js +4 -4
- package/dist/collection/components/toast/toast.md.css +68 -41
- package/dist/collection/global/ionic-global.js +1 -69
- package/dist/collection/utils/focus-visible.js +0 -7
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/helpers.js +1 -3
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
- package/dist/collection/utils/overlays.js +1 -2
- package/dist/docs.json +119 -107
- package/dist/esm/{animation-16546c84.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-35381e66.js → app-globals-c45950ba.js} +1 -1
- package/dist/esm/{button-active-c768aceb.js → button-active-873732e5.js} +2 -2
- package/dist/esm/{capacitor-0897b83c.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-d9b1fbdb.js → data-fde041b0.js} +1 -1
- package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
- package/dist/esm/{framework-delegate-56698eb0.js → framework-delegate-63d1a679.js} +2 -4
- package/dist/esm/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-2bb5194f.js +116 -0
- package/dist/esm/{helpers-d57f52c8.js → helpers-da915de8.js} +1 -4
- package/dist/esm/{index-edf94b3b.js → index-29be96b3.js} +5 -5
- package/dist/esm/{index-82405a4a.js → index-2d8b49ae.js} +5 -3
- package/dist/esm/{index-f8ad386a.js → index-56cab0d6.js} +2 -2
- package/dist/esm/{config-0b6b1b3d.js → index-723c0e5d.js} +1 -76
- package/dist/esm/index-79b30591.js +167 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/index.js +12 -10
- package/dist/esm/{input-shims-0f3cc1c3.js → input-shims-59f93016.js} +7 -6
- package/dist/esm/{input.utils-ef4d8197.js → input.utils-8755322f.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -9
- package/dist/esm/ion-alert.entry.js +11 -9
- package/dist/esm/ion-app_8.entry.js +94 -28
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +12 -10
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +6 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +8 -6
- package/dist/esm/ion-menu_3.entry.js +9 -7
- package/dist/esm/ion-modal.entry.js +13 -11
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +6 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +9 -7
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +8 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -6
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +8 -6
- 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 +7 -6
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -5
- package/dist/esm/ion-toast.entry.js +14 -12
- package/dist/esm/ion-toggle.entry.js +6 -5
- package/dist/esm/{ionic-global-d7017fd9.js → ionic-global-a8cbb8b0.js} +72 -184
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4b9fe79e.js → ios.transition-4706aa28.js} +6 -5
- package/dist/esm/{keyboard-584d2e6f.js → keyboard-52278bd7.js} +3 -4
- package/dist/esm/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-9c9c2301.js → keyboard-controller-ec5c2bfa.js} +3 -5
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-a71dc418.js → md.transition-20ad6960.js} +6 -5
- package/dist/esm/{notch-controller-4d9a7b28.js → notch-controller-55b09e11.js} +2 -2
- package/dist/esm/{overlays-9da9aef5.js → overlays-40e86f77.js} +6 -6
- package/dist/esm/{status-tap-82f51b25.js → status-tap-0433b6a6.js} +4 -4
- package/dist/esm/{swipe-back-c5709ce5.js → swipe-back-e5394307.js} +1 -2
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-c45950ba.js +4 -0
- package/dist/esm-es5/button-active-873732e5.js +4 -0
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/{data-d9b1fbdb.js → data-fde041b0.js} +1 -1
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
- package/dist/esm-es5/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-2bb5194f.js +4 -0
- package/dist/esm-es5/helpers-da915de8.js +4 -0
- package/dist/esm-es5/index-29be96b3.js +4 -0
- package/dist/esm-es5/index-2d8b49ae.js +4 -0
- package/dist/esm-es5/{index-f8ad386a.js → index-56cab0d6.js} +1 -1
- package/dist/esm-es5/{config-0b6b1b3d.js → index-723c0e5d.js} +2 -2
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-59f93016.js +4 -0
- package/dist/esm-es5/input.utils-8755322f.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-a8cbb8b0.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4706aa28.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/{keyboard-ad38b8fc.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-20ad6960.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-40e86f77.js +4 -0
- package/dist/esm-es5/status-tap-0433b6a6.js +4 -0
- package/dist/esm-es5/swipe-back-e5394307.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-00093fc0.entry.js +4 -0
- package/dist/ionic/{p-fbcf9790.system.entry.js → p-0328213e.system.entry.js} +1 -1
- package/dist/ionic/{p-0a820472.js → p-0b120b1d.js} +1 -1
- package/dist/ionic/p-0bfbe380.js +4 -0
- package/dist/ionic/{p-82832f09.system.entry.js → p-0c9a7872.system.entry.js} +1 -1
- package/dist/ionic/p-0cd67533.js +4 -0
- package/dist/ionic/p-0d86eb56.system.entry.js +4 -0
- package/dist/ionic/p-0d945ebd.entry.js +4 -0
- package/dist/ionic/p-0fa218e9.system.js +5 -0
- package/dist/ionic/{p-15d007ee.system.entry.js → p-0fd7a8cb.system.entry.js} +1 -1
- package/dist/ionic/{p-4d000ec5.entry.js → p-10dacd80.entry.js} +1 -1
- package/dist/ionic/p-12299223.system.entry.js +4 -0
- package/dist/ionic/p-175821bc.entry.js +4 -0
- package/dist/ionic/{p-9152f6a3.system.entry.js → p-19c89aeb.system.entry.js} +1 -1
- package/dist/ionic/{p-61a51379.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-1f6507e4.entry.js +4 -0
- package/dist/ionic/p-1f7b26cc.entry.js +4 -0
- package/dist/ionic/{p-d9e1c48c.system.js → p-1fd1d157.system.js} +1 -1
- package/dist/ionic/p-2282c878.system.entry.js +4 -0
- package/dist/ionic/{p-11915ee9.system.entry.js → p-26313905.system.entry.js} +1 -1
- package/dist/ionic/{p-4ed7dfdb.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-27bb59a9.system.entry.js +4 -0
- package/dist/ionic/p-28be0cf9.js +4 -0
- package/dist/ionic/p-2a844e7c.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-2b98e44b.system.entry.js +4 -0
- package/dist/ionic/p-2fd3e890.system.entry.js +4 -0
- package/dist/ionic/p-30c8168f.system.entry.js +4 -0
- package/dist/ionic/p-3281aaeb.entry.js +4 -0
- package/dist/ionic/p-32f4a0b9.entry.js +4 -0
- package/dist/ionic/p-34b11c24.js +4 -0
- package/dist/ionic/{p-3d9cad0b.system.entry.js → p-35b66bbc.system.entry.js} +1 -1
- package/dist/ionic/p-36db29d9.system.js +4 -0
- package/dist/ionic/p-3ad285e3.system.js +4 -0
- package/dist/ionic/p-3c1b93db.system.entry.js +4 -0
- package/dist/ionic/p-3cc276f4.js +4 -0
- package/dist/ionic/p-3dfa54e6.js +4 -0
- package/dist/ionic/{p-a65fe34d.system.entry.js → p-3efc5d47.system.entry.js} +1 -1
- package/dist/ionic/p-432e6521.system.entry.js +4 -0
- package/dist/ionic/{p-da968066.entry.js → p-44c281df.entry.js} +1 -1
- package/dist/ionic/{p-b14c601a.entry.js → p-46f790b3.entry.js} +1 -1
- package/dist/ionic/{p-92b48263.entry.js → p-48cd1ced.entry.js} +1 -1
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/p-4c38fcdd.system.js +4 -0
- package/dist/ionic/{p-3bfe43bc.system.js → p-4ccbf702.system.js} +1 -1
- package/dist/ionic/{p-5468bfbf.entry.js → p-4de02483.entry.js} +1 -1
- package/dist/ionic/p-4e6c9480.system.entry.js +4 -0
- package/dist/ionic/p-4e7c68a5.entry.js +4 -0
- package/dist/ionic/{p-dbfc5db6.js → p-5771eacd.js} +1 -1
- package/dist/ionic/{p-413a936c.entry.js → p-5a583b1a.entry.js} +1 -1
- package/dist/ionic/p-5c766439.entry.js +4 -0
- package/dist/ionic/p-5c8fa89d.system.js +4 -0
- package/dist/ionic/{p-71e8ffdd.system.js → p-5cc80c49.system.js} +1 -1
- package/dist/ionic/p-614c3822.system.js +4 -0
- package/dist/ionic/{p-f41914c0.system.entry.js → p-614d974e.system.entry.js} +1 -1
- package/dist/ionic/p-62836b01.js +4 -0
- package/dist/ionic/p-63fe75bc.js +4 -0
- package/dist/ionic/p-664480c8.system.entry.js +4 -0
- package/dist/ionic/{p-2da8c20c.system.entry.js → p-6b6ee9ca.system.entry.js} +1 -1
- package/dist/ionic/{p-726b9197.system.entry.js → p-6c555957.system.entry.js} +1 -1
- package/dist/ionic/{p-fac985b6.system.entry.js → p-6ca5f4da.system.entry.js} +1 -1
- package/dist/ionic/p-6d7c455f.js +4 -0
- package/dist/ionic/p-6f418011.system.entry.js +4 -0
- package/dist/ionic/p-713374f2.entry.js +4 -0
- package/dist/ionic/{p-39c02066.system.entry.js → p-727aa804.system.entry.js} +1 -1
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/p-737d64f9.entry.js +4 -0
- package/dist/ionic/{p-49a3fc76.entry.js → p-77c3fe69.entry.js} +1 -1
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/{p-f670192b.system.entry.js → p-7986665a.system.entry.js} +1 -1
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7b341352.js +4 -0
- package/dist/ionic/p-7c9d5354.entry.js +4 -0
- package/dist/ionic/p-7ccf7f29.entry.js +4 -0
- package/dist/ionic/p-7dfa7ebc.entry.js +4 -0
- package/dist/ionic/p-80ff4e55.entry.js +4 -0
- package/dist/ionic/{p-6d9e1887.system.entry.js → p-82028c01.system.entry.js} +1 -1
- package/dist/ionic/{p-0695a0af.system.entry.js → p-8285d686.system.entry.js} +1 -1
- package/dist/ionic/p-82d80c8f.entry.js +4 -0
- package/dist/ionic/{p-a9fd9d48.js → p-83948e48.js} +2 -2
- package/dist/ionic/p-83e4478f.entry.js +4 -0
- package/dist/ionic/{p-4a9b61ed.system.entry.js → p-854b1e11.system.entry.js} +1 -1
- package/dist/ionic/p-8635f5e6.system.js +4 -0
- package/dist/ionic/p-87365857.system.entry.js +4 -0
- package/dist/ionic/p-87a81a63.system.entry.js +4 -0
- package/dist/ionic/{p-e61e3bb4.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-b9b36d56.js → p-89b61afc.js} +1 -1
- package/dist/ionic/{p-747e9c9a.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/p-916f6c1d.entry.js +4 -0
- package/dist/ionic/{p-846dd10a.entry.js → p-927b5898.entry.js} +1 -1
- package/dist/ionic/p-93cf45ec.system.entry.js +4 -0
- package/dist/ionic/p-9493acfe.entry.js +4 -0
- package/dist/ionic/p-9805b25a.system.entry.js +4 -0
- package/dist/ionic/{p-bd50f24e.system.entry.js → p-9c8e5275.system.entry.js} +1 -1
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/p-a1b80dd6.system.js +4 -0
- package/dist/ionic/{p-2c5d7d84.system.js → p-a4519424.system.js} +1 -1
- package/dist/ionic/p-a8a04757.system.entry.js +4 -0
- package/dist/ionic/{p-f8e329da.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/{p-c9ef0ca7.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b24c259e.entry.js +4 -0
- package/dist/ionic/p-b33b643b.entry.js +4 -0
- package/dist/ionic/p-b51e4004.js +4 -0
- package/dist/ionic/{p-4b153a9f.entry.js → p-b6d72f12.entry.js} +1 -1
- package/dist/ionic/p-ba45ad7d.entry.js +4 -0
- package/dist/ionic/p-bc8e48de.entry.js +4 -0
- package/dist/ionic/p-bcf5573f.entry.js +4 -0
- package/dist/ionic/{p-ab6e0f02.system.entry.js → p-bcfa9bb5.system.entry.js} +1 -1
- package/dist/ionic/{p-69e54172.js → p-bd7fb7b4.js} +1 -1
- package/dist/ionic/p-bdd4e026.entry.js +4 -0
- package/dist/ionic/{p-ac64cba5.entry.js → p-bef12497.entry.js} +1 -1
- package/dist/ionic/{p-d085c881.system.entry.js → p-bf673222.system.entry.js} +1 -1
- package/dist/ionic/{p-6f8c2e62.system.entry.js → p-c32229bb.system.entry.js} +1 -1
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/{p-3a11234f.system.js → p-c4ae4d32.system.js} +1 -1
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c628bdcb.system.js +4 -0
- package/dist/ionic/p-c6f1b434.js +4 -0
- package/dist/ionic/{p-d1e991c3.js → p-c7e16491.js} +1 -1
- package/dist/ionic/{p-cb8800fe.system.entry.js → p-ca3bf740.system.entry.js} +1 -1
- package/dist/ionic/{p-d0b7fe70.entry.js → p-cb3dc48f.entry.js} +1 -1
- package/dist/ionic/p-cd40baea.entry.js +4 -0
- package/dist/ionic/{p-291dc0b3.system.entry.js → p-cde755fc.system.entry.js} +1 -1
- package/dist/ionic/{p-73e32456.system.js → p-ce5c2902.system.js} +1 -1
- package/dist/ionic/{p-68f3fa48.system.entry.js → p-d05aabdf.system.entry.js} +2 -2
- package/dist/ionic/{p-0a701833.entry.js → p-d3fd2c98.entry.js} +1 -1
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/p-d53e0b4b.entry.js +4 -0
- package/dist/ionic/{p-b6fc8ee2.system.entry.js → p-d6eda1bb.system.entry.js} +1 -1
- package/dist/ionic/p-d79ed7b3.system.js +4 -0
- package/dist/ionic/{p-2c368e32.entry.js → p-d878447e.entry.js} +1 -1
- package/dist/ionic/{p-c2a4c5c5.system.entry.js → p-db63907a.system.entry.js} +1 -1
- package/dist/ionic/p-dbb02a23.system.entry.js +4 -0
- package/dist/ionic/p-dd79c031.js +4 -0
- package/dist/ionic/{p-eeb60a8f.entry.js → p-dde3a646.entry.js} +1 -1
- package/dist/ionic/{p-e5239905.system.entry.js → p-dfd995cc.system.entry.js} +1 -1
- package/dist/ionic/p-e050dad9.system.js +4 -0
- package/dist/ionic/{p-9a9eb866.entry.js → p-e259208f.entry.js} +1 -1
- package/dist/ionic/p-e2bd011e.js +4 -0
- package/dist/ionic/{p-80342c88.system.entry.js → p-e34e037d.system.entry.js} +1 -1
- package/dist/ionic/{p-49d80815.entry.js → p-e5333f3f.entry.js} +1 -1
- package/dist/ionic/{p-fbcb3139.entry.js → p-e61c9280.entry.js} +1 -1
- package/dist/ionic/p-ea16a842.entry.js +4 -0
- package/dist/ionic/p-eafeb1ff.system.js +4 -0
- package/dist/ionic/p-ed419a44.entry.js +4 -0
- package/dist/ionic/{p-093de343.system.entry.js → p-eef611dc.system.entry.js} +1 -1
- package/dist/ionic/{p-6ecebfc6.entry.js → p-f3cfb48a.entry.js} +1 -1
- package/dist/ionic/{p-d346c889.system.entry.js → p-f4ad1cf6.system.entry.js} +1 -1
- package/dist/ionic/{p-d8339079.system.js → p-f7712c17.system.js} +1 -1
- package/dist/ionic/p-f9782d44.system.entry.js +4 -0
- package/dist/types/components/app/app.d.ts +2 -0
- package/dist/types/global/ionic-global.d.ts +0 -2
- package/dist/types/utils/config.d.ts +0 -7
- package/dist/types/utils/focus-visible.d.ts +0 -1
- package/hydrate/index.js +150 -161
- package/hydrate/index.mjs +150 -161
- package/package.json +1 -1
- package/components/config2.js +0 -79
- package/dist/esm-es5/animation-16546c84.js +0 -4
- package/dist/esm-es5/app-globals-35381e66.js +0 -4
- package/dist/esm-es5/button-active-c768aceb.js +0 -4
- package/dist/esm-es5/capacitor-0897b83c.js +0 -4
- package/dist/esm-es5/focus-visible-501aff19.js +0 -4
- package/dist/esm-es5/framework-delegate-56698eb0.js +0 -4
- package/dist/esm-es5/helpers-d57f52c8.js +0 -4
- package/dist/esm-es5/index-7f65e865.js +0 -4
- package/dist/esm-es5/index-82405a4a.js +0 -4
- package/dist/esm-es5/index-edf94b3b.js +0 -4
- package/dist/esm-es5/input-shims-0f3cc1c3.js +0 -4
- package/dist/esm-es5/input.utils-ef4d8197.js +0 -4
- package/dist/esm-es5/ionic-global-d7017fd9.js +0 -4
- package/dist/esm-es5/ios.transition-4b9fe79e.js +0 -4
- package/dist/esm-es5/keyboard-584d2e6f.js +0 -4
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +0 -4
- package/dist/esm-es5/md.transition-a71dc418.js +0 -4
- package/dist/esm-es5/notch-controller-4d9a7b28.js +0 -4
- package/dist/esm-es5/overlays-9da9aef5.js +0 -4
- package/dist/esm-es5/status-tap-82f51b25.js +0 -4
- package/dist/esm-es5/swipe-back-c5709ce5.js +0 -4
- package/dist/ionic/p-027d729e.entry.js +0 -4
- package/dist/ionic/p-036e1c5b.entry.js +0 -4
- package/dist/ionic/p-08df90cf.system.js +0 -4
- package/dist/ionic/p-08f1ef0c.entry.js +0 -4
- package/dist/ionic/p-0ade0499.system.entry.js +0 -4
- package/dist/ionic/p-1037b7dd.js +0 -4
- package/dist/ionic/p-12e3e308.entry.js +0 -4
- package/dist/ionic/p-14719a77.entry.js +0 -4
- package/dist/ionic/p-15d51b10.js +0 -4
- package/dist/ionic/p-221e5078.system.js +0 -4
- package/dist/ionic/p-25e2c98f.system.js +0 -4
- package/dist/ionic/p-26f7c080.system.js +0 -4
- package/dist/ionic/p-28d04212.system.js +0 -4
- package/dist/ionic/p-29d6d1fc.system.entry.js +0 -4
- package/dist/ionic/p-2a559ac6.js +0 -4
- package/dist/ionic/p-2a79e451.entry.js +0 -4
- package/dist/ionic/p-2b428cf6.entry.js +0 -4
- package/dist/ionic/p-2d621d56.system.entry.js +0 -4
- package/dist/ionic/p-334c09da.entry.js +0 -4
- package/dist/ionic/p-33a1d951.system.entry.js +0 -4
- package/dist/ionic/p-36bdcfc4.js +0 -4
- package/dist/ionic/p-388ac217.js +0 -4
- package/dist/ionic/p-3ca5196c.js +0 -4
- package/dist/ionic/p-419fac38.entry.js +0 -4
- package/dist/ionic/p-434c7348.system.entry.js +0 -4
- package/dist/ionic/p-45e150eb.js +0 -4
- package/dist/ionic/p-46787abb.system.js +0 -4
- package/dist/ionic/p-46cc2492.system.js +0 -4
- package/dist/ionic/p-4c251d59.entry.js +0 -4
- package/dist/ionic/p-4e202665.js +0 -4
- package/dist/ionic/p-4ea10a10.entry.js +0 -4
- package/dist/ionic/p-4feea938.entry.js +0 -4
- package/dist/ionic/p-5655419d.system.entry.js +0 -4
- package/dist/ionic/p-5ce35a03.js +0 -4
- package/dist/ionic/p-5dc2a7c6.entry.js +0 -4
- package/dist/ionic/p-6320cbc1.system.entry.js +0 -4
- package/dist/ionic/p-643e2eb8.js +0 -4
- package/dist/ionic/p-660f3b98.entry.js +0 -4
- package/dist/ionic/p-6ad6d594.js +0 -4
- package/dist/ionic/p-70c6cd75.system.js +0 -4
- package/dist/ionic/p-7759fac2.system.entry.js +0 -4
- package/dist/ionic/p-7ebc381e.entry.js +0 -4
- package/dist/ionic/p-83d5ee25.entry.js +0 -4
- package/dist/ionic/p-8421aedf.js +0 -4
- package/dist/ionic/p-90089868.system.entry.js +0 -4
- package/dist/ionic/p-931dc464.entry.js +0 -4
- package/dist/ionic/p-95e22fa9.entry.js +0 -4
- package/dist/ionic/p-9c526519.entry.js +0 -4
- package/dist/ionic/p-9e4ede77.system.entry.js +0 -4
- package/dist/ionic/p-9e8e25e4.system.js +0 -4
- package/dist/ionic/p-9e9bff83.system.js +0 -4
- package/dist/ionic/p-9f51595b.entry.js +0 -4
- package/dist/ionic/p-a4df1928.entry.js +0 -4
- package/dist/ionic/p-a6aaef61.system.entry.js +0 -4
- package/dist/ionic/p-a856dbc6.entry.js +0 -4
- package/dist/ionic/p-aacc6ddd.system.js +0 -5
- package/dist/ionic/p-adaa7af1.entry.js +0 -4
- package/dist/ionic/p-adec897a.system.entry.js +0 -4
- package/dist/ionic/p-b0e10591.entry.js +0 -4
- package/dist/ionic/p-b19a9aa9.system.js +0 -4
- package/dist/ionic/p-b297c7b5.system.js +0 -4
- package/dist/ionic/p-ba3ddec4.js +0 -4
- package/dist/ionic/p-c6191942.js +0 -4
- package/dist/ionic/p-c6e47379.entry.js +0 -4
- package/dist/ionic/p-c7e967c0.system.entry.js +0 -4
- package/dist/ionic/p-c8097757.system.entry.js +0 -4
- package/dist/ionic/p-cb131dda.system.entry.js +0 -4
- package/dist/ionic/p-cf2f1ede.entry.js +0 -4
- package/dist/ionic/p-d0259f44.system.js +0 -4
- package/dist/ionic/p-d0953ec9.system.entry.js +0 -4
- package/dist/ionic/p-d10313a6.system.js +0 -4
- package/dist/ionic/p-d2a55f0a.system.entry.js +0 -4
- package/dist/ionic/p-d2ef848a.entry.js +0 -4
- package/dist/ionic/p-db8aeb40.system.js +0 -4
- package/dist/ionic/p-dd50ef12.js +0 -4
- package/dist/ionic/p-e270862e.js +0 -4
- package/dist/ionic/p-e7546060.entry.js +0 -4
- package/dist/ionic/p-eb376af4.entry.js +0 -4
- package/dist/ionic/p-ee091b80.system.entry.js +0 -4
- package/dist/ionic/p-f065578f.js +0 -4
- package/dist/ionic/p-f4ae533b.js +0 -4
- package/dist/ionic/p-f61ce679.js +0 -4
- package/dist/ionic/p-f63f81aa.system.entry.js +0 -4
- package/dist/ionic/p-fb0c3efa.entry.js +0 -4
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-e75eb909.js');
|
|
6
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
8
7
|
|
|
9
8
|
// TODO(FW-2832): types
|
|
10
9
|
const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
@@ -105,8 +104,7 @@ const CoreDelegate = () => {
|
|
|
105
104
|
* Get the root of the app and
|
|
106
105
|
* add the overlay there.
|
|
107
106
|
*/
|
|
108
|
-
const
|
|
109
|
-
const app = document.querySelector(appRootSelector) || document.body;
|
|
107
|
+
const app = document.querySelector('ion-app') || document.body;
|
|
110
108
|
/**
|
|
111
109
|
* Create a placeholder comment so that
|
|
112
110
|
* we can return this component to where
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
8
|
+
require('./index-73f75efb.js');
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* CloseWatcher is a newer API that lets
|
|
12
|
+
* use detect the hardware back button event
|
|
13
|
+
* in a web browser: https://caniuse.com/?search=closewatcher
|
|
14
|
+
* However, not every browser supports it yet.
|
|
15
|
+
*
|
|
16
|
+
* This needs to be a function so that we can
|
|
17
|
+
* check the config once it has been set.
|
|
18
|
+
* Otherwise, this code would be evaluated the
|
|
19
|
+
* moment this file is evaluated which could be
|
|
20
|
+
* before the config is set.
|
|
21
|
+
*/
|
|
22
|
+
const shouldUseCloseWatcher = () => ionicGlobal.config.get('experimentalCloseWatcher', false) && index.win !== undefined && 'CloseWatcher' in index.win;
|
|
23
|
+
/**
|
|
24
|
+
* When hardwareBackButton: false in config,
|
|
25
|
+
* we need to make sure we also block the default
|
|
26
|
+
* webview behavior. If we don't then it will be
|
|
27
|
+
* possible for users to navigate backward while
|
|
28
|
+
* an overlay is still open. Additionally, it will
|
|
29
|
+
* give the appearance that the hardwareBackButton
|
|
30
|
+
* config is not working as the page transition
|
|
31
|
+
* will still happen.
|
|
32
|
+
*/
|
|
33
|
+
const blockHardwareBackButton = () => {
|
|
34
|
+
document.addEventListener('backbutton', () => { }); // eslint-disable-line
|
|
35
|
+
};
|
|
36
|
+
const startHardwareBackButton = () => {
|
|
37
|
+
const doc = document;
|
|
38
|
+
let busy = false;
|
|
39
|
+
const backButtonCallback = () => {
|
|
40
|
+
if (busy) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
let index = 0;
|
|
44
|
+
let handlers = [];
|
|
45
|
+
const ev = new CustomEvent('ionBackButton', {
|
|
46
|
+
bubbles: false,
|
|
47
|
+
detail: {
|
|
48
|
+
register(priority, handler) {
|
|
49
|
+
handlers.push({ priority, handler, id: index++ });
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
doc.dispatchEvent(ev);
|
|
54
|
+
const executeAction = async (handlerRegister) => {
|
|
55
|
+
try {
|
|
56
|
+
if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
|
|
57
|
+
const result = handlerRegister.handler(processHandlers);
|
|
58
|
+
if (result != null) {
|
|
59
|
+
await result;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e) {
|
|
64
|
+
console.error(e);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const processHandlers = () => {
|
|
68
|
+
if (handlers.length > 0) {
|
|
69
|
+
let selectedHandler = {
|
|
70
|
+
priority: Number.MIN_SAFE_INTEGER,
|
|
71
|
+
handler: () => undefined,
|
|
72
|
+
id: -1,
|
|
73
|
+
};
|
|
74
|
+
handlers.forEach((handler) => {
|
|
75
|
+
if (handler.priority >= selectedHandler.priority) {
|
|
76
|
+
selectedHandler = handler;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
busy = true;
|
|
80
|
+
handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);
|
|
81
|
+
executeAction(selectedHandler).then(() => (busy = false));
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
processHandlers();
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* If the CloseWatcher is defined then
|
|
88
|
+
* we don't want to also listen for the native
|
|
89
|
+
* backbutton event otherwise we may get duplicate
|
|
90
|
+
* events firing.
|
|
91
|
+
*/
|
|
92
|
+
if (shouldUseCloseWatcher()) {
|
|
93
|
+
let watcher;
|
|
94
|
+
const configureWatcher = () => {
|
|
95
|
+
watcher === null || watcher === void 0 ? void 0 : watcher.destroy();
|
|
96
|
+
watcher = new index.win.CloseWatcher();
|
|
97
|
+
/**
|
|
98
|
+
* Once a close request happens
|
|
99
|
+
* the watcher gets destroyed.
|
|
100
|
+
* As a result, we need to re-configure
|
|
101
|
+
* the watcher so we can respond to other
|
|
102
|
+
* close requests.
|
|
103
|
+
*/
|
|
104
|
+
watcher.onclose = () => {
|
|
105
|
+
backButtonCallback();
|
|
106
|
+
configureWatcher();
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
configureWatcher();
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
doc.addEventListener('backbutton', backButtonCallback);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
const OVERLAY_BACK_BUTTON_PRIORITY = 100;
|
|
116
|
+
const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
|
|
117
|
+
|
|
118
|
+
exports.MENU_BACK_BUTTON_PRIORITY = MENU_BACK_BUTTON_PRIORITY;
|
|
119
|
+
exports.OVERLAY_BACK_BUTTON_PRIORITY = OVERLAY_BACK_BUTTON_PRIORITY;
|
|
120
|
+
exports.blockHardwareBackButton = blockHardwareBackButton;
|
|
121
|
+
exports.shouldUseCloseWatcher = shouldUseCloseWatcher;
|
|
122
|
+
exports.startHardwareBackButton = startHardwareBackButton;
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const config = require('./config-1349d5b4.js');
|
|
7
|
-
|
|
8
6
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
9
7
|
return new Promise((resolve) => {
|
|
10
8
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -245,8 +243,7 @@ const focusVisibleElement = (el) => {
|
|
|
245
243
|
* which will let us explicitly set the elements to focus.
|
|
246
244
|
*/
|
|
247
245
|
if (el.classList.contains('ion-focusable')) {
|
|
248
|
-
const
|
|
249
|
-
const app = el.closest(appRootSelector);
|
|
246
|
+
const app = el.closest('ion-app');
|
|
250
247
|
if (app) {
|
|
251
248
|
app.setFocus([el]);
|
|
252
249
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const helpers = require('./helpers-
|
|
7
|
-
const ionicGlobal = require('./ionic-global-
|
|
6
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
7
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const helpers = require('./helpers-
|
|
6
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
7
|
+
const index = require('./index-73f75efb.js');
|
|
8
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
9
9
|
|
|
10
10
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
11
11
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -39,7 +39,7 @@ const isVisible = (el) => {
|
|
|
39
39
|
*/
|
|
40
40
|
const createFocusController = () => {
|
|
41
41
|
const saveViewFocus = (referenceEl) => {
|
|
42
|
-
const focusManagerEnabled =
|
|
42
|
+
const focusManagerEnabled = ionicGlobal.config.get('focusManagerPriority', false);
|
|
43
43
|
/**
|
|
44
44
|
* When going back to a previously visited page focus should typically be moved
|
|
45
45
|
* back to the element that was last focused when the user was on this view.
|
|
@@ -52,7 +52,7 @@ const createFocusController = () => {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
const setViewFocus = (referenceEl) => {
|
|
55
|
-
const focusManagerPriorities =
|
|
55
|
+
const focusManagerPriorities = ionicGlobal.config.get('focusManagerPriority', false);
|
|
56
56
|
/**
|
|
57
57
|
* If the focused element is a descendant of the referenceEl then it's possible
|
|
58
58
|
* that the app developer manually moved focus, so we do not want to override that.
|
|
@@ -121,13 +121,13 @@ const createFocusController = () => {
|
|
|
121
121
|
};
|
|
122
122
|
const LAST_FOCUS = 'ion-last-focus';
|
|
123
123
|
|
|
124
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
125
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
124
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-7574ba71.js'); });
|
|
125
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-d9d90911.js'); });
|
|
126
126
|
const focusController = createFocusController();
|
|
127
127
|
// TODO(FW-2832): types
|
|
128
128
|
const transition = (opts) => {
|
|
129
129
|
return new Promise((resolve, reject) => {
|
|
130
|
-
|
|
130
|
+
index.writeTask(() => {
|
|
131
131
|
beforeTransition(opts);
|
|
132
132
|
runTransition(opts).then((result) => {
|
|
133
133
|
if (result.animation) {
|
|
@@ -168,7 +168,7 @@ const beforeTransition = (opts) => {
|
|
|
168
168
|
};
|
|
169
169
|
const runTransition = async (opts) => {
|
|
170
170
|
const animationBuilder = await getAnimationBuilder(opts);
|
|
171
|
-
const ani = animationBuilder &&
|
|
171
|
+
const ani = animationBuilder && index.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
|
|
172
172
|
return ani;
|
|
173
173
|
};
|
|
174
174
|
const afterTransition = (opts) => {
|
|
@@ -213,7 +213,7 @@ const animation = async (animationBuilder, opts) => {
|
|
|
213
213
|
const noAnimation = async (opts) => {
|
|
214
214
|
const enteringEl = opts.enteringEl;
|
|
215
215
|
const leavingEl = opts.leavingEl;
|
|
216
|
-
const focusManagerEnabled =
|
|
216
|
+
const focusManagerEnabled = ionicGlobal.config.get('focusManagerPriority', false);
|
|
217
217
|
/**
|
|
218
218
|
* If the focus manager is enabled then we need to wait for Ionic components to be
|
|
219
219
|
* rendered otherwise the component to focus may not be focused because it is hidden.
|
|
@@ -2307,88 +2307,10 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2307
2307
|
// src/runtime/nonce.ts
|
|
2308
2308
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2309
2309
|
|
|
2310
|
-
// TODO(FW-2832): types
|
|
2311
|
-
class Config {
|
|
2312
|
-
constructor() {
|
|
2313
|
-
this.m = new Map();
|
|
2314
|
-
}
|
|
2315
|
-
reset(configObj) {
|
|
2316
|
-
this.m = new Map(Object.entries(configObj));
|
|
2317
|
-
}
|
|
2318
|
-
get(key, fallback) {
|
|
2319
|
-
const value = this.m.get(key);
|
|
2320
|
-
return value !== undefined ? value : fallback;
|
|
2321
|
-
}
|
|
2322
|
-
getBoolean(key, fallback = false) {
|
|
2323
|
-
const val = this.m.get(key);
|
|
2324
|
-
if (val === undefined) {
|
|
2325
|
-
return fallback;
|
|
2326
|
-
}
|
|
2327
|
-
if (typeof val === 'string') {
|
|
2328
|
-
return val === 'true';
|
|
2329
|
-
}
|
|
2330
|
-
return !!val;
|
|
2331
|
-
}
|
|
2332
|
-
getNumber(key, fallback) {
|
|
2333
|
-
const val = parseFloat(this.m.get(key));
|
|
2334
|
-
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
2335
|
-
}
|
|
2336
|
-
set(key, value) {
|
|
2337
|
-
this.m.set(key, value);
|
|
2338
|
-
}
|
|
2339
|
-
}
|
|
2340
|
-
const config = /*@__PURE__*/ new Config();
|
|
2341
|
-
const configFromSession = (win) => {
|
|
2342
|
-
try {
|
|
2343
|
-
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
2344
|
-
return configStr !== null ? JSON.parse(configStr) : {};
|
|
2345
|
-
}
|
|
2346
|
-
catch (e) {
|
|
2347
|
-
return {};
|
|
2348
|
-
}
|
|
2349
|
-
};
|
|
2350
|
-
const saveConfig = (win, c) => {
|
|
2351
|
-
try {
|
|
2352
|
-
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
2353
|
-
}
|
|
2354
|
-
catch (e) {
|
|
2355
|
-
return;
|
|
2356
|
-
}
|
|
2357
|
-
};
|
|
2358
|
-
const configFromURL = (win) => {
|
|
2359
|
-
const configObj = {};
|
|
2360
|
-
win.location.search
|
|
2361
|
-
.slice(1)
|
|
2362
|
-
.split('&')
|
|
2363
|
-
.map((entry) => entry.split('='))
|
|
2364
|
-
.map(([key, value]) => {
|
|
2365
|
-
try {
|
|
2366
|
-
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
2367
|
-
}
|
|
2368
|
-
catch (e) {
|
|
2369
|
-
return ['', ''];
|
|
2370
|
-
}
|
|
2371
|
-
})
|
|
2372
|
-
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
2373
|
-
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
2374
|
-
.forEach(([key, value]) => {
|
|
2375
|
-
configObj[key] = value;
|
|
2376
|
-
});
|
|
2377
|
-
return configObj;
|
|
2378
|
-
};
|
|
2379
|
-
const startsWith = (input, search) => {
|
|
2380
|
-
return input.substr(0, search.length) === search;
|
|
2381
|
-
};
|
|
2382
|
-
const IONIC_PREFIX = 'ionic:';
|
|
2383
|
-
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
2384
|
-
|
|
2385
2310
|
exports.Build = Build;
|
|
2386
2311
|
exports.H = H;
|
|
2387
2312
|
exports.Host = Host;
|
|
2388
2313
|
exports.bootstrapLazy = bootstrapLazy;
|
|
2389
|
-
exports.config = config;
|
|
2390
|
-
exports.configFromSession = configFromSession;
|
|
2391
|
-
exports.configFromURL = configFromURL;
|
|
2392
2314
|
exports.createEvent = createEvent;
|
|
2393
2315
|
exports.forceUpdate = forceUpdate;
|
|
2394
2316
|
exports.getAssetPath = getAssetPath;
|
|
@@ -2398,7 +2320,6 @@ exports.h = h;
|
|
|
2398
2320
|
exports.promiseResolve = promiseResolve;
|
|
2399
2321
|
exports.readTask = readTask;
|
|
2400
2322
|
exports.registerInstance = registerInstance;
|
|
2401
|
-
exports.saveConfig = saveConfig;
|
|
2402
2323
|
exports.setMode = setMode;
|
|
2403
2324
|
exports.setNonce = setNonce;
|
|
2404
2325
|
exports.setPlatformHelpers = setPlatformHelpers;
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
8
|
-
require('./config-1349d5b4.js');
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
9
8
|
|
|
10
9
|
const startTapClick = (config) => {
|
|
11
|
-
if (
|
|
10
|
+
if (index.doc === undefined) {
|
|
12
11
|
return;
|
|
13
12
|
}
|
|
14
13
|
let lastActivated = 0;
|
|
@@ -111,9 +110,9 @@ const startTapClick = (config) => {
|
|
|
111
110
|
active.classList.remove(ACTIVATED);
|
|
112
111
|
}
|
|
113
112
|
};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
index.doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
114
|
+
index.doc.addEventListener('pointerdown', pointerDown, true);
|
|
115
|
+
index.doc.addEventListener('pointerup', pointerUp, true);
|
|
117
116
|
/**
|
|
118
117
|
* Tap click effects such as the ripple effect should
|
|
119
118
|
* not happen when scrolling. For example, if a user scrolls
|
|
@@ -126,7 +125,7 @@ const startTapClick = (config) => {
|
|
|
126
125
|
* starts, so this lets us avoid having to listen for
|
|
127
126
|
* ion-content's scroll events.
|
|
128
127
|
*/
|
|
129
|
-
|
|
128
|
+
index.doc.addEventListener('pointercancel', cancelActive, true);
|
|
130
129
|
};
|
|
131
130
|
// TODO(FW-2832): type
|
|
132
131
|
const getActivatableTarget = (ev) => {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
const win = typeof window !== 'undefined' ? window : undefined;
|
|
7
|
+
const doc = typeof document !== 'undefined' ? document : undefined;
|
|
8
|
+
|
|
9
|
+
exports.doc = doc;
|
|
10
|
+
exports.win = win;
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
|
+
const hardwareBackButton = require('./hardware-back-button-d37054f2.js');
|
|
8
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
9
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
+
const animation = require('./animation-b4fdf128.js');
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* baseAnimation
|
|
@@ -274,10 +276,10 @@ const createMenuController = () => {
|
|
|
274
276
|
registerAnimation('reveal', menuRevealAnimation);
|
|
275
277
|
registerAnimation('push', menuPushAnimation);
|
|
276
278
|
registerAnimation('overlay', menuOverlayAnimation);
|
|
277
|
-
|
|
279
|
+
index.doc === null || index.doc === void 0 ? void 0 : index.doc.addEventListener('ionBackButton', (ev) => {
|
|
278
280
|
const openMenu = _getOpenSync();
|
|
279
281
|
if (openMenu) {
|
|
280
|
-
ev.detail.register(
|
|
282
|
+
ev.detail.register(hardwareBackButton.MENU_BACK_BUTTON_PRIORITY, () => {
|
|
281
283
|
return openMenu.close();
|
|
282
284
|
});
|
|
283
285
|
}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -5,21 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const animation = require('./animation-
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
8
|
+
const animation = require('./animation-b4fdf128.js');
|
|
9
|
+
const index = require('./index-694a3808.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-7574ba71.js');
|
|
11
|
+
const md_transition = require('./md.transition-d9d90911.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
const helpers = require('./helpers-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
15
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
20
|
-
require('./
|
|
18
|
+
const index$2 = require('./index-ed0f67a3.js');
|
|
19
|
+
const overlays = require('./overlays-faf6f843.js');
|
|
20
|
+
require('./index-c8d52405.js');
|
|
21
|
+
require('./index-73f75efb.js');
|
|
21
22
|
require('./gesture-controller-9436f482.js');
|
|
22
|
-
require('./
|
|
23
|
+
require('./hardware-back-button-d37054f2.js');
|
|
24
|
+
require('./framework-delegate-55f5683a.js');
|
|
23
25
|
|
|
24
26
|
const IonicSlides = (opts) => {
|
|
25
27
|
const { swiper, extendParams } = opts;
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const index = require('./index-
|
|
8
|
-
const helpers = require('./helpers-
|
|
9
|
-
const keyboard = require('./keyboard-
|
|
10
|
-
require('./
|
|
11
|
-
require('./
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
|
+
const index$1 = require('./index-2fa32189.js');
|
|
8
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
9
|
+
const keyboard = require('./keyboard-0272231f.js');
|
|
10
|
+
require('./ionic-global-5df85d73.js');
|
|
11
|
+
require('./index-73f75efb.js');
|
|
12
|
+
require('./capacitor-c04564bf.js');
|
|
12
13
|
|
|
13
14
|
const cloneMap = new WeakMap();
|
|
14
15
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|
|
@@ -286,7 +287,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
286
287
|
* the keyboard height again. This will result in the input
|
|
287
288
|
* being scrolled more than it needs to.
|
|
288
289
|
*/
|
|
289
|
-
const platformHeight =
|
|
290
|
+
const platformHeight = index.win !== undefined ? index.win.innerHeight : 0;
|
|
290
291
|
/**
|
|
291
292
|
* Scroll assist is run when a text field
|
|
292
293
|
* is focused. However, it may need to
|
|
@@ -339,7 +340,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
339
340
|
*/
|
|
340
341
|
const focusOut = () => {
|
|
341
342
|
hasKeyboardBeenPresentedForTextField = false;
|
|
342
|
-
|
|
343
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
343
344
|
componentEl.removeEventListener('focusout', focusOut);
|
|
344
345
|
};
|
|
345
346
|
/**
|
|
@@ -359,13 +360,13 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
359
360
|
return;
|
|
360
361
|
}
|
|
361
362
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
|
|
362
|
-
|
|
363
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
363
364
|
componentEl.addEventListener('focusout', focusOut);
|
|
364
365
|
};
|
|
365
366
|
componentEl.addEventListener('focusin', focusIn);
|
|
366
367
|
return () => {
|
|
367
368
|
componentEl.removeEventListener('focusin', focusIn);
|
|
368
|
-
|
|
369
|
+
index.win === null || index.win === void 0 ? void 0 : index.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
369
370
|
componentEl.removeEventListener('focusout', focusOut);
|
|
370
371
|
};
|
|
371
372
|
};
|
|
@@ -441,7 +442,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
441
442
|
window.removeEventListener('ionKeyboardDidShow', scrollContent);
|
|
442
443
|
// scroll the input into place
|
|
443
444
|
if (contentEl) {
|
|
444
|
-
await index.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
|
|
445
|
+
await index$1.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
|
|
445
446
|
}
|
|
446
447
|
// the scroll view is in the correct position now
|
|
447
448
|
// give the native text input focus
|
|
@@ -462,7 +463,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
462
463
|
window.addEventListener('ionKeyboardDidShow', scrollContent);
|
|
463
464
|
};
|
|
464
465
|
if (contentEl) {
|
|
465
|
-
const scrollEl = await index.getScrollElement(contentEl);
|
|
466
|
+
const scrollEl = await index$1.getScrollElement(contentEl);
|
|
466
467
|
/**
|
|
467
468
|
* scrollData will only consider the amount we need
|
|
468
469
|
* to scroll in order to properly bring the input
|
|
@@ -510,7 +511,7 @@ const startInputShims = async (config, platform) => {
|
|
|
510
511
|
* If doc is undefined then we are in an SSR environment
|
|
511
512
|
* where input shims do not apply.
|
|
512
513
|
*/
|
|
513
|
-
if (
|
|
514
|
+
if (index.doc === undefined) {
|
|
514
515
|
return;
|
|
515
516
|
}
|
|
516
517
|
const isIOS = platform === 'ios';
|
|
@@ -532,7 +533,7 @@ const startInputShims = async (config, platform) => {
|
|
|
532
533
|
*/
|
|
533
534
|
const inputBlurring = config.getBoolean('inputBlurring', false);
|
|
534
535
|
const scrollPadding = config.getBoolean('scrollPadding', true);
|
|
535
|
-
const inputs = Array.from(
|
|
536
|
+
const inputs = Array.from(index.doc.querySelectorAll('ion-input, ion-textarea'));
|
|
536
537
|
const hideCaretMap = new WeakMap();
|
|
537
538
|
const scrollAssistMap = new WeakMap();
|
|
538
539
|
/**
|
|
@@ -548,7 +549,7 @@ const startInputShims = async (config, platform) => {
|
|
|
548
549
|
await new Promise((resolve) => helpers.componentOnReady(componentEl, resolve));
|
|
549
550
|
const inputRoot = componentEl.shadowRoot || componentEl;
|
|
550
551
|
const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');
|
|
551
|
-
const scrollEl = index.findClosestIonContent(componentEl);
|
|
552
|
+
const scrollEl = index$1.findClosestIonContent(componentEl);
|
|
552
553
|
const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;
|
|
553
554
|
if (!inputEl) {
|
|
554
555
|
return;
|
|
@@ -597,10 +598,10 @@ const startInputShims = async (config, platform) => {
|
|
|
597
598
|
for (const input of inputs) {
|
|
598
599
|
registerInput(input);
|
|
599
600
|
}
|
|
600
|
-
|
|
601
|
+
index.doc.addEventListener('ionInputDidLoad', (ev) => {
|
|
601
602
|
registerInput(ev.detail);
|
|
602
603
|
});
|
|
603
|
-
|
|
604
|
+
index.doc.addEventListener('ionInputDidUnload', (ev) => {
|
|
604
605
|
unregisterInput(ev.detail);
|
|
605
606
|
});
|
|
606
607
|
};
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
6
|
+
const index = require('./index-c8d52405.js');
|
|
7
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
8
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -18,7 +19,7 @@ const helpers = require('./helpers-e75eb909.js');
|
|
|
18
19
|
const createSlotMutationController = (el, slotName, mutationCallback) => {
|
|
19
20
|
let hostMutationObserver;
|
|
20
21
|
let slottedContentMutationObserver;
|
|
21
|
-
if (
|
|
22
|
+
if (index.win !== undefined && 'MutationObserver' in index.win) {
|
|
22
23
|
const slots = Array.isArray(slotName) ? slotName : [slotName];
|
|
23
24
|
hostMutationObserver = new MutationObserver((entries) => {
|
|
24
25
|
for (const entry of entries) {
|