@ionic/core 8.5.5-dev.11744728652.115947e1 → 8.5.5-dev.11744821352.11e7a84f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +13 -8
- package/components/alert.js +16 -12
- package/components/animation.js +2 -3
- package/components/backdrop.js +10 -6
- package/components/button.js +44 -14
- package/components/buttons.js +11 -7
- package/components/capacitor.js +1 -1
- package/components/caret-down.js +6 -0
- package/components/caret-left.js +6 -0
- package/components/caret-right.js +6 -0
- package/components/checkbox.js +30 -12
- package/components/config.js +1 -3
- package/{dist/esm/index-cfd9c1f2.js → components/config2.js} +1 -43
- package/components/content.js +14 -12
- package/components/data.js +8 -8
- package/components/focus-visible.js +23 -1
- package/components/framework-delegate.js +3 -1
- package/components/header.js +24 -15
- package/components/helpers.js +43 -4
- package/components/index.js +1 -2
- package/components/index2.js +2 -1
- package/components/index4.js +288 -104
- package/components/index5.js +27 -302
- package/components/index6.js +124 -3
- package/components/index7.js +163 -27
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -3
- package/components/ion-accordion-group.js +26 -7
- package/components/ion-accordion.js +36 -18
- package/components/ion-app.js +14 -77
- package/components/ion-avatar.js +58 -5
- package/components/ion-back-button.js +29 -20
- package/components/ion-badge.js +76 -9
- package/components/ion-breadcrumb.js +45 -11
- package/components/ion-breadcrumbs.js +9 -5
- package/components/ion-card-content.js +11 -7
- package/components/ion-card-header.js +9 -5
- package/components/ion-card-subtitle.js +9 -5
- package/components/ion-card-title.js +9 -5
- package/components/ion-card.js +17 -9
- package/components/ion-chip.js +49 -8
- package/components/ion-col.js +5 -5
- package/components/ion-datetime-button.js +13 -10
- package/components/ion-datetime.js +113 -35
- package/components/ion-divider.d.ts +11 -0
- package/components/ion-divider.js +59 -0
- package/components/ion-fab-button.js +33 -10
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +18 -12
- package/components/ion-grid.js +5 -5
- package/components/ion-img.js +5 -2
- package/components/ion-infinite-scroll-content.js +13 -9
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +55 -16
- package/components/ion-input.js +118 -20
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +9 -5
- package/components/ion-item-option.js +32 -9
- package/components/ion-item-options.js +9 -5
- package/components/ion-item-sliding.js +6 -7
- package/components/ion-loading.js +13 -9
- package/components/ion-menu-button.js +29 -12
- package/components/ion-menu-toggle.js +6 -6
- package/components/ion-menu.js +15 -12
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +10 -8
- package/components/ion-note.js +9 -5
- package/components/ion-picker-legacy.js +8 -9
- package/components/ion-progress-bar.js +28 -8
- package/components/ion-range.js +15 -12
- package/components/ion-refresher-content.js +28 -10
- package/components/ion-refresher.js +12 -9
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +31 -5
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +4 -4
- package/components/ion-router.js +8 -9
- package/components/ion-row.js +5 -2
- package/components/ion-searchbar.js +141 -19
- package/components/ion-segment-button.js +14 -11
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +6 -2
- package/components/ion-segment.js +11 -7
- package/components/ion-select-option.js +5 -2
- package/components/ion-select.js +122 -36
- package/components/ion-skeleton-text.js +6 -6
- package/components/ion-split-pane.js +14 -11
- package/components/ion-tab-bar.js +31 -8
- package/components/ion-tab-button.js +28 -8
- package/components/ion-tab.js +4 -5
- package/components/ion-tabs.js +3 -4
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +48 -11
- package/components/ion-thumbnail.js +5 -2
- package/components/ion-toast.js +39 -18
- package/components/ion-toggle.js +88 -21
- package/components/ionic-global.js +385 -15
- package/components/ios.transition.js +1 -0
- package/components/item.js +41 -11
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +9 -5
- package/components/list-header.js +9 -5
- package/components/list.js +29 -6
- package/components/list2.js +6 -0
- package/components/menu-toggle-util.js +1 -1
- package/components/modal.js +54 -24
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +7 -8
- package/components/picker-column-option.js +9 -5
- package/components/picker-column.js +7 -8
- package/components/picker-column2.js +4 -4
- package/components/picker.js +8 -4
- package/components/popover.js +12 -9
- package/components/radio-group.js +11 -5
- package/components/radio.js +12 -8
- package/components/ripple-effect.js +18 -8
- package/components/select-modal.js +3 -3
- package/components/select-popover.js +9 -2
- package/components/spinner.js +36 -10
- package/components/status-tap.js +1 -1
- package/components/title.js +11 -7
- package/components/toolbar.js +11 -7
- package/components/x.js +6 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-ab2d3449.js → animation-43d312d2.js} +3 -4
- package/dist/cjs/{app-globals-ddceb1f4.js → app-globals-c81ddb64.js} +1 -1
- package/dist/cjs/{button-active-43e2b419.js → button-active-952e2758.js} +1 -1
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-8dec41f0.js} +3 -3
- package/dist/cjs/caret-down-3c215cff.js +8 -0
- package/dist/cjs/caret-left-2bb66970.js +8 -0
- package/dist/cjs/caret-right-88e03970.js +8 -0
- package/dist/cjs/{config-f6225ae7.js → config-4f60b98a.js} +1 -3
- package/dist/cjs/{index-cc858e97.js → config-aff4ff52.js} +0 -45
- package/dist/cjs/{data-94e8d392.js → data-d8023923.js} +8 -8
- package/dist/{esm/focus-visible-dd40d69f.js → cjs/focus-visible-fe3acfb5.js} +27 -1
- package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-b28d080d.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-7c4b9668.js} +1 -1
- package/dist/cjs/{helpers-8a48fdea.js → helpers-a6b43470.js} +43 -4
- package/dist/cjs/{index-dbe01e08.js → index-77517743.js} +10 -8
- package/dist/cjs/{index-1eff7149.js → index-c05dceac.js} +12 -11
- package/dist/cjs/{index-31b07b9c.js → index-d3a1be32.js} +3 -3
- package/dist/cjs/{index-a96d31ae.js → index-ea1f3a96.js} +14 -15
- package/dist/cjs/index.cjs.js +13 -20
- package/dist/cjs/{input-shims-415be7ee.js → input-shims-fb4548bd.js} +19 -17
- package/dist/cjs/{input.utils-a7957fd6.js → input.utils-fd15bda5.js} +4 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +63 -25
- package/dist/cjs/ion-action-sheet.cjs.entry.js +22 -18
- package/dist/cjs/ion-alert.cjs.entry.js +27 -24
- package/dist/cjs/ion-app_8.cjs.entry.js +114 -153
- package/dist/cjs/ion-avatar_3.cjs.entry.js +127 -12
- package/dist/cjs/ion-back-button.cjs.entry.js +33 -23
- package/dist/cjs/ion-backdrop.cjs.entry.js +11 -7
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +54 -16
- package/dist/cjs/ion-button_2.cjs.entry.js +47 -15
- package/dist/cjs/ion-card_5.cjs.entry.js +53 -29
- package/dist/cjs/ion-checkbox.cjs.entry.js +31 -14
- package/dist/cjs/ion-chip.cjs.entry.js +46 -8
- package/dist/cjs/ion-col_3.cjs.entry.js +14 -11
- package/dist/cjs/ion-datetime-button.cjs.entry.js +17 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +191 -115
- package/dist/cjs/ion-divider.cjs.entry.js +43 -0
- package/dist/cjs/ion-fab_3.cjs.entry.js +43 -20
- package/dist/cjs/ion-img.cjs.entry.js +8 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +22 -17
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +55 -16
- package/dist/cjs/ion-input.cjs.entry.js +119 -23
- package/dist/cjs/ion-item-option_3.cjs.entry.js +45 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +114 -42
- package/dist/cjs/ion-loading.cjs.entry.js +21 -18
- package/dist/cjs/ion-menu_3.cjs.entry.js +60 -40
- package/dist/cjs/ion-modal.cjs.entry.js +99 -70
- package/dist/cjs/ion-nav_2.cjs.entry.js +24 -21
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +12 -7
- package/dist/cjs/ion-picker-column.cjs.entry.js +13 -13
- package/dist/cjs/ion-picker.cjs.entry.js +11 -6
- package/dist/cjs/ion-popover.cjs.entry.js +21 -18
- package/dist/cjs/ion-progress-bar.cjs.entry.js +29 -9
- package/dist/cjs/ion-radio_2.cjs.entry.js +25 -14
- package/dist/cjs/ion-range.cjs.entry.js +21 -16
- package/dist/cjs/ion-refresher_2.cjs.entry.js +48 -26
- package/dist/cjs/ion-reorder_2.cjs.entry.js +38 -13
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +18 -8
- package/dist/cjs/ion-route_4.cjs.entry.js +17 -16
- package/dist/cjs/ion-searchbar.cjs.entry.js +140 -19
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +6 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +27 -18
- package/dist/cjs/ion-select-modal.cjs.entry.js +9 -10
- package/dist/cjs/ion-select_3.cjs.entry.js +137 -43
- package/dist/cjs/ion-spinner.cjs.entry.js +35 -10
- package/dist/cjs/ion-split-pane.cjs.entry.js +15 -11
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +61 -21
- package/dist/cjs/ion-tab_2.cjs.entry.js +10 -9
- package/dist/cjs/ion-text.cjs.entry.js +6 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +52 -16
- package/dist/cjs/ion-toast.cjs.entry.js +63 -44
- package/dist/cjs/ion-toggle.cjs.entry.js +92 -25
- package/dist/cjs/ionic-global-02fb2aac.js +531 -0
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-a131cd4d.js → ios.transition-e054fb0b.js} +7 -5
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-77f82514.js} +5 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-801ef916.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-04202fab.js} +11 -9
- package/dist/cjs/list-2930c629.js +8 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-e018ebe5.js → md.transition-eba29791.js} +6 -5
- package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-352d63c8.js} +4 -4
- package/dist/cjs/{overlays-4c291a05.js → overlays-fc17eab1.js} +21 -22
- package/dist/cjs/{status-tap-f1acefac.js → status-tap-99fac5b1.js} +5 -3
- package/dist/cjs/{swipe-back-4918e56b.js → swipe-back-8aea3922.js} +3 -2
- package/dist/cjs/x-81a8f51c.js +8 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.ionic.css +197 -0
- package/dist/collection/components/accordion/accordion.ios.css +73 -58
- package/dist/collection/components/accordion/accordion.js +37 -21
- package/dist/collection/components/accordion/accordion.md.css +67 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +95 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +16 -4
- package/dist/collection/components/accordion-group/accordion-group.js +44 -9
- package/dist/collection/components/accordion-group/accordion-group.md.css +22 -4
- package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -6
- package/dist/collection/components/action-sheet/action-sheet.js +14 -10
- package/dist/collection/components/action-sheet/action-sheet.md.css +17 -5
- package/dist/collection/components/alert/alert.ios.css +19 -1
- package/dist/collection/components/alert/alert.js +16 -14
- package/dist/collection/components/alert/alert.md.css +19 -1
- package/dist/collection/components/app/app.js +22 -80
- package/dist/collection/components/avatar/avatar.ionic.css +374 -0
- package/dist/collection/components/avatar/avatar.ios.css +13 -0
- package/dist/collection/components/avatar/avatar.js +113 -4
- package/dist/collection/components/avatar/avatar.md.css +90 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +27 -19
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ionic.css +150 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +13 -1
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +13 -1
- package/dist/collection/components/badge/badge.ionic.css +369 -0
- package/dist/collection/components/badge/badge.ios.css +164 -4
- package/dist/collection/components/badge/badge.js +139 -9
- package/dist/collection/components/badge/badge.md.css +148 -4
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +43 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +651 -0
- package/dist/collection/components/button/button.ios.css +183 -38
- package/dist/collection/components/button/button.js +49 -19
- package/dist/collection/components/button/button.md.css +174 -42
- package/dist/collection/components/buttons/buttons.ionic.css +100 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +14 -8
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/card/card.ionic.css +137 -0
- package/dist/collection/components/card/card.ios.css +65 -14
- package/dist/collection/components/card/card.js +34 -10
- package/dist/collection/components/card/card.md.css +65 -14
- package/dist/collection/components/card-content/card-content.ionic.css +90 -0
- package/dist/collection/components/card-content/card-content.ios.css +16 -1
- package/dist/collection/components/card-content/card-content.js +11 -8
- package/dist/collection/components/card-content/card-content.md.css +16 -1
- package/dist/collection/components/card-header/card-header.ionic.css +87 -0
- package/dist/collection/components/card-header/card-header.ios.css +27 -15
- package/dist/collection/components/card-header/card-header.js +12 -9
- package/dist/collection/components/card-header/card-header.md.css +27 -15
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +146 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +73 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +73 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +527 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +161 -101
- package/dist/collection/components/checkbox/checkbox.js +64 -14
- package/dist/collection/components/checkbox/checkbox.md.css +162 -102
- package/dist/collection/components/chip/chip.ionic.css +219 -0
- package/dist/collection/components/chip/chip.ios.css +67 -14
- package/dist/collection/components/chip/chip.js +98 -8
- package/dist/collection/components/chip/chip.md.css +67 -14
- package/dist/collection/components/col/col.css +12 -0
- package/dist/collection/components/col/col.js +9 -5
- package/dist/collection/components/content/content.css +8 -2
- package/dist/collection/components/content/content.js +16 -11
- package/dist/collection/components/datetime/datetime.ionic.css +673 -0
- package/dist/collection/components/datetime/datetime.ios.css +237 -86
- package/dist/collection/components/datetime/datetime.js +107 -29
- package/dist/collection/components/datetime/datetime.md.css +237 -86
- package/dist/collection/components/datetime/utils/comparison.js +1 -1
- package/dist/collection/components/datetime/utils/data.js +5 -5
- package/dist/collection/components/datetime/utils/parse.js +1 -1
- package/dist/collection/components/datetime/utils/state.js +1 -1
- package/dist/collection/components/datetime/utils/validate.js +4 -4
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +15 -12
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/divider/divider.ionic.css +150 -0
- package/dist/collection/components/divider/divider.ios.css +87 -0
- package/dist/collection/components/divider/divider.js +76 -0
- package/dist/collection/components/divider/divider.md.css +87 -0
- package/dist/collection/components/fab/fab.css +25 -1
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +36 -15
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer.ios.css +14 -2
- package/dist/collection/components/footer/footer.js +20 -15
- package/dist/collection/components/footer/footer.md.css +12 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header.ionic.css +86 -0
- package/dist/collection/components/header/header.ios.css +25 -10
- package/dist/collection/components/header/header.js +42 -17
- package/dist/collection/components/header/header.md.css +23 -8
- package/dist/collection/components/img/img.js +8 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +8 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ionic.css +917 -0
- package/dist/collection/components/input/input.ios.css +223 -140
- package/dist/collection/components/input/input.js +144 -30
- package/dist/collection/components/input/input.md.css +245 -142
- package/dist/collection/components/input/input.utils.js +1 -1
- package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +61 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +141 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +50 -14
- package/dist/collection/components/item/item.ionic.css +497 -0
- package/dist/collection/components/item/item.ios.css +109 -69
- package/dist/collection/components/item/item.js +44 -16
- package/dist/collection/components/item/item.md.css +120 -68
- package/dist/collection/components/item-divider/item-divider.ios.css +18 -0
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +18 -0
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ionic.css +267 -0
- package/dist/collection/components/item-option/item-option.ios.css +133 -29
- package/dist/collection/components/item-option/item-option.js +64 -9
- package/dist/collection/components/item-option/item-option.md.css +133 -29
- package/dist/collection/components/item-options/item-options.ionic.css +259 -0
- package/dist/collection/components/item-options/item-options.ios.css +18 -0
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +18 -0
- package/dist/collection/components/item-sliding/item-sliding.css +6 -0
- package/dist/collection/components/item-sliding/item-sliding.js +9 -6
- package/dist/collection/components/label/label.ios.css +18 -0
- package/dist/collection/components/label/label.js +11 -8
- package/dist/collection/components/label/label.md.css +18 -0
- package/dist/collection/components/list/list.ionic.css +192 -0
- package/dist/collection/components/list/list.ios.css +18 -0
- package/dist/collection/components/list/list.js +47 -9
- package/dist/collection/components/list/list.md.css +20 -2
- package/dist/collection/components/list-header/list-header.ionic.css +236 -0
- package/dist/collection/components/list-header/list-header.ios.css +18 -0
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +18 -0
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +13 -10
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +15 -3
- package/dist/collection/components/menu/menu.js +14 -10
- package/dist/collection/components/menu/menu.md.css +15 -3
- package/dist/collection/components/menu-button/menu-button.ionic.css +238 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +26 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/animations/sheet.js +8 -2
- package/dist/collection/components/modal/gestures/sheet.js +10 -6
- package/dist/collection/components/modal/modal.ionic.css +245 -0
- package/dist/collection/components/modal/modal.ios.css +106 -63
- package/dist/collection/components/modal/modal.js +50 -14
- package/dist/collection/components/modal/modal.md.css +106 -63
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +13 -7
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +13 -1
- package/dist/collection/components/picker-legacy/picker.js +8 -7
- package/dist/collection/components/picker-legacy/picker.md.css +13 -1
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +12 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +12 -0
- package/dist/collection/components/popover/popover.ios.css +13 -1
- package/dist/collection/components/popover/popover.js +16 -13
- package/dist/collection/components/popover/popover.md.css +13 -1
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +333 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +8 -2
- package/dist/collection/components/progress-bar/progress-bar.js +42 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +8 -2
- package/dist/collection/components/radio/radio.ionic.css +424 -0
- package/dist/collection/components/radio/radio.ios.css +134 -91
- package/dist/collection/components/radio/radio.js +12 -9
- package/dist/collection/components/radio/radio.md.css +134 -91
- package/dist/collection/components/radio-group/radio-group.ionic.css +127 -0
- package/dist/collection/components/radio-group/radio-group.ios.css +42 -18
- package/dist/collection/components/radio-group/radio-group.js +13 -5
- package/dist/collection/components/radio-group/radio-group.md.css +42 -18
- package/dist/collection/components/range/range.ionic.css +555 -0
- package/dist/collection/components/range/range.ios.css +128 -85
- package/dist/collection/components/range/range.js +14 -11
- package/dist/collection/components/range/range.md.css +128 -85
- package/dist/collection/components/refresher/refresher.ios.css +14 -1
- package/dist/collection/components/refresher/refresher.js +12 -10
- package/dist/collection/components/refresher/refresher.md.css +15 -2
- package/dist/collection/components/refresher-content/refresher-content.js +28 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +33 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +154 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
- package/dist/collection/components/route/route.js +4 -0
- package/dist/collection/components/router/router.js +11 -8
- package/dist/collection/components/router/utils/dom.js +1 -2
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +6 -4
- package/dist/collection/components/row/row.css +12 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +628 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +179 -29
- package/dist/collection/components/searchbar/searchbar.md.css +56 -18
- package/dist/collection/components/segment/segment.ionic.css +117 -0
- package/dist/collection/components/segment/segment.ios.css +45 -2
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +45 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +355 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
- package/dist/collection/components/segment-button/segment-button.js +14 -12
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +6 -0
- package/dist/collection/components/segment-view/segment-view.js +6 -4
- package/dist/collection/components/segment-view/segment-view.md.css +6 -0
- package/dist/collection/components/select/select.ionic.css +829 -0
- package/dist/collection/components/select/select.ios.css +267 -134
- package/dist/collection/components/select/select.js +159 -58
- package/dist/collection/components/select/select.md.css +283 -136
- package/dist/collection/components/select-modal/select-modal.ionic.css +121 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +18 -0
- package/dist/collection/components/select-modal/select-modal.js +3 -3
- package/dist/collection/components/select-modal/select-modal.md.css +7 -3
- package/dist/collection/components/select-option/select-option.js +9 -2
- package/dist/collection/components/select-popover/select-popover.ios.css +18 -0
- package/dist/collection/components/select-popover/select-popover.js +12 -4
- package/dist/collection/components/select-popover/select-popover.md.css +18 -0
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/spinner.common.css +199 -0
- package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +63 -0
- package/dist/collection/components/spinner/spinner.js +46 -6
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +16 -11
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +8 -5
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +188 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +71 -43
- package/dist/collection/components/tab-bar/tab-bar.js +65 -10
- package/dist/collection/components/tab-bar/tab-bar.md.css +71 -43
- package/dist/collection/components/tab-button/tab-button.ionic.css +327 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +166 -90
- package/dist/collection/components/tab-button/tab-button.js +43 -8
- package/dist/collection/components/tab-button/tab-button.md.css +132 -88
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +5 -3
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ionic.css +879 -0
- package/dist/collection/components/textarea/textarea.ios.css +205 -96
- package/dist/collection/components/textarea/textarea.js +69 -16
- package/dist/collection/components/textarea/textarea.md.css +218 -97
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ionic.css +145 -0
- package/dist/collection/components/title/title.ios.css +32 -4
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +32 -4
- package/dist/collection/components/toast/animations/utils.js +2 -2
- package/dist/collection/components/toast/toast.ionic.css +406 -0
- package/dist/collection/components/toast/toast.ios.css +74 -35
- package/dist/collection/components/toast/toast.js +71 -17
- package/dist/collection/components/toast/toast.md.css +74 -35
- package/dist/collection/components/toggle/toggle.ionic.css +513 -0
- package/dist/collection/components/toggle/toggle.ios.css +248 -144
- package/dist/collection/components/toggle/toggle.js +84 -20
- package/dist/collection/components/toggle/toggle.md.css +245 -144
- package/dist/collection/components/toolbar/toolbar.ionic.css +233 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +13 -10
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/global/ionic-global.js +228 -13
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/animation/animation.js +1 -2
- package/dist/collection/utils/focus-visible.js +22 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/hardware-back-button.js +1 -2
- package/dist/collection/utils/helpers.js +43 -4
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/logging/index.js +4 -10
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/overlays.js +6 -5
- package/dist/collection/utils/sanitization/index.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/page/utils/goto.js +14 -5
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +16 -2
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +7635 -331
- package/dist/esm/{animation-8b25e105.js → animation-75691d96.js} +2 -3
- package/dist/esm/{app-globals-dbdbb3df.js → app-globals-73e46285.js} +1 -1
- package/dist/esm/{button-active-90f1dbc4.js → button-active-e61fbdcf.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-41c43387.js} +1 -1
- package/dist/esm/caret-down-3eaad1cc.js +6 -0
- package/dist/esm/caret-left-33424bb0.js +6 -0
- package/dist/esm/caret-right-68d856ad.js +6 -0
- package/dist/esm/{config-9898ed97.js → config-49c88215.js} +1 -3
- package/dist/esm/config-84eb9670.js +79 -0
- package/dist/esm/{data-0d7ea6eb.js → data-19735819.js} +8 -8
- package/dist/{cjs/focus-visible-7a0ce04f.js → esm/focus-visible-6827442c.js} +23 -3
- package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-648f8ef4.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-b2fbf33c.js} +1 -1
- package/dist/esm/{helpers-d94bc8ad.js → helpers-a034be46.js} +43 -4
- package/dist/esm/{index-9a17db3d.js → index-46e613a7.js} +2 -2
- package/dist/esm/{index-527b9e34.js → index-4c3c5d46.js} +1 -1
- package/dist/esm/{index-18f31305.js → index-65ba6107.js} +10 -11
- package/{components/index9.js → dist/esm/index-664eaf98.js} +5 -2
- package/dist/esm/{index-68c0d151.js → index-8706b805.js} +6 -5
- package/dist/esm/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm/index.js +13 -14
- package/dist/esm/{input-shims-279903e2.js → input-shims-16500377.js} +8 -6
- package/dist/esm/{input.utils-40504d6d.js → input.utils-8ddd6756.js} +3 -4
- package/dist/esm/ion-accordion_2.entry.js +63 -25
- package/dist/esm/ion-action-sheet.entry.js +23 -19
- package/dist/esm/ion-alert.entry.js +26 -23
- package/dist/esm/ion-app_8.entry.js +102 -141
- package/dist/esm/ion-avatar_3.entry.js +129 -14
- package/dist/esm/ion-back-button.entry.js +32 -22
- package/dist/esm/ion-backdrop.entry.js +12 -8
- package/dist/esm/ion-breadcrumb_2.entry.js +56 -18
- package/dist/esm/ion-button_2.entry.js +48 -16
- package/dist/esm/ion-card_5.entry.js +54 -30
- package/dist/esm/ion-checkbox.entry.js +32 -15
- package/dist/esm/ion-chip.entry.js +47 -9
- package/dist/esm/ion-col_3.entry.js +15 -12
- package/dist/esm/ion-datetime-button.entry.js +18 -13
- package/dist/esm/ion-datetime_3.entry.js +132 -56
- package/dist/esm/ion-divider.entry.js +39 -0
- package/dist/esm/ion-fab_3.entry.js +45 -22
- package/dist/esm/ion-img.entry.js +9 -5
- package/dist/esm/ion-infinite-scroll_2.entry.js +21 -16
- package/dist/esm/ion-input-password-toggle.entry.js +56 -17
- package/dist/esm/ion-input.entry.js +121 -25
- package/dist/esm/ion-item-option_3.entry.js +46 -20
- package/dist/esm/ion-item_8.entry.js +115 -43
- package/dist/esm/ion-loading.entry.js +20 -17
- package/dist/esm/ion-menu_3.entry.js +51 -31
- package/dist/esm/ion-modal.entry.js +63 -34
- package/dist/esm/ion-nav_2.entry.js +16 -13
- package/dist/esm/ion-picker-column-option.entry.js +13 -8
- package/dist/esm/ion-picker-column.entry.js +13 -13
- package/dist/esm/ion-picker.entry.js +12 -7
- package/dist/esm/ion-popover.entry.js +20 -17
- package/dist/esm/ion-progress-bar.entry.js +29 -9
- package/dist/esm/ion-radio_2.entry.js +26 -15
- package/dist/esm/ion-range.entry.js +19 -14
- package/dist/esm/ion-refresher_2.entry.js +45 -23
- package/dist/esm/ion-reorder_2.entry.js +40 -15
- package/dist/esm/ion-ripple-effect.entry.js +19 -9
- package/dist/esm/ion-route_4.entry.js +18 -17
- package/dist/esm/ion-searchbar.entry.js +141 -20
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +7 -3
- package/dist/esm/ion-segment_2.entry.js +28 -19
- package/dist/esm/ion-select-modal.entry.js +10 -11
- package/dist/esm/ion-select_3.entry.js +138 -44
- package/dist/esm/ion-spinner.entry.js +34 -9
- package/dist/esm/ion-split-pane.entry.js +16 -12
- package/dist/esm/ion-tab-bar_2.entry.js +61 -21
- package/dist/esm/ion-tab_2.entry.js +11 -10
- package/dist/esm/ion-text.entry.js +7 -7
- package/dist/esm/ion-textarea.entry.js +53 -17
- package/dist/esm/ion-toast.entry.js +44 -25
- package/dist/esm/ion-toggle.entry.js +93 -26
- package/dist/esm/ionic-global-c1aec1e9.js +517 -0
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-4047cb68.js → ios.transition-9ff146da.js} +8 -6
- package/dist/esm/{keyboard-73175e24.js → keyboard-0fef95c0.js} +1 -1
- package/dist/esm/{keyboard-52278bd7.js → keyboard-9b786586.js} +5 -3
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-6f3a63af.js} +5 -3
- package/dist/esm/list-6524700c.js +6 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{md.transition-30ce8d1b.js → md.transition-2f3188d8.js} +7 -6
- package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-d4f6433f.js} +2 -2
- package/dist/esm/{overlays-d99dcb0a.js → overlays-bb311c8e.js} +9 -10
- package/dist/esm/{status-tap-42a8af65.js → status-tap-562eee39.js} +6 -4
- package/dist/esm/{swipe-back-0184f6b3.js → swipe-back-983c0694.js} +3 -2
- package/dist/esm/x-a64bcd9f.js +6 -0
- package/dist/esm-es5/animation-75691d96.js +4 -0
- package/dist/esm-es5/app-globals-73e46285.js +4 -0
- package/dist/esm-es5/{button-active-90f1dbc4.js → button-active-e61fbdcf.js} +1 -1
- package/dist/esm-es5/capacitor-41c43387.js +4 -0
- package/dist/esm-es5/caret-down-3eaad1cc.js +4 -0
- package/dist/esm-es5/caret-left-33424bb0.js +4 -0
- package/dist/esm-es5/caret-right-68d856ad.js +4 -0
- package/dist/esm-es5/config-49c88215.js +4 -0
- package/dist/esm-es5/config-84eb9670.js +4 -0
- package/dist/esm-es5/data-19735819.js +4 -0
- package/dist/esm-es5/focus-visible-6827442c.js +4 -0
- package/dist/esm-es5/framework-delegate-648f8ef4.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-b2fbf33c.js} +1 -1
- package/dist/esm-es5/helpers-a034be46.js +4 -0
- package/dist/esm-es5/index-46e613a7.js +4 -0
- package/dist/esm-es5/{index-527b9e34.js → index-4c3c5d46.js} +1 -1
- package/dist/esm-es5/index-65ba6107.js +4 -0
- package/dist/esm-es5/index-664eaf98.js +4 -0
- package/dist/esm-es5/index-8706b805.js +4 -0
- package/dist/esm-es5/{index-e2cf2ceb.js → index-d997525d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-16500377.js +4 -0
- package/dist/esm-es5/input.utils-8ddd6756.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-divider.entry.js +4 -0
- 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-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.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-c1aec1e9.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-9ff146da.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-0fef95c0.js} +1 -1
- package/dist/esm-es5/{keyboard-52278bd7.js → keyboard-9b786586.js} +1 -1
- package/dist/esm-es5/keyboard-controller-6f3a63af.js +4 -0
- package/dist/esm-es5/list-6524700c.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-2f3188d8.js +4 -0
- package/dist/esm-es5/notch-controller-d4f6433f.js +4 -0
- package/dist/esm-es5/overlays-bb311c8e.js +4 -0
- package/dist/esm-es5/status-tap-562eee39.js +4 -0
- package/dist/esm-es5/swipe-back-983c0694.js +4 -0
- package/dist/esm-es5/x-a64bcd9f.js +4 -0
- package/dist/html.html-data.json +2503 -213
- 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-000a60c5.system.entry.js +4 -0
- package/dist/ionic/p-01d80901.system.js +4 -0
- package/dist/ionic/p-0407e81b.entry.js +4 -0
- package/dist/ionic/p-049c8d2a.entry.js +4 -0
- package/dist/ionic/p-05ffb16b.system.js +4 -0
- package/dist/ionic/p-06ec4706.js +4 -0
- package/dist/ionic/p-0b941072.js +4 -0
- package/dist/ionic/p-106d1261.system.entry.js +4 -0
- package/dist/ionic/p-1091cdb9.entry.js +4 -0
- package/dist/ionic/{p-1e955a45.system.js → p-115d74cd.system.js} +1 -1
- package/dist/ionic/p-1276cda4.system.js +4 -0
- package/dist/ionic/p-14405618.system.entry.js +4 -0
- package/dist/ionic/p-148e00f2.js +4 -0
- package/dist/ionic/p-180f0c6f.system.entry.js +4 -0
- package/dist/ionic/p-183b2910.js +4 -0
- package/dist/ionic/p-19544c40.entry.js +4 -0
- package/dist/ionic/p-1d49225d.entry.js +4 -0
- package/dist/ionic/p-1d512070.system.entry.js +4 -0
- package/dist/ionic/p-1d8a608c.entry.js +4 -0
- package/dist/ionic/p-1fd5c378.system.js +4 -0
- package/dist/ionic/p-2004fb92.system.entry.js +4 -0
- package/dist/ionic/p-226163dd.system.entry.js +4 -0
- package/dist/ionic/p-22e704a0.entry.js +4 -0
- package/dist/ionic/p-22f0ff9d.system.entry.js +4 -0
- package/dist/ionic/p-23ea84b6.entry.js +4 -0
- package/dist/ionic/p-243adf8c.js +4 -0
- package/dist/ionic/p-25de2d08.entry.js +4 -0
- package/dist/ionic/p-25fb485f.system.entry.js +4 -0
- package/dist/ionic/p-26d7c6fd.system.entry.js +4 -0
- package/dist/ionic/p-27f94ab0.system.entry.js +4 -0
- package/dist/ionic/p-2a51dad2.js +4 -0
- package/dist/ionic/p-2b2d1437.entry.js +4 -0
- package/dist/ionic/p-2bf44172.js +4 -0
- package/dist/ionic/p-2d1ea225.entry.js +4 -0
- package/dist/ionic/p-30c3101d.entry.js +4 -0
- package/dist/ionic/p-3163265a.entry.js +4 -0
- package/dist/ionic/{p-8d2d39d0.js → p-322a2f0e.js} +1 -1
- package/dist/ionic/p-361d3f82.system.js +4 -0
- package/dist/ionic/p-36ac0bd0.system.entry.js +4 -0
- package/dist/ionic/p-36e022e5.system.entry.js +4 -0
- package/dist/ionic/p-3832a6ae.system.js +4 -0
- package/dist/ionic/p-3835325e.entry.js +4 -0
- package/dist/ionic/p-38c0cca7.js +4 -0
- package/dist/ionic/p-39b0a811.entry.js +4 -0
- package/dist/ionic/p-3acf0ca0.system.entry.js +4 -0
- package/dist/ionic/p-3b4574b3.entry.js +4 -0
- package/dist/ionic/p-3b7deae5.entry.js +4 -0
- package/dist/ionic/p-3c31f667.system.js +4 -0
- package/dist/ionic/p-3c8c8686.system.entry.js +4 -0
- package/dist/ionic/{p-1d307396.system.js → p-3f001e0c.system.js} +2 -2
- package/dist/ionic/p-3fc870da.system.js +4 -0
- package/dist/ionic/p-41d5544e.js +4 -0
- package/dist/ionic/p-429dd2b5.system.js +4 -0
- package/dist/ionic/p-4459a66e.system.js +4 -0
- package/dist/ionic/p-452fc75e.entry.js +4 -0
- package/dist/ionic/p-45388333.js +4 -0
- package/dist/ionic/p-46f1771d.entry.js +4 -0
- package/dist/ionic/p-49664bbc.system.entry.js +4 -0
- package/dist/ionic/p-4bad1784.system.entry.js +4 -0
- package/dist/ionic/p-4c3e0fde.system.entry.js +4 -0
- package/dist/ionic/p-4e5e464b.entry.js +4 -0
- package/dist/ionic/p-4eab42bc.entry.js +4 -0
- package/dist/ionic/p-4ee9dc7a.entry.js +4 -0
- package/dist/ionic/p-519dbeb4.entry.js +4 -0
- package/dist/ionic/{p-a4866e3e.system.js → p-53378de8.system.js} +1 -1
- package/dist/ionic/p-537e7cdc.system.entry.js +4 -0
- package/dist/ionic/p-5396aa22.system.entry.js +4 -0
- package/dist/ionic/p-548cd1e5.system.entry.js +4 -0
- package/dist/ionic/{p-66a5d6a8.js → p-578d5013.js} +1 -1
- package/dist/ionic/p-583f0c5f.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-58f16ef6.js} +1 -1
- package/dist/ionic/p-5b57d327.system.js +4 -0
- package/dist/ionic/p-5b5bb0a5.system.js +4 -0
- package/dist/ionic/p-5dde2c4f.system.entry.js +4 -0
- package/dist/ionic/p-607c9c33.js +4 -0
- package/dist/ionic/p-65c2b2b1.entry.js +4 -0
- package/dist/ionic/p-660800ad.entry.js +4 -0
- package/dist/ionic/p-69bbeaf6.js +4 -0
- package/dist/ionic/p-6a0dd6bc.js +4 -0
- package/dist/ionic/{p-612096e6.system.entry.js → p-6e0e68de.system.entry.js} +1 -1
- package/dist/ionic/p-6fcdcb51.system.js +4 -0
- package/dist/ionic/p-701c7638.js +4 -0
- package/dist/ionic/p-7028eadd.system.entry.js +4 -0
- package/dist/ionic/p-7071d7ca.js +4 -0
- package/dist/ionic/p-714aaf3c.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-76b92f54.system.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-7b10b4c2.system.js} +1 -1
- package/dist/ionic/p-7b33697a.js +4 -0
- package/dist/ionic/p-7b382a8b.js +4 -0
- package/dist/ionic/p-7c2fc007.system.entry.js +4 -0
- package/dist/ionic/p-7f74d4fc.system.entry.js +4 -0
- package/dist/ionic/p-7ff70f62.entry.js +4 -0
- package/dist/ionic/p-808e57e0.system.js +4 -0
- package/dist/ionic/p-8131e086.system.entry.js +4 -0
- package/dist/ionic/p-8255bd7b.system.entry.js +4 -0
- package/dist/ionic/{p-84096b45.system.js → p-82a63266.system.js} +1 -1
- package/dist/ionic/{p-a93873de.system.js → p-84f02275.system.js} +1 -1
- package/dist/ionic/p-8898b2c4.system.entry.js +4 -0
- package/dist/ionic/p-895adf4d.system.entry.js +4 -0
- package/dist/ionic/p-8b06c868.system.entry.js +4 -0
- package/dist/ionic/p-8befed6f.entry.js +4 -0
- package/dist/ionic/p-8c6c972b.js +4 -0
- package/dist/ionic/p-8d3c124a.entry.js +4 -0
- package/dist/ionic/p-8f2efbe5.entry.js +4 -0
- package/dist/ionic/p-93f7ddd5.entry.js +4 -0
- package/dist/ionic/p-95039c8b.entry.js +4 -0
- package/dist/ionic/{p-f6e7d104.system.js → p-96898f8d.system.js} +1 -1
- package/dist/ionic/p-9757a3c0.system.js +4 -0
- package/dist/ionic/p-97a351b5.entry.js +4 -0
- package/dist/ionic/{p-cad82569.entry.js → p-97c5e467.entry.js} +1 -1
- package/dist/ionic/p-98ea9230.system.js +4 -0
- package/dist/ionic/p-9a0ab352.js +4 -0
- package/dist/ionic/p-a12c4c78.js +4 -0
- package/dist/ionic/{p-707408c5.system.entry.js → p-a16830e0.system.entry.js} +1 -1
- package/dist/ionic/p-a212bcac.entry.js +4 -0
- package/dist/ionic/p-a2f85605.entry.js +4 -0
- package/dist/ionic/p-a47bffd6.system.entry.js +4 -0
- package/dist/ionic/p-a929d40a.entry.js +4 -0
- package/dist/ionic/p-a9af4103.js +4 -0
- package/dist/ionic/p-ab0aa514.system.js +4 -0
- package/dist/ionic/p-acee3852.entry.js +4 -0
- package/dist/ionic/p-af4d0e38.system.entry.js +4 -0
- package/dist/ionic/p-af7c3b18.system.js +4 -0
- package/dist/ionic/p-b1618321.entry.js +4 -0
- package/dist/ionic/p-b406502d.entry.js +4 -0
- package/dist/ionic/p-b57d8fcb.system.entry.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-b5bca0ad.js} +1 -1
- package/dist/ionic/p-b5e3859a.entry.js +4 -0
- package/dist/ionic/p-b719e9a7.js +4 -0
- package/dist/ionic/p-b7f022cd.system.entry.js +4 -0
- package/dist/ionic/p-b852ead6.system.entry.js +4 -0
- package/dist/ionic/p-b9ddbdf3.js +4 -0
- package/dist/ionic/p-bb183633.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-c2069a04.js} +1 -1
- package/dist/ionic/p-c248c88d.system.js +4 -0
- package/dist/ionic/p-c37bd983.entry.js +4 -0
- package/dist/ionic/p-c41441ce.system.entry.js +4 -0
- package/dist/ionic/p-c47e7149.system.entry.js +4 -0
- package/dist/ionic/p-c4ef6f8b.js +4 -0
- package/dist/ionic/p-c595e718.system.entry.js +4 -0
- package/dist/ionic/p-c6cb5873.entry.js +4 -0
- package/dist/ionic/p-caf65cd8.system.entry.js +4 -0
- package/dist/ionic/p-ccbf31df.entry.js +4 -0
- package/dist/ionic/p-cf466c60.entry.js +4 -0
- package/dist/ionic/{p-f11a9436.system.js → p-d2536fe8.system.js} +1 -1
- package/dist/ionic/{p-3a30f31b.system.entry.js → p-d5a528dd.system.entry.js} +1 -1
- package/dist/ionic/p-d94f6cf2.system.entry.js +4 -0
- package/dist/ionic/p-da3f8286.system.entry.js +4 -0
- package/dist/ionic/p-da7bd63e.system.entry.js +4 -0
- package/dist/ionic/p-db5e6e19.system.js +4 -0
- package/dist/ionic/p-db8ffacb.system.js +4 -0
- package/dist/ionic/p-dc29c440.js +4 -0
- package/dist/ionic/p-de28526a.system.js +4 -0
- package/dist/ionic/p-e0ca79b3.entry.js +4 -0
- package/dist/ionic/p-e119d90e.entry.js +4 -0
- package/dist/ionic/p-e2772e25.system.entry.js +4 -0
- package/dist/ionic/p-e3b70846.system.js +4 -0
- package/dist/ionic/p-e45a947d.system.js +4 -0
- package/dist/ionic/p-e58a67f5.entry.js +4 -0
- package/dist/ionic/p-e637969f.entry.js +4 -0
- package/dist/ionic/p-e6ae836b.system.js +4 -0
- package/dist/ionic/p-e92a4b0d.system.entry.js +4 -0
- package/dist/ionic/p-ebe9ec08.system.entry.js +4 -0
- package/dist/ionic/{p-1966a13c.system.js → p-efad6882.system.js} +1 -1
- package/dist/ionic/p-f10dba92.entry.js +4 -0
- package/dist/ionic/p-f233f1e0.system.js +4 -0
- package/dist/ionic/p-f3d28b8f.js +4 -0
- package/dist/ionic/p-f3deab52.system.entry.js +4 -0
- package/dist/ionic/p-f724434e.system.entry.js +4 -0
- package/dist/ionic/{p-b6d324f0.js → p-faf202df.js} +1 -1
- package/dist/ionic/p-fbc7052d.system.entry.js +4 -0
- package/dist/ionic/p-fccabaf9.entry.js +4 -0
- package/dist/ionic/p-fd806579.entry.js +4 -0
- package/dist/ionic/p-ffea25fc.system.entry.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +5 -3
- package/dist/types/components/accordion-group/accordion-group.d.ts +12 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +6 -2
- package/dist/types/components/avatar/avatar.d.ts +32 -0
- package/dist/types/components/back-button/back-button.d.ts +2 -1
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +37 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +15 -4
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +14 -4
- package/dist/types/components/chip/chip.d.ts +26 -1
- package/dist/types/components/col/col.d.ts +4 -0
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime.d.ts +26 -1
- package/dist/types/components/datetime/utils/data.d.ts +5 -5
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/divider/divider.d.ts +20 -0
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +5 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +4 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header.d.ts +9 -3
- package/dist/types/components/img/img.d.ts +3 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +4 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +31 -5
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +2 -0
- package/dist/types/components/item/item.d.ts +11 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +18 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +4 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +15 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +3 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +4 -7
- package/dist/types/components/modal/modal.d.ts +11 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/picker-legacy/picker.d.ts +2 -1
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +10 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +4 -0
- package/dist/types/components/reorder/reorder.d.ts +9 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +51 -9
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +41 -13
- package/dist/types/components/select-option/select-option.d.ts +4 -0
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +15 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +22 -2
- package/dist/types/components/tab-button/tab-button.d.ts +11 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +17 -4
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +19 -2
- package/dist/types/components/toggle/toggle.d.ts +17 -1
- package/dist/types/components/toolbar/toolbar.d.ts +4 -3
- package/dist/types/components.d.ts +1488 -186
- package/dist/types/global/ionic-global.d.ts +27 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +106 -2
- package/dist/types/utils/focus-visible.d.ts +13 -0
- package/dist/types/utils/helpers.d.ts +11 -0
- package/dist/types/utils/logging/index.d.ts +1 -1
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/hydrate/index.js +2635 -933
- package/hydrate/index.mjs +2635 -933
- package/package.json +9 -4
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/dist/cjs/hardware-back-button-3d2b1004.js +0 -121
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-6dea5a96.js +0 -152
- package/dist/esm/hardware-back-button-a7eb8233.js +0 -115
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm/index-be190feb.js +0 -168
- package/dist/esm/ionic-global-b26f573e.js +0 -147
- package/dist/esm-es5/animation-8b25e105.js +0 -4
- package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/config-9898ed97.js +0 -4
- package/dist/esm-es5/data-0d7ea6eb.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-56b467ad.js +0 -4
- package/dist/esm-es5/hardware-back-button-a7eb8233.js +0 -4
- package/dist/esm-es5/helpers-d94bc8ad.js +0 -4
- package/dist/esm-es5/index-18f31305.js +0 -4
- package/dist/esm-es5/index-68c0d151.js +0 -4
- package/dist/esm-es5/index-9a17db3d.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-be190feb.js +0 -4
- package/dist/esm-es5/index-cfd9c1f2.js +0 -5
- package/dist/esm-es5/input-shims-279903e2.js +0 -4
- package/dist/esm-es5/input.utils-40504d6d.js +0 -4
- package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
- package/dist/esm-es5/ios.transition-4047cb68.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-30ce8d1b.js +0 -4
- package/dist/esm-es5/notch-controller-1a1f7183.js +0 -4
- package/dist/esm-es5/overlays-d99dcb0a.js +0 -4
- package/dist/esm-es5/status-tap-42a8af65.js +0 -4
- package/dist/esm-es5/swipe-back-0184f6b3.js +0 -4
- package/dist/ionic/p-00023f5a.system.js +0 -4
- package/dist/ionic/p-019e30a3.system.entry.js +0 -4
- package/dist/ionic/p-03480b95.system.entry.js +0 -4
- package/dist/ionic/p-08cef0b1.entry.js +0 -4
- package/dist/ionic/p-0f5e6225.js +0 -4
- package/dist/ionic/p-105b2e8b.entry.js +0 -4
- package/dist/ionic/p-10a1bddc.js +0 -4
- package/dist/ionic/p-117d0013.system.entry.js +0 -4
- package/dist/ionic/p-12193821.system.js +0 -4
- package/dist/ionic/p-12830298.system.entry.js +0 -4
- package/dist/ionic/p-12914457.entry.js +0 -4
- package/dist/ionic/p-14154301.system.entry.js +0 -4
- package/dist/ionic/p-14bdb5aa.entry.js +0 -4
- package/dist/ionic/p-1706b406.system.entry.js +0 -4
- package/dist/ionic/p-171ca87d.system.js +0 -4
- package/dist/ionic/p-17e21141.js +0 -4
- package/dist/ionic/p-19494658.system.entry.js +0 -4
- package/dist/ionic/p-1974d5b2.system.js +0 -4
- package/dist/ionic/p-1a81ac09.system.js +0 -4
- package/dist/ionic/p-1b6232eb.system.entry.js +0 -4
- package/dist/ionic/p-1b9c59ab.js +0 -4
- package/dist/ionic/p-1cb02e44.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-21891ead.js +0 -4
- package/dist/ionic/p-2233344a.system.js +0 -4
- package/dist/ionic/p-228e2522.entry.js +0 -4
- package/dist/ionic/p-2469240b.entry.js +0 -4
- package/dist/ionic/p-24a6c8a3.system.entry.js +0 -4
- package/dist/ionic/p-257fb777.entry.js +0 -4
- package/dist/ionic/p-25b10f81.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2bb55ebc.js +0 -4
- package/dist/ionic/p-2bff0e69.system.entry.js +0 -4
- package/dist/ionic/p-31dc303d.entry.js +0 -4
- package/dist/ionic/p-33503ae0.system.entry.js +0 -4
- package/dist/ionic/p-3535d6b5.entry.js +0 -4
- package/dist/ionic/p-35cdfd77.system.entry.js +0 -4
- package/dist/ionic/p-393ffcc2.entry.js +0 -4
- package/dist/ionic/p-39fa7dd1.system.entry.js +0 -4
- package/dist/ionic/p-42f08b26.system.entry.js +0 -4
- package/dist/ionic/p-481e0885.entry.js +0 -4
- package/dist/ionic/p-4a5be299.system.entry.js +0 -4
- package/dist/ionic/p-4c667fce.js +0 -4
- package/dist/ionic/p-4cf4172e.entry.js +0 -4
- package/dist/ionic/p-4da92dac.entry.js +0 -4
- package/dist/ionic/p-4ec0e961.system.entry.js +0 -4
- package/dist/ionic/p-4ed5db19.system.js +0 -4
- package/dist/ionic/p-4f86aa6d.entry.js +0 -4
- package/dist/ionic/p-50cb2e8b.system.entry.js +0 -4
- package/dist/ionic/p-57957c0f.entry.js +0 -4
- package/dist/ionic/p-57e55ecb.system.js +0 -4
- package/dist/ionic/p-5b67b447.js +0 -4
- package/dist/ionic/p-5c9feddc.system.entry.js +0 -4
- package/dist/ionic/p-5edf78c5.system.entry.js +0 -4
- package/dist/ionic/p-6201c4ba.entry.js +0 -4
- package/dist/ionic/p-625248d0.system.js +0 -4
- package/dist/ionic/p-663413be.system.js +0 -4
- package/dist/ionic/p-6636a436.js +0 -4
- package/dist/ionic/p-66df5468.system.entry.js +0 -4
- package/dist/ionic/p-67077d48.entry.js +0 -4
- package/dist/ionic/p-6835ebdd.system.entry.js +0 -4
- package/dist/ionic/p-6a03fc0f.entry.js +0 -4
- package/dist/ionic/p-6b8530f5.system.entry.js +0 -4
- package/dist/ionic/p-6c474e87.entry.js +0 -4
- package/dist/ionic/p-6dd86ff5.system.entry.js +0 -4
- package/dist/ionic/p-6ec0c94a.entry.js +0 -4
- package/dist/ionic/p-6f832afe.system.entry.js +0 -4
- package/dist/ionic/p-70044cb8.entry.js +0 -4
- package/dist/ionic/p-712c0131.entry.js +0 -4
- package/dist/ionic/p-721f43f9.entry.js +0 -4
- package/dist/ionic/p-72b3050b.system.entry.js +0 -4
- package/dist/ionic/p-7445a2e5.system.js +0 -4
- package/dist/ionic/p-7611ede3.system.entry.js +0 -4
- package/dist/ionic/p-781e2dbb.system.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b8c12c3.entry.js +0 -4
- package/dist/ionic/p-7c5c7ae1.system.entry.js +0 -4
- package/dist/ionic/p-7e3e6ed2.entry.js +0 -4
- package/dist/ionic/p-7ffedf77.system.entry.js +0 -4
- package/dist/ionic/p-809483ac.js +0 -4
- package/dist/ionic/p-81904a80.entry.js +0 -4
- package/dist/ionic/p-8450f761.entry.js +0 -4
- package/dist/ionic/p-8460d95a.entry.js +0 -4
- package/dist/ionic/p-85b01465.js +0 -4
- package/dist/ionic/p-865fe95c.entry.js +0 -4
- package/dist/ionic/p-8674af94.entry.js +0 -4
- package/dist/ionic/p-890a4ee2.entry.js +0 -4
- package/dist/ionic/p-891553d8.entry.js +0 -4
- package/dist/ionic/p-8ab2f7a4.system.entry.js +0 -4
- package/dist/ionic/p-8b050e84.system.js +0 -4
- package/dist/ionic/p-8dacf4e2.entry.js +0 -4
- package/dist/ionic/p-94551927.js +0 -4
- package/dist/ionic/p-95001a19.js +0 -4
- package/dist/ionic/p-958fd7e9.system.entry.js +0 -4
- package/dist/ionic/p-98fd942b.system.entry.js +0 -4
- package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
- package/dist/ionic/p-a78d1c24.entry.js +0 -4
- package/dist/ionic/p-a835aca8.entry.js +0 -4
- package/dist/ionic/p-a83e3290.system.js +0 -4
- package/dist/ionic/p-ab7337e1.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-aded71ec.js +0 -4
- package/dist/ionic/p-ae039072.entry.js +0 -4
- package/dist/ionic/p-aebfab05.system.entry.js +0 -4
- package/dist/ionic/p-b22ab9f4.js +0 -4
- package/dist/ionic/p-b2e7eda0.system.entry.js +0 -4
- package/dist/ionic/p-b445ff65.entry.js +0 -4
- package/dist/ionic/p-b4d17da0.system.entry.js +0 -4
- package/dist/ionic/p-b5432d15.entry.js +0 -4
- package/dist/ionic/p-b7b1d91a.js +0 -4
- package/dist/ionic/p-b8050298.system.entry.js +0 -4
- package/dist/ionic/p-b9c793d4.entry.js +0 -4
- package/dist/ionic/p-bad3ea7a.entry.js +0 -4
- package/dist/ionic/p-bce753bd.system.entry.js +0 -4
- package/dist/ionic/p-bf184319.system.entry.js +0 -4
- package/dist/ionic/p-c16443a8.system.js +0 -4
- package/dist/ionic/p-c1b7d311.system.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c5b77054.entry.js +0 -4
- package/dist/ionic/p-c5bfa3e9.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-cec902a0.system.entry.js +0 -4
- package/dist/ionic/p-d16fab3f.entry.js +0 -4
- package/dist/ionic/p-d382f09c.system.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d91f942c.system.entry.js +0 -4
- package/dist/ionic/p-d984c1ab.system.entry.js +0 -4
- package/dist/ionic/p-da6247e5.entry.js +0 -4
- package/dist/ionic/p-dabe3bd4.js +0 -4
- package/dist/ionic/p-df069a0d.entry.js +0 -4
- package/dist/ionic/p-e727e32d.system.entry.js +0 -4
- package/dist/ionic/p-e8245753.entry.js +0 -4
- package/dist/ionic/p-e887b6a9.system.js +0 -4
- package/dist/ionic/p-ed005d9c.js +0 -4
- package/dist/ionic/p-edd2e3c7.entry.js +0 -4
- package/dist/ionic/p-f08a92cc.js +0 -4
- package/dist/ionic/p-f0c9f8e3.system.entry.js +0 -4
- package/dist/ionic/p-f0ef39ab.entry.js +0 -4
- package/dist/ionic/p-f22490a7.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
- package/dist/ionic/p-f725bf9e.system.js +0 -4
- package/dist/ionic/p-f9a87db2.system.entry.js +0 -4
- package/dist/ionic/p-fa3f4b96.system.js +0 -4
- package/dist/ionic/p-fe063952.system.entry.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { c as config, d as printIonError } from './index-cfd9c1f2.js';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* CloseWatcher is a newer API that lets
|
|
9
|
-
* use detect the hardware back button event
|
|
10
|
-
* in a web browser: https://caniuse.com/?search=closewatcher
|
|
11
|
-
* However, not every browser supports it yet.
|
|
12
|
-
*
|
|
13
|
-
* This needs to be a function so that we can
|
|
14
|
-
* check the config once it has been set.
|
|
15
|
-
* Otherwise, this code would be evaluated the
|
|
16
|
-
* moment this file is evaluated which could be
|
|
17
|
-
* before the config is set.
|
|
18
|
-
*/
|
|
19
|
-
const shouldUseCloseWatcher = () => config.get('experimentalCloseWatcher', false) && win !== undefined && 'CloseWatcher' in win;
|
|
20
|
-
/**
|
|
21
|
-
* When hardwareBackButton: false in config,
|
|
22
|
-
* we need to make sure we also block the default
|
|
23
|
-
* webview behavior. If we don't then it will be
|
|
24
|
-
* possible for users to navigate backward while
|
|
25
|
-
* an overlay is still open. Additionally, it will
|
|
26
|
-
* give the appearance that the hardwareBackButton
|
|
27
|
-
* config is not working as the page transition
|
|
28
|
-
* will still happen.
|
|
29
|
-
*/
|
|
30
|
-
const blockHardwareBackButton = () => {
|
|
31
|
-
document.addEventListener('backbutton', () => { }); // eslint-disable-line
|
|
32
|
-
};
|
|
33
|
-
const startHardwareBackButton = () => {
|
|
34
|
-
const doc = document;
|
|
35
|
-
let busy = false;
|
|
36
|
-
const backButtonCallback = () => {
|
|
37
|
-
if (busy) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
let index = 0;
|
|
41
|
-
let handlers = [];
|
|
42
|
-
const ev = new CustomEvent('ionBackButton', {
|
|
43
|
-
bubbles: false,
|
|
44
|
-
detail: {
|
|
45
|
-
register(priority, handler) {
|
|
46
|
-
handlers.push({ priority, handler, id: index++ });
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
doc.dispatchEvent(ev);
|
|
51
|
-
const executeAction = async (handlerRegister) => {
|
|
52
|
-
try {
|
|
53
|
-
if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
|
|
54
|
-
const result = handlerRegister.handler(processHandlers);
|
|
55
|
-
if (result != null) {
|
|
56
|
-
await result;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
catch (e) {
|
|
61
|
-
printIonError('[ion-app] - Exception in startHardwareBackButton:', e);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
const processHandlers = () => {
|
|
65
|
-
if (handlers.length > 0) {
|
|
66
|
-
let selectedHandler = {
|
|
67
|
-
priority: Number.MIN_SAFE_INTEGER,
|
|
68
|
-
handler: () => undefined,
|
|
69
|
-
id: -1,
|
|
70
|
-
};
|
|
71
|
-
handlers.forEach((handler) => {
|
|
72
|
-
if (handler.priority >= selectedHandler.priority) {
|
|
73
|
-
selectedHandler = handler;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
busy = true;
|
|
77
|
-
handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);
|
|
78
|
-
executeAction(selectedHandler).then(() => (busy = false));
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
processHandlers();
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* If the CloseWatcher is defined then
|
|
85
|
-
* we don't want to also listen for the native
|
|
86
|
-
* backbutton event otherwise we may get duplicate
|
|
87
|
-
* events firing.
|
|
88
|
-
*/
|
|
89
|
-
if (shouldUseCloseWatcher()) {
|
|
90
|
-
let watcher;
|
|
91
|
-
const configureWatcher = () => {
|
|
92
|
-
watcher === null || watcher === void 0 ? void 0 : watcher.destroy();
|
|
93
|
-
watcher = new win.CloseWatcher();
|
|
94
|
-
/**
|
|
95
|
-
* Once a close request happens
|
|
96
|
-
* the watcher gets destroyed.
|
|
97
|
-
* As a result, we need to re-configure
|
|
98
|
-
* the watcher so we can respond to other
|
|
99
|
-
* close requests.
|
|
100
|
-
*/
|
|
101
|
-
watcher.onclose = () => {
|
|
102
|
-
backButtonCallback();
|
|
103
|
-
configureWatcher();
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
configureWatcher();
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
doc.addEventListener('backbutton', backButtonCallback);
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
const OVERLAY_BACK_BUTTON_PRIORITY = 100;
|
|
113
|
-
const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
|
|
114
|
-
|
|
115
|
-
export { MENU_BACK_BUTTON_PRIORITY, OVERLAY_BACK_BUTTON_PRIORITY, blockHardwareBackButton, shouldUseCloseWatcher, startHardwareBackButton };
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { q as pointerCoord } from './helpers-d94bc8ad.js';
|
|
6
|
-
import './index-cfd9c1f2.js';
|
|
7
|
-
|
|
8
|
-
const startTapClick = (config) => {
|
|
9
|
-
if (doc === undefined) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
let lastActivated = 0;
|
|
13
|
-
let activatableEle;
|
|
14
|
-
let activeRipple;
|
|
15
|
-
let activeDefer;
|
|
16
|
-
const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);
|
|
17
|
-
const clearDefers = new WeakMap();
|
|
18
|
-
const cancelActive = () => {
|
|
19
|
-
if (activeDefer)
|
|
20
|
-
clearTimeout(activeDefer);
|
|
21
|
-
activeDefer = undefined;
|
|
22
|
-
if (activatableEle) {
|
|
23
|
-
removeActivated(false);
|
|
24
|
-
activatableEle = undefined;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const pointerDown = (ev) => {
|
|
28
|
-
// Ignore right clicks
|
|
29
|
-
if (activatableEle || ev.button === 2) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
setActivatedElement(getActivatableTarget(ev), ev);
|
|
33
|
-
};
|
|
34
|
-
const pointerUp = (ev) => {
|
|
35
|
-
setActivatedElement(undefined, ev);
|
|
36
|
-
};
|
|
37
|
-
const setActivatedElement = (el, ev) => {
|
|
38
|
-
// do nothing
|
|
39
|
-
if (el && el === activatableEle) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
if (activeDefer)
|
|
43
|
-
clearTimeout(activeDefer);
|
|
44
|
-
activeDefer = undefined;
|
|
45
|
-
const { x, y } = pointerCoord(ev);
|
|
46
|
-
// deactivate selected
|
|
47
|
-
if (activatableEle) {
|
|
48
|
-
if (clearDefers.has(activatableEle)) {
|
|
49
|
-
throw new Error('internal error');
|
|
50
|
-
}
|
|
51
|
-
if (!activatableEle.classList.contains(ACTIVATED)) {
|
|
52
|
-
addActivated(activatableEle, x, y);
|
|
53
|
-
}
|
|
54
|
-
removeActivated(true);
|
|
55
|
-
}
|
|
56
|
-
// activate
|
|
57
|
-
if (el) {
|
|
58
|
-
const deferId = clearDefers.get(el);
|
|
59
|
-
if (deferId) {
|
|
60
|
-
clearTimeout(deferId);
|
|
61
|
-
clearDefers.delete(el);
|
|
62
|
-
}
|
|
63
|
-
el.classList.remove(ACTIVATED);
|
|
64
|
-
const callback = () => {
|
|
65
|
-
addActivated(el, x, y);
|
|
66
|
-
activeDefer = undefined;
|
|
67
|
-
};
|
|
68
|
-
if (isInstant(el)) {
|
|
69
|
-
callback();
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
activeDefer = setTimeout(callback, ADD_ACTIVATED_DEFERS);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
activatableEle = el;
|
|
76
|
-
};
|
|
77
|
-
const addActivated = (el, x, y) => {
|
|
78
|
-
lastActivated = Date.now();
|
|
79
|
-
el.classList.add(ACTIVATED);
|
|
80
|
-
if (!useRippleEffect)
|
|
81
|
-
return;
|
|
82
|
-
const rippleEffect = getRippleEffect(el);
|
|
83
|
-
if (rippleEffect !== null) {
|
|
84
|
-
removeRipple();
|
|
85
|
-
activeRipple = rippleEffect.addRipple(x, y);
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
const removeRipple = () => {
|
|
89
|
-
if (activeRipple !== undefined) {
|
|
90
|
-
activeRipple.then((remove) => remove());
|
|
91
|
-
activeRipple = undefined;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
const removeActivated = (smooth) => {
|
|
95
|
-
removeRipple();
|
|
96
|
-
const active = activatableEle;
|
|
97
|
-
if (!active) {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
const time = CLEAR_STATE_DEFERS - Date.now() + lastActivated;
|
|
101
|
-
if (smooth && time > 0 && !isInstant(active)) {
|
|
102
|
-
const deferId = setTimeout(() => {
|
|
103
|
-
active.classList.remove(ACTIVATED);
|
|
104
|
-
clearDefers.delete(active);
|
|
105
|
-
}, CLEAR_STATE_DEFERS);
|
|
106
|
-
clearDefers.set(active, deferId);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
active.classList.remove(ACTIVATED);
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
113
|
-
doc.addEventListener('pointerdown', pointerDown, true);
|
|
114
|
-
doc.addEventListener('pointerup', pointerUp, true);
|
|
115
|
-
/**
|
|
116
|
-
* Tap click effects such as the ripple effect should
|
|
117
|
-
* not happen when scrolling. For example, if a user scrolls
|
|
118
|
-
* the page but also happens to do a touchstart on a button
|
|
119
|
-
* as part of the scroll, the ripple effect should not
|
|
120
|
-
* be dispatched. The ripple effect should only happen
|
|
121
|
-
* if the button is activated and the page is not scrolling.
|
|
122
|
-
*
|
|
123
|
-
* pointercancel is dispatched on a gesture when scrolling
|
|
124
|
-
* starts, so this lets us avoid having to listen for
|
|
125
|
-
* ion-content's scroll events.
|
|
126
|
-
*/
|
|
127
|
-
doc.addEventListener('pointercancel', cancelActive, true);
|
|
128
|
-
};
|
|
129
|
-
// TODO(FW-2832): type
|
|
130
|
-
const getActivatableTarget = (ev) => {
|
|
131
|
-
if (ev.composedPath !== undefined) {
|
|
132
|
-
/**
|
|
133
|
-
* composedPath returns EventTarget[]. However,
|
|
134
|
-
* objects other than Element can be targets too.
|
|
135
|
-
* For example, AudioContext can be a target. In this
|
|
136
|
-
* case, we know that the event is a UIEvent so we
|
|
137
|
-
* can assume that the path will contain either Element
|
|
138
|
-
* or ShadowRoot.
|
|
139
|
-
*/
|
|
140
|
-
const path = ev.composedPath();
|
|
141
|
-
for (let i = 0; i < path.length - 2; i++) {
|
|
142
|
-
const el = path[i];
|
|
143
|
-
if (!(el instanceof ShadowRoot) && el.classList.contains('ion-activatable')) {
|
|
144
|
-
return el;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return ev.target.closest('.ion-activatable');
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
const isInstant = (el) => {
|
|
153
|
-
return el.classList.contains('ion-activatable-instant');
|
|
154
|
-
};
|
|
155
|
-
const getRippleEffect = (el) => {
|
|
156
|
-
if (el.shadowRoot) {
|
|
157
|
-
const ripple = el.shadowRoot.querySelector('ion-ripple-effect');
|
|
158
|
-
if (ripple) {
|
|
159
|
-
return ripple;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
return el.querySelector('ion-ripple-effect');
|
|
163
|
-
};
|
|
164
|
-
const ACTIVATED = 'ion-activated';
|
|
165
|
-
const ADD_ACTIVATED_DEFERS = 100;
|
|
166
|
-
const CLEAR_STATE_DEFERS = 150;
|
|
167
|
-
|
|
168
|
-
export { startTapClick };
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { g as getMode, a as setMode } from './index-527b9e34.js';
|
|
5
|
-
import { c as config, a as configFromSession, b as configFromURL, s as saveConfig, p as printIonWarning } from './index-cfd9c1f2.js';
|
|
6
|
-
|
|
7
|
-
const getPlatforms = (win) => setupPlatforms(win);
|
|
8
|
-
const isPlatform = (winOrPlatform, platform) => {
|
|
9
|
-
if (typeof winOrPlatform === 'string') {
|
|
10
|
-
platform = winOrPlatform;
|
|
11
|
-
winOrPlatform = undefined;
|
|
12
|
-
}
|
|
13
|
-
return getPlatforms(winOrPlatform).includes(platform);
|
|
14
|
-
};
|
|
15
|
-
const setupPlatforms = (win = window) => {
|
|
16
|
-
if (typeof win === 'undefined') {
|
|
17
|
-
return [];
|
|
18
|
-
}
|
|
19
|
-
win.Ionic = win.Ionic || {};
|
|
20
|
-
let platforms = win.Ionic.platforms;
|
|
21
|
-
if (platforms == null) {
|
|
22
|
-
platforms = win.Ionic.platforms = detectPlatforms(win);
|
|
23
|
-
platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
|
|
24
|
-
}
|
|
25
|
-
return platforms;
|
|
26
|
-
};
|
|
27
|
-
const detectPlatforms = (win) => {
|
|
28
|
-
const customPlatformMethods = config.get('platform');
|
|
29
|
-
return Object.keys(PLATFORMS_MAP).filter((p) => {
|
|
30
|
-
const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
|
|
31
|
-
return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
|
|
35
|
-
const isIpad = (win) => {
|
|
36
|
-
// iOS 12 and below
|
|
37
|
-
if (testUserAgent(win, /iPad/i)) {
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
// iOS 13+
|
|
41
|
-
if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
return false;
|
|
45
|
-
};
|
|
46
|
-
const isIphone = (win) => testUserAgent(win, /iPhone/i);
|
|
47
|
-
const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
|
|
48
|
-
const isAndroid = (win) => testUserAgent(win, /android|sink/i);
|
|
49
|
-
const isAndroidTablet = (win) => {
|
|
50
|
-
return isAndroid(win) && !testUserAgent(win, /mobile/i);
|
|
51
|
-
};
|
|
52
|
-
const isPhablet = (win) => {
|
|
53
|
-
const width = win.innerWidth;
|
|
54
|
-
const height = win.innerHeight;
|
|
55
|
-
const smallest = Math.min(width, height);
|
|
56
|
-
const largest = Math.max(width, height);
|
|
57
|
-
return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
|
|
58
|
-
};
|
|
59
|
-
const isTablet = (win) => {
|
|
60
|
-
const width = win.innerWidth;
|
|
61
|
-
const height = win.innerHeight;
|
|
62
|
-
const smallest = Math.min(width, height);
|
|
63
|
-
const largest = Math.max(width, height);
|
|
64
|
-
return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
|
|
65
|
-
};
|
|
66
|
-
const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
|
|
67
|
-
const isDesktop = (win) => !isMobile(win);
|
|
68
|
-
const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
|
|
69
|
-
const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
|
|
70
|
-
const isCapacitorNative = (win) => {
|
|
71
|
-
const capacitor = win['Capacitor'];
|
|
72
|
-
// TODO(ROU-11693): Remove when we no longer support Capacitor 2, which does not have isNativePlatform
|
|
73
|
-
return !!((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative) || ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNativePlatform) && !!capacitor.isNativePlatform()));
|
|
74
|
-
};
|
|
75
|
-
const isElectron = (win) => testUserAgent(win, /electron/i);
|
|
76
|
-
const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
|
|
77
|
-
const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
|
|
78
|
-
const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
|
|
79
|
-
const PLATFORMS_MAP = {
|
|
80
|
-
ipad: isIpad,
|
|
81
|
-
iphone: isIphone,
|
|
82
|
-
ios: isIOS,
|
|
83
|
-
android: isAndroid,
|
|
84
|
-
phablet: isPhablet,
|
|
85
|
-
tablet: isTablet,
|
|
86
|
-
cordova: isCordova,
|
|
87
|
-
capacitor: isCapacitorNative,
|
|
88
|
-
electron: isElectron,
|
|
89
|
-
pwa: isPWA,
|
|
90
|
-
mobile: isMobile,
|
|
91
|
-
mobileweb: isMobileWeb,
|
|
92
|
-
desktop: isDesktop,
|
|
93
|
-
hybrid: isHybrid,
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
// TODO(FW-2832): types
|
|
97
|
-
let defaultMode;
|
|
98
|
-
const getIonMode = (ref) => {
|
|
99
|
-
return (ref && getMode(ref)) || defaultMode;
|
|
100
|
-
};
|
|
101
|
-
const initialize = (userConfig = {}) => {
|
|
102
|
-
if (typeof window === 'undefined') {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
const doc = window.document;
|
|
106
|
-
const win = window;
|
|
107
|
-
const Ionic = (win.Ionic = win.Ionic || {});
|
|
108
|
-
// create the Ionic.config from raw config object (if it exists)
|
|
109
|
-
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
110
|
-
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
|
|
111
|
-
config.reset(configObj);
|
|
112
|
-
if (config.getBoolean('persistConfig')) {
|
|
113
|
-
saveConfig(win, configObj);
|
|
114
|
-
}
|
|
115
|
-
// Setup platforms
|
|
116
|
-
setupPlatforms(win);
|
|
117
|
-
// first see if the mode was set as an attribute on <html>
|
|
118
|
-
// which could have been set by the user, or by pre-rendering
|
|
119
|
-
// otherwise get the mode via config settings, and fallback to md
|
|
120
|
-
Ionic.config = config;
|
|
121
|
-
Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
|
|
122
|
-
config.set('mode', defaultMode);
|
|
123
|
-
doc.documentElement.setAttribute('mode', defaultMode);
|
|
124
|
-
doc.documentElement.classList.add(defaultMode);
|
|
125
|
-
if (config.getBoolean('_testing')) {
|
|
126
|
-
config.set('animated', false);
|
|
127
|
-
}
|
|
128
|
-
const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
|
|
129
|
-
const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
|
|
130
|
-
setMode((elm) => {
|
|
131
|
-
while (elm) {
|
|
132
|
-
const elmMode = elm.mode || elm.getAttribute('mode');
|
|
133
|
-
if (elmMode) {
|
|
134
|
-
if (isAllowedIonicModeValue(elmMode)) {
|
|
135
|
-
return elmMode;
|
|
136
|
-
}
|
|
137
|
-
else if (isIonicElement(elm)) {
|
|
138
|
-
printIonWarning('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
elm = elm.parentElement;
|
|
142
|
-
}
|
|
143
|
-
return defaultMode;
|
|
144
|
-
});
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
export { isPlatform as a, getIonMode as b, getPlatforms as g, initialize as i };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{d as printIonError}from"./index-cfd9c1f2.js";import{w as win}from"./index-a5d50daf.js";var animationPrefix;var getAnimationPrefix=function(r){if(animationPrefix===undefined){var n=r.style.animationName!==undefined;var e=r.style.webkitAnimationName!==undefined;animationPrefix=!n&&e?"-webkit-":""}return animationPrefix};var setStyleProperty=function(r,n,e){var i=n.startsWith("animation")?getAnimationPrefix(r):"";r.style.setProperty(i+n,e)};var addClassToArray=function(r,n){if(r===void 0){r=[]}if(n!==undefined){var e=Array.isArray(n)?n:[n];return __spreadArray(__spreadArray([],r,true),e,true)}return r};var createAnimation=function(r){var n;var e;var i;var t;var a;var f;var u=[];var o=[];var v=[];var d=false;var c;var s={};var l=[];var m=[];var y={};var p=0;var A=false;var g=false;var C;var b;var _;var P=true;var E=false;var S=true;var x;var T=false;var w=r;var h=[];var k=[];var R=[];var I=[];var D=[];var F=[];var W=[];var j=[];var K=[];var M=[];var q=[];var z=typeof AnimationEffect==="function"||win!==undefined&&typeof win.AnimationEffect==="function";var B=typeof Element==="function"&&typeof Element.prototype.animate==="function"&&z;var G=function(){return q};var H=function(r){D.forEach((function(n){n.destroy(r)}));J(r);I.length=0;D.length=0;u.length=0;V();d=false;S=true;return x};var J=function(r){X();if(r){Y()}};var L=function(){A=false;g=false;S=true;C=undefined;b=undefined;_=undefined;p=0;E=false;P=true;T=false};var N=function(){return p!==0&&!T};var O=function(r,n){var e=n.findIndex((function(n){return n.c===r}));if(e>-1){n.splice(e,1)}};var Q=function(r,n){R.push({c:r,o:n});return x};var U=function(r,n){var e=(n===null||n===void 0?void 0:n.oneTimeCallback)?k:h;e.push({c:r,o:n});return x};var V=function(){h.length=0;k.length=0;return x};var X=function(){if(B){q.forEach((function(r){r.cancel()}));q.length=0}};var Y=function(){F.forEach((function(r){if(r===null||r===void 0?void 0:r.parentNode){r.parentNode.removeChild(r)}}));F.length=0};var Z=function(r){W.push(r);return x};var $=function(r){j.push(r);return x};var rr=function(r){K.push(r);return x};var nr=function(r){M.push(r);return x};var er=function(r){o=addClassToArray(o,r);return x};var ir=function(r){v=addClassToArray(v,r);return x};var tr=function(r){if(r===void 0){r={}}s=r;return x};var ar=function(r){if(r===void 0){r=[]}for(var n=0,e=r;n<e.length;n++){var i=e[n];s[i]=""}return x};var fr=function(r){l=addClassToArray(l,r);return x};var ur=function(r){m=addClassToArray(m,r);return x};var or=function(r){if(r===void 0){r={}}y=r;return x};var vr=function(r){if(r===void 0){r=[]}for(var n=0,e=r;n<e.length;n++){var i=e[n];y[i]=""}return x};var dr=function(){if(a!==undefined){return a}if(c){return c.getFill()}return"both"};var cr=function(){if(C!==undefined){return C}if(f!==undefined){return f}if(c){return c.getDirection()}return"normal"};var sr=function(){if(A){return"linear"}if(i!==undefined){return i}if(c){return c.getEasing()}return"linear"};var lr=function(){if(g){return 0}if(b!==undefined){return b}if(e!==undefined){return e}if(c){return c.getDuration()}return 0};var mr=function(){if(t!==undefined){return t}if(c){return c.getIterations()}return 1};var yr=function(){if(_!==undefined){return _}if(n!==undefined){return n}if(c){return c.getDelay()}return 0};var pr=function(){return u};var Ar=function(r){f=r;jr(true);return x};var gr=function(r){a=r;jr(true);return x};var Cr=function(r){n=r;jr(true);return x};var br=function(r){i=r;jr(true);return x};var _r=function(r){if(!B&&r===0){r=1}e=r;jr(true);return x};var Pr=function(r){t=r;jr(true);return x};var Er=function(r){c=r;return x};var Sr=function(r){if(r!=null){if(r.nodeType===1){I.push(r)}else if(r.length>=0){for(var n=0;n<r.length;n++){I.push(r[n])}}else{printIonError("createAnimation - Invalid addElement value.")}}return x};var xr=function(r){if(r!=null){if(Array.isArray(r)){for(var n=0,e=r;n<e.length;n++){var i=e[n];i.parent(x);D.push(i)}}else{r.parent(x);D.push(r)}}return x};var Tr=function(r){var n=u!==r;u=r;if(n){wr(u)}return x};var wr=function(r){if(B){G().forEach((function(n){var e=n.effect;if(e.setKeyframes){e.setKeyframes(r)}else{var i=new KeyframeEffect(e.target,r,e.getTiming());n.effect=i}}))}};var hr=function(){W.forEach((function(r){return r()}));j.forEach((function(r){return r()}));var r=o;var n=v;var e=s;I.forEach((function(i){var t=i.classList;r.forEach((function(r){return t.add(r)}));n.forEach((function(r){return t.remove(r)}));for(var a in e){if(e.hasOwnProperty(a)){setStyleProperty(i,a,e[a])}}}))};var kr=function(){K.forEach((function(r){return r()}));M.forEach((function(r){return r()}));var r=P?1:0;var n=l;var e=m;var i=y;I.forEach((function(r){var t=r.classList;n.forEach((function(r){return t.add(r)}));e.forEach((function(r){return t.remove(r)}));for(var a in i){if(i.hasOwnProperty(a)){setStyleProperty(r,a,i[a])}}}));b=undefined;C=undefined;_=undefined;h.forEach((function(n){return n.c(r,x)}));k.forEach((function(n){return n.c(r,x)}));k.length=0;S=true;if(P){E=true}P=true};var Rr=function(){if(p===0){return}p--;if(p===0){kr();if(c){c.animationFinish()}}};var Ir=function(){I.forEach((function(r){var n=r.animate(u,{id:w,delay:yr(),duration:lr(),easing:sr(),iterations:mr(),fill:dr(),direction:cr()});n.pause();q.push(n)}));if(q.length>0){q[0].onfinish=function(){Rr()}}};var Dr=function(){hr();if(u.length>0){if(B){Ir()}}d=true};var Fr=function(r){r=Math.min(Math.max(r,0),.9999);if(B){q.forEach((function(n){n.currentTime=n.effect.getComputedTiming().delay+lr()*r;n.pause()}))}};var Wr=function(r){q.forEach((function(r){r.effect.updateTiming({delay:yr(),duration:lr(),easing:sr(),iterations:mr(),fill:dr(),direction:cr()})}));if(r!==undefined){Fr(r)}};var jr=function(r,n,e){if(r===void 0){r=false}if(n===void 0){n=true}if(r){D.forEach((function(i){i.update(r,n,e)}))}if(B){Wr(e)}return x};var Kr=function(r,n){if(r===void 0){r=false}D.forEach((function(e){e.progressStart(r,n)}));zr();A=r;if(!d){Dr()}jr(false,true,n);return x};var Mr=function(r){D.forEach((function(n){n.progressStep(r)}));Fr(r);return x};var qr=function(r,n,e){A=false;D.forEach((function(i){i.progressEnd(r,n,e)}));if(e!==undefined){b=e}E=false;P=true;if(r===0){C=cr()==="reverse"?"normal":"reverse";if(C==="reverse"){P=false}if(B){jr();Fr(1-n)}else{_=(1-n)*lr()*-1;jr(false,false)}}else if(r===1){if(B){jr();Fr(n)}else{_=n*lr()*-1;jr(false,false)}}if(r!==undefined&&!c){Lr()}return x};var zr=function(){if(d){if(B){q.forEach((function(r){r.pause()}))}else{I.forEach((function(r){setStyleProperty(r,"animation-play-state","paused")}))}T=true}};var Br=function(){D.forEach((function(r){r.pause()}));zr();return x};var Gr=function(){Rr()};var Hr=function(){q.forEach((function(r){r.play()}));if(u.length===0||I.length===0){Rr()}};var Jr=function(){if(B){Fr(0);Wr()}};var Lr=function(r){return new Promise((function(n){if(r===null||r===void 0?void 0:r.sync){g=true;U((function(){return g=false}),{oneTimeCallback:true})}if(!d){Dr()}if(E){Jr();E=false}if(S){p=D.length+1;S=false}var e=function(){O(i,k);n()};var i=function(){O(e,R);n()};U(i,{oneTimeCallback:true});Q(e,{oneTimeCallback:true});D.forEach((function(r){r.play()}));if(B){Hr()}else{Gr()}T=false}))};var Nr=function(){D.forEach((function(r){r.stop()}));if(d){X();d=false}L();R.forEach((function(r){return r.c(0,x)}));R.length=0};var Or=function(r,n){var e;var i=u[0];if(i!==undefined&&(i.offset===undefined||i.offset===0)){i[r]=n}else{u=__spreadArray([(e={offset:0},e[r]=n,e)],u,true)}return x};var Qr=function(r,n){var e;var i=u[u.length-1];if(i!==undefined&&(i.offset===undefined||i.offset===1)){i[r]=n}else{u=__spreadArray(__spreadArray([],u,true),[(e={offset:1},e[r]=n,e)],false)}return x};var Ur=function(r,n,e){return Or(r,n).to(r,e)};return x={parentAnimation:c,elements:I,childAnimations:D,id:w,animationFinish:Rr,from:Or,to:Qr,fromTo:Ur,parent:Er,play:Lr,pause:Br,stop:Nr,destroy:H,keyframes:Tr,addAnimation:xr,addElement:Sr,update:jr,fill:gr,direction:Ar,iterations:Pr,duration:_r,easing:br,delay:Cr,getWebAnimations:G,getKeyframes:pr,getFill:dr,getDirection:cr,getDelay:yr,getIterations:mr,getEasing:sr,getDuration:lr,afterAddRead:rr,afterAddWrite:nr,afterClearStyles:vr,afterStyles:or,afterRemoveClass:ur,afterAddClass:fr,beforeAddRead:Z,beforeAddWrite:$,beforeClearStyles:ar,beforeStyles:tr,beforeRemoveClass:ir,beforeAddClass:er,onFinish:U,isRunning:N,progressStart:Kr,progressStep:Mr,progressEnd:qr}};export{createAnimation as c};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{d as printIonError}from"./index-cfd9c1f2.js";var sanitizeDOMString=function(r){try{if(r instanceof IonicSafeString){return r.value}if(!isSanitizerEnabled()||typeof r!=="string"||r===""){return r}if(r.includes("onload=")){return""}var e=document.createDocumentFragment();var n=document.createElement("div");e.appendChild(n);n.innerHTML=r;blockedTags.forEach((function(r){var n=e.querySelectorAll(r);for(var t=n.length-1;t>=0;t--){var i=n[t];if(i.parentNode){i.parentNode.removeChild(i)}else{e.removeChild(i)}var a=getElementChildren(i);for(var o=0;o<a.length;o++){sanitizeElement(a[o])}}}));var t=getElementChildren(e);for(var i=0;i<t.length;i++){sanitizeElement(t[i])}var a=document.createElement("div");a.appendChild(e);var o=a.querySelector("div");return o!==null?o.innerHTML:a.innerHTML}catch(r){printIonError("sanitizeDOMString",r);return""}};var sanitizeElement=function(r){if(r.nodeType&&r.nodeType!==1){return}if(typeof NamedNodeMap!=="undefined"&&!(r.attributes instanceof NamedNodeMap)){r.remove();return}for(var e=r.attributes.length-1;e>=0;e--){var n=r.attributes.item(e);var t=n.name;if(!allowedAttributes.includes(t.toLowerCase())){r.removeAttribute(t);continue}var i=n.value;var a=r[t];if(i!=null&&i.toLowerCase().includes("javascript:")||a!=null&&a.toLowerCase().includes("javascript:")){r.removeAttribute(t)}}var o=getElementChildren(r);for(var e=0;e<o.length;e++){sanitizeElement(o[e])}};var getElementChildren=function(r){return r.children!=null?r.children:r.childNodes};var isSanitizerEnabled=function(){var r;var e=window;var n=(r=e===null||e===void 0?void 0:e.Ionic)===null||r===void 0?void 0:r.config;if(n){if(n.get){return n.get("sanitizerEnabled",true)}else{return n.sanitizerEnabled===true||n.sanitizerEnabled===undefined}}return true};var allowedAttributes=["class","id","href","src","name","slot"];var blockedTags=["script","style","iframe","meta","link","object","embed"];var IonicSafeString=function(){function r(r){this.value=r}return r}();var setupConfig=function(r){var e=window;var n=e.Ionic;if(n&&n.config&&n.config.constructor.name!=="Object"){return}e.Ionic=e.Ionic||{};e.Ionic.config=Object.assign(Object.assign({},e.Ionic.config),r);return e.Ionic.config};var getMode=function(){var r;var e=window;var n=(r=e===null||e===void 0?void 0:e.Ionic)===null||r===void 0?void 0:r.config;if(n){if(n.mode){return n.mode}else{return n.get("mode")}}return"md"};var ENABLE_HTML_CONTENT_DEFAULT=false;export{ENABLE_HTML_CONTENT_DEFAULT as E,IonicSafeString as I,sanitizeDOMString as a,getMode as g,setupConfig as s};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{p as printIonWarning}from"./index-cfd9c1f2.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,n){var a=Array.isArray(e)?e:[e];for(var t=0,i=a;t<i.length;t++){var u=i[t];if(r!==undefined&&isBefore(u,r)||n!==undefined&&isAfter(u,n)){printIonWarning("[ion-datetime] - The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(n),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var n=new Intl.DateTimeFormat(e,{hour:"numeric"});var a=n.resolvedOptions();if(a.hourCycle!==undefined){return a.hourCycle}var t=new Date("5/18/2021 00:00");var i=n.formatToParts(t);var u=i.find((function(e){return e.type==="hour"}));if(!u){throw new Error("Hour value not found from DateTimeFormat")}switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var n=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return n[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var n;if(Array.isArray(r)){n=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{n=[r]}return n};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var n=0,a=e;n<a.length;n++){var t=a[n];var i=parseDate(t);if(!i){return undefined}r.push(i)}return r}var u=null;if(e!=null&&e!==""){u=TIME_REGEXP.exec(e);if(u){u.unshift(undefined,undefined);u[2]=u[3]=undefined}else{u=ISO_8601_REGEXP.exec(e)}}if(u===null){printIonWarning("[ion-datetime] - Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var o=1;o<8;o++){u[o]=u[o]!==undefined?parseInt(u[o],10):undefined}return{year:u[1],month:u[2],day:u[3],hour:u[4],minute:u[5],ampm:u[4]<12?"am":"pm"}}var clampDate=function(e,r,n){if(r&&isBefore(e,r)){return r}else if(n&&isAfter(e,n)){return n}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;var d=i!==null&&i!==void 0?i:r.year;var f=a!==null&&a!==void 0?a:12;return{month:f,day:t!==null&&t!==void 0?t:getNumDaysInMonth(f,d),year:d,hour:u!==null&&u!==void 0?u:23,minute:o!==null&&o!==void 0?o:59}};var parseMinParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;return{month:a!==null&&a!==void 0?a:1,day:t!==null&&t!==void 0?t:1,year:i!==null&&i!==void 0?i:r.year,hour:u!==null&&u!==void 0?u:0,minute:o!==null&&o!==void 0?o:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};i.day=a-r;if(i.day<1){i.month-=1}if(i.month<1){i.month=12;i.year-=1}if(i.day<1){var u=getNumDaysInMonth(i.month,i.year);i.day=u+i.day}return i};var addDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};var u=getNumDaysInMonth(n,t);i.day=a+r;if(i.day>u){i.day-=u;i.month+=1}if(i.month>12){i.month=1;i.year+=1}return i};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var n=e.month===1?e.year-1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var n=e.month===12?e.year+1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var changeYear=function(e,r){var n=e.month;var a=e.year+r;var t=getNumDaysInMonth(n,a);var i=t<e.day?t:e.day;return{month:n,year:a,day:i}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,n){if(r){return e}return convert12HourTo24Hour(e,n)};var calculateHourFromAMPM=function(e,r){var n=e.ampm,a=e.hour;var t=a;if(n==="am"&&r==="pm"){t=convert12HourTo24Hour(t,"pm")}else if(n==="pm"&&r==="am"){t=Math.abs(t-12)}return t};var validateParts=function(e,r,n){var a=e.month,t=e.day,i=e.year;var u=clampDate(Object.assign({},e),r,n);var o=getNumDaysInMonth(a,i);if(t!==null&&o<t){u.day=o}if(r!==undefined&&isSameDay(u,r)){if(u.hour!==undefined&&r.hour!==undefined){if(u.hour<r.hour){u.hour=r.hour;u.minute=r.minute}else if(u.hour===r.hour&&u.minute!==undefined&&r.minute!==undefined&&u.minute<r.minute){u.minute=r.minute}}}if(n!==undefined&&isSameDay(e,n)){if(u.hour!==undefined&&n.hour!==undefined){if(u.hour>n.hour){u.hour=n.hour;u.minute=n.minute}else if(u.hour===n.hour&&u.minute!==undefined&&n.minute!==undefined&&u.minute>n.minute){u.minute=n.minute}}}return u};var getClosestValidDate=function(e){var r=e.refParts,n=e.monthValues,a=e.dayValues,t=e.yearValues,i=e.hourValues,u=e.minuteValues,o=e.minParts,d=e.maxParts;var f=r.hour,v=r.minute,s=r.day,l=r.month,c=r.year;var m=Object.assign(Object.assign({},r),{dayOfWeek:undefined});if(t!==undefined){var y=t.filter((function(e){if(o!==undefined&&e<o.year){return false}if(d!==undefined&&e>d.year){return false}return true}));m.year=findClosestValue(c,y)}if(n!==undefined){var g=n.filter((function(e){if(o!==undefined&&m.year===o.year&&e<o.month){return false}if(d!==undefined&&m.year===d.year&&e>d.month){return false}return true}));m.month=findClosestValue(l,g)}if(s!==null&&a!==undefined){var D=a.filter((function(e){if(o!==undefined&&isBefore(Object.assign(Object.assign({},m),{day:e}),o)){return false}if(d!==undefined&&isAfter(Object.assign(Object.assign({},m),{day:e}),d)){return false}return true}));m.day=findClosestValue(s,D)}if(f!==undefined&&i!==undefined){var h=i.filter((function(e){if((o===null||o===void 0?void 0:o.hour)!==undefined&&isSameDay(m,o)&&e<o.hour){return false}if((d===null||d===void 0?void 0:d.hour)!==undefined&&isSameDay(m,d)&&e>d.hour){return false}return true}));m.hour=findClosestValue(f,h);m.ampm=parseAmPm(m.hour)}if(v!==undefined&&u!==undefined){var T=u.filter((function(e){if((o===null||o===void 0?void 0:o.minute)!==undefined&&isSameDay(m,o)&&m.hour===o.hour&&e<o.minute){return false}if((d===null||d===void 0?void 0:d.minute)!==undefined&&isSameDay(m,d)&&m.hour===d.hour&&e>d.minute){return false}return true}));m.minute=findClosestValue(v,T)}return m};var findClosestValue=function(e,r){var n=r[0];var a=Math.abs(n-e);for(var t=1;t<r.length;t++){var i=r[t];var u=Math.abs(i-e);if(u<a){n=i;a=u}}return n};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var stripTimeZone=function(e){return Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:undefined})};var getLocalizedTime=function(e,r,n,a){if(a===void 0){a={hour:"numeric",minute:"numeric"}}var t={hour:r.hour,minute:r.minute};if(t.hour===undefined||t.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},stripTimeZone(a)),{hourCycle:n})).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},t))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var n=is24Hour(r);if(n){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,n){if(n.day===null){return null}var a=getNormalizedDate(n);var t=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(a);return r?"Today, ".concat(t):t};var getMonthAndYear=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,n,a;var t=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((n=e.day)!==null&&n!==void 0?n:1,"/").concat((a=e.year)!==null&&a!==void 0?a:2023).concat(t," GMT+0000"))};var getLocalizedDateTime=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,stripTimeZone(n)).format(a)};var getLocalizedDateTimeParts=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).formatToParts(a)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var n=r==="am"?DATE_AM:DATE_PM;var a=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((function(e){return e.type==="dayPeriod"}));if(a){return a.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var hour23=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23];var hour24=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0];var getDaysOfWeek=function(e,r,n){if(n===void 0){n=0}var a=r==="ios"?"short":"narrow";var t=new Intl.DateTimeFormat(e,{weekday:a});var i=new Date("11/01/2020");var u=[];for(var o=n;o<n+7;o++){var d=new Date(i);d.setDate(d.getDate()+o);u.push(t.format(d))}return u};var getDaysOfMonth=function(e,r,n){var a=getNumDaysInMonth(e,r);var t=new Date("".concat(e,"/1/").concat(r)).getDay();var i=t>=n?t-(n+1):6-(n-t);var u=[];for(var o=1;o<=a;o++){u.push({day:o,dayOfWeek:(i+o)%7})}for(var o=0;o<=i;o++){u=__spreadArray([{day:null,dayOfWeek:null}],u,true)}return u};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,n,a,t,i,u){if(n===void 0){n="h12"}var o=getHourCycle(e,n);var d=is24Hour(o);var f=getHourData(o);var v=minutes;var s=true;var l=true;if(i){f=f.filter((function(e){return i.includes(e)}))}if(u){v=v.filter((function(e){return u.includes(e)}))}if(a){if(isSameDay(r,a)){if(a.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)>=a.hour}));s=a.hour<13}if(a.minute!==undefined){var c=false;if(a.hour!==undefined&&r.hour!==undefined){if(r.hour>a.hour){c=true}}v=v.filter((function(e){if(c){return true}return e>=a.minute}))}}else if(isBefore(r,a)){f=[];v=[];s=l=false}}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)<=t.hour}));l=t.hour>=12}if(t.minute!==undefined&&r.hour===t.hour){v=v.filter((function(e){return e<=t.minute}))}}else if(isAfter(r,t)){f=[];v=[];s=l=false}}return{hours:f,minutes:v,am:s,pm:l}};var generateMonths=function(e,r){var n={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var a={month:r.month,year:r.year,day:r.day};var t=isBefore(a,n);return t?[a,n,getNextMonth(e)]:[getPreviousMonth(e),n,a]}return[getPreviousMonth(e),n,getNextMonth(e)]};var getMonthColumnData=function(e,r,n,a,t,i){if(i===void 0){i={month:"long"}}var u=r.year;var o=[];if(t!==undefined){var d=t;if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e<=a.month}))}if((n===null||n===void 0?void 0:n.month)!==undefined){d=d.filter((function(e){return e>=n.month}))}d.forEach((function(r){var n=new Date("".concat(r,"/1/").concat(u," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);o.push({text:a,value:r})}))}else{var f=a&&a.year===u?a.month:12;var v=n&&n.year===u?n.month:1;for(var s=v;s<=f;s++){var l=new Date("".concat(s,"/1/").concat(u," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);o.push({text:c,value:s})}}return o};var getDayColumnData=function(e,r,n,a,t,i){if(i===void 0){i={day:"numeric"}}var u=r.month,o=r.year;var d=[];var f=getNumDaysInMonth(u,o);var v=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===o&&a.month===u?a.day:f;var s=(n===null||n===void 0?void 0:n.day)!==null&&(n===null||n===void 0?void 0:n.day)!==undefined&&n.year===o&&n.month===u?n.day:1;if(t!==undefined){var l=t;l=l.filter((function(e){return e>=s&&e<=v}));l.forEach((function(r){var n=new Date("".concat(u,"/").concat(r,"/").concat(o," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);d.push({text:a,value:r})}))}else{for(var c=s;c<=v;c++){var m=new Date("".concat(u,"/").concat(c,"/").concat(o," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(m);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,n,a,t){var i,u;var o=[];if(t!==undefined){o=t;if((a===null||a===void 0?void 0:a.year)!==undefined){o=o.filter((function(e){return e<=a.year}))}if((n===null||n===void 0?void 0:n.year)!==undefined){o=o.filter((function(e){return e>=n.year}))}}else{var d=r.year;var f=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d;var v=(u=n===null||n===void 0?void 0:n.year)!==null&&u!==void 0?u:d-100;for(var s=v;s<=f;s++){o.push(s)}}return o.map((function(n){return{text:getYear(e,{year:n,month:r.month,day:r.day}),value:n}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,n,a,t,i){var u=[];var o=[];var d=getAllMonthsInRange(n,a);if(i){d=d.filter((function(e){var r=e.month;return i.includes(r)}))}d.forEach((function(i){var d={month:i.month,day:null,year:i.year};var f=getDayColumnData(e,d,n,a,t,{month:"short",day:"numeric",weekday:"short"});var v=[];var s=[];f.forEach((function(n){var a=isSameDay(Object.assign(Object.assign({},d),{day:n.value}),r);s.push({text:a?getTodayLabel(e):n.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(n.value)});v.push({month:d.month,year:d.year,day:n.value})}));o=__spreadArray(__spreadArray([],o,true),v,true);u=__spreadArray(__spreadArray([],u,true),s,true)}));return{parts:o,items:u}};var getTimeColumnsData=function(e,r,n,a,t,i,u){var o=getHourCycle(e,n);var d=is24Hour(o);var f=generateTime(e,r,o,a,t,i,u),v=f.hours,s=f.minutes,l=f.am,c=f.pm;var m=v.map((function(e){return{text:getFormattedHour(e,o),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var g=[];if(l&&!d){g.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){g.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:m,dayPeriodData:g}};export{getNumDaysInMonth as A,getCombinedDateColumnData as B,getMonthColumnData as C,getDayColumnData as D,getYearColumnData as E,isMonthFirstLocale as F,getTimeColumnsData as G,isLocaleDayPeriodRTL as H,getDaysOfWeek as I,getMonthAndYear as J,getDaysOfMonth as K,getHourCycle as L,getLocalizedTime as M,getLocalizedDateTime as N,formatValue as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getNextYear as h,isBefore as i,getPreviousYear as j,getEndOfWeek as k,getStartOfWeek as l,getPreviousDay as m,getNextDay as n,getPreviousWeek as o,getNextWeek as p,parseMinParts as q,parseMaxParts as r,parseDate as s,convertToArrayOfNumbers as t,convertDataToISO as u,validateParts as v,warnIfValueOutOfBounds as w,getToday as x,getClosestValidDate as y,generateMonths as z};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
var ION_FOCUSED="ion-focused";var ION_FOCUSABLE="ion-focusable";var FOCUS_KEYS=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"];var startFocusVisible=function(r){var o=[];var n=true;var t=r?r.shadowRoot:document;var u=r?r:document.body;var e=function(r){o.forEach((function(r){return r.classList.remove(ION_FOCUSED)}));r.forEach((function(r){return r.classList.add(ION_FOCUSED)}));o=r};var a=function(){n=false;e([])};var i=function(r){n=FOCUS_KEYS.includes(r.key);if(!n){e([])}};var c=function(r){if(n&&r.composedPath!==undefined){var o=r.composedPath().filter((function(r){if(r.classList){return r.classList.contains(ION_FOCUSABLE)}return false}));e(o)}};var f=function(){if(t.activeElement===u){e([])}};t.addEventListener("keydown",i);t.addEventListener("focusin",c);t.addEventListener("focusout",f);t.addEventListener("touchstart",a,{passive:true});t.addEventListener("mousedown",a);var s=function(){t.removeEventListener("keydown",i);t.removeEventListener("focusin",c);t.removeEventListener("focusout",f);t.removeEventListener("touchstart",a);t.removeEventListener("mousedown",a)};return{destroy:s,setFocus:e}};export{startFocusVisible};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-d94bc8ad.js";var attachComponent=function(e,r,n,t,o,i){return __awaiter(void 0,void 0,void 0,(function(){var a,u;return __generator(this,(function(c){switch(c.label){case 0:if(e){return[2,e.attachViewToDom(r,n,o,t)]}if(!i&&typeof n!=="string"&&!(n instanceof HTMLElement)){throw new Error("framework delegate is missing")}u=typeof n==="string"?(a=r.ownerDocument)===null||a===void 0?void 0:a.createElement(n):n;if(t){t.forEach((function(e){return u.classList.add(e)}))}if(o){Object.assign(u,o)}r.appendChild(u);return[4,new Promise((function(e){return componentOnReady(u,e)}))];case 1:c.sent();return[2,u]}}))}))};var detachComponent=function(e,r){if(r){if(e){var n=r.parentElement;return e.removeViewFromDom(n,r)}r.remove()}return Promise.resolve()};var CoreDelegate=function(){var e;var r;var n=function(n,t){var o=[];for(var i=2;i<arguments.length;i++){o[i-2]=arguments[i]}return __awaiter(void 0,__spreadArray([n,t],o,true),void 0,(function(n,t,o,i){var a,u,c,f,s,d,v;if(o===void 0){o={}}if(i===void 0){i=[]}return __generator(this,(function(m){switch(m.label){case 0:e=n;if(!t)return[3,2];f=typeof t==="string"?(a=e.ownerDocument)===null||a===void 0?void 0:a.createElement(t):t;i.forEach((function(e){return f.classList.add(e)}));Object.assign(f,o);e.appendChild(f);c=f;return[4,new Promise((function(e){return componentOnReady(f,e)}))];case 1:m.sent();return[3,3];case 2:if(e.children.length>0&&(e.tagName==="ION-MODAL"||e.tagName==="ION-POPOVER")){s=c=e.children[0];if(!s.classList.contains("ion-delegate-host")){d=(u=e.ownerDocument)===null||u===void 0?void 0:u.createElement("div");d.classList.add("ion-delegate-host");i.forEach((function(e){return d.classList.add(e)}));d.append.apply(d,e.children);e.appendChild(d);c=d}}m.label=3;case 3:v=document.querySelector("ion-app")||document.body;r=document.createComment("ionic teleport");e.parentNode.insertBefore(r,e);v.appendChild(e);return[2,c!==null&&c!==void 0?c:e]}}))}))};var t=function(){if(e&&r){r.parentNode.insertBefore(e,r);r.remove()}return Promise.resolve()};return{attachViewToDom:n,removeViewFromDom:t}};export{CoreDelegate as C,attachComponent as a,detachComponent as d};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as win}from"./index-a5d50daf.js";import{c as config,d as printIonError}from"./index-cfd9c1f2.js";var shouldUseCloseWatcher=function(){return config.get("experimentalCloseWatcher",false)&&win!==undefined&&"CloseWatcher"in win};var blockHardwareBackButton=function(){document.addEventListener("backbutton",(function(){}))};var startHardwareBackButton=function(){var r=document;var n=false;var t=function(){if(n){return}var t=0;var e=[];var a=new CustomEvent("ionBackButton",{bubbles:false,detail:{register:function(r,n){e.push({priority:r,handler:n,id:t++})}}});r.dispatchEvent(a);var o=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,t;return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,3,,4]);if(!(r===null||r===void 0?void 0:r.handler))return[3,2];n=r.handler(i);if(!(n!=null))return[3,2];return[4,n];case 1:e.sent();e.label=2;case 2:return[3,4];case 3:t=e.sent();printIonError("[ion-app] - Exception in startHardwareBackButton:",t);return[3,4];case 4:return[2]}}))}))};var i=function(){if(e.length>0){var r={priority:Number.MIN_SAFE_INTEGER,handler:function(){return undefined},id:-1};e.forEach((function(n){if(n.priority>=r.priority){r=n}}));n=true;e=e.filter((function(n){return n.id!==r.id}));o(r).then((function(){return n=false}))}};i()};if(shouldUseCloseWatcher()){var e;var a=function(){e===null||e===void 0?void 0:e.destroy();e=new win.CloseWatcher;e.onclose=function(){t();a()}};a()}else{r.addEventListener("backbutton",t)}};var OVERLAY_BACK_BUTTON_PRIORITY=100;var MENU_BACK_BUTTON_PRIORITY=99;export{MENU_BACK_BUTTON_PRIORITY,OVERLAY_BACK_BUTTON_PRIORITY,blockHardwareBackButton,shouldUseCloseWatcher,startHardwareBackButton};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{d as printIonError}from"./index-cfd9c1f2.js";var transitionEndAsync=function(r,a){if(a===void 0){a=0}return new Promise((function(i){transitionEnd(r,a,i)}))};var transitionEnd=function(r,a,i){if(a===void 0){a=0}var e;var n;var t={passive:true};var o=500;var u=function(){if(e){e()}};var s=function(a){if(a===undefined||r===a.target){u();i(a)}};if(r){r.addEventListener("webkitTransitionEnd",s,t);r.addEventListener("transitionend",s,t);n=setTimeout(s,a+o);e=function(){if(n!==undefined){clearTimeout(n);n=undefined}r.removeEventListener("webkitTransitionEnd",s,t);r.removeEventListener("transitionend",s,t)}}return u};var componentOnReady=function(r,a){if(r.componentOnReady){r.componentOnReady().then((function(r){return a(r)}))}else{raf((function(){return a(r)}))}};var hasLazyBuild=function(r){return r.componentOnReady!==undefined};var inheritAttributes=function(r,a){if(a===void 0){a=[]}var i={};a.forEach((function(a){if(r.hasAttribute(a)){var e=r.getAttribute(a);if(e!==null){i[a]=r.getAttribute(a)}r.removeAttribute(a)}}));return i};var ariaAttributes=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var inheritAriaAttributes=function(r,a){var i=ariaAttributes;if(a&&a.length>0){i=i.filter((function(r){return!a.includes(r)}))}return inheritAttributes(r,i)};var addEventListener=function(r,a,i,e){return r.addEventListener(a,i,e)};var removeEventListener=function(r,a,i,e){return r.removeEventListener(a,i,e)};var getElementRoot=function(r,a){if(a===void 0){a=r}return r.shadowRoot||a};var raf=function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)};var hasShadowDom=function(r){return!!r.shadowRoot&&!!r.attachShadow};var focusVisibleElement=function(r){r.focus();if(r.classList.contains("ion-focusable")){var a=r.closest("ion-app");if(a){a.setFocus([r])}}};var renderHiddenInput=function(r,a,i,e,n){if(r||hasShadowDom(a)){var t=a.querySelector("input.aux-input");if(!t){t=a.ownerDocument.createElement("input");t.type="hidden";t.classList.add("aux-input");a.appendChild(t)}t.disabled=n;t.name=i;t.value=e||""}};var clamp=function(r,a,i){return Math.max(r,Math.min(a,i))};var assert=function(r,a){if(!r){var i="ASSERT: "+a;printIonError(i);debugger;throw new Error(i)}};var pointerCoord=function(r){if(r){var a=r.changedTouches;if(a&&a.length>0){var i=a[0];return{x:i.clientX,y:i.clientY}}if(r.pageX!==undefined){return{x:r.pageX,y:r.pageY}}}return{x:0,y:0}};var isEndSide=function(r){var a=document.dir==="rtl";switch(r){case"start":return a;case"end":return!a;default:throw new Error('"'.concat(r,'" is not a valid value for [side]. Use "start" or "end" instead.'))}};var debounceEvent=function(r,a){var i=r._original||r;return{_original:r,emit:debounce(i.emit.bind(i),a)}};var debounce=function(r,a){if(a===void 0){a=0}var i;return function(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}clearTimeout(i);i=setTimeout.apply(void 0,__spreadArray([r,a],e,false))}};var shallowEqualStringMap=function(r,a){r!==null&&r!==void 0?r:r={};a!==null&&a!==void 0?a:a={};if(r===a){return true}var i=Object.keys(r);if(i.length!==Object.keys(a).length){return false}for(var e=0,n=i;e<n.length;e++){var t=n[e];if(!(t in a)){return false}if(r[t]!==a[t]){return false}}return true};var isSafeNumber=function(r){return typeof r==="number"&&!isNaN(r)&&isFinite(r)};export{addEventListener as a,removeEventListener as b,componentOnReady as c,renderHiddenInput as d,debounceEvent as e,focusVisibleElement as f,getElementRoot as g,inheritAttributes as h,inheritAriaAttributes as i,clamp as j,hasLazyBuild as k,isSafeNumber as l,hasShadowDom as m,assert as n,isEndSide as o,debounce as p,pointerCoord as q,raf as r,shallowEqualStringMap as s,transitionEndAsync as t};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{d as doc}from"./index-a5d50daf.js";import{MENU_BACK_BUTTON_PRIORITY}from"./hardware-back-button-a7eb8233.js";import{p as printIonWarning}from"./index-cfd9c1f2.js";import{c as componentOnReady}from"./helpers-d94bc8ad.js";import{b as getIonMode}from"./ionic-global-b26f573e.js";import{c as createAnimation}from"./animation-8b25e105.js";var baseAnimation=function(n){return createAnimation().duration(n?400:300)};var menuOverlayAnimation=function(n){var r;var e;var t=n.width+8;var i=createAnimation();var a=createAnimation();if(n.isEndSide){r=t+"px";e="0px"}else{r=-t+"px";e="0px"}i.addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(r,")"),"translateX(".concat(e,")"));var o=getIonMode(n);var u=o==="ios";var s=u?.2:.25;a.addElement(n.backdropEl).fromTo("opacity",.01,s);return baseAnimation(u).addAnimation([i,a])};var menuPushAnimation=function(n){var r;var e;var t=getIonMode(n);var i=n.width;if(n.isEndSide){r=-i+"px";e=i+"px"}else{r=i+"px";e=-i+"px"}var a=createAnimation().addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(e,")"),"translateX(0px)");var o=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(r,")"));var u=createAnimation().addElement(n.backdropEl).fromTo("opacity",.01,.32);return baseAnimation(t==="ios").addAnimation([a,o,u])};var menuRevealAnimation=function(n){var r=getIonMode(n);var e=n.width*(n.isEndSide?-1:1)+"px";var t=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(e,")"));return baseAnimation(r==="ios").addAnimation(t)};var createMenuController=function(){var n=new Map;var r=[];var e=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.open()]}return[2,false]}}))}))};var t=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,n!==undefined?c(n,true):f()];case 1:r=e.sent();if(r!==undefined){return[2,r.close()]}return[2,false]}}))}))};var i=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.toggle()]}return[2,false]}}))}))};var a=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.disabled=!n}return[2,e]}}))}))};var o=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.swipeGesture=n}return[2,e]}}))}))};var u=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r,r;return __generator(this,(function(e){switch(e.label){case 0:if(!(n!=null))return[3,2];return[4,c(n)];case 1:r=e.sent();return[2,r!==undefined&&r.isOpen()];case 2:return[4,f()];case 3:r=e.sent();return[2,r!==undefined]}}))}))};var s=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n)];case 1:r=e.sent();if(r){return[2,!r.disabled]}return[2,false]}}))}))};var c=function(n){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(void 0,__spreadArray([n],e,true),void 0,(function(n,e){var t,i,a;if(e===void 0){e=false}return __generator(this,(function(o){switch(o.label){case 0:return[4,x()];case 1:o.sent();if(n==="start"||n==="end"){t=r.filter((function(r){return r.side===n&&!r.disabled}));if(t.length>=1){if(t.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(t.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),t.map((function(n){return n.el})))}return[2,t[0].el]}i=r.filter((function(r){return r.side===n}));if(i.length>=1){if(i.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(i.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),i.map((function(n){return n.el})))}return[2,i[0].el]}}else if(n!=null){return[2,b((function(r){return r.menuId===n}))]}a=b((function(n){return!n.disabled}));if(a){return[2,a]}return[2,r.length>0?r[0].el:undefined]}}))}))};var f=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,x()];case 1:n.sent();return[2,w()]}}))}))};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,x()];case 1:n.sent();return[2,g()]}}))}))};var d=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,x()];case 1:n.sent();return[2,A()]}}))}))};var _=function(r,e){n.set(r,e)};var m=function(n){if(r.indexOf(n)<0){r.push(n)}};var l=function(n){var e=r.indexOf(n);if(e>-1){r.splice(e,1)}};var h=function(n,r,e,t){return __awaiter(void 0,void 0,void 0,(function(){var i;return __generator(this,(function(a){switch(a.label){case 0:if(A()){return[2,false]}if(!r)return[3,3];return[4,f()];case 1:i=a.sent();if(!(i&&n.el!==i))return[3,3];return[4,i.setOpen(false,false)];case 2:a.sent();a.label=3;case 3:return[2,n._setOpen(r,e,t)]}}))}))};var p=function(r,e){var t=n.get(r);if(!t){throw new Error("animation not registered")}var i=t(e);return i};var w=function(){return b((function(n){return n._isOpen}))};var g=function(){return r.map((function(n){return n.el}))};var A=function(){return r.some((function(n){return n.isAnimating}))};var b=function(n){var e=r.find(n);if(e!==undefined){return e.el}return undefined};var x=function(){return Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((function(n){return new Promise((function(r){return componentOnReady(n,r)}))})))};_("reveal",menuRevealAnimation);_("push",menuPushAnimation);_("overlay",menuOverlayAnimation);doc===null||doc===void 0?void 0:doc.addEventListener("ionBackButton",(function(n){var r=w();if(r){n.detail.register(MENU_BACK_BUTTON_PRIORITY,(function(){return r.close()}))}}));return{registerAnimation:_,get:c,getMenus:v,getOpen:f,isEnabled:s,swipeGesture:o,isAnimating:d,isOpen:u,enable:a,toggle:i,close:t,open:e,_getOpenSync:w,_createAnimation:p,_register:m,_unregister:l,_setOpen:h}};var menuController=createMenuController();export{menuController as m};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as config,p as printIonWarning}from"./index-cfd9c1f2.js";import{w as writeTask,B as Build}from"./index-527b9e34.js";import{r as raf}from"./helpers-d94bc8ad.js";var LIFECYCLE_WILL_ENTER="ionViewWillEnter";var LIFECYCLE_DID_ENTER="ionViewDidEnter";var LIFECYCLE_WILL_LEAVE="ionViewWillLeave";var LIFECYCLE_DID_LEAVE="ionViewDidLeave";var LIFECYCLE_WILL_UNLOAD="ionViewWillUnload";var moveFocus=function(n){n.tabIndex=-1;n.focus()};var isVisible=function(n){return n.offsetParent!==null};var createFocusController=function(){var n=function(n){var e=config.get("focusManagerPriority",false);if(e){var r=document.activeElement;if(r!==null&&(n===null||n===void 0?void 0:n.contains(r))){r.setAttribute(LAST_FOCUS,"true")}}};var e=function(n){var e=config.get("focusManagerPriority",false);if(Array.isArray(e)&&!n.contains(document.activeElement)){var r=n.querySelector("[".concat(LAST_FOCUS,"]"));if(r&&isVisible(r)){moveFocus(r);return}for(var i=0,t=e;i<t.length;i++){var a=t[i];switch(a){case"content":var o=n.querySelector('main, [role="main"]');if(o&&isVisible(o)){moveFocus(o);return}break;case"heading":var s=n.querySelector('h1, [role="heading"][aria-level="1"]');if(s&&isVisible(s)){moveFocus(s);return}break;case"banner":var u=n.querySelector('header, [role="banner"]');if(u&&isVisible(u)){moveFocus(u);return}break;default:printIonWarning("Unrecognized focus manager priority value ".concat(a));break}}moveFocus(n)}};return{saveViewFocus:n,setViewFocus:e}};var LAST_FOCUS="ion-last-focus";var iosTransitionAnimation=function(){return import("./ios.transition-4047cb68.js")};var mdTransitionAnimation=function(){return import("./md.transition-30ce8d1b.js")};var focusController=createFocusController();var transition=function(n){return new Promise((function(e,r){writeTask((function(){beforeTransition(n);runTransition(n).then((function(r){if(r.animation){r.animation.destroy()}afterTransition(n);e(r)}),(function(e){afterTransition(n);r(e)}))}))}))};var beforeTransition=function(n){var e=n.enteringEl;var r=n.leavingEl;focusController.saveViewFocus(r);setZIndex(e,r,n.direction);if(n.showGoBack){e.classList.add("can-go-back")}else{e.classList.remove("can-go-back")}setPageHidden(e,false);e.style.setProperty("pointer-events","none");if(r){setPageHidden(r,false);r.style.setProperty("pointer-events","none")}};var runTransition=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r;return __generator(this,(function(i){switch(i.label){case 0:return[4,getAnimationBuilder(n)];case 1:e=i.sent();r=e&&Build.isBrowser?animation(e,n):noAnimation(n);return[2,r]}}))}))};var afterTransition=function(n){var e=n.enteringEl;var r=n.leavingEl;e.classList.remove("ion-page-invisible");e.style.removeProperty("pointer-events");if(r!==undefined){r.classList.remove("ion-page-invisible");r.style.removeProperty("pointer-events")}focusController.setViewFocus(e)};var getAnimationBuilder=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r;return __generator(this,(function(i){switch(i.label){case 0:if(!n.leavingEl||!n.animated||n.duration===0){return[2,undefined]}if(n.animationBuilder){return[2,n.animationBuilder]}if(!(n.mode==="ios"))return[3,2];return[4,iosTransitionAnimation()];case 1:r=i.sent().iosTransitionAnimation;return[3,4];case 2:return[4,mdTransitionAnimation()];case 3:r=i.sent().mdTransitionAnimation;i.label=4;case 4:e=r;return[2,e]}}))}))};var animation=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var r,i;return __generator(this,(function(t){switch(t.label){case 0:return[4,waitForReady(e,true)];case 1:t.sent();r=n(e.baseEl,e);fireWillEvents(e.enteringEl,e.leavingEl);return[4,playTransition(r,e)];case 2:i=t.sent();if(e.progressCallback){e.progressCallback(undefined)}if(i){fireDidEvents(e.enteringEl,e.leavingEl)}return[2,{hasCompleted:i,animation:r}]}}))}))};var noAnimation=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i;return __generator(this,(function(t){switch(t.label){case 0:e=n.enteringEl;r=n.leavingEl;i=config.get("focusManagerPriority",false);return[4,waitForReady(n,i)];case 1:t.sent();fireWillEvents(e,r);fireDidEvents(e,r);return[2,{hasCompleted:true}]}}))}))};var waitForReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=n.deepWait!==undefined?n.deepWait:e;if(!r)return[3,2];return[4,Promise.all([deepReady(n.enteringEl),deepReady(n.leavingEl)])];case 1:i.sent();i.label=2;case 2:return[4,notifyViewReady(n.viewIsReady,n.enteringEl)];case 3:i.sent();return[2]}}))}))};var notifyViewReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!n)return[3,2];return[4,n(e)];case 1:r.sent();r.label=2;case 2:return[2]}}))}))};var playTransition=function(n,e){var r=e.progressCallback;var i=new Promise((function(e){n.onFinish((function(n){return e(n===1)}))}));if(r){n.progressStart(true);r(n)}else{n.play()}return i};var fireWillEvents=function(n,e){lifecycle(e,LIFECYCLE_WILL_LEAVE);lifecycle(n,LIFECYCLE_WILL_ENTER)};var fireDidEvents=function(n,e){lifecycle(n,LIFECYCLE_DID_ENTER);lifecycle(e,LIFECYCLE_DID_LEAVE)};var lifecycle=function(n,e){if(n){var r=new CustomEvent(e,{bubbles:false,cancelable:false});n.dispatchEvent(r)}};var waitForMount=function(){return new Promise((function(n){return raf((function(){return raf((function(){return n()}))}))}))};var deepReady=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i;return __generator(this,(function(t){switch(t.label){case 0:e=n;if(!e)return[3,6];if(!(e.componentOnReady!=null))return[3,2];return[4,e.componentOnReady()];case 1:r=t.sent();if(r!=null){return[2]}return[3,4];case 2:if(!(e.__registerHost!=null))return[3,4];i=new Promise((function(n){return raf(n)}));return[4,i];case 3:t.sent();return[2];case 4:return[4,Promise.all(Array.from(e.children).map(deepReady))];case 5:t.sent();t.label=6;case 6:return[2]}}))}))};var setPageHidden=function(n,e){if(e){n.setAttribute("aria-hidden","true");n.classList.add("ion-page-hidden")}else{n.hidden=false;n.removeAttribute("aria-hidden");n.classList.remove("ion-page-hidden")}};var setZIndex=function(n,e,r){if(n!==undefined){n.style.zIndex=r==="back"?"99":"101"}if(e!==undefined){e.style.zIndex="100"}};var getIonPageElement=function(n){if(n.classList.contains("ion-page")){return n}var e=n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");if(e){return e}return n};export{LIFECYCLE_WILL_ENTER as L,LIFECYCLE_DID_ENTER as a,LIFECYCLE_WILL_LEAVE as b,LIFECYCLE_DID_LEAVE as c,LIFECYCLE_WILL_UNLOAD as d,deepReady as e,getIonPageElement as g,lifecycle as l,setPageHidden as s,transition as t,waitForMount as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-d94bc8ad.js";import{e as printRequiredElementError}from"./index-cfd9c1f2.js";var ION_CONTENT_TAG_NAME="ION-CONTENT";var ION_CONTENT_ELEMENT_SELECTOR="ion-content";var ION_CONTENT_CLASS_SELECTOR=".ion-content-scroll-host";var ION_CONTENT_SELECTOR="".concat(ION_CONTENT_ELEMENT_SELECTOR,", ").concat(ION_CONTENT_CLASS_SELECTOR);var isIonContent=function(n){return n.tagName===ION_CONTENT_TAG_NAME};var getScrollElement=function(n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!isIonContent(n))return[3,2];return[4,new Promise((function(r){return componentOnReady(n,r)}))];case 1:r.sent();return[2,n.getScrollElement()];case 2:return[2,n]}}))}))};var findIonContent=function(n){var r=n.querySelector(ION_CONTENT_CLASS_SELECTOR);if(r){return r}return n.querySelector(ION_CONTENT_SELECTOR)};var findClosestIonContent=function(n){return n.closest(ION_CONTENT_SELECTOR)};var scrollToTop=function(n,r){if(isIonContent(n)){var t=n;return t.scrollToTop(r)}return Promise.resolve(n.scrollTo({top:0,left:0,behavior:r>0?"smooth":"auto"}))};var scrollByPoint=function(n,r,t,o){if(isIonContent(n)){var e=n;return e.scrollByPoint(r,t,o)}return Promise.resolve(n.scrollBy({top:t,left:r,behavior:o>0?"smooth":"auto"}))};var printIonContentErrorMsg=function(n){return printRequiredElementError(n,ION_CONTENT_ELEMENT_SELECTOR)};var disableContentScrollY=function(n){if(isIonContent(n)){var r=n;var t=r.scrollY;r.scrollY=false;return t}else{n.style.setProperty("overflow","hidden");return true}};var resetContentScrollY=function(n,r){if(isIonContent(n)){n.scrollY=r}else{n.style.removeProperty("overflow")}};export{ION_CONTENT_CLASS_SELECTOR as I,findIonContent as a,ION_CONTENT_ELEMENT_SELECTOR as b,scrollByPoint as c,disableContentScrollY as d,findClosestIonContent as f,getScrollElement as g,isIonContent as i,printIonContentErrorMsg as p,resetContentScrollY as r,scrollToTop as s};
|