@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,27 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const index = require('./index-c8d52405.js');
|
|
24
|
-
require('./hardware-back-button-3d2b1004.js');
|
|
25
|
-
require('./gesture-controller-9436f482.js');
|
|
26
|
-
require('./keyboard-0272231f.js');
|
|
6
|
+
var index$3 = require('./index-DODXXb_r.js');
|
|
7
|
+
var index$2 = require('./index-CVa6JE57.js');
|
|
8
|
+
var frameworkDelegate = require('./framework-delegate-C7sIJyT5.js');
|
|
9
|
+
var helpers = require('./helpers-BITAzJfi.js');
|
|
10
|
+
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
11
|
+
var capacitor = require('./capacitor-DmA66EwP.js');
|
|
12
|
+
var overlays = require('./overlays-DRDumz2b.js');
|
|
13
|
+
var theme = require('./theme-CeDs6Hcv.js');
|
|
14
|
+
var index$4 = require('./index-y0QaNtCi.js');
|
|
15
|
+
var keyboard = require('./keyboard-hHzlEQpk.js');
|
|
16
|
+
var animation = require('./animation-0T7gKwOt.js');
|
|
17
|
+
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
18
|
+
var index$1 = require('./index-CAvQ7Tka.js');
|
|
19
|
+
var index = require('./index-DkNv4J_i.js');
|
|
20
|
+
require('./hardware-back-button-D90qZxju.js');
|
|
21
|
+
require('./gesture-controller-dtqlP_q4.js');
|
|
22
|
+
require('./keyboard-UuAS4D_9.js');
|
|
27
23
|
|
|
28
24
|
var Style;
|
|
29
25
|
(function (Style) {
|
|
@@ -445,7 +441,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
445
441
|
* canDismiss is checked.
|
|
446
442
|
*/
|
|
447
443
|
const shouldComplete = !isAttemptingDismissWithCanDismiss && threshold >= DISMISS_THRESHOLD;
|
|
448
|
-
let newStepValue = shouldComplete ? -
|
|
444
|
+
let newStepValue = shouldComplete ? -1e-3 : 0.001;
|
|
449
445
|
if (!shouldComplete) {
|
|
450
446
|
animation.easing('cubic-bezier(1, 0, 0.68, 0.28)');
|
|
451
447
|
newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], clampedStep)[0];
|
|
@@ -1292,10 +1288,8 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1292
1288
|
};
|
|
1293
1289
|
|
|
1294
1290
|
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}";
|
|
1295
|
-
const IonModalIosStyle0 = modalIosCss;
|
|
1296
1291
|
|
|
1297
1292
|
const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}";
|
|
1298
|
-
const IonModalMdStyle0 = modalMdCss;
|
|
1299
1293
|
|
|
1300
1294
|
const Modal = class {
|
|
1301
1295
|
constructor(hostRef) {
|
|
@@ -1318,6 +1312,112 @@ const Modal = class {
|
|
|
1318
1312
|
this.inline = false;
|
|
1319
1313
|
// Whether or not modal is being dismissed via gesture
|
|
1320
1314
|
this.gestureAnimationDismissing = false;
|
|
1315
|
+
this.presented = false;
|
|
1316
|
+
/** @internal */
|
|
1317
|
+
this.hasController = false;
|
|
1318
|
+
/**
|
|
1319
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
1320
|
+
*/
|
|
1321
|
+
this.keyboardClose = true;
|
|
1322
|
+
/**
|
|
1323
|
+
* Controls whether scrolling or dragging within the sheet modal expands
|
|
1324
|
+
* it to a larger breakpoint. This only takes effect when `breakpoints`
|
|
1325
|
+
* and `initialBreakpoint` are set.
|
|
1326
|
+
*
|
|
1327
|
+
* If `true`, scrolling or dragging anywhere in the modal will first expand
|
|
1328
|
+
* it to the next breakpoint. Once fully expanded, scrolling will affect the
|
|
1329
|
+
* content.
|
|
1330
|
+
* If `false`, scrolling will always affect the content. The modal will
|
|
1331
|
+
* only expand when dragging the header or handle. The modal will close when
|
|
1332
|
+
* dragging the header or handle. It can also be closed when dragging the
|
|
1333
|
+
* content, but only if the content is scrolled to the top.
|
|
1334
|
+
*/
|
|
1335
|
+
this.expandToScroll = true;
|
|
1336
|
+
/**
|
|
1337
|
+
* A decimal value between 0 and 1 that indicates the
|
|
1338
|
+
* point after which the backdrop will begin to fade in
|
|
1339
|
+
* when using a sheet modal. Prior to this point, the
|
|
1340
|
+
* backdrop will be hidden and the content underneath
|
|
1341
|
+
* the sheet can be interacted with. This value is exclusive
|
|
1342
|
+
* meaning the backdrop will become active after the value
|
|
1343
|
+
* specified.
|
|
1344
|
+
*/
|
|
1345
|
+
this.backdropBreakpoint = 0;
|
|
1346
|
+
/**
|
|
1347
|
+
* The interaction behavior for the sheet modal when the handle is pressed.
|
|
1348
|
+
*
|
|
1349
|
+
* Defaults to `"none"`, which means the modal will not change size or position when the handle is pressed.
|
|
1350
|
+
* Set to `"cycle"` to let the modal cycle between available breakpoints when pressed.
|
|
1351
|
+
*
|
|
1352
|
+
* Handle behavior is unavailable when the `handle` property is set to `false` or
|
|
1353
|
+
* when the `breakpoints` property is not set (using a fullscreen or card modal).
|
|
1354
|
+
*/
|
|
1355
|
+
this.handleBehavior = 'none';
|
|
1356
|
+
/**
|
|
1357
|
+
* If `true`, the modal will be dismissed when the backdrop is clicked.
|
|
1358
|
+
*/
|
|
1359
|
+
this.backdropDismiss = true;
|
|
1360
|
+
/**
|
|
1361
|
+
* If `true`, a backdrop will be displayed behind the modal.
|
|
1362
|
+
* This property controls whether or not the backdrop
|
|
1363
|
+
* darkens the screen when the modal is presented.
|
|
1364
|
+
* It does not control whether or not the backdrop
|
|
1365
|
+
* is active or present in the DOM.
|
|
1366
|
+
*/
|
|
1367
|
+
this.showBackdrop = true;
|
|
1368
|
+
/**
|
|
1369
|
+
* If `true`, the modal will animate.
|
|
1370
|
+
*/
|
|
1371
|
+
this.animated = true;
|
|
1372
|
+
/**
|
|
1373
|
+
* If `true`, the modal will open. If `false`, the modal will close.
|
|
1374
|
+
* Use this if you need finer grained control over presentation, otherwise
|
|
1375
|
+
* just use the modalController or the `trigger` property.
|
|
1376
|
+
* Note: `isOpen` will not automatically be set back to `false` when
|
|
1377
|
+
* the modal dismisses. You will need to do that in your code.
|
|
1378
|
+
*/
|
|
1379
|
+
this.isOpen = false;
|
|
1380
|
+
/**
|
|
1381
|
+
* If `true`, the component passed into `ion-modal` will
|
|
1382
|
+
* automatically be mounted when the modal is created. The
|
|
1383
|
+
* component will remain mounted even when the modal is dismissed.
|
|
1384
|
+
* However, the component will be destroyed when the modal is
|
|
1385
|
+
* destroyed. This property is not reactive and should only be
|
|
1386
|
+
* used when initially creating a modal.
|
|
1387
|
+
*
|
|
1388
|
+
* Note: This feature only applies to inline modals in JavaScript
|
|
1389
|
+
* frameworks such as Angular, React, and Vue.
|
|
1390
|
+
*/
|
|
1391
|
+
this.keepContentsMounted = false;
|
|
1392
|
+
/**
|
|
1393
|
+
* If `true`, focus will not be allowed to move outside of this overlay.
|
|
1394
|
+
* If `false`, focus will be allowed to move outside of the overlay.
|
|
1395
|
+
*
|
|
1396
|
+
* In most scenarios this property should remain set to `true`. Setting
|
|
1397
|
+
* this property to `false` can cause severe accessibility issues as users
|
|
1398
|
+
* relying on assistive technologies may be able to move focus into
|
|
1399
|
+
* a confusing state. We recommend only setting this to `false` when
|
|
1400
|
+
* absolutely necessary.
|
|
1401
|
+
*
|
|
1402
|
+
* Developers may want to consider disabling focus trapping if this
|
|
1403
|
+
* overlay presents a non-Ionic overlay from a 3rd party library.
|
|
1404
|
+
* Developers would disable focus trapping on the Ionic overlay
|
|
1405
|
+
* when presenting the 3rd party overlay and then re-enable
|
|
1406
|
+
* focus trapping when dismissing the 3rd party overlay and moving
|
|
1407
|
+
* focus back to the Ionic overlay.
|
|
1408
|
+
*/
|
|
1409
|
+
this.focusTrap = true;
|
|
1410
|
+
/**
|
|
1411
|
+
* Determines whether or not a modal can dismiss
|
|
1412
|
+
* when calling the `dismiss` method.
|
|
1413
|
+
*
|
|
1414
|
+
* If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.
|
|
1415
|
+
* If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
|
|
1416
|
+
*
|
|
1417
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
1418
|
+
* if you need to access `this` from within the callback.
|
|
1419
|
+
*/
|
|
1420
|
+
this.canDismiss = true;
|
|
1321
1421
|
this.onHandleClick = () => {
|
|
1322
1422
|
const { sheetTransition, handleBehavior } = this;
|
|
1323
1423
|
if (handleBehavior !== 'cycle' || sheetTransition !== undefined) {
|
|
@@ -1355,32 +1455,6 @@ const Modal = class {
|
|
|
1355
1455
|
el.dispatchEvent(ev);
|
|
1356
1456
|
}
|
|
1357
1457
|
};
|
|
1358
|
-
this.presented = false;
|
|
1359
|
-
this.hasController = false;
|
|
1360
|
-
this.overlayIndex = undefined;
|
|
1361
|
-
this.delegate = undefined;
|
|
1362
|
-
this.keyboardClose = true;
|
|
1363
|
-
this.enterAnimation = undefined;
|
|
1364
|
-
this.leaveAnimation = undefined;
|
|
1365
|
-
this.breakpoints = undefined;
|
|
1366
|
-
this.expandToScroll = true;
|
|
1367
|
-
this.initialBreakpoint = undefined;
|
|
1368
|
-
this.backdropBreakpoint = 0;
|
|
1369
|
-
this.handle = undefined;
|
|
1370
|
-
this.handleBehavior = 'none';
|
|
1371
|
-
this.component = undefined;
|
|
1372
|
-
this.componentProps = undefined;
|
|
1373
|
-
this.cssClass = undefined;
|
|
1374
|
-
this.backdropDismiss = true;
|
|
1375
|
-
this.showBackdrop = true;
|
|
1376
|
-
this.animated = true;
|
|
1377
|
-
this.presentingElement = undefined;
|
|
1378
|
-
this.htmlAttributes = undefined;
|
|
1379
|
-
this.isOpen = false;
|
|
1380
|
-
this.trigger = undefined;
|
|
1381
|
-
this.keepContentsMounted = false;
|
|
1382
|
-
this.focusTrap = true;
|
|
1383
|
-
this.canDismiss = true;
|
|
1384
1458
|
}
|
|
1385
1459
|
onIsOpenChange(newValue, oldValue) {
|
|
1386
1460
|
if (newValue === true && oldValue === false) {
|
|
@@ -1450,7 +1524,7 @@ const Modal = class {
|
|
|
1450
1524
|
this.currentBreakpoint = this.initialBreakpoint;
|
|
1451
1525
|
}
|
|
1452
1526
|
if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
|
|
1453
|
-
index$
|
|
1527
|
+
index$3.printIonWarning('[ion-modal] - Your breakpoints array must include the initialBreakpoint value.');
|
|
1454
1528
|
}
|
|
1455
1529
|
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
1456
1530
|
overlays.setOverlayId(this.el);
|
|
@@ -1550,7 +1624,7 @@ const Modal = class {
|
|
|
1550
1624
|
* get the transition incorrect.
|
|
1551
1625
|
*/
|
|
1552
1626
|
if (helpers.hasLazyBuild(el)) {
|
|
1553
|
-
await index$
|
|
1627
|
+
await index$4.deepReady(this.usersElement);
|
|
1554
1628
|
/**
|
|
1555
1629
|
* If keepContentsMounted="true" then the
|
|
1556
1630
|
* JS Framework has already mounted the inner
|
|
@@ -1561,7 +1635,7 @@ const Modal = class {
|
|
|
1561
1635
|
*/
|
|
1562
1636
|
}
|
|
1563
1637
|
else if (!this.keepContentsMounted) {
|
|
1564
|
-
await index$
|
|
1638
|
+
await index$4.waitForMount();
|
|
1565
1639
|
}
|
|
1566
1640
|
index$3.writeTask(() => this.el.classList.add('show-modal'));
|
|
1567
1641
|
const hasCardModal = presentingElement !== undefined;
|
|
@@ -1570,7 +1644,7 @@ const Modal = class {
|
|
|
1570
1644
|
* start of the animation so that it completes
|
|
1571
1645
|
* by the time the card animation is done.
|
|
1572
1646
|
*/
|
|
1573
|
-
if (hasCardModal &&
|
|
1647
|
+
if (hasCardModal && index$3.getIonMode(this) === 'ios') {
|
|
1574
1648
|
// Cache the original status bar color before the modal is presented
|
|
1575
1649
|
this.statusBarStyle = await StatusBar.getStyle();
|
|
1576
1650
|
setCardStatusBarDark();
|
|
@@ -1622,14 +1696,14 @@ const Modal = class {
|
|
|
1622
1696
|
}
|
|
1623
1697
|
initSwipeToClose() {
|
|
1624
1698
|
var _a;
|
|
1625
|
-
if (
|
|
1699
|
+
if (index$3.getIonMode(this) !== 'ios') {
|
|
1626
1700
|
return;
|
|
1627
1701
|
}
|
|
1628
1702
|
const { el } = this;
|
|
1629
1703
|
// All of the elements needed for the swipe gesture
|
|
1630
1704
|
// should be in the DOM and referenced by now, except
|
|
1631
1705
|
// for the presenting el
|
|
1632
|
-
const animationBuilder = this.leaveAnimation || index$
|
|
1706
|
+
const animationBuilder = this.leaveAnimation || index$3.config.get('modalLeave', iosLeaveAnimation);
|
|
1633
1707
|
const ani = (this.animation = animationBuilder(el, {
|
|
1634
1708
|
presentingEl: this.presentingElement,
|
|
1635
1709
|
expandToScroll: this.expandToScroll,
|
|
@@ -1673,7 +1747,7 @@ const Modal = class {
|
|
|
1673
1747
|
if (!wrapperEl || initialBreakpoint === undefined) {
|
|
1674
1748
|
return;
|
|
1675
1749
|
}
|
|
1676
|
-
const animationBuilder = this.enterAnimation || index$
|
|
1750
|
+
const animationBuilder = this.enterAnimation || index$3.config.get('modalEnter', iosEnterAnimation);
|
|
1677
1751
|
const ani = (this.animation = animationBuilder(this.el, {
|
|
1678
1752
|
presentingEl: this.presentingElement,
|
|
1679
1753
|
currentBreakpoint: initialBreakpoint,
|
|
@@ -1747,7 +1821,7 @@ const Modal = class {
|
|
|
1747
1821
|
* finishes when the dismiss animation does.
|
|
1748
1822
|
*/
|
|
1749
1823
|
const hasCardModal = presentingElement !== undefined;
|
|
1750
|
-
if (hasCardModal &&
|
|
1824
|
+
if (hasCardModal && index$3.getIonMode(this) === 'ios') {
|
|
1751
1825
|
setCardStatusBarDefault(this.statusBarStyle);
|
|
1752
1826
|
}
|
|
1753
1827
|
/* tslint:disable-next-line */
|
|
@@ -1795,11 +1869,11 @@ const Modal = class {
|
|
|
1795
1869
|
*/
|
|
1796
1870
|
async setCurrentBreakpoint(breakpoint) {
|
|
1797
1871
|
if (!this.isSheetModal) {
|
|
1798
|
-
index$
|
|
1872
|
+
index$3.printIonWarning('[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.');
|
|
1799
1873
|
return;
|
|
1800
1874
|
}
|
|
1801
1875
|
if (!this.breakpoints.includes(breakpoint)) {
|
|
1802
|
-
index$
|
|
1876
|
+
index$3.printIonWarning(`[ion-modal] - Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
|
|
1803
1877
|
return;
|
|
1804
1878
|
}
|
|
1805
1879
|
const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;
|
|
@@ -1847,21 +1921,21 @@ const Modal = class {
|
|
|
1847
1921
|
render() {
|
|
1848
1922
|
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap, expandToScroll, } = this;
|
|
1849
1923
|
const showHandle = handle !== false && isSheetModal;
|
|
1850
|
-
const mode =
|
|
1924
|
+
const mode = index$3.getIonMode(this);
|
|
1851
1925
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
1852
1926
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1853
|
-
return (index$3.h(index$3.Host, Object.assign({ key: '
|
|
1927
|
+
return (index$3.h(index$3.Host, Object.assign({ key: '0bcbdcfcd7d890eb599da3f97f21c317d34f8e0e', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1854
1928
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1855
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$3.h("ion-backdrop", { key: '
|
|
1929
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$3.h("ion-backdrop", { key: 'd72159e73daa5af7349aa9e8f695aa435eb43069', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$3.h("div", { key: 'fd2d9b13676ae72473881649a397b6eacde03a03', class: "modal-shadow" }), index$3.h("div", Object.assign({ key: '908eccb1ad982dcde2dbcff0cbb18b6e60f8ba74',
|
|
1856
1930
|
/*
|
|
1857
1931
|
role and aria-modal must be used on the
|
|
1858
1932
|
same element. They must also be set inside the
|
|
1859
1933
|
shadow DOM otherwise ion-button will not be highlighted
|
|
1860
1934
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
1861
1935
|
*/
|
|
1862
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$3.h("button", { key: '
|
|
1936
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$3.h("button", { key: '332dc0b40363a77c7be62331d9f26def91c790e9', class: "modal-handle",
|
|
1863
1937
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1864
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$3.h("slot", { key: '
|
|
1938
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$3.h("slot", { key: 'c32698350193c450327e97049daf8b8d1fda0d0e' }))));
|
|
1865
1939
|
}
|
|
1866
1940
|
get el() { return index$3.getElement(this); }
|
|
1867
1941
|
static get watchers() { return {
|
|
@@ -1876,8 +1950,8 @@ const LIFECYCLE_MAP = {
|
|
|
1876
1950
|
ionModalDidDismiss: 'ionViewDidLeave',
|
|
1877
1951
|
};
|
|
1878
1952
|
Modal.style = {
|
|
1879
|
-
ios:
|
|
1880
|
-
md:
|
|
1953
|
+
ios: modalIosCss,
|
|
1954
|
+
md: modalMdCss
|
|
1881
1955
|
};
|
|
1882
1956
|
|
|
1883
1957
|
exports.ion_modal = Modal;
|
|
@@ -3,15 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const index$1 = require('./index-cc858e97.js');
|
|
12
|
-
const index$2 = require('./index-1eff7149.js');
|
|
13
|
-
const ionicGlobal = require('./ionic-global-6dea5a96.js');
|
|
14
|
-
const frameworkDelegate = require('./framework-delegate-862d9d00.js');
|
|
6
|
+
var index = require('./index-DODXXb_r.js');
|
|
7
|
+
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
8
|
+
var helpers = require('./helpers-BITAzJfi.js');
|
|
9
|
+
var index$1 = require('./index-y0QaNtCi.js');
|
|
10
|
+
var frameworkDelegate = require('./framework-delegate-C7sIJyT5.js');
|
|
15
11
|
|
|
16
12
|
const VIEW_STATE_NEW = 1;
|
|
17
13
|
const VIEW_STATE_ATTACHED = 2;
|
|
@@ -81,7 +77,6 @@ const convertToViews = (pages) => {
|
|
|
81
77
|
};
|
|
82
78
|
|
|
83
79
|
const navCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";
|
|
84
|
-
const IonNavStyle0 = navCss;
|
|
85
80
|
|
|
86
81
|
const Nav = class {
|
|
87
82
|
constructor(hostRef) {
|
|
@@ -96,12 +91,10 @@ const Nav = class {
|
|
|
96
91
|
this.destroyed = false;
|
|
97
92
|
this.views = [];
|
|
98
93
|
this.didLoad = false;
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
/**
|
|
95
|
+
* If `true`, the nav should animate the transition of components.
|
|
96
|
+
*/
|
|
101
97
|
this.animated = true;
|
|
102
|
-
this.animation = undefined;
|
|
103
|
-
this.rootParams = undefined;
|
|
104
|
-
this.root = undefined;
|
|
105
98
|
}
|
|
106
99
|
swipeGestureChanged() {
|
|
107
100
|
if (this.gesture) {
|
|
@@ -128,8 +121,8 @@ const Nav = class {
|
|
|
128
121
|
componentWillLoad() {
|
|
129
122
|
this.useRouter = document.querySelector('ion-router') !== null && this.el.closest('[no-router]') === null;
|
|
130
123
|
if (this.swipeGesture === undefined) {
|
|
131
|
-
const mode =
|
|
132
|
-
this.swipeGesture = index
|
|
124
|
+
const mode = index.getIonMode(this);
|
|
125
|
+
this.swipeGesture = index.config.getBoolean('swipeBackEnabled', mode === 'ios');
|
|
133
126
|
}
|
|
134
127
|
this.ionNavWillLoad.emit();
|
|
135
128
|
}
|
|
@@ -137,7 +130,7 @@ const Nav = class {
|
|
|
137
130
|
// We want to set this flag before any watch callbacks are manually called
|
|
138
131
|
this.didLoad = true;
|
|
139
132
|
this.rootChanged();
|
|
140
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
133
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-D_VN6H9r.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
141
134
|
this.swipeGestureChanged();
|
|
142
135
|
}
|
|
143
136
|
connectedCallback() {
|
|
@@ -145,7 +138,7 @@ const Nav = class {
|
|
|
145
138
|
}
|
|
146
139
|
disconnectedCallback() {
|
|
147
140
|
for (const view of this.views) {
|
|
148
|
-
index$
|
|
141
|
+
index$1.lifecycle(view.element, index$1.LIFECYCLE_WILL_UNLOAD);
|
|
149
142
|
view._destroy();
|
|
150
143
|
}
|
|
151
144
|
// Release swipe back gesture and transition.
|
|
@@ -681,7 +674,7 @@ const Nav = class {
|
|
|
681
674
|
const finalNumViews = this.views.length + ((_b = insertViews === null || insertViews === void 0 ? void 0 : insertViews.length) !== null && _b !== void 0 ? _b : 0) - (removeCount !== null && removeCount !== void 0 ? removeCount : 0);
|
|
682
675
|
helpers.assert(finalNumViews >= 0, 'final balance can not be negative');
|
|
683
676
|
if (finalNumViews === 0) {
|
|
684
|
-
index
|
|
677
|
+
index.printIonWarning(`[ion-nav] - You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.`, this, this.el);
|
|
685
678
|
throw new Error('navigation stack needs at least one root page');
|
|
686
679
|
}
|
|
687
680
|
// At this point the transition can not be rejected, any throw should be an error
|
|
@@ -705,9 +698,9 @@ const Nav = class {
|
|
|
705
698
|
// let's make sure, callbacks are zoned
|
|
706
699
|
if (destroyQueue && destroyQueue.length > 0) {
|
|
707
700
|
for (const view of destroyQueue) {
|
|
708
|
-
index$
|
|
709
|
-
index$
|
|
710
|
-
index$
|
|
701
|
+
index$1.lifecycle(view.element, index$1.LIFECYCLE_WILL_LEAVE);
|
|
702
|
+
index$1.lifecycle(view.element, index$1.LIFECYCLE_DID_LEAVE);
|
|
703
|
+
index$1.lifecycle(view.element, index$1.LIFECYCLE_WILL_UNLOAD);
|
|
711
704
|
}
|
|
712
705
|
// once all lifecycle events has been delivered, we can safely detroy the views
|
|
713
706
|
for (const view of destroyQueue) {
|
|
@@ -746,13 +739,13 @@ const Nav = class {
|
|
|
746
739
|
}
|
|
747
740
|
}
|
|
748
741
|
: undefined;
|
|
749
|
-
const mode =
|
|
742
|
+
const mode = index.getIonMode(this);
|
|
750
743
|
const enteringEl = enteringView.element;
|
|
751
744
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
752
745
|
const leavingEl = leavingView && leavingView.element;
|
|
753
|
-
const animationOpts = Object.assign(Object.assign({ mode, showGoBack: this.canGoBackSync(enteringView), baseEl: this.el, progressCallback, animated: this.animated && index
|
|
754
|
-
leavingEl }, opts), { animationBuilder: opts.animationBuilder || this.animation || index
|
|
755
|
-
const { hasCompleted } = await index$
|
|
746
|
+
const animationOpts = Object.assign(Object.assign({ mode, showGoBack: this.canGoBackSync(enteringView), baseEl: this.el, progressCallback, animated: this.animated && index.config.getBoolean('animated', true), enteringEl,
|
|
747
|
+
leavingEl }, opts), { animationBuilder: opts.animationBuilder || this.animation || index.config.get('navAnimation') });
|
|
748
|
+
const { hasCompleted } = await index$1.transition(animationOpts);
|
|
756
749
|
return this.transitionFinish(hasCompleted, enteringView, leavingView, opts);
|
|
757
750
|
}
|
|
758
751
|
transitionFinish(hasCompleted, enteringView, leavingView, opts) {
|
|
@@ -847,13 +840,13 @@ const Nav = class {
|
|
|
847
840
|
if (i > activeViewIndex) {
|
|
848
841
|
// this view comes after the active view
|
|
849
842
|
// let's unload it
|
|
850
|
-
index$
|
|
843
|
+
index$1.lifecycle(element, index$1.LIFECYCLE_WILL_UNLOAD);
|
|
851
844
|
this.destroyView(view);
|
|
852
845
|
}
|
|
853
846
|
else if (i < activeViewIndex) {
|
|
854
847
|
// this view comes before the active view
|
|
855
848
|
// and it is not a portal then ensure it is hidden
|
|
856
|
-
index$
|
|
849
|
+
index$1.setPageHidden(element, true);
|
|
857
850
|
}
|
|
858
851
|
}
|
|
859
852
|
}
|
|
@@ -880,7 +873,7 @@ const Nav = class {
|
|
|
880
873
|
this.gestureOrAnimationInProgress = false;
|
|
881
874
|
}, { oneTimeCallback: true });
|
|
882
875
|
// Account for rounding errors in JS
|
|
883
|
-
let newStepValue = shouldComplete ? -
|
|
876
|
+
let newStepValue = shouldComplete ? -1e-3 : 0.001;
|
|
884
877
|
/**
|
|
885
878
|
* Animation will be reversed here, so need to
|
|
886
879
|
* reverse the easing curve as well
|
|
@@ -903,7 +896,7 @@ const Nav = class {
|
|
|
903
896
|
}
|
|
904
897
|
}
|
|
905
898
|
render() {
|
|
906
|
-
return index.h("slot", { key: '
|
|
899
|
+
return index.h("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
907
900
|
}
|
|
908
901
|
get el() { return index.getElement(this); }
|
|
909
902
|
static get watchers() { return {
|
|
@@ -911,7 +904,7 @@ const Nav = class {
|
|
|
911
904
|
"root": ["rootChanged"]
|
|
912
905
|
}; }
|
|
913
906
|
};
|
|
914
|
-
Nav.style =
|
|
907
|
+
Nav.style = navCss;
|
|
915
908
|
|
|
916
909
|
const navLink = (el, routerDirection, component, componentProps, routerAnimation) => {
|
|
917
910
|
const nav = el.closest('ion-nav');
|
|
@@ -936,16 +929,16 @@ const navLink = (el, routerDirection, component, componentProps, routerAnimation
|
|
|
936
929
|
const NavLink = class {
|
|
937
930
|
constructor(hostRef) {
|
|
938
931
|
index.registerInstance(this, hostRef);
|
|
932
|
+
/**
|
|
933
|
+
* The transition direction when navigating to another page.
|
|
934
|
+
*/
|
|
935
|
+
this.routerDirection = 'forward';
|
|
939
936
|
this.onClick = () => {
|
|
940
937
|
return navLink(this.el, this.routerDirection, this.component, this.componentProps, this.routerAnimation);
|
|
941
938
|
};
|
|
942
|
-
this.component = undefined;
|
|
943
|
-
this.componentProps = undefined;
|
|
944
|
-
this.routerDirection = 'forward';
|
|
945
|
-
this.routerAnimation = undefined;
|
|
946
939
|
}
|
|
947
940
|
render() {
|
|
948
|
-
return index.h(index.Host, { key: '
|
|
941
|
+
return index.h(index.Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
949
942
|
}
|
|
950
943
|
get el() { return index.getElement(this); }
|
|
951
944
|
};
|
|
@@ -3,19 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const helpers = require('./helpers-8a48fdea.js');
|
|
10
|
-
const theme = require('./theme-d1c573d2.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-6dea5a96.js');
|
|
12
|
-
require('./index-cc858e97.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 pickerColumnOptionIosCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";
|
|
15
|
-
const IonPickerColumnOptionIosStyle0 = pickerColumnOptionIosCss;
|
|
16
11
|
|
|
17
12
|
const pickerColumnOptionMdCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
|
|
18
|
-
const IonPickerColumnOptionMdStyle0 = pickerColumnOptionMdCss;
|
|
19
13
|
|
|
20
14
|
const PickerColumnOption = class {
|
|
21
15
|
constructor(hostRef) {
|
|
@@ -26,9 +20,24 @@ const PickerColumnOption = class {
|
|
|
26
20
|
* clicking an enable option.
|
|
27
21
|
*/
|
|
28
22
|
this.pickerColumn = null;
|
|
23
|
+
/**
|
|
24
|
+
* The aria-label of the option.
|
|
25
|
+
*
|
|
26
|
+
* If the value changes, then it will trigger a
|
|
27
|
+
* re-render of the picker since it's a @State variable.
|
|
28
|
+
* Otherwise, the `aria-label` attribute cannot be updated
|
|
29
|
+
* after the component is loaded.
|
|
30
|
+
*/
|
|
29
31
|
this.ariaLabel = null;
|
|
32
|
+
/**
|
|
33
|
+
* If `true`, the user cannot interact with the picker column option.
|
|
34
|
+
*/
|
|
30
35
|
this.disabled = false;
|
|
31
|
-
|
|
36
|
+
/**
|
|
37
|
+
* The color to use from your application's color palette.
|
|
38
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
39
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
40
|
+
*/
|
|
32
41
|
this.color = 'primary';
|
|
33
42
|
}
|
|
34
43
|
/**
|
|
@@ -88,11 +97,11 @@ const PickerColumnOption = class {
|
|
|
88
97
|
}
|
|
89
98
|
render() {
|
|
90
99
|
const { color, disabled, ariaLabel } = this;
|
|
91
|
-
const mode =
|
|
92
|
-
return (index.h(index.Host, { key: '
|
|
100
|
+
const mode = index.getIonMode(this);
|
|
101
|
+
return (index.h(index.Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: theme.createColorClasses(color, {
|
|
93
102
|
[mode]: true,
|
|
94
103
|
['option-disabled']: disabled,
|
|
95
|
-
}) }, index.h("button", { key: '
|
|
104
|
+
}) }, index.h("button", { key: '48dff7833bb60fc8331cd353a0885e6affa683d1', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, index.h("slot", { key: 'f9224d0e7b7aa6c05b29abfdcfe0f30ad6ee3141' }))));
|
|
96
105
|
}
|
|
97
106
|
get el() { return index.getElement(this); }
|
|
98
107
|
static get watchers() { return {
|
|
@@ -100,8 +109,8 @@ const PickerColumnOption = class {
|
|
|
100
109
|
}; }
|
|
101
110
|
};
|
|
102
111
|
PickerColumnOption.style = {
|
|
103
|
-
ios:
|
|
104
|
-
md:
|
|
112
|
+
ios: pickerColumnOptionIosCss,
|
|
113
|
+
md: pickerColumnOptionMdCss
|
|
105
114
|
};
|
|
106
115
|
|
|
107
116
|
exports.ion_picker_column_option = PickerColumnOption;
|