voyager-ionic-core 8.5.7 → 8.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +37 -23
- package/components/alert.js +42 -26
- package/components/animation.js +2 -2
- package/components/backdrop.js +11 -4
- package/components/button-active.js +1 -1
- package/components/button.js +53 -29
- package/components/buttons.js +14 -4
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +40 -16
- package/components/config.js +1 -1
- package/components/content.js +24 -5
- package/components/data.js +31 -6
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +2 -2
- package/components/header.js +12 -7
- package/components/helpers.js +3 -6
- package/components/icon.js +1 -2
- package/components/index.js +1 -1
- package/components/index2.js +1 -1
- package/components/index3.js +3 -5
- package/components/index4.js +1 -1
- package/components/index5.js +2 -2
- package/components/index6.js +28 -3
- package/components/index7.js +163 -27
- package/components/index8.js +1 -1
- package/components/index9.js +3 -163
- package/components/input-shims.js +25 -2
- package/components/input.utils.js +2 -2
- package/components/ion-accordion-group.js +20 -7
- package/components/ion-accordion.js +32 -14
- package/components/ion-app.js +4 -5
- package/components/ion-avatar.js +2 -4
- package/components/ion-back-button.js +12 -13
- package/components/ion-badge.js +2 -5
- package/components/ion-breadcrumb.js +22 -20
- package/components/ion-breadcrumbs.js +14 -10
- package/components/ion-card-content.js +2 -4
- package/components/ion-card-header.js +7 -5
- package/components/ion-card-subtitle.js +2 -5
- package/components/ion-card-title.js +2 -5
- package/components/ion-card.js +16 -11
- package/components/ion-chip.js +8 -5
- package/components/ion-col.js +1 -26
- package/components/ion-datetime-button.js +16 -14
- package/components/ion-datetime.js +222 -131
- package/components/ion-fab-button.js +37 -20
- package/components/ion-fab-list.js +7 -2
- package/components/ion-fab.js +10 -4
- package/components/ion-footer.js +13 -8
- package/components/ion-grid.js +4 -2
- package/components/ion-img.js +1 -6
- package/components/ion-infinite-scroll-content.js +2 -6
- package/components/ion-infinite-scroll.js +27 -6
- package/components/ion-input-otp.d.ts +11 -0
- package/components/ion-input-otp.js +631 -0
- package/components/ion-input-password-toggle.js +11 -13
- package/components/ion-input.js +79 -51
- package/components/ion-item-divider.js +11 -7
- package/components/ion-item-group.js +3 -5
- package/components/ion-item-option.js +16 -14
- package/components/ion-item-options.js +7 -5
- package/components/ion-item-sliding.js +8 -5
- package/components/ion-loading.js +38 -21
- package/components/ion-menu-button.js +17 -12
- package/components/ion-menu-toggle.js +11 -7
- package/components/ion-menu.js +28 -12
- package/components/ion-nav-link.js +7 -7
- package/components/ion-nav.js +9 -12
- package/components/ion-note.js +4 -7
- package/components/ion-picker-legacy.js +47 -27
- package/components/ion-progress-bar.js +20 -7
- package/components/ion-range.js +69 -29
- package/components/ion-refresher-content.js +2 -6
- package/components/ion-refresher.js +56 -8
- package/components/ion-reorder-group.js +7 -5
- package/components/ion-reorder.js +4 -6
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +9 -7
- package/components/ion-router-link.js +9 -11
- package/components/ion-router-outlet.js +12 -10
- package/components/ion-router.js +19 -1
- package/components/ion-row.js +2 -3
- package/components/ion-searchbar.js +82 -33
- package/components/ion-segment-button.js +22 -13
- package/components/ion-segment-content.js +2 -3
- package/components/ion-segment-view.js +7 -7
- package/components/ion-segment.js +24 -13
- package/components/ion-select-option.js +5 -4
- package/components/ion-select.js +68 -34
- package/components/ion-skeleton-text.js +6 -4
- package/components/ion-split-pane.js +13 -8
- package/components/ion-tab-bar.js +9 -8
- package/components/ion-tab-button.js +12 -14
- package/components/ion-tab.js +5 -8
- package/components/ion-tabs.js +5 -6
- package/components/ion-text.js +3 -5
- package/components/ion-textarea.js +72 -36
- package/components/ion-thumbnail.js +2 -3
- package/components/ion-toast.js +58 -35
- package/components/ion-toggle.js +55 -24
- package/components/ionic-global.js +1 -1
- package/components/item.js +20 -14
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +134 -69
- package/components/keyboard2.js +69 -134
- package/components/label.js +4 -8
- package/components/list-header.js +4 -8
- package/components/list.js +6 -6
- package/components/modal.js +252 -205
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +3 -3
- package/components/picker-column-option.js +20 -7
- package/components/picker-column.js +25 -10
- package/components/picker-column2.js +8 -11
- package/components/picker.js +2 -4
- package/components/popover.js +132 -40
- package/components/radio-group.js +11 -11
- package/components/radio.js +30 -16
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +11 -3
- package/components/select-modal.js +4 -9
- package/components/select-popover.js +6 -9
- package/components/spinner.js +5 -6
- package/components/swipe-back.js +1 -1
- package/components/title.js +4 -8
- package/components/toolbar.js +4 -7
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/structure.css +1 -1
- package/css/structure.css.map +1 -1
- package/dist/cjs/{animation-ab2d3449.js → animation-0T7gKwOt.js} +2 -2
- package/dist/cjs/{button-active-43e2b419.js → button-active-C-4ud7Ht.js} +3 -3
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-DmA66EwP.js} +1 -1
- package/dist/cjs/{config-f6225ae7.js → config-U7OAuj53.js} +1 -1
- package/dist/cjs/{data-94e8d392.js → data-DRqa6oM4.js} +30 -5
- package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-C7sIJyT5.js} +1 -1
- package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-dtqlP_q4.js} +1 -1
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-ClPPQ_PS.js} +1 -1
- package/dist/cjs/{hardware-back-button-3d2b1004.js → hardware-back-button-D90qZxju.js} +2 -2
- package/dist/cjs/{helpers-8a48fdea.js → helpers-BITAzJfi.js} +2 -5
- package/dist/cjs/{index-dbe01e08.js → index-BDBT0u4l.js} +3 -3
- package/dist/cjs/{index-ee07ed59.js → index-CAvQ7Tka.js} +3 -4
- package/dist/cjs/{index-073c7cdc.js → index-CPbAsnJK.js} +1 -0
- package/dist/cjs/{index-31b07b9c.js → index-CVa6JE57.js} +3 -3
- package/dist/cjs/{index-a96d31ae.js → index-CxfLS2mX.js} +8 -9
- package/dist/cjs/{index-2e236a04.js → index-DODXXb_r.js} +1676 -675
- package/dist/cjs/{index-1eff7149.js → index-y0QaNtCi.js} +6 -7
- package/dist/cjs/index.cjs.js +22 -28
- package/dist/cjs/{input-shims-415be7ee.js → input-shims-D1Mfgd4s.js} +29 -6
- package/dist/cjs/{input.utils-a7957fd6.js → input.utils-DSoBEyUu.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +56 -29
- package/dist/cjs/ion-action-sheet.cjs.entry.js +50 -40
- package/dist/cjs/ion-alert.cjs.entry.js +59 -47
- package/dist/cjs/ion-app_8.cjs.entry.js +134 -105
- package/dist/cjs/ion-avatar_3.cjs.entry.js +10 -20
- package/dist/cjs/ion-back-button.cjs.entry.js +21 -26
- package/dist/cjs/ion-backdrop.cjs.entry.js +13 -10
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +39 -37
- package/dist/cjs/ion-button_2.cjs.entry.js +54 -37
- package/dist/cjs/ion-card_5.cjs.entry.js +36 -41
- package/dist/cjs/ion-checkbox.cjs.entry.js +44 -24
- package/dist/cjs/ion-chip.cjs.entry.js +11 -12
- package/dist/cjs/ion-col_3.cjs.entry.js +10 -38
- package/dist/cjs/ion-datetime-button.cjs.entry.js +23 -25
- package/dist/cjs/ion-datetime_3.cjs.entry.js +344 -241
- package/dist/cjs/ion-fab_3.cjs.entry.js +59 -35
- package/dist/cjs/ion-img.cjs.entry.js +4 -13
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +38 -25
- package/dist/cjs/ion-input-otp.cjs.entry.js +593 -0
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -23
- package/dist/cjs/ion-input.cjs.entry.js +86 -62
- package/dist/cjs/ion-item-option_3.cjs.entry.js +40 -37
- package/dist/cjs/ion-item_8.cjs.entry.js +69 -74
- package/dist/cjs/ion-loading.cjs.entry.js +50 -37
- package/dist/cjs/ion-menu_3.cjs.entry.js +84 -63
- package/dist/cjs/ion-modal.cjs.entry.js +271 -228
- package/dist/cjs/ion-nav_2.cjs.entry.js +30 -37
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +24 -15
- package/dist/cjs/ion-picker-column.cjs.entry.js +32 -21
- package/dist/cjs/ion-picker.cjs.entry.js +4 -9
- package/dist/cjs/ion-popover.cjs.entry.js +143 -55
- package/dist/cjs/ion-progress-bar.cjs.entry.js +24 -15
- package/dist/cjs/ion-radio_2.cjs.entry.js +47 -37
- package/dist/cjs/ion-range.cjs.entry.js +78 -42
- package/dist/cjs/ion-refresher_2.cjs.entry.js +81 -41
- package/dist/cjs/ion-reorder_2.cjs.entry.js +19 -23
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +13 -9
- package/dist/cjs/ion-route_4.cjs.entry.js +52 -40
- package/dist/cjs/ion-searchbar.cjs.entry.js +91 -46
- package/dist/cjs/ion-segment-content.cjs.entry.js +3 -6
- package/dist/cjs/ion-segment-view.cjs.entry.js +8 -10
- package/dist/cjs/ion-segment_2.cjs.entry.js +55 -39
- package/dist/cjs/ion-select-modal.cjs.entry.js +12 -21
- package/dist/cjs/ion-select_3.cjs.entry.js +98 -70
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -17
- package/dist/cjs/ion-split-pane.cjs.entry.js +16 -15
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +31 -36
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -20
- package/dist/cjs/ion-text.cjs.entry.js +6 -12
- package/dist/cjs/ion-textarea.cjs.entry.js +79 -47
- package/dist/cjs/ion-toast.cjs.entry.js +82 -63
- package/dist/cjs/ion-toggle.cjs.entry.js +64 -37
- package/dist/cjs/ionic.cjs.js +7 -10
- package/dist/cjs/{ios.transition-a131cd4d.js → ios.transition-baEy2tr4.js} +5 -6
- package/dist/cjs/{keyboard-0272231f.js → keyboard-UuAS4D_9.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-GXBiBRKS.js} +2 -2
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-hHzlEQpk.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -8
- package/dist/cjs/{md.transition-e018ebe5.js → md.transition-Bvc-JrM5.js} +5 -6
- package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-BAbqGXRi.js} +2 -2
- package/dist/cjs/{overlays-4c291a05.js → overlays-DRDumz2b.js} +9 -10
- package/dist/cjs/{status-tap-f1acefac.js → status-tap-Db3WeCkO.js} +3 -4
- package/dist/cjs/{swipe-back-442ca3d7.js → swipe-back-bLyc4PSi.js} +5 -5
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +43 -13
- package/dist/collection/components/accordion-group/accordion-group.js +35 -8
- package/dist/collection/components/action-sheet/action-sheet.js +84 -31
- package/dist/collection/components/alert/alert.js +94 -34
- package/dist/collection/components/back-button/back-button.js +30 -14
- package/dist/collection/components/backdrop/backdrop.js +18 -3
- package/dist/collection/components/badge/badge.js +3 -4
- package/dist/collection/components/breadcrumb/breadcrumb.js +57 -26
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +24 -10
- package/dist/collection/components/button/button.js +97 -36
- package/dist/collection/components/buttons/buttons.js +15 -1
- package/dist/collection/components/card/card.js +44 -16
- package/dist/collection/components/card-header/card-header.js +11 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +3 -4
- package/dist/collection/components/card-title/card-title.js +3 -4
- package/dist/collection/components/checkbox/checkbox.js +74 -24
- package/dist/collection/components/chip/chip.js +15 -4
- package/dist/collection/components/col/col.js +72 -50
- package/dist/collection/components/content/content.js +43 -9
- package/dist/collection/components/datetime/datetime.ios.css +7 -2
- package/dist/collection/components/datetime/datetime.js +323 -147
- package/dist/collection/components/datetime/datetime.md.css +9 -3
- package/dist/collection/components/datetime/utils/data.js +29 -4
- package/dist/collection/components/datetime-button/datetime-button.js +21 -11
- package/dist/collection/components/fab/fab.js +21 -6
- package/dist/collection/components/fab-button/fab-button.js +76 -28
- package/dist/collection/components/fab-list/fab-list.js +12 -2
- package/dist/collection/components/footer/footer.js +16 -5
- package/dist/collection/components/grid/grid.js +6 -1
- package/dist/collection/components/header/header.js +15 -4
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +35 -7
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +6 -4
- package/dist/collection/components/input/input.js +178 -79
- package/dist/collection/components/input-otp/input-otp-interface.js +1 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +381 -0
- package/dist/collection/components/input-otp/input-otp.js +1003 -0
- package/dist/collection/components/input-otp/input-otp.md.css +381 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +19 -11
- package/dist/collection/components/item/item.js +56 -21
- package/dist/collection/components/item-divider/item-divider.js +15 -5
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +38 -18
- package/dist/collection/components/item-options/item-options.js +8 -2
- package/dist/collection/components/item-sliding/item-sliding.js +9 -3
- package/dist/collection/components/label/label.js +8 -6
- package/dist/collection/components/list/list.js +10 -4
- package/dist/collection/components/list-header/list-header.js +8 -8
- package/dist/collection/components/loading/loading.js +88 -31
- package/dist/collection/components/menu/menu.js +44 -12
- package/dist/collection/components/menu-button/menu-button.js +29 -12
- package/dist/collection/components/menu-toggle/menu-toggle.js +16 -7
- package/dist/collection/components/modal/animations/ios.enter.js +1 -41
- package/dist/collection/components/modal/animations/ios.leave.js +2 -24
- package/dist/collection/components/modal/animations/md.enter.js +2 -42
- package/dist/collection/components/modal/animations/md.leave.js +2 -24
- package/dist/collection/components/modal/gestures/sheet.js +122 -29
- package/dist/collection/components/modal/modal.ios.css +0 -10
- package/dist/collection/components/modal/modal.js +192 -55
- package/dist/collection/components/nav/nav.js +25 -12
- package/dist/collection/components/nav-link/nav-link.js +19 -9
- package/dist/collection/components/note/note.js +5 -6
- package/dist/collection/components/picker-column/picker-column.js +34 -10
- package/dist/collection/components/picker-column-option/picker-column-option.js +27 -6
- package/dist/collection/components/picker-legacy/picker.js +93 -33
- package/dist/collection/components/picker-legacy-column/picker-column.js +7 -5
- package/dist/collection/components/popover/popover.js +211 -58
- package/dist/collection/components/progress-bar/progress-bar.js +32 -7
- package/dist/collection/components/radio/radio.js +49 -19
- package/dist/collection/components/radio-group/radio-group.js +27 -13
- package/dist/collection/components/range/range.js +112 -37
- package/dist/collection/components/refresher/refresher.js +69 -7
- package/dist/collection/components/refresher-content/refresher-content.js +13 -9
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +7 -2
- package/dist/collection/components/ripple-effect/ripple-effect.js +13 -2
- package/dist/collection/components/route/route.js +24 -9
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +24 -2
- package/dist/collection/components/router-link/router-link.js +26 -14
- package/dist/collection/components/router-outlet/router-outlet.js +25 -9
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +146 -51
- package/dist/collection/components/segment/segment.js +40 -15
- package/dist/collection/components/segment-button/segment-button.js +34 -13
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +8 -4
- package/dist/collection/components/select/select.js +128 -48
- package/dist/collection/components/select-modal/select-modal.js +10 -5
- package/dist/collection/components/select-option/select-option.js +10 -4
- package/dist/collection/components/select-popover/select-popover.js +19 -9
- package/dist/collection/components/skeleton-text/skeleton-text.js +8 -3
- package/dist/collection/components/spinner/spinner.js +16 -8
- package/dist/collection/components/split-pane/split-pane.js +19 -6
- package/dist/collection/components/tab/tab.js +16 -9
- package/dist/collection/components/tab-bar/tab-bar.js +16 -7
- package/dist/collection/components/tab-button/tab-button.js +34 -18
- package/dist/collection/components/tabs/tabs.js +6 -4
- package/dist/collection/components/text/text.js +5 -6
- package/dist/collection/components/textarea/textarea.js +154 -59
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +8 -8
- package/dist/collection/components/toast/toast.js +121 -47
- package/dist/collection/components/toggle/toggle.js +86 -28
- package/dist/collection/components/toolbar/toolbar.js +5 -4
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +23 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +4490 -942
- package/dist/esm/{animation-8b25e105.js → animation-BWcUKtbn.js} +2 -2
- package/dist/esm/{button-active-90f1dbc4.js → button-active-Bxcnevju.js} +3 -3
- package/dist/esm/{capacitor-59395cbd.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/{config-9898ed97.js → config-AaTyISnm.js} +1 -1
- package/dist/esm/{data-0d7ea6eb.js → data-GIsHsYIB.js} +31 -6
- package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-DxcnWic_.js} +1 -1
- package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-BTEOs1at.js} +1 -1
- package/dist/esm/{haptic-ac164e4c.js → haptic-DzAMWJuk.js} +2 -2
- package/dist/esm/{hardware-back-button-a7eb8233.js → hardware-back-button-DcH0BbDp.js} +2 -2
- package/dist/esm/{helpers-d94bc8ad.js → helpers-1O4D2b7y.js} +3 -6
- package/dist/esm/{index-e2cf2ceb.js → index-BLV6ykCk.js} +2 -1
- package/dist/esm/{index-527b9e34.js → index-B_U9CtaY.js} +1667 -654
- package/dist/esm/{index-9a17db3d.js → index-BlJTBdxG.js} +3 -3
- package/dist/esm/{index-be190feb.js → index-CWbP1eJz.js} +3 -3
- package/dist/esm/{index-39782642.js → index-CfgBF1SE.js} +4 -6
- package/dist/esm/{index-18f31305.js → index-D8sncTHY.js} +5 -6
- package/dist/esm/{index-68c0d151.js → index-DfBA5ztX.js} +4 -5
- package/dist/esm/index.js +16 -18
- package/dist/esm/{input-shims-279903e2.js → input-shims-C3lNp93k.js} +29 -6
- package/dist/esm/{input.utils-40504d6d.js → input.utils-zWijNCrx.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +52 -23
- package/dist/esm/ion-action-sheet.entry.js +48 -36
- package/dist/esm/ion-alert.entry.js +53 -39
- package/dist/esm/ion-app_8.entry.js +99 -68
- package/dist/esm/ion-avatar_3.entry.js +8 -16
- package/dist/esm/ion-back-button.entry.js +14 -17
- package/dist/esm/ion-backdrop.entry.js +12 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +37 -33
- package/dist/esm/ion-button_2.entry.js +50 -31
- package/dist/esm/ion-card_5.entry.js +31 -34
- package/dist/esm/ion-checkbox.entry.js +43 -21
- package/dist/esm/ion-chip.entry.js +10 -9
- package/dist/esm/ion-col_3.entry.js +8 -34
- package/dist/esm/ion-datetime-button.entry.js +18 -18
- package/dist/esm/ion-datetime_3.entry.js +279 -174
- package/dist/esm/ion-fab_3.entry.js +56 -30
- package/dist/esm/ion-img.entry.js +3 -10
- package/dist/esm/ion-infinite-scroll_2.entry.js +33 -18
- package/dist/esm/ion-input-otp.entry.js +591 -0
- package/dist/esm/ion-input-password-toggle.entry.js +12 -16
- package/dist/esm/ion-input.entry.js +84 -58
- package/dist/esm/ion-item-option_3.entry.js +36 -31
- package/dist/esm/ion-item_8.entry.js +60 -63
- package/dist/esm/ion-loading.entry.js +46 -31
- package/dist/esm/ion-menu_3.entry.js +66 -43
- package/dist/esm/ion-modal.entry.js +260 -215
- package/dist/esm/ion-nav_2.entry.js +17 -22
- package/dist/esm/ion-picker-column-option.entry.js +23 -12
- package/dist/esm/ion-picker-column.entry.js +29 -16
- package/dist/esm/ion-picker.entry.js +4 -7
- package/dist/esm/ion-popover.entry.js +137 -47
- package/dist/esm/ion-progress-bar.entry.js +22 -11
- package/dist/esm/ion-radio_2.entry.js +45 -33
- package/dist/esm/ion-range.entry.js +72 -34
- package/dist/esm/ion-refresher_2.entry.js +68 -26
- package/dist/esm/ion-reorder_2.entry.js +17 -19
- package/dist/esm/ion-ripple-effect.entry.js +12 -6
- package/dist/esm/ion-route_4.entry.js +35 -21
- package/dist/esm/ion-searchbar.entry.js +86 -39
- package/dist/esm/ion-segment-content.entry.js +3 -4
- package/dist/esm/ion-segment-view.entry.js +8 -8
- package/dist/esm/ion-segment_2.entry.js +50 -32
- package/dist/esm/ion-select-modal.entry.js +12 -19
- package/dist/esm/ion-select_3.entry.js +88 -58
- package/dist/esm/ion-spinner.entry.js +8 -11
- package/dist/esm/ion-split-pane.entry.js +13 -10
- package/dist/esm/ion-tab-bar_2.entry.js +28 -31
- package/dist/esm/ion-tab_2.entry.js +11 -16
- package/dist/esm/ion-text.entry.js +5 -9
- package/dist/esm/ion-textarea.entry.js +77 -43
- package/dist/esm/ion-toast.entry.js +65 -44
- package/dist/esm/ion-toggle.entry.js +62 -33
- package/dist/esm/ionic.js +5 -7
- package/dist/esm/{ios.transition-4047cb68.js → ios.transition-BmXtMRXZ.js} +5 -6
- package/dist/esm/{keyboard-73175e24.js → keyboard-CUw4ekVy.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-BaaVITYt.js} +2 -2
- package/dist/esm/{keyboard-52278bd7.js → keyboard-ywgs5efA.js} +3 -3
- package/dist/esm/loader.js +3 -6
- package/dist/esm/{md.transition-30ce8d1b.js → md.transition-CLI683c7.js} +5 -6
- package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-C5LPspO8.js} +2 -2
- package/dist/esm/{overlays-d99dcb0a.js → overlays-8Y2rA-ps.js} +6 -7
- package/dist/esm/{status-tap-42a8af65.js → status-tap-7t9T91bG.js} +3 -4
- package/dist/esm/{swipe-back-04123e7c.js → swipe-back-D_6Vqlwy.js} +5 -5
- package/dist/html.html-data.json +377 -1
- package/dist/index.js +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0fc6fc38.entry.js +4 -0
- package/dist/ionic/p-14ae45e4.entry.js +4 -0
- package/dist/ionic/p-15da9760.entry.js +4 -0
- package/dist/ionic/p-1739f5f2.entry.js +4 -0
- package/dist/ionic/p-18f1813b.entry.js +4 -0
- package/dist/ionic/p-2020aa51.entry.js +4 -0
- package/dist/ionic/p-2c6c6991.entry.js +4 -0
- package/dist/ionic/p-2cfd6b61.entry.js +4 -0
- package/dist/ionic/p-2d01ecd5.entry.js +4 -0
- package/dist/ionic/p-2da6a16b.entry.js +4 -0
- package/dist/ionic/p-3a4feac2.entry.js +4 -0
- package/dist/ionic/p-473877b6.entry.js +4 -0
- package/dist/ionic/p-4b7d1f35.entry.js +4 -0
- package/dist/ionic/p-4d61f20b.entry.js +4 -0
- package/dist/ionic/p-4ddc10ef.entry.js +4 -0
- package/dist/ionic/p-56712fd4.entry.js +4 -0
- package/dist/ionic/p-6b666996.entry.js +4 -0
- package/dist/ionic/p-7149db7e.entry.js +4 -0
- package/dist/ionic/p-73d7ad90.entry.js +4 -0
- package/dist/ionic/p-76b697a3.entry.js +4 -0
- package/dist/ionic/{p-ed005d9c.js → p-7qk7mxdr.js} +1 -1
- package/dist/ionic/p-81f1b778.entry.js +4 -0
- package/dist/ionic/p-8957540a.entry.js +4 -0
- package/dist/ionic/p-8a8ef46b.entry.js +4 -0
- package/dist/ionic/p-8c674371.entry.js +4 -0
- package/dist/ionic/p-8f2f76e0.entry.js +4 -0
- package/dist/ionic/p-91bde659.entry.js +4 -0
- package/dist/ionic/p-96389029.entry.js +4 -0
- package/dist/ionic/p-97667b9c.entry.js +4 -0
- package/dist/ionic/p-9b46b31b.entry.js +4 -0
- package/dist/ionic/p-9e699d4a.entry.js +4 -0
- package/dist/ionic/p-9eeaBrnk.js +4 -0
- package/dist/ionic/p-B1MNHTYX.js +4 -0
- package/dist/ionic/p-B3XSxWNQ.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-BLV6ykCk.js} +1 -1
- package/dist/ionic/p-BROiNJRB.js +4 -0
- package/dist/ionic/p-B_U9CtaY.js +5 -0
- package/dist/ionic/{p-f08a92cc.js → p-BhLqfMrf.js} +1 -1
- package/dist/ionic/{p-2bb55ebc.js → p-BmQduG8c.js} +1 -1
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-CKvCXMs9.js} +1 -1
- package/dist/ionic/p-CL-KfWxq.js +4 -0
- package/dist/ionic/p-CPgXVSua.js +4 -0
- package/dist/ionic/p-CRiGyYOA.js +4 -0
- package/dist/ionic/{p-10a1bddc.js → p-CbI9XwwW.js} +1 -1
- package/dist/ionic/p-Cl0B-RWe.js +4 -0
- package/dist/ionic/p-CtWGkNnJ.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-D13Eaw-8.js} +1 -1
- package/dist/ionic/{p-0f5e6225.js → p-DCfS5Jk_.js} +1 -1
- package/dist/ionic/p-DgdWETCP.js +4 -0
- package/dist/ionic/p-Do-uqmtX.js +4 -0
- package/dist/ionic/p-DonTxalL.js +4 -0
- package/dist/ionic/{p-b7b1d91a.js → p-DzH0J0yi.js} +1 -1
- package/dist/ionic/p-QwEXyOze.js +4 -0
- package/dist/ionic/p-a6282370.entry.js +4 -0
- package/dist/ionic/p-a9ac80bd.entry.js +4 -0
- package/dist/ionic/p-a9f99c74.entry.js +4 -0
- package/dist/ionic/p-aIxOGKys.js +4 -0
- package/dist/ionic/p-aa8956c2.entry.js +4 -0
- package/dist/ionic/p-b37dbc31.entry.js +4 -0
- package/dist/ionic/p-b9f79efc.entry.js +4 -0
- package/dist/ionic/p-bNmY-WfR.js +4 -0
- package/dist/ionic/p-bb5fc02e.entry.js +4 -0
- package/dist/ionic/p-bc01c127.entry.js +4 -0
- package/dist/ionic/p-bec79123.entry.js +4 -0
- package/dist/ionic/p-c0335397.entry.js +4 -0
- package/dist/ionic/p-c448135a.entry.js +4 -0
- package/dist/ionic/p-c4912ca5.entry.js +4 -0
- package/dist/ionic/p-c884d7e3.entry.js +4 -0
- package/dist/ionic/p-cb787a4b.entry.js +4 -0
- package/dist/ionic/p-cd12ed1c.entry.js +4 -0
- package/dist/ionic/p-cf632ee2.entry.js +4 -0
- package/dist/ionic/p-d8ed5df0.entry.js +4 -0
- package/dist/ionic/p-e1260ed5.entry.js +4 -0
- package/dist/ionic/p-e30ff968.entry.js +4 -0
- package/dist/ionic/{p-b6d324f0.js → p-ei_RiGrl.js} +1 -1
- package/dist/ionic/p-f83db8cd.entry.js +4 -0
- package/dist/ionic/p-fbc5481b.entry.js +4 -0
- package/dist/ionic/p-fcc7437b.entry.js +4 -0
- package/dist/types/components/button/button.d.ts +11 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +1 -0
- package/dist/types/components/datetime/datetime.d.ts +6 -0
- package/dist/types/components/datetime/utils/data.d.ts +3 -1
- package/dist/types/components/datetime/utils/manipulation.d.ts +1 -0
- package/dist/types/components/input-otp/input-otp-interface.d.ts +21 -0
- package/dist/types/components/input-otp/input-otp.d.ts +268 -0
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components.d.ts +786 -2
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +29 -1
- package/hydrate/index.d.ts +44 -7
- package/hydrate/index.js +5671 -2585
- package/hydrate/index.mjs +5670 -2584
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +1 -2
- package/package.json +4 -4
- package/dist/cjs/app-globals-ddceb1f4.js +0 -10
- package/dist/cjs/index-cc858e97.js +0 -129
- package/dist/cjs/ionic-global-6dea5a96.js +0 -152
- package/dist/esm/app-globals-dbdbb3df.js +0 -8
- package/dist/esm/index-cfd9c1f2.js +0 -121
- package/dist/esm/ionic-global-b26f573e.js +0 -147
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm-es5/animation-8b25e105.js +0 -4
- package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
- package/dist/esm-es5/button-active-90f1dbc4.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +0 -4
- package/dist/esm-es5/config-9898ed97.js +0 -4
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +0 -4
- package/dist/esm-es5/data-0d7ea6eb.js +0 -4
- package/dist/esm-es5/dir-babeabeb.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-56b467ad.js +0 -4
- package/dist/esm-es5/gesture-controller-314a54f6.js +0 -4
- package/dist/esm-es5/haptic-ac164e4c.js +0 -4
- package/dist/esm-es5/hardware-back-button-a7eb8233.js +0 -4
- package/dist/esm-es5/helpers-d94bc8ad.js +0 -4
- package/dist/esm-es5/index-18f31305.js +0 -4
- package/dist/esm-es5/index-39782642.js +0 -4
- package/dist/esm-es5/index-527b9e34.js +0 -5
- package/dist/esm-es5/index-68c0d151.js +0 -4
- package/dist/esm-es5/index-9a17db3d.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-be190feb.js +0 -4
- package/dist/esm-es5/index-cfd9c1f2.js +0 -5
- package/dist/esm-es5/index-e2cf2ceb.js +0 -4
- package/dist/esm-es5/index.js +0 -4
- package/dist/esm-es5/input-shims-279903e2.js +0 -4
- package/dist/esm-es5/input.utils-40504d6d.js +0 -4
- package/dist/esm-es5/ion-accordion_2.entry.js +0 -4
- package/dist/esm-es5/ion-action-sheet.entry.js +0 -4
- package/dist/esm-es5/ion-alert.entry.js +0 -4
- package/dist/esm-es5/ion-app_8.entry.js +0 -4
- package/dist/esm-es5/ion-avatar_3.entry.js +0 -4
- package/dist/esm-es5/ion-back-button.entry.js +0 -4
- package/dist/esm-es5/ion-backdrop.entry.js +0 -4
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +0 -4
- package/dist/esm-es5/ion-button_2.entry.js +0 -4
- package/dist/esm-es5/ion-card_5.entry.js +0 -4
- package/dist/esm-es5/ion-checkbox.entry.js +0 -4
- package/dist/esm-es5/ion-chip.entry.js +0 -4
- package/dist/esm-es5/ion-col_3.entry.js +0 -4
- package/dist/esm-es5/ion-datetime-button.entry.js +0 -4
- package/dist/esm-es5/ion-datetime_3.entry.js +0 -4
- package/dist/esm-es5/ion-fab_3.entry.js +0 -4
- package/dist/esm-es5/ion-img.entry.js +0 -4
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +0 -4
- package/dist/esm-es5/ion-input-password-toggle.entry.js +0 -4
- package/dist/esm-es5/ion-input.entry.js +0 -4
- package/dist/esm-es5/ion-item-option_3.entry.js +0 -4
- package/dist/esm-es5/ion-item_8.entry.js +0 -4
- package/dist/esm-es5/ion-loading.entry.js +0 -4
- package/dist/esm-es5/ion-menu_3.entry.js +0 -4
- package/dist/esm-es5/ion-modal.entry.js +0 -4
- package/dist/esm-es5/ion-nav_2.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column.entry.js +0 -4
- package/dist/esm-es5/ion-picker.entry.js +0 -4
- package/dist/esm-es5/ion-popover.entry.js +0 -4
- package/dist/esm-es5/ion-progress-bar.entry.js +0 -4
- package/dist/esm-es5/ion-radio_2.entry.js +0 -4
- package/dist/esm-es5/ion-range.entry.js +0 -4
- package/dist/esm-es5/ion-refresher_2.entry.js +0 -4
- package/dist/esm-es5/ion-reorder_2.entry.js +0 -4
- package/dist/esm-es5/ion-ripple-effect.entry.js +0 -4
- package/dist/esm-es5/ion-route_4.entry.js +0 -4
- package/dist/esm-es5/ion-searchbar.entry.js +0 -4
- package/dist/esm-es5/ion-segment-content.entry.js +0 -4
- package/dist/esm-es5/ion-segment-view.entry.js +0 -4
- package/dist/esm-es5/ion-segment_2.entry.js +0 -4
- package/dist/esm-es5/ion-select-modal.entry.js +0 -4
- package/dist/esm-es5/ion-select_3.entry.js +0 -4
- package/dist/esm-es5/ion-spinner.entry.js +0 -4
- package/dist/esm-es5/ion-split-pane.entry.js +0 -4
- package/dist/esm-es5/ion-tab-bar_2.entry.js +0 -4
- package/dist/esm-es5/ion-tab_2.entry.js +0 -4
- package/dist/esm-es5/ion-text.entry.js +0 -4
- package/dist/esm-es5/ion-textarea.entry.js +0 -4
- package/dist/esm-es5/ion-toast.entry.js +0 -4
- package/dist/esm-es5/ion-toggle.entry.js +0 -4
- package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
- package/dist/esm-es5/ionic.js +0 -4
- package/dist/esm-es5/ios.transition-4047cb68.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-73175e24.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/loader.js +0 -4
- package/dist/esm-es5/lock-controller-316928be.js +0 -4
- package/dist/esm-es5/md.transition-30ce8d1b.js +0 -4
- package/dist/esm-es5/notch-controller-1a1f7183.js +0 -4
- package/dist/esm-es5/overlays-d99dcb0a.js +0 -4
- package/dist/esm-es5/spinner-configs-964f7cf3.js +0 -4
- package/dist/esm-es5/status-tap-42a8af65.js +0 -4
- package/dist/esm-es5/swipe-back-04123e7c.js +0 -4
- package/dist/esm-es5/theme-01f3f29c.js +0 -4
- package/dist/esm-es5/watch-options-c2911ace.js +0 -4
- package/dist/ionic/ionic.js +0 -127
- package/dist/ionic/p-00023f5a.system.js +0 -4
- package/dist/ionic/p-012c3ceb.system.js +0 -4
- package/dist/ionic/p-03480b95.system.entry.js +0 -4
- package/dist/ionic/p-08cef0b1.entry.js +0 -4
- package/dist/ionic/p-08e01816.system.js +0 -4
- package/dist/ionic/p-0af640d6.entry.js +0 -4
- package/dist/ionic/p-105b2e8b.entry.js +0 -4
- package/dist/ionic/p-117d0013.system.entry.js +0 -4
- package/dist/ionic/p-11dca959.entry.js +0 -4
- package/dist/ionic/p-12193821.system.js +0 -4
- package/dist/ionic/p-12830298.system.entry.js +0 -4
- package/dist/ionic/p-14154301.system.entry.js +0 -4
- package/dist/ionic/p-1706b406.system.entry.js +0 -4
- package/dist/ionic/p-17e21141.js +0 -4
- package/dist/ionic/p-19494658.system.entry.js +0 -4
- package/dist/ionic/p-1966a13c.system.js +0 -4
- package/dist/ionic/p-1974d5b2.system.js +0 -4
- package/dist/ionic/p-1a7df1c3.system.js +0 -4
- package/dist/ionic/p-1a81ac09.system.js +0 -4
- package/dist/ionic/p-1b9c59ab.js +0 -4
- package/dist/ionic/p-1d307396.system.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e955a45.system.js +0 -4
- package/dist/ionic/p-200fc491.js +0 -4
- package/dist/ionic/p-20d469d0.system.js +0 -4
- package/dist/ionic/p-21891ead.js +0 -4
- package/dist/ionic/p-2233344a.system.js +0 -4
- package/dist/ionic/p-2469240b.entry.js +0 -4
- package/dist/ionic/p-24a6c8a3.system.entry.js +0 -4
- package/dist/ionic/p-257fb777.entry.js +0 -4
- package/dist/ionic/p-25b10f81.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2bff0e69.system.entry.js +0 -4
- package/dist/ionic/p-31dc303d.entry.js +0 -4
- package/dist/ionic/p-3535d6b5.entry.js +0 -4
- package/dist/ionic/p-35cdfd77.system.entry.js +0 -4
- package/dist/ionic/p-393ffcc2.entry.js +0 -4
- package/dist/ionic/p-39fa7dd1.system.entry.js +0 -4
- package/dist/ionic/p-3a30f31b.system.entry.js +0 -4
- package/dist/ionic/p-3e1e14d9.system.js +0 -4
- package/dist/ionic/p-42f08b26.system.entry.js +0 -4
- package/dist/ionic/p-4609d030.system.js +0 -4
- package/dist/ionic/p-481e0885.entry.js +0 -4
- package/dist/ionic/p-4a5be299.system.entry.js +0 -4
- package/dist/ionic/p-4c667fce.js +0 -4
- package/dist/ionic/p-4cf4172e.entry.js +0 -4
- package/dist/ionic/p-4da92dac.entry.js +0 -4
- package/dist/ionic/p-4ed5db19.system.js +0 -4
- package/dist/ionic/p-4f255d5a.system.js +0 -4
- package/dist/ionic/p-50cb2e8b.system.entry.js +0 -4
- package/dist/ionic/p-57957c0f.entry.js +0 -4
- package/dist/ionic/p-57d6e18e.entry.js +0 -4
- package/dist/ionic/p-57e55ecb.system.js +0 -4
- package/dist/ionic/p-5b67b447.js +0 -4
- package/dist/ionic/p-5c9feddc.system.entry.js +0 -4
- package/dist/ionic/p-5fac20aa.system.entry.js +0 -4
- package/dist/ionic/p-612096e6.system.entry.js +0 -4
- package/dist/ionic/p-6201c4ba.entry.js +0 -4
- package/dist/ionic/p-625248d0.system.js +0 -4
- package/dist/ionic/p-663413be.system.js +0 -4
- package/dist/ionic/p-6636a436.js +0 -4
- package/dist/ionic/p-66a5d6a8.js +0 -5
- package/dist/ionic/p-66df5468.system.entry.js +0 -4
- package/dist/ionic/p-67077d48.entry.js +0 -4
- package/dist/ionic/p-67cacd6d.entry.js +0 -4
- package/dist/ionic/p-6835ebdd.system.entry.js +0 -4
- package/dist/ionic/p-6b8530f5.system.entry.js +0 -4
- package/dist/ionic/p-6c474e87.entry.js +0 -4
- package/dist/ionic/p-6dd86ff5.system.entry.js +0 -4
- package/dist/ionic/p-6ec0c94a.entry.js +0 -4
- package/dist/ionic/p-6f832afe.system.entry.js +0 -4
- package/dist/ionic/p-707408c5.system.entry.js +0 -4
- package/dist/ionic/p-712c0131.entry.js +0 -4
- package/dist/ionic/p-721f43f9.entry.js +0 -4
- package/dist/ionic/p-7445a2e5.system.js +0 -4
- package/dist/ionic/p-7611ede3.system.entry.js +0 -4
- package/dist/ionic/p-781e2dbb.system.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b8c12c3.entry.js +0 -4
- package/dist/ionic/p-7c5c7ae1.system.entry.js +0 -4
- package/dist/ionic/p-7e3e6ed2.entry.js +0 -4
- package/dist/ionic/p-7ffedf77.system.entry.js +0 -4
- package/dist/ionic/p-809483ac.js +0 -4
- package/dist/ionic/p-81904a80.entry.js +0 -4
- package/dist/ionic/p-84096b45.system.js +0 -4
- package/dist/ionic/p-8450f761.entry.js +0 -4
- package/dist/ionic/p-8460d95a.entry.js +0 -4
- package/dist/ionic/p-85b01465.js +0 -4
- package/dist/ionic/p-865fe95c.entry.js +0 -4
- package/dist/ionic/p-8674af94.entry.js +0 -4
- package/dist/ionic/p-890a4ee2.entry.js +0 -4
- package/dist/ionic/p-891553d8.entry.js +0 -4
- package/dist/ionic/p-8985cdb6.system.js +0 -4
- package/dist/ionic/p-8b050e84.system.js +0 -4
- package/dist/ionic/p-8d2d39d0.js +0 -4
- package/dist/ionic/p-8dacf4e2.entry.js +0 -4
- package/dist/ionic/p-8ededb41.js +0 -4
- package/dist/ionic/p-94551927.js +0 -4
- package/dist/ionic/p-95001a19.js +0 -4
- package/dist/ionic/p-965287fb.system.entry.js +0 -4
- package/dist/ionic/p-979d4f5c.system.js +0 -4
- package/dist/ionic/p-98fd942b.system.entry.js +0 -4
- package/dist/ionic/p-9df5043e.system.entry.js +0 -4
- package/dist/ionic/p-9e753482.system.entry.js +0 -4
- package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
- package/dist/ionic/p-a2c6a9c8.entry.js +0 -4
- package/dist/ionic/p-a2dd5b69.system.entry.js +0 -4
- package/dist/ionic/p-a4866e3e.system.js +0 -4
- package/dist/ionic/p-a5dbe0ff.system.entry.js +0 -4
- package/dist/ionic/p-a7a97bf4.system.entry.js +0 -4
- package/dist/ionic/p-a835aca8.entry.js +0 -4
- package/dist/ionic/p-a83e3290.system.js +0 -4
- package/dist/ionic/p-a93873de.system.js +0 -4
- package/dist/ionic/p-aad57e35.entry.js +0 -4
- package/dist/ionic/p-ab7337e1.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-ad592db9.entry.js +0 -4
- package/dist/ionic/p-aded71ec.js +0 -4
- package/dist/ionic/p-ae039072.entry.js +0 -4
- package/dist/ionic/p-aebfab05.system.entry.js +0 -4
- package/dist/ionic/p-b06ac4a5.system.js +0 -4
- package/dist/ionic/p-b2e7eda0.system.entry.js +0 -4
- package/dist/ionic/p-b445ff65.entry.js +0 -4
- package/dist/ionic/p-b4d17da0.system.entry.js +0 -4
- package/dist/ionic/p-b5432d15.entry.js +0 -4
- package/dist/ionic/p-b8050298.system.entry.js +0 -4
- package/dist/ionic/p-b904cfe2.system.entry.js +0 -4
- package/dist/ionic/p-b9c793d4.entry.js +0 -4
- package/dist/ionic/p-bafc3eae.system.entry.js +0 -4
- package/dist/ionic/p-bf184319.system.entry.js +0 -4
- package/dist/ionic/p-bfb763d0.system.entry.js +0 -4
- package/dist/ionic/p-c16443a8.system.js +0 -4
- package/dist/ionic/p-c1b7d311.system.entry.js +0 -4
- package/dist/ionic/p-c2160d8c.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c5b77054.entry.js +0 -4
- package/dist/ionic/p-c5bfa3e9.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-cad82569.entry.js +0 -4
- package/dist/ionic/p-d16fab3f.entry.js +0 -4
- package/dist/ionic/p-d1eb2d7f.entry.js +0 -4
- package/dist/ionic/p-d382f09c.system.js +0 -4
- package/dist/ionic/p-d8d84afa.system.js +0 -4
- package/dist/ionic/p-d984c1ab.system.entry.js +0 -4
- package/dist/ionic/p-dabe3bd4.js +0 -4
- package/dist/ionic/p-df069a0d.entry.js +0 -4
- package/dist/ionic/p-e1678e42.entry.js +0 -4
- package/dist/ionic/p-e6068998.system.entry.js +0 -4
- package/dist/ionic/p-e673a0a2.system.js +0 -4
- package/dist/ionic/p-e727e32d.system.entry.js +0 -4
- package/dist/ionic/p-e8245753.entry.js +0 -4
- package/dist/ionic/p-e887b6a9.system.js +0 -4
- package/dist/ionic/p-f08dfb19.entry.js +0 -4
- package/dist/ionic/p-f0c9f8e3.system.entry.js +0 -4
- package/dist/ionic/p-f0ef39ab.entry.js +0 -4
- package/dist/ionic/p-f11a9436.system.js +0 -5
- package/dist/ionic/p-f22490a7.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
- package/dist/ionic/p-f6e7d104.system.js +0 -4
- package/dist/ionic/p-f725bf9e.system.js +0 -4
- package/dist/ionic/p-f9a87db2.system.entry.js +0 -4
- package/dist/ionic/p-fa3f4b96.system.js +0 -4
- package/dist/ionic/p-fe063952.system.entry.js +0 -4
- package/loader/package.json +0 -11
- /package/dist/cjs/{compare-with-utils-df1001d7.js → compare-with-utils-DSicavqM.js} +0 -0
- /package/dist/cjs/{cubic-bezier-f2dccc53.js → cubic-bezier-DAjy1V-e.js} +0 -0
- /package/dist/cjs/{dir-94c21456.js → dir-Cn0z1rJH.js} +0 -0
- /package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-CCvKiLh3.js} +0 -0
- /package/dist/cjs/{index-c8d52405.js → index-DkNv4J_i.js} +0 -0
- /package/dist/cjs/{lock-controller-6585a42a.js → lock-controller-aDB9wrEf.js} +0 -0
- /package/dist/cjs/{spinner-configs-282fd50a.js → spinner-configs-DxHKnd3-.js} +0 -0
- /package/dist/cjs/{theme-d1c573d2.js → theme-CeDs6Hcv.js} +0 -0
- /package/dist/cjs/{watch-options-f5f3e158.js → watch-options-CviOsrTS.js} +0 -0
- /package/dist/esm/{compare-with-utils-a96ff2ea.js → compare-with-utils-sObYyvOy.js} +0 -0
- /package/dist/esm/{cubic-bezier-fe2083dc.js → cubic-bezier-hHmYLOfE.js} +0 -0
- /package/dist/esm/{dir-babeabeb.js → dir-C53feagD.js} +0 -0
- /package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-BmVRXR1y.js} +0 -0
- /package/dist/esm/{index-a5d50daf.js → index-ZjP4CjeZ.js} +0 -0
- /package/dist/esm/{lock-controller-316928be.js → lock-controller-B-hirT0v.js} +0 -0
- /package/dist/esm/{spinner-configs-964f7cf3.js → spinner-configs-D4RIp70E.js} +0 -0
- /package/dist/esm/{theme-01f3f29c.js → theme-DiVJyqlX.js} +0 -0
- /package/dist/esm/{watch-options-c2911ace.js → watch-options-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-ccd02320.js → p-B-hirT0v.js} +0 -0
- /package/dist/ionic/{p-9b97df10.js → p-BTEOs1at.js} +0 -0
- /package/dist/ionic/{p-d47265c8.js → p-BmVRXR1y.js} +0 -0
- /package/dist/ionic/{p-fb813dab.js → p-C53feagD.js} +0 -0
- /package/dist/ionic/{p-f0c2a614.js → p-D4RIp70E.js} +0 -0
- /package/dist/ionic/{p-47794def.js → p-DiVJyqlX.js} +0 -0
- /package/dist/ionic/{p-459d13d5.js → p-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-7b30edcc.js → p-ZjP4CjeZ.js} +0 -0
- /package/dist/ionic/{p-2408c236.js → p-hHmYLOfE.js} +0 -0
- /package/dist/ionic/{p-de756e5c.js → p-sObYyvOy.js} +0 -0
|
@@ -45,6 +45,130 @@ export class Datetime {
|
|
|
45
45
|
constructor() {
|
|
46
46
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
47
47
|
this.prevPresentation = null;
|
|
48
|
+
this.showMonthAndYear = false;
|
|
49
|
+
this.activeParts = [];
|
|
50
|
+
this.workingParts = {
|
|
51
|
+
month: 5,
|
|
52
|
+
day: 28,
|
|
53
|
+
year: 2021,
|
|
54
|
+
hour: 13,
|
|
55
|
+
minute: 52,
|
|
56
|
+
ampm: 'pm',
|
|
57
|
+
isAdjacentDay: false,
|
|
58
|
+
};
|
|
59
|
+
this.isTimePopoverOpen = false;
|
|
60
|
+
/**
|
|
61
|
+
* The color to use from your application's color palette.
|
|
62
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
63
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
|
64
|
+
*/
|
|
65
|
+
this.color = 'primary';
|
|
66
|
+
/**
|
|
67
|
+
* The name of the control, which is submitted with the form data.
|
|
68
|
+
*/
|
|
69
|
+
this.name = this.inputId;
|
|
70
|
+
/**
|
|
71
|
+
* If `true`, the user cannot interact with the datetime.
|
|
72
|
+
*/
|
|
73
|
+
this.disabled = false;
|
|
74
|
+
/**
|
|
75
|
+
* If `true`, the datetime appears normal but the selected date cannot be changed.
|
|
76
|
+
*/
|
|
77
|
+
this.readonly = false;
|
|
78
|
+
/**
|
|
79
|
+
* If `true`, the datetime calendar displays a six-week (42-day) layout,
|
|
80
|
+
* including days from the previous and next months to fill the grid.
|
|
81
|
+
* These adjacent days are selectable unless disabled.
|
|
82
|
+
*/
|
|
83
|
+
this.showAdjacentDays = false;
|
|
84
|
+
/**
|
|
85
|
+
* Which values you want to select. `"date"` will show
|
|
86
|
+
* a calendar picker to select the month, day, and year. `"time"`
|
|
87
|
+
* will show a time picker to select the hour, minute, and (optionally)
|
|
88
|
+
* AM/PM. `"date-time"` will show the date picker first and time picker second.
|
|
89
|
+
* `"time-date"` will show the time picker first and date picker second.
|
|
90
|
+
*/
|
|
91
|
+
this.presentation = 'date-time';
|
|
92
|
+
/**
|
|
93
|
+
* The text to display on the picker's cancel button.
|
|
94
|
+
*/
|
|
95
|
+
this.cancelText = 'Cancel';
|
|
96
|
+
/**
|
|
97
|
+
* The text to display on the picker's "Done" button.
|
|
98
|
+
*/
|
|
99
|
+
this.doneText = 'Done';
|
|
100
|
+
/**
|
|
101
|
+
* The text to display on the picker's "Clear" button.
|
|
102
|
+
*/
|
|
103
|
+
this.clearText = 'Clear';
|
|
104
|
+
/**
|
|
105
|
+
* The locale to use for `ion-datetime`. This
|
|
106
|
+
* impacts month and day name formatting.
|
|
107
|
+
* The `"default"` value refers to the default
|
|
108
|
+
* locale set by your device.
|
|
109
|
+
*/
|
|
110
|
+
this.locale = 'default';
|
|
111
|
+
/**
|
|
112
|
+
* The first day of the week to use for `ion-datetime`. The
|
|
113
|
+
* default value is `0` and represents Sunday.
|
|
114
|
+
*/
|
|
115
|
+
this.firstDayOfWeek = 0;
|
|
116
|
+
/**
|
|
117
|
+
* If `true`, multiple dates can be selected at once. Only
|
|
118
|
+
* applies to `presentation="date"` and `preferWheel="false"`.
|
|
119
|
+
*/
|
|
120
|
+
this.multiple = false;
|
|
121
|
+
/**
|
|
122
|
+
* If `true`, a header will be shown above the calendar
|
|
123
|
+
* picker. This will include both the slotted title, and
|
|
124
|
+
* the selected date.
|
|
125
|
+
*/
|
|
126
|
+
this.showDefaultTitle = false;
|
|
127
|
+
/**
|
|
128
|
+
* If `true`, the default "Cancel" and "OK" buttons
|
|
129
|
+
* will be rendered at the bottom of the `ion-datetime`
|
|
130
|
+
* component. Developers can also use the `button` slot
|
|
131
|
+
* if they want to customize these buttons. If custom
|
|
132
|
+
* buttons are set in the `button` slot then the
|
|
133
|
+
* default buttons will not be rendered.
|
|
134
|
+
*/
|
|
135
|
+
this.showDefaultButtons = false;
|
|
136
|
+
/**
|
|
137
|
+
* If `true`, a "Clear" button will be rendered alongside
|
|
138
|
+
* the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
|
|
139
|
+
* component. Developers can also use the `button` slot
|
|
140
|
+
* if they want to customize these buttons. If custom
|
|
141
|
+
* buttons are set in the `button` slot then the
|
|
142
|
+
* default buttons will not be rendered.
|
|
143
|
+
*/
|
|
144
|
+
this.showClearButton = false;
|
|
145
|
+
/**
|
|
146
|
+
* If `true`, the default "Time" label will be rendered
|
|
147
|
+
* for the time selector of the `ion-datetime` component.
|
|
148
|
+
* Developers can also use the `time-label` slot
|
|
149
|
+
* if they want to customize this label. If a custom
|
|
150
|
+
* label is set in the `time-label` slot then the
|
|
151
|
+
* default label will not be rendered.
|
|
152
|
+
*/
|
|
153
|
+
this.showDefaultTimeLabel = true;
|
|
154
|
+
/**
|
|
155
|
+
* If `cover`, the `ion-datetime` will expand to cover the full width of its container.
|
|
156
|
+
* If `fixed`, the `ion-datetime` will have a fixed width.
|
|
157
|
+
*/
|
|
158
|
+
this.size = 'fixed';
|
|
159
|
+
/**
|
|
160
|
+
* If `true`, a wheel picker will be rendered instead of a calendar grid
|
|
161
|
+
* where possible. If `false`, a calendar grid will be rendered instead of
|
|
162
|
+
* a wheel picker where possible.
|
|
163
|
+
*
|
|
164
|
+
* A wheel picker can be rendered instead of a grid when `presentation` is
|
|
165
|
+
* one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
|
|
166
|
+
*
|
|
167
|
+
* A wheel picker will always be rendered regardless of
|
|
168
|
+
* the `preferWheel` value when `presentation` is one of the following values:
|
|
169
|
+
* `"time"`, `"month"`, `"month-year"`, or `"year"`.
|
|
170
|
+
*/
|
|
171
|
+
this.preferWheel = false;
|
|
48
172
|
this.warnIfIncorrectValueUsage = () => {
|
|
49
173
|
const { multiple, value } = this;
|
|
50
174
|
if (!multiple && Array.isArray(value)) {
|
|
@@ -239,12 +363,15 @@ export class Datetime {
|
|
|
239
363
|
};
|
|
240
364
|
this.focusWorkingDay = (currentMonth) => {
|
|
241
365
|
/**
|
|
242
|
-
* Get the number of
|
|
366
|
+
* Get the number of offset days so
|
|
243
367
|
* we know how much to offset our next selector by
|
|
244
368
|
* to grab the correct calendar-day element.
|
|
245
369
|
*/
|
|
246
|
-
const
|
|
247
|
-
const
|
|
370
|
+
const { day, month, year } = this.workingParts;
|
|
371
|
+
const firstOfMonth = new Date(`${month}/1/${year}`).getDay();
|
|
372
|
+
const offset = firstOfMonth >= this.firstDayOfWeek
|
|
373
|
+
? firstOfMonth - this.firstDayOfWeek
|
|
374
|
+
: 7 - (this.firstDayOfWeek - firstOfMonth);
|
|
248
375
|
if (day === null) {
|
|
249
376
|
return;
|
|
250
377
|
}
|
|
@@ -252,7 +379,7 @@ export class Datetime {
|
|
|
252
379
|
* Get the calendar day element
|
|
253
380
|
* and focus it.
|
|
254
381
|
*/
|
|
255
|
-
const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${
|
|
382
|
+
const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${offset + day}) .calendar-day`);
|
|
256
383
|
if (dayEl) {
|
|
257
384
|
dayEl.focus();
|
|
258
385
|
}
|
|
@@ -481,19 +608,18 @@ export class Datetime {
|
|
|
481
608
|
warnIfValueOutOfBounds(valueToProcess, minParts, maxParts);
|
|
482
609
|
}
|
|
483
610
|
/**
|
|
484
|
-
* If there are multiple values,
|
|
485
|
-
*
|
|
486
|
-
*
|
|
611
|
+
* If there are multiple values, clamp to the last one.
|
|
612
|
+
* This is because the last value is the one that the user
|
|
613
|
+
* has most recently interacted with.
|
|
487
614
|
*/
|
|
488
|
-
const singleValue = Array.isArray(valueToProcess) ? valueToProcess[
|
|
615
|
+
const singleValue = Array.isArray(valueToProcess) ? valueToProcess[valueToProcess.length - 1] : valueToProcess;
|
|
489
616
|
const targetValue = clampDate(singleValue, minParts, maxParts);
|
|
490
617
|
const { month, day, year, hour, minute } = targetValue;
|
|
491
618
|
const ampm = parseAmPm(hour);
|
|
492
619
|
/**
|
|
493
|
-
* Since `activeParts` indicates a value that
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
* if the `value` property is set.
|
|
620
|
+
* Since `activeParts` indicates a value that been explicitly selected
|
|
621
|
+
* either by the user or the app, only update `activeParts` if the
|
|
622
|
+
* `value` property is set.
|
|
497
623
|
*/
|
|
498
624
|
if (hasValue) {
|
|
499
625
|
if (Array.isArray(valueToProcess)) {
|
|
@@ -518,51 +644,28 @@ export class Datetime {
|
|
|
518
644
|
*/
|
|
519
645
|
this.activeParts = [];
|
|
520
646
|
}
|
|
521
|
-
/**
|
|
522
|
-
* Only animate if:
|
|
523
|
-
* 1. We're using grid style (wheel style pickers should just jump to new value)
|
|
524
|
-
* 2. The month and/or year actually changed, and both are defined (otherwise there's nothing to animate to)
|
|
525
|
-
* 3. The calendar body is visible (prevents animation when in collapsed datetime-button, for example)
|
|
526
|
-
* 4. The month/year picker is not open (since you wouldn't see the animation anyway)
|
|
527
|
-
*/
|
|
528
647
|
const didChangeMonth = (month !== undefined && month !== workingParts.month) || (year !== undefined && year !== workingParts.year);
|
|
529
648
|
const bodyIsVisible = el.classList.contains('datetime-ready');
|
|
530
649
|
const { isGridStyle, showMonthAndYear } = this;
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
650
|
+
if (isGridStyle && didChangeMonth && bodyIsVisible && !showMonthAndYear) {
|
|
651
|
+
/**
|
|
652
|
+
* Only animate if:
|
|
653
|
+
* 1. We're using grid style (wheel style pickers should just jump to new value)
|
|
654
|
+
* 2. The month and/or year actually changed, and both are defined (otherwise there's nothing to animate to)
|
|
655
|
+
* 3. The calendar body is visible (prevents animation when in collapsed datetime-button, for example)
|
|
656
|
+
* 4. The month/year picker is not open (since you wouldn't see the animation anyway)
|
|
657
|
+
*/
|
|
658
|
+
this.animateToDate(targetValue);
|
|
540
659
|
}
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
this.animateToDate(targetValue);
|
|
551
|
-
}
|
|
552
|
-
else {
|
|
553
|
-
/**
|
|
554
|
-
* We only need to do this if we didn't just animate to a new month,
|
|
555
|
-
* since that calls prevMonth/nextMonth which calls setWorkingParts for us.
|
|
556
|
-
*/
|
|
557
|
-
this.setWorkingParts({
|
|
558
|
-
month,
|
|
559
|
-
day,
|
|
560
|
-
year,
|
|
561
|
-
hour,
|
|
562
|
-
minute,
|
|
563
|
-
ampm,
|
|
564
|
-
});
|
|
565
|
-
}
|
|
660
|
+
else {
|
|
661
|
+
this.setWorkingParts({
|
|
662
|
+
month,
|
|
663
|
+
day,
|
|
664
|
+
year,
|
|
665
|
+
hour,
|
|
666
|
+
minute,
|
|
667
|
+
ampm,
|
|
668
|
+
});
|
|
566
669
|
}
|
|
567
670
|
};
|
|
568
671
|
this.animateToDate = async (targetValue) => {
|
|
@@ -637,48 +740,6 @@ export class Datetime {
|
|
|
637
740
|
this.toggleMonthAndYearView = () => {
|
|
638
741
|
this.showMonthAndYear = !this.showMonthAndYear;
|
|
639
742
|
};
|
|
640
|
-
this.showMonthAndYear = false;
|
|
641
|
-
this.activeParts = [];
|
|
642
|
-
this.workingParts = {
|
|
643
|
-
month: 5,
|
|
644
|
-
day: 28,
|
|
645
|
-
year: 2021,
|
|
646
|
-
hour: 13,
|
|
647
|
-
minute: 52,
|
|
648
|
-
ampm: 'pm',
|
|
649
|
-
};
|
|
650
|
-
this.isTimePopoverOpen = false;
|
|
651
|
-
this.forceRenderDate = undefined;
|
|
652
|
-
this.color = 'primary';
|
|
653
|
-
this.name = this.inputId;
|
|
654
|
-
this.disabled = false;
|
|
655
|
-
this.formatOptions = undefined;
|
|
656
|
-
this.readonly = false;
|
|
657
|
-
this.isDateEnabled = undefined;
|
|
658
|
-
this.min = undefined;
|
|
659
|
-
this.max = undefined;
|
|
660
|
-
this.presentation = 'date-time';
|
|
661
|
-
this.cancelText = 'Cancel';
|
|
662
|
-
this.doneText = 'Done';
|
|
663
|
-
this.clearText = 'Clear';
|
|
664
|
-
this.yearValues = undefined;
|
|
665
|
-
this.monthValues = undefined;
|
|
666
|
-
this.dayValues = undefined;
|
|
667
|
-
this.hourValues = undefined;
|
|
668
|
-
this.minuteValues = undefined;
|
|
669
|
-
this.locale = 'default';
|
|
670
|
-
this.firstDayOfWeek = 0;
|
|
671
|
-
this.titleSelectedDatesFormatter = undefined;
|
|
672
|
-
this.multiple = false;
|
|
673
|
-
this.highlightedDates = undefined;
|
|
674
|
-
this.value = undefined;
|
|
675
|
-
this.showDefaultTitle = false;
|
|
676
|
-
this.showDefaultButtons = false;
|
|
677
|
-
this.showClearButton = false;
|
|
678
|
-
this.showDefaultTimeLabel = true;
|
|
679
|
-
this.hourCycle = undefined;
|
|
680
|
-
this.size = 'fixed';
|
|
681
|
-
this.preferWheel = false;
|
|
682
743
|
}
|
|
683
744
|
formatOptionsChanged() {
|
|
684
745
|
const { el, formatOptions, presentation } = this;
|
|
@@ -1308,10 +1369,36 @@ export class Datetime {
|
|
|
1308
1369
|
'calendar-month': true,
|
|
1309
1370
|
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
|
1310
1371
|
'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
|
|
1311
|
-
} }, h("div", { class: "calendar-month-grid" }, getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index) => {
|
|
1312
|
-
const { day, dayOfWeek } = dateObject;
|
|
1313
|
-
const { el, highlightedDates, isDateEnabled, multiple } = this;
|
|
1314
|
-
|
|
1372
|
+
} }, h("div", { class: "calendar-month-grid" }, getDaysOfMonth(month, year, this.firstDayOfWeek % 7, this.showAdjacentDays).map((dateObject, index) => {
|
|
1373
|
+
const { day, dayOfWeek, isAdjacentDay } = dateObject;
|
|
1374
|
+
const { el, highlightedDates, isDateEnabled, multiple, showAdjacentDays } = this;
|
|
1375
|
+
let _month = month;
|
|
1376
|
+
let _year = year;
|
|
1377
|
+
if (showAdjacentDays && isAdjacentDay && day !== null) {
|
|
1378
|
+
if (day > 20) {
|
|
1379
|
+
// Leading with the adjacent day from the previous month
|
|
1380
|
+
// if its a adjacent day and is higher than '20' (last week even in feb)
|
|
1381
|
+
if (month === 1) {
|
|
1382
|
+
_year = year - 1;
|
|
1383
|
+
_month = 12;
|
|
1384
|
+
}
|
|
1385
|
+
else {
|
|
1386
|
+
_month = month - 1;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
else if (day < 15) {
|
|
1390
|
+
// Leading with the adjacent day from the next month
|
|
1391
|
+
// if its a adjacent day and is lower than '15' (first two weeks)
|
|
1392
|
+
if (month === 12) {
|
|
1393
|
+
_year = year + 1;
|
|
1394
|
+
_month = 1;
|
|
1395
|
+
}
|
|
1396
|
+
else {
|
|
1397
|
+
_month = month + 1;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
const referenceParts = { month: _month, day, year: _year, isAdjacentDay };
|
|
1315
1402
|
const isCalendarPadding = day === null;
|
|
1316
1403
|
const { isActive, isToday, ariaLabel, ariaSelected, disabled: isDayDisabled, text, } = getCalendarDayState(this.locale, referenceParts, this.activeParts, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues);
|
|
1317
1404
|
const dateIsoString = convertDataToISO(referenceParts);
|
|
@@ -1341,15 +1428,18 @@ export class Datetime {
|
|
|
1341
1428
|
* Custom highlight styles should not override the style for selected dates,
|
|
1342
1429
|
* nor apply to "filler days" at the start of the grid.
|
|
1343
1430
|
*/
|
|
1344
|
-
if (highlightedDates !== undefined && !isActive && day !== null) {
|
|
1431
|
+
if (highlightedDates !== undefined && !isActive && day !== null && !isAdjacentDay) {
|
|
1345
1432
|
dateStyle = getHighlightStyles(highlightedDates, dateIsoString, el);
|
|
1346
1433
|
}
|
|
1347
1434
|
let dateParts = undefined;
|
|
1348
1435
|
// "Filler days" at the beginning of the grid should not get the calendar day
|
|
1349
1436
|
// CSS parts added to them
|
|
1350
|
-
if (!isCalendarPadding) {
|
|
1437
|
+
if (!isCalendarPadding && !isAdjacentDay) {
|
|
1351
1438
|
dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1352
1439
|
}
|
|
1440
|
+
else if (isAdjacentDay) {
|
|
1441
|
+
dateParts = `calendar-day${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1442
|
+
}
|
|
1353
1443
|
return (h("div", { class: "calendar-day-wrapper" }, h("button", {
|
|
1354
1444
|
// We need to use !important for the inline styles here because
|
|
1355
1445
|
// otherwise the CSS shadow parts will override these styles.
|
|
@@ -1362,31 +1452,33 @@ export class Datetime {
|
|
|
1362
1452
|
el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
|
|
1363
1453
|
el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
|
|
1364
1454
|
}
|
|
1365
|
-
}, tabindex: "-1", "data-day": day, "data-month":
|
|
1455
|
+
}, tabindex: "-1", "data-day": day, "data-month": _month, "data-year": _year, "data-index": index, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
|
|
1366
1456
|
'calendar-day-padding': isCalendarPadding,
|
|
1367
1457
|
'calendar-day': true,
|
|
1368
1458
|
'calendar-day-active': isActive,
|
|
1369
1459
|
'calendar-day-constrained': isCalDayConstrained,
|
|
1370
1460
|
'calendar-day-today': isToday,
|
|
1461
|
+
'calendar-day-adjacent-day': isAdjacentDay,
|
|
1371
1462
|
}, part: dateParts, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
|
|
1372
1463
|
if (isCalendarPadding) {
|
|
1373
1464
|
return;
|
|
1374
1465
|
}
|
|
1375
|
-
|
|
1376
|
-
day,
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
this.
|
|
1381
|
-
month,
|
|
1382
|
-
day,
|
|
1383
|
-
year,
|
|
1384
|
-
}, isActive);
|
|
1466
|
+
if (isAdjacentDay) {
|
|
1467
|
+
// The user selected a day outside the current month. Ignore this button, as the month will be re-rendered.
|
|
1468
|
+
this.el.blur();
|
|
1469
|
+
this.activeParts = Object.assign(Object.assign({}, activePart), referenceParts);
|
|
1470
|
+
this.animateToDate(referenceParts);
|
|
1471
|
+
this.confirm();
|
|
1385
1472
|
}
|
|
1386
1473
|
else {
|
|
1387
|
-
this.
|
|
1388
|
-
|
|
1389
|
-
|
|
1474
|
+
this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), referenceParts));
|
|
1475
|
+
// Multiple only needs date info so we can wipe out other fields like time.
|
|
1476
|
+
if (multiple) {
|
|
1477
|
+
this.setActiveParts(referenceParts, isActive);
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
this.setActiveParts(Object.assign(Object.assign({}, activePart), referenceParts));
|
|
1481
|
+
}
|
|
1390
1482
|
}
|
|
1391
1483
|
}
|
|
1392
1484
|
}, text)));
|
|
@@ -1557,7 +1649,7 @@ export class Datetime {
|
|
|
1557
1649
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1558
1650
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1559
1651
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1560
|
-
return (h(Host, { key: '
|
|
1652
|
+
return (h(Host, { key: '7ea46c27aa5fb01b748dd4d6eb2340ad13f65175', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1561
1653
|
[mode]: true,
|
|
1562
1654
|
['datetime-readonly']: readonly,
|
|
1563
1655
|
['datetime-disabled']: disabled,
|
|
@@ -1567,7 +1659,7 @@ export class Datetime {
|
|
|
1567
1659
|
[`datetime-size-${size}`]: true,
|
|
1568
1660
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1569
1661
|
[`datetime-grid`]: isGridStyle,
|
|
1570
|
-
})) }, h("div", { key: '
|
|
1662
|
+
})) }, h("div", { key: '6964378424c58b053e23279d08eaedf28dfcc315', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1571
1663
|
}
|
|
1572
1664
|
static get is() { return "ion-datetime"; }
|
|
1573
1665
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1587,6 +1679,7 @@ export class Datetime {
|
|
|
1587
1679
|
return {
|
|
1588
1680
|
"color": {
|
|
1589
1681
|
"type": "string",
|
|
1682
|
+
"attribute": "color",
|
|
1590
1683
|
"mutable": false,
|
|
1591
1684
|
"complexType": {
|
|
1592
1685
|
"original": "Color",
|
|
@@ -1605,12 +1698,14 @@ export class Datetime {
|
|
|
1605
1698
|
"tags": [],
|
|
1606
1699
|
"text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics)."
|
|
1607
1700
|
},
|
|
1608
|
-
"
|
|
1701
|
+
"getter": false,
|
|
1702
|
+
"setter": false,
|
|
1609
1703
|
"reflect": false,
|
|
1610
1704
|
"defaultValue": "'primary'"
|
|
1611
1705
|
},
|
|
1612
1706
|
"name": {
|
|
1613
1707
|
"type": "string",
|
|
1708
|
+
"attribute": "name",
|
|
1614
1709
|
"mutable": false,
|
|
1615
1710
|
"complexType": {
|
|
1616
1711
|
"original": "string",
|
|
@@ -1623,12 +1718,14 @@ export class Datetime {
|
|
|
1623
1718
|
"tags": [],
|
|
1624
1719
|
"text": "The name of the control, which is submitted with the form data."
|
|
1625
1720
|
},
|
|
1626
|
-
"
|
|
1721
|
+
"getter": false,
|
|
1722
|
+
"setter": false,
|
|
1627
1723
|
"reflect": false,
|
|
1628
1724
|
"defaultValue": "this.inputId"
|
|
1629
1725
|
},
|
|
1630
1726
|
"disabled": {
|
|
1631
1727
|
"type": "boolean",
|
|
1728
|
+
"attribute": "disabled",
|
|
1632
1729
|
"mutable": false,
|
|
1633
1730
|
"complexType": {
|
|
1634
1731
|
"original": "boolean",
|
|
@@ -1641,12 +1738,14 @@ export class Datetime {
|
|
|
1641
1738
|
"tags": [],
|
|
1642
1739
|
"text": "If `true`, the user cannot interact with the datetime."
|
|
1643
1740
|
},
|
|
1644
|
-
"
|
|
1741
|
+
"getter": false,
|
|
1742
|
+
"setter": false,
|
|
1645
1743
|
"reflect": false,
|
|
1646
1744
|
"defaultValue": "false"
|
|
1647
1745
|
},
|
|
1648
1746
|
"formatOptions": {
|
|
1649
1747
|
"type": "unknown",
|
|
1748
|
+
"attribute": "format-options",
|
|
1650
1749
|
"mutable": false,
|
|
1651
1750
|
"complexType": {
|
|
1652
1751
|
"original": "FormatOptions",
|
|
@@ -1664,10 +1763,13 @@ export class Datetime {
|
|
|
1664
1763
|
"docs": {
|
|
1665
1764
|
"tags": [],
|
|
1666
1765
|
"text": "Formatting options for dates and times.\nShould include a 'date' and/or 'time' object, each of which is of type [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options)."
|
|
1667
|
-
}
|
|
1766
|
+
},
|
|
1767
|
+
"getter": false,
|
|
1768
|
+
"setter": false
|
|
1668
1769
|
},
|
|
1669
1770
|
"readonly": {
|
|
1670
1771
|
"type": "boolean",
|
|
1772
|
+
"attribute": "readonly",
|
|
1671
1773
|
"mutable": false,
|
|
1672
1774
|
"complexType": {
|
|
1673
1775
|
"original": "boolean",
|
|
@@ -1680,12 +1782,14 @@ export class Datetime {
|
|
|
1680
1782
|
"tags": [],
|
|
1681
1783
|
"text": "If `true`, the datetime appears normal but the selected date cannot be changed."
|
|
1682
1784
|
},
|
|
1683
|
-
"
|
|
1785
|
+
"getter": false,
|
|
1786
|
+
"setter": false,
|
|
1684
1787
|
"reflect": false,
|
|
1685
1788
|
"defaultValue": "false"
|
|
1686
1789
|
},
|
|
1687
1790
|
"isDateEnabled": {
|
|
1688
1791
|
"type": "unknown",
|
|
1792
|
+
"attribute": "is-date-enabled",
|
|
1689
1793
|
"mutable": false,
|
|
1690
1794
|
"complexType": {
|
|
1691
1795
|
"original": "(dateIsoString: string) => boolean",
|
|
@@ -1697,10 +1801,33 @@ export class Datetime {
|
|
|
1697
1801
|
"docs": {
|
|
1698
1802
|
"tags": [],
|
|
1699
1803
|
"text": "Returns if an individual date (calendar day) is enabled or disabled.\n\nIf `true`, the day will be enabled/interactive.\nIf `false`, the day will be disabled/non-interactive.\n\nThe function accepts an ISO 8601 date string of a given day.\nBy default, all days are enabled. Developers can use this function\nto write custom logic to disable certain days.\n\nThe function is called for each rendered calendar day, for the previous, current and next month.\nCustom implementations should be optimized for performance to avoid jank."
|
|
1700
|
-
}
|
|
1804
|
+
},
|
|
1805
|
+
"getter": false,
|
|
1806
|
+
"setter": false
|
|
1807
|
+
},
|
|
1808
|
+
"showAdjacentDays": {
|
|
1809
|
+
"type": "boolean",
|
|
1810
|
+
"attribute": "show-adjacent-days",
|
|
1811
|
+
"mutable": false,
|
|
1812
|
+
"complexType": {
|
|
1813
|
+
"original": "boolean",
|
|
1814
|
+
"resolved": "boolean",
|
|
1815
|
+
"references": {}
|
|
1816
|
+
},
|
|
1817
|
+
"required": false,
|
|
1818
|
+
"optional": false,
|
|
1819
|
+
"docs": {
|
|
1820
|
+
"tags": [],
|
|
1821
|
+
"text": "If `true`, the datetime calendar displays a six-week (42-day) layout,\nincluding days from the previous and next months to fill the grid.\nThese adjacent days are selectable unless disabled."
|
|
1822
|
+
},
|
|
1823
|
+
"getter": false,
|
|
1824
|
+
"setter": false,
|
|
1825
|
+
"reflect": false,
|
|
1826
|
+
"defaultValue": "false"
|
|
1701
1827
|
},
|
|
1702
1828
|
"min": {
|
|
1703
1829
|
"type": "string",
|
|
1830
|
+
"attribute": "min",
|
|
1704
1831
|
"mutable": true,
|
|
1705
1832
|
"complexType": {
|
|
1706
1833
|
"original": "string",
|
|
@@ -1713,11 +1840,13 @@ export class Datetime {
|
|
|
1713
1840
|
"tags": [],
|
|
1714
1841
|
"text": "The minimum datetime allowed. Value must be a date string\nfollowing the\n[ISO 8601 datetime format standard](https://www.w3.org/TR/NOTE-datetime),\nsuch as `1996-12-19`. The format does not have to be specific to an exact\ndatetime. For example, the minimum could just be the year, such as `1994`.\nDefaults to the beginning of the year, 100 years ago from today."
|
|
1715
1842
|
},
|
|
1716
|
-
"
|
|
1843
|
+
"getter": false,
|
|
1844
|
+
"setter": false,
|
|
1717
1845
|
"reflect": false
|
|
1718
1846
|
},
|
|
1719
1847
|
"max": {
|
|
1720
1848
|
"type": "string",
|
|
1849
|
+
"attribute": "max",
|
|
1721
1850
|
"mutable": true,
|
|
1722
1851
|
"complexType": {
|
|
1723
1852
|
"original": "string",
|
|
@@ -1730,11 +1859,13 @@ export class Datetime {
|
|
|
1730
1859
|
"tags": [],
|
|
1731
1860
|
"text": "The maximum datetime allowed. Value must be a date string\nfollowing the\n[ISO 8601 datetime format standard](https://www.w3.org/TR/NOTE-datetime),\n`1996-12-19`. The format does not have to be specific to an exact\ndatetime. For example, the maximum could just be the year, such as `1994`.\nDefaults to the end of this year."
|
|
1732
1861
|
},
|
|
1733
|
-
"
|
|
1862
|
+
"getter": false,
|
|
1863
|
+
"setter": false,
|
|
1734
1864
|
"reflect": false
|
|
1735
1865
|
},
|
|
1736
1866
|
"presentation": {
|
|
1737
1867
|
"type": "string",
|
|
1868
|
+
"attribute": "presentation",
|
|
1738
1869
|
"mutable": false,
|
|
1739
1870
|
"complexType": {
|
|
1740
1871
|
"original": "DatetimePresentation",
|
|
@@ -1753,12 +1884,14 @@ export class Datetime {
|
|
|
1753
1884
|
"tags": [],
|
|
1754
1885
|
"text": "Which values you want to select. `\"date\"` will show\na calendar picker to select the month, day, and year. `\"time\"`\nwill show a time picker to select the hour, minute, and (optionally)\nAM/PM. `\"date-time\"` will show the date picker first and time picker second.\n`\"time-date\"` will show the time picker first and date picker second."
|
|
1755
1886
|
},
|
|
1756
|
-
"
|
|
1887
|
+
"getter": false,
|
|
1888
|
+
"setter": false,
|
|
1757
1889
|
"reflect": false,
|
|
1758
1890
|
"defaultValue": "'date-time'"
|
|
1759
1891
|
},
|
|
1760
1892
|
"cancelText": {
|
|
1761
1893
|
"type": "string",
|
|
1894
|
+
"attribute": "cancel-text",
|
|
1762
1895
|
"mutable": false,
|
|
1763
1896
|
"complexType": {
|
|
1764
1897
|
"original": "string",
|
|
@@ -1771,12 +1904,14 @@ export class Datetime {
|
|
|
1771
1904
|
"tags": [],
|
|
1772
1905
|
"text": "The text to display on the picker's cancel button."
|
|
1773
1906
|
},
|
|
1774
|
-
"
|
|
1907
|
+
"getter": false,
|
|
1908
|
+
"setter": false,
|
|
1775
1909
|
"reflect": false,
|
|
1776
1910
|
"defaultValue": "'Cancel'"
|
|
1777
1911
|
},
|
|
1778
1912
|
"doneText": {
|
|
1779
1913
|
"type": "string",
|
|
1914
|
+
"attribute": "done-text",
|
|
1780
1915
|
"mutable": false,
|
|
1781
1916
|
"complexType": {
|
|
1782
1917
|
"original": "string",
|
|
@@ -1789,12 +1924,14 @@ export class Datetime {
|
|
|
1789
1924
|
"tags": [],
|
|
1790
1925
|
"text": "The text to display on the picker's \"Done\" button."
|
|
1791
1926
|
},
|
|
1792
|
-
"
|
|
1927
|
+
"getter": false,
|
|
1928
|
+
"setter": false,
|
|
1793
1929
|
"reflect": false,
|
|
1794
1930
|
"defaultValue": "'Done'"
|
|
1795
1931
|
},
|
|
1796
1932
|
"clearText": {
|
|
1797
1933
|
"type": "string",
|
|
1934
|
+
"attribute": "clear-text",
|
|
1798
1935
|
"mutable": false,
|
|
1799
1936
|
"complexType": {
|
|
1800
1937
|
"original": "string",
|
|
@@ -1807,12 +1944,14 @@ export class Datetime {
|
|
|
1807
1944
|
"tags": [],
|
|
1808
1945
|
"text": "The text to display on the picker's \"Clear\" button."
|
|
1809
1946
|
},
|
|
1810
|
-
"
|
|
1947
|
+
"getter": false,
|
|
1948
|
+
"setter": false,
|
|
1811
1949
|
"reflect": false,
|
|
1812
1950
|
"defaultValue": "'Clear'"
|
|
1813
1951
|
},
|
|
1814
1952
|
"yearValues": {
|
|
1815
1953
|
"type": "any",
|
|
1954
|
+
"attribute": "year-values",
|
|
1816
1955
|
"mutable": false,
|
|
1817
1956
|
"complexType": {
|
|
1818
1957
|
"original": "number[] | number | string",
|
|
@@ -1825,11 +1964,13 @@ export class Datetime {
|
|
|
1825
1964
|
"tags": [],
|
|
1826
1965
|
"text": "Values used to create the list of selectable years. By default\nthe year values range between the `min` and `max` datetime inputs. However, to\ncontrol exactly which years to display, the `yearValues` input can take a number, an array\nof numbers, or string of comma separated numbers. For example, to show upcoming and\nrecent leap years, then this input's value would be `yearValues=\"2008,2012,2016,2020,2024\"`."
|
|
1827
1966
|
},
|
|
1828
|
-
"
|
|
1967
|
+
"getter": false,
|
|
1968
|
+
"setter": false,
|
|
1829
1969
|
"reflect": false
|
|
1830
1970
|
},
|
|
1831
1971
|
"monthValues": {
|
|
1832
1972
|
"type": "any",
|
|
1973
|
+
"attribute": "month-values",
|
|
1833
1974
|
"mutable": false,
|
|
1834
1975
|
"complexType": {
|
|
1835
1976
|
"original": "number[] | number | string",
|
|
@@ -1842,11 +1983,13 @@ export class Datetime {
|
|
|
1842
1983
|
"tags": [],
|
|
1843
1984
|
"text": "Values used to create the list of selectable months. By default\nthe month values range from `1` to `12`. However, to control exactly which months to\ndisplay, the `monthValues` input can take a number, an array of numbers, or a string of\ncomma separated numbers. For example, if only summer months should be shown, then this\ninput value would be `monthValues=\"6,7,8\"`. Note that month numbers do *not* have a\nzero-based index, meaning January's value is `1`, and December's is `12`."
|
|
1844
1985
|
},
|
|
1845
|
-
"
|
|
1986
|
+
"getter": false,
|
|
1987
|
+
"setter": false,
|
|
1846
1988
|
"reflect": false
|
|
1847
1989
|
},
|
|
1848
1990
|
"dayValues": {
|
|
1849
1991
|
"type": "any",
|
|
1992
|
+
"attribute": "day-values",
|
|
1850
1993
|
"mutable": false,
|
|
1851
1994
|
"complexType": {
|
|
1852
1995
|
"original": "number[] | number | string",
|
|
@@ -1859,11 +2002,13 @@ export class Datetime {
|
|
|
1859
2002
|
"tags": [],
|
|
1860
2003
|
"text": "Values used to create the list of selectable days. By default\nevery day is shown for the given month. However, to control exactly which days of\nthe month to display, the `dayValues` input can take a number, an array of numbers, or\na string of comma separated numbers. Note that even if the array days have an invalid\nnumber for the selected month, like `31` in February, it will correctly not show\ndays which are not valid for the selected month."
|
|
1861
2004
|
},
|
|
1862
|
-
"
|
|
2005
|
+
"getter": false,
|
|
2006
|
+
"setter": false,
|
|
1863
2007
|
"reflect": false
|
|
1864
2008
|
},
|
|
1865
2009
|
"hourValues": {
|
|
1866
2010
|
"type": "any",
|
|
2011
|
+
"attribute": "hour-values",
|
|
1867
2012
|
"mutable": false,
|
|
1868
2013
|
"complexType": {
|
|
1869
2014
|
"original": "number[] | number | string",
|
|
@@ -1876,11 +2021,13 @@ export class Datetime {
|
|
|
1876
2021
|
"tags": [],
|
|
1877
2022
|
"text": "Values used to create the list of selectable hours. By default\nthe hour values range from `0` to `23` for 24-hour, or `1` to `12` for 12-hour. However,\nto control exactly which hours to display, the `hourValues` input can take a number, an\narray of numbers, or a string of comma separated numbers."
|
|
1878
2023
|
},
|
|
1879
|
-
"
|
|
2024
|
+
"getter": false,
|
|
2025
|
+
"setter": false,
|
|
1880
2026
|
"reflect": false
|
|
1881
2027
|
},
|
|
1882
2028
|
"minuteValues": {
|
|
1883
2029
|
"type": "any",
|
|
2030
|
+
"attribute": "minute-values",
|
|
1884
2031
|
"mutable": false,
|
|
1885
2032
|
"complexType": {
|
|
1886
2033
|
"original": "number[] | number | string",
|
|
@@ -1893,11 +2040,13 @@ export class Datetime {
|
|
|
1893
2040
|
"tags": [],
|
|
1894
2041
|
"text": "Values used to create the list of selectable minutes. By default\nthe minutes range from `0` to `59`. However, to control exactly which minutes to display,\nthe `minuteValues` input can take a number, an array of numbers, or a string of comma\nseparated numbers. For example, if the minute selections should only be every 15 minutes,\nthen this input value would be `minuteValues=\"0,15,30,45\"`."
|
|
1895
2042
|
},
|
|
1896
|
-
"
|
|
2043
|
+
"getter": false,
|
|
2044
|
+
"setter": false,
|
|
1897
2045
|
"reflect": false
|
|
1898
2046
|
},
|
|
1899
2047
|
"locale": {
|
|
1900
2048
|
"type": "string",
|
|
2049
|
+
"attribute": "locale",
|
|
1901
2050
|
"mutable": false,
|
|
1902
2051
|
"complexType": {
|
|
1903
2052
|
"original": "string",
|
|
@@ -1910,12 +2059,14 @@ export class Datetime {
|
|
|
1910
2059
|
"tags": [],
|
|
1911
2060
|
"text": "The locale to use for `ion-datetime`. This\nimpacts month and day name formatting.\nThe `\"default\"` value refers to the default\nlocale set by your device."
|
|
1912
2061
|
},
|
|
1913
|
-
"
|
|
2062
|
+
"getter": false,
|
|
2063
|
+
"setter": false,
|
|
1914
2064
|
"reflect": false,
|
|
1915
2065
|
"defaultValue": "'default'"
|
|
1916
2066
|
},
|
|
1917
2067
|
"firstDayOfWeek": {
|
|
1918
2068
|
"type": "number",
|
|
2069
|
+
"attribute": "first-day-of-week",
|
|
1919
2070
|
"mutable": false,
|
|
1920
2071
|
"complexType": {
|
|
1921
2072
|
"original": "number",
|
|
@@ -1928,12 +2079,14 @@ export class Datetime {
|
|
|
1928
2079
|
"tags": [],
|
|
1929
2080
|
"text": "The first day of the week to use for `ion-datetime`. The\ndefault value is `0` and represents Sunday."
|
|
1930
2081
|
},
|
|
1931
|
-
"
|
|
2082
|
+
"getter": false,
|
|
2083
|
+
"setter": false,
|
|
1932
2084
|
"reflect": false,
|
|
1933
2085
|
"defaultValue": "0"
|
|
1934
2086
|
},
|
|
1935
2087
|
"titleSelectedDatesFormatter": {
|
|
1936
2088
|
"type": "unknown",
|
|
2089
|
+
"attribute": "title-selected-dates-formatter",
|
|
1937
2090
|
"mutable": false,
|
|
1938
2091
|
"complexType": {
|
|
1939
2092
|
"original": "TitleSelectedDatesFormatter",
|
|
@@ -1951,10 +2104,13 @@ export class Datetime {
|
|
|
1951
2104
|
"docs": {
|
|
1952
2105
|
"tags": [],
|
|
1953
2106
|
"text": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
1954
|
-
}
|
|
2107
|
+
},
|
|
2108
|
+
"getter": false,
|
|
2109
|
+
"setter": false
|
|
1955
2110
|
},
|
|
1956
2111
|
"multiple": {
|
|
1957
2112
|
"type": "boolean",
|
|
2113
|
+
"attribute": "multiple",
|
|
1958
2114
|
"mutable": false,
|
|
1959
2115
|
"complexType": {
|
|
1960
2116
|
"original": "boolean",
|
|
@@ -1967,12 +2123,14 @@ export class Datetime {
|
|
|
1967
2123
|
"tags": [],
|
|
1968
2124
|
"text": "If `true`, multiple dates can be selected at once. Only\napplies to `presentation=\"date\"` and `preferWheel=\"false\"`."
|
|
1969
2125
|
},
|
|
1970
|
-
"
|
|
2126
|
+
"getter": false,
|
|
2127
|
+
"setter": false,
|
|
1971
2128
|
"reflect": false,
|
|
1972
2129
|
"defaultValue": "false"
|
|
1973
2130
|
},
|
|
1974
2131
|
"highlightedDates": {
|
|
1975
2132
|
"type": "unknown",
|
|
2133
|
+
"attribute": "highlighted-dates",
|
|
1976
2134
|
"mutable": false,
|
|
1977
2135
|
"complexType": {
|
|
1978
2136
|
"original": "DatetimeHighlight[] | DatetimeHighlightCallback",
|
|
@@ -1995,10 +2153,13 @@ export class Datetime {
|
|
|
1995
2153
|
"docs": {
|
|
1996
2154
|
"tags": [],
|
|
1997
2155
|
"text": "Used to apply custom text and background colors to specific dates.\n\nCan be either an array of objects containing ISO strings and colors,\nor a callback that receives an ISO string and returns the colors.\n\nOnly applies to the `date`, `date-time`, and `time-date` presentations,\nwith `preferWheel=\"false\"`."
|
|
1998
|
-
}
|
|
2156
|
+
},
|
|
2157
|
+
"getter": false,
|
|
2158
|
+
"setter": false
|
|
1999
2159
|
},
|
|
2000
2160
|
"value": {
|
|
2001
2161
|
"type": "string",
|
|
2162
|
+
"attribute": "value",
|
|
2002
2163
|
"mutable": true,
|
|
2003
2164
|
"complexType": {
|
|
2004
2165
|
"original": "string | string[] | null",
|
|
@@ -2011,11 +2172,13 @@ export class Datetime {
|
|
|
2011
2172
|
"tags": [],
|
|
2012
2173
|
"text": "The value of the datetime as a valid ISO 8601 datetime string.\nThis should be an array of strings only when `multiple=\"true\"`."
|
|
2013
2174
|
},
|
|
2014
|
-
"
|
|
2175
|
+
"getter": false,
|
|
2176
|
+
"setter": false,
|
|
2015
2177
|
"reflect": false
|
|
2016
2178
|
},
|
|
2017
2179
|
"showDefaultTitle": {
|
|
2018
2180
|
"type": "boolean",
|
|
2181
|
+
"attribute": "show-default-title",
|
|
2019
2182
|
"mutable": false,
|
|
2020
2183
|
"complexType": {
|
|
2021
2184
|
"original": "boolean",
|
|
@@ -2028,12 +2191,14 @@ export class Datetime {
|
|
|
2028
2191
|
"tags": [],
|
|
2029
2192
|
"text": "If `true`, a header will be shown above the calendar\npicker. This will include both the slotted title, and\nthe selected date."
|
|
2030
2193
|
},
|
|
2031
|
-
"
|
|
2194
|
+
"getter": false,
|
|
2195
|
+
"setter": false,
|
|
2032
2196
|
"reflect": false,
|
|
2033
2197
|
"defaultValue": "false"
|
|
2034
2198
|
},
|
|
2035
2199
|
"showDefaultButtons": {
|
|
2036
2200
|
"type": "boolean",
|
|
2201
|
+
"attribute": "show-default-buttons",
|
|
2037
2202
|
"mutable": false,
|
|
2038
2203
|
"complexType": {
|
|
2039
2204
|
"original": "boolean",
|
|
@@ -2046,12 +2211,14 @@ export class Datetime {
|
|
|
2046
2211
|
"tags": [],
|
|
2047
2212
|
"text": "If `true`, the default \"Cancel\" and \"OK\" buttons\nwill be rendered at the bottom of the `ion-datetime`\ncomponent. Developers can also use the `button` slot\nif they want to customize these buttons. If custom\nbuttons are set in the `button` slot then the\ndefault buttons will not be rendered."
|
|
2048
2213
|
},
|
|
2049
|
-
"
|
|
2214
|
+
"getter": false,
|
|
2215
|
+
"setter": false,
|
|
2050
2216
|
"reflect": false,
|
|
2051
2217
|
"defaultValue": "false"
|
|
2052
2218
|
},
|
|
2053
2219
|
"showClearButton": {
|
|
2054
2220
|
"type": "boolean",
|
|
2221
|
+
"attribute": "show-clear-button",
|
|
2055
2222
|
"mutable": false,
|
|
2056
2223
|
"complexType": {
|
|
2057
2224
|
"original": "boolean",
|
|
@@ -2064,12 +2231,14 @@ export class Datetime {
|
|
|
2064
2231
|
"tags": [],
|
|
2065
2232
|
"text": "If `true`, a \"Clear\" button will be rendered alongside\nthe default \"Cancel\" and \"OK\" buttons at the bottom of the `ion-datetime`\ncomponent. Developers can also use the `button` slot\nif they want to customize these buttons. If custom\nbuttons are set in the `button` slot then the\ndefault buttons will not be rendered."
|
|
2066
2233
|
},
|
|
2067
|
-
"
|
|
2234
|
+
"getter": false,
|
|
2235
|
+
"setter": false,
|
|
2068
2236
|
"reflect": false,
|
|
2069
2237
|
"defaultValue": "false"
|
|
2070
2238
|
},
|
|
2071
2239
|
"showDefaultTimeLabel": {
|
|
2072
2240
|
"type": "boolean",
|
|
2241
|
+
"attribute": "show-default-time-label",
|
|
2073
2242
|
"mutable": false,
|
|
2074
2243
|
"complexType": {
|
|
2075
2244
|
"original": "boolean",
|
|
@@ -2082,12 +2251,14 @@ export class Datetime {
|
|
|
2082
2251
|
"tags": [],
|
|
2083
2252
|
"text": "If `true`, the default \"Time\" label will be rendered\nfor the time selector of the `ion-datetime` component.\nDevelopers can also use the `time-label` slot\nif they want to customize this label. If a custom\nlabel is set in the `time-label` slot then the\ndefault label will not be rendered."
|
|
2084
2253
|
},
|
|
2085
|
-
"
|
|
2254
|
+
"getter": false,
|
|
2255
|
+
"setter": false,
|
|
2086
2256
|
"reflect": false,
|
|
2087
2257
|
"defaultValue": "true"
|
|
2088
2258
|
},
|
|
2089
2259
|
"hourCycle": {
|
|
2090
2260
|
"type": "string",
|
|
2261
|
+
"attribute": "hour-cycle",
|
|
2091
2262
|
"mutable": false,
|
|
2092
2263
|
"complexType": {
|
|
2093
2264
|
"original": "DatetimeHourCycle",
|
|
@@ -2106,11 +2277,13 @@ export class Datetime {
|
|
|
2106
2277
|
"tags": [],
|
|
2107
2278
|
"text": "The hour cycle of the `ion-datetime`. If no value is set, this is\nspecified by the current locale."
|
|
2108
2279
|
},
|
|
2109
|
-
"
|
|
2280
|
+
"getter": false,
|
|
2281
|
+
"setter": false,
|
|
2110
2282
|
"reflect": false
|
|
2111
2283
|
},
|
|
2112
2284
|
"size": {
|
|
2113
2285
|
"type": "string",
|
|
2286
|
+
"attribute": "size",
|
|
2114
2287
|
"mutable": false,
|
|
2115
2288
|
"complexType": {
|
|
2116
2289
|
"original": "'cover' | 'fixed'",
|
|
@@ -2123,12 +2296,14 @@ export class Datetime {
|
|
|
2123
2296
|
"tags": [],
|
|
2124
2297
|
"text": "If `cover`, the `ion-datetime` will expand to cover the full width of its container.\nIf `fixed`, the `ion-datetime` will have a fixed width."
|
|
2125
2298
|
},
|
|
2126
|
-
"
|
|
2299
|
+
"getter": false,
|
|
2300
|
+
"setter": false,
|
|
2127
2301
|
"reflect": false,
|
|
2128
2302
|
"defaultValue": "'fixed'"
|
|
2129
2303
|
},
|
|
2130
2304
|
"preferWheel": {
|
|
2131
2305
|
"type": "boolean",
|
|
2306
|
+
"attribute": "prefer-wheel",
|
|
2132
2307
|
"mutable": false,
|
|
2133
2308
|
"complexType": {
|
|
2134
2309
|
"original": "boolean",
|
|
@@ -2141,7 +2316,8 @@ export class Datetime {
|
|
|
2141
2316
|
"tags": [],
|
|
2142
2317
|
"text": "If `true`, a wheel picker will be rendered instead of a calendar grid\nwhere possible. If `false`, a calendar grid will be rendered instead of\na wheel picker where possible.\n\nA wheel picker can be rendered instead of a grid when `presentation` is\none of the following values: `\"date\"`, `\"date-time\"`, or `\"time-date\"`.\n\nA wheel picker will always be rendered regardless of\nthe `preferWheel` value when `presentation` is one of the following values:\n`\"time\"`, `\"month\"`, `\"month-year\"`, or `\"year\"`."
|
|
2143
2318
|
},
|
|
2144
|
-
"
|
|
2319
|
+
"getter": false,
|
|
2320
|
+
"setter": false,
|
|
2145
2321
|
"reflect": false,
|
|
2146
2322
|
"defaultValue": "false"
|
|
2147
2323
|
}
|