@ionic/core 8.3.1-dev.11726167750.15400355 → 8.3.1-dev.11726172907.15a1af41
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 +1 -2
- package/components/capacitor.js +1 -1
- package/components/data.js +1 -1
- package/components/focus-visible.js +8 -1
- package/components/index2.js +1 -2
- package/components/index4.js +1 -4
- package/components/index5.js +27 -3
- package/components/index6.js +114 -20
- package/components/index7.js +163 -27
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +1 -2
- package/components/ion-accordion.js +1 -1
- package/components/ion-app.js +6 -75
- package/components/ion-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-datetime-button.js +1 -2
- package/components/ion-datetime.js +2 -3
- 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 +2 -3
- 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 +1 -2
- package/components/ion-modal.js +2 -4
- package/components/ion-nav.js +1 -2
- package/components/ion-picker-legacy.js +1 -2
- package/components/ion-range.js +2 -3
- 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 +1 -3
- package/components/ion-toggle.js +1 -1
- package/components/ionic-global.js +219 -2
- package/components/item.js +1 -1
- package/components/keyboard-controller.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +1 -4
- package/components/picker-column.js +1 -2
- package/components/popover.js +1 -2
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-f43e6366.js} +2 -2
- package/dist/cjs/{app-globals-21afee77.js → app-globals-aa7aec45.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-1164881e.js} +2 -2
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-094870c0.js} +3 -3
- package/dist/cjs/{data-21dc0f81.js → data-c6182804.js} +3 -3
- package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-ca81ce81.js} +8 -0
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-188baa8e.js} +1 -1
- package/dist/cjs/{index-f05acd21.js → index-23381b18.js} +7 -8
- package/dist/cjs/{index-9509ecad.js → index-60f4c4b4.js} +7 -6
- package/dist/cjs/{index-9cd00dc3.js → index-afc28d19.js} +6 -9
- package/dist/cjs/{index-5b6a7459.js → index-b3550209.js} +2 -2
- package/dist/cjs/{index-73f75efb.js → index-b9e25ecd.js} +19 -13
- package/dist/cjs/index.cjs.js +8 -11
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-833981ee.js} +16 -16
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-a4020823.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +7 -10
- package/dist/cjs/ion-alert.cjs.entry.js +7 -10
- package/dist/cjs/ion-app_8.cjs.entry.js +21 -91
- 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 +5 -6
- 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 +7 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +94 -97
- 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 +3 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +7 -8
- package/dist/cjs/ion-input.cjs.entry.js +4 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +4 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -9
- package/dist/cjs/ion-modal.cjs.entry.js +47 -50
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -4
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -6
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +8 -11
- 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 +8 -9
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -8
- package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -7
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -6
- 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 +4 -6
- package/dist/cjs/ion-toast.cjs.entry.js +29 -32
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -5
- package/dist/cjs/ionic-global-4503ea83.js +462 -0
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-dac99bf0.js} +4 -6
- package/dist/cjs/{keyboard-0272231f.js → keyboard-6d170faf.js} +1 -1
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-c79a662b.js} +4 -3
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-a6533765.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-65b7c8b6.js} +4 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-b33a54ec.js} +3 -3
- package/dist/cjs/{overlays-0123d7d4.js → overlays-44027b72.js} +9 -12
- package/dist/cjs/{status-tap-37681226.js → status-tap-643bbfa4.js} +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/app/app.js +5 -75
- 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 +70 -1
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/docs.json +108 -108
- package/dist/esm/{animation-eab5a4ca.js → animation-840e1209.js} +1 -1
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-537d56c1.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-dba2328e.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-fcd09564.js} +1 -1
- package/dist/esm/{data-ae11fd43.js → data-8389220e.js} +1 -1
- package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-b960316e.js} +8 -1
- package/dist/esm/{haptic-ac164e4c.js → haptic-6d16c679.js} +1 -1
- package/dist/esm/{index-fe1782b1.js → index-07e10d19.js} +2 -5
- package/dist/esm/{index-79b30591.js → index-3f9b7dcc.js} +2 -1
- package/dist/esm/{index-5cc724f3.js → index-40662748.js} +1 -1
- package/dist/esm/{index-28849c61.js → index-4e02bb5d.js} +19 -13
- package/dist/esm/{index-3ad7f18b.js → index-a4bd9891.js} +4 -5
- package/dist/esm/index.js +8 -11
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-d4681aea.js} +5 -5
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-c7e363b4.js} +1 -2
- package/dist/esm/ion-accordion_2.entry.js +2 -3
- package/dist/esm/ion-action-sheet.entry.js +7 -10
- package/dist/esm/ion-alert.entry.js +7 -10
- package/dist/esm/ion-app_8.entry.js +11 -81
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -3
- 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 +3 -4
- package/dist/esm/ion-datetime_3.entry.js +8 -11
- 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 +3 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -3
- package/dist/esm/ion-input.entry.js +4 -6
- package/dist/esm/ion-item-option_3.entry.js +3 -4
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +4 -7
- package/dist/esm/ion-menu_3.entry.js +5 -8
- package/dist/esm/ion-modal.entry.js +9 -12
- package/dist/esm/ion-nav_2.entry.js +3 -4
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +4 -5
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -8
- 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 +3 -4
- package/dist/esm/ion-refresher_2.entry.js +6 -8
- package/dist/esm/ion-reorder_2.entry.js +5 -7
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -7
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +5 -6
- 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 +4 -6
- package/dist/esm/ion-toast.entry.js +4 -7
- package/dist/esm/ion-toggle.entry.js +4 -5
- package/dist/esm/ionic-global-b1979612.js +448 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-e50705d1.js} +4 -6
- package/dist/esm/{keyboard-52278bd7.js → keyboard-630cb801.js} +4 -3
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-00b92ab3.js} +2 -2
- package/dist/esm/{keyboard-73175e24.js → keyboard-f89a5eae.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-58674b20.js} +4 -6
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-e45ab374.js} +1 -1
- package/dist/esm/{overlays-9c75ec54.js → overlays-a2dfa4a7.js} +1 -4
- package/dist/esm/{status-tap-f472b09f.js → status-tap-a9f0d61d.js} +3 -3
- package/dist/esm-es5/animation-840e1209.js +4 -0
- package/dist/esm-es5/app-globals-537d56c1.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-dba2328e.js} +1 -1
- package/dist/esm-es5/capacitor-fcd09564.js +4 -0
- package/dist/esm-es5/data-8389220e.js +4 -0
- package/dist/esm-es5/focus-visible-b960316e.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-6d16c679.js} +1 -1
- package/dist/esm-es5/index-07e10d19.js +4 -0
- package/dist/esm-es5/index-3f9b7dcc.js +4 -0
- package/dist/esm-es5/index-40662748.js +4 -0
- package/dist/esm-es5/index-4e02bb5d.js +5 -0
- package/dist/esm-es5/index-a4bd9891.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-d4681aea.js +4 -0
- package/dist/esm-es5/input.utils-c7e363b4.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-b1979612.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-e50705d1.js +4 -0
- package/dist/esm-es5/keyboard-630cb801.js +4 -0
- package/dist/esm-es5/keyboard-controller-00b92ab3.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-f89a5eae.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-58674b20.js +4 -0
- package/dist/esm-es5/notch-controller-e45ab374.js +4 -0
- package/dist/esm-es5/overlays-a2dfa4a7.js +4 -0
- package/dist/esm-es5/status-tap-a9f0d61d.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-f8c8b9ba.entry.js → p-00c9cfa0.entry.js} +1 -1
- package/dist/ionic/{p-6e85e450.entry.js → p-00cbf542.entry.js} +1 -1
- package/dist/ionic/p-01b0e865.system.js +4 -0
- package/dist/ionic/{p-9146695e.system.js → p-0476b3cc.system.js} +1 -1
- package/dist/ionic/p-073dacf3.entry.js +4 -0
- package/dist/ionic/p-07e807fb.js +4 -0
- package/dist/ionic/p-0a31c7b9.system.entry.js +4 -0
- package/dist/ionic/{p-7243df6f.entry.js → p-0a7a7ab9.entry.js} +1 -1
- package/dist/ionic/{p-93f37ceb.system.entry.js → p-0bee79fc.system.entry.js} +1 -1
- package/dist/ionic/p-0f1ba402.entry.js +4 -0
- package/dist/ionic/{p-9172535c.entry.js → p-11cf4ee1.entry.js} +1 -1
- package/dist/ionic/{p-8d44cf1f.entry.js → p-1253d402.entry.js} +1 -1
- package/dist/ionic/p-16917861.system.js +4 -0
- package/dist/ionic/p-179c573b.system.entry.js +4 -0
- package/dist/ionic/{p-854f9b64.entry.js → p-1c6bb45f.entry.js} +1 -1
- package/dist/ionic/p-20ffa318.entry.js +4 -0
- package/dist/ionic/{p-53854390.entry.js → p-21a0f452.entry.js} +1 -1
- package/dist/ionic/p-23889fd8.entry.js +4 -0
- package/dist/ionic/p-25a2d298.js +4 -0
- package/dist/ionic/p-28b059c3.system.entry.js +4 -0
- package/dist/ionic/p-2d8341d0.system.js +4 -0
- package/dist/ionic/p-2f2fd67f.entry.js +4 -0
- package/dist/ionic/{p-cdb11938.system.entry.js → p-2f8773b2.system.entry.js} +1 -1
- package/dist/ionic/{p-9b6c6302.system.entry.js → p-30c57db4.system.entry.js} +1 -1
- package/dist/ionic/p-31f1eb81.entry.js +4 -0
- package/dist/ionic/{p-973f0b15.system.entry.js → p-3657cf1a.system.entry.js} +1 -1
- package/dist/ionic/p-37fbd57a.system.entry.js +4 -0
- package/dist/ionic/{p-49bc6544.entry.js → p-39166cd5.entry.js} +1 -1
- package/dist/ionic/{p-4a82bd1c.system.entry.js → p-39ed01f6.system.entry.js} +1 -1
- package/dist/ionic/{p-89a0a446.entry.js → p-3eca6ffb.entry.js} +1 -1
- package/dist/ionic/{p-233e6c93.entry.js → p-3ef8ff43.entry.js} +1 -1
- package/dist/ionic/p-4175803c.system.js +4 -0
- package/dist/ionic/p-41ec2afd.entry.js +4 -0
- package/dist/ionic/{p-6817cf42.system.entry.js → p-444c76ee.system.entry.js} +1 -1
- package/dist/ionic/{p-89b61afc.js → p-4525cc2f.js} +1 -1
- package/dist/ionic/p-460070eb.system.js +4 -0
- package/dist/ionic/p-466434d4.system.js +4 -0
- package/dist/ionic/p-46db4410.system.entry.js +4 -0
- package/dist/ionic/{p-06e58c4e.js → p-47c92e81.js} +1 -1
- package/dist/ionic/p-480cfc61.entry.js +4 -0
- package/dist/ionic/p-487a3ae7.system.js +5 -0
- package/dist/ionic/p-4a274d8d.entry.js +4 -0
- package/dist/ionic/p-4b528ed3.js +5 -0
- package/dist/ionic/{p-d60342e3.js → p-4ee57cf5.js} +1 -1
- package/dist/ionic/p-4fbde654.js +4 -0
- package/dist/ionic/p-51b9d14a.js +4 -0
- package/dist/ionic/p-52371477.system.entry.js +4 -0
- package/dist/ionic/p-5328e386.system.entry.js +4 -0
- package/dist/ionic/p-57eb8bf5.entry.js +4 -0
- package/dist/ionic/p-58812aa8.system.entry.js +4 -0
- package/dist/ionic/{p-ab8a2ff1.entry.js → p-5a0f3c6f.entry.js} +1 -1
- package/dist/ionic/{p-b06ac4a5.system.js → p-5b6645a1.system.js} +1 -1
- package/dist/ionic/p-5c456cd2.system.entry.js +4 -0
- package/dist/ionic/p-5e03c97e.system.entry.js +4 -0
- package/dist/ionic/p-5fb843ce.entry.js +4 -0
- package/dist/ionic/p-5fd711d1.entry.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-60c38dee.js} +1 -1
- package/dist/ionic/{p-293ed6ac.system.entry.js → p-6418a407.system.entry.js} +1 -1
- package/dist/ionic/p-67bb048a.system.entry.js +4 -0
- package/dist/ionic/p-69f80fd3.entry.js +4 -0
- package/dist/ionic/{p-72ffd137.system.entry.js → p-6a95a932.system.entry.js} +1 -1
- package/dist/ionic/{p-1dfc11b3.system.js → p-6c810800.system.js} +1 -1
- package/dist/ionic/p-73216388.entry.js +4 -0
- package/dist/ionic/p-736d36fb.system.js +4 -0
- package/dist/ionic/p-73b45a64.entry.js +4 -0
- package/dist/ionic/{p-a879ecb7.system.entry.js → p-765a2b13.system.entry.js} +1 -1
- package/dist/ionic/{p-003eecb9.entry.js → p-77cda5c7.entry.js} +1 -1
- package/dist/ionic/p-7a86440f.entry.js +4 -0
- package/dist/ionic/{p-00b01a55.system.entry.js → p-7cbcee2c.system.entry.js} +1 -1
- package/dist/ionic/{p-313ccc01.system.entry.js → p-7f85fd7d.system.entry.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-809941d0.js} +1 -1
- package/dist/ionic/p-82b38b14.system.js +4 -0
- package/dist/ionic/p-833104fe.system.entry.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-84030740.js} +1 -1
- package/dist/ionic/{p-27281edd.js → p-845c8117.js} +1 -1
- package/dist/ionic/{p-960803fc.system.entry.js → p-84e08e08.system.entry.js} +1 -1
- package/dist/ionic/{p-f88ebc36.entry.js → p-861785a6.entry.js} +1 -1
- package/dist/ionic/p-86b6a057.system.entry.js +4 -0
- package/dist/ionic/p-877dee4e.system.entry.js +4 -0
- package/dist/ionic/{p-3c8e5c23.system.js → p-886a05f9.system.js} +1 -1
- package/dist/ionic/{p-e3e1e3de.entry.js → p-8c13b08d.entry.js} +1 -1
- package/dist/ionic/{p-f687573e.system.js → p-8ff1e95d.system.js} +1 -1
- package/dist/ionic/p-902f1e0d.entry.js +4 -0
- package/dist/ionic/p-90b717c3.entry.js +4 -0
- package/dist/ionic/{p-5e842258.entry.js → p-91459095.entry.js} +1 -1
- package/dist/ionic/p-958d1ddf.entry.js +4 -0
- package/dist/ionic/p-9647f627.system.entry.js +4 -0
- package/dist/ionic/p-969bb0cd.system.entry.js +4 -0
- package/dist/ionic/p-98612ecd.system.entry.js +4 -0
- package/dist/ionic/p-99322726.js +4 -0
- package/dist/ionic/p-9a41931a.system.js +4 -0
- package/dist/ionic/{p-dfb78785.system.js → p-9ced646a.system.js} +1 -1
- package/dist/ionic/{p-92d7a3d1.entry.js → p-9ea9eef2.entry.js} +1 -1
- package/dist/ionic/p-9fa489bf.system.js +4 -0
- package/dist/ionic/p-9fb5d3f0.js +4 -0
- package/dist/ionic/p-a60688ea.system.entry.js +4 -0
- package/dist/ionic/p-a7c80b6e.js +4 -0
- package/dist/ionic/p-a97cc6e0.entry.js +4 -0
- package/dist/ionic/{p-322c5fb4.system.js → p-aa037934.system.js} +1 -1
- package/dist/ionic/p-aa28a06a.system.entry.js +4 -0
- package/dist/ionic/p-ab51df52.js +4 -0
- package/dist/ionic/{p-a93873de.system.js → p-abe01542.system.js} +1 -1
- package/dist/ionic/{p-5da94421.system.js → p-ad4a3c01.system.js} +2 -2
- package/dist/ionic/{p-836d39d4.system.entry.js → p-b6fbbe81.system.entry.js} +1 -1
- package/dist/ionic/{p-6562e0a9.system.entry.js → p-b760b2fa.system.entry.js} +1 -1
- package/dist/ionic/p-b84b226d.entry.js +4 -0
- package/dist/ionic/p-b95e719d.js +4 -0
- package/dist/ionic/p-b9d74da7.system.js +4 -0
- package/dist/ionic/p-bb816352.system.entry.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-bc088eb6.system.js} +1 -1
- package/dist/ionic/p-bc0d6e7d.system.entry.js +4 -0
- package/dist/ionic/p-bc60a88f.entry.js +4 -0
- package/dist/ionic/{p-2200e26b.entry.js → p-c0e7cab8.entry.js} +1 -1
- package/dist/ionic/{p-16207409.system.entry.js → p-c1c1b3c1.system.entry.js} +1 -1
- package/dist/ionic/{p-9ea607bd.system.js → p-c9525721.system.js} +2 -2
- package/dist/ionic/{p-4a0a4204.system.entry.js → p-ca2083bc.system.entry.js} +1 -1
- package/dist/ionic/{p-fd0cb4ef.entry.js → p-cc35239f.entry.js} +1 -1
- package/dist/ionic/{p-4c8fceb0.entry.js → p-cd6bd33e.entry.js} +1 -1
- package/dist/ionic/p-cf05bb26.entry.js +4 -0
- package/dist/ionic/{p-2ca6eac2.system.entry.js → p-cf7d3a87.system.entry.js} +1 -1
- package/dist/ionic/p-d247bdc6.js +4 -0
- package/dist/ionic/{p-01503bbd.system.entry.js → p-d312edb3.system.entry.js} +1 -1
- package/dist/ionic/p-d32dc2ca.system.entry.js +4 -0
- package/dist/ionic/{p-68c4df55.entry.js → p-d52f8930.entry.js} +1 -1
- package/dist/ionic/{p-fcd71204.system.entry.js → p-d7bd9057.system.entry.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-dab508d0.system.js} +1 -1
- package/dist/ionic/{p-773d118d.entry.js → p-ddd6d918.entry.js} +1 -1
- package/dist/ionic/{p-ce705aac.system.entry.js → p-de6fd4fb.system.entry.js} +1 -1
- package/dist/ionic/p-df2f4a29.entry.js +4 -0
- package/dist/ionic/{p-9ece8dcf.entry.js → p-e00617fb.entry.js} +1 -1
- package/dist/ionic/p-e079f4f4.system.entry.js +4 -0
- package/dist/ionic/p-e35fa668.js +4 -0
- package/dist/ionic/p-e44c11d0.entry.js +4 -0
- package/dist/ionic/{p-af999a31.entry.js → p-e4f401d7.entry.js} +1 -1
- package/dist/ionic/p-e6867fc0.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-eae596b8.system.js} +1 -1
- package/dist/ionic/{p-25928b83.system.entry.js → p-eecf5384.system.entry.js} +1 -1
- package/dist/ionic/p-efd6e0d2.system.entry.js +4 -0
- package/dist/ionic/p-f0e951e5.system.entry.js +4 -0
- package/dist/ionic/{p-bd25d639.system.entry.js → p-f3bc485f.system.entry.js} +1 -1
- package/dist/ionic/{p-772dacba.system.entry.js → p-f41cce45.system.entry.js} +1 -1
- package/dist/ionic/p-f4a57fb7.js +4 -0
- package/dist/ionic/p-f7f11c42.js +4 -0
- package/dist/ionic/p-f8234ebd.js +4 -0
- package/dist/types/components/app/app.d.ts +0 -2
- package/dist/types/global/ionic-global.d.ts +2 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.d.ts +4 -4
- package/hydrate/index.js +155 -140
- package/hydrate/index.mjs +155 -140
- package/package.json +3 -3
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/components/index9.js +0 -167
- package/dist/cjs/hardware-back-button-9e8a2c4f.js +0 -122
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-d9a8bb5b.js +0 -237
- package/dist/esm/hardware-back-button-06ef3c3e.js +0 -116
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm/ionic-global-c81d82ab.js +0 -231
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/hardware-back-button-06ef3c3e.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/index-3ad7f18b.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-79b30591.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-fe1782b1.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
- package/dist/esm-es5/ios.transition-4ee1a3af.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-5106a0d2.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-9c75ec54.js +0 -4
- package/dist/esm-es5/status-tap-f472b09f.js +0 -4
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-0373d924.system.entry.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-05beda73.entry.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-0fa0c92b.entry.js +0 -4
- package/dist/ionic/p-100b83fd.system.entry.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-176b372f.entry.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-21cfd4de.entry.js +0 -4
- package/dist/ionic/p-21e5e7e4.js +0 -4
- package/dist/ionic/p-22c020db.system.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b7c93b4.entry.js +0 -4
- package/dist/ionic/p-2c4bdd9d.entry.js +0 -4
- package/dist/ionic/p-2ea1ca4f.system.entry.js +0 -4
- package/dist/ionic/p-3c968c7f.system.entry.js +0 -4
- package/dist/ionic/p-4b0fedb7.system.entry.js +0 -4
- package/dist/ionic/p-521eca2e.entry.js +0 -4
- package/dist/ionic/p-5417b9bb.entry.js +0 -4
- package/dist/ionic/p-5e66bcf2.entry.js +0 -4
- package/dist/ionic/p-69066a53.js +0 -4
- package/dist/ionic/p-6b8893dd.entry.js +0 -4
- package/dist/ionic/p-6d7931cc.system.entry.js +0 -4
- package/dist/ionic/p-7251fed5.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-755b27f0.system.entry.js +0 -4
- package/dist/ionic/p-75c0dc65.system.entry.js +0 -4
- package/dist/ionic/p-7740e32c.system.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7c50965e.entry.js +0 -4
- package/dist/ionic/p-8836d0eb.system.entry.js +0 -4
- package/dist/ionic/p-88e63c7d.js +0 -4
- package/dist/ionic/p-8b6232a6.system.entry.js +0 -4
- package/dist/ionic/p-8ed31163.system.entry.js +0 -4
- package/dist/ionic/p-95823c62.system.entry.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-98871496.system.js +0 -4
- package/dist/ionic/p-9c23044d.entry.js +0 -4
- package/dist/ionic/p-9cc3bcc5.system.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-9fef1364.entry.js +0 -4
- package/dist/ionic/p-a0c88dc2.system.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a3711608.system.entry.js +0 -4
- package/dist/ionic/p-a41699db.entry.js +0 -4
- package/dist/ionic/p-a440397c.js +0 -4
- package/dist/ionic/p-a4565eb5.system.js +0 -4
- package/dist/ionic/p-a4d51b8d.system.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-a72fb8a1.system.entry.js +0 -4
- package/dist/ionic/p-a90e2708.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-b0568945.system.entry.js +0 -4
- package/dist/ionic/p-b4c950f8.entry.js +0 -4
- package/dist/ionic/p-b54fc1ae.entry.js +0 -4
- package/dist/ionic/p-b7657e8d.entry.js +0 -4
- package/dist/ionic/p-baffaf8d.system.entry.js +0 -4
- package/dist/ionic/p-bfa2e81c.entry.js +0 -4
- package/dist/ionic/p-c34659b9.entry.js +0 -4
- package/dist/ionic/p-c45bd24c.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-cff5585e.system.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d6841eac.js +0 -4
- package/dist/ionic/p-d77e12ca.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-da263d8e.entry.js +0 -4
- package/dist/ionic/p-df83e308.system.entry.js +0 -4
- package/dist/ionic/p-e3a5da9d.entry.js +0 -4
- package/dist/ionic/p-e3f13b08.js +0 -4
- package/dist/ionic/p-ecb57d24.system.entry.js +0 -4
- package/dist/ionic/p-ecceeb90.js +0 -4
- package/dist/ionic/p-efaffe74.entry.js +0 -4
- package/dist/ionic/p-f1acf541.system.entry.js +0 -4
- package/dist/ionic/p-f50ae0d5.system.entry.js +0 -4
- package/dist/ionic/p-f9a53abb.system.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const ionicGlobal = require('./ionic-global-4503ea83.js');
|
|
7
7
|
const helpers = require('./helpers-afaa9001.js');
|
|
8
|
-
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
9
|
-
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
10
8
|
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
11
9
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
|
-
const index$1 = require('./index-5915f9b3.js');
|
|
13
10
|
|
|
14
11
|
/**
|
|
15
12
|
* This query string selects elements that
|
|
@@ -390,7 +387,7 @@ const connectListeners = (doc) => {
|
|
|
390
387
|
doc.addEventListener('ionBackButton', (ev) => {
|
|
391
388
|
const lastOverlay = getPresentedOverlay(doc);
|
|
392
389
|
if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
|
|
393
|
-
ev.detail.register(
|
|
390
|
+
ev.detail.register(ionicGlobal.OVERLAY_BACK_BUTTON_PRIORITY, () => {
|
|
394
391
|
/**
|
|
395
392
|
* Do not return this promise otherwise
|
|
396
393
|
* the hardware back button utility will
|
|
@@ -413,7 +410,7 @@ const connectListeners = (doc) => {
|
|
|
413
410
|
* this behavior will be handled via the ionBackButton
|
|
414
411
|
* event.
|
|
415
412
|
*/
|
|
416
|
-
if (!
|
|
413
|
+
if (!ionicGlobal.shouldUseCloseWatcher()) {
|
|
417
414
|
doc.addEventListener('keydown', (ev) => {
|
|
418
415
|
if (ev.key === 'Escape') {
|
|
419
416
|
const lastOverlay = getPresentedOverlay(doc);
|
|
@@ -601,7 +598,7 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
601
598
|
if (!overlay.presented) {
|
|
602
599
|
return false;
|
|
603
600
|
}
|
|
604
|
-
const lastOverlay =
|
|
601
|
+
const lastOverlay = ionicGlobal.doc !== undefined && getPresentedOverlays(ionicGlobal.doc).length === 1;
|
|
605
602
|
/**
|
|
606
603
|
* If this is the last visible overlay then
|
|
607
604
|
* we want to re-add the root to the accessibility tree.
|
|
@@ -827,7 +824,7 @@ const createTriggerController = () => {
|
|
|
827
824
|
removeClickListener();
|
|
828
825
|
const triggerEl = trigger !== undefined ? document.getElementById(trigger) : null;
|
|
829
826
|
if (!triggerEl) {
|
|
830
|
-
|
|
827
|
+
ionicGlobal.printIonWarning(`A trigger element with the ID "${trigger}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`, el);
|
|
831
828
|
return;
|
|
832
829
|
}
|
|
833
830
|
const configureTriggerInteraction = (targetEl, overlayEl) => {
|
|
@@ -858,9 +855,9 @@ const createTriggerController = () => {
|
|
|
858
855
|
*/
|
|
859
856
|
const hideOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
860
857
|
var _a;
|
|
861
|
-
if (
|
|
858
|
+
if (ionicGlobal.doc === undefined)
|
|
862
859
|
return;
|
|
863
|
-
const overlays = getPresentedOverlays(
|
|
860
|
+
const overlays = getPresentedOverlays(ionicGlobal.doc);
|
|
864
861
|
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
865
862
|
const presentedOverlay = overlays[i];
|
|
866
863
|
const nextPresentedOverlay = (_a = overlays[i + 1]) !== null && _a !== void 0 ? _a : newTopMostOverlay;
|
|
@@ -880,9 +877,9 @@ const hideOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
|
880
877
|
* focus is never automatically moved to the Toast.
|
|
881
878
|
*/
|
|
882
879
|
const revealOverlaysToScreenReaders = () => {
|
|
883
|
-
if (
|
|
880
|
+
if (ionicGlobal.doc === undefined)
|
|
884
881
|
return;
|
|
885
|
-
const overlays = getPresentedOverlays(
|
|
882
|
+
const overlays = getPresentedOverlays(ionicGlobal.doc);
|
|
886
883
|
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
887
884
|
const currentOverlay = overlays[i];
|
|
888
885
|
/**
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const index = require('./index-
|
|
7
|
-
const index$1 = require('./index-
|
|
6
|
+
const index = require('./index-b9e25ecd.js');
|
|
7
|
+
const index$1 = require('./index-b3550209.js');
|
|
8
8
|
const helpers = require('./helpers-afaa9001.js');
|
|
9
|
-
require('./
|
|
9
|
+
require('./ionic-global-4503ea83.js');
|
|
10
10
|
|
|
11
11
|
const startStatusTap = () => {
|
|
12
12
|
const win = window;
|
|
@@ -1,53 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { printIonWarning } from "../../utils/logging/index";
|
|
7
|
-
import { isPlatform } from "../../utils/platform";
|
|
4
|
+
import { Host, h } from "@stencil/core";
|
|
5
|
+
import { initFocusVisibleUtility } from "../../utils/focus-visible";
|
|
8
6
|
import { config } from "../../global/config";
|
|
9
7
|
import { getIonMode } from "../../global/ionic-global";
|
|
10
8
|
export class App {
|
|
11
|
-
componentDidLoad() {
|
|
12
|
-
if (Build.isBrowser) {
|
|
13
|
-
rIC(async () => {
|
|
14
|
-
const isHybrid = isPlatform(window, 'hybrid');
|
|
15
|
-
if (!config.getBoolean('_testing')) {
|
|
16
|
-
import('../../utils/tap-click').then((module) => module.startTapClick(config));
|
|
17
|
-
}
|
|
18
|
-
if (config.getBoolean('statusTap', isHybrid)) {
|
|
19
|
-
import('../../utils/status-tap').then((module) => module.startStatusTap());
|
|
20
|
-
}
|
|
21
|
-
if (config.getBoolean('inputShims', needInputShims())) {
|
|
22
|
-
/**
|
|
23
|
-
* needInputShims() ensures that only iOS and Android
|
|
24
|
-
* platforms proceed into this block.
|
|
25
|
-
*/
|
|
26
|
-
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
27
|
-
import('../../utils/input-shims/input-shims').then((module) => module.startInputShims(config, platform));
|
|
28
|
-
}
|
|
29
|
-
const hardwareBackButtonModule = await import('../../utils/hardware-back-button');
|
|
30
|
-
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
31
|
-
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
32
|
-
hardwareBackButtonModule.startHardwareBackButton();
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
/**
|
|
36
|
-
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
37
|
-
* then the close watcher will not be used.
|
|
38
|
-
*/
|
|
39
|
-
if (shouldUseCloseWatcher()) {
|
|
40
|
-
printIonWarning('experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.');
|
|
41
|
-
}
|
|
42
|
-
hardwareBackButtonModule.blockHardwareBackButton();
|
|
43
|
-
}
|
|
44
|
-
if (typeof window !== 'undefined') {
|
|
45
|
-
import('../../utils/keyboard/keyboard').then((module) => module.startKeyboardAssist(window));
|
|
46
|
-
}
|
|
47
|
-
import('../../utils/focus-visible').then((module) => (this.focusVisible = module.startFocusVisible()));
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
9
|
/**
|
|
52
10
|
* @internal
|
|
53
11
|
* Used to set focus on an element that uses `ion-focusable`.
|
|
@@ -59,13 +17,12 @@ export class App {
|
|
|
59
17
|
* presented as a result of keyboard action.)
|
|
60
18
|
*/
|
|
61
19
|
async setFocus(elements) {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
20
|
+
const focusVisible = initFocusVisibleUtility();
|
|
21
|
+
focusVisible.setFocus(elements);
|
|
65
22
|
}
|
|
66
23
|
render() {
|
|
67
24
|
const mode = getIonMode(this);
|
|
68
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'b4132f59a7b043db8f7d178a81e7fec6eb1cb0d7', class: {
|
|
69
26
|
[mode]: true,
|
|
70
27
|
'ion-page': true,
|
|
71
28
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -116,30 +73,3 @@ export class App {
|
|
|
116
73
|
}
|
|
117
74
|
static get elementRef() { return "el"; }
|
|
118
75
|
}
|
|
119
|
-
const needInputShims = () => {
|
|
120
|
-
/**
|
|
121
|
-
* iOS always needs input shims
|
|
122
|
-
*/
|
|
123
|
-
const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');
|
|
124
|
-
if (needsShimsIOS) {
|
|
125
|
-
return true;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Android only needs input shims when running
|
|
129
|
-
* in the browser and only if the browser is using the
|
|
130
|
-
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
131
|
-
*/
|
|
132
|
-
const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');
|
|
133
|
-
if (isAndroidMobileWeb) {
|
|
134
|
-
return true;
|
|
135
|
-
}
|
|
136
|
-
return false;
|
|
137
|
-
};
|
|
138
|
-
const rIC = (callback) => {
|
|
139
|
-
if ('requestIdleCallback' in window) {
|
|
140
|
-
window.requestIdleCallback(callback);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
setTimeout(callback, 32);
|
|
144
|
-
}
|
|
145
|
-
};
|
|
@@ -489,7 +489,7 @@ export class Input {
|
|
|
489
489
|
"mutable": false,
|
|
490
490
|
"complexType": {
|
|
491
491
|
"original": "AutocompleteTypes",
|
|
492
|
-
"resolved": "\"name\" | \"
|
|
492
|
+
"resolved": "\"name\" | \"url\" | \"off\" | \"on\" | \"additional-name\" | \"address-level1\" | \"address-level2\" | \"address-level3\" | \"address-level4\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"cc-csc\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-family-name\" | \"cc-given-name\" | \"cc-name\" | \"cc-number\" | \"cc-type\" | \"country\" | \"country-name\" | \"current-password\" | \"family-name\" | \"given-name\" | \"honorific-prefix\" | \"honorific-suffix\" | \"new-password\" | \"one-time-code\" | \"organization\" | \"postal-code\" | \"street-address\" | \"transaction-amount\" | \"transaction-currency\" | \"username\" | \"email\" | \"tel\" | \"tel-area-code\" | \"tel-country-code\" | \"tel-extension\" | \"tel-local\" | \"tel-national\" | \"nickname\" | \"organization-title\" | \"cc-additional-name\" | \"language\" | \"bday\" | \"sex\" | \"impp\" | \"photo\"",
|
|
493
493
|
"references": {
|
|
494
494
|
"AutocompleteTypes": {
|
|
495
495
|
"location": "import",
|
|
@@ -478,7 +478,7 @@ export class Searchbar {
|
|
|
478
478
|
"mutable": false,
|
|
479
479
|
"complexType": {
|
|
480
480
|
"original": "AutocompleteTypes",
|
|
481
|
-
"resolved": "\"name\" | \"
|
|
481
|
+
"resolved": "\"name\" | \"url\" | \"off\" | \"on\" | \"additional-name\" | \"address-level1\" | \"address-level2\" | \"address-level3\" | \"address-level4\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"cc-csc\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-family-name\" | \"cc-given-name\" | \"cc-name\" | \"cc-number\" | \"cc-type\" | \"country\" | \"country-name\" | \"current-password\" | \"family-name\" | \"given-name\" | \"honorific-prefix\" | \"honorific-suffix\" | \"new-password\" | \"one-time-code\" | \"organization\" | \"postal-code\" | \"street-address\" | \"transaction-amount\" | \"transaction-currency\" | \"username\" | \"email\" | \"tel\" | \"tel-area-code\" | \"tel-country-code\" | \"tel-extension\" | \"tel-local\" | \"tel-national\" | \"nickname\" | \"organization-title\" | \"cc-additional-name\" | \"language\" | \"bday\" | \"sex\" | \"impp\" | \"photo\"",
|
|
482
482
|
"references": {
|
|
483
483
|
"AutocompleteTypes": {
|
|
484
484
|
"location": "import",
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { getMode, setMode, setPlatformHelpers } from "@stencil/core";
|
|
4
|
+
import { Build, getMode, setMode, setPlatformHelpers } from "@stencil/core";
|
|
5
|
+
import { shouldUseCloseWatcher } from "../utils/hardware-back-button";
|
|
6
|
+
import { printIonWarning } from "../utils/logging";
|
|
5
7
|
import { isPlatform, setupPlatforms } from "../utils/platform";
|
|
6
8
|
import { config, configFromSession, configFromURL, saveConfig } from "./config";
|
|
7
9
|
// TODO(FW-2832): types
|
|
@@ -9,6 +11,33 @@ let defaultMode;
|
|
|
9
11
|
export const getIonMode = (ref) => {
|
|
10
12
|
return (ref && getMode(ref)) || defaultMode;
|
|
11
13
|
};
|
|
14
|
+
export const rIC = (callback) => {
|
|
15
|
+
if ('requestIdleCallback' in window) {
|
|
16
|
+
window.requestIdleCallback(callback);
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
setTimeout(callback, 32);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export const needInputShims = () => {
|
|
23
|
+
/**
|
|
24
|
+
* iOS always needs input shims
|
|
25
|
+
*/
|
|
26
|
+
const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');
|
|
27
|
+
if (needsShimsIOS) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Android only needs input shims when running
|
|
32
|
+
* in the browser and only if the browser is using the
|
|
33
|
+
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
34
|
+
*/
|
|
35
|
+
const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');
|
|
36
|
+
if (isAndroidMobileWeb) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
};
|
|
12
41
|
export const initialize = (userConfig = {}) => {
|
|
13
42
|
if (typeof window === 'undefined') {
|
|
14
43
|
return;
|
|
@@ -64,5 +93,45 @@ export const initialize = (userConfig = {}) => {
|
|
|
64
93
|
}
|
|
65
94
|
return defaultMode;
|
|
66
95
|
});
|
|
96
|
+
// `IonApp` code
|
|
97
|
+
// ----------------------------------------------
|
|
98
|
+
if (Build.isBrowser) {
|
|
99
|
+
rIC(async () => {
|
|
100
|
+
const isHybrid = isPlatform(window, 'hybrid');
|
|
101
|
+
if (!config.getBoolean('_testing')) {
|
|
102
|
+
import('../utils/tap-click').then((module) => module.startTapClick(config));
|
|
103
|
+
}
|
|
104
|
+
if (config.getBoolean('statusTap', isHybrid)) {
|
|
105
|
+
import('../utils/status-tap').then((module) => module.startStatusTap());
|
|
106
|
+
}
|
|
107
|
+
if (config.getBoolean('inputShims', needInputShims())) {
|
|
108
|
+
/**
|
|
109
|
+
* needInputShims() ensures that only iOS and Android
|
|
110
|
+
* platforms proceed into this block.
|
|
111
|
+
*/
|
|
112
|
+
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
113
|
+
import('../utils/input-shims/input-shims').then((module) => module.startInputShims(config, platform));
|
|
114
|
+
}
|
|
115
|
+
const hardwareBackButtonModule = await import('../utils/hardware-back-button');
|
|
116
|
+
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
117
|
+
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
118
|
+
hardwareBackButtonModule.startHardwareBackButton();
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
/**
|
|
122
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
123
|
+
* then the close watcher will not be used.
|
|
124
|
+
*/
|
|
125
|
+
if (shouldUseCloseWatcher()) {
|
|
126
|
+
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.');
|
|
127
|
+
}
|
|
128
|
+
hardwareBackButtonModule.blockHardwareBackButton();
|
|
129
|
+
}
|
|
130
|
+
if (typeof window !== 'undefined') {
|
|
131
|
+
import('../utils/keyboard/keyboard').then((module) => module.startKeyboardAssist(window));
|
|
132
|
+
}
|
|
133
|
+
import('../utils/focus-visible').then((module) => (module.initFocusVisibleUtility()));
|
|
134
|
+
});
|
|
135
|
+
}
|
|
67
136
|
};
|
|
68
137
|
export default initialize;
|
|
@@ -17,6 +17,13 @@ const FOCUS_KEYS = [
|
|
|
17
17
|
'Home',
|
|
18
18
|
'End',
|
|
19
19
|
];
|
|
20
|
+
let focusVisibleUtility = null;
|
|
21
|
+
export const initFocusVisibleUtility = () => {
|
|
22
|
+
if (!focusVisibleUtility) {
|
|
23
|
+
focusVisibleUtility = startFocusVisible();
|
|
24
|
+
}
|
|
25
|
+
return focusVisibleUtility;
|
|
26
|
+
};
|
|
20
27
|
export const startFocusVisible = (rootEl) => {
|
|
21
28
|
let currentFocus = [];
|
|
22
29
|
let keyboardMode = true;
|