@ionic/core 8.3.2-dev.11729014526.1ab61c12 → 8.3.2-dev.11729166111.115d6104
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 +2 -1
- 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/config2.js +79 -0
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -1
- package/components/index4.js +1 -3
- package/components/index5.js +27 -3
- package/components/index6.js +124 -27
- package/components/index7.js +150 -111
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +5 -5
- package/components/ion-accordion.js +11 -14
- package/components/ion-app.js +7 -74
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +3 -2
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +3 -2
- 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 +7 -5
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +3 -2
- package/components/ion-fab-button.js +3 -2
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +7 -5
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +8 -6
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -1
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +3 -2
- 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 +2 -1
- package/components/ion-menu-button.js +3 -2
- 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 +2 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +2 -1
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +3 -2
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +3 -2
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +2 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -2
- 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 +3 -2
- package/components/ion-skeleton-text.js +2 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +2 -1
- 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 +2 -2
- package/components/ion-toggle.js +3 -2
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +189 -76
- package/components/item.js +6 -5
- package/components/keyboard-controller.js +4 -2
- 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 +1 -2
- 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 +2 -1
- package/components/status-tap.js +1 -1
- package/css/ionic/bundle.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.css.map +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-232e0c8f.js} +2 -2
- package/dist/cjs/{app-globals-38bbc401.js → app-globals-0189a70c.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-41228dbf.js} +4 -4
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-806e7fee.js} +3 -3
- package/dist/cjs/{index-73f75efb.js → config-1349d5b4.js} +79 -0
- package/dist/cjs/{data-b3a1a686.js → data-cad5d489.js} +1 -1
- package/dist/{esm/focus-visible-dd40d69f.js → cjs/focus-visible-9aa87fa3.js} +11 -1
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-cf116b1d.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-f0cad9a6.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-e75eb909.js} +4 -1
- package/dist/cjs/{index-2fa32189.js → index-1d02518d.js} +2 -2
- package/dist/cjs/{index-9509ecad.js → index-2c8b42cd.js} +8 -7
- package/dist/cjs/{index-694a3808.js → index-3ac79a1b.js} +10 -10
- package/dist/cjs/{index-ed0f67a3.js → index-71085796.js} +5 -7
- package/dist/cjs/index.cjs.js +10 -12
- package/dist/cjs/{input-shims-ab680ecf.js → input-shims-2958dcc9.js} +17 -18
- package/dist/cjs/{input.utils-44ff82f0.js → input.utils-ed749ecb.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +28 -32
- package/dist/cjs/ion-action-sheet.cjs.entry.js +23 -25
- package/dist/cjs/ion-alert.cjs.entry.js +33 -35
- package/dist/cjs/ion-app_8.cjs.entry.js +84 -150
- 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 +89 -91
- 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 +27 -28
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +43 -43
- package/dist/cjs/ion-loading.cjs.entry.js +23 -25
- package/dist/cjs/ion-menu_3.cjs.entry.js +37 -39
- package/dist/cjs/ion-modal.cjs.entry.js +48 -50
- 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 +13 -14
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +22 -24
- 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 +46 -47
- package/dist/cjs/ion-reorder_2.cjs.entry.js +20 -21
- 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 +30 -30
- package/dist/cjs/ion-segment_2.cjs.entry.js +17 -17
- package/dist/cjs/ion-select_3.cjs.entry.js +43 -45
- 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 +18 -19
- 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 +23 -24
- package/dist/cjs/ion-toast.cjs.entry.js +29 -31
- package/dist/cjs/ion-toggle.cjs.entry.js +24 -25
- package/dist/cjs/{ionic-global-5df85d73.js → ionic-global-3647b9f5.js} +205 -89
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-7574ba71.js → ios.transition-4411892c.js} +5 -6
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-020444ad.js} +11 -9
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-e0062bfc.js} +4 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-ed6e1327.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-d9d90911.js → md.transition-261f9f67.js} +5 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-70ad2323.js} +4 -4
- package/dist/cjs/{overlays-faf6f843.js → overlays-22320753.js} +17 -17
- package/dist/cjs/{status-tap-28780caa.js → status-tap-cfc7f9a5.js} +8 -8
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-ecdf1cf5.js} +2 -1
- package/dist/collection/components/accordion/accordion.ionic.css +203 -0
- package/dist/collection/components/accordion/accordion.ios.css +61 -58
- package/dist/collection/components/accordion/accordion.js +6 -10
- package/dist/collection/components/accordion/accordion.md.css +61 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +83 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -4
- package/dist/collection/components/accordion-group/accordion-group.js +4 -4
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -4
- package/dist/collection/components/app/app.js +5 -75
- package/dist/collection/components/content/content.js +6 -4
- package/dist/collection/components/footer/footer.js +5 -3
- package/dist/collection/components/header/header.js +6 -4
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/item/item.ionic.css +2 -0
- package/dist/collection/components/item/item.ios.css +1 -0
- package/dist/collection/components/item/item.md.css +1 -0
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/global/ionic-global.js +69 -1
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/helpers.js +3 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/overlays.js +2 -1
- package/dist/docs.json +107 -107
- package/dist/esm/{animation-eab5a4ca.js → animation-16546c84.js} +1 -1
- package/dist/esm/{app-globals-c45950ba.js → app-globals-35381e66.js} +1 -1
- package/dist/esm/{button-active-873732e5.js → button-active-c768aceb.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-0897b83c.js} +1 -1
- package/dist/esm/{index-723c0e5d.js → config-0b6b1b3d.js} +76 -1
- package/dist/esm/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/{cjs/focus-visible-7a0ce04f.js → esm/focus-visible-501aff19.js} +8 -3
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-56698eb0.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-d57f52c8.js} +4 -1
- package/{components/index8.js → dist/esm/index-7f65e865.js} +3 -2
- package/dist/esm/{index-2d8b49ae.js → index-82405a4a.js} +3 -5
- package/dist/esm/{index-29be96b3.js → index-edf94b3b.js} +5 -5
- package/dist/esm/{index-56cab0d6.js → index-f8ad386a.js} +2 -2
- package/dist/esm/index.js +10 -12
- package/dist/esm/{input-shims-59f93016.js → input-shims-0f3cc1c3.js} +6 -7
- package/dist/esm/{input.utils-8755322f.js → input.utils-ef4d8197.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +15 -19
- package/dist/esm/ion-action-sheet.entry.js +9 -11
- package/dist/esm/ion-alert.entry.js +9 -11
- package/dist/esm/ion-app_8.entry.js +28 -94
- 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 +10 -12
- 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 +5 -6
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +6 -6
- package/dist/esm/ion-loading.entry.js +6 -8
- package/dist/esm/ion-menu_3.entry.js +7 -9
- package/dist/esm/ion-modal.entry.js +11 -13
- 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 +5 -6
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -9
- 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 +7 -8
- package/dist/esm/ion-reorder_2.entry.js +6 -7
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +6 -8
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -7
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +5 -6
- package/dist/esm/ion-toast.entry.js +6 -8
- package/dist/esm/ion-toggle.entry.js +5 -6
- package/dist/esm/{ionic-global-a8cbb8b0.js → ionic-global-d7017fd9.js} +184 -72
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4706aa28.js → ios.transition-4b9fe79e.js} +5 -6
- package/dist/esm/{keyboard-52278bd7.js → keyboard-584d2e6f.js} +4 -3
- package/dist/esm/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-9c9c2301.js} +5 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-20ad6960.js → md.transition-a71dc418.js} +5 -6
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-4d9a7b28.js} +2 -2
- package/dist/esm/{overlays-40e86f77.js → overlays-9da9aef5.js} +6 -6
- package/dist/esm/{status-tap-0433b6a6.js → status-tap-82f51b25.js} +4 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-c5709ce5.js} +2 -1
- package/dist/esm-es5/animation-16546c84.js +4 -0
- package/dist/esm-es5/app-globals-35381e66.js +4 -0
- package/dist/esm-es5/button-active-c768aceb.js +4 -0
- package/dist/esm-es5/capacitor-0897b83c.js +4 -0
- package/dist/esm-es5/{index-723c0e5d.js → config-0b6b1b3d.js} +2 -2
- package/dist/esm-es5/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-56698eb0.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm-es5/helpers-d57f52c8.js +4 -0
- package/dist/esm-es5/index-7f65e865.js +4 -0
- package/dist/esm-es5/index-82405a4a.js +4 -0
- package/dist/esm-es5/index-edf94b3b.js +4 -0
- package/dist/esm-es5/{index-56cab0d6.js → index-f8ad386a.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0f3cc1c3.js +4 -0
- package/dist/esm-es5/input.utils-ef4d8197.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-d7017fd9.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4b9fe79e.js +4 -0
- package/dist/esm-es5/keyboard-584d2e6f.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-a71dc418.js +4 -0
- package/dist/esm-es5/notch-controller-4d9a7b28.js +4 -0
- package/dist/esm-es5/overlays-9da9aef5.js +4 -0
- package/dist/esm-es5/status-tap-82f51b25.js +4 -0
- package/dist/esm-es5/swipe-back-c5709ce5.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-027d729e.entry.js +4 -0
- package/dist/ionic/p-036e1c5b.entry.js +4 -0
- package/dist/ionic/{p-8285d686.system.entry.js → p-0695a0af.system.entry.js} +1 -1
- package/dist/ionic/p-08df90cf.system.js +4 -0
- package/dist/ionic/p-08f1ef0c.entry.js +4 -0
- package/dist/ionic/{p-eef611dc.system.entry.js → p-093de343.system.entry.js} +1 -1
- package/dist/ionic/{p-d3fd2c98.entry.js → p-0a701833.entry.js} +1 -1
- package/dist/ionic/{p-0b120b1d.js → p-0a820472.js} +1 -1
- package/dist/ionic/p-0ade0499.system.entry.js +4 -0
- package/dist/ionic/p-1037b7dd.js +4 -0
- package/dist/ionic/{p-26313905.system.entry.js → p-11915ee9.system.entry.js} +1 -1
- package/dist/ionic/p-12e3e308.entry.js +4 -0
- package/dist/ionic/p-14719a77.entry.js +4 -0
- package/dist/ionic/p-15d51b10.js +4 -0
- package/dist/ionic/p-221e5078.system.js +4 -0
- package/dist/ionic/p-25e2c98f.system.js +4 -0
- package/dist/ionic/p-26f7c080.system.js +4 -0
- package/dist/ionic/p-28d04212.system.js +4 -0
- package/dist/ionic/{p-cde755fc.system.entry.js → p-291dc0b3.system.entry.js} +1 -1
- package/dist/ionic/p-29d6d1fc.system.entry.js +4 -0
- package/dist/ionic/p-2a559ac6.js +4 -0
- package/dist/ionic/p-2a79e451.entry.js +4 -0
- package/dist/ionic/p-2b428cf6.entry.js +4 -0
- package/dist/ionic/{p-d878447e.entry.js → p-2c368e32.entry.js} +1 -1
- package/dist/ionic/{p-a4519424.system.js → p-2c5d7d84.system.js} +1 -1
- package/dist/ionic/p-2d621d56.system.entry.js +4 -0
- package/dist/ionic/{p-6b6ee9ca.system.entry.js → p-2da8c20c.system.entry.js} +1 -1
- package/dist/ionic/p-334c09da.entry.js +4 -0
- package/dist/ionic/p-33a1d951.system.entry.js +4 -0
- package/dist/ionic/p-36bdcfc4.js +4 -0
- package/dist/ionic/p-388ac217.js +4 -0
- package/dist/ionic/{p-727aa804.system.entry.js → p-39c02066.system.entry.js} +1 -1
- package/dist/ionic/{p-c4ae4d32.system.js → p-3a11234f.system.js} +1 -1
- package/dist/ionic/{p-4ccbf702.system.js → p-3bfe43bc.system.js} +1 -1
- package/dist/ionic/p-3c24f9f2.entry.js +4 -0
- package/dist/ionic/p-3ca5196c.js +4 -0
- package/dist/ionic/{p-35b66bbc.system.entry.js → p-3d9cad0b.system.entry.js} +1 -1
- package/dist/ionic/{p-5a583b1a.entry.js → p-413a936c.entry.js} +1 -1
- package/dist/ionic/p-419fac38.entry.js +4 -0
- package/dist/ionic/p-434c7348.system.entry.js +4 -0
- package/dist/ionic/p-45e150eb.js +4 -0
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-46cc2492.system.js +4 -0
- package/dist/ionic/{p-77c3fe69.entry.js → p-49a3fc76.entry.js} +1 -1
- package/dist/ionic/{p-e5333f3f.entry.js → p-49d80815.entry.js} +1 -1
- package/dist/ionic/{p-854b1e11.system.entry.js → p-4a9b61ed.system.entry.js} +1 -1
- package/dist/ionic/{p-b6d72f12.entry.js → p-4b153a9f.entry.js} +1 -1
- package/dist/ionic/p-4c251d59.entry.js +4 -0
- package/dist/ionic/{p-10dacd80.entry.js → p-4d000ec5.entry.js} +1 -1
- package/dist/ionic/p-4e202665.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-4ed7dfdb.js} +1 -1
- package/dist/ionic/p-4feea938.entry.js +4 -0
- package/dist/ionic/p-501ae197.system.entry.js +4 -0
- package/dist/ionic/p-50feac01.system.entry.js +4 -0
- package/dist/ionic/p-521ef3a2.entry.js +4 -0
- package/dist/ionic/p-5430a9da.system.entry.js +4 -0
- package/dist/ionic/{p-4de02483.entry.js → p-5468bfbf.entry.js} +1 -1
- package/dist/ionic/p-5655419d.system.entry.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-61a51379.system.js} +1 -1
- package/dist/ionic/p-643e2eb8.js +4 -0
- package/dist/ionic/{p-12299223.system.entry.js → p-64a3567c.system.entry.js} +1 -1
- package/dist/ionic/p-660f3b98.entry.js +4 -0
- package/dist/ionic/{p-d05aabdf.system.entry.js → p-68f3fa48.system.entry.js} +2 -2
- package/dist/ionic/{p-bd7fb7b4.js → p-69e54172.js} +1 -1
- package/dist/ionic/p-6ad6d594.js +4 -0
- package/dist/ionic/p-6d240f1a.entry.js +4 -0
- package/dist/ionic/{p-82028c01.system.entry.js → p-6d9e1887.system.entry.js} +1 -1
- package/dist/ionic/{p-f3cfb48a.entry.js → p-6ecebfc6.entry.js} +1 -1
- package/dist/ionic/{p-c32229bb.system.entry.js → p-6f8c2e62.system.entry.js} +1 -1
- package/dist/ionic/p-70c6cd75.system.js +4 -0
- package/dist/ionic/{p-5cc80c49.system.js → p-71e8ffdd.system.js} +1 -1
- package/dist/ionic/{p-6c555957.system.entry.js → p-726b9197.system.entry.js} +1 -1
- package/dist/ionic/{p-ce5c2902.system.js → p-73e32456.system.js} +1 -1
- package/dist/ionic/{p-9146695e.system.js → p-747e9c9a.system.js} +1 -1
- package/dist/ionic/p-7cdc6bce.entry.js +4 -0
- package/dist/ionic/p-7ebc381e.entry.js +4 -0
- package/dist/ionic/{p-e34e037d.system.entry.js → p-80342c88.system.entry.js} +1 -1
- package/dist/ionic/p-8421aedf.js +4 -0
- package/dist/ionic/{p-927b5898.entry.js → p-846dd10a.entry.js} +1 -1
- package/dist/ionic/p-90089868.system.entry.js +4 -0
- package/dist/ionic/{p-19c89aeb.system.entry.js → p-9152f6a3.system.entry.js} +1 -1
- package/dist/ionic/{p-48cd1ced.entry.js → p-92b48263.entry.js} +1 -1
- package/dist/ionic/p-931dc464.entry.js +4 -0
- package/dist/ionic/p-95e22fa9.entry.js +4 -0
- package/dist/ionic/{p-e259208f.entry.js → p-9a9eb866.entry.js} +1 -1
- package/dist/ionic/p-9c526519.entry.js +4 -0
- package/dist/ionic/p-9e4ede77.system.entry.js +4 -0
- package/dist/ionic/p-9e8e25e4.system.js +4 -0
- package/dist/ionic/p-9e9bff83.system.js +4 -0
- package/dist/ionic/p-9f51595b.entry.js +4 -0
- package/dist/ionic/{p-3efc5d47.system.entry.js → p-a65fe34d.system.entry.js} +1 -1
- package/dist/ionic/p-a6aaef61.system.entry.js +4 -0
- package/dist/ionic/p-a856dbc6.entry.js +4 -0
- package/dist/ionic/{p-83948e48.js → p-a9fd9d48.js} +2 -2
- package/dist/ionic/p-aacc6ddd.system.js +5 -0
- package/dist/ionic/{p-bcfa9bb5.system.entry.js → p-ab6e0f02.system.entry.js} +1 -1
- package/dist/ionic/{p-bef12497.entry.js → p-ac64cba5.entry.js} +1 -1
- package/dist/ionic/p-adaa7af1.entry.js +4 -0
- package/dist/ionic/p-adec897a.system.entry.js +4 -0
- package/dist/ionic/p-b0e10591.entry.js +4 -0
- package/dist/ionic/{p-46f790b3.entry.js → p-b14c601a.entry.js} +1 -1
- package/dist/ionic/p-b19a9aa9.system.js +4 -0
- package/dist/ionic/p-b297c7b5.system.js +4 -0
- package/dist/ionic/{p-d6eda1bb.system.entry.js → p-b6fc8ee2.system.entry.js} +1 -1
- package/dist/ionic/{p-89b61afc.js → p-b9b36d56.js} +1 -1
- package/dist/ionic/p-ba3ddec4.js +4 -0
- package/dist/ionic/{p-9c8e5275.system.entry.js → p-bd50f24e.system.entry.js} +1 -1
- package/dist/ionic/{p-db63907a.system.entry.js → p-c2a4c5c5.system.entry.js} +1 -1
- package/dist/ionic/p-c6191942.js +4 -0
- package/dist/ionic/p-c6e47379.entry.js +4 -0
- package/dist/ionic/p-c7e967c0.system.entry.js +4 -0
- package/dist/ionic/p-c8097757.system.entry.js +4 -0
- package/dist/ionic/p-c8a54d29.system.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-c9ef0ca7.system.js} +1 -1
- package/dist/ionic/p-cb131dda.system.entry.js +4 -0
- package/dist/ionic/{p-ca3bf740.system.entry.js → p-cb8800fe.system.entry.js} +1 -1
- package/dist/ionic/p-cf2f1ede.entry.js +4 -0
- package/dist/ionic/p-d0259f44.system.js +4 -0
- package/dist/ionic/{p-bf673222.system.entry.js → p-d085c881.system.entry.js} +1 -1
- package/dist/ionic/p-d0953ec9.system.entry.js +4 -0
- package/dist/ionic/{p-cb3dc48f.entry.js → p-d0b7fe70.entry.js} +1 -1
- package/dist/ionic/p-d10313a6.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-d1e991c3.js} +1 -1
- package/dist/ionic/p-d2a55f0a.system.entry.js +4 -0
- package/dist/ionic/p-d2ef848a.entry.js +4 -0
- package/dist/ionic/{p-f4ad1cf6.system.entry.js → p-d346c889.system.entry.js} +1 -1
- package/dist/ionic/{p-f7712c17.system.js → p-d8339079.system.js} +1 -1
- package/dist/ionic/{p-1fd1d157.system.js → p-d9e1c48c.system.js} +1 -1
- package/dist/ionic/{p-44c281df.entry.js → p-da968066.entry.js} +1 -1
- package/dist/ionic/p-db8aeb40.system.js +4 -0
- package/dist/ionic/{p-5771eacd.js → p-dbfc5db6.js} +1 -1
- package/dist/ionic/p-dd50ef12.js +4 -0
- package/dist/ionic/p-e270862e.js +4 -0
- package/dist/ionic/{p-dfd995cc.system.entry.js → p-e5239905.system.entry.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-e61e3bb4.system.js} +1 -1
- package/dist/ionic/p-e7546060.entry.js +4 -0
- package/dist/ionic/p-e9f8aa95.entry.js +4 -0
- package/dist/ionic/p-eb376af4.entry.js +4 -0
- package/dist/ionic/{p-dde3a646.entry.js → p-eeb60a8f.entry.js} +1 -1
- package/dist/ionic/p-f065578f.js +4 -0
- package/dist/ionic/{p-614d974e.system.entry.js → p-f41914c0.system.entry.js} +1 -1
- package/dist/ionic/p-f4ae533b.js +4 -0
- package/dist/ionic/p-f61ce679.js +4 -0
- package/dist/ionic/p-f63f81aa.system.entry.js +4 -0
- package/dist/ionic/{p-7986665a.system.entry.js → p-f670192b.system.entry.js} +1 -1
- package/dist/ionic/{p-a93873de.system.js → p-f8e329da.system.js} +1 -1
- package/dist/ionic/{p-6ca5f4da.system.entry.js → p-fac985b6.system.entry.js} +1 -1
- package/dist/ionic/{p-e61c9280.entry.js → p-fbcb3139.entry.js} +1 -1
- package/dist/ionic/{p-0328213e.system.entry.js → p-fbcf9790.system.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/app/app.d.ts +0 -2
- package/dist/types/global/ionic-global.d.ts +2 -0
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.js +207 -201
- package/hydrate/index.mjs +207 -201
- package/package.json +1 -1
- package/components/hardware-back-button.js +0 -115
- package/dist/cjs/hardware-back-button-d37054f2.js +0 -122
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/esm/hardware-back-button-2bb5194f.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-c45950ba.js +0 -4
- package/dist/esm-es5/button-active-873732e5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-63d1a679.js +0 -4
- package/dist/esm-es5/hardware-back-button-2bb5194f.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-29be96b3.js +0 -4
- package/dist/esm-es5/index-2d8b49ae.js +0 -4
- package/dist/esm-es5/index-79b30591.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/input-shims-59f93016.js +0 -4
- package/dist/esm-es5/input.utils-8755322f.js +0 -4
- package/dist/esm-es5/ionic-global-a8cbb8b0.js +0 -4
- package/dist/esm-es5/ios.transition-4706aa28.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-20ad6960.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-40e86f77.js +0 -4
- package/dist/esm-es5/status-tap-0433b6a6.js +0 -4
- package/dist/esm-es5/swipe-back-e5394307.js +0 -4
- package/dist/ionic/p-00093fc0.entry.js +0 -4
- package/dist/ionic/p-0bfbe380.js +0 -4
- package/dist/ionic/p-0c9a7872.system.entry.js +0 -4
- package/dist/ionic/p-0cd67533.js +0 -4
- package/dist/ionic/p-0d86eb56.system.entry.js +0 -4
- package/dist/ionic/p-0d945ebd.entry.js +0 -4
- package/dist/ionic/p-0fa218e9.system.js +0 -5
- package/dist/ionic/p-0fd7a8cb.system.entry.js +0 -4
- package/dist/ionic/p-175821bc.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1f6507e4.entry.js +0 -4
- package/dist/ionic/p-1f7b26cc.entry.js +0 -4
- package/dist/ionic/p-2282c878.system.entry.js +0 -4
- package/dist/ionic/p-27bb59a9.system.entry.js +0 -4
- package/dist/ionic/p-28be0cf9.js +0 -4
- package/dist/ionic/p-2a844e7c.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b98e44b.system.entry.js +0 -4
- package/dist/ionic/p-2fd3e890.system.entry.js +0 -4
- package/dist/ionic/p-30c8168f.system.entry.js +0 -4
- package/dist/ionic/p-3281aaeb.entry.js +0 -4
- package/dist/ionic/p-32f4a0b9.entry.js +0 -4
- package/dist/ionic/p-34b11c24.js +0 -4
- package/dist/ionic/p-36db29d9.system.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3c1b93db.system.entry.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-3dfa54e6.js +0 -4
- package/dist/ionic/p-432e6521.system.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4c38fcdd.system.js +0 -4
- package/dist/ionic/p-4e6c9480.system.entry.js +0 -4
- package/dist/ionic/p-4e7c68a5.entry.js +0 -4
- package/dist/ionic/p-5c766439.entry.js +0 -4
- package/dist/ionic/p-5c8fa89d.system.js +0 -4
- package/dist/ionic/p-614c3822.system.js +0 -4
- package/dist/ionic/p-62836b01.js +0 -4
- package/dist/ionic/p-63fe75bc.js +0 -4
- package/dist/ionic/p-664480c8.system.entry.js +0 -4
- package/dist/ionic/p-6d7c455f.js +0 -4
- package/dist/ionic/p-6f418011.system.entry.js +0 -4
- package/dist/ionic/p-713374f2.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-737d64f9.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b341352.js +0 -4
- package/dist/ionic/p-7c9d5354.entry.js +0 -4
- package/dist/ionic/p-7ccf7f29.entry.js +0 -4
- package/dist/ionic/p-7dfa7ebc.entry.js +0 -4
- package/dist/ionic/p-80ff4e55.entry.js +0 -4
- package/dist/ionic/p-82d80c8f.entry.js +0 -4
- package/dist/ionic/p-83e4478f.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-87365857.system.entry.js +0 -4
- package/dist/ionic/p-87a81a63.system.entry.js +0 -4
- package/dist/ionic/p-916f6c1d.entry.js +0 -4
- package/dist/ionic/p-93cf45ec.system.entry.js +0 -4
- package/dist/ionic/p-9493acfe.entry.js +0 -4
- package/dist/ionic/p-9805b25a.system.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a1b80dd6.system.js +0 -4
- package/dist/ionic/p-a8a04757.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-b24c259e.entry.js +0 -4
- package/dist/ionic/p-b33b643b.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-ba45ad7d.entry.js +0 -4
- package/dist/ionic/p-bc8e48de.entry.js +0 -4
- package/dist/ionic/p-bcf5573f.entry.js +0 -4
- package/dist/ionic/p-bdd4e026.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-c628bdcb.system.js +0 -4
- package/dist/ionic/p-c6f1b434.js +0 -4
- package/dist/ionic/p-cd40baea.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d53e0b4b.entry.js +0 -4
- package/dist/ionic/p-d79ed7b3.system.js +0 -4
- package/dist/ionic/p-dbb02a23.system.entry.js +0 -4
- package/dist/ionic/p-dd79c031.js +0 -4
- package/dist/ionic/p-e050dad9.system.js +0 -4
- package/dist/ionic/p-e2bd011e.js +0 -4
- package/dist/ionic/p-ea16a842.entry.js +0 -4
- package/dist/ionic/p-eafeb1ff.system.js +0 -4
- package/dist/ionic/p-ed419a44.entry.js +0 -4
- package/dist/ionic/p-f9782d44.system.entry.js +0 -4
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
const helpers = require('./helpers-
|
|
10
|
-
const haptic = require('./haptic-
|
|
8
|
+
const config = require('./config-1349d5b4.js');
|
|
9
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
10
|
+
const haptic = require('./haptic-f0cad9a6.js');
|
|
11
11
|
const dir = require('./dir-94c21456.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
|
-
const index
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
require('./capacitor-
|
|
16
|
-
require('./index-c8d52405.js');
|
|
13
|
+
const index = require('./index-073c7cdc.js');
|
|
14
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
15
|
+
require('./capacitor-806e7fee.js');
|
|
17
16
|
|
|
18
17
|
const checkSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjkuNjYsNzcuNjZsLTEyOCwxMjhhOCw4LDAsMCwxLTExLjMyLDBsLTU2LTU2YTgsOCwwLDAsMSwxMS4zMi0xMS4zMkw5NiwxODguNjksMjE4LjM0LDY2LjM0YTgsOCwwLDAsMSwxMS4zMiwxMS4zMloiLz48L3N2Zz4=';
|
|
19
18
|
|
|
@@ -30,10 +29,10 @@ const IonToggleMdStyle0 = toggleMdCss;
|
|
|
30
29
|
|
|
31
30
|
const Toggle = class {
|
|
32
31
|
constructor(hostRef) {
|
|
33
|
-
|
|
34
|
-
this.ionChange =
|
|
35
|
-
this.ionFocus =
|
|
36
|
-
this.ionBlur =
|
|
32
|
+
config.registerInstance(this, hostRef);
|
|
33
|
+
this.ionChange = config.createEvent(this, "ionChange", 7);
|
|
34
|
+
this.ionFocus = config.createEvent(this, "ionFocus", 7);
|
|
35
|
+
this.ionBlur = config.createEvent(this, "ionBlur", 7);
|
|
37
36
|
this.inputId = `ion-tg-${toggleIds++}`;
|
|
38
37
|
this.lastDrag = 0;
|
|
39
38
|
this.inheritedAttributes = {};
|
|
@@ -78,7 +77,7 @@ const Toggle = class {
|
|
|
78
77
|
this.checked = false;
|
|
79
78
|
this.disabled = false;
|
|
80
79
|
this.value = 'on';
|
|
81
|
-
this.enableOnOffLabels =
|
|
80
|
+
this.enableOnOffLabels = config.config.get('toggleOnOffLabels');
|
|
82
81
|
this.labelPlacement = 'start';
|
|
83
82
|
this.justify = undefined;
|
|
84
83
|
this.alignment = undefined;
|
|
@@ -150,9 +149,9 @@ const Toggle = class {
|
|
|
150
149
|
// Determine the theme and map to default icons
|
|
151
150
|
const theme = ionicGlobal.getIonTheme(this);
|
|
152
151
|
const defaultIcons = {
|
|
153
|
-
ios: index
|
|
152
|
+
ios: index.removeOutline,
|
|
154
153
|
ionic: checkSvg,
|
|
155
|
-
md: index
|
|
154
|
+
md: index.checkmarkOutline,
|
|
156
155
|
};
|
|
157
156
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
158
157
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
@@ -165,7 +164,7 @@ const Toggle = class {
|
|
|
165
164
|
* If no icon is set in the config, use the default icon.
|
|
166
165
|
*/
|
|
167
166
|
get toggleCheckedIcon() {
|
|
168
|
-
return
|
|
167
|
+
return config.config.get('toggleCheckedIcon', this.toggleDefaultCheckedIcon);
|
|
169
168
|
}
|
|
170
169
|
/**
|
|
171
170
|
* Get the icon to use for the unchecked icon.
|
|
@@ -176,18 +175,18 @@ const Toggle = class {
|
|
|
176
175
|
// Determine the theme and map to default icons
|
|
177
176
|
const theme = ionicGlobal.getIonTheme(this);
|
|
178
177
|
const defaultIcons = {
|
|
179
|
-
ios: index
|
|
178
|
+
ios: index.ellipseOutline,
|
|
180
179
|
ionic: minusSvg,
|
|
181
|
-
md: index
|
|
180
|
+
md: index.removeOutline,
|
|
182
181
|
};
|
|
183
182
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
184
183
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
185
184
|
// Return the configured toggle unchecked icon or the default icon
|
|
186
|
-
return
|
|
185
|
+
return config.config.get('toggleUncheckedIcon', defaultIcon);
|
|
187
186
|
}
|
|
188
187
|
renderOnOffSwitchLabels(checked) {
|
|
189
188
|
const icon = this.getSwitchLabelIcon(checked);
|
|
190
|
-
return (
|
|
189
|
+
return (config.h("ion-icon", { class: {
|
|
191
190
|
'toggle-switch-icon': true,
|
|
192
191
|
'toggle-switch-icon-checked': checked,
|
|
193
192
|
/**
|
|
@@ -206,8 +205,8 @@ const Toggle = class {
|
|
|
206
205
|
renderToggleControl() {
|
|
207
206
|
const theme = ionicGlobal.getIonTheme(this);
|
|
208
207
|
const { enableOnOffLabels, checked } = this;
|
|
209
|
-
return (
|
|
210
|
-
theme === 'ios' && [this.renderOnOffSwitchLabels(true), this.renderOnOffSwitchLabels(false)],
|
|
208
|
+
return (config.h("div", { class: "toggle-icon", part: "track", ref: (el) => (this.toggleTrack = el) }, enableOnOffLabels &&
|
|
209
|
+
theme === 'ios' && [this.renderOnOffSwitchLabels(true), this.renderOnOffSwitchLabels(false)], config.h("div", { class: "toggle-icon-wrapper" }, config.h("div", { class: "toggle-inner", part: "handle" }, enableOnOffLabels && (theme === 'md' || theme === 'ionic') && this.renderOnOffSwitchLabels(checked)))));
|
|
211
210
|
}
|
|
212
211
|
get hasLabel() {
|
|
213
212
|
return this.el.textContent !== '';
|
|
@@ -219,7 +218,7 @@ const Toggle = class {
|
|
|
219
218
|
const rtl = dir.isRTL(el) ? 'rtl' : 'ltr';
|
|
220
219
|
const isIonicTheme = theme$1 === 'ionic';
|
|
221
220
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
222
|
-
return (
|
|
221
|
+
return (config.h(config.Host, { key: '6de0a337552bf3733290fe3c67bf75077ca014ab', onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
223
222
|
[theme$1]: true,
|
|
224
223
|
'in-item': theme.hostContext('ion-item', el),
|
|
225
224
|
'toggle-activated': activated,
|
|
@@ -231,12 +230,12 @@ const Toggle = class {
|
|
|
231
230
|
[`toggle-${rtl}`]: true,
|
|
232
231
|
'ion-activatable': isIonicTheme,
|
|
233
232
|
'ion-focusable': isIonicTheme,
|
|
234
|
-
}) },
|
|
233
|
+
}) }, config.h("label", { key: 'a304b0e3dd9d1a63e6fca3581d80c60d6ba02231', class: "toggle-wrapper" }, config.h("input", Object.assign({ key: '66886e2c527b9a4bcc5014df136239c0c8a4311f', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), config.h("div", { key: 'e6da02452c3fb2a541e41b4255048fb165d1792f', class: {
|
|
235
234
|
'label-text-wrapper': true,
|
|
236
235
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
237
|
-
}, part: "label" },
|
|
236
|
+
}, part: "label" }, config.h("slot", { key: '1862c4ea6822b2db3e688c7ae7e1f9af8b72aa0a' })), config.h("div", { key: 'eff6db2dd3c09c6414ac95bb270e254a73c38f22', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
238
237
|
}
|
|
239
|
-
get el() { return
|
|
238
|
+
get el() { return config.getElement(this); }
|
|
240
239
|
static get watchers() { return {
|
|
241
240
|
"disabled": ["disabledChanged"]
|
|
242
241
|
}; }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const config = require('./config-1349d5b4.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Logs a warning to the console with an Ionic prefix
|
|
@@ -35,80 +35,125 @@ const printRequiredElementError = (el, ...targetSelectors) => {
|
|
|
35
35
|
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
const config = /*@__PURE__*/ new Config();
|
|
69
|
-
const configFromSession = (win) => {
|
|
70
|
-
try {
|
|
71
|
-
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
72
|
-
return configStr !== null ? JSON.parse(configStr) : {};
|
|
73
|
-
}
|
|
74
|
-
catch (e) {
|
|
75
|
-
return {};
|
|
76
|
-
}
|
|
38
|
+
const win = typeof window !== 'undefined' ? window : undefined;
|
|
39
|
+
const doc = typeof document !== 'undefined' ? document : undefined;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* CloseWatcher is a newer API that lets
|
|
43
|
+
* use detect the hardware back button event
|
|
44
|
+
* in a web browser: https://caniuse.com/?search=closewatcher
|
|
45
|
+
* However, not every browser supports it yet.
|
|
46
|
+
*
|
|
47
|
+
* This needs to be a function so that we can
|
|
48
|
+
* check the config once it has been set.
|
|
49
|
+
* Otherwise, this code would be evaluated the
|
|
50
|
+
* moment this file is evaluated which could be
|
|
51
|
+
* before the config is set.
|
|
52
|
+
*/
|
|
53
|
+
const shouldUseCloseWatcher = () => config.config.get('experimentalCloseWatcher', false) && win !== undefined && 'CloseWatcher' in win;
|
|
54
|
+
/**
|
|
55
|
+
* When hardwareBackButton: false in config,
|
|
56
|
+
* we need to make sure we also block the default
|
|
57
|
+
* webview behavior. If we don't then it will be
|
|
58
|
+
* possible for users to navigate backward while
|
|
59
|
+
* an overlay is still open. Additionally, it will
|
|
60
|
+
* give the appearance that the hardwareBackButton
|
|
61
|
+
* config is not working as the page transition
|
|
62
|
+
* will still happen.
|
|
63
|
+
*/
|
|
64
|
+
const blockHardwareBackButton = () => {
|
|
65
|
+
document.addEventListener('backbutton', () => { }); // eslint-disable-line
|
|
77
66
|
};
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
const startHardwareBackButton = () => {
|
|
68
|
+
const doc = document;
|
|
69
|
+
let busy = false;
|
|
70
|
+
const backButtonCallback = () => {
|
|
71
|
+
if (busy) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
let index = 0;
|
|
75
|
+
let handlers = [];
|
|
76
|
+
const ev = new CustomEvent('ionBackButton', {
|
|
77
|
+
bubbles: false,
|
|
78
|
+
detail: {
|
|
79
|
+
register(priority, handler) {
|
|
80
|
+
handlers.push({ priority, handler, id: index++ });
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
doc.dispatchEvent(ev);
|
|
85
|
+
const executeAction = async (handlerRegister) => {
|
|
86
|
+
try {
|
|
87
|
+
if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
|
|
88
|
+
const result = handlerRegister.handler(processHandlers);
|
|
89
|
+
if (result != null) {
|
|
90
|
+
await result;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
catch (e) {
|
|
95
|
+
console.error(e);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const processHandlers = () => {
|
|
99
|
+
if (handlers.length > 0) {
|
|
100
|
+
let selectedHandler = {
|
|
101
|
+
priority: Number.MIN_SAFE_INTEGER,
|
|
102
|
+
handler: () => undefined,
|
|
103
|
+
id: -1,
|
|
104
|
+
};
|
|
105
|
+
handlers.forEach((handler) => {
|
|
106
|
+
if (handler.priority >= selectedHandler.priority) {
|
|
107
|
+
selectedHandler = handler;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
busy = true;
|
|
111
|
+
handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);
|
|
112
|
+
executeAction(selectedHandler).then(() => (busy = false));
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
processHandlers();
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* If the CloseWatcher is defined then
|
|
119
|
+
* we don't want to also listen for the native
|
|
120
|
+
* backbutton event otherwise we may get duplicate
|
|
121
|
+
* events firing.
|
|
122
|
+
*/
|
|
123
|
+
if (shouldUseCloseWatcher()) {
|
|
124
|
+
let watcher;
|
|
125
|
+
const configureWatcher = () => {
|
|
126
|
+
watcher === null || watcher === void 0 ? void 0 : watcher.destroy();
|
|
127
|
+
watcher = new win.CloseWatcher();
|
|
128
|
+
/**
|
|
129
|
+
* Once a close request happens
|
|
130
|
+
* the watcher gets destroyed.
|
|
131
|
+
* As a result, we need to re-configure
|
|
132
|
+
* the watcher so we can respond to other
|
|
133
|
+
* close requests.
|
|
134
|
+
*/
|
|
135
|
+
watcher.onclose = () => {
|
|
136
|
+
backButtonCallback();
|
|
137
|
+
configureWatcher();
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
configureWatcher();
|
|
81
141
|
}
|
|
82
|
-
|
|
83
|
-
|
|
142
|
+
else {
|
|
143
|
+
doc.addEventListener('backbutton', backButtonCallback);
|
|
84
144
|
}
|
|
85
145
|
};
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
return ['', ''];
|
|
98
|
-
}
|
|
99
|
-
})
|
|
100
|
-
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
101
|
-
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
102
|
-
.forEach(([key, value]) => {
|
|
103
|
-
configObj[key] = value;
|
|
104
|
-
});
|
|
105
|
-
return configObj;
|
|
106
|
-
};
|
|
107
|
-
const startsWith = (input, search) => {
|
|
108
|
-
return input.substr(0, search.length) === search;
|
|
109
|
-
};
|
|
110
|
-
const IONIC_PREFIX = 'ionic:';
|
|
111
|
-
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
146
|
+
const OVERLAY_BACK_BUTTON_PRIORITY = 100;
|
|
147
|
+
const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
|
|
148
|
+
|
|
149
|
+
const hardwareBackButton = /*#__PURE__*/Object.freeze({
|
|
150
|
+
__proto__: null,
|
|
151
|
+
shouldUseCloseWatcher: shouldUseCloseWatcher,
|
|
152
|
+
blockHardwareBackButton: blockHardwareBackButton,
|
|
153
|
+
startHardwareBackButton: startHardwareBackButton,
|
|
154
|
+
OVERLAY_BACK_BUTTON_PRIORITY: OVERLAY_BACK_BUTTON_PRIORITY,
|
|
155
|
+
MENU_BACK_BUTTON_PRIORITY: MENU_BACK_BUTTON_PRIORITY
|
|
156
|
+
});
|
|
112
157
|
|
|
113
158
|
const getPlatforms = (win) => setupPlatforms(win);
|
|
114
159
|
const isPlatform = (winOrPlatform, platform) => {
|
|
@@ -131,7 +176,7 @@ const setupPlatforms = (win = window) => {
|
|
|
131
176
|
return platforms;
|
|
132
177
|
};
|
|
133
178
|
const detectPlatforms = (win) => {
|
|
134
|
-
const customPlatformMethods = config.get('platform');
|
|
179
|
+
const customPlatformMethods = config.config.get('platform');
|
|
135
180
|
return Object.keys(PLATFORMS_MAP).filter((p) => {
|
|
136
181
|
const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
|
|
137
182
|
return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
|
|
@@ -266,7 +311,7 @@ const getIonMode = (ref, theme = getIonTheme(ref)) => {
|
|
|
266
311
|
return ref.mode;
|
|
267
312
|
}
|
|
268
313
|
else {
|
|
269
|
-
const el =
|
|
314
|
+
const el = config.getElement(ref);
|
|
270
315
|
const mode = ((_a = el.closest('[mode]')) === null || _a === void 0 ? void 0 : _a.getAttribute('mode')) || defaultMode;
|
|
271
316
|
if (isModeValidForTheme(mode, theme)) {
|
|
272
317
|
/**
|
|
@@ -290,7 +335,7 @@ const getIonMode = (ref, theme = getIonTheme(ref)) => {
|
|
|
290
335
|
*/
|
|
291
336
|
const getIonTheme = (ref) => {
|
|
292
337
|
var _a, _b;
|
|
293
|
-
const theme = ref &&
|
|
338
|
+
const theme = ref && config.getMode(ref);
|
|
294
339
|
if (theme) {
|
|
295
340
|
return theme;
|
|
296
341
|
}
|
|
@@ -298,7 +343,7 @@ const getIonTheme = (ref) => {
|
|
|
298
343
|
* If the theme cannot be detected, then fallback to using
|
|
299
344
|
* the `mode` attribute to determine the style sheets to use.
|
|
300
345
|
*/
|
|
301
|
-
const el =
|
|
346
|
+
const el = config.getElement(ref);
|
|
302
347
|
const mode = (_a = ref === null || ref === void 0 ? void 0 : ref.mode) !== null && _a !== void 0 ? _a : (_b = el.closest('[mode]')) === null || _b === void 0 ? void 0 : _b.getAttribute('mode');
|
|
303
348
|
if (mode) {
|
|
304
349
|
return getDefaultThemeForMode(mode);
|
|
@@ -309,6 +354,33 @@ const getIonTheme = (ref) => {
|
|
|
309
354
|
*/
|
|
310
355
|
return defaultTheme;
|
|
311
356
|
};
|
|
357
|
+
const rIC = (callback) => {
|
|
358
|
+
if ('requestIdleCallback' in window) {
|
|
359
|
+
window.requestIdleCallback(callback);
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
setTimeout(callback, 32);
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
const needInputShims = () => {
|
|
366
|
+
/**
|
|
367
|
+
* iOS always needs input shims
|
|
368
|
+
*/
|
|
369
|
+
const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');
|
|
370
|
+
if (needsShimsIOS) {
|
|
371
|
+
return true;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Android only needs input shims when running
|
|
375
|
+
* in the browser and only if the browser is using the
|
|
376
|
+
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
377
|
+
*/
|
|
378
|
+
const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');
|
|
379
|
+
if (isAndroidMobileWeb) {
|
|
380
|
+
return true;
|
|
381
|
+
}
|
|
382
|
+
return false;
|
|
383
|
+
};
|
|
312
384
|
const initialize = (userConfig = {}) => {
|
|
313
385
|
if (typeof window === 'undefined') {
|
|
314
386
|
return;
|
|
@@ -326,43 +398,43 @@ const initialize = (userConfig = {}) => {
|
|
|
326
398
|
if (userConfig._ce) {
|
|
327
399
|
platformHelpers.ce = userConfig._ce;
|
|
328
400
|
}
|
|
329
|
-
|
|
401
|
+
config.setPlatformHelpers(platformHelpers);
|
|
330
402
|
// create the Ionic.config from raw config object (if it exists)
|
|
331
403
|
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
332
|
-
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
|
|
333
|
-
config.reset(configObj);
|
|
334
|
-
if (config.getBoolean('persistConfig')) {
|
|
335
|
-
saveConfig(win, configObj);
|
|
404
|
+
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, config.configFromSession(win)), { persistConfig: false }), Ionic.config), config.configFromURL(win)), userConfig);
|
|
405
|
+
config.config.reset(configObj);
|
|
406
|
+
if (config.config.getBoolean('persistConfig')) {
|
|
407
|
+
config.saveConfig(win, configObj);
|
|
336
408
|
}
|
|
337
409
|
// Setup platforms
|
|
338
410
|
setupPlatforms(win);
|
|
339
|
-
Ionic.config = config;
|
|
411
|
+
Ionic.config = config.config;
|
|
340
412
|
/**
|
|
341
413
|
* Check if the mode was set as an attribute on <html>
|
|
342
414
|
* which could have been set by the user, or by pre-rendering
|
|
343
415
|
* otherwise get the mode via config settings, and fallback to md.
|
|
344
416
|
*/
|
|
345
|
-
Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
|
|
417
|
+
Ionic.mode = defaultMode = config.config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
|
|
346
418
|
/**
|
|
347
419
|
* Check if the theme was set as an attribute on <html>
|
|
348
420
|
* which could have been set by the user, or by pre-rendering
|
|
349
421
|
* otherwise get the theme via config settings, and fallback to md.
|
|
350
422
|
*/
|
|
351
|
-
Ionic.theme = defaultTheme = config.get('theme', doc.documentElement.getAttribute('theme') || getDefaultThemeForMode(defaultMode));
|
|
423
|
+
Ionic.theme = defaultTheme = config.config.get('theme', doc.documentElement.getAttribute('theme') || getDefaultThemeForMode(defaultMode));
|
|
352
424
|
if (!isModeValidForTheme(defaultMode, defaultTheme)) {
|
|
353
425
|
printInvalidModeWarning(defaultMode, defaultTheme, configObj);
|
|
354
426
|
defaultMode = getDefaultModeForTheme(defaultTheme);
|
|
355
427
|
}
|
|
356
|
-
config.set('mode', defaultMode);
|
|
428
|
+
config.config.set('mode', defaultMode);
|
|
357
429
|
doc.documentElement.setAttribute('mode', defaultMode);
|
|
358
430
|
doc.documentElement.classList.add(defaultMode);
|
|
359
|
-
config.set('theme', defaultTheme);
|
|
431
|
+
config.config.set('theme', defaultTheme);
|
|
360
432
|
doc.documentElement.setAttribute('theme', defaultTheme);
|
|
361
433
|
doc.documentElement.classList.add(defaultTheme);
|
|
362
|
-
if (config.getBoolean('_testing')) {
|
|
363
|
-
config.set('animated', false);
|
|
434
|
+
if (config.config.getBoolean('_testing')) {
|
|
435
|
+
config.config.set('animated', false);
|
|
364
436
|
}
|
|
365
|
-
|
|
437
|
+
config.setMode((elm) => {
|
|
366
438
|
/**
|
|
367
439
|
* Iterate over all the element nodes, to both validate and
|
|
368
440
|
* set the "mode" that is used for determining the styles to
|
|
@@ -405,9 +477,51 @@ const initialize = (userConfig = {}) => {
|
|
|
405
477
|
}
|
|
406
478
|
return defaultTheme;
|
|
407
479
|
});
|
|
480
|
+
// `IonApp` code
|
|
481
|
+
// ----------------------------------------------
|
|
482
|
+
{
|
|
483
|
+
rIC(async () => {
|
|
484
|
+
const isHybrid = isPlatform(window, 'hybrid');
|
|
485
|
+
if (!config.config.getBoolean('_testing')) {
|
|
486
|
+
Promise.resolve().then(function () { return require('./index-2c8b42cd.js'); }).then((module) => module.startTapClick(config.config));
|
|
487
|
+
}
|
|
488
|
+
if (config.config.getBoolean('statusTap', isHybrid)) {
|
|
489
|
+
Promise.resolve().then(function () { return require('./status-tap-cfc7f9a5.js'); }).then((module) => module.startStatusTap());
|
|
490
|
+
}
|
|
491
|
+
if (config.config.getBoolean('inputShims', needInputShims())) {
|
|
492
|
+
/**
|
|
493
|
+
* needInputShims() ensures that only iOS and Android
|
|
494
|
+
* platforms proceed into this block.
|
|
495
|
+
*/
|
|
496
|
+
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
497
|
+
Promise.resolve().then(function () { return require('./input-shims-2958dcc9.js'); }).then((module) => module.startInputShims(config.config, platform));
|
|
498
|
+
}
|
|
499
|
+
const hardwareBackButtonModule = await Promise.resolve().then(function () { return hardwareBackButton; });
|
|
500
|
+
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
501
|
+
if (config.config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
502
|
+
hardwareBackButtonModule.startHardwareBackButton();
|
|
503
|
+
}
|
|
504
|
+
else {
|
|
505
|
+
/**
|
|
506
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
507
|
+
* then the close watcher will not be used.
|
|
508
|
+
*/
|
|
509
|
+
if (shouldUseCloseWatcher()) {
|
|
510
|
+
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.');
|
|
511
|
+
}
|
|
512
|
+
hardwareBackButtonModule.blockHardwareBackButton();
|
|
513
|
+
}
|
|
514
|
+
if (typeof window !== 'undefined') {
|
|
515
|
+
Promise.resolve().then(function () { return require('./keyboard-e0062bfc.js'); }).then((module) => module.startKeyboardAssist(window));
|
|
516
|
+
}
|
|
517
|
+
Promise.resolve().then(function () { return require('./focus-visible-9aa87fa3.js'); }).then((module) => module.getOrInitFocusVisibleUtility());
|
|
518
|
+
});
|
|
519
|
+
}
|
|
408
520
|
};
|
|
409
521
|
|
|
410
|
-
exports.
|
|
522
|
+
exports.MENU_BACK_BUTTON_PRIORITY = MENU_BACK_BUTTON_PRIORITY;
|
|
523
|
+
exports.OVERLAY_BACK_BUTTON_PRIORITY = OVERLAY_BACK_BUTTON_PRIORITY;
|
|
524
|
+
exports.doc = doc;
|
|
411
525
|
exports.getIonMode = getIonMode;
|
|
412
526
|
exports.getIonTheme = getIonTheme;
|
|
413
527
|
exports.getPlatforms = getPlatforms;
|
|
@@ -416,3 +530,5 @@ exports.isPlatform = isPlatform;
|
|
|
416
530
|
exports.printIonError = printIonError;
|
|
417
531
|
exports.printIonWarning = printIonWarning;
|
|
418
532
|
exports.printRequiredElementError = printRequiredElementError;
|
|
533
|
+
exports.shouldUseCloseWatcher = shouldUseCloseWatcher;
|
|
534
|
+
exports.win = win;
|