@ionic/core 8.3.1-dev.11726172907.15a1af41 → 8.3.1-dev.11726258029.1014159b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/animation.js +1 -1
- package/components/button.js +2 -1
- package/components/capacitor.js +1 -1
- package/components/data.js +1 -1
- package/components/focus-visible.js +1 -8
- package/components/hardware-back-button.js +115 -0
- package/components/index2.js +2 -1
- package/components/index4.js +4 -1
- package/components/index5.js +3 -27
- package/components/index6.js +20 -114
- package/components/index7.js +27 -163
- package/components/index8.js +128 -0
- package/components/index9.js +167 -0
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +2 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-app.js +75 -6
- package/components/ion-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-datetime-button.js +2 -1
- package/components/ion-datetime.js +3 -2
- package/components/ion-fab-button.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +2 -1
- package/components/ion-modal.js +4 -2
- package/components/ion-nav.js +2 -1
- package/components/ion-picker-legacy.js +2 -1
- package/components/ion-range.js +3 -2
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-toast.js +3 -1
- package/components/ion-toggle.js +1 -1
- package/components/ionic-global.js +2 -219
- package/components/item.js +1 -1
- package/components/keyboard-controller.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -1
- package/components/picker-column.js +2 -1
- package/components/popover.js +2 -1
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-f43e6366.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-aa7aec45.js → app-globals-9d795e44.js} +1 -1
- package/dist/cjs/{button-active-1164881e.js → button-active-4115dc12.js} +2 -2
- package/dist/cjs/{capacitor-094870c0.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-c6182804.js → data-21dc0f81.js} +3 -3
- package/dist/cjs/{focus-visible-ca81ce81.js → focus-visible-7a0ce04f.js} +0 -8
- package/dist/cjs/{haptic-188baa8e.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-35a9ebdb.js +122 -0
- package/dist/cjs/{index-afc28d19.js → index-248835d7.js} +9 -6
- package/dist/cjs/{index-b9e25ecd.js → index-42dd5e74.js} +8 -2
- package/dist/cjs/{index-23381b18.js → index-44dacdce.js} +8 -7
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-b3550209.js → index-5b6a7459.js} +2 -2
- package/dist/cjs/{index-60f4c4b4.js → index-9509ecad.js} +6 -7
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/index.cjs.js +11 -8
- package/dist/cjs/{input-shims-833981ee.js → input-shims-9e59ef62.js} +16 -16
- package/dist/cjs/{input.utils-a4020823.js → input.utils-611cde0b.js} +4 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -7
- package/dist/cjs/ion-alert.cjs.entry.js +10 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +91 -21
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -7
- package/dist/cjs/ion-datetime_3.cjs.entry.js +97 -94
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +8 -7
- package/dist/cjs/ion-input.cjs.entry.js +6 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +7 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +9 -6
- package/dist/cjs/ion-modal.cjs.entry.js +50 -47
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +11 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +9 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +8 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +7 -5
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +6 -4
- package/dist/cjs/ion-toast.cjs.entry.js +32 -29
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -4
- package/dist/cjs/ionic-global-2fc6b860.js +237 -0
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-dac99bf0.js → ios.transition-c28ff3cc.js} +6 -4
- package/dist/cjs/{keyboard-6d170faf.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-c79a662b.js → keyboard-af1bb365.js} +3 -4
- package/dist/cjs/{keyboard-controller-a6533765.js → keyboard-controller-c05e747a.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-65b7c8b6.js → md.transition-01295b30.js} +6 -4
- package/dist/cjs/{notch-controller-b33a54ec.js → notch-controller-d69150f5.js} +3 -3
- package/dist/cjs/{overlays-44027b72.js → overlays-76ac42e7.js} +12 -9
- package/dist/cjs/{status-tap-643bbfa4.js → status-tap-75c3a35d.js} +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/app/app.js +75 -5
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/global/ionic-global.js +1 -70
- package/dist/collection/utils/focus-visible.js +0 -7
- package/dist/docs.json +109 -109
- package/dist/esm/{animation-840e1209.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-537d56c1.js → app-globals-cef8aa6d.js} +1 -1
- package/dist/esm/{button-active-dba2328e.js → button-active-6700b8ee.js} +2 -2
- package/dist/esm/{capacitor-fcd09564.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-8389220e.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{focus-visible-b960316e.js → focus-visible-dd40d69f.js} +1 -8
- package/dist/esm/{haptic-6d16c679.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-3dd2cf5a.js +116 -0
- package/dist/esm/{index-4e02bb5d.js → index-3ed04e6d.js} +8 -2
- package/dist/esm/{index-a4bd9891.js → index-42907296.js} +5 -4
- package/dist/esm/{index-40662748.js → index-5cc724f3.js} +1 -1
- package/dist/esm/{index-3f9b7dcc.js → index-79b30591.js} +1 -2
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/{index-07e10d19.js → index-deb1a83e.js} +5 -2
- package/dist/esm/index.js +11 -8
- package/dist/esm/{input-shims-d4681aea.js → input-shims-0314bbe5.js} +5 -5
- package/dist/esm/{input.utils-c7e363b4.js → input.utils-09c71bc7.js} +2 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -2
- package/dist/esm/ion-action-sheet.entry.js +10 -7
- package/dist/esm/ion-alert.entry.js +10 -7
- package/dist/esm/ion-app_8.entry.js +81 -11
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +3 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -3
- package/dist/esm/ion-datetime_3.entry.js +11 -8
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -2
- package/dist/esm/ion-input.entry.js +6 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -3
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +7 -4
- package/dist/esm/ion-menu_3.entry.js +8 -5
- package/dist/esm/ion-modal.entry.js +12 -9
- package/dist/esm/ion-nav_2.entry.js +4 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +5 -4
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +8 -5
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +4 -3
- package/dist/esm/ion-refresher_2.entry.js +8 -6
- package/dist/esm/ion-reorder_2.entry.js +7 -5
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +7 -4
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -5
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -4
- package/dist/esm/ion-toast.entry.js +7 -4
- package/dist/esm/ion-toggle.entry.js +5 -4
- package/dist/esm/ionic-global-aba82484.js +231 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-e50705d1.js → ios.transition-903646a5.js} +6 -4
- package/dist/esm/{keyboard-630cb801.js → keyboard-52278bd7.js} +3 -4
- package/dist/esm/{keyboard-f89a5eae.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-00b92ab3.js → keyboard-controller-ec5c2bfa.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-58674b20.js → md.transition-92c7f8a6.js} +6 -4
- package/dist/esm/{notch-controller-e45ab374.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm/{overlays-a2dfa4a7.js → overlays-d1a2f8a8.js} +4 -1
- package/dist/esm/{status-tap-a9f0d61d.js → status-tap-97e323a9.js} +3 -3
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-cef8aa6d.js +4 -0
- package/dist/esm-es5/{button-active-dba2328e.js → button-active-6700b8ee.js} +1 -1
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/{haptic-6d16c679.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-3dd2cf5a.js +4 -0
- package/dist/esm-es5/index-3ed04e6d.js +5 -0
- package/dist/esm-es5/index-42907296.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index-deb1a83e.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-aba82484.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-903646a5.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/{keyboard-f89a5eae.js → keyboard-73175e24.js} +1 -1
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-92c7f8a6.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-d1a2f8a8.js +4 -0
- package/dist/esm-es5/status-tap-97e323a9.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-0047371d.system.entry.js +4 -0
- package/dist/ionic/p-019fe44c.system.entry.js +4 -0
- package/dist/ionic/p-05399319.entry.js +4 -0
- package/dist/ionic/{p-de6fd4fb.system.entry.js → p-067db520.system.entry.js} +1 -1
- package/dist/ionic/{p-47c92e81.js → p-06e58c4e.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-0956b807.system.entry.js +4 -0
- package/dist/ionic/{p-6418a407.system.entry.js → p-0b2cb317.system.entry.js} +1 -1
- package/dist/ionic/p-0b61b67e.system.js +4 -0
- package/dist/ionic/p-0bfdb16f.system.js +4 -0
- package/dist/ionic/p-0c06e09b.system.js +4 -0
- package/dist/ionic/p-0dc1d769.entry.js +4 -0
- package/dist/ionic/p-0f9c24fe.system.js +4 -0
- package/dist/ionic/{p-3ef8ff43.entry.js → p-1350a9c2.entry.js} +1 -1
- package/dist/ionic/p-14616c10.system.entry.js +4 -0
- package/dist/ionic/p-149da974.system.js +4 -0
- package/dist/ionic/{p-ddd6d918.entry.js → p-16b7cfc2.entry.js} +1 -1
- package/dist/ionic/p-192e07b1.system.entry.js +4 -0
- package/dist/ionic/{p-00c9cfa0.entry.js → p-1955f63a.entry.js} +1 -1
- package/dist/ionic/{p-eae596b8.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/p-1ca23ae9.system.entry.js +4 -0
- package/dist/ionic/{p-ad4a3c01.system.js → p-1d524f20.system.js} +1 -1
- package/dist/ionic/{p-6c810800.system.js → p-1dfc11b3.system.js} +1 -1
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-2067d815.system.entry.js +4 -0
- package/dist/ionic/p-2583e966.js +4 -0
- package/dist/ionic/p-263a3f91.system.js +4 -0
- package/dist/ionic/p-2690b1de.js +4 -0
- package/dist/ionic/{p-845c8117.js → p-27281edd.js} +1 -1
- package/dist/ionic/{p-3eca6ffb.entry.js → p-2b2a48ed.entry.js} +1 -1
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/{p-11cf4ee1.entry.js → p-2b87a770.entry.js} +1 -1
- package/dist/ionic/{p-c1c1b3c1.system.entry.js → p-2e2c1a93.system.entry.js} +1 -1
- package/dist/ionic/p-2e5ee828.system.entry.js +4 -0
- package/dist/ionic/p-2e6cf7f2.js +4 -0
- package/dist/ionic/{p-7f85fd7d.system.entry.js → p-2f244b7c.system.entry.js} +1 -1
- package/dist/ionic/{p-bc088eb6.system.js → p-30482ed4.system.js} +1 -1
- package/dist/ionic/{p-cc35239f.entry.js → p-33fb4e9d.entry.js} +1 -1
- package/dist/ionic/p-3447e604.system.entry.js +4 -0
- package/dist/ionic/{p-809941d0.js → p-34b11c24.js} +1 -1
- package/dist/ionic/{p-861785a6.entry.js → p-3b2c0ca4.entry.js} +1 -1
- package/dist/ionic/p-3c8001c7.system.entry.js +4 -0
- package/dist/ionic/{p-ca2083bc.system.entry.js → p-3e4a7bd8.system.entry.js} +1 -1
- package/dist/ionic/{p-39ed01f6.system.entry.js → p-40277321.system.entry.js} +1 -1
- package/dist/ionic/p-4029255b.system.entry.js +4 -0
- package/dist/ionic/{p-39166cd5.entry.js → p-4205a4d9.entry.js} +1 -1
- package/dist/ionic/p-428db536.entry.js +4 -0
- package/dist/ionic/p-42f9a951.system.entry.js +4 -0
- package/dist/ionic/{p-3657cf1a.system.entry.js → p-44d98be5.system.entry.js} +1 -1
- package/dist/ionic/p-46bac798.entry.js +4 -0
- package/dist/ionic/{p-765a2b13.system.entry.js → p-488bc4e4.system.entry.js} +1 -1
- package/dist/ionic/p-49c26aa9.entry.js +4 -0
- package/dist/ionic/p-4ad055dc.system.entry.js +4 -0
- package/dist/ionic/{p-8c13b08d.entry.js → p-4b1364c9.entry.js} +1 -1
- package/dist/ionic/{p-d52f8930.entry.js → p-4bd23b81.entry.js} +1 -1
- package/dist/ionic/p-4d81423b.entry.js +4 -0
- package/dist/ionic/p-4e7b0cee.entry.js +4 -0
- package/dist/ionic/p-4fe468c2.entry.js +4 -0
- package/dist/ionic/p-51ae8a06.system.entry.js +4 -0
- package/dist/ionic/{p-1c6bb45f.entry.js → p-51d30486.entry.js} +1 -1
- package/dist/ionic/{p-e4f401d7.entry.js → p-52c20808.entry.js} +1 -1
- package/dist/ionic/p-56435093.js +4 -0
- package/dist/ionic/{p-b6fbbe81.system.entry.js → p-57f94155.system.entry.js} +1 -1
- package/dist/ionic/p-59a394ad.system.js +5 -0
- package/dist/ionic/{p-b760b2fa.system.entry.js → p-59cda258.system.entry.js} +1 -1
- package/dist/ionic/{p-91459095.entry.js → p-5d43e642.entry.js} +1 -1
- package/dist/ionic/p-5d5d5073.entry.js +4 -0
- package/dist/ionic/p-5d6c0bf8.system.js +4 -0
- package/dist/ionic/{p-0bee79fc.system.entry.js → p-5d7ea80a.system.entry.js} +1 -1
- package/dist/ionic/p-5e94453a.entry.js +4 -0
- package/dist/ionic/{p-7cbcee2c.system.entry.js → p-5e97855d.system.entry.js} +1 -1
- package/dist/ionic/{p-5a0f3c6f.entry.js → p-5ef51d63.entry.js} +1 -1
- package/dist/ionic/p-600a4ea0.js +4 -0
- package/dist/ionic/p-62b04b4c.entry.js +4 -0
- package/dist/ionic/p-663fe7c8.system.entry.js +4 -0
- package/dist/ionic/p-68da7fc8.system.js +4 -0
- package/dist/ionic/{p-d7bd9057.system.entry.js → p-6bbad9e4.system.entry.js} +1 -1
- package/dist/ionic/p-6ca2a6af.entry.js +4 -0
- package/dist/ionic/p-6f465cce.js +4 -0
- package/dist/ionic/{p-21a0f452.entry.js → p-70325536.entry.js} +1 -1
- package/dist/ionic/p-714841be.system.js +4 -0
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-7414228b.js +5 -0
- package/dist/ionic/{p-00cbf542.entry.js → p-76bb8eb2.entry.js} +1 -1
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7e07fb64.entry.js +4 -0
- package/dist/ionic/p-7e497250.system.entry.js +4 -0
- package/dist/ionic/{p-dab508d0.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-4525cc2f.js → p-89b61afc.js} +1 -1
- package/dist/ionic/{p-0a7a7ab9.entry.js → p-89bd4ed2.entry.js} +1 -1
- package/dist/ionic/{p-0476b3cc.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/{p-444c76ee.system.entry.js → p-91d713b7.system.entry.js} +1 -1
- package/dist/ionic/p-933e9e71.entry.js +4 -0
- package/dist/ionic/p-96cc4814.js +4 -0
- package/dist/ionic/{p-e00617fb.entry.js → p-99859f95.entry.js} +1 -1
- package/dist/ionic/{p-c9525721.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-9f8740b2.entry.js +4 -0
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/p-a8775bf9.entry.js +4 -0
- package/dist/ionic/{p-abe01542.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-abc5c0a4.system.entry.js +4 -0
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/p-aed9cc5b.entry.js +4 -0
- package/dist/ionic/{p-30c57db4.system.entry.js → p-aee3f804.system.entry.js} +1 -1
- package/dist/ionic/{p-5b6645a1.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/{p-eecf5384.system.entry.js → p-b2a2c6cf.system.entry.js} +1 -1
- package/dist/ionic/p-b69c1e65.system.entry.js +4 -0
- package/dist/ionic/p-b719790b.js +4 -0
- package/dist/ionic/{p-c0e7cab8.entry.js → p-b7836cec.entry.js} +1 -1
- package/dist/ionic/p-b8157bb5.system.entry.js +4 -0
- package/dist/ionic/p-bae531fb.system.entry.js +4 -0
- package/dist/ionic/{p-f41cce45.system.entry.js → p-bd9fd891.system.entry.js} +1 -1
- package/dist/ionic/{p-cf7d3a87.system.entry.js → p-c342dbdf.system.entry.js} +1 -1
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c57d792e.entry.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/{p-f3bc485f.system.entry.js → p-c76e43a2.system.entry.js} +1 -1
- package/dist/ionic/{p-60c38dee.js → p-c7e16491.js} +1 -1
- package/dist/ionic/p-c8e78b70.system.entry.js +4 -0
- package/dist/ionic/{p-cd6bd33e.entry.js → p-cb9da2a3.entry.js} +1 -1
- package/dist/ionic/p-cc3e2b52.entry.js +4 -0
- package/dist/ionic/{p-77cda5c7.entry.js → p-ce58e8e0.entry.js} +1 -1
- package/dist/ionic/p-d073ba84.entry.js +4 -0
- package/dist/ionic/p-d0f8d0aa.entry.js +4 -0
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/{p-4ee57cf5.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d65d9c9c.system.entry.js +4 -0
- package/dist/ionic/p-d6e463ee.system.entry.js +4 -0
- package/dist/ionic/{p-886a05f9.system.js → p-d75bce6a.system.js} +1 -1
- package/dist/ionic/p-d8ace0cb.entry.js +4 -0
- package/dist/ionic/p-d8dcfbf3.system.entry.js +4 -0
- package/dist/ionic/{p-84e08e08.system.entry.js → p-da5e7dbe.system.entry.js} +1 -1
- package/dist/ionic/{p-1253d402.entry.js → p-dc672c3a.entry.js} +1 -1
- package/dist/ionic/{p-9ced646a.system.js → p-dfb78785.system.js} +1 -1
- package/dist/ionic/p-e351e0e3.entry.js +4 -0
- package/dist/ionic/{p-2f8773b2.system.entry.js → p-e6e98f68.system.entry.js} +1 -1
- package/dist/ionic/{p-84030740.js → p-e8cc3bad.js} +1 -1
- package/dist/ionic/{p-9ea9eef2.entry.js → p-e9119176.entry.js} +1 -1
- package/dist/ionic/{p-d312edb3.system.entry.js → p-ed3f6648.system.entry.js} +1 -1
- package/dist/ionic/p-eec4b4ce.entry.js +4 -0
- package/dist/ionic/{p-aa037934.system.js → p-f08654ea.system.js} +1 -1
- package/dist/ionic/p-f22b3a75.js +4 -0
- package/dist/ionic/p-f367478b.js +4 -0
- package/dist/ionic/p-f36c9945.system.entry.js +4 -0
- package/dist/ionic/{p-8ff1e95d.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-fc9b4e5a.entry.js +4 -0
- package/dist/ionic/{p-6a95a932.system.entry.js → p-fdfa74cc.system.entry.js} +1 -1
- package/dist/ionic/p-fec56d82.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/app/app.d.ts +2 -0
- package/dist/types/global/ionic-global.d.ts +0 -2
- package/dist/types/stencil-public-runtime.d.ts +4 -0
- package/dist/types/utils/focus-visible.d.ts +0 -1
- package/hydrate/index.d.ts +6 -0
- package/hydrate/index.js +502 -372
- package/hydrate/index.mjs +502 -372
- package/package.json +2 -2
- package/dist/cjs/ionic-global-4503ea83.js +0 -462
- package/dist/esm/ionic-global-b1979612.js +0 -448
- package/dist/esm-es5/animation-840e1209.js +0 -4
- package/dist/esm-es5/app-globals-537d56c1.js +0 -4
- package/dist/esm-es5/capacitor-fcd09564.js +0 -4
- package/dist/esm-es5/data-8389220e.js +0 -4
- package/dist/esm-es5/focus-visible-b960316e.js +0 -4
- package/dist/esm-es5/index-07e10d19.js +0 -4
- package/dist/esm-es5/index-3f9b7dcc.js +0 -4
- package/dist/esm-es5/index-40662748.js +0 -4
- package/dist/esm-es5/index-4e02bb5d.js +0 -5
- package/dist/esm-es5/index-a4bd9891.js +0 -4
- package/dist/esm-es5/input-shims-d4681aea.js +0 -4
- package/dist/esm-es5/input.utils-c7e363b4.js +0 -4
- package/dist/esm-es5/ionic-global-b1979612.js +0 -4
- package/dist/esm-es5/ios.transition-e50705d1.js +0 -4
- package/dist/esm-es5/keyboard-630cb801.js +0 -4
- package/dist/esm-es5/keyboard-controller-00b92ab3.js +0 -4
- package/dist/esm-es5/md.transition-58674b20.js +0 -4
- package/dist/esm-es5/notch-controller-e45ab374.js +0 -4
- package/dist/esm-es5/overlays-a2dfa4a7.js +0 -4
- package/dist/esm-es5/status-tap-a9f0d61d.js +0 -4
- package/dist/ionic/p-01b0e865.system.js +0 -4
- package/dist/ionic/p-073dacf3.entry.js +0 -4
- package/dist/ionic/p-07e807fb.js +0 -4
- package/dist/ionic/p-0a31c7b9.system.entry.js +0 -4
- package/dist/ionic/p-0f1ba402.entry.js +0 -4
- package/dist/ionic/p-16917861.system.js +0 -4
- package/dist/ionic/p-179c573b.system.entry.js +0 -4
- package/dist/ionic/p-20ffa318.entry.js +0 -4
- package/dist/ionic/p-23889fd8.entry.js +0 -4
- package/dist/ionic/p-25a2d298.js +0 -4
- package/dist/ionic/p-28b059c3.system.entry.js +0 -4
- package/dist/ionic/p-2d8341d0.system.js +0 -4
- package/dist/ionic/p-2f2fd67f.entry.js +0 -4
- package/dist/ionic/p-31f1eb81.entry.js +0 -4
- package/dist/ionic/p-37fbd57a.system.entry.js +0 -4
- package/dist/ionic/p-4175803c.system.js +0 -4
- package/dist/ionic/p-41ec2afd.entry.js +0 -4
- package/dist/ionic/p-460070eb.system.js +0 -4
- package/dist/ionic/p-466434d4.system.js +0 -4
- package/dist/ionic/p-46db4410.system.entry.js +0 -4
- package/dist/ionic/p-480cfc61.entry.js +0 -4
- package/dist/ionic/p-487a3ae7.system.js +0 -5
- package/dist/ionic/p-4a274d8d.entry.js +0 -4
- package/dist/ionic/p-4b528ed3.js +0 -5
- package/dist/ionic/p-4fbde654.js +0 -4
- package/dist/ionic/p-51b9d14a.js +0 -4
- package/dist/ionic/p-52371477.system.entry.js +0 -4
- package/dist/ionic/p-5328e386.system.entry.js +0 -4
- package/dist/ionic/p-57eb8bf5.entry.js +0 -4
- package/dist/ionic/p-58812aa8.system.entry.js +0 -4
- package/dist/ionic/p-5c456cd2.system.entry.js +0 -4
- package/dist/ionic/p-5e03c97e.system.entry.js +0 -4
- package/dist/ionic/p-5fb843ce.entry.js +0 -4
- package/dist/ionic/p-5fd711d1.entry.js +0 -4
- package/dist/ionic/p-67bb048a.system.entry.js +0 -4
- package/dist/ionic/p-69f80fd3.entry.js +0 -4
- package/dist/ionic/p-73216388.entry.js +0 -4
- package/dist/ionic/p-736d36fb.system.js +0 -4
- package/dist/ionic/p-73b45a64.entry.js +0 -4
- package/dist/ionic/p-7a86440f.entry.js +0 -4
- package/dist/ionic/p-82b38b14.system.js +0 -4
- package/dist/ionic/p-833104fe.system.entry.js +0 -4
- package/dist/ionic/p-86b6a057.system.entry.js +0 -4
- package/dist/ionic/p-877dee4e.system.entry.js +0 -4
- package/dist/ionic/p-902f1e0d.entry.js +0 -4
- package/dist/ionic/p-90b717c3.entry.js +0 -4
- package/dist/ionic/p-958d1ddf.entry.js +0 -4
- package/dist/ionic/p-9647f627.system.entry.js +0 -4
- package/dist/ionic/p-969bb0cd.system.entry.js +0 -4
- package/dist/ionic/p-98612ecd.system.entry.js +0 -4
- package/dist/ionic/p-99322726.js +0 -4
- package/dist/ionic/p-9a41931a.system.js +0 -4
- package/dist/ionic/p-9fa489bf.system.js +0 -4
- package/dist/ionic/p-9fb5d3f0.js +0 -4
- package/dist/ionic/p-a60688ea.system.entry.js +0 -4
- package/dist/ionic/p-a7c80b6e.js +0 -4
- package/dist/ionic/p-a97cc6e0.entry.js +0 -4
- package/dist/ionic/p-aa28a06a.system.entry.js +0 -4
- package/dist/ionic/p-ab51df52.js +0 -4
- package/dist/ionic/p-b84b226d.entry.js +0 -4
- package/dist/ionic/p-b95e719d.js +0 -4
- package/dist/ionic/p-b9d74da7.system.js +0 -4
- package/dist/ionic/p-bb816352.system.entry.js +0 -4
- package/dist/ionic/p-bc0d6e7d.system.entry.js +0 -4
- package/dist/ionic/p-bc60a88f.entry.js +0 -4
- package/dist/ionic/p-cf05bb26.entry.js +0 -4
- package/dist/ionic/p-d247bdc6.js +0 -4
- package/dist/ionic/p-d32dc2ca.system.entry.js +0 -4
- package/dist/ionic/p-df2f4a29.entry.js +0 -4
- package/dist/ionic/p-e079f4f4.system.entry.js +0 -4
- package/dist/ionic/p-e35fa668.js +0 -4
- package/dist/ionic/p-e44c11d0.entry.js +0 -4
- package/dist/ionic/p-e6867fc0.js +0 -4
- package/dist/ionic/p-efd6e0d2.system.entry.js +0 -4
- package/dist/ionic/p-f0e951e5.system.entry.js +0 -4
- package/dist/ionic/p-f4a57fb7.js +0 -4
- package/dist/ionic/p-f7f11c42.js +0 -4
- package/dist/ionic/p-f8234ebd.js +0 -4
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { c as componentOnReady } from './helpers.js';
|
|
5
|
+
import { b as printRequiredElementError } from './index6.js';
|
|
6
|
+
|
|
7
|
+
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
|
+
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
9
|
+
const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
|
10
|
+
/**
|
|
11
|
+
* Selector used for implementations reliant on `<ion-content>` for scroll event changes.
|
|
12
|
+
*
|
|
13
|
+
* Developers should use the `.ion-content-scroll-host` selector to target the element emitting
|
|
14
|
+
* scroll events. With virtual scroll implementations this will be the host element for
|
|
15
|
+
* the scroll viewport.
|
|
16
|
+
*/
|
|
17
|
+
const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
|
|
18
|
+
const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;
|
|
19
|
+
/**
|
|
20
|
+
* Waits for the element host fully initialize before
|
|
21
|
+
* returning the inner scroll element.
|
|
22
|
+
*
|
|
23
|
+
* For `ion-content` the scroll target will be the result
|
|
24
|
+
* of the `getScrollElement` function.
|
|
25
|
+
*
|
|
26
|
+
* For custom implementations it will be the element host
|
|
27
|
+
* or a selector within the host, if supplied through `scrollTarget`.
|
|
28
|
+
*/
|
|
29
|
+
const getScrollElement = async (el) => {
|
|
30
|
+
if (isIonContent(el)) {
|
|
31
|
+
await new Promise((resolve) => componentOnReady(el, resolve));
|
|
32
|
+
return el.getScrollElement();
|
|
33
|
+
}
|
|
34
|
+
return el;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Queries the element matching the selector for IonContent.
|
|
38
|
+
* See ION_CONTENT_SELECTOR for the selector used.
|
|
39
|
+
*/
|
|
40
|
+
const findIonContent = (el) => {
|
|
41
|
+
/**
|
|
42
|
+
* First we try to query the custom scroll host selector in cases where
|
|
43
|
+
* the implementation is using an outer `ion-content` with an inner custom
|
|
44
|
+
* scroll container.
|
|
45
|
+
*/
|
|
46
|
+
const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
|
47
|
+
if (customContentHost) {
|
|
48
|
+
return customContentHost;
|
|
49
|
+
}
|
|
50
|
+
return el.querySelector(ION_CONTENT_SELECTOR);
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Queries the closest element matching the selector for IonContent.
|
|
54
|
+
*/
|
|
55
|
+
const findClosestIonContent = (el) => {
|
|
56
|
+
return el.closest(ION_CONTENT_SELECTOR);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
|
60
|
+
* using the public API `scrollToTop` with a duration.
|
|
61
|
+
*/
|
|
62
|
+
const scrollToTop = (el, durationMs) => {
|
|
63
|
+
if (isIonContent(el)) {
|
|
64
|
+
const content = el;
|
|
65
|
+
return content.scrollToTop(durationMs);
|
|
66
|
+
}
|
|
67
|
+
return Promise.resolve(el.scrollTo({
|
|
68
|
+
top: 0,
|
|
69
|
+
left: 0,
|
|
70
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
71
|
+
}));
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
|
|
75
|
+
* using the public API `scrollByPoint` with a duration.
|
|
76
|
+
*/
|
|
77
|
+
const scrollByPoint = (el, x, y, durationMs) => {
|
|
78
|
+
if (isIonContent(el)) {
|
|
79
|
+
const content = el;
|
|
80
|
+
return content.scrollByPoint(x, y, durationMs);
|
|
81
|
+
}
|
|
82
|
+
return Promise.resolve(el.scrollBy({
|
|
83
|
+
top: y,
|
|
84
|
+
left: x,
|
|
85
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
|
86
|
+
}));
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
|
90
|
+
* within either the `ion-content` selector or the `.ion-content-scroll-host` class.
|
|
91
|
+
*/
|
|
92
|
+
const printIonContentErrorMsg = (el) => {
|
|
93
|
+
return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Several components in Ionic need to prevent scrolling
|
|
97
|
+
* during a gesture (card modal, range, item sliding, etc).
|
|
98
|
+
* Use this utility to account for ion-content and custom content hosts.
|
|
99
|
+
*/
|
|
100
|
+
const disableContentScrollY = (contentEl) => {
|
|
101
|
+
if (isIonContent(contentEl)) {
|
|
102
|
+
const ionContent = contentEl;
|
|
103
|
+
const initialScrollY = ionContent.scrollY;
|
|
104
|
+
ionContent.scrollY = false;
|
|
105
|
+
/**
|
|
106
|
+
* This should be passed into resetContentScrollY
|
|
107
|
+
* so that we can revert ion-content's scrollY to the
|
|
108
|
+
* correct state. For example, if scrollY = false
|
|
109
|
+
* initially, we do not want to enable scrolling
|
|
110
|
+
* when we call resetContentScrollY.
|
|
111
|
+
*/
|
|
112
|
+
return initialScrollY;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
contentEl.style.setProperty('overflow', 'hidden');
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const resetContentScrollY = (contentEl, initialScrollY) => {
|
|
120
|
+
if (isIonContent(contentEl)) {
|
|
121
|
+
contentEl.scrollY = initialScrollY;
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
contentEl.style.removeProperty('overflow');
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export { ION_CONTENT_CLASS_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_ELEMENT_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { d as doc } from './index5.js';
|
|
5
|
+
import { p as pointerCoord } from './helpers.js';
|
|
6
|
+
|
|
7
|
+
const startTapClick = (config) => {
|
|
8
|
+
if (doc === undefined) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
let lastActivated = 0;
|
|
12
|
+
let activatableEle;
|
|
13
|
+
let activeRipple;
|
|
14
|
+
let activeDefer;
|
|
15
|
+
const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);
|
|
16
|
+
const clearDefers = new WeakMap();
|
|
17
|
+
const cancelActive = () => {
|
|
18
|
+
if (activeDefer)
|
|
19
|
+
clearTimeout(activeDefer);
|
|
20
|
+
activeDefer = undefined;
|
|
21
|
+
if (activatableEle) {
|
|
22
|
+
removeActivated(false);
|
|
23
|
+
activatableEle = undefined;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const pointerDown = (ev) => {
|
|
27
|
+
// Ignore right clicks
|
|
28
|
+
if (activatableEle || ev.button === 2) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
setActivatedElement(getActivatableTarget(ev), ev);
|
|
32
|
+
};
|
|
33
|
+
const pointerUp = (ev) => {
|
|
34
|
+
setActivatedElement(undefined, ev);
|
|
35
|
+
};
|
|
36
|
+
const setActivatedElement = (el, ev) => {
|
|
37
|
+
// do nothing
|
|
38
|
+
if (el && el === activatableEle) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (activeDefer)
|
|
42
|
+
clearTimeout(activeDefer);
|
|
43
|
+
activeDefer = undefined;
|
|
44
|
+
const { x, y } = pointerCoord(ev);
|
|
45
|
+
// deactivate selected
|
|
46
|
+
if (activatableEle) {
|
|
47
|
+
if (clearDefers.has(activatableEle)) {
|
|
48
|
+
throw new Error('internal error');
|
|
49
|
+
}
|
|
50
|
+
if (!activatableEle.classList.contains(ACTIVATED)) {
|
|
51
|
+
addActivated(activatableEle, x, y);
|
|
52
|
+
}
|
|
53
|
+
removeActivated(true);
|
|
54
|
+
}
|
|
55
|
+
// activate
|
|
56
|
+
if (el) {
|
|
57
|
+
const deferId = clearDefers.get(el);
|
|
58
|
+
if (deferId) {
|
|
59
|
+
clearTimeout(deferId);
|
|
60
|
+
clearDefers.delete(el);
|
|
61
|
+
}
|
|
62
|
+
el.classList.remove(ACTIVATED);
|
|
63
|
+
const callback = () => {
|
|
64
|
+
addActivated(el, x, y);
|
|
65
|
+
activeDefer = undefined;
|
|
66
|
+
};
|
|
67
|
+
if (isInstant(el)) {
|
|
68
|
+
callback();
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
activeDefer = setTimeout(callback, ADD_ACTIVATED_DEFERS);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
activatableEle = el;
|
|
75
|
+
};
|
|
76
|
+
const addActivated = (el, x, y) => {
|
|
77
|
+
lastActivated = Date.now();
|
|
78
|
+
el.classList.add(ACTIVATED);
|
|
79
|
+
if (!useRippleEffect)
|
|
80
|
+
return;
|
|
81
|
+
const rippleEffect = getRippleEffect(el);
|
|
82
|
+
if (rippleEffect !== null) {
|
|
83
|
+
removeRipple();
|
|
84
|
+
activeRipple = rippleEffect.addRipple(x, y);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const removeRipple = () => {
|
|
88
|
+
if (activeRipple !== undefined) {
|
|
89
|
+
activeRipple.then((remove) => remove());
|
|
90
|
+
activeRipple = undefined;
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
const removeActivated = (smooth) => {
|
|
94
|
+
removeRipple();
|
|
95
|
+
const active = activatableEle;
|
|
96
|
+
if (!active) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const time = CLEAR_STATE_DEFERS - Date.now() + lastActivated;
|
|
100
|
+
if (smooth && time > 0 && !isInstant(active)) {
|
|
101
|
+
const deferId = setTimeout(() => {
|
|
102
|
+
active.classList.remove(ACTIVATED);
|
|
103
|
+
clearDefers.delete(active);
|
|
104
|
+
}, CLEAR_STATE_DEFERS);
|
|
105
|
+
clearDefers.set(active, deferId);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
active.classList.remove(ACTIVATED);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
112
|
+
doc.addEventListener('pointerdown', pointerDown, true);
|
|
113
|
+
doc.addEventListener('pointerup', pointerUp, true);
|
|
114
|
+
/**
|
|
115
|
+
* Tap click effects such as the ripple effect should
|
|
116
|
+
* not happen when scrolling. For example, if a user scrolls
|
|
117
|
+
* the page but also happens to do a touchstart on a button
|
|
118
|
+
* as part of the scroll, the ripple effect should not
|
|
119
|
+
* be dispatched. The ripple effect should only happen
|
|
120
|
+
* if the button is activated and the page is not scrolling.
|
|
121
|
+
*
|
|
122
|
+
* pointercancel is dispatched on a gesture when scrolling
|
|
123
|
+
* starts, so this lets us avoid having to listen for
|
|
124
|
+
* ion-content's scroll events.
|
|
125
|
+
*/
|
|
126
|
+
doc.addEventListener('pointercancel', cancelActive, true);
|
|
127
|
+
};
|
|
128
|
+
// TODO(FW-2832): type
|
|
129
|
+
const getActivatableTarget = (ev) => {
|
|
130
|
+
if (ev.composedPath !== undefined) {
|
|
131
|
+
/**
|
|
132
|
+
* composedPath returns EventTarget[]. However,
|
|
133
|
+
* objects other than Element can be targets too.
|
|
134
|
+
* For example, AudioContext can be a target. In this
|
|
135
|
+
* case, we know that the event is a UIEvent so we
|
|
136
|
+
* can assume that the path will contain either Element
|
|
137
|
+
* or ShadowRoot.
|
|
138
|
+
*/
|
|
139
|
+
const path = ev.composedPath();
|
|
140
|
+
for (let i = 0; i < path.length - 2; i++) {
|
|
141
|
+
const el = path[i];
|
|
142
|
+
if (!(el instanceof ShadowRoot) && el.classList.contains('ion-activatable')) {
|
|
143
|
+
return el;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
return ev.target.closest('.ion-activatable');
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
const isInstant = (el) => {
|
|
152
|
+
return el.classList.contains('ion-activatable-instant');
|
|
153
|
+
};
|
|
154
|
+
const getRippleEffect = (el) => {
|
|
155
|
+
if (el.shadowRoot) {
|
|
156
|
+
const ripple = el.shadowRoot.querySelector('ion-ripple-effect');
|
|
157
|
+
if (ripple) {
|
|
158
|
+
return ripple;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return el.querySelector('ion-ripple-effect');
|
|
162
|
+
};
|
|
163
|
+
const ACTIVATED = 'ion-activated';
|
|
164
|
+
const ADD_ACTIVATED_DEFERS = 100;
|
|
165
|
+
const CLEAR_STATE_DEFERS = 150;
|
|
166
|
+
|
|
167
|
+
export { startTapClick };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win, d as doc } from './
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, a as findClosestIonContent } from './
|
|
4
|
+
import { w as win, d as doc } from './index5.js';
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, a as findClosestIonContent } from './index8.js';
|
|
6
6
|
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard.js';
|
|
8
8
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win
|
|
4
|
+
import { w as win } from './index5.js';
|
|
5
5
|
import { r as raf } from './helpers.js';
|
|
6
|
+
import { a as printIonError } from './index6.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { p as printIonWarning
|
|
5
|
+
import { p as printIonWarning } from './index6.js';
|
|
6
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
6
7
|
|
|
7
8
|
const accordionGroupIosCss = ":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";
|
|
8
9
|
const IonAccordionGroupIosStyle0 = accordionGroupIosCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
6
|
-
import { c as chevronDown } from './
|
|
6
|
+
import { c as chevronDown } from './index7.js';
|
|
7
7
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
9
9
|
|
package/components/ion-app.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { proxyCustomElement, HTMLElement, Build, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
6
|
+
import { p as printIonWarning } from './index6.js';
|
|
7
|
+
import { b as getIonMode, c as config, a as isPlatform } from './ionic-global.js';
|
|
7
8
|
|
|
8
9
|
const appCss = "html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";
|
|
9
10
|
const IonAppStyle0 = appCss;
|
|
@@ -13,6 +14,46 @@ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
|
13
14
|
super();
|
|
14
15
|
this.__registerHost();
|
|
15
16
|
}
|
|
17
|
+
componentDidLoad() {
|
|
18
|
+
if (Build.isBrowser) {
|
|
19
|
+
rIC(async () => {
|
|
20
|
+
const isHybrid = isPlatform(window, 'hybrid');
|
|
21
|
+
if (!config.getBoolean('_testing')) {
|
|
22
|
+
import('./index9.js').then((module) => module.startTapClick(config));
|
|
23
|
+
}
|
|
24
|
+
if (config.getBoolean('statusTap', isHybrid)) {
|
|
25
|
+
import('./status-tap.js').then((module) => module.startStatusTap());
|
|
26
|
+
}
|
|
27
|
+
if (config.getBoolean('inputShims', needInputShims())) {
|
|
28
|
+
/**
|
|
29
|
+
* needInputShims() ensures that only iOS and Android
|
|
30
|
+
* platforms proceed into this block.
|
|
31
|
+
*/
|
|
32
|
+
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
33
|
+
import('./input-shims.js').then((module) => module.startInputShims(config, platform));
|
|
34
|
+
}
|
|
35
|
+
const hardwareBackButtonModule = await import('./hardware-back-button.js');
|
|
36
|
+
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
37
|
+
if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
38
|
+
hardwareBackButtonModule.startHardwareBackButton();
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
/**
|
|
42
|
+
* If an app sets hardwareBackButton: false and experimentalCloseWatcher: true
|
|
43
|
+
* then the close watcher will not be used.
|
|
44
|
+
*/
|
|
45
|
+
if (shouldUseCloseWatcher()) {
|
|
46
|
+
printIonWarning('experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.');
|
|
47
|
+
}
|
|
48
|
+
hardwareBackButtonModule.blockHardwareBackButton();
|
|
49
|
+
}
|
|
50
|
+
if (typeof window !== 'undefined') {
|
|
51
|
+
import('./keyboard2.js').then((module) => module.startKeyboardAssist(window));
|
|
52
|
+
}
|
|
53
|
+
import('./focus-visible.js').then((module) => (this.focusVisible = module.startFocusVisible()));
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
16
57
|
/**
|
|
17
58
|
* @internal
|
|
18
59
|
* Used to set focus on an element that uses `ion-focusable`.
|
|
@@ -24,12 +65,13 @@ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
|
24
65
|
* presented as a result of keyboard action.)
|
|
25
66
|
*/
|
|
26
67
|
async setFocus(elements) {
|
|
27
|
-
|
|
28
|
-
|
|
68
|
+
if (this.focusVisible) {
|
|
69
|
+
this.focusVisible.setFocus(elements);
|
|
70
|
+
}
|
|
29
71
|
}
|
|
30
72
|
render() {
|
|
31
73
|
const mode = getIonMode(this);
|
|
32
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'a562850f242d9d45573e35efdd4bd178254677ef', class: {
|
|
33
75
|
[mode]: true,
|
|
34
76
|
'ion-page': true,
|
|
35
77
|
'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),
|
|
@@ -40,6 +82,33 @@ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
|
40
82
|
}, [0, "ion-app", {
|
|
41
83
|
"setFocus": [64]
|
|
42
84
|
}]);
|
|
85
|
+
const needInputShims = () => {
|
|
86
|
+
/**
|
|
87
|
+
* iOS always needs input shims
|
|
88
|
+
*/
|
|
89
|
+
const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');
|
|
90
|
+
if (needsShimsIOS) {
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Android only needs input shims when running
|
|
95
|
+
* in the browser and only if the browser is using the
|
|
96
|
+
* new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/
|
|
97
|
+
*/
|
|
98
|
+
const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');
|
|
99
|
+
if (isAndroidMobileWeb) {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
return false;
|
|
103
|
+
};
|
|
104
|
+
const rIC = (callback) => {
|
|
105
|
+
if ('requestIdleCallback' in window) {
|
|
106
|
+
window.requestIdleCallback(callback);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
setTimeout(callback, 32);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
43
112
|
function defineCustomElement$1() {
|
|
44
113
|
if (typeof customElements === "undefined") {
|
|
45
114
|
return;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';
|
|
7
|
-
import { a as chevronBack, b as arrowBackSharp } from './
|
|
7
|
+
import { a as chevronBack, b as arrowBackSharp } from './index7.js';
|
|
8
8
|
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';
|
|
7
|
-
import { e as ellipsisHorizontal, d as chevronForwardOutline } from './
|
|
7
|
+
import { e as ellipsisHorizontal, d as chevronForwardOutline } from './index7.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
10
10
|
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { a as addEventListener, c as componentOnReady } from './helpers.js';
|
|
6
|
-
import {
|
|
6
|
+
import { a as printIonError } from './index6.js';
|
|
7
7
|
import { c as createColorClasses } from './theme.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
8
9
|
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data.js';
|
|
9
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
10
11
|
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { startFocusVisible } from './focus-visible.js';
|
|
6
6
|
import { r as raf, e as renderHiddenInput, g as getElementRoot } from './helpers.js';
|
|
7
|
-
import {
|
|
7
|
+
import { a as printIonError, p as printIonWarning } from './index6.js';
|
|
8
8
|
import { i as isRTL } from './dir.js';
|
|
9
9
|
import { c as createColorClasses } from './theme.js';
|
|
10
|
-
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './
|
|
10
|
+
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './index7.js';
|
|
11
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
11
12
|
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getMonthAndYear, J as getDaysOfWeek, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data.js';
|
|
12
13
|
import { d as defineCustomElement$a } from './backdrop.js';
|
|
13
14
|
import { d as defineCustomElement$9 } from './button.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { h as hostContext, c as createColorClasses, o as openURL } from './theme.js';
|
|
7
|
-
import { i as close } from './
|
|
7
|
+
import { i as close } from './index7.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
package/components/ion-footer.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { f as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './
|
|
5
|
+
import { f as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index8.js';
|
|
6
6
|
import { c as createKeyboardController } from './keyboard-controller.js';
|
|
7
7
|
import { b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { k as clamp } from './helpers.js';
|
package/components/ion-header.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './
|
|
5
|
+
import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
|
|
6
6
|
import { k as clamp, i as inheritAriaAttributes } from './helpers.js';
|
|
7
7
|
import { h as hostContext } from './theme.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, readTask, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './
|
|
5
|
+
import { a as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index8.js';
|
|
6
6
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
7
|
|
|
8
8
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { p as printIonWarning
|
|
5
|
+
import { p as printIonWarning } from './index6.js';
|
|
6
6
|
import { c as createColorClasses } from './theme.js';
|
|
7
|
-
import { l as eye, m as eyeOff } from './
|
|
7
|
+
import { l as eye, m as eyeOff } from './index7.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
8
9
|
import { d as defineCustomElement$4 } from './button.js';
|
|
9
10
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
11
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
package/components/ion-input.js
CHANGED
|
@@ -6,7 +6,7 @@ import { c as createNotchController } from './notch-controller.js';
|
|
|
6
6
|
import { l as debounceEvent, i as inheritAriaAttributes, d as inheritAttributes, c as componentOnReady } from './helpers.js';
|
|
7
7
|
import { c as createSlotMutationController, g as getCounterText } from './input.utils.js';
|
|
8
8
|
import { h as hostContext, c as createColorClasses } from './theme.js';
|
|
9
|
-
import { j as closeCircle, k as closeSharp } from './
|
|
9
|
+
import { j as closeCircle, k as closeSharp } from './index7.js';
|
|
10
10
|
import { b as getIonMode } from './ionic-global.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
12
12
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './
|
|
5
|
+
import { a as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index8.js';
|
|
6
6
|
import { m as isEndSide } from './helpers.js';
|
|
7
7
|
import { w as watchForOptions } from './watch-options.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
@@ -5,7 +5,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { m as menuController } from './index4.js';
|
|
7
7
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
8
|
-
import { n as menuOutline, o as menuSharp } from './
|
|
8
|
+
import { n as menuOutline, o as menuSharp } from './index7.js';
|
|
9
9
|
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
10
10
|
import { u as updateVisibility } from './menu-toggle-util.js';
|
|
11
11
|
import { d as defineCustomElement$3 } from './icon.js';
|
package/components/ion-menu.js
CHANGED
|
@@ -5,10 +5,11 @@ import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@s
|
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { o as getPresentedOverlay, n as focusFirstDescendant, q as focusLastDescendant } from './overlays.js';
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller.js';
|
|
8
|
-
import {
|
|
8
|
+
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
9
9
|
import { m as isEndSide, i as inheritAriaAttributes, n as assert, k as clamp } from './helpers.js';
|
|
10
10
|
import { m as menuController } from './index4.js';
|
|
11
11
|
import { h as hostContext } from './theme.js';
|
|
12
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
12
13
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
13
14
|
|
|
14
15
|
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
package/components/ion-modal.js
CHANGED
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, f as findIonContent, p as printIonContentErrorMsg } from './
|
|
5
|
+
import { a as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';
|
|
6
6
|
import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate.js';
|
|
7
7
|
import { g as getElementRoot, k as clamp, r as raf, d as inheritAttributes, j as hasLazyBuild } from './helpers.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller.js';
|
|
9
|
-
import {
|
|
9
|
+
import { p as printIonWarning } from './index6.js';
|
|
10
10
|
import { g as getCapacitor } from './capacitor.js';
|
|
11
11
|
import { G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays.js';
|
|
12
12
|
import { g as getClassMap } from './theme.js';
|
|
13
13
|
import { e as deepReady, w as waitForMount } from './index2.js';
|
|
14
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
14
15
|
import { KEYBOARD_DID_OPEN } from './keyboard2.js';
|
|
15
16
|
import { c as createAnimation } from './animation.js';
|
|
16
17
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
17
18
|
import { createGesture } from './index3.js';
|
|
19
|
+
import { w as win } from './index5.js';
|
|
18
20
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
19
21
|
|
|
20
22
|
var Style;
|
package/components/ion-nav.js
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Build } from '@stencil/core/internal/client';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { n as assert, s as shallowEqualStringMap } from './helpers.js';
|
|
7
|
-
import { p as printIonWarning
|
|
7
|
+
import { p as printIonWarning } from './index6.js';
|
|
8
8
|
import { l as lifecycle, t as transition, s as setPageHidden, d as LIFECYCLE_WILL_UNLOAD, b as LIFECYCLE_WILL_LEAVE, c as LIFECYCLE_DID_LEAVE } from './index2.js';
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
9
10
|
import { a as attachComponent } from './framework-delegate.js';
|
|
10
11
|
|
|
11
12
|
const VIEW_STATE_NEW = 1;
|