@ionic/core 8.5.4-dev.11744646756.1244bf71 → 8.5.4-dev.11744657992.1bb14c4f
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 +5 -30
- 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 +81 -196
- 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 +24 -55
- 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-CSpnImi2.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-BzpKQ5zN.js → button-active-43e2b419.js} +3 -3
- package/dist/cjs/{capacitor-DmA66EwP.js → capacitor-c04564bf.js} +1 -1
- package/dist/cjs/{data-BQSLLJwc.js → data-27cc2c9c.js} +5 -30
- 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-B0yu2YGK.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-qOuhvt-6.js → index-2e236a04.js} +668 -1392
- package/dist/cjs/{index-D7kGM2E_.js → index-48b2a28e.js} +1 -1
- package/dist/cjs/{index-BjVGGb_k.js → index-4b70187a.js} +9 -9
- package/dist/cjs/{index-3N0K8CTt.js → index-509ca0d3.js} +3 -3
- package/dist/cjs/{index-B4SdCKIQ.js → index-e36bd277.js} +2 -2
- package/dist/cjs/{index-04WNNW0S.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-B23RZ_yw.js → input-shims-22a9973f.js} +8 -8
- package/dist/cjs/{input.utils-BvrpMdKU.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 +122 -251
- 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 +34 -63
- package/dist/cjs/{ionic-global-D0fKFhpt.js → ionic-global-acb665ad.js} +1 -1
- package/dist/cjs/ionic.cjs.js +8 -8
- package/dist/cjs/{ios.transition-Cyrk-CkT.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-Bh2J94f4.js → md.transition-26003e25.js} +7 -7
- package/dist/cjs/{notch-controller-DNfj7cO6.js → notch-controller-ae03a497.js} +2 -2
- package/dist/cjs/{overlays-hvRku41m.js → overlays-32e1b66b.js} +7 -7
- package/dist/cjs/{status-tap-EJ9Sb5hb.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.ios.css +2 -7
- package/dist/collection/components/datetime/datetime.js +98 -298
- package/dist/collection/components/datetime/datetime.md.css +3 -9
- package/dist/collection/components/datetime/utils/data.js +4 -29
- 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 +61 -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 +28 -86
- package/dist/collection/components/toolbar/toolbar.js +2 -3
- package/dist/docs.d.ts +0 -8
- package/dist/docs.json +584 -1823
- package/dist/esm/{animation-CCtpQcsN.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-C0a0o4Av.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-BQqkZ_sm.js → button-active-90f1dbc4.js} +3 -3
- package/dist/esm/{capacitor-CFERIeaU.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-omKWOMer.js → data-174ad5e0.js} +6 -31
- 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-RMajLSrZ.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-EP3pwcdb.js → index-527b9e34.js} +648 -1392
- package/dist/esm/{index-DR2njD_q.js → index-738d7504.js} +2 -2
- package/dist/esm/{index-BLV6ykCk.js → index-e2cf2ceb.js} +1 -2
- package/dist/esm/{index-CDohRbVJ.js → index-e919e353.js} +3 -3
- package/dist/esm/{index-BKfOgUuW.js → index-ecb55b8d.js} +6 -6
- package/dist/esm/{index-C7r3mIlB.js → index-f9f5d018.js} +6 -6
- package/dist/esm/index.js +18 -18
- package/dist/esm/{input-shims-Clcc9pEO.js → input-shims-7dc1f6dc.js} +8 -8
- package/dist/esm/{input.utils-BeGXuyDm.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 +120 -251
- 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 +32 -63
- package/dist/esm/{ionic-global-CrB2BPUW.js → ionic-global-ca86cf32.js} +1 -1
- package/dist/esm/ionic.js +6 -7
- package/dist/esm/{ios.transition-BObaMu_w.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-BYk9oj5T.js → md.transition-8dc58b46.js} +7 -7
- package/dist/esm/{notch-controller-PoOhjO4o.js → notch-controller-00d92e89.js} +2 -2
- package/dist/esm/{overlays-DUDTB6a2.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-Az5SFsVV.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 -216
- 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-CwbsDRzJ.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-9cac4dc7.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-C-oNjncL.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-uzIBoXdl.js → p-44ff75ea.js} +1 -1
- 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-HRylM0tf.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-RyPJq84W.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-DSMkBmnY.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-7cdee842.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-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-f1f6326a.entry.js → p-b87a9f1d.entry.js} +1 -1
- package/dist/ionic/p-b8a461f5.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-189c7fe9.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-dcc0d747.entry.js +4 -0
- package/dist/ionic/p-e0b7569c.system.entry.js +4 -0
- 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-46f82b82.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-D_2UPtUV.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-Cg19OPuo.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/datetime/datetime-interface.d.ts +0 -1
- package/dist/types/components/datetime/datetime.d.ts +0 -6
- package/dist/types/components/datetime/utils/data.d.ts +1 -3
- package/dist/types/components/datetime/utils/manipulation.d.ts +0 -1
- 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/components.d.ts +0 -8
- 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 +2229 -4687
- package/hydrate/index.mjs +2228 -4686
- 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-006975c7.entry.js +0 -4
- package/dist/ionic/p-00acbe36.entry.js +0 -4
- package/dist/ionic/p-03abd858.entry.js +0 -4
- package/dist/ionic/p-141822bc.entry.js +0 -4
- package/dist/ionic/p-17e8ff6b.entry.js +0 -4
- package/dist/ionic/p-18b4709f.entry.js +0 -4
- package/dist/ionic/p-1bea6291.entry.js +0 -4
- package/dist/ionic/p-1f3d9d38.entry.js +0 -4
- package/dist/ionic/p-20b45b04.entry.js +0 -4
- package/dist/ionic/p-2959ef70.entry.js +0 -4
- package/dist/ionic/p-2b9a91c2.entry.js +0 -4
- package/dist/ionic/p-2c58164d.entry.js +0 -4
- package/dist/ionic/p-2d142503.entry.js +0 -4
- package/dist/ionic/p-3129a2c6.entry.js +0 -4
- package/dist/ionic/p-3a5bc7b1.entry.js +0 -4
- package/dist/ionic/p-40e55257.entry.js +0 -4
- package/dist/ionic/p-45f3c7d9.entry.js +0 -4
- package/dist/ionic/p-47ccb59d.entry.js +0 -4
- package/dist/ionic/p-4bd5bd61.entry.js +0 -4
- package/dist/ionic/p-52043361.entry.js +0 -4
- package/dist/ionic/p-527660e0.entry.js +0 -4
- package/dist/ionic/p-601f0d27.entry.js +0 -4
- package/dist/ionic/p-644759cb.entry.js +0 -4
- package/dist/ionic/p-657e9085.entry.js +0 -4
- package/dist/ionic/p-67178c9b.entry.js +0 -4
- package/dist/ionic/p-67b4c53d.entry.js +0 -4
- package/dist/ionic/p-6cab60b7.entry.js +0 -4
- package/dist/ionic/p-6ceef433.entry.js +0 -4
- package/dist/ionic/p-6d8983d1.entry.js +0 -4
- package/dist/ionic/p-79851759.entry.js +0 -4
- package/dist/ionic/p-7d026411.entry.js +0 -4
- package/dist/ionic/p-7d4b2506.entry.js +0 -4
- package/dist/ionic/p-8b6eb546.entry.js +0 -4
- package/dist/ionic/p-8fc1959d.entry.js +0 -4
- package/dist/ionic/p-9092b7fb.entry.js +0 -4
- package/dist/ionic/p-9eeaBrnk.js +0 -4
- package/dist/ionic/p-9fe56809.entry.js +0 -4
- package/dist/ionic/p-BBmUb2In.js +0 -4
- package/dist/ionic/p-C-xl6pej.js +0 -4
- package/dist/ionic/p-C5Aon1Kb.js +0 -4
- package/dist/ionic/p-CIGNaXM1.js +0 -4
- package/dist/ionic/p-Cl0B-RWe.js +0 -4
- package/dist/ionic/p-CtWGkNnJ.js +0 -4
- package/dist/ionic/p-D0SqsSaH.js +0 -4
- package/dist/ionic/p-DCi8BSH3.js +0 -4
- package/dist/ionic/p-DFllLYu2.js +0 -4
- package/dist/ionic/p-DGw3g412.js +0 -4
- package/dist/ionic/p-Di6ciXLG.js +0 -4
- package/dist/ionic/p-DonNC93r.js +0 -4
- package/dist/ionic/p-EP3pwcdb.js +0 -5
- package/dist/ionic/p-Uz6zKimy.js +0 -4
- package/dist/ionic/p-a5570370.entry.js +0 -4
- package/dist/ionic/p-a5ee3eb8.entry.js +0 -4
- package/dist/ionic/p-a92657fc.entry.js +0 -4
- package/dist/ionic/p-a9997b1b.entry.js +0 -4
- package/dist/ionic/p-b1f3c158.entry.js +0 -4
- package/dist/ionic/p-be19e061.entry.js +0 -4
- package/dist/ionic/p-c5157026.entry.js +0 -4
- package/dist/ionic/p-c6e0f544.entry.js +0 -4
- package/dist/ionic/p-e116bb40.entry.js +0 -4
- package/dist/ionic/p-e8526b09.entry.js +0 -4
- package/dist/ionic/p-umtghMQY.js +0 -4
- package/dist/ionic/p-yluxF5qo.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,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { startFocusVisible } from './focus-visible.js';
|
|
6
|
-
import { r as raf,
|
|
6
|
+
import { r as raf, e as renderHiddenInput, g as getElementRoot } from './helpers.js';
|
|
7
7
|
import { a as printIonError, p as printIonWarning } from './index6.js';
|
|
8
8
|
import { i as isRTL } from './dir.js';
|
|
9
9
|
import { c as createColorClasses } from './theme.js';
|
|
10
|
-
import {
|
|
10
|
+
import { a as chevronBack, f as chevronForward, c as chevronDown, g as caretUpSharp, h as caretDownSharp } from './index7.js';
|
|
11
11
|
import { b as getIonMode } from './ionic-global.js';
|
|
12
|
-
import {
|
|
12
|
+
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getMonthAndYear, J as getDaysOfWeek, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data.js';
|
|
13
13
|
import { d as defineCustomElement$a } from './backdrop.js';
|
|
14
14
|
import { d as defineCustomElement$9 } from './button.js';
|
|
15
15
|
import { d as defineCustomElement$8 } from './buttons.js';
|
|
@@ -229,9 +229,11 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
|
|
232
|
-
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:not(.calendar-day-adjacent-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,:host .calendar-day.calendar-day-adjacent-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 .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}: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%}";
|
|
232
|
+
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%}";
|
|
233
|
+
const IonDatetimeIosStyle0 = datetimeIosCss;
|
|
233
234
|
|
|
234
|
-
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:
|
|
235
|
+
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}";
|
|
236
|
+
const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
235
237
|
|
|
236
238
|
const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLElement {
|
|
237
239
|
constructor() {
|
|
@@ -247,130 +249,6 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
247
249
|
this.ionRender = createEvent(this, "ionRender", 7);
|
|
248
250
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
249
251
|
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
|
-
isAdjacentDay: false,
|
|
260
|
-
};
|
|
261
|
-
this.isTimePopoverOpen = false;
|
|
262
|
-
/**
|
|
263
|
-
* The color to use from your application's color palette.
|
|
264
|
-
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
265
|
-
* For more information on colors, see [theming](/docs/theming/basics).
|
|
266
|
-
*/
|
|
267
|
-
this.color = 'primary';
|
|
268
|
-
/**
|
|
269
|
-
* The name of the control, which is submitted with the form data.
|
|
270
|
-
*/
|
|
271
|
-
this.name = this.inputId;
|
|
272
|
-
/**
|
|
273
|
-
* If `true`, the user cannot interact with the datetime.
|
|
274
|
-
*/
|
|
275
|
-
this.disabled = false;
|
|
276
|
-
/**
|
|
277
|
-
* If `true`, the datetime appears normal but the selected date cannot be changed.
|
|
278
|
-
*/
|
|
279
|
-
this.readonly = false;
|
|
280
|
-
/**
|
|
281
|
-
* If `true`, the datetime calendar displays a six-week (42-day) layout,
|
|
282
|
-
* including days from the previous and next months to fill the grid.
|
|
283
|
-
* These adjacent days are selectable unless disabled.
|
|
284
|
-
*/
|
|
285
|
-
this.showAdjacentDays = false;
|
|
286
|
-
/**
|
|
287
|
-
* Which values you want to select. `"date"` will show
|
|
288
|
-
* a calendar picker to select the month, day, and year. `"time"`
|
|
289
|
-
* will show a time picker to select the hour, minute, and (optionally)
|
|
290
|
-
* AM/PM. `"date-time"` will show the date picker first and time picker second.
|
|
291
|
-
* `"time-date"` will show the time picker first and date picker second.
|
|
292
|
-
*/
|
|
293
|
-
this.presentation = 'date-time';
|
|
294
|
-
/**
|
|
295
|
-
* The text to display on the picker's cancel button.
|
|
296
|
-
*/
|
|
297
|
-
this.cancelText = 'Cancel';
|
|
298
|
-
/**
|
|
299
|
-
* The text to display on the picker's "Done" button.
|
|
300
|
-
*/
|
|
301
|
-
this.doneText = 'Done';
|
|
302
|
-
/**
|
|
303
|
-
* The text to display on the picker's "Clear" button.
|
|
304
|
-
*/
|
|
305
|
-
this.clearText = 'Clear';
|
|
306
|
-
/**
|
|
307
|
-
* The locale to use for `ion-datetime`. This
|
|
308
|
-
* impacts month and day name formatting.
|
|
309
|
-
* The `"default"` value refers to the default
|
|
310
|
-
* locale set by your device.
|
|
311
|
-
*/
|
|
312
|
-
this.locale = 'default';
|
|
313
|
-
/**
|
|
314
|
-
* The first day of the week to use for `ion-datetime`. The
|
|
315
|
-
* default value is `0` and represents Sunday.
|
|
316
|
-
*/
|
|
317
|
-
this.firstDayOfWeek = 0;
|
|
318
|
-
/**
|
|
319
|
-
* If `true`, multiple dates can be selected at once. Only
|
|
320
|
-
* applies to `presentation="date"` and `preferWheel="false"`.
|
|
321
|
-
*/
|
|
322
|
-
this.multiple = false;
|
|
323
|
-
/**
|
|
324
|
-
* If `true`, a header will be shown above the calendar
|
|
325
|
-
* picker. This will include both the slotted title, and
|
|
326
|
-
* the selected date.
|
|
327
|
-
*/
|
|
328
|
-
this.showDefaultTitle = false;
|
|
329
|
-
/**
|
|
330
|
-
* If `true`, the default "Cancel" and "OK" buttons
|
|
331
|
-
* will be rendered at the bottom of the `ion-datetime`
|
|
332
|
-
* component. Developers can also use the `button` slot
|
|
333
|
-
* if they want to customize these buttons. If custom
|
|
334
|
-
* buttons are set in the `button` slot then the
|
|
335
|
-
* default buttons will not be rendered.
|
|
336
|
-
*/
|
|
337
|
-
this.showDefaultButtons = false;
|
|
338
|
-
/**
|
|
339
|
-
* If `true`, a "Clear" button will be rendered alongside
|
|
340
|
-
* the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
|
|
341
|
-
* component. Developers can also use the `button` slot
|
|
342
|
-
* if they want to customize these buttons. If custom
|
|
343
|
-
* buttons are set in the `button` slot then the
|
|
344
|
-
* default buttons will not be rendered.
|
|
345
|
-
*/
|
|
346
|
-
this.showClearButton = false;
|
|
347
|
-
/**
|
|
348
|
-
* If `true`, the default "Time" label will be rendered
|
|
349
|
-
* for the time selector of the `ion-datetime` component.
|
|
350
|
-
* Developers can also use the `time-label` slot
|
|
351
|
-
* if they want to customize this label. If a custom
|
|
352
|
-
* label is set in the `time-label` slot then the
|
|
353
|
-
* default label will not be rendered.
|
|
354
|
-
*/
|
|
355
|
-
this.showDefaultTimeLabel = true;
|
|
356
|
-
/**
|
|
357
|
-
* If `cover`, the `ion-datetime` will expand to cover the full width of its container.
|
|
358
|
-
* If `fixed`, the `ion-datetime` will have a fixed width.
|
|
359
|
-
*/
|
|
360
|
-
this.size = 'fixed';
|
|
361
|
-
/**
|
|
362
|
-
* If `true`, a wheel picker will be rendered instead of a calendar grid
|
|
363
|
-
* where possible. If `false`, a calendar grid will be rendered instead of
|
|
364
|
-
* a wheel picker where possible.
|
|
365
|
-
*
|
|
366
|
-
* A wheel picker can be rendered instead of a grid when `presentation` is
|
|
367
|
-
* one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
|
|
368
|
-
*
|
|
369
|
-
* A wheel picker will always be rendered regardless of
|
|
370
|
-
* the `preferWheel` value when `presentation` is one of the following values:
|
|
371
|
-
* `"time"`, `"month"`, `"month-year"`, or `"year"`.
|
|
372
|
-
*/
|
|
373
|
-
this.preferWheel = false;
|
|
374
252
|
this.warnIfIncorrectValueUsage = () => {
|
|
375
253
|
const { multiple, value } = this;
|
|
376
254
|
if (!multiple && Array.isArray(value)) {
|
|
@@ -565,15 +443,12 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
565
443
|
};
|
|
566
444
|
this.focusWorkingDay = (currentMonth) => {
|
|
567
445
|
/**
|
|
568
|
-
* Get the number of
|
|
446
|
+
* Get the number of padding days so
|
|
569
447
|
* we know how much to offset our next selector by
|
|
570
448
|
* to grab the correct calendar-day element.
|
|
571
449
|
*/
|
|
572
|
-
const
|
|
573
|
-
const
|
|
574
|
-
const offset = firstOfMonth >= this.firstDayOfWeek
|
|
575
|
-
? firstOfMonth - this.firstDayOfWeek
|
|
576
|
-
: 7 - (this.firstDayOfWeek - firstOfMonth);
|
|
450
|
+
const padding = currentMonth.querySelectorAll('.calendar-day-padding');
|
|
451
|
+
const { day } = this.workingParts;
|
|
577
452
|
if (day === null) {
|
|
578
453
|
return;
|
|
579
454
|
}
|
|
@@ -581,7 +456,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
581
456
|
* Get the calendar day element
|
|
582
457
|
* and focus it.
|
|
583
458
|
*/
|
|
584
|
-
const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${
|
|
459
|
+
const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${padding.length + day}) .calendar-day`);
|
|
585
460
|
if (dayEl) {
|
|
586
461
|
dayEl.focus();
|
|
587
462
|
}
|
|
@@ -966,6 +841,48 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
966
841
|
this.toggleMonthAndYearView = () => {
|
|
967
842
|
this.showMonthAndYear = !this.showMonthAndYear;
|
|
968
843
|
};
|
|
844
|
+
this.showMonthAndYear = false;
|
|
845
|
+
this.activeParts = [];
|
|
846
|
+
this.workingParts = {
|
|
847
|
+
month: 5,
|
|
848
|
+
day: 28,
|
|
849
|
+
year: 2021,
|
|
850
|
+
hour: 13,
|
|
851
|
+
minute: 52,
|
|
852
|
+
ampm: 'pm',
|
|
853
|
+
};
|
|
854
|
+
this.isTimePopoverOpen = false;
|
|
855
|
+
this.forceRenderDate = undefined;
|
|
856
|
+
this.color = 'primary';
|
|
857
|
+
this.name = this.inputId;
|
|
858
|
+
this.disabled = false;
|
|
859
|
+
this.formatOptions = undefined;
|
|
860
|
+
this.readonly = false;
|
|
861
|
+
this.isDateEnabled = undefined;
|
|
862
|
+
this.min = undefined;
|
|
863
|
+
this.max = undefined;
|
|
864
|
+
this.presentation = 'date-time';
|
|
865
|
+
this.cancelText = 'Cancel';
|
|
866
|
+
this.doneText = 'Done';
|
|
867
|
+
this.clearText = 'Clear';
|
|
868
|
+
this.yearValues = undefined;
|
|
869
|
+
this.monthValues = undefined;
|
|
870
|
+
this.dayValues = undefined;
|
|
871
|
+
this.hourValues = undefined;
|
|
872
|
+
this.minuteValues = undefined;
|
|
873
|
+
this.locale = 'default';
|
|
874
|
+
this.firstDayOfWeek = 0;
|
|
875
|
+
this.titleSelectedDatesFormatter = undefined;
|
|
876
|
+
this.multiple = false;
|
|
877
|
+
this.highlightedDates = undefined;
|
|
878
|
+
this.value = undefined;
|
|
879
|
+
this.showDefaultTitle = false;
|
|
880
|
+
this.showDefaultButtons = false;
|
|
881
|
+
this.showClearButton = false;
|
|
882
|
+
this.showDefaultTimeLabel = true;
|
|
883
|
+
this.hourCycle = undefined;
|
|
884
|
+
this.size = 'fixed';
|
|
885
|
+
this.preferWheel = false;
|
|
969
886
|
}
|
|
970
887
|
formatOptionsChanged() {
|
|
971
888
|
const { el, formatOptions, presentation } = this;
|
|
@@ -1595,36 +1512,10 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1595
1512
|
'calendar-month': true,
|
|
1596
1513
|
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
|
1597
1514
|
'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
|
|
1598
|
-
} }, h("div", { class: "calendar-month-grid" }, getDaysOfMonth(month, year, this.firstDayOfWeek % 7
|
|
1599
|
-
const { day, dayOfWeek
|
|
1600
|
-
const { el, highlightedDates, isDateEnabled, multiple
|
|
1601
|
-
|
|
1602
|
-
let _year = year;
|
|
1603
|
-
if (showAdjacentDays && isAdjacentDay && day !== null) {
|
|
1604
|
-
if (day > 20) {
|
|
1605
|
-
// Leading with the adjacent day from the previous month
|
|
1606
|
-
// if its a adjacent day and is higher than '20' (last week even in feb)
|
|
1607
|
-
if (month === 1) {
|
|
1608
|
-
_year = year - 1;
|
|
1609
|
-
_month = 12;
|
|
1610
|
-
}
|
|
1611
|
-
else {
|
|
1612
|
-
_month = month - 1;
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
else if (day < 15) {
|
|
1616
|
-
// Leading with the adjacent day from the next month
|
|
1617
|
-
// if its a adjacent day and is lower than '15' (first two weeks)
|
|
1618
|
-
if (month === 12) {
|
|
1619
|
-
_year = year + 1;
|
|
1620
|
-
_month = 1;
|
|
1621
|
-
}
|
|
1622
|
-
else {
|
|
1623
|
-
_month = month + 1;
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
const referenceParts = { month: _month, day, year: _year, isAdjacentDay };
|
|
1515
|
+
} }, h("div", { class: "calendar-month-grid" }, getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index) => {
|
|
1516
|
+
const { day, dayOfWeek } = dateObject;
|
|
1517
|
+
const { el, highlightedDates, isDateEnabled, multiple } = this;
|
|
1518
|
+
const referenceParts = { month, day, year };
|
|
1628
1519
|
const isCalendarPadding = day === null;
|
|
1629
1520
|
const { isActive, isToday, ariaLabel, ariaSelected, disabled: isDayDisabled, text, } = getCalendarDayState(this.locale, referenceParts, this.activeParts, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues);
|
|
1630
1521
|
const dateIsoString = convertDataToISO(referenceParts);
|
|
@@ -1654,18 +1545,15 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1654
1545
|
* Custom highlight styles should not override the style for selected dates,
|
|
1655
1546
|
* nor apply to "filler days" at the start of the grid.
|
|
1656
1547
|
*/
|
|
1657
|
-
if (highlightedDates !== undefined && !isActive && day !== null
|
|
1548
|
+
if (highlightedDates !== undefined && !isActive && day !== null) {
|
|
1658
1549
|
dateStyle = getHighlightStyles(highlightedDates, dateIsoString, el);
|
|
1659
1550
|
}
|
|
1660
1551
|
let dateParts = undefined;
|
|
1661
1552
|
// "Filler days" at the beginning of the grid should not get the calendar day
|
|
1662
1553
|
// CSS parts added to them
|
|
1663
|
-
if (!isCalendarPadding
|
|
1554
|
+
if (!isCalendarPadding) {
|
|
1664
1555
|
dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1665
1556
|
}
|
|
1666
|
-
else if (isAdjacentDay) {
|
|
1667
|
-
dateParts = `calendar-day${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1668
|
-
}
|
|
1669
1557
|
return (h("div", { class: "calendar-day-wrapper" }, h("button", {
|
|
1670
1558
|
// We need to use !important for the inline styles here because
|
|
1671
1559
|
// otherwise the CSS shadow parts will override these styles.
|
|
@@ -1678,33 +1566,31 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1678
1566
|
el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
|
|
1679
1567
|
el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
|
|
1680
1568
|
}
|
|
1681
|
-
}, tabindex: "-1", "data-day": day, "data-month":
|
|
1569
|
+
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
|
|
1682
1570
|
'calendar-day-padding': isCalendarPadding,
|
|
1683
1571
|
'calendar-day': true,
|
|
1684
1572
|
'calendar-day-active': isActive,
|
|
1685
1573
|
'calendar-day-constrained': isCalDayConstrained,
|
|
1686
1574
|
'calendar-day-today': isToday,
|
|
1687
|
-
'calendar-day-adjacent-day': isAdjacentDay,
|
|
1688
1575
|
}, part: dateParts, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
|
|
1689
1576
|
if (isCalendarPadding) {
|
|
1690
1577
|
return;
|
|
1691
1578
|
}
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
this.
|
|
1579
|
+
this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month,
|
|
1580
|
+
day,
|
|
1581
|
+
year }));
|
|
1582
|
+
// multiple only needs date info, so we can wipe out other fields like time
|
|
1583
|
+
if (multiple) {
|
|
1584
|
+
this.setActiveParts({
|
|
1585
|
+
month,
|
|
1586
|
+
day,
|
|
1587
|
+
year,
|
|
1588
|
+
}, isActive);
|
|
1698
1589
|
}
|
|
1699
1590
|
else {
|
|
1700
|
-
this.
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
this.setActiveParts(referenceParts, isActive);
|
|
1704
|
-
}
|
|
1705
|
-
else {
|
|
1706
|
-
this.setActiveParts(Object.assign(Object.assign({}, activePart), referenceParts));
|
|
1707
|
-
}
|
|
1591
|
+
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month,
|
|
1592
|
+
day,
|
|
1593
|
+
year }));
|
|
1708
1594
|
}
|
|
1709
1595
|
}
|
|
1710
1596
|
}, text)));
|
|
@@ -1875,7 +1761,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1875
1761
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1876
1762
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1877
1763
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1878
|
-
return (h(Host, { key: '
|
|
1764
|
+
return (h(Host, { key: '08d429533a09c600b936ad1e022658051c765595', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1879
1765
|
[mode]: true,
|
|
1880
1766
|
['datetime-readonly']: readonly,
|
|
1881
1767
|
['datetime-disabled']: disabled,
|
|
@@ -1885,7 +1771,7 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1885
1771
|
[`datetime-size-${size}`]: true,
|
|
1886
1772
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1887
1773
|
[`datetime-grid`]: isGridStyle,
|
|
1888
|
-
})) }, h("div", { key: '
|
|
1774
|
+
})) }, h("div", { key: 'f4ff0fcd1e059767a7ef14fcc76ebfd55d23a97b', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1889
1775
|
}
|
|
1890
1776
|
get el() { return this; }
|
|
1891
1777
|
static get watchers() { return {
|
|
@@ -1902,17 +1788,16 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1902
1788
|
"value": ["valueChanged"]
|
|
1903
1789
|
}; }
|
|
1904
1790
|
static get style() { return {
|
|
1905
|
-
ios:
|
|
1906
|
-
md:
|
|
1791
|
+
ios: IonDatetimeIosStyle0,
|
|
1792
|
+
md: IonDatetimeMdStyle0
|
|
1907
1793
|
}; }
|
|
1908
1794
|
}, [33, "ion-datetime", {
|
|
1909
1795
|
"color": [1],
|
|
1910
1796
|
"name": [1],
|
|
1911
1797
|
"disabled": [4],
|
|
1912
|
-
"formatOptions": [16
|
|
1798
|
+
"formatOptions": [16],
|
|
1913
1799
|
"readonly": [4],
|
|
1914
|
-
"isDateEnabled": [16
|
|
1915
|
-
"showAdjacentDays": [4, "show-adjacent-days"],
|
|
1800
|
+
"isDateEnabled": [16],
|
|
1916
1801
|
"min": [1025],
|
|
1917
1802
|
"max": [1025],
|
|
1918
1803
|
"presentation": [1],
|
|
@@ -1926,9 +1811,9 @@ const Datetime = /*@__PURE__*/ proxyCustomElement(class Datetime extends HTMLEle
|
|
|
1926
1811
|
"minuteValues": [8, "minute-values"],
|
|
1927
1812
|
"locale": [1],
|
|
1928
1813
|
"firstDayOfWeek": [2, "first-day-of-week"],
|
|
1929
|
-
"titleSelectedDatesFormatter": [16
|
|
1814
|
+
"titleSelectedDatesFormatter": [16],
|
|
1930
1815
|
"multiple": [4],
|
|
1931
|
-
"highlightedDates": [16
|
|
1816
|
+
"highlightedDates": [16],
|
|
1932
1817
|
"value": [1025],
|
|
1933
1818
|
"showDefaultTitle": [4, "show-default-title"],
|
|
1934
1819
|
"showDefaultButtons": [4, "show-default-buttons"],
|
|
@@ -4,14 +4,16 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { h as hostContext, c as createColorClasses, o as openURL } from './theme.js';
|
|
7
|
-
import { i as close } from './
|
|
7
|
+
import { i as close } from './index7.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
11
11
|
|
|
12
12
|
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)}}";
|
|
13
|
+
const IonFabButtonIosStyle0 = fabButtonIosCss;
|
|
13
14
|
|
|
14
15
|
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)}}";
|
|
16
|
+
const IonFabButtonMdStyle0 = fabButtonMdCss;
|
|
15
17
|
|
|
16
18
|
const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLElement {
|
|
17
19
|
constructor() {
|
|
@@ -22,39 +24,6 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
22
24
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
23
25
|
this.fab = null;
|
|
24
26
|
this.inheritedAttributes = {};
|
|
25
|
-
/**
|
|
26
|
-
* If `true`, the fab button will be show a close icon.
|
|
27
|
-
*/
|
|
28
|
-
this.activated = false;
|
|
29
|
-
/**
|
|
30
|
-
* If `true`, the user cannot interact with the fab button.
|
|
31
|
-
*/
|
|
32
|
-
this.disabled = false;
|
|
33
|
-
/**
|
|
34
|
-
* When using a router, it specifies the transition direction when navigating to
|
|
35
|
-
* another page using `href`.
|
|
36
|
-
*/
|
|
37
|
-
this.routerDirection = 'forward';
|
|
38
|
-
/**
|
|
39
|
-
* If `true`, the fab button will show when in a fab-list.
|
|
40
|
-
*/
|
|
41
|
-
this.show = false;
|
|
42
|
-
/**
|
|
43
|
-
* If `true`, the fab button will be translucent.
|
|
44
|
-
* Only applies when the mode is `"ios"` and the device supports
|
|
45
|
-
* [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
|
|
46
|
-
*/
|
|
47
|
-
this.translucent = false;
|
|
48
|
-
/**
|
|
49
|
-
* The type of the button.
|
|
50
|
-
*/
|
|
51
|
-
this.type = 'button';
|
|
52
|
-
/**
|
|
53
|
-
* The icon name to use for the close icon. This will appear when the fab button
|
|
54
|
-
* is pressed. Only applies if it is the main button inside of a fab containing a
|
|
55
|
-
* fab list.
|
|
56
|
-
*/
|
|
57
|
-
this.closeIcon = close;
|
|
58
27
|
this.onFocus = () => {
|
|
59
28
|
this.ionFocus.emit();
|
|
60
29
|
};
|
|
@@ -68,6 +37,20 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
68
37
|
}
|
|
69
38
|
fab.toggle();
|
|
70
39
|
};
|
|
40
|
+
this.color = undefined;
|
|
41
|
+
this.activated = false;
|
|
42
|
+
this.disabled = false;
|
|
43
|
+
this.download = undefined;
|
|
44
|
+
this.href = undefined;
|
|
45
|
+
this.rel = undefined;
|
|
46
|
+
this.routerDirection = 'forward';
|
|
47
|
+
this.routerAnimation = undefined;
|
|
48
|
+
this.target = undefined;
|
|
49
|
+
this.show = false;
|
|
50
|
+
this.translucent = false;
|
|
51
|
+
this.type = 'button';
|
|
52
|
+
this.size = undefined;
|
|
53
|
+
this.closeIcon = close;
|
|
71
54
|
}
|
|
72
55
|
connectedCallback() {
|
|
73
56
|
this.fab = this.el.closest('ion-fab');
|
|
@@ -103,8 +86,8 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
103
86
|
}
|
|
104
87
|
get el() { return this; }
|
|
105
88
|
static get style() { return {
|
|
106
|
-
ios:
|
|
107
|
-
md:
|
|
89
|
+
ios: IonFabButtonIosStyle0,
|
|
90
|
+
md: IonFabButtonMdStyle0
|
|
108
91
|
}; }
|
|
109
92
|
}, [33, "ion-fab-button", {
|
|
110
93
|
"color": [513],
|
|
@@ -114,7 +97,7 @@ const FabButton = /*@__PURE__*/ proxyCustomElement(class FabButton extends HTMLE
|
|
|
114
97
|
"href": [1],
|
|
115
98
|
"rel": [1],
|
|
116
99
|
"routerDirection": [1, "router-direction"],
|
|
117
|
-
"routerAnimation": [16
|
|
100
|
+
"routerAnimation": [16],
|
|
118
101
|
"target": [1],
|
|
119
102
|
"show": [4],
|
|
120
103
|
"translucent": [4],
|