@ionic/core 8.5.9 → 8.6.0
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 +37 -23
- package/components/alert.js +42 -26
- package/components/animation.js +2 -2
- package/components/backdrop.js +11 -4
- package/components/button-active.js +1 -1
- package/components/button.js +30 -24
- package/components/buttons.js +14 -4
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +40 -16
- package/components/config.js +1 -1
- package/components/content.js +24 -5
- package/components/data.js +31 -6
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +2 -2
- package/components/header.js +12 -7
- package/components/helpers.js +3 -6
- package/components/icon.js +1 -2
- package/components/index.js +1 -1
- package/components/index2.js +1 -1
- package/components/index3.js +3 -5
- package/components/index4.js +1 -1
- package/components/index5.js +2 -2
- package/components/index6.js +28 -3
- package/components/index7.js +163 -27
- package/components/index8.js +1 -1
- package/components/index9.js +3 -163
- package/components/input-shims.js +25 -2
- package/components/input.utils.js +2 -2
- package/components/ion-accordion-group.js +20 -7
- package/components/ion-accordion.js +32 -14
- package/components/ion-app.js +4 -5
- package/components/ion-avatar.js +2 -4
- package/components/ion-back-button.js +12 -13
- package/components/ion-badge.js +2 -5
- package/components/ion-breadcrumb.js +22 -20
- package/components/ion-breadcrumbs.js +14 -10
- package/components/ion-card-content.js +2 -4
- package/components/ion-card-header.js +7 -5
- package/components/ion-card-subtitle.js +2 -5
- package/components/ion-card-title.js +2 -5
- package/components/ion-card.js +16 -11
- package/components/ion-chip.js +8 -5
- package/components/ion-col.js +1 -26
- package/components/ion-datetime-button.js +16 -14
- package/components/ion-datetime.js +197 -82
- package/components/ion-fab-button.js +37 -20
- package/components/ion-fab-list.js +7 -2
- package/components/ion-fab.js +10 -4
- package/components/ion-footer.js +13 -8
- package/components/ion-grid.js +4 -2
- package/components/ion-img.js +1 -6
- package/components/ion-infinite-scroll-content.js +2 -6
- package/components/ion-infinite-scroll.js +27 -6
- package/components/ion-input-otp.d.ts +11 -0
- package/components/ion-input-otp.js +631 -0
- package/components/ion-input-password-toggle.js +11 -13
- package/components/ion-input.js +79 -51
- package/components/ion-item-divider.js +11 -7
- package/components/ion-item-group.js +3 -5
- package/components/ion-item-option.js +16 -14
- package/components/ion-item-options.js +7 -5
- package/components/ion-item-sliding.js +6 -4
- package/components/ion-loading.js +38 -21
- package/components/ion-menu-button.js +17 -12
- package/components/ion-menu-toggle.js +11 -7
- package/components/ion-menu.js +28 -12
- package/components/ion-nav-link.js +7 -7
- package/components/ion-nav.js +9 -12
- package/components/ion-note.js +4 -7
- package/components/ion-picker-legacy.js +47 -27
- package/components/ion-progress-bar.js +20 -7
- package/components/ion-range.js +69 -29
- package/components/ion-refresher-content.js +2 -6
- package/components/ion-refresher.js +56 -8
- package/components/ion-reorder-group.js +7 -5
- package/components/ion-reorder.js +4 -6
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +9 -7
- package/components/ion-router-link.js +9 -11
- package/components/ion-router-outlet.js +12 -10
- package/components/ion-router.js +19 -1
- package/components/ion-row.js +2 -3
- package/components/ion-searchbar.js +82 -33
- package/components/ion-segment-button.js +22 -13
- package/components/ion-segment-content.js +2 -3
- package/components/ion-segment-view.js +7 -7
- package/components/ion-segment.js +24 -13
- package/components/ion-select-option.js +5 -4
- package/components/ion-select.js +68 -34
- package/components/ion-skeleton-text.js +6 -4
- package/components/ion-split-pane.js +13 -8
- package/components/ion-tab-bar.js +9 -8
- package/components/ion-tab-button.js +12 -14
- package/components/ion-tab.js +5 -8
- package/components/ion-tabs.js +5 -6
- package/components/ion-text.js +3 -5
- package/components/ion-textarea.js +72 -36
- package/components/ion-thumbnail.js +2 -3
- package/components/ion-toast.js +58 -35
- package/components/ion-toggle.js +55 -24
- package/components/ionic-global.js +1 -1
- package/components/item.js +20 -14
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +134 -69
- package/components/keyboard2.js +69 -134
- package/components/label.js +4 -8
- package/components/list-header.js +4 -8
- package/components/list.js +6 -6
- package/components/modal.js +122 -44
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +3 -3
- package/components/picker-column-option.js +20 -7
- package/components/picker-column.js +25 -10
- package/components/picker-column2.js +7 -10
- package/components/picker.js +2 -4
- package/components/popover.js +132 -40
- package/components/radio-group.js +11 -11
- package/components/radio.js +30 -16
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +11 -3
- package/components/select-modal.js +4 -9
- package/components/select-popover.js +6 -9
- package/components/spinner.js +5 -6
- package/components/swipe-back.js +1 -1
- package/components/title.js +4 -8
- package/components/toolbar.js +4 -7
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/structure.css +1 -1
- package/css/structure.css.map +1 -1
- package/dist/cjs/{animation-ab2d3449.js → animation-0T7gKwOt.js} +2 -2
- package/dist/cjs/{button-active-43e2b419.js → button-active-C-4ud7Ht.js} +3 -3
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-DmA66EwP.js} +1 -1
- package/dist/cjs/{config-f6225ae7.js → config-U7OAuj53.js} +1 -1
- package/dist/cjs/{data-94e8d392.js → data-DRqa6oM4.js} +30 -5
- package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-C7sIJyT5.js} +1 -1
- package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-dtqlP_q4.js} +1 -1
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-ClPPQ_PS.js} +1 -1
- package/dist/cjs/{hardware-back-button-3d2b1004.js → hardware-back-button-D90qZxju.js} +2 -2
- package/dist/cjs/{helpers-8a48fdea.js → helpers-BITAzJfi.js} +2 -5
- package/dist/cjs/{index-dbe01e08.js → index-BDBT0u4l.js} +3 -3
- package/dist/cjs/{index-ee07ed59.js → index-CAvQ7Tka.js} +3 -4
- package/dist/cjs/{index-073c7cdc.js → index-CPbAsnJK.js} +1 -0
- package/dist/cjs/{index-31b07b9c.js → index-CVa6JE57.js} +3 -3
- package/dist/cjs/{index-a96d31ae.js → index-CxfLS2mX.js} +8 -9
- package/dist/cjs/{index-2e236a04.js → index-DODXXb_r.js} +1676 -675
- package/dist/cjs/{index-1eff7149.js → index-y0QaNtCi.js} +6 -7
- package/dist/cjs/index.cjs.js +22 -28
- package/dist/cjs/{input-shims-415be7ee.js → input-shims-D1Mfgd4s.js} +29 -6
- package/dist/cjs/{input.utils-a7957fd6.js → input.utils-DSoBEyUu.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +56 -29
- package/dist/cjs/ion-action-sheet.cjs.entry.js +50 -40
- package/dist/cjs/ion-alert.cjs.entry.js +59 -47
- package/dist/cjs/ion-app_8.cjs.entry.js +134 -105
- package/dist/cjs/ion-avatar_3.cjs.entry.js +10 -20
- package/dist/cjs/ion-back-button.cjs.entry.js +21 -26
- package/dist/cjs/ion-backdrop.cjs.entry.js +13 -10
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +39 -37
- package/dist/cjs/ion-button_2.cjs.entry.js +35 -34
- package/dist/cjs/ion-card_5.cjs.entry.js +36 -41
- package/dist/cjs/ion-checkbox.cjs.entry.js +44 -24
- package/dist/cjs/ion-chip.cjs.entry.js +11 -12
- package/dist/cjs/ion-col_3.cjs.entry.js +10 -38
- package/dist/cjs/ion-datetime-button.cjs.entry.js +23 -25
- package/dist/cjs/ion-datetime_3.cjs.entry.js +318 -191
- package/dist/cjs/ion-fab_3.cjs.entry.js +59 -35
- package/dist/cjs/ion-img.cjs.entry.js +4 -13
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +38 -25
- package/dist/cjs/ion-input-otp.cjs.entry.js +593 -0
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -23
- package/dist/cjs/ion-input.cjs.entry.js +86 -62
- package/dist/cjs/ion-item-option_3.cjs.entry.js +38 -36
- package/dist/cjs/ion-item_8.cjs.entry.js +69 -74
- package/dist/cjs/ion-loading.cjs.entry.js +50 -37
- package/dist/cjs/ion-menu_3.cjs.entry.js +84 -63
- package/dist/cjs/ion-modal.cjs.entry.js +141 -67
- package/dist/cjs/ion-nav_2.cjs.entry.js +30 -37
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +24 -15
- package/dist/cjs/ion-picker-column.cjs.entry.js +32 -21
- package/dist/cjs/ion-picker.cjs.entry.js +4 -9
- package/dist/cjs/ion-popover.cjs.entry.js +143 -55
- package/dist/cjs/ion-progress-bar.cjs.entry.js +24 -15
- package/dist/cjs/ion-radio_2.cjs.entry.js +47 -37
- package/dist/cjs/ion-range.cjs.entry.js +78 -42
- package/dist/cjs/ion-refresher_2.cjs.entry.js +81 -41
- package/dist/cjs/ion-reorder_2.cjs.entry.js +19 -23
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +13 -9
- package/dist/cjs/ion-route_4.cjs.entry.js +52 -40
- package/dist/cjs/ion-searchbar.cjs.entry.js +91 -46
- package/dist/cjs/ion-segment-content.cjs.entry.js +3 -6
- package/dist/cjs/ion-segment-view.cjs.entry.js +8 -10
- package/dist/cjs/ion-segment_2.cjs.entry.js +55 -39
- package/dist/cjs/ion-select-modal.cjs.entry.js +12 -21
- package/dist/cjs/ion-select_3.cjs.entry.js +98 -70
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -17
- package/dist/cjs/ion-split-pane.cjs.entry.js +16 -15
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +31 -36
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -20
- package/dist/cjs/ion-text.cjs.entry.js +6 -12
- package/dist/cjs/ion-textarea.cjs.entry.js +79 -47
- package/dist/cjs/ion-toast.cjs.entry.js +82 -63
- package/dist/cjs/ion-toggle.cjs.entry.js +64 -37
- package/dist/cjs/ionic.cjs.js +7 -10
- package/dist/cjs/{ios.transition-a131cd4d.js → ios.transition-baEy2tr4.js} +5 -6
- package/dist/cjs/{keyboard-0272231f.js → keyboard-UuAS4D_9.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-GXBiBRKS.js} +2 -2
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-hHzlEQpk.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -8
- package/dist/cjs/{md.transition-e018ebe5.js → md.transition-Bvc-JrM5.js} +5 -6
- package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-BAbqGXRi.js} +2 -2
- package/dist/cjs/{overlays-4c291a05.js → overlays-DRDumz2b.js} +9 -10
- package/dist/cjs/{status-tap-f1acefac.js → status-tap-Db3WeCkO.js} +3 -4
- package/dist/cjs/{swipe-back-4918e56b.js → swipe-back-D_VN6H9r.js} +5 -5
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +43 -13
- package/dist/collection/components/accordion-group/accordion-group.js +35 -8
- package/dist/collection/components/action-sheet/action-sheet.js +84 -31
- package/dist/collection/components/alert/alert.js +94 -34
- package/dist/collection/components/back-button/back-button.js +30 -14
- package/dist/collection/components/backdrop/backdrop.js +18 -3
- package/dist/collection/components/badge/badge.js +3 -4
- package/dist/collection/components/breadcrumb/breadcrumb.js +57 -26
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +24 -10
- package/dist/collection/components/button/button.js +74 -33
- package/dist/collection/components/buttons/buttons.js +15 -1
- package/dist/collection/components/card/card.js +44 -16
- package/dist/collection/components/card-header/card-header.js +11 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +3 -4
- package/dist/collection/components/card-title/card-title.js +3 -4
- package/dist/collection/components/checkbox/checkbox.js +74 -24
- package/dist/collection/components/chip/chip.js +15 -4
- package/dist/collection/components/col/col.js +72 -50
- package/dist/collection/components/content/content.js +43 -9
- package/dist/collection/components/datetime/datetime.ios.css +7 -2
- package/dist/collection/components/datetime/datetime.js +298 -98
- package/dist/collection/components/datetime/datetime.md.css +9 -3
- package/dist/collection/components/datetime/utils/data.js +29 -4
- package/dist/collection/components/datetime-button/datetime-button.js +21 -11
- package/dist/collection/components/fab/fab.js +21 -6
- package/dist/collection/components/fab-button/fab-button.js +76 -28
- package/dist/collection/components/fab-list/fab-list.js +12 -2
- package/dist/collection/components/footer/footer.js +16 -5
- package/dist/collection/components/grid/grid.js +6 -1
- package/dist/collection/components/header/header.js +15 -4
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +35 -7
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +6 -4
- package/dist/collection/components/input/input.js +178 -79
- package/dist/collection/components/input-otp/input-otp-interface.js +1 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +381 -0
- package/dist/collection/components/input-otp/input-otp.js +1003 -0
- package/dist/collection/components/input-otp/input-otp.md.css +381 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +19 -11
- package/dist/collection/components/item/item.js +56 -21
- package/dist/collection/components/item-divider/item-divider.js +15 -5
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +38 -18
- package/dist/collection/components/item-options/item-options.js +8 -2
- package/dist/collection/components/item-sliding/item-sliding.js +7 -2
- package/dist/collection/components/label/label.js +8 -6
- package/dist/collection/components/list/list.js +10 -4
- package/dist/collection/components/list-header/list-header.js +8 -8
- package/dist/collection/components/loading/loading.js +88 -31
- package/dist/collection/components/menu/menu.js +44 -12
- package/dist/collection/components/menu-button/menu-button.js +29 -12
- package/dist/collection/components/menu-toggle/menu-toggle.js +16 -7
- package/dist/collection/components/modal/modal.js +192 -55
- package/dist/collection/components/nav/nav.js +25 -12
- package/dist/collection/components/nav-link/nav-link.js +19 -9
- package/dist/collection/components/note/note.js +5 -6
- package/dist/collection/components/picker-column/picker-column.js +34 -10
- package/dist/collection/components/picker-column-option/picker-column-option.js +27 -6
- package/dist/collection/components/picker-legacy/picker.js +93 -33
- package/dist/collection/components/picker-legacy-column/picker-column.js +6 -4
- package/dist/collection/components/popover/popover.js +211 -58
- package/dist/collection/components/progress-bar/progress-bar.js +32 -7
- package/dist/collection/components/radio/radio.js +49 -19
- package/dist/collection/components/radio-group/radio-group.js +27 -13
- package/dist/collection/components/range/range.js +112 -37
- package/dist/collection/components/refresher/refresher.js +69 -7
- package/dist/collection/components/refresher-content/refresher-content.js +13 -9
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +7 -2
- package/dist/collection/components/ripple-effect/ripple-effect.js +13 -2
- package/dist/collection/components/route/route.js +24 -9
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +24 -2
- package/dist/collection/components/router-link/router-link.js +26 -14
- package/dist/collection/components/router-outlet/router-outlet.js +25 -9
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +145 -50
- package/dist/collection/components/segment/segment.js +40 -15
- package/dist/collection/components/segment-button/segment-button.js +34 -13
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +8 -4
- package/dist/collection/components/select/select.js +128 -48
- package/dist/collection/components/select-modal/select-modal.js +10 -5
- package/dist/collection/components/select-option/select-option.js +10 -4
- package/dist/collection/components/select-popover/select-popover.js +19 -9
- package/dist/collection/components/skeleton-text/skeleton-text.js +8 -3
- package/dist/collection/components/spinner/spinner.js +16 -8
- package/dist/collection/components/split-pane/split-pane.js +19 -6
- package/dist/collection/components/tab/tab.js +16 -9
- package/dist/collection/components/tab-bar/tab-bar.js +16 -7
- package/dist/collection/components/tab-button/tab-button.js +34 -18
- package/dist/collection/components/tabs/tabs.js +6 -4
- package/dist/collection/components/text/text.js +5 -6
- package/dist/collection/components/textarea/textarea.js +154 -59
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +8 -8
- package/dist/collection/components/toast/toast.js +121 -47
- package/dist/collection/components/toggle/toggle.js +86 -28
- package/dist/collection/components/toolbar/toolbar.js +5 -4
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +23 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +4489 -941
- package/dist/esm/{animation-8b25e105.js → animation-BWcUKtbn.js} +2 -2
- package/dist/esm/{button-active-90f1dbc4.js → button-active-Bxcnevju.js} +3 -3
- package/dist/esm/{capacitor-59395cbd.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/{config-9898ed97.js → config-AaTyISnm.js} +1 -1
- package/dist/esm/{data-0d7ea6eb.js → data-GIsHsYIB.js} +31 -6
- package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-DxcnWic_.js} +1 -1
- package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-BTEOs1at.js} +1 -1
- package/dist/esm/{haptic-ac164e4c.js → haptic-DzAMWJuk.js} +2 -2
- package/dist/esm/{hardware-back-button-a7eb8233.js → hardware-back-button-DcH0BbDp.js} +2 -2
- package/dist/esm/{helpers-d94bc8ad.js → helpers-1O4D2b7y.js} +3 -6
- package/dist/esm/{index-e2cf2ceb.js → index-BLV6ykCk.js} +2 -1
- package/dist/esm/{index-527b9e34.js → index-B_U9CtaY.js} +1667 -654
- package/dist/esm/{index-9a17db3d.js → index-BlJTBdxG.js} +3 -3
- package/dist/esm/{index-be190feb.js → index-CWbP1eJz.js} +3 -3
- package/dist/esm/{index-39782642.js → index-CfgBF1SE.js} +4 -6
- package/dist/esm/{index-18f31305.js → index-D8sncTHY.js} +5 -6
- package/dist/esm/{index-68c0d151.js → index-DfBA5ztX.js} +4 -5
- package/dist/esm/index.js +16 -18
- package/dist/esm/{input-shims-279903e2.js → input-shims-C3lNp93k.js} +29 -6
- package/dist/esm/{input.utils-40504d6d.js → input.utils-zWijNCrx.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +52 -23
- package/dist/esm/ion-action-sheet.entry.js +48 -36
- package/dist/esm/ion-alert.entry.js +53 -39
- package/dist/esm/ion-app_8.entry.js +99 -68
- package/dist/esm/ion-avatar_3.entry.js +8 -16
- package/dist/esm/ion-back-button.entry.js +14 -17
- package/dist/esm/ion-backdrop.entry.js +12 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +37 -33
- package/dist/esm/ion-button_2.entry.js +31 -28
- package/dist/esm/ion-card_5.entry.js +31 -34
- package/dist/esm/ion-checkbox.entry.js +43 -21
- package/dist/esm/ion-chip.entry.js +10 -9
- package/dist/esm/ion-col_3.entry.js +8 -34
- package/dist/esm/ion-datetime-button.entry.js +18 -18
- package/dist/esm/ion-datetime_3.entry.js +253 -124
- package/dist/esm/ion-fab_3.entry.js +56 -30
- package/dist/esm/ion-img.entry.js +3 -10
- package/dist/esm/ion-infinite-scroll_2.entry.js +33 -18
- package/dist/esm/ion-input-otp.entry.js +591 -0
- package/dist/esm/ion-input-password-toggle.entry.js +12 -16
- package/dist/esm/ion-input.entry.js +84 -58
- package/dist/esm/ion-item-option_3.entry.js +34 -30
- package/dist/esm/ion-item_8.entry.js +60 -63
- package/dist/esm/ion-loading.entry.js +46 -31
- package/dist/esm/ion-menu_3.entry.js +66 -43
- package/dist/esm/ion-modal.entry.js +130 -54
- package/dist/esm/ion-nav_2.entry.js +17 -22
- package/dist/esm/ion-picker-column-option.entry.js +23 -12
- package/dist/esm/ion-picker-column.entry.js +29 -16
- package/dist/esm/ion-picker.entry.js +4 -7
- package/dist/esm/ion-popover.entry.js +137 -47
- package/dist/esm/ion-progress-bar.entry.js +22 -11
- package/dist/esm/ion-radio_2.entry.js +45 -33
- package/dist/esm/ion-range.entry.js +72 -34
- package/dist/esm/ion-refresher_2.entry.js +68 -26
- package/dist/esm/ion-reorder_2.entry.js +17 -19
- package/dist/esm/ion-ripple-effect.entry.js +12 -6
- package/dist/esm/ion-route_4.entry.js +35 -21
- package/dist/esm/ion-searchbar.entry.js +86 -39
- package/dist/esm/ion-segment-content.entry.js +3 -4
- package/dist/esm/ion-segment-view.entry.js +8 -8
- package/dist/esm/ion-segment_2.entry.js +50 -32
- package/dist/esm/ion-select-modal.entry.js +12 -19
- package/dist/esm/ion-select_3.entry.js +88 -58
- package/dist/esm/ion-spinner.entry.js +8 -11
- package/dist/esm/ion-split-pane.entry.js +13 -10
- package/dist/esm/ion-tab-bar_2.entry.js +28 -31
- package/dist/esm/ion-tab_2.entry.js +11 -16
- package/dist/esm/ion-text.entry.js +5 -9
- package/dist/esm/ion-textarea.entry.js +77 -43
- package/dist/esm/ion-toast.entry.js +65 -44
- package/dist/esm/ion-toggle.entry.js +62 -33
- package/dist/esm/ionic.js +5 -7
- package/dist/esm/{ios.transition-4047cb68.js → ios.transition-BmXtMRXZ.js} +5 -6
- package/dist/esm/{keyboard-73175e24.js → keyboard-CUw4ekVy.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-BaaVITYt.js} +2 -2
- package/dist/esm/{keyboard-52278bd7.js → keyboard-ywgs5efA.js} +3 -3
- package/dist/esm/loader.js +3 -6
- package/dist/esm/{md.transition-30ce8d1b.js → md.transition-CLI683c7.js} +5 -6
- package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-C5LPspO8.js} +2 -2
- package/dist/esm/{overlays-d99dcb0a.js → overlays-8Y2rA-ps.js} +6 -7
- package/dist/esm/{status-tap-42a8af65.js → status-tap-7t9T91bG.js} +3 -4
- package/dist/esm/{swipe-back-0184f6b3.js → swipe-back-VdaUzLWy.js} +5 -5
- package/dist/html.html-data.json +376 -0
- package/dist/index.js +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0fc6fc38.entry.js +4 -0
- package/dist/ionic/p-14ae45e4.entry.js +4 -0
- package/dist/ionic/p-15da9760.entry.js +4 -0
- package/dist/ionic/p-1739f5f2.entry.js +4 -0
- package/dist/ionic/p-18f1813b.entry.js +4 -0
- package/dist/ionic/p-2020aa51.entry.js +4 -0
- package/dist/ionic/p-2c6c6991.entry.js +4 -0
- package/dist/ionic/p-2cfd6b61.entry.js +4 -0
- package/dist/ionic/p-2da6a16b.entry.js +4 -0
- package/dist/ionic/p-3a4feac2.entry.js +4 -0
- package/dist/ionic/p-473877b6.entry.js +4 -0
- package/dist/ionic/p-4b7d1f35.entry.js +4 -0
- package/dist/ionic/p-4d61f20b.entry.js +4 -0
- package/dist/ionic/p-4ddc10ef.entry.js +4 -0
- package/dist/ionic/p-56712fd4.entry.js +4 -0
- package/dist/ionic/p-66510682.entry.js +4 -0
- package/dist/ionic/p-6b666996.entry.js +4 -0
- package/dist/ionic/p-7149db7e.entry.js +4 -0
- package/dist/ionic/p-73d7ad90.entry.js +4 -0
- package/dist/ionic/p-76b697a3.entry.js +4 -0
- package/dist/ionic/{p-ed005d9c.js → p-7qk7mxdr.js} +1 -1
- package/dist/ionic/p-8957540a.entry.js +4 -0
- package/dist/ionic/p-8a8ef46b.entry.js +4 -0
- package/dist/ionic/p-8c674371.entry.js +4 -0
- package/dist/ionic/p-8f2f76e0.entry.js +4 -0
- package/dist/ionic/p-90f87086.entry.js +4 -0
- package/dist/ionic/p-91bde659.entry.js +4 -0
- package/dist/ionic/p-96389029.entry.js +4 -0
- package/dist/ionic/p-97667b9c.entry.js +4 -0
- package/dist/ionic/p-9b46b31b.entry.js +4 -0
- package/dist/ionic/p-9e699d4a.entry.js +4 -0
- package/dist/ionic/p-9eeaBrnk.js +4 -0
- package/dist/ionic/p-B1MNHTYX.js +4 -0
- package/dist/ionic/p-B3XSxWNQ.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-BLV6ykCk.js} +1 -1
- package/dist/ionic/p-BROiNJRB.js +4 -0
- package/dist/ionic/p-B_U9CtaY.js +5 -0
- package/dist/ionic/{p-f08a92cc.js → p-BhLqfMrf.js} +1 -1
- package/dist/ionic/{p-2bb55ebc.js → p-BmQduG8c.js} +1 -1
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-CKvCXMs9.js} +1 -1
- package/dist/ionic/p-CL-KfWxq.js +4 -0
- package/dist/ionic/p-CPgXVSua.js +4 -0
- package/dist/ionic/p-CRiGyYOA.js +4 -0
- package/dist/ionic/{p-10a1bddc.js → p-CbI9XwwW.js} +1 -1
- package/dist/ionic/p-Cl0B-RWe.js +4 -0
- package/dist/ionic/p-CtWGkNnJ.js +4 -0
- package/dist/ionic/p-D-7TeYC4.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-D13Eaw-8.js} +1 -1
- package/dist/ionic/{p-0f5e6225.js → p-DCfS5Jk_.js} +1 -1
- package/dist/ionic/p-DgdWETCP.js +4 -0
- package/dist/ionic/p-Do-uqmtX.js +4 -0
- package/dist/ionic/{p-b7b1d91a.js → p-DzH0J0yi.js} +1 -1
- package/dist/ionic/p-QwEXyOze.js +4 -0
- package/dist/ionic/p-a6282370.entry.js +4 -0
- package/dist/ionic/p-a9ac80bd.entry.js +4 -0
- package/dist/ionic/p-a9f99c74.entry.js +4 -0
- package/dist/ionic/p-aIxOGKys.js +4 -0
- package/dist/ionic/p-aa8956c2.entry.js +4 -0
- package/dist/ionic/p-b37dbc31.entry.js +4 -0
- package/dist/ionic/p-b9f79efc.entry.js +4 -0
- package/dist/ionic/p-bNmY-WfR.js +4 -0
- package/dist/ionic/p-bc01c127.entry.js +4 -0
- package/dist/ionic/p-bec79123.entry.js +4 -0
- package/dist/ionic/p-c0335397.entry.js +4 -0
- package/dist/ionic/p-c4912ca5.entry.js +4 -0
- package/dist/ionic/p-c884d7e3.entry.js +4 -0
- package/dist/ionic/p-cb787a4b.entry.js +4 -0
- package/dist/ionic/p-cd12ed1c.entry.js +4 -0
- package/dist/ionic/p-cf632ee2.entry.js +4 -0
- package/dist/ionic/p-d47b85ea.entry.js +4 -0
- package/dist/ionic/p-d8ed5df0.entry.js +4 -0
- package/dist/ionic/p-e1260ed5.entry.js +4 -0
- package/dist/ionic/p-e30ff968.entry.js +4 -0
- package/dist/ionic/p-ead42a37.entry.js +4 -0
- package/dist/ionic/{p-b6d324f0.js → p-ei_RiGrl.js} +1 -1
- package/dist/ionic/p-f83db8cd.entry.js +4 -0
- package/dist/ionic/p-fbc5481b.entry.js +4 -0
- package/dist/ionic/p-fcc7437b.entry.js +4 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +1 -0
- package/dist/types/components/datetime/datetime.d.ts +6 -0
- package/dist/types/components/datetime/utils/data.d.ts +3 -1
- package/dist/types/components/datetime/utils/manipulation.d.ts +1 -0
- package/dist/types/components/input-otp/input-otp-interface.d.ts +21 -0
- package/dist/types/components/input-otp/input-otp.d.ts +268 -0
- package/dist/types/components.d.ts +784 -0
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +29 -1
- package/hydrate/index.d.ts +44 -7
- package/hydrate/index.js +5495 -2370
- package/hydrate/index.mjs +5494 -2369
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +1 -2
- package/package.json +2 -2
- package/dist/cjs/app-globals-ddceb1f4.js +0 -10
- package/dist/cjs/index-cc858e97.js +0 -129
- package/dist/cjs/ionic-global-6dea5a96.js +0 -152
- package/dist/esm/app-globals-dbdbb3df.js +0 -8
- package/dist/esm/index-cfd9c1f2.js +0 -121
- package/dist/esm/ionic-global-b26f573e.js +0 -147
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm-es5/animation-8b25e105.js +0 -4
- package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
- package/dist/esm-es5/button-active-90f1dbc4.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +0 -4
- package/dist/esm-es5/config-9898ed97.js +0 -4
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +0 -4
- package/dist/esm-es5/data-0d7ea6eb.js +0 -4
- package/dist/esm-es5/dir-babeabeb.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/gesture-controller-314a54f6.js +0 -4
- package/dist/esm-es5/haptic-ac164e4c.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-39782642.js +0 -4
- package/dist/esm-es5/index-527b9e34.js +0 -5
- 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/index-e2cf2ceb.js +0 -4
- package/dist/esm-es5/index.js +0 -4
- package/dist/esm-es5/input-shims-279903e2.js +0 -4
- package/dist/esm-es5/input.utils-40504d6d.js +0 -4
- package/dist/esm-es5/ion-accordion_2.entry.js +0 -4
- package/dist/esm-es5/ion-action-sheet.entry.js +0 -4
- package/dist/esm-es5/ion-alert.entry.js +0 -4
- package/dist/esm-es5/ion-app_8.entry.js +0 -4
- package/dist/esm-es5/ion-avatar_3.entry.js +0 -4
- package/dist/esm-es5/ion-back-button.entry.js +0 -4
- package/dist/esm-es5/ion-backdrop.entry.js +0 -4
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +0 -4
- package/dist/esm-es5/ion-button_2.entry.js +0 -4
- package/dist/esm-es5/ion-card_5.entry.js +0 -4
- package/dist/esm-es5/ion-checkbox.entry.js +0 -4
- package/dist/esm-es5/ion-chip.entry.js +0 -4
- package/dist/esm-es5/ion-col_3.entry.js +0 -4
- package/dist/esm-es5/ion-datetime-button.entry.js +0 -4
- package/dist/esm-es5/ion-datetime_3.entry.js +0 -4
- package/dist/esm-es5/ion-fab_3.entry.js +0 -4
- package/dist/esm-es5/ion-img.entry.js +0 -4
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +0 -4
- package/dist/esm-es5/ion-input-password-toggle.entry.js +0 -4
- package/dist/esm-es5/ion-input.entry.js +0 -4
- package/dist/esm-es5/ion-item-option_3.entry.js +0 -4
- package/dist/esm-es5/ion-item_8.entry.js +0 -4
- package/dist/esm-es5/ion-loading.entry.js +0 -4
- package/dist/esm-es5/ion-menu_3.entry.js +0 -4
- package/dist/esm-es5/ion-modal.entry.js +0 -4
- package/dist/esm-es5/ion-nav_2.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column.entry.js +0 -4
- package/dist/esm-es5/ion-picker.entry.js +0 -4
- package/dist/esm-es5/ion-popover.entry.js +0 -4
- package/dist/esm-es5/ion-progress-bar.entry.js +0 -4
- package/dist/esm-es5/ion-radio_2.entry.js +0 -4
- package/dist/esm-es5/ion-range.entry.js +0 -4
- package/dist/esm-es5/ion-refresher_2.entry.js +0 -4
- package/dist/esm-es5/ion-reorder_2.entry.js +0 -4
- package/dist/esm-es5/ion-ripple-effect.entry.js +0 -4
- package/dist/esm-es5/ion-route_4.entry.js +0 -4
- package/dist/esm-es5/ion-searchbar.entry.js +0 -4
- package/dist/esm-es5/ion-segment-content.entry.js +0 -4
- package/dist/esm-es5/ion-segment-view.entry.js +0 -4
- package/dist/esm-es5/ion-segment_2.entry.js +0 -4
- package/dist/esm-es5/ion-select-modal.entry.js +0 -4
- package/dist/esm-es5/ion-select_3.entry.js +0 -4
- package/dist/esm-es5/ion-spinner.entry.js +0 -4
- package/dist/esm-es5/ion-split-pane.entry.js +0 -4
- package/dist/esm-es5/ion-tab-bar_2.entry.js +0 -4
- package/dist/esm-es5/ion-tab_2.entry.js +0 -4
- package/dist/esm-es5/ion-text.entry.js +0 -4
- package/dist/esm-es5/ion-textarea.entry.js +0 -4
- package/dist/esm-es5/ion-toast.entry.js +0 -4
- package/dist/esm-es5/ion-toggle.entry.js +0 -4
- package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
- package/dist/esm-es5/ionic.js +0 -4
- package/dist/esm-es5/ios.transition-4047cb68.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-73175e24.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/loader.js +0 -4
- package/dist/esm-es5/lock-controller-316928be.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/spinner-configs-964f7cf3.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/esm-es5/theme-01f3f29c.js +0 -4
- package/dist/esm-es5/watch-options-c2911ace.js +0 -4
- package/dist/ionic/ionic.js +0 -127
- package/dist/ionic/p-00023f5a.system.js +0 -4
- package/dist/ionic/p-012c3ceb.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-08e01816.system.js +0 -4
- package/dist/ionic/p-105b2e8b.entry.js +0 -4
- package/dist/ionic/p-117d0013.system.entry.js +0 -4
- package/dist/ionic/p-11dca959.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-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-1966a13c.system.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-1b9c59ab.js +0 -4
- package/dist/ionic/p-1d307396.system.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e955a45.system.js +0 -4
- package/dist/ionic/p-20d469d0.system.js +0 -4
- package/dist/ionic/p-21891ead.js +0 -4
- package/dist/ionic/p-2233344a.system.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-2bff0e69.system.entry.js +0 -4
- package/dist/ionic/p-31dc303d.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-3a30f31b.system.entry.js +0 -4
- package/dist/ionic/p-3cee5d7c.system.entry.js +0 -4
- package/dist/ionic/p-3d2b2787.system.entry.js +0 -4
- package/dist/ionic/p-3e1e14d9.system.js +0 -4
- package/dist/ionic/p-3ec227cd.system.entry.js +0 -4
- package/dist/ionic/p-4090ce24.entry.js +0 -4
- package/dist/ionic/p-42f08b26.system.entry.js +0 -4
- package/dist/ionic/p-4393fc08.entry.js +0 -4
- package/dist/ionic/p-44548aa3.system.entry.js +0 -4
- package/dist/ionic/p-4609d030.system.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-4ed5db19.system.js +0 -4
- package/dist/ionic/p-4f255d5a.system.js +0 -4
- package/dist/ionic/p-57d6e18e.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-5fac20aa.system.entry.js +0 -4
- package/dist/ionic/p-612096e6.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-66a5d6a8.js +0 -5
- 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-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-707408c5.system.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-781e2dbb.system.js +0 -4
- package/dist/ionic/p-792919fd.system.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-84096b45.system.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-8985cdb6.system.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-8b8b4530.system.entry.js +0 -4
- package/dist/ionic/p-8d2d39d0.js +0 -4
- package/dist/ionic/p-8dacf4e2.entry.js +0 -4
- package/dist/ionic/p-8ededb41.js +0 -4
- package/dist/ionic/p-94551927.js +0 -4
- package/dist/ionic/p-94a18d00.entry.js +0 -4
- package/dist/ionic/p-95001a19.js +0 -4
- package/dist/ionic/p-965287fb.system.entry.js +0 -4
- package/dist/ionic/p-979d4f5c.system.js +0 -4
- package/dist/ionic/p-98fd942b.system.entry.js +0 -4
- package/dist/ionic/p-9df5043e.system.entry.js +0 -4
- package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
- package/dist/ionic/p-a4866e3e.system.js +0 -4
- package/dist/ionic/p-a5dbe0ff.system.entry.js +0 -4
- package/dist/ionic/p-a7a97bf4.system.entry.js +0 -4
- package/dist/ionic/p-a83e3290.system.js +0 -4
- package/dist/ionic/p-a93873de.system.js +0 -4
- package/dist/ionic/p-aad57e35.entry.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-ad592db9.entry.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-b06ac4a5.system.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-b8050298.system.entry.js +0 -4
- package/dist/ionic/p-b904cfe2.system.entry.js +0 -4
- package/dist/ionic/p-b9c793d4.entry.js +0 -4
- package/dist/ionic/p-bafc3eae.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-c2160d8c.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-cad82569.entry.js +0 -4
- package/dist/ionic/p-d16fab3f.entry.js +0 -4
- package/dist/ionic/p-d1eb2d7f.entry.js +0 -4
- package/dist/ionic/p-d382f09c.system.js +0 -4
- package/dist/ionic/p-d8d84afa.system.js +0 -4
- package/dist/ionic/p-d984c1ab.system.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-e1678e42.entry.js +0 -4
- package/dist/ionic/p-e673a0a2.system.js +0 -4
- package/dist/ionic/p-e727e32d.system.entry.js +0 -4
- package/dist/ionic/p-e7f732ef.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-edd2e3c7.entry.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-f11a9436.system.js +0 -5
- package/dist/ionic/p-f22490a7.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
- package/dist/ionic/p-f6e7d104.system.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/ionic/p-ffa2125f.entry.js +0 -4
- package/loader/package.json +0 -11
- /package/dist/cjs/{compare-with-utils-df1001d7.js → compare-with-utils-DSicavqM.js} +0 -0
- /package/dist/cjs/{cubic-bezier-f2dccc53.js → cubic-bezier-DAjy1V-e.js} +0 -0
- /package/dist/cjs/{dir-94c21456.js → dir-Cn0z1rJH.js} +0 -0
- /package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-CCvKiLh3.js} +0 -0
- /package/dist/cjs/{index-c8d52405.js → index-DkNv4J_i.js} +0 -0
- /package/dist/cjs/{lock-controller-6585a42a.js → lock-controller-aDB9wrEf.js} +0 -0
- /package/dist/cjs/{spinner-configs-282fd50a.js → spinner-configs-DxHKnd3-.js} +0 -0
- /package/dist/cjs/{theme-d1c573d2.js → theme-CeDs6Hcv.js} +0 -0
- /package/dist/cjs/{watch-options-f5f3e158.js → watch-options-CviOsrTS.js} +0 -0
- /package/dist/esm/{compare-with-utils-a96ff2ea.js → compare-with-utils-sObYyvOy.js} +0 -0
- /package/dist/esm/{cubic-bezier-fe2083dc.js → cubic-bezier-hHmYLOfE.js} +0 -0
- /package/dist/esm/{dir-babeabeb.js → dir-C53feagD.js} +0 -0
- /package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-BmVRXR1y.js} +0 -0
- /package/dist/esm/{index-a5d50daf.js → index-ZjP4CjeZ.js} +0 -0
- /package/dist/esm/{lock-controller-316928be.js → lock-controller-B-hirT0v.js} +0 -0
- /package/dist/esm/{spinner-configs-964f7cf3.js → spinner-configs-D4RIp70E.js} +0 -0
- /package/dist/esm/{theme-01f3f29c.js → theme-DiVJyqlX.js} +0 -0
- /package/dist/esm/{watch-options-c2911ace.js → watch-options-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-ccd02320.js → p-B-hirT0v.js} +0 -0
- /package/dist/ionic/{p-9b97df10.js → p-BTEOs1at.js} +0 -0
- /package/dist/ionic/{p-d47265c8.js → p-BmVRXR1y.js} +0 -0
- /package/dist/ionic/{p-fb813dab.js → p-C53feagD.js} +0 -0
- /package/dist/ionic/{p-f0c2a614.js → p-D4RIp70E.js} +0 -0
- /package/dist/ionic/{p-47794def.js → p-DiVJyqlX.js} +0 -0
- /package/dist/ionic/{p-459d13d5.js → p-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-7b30edcc.js → p-ZjP4CjeZ.js} +0 -0
- /package/dist/ionic/{p-2408c236.js → p-hHmYLOfE.js} +0 -0
- /package/dist/ionic/{p-de756e5c.js → p-sObYyvOy.js} +0 -0
|
@@ -3,21 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const index$3 = require('./index-073c7cdc.js');
|
|
18
|
-
const spinnerConfigs = require('./spinner-configs-282fd50a.js');
|
|
19
|
-
require('./capacitor-c04564bf.js');
|
|
20
|
-
require('./index-c8d52405.js');
|
|
6
|
+
var index = require('./index-DODXXb_r.js');
|
|
7
|
+
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
8
|
+
var index$1 = require('./index-CVa6JE57.js');
|
|
9
|
+
var helpers = require('./helpers-BITAzJfi.js');
|
|
10
|
+
var haptic = require('./haptic-ClPPQ_PS.js');
|
|
11
|
+
var animation = require('./animation-0T7gKwOt.js');
|
|
12
|
+
var config = require('./config-U7OAuj53.js');
|
|
13
|
+
var index$2 = require('./index-CPbAsnJK.js');
|
|
14
|
+
var spinnerConfigs = require('./spinner-configs-DxHKnd3-.js');
|
|
15
|
+
require('./capacitor-DmA66EwP.js');
|
|
16
|
+
require('./index-DkNv4J_i.js');
|
|
21
17
|
|
|
22
18
|
const getRefresherAnimationType = (contentEl) => {
|
|
23
19
|
const previousSibling = contentEl.previousElementSibling;
|
|
@@ -208,10 +204,8 @@ const shouldUseNativeRefresher = async (referenceEl, mode) => {
|
|
|
208
204
|
};
|
|
209
205
|
|
|
210
206
|
const refresherIosCss = "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, var(--ion-background-color-step-450, #747577))}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}";
|
|
211
|
-
const IonRefresherIosStyle0 = refresherIosCss;
|
|
212
207
|
|
|
213
208
|
const refresherMdCss = "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #0054e9)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #0054e9);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #ececec));background:var(--ion-color-step-250, var(--ion-background-color-step-250, #ffffff));-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}";
|
|
214
|
-
const IonRefresherMdStyle0 = refresherMdCss;
|
|
215
209
|
|
|
216
210
|
const Refresher = class {
|
|
217
211
|
constructor(hostRef) {
|
|
@@ -229,12 +223,62 @@ const Refresher = class {
|
|
|
229
223
|
this.lastVelocityY = 0;
|
|
230
224
|
this.animations = [];
|
|
231
225
|
this.nativeRefresher = false;
|
|
226
|
+
/**
|
|
227
|
+
* The current state which the refresher is in. The refresher's states include:
|
|
228
|
+
*
|
|
229
|
+
* - `inactive` - The refresher is not being pulled down or refreshing and is currently hidden.
|
|
230
|
+
* - `pulling` - The user is actively pulling down the refresher, but has not reached the point yet that if the user lets go, it'll refresh.
|
|
231
|
+
* - `cancelling` - The user pulled down the refresher and let go, but did not pull down far enough to kick off the `refreshing` state. After letting go, the refresher is in the `cancelling` state while it is closing, and will go back to the `inactive` state once closed.
|
|
232
|
+
* - `ready` - The user has pulled down the refresher far enough that if they let go, it'll begin the `refreshing` state.
|
|
233
|
+
* - `refreshing` - The refresher is actively waiting on the async operation to end. Once the refresh handler calls `complete()` it will begin the `completing` state.
|
|
234
|
+
* - `completing` - The `refreshing` state has finished and the refresher is in the way of closing itself. Once closed, the refresher will go back to the `inactive` state.
|
|
235
|
+
*/
|
|
232
236
|
this.state = 1 /* RefresherState.Inactive */;
|
|
237
|
+
/**
|
|
238
|
+
* The minimum distance the user must pull down until the
|
|
239
|
+
* refresher will go into the `refreshing` state.
|
|
240
|
+
* Does not apply when the refresher content uses a spinner,
|
|
241
|
+
* enabling the native refresher.
|
|
242
|
+
*/
|
|
233
243
|
this.pullMin = 60;
|
|
244
|
+
/**
|
|
245
|
+
* The maximum distance of the pull until the refresher
|
|
246
|
+
* will automatically go into the `refreshing` state.
|
|
247
|
+
* Defaults to the result of `pullMin + 60`.
|
|
248
|
+
* Does not apply when the refresher content uses a spinner,
|
|
249
|
+
* enabling the native refresher.
|
|
250
|
+
*/
|
|
234
251
|
this.pullMax = this.pullMin + 60;
|
|
252
|
+
/**
|
|
253
|
+
* Time it takes to close the refresher.
|
|
254
|
+
* Does not apply when the refresher content uses a spinner,
|
|
255
|
+
* enabling the native refresher.
|
|
256
|
+
*/
|
|
235
257
|
this.closeDuration = '280ms';
|
|
258
|
+
/**
|
|
259
|
+
* Time it takes the refresher to snap back to the `refreshing` state.
|
|
260
|
+
* Does not apply when the refresher content uses a spinner,
|
|
261
|
+
* enabling the native refresher.
|
|
262
|
+
*/
|
|
236
263
|
this.snapbackDuration = '280ms';
|
|
264
|
+
/**
|
|
265
|
+
* How much to multiply the pull speed by. To slow the pull animation down,
|
|
266
|
+
* pass a number less than `1`. To speed up the pull, pass a number greater
|
|
267
|
+
* than `1`. The default value is `1` which is equal to the speed of the cursor.
|
|
268
|
+
* If a negative value is passed in, the factor will be `1` instead.
|
|
269
|
+
*
|
|
270
|
+
* For example: If the value passed is `1.2` and the content is dragged by
|
|
271
|
+
* `10` pixels, instead of `10` pixels the content will be pulled by `12` pixels
|
|
272
|
+
* (an increase of 20 percent). If the value passed is `0.8`, the dragged amount
|
|
273
|
+
* will be `8` pixels, less than the amount the cursor has moved.
|
|
274
|
+
*
|
|
275
|
+
* Does not apply when the refresher content uses a spinner,
|
|
276
|
+
* enabling the native refresher.
|
|
277
|
+
*/
|
|
237
278
|
this.pullFactor = 1;
|
|
279
|
+
/**
|
|
280
|
+
* If `true`, the refresher will be hidden.
|
|
281
|
+
*/
|
|
238
282
|
this.disabled = false;
|
|
239
283
|
}
|
|
240
284
|
disabledChanged() {
|
|
@@ -243,7 +287,7 @@ const Refresher = class {
|
|
|
243
287
|
}
|
|
244
288
|
}
|
|
245
289
|
async checkNativeRefresher() {
|
|
246
|
-
const useNativeRefresher = await shouldUseNativeRefresher(this.el,
|
|
290
|
+
const useNativeRefresher = await shouldUseNativeRefresher(this.el, index.getIonMode(this));
|
|
247
291
|
if (useNativeRefresher && !this.nativeRefresher) {
|
|
248
292
|
const contentEl = this.el.closest('ion-content');
|
|
249
293
|
this.setupNativeRefresher(contentEl);
|
|
@@ -261,7 +305,7 @@ const Refresher = class {
|
|
|
261
305
|
}
|
|
262
306
|
async resetNativeRefresher(el, state) {
|
|
263
307
|
this.state = state;
|
|
264
|
-
if (
|
|
308
|
+
if (index.getIonMode(this) === 'ios') {
|
|
265
309
|
await translateElement(el, undefined, 300);
|
|
266
310
|
}
|
|
267
311
|
else {
|
|
@@ -346,7 +390,7 @@ const Refresher = class {
|
|
|
346
390
|
});
|
|
347
391
|
};
|
|
348
392
|
this.scrollEl.addEventListener('scroll', this.scrollListenerCallback);
|
|
349
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
393
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-CAvQ7Tka.js'); })).createGesture({
|
|
350
394
|
el: this.scrollEl,
|
|
351
395
|
gestureName: 'refresher',
|
|
352
396
|
gesturePriority: 31,
|
|
@@ -398,7 +442,7 @@ const Refresher = class {
|
|
|
398
442
|
refreshingCircle.style.setProperty('animation-delay', '-655ms');
|
|
399
443
|
});
|
|
400
444
|
}
|
|
401
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
445
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-CAvQ7Tka.js'); })).createGesture({
|
|
402
446
|
el: this.scrollEl,
|
|
403
447
|
gestureName: 'refresher',
|
|
404
448
|
gesturePriority: 31,
|
|
@@ -483,7 +527,7 @@ const Refresher = class {
|
|
|
483
527
|
this.nativeRefresher = true;
|
|
484
528
|
const pullingSpinner = this.el.querySelector('ion-refresher-content .refresher-pulling ion-spinner');
|
|
485
529
|
const refreshingSpinner = this.el.querySelector('ion-refresher-content .refresher-refreshing ion-spinner');
|
|
486
|
-
if (
|
|
530
|
+
if (index.getIonMode(this) === 'ios') {
|
|
487
531
|
this.setupiOSNativeRefresher(pullingSpinner, refreshingSpinner);
|
|
488
532
|
}
|
|
489
533
|
else {
|
|
@@ -495,7 +539,7 @@ const Refresher = class {
|
|
|
495
539
|
}
|
|
496
540
|
async connectedCallback() {
|
|
497
541
|
if (this.el.getAttribute('slot') !== 'fixed') {
|
|
498
|
-
index
|
|
542
|
+
index.printIonError('[ion-refresher] - Make sure you use: <ion-refresher slot="fixed">');
|
|
499
543
|
return;
|
|
500
544
|
}
|
|
501
545
|
const contentEl = this.el.closest(index$1.ION_CONTENT_ELEMENT_SELECTOR);
|
|
@@ -526,11 +570,11 @@ const Refresher = class {
|
|
|
526
570
|
* hidden because it is positioned behind the background content element.
|
|
527
571
|
*/
|
|
528
572
|
this.contentFullscreen = contentEl.fullscreen;
|
|
529
|
-
if (await shouldUseNativeRefresher(this.el,
|
|
573
|
+
if (await shouldUseNativeRefresher(this.el, index.getIonMode(this))) {
|
|
530
574
|
this.setupNativeRefresher(contentEl);
|
|
531
575
|
}
|
|
532
576
|
else {
|
|
533
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
577
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-CAvQ7Tka.js'); })).createGesture({
|
|
534
578
|
el: contentEl,
|
|
535
579
|
gestureName: 'refresher',
|
|
536
580
|
gesturePriority: 31,
|
|
@@ -826,8 +870,8 @@ const Refresher = class {
|
|
|
826
870
|
}
|
|
827
871
|
}
|
|
828
872
|
render() {
|
|
829
|
-
const mode =
|
|
830
|
-
return (index.h(index.Host, { key: '
|
|
873
|
+
const mode = index.getIonMode(this);
|
|
874
|
+
return (index.h(index.Host, { key: '8c7a5cc32da02a9cbeaa954258148683f60a6d1b', slot: "fixed", class: {
|
|
831
875
|
[mode]: true,
|
|
832
876
|
// Used internally for styling
|
|
833
877
|
[`refresher-${mode}`]: true,
|
|
@@ -846,18 +890,14 @@ const Refresher = class {
|
|
|
846
890
|
}; }
|
|
847
891
|
};
|
|
848
892
|
Refresher.style = {
|
|
849
|
-
ios:
|
|
850
|
-
md:
|
|
893
|
+
ios: refresherIosCss,
|
|
894
|
+
md: refresherMdCss
|
|
851
895
|
};
|
|
852
896
|
|
|
853
897
|
const RefresherContent = class {
|
|
854
898
|
constructor(hostRef) {
|
|
855
899
|
index.registerInstance(this, hostRef);
|
|
856
|
-
this.customHTMLEnabled = index
|
|
857
|
-
this.pullingIcon = undefined;
|
|
858
|
-
this.pullingText = undefined;
|
|
859
|
-
this.refreshingSpinner = undefined;
|
|
860
|
-
this.refreshingText = undefined;
|
|
900
|
+
this.customHTMLEnabled = index.config.get('innerHTMLTemplatesEnabled', config.ENABLE_HTML_CONTENT_DEFAULT);
|
|
861
901
|
}
|
|
862
902
|
componentWillLoad() {
|
|
863
903
|
if (this.pullingIcon === undefined) {
|
|
@@ -867,13 +907,13 @@ const RefresherContent = class {
|
|
|
867
907
|
* the native iOS refresher.
|
|
868
908
|
*/
|
|
869
909
|
const hasRubberBandScrolling = supportsRubberBandScrolling();
|
|
870
|
-
const mode =
|
|
871
|
-
const overflowRefresher = hasRubberBandScrolling ? 'lines' : index$
|
|
872
|
-
this.pullingIcon = index
|
|
910
|
+
const mode = index.getIonMode(this);
|
|
911
|
+
const overflowRefresher = hasRubberBandScrolling ? 'lines' : index$2.arrowDown;
|
|
912
|
+
this.pullingIcon = index.config.get('refreshingIcon', mode === 'ios' && hasRubberBandScrolling ? index.config.get('spinner', overflowRefresher) : 'circular');
|
|
873
913
|
}
|
|
874
914
|
if (this.refreshingSpinner === undefined) {
|
|
875
|
-
const mode =
|
|
876
|
-
this.refreshingSpinner = index
|
|
915
|
+
const mode = index.getIonMode(this);
|
|
916
|
+
this.refreshingSpinner = index.config.get('refreshingSpinner', index.config.get('spinner', mode === 'ios' ? 'lines' : 'circular'));
|
|
877
917
|
}
|
|
878
918
|
}
|
|
879
919
|
renderPullingText() {
|
|
@@ -893,8 +933,8 @@ const RefresherContent = class {
|
|
|
893
933
|
render() {
|
|
894
934
|
const pullingIcon = this.pullingIcon;
|
|
895
935
|
const hasSpinner = pullingIcon != null && spinnerConfigs.SPINNERS[pullingIcon] !== undefined;
|
|
896
|
-
const mode =
|
|
897
|
-
return (index.h(index.Host, { key: '
|
|
936
|
+
const mode = index.getIonMode(this);
|
|
937
|
+
return (index.h(index.Host, { key: 'e235f8a9a84070ece2e2066ced234a64663bfa1d', class: mode }, index.h("div", { key: '9121691818ddaa35801a5f442e144ac27686cf19', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (index.h("div", { key: 'c8d65d740f1575041bd3b752c789077927397fe4', class: "refresher-pulling-icon" }, index.h("div", { key: '309dd904977eaa788b09ea95b7fa4996a73bec5b', class: "spinner-arrow-container" }, index.h("ion-spinner", { key: 'a2a1480f67775d56ca7822e76be1e9f983bca2f9', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (index.h("div", { key: '811d7e06d324bf4b6a18a31427a43e5177f3ae3a', class: "arrow-container" }, index.h("ion-icon", { key: '86cc48e2e8dc054ff6ff1299094da35b524be63d', icon: index$2.caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (index.h("div", { key: '464ae097dbc95c18a2dd7dfd03f8489153dab719', class: "refresher-pulling-icon" }, index.h("ion-icon", { key: 'ed6875978b9035add562caa743a68353743d978f', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), index.h("div", { key: 'aff891924e44354543fec484e5cde1ca92e69904', class: "refresher-refreshing" }, this.refreshingSpinner && (index.h("div", { key: '842d7ac4ff10a1058775493d62f31cbdcd34f7a0', class: "refresher-refreshing-icon" }, index.h("ion-spinner", { key: '8c3e6195501e7e78d5cde1e3ad1fef90fd4a953f', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
898
938
|
}
|
|
899
939
|
get el() { return index.getElement(this); }
|
|
900
940
|
};
|
|
@@ -3,23 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const haptic = require('./haptic-f6b37aa3.js');
|
|
14
|
-
require('./index-cc858e97.js');
|
|
15
|
-
require('./capacitor-c04564bf.js');
|
|
16
|
-
require('./index-c8d52405.js');
|
|
6
|
+
var index = require('./index-DODXXb_r.js');
|
|
7
|
+
var index$1 = require('./index-CPbAsnJK.js');
|
|
8
|
+
var index$2 = require('./index-CVa6JE57.js');
|
|
9
|
+
var helpers = require('./helpers-BITAzJfi.js');
|
|
10
|
+
var haptic = require('./haptic-ClPPQ_PS.js');
|
|
11
|
+
require('./capacitor-DmA66EwP.js');
|
|
12
|
+
require('./index-DkNv4J_i.js');
|
|
17
13
|
|
|
18
14
|
const reorderIosCss = ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}";
|
|
19
|
-
const IonReorderIosStyle0 = reorderIosCss;
|
|
20
15
|
|
|
21
16
|
const reorderMdCss = ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}";
|
|
22
|
-
const IonReorderMdStyle0 = reorderMdCss;
|
|
23
17
|
|
|
24
18
|
const Reorder = class {
|
|
25
19
|
constructor(hostRef) {
|
|
@@ -35,19 +29,18 @@ const Reorder = class {
|
|
|
35
29
|
}
|
|
36
30
|
}
|
|
37
31
|
render() {
|
|
38
|
-
const mode =
|
|
32
|
+
const mode = index.getIonMode(this);
|
|
39
33
|
const reorderIcon = mode === 'ios' ? index$1.reorderThreeOutline : index$1.reorderTwoSharp;
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: 'e6807bb349725682e99e791ac65e729a360d64e8', class: mode }, index.h("slot", { key: '1c691cdbffa6427ba08dc12184c69559ed5d5506' }, index.h("ion-icon", { key: '8b4150302cdca475379582b2251737b5e74079b1', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
41
35
|
}
|
|
42
36
|
get el() { return index.getElement(this); }
|
|
43
37
|
};
|
|
44
38
|
Reorder.style = {
|
|
45
|
-
ios:
|
|
46
|
-
md:
|
|
39
|
+
ios: reorderIosCss,
|
|
40
|
+
md: reorderMdCss
|
|
47
41
|
};
|
|
48
42
|
|
|
49
43
|
const reorderGroupCss = ".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}";
|
|
50
|
-
const IonReorderGroupStyle0 = reorderGroupCss;
|
|
51
44
|
|
|
52
45
|
const ReorderGroup = class {
|
|
53
46
|
constructor(hostRef) {
|
|
@@ -61,6 +54,9 @@ const ReorderGroup = class {
|
|
|
61
54
|
this.containerTop = 0;
|
|
62
55
|
this.containerBottom = 0;
|
|
63
56
|
this.state = 0 /* ReorderGroupState.Idle */;
|
|
57
|
+
/**
|
|
58
|
+
* If `true`, the reorder will be hidden.
|
|
59
|
+
*/
|
|
64
60
|
this.disabled = true;
|
|
65
61
|
}
|
|
66
62
|
disabledChanged() {
|
|
@@ -73,7 +69,7 @@ const ReorderGroup = class {
|
|
|
73
69
|
if (contentEl) {
|
|
74
70
|
this.scrollEl = await index$2.getScrollElement(contentEl);
|
|
75
71
|
}
|
|
76
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
72
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-CAvQ7Tka.js'); })).createGesture({
|
|
77
73
|
el: this.el,
|
|
78
74
|
gestureName: 'reorder',
|
|
79
75
|
gesturePriority: 110,
|
|
@@ -271,7 +267,7 @@ const ReorderGroup = class {
|
|
|
271
267
|
}
|
|
272
268
|
let amount = 0;
|
|
273
269
|
if (posY < this.scrollElTop) {
|
|
274
|
-
amount = -
|
|
270
|
+
amount = -10;
|
|
275
271
|
}
|
|
276
272
|
else if (posY > this.scrollElBottom) {
|
|
277
273
|
amount = SCROLL_JUMP;
|
|
@@ -282,8 +278,8 @@ const ReorderGroup = class {
|
|
|
282
278
|
return this.scrollEl.scrollTop - this.scrollElInitial;
|
|
283
279
|
}
|
|
284
280
|
render() {
|
|
285
|
-
const mode =
|
|
286
|
-
return (index.h(index.Host, { key: '
|
|
281
|
+
const mode = index.getIonMode(this);
|
|
282
|
+
return (index.h(index.Host, { key: 'f30613b361c5c3095b7928a92fb4b1e8d6eff600', class: {
|
|
287
283
|
[mode]: true,
|
|
288
284
|
'reorder-enabled': !this.disabled,
|
|
289
285
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -317,7 +313,7 @@ const reorderArray = (array, from, to) => {
|
|
|
317
313
|
array.splice(to, 0, element);
|
|
318
314
|
return array.slice();
|
|
319
315
|
};
|
|
320
|
-
ReorderGroup.style =
|
|
316
|
+
ReorderGroup.style = reorderGroupCss;
|
|
321
317
|
|
|
322
318
|
exports.ion_reorder = Reorder;
|
|
323
319
|
exports.ion_reorder_group = ReorderGroup;
|
|
@@ -3,18 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const index = require('./index-2e236a04.js');
|
|
9
|
-
const ionicGlobal = require('./ionic-global-6dea5a96.js');
|
|
10
|
-
require('./index-cc858e97.js');
|
|
6
|
+
var index = require('./index-DODXXb_r.js');
|
|
11
7
|
|
|
12
8
|
const rippleEffectCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";
|
|
13
|
-
const IonRippleEffectStyle0 = rippleEffectCss;
|
|
14
9
|
|
|
15
10
|
const RippleEffect = class {
|
|
16
11
|
constructor(hostRef) {
|
|
17
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* Sets the type of ripple-effect:
|
|
15
|
+
*
|
|
16
|
+
* - `bounded`: the ripple effect expands from the user's click position
|
|
17
|
+
* - `unbounded`: the ripple effect expands from the center of the button and overflows the container.
|
|
18
|
+
*
|
|
19
|
+
* NOTE: Surfaces for bounded ripples should have the overflow property set to hidden,
|
|
20
|
+
* while surfaces for unbounded ripples should have it set to visible.
|
|
21
|
+
*/
|
|
18
22
|
this.type = 'bounded';
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
@@ -68,8 +72,8 @@ const RippleEffect = class {
|
|
|
68
72
|
return this.type === 'unbounded';
|
|
69
73
|
}
|
|
70
74
|
render() {
|
|
71
|
-
const mode =
|
|
72
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
const mode = index.getIonMode(this);
|
|
76
|
+
return (index.h(index.Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
73
77
|
[mode]: true,
|
|
74
78
|
unbounded: this.unbounded,
|
|
75
79
|
} }));
|
|
@@ -84,6 +88,6 @@ const removeRipple = (ripple) => {
|
|
|
84
88
|
};
|
|
85
89
|
const PADDING = 10;
|
|
86
90
|
const INITIAL_ORIGIN_SCALE = 0.5;
|
|
87
|
-
RippleEffect.style =
|
|
91
|
+
RippleEffect.style = rippleEffectCss;
|
|
88
92
|
|
|
89
93
|
exports.ion_ripple_effect = RippleEffect;
|
|
@@ -3,23 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const helpers = require('./helpers-8a48fdea.js');
|
|
10
|
-
const index$1 = require('./index-cc858e97.js');
|
|
11
|
-
const theme = require('./theme-d1c573d2.js');
|
|
12
|
-
const ionicGlobal = require('./ionic-global-6dea5a96.js');
|
|
6
|
+
var index = require('./index-DODXXb_r.js');
|
|
7
|
+
var helpers = require('./helpers-BITAzJfi.js');
|
|
8
|
+
var theme = require('./theme-CeDs6Hcv.js');
|
|
13
9
|
|
|
14
10
|
const Route = class {
|
|
15
11
|
constructor(hostRef) {
|
|
16
12
|
index.registerInstance(this, hostRef);
|
|
17
13
|
this.ionRouteDataChanged = index.createEvent(this, "ionRouteDataChanged", 7);
|
|
14
|
+
/**
|
|
15
|
+
* Relative path that needs to match in order for this route to apply.
|
|
16
|
+
*
|
|
17
|
+
* Accepts paths similar to expressjs so that you can define parameters
|
|
18
|
+
* in the url /foo/:bar where bar would be available in incoming props.
|
|
19
|
+
*/
|
|
18
20
|
this.url = '';
|
|
19
|
-
this.component = undefined;
|
|
20
|
-
this.componentProps = undefined;
|
|
21
|
-
this.beforeLeave = undefined;
|
|
22
|
-
this.beforeEnter = undefined;
|
|
23
21
|
}
|
|
24
22
|
onUpdate(newValue) {
|
|
25
23
|
this.ionRouteDataChanged.emit(newValue);
|
|
@@ -55,8 +53,6 @@ const RouteRedirect = class {
|
|
|
55
53
|
constructor(hostRef) {
|
|
56
54
|
index.registerInstance(this, hostRef);
|
|
57
55
|
this.ionRouteRedirectChanged = index.createEvent(this, "ionRouteRedirectChanged", 7);
|
|
58
|
-
this.from = undefined;
|
|
59
|
-
this.to = undefined;
|
|
60
56
|
}
|
|
61
57
|
propDidChange() {
|
|
62
58
|
this.ionRouteRedirectChanged.emit();
|
|
@@ -207,16 +203,16 @@ const printRedirects = (redirects) => {
|
|
|
207
203
|
* The methods calls setRouteId on each of the outlet with the corresponding route entry in the chain.
|
|
208
204
|
* setRouteId will create or select the view in the outlet.
|
|
209
205
|
*/
|
|
210
|
-
const writeNavState = async (root, chain, direction, index, changed = false, animation) => {
|
|
206
|
+
const writeNavState = async (root, chain, direction, index$1, changed = false, animation) => {
|
|
211
207
|
try {
|
|
212
208
|
// find next navigation outlet in the DOM
|
|
213
209
|
const outlet = searchNavNode(root);
|
|
214
210
|
// make sure we can continue interacting the DOM, otherwise abort
|
|
215
|
-
if (index >= chain.length || !outlet) {
|
|
211
|
+
if (index$1 >= chain.length || !outlet) {
|
|
216
212
|
return changed;
|
|
217
213
|
}
|
|
218
214
|
await new Promise((resolve) => helpers.componentOnReady(outlet, resolve));
|
|
219
|
-
const route = chain[index];
|
|
215
|
+
const route = chain[index$1];
|
|
220
216
|
const result = await outlet.setRouteId(route.id, route.params, direction, animation);
|
|
221
217
|
// if the outlet changed the page, reset navigation to neutral (no direction)
|
|
222
218
|
// this means nested outlets will not animate
|
|
@@ -225,7 +221,7 @@ const writeNavState = async (root, chain, direction, index, changed = false, ani
|
|
|
225
221
|
changed = true;
|
|
226
222
|
}
|
|
227
223
|
// recursively set nested outlets
|
|
228
|
-
changed = await writeNavState(result.element, chain, direction, index + 1, changed, animation);
|
|
224
|
+
changed = await writeNavState(result.element, chain, direction, index$1 + 1, changed, animation);
|
|
229
225
|
// once all nested outlets are visible let's make the parent visible too,
|
|
230
226
|
// using markVisible prevents flickering
|
|
231
227
|
if (result.markVisible) {
|
|
@@ -234,7 +230,7 @@ const writeNavState = async (root, chain, direction, index, changed = false, ani
|
|
|
234
230
|
return changed;
|
|
235
231
|
}
|
|
236
232
|
catch (e) {
|
|
237
|
-
index
|
|
233
|
+
index.printIonError('[ion-router] - Exception in writeNavState:', e);
|
|
238
234
|
return false;
|
|
239
235
|
}
|
|
240
236
|
};
|
|
@@ -602,7 +598,25 @@ const Router = class {
|
|
|
602
598
|
this.busy = false;
|
|
603
599
|
this.state = 0;
|
|
604
600
|
this.lastState = 0;
|
|
601
|
+
/**
|
|
602
|
+
* The root path to use when matching URLs. By default, this is set to "/", but you can specify
|
|
603
|
+
* an alternate prefix for all URL paths.
|
|
604
|
+
*/
|
|
605
605
|
this.root = '/';
|
|
606
|
+
/**
|
|
607
|
+
* The router can work in two "modes":
|
|
608
|
+
* - With hash: `/index.html#/path/to/page`
|
|
609
|
+
* - Without hash: `/path/to/page`
|
|
610
|
+
*
|
|
611
|
+
* Using one or another might depend in the requirements of your app and/or where it's deployed.
|
|
612
|
+
*
|
|
613
|
+
* Usually "hash-less" navigation works better for SEO and it's more user friendly too, but it might
|
|
614
|
+
* requires additional server-side configuration in order to properly work.
|
|
615
|
+
*
|
|
616
|
+
* On the other side hash-navigation is much easier to deploy, it even works over the file protocol.
|
|
617
|
+
*
|
|
618
|
+
* By default, this property is `true`, change to `false` to allow hash-less URLs.
|
|
619
|
+
*/
|
|
606
620
|
this.useHash = true;
|
|
607
621
|
}
|
|
608
622
|
async componentWillLoad() {
|
|
@@ -697,19 +711,19 @@ const Router = class {
|
|
|
697
711
|
/** @internal */
|
|
698
712
|
async navChanged(direction) {
|
|
699
713
|
if (this.busy) {
|
|
700
|
-
index
|
|
714
|
+
index.printIonWarning('[ion-router] - Router is busy, navChanged was cancelled.');
|
|
701
715
|
return false;
|
|
702
716
|
}
|
|
703
717
|
const { ids, outlet } = await readNavState(window.document.body);
|
|
704
718
|
const routes = readRoutes(this.el);
|
|
705
719
|
const chain = findChainForIDs(ids, routes);
|
|
706
720
|
if (!chain) {
|
|
707
|
-
index
|
|
721
|
+
index.printIonWarning('[ion-router] - No matching URL for', ids.map((i) => i.id));
|
|
708
722
|
return false;
|
|
709
723
|
}
|
|
710
724
|
const segments = chainToSegments(chain);
|
|
711
725
|
if (!segments) {
|
|
712
|
-
index
|
|
726
|
+
index.printIonWarning('[ion-router] - Router could not match path because some required param is missing.');
|
|
713
727
|
return false;
|
|
714
728
|
}
|
|
715
729
|
this.setSegments(segments, direction);
|
|
@@ -747,7 +761,7 @@ const Router = class {
|
|
|
747
761
|
}
|
|
748
762
|
async writeNavStateRoot(segments, direction, animation) {
|
|
749
763
|
if (!segments) {
|
|
750
|
-
index
|
|
764
|
+
index.printIonError('[ion-router] - URL is not part of the routing set.');
|
|
751
765
|
return false;
|
|
752
766
|
}
|
|
753
767
|
// lookup redirect rule
|
|
@@ -764,20 +778,20 @@ const Router = class {
|
|
|
764
778
|
const routes = readRoutes(this.el);
|
|
765
779
|
const chain = findChainForSegments(segments, routes);
|
|
766
780
|
if (!chain) {
|
|
767
|
-
index
|
|
781
|
+
index.printIonError('[ion-router] - The path does not match any route.');
|
|
768
782
|
return false;
|
|
769
783
|
}
|
|
770
784
|
// write DOM give
|
|
771
785
|
return this.safeWriteNavState(document.body, chain, direction, segments, redirectFrom, 0, animation);
|
|
772
786
|
}
|
|
773
|
-
async safeWriteNavState(node, chain, direction, segments, redirectFrom, index = 0, animation) {
|
|
787
|
+
async safeWriteNavState(node, chain, direction, segments, redirectFrom, index$1 = 0, animation) {
|
|
774
788
|
const unlock = await this.lock();
|
|
775
789
|
let changed = false;
|
|
776
790
|
try {
|
|
777
|
-
changed = await this.writeNavState(node, chain, direction, segments, redirectFrom, index, animation);
|
|
791
|
+
changed = await this.writeNavState(node, chain, direction, segments, redirectFrom, index$1, animation);
|
|
778
792
|
}
|
|
779
793
|
catch (e) {
|
|
780
|
-
index
|
|
794
|
+
index.printIonError('[ion-router] - Exception in safeWriteNavState:', e);
|
|
781
795
|
}
|
|
782
796
|
unlock();
|
|
783
797
|
return changed;
|
|
@@ -817,9 +831,9 @@ const Router = class {
|
|
|
817
831
|
const beforeEnterHook = toChain && toChain[toChain.length - 1].beforeEnter;
|
|
818
832
|
return beforeEnterHook ? beforeEnterHook() : true;
|
|
819
833
|
}
|
|
820
|
-
async writeNavState(node, chain, direction, segments, redirectFrom, index = 0, animation) {
|
|
834
|
+
async writeNavState(node, chain, direction, segments, redirectFrom, index$1 = 0, animation) {
|
|
821
835
|
if (this.busy) {
|
|
822
|
-
index
|
|
836
|
+
index.printIonWarning('[ion-router] - Router is busy, transition was cancelled.');
|
|
823
837
|
return false;
|
|
824
838
|
}
|
|
825
839
|
this.busy = true;
|
|
@@ -828,7 +842,7 @@ const Router = class {
|
|
|
828
842
|
if (routeEvent) {
|
|
829
843
|
this.ionRouteWillChange.emit(routeEvent);
|
|
830
844
|
}
|
|
831
|
-
const changed = await writeNavState(node, chain, direction, index, false, animation);
|
|
845
|
+
const changed = await writeNavState(node, chain, direction, index$1, false, animation);
|
|
832
846
|
this.busy = false;
|
|
833
847
|
// emit did change
|
|
834
848
|
if (routeEvent) {
|
|
@@ -861,35 +875,33 @@ const Router = class {
|
|
|
861
875
|
};
|
|
862
876
|
|
|
863
877
|
const routerLinkCss = ":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";
|
|
864
|
-
const IonRouterLinkStyle0 = routerLinkCss;
|
|
865
878
|
|
|
866
879
|
const RouterLink = class {
|
|
867
880
|
constructor(hostRef) {
|
|
868
881
|
index.registerInstance(this, hostRef);
|
|
882
|
+
/**
|
|
883
|
+
* When using a router, it specifies the transition direction when navigating to
|
|
884
|
+
* another page using `href`.
|
|
885
|
+
*/
|
|
886
|
+
this.routerDirection = 'forward';
|
|
869
887
|
this.onClick = (ev) => {
|
|
870
888
|
theme.openURL(this.href, ev, this.routerDirection, this.routerAnimation);
|
|
871
889
|
};
|
|
872
|
-
this.color = undefined;
|
|
873
|
-
this.href = undefined;
|
|
874
|
-
this.rel = undefined;
|
|
875
|
-
this.routerDirection = 'forward';
|
|
876
|
-
this.routerAnimation = undefined;
|
|
877
|
-
this.target = undefined;
|
|
878
890
|
}
|
|
879
891
|
render() {
|
|
880
|
-
const mode =
|
|
892
|
+
const mode = index.getIonMode(this);
|
|
881
893
|
const attrs = {
|
|
882
894
|
href: this.href,
|
|
883
895
|
rel: this.rel,
|
|
884
896
|
target: this.target,
|
|
885
897
|
};
|
|
886
|
-
return (index.h(index.Host, { key: '
|
|
898
|
+
return (index.h(index.Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
887
899
|
[mode]: true,
|
|
888
900
|
'ion-activatable': true,
|
|
889
|
-
}) }, index.h("a", Object.assign({ key: '
|
|
901
|
+
}) }, index.h("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), index.h("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
890
902
|
}
|
|
891
903
|
};
|
|
892
|
-
RouterLink.style =
|
|
904
|
+
RouterLink.style = routerLinkCss;
|
|
893
905
|
|
|
894
906
|
exports.ion_route = Route;
|
|
895
907
|
exports.ion_route_redirect = RouteRedirect;
|