@ionic/core 8.5.4-dev.11744209290.123af9eb → 8.5.4-dev.11744406052.1d9f8ea6
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 +23 -37
- package/components/alert.js +25 -41
- package/components/animation.js +1 -1
- package/components/backdrop.js +4 -11
- package/components/button-active.js +1 -1
- package/components/button.js +23 -29
- package/components/buttons.js +4 -14
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +16 -40
- package/components/content.js +5 -24
- package/components/data.js +1 -1
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +1 -1
- package/components/header.js +7 -12
- package/components/helpers.js +5 -2
- package/components/icon.js +2 -1
- package/components/index3.js +5 -3
- package/components/index4.js +1 -1
- package/components/index5.js +3 -28
- package/components/index7.js +27 -163
- package/components/index8.js +1 -1
- package/components/index9.js +163 -3
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +6 -19
- package/components/ion-accordion.js +14 -32
- package/components/ion-app.js +4 -3
- package/components/ion-avatar.js +4 -2
- package/components/ion-back-button.js +13 -12
- package/components/ion-badge.js +5 -2
- package/components/ion-breadcrumb.js +20 -22
- package/components/ion-breadcrumbs.js +10 -14
- package/components/ion-card-content.js +4 -2
- package/components/ion-card-header.js +5 -7
- package/components/ion-card-subtitle.js +5 -2
- package/components/ion-card-title.js +5 -2
- package/components/ion-card.js +11 -16
- package/components/ion-chip.js +5 -8
- package/components/ion-col.js +26 -1
- package/components/ion-datetime-button.js +13 -15
- package/components/ion-datetime.js +53 -126
- package/components/ion-fab-button.js +20 -37
- package/components/ion-fab-list.js +2 -7
- package/components/ion-fab.js +4 -10
- package/components/ion-footer.js +8 -13
- package/components/ion-grid.js +2 -4
- package/components/ion-img.js +6 -1
- package/components/ion-infinite-scroll-content.js +6 -2
- package/components/ion-infinite-scroll.js +6 -27
- package/components/ion-input-password-toggle.js +9 -7
- package/components/ion-input.js +44 -72
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +4 -2
- package/components/ion-item-option.js +12 -14
- package/components/ion-item-options.js +4 -6
- package/components/ion-item-sliding.js +2 -4
- package/components/ion-loading.js +19 -36
- package/components/ion-menu-button.js +10 -15
- package/components/ion-menu-toggle.js +5 -9
- package/components/ion-menu.js +9 -25
- package/components/ion-nav-link.js +6 -6
- package/components/ion-nav.js +10 -7
- package/components/ion-note.js +5 -2
- package/components/ion-picker-legacy.js +24 -44
- package/components/ion-progress-bar.js +6 -19
- package/components/ion-range.js +25 -65
- package/components/ion-refresher-content.js +5 -1
- package/components/ion-refresher.js +6 -54
- package/components/ion-reorder-group.js +4 -6
- package/components/ion-reorder.js +5 -3
- package/components/ion-route-redirect.js +2 -0
- package/components/ion-route.js +7 -9
- package/components/ion-router-link.js +9 -7
- package/components/ion-router-outlet.js +8 -10
- package/components/ion-router.js +0 -18
- package/components/ion-row.js +2 -1
- package/components/ion-searchbar.js +29 -78
- package/components/ion-segment-button.js +10 -19
- package/components/ion-segment-content.js +2 -1
- package/components/ion-segment-view.js +5 -5
- package/components/ion-segment.js +11 -22
- package/components/ion-select-option.js +3 -4
- package/components/ion-select.js +41 -61
- package/components/ion-skeleton-text.js +2 -4
- package/components/ion-split-pane.js +5 -10
- package/components/ion-tab-bar.js +6 -7
- package/components/ion-tab-button.js +12 -10
- package/components/ion-tab.js +5 -2
- package/components/ion-tabs.js +4 -3
- package/components/ion-text.js +3 -1
- package/components/ion-textarea.js +36 -64
- package/components/ion-thumbnail.js +2 -1
- package/components/ion-toast.js +32 -55
- package/components/ion-toggle.js +20 -44
- package/components/item.js +14 -20
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +69 -134
- package/components/keyboard2.js +134 -69
- package/components/label.js +6 -2
- package/components/list-header.js +6 -2
- package/components/list.js +5 -5
- package/components/modal.js +39 -117
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +2 -2
- package/components/picker-column-option.js +5 -18
- package/components/picker-column.js +10 -25
- package/components/picker-column2.js +8 -5
- package/components/picker.js +4 -2
- package/components/popover.js +37 -129
- package/components/radio-group.js +10 -10
- package/components/radio.js +13 -27
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +2 -10
- package/components/select-modal.js +8 -3
- package/components/select-popover.js +8 -5
- package/components/spinner.js +5 -4
- package/components/swipe-back.js +1 -1
- package/components/title.js +6 -2
- package/components/toolbar.js +5 -2
- 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-Bz5ImL40.js → animation-b4fdf128.js} +1 -1
- package/dist/cjs/{app-globals-Di9ZJzjm.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-BlMN9Iyq.js → button-active-43e2b419.js} +3 -3
- package/dist/cjs/{capacitor-DmA66EwP.js → capacitor-c04564bf.js} +1 -1
- package/dist/cjs/{data-DlPf8ZXm.js → data-27cc2c9c.js} +1 -1
- package/dist/cjs/{framework-delegate-B0-bTZ_Y.js → framework-delegate-50a86d56.js} +1 -1
- package/dist/cjs/{gesture-controller-dtqlP_q4.js → gesture-controller-9436f482.js} +1 -1
- package/dist/cjs/{haptic-ClPPQ_PS.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/{hardware-back-button-lTgcqUpk.js → hardware-back-button-5a99001f.js} +3 -3
- package/dist/cjs/{helpers-CLmZlPvl.js → helpers-3a248559.js} +4 -1
- package/dist/cjs/{index-CPbAsnJK.js → index-073c7cdc.js} +0 -1
- package/dist/cjs/{index-BVfbh2cJ.js → index-2e236a04.js} +668 -1375
- package/dist/cjs/{index-rYFHa7ZR.js → index-48b2a28e.js} +1 -1
- package/dist/cjs/{index-CXThGkw7.js → index-4b70187a.js} +9 -9
- package/dist/cjs/{index-CquwaYOd.js → index-509ca0d3.js} +3 -3
- package/dist/cjs/{index-B4SdCKIQ.js → index-e36bd277.js} +2 -2
- package/dist/cjs/{index-BE9YH63j.js → index-e630fd95.js} +6 -6
- package/dist/cjs/{index-CAvQ7Tka.js → index-ee07ed59.js} +4 -3
- package/dist/cjs/index.cjs.js +20 -18
- package/dist/cjs/{input-shims-DA_nJulF.js → input-shims-22a9973f.js} +8 -8
- package/dist/cjs/{input.utils-UHOCoNWM.js → input.utils-e82b8ed0.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +25 -54
- package/dist/cjs/ion-action-sheet.cjs.entry.js +38 -50
- package/dist/cjs/ion-alert.cjs.entry.js +41 -55
- package/dist/cjs/ion-app_8.cjs.entry.js +65 -96
- package/dist/cjs/ion-avatar_3.cjs.entry.js +16 -8
- package/dist/cjs/ion-back-button.cjs.entry.js +18 -15
- package/dist/cjs/ion-backdrop.cjs.entry.js +8 -13
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +34 -38
- package/dist/cjs/ion-button_2.cjs.entry.js +30 -33
- package/dist/cjs/ion-card_5.cjs.entry.js +35 -32
- package/dist/cjs/ion-checkbox.cjs.entry.js +22 -44
- package/dist/cjs/ion-chip.cjs.entry.js +10 -11
- package/dist/cjs/ion-col_3.cjs.entry.js +34 -8
- package/dist/cjs/ion-datetime-button.cjs.entry.js +20 -20
- package/dist/cjs/ion-datetime_3.cjs.entry.js +94 -182
- package/dist/cjs/ion-fab_3.cjs.entry.js +31 -57
- package/dist/cjs/ion-img.cjs.entry.js +11 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +20 -35
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +15 -11
- package/dist/cjs/ion-input.cjs.entry.js +53 -79
- package/dist/cjs/ion-item-option_3.cjs.entry.js +28 -32
- package/dist/cjs/ion-item_8.cjs.entry.js +52 -49
- package/dist/cjs/ion-loading.cjs.entry.js +31 -46
- package/dist/cjs/ion-menu_3.cjs.entry.js +39 -62
- package/dist/cjs/ion-modal.cjs.entry.js +52 -128
- package/dist/cjs/ion-nav_2.cjs.entry.js +22 -17
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +11 -22
- package/dist/cjs/ion-picker-column.cjs.entry.js +17 -30
- package/dist/cjs/ion-picker.cjs.entry.js +8 -4
- package/dist/cjs/ion-popover.cjs.entry.js +47 -137
- package/dist/cjs/ion-progress-bar.cjs.entry.js +11 -22
- package/dist/cjs/ion-radio_2.cjs.entry.js +30 -42
- package/dist/cjs/ion-range.cjs.entry.js +33 -71
- package/dist/cjs/ion-refresher_2.cjs.entry.js +26 -68
- package/dist/cjs/ion-reorder_2.cjs.entry.js +19 -17
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +6 -12
- package/dist/cjs/ion-route_4.cjs.entry.js +20 -34
- package/dist/cjs/ion-searchbar.cjs.entry.js +36 -83
- package/dist/cjs/ion-segment-content.cjs.entry.js +5 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +8 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +29 -47
- package/dist/cjs/ion-select-modal.cjs.entry.js +20 -13
- package/dist/cjs/ion-select_3.cjs.entry.js +65 -82
- package/dist/cjs/ion-spinner.cjs.entry.js +11 -8
- package/dist/cjs/ion-split-pane.cjs.entry.js +9 -12
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -25
- package/dist/cjs/ion-tab_2.cjs.entry.js +14 -8
- package/dist/cjs/ion-text.cjs.entry.js +8 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +45 -71
- package/dist/cjs/ion-toast.cjs.entry.js +44 -65
- package/dist/cjs/ion-toggle.cjs.entry.js +31 -53
- package/dist/cjs/{ionic-global-AdqEvgj6.js → ionic-global-acb665ad.js} +1 -1
- package/dist/cjs/ionic.cjs.js +8 -8
- package/dist/cjs/{ios.transition-B8HcmmPx.js → ios.transition-ae7afca9.js} +7 -7
- package/dist/cjs/{keyboard-UuAS4D_9.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-hHzlEQpk.js → keyboard-af1bb365.js} +3 -3
- package/dist/cjs/{keyboard-controller-GXBiBRKS.js → keyboard-controller-c05e747a.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -4
- package/dist/cjs/{md.transition-54O0AjJC.js → md.transition-26003e25.js} +7 -7
- package/dist/cjs/{notch-controller-DNfj7cO6.js → notch-controller-ae03a497.js} +2 -2
- package/dist/cjs/{overlays-CSyZW4m0.js → overlays-32e1b66b.js} +7 -7
- package/dist/cjs/{status-tap-B1Kcv7yf.js → status-tap-03023755.js} +5 -5
- package/dist/cjs/{swipe-back-Di-t3rsI.js → swipe-back-cd0d9f77.js} +4 -4
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +13 -43
- package/dist/collection/components/accordion-group/accordion-group.js +8 -35
- package/dist/collection/components/action-sheet/action-sheet.js +31 -84
- package/dist/collection/components/alert/alert.js +34 -94
- package/dist/collection/components/back-button/back-button.js +14 -30
- package/dist/collection/components/backdrop/backdrop.js +3 -18
- package/dist/collection/components/badge/badge.js +4 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js +26 -57
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +10 -24
- package/dist/collection/components/button/button.js +33 -74
- package/dist/collection/components/buttons/buttons.js +1 -15
- package/dist/collection/components/card/card.js +16 -44
- package/dist/collection/components/card-header/card-header.js +3 -11
- package/dist/collection/components/card-subtitle/card-subtitle.js +4 -3
- package/dist/collection/components/card-title/card-title.js +4 -3
- package/dist/collection/components/checkbox/checkbox.js +24 -74
- package/dist/collection/components/chip/chip.js +4 -15
- package/dist/collection/components/col/col.js +50 -72
- package/dist/collection/components/content/content.js +9 -43
- package/dist/collection/components/datetime/datetime.js +72 -211
- package/dist/collection/components/datetime-button/datetime-button.js +11 -21
- package/dist/collection/components/fab/fab.js +6 -21
- package/dist/collection/components/fab-button/fab-button.js +28 -76
- package/dist/collection/components/fab-list/fab-list.js +2 -12
- package/dist/collection/components/footer/footer.js +5 -16
- package/dist/collection/components/grid/grid.js +1 -6
- package/dist/collection/components/header/header.js +4 -15
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +7 -35
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -6
- package/dist/collection/components/input/input.js +72 -171
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +8 -16
- package/dist/collection/components/item/item.js +21 -56
- package/dist/collection/components/item-divider/item-divider.js +3 -13
- package/dist/collection/components/item-option/item-option.js +16 -36
- package/dist/collection/components/item-options/item-options.js +1 -7
- package/dist/collection/components/item-sliding/item-sliding.js +1 -6
- package/dist/collection/components/label/label.js +4 -6
- package/dist/collection/components/list/list.js +3 -9
- package/dist/collection/components/list-header/list-header.js +6 -6
- package/dist/collection/components/loading/loading.js +29 -86
- package/dist/collection/components/menu/menu.js +10 -42
- package/dist/collection/components/menu-button/menu-button.js +10 -27
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -14
- package/dist/collection/components/modal/modal.js +51 -188
- package/dist/collection/components/nav/nav.js +11 -24
- package/dist/collection/components/nav-link/nav-link.js +8 -18
- package/dist/collection/components/note/note.js +4 -3
- package/dist/collection/components/picker-column/picker-column.js +10 -34
- package/dist/collection/components/picker-column-option/picker-column-option.js +4 -25
- package/dist/collection/components/picker-legacy/picker.js +31 -91
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -4
- package/dist/collection/components/popover/popover.js +55 -208
- package/dist/collection/components/progress-bar/progress-bar.js +6 -31
- package/dist/collection/components/radio/radio.js +16 -46
- package/dist/collection/components/radio-group/radio-group.js +12 -26
- package/dist/collection/components/range/range.js +34 -109
- package/dist/collection/components/refresher/refresher.js +6 -68
- package/dist/collection/components/refresher-content/refresher-content.js +8 -12
- package/dist/collection/components/reorder-group/reorder-group.js +1 -6
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -12
- package/dist/collection/components/route/route.js +9 -24
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +2 -24
- package/dist/collection/components/router-link/router-link.js +12 -24
- package/dist/collection/components/router-outlet/router-outlet.js +8 -24
- package/dist/collection/components/searchbar/searchbar.js +46 -141
- package/dist/collection/components/segment/segment.js +13 -38
- package/dist/collection/components/segment-button/segment-button.js +11 -32
- package/dist/collection/components/segment-view/segment-view.js +2 -6
- package/dist/collection/components/select/select.ios.css +5 -3
- package/dist/collection/components/select/select.js +55 -121
- package/dist/collection/components/select/select.md.css +58 -16
- package/dist/collection/components/select-modal/select-modal.js +4 -9
- package/dist/collection/components/select-option/select-option.js +3 -9
- package/dist/collection/components/select-popover/select-popover.js +8 -18
- package/dist/collection/components/skeleton-text/skeleton-text.js +1 -6
- package/dist/collection/components/spinner/spinner.js +7 -15
- package/dist/collection/components/split-pane/split-pane.js +4 -17
- package/dist/collection/components/tab/tab.js +7 -14
- package/dist/collection/components/tab-bar/tab-bar.js +5 -14
- package/dist/collection/components/tab-button/tab-button.js +16 -32
- package/dist/collection/components/tabs/tabs.js +3 -5
- package/dist/collection/components/text/text.js +4 -3
- package/dist/collection/components/textarea/textarea.js +59 -146
- package/dist/collection/components/title/title.js +6 -6
- package/dist/collection/components/toast/toast.js +45 -119
- package/dist/collection/components/toggle/toggle.js +25 -75
- package/dist/collection/components/toolbar/toolbar.js +2 -3
- package/dist/docs.d.ts +0 -8
- package/dist/docs.json +584 -1799
- package/dist/esm/{animation-CCtpQcsN.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-CispSZgz.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-D92yWoWC.js → button-active-90f1dbc4.js} +3 -3
- package/dist/esm/{capacitor-CFERIeaU.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-Dq3-TN9Z.js → data-174ad5e0.js} +2 -2
- package/dist/esm/{framework-delegate-D3CI7y6x.js → framework-delegate-2eea1763.js} +1 -1
- package/dist/esm/{gesture-controller-BTEOs1at.js → gesture-controller-314a54f6.js} +1 -1
- package/dist/esm/{haptic-DzAMWJuk.js → haptic-ac164e4c.js} +2 -2
- package/dist/esm/{hardware-back-button-CRemSDoj.js → hardware-back-button-864101a3.js} +3 -3
- package/dist/esm/{helpers-Di6ciXLG.js → helpers-78efeec3.js} +5 -2
- package/dist/esm/{index-CfgBF1SE.js → index-39782642.js} +6 -4
- package/dist/esm/{index-B2_fY2up.js → index-40894f4b.js} +2 -2
- package/dist/esm/{index-C5UXyyFe.js → index-527b9e34.js} +648 -1375
- package/dist/esm/{index-PfJyigSK.js → index-738d7504.js} +2 -2
- package/dist/esm/{index-BLV6ykCk.js → index-e2cf2ceb.js} +1 -2
- package/dist/esm/{index-DWiwgv23.js → index-e919e353.js} +3 -3
- package/dist/esm/{index-DYJvRcE0.js → index-ecb55b8d.js} +6 -6
- package/dist/esm/{index-DZLiflRE.js → index-f9f5d018.js} +6 -6
- package/dist/esm/index.js +18 -18
- package/dist/esm/{input-shims-BL_oixbH.js → input-shims-7dc1f6dc.js} +8 -8
- package/dist/esm/{input.utils-Bd73EHpQ.js → input.utils-28bf4ef0.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +23 -54
- package/dist/esm/ion-action-sheet.entry.js +36 -50
- package/dist/esm/ion-alert.entry.js +39 -55
- package/dist/esm/ion-app_8.entry.js +63 -96
- package/dist/esm/ion-avatar_3.entry.js +14 -8
- package/dist/esm/ion-back-button.entry.js +16 -15
- package/dist/esm/ion-backdrop.entry.js +6 -13
- package/dist/esm/ion-breadcrumb_2.entry.js +32 -38
- package/dist/esm/ion-button_2.entry.js +28 -33
- package/dist/esm/ion-card_5.entry.js +33 -32
- package/dist/esm/ion-checkbox.entry.js +20 -44
- package/dist/esm/ion-chip.entry.js +8 -11
- package/dist/esm/ion-col_3.entry.js +32 -8
- package/dist/esm/ion-datetime-button.entry.js +18 -20
- package/dist/esm/ion-datetime_3.entry.js +92 -182
- package/dist/esm/ion-fab_3.entry.js +29 -57
- package/dist/esm/ion-img.entry.js +9 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +18 -35
- package/dist/esm/ion-input-password-toggle.entry.js +13 -11
- package/dist/esm/ion-input.entry.js +51 -79
- package/dist/esm/ion-item-option_3.entry.js +26 -32
- package/dist/esm/ion-item_8.entry.js +50 -49
- package/dist/esm/ion-loading.entry.js +29 -46
- package/dist/esm/ion-menu_3.entry.js +37 -62
- package/dist/esm/ion-modal.entry.js +50 -128
- package/dist/esm/ion-nav_2.entry.js +20 -17
- package/dist/esm/ion-picker-column-option.entry.js +9 -22
- package/dist/esm/ion-picker-column.entry.js +15 -30
- package/dist/esm/ion-picker.entry.js +6 -4
- package/dist/esm/ion-popover.entry.js +45 -137
- package/dist/esm/ion-progress-bar.entry.js +9 -22
- package/dist/esm/ion-radio_2.entry.js +28 -42
- package/dist/esm/ion-range.entry.js +31 -71
- package/dist/esm/ion-refresher_2.entry.js +24 -68
- package/dist/esm/ion-reorder_2.entry.js +17 -17
- package/dist/esm/ion-ripple-effect.entry.js +4 -12
- package/dist/esm/ion-route_4.entry.js +18 -34
- package/dist/esm/ion-searchbar.entry.js +34 -83
- package/dist/esm/ion-segment-content.entry.js +3 -2
- package/dist/esm/ion-segment-view.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +27 -47
- package/dist/esm/ion-select-modal.entry.js +18 -13
- package/dist/esm/ion-select_3.entry.js +63 -82
- package/dist/esm/ion-spinner.entry.js +9 -8
- package/dist/esm/ion-split-pane.entry.js +7 -12
- package/dist/esm/ion-tab-bar_2.entry.js +26 -25
- package/dist/esm/ion-tab_2.entry.js +12 -8
- package/dist/esm/ion-text.entry.js +6 -4
- package/dist/esm/ion-textarea.entry.js +43 -71
- package/dist/esm/ion-toast.entry.js +42 -65
- package/dist/esm/ion-toggle.entry.js +29 -53
- package/dist/esm/{ionic-global-GkM1xiqt.js → ionic-global-ca86cf32.js} +1 -1
- package/dist/esm/ionic.js +6 -7
- package/dist/esm/{ios.transition-BcTzvx5_.js → ios.transition-7fe5dbea.js} +7 -7
- package/dist/esm/{keyboard-ywgs5efA.js → keyboard-52278bd7.js} +3 -3
- package/dist/esm/{keyboard-CUw4ekVy.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-BaaVITYt.js → keyboard-controller-ec5c2bfa.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-DYGWIgPE.js → md.transition-8dc58b46.js} +7 -7
- package/dist/esm/{notch-controller-PoOhjO4o.js → notch-controller-00d92e89.js} +2 -2
- package/dist/esm/{overlays-BuSzwtlC.js → overlays-41a5d51b.js} +7 -7
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/{status-tap-BPk7Ddsi.js → status-tap-f6d08e9e.js} +5 -5
- package/dist/esm/{swipe-back-Df75PJ2J.js → swipe-back-07df2095.js} +4 -4
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/button-active-90f1dbc4.js +4 -0
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +4 -0
- package/dist/esm-es5/config-49c88215.js +4 -0
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +4 -0
- package/dist/esm-es5/data-174ad5e0.js +4 -0
- package/dist/esm-es5/dir-babeabeb.js +4 -0
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-2eea1763.js +4 -0
- package/dist/esm-es5/gesture-controller-314a54f6.js +4 -0
- package/dist/esm-es5/haptic-ac164e4c.js +4 -0
- package/dist/esm-es5/hardware-back-button-864101a3.js +4 -0
- package/dist/esm-es5/helpers-78efeec3.js +4 -0
- package/dist/esm-es5/index-39782642.js +4 -0
- package/dist/esm-es5/index-40894f4b.js +4 -0
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/index-738d7504.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index-e2cf2ceb.js +4 -0
- package/dist/esm-es5/index-e919e353.js +4 -0
- package/dist/esm-es5/index-ecb55b8d.js +4 -0
- package/dist/esm-es5/index-f9f5d018.js +4 -0
- package/dist/esm-es5/index.js +4 -0
- package/dist/esm-es5/input-shims-7dc1f6dc.js +4 -0
- package/dist/esm-es5/input.utils-28bf4ef0.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +4 -0
- package/dist/esm-es5/ion-action-sheet.entry.js +4 -0
- package/dist/esm-es5/ion-alert.entry.js +4 -0
- package/dist/esm-es5/ion-app_8.entry.js +4 -0
- package/dist/esm-es5/ion-avatar_3.entry.js +4 -0
- package/dist/esm-es5/ion-back-button.entry.js +4 -0
- package/dist/esm-es5/ion-backdrop.entry.js +4 -0
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +4 -0
- package/dist/esm-es5/ion-button_2.entry.js +4 -0
- package/dist/esm-es5/ion-card_5.entry.js +4 -0
- package/dist/esm-es5/ion-checkbox.entry.js +4 -0
- package/dist/esm-es5/ion-chip.entry.js +4 -0
- package/dist/esm-es5/ion-col_3.entry.js +4 -0
- package/dist/esm-es5/ion-datetime-button.entry.js +4 -0
- package/dist/esm-es5/ion-datetime_3.entry.js +4 -0
- package/dist/esm-es5/ion-fab_3.entry.js +4 -0
- package/dist/esm-es5/ion-img.entry.js +4 -0
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +4 -0
- package/dist/esm-es5/ion-input-password-toggle.entry.js +4 -0
- package/dist/esm-es5/ion-input.entry.js +4 -0
- package/dist/esm-es5/ion-item-option_3.entry.js +4 -0
- package/dist/esm-es5/ion-item_8.entry.js +4 -0
- package/dist/esm-es5/ion-loading.entry.js +4 -0
- package/dist/esm-es5/ion-menu_3.entry.js +4 -0
- package/dist/esm-es5/ion-modal.entry.js +4 -0
- package/dist/esm-es5/ion-nav_2.entry.js +4 -0
- package/dist/esm-es5/ion-picker-column-option.entry.js +4 -0
- package/dist/esm-es5/ion-picker-column.entry.js +4 -0
- package/dist/esm-es5/ion-picker.entry.js +4 -0
- package/dist/esm-es5/ion-popover.entry.js +4 -0
- package/dist/esm-es5/ion-progress-bar.entry.js +4 -0
- package/dist/esm-es5/ion-radio_2.entry.js +4 -0
- package/dist/esm-es5/ion-range.entry.js +4 -0
- package/dist/esm-es5/ion-refresher_2.entry.js +4 -0
- package/dist/esm-es5/ion-reorder_2.entry.js +4 -0
- package/dist/esm-es5/ion-ripple-effect.entry.js +4 -0
- package/dist/esm-es5/ion-route_4.entry.js +4 -0
- package/dist/esm-es5/ion-searchbar.entry.js +4 -0
- package/dist/esm-es5/ion-segment-content.entry.js +4 -0
- package/dist/esm-es5/ion-segment-view.entry.js +4 -0
- package/dist/esm-es5/ion-segment_2.entry.js +4 -0
- package/dist/esm-es5/ion-select-modal.entry.js +4 -0
- package/dist/esm-es5/ion-select_3.entry.js +4 -0
- package/dist/esm-es5/ion-spinner.entry.js +4 -0
- package/dist/esm-es5/ion-split-pane.entry.js +4 -0
- package/dist/esm-es5/ion-tab-bar_2.entry.js +4 -0
- package/dist/esm-es5/ion-tab_2.entry.js +4 -0
- package/dist/esm-es5/ion-text.entry.js +4 -0
- package/dist/esm-es5/ion-textarea.entry.js +4 -0
- package/dist/esm-es5/ion-toast.entry.js +4 -0
- package/dist/esm-es5/ion-toggle.entry.js +4 -0
- package/dist/esm-es5/ionic-global-ca86cf32.js +4 -0
- package/dist/esm-es5/ionic.js +4 -0
- package/dist/esm-es5/ios.transition-7fe5dbea.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/keyboard-73175e24.js +4 -0
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +4 -0
- package/dist/esm-es5/lock-controller-316928be.js +4 -0
- package/dist/esm-es5/md.transition-8dc58b46.js +4 -0
- package/dist/esm-es5/notch-controller-00d92e89.js +4 -0
- package/dist/esm-es5/overlays-41a5d51b.js +4 -0
- package/dist/esm-es5/spinner-configs-964f7cf3.js +4 -0
- package/dist/esm-es5/status-tap-f6d08e9e.js +4 -0
- package/dist/esm-es5/swipe-back-07df2095.js +4 -0
- package/dist/esm-es5/theme-01f3f29c.js +4 -0
- package/dist/esm-es5/watch-options-c2911ace.js +4 -0
- package/dist/html.html-data.json +0 -212
- 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/ionic.js +127 -0
- package/dist/ionic/p-012c3ceb.system.js +4 -0
- package/dist/ionic/p-027a48f1.entry.js +4 -0
- package/dist/ionic/p-058b7f35.js +4 -0
- package/dist/ionic/p-05b65d7a.entry.js +4 -0
- package/dist/ionic/p-08e01816.system.js +4 -0
- package/dist/ionic/p-09d185ff.system.js +4 -0
- package/dist/ionic/p-0a456b7f.entry.js +4 -0
- package/dist/ionic/p-0adb6909.system.entry.js +4 -0
- package/dist/ionic/p-0bedc891.system.entry.js +4 -0
- package/dist/ionic/p-0c8386d3.entry.js +4 -0
- package/dist/ionic/p-0d1be7c9.system.entry.js +4 -0
- package/dist/ionic/p-0ec5b7cf.system.js +4 -0
- package/dist/ionic/p-14114a59.system.entry.js +4 -0
- package/dist/ionic/p-14e041cd.system.entry.js +4 -0
- package/dist/ionic/p-15bb1dde.system.js +4 -0
- package/dist/ionic/p-180b4f9a.entry.js +4 -0
- package/dist/ionic/p-19c32a76.entry.js +4 -0
- package/dist/ionic/p-1b0b2210.entry.js +4 -0
- package/dist/ionic/p-1bf5ec17.system.js +4 -0
- package/dist/ionic/p-1c1d781d.system.entry.js +4 -0
- package/dist/ionic/p-1c8b3ac9.entry.js +4 -0
- package/dist/ionic/p-1de5dfcd.system.entry.js +4 -0
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-1e955a45.system.js +4 -0
- package/dist/ionic/p-20d469d0.system.js +4 -0
- package/dist/ionic/p-21891ead.js +4 -0
- package/dist/ionic/{p-CdWpy93z.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-b8a159eb.entry.js → p-2567237c.entry.js} +1 -1
- package/dist/ionic/{p-D13Eaw-8.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-28c81576.entry.js +4 -0
- package/dist/ionic/p-29a5b4e4.entry.js +4 -0
- package/dist/ionic/p-2a2c6bf4.system.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-33518a04.entry.js +4 -0
- package/dist/ionic/p-35f14792.entry.js +4 -0
- package/dist/ionic/p-383a6058.entry.js +4 -0
- package/dist/ionic/p-3855fef7.system.js +4 -0
- package/dist/ionic/p-38eaf9cf.system.entry.js +4 -0
- package/dist/ionic/p-3ba2a2cd.system.js +4 -0
- package/dist/ionic/p-3e1e14d9.system.js +4 -0
- package/dist/ionic/{p-CeCT60rb.js → p-3f4327f7.js} +1 -1
- package/dist/ionic/p-41e70fa2.entry.js +4 -0
- package/dist/ionic/p-44fde7d5.system.entry.js +4 -0
- package/dist/ionic/p-44ff75ea.js +4 -0
- package/dist/ionic/p-455cd7cc.system.js +4 -0
- package/dist/ionic/p-4609d030.system.js +4 -0
- package/dist/ionic/p-4630688e.system.entry.js +4 -0
- package/dist/ionic/p-4662a25c.system.entry.js +4 -0
- package/dist/ionic/p-49d53551.system.entry.js +4 -0
- package/dist/ionic/p-4b07c60a.system.js +4 -0
- package/dist/ionic/p-4c7e6fec.system.entry.js +4 -0
- package/dist/ionic/p-4d5bce60.system.entry.js +4 -0
- package/dist/ionic/p-4ea4c73a.system.entry.js +4 -0
- package/dist/ionic/p-4eeca839.system.entry.js +4 -0
- package/dist/ionic/p-4f255d5a.system.js +4 -0
- package/dist/ionic/p-50e0ce13.entry.js +4 -0
- package/dist/ionic/p-51479be0.system.entry.js +4 -0
- package/dist/ionic/p-5578033e.system.entry.js +4 -0
- package/dist/ionic/{p-XWSYNdC9.js → p-597ff9af.js} +1 -1
- package/dist/ionic/p-5fb1321f.entry.js +4 -0
- package/dist/ionic/p-607aa181.entry.js +4 -0
- package/dist/ionic/p-61373098.js +4 -0
- package/dist/ionic/p-6155027f.system.entry.js +4 -0
- package/dist/ionic/p-61e794fb.entry.js +4 -0
- package/dist/ionic/{p-C3eOXAUO.js → p-624ecf03.js} +1 -1
- package/dist/ionic/p-64d8ac48.js +4 -0
- package/dist/ionic/p-657ada6a.entry.js +4 -0
- package/dist/ionic/p-65943bec.system.entry.js +4 -0
- package/dist/ionic/p-65e732b9.entry.js +4 -0
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/p-69a96be9.system.entry.js +4 -0
- package/dist/ionic/p-6c044a1d.system.js +4 -0
- package/dist/ionic/p-7058a5e4.system.entry.js +4 -0
- package/dist/ionic/p-705fda69.system.js +4 -0
- package/dist/ionic/p-707408c5.system.entry.js +4 -0
- package/dist/ionic/p-70abb1f2.system.entry.js +4 -0
- package/dist/ionic/p-747f9517.entry.js +4 -0
- package/dist/ionic/{p-lw61HGQ-.js → p-756e4559.js} +1 -1
- package/dist/ionic/p-772d1657.system.js +4 -0
- package/dist/ionic/p-77aa5fef.system.entry.js +4 -0
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/p-7c9daa6f.entry.js +4 -0
- package/dist/ionic/p-7cc33a9a.system.js +4 -0
- package/dist/ionic/p-7e3b5638.system.entry.js +4 -0
- package/dist/ionic/p-7f49a9c4.entry.js +4 -0
- package/dist/ionic/p-843ac05d.system.entry.js +4 -0
- package/dist/ionic/p-87b0d2c9.entry.js +4 -0
- package/dist/ionic/p-8985cdb6.system.js +4 -0
- package/dist/ionic/{p-CKvCXMs9.js → p-89b61afc.js} +1 -1
- package/dist/ionic/p-8b1c1fd7.entry.js +4 -0
- package/dist/ionic/p-8b22be32.system.entry.js +4 -0
- package/dist/ionic/p-8d98e2bb.entry.js +4 -0
- package/dist/ionic/p-8ededb41.js +4 -0
- package/dist/ionic/p-9146695e.system.js +4 -0
- package/dist/ionic/p-959cf042.system.entry.js +4 -0
- package/dist/ionic/p-96eec056.entry.js +4 -0
- package/dist/ionic/p-978bdf4c.system.js +4 -0
- package/dist/ionic/p-979d4f5c.system.js +4 -0
- package/dist/ionic/p-9870728f.js +4 -0
- package/dist/ionic/p-99803283.entry.js +4 -0
- package/dist/ionic/p-9af7f110.js +4 -0
- package/dist/ionic/{p-d3ee5846.entry.js → p-9b069739.entry.js} +1 -1
- package/dist/ionic/p-9e45532a.system.js +4 -0
- package/dist/ionic/p-a26d7667.system.entry.js +4 -0
- package/dist/ionic/p-a3c931ad.system.js +4 -0
- package/dist/ionic/p-a4866e3e.system.js +4 -0
- package/dist/ionic/p-a520973b.entry.js +4 -0
- package/dist/ionic/p-a6625de8.system.js +4 -0
- package/dist/ionic/p-a75a9e5a.system.entry.js +4 -0
- package/dist/ionic/p-a768ae50.entry.js +4 -0
- package/dist/ionic/p-a7830ff8.entry.js +4 -0
- package/dist/ionic/p-a9198501.system.entry.js +4 -0
- package/dist/ionic/p-a93873de.system.js +4 -0
- package/dist/ionic/p-ab7337e1.entry.js +4 -0
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/p-ac09b6e9.system.entry.js +4 -0
- package/dist/ionic/p-ac58d726.system.entry.js +4 -0
- package/dist/ionic/p-aef8249f.entry.js +4 -0
- package/dist/ionic/p-b06ac4a5.system.js +4 -0
- package/dist/ionic/p-b1673667.entry.js +4 -0
- package/dist/ionic/p-b1f9fbe8.system.entry.js +4 -0
- package/dist/ionic/p-b2ee0628.system.entry.js +4 -0
- package/dist/ionic/{p-dcf2e017.entry.js → p-b87a9f1d.entry.js} +1 -1
- package/dist/ionic/p-b8a461f5.system.entry.js +4 -0
- package/dist/ionic/p-b964c34e.system.entry.js +4 -0
- package/dist/ionic/{p-mxKP5hf-.js → p-b9fa7882.js} +1 -1
- package/dist/ionic/p-ba29521b.entry.js +4 -0
- package/dist/ionic/p-bf64af90.system.js +4 -0
- package/dist/ionic/{p-879a7b00.entry.js → p-c005cc37.entry.js} +1 -1
- package/dist/ionic/p-c27c57ea.system.entry.js +4 -0
- package/dist/ionic/p-c3f9d9fe.js +4 -0
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c53c414d.system.entry.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c63d8dc1.js +4 -0
- package/dist/ionic/p-c7e16491.js +4 -0
- package/dist/ionic/p-ccb740ea.entry.js +4 -0
- package/dist/ionic/p-cec54707.system.entry.js +4 -0
- package/dist/ionic/p-cfc08422.entry.js +4 -0
- package/dist/ionic/p-cff4f96c.entry.js +4 -0
- package/dist/ionic/p-d40f2b7a.js +4 -0
- package/dist/ionic/p-d70a9e6d.system.js +4 -0
- package/dist/ionic/p-d882f1e2.system.entry.js +4 -0
- package/dist/ionic/p-d8d84afa.system.js +4 -0
- package/dist/ionic/{p-BLV6ykCk.js → p-da2b833b.js} +1 -1
- package/dist/ionic/p-e11ff516.entry.js +4 -0
- package/dist/ionic/p-e29c5aab.system.entry.js +4 -0
- package/dist/ionic/p-e2ce5f8b.entry.js +4 -0
- package/dist/ionic/p-e3284879.system.entry.js +4 -0
- package/dist/ionic/p-e3e4eed7.entry.js +4 -0
- package/dist/ionic/p-e4683bfd.system.entry.js +4 -0
- package/dist/ionic/p-e4d2c281.entry.js +4 -0
- package/dist/ionic/p-e65b8460.entry.js +4 -0
- package/dist/ionic/p-e673a0a2.system.js +4 -0
- package/dist/ionic/p-e6cdfa96.system.entry.js +4 -0
- package/dist/ionic/{p-6f5d9223.entry.js → p-e8245753.entry.js} +1 -1
- package/dist/ionic/p-ece78e7b.js +4 -0
- package/dist/ionic/p-ee86cfff.system.js +4 -0
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/p-f23124c4.system.js +4 -0
- package/dist/ionic/p-f233f1e0.system.js +4 -0
- package/dist/ionic/p-f387b3c6.system.entry.js +4 -0
- package/dist/ionic/{p-B3UoCFcu.js → p-f53ee2e7.js} +1 -1
- package/dist/ionic/p-f5a04e5e.system.entry.js +4 -0
- package/dist/ionic/p-f6bb9be7.system.entry.js +4 -0
- package/dist/ionic/p-f70fc14a.entry.js +4 -0
- package/dist/ionic/{p-CdKu7oC9.js → p-f7ce606e.js} +1 -1
- package/dist/ionic/p-f834322a.entry.js +4 -0
- package/dist/ionic/p-f896194a.system.entry.js +4 -0
- package/dist/ionic/p-fa70eaab.entry.js +4 -0
- package/dist/ionic/p-ffa3ba3c.js +4 -0
- package/dist/types/components/input/input.d.ts +8 -0
- package/dist/types/components/select/select.d.ts +9 -0
- package/dist/types/components/textarea/textarea.d.ts +8 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -9
- package/hydrate/index.d.ts +5 -40
- package/hydrate/index.js +2194 -4548
- package/hydrate/index.mjs +2193 -4547
- package/loader/cdn.js +2 -1
- package/loader/index.cjs.js +2 -1
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -1
- package/loader/package.json +11 -0
- package/package.json +2 -2
- package/dist/ionic/p-06d06c2f.entry.js +0 -4
- package/dist/ionic/p-10e11b67.entry.js +0 -4
- package/dist/ionic/p-10f11601.entry.js +0 -4
- package/dist/ionic/p-171d5d3e.entry.js +0 -4
- package/dist/ionic/p-210385cd.entry.js +0 -4
- package/dist/ionic/p-2469206a.entry.js +0 -4
- package/dist/ionic/p-261e3a47.entry.js +0 -4
- package/dist/ionic/p-2a2ab89d.entry.js +0 -4
- package/dist/ionic/p-2f416d26.entry.js +0 -4
- package/dist/ionic/p-3628b1f7.entry.js +0 -4
- package/dist/ionic/p-3bd766ca.entry.js +0 -4
- package/dist/ionic/p-414f60f0.entry.js +0 -4
- package/dist/ionic/p-49419ffd.entry.js +0 -4
- package/dist/ionic/p-49b72347.entry.js +0 -4
- package/dist/ionic/p-52eca165.entry.js +0 -4
- package/dist/ionic/p-6a8928b1.entry.js +0 -4
- package/dist/ionic/p-6d4f1c6e.entry.js +0 -4
- package/dist/ionic/p-72d7dd7c.entry.js +0 -4
- package/dist/ionic/p-75959e43.entry.js +0 -4
- package/dist/ionic/p-76878c5f.entry.js +0 -4
- package/dist/ionic/p-7deacfed.entry.js +0 -4
- package/dist/ionic/p-841761ee.entry.js +0 -4
- package/dist/ionic/p-85d22d84.entry.js +0 -4
- package/dist/ionic/p-8ca2b22c.entry.js +0 -4
- package/dist/ionic/p-8e57bbf1.entry.js +0 -4
- package/dist/ionic/p-92aed080.entry.js +0 -4
- package/dist/ionic/p-930ec949.entry.js +0 -4
- package/dist/ionic/p-9ca05f27.entry.js +0 -4
- package/dist/ionic/p-9d7d6758.entry.js +0 -4
- package/dist/ionic/p-9d8be89a.entry.js +0 -4
- package/dist/ionic/p-9eeaBrnk.js +0 -4
- package/dist/ionic/p-B1sP_kPm.js +0 -4
- package/dist/ionic/p-B61pJgh5.js +0 -4
- package/dist/ionic/p-B8iLKNde.js +0 -4
- package/dist/ionic/p-BBmUb2In.js +0 -4
- package/dist/ionic/p-BTEIaRld.js +0 -4
- package/dist/ionic/p-BwAZiDRk.js +0 -4
- package/dist/ionic/p-C5UXyyFe.js +0 -5
- package/dist/ionic/p-CIGNaXM1.js +0 -4
- package/dist/ionic/p-CiN6q3Lh.js +0 -4
- package/dist/ionic/p-Cl0B-RWe.js +0 -4
- package/dist/ionic/p-CtWGkNnJ.js +0 -4
- package/dist/ionic/p-DFllLYu2.js +0 -4
- package/dist/ionic/p-DYo1kLGy.js +0 -4
- package/dist/ionic/p-Di6ciXLG.js +0 -4
- package/dist/ionic/p-a1581941.entry.js +0 -4
- package/dist/ionic/p-a1767652.entry.js +0 -4
- package/dist/ionic/p-a3ec5708.entry.js +0 -4
- package/dist/ionic/p-a8506291.entry.js +0 -4
- package/dist/ionic/p-a951373a.entry.js +0 -4
- package/dist/ionic/p-b3485dee.entry.js +0 -4
- package/dist/ionic/p-bb3cf0f1.entry.js +0 -4
- package/dist/ionic/p-c0634ff3.entry.js +0 -4
- package/dist/ionic/p-ccbc5737.entry.js +0 -4
- package/dist/ionic/p-d6a3361a.entry.js +0 -4
- package/dist/ionic/p-d7a76cd0.entry.js +0 -4
- package/dist/ionic/p-d85dfc51.entry.js +0 -4
- package/dist/ionic/p-ddc1c497.entry.js +0 -4
- package/dist/ionic/p-e01503b2.entry.js +0 -4
- package/dist/ionic/p-f9c55d46.entry.js +0 -4
- package/dist/ionic/p-fc3eb210.entry.js +0 -4
- package/dist/ionic/p-umtghMQY.js +0 -4
- package/dist/ionic/p-yluxF5qo.js +0 -4
- package/dist/ionic/p-zEz12j4K.js +0 -4
- /package/dist/cjs/{compare-with-utils-DSicavqM.js → compare-with-utils-df1001d7.js} +0 -0
- /package/dist/cjs/{config-BHiHGeHc.js → config-4f60b98a.js} +0 -0
- /package/dist/cjs/{cubic-bezier-DAjy1V-e.js → cubic-bezier-f2dccc53.js} +0 -0
- /package/dist/cjs/{dir-Cn0z1rJH.js → dir-94c21456.js} +0 -0
- /package/dist/cjs/{focus-visible-CCvKiLh3.js → focus-visible-7a0ce04f.js} +0 -0
- /package/dist/cjs/{index-DkNv4J_i.js → index-c8d52405.js} +0 -0
- /package/dist/cjs/{lock-controller-aDB9wrEf.js → lock-controller-6585a42a.js} +0 -0
- /package/dist/cjs/{spinner-configs-DxHKnd3-.js → spinner-configs-282fd50a.js} +0 -0
- /package/dist/cjs/{theme-CeDs6Hcv.js → theme-d1c573d2.js} +0 -0
- /package/dist/cjs/{watch-options-CviOsrTS.js → watch-options-f5f3e158.js} +0 -0
- /package/dist/esm/{compare-with-utils-sObYyvOy.js → compare-with-utils-a96ff2ea.js} +0 -0
- /package/dist/esm/{config-O8NobGs3.js → config-49c88215.js} +0 -0
- /package/dist/esm/{cubic-bezier-hHmYLOfE.js → cubic-bezier-fe2083dc.js} +0 -0
- /package/dist/esm/{dir-C53feagD.js → dir-babeabeb.js} +0 -0
- /package/dist/esm/{focus-visible-BmVRXR1y.js → focus-visible-dd40d69f.js} +0 -0
- /package/dist/esm/{index-ZjP4CjeZ.js → index-a5d50daf.js} +0 -0
- /package/dist/esm/{lock-controller-B-hirT0v.js → lock-controller-316928be.js} +0 -0
- /package/dist/esm/{spinner-configs-D4RIp70E.js → spinner-configs-964f7cf3.js} +0 -0
- /package/dist/esm/{theme-DiVJyqlX.js → theme-01f3f29c.js} +0 -0
- /package/dist/esm/{watch-options-Dtdm8lKC.js → watch-options-c2911ace.js} +0 -0
- /package/dist/ionic/{p-hHmYLOfE.js → p-2408c236.js} +0 -0
- /package/dist/ionic/{p-O8NobGs3.js → p-41d5544e.js} +0 -0
- /package/dist/ionic/{p-Dtdm8lKC.js → p-459d13d5.js} +0 -0
- /package/dist/ionic/{p-DiVJyqlX.js → p-47794def.js} +0 -0
- /package/dist/ionic/{p-ZjP4CjeZ.js → p-7b30edcc.js} +0 -0
- /package/dist/ionic/{p-BTEOs1at.js → p-9b97df10.js} +0 -0
- /package/dist/ionic/{p-B-hirT0v.js → p-ccd02320.js} +0 -0
- /package/dist/ionic/{p-BmVRXR1y.js → p-d47265c8.js} +0 -0
- /package/dist/ionic/{p-sObYyvOy.js → p-de756e5c.js} +0 -0
- /package/dist/ionic/{p-D4RIp70E.js → p-f0c2a614.js} +0 -0
- /package/dist/ionic/{p-C53feagD.js → p-fb813dab.js} +0 -0
|
@@ -3,24 +3,26 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
require('./
|
|
20
|
-
require('./
|
|
21
|
-
require('./
|
|
22
|
-
require('./
|
|
23
|
-
require('./
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index$1 = require('./index-2e236a04.js');
|
|
9
|
+
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
|
+
const index = require('./index-48b2a28e.js');
|
|
12
|
+
const dir = require('./dir-94c21456.js');
|
|
13
|
+
const theme = require('./theme-d1c573d2.js');
|
|
14
|
+
const index$2 = require('./index-073c7cdc.js');
|
|
15
|
+
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
16
|
+
const data = require('./data-27cc2c9c.js');
|
|
17
|
+
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
+
const overlays = require('./overlays-32e1b66b.js');
|
|
19
|
+
const animation = require('./animation-b4fdf128.js');
|
|
20
|
+
const haptic = require('./haptic-f6b37aa3.js');
|
|
21
|
+
require('./index-c8d52405.js');
|
|
22
|
+
require('./hardware-back-button-5a99001f.js');
|
|
23
|
+
require('./framework-delegate-50a86d56.js');
|
|
24
|
+
require('./gesture-controller-9436f482.js');
|
|
25
|
+
require('./capacitor-c04564bf.js');
|
|
24
26
|
|
|
25
27
|
const isYearDisabled = (refYear, minParts, maxParts) => {
|
|
26
28
|
if (minParts && minParts.year > refYear) {
|
|
@@ -232,8 +234,10 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
232
234
|
};
|
|
233
235
|
|
|
234
236
|
const datetimeIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
|
|
237
|
+
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
235
238
|
|
|
236
239
|
const datetimeMdCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
|
|
240
|
+
const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
237
241
|
|
|
238
242
|
const Datetime = class {
|
|
239
243
|
constructor(hostRef) {
|
|
@@ -247,123 +251,6 @@ const Datetime = class {
|
|
|
247
251
|
this.ionRender = index$1.createEvent(this, "ionRender", 7);
|
|
248
252
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
249
253
|
this.prevPresentation = null;
|
|
250
|
-
this.showMonthAndYear = false;
|
|
251
|
-
this.activeParts = [];
|
|
252
|
-
this.workingParts = {
|
|
253
|
-
month: 5,
|
|
254
|
-
day: 28,
|
|
255
|
-
year: 2021,
|
|
256
|
-
hour: 13,
|
|
257
|
-
minute: 52,
|
|
258
|
-
ampm: 'pm',
|
|
259
|
-
};
|
|
260
|
-
this.isTimePopoverOpen = false;
|
|
261
|
-
/**
|
|
262
|
-
* The color to use from your application's color palette.
|
|
263
|
-
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
264
|
-
* For more information on colors, see [theming](/docs/theming/basics).
|
|
265
|
-
*/
|
|
266
|
-
this.color = 'primary';
|
|
267
|
-
/**
|
|
268
|
-
* The name of the control, which is submitted with the form data.
|
|
269
|
-
*/
|
|
270
|
-
this.name = this.inputId;
|
|
271
|
-
/**
|
|
272
|
-
* If `true`, the user cannot interact with the datetime.
|
|
273
|
-
*/
|
|
274
|
-
this.disabled = false;
|
|
275
|
-
/**
|
|
276
|
-
* If `true`, the datetime appears normal but the selected date cannot be changed.
|
|
277
|
-
*/
|
|
278
|
-
this.readonly = false;
|
|
279
|
-
/**
|
|
280
|
-
* Which values you want to select. `"date"` will show
|
|
281
|
-
* a calendar picker to select the month, day, and year. `"time"`
|
|
282
|
-
* will show a time picker to select the hour, minute, and (optionally)
|
|
283
|
-
* AM/PM. `"date-time"` will show the date picker first and time picker second.
|
|
284
|
-
* `"time-date"` will show the time picker first and date picker second.
|
|
285
|
-
*/
|
|
286
|
-
this.presentation = 'date-time';
|
|
287
|
-
/**
|
|
288
|
-
* The text to display on the picker's cancel button.
|
|
289
|
-
*/
|
|
290
|
-
this.cancelText = 'Cancel';
|
|
291
|
-
/**
|
|
292
|
-
* The text to display on the picker's "Done" button.
|
|
293
|
-
*/
|
|
294
|
-
this.doneText = 'Done';
|
|
295
|
-
/**
|
|
296
|
-
* The text to display on the picker's "Clear" button.
|
|
297
|
-
*/
|
|
298
|
-
this.clearText = 'Clear';
|
|
299
|
-
/**
|
|
300
|
-
* The locale to use for `ion-datetime`. This
|
|
301
|
-
* impacts month and day name formatting.
|
|
302
|
-
* The `"default"` value refers to the default
|
|
303
|
-
* locale set by your device.
|
|
304
|
-
*/
|
|
305
|
-
this.locale = 'default';
|
|
306
|
-
/**
|
|
307
|
-
* The first day of the week to use for `ion-datetime`. The
|
|
308
|
-
* default value is `0` and represents Sunday.
|
|
309
|
-
*/
|
|
310
|
-
this.firstDayOfWeek = 0;
|
|
311
|
-
/**
|
|
312
|
-
* If `true`, multiple dates can be selected at once. Only
|
|
313
|
-
* applies to `presentation="date"` and `preferWheel="false"`.
|
|
314
|
-
*/
|
|
315
|
-
this.multiple = false;
|
|
316
|
-
/**
|
|
317
|
-
* If `true`, a header will be shown above the calendar
|
|
318
|
-
* picker. This will include both the slotted title, and
|
|
319
|
-
* the selected date.
|
|
320
|
-
*/
|
|
321
|
-
this.showDefaultTitle = false;
|
|
322
|
-
/**
|
|
323
|
-
* If `true`, the default "Cancel" and "OK" buttons
|
|
324
|
-
* will be rendered at the bottom of the `ion-datetime`
|
|
325
|
-
* component. Developers can also use the `button` slot
|
|
326
|
-
* if they want to customize these buttons. If custom
|
|
327
|
-
* buttons are set in the `button` slot then the
|
|
328
|
-
* default buttons will not be rendered.
|
|
329
|
-
*/
|
|
330
|
-
this.showDefaultButtons = false;
|
|
331
|
-
/**
|
|
332
|
-
* If `true`, a "Clear" button will be rendered alongside
|
|
333
|
-
* the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
|
|
334
|
-
* component. Developers can also use the `button` slot
|
|
335
|
-
* if they want to customize these buttons. If custom
|
|
336
|
-
* buttons are set in the `button` slot then the
|
|
337
|
-
* default buttons will not be rendered.
|
|
338
|
-
*/
|
|
339
|
-
this.showClearButton = false;
|
|
340
|
-
/**
|
|
341
|
-
* If `true`, the default "Time" label will be rendered
|
|
342
|
-
* for the time selector of the `ion-datetime` component.
|
|
343
|
-
* Developers can also use the `time-label` slot
|
|
344
|
-
* if they want to customize this label. If a custom
|
|
345
|
-
* label is set in the `time-label` slot then the
|
|
346
|
-
* default label will not be rendered.
|
|
347
|
-
*/
|
|
348
|
-
this.showDefaultTimeLabel = true;
|
|
349
|
-
/**
|
|
350
|
-
* If `cover`, the `ion-datetime` will expand to cover the full width of its container.
|
|
351
|
-
* If `fixed`, the `ion-datetime` will have a fixed width.
|
|
352
|
-
*/
|
|
353
|
-
this.size = 'fixed';
|
|
354
|
-
/**
|
|
355
|
-
* If `true`, a wheel picker will be rendered instead of a calendar grid
|
|
356
|
-
* where possible. If `false`, a calendar grid will be rendered instead of
|
|
357
|
-
* a wheel picker where possible.
|
|
358
|
-
*
|
|
359
|
-
* A wheel picker can be rendered instead of a grid when `presentation` is
|
|
360
|
-
* one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
|
|
361
|
-
*
|
|
362
|
-
* A wheel picker will always be rendered regardless of
|
|
363
|
-
* the `preferWheel` value when `presentation` is one of the following values:
|
|
364
|
-
* `"time"`, `"month"`, `"month-year"`, or `"year"`.
|
|
365
|
-
*/
|
|
366
|
-
this.preferWheel = false;
|
|
367
254
|
this.warnIfIncorrectValueUsage = () => {
|
|
368
255
|
const { multiple, value } = this;
|
|
369
256
|
if (!multiple && Array.isArray(value)) {
|
|
@@ -956,6 +843,48 @@ const Datetime = class {
|
|
|
956
843
|
this.toggleMonthAndYearView = () => {
|
|
957
844
|
this.showMonthAndYear = !this.showMonthAndYear;
|
|
958
845
|
};
|
|
846
|
+
this.showMonthAndYear = false;
|
|
847
|
+
this.activeParts = [];
|
|
848
|
+
this.workingParts = {
|
|
849
|
+
month: 5,
|
|
850
|
+
day: 28,
|
|
851
|
+
year: 2021,
|
|
852
|
+
hour: 13,
|
|
853
|
+
minute: 52,
|
|
854
|
+
ampm: 'pm',
|
|
855
|
+
};
|
|
856
|
+
this.isTimePopoverOpen = false;
|
|
857
|
+
this.forceRenderDate = undefined;
|
|
858
|
+
this.color = 'primary';
|
|
859
|
+
this.name = this.inputId;
|
|
860
|
+
this.disabled = false;
|
|
861
|
+
this.formatOptions = undefined;
|
|
862
|
+
this.readonly = false;
|
|
863
|
+
this.isDateEnabled = undefined;
|
|
864
|
+
this.min = undefined;
|
|
865
|
+
this.max = undefined;
|
|
866
|
+
this.presentation = 'date-time';
|
|
867
|
+
this.cancelText = 'Cancel';
|
|
868
|
+
this.doneText = 'Done';
|
|
869
|
+
this.clearText = 'Clear';
|
|
870
|
+
this.yearValues = undefined;
|
|
871
|
+
this.monthValues = undefined;
|
|
872
|
+
this.dayValues = undefined;
|
|
873
|
+
this.hourValues = undefined;
|
|
874
|
+
this.minuteValues = undefined;
|
|
875
|
+
this.locale = 'default';
|
|
876
|
+
this.firstDayOfWeek = 0;
|
|
877
|
+
this.titleSelectedDatesFormatter = undefined;
|
|
878
|
+
this.multiple = false;
|
|
879
|
+
this.highlightedDates = undefined;
|
|
880
|
+
this.value = undefined;
|
|
881
|
+
this.showDefaultTitle = false;
|
|
882
|
+
this.showDefaultButtons = false;
|
|
883
|
+
this.showClearButton = false;
|
|
884
|
+
this.showDefaultTimeLabel = true;
|
|
885
|
+
this.hourCycle = undefined;
|
|
886
|
+
this.size = 'fixed';
|
|
887
|
+
this.preferWheel = false;
|
|
959
888
|
}
|
|
960
889
|
formatOptionsChanged() {
|
|
961
890
|
const { el, formatOptions, presentation } = this;
|
|
@@ -1867,8 +1796,8 @@ const CONFIRM_ROLE = 'datetime-confirm';
|
|
|
1867
1796
|
const WHEEL_ITEM_PART = 'wheel-item';
|
|
1868
1797
|
const WHEEL_ITEM_ACTIVE_PART = `active`;
|
|
1869
1798
|
Datetime.style = {
|
|
1870
|
-
ios:
|
|
1871
|
-
md:
|
|
1799
|
+
ios: IonDatetimeIosStyle0,
|
|
1800
|
+
md: IonDatetimeMdStyle0
|
|
1872
1801
|
};
|
|
1873
1802
|
|
|
1874
1803
|
/**
|
|
@@ -1916,8 +1845,10 @@ const iosLeaveAnimation = (baseEl) => {
|
|
|
1916
1845
|
};
|
|
1917
1846
|
|
|
1918
1847
|
const pickerIosCss = ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}";
|
|
1848
|
+
const IonPickerLegacyIosStyle0 = pickerIosCss;
|
|
1919
1849
|
|
|
1920
1850
|
const pickerMdCss = ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}";
|
|
1851
|
+
const IonPickerLegacyMdStyle0 = pickerMdCss;
|
|
1921
1852
|
|
|
1922
1853
|
const Picker = class {
|
|
1923
1854
|
constructor(hostRef) {
|
|
@@ -1933,45 +1864,6 @@ const Picker = class {
|
|
|
1933
1864
|
this.delegateController = overlays.createDelegateController(this);
|
|
1934
1865
|
this.lockController = lockController.createLockController();
|
|
1935
1866
|
this.triggerController = overlays.createTriggerController();
|
|
1936
|
-
this.presented = false;
|
|
1937
|
-
/** @internal */
|
|
1938
|
-
this.hasController = false;
|
|
1939
|
-
/**
|
|
1940
|
-
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
1941
|
-
*/
|
|
1942
|
-
this.keyboardClose = true;
|
|
1943
|
-
/**
|
|
1944
|
-
* Array of buttons to be displayed at the top of the picker.
|
|
1945
|
-
*/
|
|
1946
|
-
this.buttons = [];
|
|
1947
|
-
/**
|
|
1948
|
-
* Array of columns to be displayed in the picker.
|
|
1949
|
-
*/
|
|
1950
|
-
this.columns = [];
|
|
1951
|
-
/**
|
|
1952
|
-
* Number of milliseconds to wait before dismissing the picker.
|
|
1953
|
-
*/
|
|
1954
|
-
this.duration = 0;
|
|
1955
|
-
/**
|
|
1956
|
-
* If `true`, a backdrop will be displayed behind the picker.
|
|
1957
|
-
*/
|
|
1958
|
-
this.showBackdrop = true;
|
|
1959
|
-
/**
|
|
1960
|
-
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
1961
|
-
*/
|
|
1962
|
-
this.backdropDismiss = true;
|
|
1963
|
-
/**
|
|
1964
|
-
* If `true`, the picker will animate.
|
|
1965
|
-
*/
|
|
1966
|
-
this.animated = true;
|
|
1967
|
-
/**
|
|
1968
|
-
* If `true`, the picker will open. If `false`, the picker will close.
|
|
1969
|
-
* Use this if you need finer grained control over presentation, otherwise
|
|
1970
|
-
* just use the pickerController or the `trigger` property.
|
|
1971
|
-
* Note: `isOpen` will not automatically be set back to `false` when
|
|
1972
|
-
* the picker dismisses. You will need to do that in your code.
|
|
1973
|
-
*/
|
|
1974
|
-
this.isOpen = false;
|
|
1975
1867
|
this.onBackdropTap = () => {
|
|
1976
1868
|
this.dismiss(undefined, overlays.BACKDROP);
|
|
1977
1869
|
};
|
|
@@ -1982,6 +1874,23 @@ const Picker = class {
|
|
|
1982
1874
|
this.callButtonHandler(cancelButton);
|
|
1983
1875
|
}
|
|
1984
1876
|
};
|
|
1877
|
+
this.presented = false;
|
|
1878
|
+
this.overlayIndex = undefined;
|
|
1879
|
+
this.delegate = undefined;
|
|
1880
|
+
this.hasController = false;
|
|
1881
|
+
this.keyboardClose = true;
|
|
1882
|
+
this.enterAnimation = undefined;
|
|
1883
|
+
this.leaveAnimation = undefined;
|
|
1884
|
+
this.buttons = [];
|
|
1885
|
+
this.columns = [];
|
|
1886
|
+
this.cssClass = undefined;
|
|
1887
|
+
this.duration = 0;
|
|
1888
|
+
this.showBackdrop = true;
|
|
1889
|
+
this.backdropDismiss = true;
|
|
1890
|
+
this.animated = true;
|
|
1891
|
+
this.htmlAttributes = undefined;
|
|
1892
|
+
this.isOpen = false;
|
|
1893
|
+
this.trigger = undefined;
|
|
1985
1894
|
}
|
|
1986
1895
|
onIsOpenChange(newValue, oldValue) {
|
|
1987
1896
|
if (newValue === true && oldValue === false) {
|
|
@@ -2143,13 +2052,15 @@ const buttonClass = (button) => {
|
|
|
2143
2052
|
return Object.assign({ 'picker-button': true, 'ion-activatable': true }, theme.getClassMap(button.cssClass));
|
|
2144
2053
|
};
|
|
2145
2054
|
Picker.style = {
|
|
2146
|
-
ios:
|
|
2147
|
-
md:
|
|
2055
|
+
ios: IonPickerLegacyIosStyle0,
|
|
2056
|
+
md: IonPickerLegacyMdStyle0
|
|
2148
2057
|
};
|
|
2149
2058
|
|
|
2150
2059
|
const pickerColumnIosCss = ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}";
|
|
2060
|
+
const IonPickerLegacyColumnIosStyle0 = pickerColumnIosCss;
|
|
2151
2061
|
|
|
2152
2062
|
const pickerColumnMdCss = ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #0054e9)}";
|
|
2063
|
+
const IonPickerLegacyColumnMdStyle0 = pickerColumnMdCss;
|
|
2153
2064
|
|
|
2154
2065
|
const PickerColumnCmp = class {
|
|
2155
2066
|
constructor(hostRef) {
|
|
@@ -2169,6 +2080,7 @@ const PickerColumnCmp = class {
|
|
|
2169
2080
|
// Ex: column is created with 3 options. User updates the column data
|
|
2170
2081
|
// to have 5 options. The column will still think it only has 3 options.
|
|
2171
2082
|
this.colDidChange = false;
|
|
2083
|
+
this.col = undefined;
|
|
2172
2084
|
}
|
|
2173
2085
|
colChanged() {
|
|
2174
2086
|
this.colDidChange = true;
|
|
@@ -2183,7 +2095,7 @@ const PickerColumnCmp = class {
|
|
|
2183
2095
|
}
|
|
2184
2096
|
this.rotateFactor = pickerRotateFactor;
|
|
2185
2097
|
this.scaleFactor = pickerScaleFactor;
|
|
2186
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
2098
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-ee07ed59.js'); })).createGesture({
|
|
2187
2099
|
el: this.el,
|
|
2188
2100
|
gestureName: 'picker-swipe',
|
|
2189
2101
|
gesturePriority: 100,
|
|
@@ -2416,7 +2328,7 @@ const PickerColumnCmp = class {
|
|
|
2416
2328
|
this.emitColChange();
|
|
2417
2329
|
return;
|
|
2418
2330
|
}
|
|
2419
|
-
this.velocity = helpers.clamp(-
|
|
2331
|
+
this.velocity = helpers.clamp(-MAX_PICKER_SPEED, detail.velocityY * 23, MAX_PICKER_SPEED);
|
|
2420
2332
|
if (this.velocity === 0 && detail.deltaY === 0) {
|
|
2421
2333
|
const opt = detail.event.target.closest('.picker-opt');
|
|
2422
2334
|
if (opt === null || opt === void 0 ? void 0 : opt.hasAttribute('opt-index')) {
|
|
@@ -2493,8 +2405,8 @@ const DECELERATION_FRICTION = 0.97;
|
|
|
2493
2405
|
const MAX_PICKER_SPEED = 90;
|
|
2494
2406
|
const TRANSITION_DURATION = 150;
|
|
2495
2407
|
PickerColumnCmp.style = {
|
|
2496
|
-
ios:
|
|
2497
|
-
md:
|
|
2408
|
+
ios: IonPickerLegacyColumnIosStyle0,
|
|
2409
|
+
md: IonPickerLegacyColumnMdStyle0
|
|
2498
2410
|
};
|
|
2499
2411
|
|
|
2500
2412
|
exports.ion_datetime = Datetime;
|
|
@@ -3,27 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-2e236a04.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-acb665ad.js');
|
|
10
|
+
const helpers = require('./helpers-3a248559.js');
|
|
11
|
+
const theme = require('./theme-d1c573d2.js');
|
|
12
|
+
const index$1 = require('./index-073c7cdc.js');
|
|
11
13
|
|
|
12
14
|
const fabCss = ":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";
|
|
15
|
+
const IonFabStyle0 = fabCss;
|
|
13
16
|
|
|
14
17
|
const Fab = class {
|
|
15
18
|
constructor(hostRef) {
|
|
16
19
|
index.registerInstance(this, hostRef);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
* `vertical` is `"top"`, and on the edge of the footer if
|
|
20
|
-
* it is `"bottom"`. Should be used with a `fixed` slot.
|
|
21
|
-
*/
|
|
20
|
+
this.horizontal = undefined;
|
|
21
|
+
this.vertical = undefined;
|
|
22
22
|
this.edge = false;
|
|
23
|
-
/**
|
|
24
|
-
* If `true`, both the `ion-fab-button` and all `ion-fab-list` inside `ion-fab` will become active.
|
|
25
|
-
* That means `ion-fab-button` will become a `close` icon and `ion-fab-list` will become visible.
|
|
26
|
-
*/
|
|
27
23
|
this.activated = false;
|
|
28
24
|
}
|
|
29
25
|
activatedChanged() {
|
|
@@ -75,11 +71,13 @@ const Fab = class {
|
|
|
75
71
|
"activated": ["activatedChanged"]
|
|
76
72
|
}; }
|
|
77
73
|
};
|
|
78
|
-
Fab.style =
|
|
74
|
+
Fab.style = IonFabStyle0;
|
|
79
75
|
|
|
80
76
|
const fabButtonIosCss = ":host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-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;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}";
|
|
77
|
+
const IonFabButtonIosStyle0 = fabButtonIosCss;
|
|
81
78
|
|
|
82
79
|
const fabButtonMdCss = ":host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-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;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}";
|
|
80
|
+
const IonFabButtonMdStyle0 = fabButtonMdCss;
|
|
83
81
|
|
|
84
82
|
const FabButton = class {
|
|
85
83
|
constructor(hostRef) {
|
|
@@ -88,39 +86,6 @@ const FabButton = class {
|
|
|
88
86
|
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
89
87
|
this.fab = null;
|
|
90
88
|
this.inheritedAttributes = {};
|
|
91
|
-
/**
|
|
92
|
-
* If `true`, the fab button will be show a close icon.
|
|
93
|
-
*/
|
|
94
|
-
this.activated = false;
|
|
95
|
-
/**
|
|
96
|
-
* If `true`, the user cannot interact with the fab button.
|
|
97
|
-
*/
|
|
98
|
-
this.disabled = false;
|
|
99
|
-
/**
|
|
100
|
-
* When using a router, it specifies the transition direction when navigating to
|
|
101
|
-
* another page using `href`.
|
|
102
|
-
*/
|
|
103
|
-
this.routerDirection = 'forward';
|
|
104
|
-
/**
|
|
105
|
-
* If `true`, the fab button will show when in a fab-list.
|
|
106
|
-
*/
|
|
107
|
-
this.show = false;
|
|
108
|
-
/**
|
|
109
|
-
* If `true`, the fab button will be translucent.
|
|
110
|
-
* Only applies when the mode is `"ios"` and the device supports
|
|
111
|
-
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
112
|
-
*/
|
|
113
|
-
this.translucent = false;
|
|
114
|
-
/**
|
|
115
|
-
* The type of the button.
|
|
116
|
-
*/
|
|
117
|
-
this.type = 'button';
|
|
118
|
-
/**
|
|
119
|
-
* The icon name to use for the close icon. This will appear when the fab button
|
|
120
|
-
* is pressed. Only applies if it is the main button inside of a fab containing a
|
|
121
|
-
* fab list.
|
|
122
|
-
*/
|
|
123
|
-
this.closeIcon = index$1.close;
|
|
124
89
|
this.onFocus = () => {
|
|
125
90
|
this.ionFocus.emit();
|
|
126
91
|
};
|
|
@@ -134,6 +99,20 @@ const FabButton = class {
|
|
|
134
99
|
}
|
|
135
100
|
fab.toggle();
|
|
136
101
|
};
|
|
102
|
+
this.color = undefined;
|
|
103
|
+
this.activated = false;
|
|
104
|
+
this.disabled = false;
|
|
105
|
+
this.download = undefined;
|
|
106
|
+
this.href = undefined;
|
|
107
|
+
this.rel = undefined;
|
|
108
|
+
this.routerDirection = 'forward';
|
|
109
|
+
this.routerAnimation = undefined;
|
|
110
|
+
this.target = undefined;
|
|
111
|
+
this.show = false;
|
|
112
|
+
this.translucent = false;
|
|
113
|
+
this.type = 'button';
|
|
114
|
+
this.size = undefined;
|
|
115
|
+
this.closeIcon = index$1.close;
|
|
137
116
|
}
|
|
138
117
|
connectedCallback() {
|
|
139
118
|
this.fab = this.el.closest('ion-fab');
|
|
@@ -170,22 +149,17 @@ const FabButton = class {
|
|
|
170
149
|
get el() { return index.getElement(this); }
|
|
171
150
|
};
|
|
172
151
|
FabButton.style = {
|
|
173
|
-
ios:
|
|
174
|
-
md:
|
|
152
|
+
ios: IonFabButtonIosStyle0,
|
|
153
|
+
md: IonFabButtonMdStyle0
|
|
175
154
|
};
|
|
176
155
|
|
|
177
156
|
const fabListCss = ":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.fab-list-side-start){inset-inline-end:0}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}:host(.fab-list-side-end){inset-inline-start:0}";
|
|
157
|
+
const IonFabListStyle0 = fabListCss;
|
|
178
158
|
|
|
179
159
|
const FabList = class {
|
|
180
160
|
constructor(hostRef) {
|
|
181
161
|
index.registerInstance(this, hostRef);
|
|
182
|
-
/**
|
|
183
|
-
* If `true`, the fab list will show all fab buttons in the list.
|
|
184
|
-
*/
|
|
185
162
|
this.activated = false;
|
|
186
|
-
/**
|
|
187
|
-
* The side the fab list will show on relative to the main fab button.
|
|
188
|
-
*/
|
|
189
163
|
this.side = 'bottom';
|
|
190
164
|
}
|
|
191
165
|
activatedChanged(activated) {
|
|
@@ -209,7 +183,7 @@ const FabList = class {
|
|
|
209
183
|
"activated": ["activatedChanged"]
|
|
210
184
|
}; }
|
|
211
185
|
};
|
|
212
|
-
FabList.style =
|
|
186
|
+
FabList.style = IonFabListStyle0;
|
|
213
187
|
|
|
214
188
|
exports.ion_fab = Fab;
|
|
215
189
|
exports.ion_fab_button = FabButton;
|