@ionic/core 8.3.1-dev.11726258029.1014159b → 8.3.1-dev.11727904181.1070a434
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/alert.js +2 -1
- package/components/animation.js +1 -1
- package/components/button.js +1 -2
- package/components/capacitor.js +1 -1
- package/components/config2.js +79 -0
- package/components/data.js +1 -1
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/helpers.js +1 -1
- package/components/index2.js +2 -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 +3 -2
- package/components/ion-app.js +7 -75
- package/components/ion-back-button.js +3 -2
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-content.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 +4 -4
- package/components/ion-header.js +5 -5
- package/components/ion-infinite-scroll-content.js +2 -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-loading.js +2 -1
- package/components/ion-menu-button.js +3 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -4
- package/components/ion-nav.js +2 -2
- package/components/ion-picker-legacy.js +1 -2
- package/components/ion-progress-bar.js +2 -1
- package/components/ion-range.js +2 -3
- package/components/ion-refresher-content.js +3 -2
- 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-router-outlet.js +2 -1
- package/components/ion-searchbar.js +3 -2
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +2 -1
- package/components/ion-tab-button.js +2 -1
- package/components/ion-toast.js +2 -3
- package/components/ion-toggle.js +3 -2
- package/components/ionic-global.js +215 -72
- package/components/item.js +1 -1
- package/components/keyboard-controller.js +2 -2
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +3 -5
- package/components/picker-column.js +1 -2
- package/components/popover.js +1 -2
- package/components/spinner.js +2 -1
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-79f60b24.js} +2 -2
- package/dist/cjs/{app-globals-9d795e44.js → app-globals-da858d53.js} +1 -1
- package/dist/cjs/{button-active-4115dc12.js → button-active-d92fdc20.js} +2 -2
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-6d32aa8f.js} +3 -3
- package/dist/cjs/config-aff4ff52.js +84 -0
- package/dist/cjs/{data-21dc0f81.js → data-5e41413c.js} +3 -3
- package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-9aa87fa3.js} +8 -0
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-dd8c8308.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-48302ce8.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-acd6c477.js} +1 -1
- package/dist/cjs/{index-248835d7.js → index-36089f7c.js} +7 -10
- package/dist/cjs/{index-5b6a7459.js → index-4c1435d8.js} +3 -3
- package/dist/cjs/{index-42dd5e74.js → index-b9e25ecd.js} +2 -8
- package/dist/cjs/{index-9509ecad.js → index-c66a0972.js} +9 -7
- package/dist/cjs/{index-44dacdce.js → index-e391e4f0.js} +12 -12
- package/dist/cjs/index.cjs.js +11 -13
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-6e96b5d0.js} +18 -17
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-3f4f0242.js} +4 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -12
- package/dist/cjs/ion-alert.cjs.entry.js +13 -15
- package/dist/cjs/ion-app_8.cjs.entry.js +36 -105
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +8 -7
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/ion-chip.cjs.entry.js +3 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +9 -9
- package/dist/cjs/ion-datetime_3.cjs.entry.js +97 -99
- package/dist/cjs/ion-fab_3.cjs.entry.js +4 -3
- package/dist/cjs/ion-img.cjs.entry.js +4 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +8 -8
- package/dist/cjs/ion-input.cjs.entry.js +6 -7
- package/dist/cjs/ion-item-option_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-item_8.cjs.entry.js +5 -4
- package/dist/cjs/ion-loading.cjs.entry.js +11 -13
- package/dist/cjs/ion-menu_3.cjs.entry.js +12 -14
- package/dist/cjs/ion-modal.cjs.entry.js +52 -54
- package/dist/cjs/ion-nav_2.cjs.entry.js +10 -10
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +11 -13
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-range.cjs.entry.js +10 -10
- package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -15
- package/dist/cjs/ion-reorder_2.cjs.entry.js +7 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -5
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -9
- package/dist/cjs/ion-spinner.cjs.entry.js +5 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +3 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-text.cjs.entry.js +3 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +6 -7
- package/dist/cjs/ion-toast.cjs.entry.js +35 -37
- package/dist/cjs/ion-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ionic-global-e4b78f51.js +387 -0
- package/dist/cjs/ionic.cjs.js +5 -4
- package/dist/cjs/{ios.transition-c28ff3cc.js → ios.transition-ecdbe79a.js} +6 -7
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-5494d9e7.js} +5 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-9c8c3373.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-3534c452.js} +9 -9
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{md.transition-01295b30.js → md.transition-a2dbb62b.js} +6 -7
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-b0da1dbc.js} +4 -4
- package/dist/cjs/{overlays-76ac42e7.js → overlays-2847add7.js} +17 -19
- package/dist/cjs/{status-tap-75c3a35d.js → status-tap-8d61febd.js} +5 -4
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-13234294.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/app/app.js +5 -75
- package/dist/collection/components/content/content.js +1 -1
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/header/header.js +4 -4
- 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/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
- package/dist/collection/utils/overlays.js +1 -1
- package/dist/docs.json +109 -109
- package/dist/esm/{animation-eab5a4ca.js → animation-d5c468e5.js} +1 -1
- package/dist/esm/{app-globals-cef8aa6d.js → app-globals-b335b996.js} +1 -1
- package/dist/esm/{button-active-6700b8ee.js → button-active-f09c355a.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-1c6a7fef.js} +1 -1
- package/dist/esm/config-84eb9670.js +79 -0
- package/dist/esm/{data-ae11fd43.js → data-19c43db4.js} +1 -1
- package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-501aff19.js} +8 -1
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-99a12a5b.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-b7d0305a.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-b96cdeb7.js} +1 -1
- package/dist/esm/{index-deb1a83e.js → index-36b10f9a.js} +3 -6
- package/dist/esm/{index-42907296.js → index-39f85469.js} +6 -6
- package/dist/esm/{index-3ed04e6d.js → index-4e02bb5d.js} +2 -8
- package/{components/index9.js → dist/esm/index-83a2d51b.js} +4 -2
- package/dist/esm/{index-5cc724f3.js → index-c2e9334e.js} +2 -2
- package/dist/esm/index.js +11 -13
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-876f0204.js} +7 -6
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-26068718.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +10 -12
- package/dist/esm/ion-alert.entry.js +10 -12
- package/dist/esm/ion-app_8.entry.js +23 -92
- package/dist/esm/ion-avatar_3.entry.js +3 -2
- package/dist/esm/ion-back-button.entry.js +4 -3
- package/dist/esm/ion-backdrop.entry.js +3 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +4 -3
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +4 -3
- package/dist/esm/ion-checkbox.entry.js +4 -3
- package/dist/esm/ion-chip.entry.js +3 -2
- package/dist/esm/ion-col_3.entry.js +3 -2
- package/dist/esm/ion-datetime-button.entry.js +5 -5
- package/dist/esm/ion-datetime_3.entry.js +11 -13
- package/dist/esm/ion-fab_3.entry.js +4 -3
- package/dist/esm/ion-img.entry.js +4 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +6 -7
- package/dist/esm/ion-item-option_3.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +4 -3
- package/dist/esm/ion-loading.entry.js +7 -9
- package/dist/esm/ion-menu_3.entry.js +8 -10
- package/dist/esm/ion-modal.entry.js +12 -14
- package/dist/esm/ion-nav_2.entry.js +7 -7
- package/dist/esm/ion-picker-column-option.entry.js +4 -3
- package/dist/esm/ion-picker-column.entry.js +6 -6
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +8 -10
- package/dist/esm/ion-progress-bar.entry.js +4 -3
- package/dist/esm/ion-radio_2.entry.js +4 -3
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +8 -9
- package/dist/esm/ion-reorder_2.entry.js +7 -8
- package/dist/esm/ion-ripple-effect.entry.js +3 -2
- package/dist/esm/ion-route_4.entry.js +4 -3
- package/dist/esm/ion-searchbar.entry.js +4 -3
- package/dist/esm/ion-segment_2.entry.js +4 -3
- package/dist/esm/ion-select_3.entry.js +7 -9
- package/dist/esm/ion-spinner.entry.js +3 -2
- package/dist/esm/ion-split-pane.entry.js +3 -2
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +4 -3
- package/dist/esm/ion-text.entry.js +3 -2
- package/dist/esm/ion-textarea.entry.js +6 -7
- package/dist/esm/ion-toast.entry.js +7 -9
- package/dist/esm/ion-toggle.entry.js +6 -6
- package/dist/esm/ionic-global-1b15603f.js +374 -0
- package/dist/esm/ionic.js +6 -5
- package/dist/esm/{ios.transition-903646a5.js → ios.transition-18317bbc.js} +6 -7
- package/dist/esm/{keyboard-73175e24.js → keyboard-8fb7a65a.js} +1 -1
- package/dist/esm/{keyboard-52278bd7.js → keyboard-bdec136d.js} +5 -3
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-12d10050.js} +3 -3
- package/dist/esm/loader.js +5 -4
- package/dist/esm/{md.transition-92c7f8a6.js → md.transition-8661f3c2.js} +6 -7
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-39833b21.js} +2 -2
- package/dist/esm/{overlays-d1a2f8a8.js → overlays-5d12569d.js} +5 -7
- package/dist/esm/{status-tap-97e323a9.js → status-tap-e6919a78.js} +5 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-1c5e6095.js} +1 -1
- package/dist/esm-es5/animation-d5c468e5.js +4 -0
- package/dist/esm-es5/app-globals-b335b996.js +4 -0
- package/dist/esm-es5/{button-active-6700b8ee.js → button-active-f09c355a.js} +1 -1
- package/dist/esm-es5/capacitor-1c6a7fef.js +4 -0
- package/dist/esm-es5/config-84eb9670.js +4 -0
- package/dist/esm-es5/data-19c43db4.js +4 -0
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-99a12a5b.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-b7d0305a.js} +1 -1
- package/dist/esm-es5/{helpers-da915de8.js → helpers-b96cdeb7.js} +1 -1
- package/dist/esm-es5/index-36b10f9a.js +4 -0
- package/dist/esm-es5/index-39f85469.js +4 -0
- package/dist/esm-es5/index-4e02bb5d.js +5 -0
- package/dist/esm-es5/{index-79b30591.js → index-83a2d51b.js} +1 -1
- package/dist/esm-es5/index-c2e9334e.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-876f0204.js +4 -0
- package/dist/esm-es5/input.utils-26068718.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-1b15603f.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-18317bbc.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-8fb7a65a.js} +1 -1
- package/dist/esm-es5/{keyboard-52278bd7.js → keyboard-bdec136d.js} +1 -1
- package/dist/esm-es5/keyboard-controller-12d10050.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-8661f3c2.js +4 -0
- package/dist/esm-es5/notch-controller-39833b21.js +4 -0
- package/dist/esm-es5/overlays-5d12569d.js +4 -0
- package/dist/esm-es5/status-tap-e6919a78.js +4 -0
- package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-1c5e6095.js} +1 -1
- 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-99859f95.entry.js → p-09854f4b.entry.js} +1 -1
- package/dist/ionic/{p-4029255b.system.entry.js → p-0a89309d.system.entry.js} +1 -1
- package/dist/ionic/p-0b5267e0.entry.js +4 -0
- package/dist/ionic/{p-34b11c24.js → p-0b5401b5.js} +1 -1
- package/dist/ionic/p-0cdf3f2d.entry.js +4 -0
- package/dist/ionic/{p-abc5c0a4.system.entry.js → p-0fe43136.system.entry.js} +1 -1
- package/dist/ionic/p-11350afc.system.entry.js +4 -0
- package/dist/ionic/p-13a18cd1.entry.js +4 -0
- package/dist/ionic/{p-e8cc3bad.js → p-177c643a.js} +1 -1
- package/dist/ionic/p-17c019eb.system.js +4 -0
- package/dist/ionic/p-17cd5ba5.system.entry.js +4 -0
- package/dist/ionic/p-184ba459.system.entry.js +4 -0
- package/dist/ionic/p-1ec593ec.system.js +4 -0
- package/dist/ionic/p-1ff45220.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-20709fa2.js} +1 -1
- package/dist/ionic/p-22508aa1.system.entry.js +4 -0
- package/dist/ionic/p-22f10183.entry.js +4 -0
- package/dist/ionic/p-2388c346.entry.js +4 -0
- package/dist/ionic/p-23f5b42c.js +4 -0
- package/dist/ionic/p-2904da21.system.entry.js +4 -0
- package/dist/ionic/p-2a76429e.entry.js +4 -0
- package/dist/ionic/{p-192e07b1.system.entry.js → p-2d4c3128.system.entry.js} +1 -1
- package/dist/ionic/{p-b51e4004.js → p-2f5f9e37.js} +1 -1
- package/dist/ionic/p-33cc976b.system.js +4 -0
- package/dist/ionic/{p-5d5d5073.entry.js → p-341bd749.entry.js} +1 -1
- package/dist/ionic/p-344c665e.system.js +4 -0
- package/dist/ionic/p-37c86134.entry.js +4 -0
- package/dist/ionic/p-38244569.js +4 -0
- package/dist/ionic/p-3c1bc308.system.entry.js +4 -0
- package/dist/ionic/p-3d7c07b2.system.entry.js +4 -0
- package/dist/ionic/p-4188687b.js +4 -0
- package/dist/ionic/p-4459a66e.system.js +4 -0
- package/dist/ionic/p-450d0781.system.entry.js +4 -0
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-4713a52c.system.entry.js +4 -0
- package/dist/ionic/{p-f687573e.system.js → p-4791ab9e.system.js} +1 -1
- package/dist/ionic/p-47ce4a4b.entry.js +4 -0
- package/dist/ionic/p-487a3ae7.system.js +5 -0
- package/dist/ionic/p-49fb3aaf.js +4 -0
- package/dist/ionic/p-4b4bcb80.system.js +4 -0
- package/dist/ionic/p-4b528ed3.js +5 -0
- package/dist/ionic/p-4c1581a8.entry.js +4 -0
- package/dist/ionic/p-4c9b78f8.system.js +4 -0
- package/dist/ionic/p-4d85f5ea.js +4 -0
- package/dist/ionic/{p-3ad285e3.system.js → p-4e970f1c.system.js} +1 -1
- package/dist/ionic/p-4fce1c54.entry.js +4 -0
- package/dist/ionic/p-4feedef0.entry.js +4 -0
- package/dist/ionic/p-51f29267.system.entry.js +4 -0
- package/dist/ionic/p-5266cfc8.system.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-528e2d72.js} +1 -1
- package/dist/ionic/p-5348700b.entry.js +4 -0
- package/dist/ionic/p-536c3136.entry.js +4 -0
- package/dist/ionic/p-541f00c3.system.entry.js +4 -0
- package/dist/ionic/p-54cb772e.system.entry.js +4 -0
- package/dist/ionic/p-55dc854e.entry.js +4 -0
- package/dist/ionic/{p-14616c10.system.entry.js → p-56947de2.system.entry.js} +2 -2
- package/dist/ionic/p-574f568b.entry.js +4 -0
- package/dist/ionic/p-5bc27ad2.system.entry.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/p-5e61ae2f.entry.js +4 -0
- package/dist/ionic/{p-2e5ee828.system.entry.js → p-64eb70c2.system.entry.js} +1 -1
- package/dist/ionic/p-656b9e5a.system.entry.js +4 -0
- package/dist/ionic/p-672431ae.entry.js +4 -0
- package/dist/ionic/p-6874be0f.js +4 -0
- package/dist/ionic/p-689d58a0.entry.js +4 -0
- package/dist/ionic/p-69746792.js +4 -0
- package/dist/ionic/p-6bf1b7c4.entry.js +4 -0
- package/dist/ionic/p-7071d7ca.js +4 -0
- package/dist/ionic/p-7163c868.system.entry.js +4 -0
- package/dist/ionic/p-721f704b.system.entry.js +4 -0
- package/dist/ionic/p-74da1bee.entry.js +4 -0
- package/dist/ionic/{p-30482ed4.system.js → p-7585d52f.system.js} +1 -1
- package/dist/ionic/p-76978bf3.system.entry.js +4 -0
- package/dist/ionic/{p-a93873de.system.js → p-76f6c195.system.js} +1 -1
- package/dist/ionic/p-7723bb75.system.entry.js +4 -0
- package/dist/ionic/p-77aab69d.js +4 -0
- package/dist/ionic/p-78d1ee98.system.entry.js +4 -0
- package/dist/ionic/p-7a8b6f72.entry.js +4 -0
- package/dist/ionic/p-7ab96568.entry.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-81fd74b8.js} +1 -1
- package/dist/ionic/p-878d8bbf.system.entry.js +4 -0
- package/dist/ionic/p-87a7b9ee.entry.js +4 -0
- package/dist/ionic/p-88a5925d.system.entry.js +4 -0
- package/dist/ionic/p-897fba2c.system.js +4 -0
- package/dist/ionic/{p-3447e604.system.entry.js → p-8d0a3bf5.system.entry.js} +1 -1
- package/dist/ionic/p-8f84ac87.system.entry.js +4 -0
- package/dist/ionic/p-901f2d60.system.entry.js +4 -0
- package/dist/ionic/p-92341215.system.js +4 -0
- package/dist/ionic/{p-1ca23ae9.system.entry.js → p-9538ca4d.system.entry.js} +2 -2
- package/dist/ionic/{p-d60342e3.js → p-95612c80.js} +1 -1
- package/dist/ionic/p-96ac6d73.system.js +4 -0
- package/dist/ionic/p-9a4236ab.entry.js +4 -0
- package/dist/ionic/p-9a8d7f70.entry.js +4 -0
- package/dist/ionic/p-9c1f23e6.system.entry.js +4 -0
- package/dist/ionic/p-9ce54ee5.entry.js +4 -0
- package/dist/ionic/p-9e4c3c31.system.entry.js +4 -0
- package/dist/ionic/p-9eb6c3e7.js +4 -0
- package/dist/ionic/p-9f05ff02.system.entry.js +4 -0
- package/dist/ionic/p-9f5e0684.system.js +4 -0
- package/dist/ionic/p-a013baec.entry.js +4 -0
- package/dist/ionic/p-a1d2be12.entry.js +4 -0
- package/dist/ionic/p-a44b565f.js +4 -0
- package/dist/ionic/p-a44dbc72.js +4 -0
- package/dist/ionic/p-a4f9181a.entry.js +4 -0
- package/dist/ionic/p-a5b8c4f3.entry.js +4 -0
- package/dist/ionic/p-a8a2a8a9.js +4 -0
- package/dist/ionic/p-a8cb7d8a.system.entry.js +4 -0
- package/dist/ionic/p-aaccafc3.entry.js +4 -0
- package/dist/ionic/p-aba574e0.system.entry.js +4 -0
- package/dist/ionic/p-ad074a8f.system.entry.js +4 -0
- package/dist/ionic/p-b321e219.system.entry.js +4 -0
- package/dist/ionic/{p-f36c9945.system.entry.js → p-b32203b0.system.entry.js} +2 -2
- package/dist/ionic/{p-9146695e.system.js → p-b3833aff.system.js} +1 -1
- package/dist/ionic/p-b3e99367.entry.js +4 -0
- package/dist/ionic/p-b6905606.entry.js +4 -0
- package/dist/ionic/p-b824f2ea.system.entry.js +4 -0
- package/dist/ionic/{p-06e58c4e.js → p-b82e4cfd.js} +1 -1
- package/dist/ionic/{p-c8e78b70.system.entry.js → p-b9665bf2.system.entry.js} +1 -1
- package/dist/ionic/p-b9f902b7.entry.js +4 -0
- package/dist/ionic/p-b9fc56ce.entry.js +4 -0
- package/dist/ionic/p-bc59161e.entry.js +4 -0
- package/dist/ionic/p-c0122ce8.entry.js +4 -0
- package/dist/ionic/p-c5cebd06.entry.js +4 -0
- package/dist/ionic/p-c6753166.system.js +4 -0
- package/dist/ionic/p-c9e87960.entry.js +4 -0
- package/dist/ionic/p-cd5487d5.entry.js +4 -0
- package/dist/ionic/p-d023db0e.system.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-d17dc9b4.system.js} +1 -1
- package/dist/ionic/{p-42f9a951.system.entry.js → p-d26214cb.system.entry.js} +1 -1
- package/dist/ionic/p-d635a135.system.entry.js +4 -0
- package/dist/ionic/p-d88bc366.entry.js +4 -0
- package/dist/ionic/p-d8a8873e.system.entry.js +4 -0
- package/dist/ionic/p-d9484ea5.entry.js +4 -0
- package/dist/ionic/p-da21e199.system.entry.js +4 -0
- package/dist/ionic/p-da8a14d0.entry.js +4 -0
- package/dist/ionic/p-dbf3a161.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-dc971e94.system.js} +1 -1
- package/dist/ionic/p-ddeea474.system.entry.js +4 -0
- package/dist/ionic/p-dfc198fc.system.entry.js +4 -0
- package/dist/ionic/p-e285f90c.js +4 -0
- package/dist/ionic/p-e2f8cbe8.entry.js +4 -0
- package/dist/ionic/p-e48ecc9d.system.js +4 -0
- package/dist/ionic/p-e72b1a16.js +4 -0
- package/dist/ionic/p-e7deea0b.system.entry.js +4 -0
- package/dist/ionic/{p-91d713b7.system.entry.js → p-ec46d513.system.entry.js} +1 -1
- package/dist/ionic/p-ef67ccf4.system.js +4 -0
- package/dist/ionic/p-f2b51129.entry.js +4 -0
- package/dist/ionic/p-f3f7f713.js +4 -0
- package/dist/ionic/{p-0f9c24fe.system.js → p-f53e472e.system.js} +1 -1
- package/dist/ionic/{p-1d524f20.system.js → p-f9d31dea.system.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-fcfdf30d.system.js} +1 -1
- package/dist/ionic/p-ffee07a5.entry.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/stencil-public-runtime.d.ts +0 -4
- package/dist/types/utils/config.d.ts +1 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.d.ts +0 -6
- package/hydrate/index.js +385 -514
- package/hydrate/index.mjs +385 -514
- package/package.json +2 -2
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/dist/cjs/hardware-back-button-35a9ebdb.js +0 -122
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-2fc6b860.js +0 -237
- package/dist/esm/hardware-back-button-3dd2cf5a.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm/ionic-global-aba82484.js +0 -231
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-cef8aa6d.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/framework-delegate-63d1a679.js +0 -4
- package/dist/esm-es5/hardware-back-button-3dd2cf5a.js +0 -4
- package/dist/esm-es5/index-3ed04e6d.js +0 -5
- package/dist/esm-es5/index-42907296.js +0 -4
- package/dist/esm-es5/index-5cc724f3.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-deb1a83e.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-aba82484.js +0 -4
- package/dist/esm-es5/ios.transition-903646a5.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-92c7f8a6.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-d1a2f8a8.js +0 -4
- package/dist/esm-es5/status-tap-97e323a9.js +0 -4
- package/dist/ionic/p-0047371d.system.entry.js +0 -4
- package/dist/ionic/p-019fe44c.system.entry.js +0 -4
- package/dist/ionic/p-05399319.entry.js +0 -4
- package/dist/ionic/p-067db520.system.entry.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-0956b807.system.entry.js +0 -4
- package/dist/ionic/p-0b2cb317.system.entry.js +0 -4
- package/dist/ionic/p-0b61b67e.system.js +0 -4
- package/dist/ionic/p-0bfdb16f.system.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-0dc1d769.entry.js +0 -4
- package/dist/ionic/p-1350a9c2.entry.js +0 -4
- package/dist/ionic/p-149da974.system.js +0 -4
- package/dist/ionic/p-16b7cfc2.entry.js +0 -4
- package/dist/ionic/p-1955f63a.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-2067d815.system.entry.js +0 -4
- package/dist/ionic/p-2583e966.js +0 -4
- package/dist/ionic/p-263a3f91.system.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2b2a48ed.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b87a770.entry.js +0 -4
- package/dist/ionic/p-2e2c1a93.system.entry.js +0 -4
- package/dist/ionic/p-2e6cf7f2.js +0 -4
- package/dist/ionic/p-2f244b7c.system.entry.js +0 -4
- package/dist/ionic/p-33fb4e9d.entry.js +0 -4
- package/dist/ionic/p-3b2c0ca4.entry.js +0 -4
- package/dist/ionic/p-3c8001c7.system.entry.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-3e4a7bd8.system.entry.js +0 -4
- package/dist/ionic/p-40277321.system.entry.js +0 -4
- package/dist/ionic/p-4205a4d9.entry.js +0 -4
- package/dist/ionic/p-428db536.entry.js +0 -4
- package/dist/ionic/p-44d98be5.system.entry.js +0 -4
- package/dist/ionic/p-46bac798.entry.js +0 -4
- package/dist/ionic/p-488bc4e4.system.entry.js +0 -4
- package/dist/ionic/p-49c26aa9.entry.js +0 -4
- package/dist/ionic/p-4ad055dc.system.entry.js +0 -4
- package/dist/ionic/p-4b1364c9.entry.js +0 -4
- package/dist/ionic/p-4bd23b81.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4d81423b.entry.js +0 -4
- package/dist/ionic/p-4e7b0cee.entry.js +0 -4
- package/dist/ionic/p-4fe468c2.entry.js +0 -4
- package/dist/ionic/p-51ae8a06.system.entry.js +0 -4
- package/dist/ionic/p-51d30486.entry.js +0 -4
- package/dist/ionic/p-52c20808.entry.js +0 -4
- package/dist/ionic/p-56435093.js +0 -4
- package/dist/ionic/p-57f94155.system.entry.js +0 -4
- package/dist/ionic/p-59a394ad.system.js +0 -5
- package/dist/ionic/p-59cda258.system.entry.js +0 -4
- package/dist/ionic/p-5d43e642.entry.js +0 -4
- package/dist/ionic/p-5d6c0bf8.system.js +0 -4
- package/dist/ionic/p-5d7ea80a.system.entry.js +0 -4
- package/dist/ionic/p-5e94453a.entry.js +0 -4
- package/dist/ionic/p-5e97855d.system.entry.js +0 -4
- package/dist/ionic/p-5ef51d63.entry.js +0 -4
- package/dist/ionic/p-600a4ea0.js +0 -4
- package/dist/ionic/p-62b04b4c.entry.js +0 -4
- package/dist/ionic/p-663fe7c8.system.entry.js +0 -4
- package/dist/ionic/p-68da7fc8.system.js +0 -4
- package/dist/ionic/p-6bbad9e4.system.entry.js +0 -4
- package/dist/ionic/p-6ca2a6af.entry.js +0 -4
- package/dist/ionic/p-6f465cce.js +0 -4
- package/dist/ionic/p-70325536.entry.js +0 -4
- package/dist/ionic/p-714841be.system.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-7414228b.js +0 -5
- package/dist/ionic/p-76bb8eb2.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-7e07fb64.entry.js +0 -4
- package/dist/ionic/p-7e497250.system.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-89bd4ed2.entry.js +0 -4
- package/dist/ionic/p-933e9e71.entry.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-9ea607bd.system.js +0 -4
- package/dist/ionic/p-9f8740b2.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a8775bf9.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-aed9cc5b.entry.js +0 -4
- package/dist/ionic/p-aee3f804.system.entry.js +0 -4
- package/dist/ionic/p-b2a2c6cf.system.entry.js +0 -4
- package/dist/ionic/p-b69c1e65.system.entry.js +0 -4
- package/dist/ionic/p-b719790b.js +0 -4
- package/dist/ionic/p-b7836cec.entry.js +0 -4
- package/dist/ionic/p-b8157bb5.system.entry.js +0 -4
- package/dist/ionic/p-bae531fb.system.entry.js +0 -4
- package/dist/ionic/p-bd9fd891.system.entry.js +0 -4
- package/dist/ionic/p-c342dbdf.system.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c57d792e.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c76e43a2.system.entry.js +0 -4
- package/dist/ionic/p-cb9da2a3.entry.js +0 -4
- package/dist/ionic/p-cc3e2b52.entry.js +0 -4
- package/dist/ionic/p-ce58e8e0.entry.js +0 -4
- package/dist/ionic/p-d073ba84.entry.js +0 -4
- package/dist/ionic/p-d0f8d0aa.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d65d9c9c.system.entry.js +0 -4
- package/dist/ionic/p-d6e463ee.system.entry.js +0 -4
- package/dist/ionic/p-d75bce6a.system.js +0 -4
- package/dist/ionic/p-d8ace0cb.entry.js +0 -4
- package/dist/ionic/p-d8dcfbf3.system.entry.js +0 -4
- package/dist/ionic/p-da5e7dbe.system.entry.js +0 -4
- package/dist/ionic/p-dc672c3a.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-e351e0e3.entry.js +0 -4
- package/dist/ionic/p-e6e98f68.system.entry.js +0 -4
- package/dist/ionic/p-e9119176.entry.js +0 -4
- package/dist/ionic/p-ed3f6648.system.entry.js +0 -4
- package/dist/ionic/p-eec4b4ce.entry.js +0 -4
- package/dist/ionic/p-f08654ea.system.js +0 -4
- package/dist/ionic/p-f22b3a75.js +0 -4
- package/dist/ionic/p-f367478b.js +0 -4
- package/dist/ionic/p-fc9b4e5a.entry.js +0 -4
- package/dist/ionic/p-fdfa74cc.system.entry.js +0 -4
- package/dist/ionic/p-fec56d82.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
// TODO(FW-2832): types
|
|
7
|
+
class Config {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.m = new Map();
|
|
10
|
+
}
|
|
11
|
+
reset(configObj) {
|
|
12
|
+
this.m = new Map(Object.entries(configObj));
|
|
13
|
+
}
|
|
14
|
+
get(key, fallback) {
|
|
15
|
+
const value = this.m.get(key);
|
|
16
|
+
return value !== undefined ? value : fallback;
|
|
17
|
+
}
|
|
18
|
+
getBoolean(key, fallback = false) {
|
|
19
|
+
const val = this.m.get(key);
|
|
20
|
+
if (val === undefined) {
|
|
21
|
+
return fallback;
|
|
22
|
+
}
|
|
23
|
+
if (typeof val === 'string') {
|
|
24
|
+
return val === 'true';
|
|
25
|
+
}
|
|
26
|
+
return !!val;
|
|
27
|
+
}
|
|
28
|
+
getNumber(key, fallback) {
|
|
29
|
+
const val = parseFloat(this.m.get(key));
|
|
30
|
+
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
31
|
+
}
|
|
32
|
+
set(key, value) {
|
|
33
|
+
this.m.set(key, value);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const config = /*@__PURE__*/ new Config();
|
|
37
|
+
const configFromSession = (win) => {
|
|
38
|
+
try {
|
|
39
|
+
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
40
|
+
return configStr !== null ? JSON.parse(configStr) : {};
|
|
41
|
+
}
|
|
42
|
+
catch (e) {
|
|
43
|
+
return {};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const saveConfig = (win, c) => {
|
|
47
|
+
try {
|
|
48
|
+
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
49
|
+
}
|
|
50
|
+
catch (e) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const configFromURL = (win) => {
|
|
55
|
+
const configObj = {};
|
|
56
|
+
win.location.search
|
|
57
|
+
.slice(1)
|
|
58
|
+
.split('&')
|
|
59
|
+
.map((entry) => entry.split('='))
|
|
60
|
+
.map(([key, value]) => {
|
|
61
|
+
try {
|
|
62
|
+
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
63
|
+
}
|
|
64
|
+
catch (e) {
|
|
65
|
+
return ['', ''];
|
|
66
|
+
}
|
|
67
|
+
})
|
|
68
|
+
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
69
|
+
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
70
|
+
.forEach(([key, value]) => {
|
|
71
|
+
configObj[key] = value;
|
|
72
|
+
});
|
|
73
|
+
return configObj;
|
|
74
|
+
};
|
|
75
|
+
const startsWith = (input, search) => {
|
|
76
|
+
return input.substr(0, search.length) === search;
|
|
77
|
+
};
|
|
78
|
+
const IONIC_PREFIX = 'ionic:';
|
|
79
|
+
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
80
|
+
|
|
81
|
+
exports.config = config;
|
|
82
|
+
exports.configFromSession = configFromSession;
|
|
83
|
+
exports.configFromURL = configFromURL;
|
|
84
|
+
exports.saveConfig = saveConfig;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns true if the selected day is equal to the reference day
|
|
@@ -37,7 +37,7 @@ const warnIfValueOutOfBounds = (value, min, max) => {
|
|
|
37
37
|
const valueArray = Array.isArray(value) ? value : [value];
|
|
38
38
|
for (const val of valueArray) {
|
|
39
39
|
if ((min !== undefined && isBefore(val, min)) || (max !== undefined && isAfter(val, max))) {
|
|
40
|
-
|
|
40
|
+
ionicGlobal.printIonWarning('The value provided to ion-datetime is out of bounds.\n\n' +
|
|
41
41
|
`Min: ${JSON.stringify(min)}\n` +
|
|
42
42
|
`Max: ${JSON.stringify(max)}\n` +
|
|
43
43
|
`Value: ${JSON.stringify(value)}`);
|
|
@@ -254,7 +254,7 @@ function parseDate(val) {
|
|
|
254
254
|
}
|
|
255
255
|
if (parse === null) {
|
|
256
256
|
// wasn't able to parse the ISO datetime
|
|
257
|
-
|
|
257
|
+
ionicGlobal.printIonWarning(`Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
|
|
258
258
|
return undefined;
|
|
259
259
|
}
|
|
260
260
|
// ensure all the parse values exist with at least 0
|
|
@@ -19,6 +19,13 @@ const FOCUS_KEYS = [
|
|
|
19
19
|
'Home',
|
|
20
20
|
'End',
|
|
21
21
|
];
|
|
22
|
+
let focusVisibleUtility = null;
|
|
23
|
+
const getOrInitFocusVisibleUtility = () => {
|
|
24
|
+
if (!focusVisibleUtility) {
|
|
25
|
+
focusVisibleUtility = startFocusVisible();
|
|
26
|
+
}
|
|
27
|
+
return focusVisibleUtility;
|
|
28
|
+
};
|
|
22
29
|
const startFocusVisible = (rootEl) => {
|
|
23
30
|
let currentFocus = [];
|
|
24
31
|
let keyboardMode = true;
|
|
@@ -74,4 +81,5 @@ const startFocusVisible = (rootEl) => {
|
|
|
74
81
|
};
|
|
75
82
|
};
|
|
76
83
|
|
|
84
|
+
exports.getOrInitFocusVisibleUtility = getOrInitFocusVisibleUtility;
|
|
77
85
|
exports.startFocusVisible = startFocusVisible;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const config = require('./config-aff4ff52.js');
|
|
7
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
7
8
|
|
|
8
9
|
// TODO(FW-2832): types
|
|
9
10
|
const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
@@ -104,7 +105,8 @@ const CoreDelegate = () => {
|
|
|
104
105
|
* Get the root of the app and
|
|
105
106
|
* add the overlay there.
|
|
106
107
|
*/
|
|
107
|
-
const
|
|
108
|
+
const appRootClass = config.config.get('appRootClass', 'ion-app');
|
|
109
|
+
const app = document.querySelector(`ion-app, ${appRootClass}`) || document.body;
|
|
108
110
|
/**
|
|
109
111
|
* Create a placeholder comment so that
|
|
110
112
|
* we can return this component to where
|
|
@@ -243,7 +243,7 @@ const focusVisibleElement = (el) => {
|
|
|
243
243
|
* which will let us explicitly set the elements to focus.
|
|
244
244
|
*/
|
|
245
245
|
if (el.classList.contains('ion-focusable')) {
|
|
246
|
-
const app = el.closest('ion-app');
|
|
246
|
+
const app = el.closest('ion-app, .ion-app');
|
|
247
247
|
if (app) {
|
|
248
248
|
app.setFocus([el]);
|
|
249
249
|
}
|
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-2fc6b860.js');
|
|
11
|
-
const animation = require('./animation-b4fdf128.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
7
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
8
|
+
const animation = require('./animation-79f60b24.js');
|
|
12
9
|
|
|
13
10
|
/**
|
|
14
11
|
* baseAnimation
|
|
@@ -170,7 +167,7 @@ const createMenuController = () => {
|
|
|
170
167
|
const menuRefs = menus.filter((m) => m.side === menu && !m.disabled);
|
|
171
168
|
if (menuRefs.length >= 1) {
|
|
172
169
|
if (menuRefs.length > 1 && logOnMultipleSideMenus) {
|
|
173
|
-
|
|
170
|
+
ionicGlobal.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));
|
|
174
171
|
}
|
|
175
172
|
return menuRefs[0].el;
|
|
176
173
|
}
|
|
@@ -179,7 +176,7 @@ const createMenuController = () => {
|
|
|
179
176
|
const sideMenuRefs = menus.filter((m) => m.side === menu);
|
|
180
177
|
if (sideMenuRefs.length >= 1) {
|
|
181
178
|
if (sideMenuRefs.length > 1 && logOnMultipleSideMenus) {
|
|
182
|
-
|
|
179
|
+
ionicGlobal.printIonWarning(`menuController queried for a menu on the "${menu}" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));
|
|
183
180
|
}
|
|
184
181
|
return sideMenuRefs[0].el;
|
|
185
182
|
}
|
|
@@ -275,10 +272,10 @@ const createMenuController = () => {
|
|
|
275
272
|
registerAnimation('reveal', menuRevealAnimation);
|
|
276
273
|
registerAnimation('push', menuPushAnimation);
|
|
277
274
|
registerAnimation('overlay', menuOverlayAnimation);
|
|
278
|
-
|
|
275
|
+
ionicGlobal.doc === null || ionicGlobal.doc === void 0 ? void 0 : ionicGlobal.doc.addEventListener('ionBackButton', (ev) => {
|
|
279
276
|
const openMenu = _getOpenSync();
|
|
280
277
|
if (openMenu) {
|
|
281
|
-
ev.detail.register(
|
|
278
|
+
ev.detail.register(ionicGlobal.MENU_BACK_BUTTON_PRIORITY, () => {
|
|
282
279
|
return openMenu.close();
|
|
283
280
|
});
|
|
284
281
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const helpers = require('./helpers-
|
|
7
|
-
const
|
|
6
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
7
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -92,7 +92,7 @@ const scrollByPoint = (el, x, y, durationMs) => {
|
|
|
92
92
|
* within either the `ion-content` selector or the `.ion-content-scroll-host` class.
|
|
93
93
|
*/
|
|
94
94
|
const printIonContentErrorMsg = (el) => {
|
|
95
|
-
return
|
|
95
|
+
return ionicGlobal.printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* Several components in Ionic need to prevent scrolling
|
|
@@ -27,7 +27,7 @@ const NAMESPACE = 'ionic';
|
|
|
27
27
|
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: true, experimentalSlotFixes: true, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
28
28
|
|
|
29
29
|
/*
|
|
30
|
-
Stencil Client Platform v4.21.0
|
|
30
|
+
Stencil Client Platform v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
31
31
|
*/
|
|
32
32
|
var __defProp = Object.defineProperty;
|
|
33
33
|
var __export = (target, all) => {
|
|
@@ -657,7 +657,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
657
657
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
658
658
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
659
659
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
660
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling :
|
|
660
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
|
|
661
661
|
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
662
662
|
} else if ("host" in styleContainerNode) {
|
|
663
663
|
styleContainerNode.prepend(styleElm);
|
|
@@ -1920,11 +1920,6 @@ var patchSlotAppendChild = (HostElementPrototype) => {
|
|
|
1920
1920
|
const slotName = newChild["s-sn"] = getSlotName(newChild);
|
|
1921
1921
|
const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
|
|
1922
1922
|
if (slotNode) {
|
|
1923
|
-
const slotPlaceholder = document.createTextNode("");
|
|
1924
|
-
slotPlaceholder["s-nr"] = newChild;
|
|
1925
|
-
slotNode["s-cr"].parentNode.__appendChild(slotPlaceholder);
|
|
1926
|
-
newChild["s-ol"] = slotPlaceholder;
|
|
1927
|
-
newChild["s-sh"] = slotNode["s-hn"];
|
|
1928
1923
|
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
1929
1924
|
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
1930
1925
|
const insertedNode = insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);
|
|
@@ -1966,7 +1961,6 @@ var patchSlotPrepend = (HostElementPrototype) => {
|
|
|
1966
1961
|
slotPlaceholder["s-nr"] = newChild;
|
|
1967
1962
|
slotNode["s-cr"].parentNode.__appendChild(slotPlaceholder);
|
|
1968
1963
|
newChild["s-ol"] = slotPlaceholder;
|
|
1969
|
-
newChild["s-sh"] = slotNode["s-hn"];
|
|
1970
1964
|
const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
|
|
1971
1965
|
const appendAfter = slotChildNodes[0];
|
|
1972
1966
|
return insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
6
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
7
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
8
|
+
require('./index-b9e25ecd.js');
|
|
9
|
+
require('./config-aff4ff52.js');
|
|
8
10
|
|
|
9
11
|
const startTapClick = (config) => {
|
|
10
|
-
if (
|
|
12
|
+
if (ionicGlobal.doc === undefined) {
|
|
11
13
|
return;
|
|
12
14
|
}
|
|
13
15
|
let lastActivated = 0;
|
|
@@ -110,9 +112,9 @@ const startTapClick = (config) => {
|
|
|
110
112
|
active.classList.remove(ACTIVATED);
|
|
111
113
|
}
|
|
112
114
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
ionicGlobal.doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
116
|
+
ionicGlobal.doc.addEventListener('pointerdown', pointerDown, true);
|
|
117
|
+
ionicGlobal.doc.addEventListener('pointerup', pointerUp, true);
|
|
116
118
|
/**
|
|
117
119
|
* Tap click effects such as the ripple effect should
|
|
118
120
|
* not happen when scrolling. For example, if a user scrolls
|
|
@@ -125,7 +127,7 @@ const startTapClick = (config) => {
|
|
|
125
127
|
* starts, so this lets us avoid having to listen for
|
|
126
128
|
* ion-content's scroll events.
|
|
127
129
|
*/
|
|
128
|
-
|
|
130
|
+
ionicGlobal.doc.addEventListener('pointercancel', cancelActive, true);
|
|
129
131
|
};
|
|
130
132
|
// TODO(FW-2832): type
|
|
131
133
|
const getActivatableTarget = (ev) => {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const index
|
|
8
|
-
const
|
|
9
|
-
const helpers = require('./helpers-
|
|
6
|
+
const config = require('./config-aff4ff52.js');
|
|
7
|
+
const index = require('./index-b9e25ecd.js');
|
|
8
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
9
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
10
10
|
|
|
11
11
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
12
12
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -40,7 +40,7 @@ const isVisible = (el) => {
|
|
|
40
40
|
*/
|
|
41
41
|
const createFocusController = () => {
|
|
42
42
|
const saveViewFocus = (referenceEl) => {
|
|
43
|
-
const focusManagerEnabled =
|
|
43
|
+
const focusManagerEnabled = config.config.get('focusManagerPriority', false);
|
|
44
44
|
/**
|
|
45
45
|
* When going back to a previously visited page focus should typically be moved
|
|
46
46
|
* back to the element that was last focused when the user was on this view.
|
|
@@ -53,7 +53,7 @@ const createFocusController = () => {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
const setViewFocus = (referenceEl) => {
|
|
56
|
-
const focusManagerPriorities =
|
|
56
|
+
const focusManagerPriorities = config.config.get('focusManagerPriority', false);
|
|
57
57
|
/**
|
|
58
58
|
* If the focused element is a descendant of the referenceEl then it's possible
|
|
59
59
|
* that the app developer manually moved focus, so we do not want to override that.
|
|
@@ -103,7 +103,7 @@ const createFocusController = () => {
|
|
|
103
103
|
}
|
|
104
104
|
break;
|
|
105
105
|
default:
|
|
106
|
-
|
|
106
|
+
ionicGlobal.printIonWarning(`Unrecognized focus manager priority value ${priority}`);
|
|
107
107
|
break;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -122,13 +122,13 @@ const createFocusController = () => {
|
|
|
122
122
|
};
|
|
123
123
|
const LAST_FOCUS = 'ion-last-focus';
|
|
124
124
|
|
|
125
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
126
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
125
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-ecdbe79a.js'); });
|
|
126
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-a2dbb62b.js'); });
|
|
127
127
|
const focusController = createFocusController();
|
|
128
128
|
// TODO(FW-2832): types
|
|
129
129
|
const transition = (opts) => {
|
|
130
130
|
return new Promise((resolve, reject) => {
|
|
131
|
-
index
|
|
131
|
+
index.writeTask(() => {
|
|
132
132
|
beforeTransition(opts);
|
|
133
133
|
runTransition(opts).then((result) => {
|
|
134
134
|
if (result.animation) {
|
|
@@ -169,7 +169,7 @@ const beforeTransition = (opts) => {
|
|
|
169
169
|
};
|
|
170
170
|
const runTransition = async (opts) => {
|
|
171
171
|
const animationBuilder = await getAnimationBuilder(opts);
|
|
172
|
-
const ani = animationBuilder && index
|
|
172
|
+
const ani = animationBuilder && index.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
|
|
173
173
|
return ani;
|
|
174
174
|
};
|
|
175
175
|
const afterTransition = (opts) => {
|
|
@@ -214,7 +214,7 @@ const animation = async (animationBuilder, opts) => {
|
|
|
214
214
|
const noAnimation = async (opts) => {
|
|
215
215
|
const enteringEl = opts.enteringEl;
|
|
216
216
|
const leavingEl = opts.leavingEl;
|
|
217
|
-
const focusManagerEnabled =
|
|
217
|
+
const focusManagerEnabled = config.config.get('focusManagerPriority', false);
|
|
218
218
|
/**
|
|
219
219
|
* If the focus manager is enabled then we need to wait for Ionic components to be
|
|
220
220
|
* rendered otherwise the component to focus may not be focused because it is hidden.
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -5,24 +5,22 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const animation = require('./animation-
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
8
|
+
const animation = require('./animation-79f60b24.js');
|
|
9
|
+
const index = require('./index-e391e4f0.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-ecdbe79a.js');
|
|
11
|
+
const md_transition = require('./md.transition-a2dbb62b.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
const helpers = require('./helpers-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
15
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
20
|
-
require('./
|
|
21
|
-
require('./index-
|
|
22
|
-
require('./index-5915f9b3.js');
|
|
18
|
+
const index$2 = require('./index-36089f7c.js');
|
|
19
|
+
const overlays = require('./overlays-2847add7.js');
|
|
20
|
+
require('./config-aff4ff52.js');
|
|
21
|
+
require('./index-b9e25ecd.js');
|
|
23
22
|
require('./gesture-controller-9436f482.js');
|
|
24
|
-
require('./
|
|
25
|
-
require('./framework-delegate-55f5683a.js');
|
|
23
|
+
require('./framework-delegate-dd8c8308.js');
|
|
26
24
|
|
|
27
25
|
const IonicSlides = (opts) => {
|
|
28
26
|
const { swiper, extendParams } = opts;
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const index
|
|
8
|
-
const helpers = require('./helpers-
|
|
9
|
-
const keyboard = require('./keyboard-
|
|
10
|
-
require('./index-
|
|
11
|
-
require('./
|
|
6
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
7
|
+
const index = require('./index-4c1435d8.js');
|
|
8
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
9
|
+
const keyboard = require('./keyboard-9c8c3373.js');
|
|
10
|
+
require('./index-b9e25ecd.js');
|
|
11
|
+
require('./config-aff4ff52.js');
|
|
12
|
+
require('./capacitor-6d32aa8f.js');
|
|
12
13
|
|
|
13
14
|
const cloneMap = new WeakMap();
|
|
14
15
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|
|
@@ -286,7 +287,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
286
287
|
* the keyboard height again. This will result in the input
|
|
287
288
|
* being scrolled more than it needs to.
|
|
288
289
|
*/
|
|
289
|
-
const platformHeight =
|
|
290
|
+
const platformHeight = ionicGlobal.win !== undefined ? ionicGlobal.win.innerHeight : 0;
|
|
290
291
|
/**
|
|
291
292
|
* Scroll assist is run when a text field
|
|
292
293
|
* is focused. However, it may need to
|
|
@@ -339,7 +340,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
339
340
|
*/
|
|
340
341
|
const focusOut = () => {
|
|
341
342
|
hasKeyboardBeenPresentedForTextField = false;
|
|
342
|
-
|
|
343
|
+
ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
343
344
|
componentEl.removeEventListener('focusout', focusOut);
|
|
344
345
|
};
|
|
345
346
|
/**
|
|
@@ -359,13 +360,13 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
359
360
|
return;
|
|
360
361
|
}
|
|
361
362
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
|
|
362
|
-
|
|
363
|
+
ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
363
364
|
componentEl.addEventListener('focusout', focusOut);
|
|
364
365
|
};
|
|
365
366
|
componentEl.addEventListener('focusin', focusIn);
|
|
366
367
|
return () => {
|
|
367
368
|
componentEl.removeEventListener('focusin', focusIn);
|
|
368
|
-
|
|
369
|
+
ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
369
370
|
componentEl.removeEventListener('focusout', focusOut);
|
|
370
371
|
};
|
|
371
372
|
};
|
|
@@ -441,7 +442,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
441
442
|
window.removeEventListener('ionKeyboardDidShow', scrollContent);
|
|
442
443
|
// scroll the input into place
|
|
443
444
|
if (contentEl) {
|
|
444
|
-
await index
|
|
445
|
+
await index.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
|
|
445
446
|
}
|
|
446
447
|
// the scroll view is in the correct position now
|
|
447
448
|
// give the native text input focus
|
|
@@ -462,7 +463,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
462
463
|
window.addEventListener('ionKeyboardDidShow', scrollContent);
|
|
463
464
|
};
|
|
464
465
|
if (contentEl) {
|
|
465
|
-
const scrollEl = await index
|
|
466
|
+
const scrollEl = await index.getScrollElement(contentEl);
|
|
466
467
|
/**
|
|
467
468
|
* scrollData will only consider the amount we need
|
|
468
469
|
* to scroll in order to properly bring the input
|
|
@@ -510,7 +511,7 @@ const startInputShims = async (config, platform) => {
|
|
|
510
511
|
* If doc is undefined then we are in an SSR environment
|
|
511
512
|
* where input shims do not apply.
|
|
512
513
|
*/
|
|
513
|
-
if (
|
|
514
|
+
if (ionicGlobal.doc === undefined) {
|
|
514
515
|
return;
|
|
515
516
|
}
|
|
516
517
|
const isIOS = platform === 'ios';
|
|
@@ -532,7 +533,7 @@ const startInputShims = async (config, platform) => {
|
|
|
532
533
|
*/
|
|
533
534
|
const inputBlurring = config.getBoolean('inputBlurring', false);
|
|
534
535
|
const scrollPadding = config.getBoolean('scrollPadding', true);
|
|
535
|
-
const inputs = Array.from(
|
|
536
|
+
const inputs = Array.from(ionicGlobal.doc.querySelectorAll('ion-input, ion-textarea'));
|
|
536
537
|
const hideCaretMap = new WeakMap();
|
|
537
538
|
const scrollAssistMap = new WeakMap();
|
|
538
539
|
/**
|
|
@@ -548,7 +549,7 @@ const startInputShims = async (config, platform) => {
|
|
|
548
549
|
await new Promise((resolve) => helpers.componentOnReady(componentEl, resolve));
|
|
549
550
|
const inputRoot = componentEl.shadowRoot || componentEl;
|
|
550
551
|
const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');
|
|
551
|
-
const scrollEl = index
|
|
552
|
+
const scrollEl = index.findClosestIonContent(componentEl);
|
|
552
553
|
const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;
|
|
553
554
|
if (!inputEl) {
|
|
554
555
|
return;
|
|
@@ -597,10 +598,10 @@ const startInputShims = async (config, platform) => {
|
|
|
597
598
|
for (const input of inputs) {
|
|
598
599
|
registerInput(input);
|
|
599
600
|
}
|
|
600
|
-
|
|
601
|
+
ionicGlobal.doc.addEventListener('ionInputDidLoad', (ev) => {
|
|
601
602
|
registerInput(ev.detail);
|
|
602
603
|
});
|
|
603
|
-
|
|
604
|
+
ionicGlobal.doc.addEventListener('ionInputDidUnload', (ev) => {
|
|
604
605
|
unregisterInput(ev.detail);
|
|
605
606
|
});
|
|
606
607
|
};
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
8
|
-
const index$1 = require('./index-5915f9b3.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
7
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -19,7 +18,7 @@ const index$1 = require('./index-5915f9b3.js');
|
|
|
19
18
|
const createSlotMutationController = (el, slotName, mutationCallback) => {
|
|
20
19
|
let hostMutationObserver;
|
|
21
20
|
let slottedContentMutationObserver;
|
|
22
|
-
if (
|
|
21
|
+
if (ionicGlobal.win !== undefined && 'MutationObserver' in ionicGlobal.win) {
|
|
23
22
|
const slots = Array.isArray(slotName) ? slotName : [slotName];
|
|
24
23
|
hostMutationObserver = new MutationObserver((entries) => {
|
|
25
24
|
for (const entry of entries) {
|
|
@@ -138,7 +137,7 @@ const getCounterText = (value, maxLength, counterFormatter) => {
|
|
|
138
137
|
return counterFormatter(valueLength, maxLength);
|
|
139
138
|
}
|
|
140
139
|
catch (e) {
|
|
141
|
-
|
|
140
|
+
ionicGlobal.printIonError('Exception in provided `counterFormatter`.', e);
|
|
142
141
|
return defaultCounterText;
|
|
143
142
|
}
|
|
144
143
|
};
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const helpers = require('./helpers-
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
10
10
|
const index$1 = require('./index-073c7cdc.js');
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const config = require('./config-aff4ff52.js');
|
|
12
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
13
13
|
|
|
14
14
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
15
15
|
const IonAccordionIosStyle0 = accordionIosCss;
|
|
@@ -173,7 +173,7 @@ const Accordion = class {
|
|
|
173
173
|
if (prefersReducedMotion) {
|
|
174
174
|
return false;
|
|
175
175
|
}
|
|
176
|
-
const animated =
|
|
176
|
+
const animated = config.config.get('animated', true);
|
|
177
177
|
if (!animated) {
|
|
178
178
|
return false;
|
|
179
179
|
}
|
|
@@ -356,7 +356,7 @@ const AccordionGroup = class {
|
|
|
356
356
|
* Default toString() behavior: a,b
|
|
357
357
|
* Custom behavior: ['a', 'b']
|
|
358
358
|
*/
|
|
359
|
-
|
|
359
|
+
ionicGlobal.printIonWarning(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
|
|
360
360
|
|
|
361
361
|
Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
|
|
362
362
|
`, this.el);
|
|
@@ -5,22 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const buttonActive = require('./button-active-
|
|
10
|
-
const helpers = require('./helpers-
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const buttonActive = require('./button-active-d92fdc20.js');
|
|
10
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-2847add7.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
const animation = require('./animation-
|
|
16
|
-
require('./haptic-
|
|
17
|
-
require('./capacitor-
|
|
18
|
-
require('./index-c8d52405.js');
|
|
14
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
15
|
+
const animation = require('./animation-79f60b24.js');
|
|
16
|
+
require('./haptic-48302ce8.js');
|
|
17
|
+
require('./capacitor-6d32aa8f.js');
|
|
19
18
|
require('./index-ee07ed59.js');
|
|
20
19
|
require('./gesture-controller-9436f482.js');
|
|
21
|
-
require('./
|
|
22
|
-
require('./framework-delegate-
|
|
23
|
-
require('./index-5915f9b3.js');
|
|
20
|
+
require('./config-aff4ff52.js');
|
|
21
|
+
require('./framework-delegate-dd8c8308.js');
|
|
24
22
|
|
|
25
23
|
/**
|
|
26
24
|
* iOS Action Sheet Enter Animation
|