@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
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const index$1 = require('./index-
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
-
const config = require('./config-4f60b98a.js');
|
|
12
|
-
require('./
|
|
13
|
-
require('./
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const index$1 = require('./index-4c1435d8.js');
|
|
10
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
11
|
+
const config$1 = require('./config-4f60b98a.js');
|
|
12
|
+
const config = require('./config-aff4ff52.js');
|
|
13
|
+
require('./helpers-acd6c477.js');
|
|
14
14
|
|
|
15
15
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
16
16
|
const IonInfiniteScrollStyle0 = infiniteScrollCss;
|
|
@@ -203,20 +203,20 @@ const IonInfiniteScrollContentMdStyle0 = infiniteScrollContentMdCss;
|
|
|
203
203
|
const InfiniteScrollContent = class {
|
|
204
204
|
constructor(hostRef) {
|
|
205
205
|
index.registerInstance(this, hostRef);
|
|
206
|
-
this.customHTMLEnabled =
|
|
206
|
+
this.customHTMLEnabled = config.config.get('innerHTMLTemplatesEnabled', config$1.ENABLE_HTML_CONTENT_DEFAULT);
|
|
207
207
|
this.loadingSpinner = undefined;
|
|
208
208
|
this.loadingText = undefined;
|
|
209
209
|
}
|
|
210
210
|
componentDidLoad() {
|
|
211
211
|
if (this.loadingSpinner === undefined) {
|
|
212
212
|
const mode = ionicGlobal.getIonMode(this);
|
|
213
|
-
this.loadingSpinner =
|
|
213
|
+
this.loadingSpinner = config.config.get('infiniteLoadingSpinner', config.config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
renderLoadingText() {
|
|
217
217
|
const { customHTMLEnabled, loadingText } = this;
|
|
218
218
|
if (customHTMLEnabled) {
|
|
219
|
-
return index.h("div", { class: "infinite-loading-text", innerHTML: config.sanitizeDOMString(loadingText) });
|
|
219
|
+
return index.h("div", { class: "infinite-loading-text", innerHTML: config$1.sanitizeDOMString(loadingText) });
|
|
220
220
|
}
|
|
221
221
|
return index.h("div", { class: "infinite-loading-text" }, this.loadingText);
|
|
222
222
|
}
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
|
-
const index$
|
|
12
|
-
|
|
11
|
+
const index$1 = require('./index-073c7cdc.js');
|
|
12
|
+
require('./config-aff4ff52.js');
|
|
13
13
|
|
|
14
14
|
const iosInputPasswordToggleCss = "";
|
|
15
15
|
const IonInputPasswordToggleIosStyle0 = iosInputPasswordToggleCss;
|
|
@@ -39,7 +39,7 @@ const InputPasswordToggle = class {
|
|
|
39
39
|
*/
|
|
40
40
|
onTypeChange(newValue) {
|
|
41
41
|
if (newValue !== 'text' && newValue !== 'password') {
|
|
42
|
-
|
|
42
|
+
ionicGlobal.printIonWarning(`ion-input-password-toggle only supports inputs of type "text" or "password". Input of type "${newValue}" is not compatible.`, this.el);
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -47,7 +47,7 @@ const InputPasswordToggle = class {
|
|
|
47
47
|
const { el } = this;
|
|
48
48
|
const inputElRef = (this.inputElRef = el.closest('ion-input'));
|
|
49
49
|
if (!inputElRef) {
|
|
50
|
-
|
|
50
|
+
ionicGlobal.printIonWarning('No ancestor ion-input found for ion-input-password-toggle. This component must be slotted inside of an ion-input.', el);
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -66,8 +66,8 @@ const InputPasswordToggle = class {
|
|
|
66
66
|
var _a, _b;
|
|
67
67
|
const { color, type } = this;
|
|
68
68
|
const mode = ionicGlobal.getIonMode(this);
|
|
69
|
-
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : index$
|
|
70
|
-
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : index$
|
|
69
|
+
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : index$1.eye;
|
|
70
|
+
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : index$1.eyeOff;
|
|
71
71
|
const isPasswordVisible = type === 'text';
|
|
72
72
|
return (index.h(index.Host, { key: 'ed1c29726ce0c91548f0e2ada61e3f8b5c813d2d', class: theme.createColorClasses(color, {
|
|
73
73
|
[mode]: true,
|
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const notchController = require('./notch-controller-
|
|
10
|
-
const helpers = require('./helpers-
|
|
11
|
-
const input_utils = require('./input.utils-
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const notchController = require('./notch-controller-b0da1dbc.js');
|
|
10
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
11
|
+
const input_utils = require('./input.utils-3f4f0242.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
13
|
const index$1 = require('./index-073c7cdc.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
require('./
|
|
16
|
-
require('./index-5915f9b3.js');
|
|
14
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
15
|
+
require('./config-aff4ff52.js');
|
|
17
16
|
|
|
18
17
|
const inputIosCss = ".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{top:0;bottom:0;position:absolute;pointer-events:none}.cloned-input.sc-ion-input-ios{inset-inline-start:0}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.input-wrapper.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.label-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-ios-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-ios-h[disabled].sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[disabled] .sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[readonly].sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[readonly] .sc-ion-input-ios-s>ion-input-password-toggle{display:none}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--highlight-height:0px;font-size:inherit}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.input-disabled.sc-ion-input-ios-h{opacity:0.3}.sc-ion-input-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}";
|
|
19
18
|
const IonInputIosStyle0 = inputIosCss;
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
9
|
const theme = require('./theme-d1c573d2.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
-
const helpers = require('./helpers-
|
|
12
|
-
const index$1 = require('./index-
|
|
10
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
11
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
12
|
+
const index$1 = require('./index-4c1435d8.js');
|
|
13
13
|
const watchOptions = require('./watch-options-f5f3e158.js');
|
|
14
|
-
require('./
|
|
14
|
+
require('./config-aff4ff52.js');
|
|
15
15
|
|
|
16
16
|
const itemOptionIosCss = ":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #004acd)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}";
|
|
17
17
|
const IonItemOptionIosStyle0 = itemOptionIosCss;
|
|
@@ -5,11 +5,12 @@
|
|
|
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 theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-073c7cdc.js');
|
|
12
|
-
const ionicGlobal = require('./ionic-global-
|
|
12
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
13
|
+
const config = require('./config-aff4ff52.js');
|
|
13
14
|
|
|
14
15
|
const itemIosCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--color:var(--ion-item-color, var(--ion-text-color, #000));font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}";
|
|
15
16
|
const IonItemIosStyle0 = itemIosCss;
|
|
@@ -471,7 +472,7 @@ const SkeletonText = class {
|
|
|
471
472
|
this.ionStyle.emit(style);
|
|
472
473
|
}
|
|
473
474
|
render() {
|
|
474
|
-
const animated = this.animated &&
|
|
475
|
+
const animated = this.animated && config.config.getBoolean('animated', true);
|
|
475
476
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
476
477
|
const mode = ionicGlobal.getIonMode(this);
|
|
477
478
|
return (index.h(index.Host, { key: '1a3e78e9a6f740d609d1f0b7a16cb6eff4a2d617', class: {
|
|
@@ -5,19 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const config = require('./config-4f60b98a.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const config$1 = require('./config-4f60b98a.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
|
|
15
|
-
const
|
|
16
|
-
require('./
|
|
17
|
-
require('./
|
|
18
|
-
require('./framework-delegate-55f5683a.js');
|
|
14
|
+
const config = require('./config-aff4ff52.js');
|
|
15
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
16
|
+
const animation = require('./animation-79f60b24.js');
|
|
17
|
+
require('./framework-delegate-dd8c8308.js');
|
|
19
18
|
require('./gesture-controller-9436f482.js');
|
|
20
|
-
require('./index-5915f9b3.js');
|
|
21
19
|
|
|
22
20
|
/**
|
|
23
21
|
* iOS Loading Enter Animation
|
|
@@ -127,7 +125,7 @@ const Loading = class {
|
|
|
127
125
|
this.delegateController = overlays.createDelegateController(this);
|
|
128
126
|
this.lockController = lockController.createLockController();
|
|
129
127
|
this.triggerController = overlays.createTriggerController();
|
|
130
|
-
this.customHTMLEnabled =
|
|
128
|
+
this.customHTMLEnabled = config.config.get('innerHTMLTemplatesEnabled', config$1.ENABLE_HTML_CONTENT_DEFAULT);
|
|
131
129
|
this.presented = false;
|
|
132
130
|
this.onBackdropTap = () => {
|
|
133
131
|
this.dismiss(undefined, overlays.BACKDROP);
|
|
@@ -172,7 +170,7 @@ const Loading = class {
|
|
|
172
170
|
var _a;
|
|
173
171
|
if (this.spinner === undefined) {
|
|
174
172
|
const mode = ionicGlobal.getIonMode(this);
|
|
175
|
-
this.spinner =
|
|
173
|
+
this.spinner = config.config.get('loadingSpinner', config.config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));
|
|
176
174
|
}
|
|
177
175
|
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
178
176
|
overlays.setOverlayId(this.el);
|
|
@@ -252,7 +250,7 @@ const Loading = class {
|
|
|
252
250
|
renderLoadingMessage(msgId) {
|
|
253
251
|
const { customHTMLEnabled, message } = this;
|
|
254
252
|
if (customHTMLEnabled) {
|
|
255
|
-
return index.h("div", { class: "loading-content", id: msgId, innerHTML: config.sanitizeDOMString(message) });
|
|
253
|
+
return index.h("div", { class: "loading-content", id: msgId, innerHTML: config$1.sanitizeDOMString(message) });
|
|
256
254
|
}
|
|
257
255
|
return (index.h("div", { class: "loading-content", id: msgId }, message));
|
|
258
256
|
}
|
|
@@ -5,20 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
10
|
-
const overlays = require('./overlays-
|
|
10
|
+
const overlays = require('./overlays-2847add7.js');
|
|
11
11
|
const gestureController = require('./gesture-controller-9436f482.js');
|
|
12
|
-
const
|
|
13
|
-
const helpers = require('./helpers-
|
|
14
|
-
const index$1 = require('./index-
|
|
12
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
13
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
14
|
+
const index$1 = require('./index-36089f7c.js');
|
|
15
15
|
const theme = require('./theme-d1c573d2.js');
|
|
16
|
-
const
|
|
16
|
+
const config = require('./config-aff4ff52.js');
|
|
17
17
|
const index$2 = require('./index-073c7cdc.js');
|
|
18
|
-
require('./
|
|
19
|
-
require('./
|
|
20
|
-
require('./index-5915f9b3.js');
|
|
21
|
-
require('./animation-b4fdf128.js');
|
|
18
|
+
require('./framework-delegate-dd8c8308.js');
|
|
19
|
+
require('./animation-79f60b24.js');
|
|
22
20
|
|
|
23
21
|
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}";
|
|
24
22
|
const IonMenuIosStyle0 = menuIosCss;
|
|
@@ -116,7 +114,7 @@ const Menu = class {
|
|
|
116
114
|
await customElements.whenDefined('ion-menu');
|
|
117
115
|
}
|
|
118
116
|
if (this.type === undefined) {
|
|
119
|
-
this.type =
|
|
117
|
+
this.type = config.config.get('menuType', 'overlay');
|
|
120
118
|
}
|
|
121
119
|
const content = this.contentId !== undefined ? document.getElementById(this.contentId) : null;
|
|
122
120
|
if (content === null) {
|
|
@@ -343,7 +341,7 @@ const Menu = class {
|
|
|
343
341
|
}
|
|
344
342
|
// Create new animation
|
|
345
343
|
const animation = (this.animation = await index$1.menuController._createAnimation(this.type, this));
|
|
346
|
-
if (!
|
|
344
|
+
if (!config.config.getBoolean('animated', true)) {
|
|
347
345
|
animation.duration(0);
|
|
348
346
|
}
|
|
349
347
|
animation.fill('both');
|
|
@@ -599,7 +597,7 @@ const Menu = class {
|
|
|
599
597
|
* the ionBackButton listener in the menu controller
|
|
600
598
|
* will handle closing the menu when Escape is pressed.
|
|
601
599
|
*/
|
|
602
|
-
return (index.h(index.Host, { key: '30c0c9bfb8973e4a6feb658f8c4ee8e362f464ed', onKeyDown:
|
|
600
|
+
return (index.h(index.Host, { key: '30c0c9bfb8973e4a6feb658f8c4ee8e362f464ed', onKeyDown: ionicGlobal.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
603
601
|
[mode]: true,
|
|
604
602
|
[`menu-type-${type}`]: true,
|
|
605
603
|
'menu-enabled': !disabled,
|
|
@@ -673,7 +671,7 @@ const MenuButton = class {
|
|
|
673
671
|
render() {
|
|
674
672
|
const { color, disabled, inheritedAttributes } = this;
|
|
675
673
|
const mode = ionicGlobal.getIonMode(this);
|
|
676
|
-
const menuIcon =
|
|
674
|
+
const menuIcon = config.config.get('menuIcon', mode === 'ios' ? index$2.menuOutline : index$2.menuSharp);
|
|
677
675
|
const hidden = this.autoHide && !this.visible;
|
|
678
676
|
const attrs = {
|
|
679
677
|
type: this.type,
|
|
@@ -5,25 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index$
|
|
9
|
-
const index$
|
|
10
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
11
|
-
const helpers = require('./helpers-
|
|
8
|
+
const index$2 = require('./index-b9e25ecd.js');
|
|
9
|
+
const index$1 = require('./index-4c1435d8.js');
|
|
10
|
+
const frameworkDelegate = require('./framework-delegate-dd8c8308.js');
|
|
11
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const
|
|
14
|
-
const capacitor = require('./capacitor-
|
|
15
|
-
const overlays = require('./overlays-
|
|
13
|
+
const ionicGlobal = require('./ionic-global-e4b78f51.js');
|
|
14
|
+
const capacitor = require('./capacitor-6d32aa8f.js');
|
|
15
|
+
const overlays = require('./overlays-2847add7.js');
|
|
16
16
|
const theme = require('./theme-d1c573d2.js');
|
|
17
|
-
const index$
|
|
18
|
-
const
|
|
19
|
-
const keyboard = require('./keyboard-
|
|
20
|
-
const animation = require('./animation-
|
|
17
|
+
const index$3 = require('./index-e391e4f0.js');
|
|
18
|
+
const config = require('./config-aff4ff52.js');
|
|
19
|
+
const keyboard = require('./keyboard-5494d9e7.js');
|
|
20
|
+
const animation = require('./animation-79f60b24.js');
|
|
21
21
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
22
|
-
const index
|
|
23
|
-
const index = require('./index-c8d52405.js');
|
|
24
|
-
require('./hardware-back-button-35a9ebdb.js');
|
|
22
|
+
const index = require('./index-ee07ed59.js');
|
|
25
23
|
require('./gesture-controller-9436f482.js');
|
|
26
|
-
require('./keyboard-
|
|
24
|
+
require('./keyboard-9c8c3373.js');
|
|
27
25
|
|
|
28
26
|
var Style;
|
|
29
27
|
(function (Style) {
|
|
@@ -120,13 +118,13 @@ const getBackdropValueForSheet = (x, backdropBreakpoint) => {
|
|
|
120
118
|
*
|
|
121
119
|
*/
|
|
122
120
|
const setCardStatusBarDark = () => {
|
|
123
|
-
if (!
|
|
121
|
+
if (!ionicGlobal.win || ionicGlobal.win.innerWidth >= 768) {
|
|
124
122
|
return;
|
|
125
123
|
}
|
|
126
124
|
StatusBar.setStyle({ style: Style.Dark });
|
|
127
125
|
};
|
|
128
126
|
const setCardStatusBarDefault = (defaultStyle = Style.Default) => {
|
|
129
|
-
if (!
|
|
127
|
+
if (!ionicGlobal.win || ionicGlobal.win.innerWidth >= 768) {
|
|
130
128
|
return;
|
|
131
129
|
}
|
|
132
130
|
StatusBar.setStyle({ style: defaultStyle });
|
|
@@ -267,7 +265,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
267
265
|
let initialScrollY = true;
|
|
268
266
|
let lastStep = 0;
|
|
269
267
|
const getScrollY = () => {
|
|
270
|
-
if (contentEl && index$
|
|
268
|
+
if (contentEl && index$1.isIonContent(contentEl)) {
|
|
271
269
|
return contentEl.scrollY;
|
|
272
270
|
/**
|
|
273
271
|
* Custom scroll containers are intended to be
|
|
@@ -299,7 +297,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
299
297
|
* swipe again. The target content will not
|
|
300
298
|
* be the same between swipes.
|
|
301
299
|
*/
|
|
302
|
-
contentEl = index$
|
|
300
|
+
contentEl = index$1.findClosestIonContent(target);
|
|
303
301
|
if (contentEl) {
|
|
304
302
|
/**
|
|
305
303
|
* The card should never swipe to close
|
|
@@ -315,7 +313,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
315
313
|
* operation, and getScrollElement is
|
|
316
314
|
* asynchronous.
|
|
317
315
|
*/
|
|
318
|
-
if (index$
|
|
316
|
+
if (index$1.isIonContent(contentEl)) {
|
|
319
317
|
const root = helpers.getElementRoot(contentEl);
|
|
320
318
|
scrollEl = root.querySelector('.inner-scroll');
|
|
321
319
|
}
|
|
@@ -359,7 +357,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
359
357
|
* happen at the same time as the gesture.
|
|
360
358
|
*/
|
|
361
359
|
if (deltaY > 0 && contentEl) {
|
|
362
|
-
index$
|
|
360
|
+
index$1.disableContentScrollY(contentEl);
|
|
363
361
|
}
|
|
364
362
|
animation.progressStart(true, isOpen ? 1 : 0);
|
|
365
363
|
};
|
|
@@ -372,7 +370,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
372
370
|
* happen at the same time as the gesture.
|
|
373
371
|
*/
|
|
374
372
|
if (deltaY > 0 && contentEl) {
|
|
375
|
-
index$
|
|
373
|
+
index$1.disableContentScrollY(contentEl);
|
|
376
374
|
}
|
|
377
375
|
/**
|
|
378
376
|
* If we are swiping on the content
|
|
@@ -460,7 +458,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
460
458
|
isOpen = shouldComplete;
|
|
461
459
|
gesture.enable(false);
|
|
462
460
|
if (contentEl) {
|
|
463
|
-
index$
|
|
461
|
+
index$1.resetContentScrollY(contentEl, initialScrollY);
|
|
464
462
|
}
|
|
465
463
|
animation
|
|
466
464
|
.onFinish(() => {
|
|
@@ -488,7 +486,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
488
486
|
onDismiss();
|
|
489
487
|
}
|
|
490
488
|
};
|
|
491
|
-
const gesture = index
|
|
489
|
+
const gesture = index.createGesture({
|
|
492
490
|
el,
|
|
493
491
|
gestureName: 'modalSwipeToClose',
|
|
494
492
|
gesturePriority: overlays.OVERLAY_GESTURE_PRIORITY,
|
|
@@ -871,7 +869,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
871
869
|
* For example, when using ion-nav within a modal it is possible to swipe, push a view,
|
|
872
870
|
* and then swipe again. The target content will not be the same between swipes.
|
|
873
871
|
*/
|
|
874
|
-
const contentEl = index$
|
|
872
|
+
const contentEl = index$1.findClosestIonContent(detail.event.target);
|
|
875
873
|
currentBreakpoint = getCurrentBreakpoint();
|
|
876
874
|
if (currentBreakpoint === 1 && contentEl) {
|
|
877
875
|
/**
|
|
@@ -883,7 +881,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
883
881
|
* Note 2: Do not use getScrollElement here because we need this to be a synchronous
|
|
884
882
|
* operation, and getScrollElement is asynchronous.
|
|
885
883
|
*/
|
|
886
|
-
const scrollEl = index$
|
|
884
|
+
const scrollEl = index$1.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
|
|
887
885
|
const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
|
|
888
886
|
return !hasRefresherInContent && scrollEl.scrollTop === 0;
|
|
889
887
|
}
|
|
@@ -1091,7 +1089,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1091
1089
|
.progressEnd(1, 0, animated ? 500 : 0);
|
|
1092
1090
|
});
|
|
1093
1091
|
};
|
|
1094
|
-
const gesture = index
|
|
1092
|
+
const gesture = index.createGesture({
|
|
1095
1093
|
el: wrapperEl,
|
|
1096
1094
|
gestureName: 'modalSheet',
|
|
1097
1095
|
gesturePriority: 40,
|
|
@@ -1116,17 +1114,17 @@ const IonModalMdStyle0 = modalMdCss;
|
|
|
1116
1114
|
|
|
1117
1115
|
const Modal = class {
|
|
1118
1116
|
constructor(hostRef) {
|
|
1119
|
-
index$
|
|
1120
|
-
this.didPresent = index$
|
|
1121
|
-
this.willPresent = index$
|
|
1122
|
-
this.willDismiss = index$
|
|
1123
|
-
this.didDismiss = index$
|
|
1124
|
-
this.ionBreakpointDidChange = index$
|
|
1125
|
-
this.didPresentShorthand = index$
|
|
1126
|
-
this.willPresentShorthand = index$
|
|
1127
|
-
this.willDismissShorthand = index$
|
|
1128
|
-
this.didDismissShorthand = index$
|
|
1129
|
-
this.ionMount = index$
|
|
1117
|
+
index$2.registerInstance(this, hostRef);
|
|
1118
|
+
this.didPresent = index$2.createEvent(this, "ionModalDidPresent", 7);
|
|
1119
|
+
this.willPresent = index$2.createEvent(this, "ionModalWillPresent", 7);
|
|
1120
|
+
this.willDismiss = index$2.createEvent(this, "ionModalWillDismiss", 7);
|
|
1121
|
+
this.didDismiss = index$2.createEvent(this, "ionModalDidDismiss", 7);
|
|
1122
|
+
this.ionBreakpointDidChange = index$2.createEvent(this, "ionBreakpointDidChange", 7);
|
|
1123
|
+
this.didPresentShorthand = index$2.createEvent(this, "didPresent", 7);
|
|
1124
|
+
this.willPresentShorthand = index$2.createEvent(this, "willPresent", 7);
|
|
1125
|
+
this.willDismissShorthand = index$2.createEvent(this, "willDismiss", 7);
|
|
1126
|
+
this.didDismissShorthand = index$2.createEvent(this, "didDismiss", 7);
|
|
1127
|
+
this.ionMount = index$2.createEvent(this, "ionMount", 7);
|
|
1130
1128
|
this.lockController = lockController.createLockController();
|
|
1131
1129
|
this.triggerController = overlays.createTriggerController();
|
|
1132
1130
|
this.coreDelegate = frameworkDelegate.CoreDelegate();
|
|
@@ -1266,7 +1264,7 @@ const Modal = class {
|
|
|
1266
1264
|
this.currentBreakpoint = this.initialBreakpoint;
|
|
1267
1265
|
}
|
|
1268
1266
|
if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
|
|
1269
|
-
|
|
1267
|
+
ionicGlobal.printIonWarning('Your breakpoints array must include the initialBreakpoint value.');
|
|
1270
1268
|
}
|
|
1271
1269
|
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
1272
1270
|
overlays.setOverlayId(this.el);
|
|
@@ -1366,7 +1364,7 @@ const Modal = class {
|
|
|
1366
1364
|
* get the transition incorrect.
|
|
1367
1365
|
*/
|
|
1368
1366
|
if (helpers.hasLazyBuild(el)) {
|
|
1369
|
-
await index$
|
|
1367
|
+
await index$3.deepReady(this.usersElement);
|
|
1370
1368
|
/**
|
|
1371
1369
|
* If keepContentsMounted="true" then the
|
|
1372
1370
|
* JS Framework has already mounted the inner
|
|
@@ -1377,9 +1375,9 @@ const Modal = class {
|
|
|
1377
1375
|
*/
|
|
1378
1376
|
}
|
|
1379
1377
|
else if (!this.keepContentsMounted) {
|
|
1380
|
-
await index$
|
|
1378
|
+
await index$3.waitForMount();
|
|
1381
1379
|
}
|
|
1382
|
-
index$
|
|
1380
|
+
index$2.writeTask(() => this.el.classList.add('show-modal'));
|
|
1383
1381
|
const hasCardModal = presentingElement !== undefined;
|
|
1384
1382
|
/**
|
|
1385
1383
|
* We need to change the status bar at the
|
|
@@ -1444,11 +1442,11 @@ const Modal = class {
|
|
|
1444
1442
|
// All of the elements needed for the swipe gesture
|
|
1445
1443
|
// should be in the DOM and referenced by now, except
|
|
1446
1444
|
// for the presenting el
|
|
1447
|
-
const animationBuilder = this.leaveAnimation ||
|
|
1445
|
+
const animationBuilder = this.leaveAnimation || config.config.get('modalLeave', iosLeaveAnimation);
|
|
1448
1446
|
const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));
|
|
1449
|
-
const contentEl = index$
|
|
1447
|
+
const contentEl = index$1.findIonContent(el);
|
|
1450
1448
|
if (!contentEl) {
|
|
1451
|
-
index$
|
|
1449
|
+
index$1.printIonContentErrorMsg(el);
|
|
1452
1450
|
return;
|
|
1453
1451
|
}
|
|
1454
1452
|
const statusBarStyle = (_a = this.statusBarStyle) !== null && _a !== void 0 ? _a : Style.Default;
|
|
@@ -1485,7 +1483,7 @@ const Modal = class {
|
|
|
1485
1483
|
if (!wrapperEl || initialBreakpoint === undefined) {
|
|
1486
1484
|
return;
|
|
1487
1485
|
}
|
|
1488
|
-
const animationBuilder = this.enterAnimation ||
|
|
1486
|
+
const animationBuilder = this.enterAnimation || config.config.get('modalEnter', iosEnterAnimation);
|
|
1489
1487
|
const ani = (this.animation = animationBuilder(this.el, {
|
|
1490
1488
|
presentingEl: this.presentingElement,
|
|
1491
1489
|
currentBreakpoint: initialBreakpoint,
|
|
@@ -1574,7 +1572,7 @@ const Modal = class {
|
|
|
1574
1572
|
if (dismissed) {
|
|
1575
1573
|
const { delegate } = this.getDelegate();
|
|
1576
1574
|
await frameworkDelegate.detachComponent(delegate, this.usersElement);
|
|
1577
|
-
index$
|
|
1575
|
+
index$2.writeTask(() => this.el.classList.remove('show-modal'));
|
|
1578
1576
|
if (this.animation) {
|
|
1579
1577
|
this.animation.destroy();
|
|
1580
1578
|
}
|
|
@@ -1605,11 +1603,11 @@ const Modal = class {
|
|
|
1605
1603
|
*/
|
|
1606
1604
|
async setCurrentBreakpoint(breakpoint) {
|
|
1607
1605
|
if (!this.isSheetModal) {
|
|
1608
|
-
|
|
1606
|
+
ionicGlobal.printIonWarning('setCurrentBreakpoint is only supported on sheet modals.');
|
|
1609
1607
|
return;
|
|
1610
1608
|
}
|
|
1611
1609
|
if (!this.breakpoints.includes(breakpoint)) {
|
|
1612
|
-
|
|
1610
|
+
ionicGlobal.printIonWarning(`Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
|
|
1613
1611
|
return;
|
|
1614
1612
|
}
|
|
1615
1613
|
const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;
|
|
@@ -1660,20 +1658,20 @@ const Modal = class {
|
|
|
1660
1658
|
const mode = ionicGlobal.getIonMode(this);
|
|
1661
1659
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
1662
1660
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1663
|
-
return (index$
|
|
1661
|
+
return (index$2.h(index$2.Host, Object.assign({ key: '013ba4864ca4d2c1052c512f6a4b0732b8decff7', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1664
1662
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1665
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$
|
|
1663
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$2.h("ion-backdrop", { key: '498b1c0a03836d6799dcf3b8e9315805c70f6480', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$2.h("div", { key: 'ce22e4caf1096e87248926fe2477f0d5a4c8a5cf', class: "modal-shadow" }), index$2.h("div", Object.assign({ key: '540e47b15d8290166c39b022c725182114a75682',
|
|
1666
1664
|
/*
|
|
1667
1665
|
role and aria-modal must be used on the
|
|
1668
1666
|
same element. They must also be set inside the
|
|
1669
1667
|
shadow DOM otherwise ion-button will not be highlighted
|
|
1670
1668
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
1671
1669
|
*/
|
|
1672
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$
|
|
1670
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$2.h("button", { key: 'f3b352ec9a63a7ec801462aacfd8295b4302d115', class: "modal-handle",
|
|
1673
1671
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1674
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$
|
|
1672
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$2.h("slot", { key: '31a3f58f4c733ffdf736523c154200874a96b1d0' }))));
|
|
1675
1673
|
}
|
|
1676
|
-
get el() { return index$
|
|
1674
|
+
get el() { return index$2.getElement(this); }
|
|
1677
1675
|
static get watchers() { return {
|
|
1678
1676
|
"isOpen": ["onIsOpenChange"],
|
|
1679
1677
|
"trigger": ["triggerChanged"]
|