@ionic/core 8.3.2-dev.11728314937.130218e6 → 8.3.2-dev.11729014526.1ab61c12
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 +1 -1
- package/components/alert.js +1 -2
- package/components/animation.js +1 -1
- package/components/backdrop.js +1 -1
- package/components/button.js +1 -1
- package/components/buttons.js +1 -1
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +1 -1
- package/components/focus-visible.js +1 -8
- package/components/framework-delegate.js +1 -3
- package/components/hardware-back-button.js +115 -0
- package/components/helpers.js +1 -4
- package/components/index2.js +1 -2
- package/components/index4.js +3 -1
- package/components/index5.js +3 -27
- package/components/index6.js +27 -124
- package/components/index7.js +111 -150
- package/{dist/esm/index-7f65e865.js → components/index8.js} +2 -3
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +2 -3
- package/components/ion-app.js +74 -7
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -3
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +2 -3
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +5 -7
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +2 -3
- package/components/ion-fab-button.js +2 -3
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +5 -7
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +6 -8
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -2
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +2 -3
- package/components/ion-input.js +2 -3
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +2 -2
- package/components/ion-loading.js +1 -2
- package/components/ion-menu-button.js +2 -3
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- package/components/ion-nav.js +1 -2
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +1 -2
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +2 -3
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +2 -3
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -2
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -4
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -3
- package/components/ion-skeleton-text.js +1 -2
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -2
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +8 -8
- package/components/ion-toggle.js +2 -3
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +76 -189
- package/components/item.js +2 -3
- package/components/keyboard-controller.js +2 -4
- package/components/label.js +1 -1
- package/components/list-header.js +1 -1
- package/components/list.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -4
- package/components/picker-column-option.js +1 -1
- package/components/picker-column.js +2 -1
- package/components/picker-column2.js +1 -1
- package/components/popover.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +1 -1
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -2
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-232e0c8f.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-0189a70c.js → app-globals-38bbc401.js} +1 -1
- package/dist/cjs/{button-active-41228dbf.js → button-active-3f2f60b4.js} +4 -4
- package/dist/cjs/{capacitor-806e7fee.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-cad5d489.js → data-b3a1a686.js} +1 -1
- package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
- package/dist/cjs/{framework-delegate-cf116b1d.js → framework-delegate-55f5683a.js} +2 -4
- package/dist/cjs/{haptic-f0cad9a6.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-d37054f2.js +122 -0
- package/dist/cjs/{helpers-e75eb909.js → helpers-afaa9001.js} +1 -4
- package/dist/cjs/{index-1d02518d.js → index-2fa32189.js} +2 -2
- package/dist/cjs/{index-3ac79a1b.js → index-694a3808.js} +10 -10
- package/dist/cjs/{config-1349d5b4.js → index-73f75efb.js} +0 -79
- package/dist/cjs/{index-2c8b42cd.js → index-9509ecad.js} +7 -8
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-71085796.js → index-ed0f67a3.js} +7 -5
- package/dist/cjs/index.cjs.js +12 -10
- package/dist/cjs/{input-shims-2958dcc9.js → input-shims-ab680ecf.js} +18 -17
- package/dist/cjs/{input.utils-ed749ecb.js → input.utils-44ff82f0.js} +4 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +18 -18
- package/dist/cjs/ion-action-sheet.cjs.entry.js +25 -23
- package/dist/cjs/ion-alert.cjs.entry.js +35 -33
- package/dist/cjs/ion-app_8.cjs.entry.js +150 -84
- package/dist/cjs/ion-avatar_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-back-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +24 -24
- package/dist/cjs/ion-button_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -19
- package/dist/cjs/ion-checkbox.cjs.entry.js +15 -15
- package/dist/cjs/ion-chip.cjs.entry.js +5 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +91 -89
- package/dist/cjs/ion-fab_3.cjs.entry.js +21 -21
- package/dist/cjs/ion-img.cjs.entry.js +10 -10
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +22 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +14 -14
- package/dist/cjs/ion-input.cjs.entry.js +28 -27
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +40 -40
- package/dist/cjs/ion-loading.cjs.entry.js +25 -23
- package/dist/cjs/ion-menu_3.cjs.entry.js +39 -37
- package/dist/cjs/ion-modal.cjs.entry.js +50 -48
- package/dist/cjs/ion-nav_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column.cjs.entry.js +14 -13
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +24 -22
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -10
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-range.cjs.entry.js +23 -23
- package/dist/cjs/ion-refresher_2.cjs.entry.js +47 -46
- package/dist/cjs/ion-reorder_2.cjs.entry.js +21 -20
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +14 -14
- package/dist/cjs/ion-searchbar.cjs.entry.js +31 -31
- package/dist/cjs/ion-segment_2.cjs.entry.js +17 -17
- package/dist/cjs/ion-select_3.cjs.entry.js +45 -43
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -12
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +19 -18
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +24 -23
- package/dist/cjs/ion-toast.cjs.entry.js +35 -33
- package/dist/cjs/ion-toggle.cjs.entry.js +25 -24
- package/dist/cjs/{ionic-global-3647b9f5.js → ionic-global-5df85d73.js} +89 -205
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-4411892c.js → ios.transition-7574ba71.js} +6 -5
- package/dist/cjs/{keyboard-ed6e1327.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-e0062bfc.js → keyboard-af1bb365.js} +3 -4
- package/dist/cjs/{keyboard-controller-020444ad.js → keyboard-controller-c05e747a.js} +9 -11
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-261f9f67.js → md.transition-d9d90911.js} +6 -5
- package/dist/cjs/{notch-controller-70ad2323.js → notch-controller-d69150f5.js} +4 -4
- package/dist/cjs/{overlays-22320753.js → overlays-faf6f843.js} +17 -17
- package/dist/cjs/{status-tap-cfc7f9a5.js → status-tap-28780caa.js} +8 -8
- package/dist/cjs/{swipe-back-ecdf1cf5.js → swipe-back-0303a5e4.js} +1 -2
- package/dist/collection/components/app/app.js +75 -5
- package/dist/collection/components/content/content.js +4 -6
- package/dist/collection/components/footer/footer.js +3 -5
- package/dist/collection/components/header/header.js +4 -6
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/searchbar/searchbar.ionic.css +166 -89
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +348 -0
- package/dist/collection/components/toast/toast.ios.css +68 -41
- package/dist/collection/components/toast/toast.js +4 -4
- package/dist/collection/components/toast/toast.md.css +68 -41
- package/dist/collection/global/ionic-global.js +1 -69
- package/dist/collection/utils/focus-visible.js +0 -7
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/helpers.js +1 -3
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
- package/dist/collection/utils/overlays.js +1 -2
- package/dist/docs.json +119 -107
- package/dist/esm/{animation-16546c84.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-35381e66.js → app-globals-c45950ba.js} +1 -1
- package/dist/esm/{button-active-c768aceb.js → button-active-873732e5.js} +2 -2
- package/dist/esm/{capacitor-0897b83c.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-d9b1fbdb.js → data-fde041b0.js} +1 -1
- package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
- package/dist/esm/{framework-delegate-56698eb0.js → framework-delegate-63d1a679.js} +2 -4
- package/dist/esm/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-2bb5194f.js +116 -0
- package/dist/esm/{helpers-d57f52c8.js → helpers-da915de8.js} +1 -4
- package/dist/esm/{index-edf94b3b.js → index-29be96b3.js} +5 -5
- package/dist/esm/{index-82405a4a.js → index-2d8b49ae.js} +5 -3
- package/dist/esm/{index-f8ad386a.js → index-56cab0d6.js} +2 -2
- package/dist/esm/{config-0b6b1b3d.js → index-723c0e5d.js} +1 -76
- package/dist/esm/index-79b30591.js +167 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/index.js +12 -10
- package/dist/esm/{input-shims-0f3cc1c3.js → input-shims-59f93016.js} +7 -6
- package/dist/esm/{input.utils-ef4d8197.js → input.utils-8755322f.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -9
- package/dist/esm/ion-alert.entry.js +11 -9
- package/dist/esm/ion-app_8.entry.js +94 -28
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +12 -10
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +6 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +8 -6
- package/dist/esm/ion-menu_3.entry.js +9 -7
- package/dist/esm/ion-modal.entry.js +13 -11
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +6 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +9 -7
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +8 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -6
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +8 -6
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +7 -6
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -5
- package/dist/esm/ion-toast.entry.js +14 -12
- package/dist/esm/ion-toggle.entry.js +6 -5
- package/dist/esm/{ionic-global-d7017fd9.js → ionic-global-a8cbb8b0.js} +72 -184
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4b9fe79e.js → ios.transition-4706aa28.js} +6 -5
- package/dist/esm/{keyboard-584d2e6f.js → keyboard-52278bd7.js} +3 -4
- package/dist/esm/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-9c9c2301.js → keyboard-controller-ec5c2bfa.js} +3 -5
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-a71dc418.js → md.transition-20ad6960.js} +6 -5
- package/dist/esm/{notch-controller-4d9a7b28.js → notch-controller-55b09e11.js} +2 -2
- package/dist/esm/{overlays-9da9aef5.js → overlays-40e86f77.js} +6 -6
- package/dist/esm/{status-tap-82f51b25.js → status-tap-0433b6a6.js} +4 -4
- package/dist/esm/{swipe-back-c5709ce5.js → swipe-back-e5394307.js} +1 -2
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-c45950ba.js +4 -0
- package/dist/esm-es5/button-active-873732e5.js +4 -0
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/{data-d9b1fbdb.js → data-fde041b0.js} +1 -1
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
- package/dist/esm-es5/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-2bb5194f.js +4 -0
- package/dist/esm-es5/helpers-da915de8.js +4 -0
- package/dist/esm-es5/index-29be96b3.js +4 -0
- package/dist/esm-es5/index-2d8b49ae.js +4 -0
- package/dist/esm-es5/{index-f8ad386a.js → index-56cab0d6.js} +1 -1
- package/dist/esm-es5/{config-0b6b1b3d.js → index-723c0e5d.js} +2 -2
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-59f93016.js +4 -0
- package/dist/esm-es5/input.utils-8755322f.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-a8cbb8b0.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4706aa28.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-20ad6960.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-40e86f77.js +4 -0
- package/dist/esm-es5/status-tap-0433b6a6.js +4 -0
- package/dist/esm-es5/swipe-back-e5394307.js +4 -0
- package/dist/html.html-data.json +102 -102
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-00093fc0.entry.js +4 -0
- package/dist/ionic/{p-fbcf9790.system.entry.js → p-0328213e.system.entry.js} +1 -1
- package/dist/ionic/{p-0a820472.js → p-0b120b1d.js} +1 -1
- package/dist/ionic/p-0bfbe380.js +4 -0
- package/dist/ionic/{p-82832f09.system.entry.js → p-0c9a7872.system.entry.js} +1 -1
- package/dist/ionic/p-0cd67533.js +4 -0
- package/dist/ionic/p-0d86eb56.system.entry.js +4 -0
- package/dist/ionic/p-0d945ebd.entry.js +4 -0
- package/dist/ionic/p-0fa218e9.system.js +5 -0
- package/dist/ionic/{p-15d007ee.system.entry.js → p-0fd7a8cb.system.entry.js} +1 -1
- package/dist/ionic/{p-4d000ec5.entry.js → p-10dacd80.entry.js} +1 -1
- package/dist/ionic/p-12299223.system.entry.js +4 -0
- package/dist/ionic/p-175821bc.entry.js +4 -0
- package/dist/ionic/{p-9152f6a3.system.entry.js → p-19c89aeb.system.entry.js} +1 -1
- package/dist/ionic/{p-61a51379.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-1f6507e4.entry.js +4 -0
- package/dist/ionic/p-1f7b26cc.entry.js +4 -0
- package/dist/ionic/{p-d9e1c48c.system.js → p-1fd1d157.system.js} +1 -1
- package/dist/ionic/p-2282c878.system.entry.js +4 -0
- package/dist/ionic/{p-11915ee9.system.entry.js → p-26313905.system.entry.js} +1 -1
- package/dist/ionic/{p-4ed7dfdb.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-27bb59a9.system.entry.js +4 -0
- package/dist/ionic/p-28be0cf9.js +4 -0
- package/dist/ionic/p-2a844e7c.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-2b98e44b.system.entry.js +4 -0
- package/dist/ionic/p-2fd3e890.system.entry.js +4 -0
- package/dist/ionic/p-30c8168f.system.entry.js +4 -0
- package/dist/ionic/p-3281aaeb.entry.js +4 -0
- package/dist/ionic/p-32f4a0b9.entry.js +4 -0
- package/dist/ionic/p-34b11c24.js +4 -0
- package/dist/ionic/{p-3d9cad0b.system.entry.js → p-35b66bbc.system.entry.js} +1 -1
- package/dist/ionic/p-36db29d9.system.js +4 -0
- package/dist/ionic/p-3ad285e3.system.js +4 -0
- package/dist/ionic/p-3c1b93db.system.entry.js +4 -0
- package/dist/ionic/p-3cc276f4.js +4 -0
- package/dist/ionic/p-3dfa54e6.js +4 -0
- package/dist/ionic/{p-a65fe34d.system.entry.js → p-3efc5d47.system.entry.js} +1 -1
- package/dist/ionic/p-432e6521.system.entry.js +4 -0
- package/dist/ionic/{p-da968066.entry.js → p-44c281df.entry.js} +1 -1
- package/dist/ionic/{p-b14c601a.entry.js → p-46f790b3.entry.js} +1 -1
- package/dist/ionic/{p-92b48263.entry.js → p-48cd1ced.entry.js} +1 -1
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/p-4c38fcdd.system.js +4 -0
- package/dist/ionic/{p-3bfe43bc.system.js → p-4ccbf702.system.js} +1 -1
- package/dist/ionic/{p-5468bfbf.entry.js → p-4de02483.entry.js} +1 -1
- package/dist/ionic/p-4e6c9480.system.entry.js +4 -0
- package/dist/ionic/p-4e7c68a5.entry.js +4 -0
- package/dist/ionic/{p-dbfc5db6.js → p-5771eacd.js} +1 -1
- package/dist/ionic/{p-413a936c.entry.js → p-5a583b1a.entry.js} +1 -1
- package/dist/ionic/p-5c766439.entry.js +4 -0
- package/dist/ionic/p-5c8fa89d.system.js +4 -0
- package/dist/ionic/{p-71e8ffdd.system.js → p-5cc80c49.system.js} +1 -1
- package/dist/ionic/p-614c3822.system.js +4 -0
- package/dist/ionic/{p-f41914c0.system.entry.js → p-614d974e.system.entry.js} +1 -1
- package/dist/ionic/p-62836b01.js +4 -0
- package/dist/ionic/p-63fe75bc.js +4 -0
- package/dist/ionic/p-664480c8.system.entry.js +4 -0
- package/dist/ionic/{p-2da8c20c.system.entry.js → p-6b6ee9ca.system.entry.js} +1 -1
- package/dist/ionic/{p-726b9197.system.entry.js → p-6c555957.system.entry.js} +1 -1
- package/dist/ionic/{p-fac985b6.system.entry.js → p-6ca5f4da.system.entry.js} +1 -1
- package/dist/ionic/p-6d7c455f.js +4 -0
- package/dist/ionic/p-6f418011.system.entry.js +4 -0
- package/dist/ionic/p-713374f2.entry.js +4 -0
- package/dist/ionic/{p-39c02066.system.entry.js → p-727aa804.system.entry.js} +1 -1
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/p-737d64f9.entry.js +4 -0
- package/dist/ionic/{p-49a3fc76.entry.js → p-77c3fe69.entry.js} +1 -1
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/{p-f670192b.system.entry.js → p-7986665a.system.entry.js} +1 -1
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7b341352.js +4 -0
- package/dist/ionic/p-7c9d5354.entry.js +4 -0
- package/dist/ionic/p-7ccf7f29.entry.js +4 -0
- package/dist/ionic/p-7dfa7ebc.entry.js +4 -0
- package/dist/ionic/p-80ff4e55.entry.js +4 -0
- package/dist/ionic/{p-6d9e1887.system.entry.js → p-82028c01.system.entry.js} +1 -1
- package/dist/ionic/{p-0695a0af.system.entry.js → p-8285d686.system.entry.js} +1 -1
- package/dist/ionic/p-82d80c8f.entry.js +4 -0
- package/dist/ionic/{p-a9fd9d48.js → p-83948e48.js} +2 -2
- package/dist/ionic/p-83e4478f.entry.js +4 -0
- package/dist/ionic/{p-4a9b61ed.system.entry.js → p-854b1e11.system.entry.js} +1 -1
- package/dist/ionic/p-8635f5e6.system.js +4 -0
- package/dist/ionic/p-87365857.system.entry.js +4 -0
- package/dist/ionic/p-87a81a63.system.entry.js +4 -0
- package/dist/ionic/{p-e61e3bb4.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-b9b36d56.js → p-89b61afc.js} +1 -1
- package/dist/ionic/{p-747e9c9a.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/p-916f6c1d.entry.js +4 -0
- package/dist/ionic/{p-846dd10a.entry.js → p-927b5898.entry.js} +1 -1
- package/dist/ionic/p-93cf45ec.system.entry.js +4 -0
- package/dist/ionic/p-9493acfe.entry.js +4 -0
- package/dist/ionic/p-9805b25a.system.entry.js +4 -0
- package/dist/ionic/{p-bd50f24e.system.entry.js → p-9c8e5275.system.entry.js} +1 -1
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/p-a1b80dd6.system.js +4 -0
- package/dist/ionic/{p-2c5d7d84.system.js → p-a4519424.system.js} +1 -1
- package/dist/ionic/p-a8a04757.system.entry.js +4 -0
- package/dist/ionic/{p-f8e329da.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/{p-c9ef0ca7.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b24c259e.entry.js +4 -0
- package/dist/ionic/p-b33b643b.entry.js +4 -0
- package/dist/ionic/p-b51e4004.js +4 -0
- package/dist/ionic/{p-4b153a9f.entry.js → p-b6d72f12.entry.js} +1 -1
- package/dist/ionic/p-ba45ad7d.entry.js +4 -0
- package/dist/ionic/p-bc8e48de.entry.js +4 -0
- package/dist/ionic/p-bcf5573f.entry.js +4 -0
- package/dist/ionic/{p-ab6e0f02.system.entry.js → p-bcfa9bb5.system.entry.js} +1 -1
- package/dist/ionic/{p-69e54172.js → p-bd7fb7b4.js} +1 -1
- package/dist/ionic/p-bdd4e026.entry.js +4 -0
- package/dist/ionic/{p-ac64cba5.entry.js → p-bef12497.entry.js} +1 -1
- package/dist/ionic/{p-d085c881.system.entry.js → p-bf673222.system.entry.js} +1 -1
- package/dist/ionic/{p-6f8c2e62.system.entry.js → p-c32229bb.system.entry.js} +1 -1
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/{p-3a11234f.system.js → p-c4ae4d32.system.js} +1 -1
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c628bdcb.system.js +4 -0
- package/dist/ionic/p-c6f1b434.js +4 -0
- package/dist/ionic/{p-d1e991c3.js → p-c7e16491.js} +1 -1
- package/dist/ionic/{p-cb8800fe.system.entry.js → p-ca3bf740.system.entry.js} +1 -1
- package/dist/ionic/{p-d0b7fe70.entry.js → p-cb3dc48f.entry.js} +1 -1
- package/dist/ionic/p-cd40baea.entry.js +4 -0
- package/dist/ionic/{p-291dc0b3.system.entry.js → p-cde755fc.system.entry.js} +1 -1
- package/dist/ionic/{p-73e32456.system.js → p-ce5c2902.system.js} +1 -1
- package/dist/ionic/{p-68f3fa48.system.entry.js → p-d05aabdf.system.entry.js} +2 -2
- package/dist/ionic/{p-0a701833.entry.js → p-d3fd2c98.entry.js} +1 -1
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/p-d53e0b4b.entry.js +4 -0
- package/dist/ionic/{p-b6fc8ee2.system.entry.js → p-d6eda1bb.system.entry.js} +1 -1
- package/dist/ionic/p-d79ed7b3.system.js +4 -0
- package/dist/ionic/{p-2c368e32.entry.js → p-d878447e.entry.js} +1 -1
- package/dist/ionic/{p-c2a4c5c5.system.entry.js → p-db63907a.system.entry.js} +1 -1
- package/dist/ionic/p-dbb02a23.system.entry.js +4 -0
- package/dist/ionic/p-dd79c031.js +4 -0
- package/dist/ionic/{p-eeb60a8f.entry.js → p-dde3a646.entry.js} +1 -1
- package/dist/ionic/{p-e5239905.system.entry.js → p-dfd995cc.system.entry.js} +1 -1
- package/dist/ionic/p-e050dad9.system.js +4 -0
- package/dist/ionic/{p-9a9eb866.entry.js → p-e259208f.entry.js} +1 -1
- package/dist/ionic/p-e2bd011e.js +4 -0
- package/dist/ionic/{p-80342c88.system.entry.js → p-e34e037d.system.entry.js} +1 -1
- package/dist/ionic/{p-49d80815.entry.js → p-e5333f3f.entry.js} +1 -1
- package/dist/ionic/{p-fbcb3139.entry.js → p-e61c9280.entry.js} +1 -1
- package/dist/ionic/p-ea16a842.entry.js +4 -0
- package/dist/ionic/p-eafeb1ff.system.js +4 -0
- package/dist/ionic/p-ed419a44.entry.js +4 -0
- package/dist/ionic/{p-093de343.system.entry.js → p-eef611dc.system.entry.js} +1 -1
- package/dist/ionic/{p-6ecebfc6.entry.js → p-f3cfb48a.entry.js} +1 -1
- package/dist/ionic/{p-d346c889.system.entry.js → p-f4ad1cf6.system.entry.js} +1 -1
- package/dist/ionic/{p-d8339079.system.js → p-f7712c17.system.js} +1 -1
- package/dist/ionic/p-f9782d44.system.entry.js +4 -0
- package/dist/types/components/app/app.d.ts +2 -0
- package/dist/types/global/ionic-global.d.ts +0 -2
- package/dist/types/utils/config.d.ts +0 -7
- package/dist/types/utils/focus-visible.d.ts +0 -1
- package/hydrate/index.js +150 -161
- package/hydrate/index.mjs +150 -161
- package/package.json +1 -1
- package/components/config2.js +0 -79
- package/dist/esm-es5/animation-16546c84.js +0 -4
- package/dist/esm-es5/app-globals-35381e66.js +0 -4
- package/dist/esm-es5/button-active-c768aceb.js +0 -4
- package/dist/esm-es5/capacitor-0897b83c.js +0 -4
- package/dist/esm-es5/focus-visible-501aff19.js +0 -4
- package/dist/esm-es5/framework-delegate-56698eb0.js +0 -4
- package/dist/esm-es5/helpers-d57f52c8.js +0 -4
- package/dist/esm-es5/index-7f65e865.js +0 -4
- package/dist/esm-es5/index-82405a4a.js +0 -4
- package/dist/esm-es5/index-edf94b3b.js +0 -4
- package/dist/esm-es5/input-shims-0f3cc1c3.js +0 -4
- package/dist/esm-es5/input.utils-ef4d8197.js +0 -4
- package/dist/esm-es5/ionic-global-d7017fd9.js +0 -4
- package/dist/esm-es5/ios.transition-4b9fe79e.js +0 -4
- package/dist/esm-es5/keyboard-584d2e6f.js +0 -4
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +0 -4
- package/dist/esm-es5/md.transition-a71dc418.js +0 -4
- package/dist/esm-es5/notch-controller-4d9a7b28.js +0 -4
- package/dist/esm-es5/overlays-9da9aef5.js +0 -4
- package/dist/esm-es5/status-tap-82f51b25.js +0 -4
- package/dist/esm-es5/swipe-back-c5709ce5.js +0 -4
- package/dist/ionic/p-027d729e.entry.js +0 -4
- package/dist/ionic/p-036e1c5b.entry.js +0 -4
- package/dist/ionic/p-08df90cf.system.js +0 -4
- package/dist/ionic/p-08f1ef0c.entry.js +0 -4
- package/dist/ionic/p-0ade0499.system.entry.js +0 -4
- package/dist/ionic/p-1037b7dd.js +0 -4
- package/dist/ionic/p-12e3e308.entry.js +0 -4
- package/dist/ionic/p-14719a77.entry.js +0 -4
- package/dist/ionic/p-15d51b10.js +0 -4
- package/dist/ionic/p-221e5078.system.js +0 -4
- package/dist/ionic/p-25e2c98f.system.js +0 -4
- package/dist/ionic/p-26f7c080.system.js +0 -4
- package/dist/ionic/p-28d04212.system.js +0 -4
- package/dist/ionic/p-29d6d1fc.system.entry.js +0 -4
- package/dist/ionic/p-2a559ac6.js +0 -4
- package/dist/ionic/p-2a79e451.entry.js +0 -4
- package/dist/ionic/p-2b428cf6.entry.js +0 -4
- package/dist/ionic/p-2d621d56.system.entry.js +0 -4
- package/dist/ionic/p-334c09da.entry.js +0 -4
- package/dist/ionic/p-33a1d951.system.entry.js +0 -4
- package/dist/ionic/p-36bdcfc4.js +0 -4
- package/dist/ionic/p-388ac217.js +0 -4
- package/dist/ionic/p-3ca5196c.js +0 -4
- package/dist/ionic/p-419fac38.entry.js +0 -4
- package/dist/ionic/p-434c7348.system.entry.js +0 -4
- package/dist/ionic/p-45e150eb.js +0 -4
- package/dist/ionic/p-46787abb.system.js +0 -4
- package/dist/ionic/p-46cc2492.system.js +0 -4
- package/dist/ionic/p-4c251d59.entry.js +0 -4
- package/dist/ionic/p-4e202665.js +0 -4
- package/dist/ionic/p-4ea10a10.entry.js +0 -4
- package/dist/ionic/p-4feea938.entry.js +0 -4
- package/dist/ionic/p-5655419d.system.entry.js +0 -4
- package/dist/ionic/p-5ce35a03.js +0 -4
- package/dist/ionic/p-5dc2a7c6.entry.js +0 -4
- package/dist/ionic/p-6320cbc1.system.entry.js +0 -4
- package/dist/ionic/p-643e2eb8.js +0 -4
- package/dist/ionic/p-660f3b98.entry.js +0 -4
- package/dist/ionic/p-6ad6d594.js +0 -4
- package/dist/ionic/p-70c6cd75.system.js +0 -4
- package/dist/ionic/p-7759fac2.system.entry.js +0 -4
- package/dist/ionic/p-7ebc381e.entry.js +0 -4
- package/dist/ionic/p-83d5ee25.entry.js +0 -4
- package/dist/ionic/p-8421aedf.js +0 -4
- package/dist/ionic/p-90089868.system.entry.js +0 -4
- package/dist/ionic/p-931dc464.entry.js +0 -4
- package/dist/ionic/p-95e22fa9.entry.js +0 -4
- package/dist/ionic/p-9c526519.entry.js +0 -4
- package/dist/ionic/p-9e4ede77.system.entry.js +0 -4
- package/dist/ionic/p-9e8e25e4.system.js +0 -4
- package/dist/ionic/p-9e9bff83.system.js +0 -4
- package/dist/ionic/p-9f51595b.entry.js +0 -4
- package/dist/ionic/p-a4df1928.entry.js +0 -4
- package/dist/ionic/p-a6aaef61.system.entry.js +0 -4
- package/dist/ionic/p-a856dbc6.entry.js +0 -4
- package/dist/ionic/p-aacc6ddd.system.js +0 -5
- package/dist/ionic/p-adaa7af1.entry.js +0 -4
- package/dist/ionic/p-adec897a.system.entry.js +0 -4
- package/dist/ionic/p-b0e10591.entry.js +0 -4
- package/dist/ionic/p-b19a9aa9.system.js +0 -4
- package/dist/ionic/p-b297c7b5.system.js +0 -4
- package/dist/ionic/p-ba3ddec4.js +0 -4
- package/dist/ionic/p-c6191942.js +0 -4
- package/dist/ionic/p-c6e47379.entry.js +0 -4
- package/dist/ionic/p-c7e967c0.system.entry.js +0 -4
- package/dist/ionic/p-c8097757.system.entry.js +0 -4
- package/dist/ionic/p-cb131dda.system.entry.js +0 -4
- package/dist/ionic/p-cf2f1ede.entry.js +0 -4
- package/dist/ionic/p-d0259f44.system.js +0 -4
- package/dist/ionic/p-d0953ec9.system.entry.js +0 -4
- package/dist/ionic/p-d10313a6.system.js +0 -4
- package/dist/ionic/p-d2a55f0a.system.entry.js +0 -4
- package/dist/ionic/p-d2ef848a.entry.js +0 -4
- package/dist/ionic/p-db8aeb40.system.js +0 -4
- package/dist/ionic/p-dd50ef12.js +0 -4
- package/dist/ionic/p-e270862e.js +0 -4
- package/dist/ionic/p-e7546060.entry.js +0 -4
- package/dist/ionic/p-eb376af4.entry.js +0 -4
- package/dist/ionic/p-ee091b80.system.entry.js +0 -4
- package/dist/ionic/p-f065578f.js +0 -4
- package/dist/ionic/p-f4ae533b.js +0 -4
- package/dist/ionic/p-f61ce679.js +0 -4
- package/dist/ionic/p-f63f81aa.system.entry.js +0 -4
- package/dist/ionic/p-fb0c3efa.entry.js +0 -4
|
@@ -5,23 +5,25 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
9
|
const caretLeft = require('./caret-left-2bb66970.js');
|
|
10
10
|
const caretRight = require('./caret-right-88e03970.js');
|
|
11
|
-
const focusVisible = require('./focus-visible-
|
|
12
|
-
const helpers = require('./helpers-
|
|
13
|
-
const ionicGlobal = require('./ionic-global-
|
|
11
|
+
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
12
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
13
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
14
14
|
const dir = require('./dir-94c21456.js');
|
|
15
15
|
const theme = require('./theme-d1c573d2.js');
|
|
16
|
-
const index = require('./index-073c7cdc.js');
|
|
17
|
-
const data = require('./data-
|
|
16
|
+
const index$1 = require('./index-073c7cdc.js');
|
|
17
|
+
const data = require('./data-b3a1a686.js');
|
|
18
18
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
19
|
-
const overlays = require('./overlays-
|
|
20
|
-
const animation = require('./animation-
|
|
21
|
-
const haptic = require('./haptic-
|
|
22
|
-
require('./
|
|
19
|
+
const overlays = require('./overlays-faf6f843.js');
|
|
20
|
+
const animation = require('./animation-b4fdf128.js');
|
|
21
|
+
const haptic = require('./haptic-f6b37aa3.js');
|
|
22
|
+
require('./index-c8d52405.js');
|
|
23
|
+
require('./hardware-back-button-d37054f2.js');
|
|
24
|
+
require('./framework-delegate-55f5683a.js');
|
|
23
25
|
require('./gesture-controller-9436f482.js');
|
|
24
|
-
require('./capacitor-
|
|
26
|
+
require('./capacitor-c04564bf.js');
|
|
25
27
|
|
|
26
28
|
const isYearDisabled = (refYear, minParts, maxParts) => {
|
|
27
29
|
if (minParts && minParts.year > refYear) {
|
|
@@ -243,14 +245,14 @@ const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
|
243
245
|
|
|
244
246
|
const Datetime = class {
|
|
245
247
|
constructor(hostRef) {
|
|
246
|
-
|
|
247
|
-
this.ionCancel =
|
|
248
|
-
this.ionChange =
|
|
249
|
-
this.ionValueChange =
|
|
250
|
-
this.ionFocus =
|
|
251
|
-
this.ionBlur =
|
|
252
|
-
this.ionStyle =
|
|
253
|
-
this.ionRender =
|
|
248
|
+
index.registerInstance(this, hostRef);
|
|
249
|
+
this.ionCancel = index.createEvent(this, "ionCancel", 7);
|
|
250
|
+
this.ionChange = index.createEvent(this, "ionChange", 7);
|
|
251
|
+
this.ionValueChange = index.createEvent(this, "ionValueChange", 7);
|
|
252
|
+
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
253
|
+
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
254
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
255
|
+
this.ionRender = index.createEvent(this, "ionRender", 7);
|
|
254
256
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
255
257
|
this.prevPresentation = null;
|
|
256
258
|
this.warnIfIncorrectValueUsage = () => {
|
|
@@ -513,7 +515,7 @@ const Datetime = class {
|
|
|
513
515
|
* scrollIntoView() will scroll entire page
|
|
514
516
|
* if element is not in viewport. Use scrollLeft instead.
|
|
515
517
|
*/
|
|
516
|
-
|
|
518
|
+
index.writeTask(() => {
|
|
517
519
|
calendarBodyRef.scrollLeft = startMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
518
520
|
const getChangedMonth = (parts) => {
|
|
519
521
|
const box = calendarBodyRef.getBoundingClientRect();
|
|
@@ -605,7 +607,7 @@ const Datetime = class {
|
|
|
605
607
|
* but older/slower device may have a flicker
|
|
606
608
|
* if we did not do this.
|
|
607
609
|
*/
|
|
608
|
-
|
|
610
|
+
index.writeTask(() => {
|
|
609
611
|
this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month, day: day, year }));
|
|
610
612
|
calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
611
613
|
calendarBodyRef.style.removeProperty('overflow');
|
|
@@ -1030,7 +1032,7 @@ const Datetime = class {
|
|
|
1030
1032
|
* is that the content will pop into view a frame after. Maybe there
|
|
1031
1033
|
* is a better way to handle this?
|
|
1032
1034
|
*/
|
|
1033
|
-
|
|
1035
|
+
index.writeTask(() => {
|
|
1034
1036
|
this.el.classList.add('datetime-ready');
|
|
1035
1037
|
});
|
|
1036
1038
|
};
|
|
@@ -1063,7 +1065,7 @@ const Datetime = class {
|
|
|
1063
1065
|
* As a result, the wrong month will be shown.
|
|
1064
1066
|
*/
|
|
1065
1067
|
this.showMonthAndYear = false;
|
|
1066
|
-
|
|
1068
|
+
index.writeTask(() => {
|
|
1067
1069
|
this.el.classList.remove('datetime-ready');
|
|
1068
1070
|
});
|
|
1069
1071
|
};
|
|
@@ -1219,10 +1221,10 @@ const Datetime = class {
|
|
|
1219
1221
|
* OK - Dismisses the datetime and
|
|
1220
1222
|
* updates the `value` prop.
|
|
1221
1223
|
*/
|
|
1222
|
-
return (
|
|
1224
|
+
return (index.h("div", { class: "datetime-footer" }, index.h("div", { class: "datetime-buttons" }, index.h("div", { class: {
|
|
1223
1225
|
['datetime-action-buttons']: true,
|
|
1224
1226
|
['has-clear-button']: this.showClearButton,
|
|
1225
|
-
} },
|
|
1227
|
+
} }, index.h("slot", { name: "buttons" }, index.h("ion-buttons", null, showDefaultButtons && (index.h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), index.h("div", { class: "datetime-action-buttons-container" }, showClearButton && (index.h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (index.h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText)))))))));
|
|
1226
1228
|
}
|
|
1227
1229
|
/**
|
|
1228
1230
|
* Wheel picker render methods
|
|
@@ -1240,7 +1242,7 @@ const Datetime = class {
|
|
|
1240
1242
|
const renderArray = forcePresentation === 'time-date'
|
|
1241
1243
|
? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
|
|
1242
1244
|
: [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
|
|
1243
|
-
return
|
|
1245
|
+
return index.h("ion-picker", null, renderArray);
|
|
1244
1246
|
}
|
|
1245
1247
|
renderDatePickerColumns(forcePresentation) {
|
|
1246
1248
|
return forcePresentation === 'date-time' || forcePresentation === 'time-date'
|
|
@@ -1299,13 +1301,13 @@ const Datetime = class {
|
|
|
1299
1301
|
const todayString = workingParts.day !== null
|
|
1300
1302
|
? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
|
|
1301
1303
|
: `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
|
|
1302
|
-
return (
|
|
1304
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1303
1305
|
const { value } = ev.detail;
|
|
1304
1306
|
const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
|
|
1305
1307
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
|
|
1306
1308
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), findPart));
|
|
1307
1309
|
ev.stopPropagation();
|
|
1308
|
-
} }, items.map((item) => (
|
|
1310
|
+
} }, items.map((item) => (index.h("ion-picker-column-option", { part: item.value === todayString ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: item.value, disabled: item.disabled, value: item.value }, item.text)))));
|
|
1309
1311
|
}
|
|
1310
1312
|
renderIndividualDatePickerColumns(forcePresentation) {
|
|
1311
1313
|
const { workingParts, isDateEnabled } = this;
|
|
@@ -1374,11 +1376,11 @@ const Datetime = class {
|
|
|
1374
1376
|
const { disabled, workingParts } = this;
|
|
1375
1377
|
const activePart = this.getActivePartsWithFallback();
|
|
1376
1378
|
const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
|
|
1377
|
-
return (
|
|
1379
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1378
1380
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
|
|
1379
1381
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
|
|
1380
1382
|
ev.stopPropagation();
|
|
1381
|
-
} }, days.map((day) => (
|
|
1383
|
+
} }, days.map((day) => (index.h("ion-picker-column-option", { part: day.value === pickerColumnValue ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: day.value, disabled: day.disabled, value: day.value }, day.text)))));
|
|
1382
1384
|
}
|
|
1383
1385
|
renderMonthPickerColumn(months) {
|
|
1384
1386
|
if (months.length === 0) {
|
|
@@ -1386,11 +1388,11 @@ const Datetime = class {
|
|
|
1386
1388
|
}
|
|
1387
1389
|
const { disabled, workingParts } = this;
|
|
1388
1390
|
const activePart = this.getActivePartsWithFallback();
|
|
1389
|
-
return (
|
|
1391
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1390
1392
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
|
|
1391
1393
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
|
|
1392
1394
|
ev.stopPropagation();
|
|
1393
|
-
} }, months.map((month) => (
|
|
1395
|
+
} }, months.map((month) => (index.h("ion-picker-column-option", { part: month.value === workingParts.month ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: month.value, disabled: month.disabled, value: month.value }, month.text)))));
|
|
1394
1396
|
}
|
|
1395
1397
|
renderYearPickerColumn(years) {
|
|
1396
1398
|
if (years.length === 0) {
|
|
@@ -1398,11 +1400,11 @@ const Datetime = class {
|
|
|
1398
1400
|
}
|
|
1399
1401
|
const { disabled, workingParts } = this;
|
|
1400
1402
|
const activePart = this.getActivePartsWithFallback();
|
|
1401
|
-
return (
|
|
1403
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1402
1404
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
|
|
1403
1405
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
|
|
1404
1406
|
ev.stopPropagation();
|
|
1405
|
-
} }, years.map((year) => (
|
|
1407
|
+
} }, years.map((year) => (index.h("ion-picker-column-option", { part: year.value === workingParts.year ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: year.value, disabled: year.disabled, value: year.value }, year.text)))));
|
|
1406
1408
|
}
|
|
1407
1409
|
renderTimePickerColumns(forcePresentation) {
|
|
1408
1410
|
if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
|
|
@@ -1431,22 +1433,22 @@ const Datetime = class {
|
|
|
1431
1433
|
if (hoursData.length === 0)
|
|
1432
1434
|
return [];
|
|
1433
1435
|
const activePart = this.getActivePartsWithFallback();
|
|
1434
|
-
return (
|
|
1436
|
+
return (index.h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1435
1437
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1436
1438
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1437
1439
|
ev.stopPropagation();
|
|
1438
|
-
} }, hoursData.map((hour) => (
|
|
1440
|
+
} }, hoursData.map((hour) => (index.h("ion-picker-column-option", { part: hour.value === activePart.hour ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: hour.value, disabled: hour.disabled, value: hour.value }, hour.text)))));
|
|
1439
1441
|
}
|
|
1440
1442
|
renderMinutePickerColumn(minutesData) {
|
|
1441
1443
|
const { disabled, workingParts } = this;
|
|
1442
1444
|
if (minutesData.length === 0)
|
|
1443
1445
|
return [];
|
|
1444
1446
|
const activePart = this.getActivePartsWithFallback();
|
|
1445
|
-
return (
|
|
1447
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1446
1448
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1447
1449
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1448
1450
|
ev.stopPropagation();
|
|
1449
|
-
} }, minutesData.map((minute) => (
|
|
1451
|
+
} }, minutesData.map((minute) => (index.h("ion-picker-column-option", { part: minute.value === activePart.minute ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: minute.value, disabled: minute.disabled, value: minute.value }, minute.text)))));
|
|
1450
1452
|
}
|
|
1451
1453
|
renderDayPeriodPickerColumn(dayPeriodData) {
|
|
1452
1454
|
const { disabled, workingParts } = this;
|
|
@@ -1455,18 +1457,18 @@ const Datetime = class {
|
|
|
1455
1457
|
}
|
|
1456
1458
|
const activePart = this.getActivePartsWithFallback();
|
|
1457
1459
|
const isDayPeriodRTL = data.isLocaleDayPeriodRTL(this.locale);
|
|
1458
|
-
return (
|
|
1460
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
|
|
1459
1461
|
const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1460
1462
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1461
1463
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
1462
1464
|
ev.stopPropagation();
|
|
1463
|
-
} }, dayPeriodData.map((dayPeriod) => (
|
|
1465
|
+
} }, dayPeriodData.map((dayPeriod) => (index.h("ion-picker-column-option", { part: dayPeriod.value === activePart.ampm ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: dayPeriod.value, disabled: dayPeriod.disabled, value: dayPeriod.value }, dayPeriod.text)))));
|
|
1464
1466
|
}
|
|
1465
1467
|
renderWheelView(forcePresentation) {
|
|
1466
1468
|
const { locale } = this;
|
|
1467
1469
|
const showMonthFirst = data.isMonthFirstLocale(locale);
|
|
1468
1470
|
const columnOrder = showMonthFirst ? 'month-first' : 'year-first';
|
|
1469
|
-
return (
|
|
1471
|
+
return (index.h("div", { class: {
|
|
1470
1472
|
[`wheel-order-${columnOrder}`]: true,
|
|
1471
1473
|
} }, this.renderWheelPicker(forcePresentation)));
|
|
1472
1474
|
}
|
|
@@ -1479,12 +1481,12 @@ const Datetime = class {
|
|
|
1479
1481
|
const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1480
1482
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
1481
1483
|
const hostDir = this.el.getAttribute('dir') || undefined;
|
|
1482
|
-
return (
|
|
1484
|
+
return (index.h("div", { class: "calendar-header" }, index.h("div", { class: "calendar-action-buttons" }, index.h("div", { class: "calendar-month-year" }, index.h("button", { class: {
|
|
1483
1485
|
'calendar-month-year-toggle': true,
|
|
1484
1486
|
'ion-activatable': true,
|
|
1485
1487
|
'ion-focusable': true,
|
|
1486
|
-
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() },
|
|
1487
|
-
return
|
|
1488
|
+
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, index.h("span", { id: "toggle-wrapper" }, data.getMonthAndYear(this.locale, this.workingParts), theme !== 'ionic' && (index.h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? datetimeExpandedIcon : datetimeCollapsedIcon, lazy: false, flipRtl: true }))), theme === 'md' && index.h("ion-ripple-effect", null))), index.h("div", { class: "calendar-next-prev" }, index.h("ion-buttons", null, index.h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, index.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimePreviousIcon, lazy: false, flipRtl: true })), index.h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, index.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: datetimeNextIcon, lazy: false, flipRtl: true }))))), index.h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, data.getDaysOfWeek(this.locale, theme, this.firstDayOfWeek % 7).map((d) => {
|
|
1489
|
+
return index.h("div", { class: "day-of-week" }, d);
|
|
1488
1490
|
}))));
|
|
1489
1491
|
}
|
|
1490
1492
|
renderMonth(month, year) {
|
|
@@ -1510,11 +1512,11 @@ const Datetime = class {
|
|
|
1510
1512
|
// can free-scroll the calendar.
|
|
1511
1513
|
const isWorkingMonth = this.workingParts.month === month && this.workingParts.year === year;
|
|
1512
1514
|
const activePart = this.getActivePartsWithFallback();
|
|
1513
|
-
return (
|
|
1515
|
+
return (index.h("div", { "aria-hidden": !isWorkingMonth ? 'true' : null, class: {
|
|
1514
1516
|
'calendar-month': true,
|
|
1515
1517
|
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
|
1516
1518
|
'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
|
|
1517
|
-
} },
|
|
1519
|
+
} }, index.h("div", { class: "calendar-month-grid" }, data.getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index$1) => {
|
|
1518
1520
|
const { day, dayOfWeek } = dateObject;
|
|
1519
1521
|
const { el, highlightedDates, isDateEnabled, multiple } = this;
|
|
1520
1522
|
const referenceParts = { month, day, year };
|
|
@@ -1556,7 +1558,7 @@ const Datetime = class {
|
|
|
1556
1558
|
if (!isCalendarPadding) {
|
|
1557
1559
|
dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1558
1560
|
}
|
|
1559
|
-
return (
|
|
1561
|
+
return (index.h("div", { class: "calendar-day-wrapper" }, index.h("button", {
|
|
1560
1562
|
// We need to use !important for the inline styles here because
|
|
1561
1563
|
// otherwise the CSS shadow parts will override these styles.
|
|
1562
1564
|
// See https://github.com/WICG/webcomponents/issues/847
|
|
@@ -1568,7 +1570,7 @@ const Datetime = class {
|
|
|
1568
1570
|
el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
|
|
1569
1571
|
el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
|
|
1570
1572
|
}
|
|
1571
|
-
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
|
|
1573
|
+
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$1, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
|
|
1572
1574
|
'calendar-day-padding': isCalendarPadding,
|
|
1573
1575
|
'calendar-day': true,
|
|
1574
1576
|
'calendar-day-active': isActive,
|
|
@@ -1599,27 +1601,27 @@ const Datetime = class {
|
|
|
1599
1601
|
}))));
|
|
1600
1602
|
}
|
|
1601
1603
|
renderCalendarBody() {
|
|
1602
|
-
return (
|
|
1604
|
+
return (index.h("div", { class: "calendar-body ion-focusable", ref: (el) => (this.calendarBodyRef = el), tabindex: "0" }, data.generateMonths(this.workingParts, this.forceRenderDate).map(({ month, year }) => {
|
|
1603
1605
|
return this.renderMonth(month, year);
|
|
1604
1606
|
})));
|
|
1605
1607
|
}
|
|
1606
1608
|
renderCalendar(theme) {
|
|
1607
|
-
return (
|
|
1609
|
+
return (index.h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(theme), this.renderCalendarBody()));
|
|
1608
1610
|
}
|
|
1609
1611
|
renderTimeLabel() {
|
|
1610
1612
|
const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
|
|
1611
1613
|
if (!hasSlottedTimeLabel && !this.showDefaultTimeLabel) {
|
|
1612
1614
|
return;
|
|
1613
1615
|
}
|
|
1614
|
-
return
|
|
1616
|
+
return index.h("slot", { name: "time-label" }, "Time");
|
|
1615
1617
|
}
|
|
1616
1618
|
renderTimeOverlay() {
|
|
1617
1619
|
const { disabled, hourCycle, isTimePopoverOpen, locale, formatOptions } = this;
|
|
1618
1620
|
const computedHourCycle = data.getHourCycle(locale, hourCycle);
|
|
1619
1621
|
const activePart = this.getActivePartsWithFallback();
|
|
1620
1622
|
return [
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
+
index.h("div", { class: "time-header" }, this.renderTimeLabel()),
|
|
1624
|
+
index.h("button", { class: {
|
|
1623
1625
|
'time-body': true,
|
|
1624
1626
|
'time-body-active': isTimePopoverOpen,
|
|
1625
1627
|
}, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true", disabled: disabled, onClick: async (ev) => {
|
|
@@ -1635,7 +1637,7 @@ const Datetime = class {
|
|
|
1635
1637
|
this.isTimePopoverOpen = false;
|
|
1636
1638
|
}
|
|
1637
1639
|
} }, data.getLocalizedTime(locale, activePart, computedHourCycle, formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time)),
|
|
1638
|
-
|
|
1640
|
+
index.h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
|
|
1639
1641
|
/**
|
|
1640
1642
|
* Intersection Observers do not consistently fire between Blink and Webkit
|
|
1641
1643
|
* when toggling the visibility of the popover and trying to scroll the picker
|
|
@@ -1683,7 +1685,7 @@ const Datetime = class {
|
|
|
1683
1685
|
if (!hasSlottedTitle && !this.showDefaultTitle) {
|
|
1684
1686
|
return;
|
|
1685
1687
|
}
|
|
1686
|
-
return (
|
|
1688
|
+
return (index.h("div", { class: "datetime-header" }, index.h("div", { class: "datetime-title" }, index.h("slot", { name: "title" }, "Select Date")), showExpandedHeader && index.h("div", { class: "datetime-selected-date" }, this.getHeaderSelectedDateText())));
|
|
1687
1689
|
}
|
|
1688
1690
|
/**
|
|
1689
1691
|
* Render time picker inside of datetime.
|
|
@@ -1695,7 +1697,7 @@ const Datetime = class {
|
|
|
1695
1697
|
renderTime() {
|
|
1696
1698
|
const { presentation } = this;
|
|
1697
1699
|
const timeOnlyPresentation = presentation === 'time';
|
|
1698
|
-
return (
|
|
1700
|
+
return (index.h("div", { class: "datetime-time" }, timeOnlyPresentation ? this.renderWheelPicker() : this.renderTimeOverlay()));
|
|
1699
1701
|
}
|
|
1700
1702
|
/**
|
|
1701
1703
|
* Renders the month/year picker that is
|
|
@@ -1706,7 +1708,7 @@ const Datetime = class {
|
|
|
1706
1708
|
* toggle in the calendar header.
|
|
1707
1709
|
*/
|
|
1708
1710
|
renderCalendarViewMonthYearPicker() {
|
|
1709
|
-
return
|
|
1711
|
+
return index.h("div", { class: "datetime-year" }, this.renderWheelView('month-year'));
|
|
1710
1712
|
}
|
|
1711
1713
|
/**
|
|
1712
1714
|
* Render entry point
|
|
@@ -1763,14 +1765,14 @@ const Datetime = class {
|
|
|
1763
1765
|
// Determine the theme and map to default icons
|
|
1764
1766
|
const theme = ionicGlobal.getIonTheme(this);
|
|
1765
1767
|
const defaultIcons = {
|
|
1766
|
-
ios: index.chevronForward,
|
|
1768
|
+
ios: index$1.chevronForward,
|
|
1767
1769
|
ionic: caretRight.caretRightSvg,
|
|
1768
|
-
md: index.chevronForward,
|
|
1770
|
+
md: index$1.chevronForward,
|
|
1769
1771
|
};
|
|
1770
1772
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1771
1773
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1772
1774
|
// Return the configured datetime next icon or the default icon
|
|
1773
|
-
return
|
|
1775
|
+
return ionicGlobal.config.get('datetimeNextIcon', defaultIcon);
|
|
1774
1776
|
}
|
|
1775
1777
|
/**
|
|
1776
1778
|
* Get the icon to use for the previous icon.
|
|
@@ -1781,14 +1783,14 @@ const Datetime = class {
|
|
|
1781
1783
|
// Determine the theme and map to default icons
|
|
1782
1784
|
const theme = ionicGlobal.getIonTheme(this);
|
|
1783
1785
|
const defaultIcons = {
|
|
1784
|
-
ios: index.chevronBack,
|
|
1786
|
+
ios: index$1.chevronBack,
|
|
1785
1787
|
ionic: caretLeft.caretLeftSvg,
|
|
1786
|
-
md: index.chevronBack,
|
|
1788
|
+
md: index$1.chevronBack,
|
|
1787
1789
|
};
|
|
1788
1790
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1789
1791
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1790
1792
|
// Return the configured datetime previous icon or the default icon
|
|
1791
|
-
return
|
|
1793
|
+
return ionicGlobal.config.get('datetimePreviousIcon', defaultIcon);
|
|
1792
1794
|
}
|
|
1793
1795
|
/**
|
|
1794
1796
|
* Get the icon to use for the show month and year icon.
|
|
@@ -1799,14 +1801,14 @@ const Datetime = class {
|
|
|
1799
1801
|
// Determine the theme and map to default icons
|
|
1800
1802
|
const theme = ionicGlobal.getIonTheme(this);
|
|
1801
1803
|
const defaultIcons = {
|
|
1802
|
-
ios: index.chevronForward,
|
|
1804
|
+
ios: index$1.chevronForward,
|
|
1803
1805
|
ionic: undefined,
|
|
1804
|
-
md: index.caretDownSharp,
|
|
1806
|
+
md: index$1.caretDownSharp,
|
|
1805
1807
|
};
|
|
1806
1808
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1807
1809
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1808
1810
|
// Return the configured datetime show month and year icon or the default icon
|
|
1809
|
-
return
|
|
1811
|
+
return ionicGlobal.config.get('datetimeCollapsedIcon', defaultIcon);
|
|
1810
1812
|
}
|
|
1811
1813
|
/**
|
|
1812
1814
|
* Get the icon to use for the hide month and year icon.
|
|
@@ -1817,14 +1819,14 @@ const Datetime = class {
|
|
|
1817
1819
|
// Determine the theme and map to default icons
|
|
1818
1820
|
const theme = ionicGlobal.getIonTheme(this);
|
|
1819
1821
|
const defaultIcons = {
|
|
1820
|
-
ios: index.chevronDown,
|
|
1822
|
+
ios: index$1.chevronDown,
|
|
1821
1823
|
ionic: undefined,
|
|
1822
|
-
md: index.caretUpSharp,
|
|
1824
|
+
md: index$1.caretUpSharp,
|
|
1823
1825
|
};
|
|
1824
1826
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
1825
1827
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
1826
1828
|
// Return the configured datetime hide month and year icon or the default icon
|
|
1827
|
-
return
|
|
1829
|
+
return ionicGlobal.config.get('datetimeExpandedIcon', defaultIcon);
|
|
1828
1830
|
}
|
|
1829
1831
|
render() {
|
|
1830
1832
|
const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
|
|
@@ -1835,7 +1837,7 @@ const Datetime = class {
|
|
|
1835
1837
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1836
1838
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1837
1839
|
helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
|
|
1838
|
-
return (
|
|
1840
|
+
return (index.h(index.Host, { key: 'a47da1fce2b2cb96dddaeeb8debdad46f0a65d34', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
|
|
1839
1841
|
[theme$1]: true,
|
|
1840
1842
|
['datetime-readonly']: readonly,
|
|
1841
1843
|
['datetime-disabled']: disabled,
|
|
@@ -1845,9 +1847,9 @@ const Datetime = class {
|
|
|
1845
1847
|
[`datetime-size-${size}`]: true,
|
|
1846
1848
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1847
1849
|
[`datetime-grid`]: isGridStyle,
|
|
1848
|
-
})) },
|
|
1850
|
+
})) }, index.h("div", { key: '0e0600aabb73693c5f87c98475f1b60f99779581', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme$1)));
|
|
1849
1851
|
}
|
|
1850
|
-
get el() { return
|
|
1852
|
+
get el() { return index.getElement(this); }
|
|
1851
1853
|
static get watchers() { return {
|
|
1852
1854
|
"formatOptions": ["formatOptionsChanged"],
|
|
1853
1855
|
"disabled": ["disabledChanged"],
|
|
@@ -1925,15 +1927,15 @@ const IonPickerLegacyMdStyle0 = pickerMdCss;
|
|
|
1925
1927
|
|
|
1926
1928
|
const Picker = class {
|
|
1927
1929
|
constructor(hostRef) {
|
|
1928
|
-
|
|
1929
|
-
this.didPresent =
|
|
1930
|
-
this.willPresent =
|
|
1931
|
-
this.willDismiss =
|
|
1932
|
-
this.didDismiss =
|
|
1933
|
-
this.didPresentShorthand =
|
|
1934
|
-
this.willPresentShorthand =
|
|
1935
|
-
this.willDismissShorthand =
|
|
1936
|
-
this.didDismissShorthand =
|
|
1930
|
+
index.registerInstance(this, hostRef);
|
|
1931
|
+
this.didPresent = index.createEvent(this, "ionPickerDidPresent", 7);
|
|
1932
|
+
this.willPresent = index.createEvent(this, "ionPickerWillPresent", 7);
|
|
1933
|
+
this.willDismiss = index.createEvent(this, "ionPickerWillDismiss", 7);
|
|
1934
|
+
this.didDismiss = index.createEvent(this, "ionPickerDidDismiss", 7);
|
|
1935
|
+
this.didPresentShorthand = index.createEvent(this, "didPresent", 7);
|
|
1936
|
+
this.willPresentShorthand = index.createEvent(this, "willPresent", 7);
|
|
1937
|
+
this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
|
|
1938
|
+
this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
|
|
1937
1939
|
this.delegateController = overlays.createDelegateController(this);
|
|
1938
1940
|
this.lockController = lockController.createLockController();
|
|
1939
1941
|
this.triggerController = overlays.createTriggerController();
|
|
@@ -2103,13 +2105,13 @@ const Picker = class {
|
|
|
2103
2105
|
render() {
|
|
2104
2106
|
const { htmlAttributes } = this;
|
|
2105
2107
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2106
|
-
return (
|
|
2108
|
+
return (index.h(index.Host, Object.assign({ key: 'a36fccc6cc5adb35016a1b35ebc0da1532e6c48a', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2107
2109
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2108
2110
|
}, class: Object.assign({ [theme$1]: true,
|
|
2109
2111
|
// Used internally for styling
|
|
2110
|
-
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }),
|
|
2112
|
+
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '139410342112f23387e8e80aee19747c7657753e', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'db8b9b6126f0b00fca50ece90a9418aa363f9844', tabindex: "0" }), index.h("div", { key: '60db8680187182b4fa080509fb197c3694204e60', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: '671e1b7d523a3fe83376aaf2d79ed70c712606c6', class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { key: '24d71acd315b352111ca82c0307f9c96275a43b7', class: "picker-columns" }, index.h("div", { key: '763229a27c3a2c01ec0ac92930861ff24b7664ca', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: '6dc995dbbc70ebc9b491ee87bb93249bda490240', class: "picker-below-highlight" }))), index.h("div", { key: '6a80f957217a8b824779c95133c5e1d2d2dec13e', tabindex: "0" })));
|
|
2111
2113
|
}
|
|
2112
|
-
get el() { return
|
|
2114
|
+
get el() { return index.getElement(this); }
|
|
2113
2115
|
static get watchers() { return {
|
|
2114
2116
|
"isOpen": ["onIsOpenChange"],
|
|
2115
2117
|
"trigger": ["triggerChanged"]
|
|
@@ -2137,8 +2139,8 @@ const IonPickerLegacyColumnMdStyle0 = pickerColumnMdCss;
|
|
|
2137
2139
|
|
|
2138
2140
|
const PickerColumnCmp = class {
|
|
2139
2141
|
constructor(hostRef) {
|
|
2140
|
-
|
|
2141
|
-
this.ionPickerColChange =
|
|
2142
|
+
index.registerInstance(this, hostRef);
|
|
2143
|
+
this.ionPickerColChange = index.createEvent(this, "ionPickerColChange", 7);
|
|
2142
2144
|
this.optHeight = 0;
|
|
2143
2145
|
this.rotateFactor = 0;
|
|
2144
2146
|
this.scaleFactor = 1;
|
|
@@ -2464,11 +2466,11 @@ const PickerColumnCmp = class {
|
|
|
2464
2466
|
render() {
|
|
2465
2467
|
const col = this.col;
|
|
2466
2468
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2467
|
-
return (
|
|
2469
|
+
return (index.h(index.Host, { key: 'c27a6cefcbe86c84423d9e3bf07aecb692d0cbc0', class: Object.assign({ [theme$1]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2468
2470
|
'max-width': this.col.columnWidth,
|
|
2469
|
-
} }, col.prefix && (
|
|
2471
|
+
} }, col.prefix && (index.h("div", { key: '46e316911e42570f50e81c16026a784d474a11ce', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: '139092ca616fafdb338bf6018929698f6b6f39b5', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { key: '4343e0f17f3d6951afe7c4e376e38e7a95bedc7d', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2470
2472
|
}
|
|
2471
|
-
get el() { return
|
|
2473
|
+
get el() { return index.getElement(this); }
|
|
2472
2474
|
static get watchers() { return {
|
|
2473
2475
|
"col": ["colChanged"]
|
|
2474
2476
|
}; }
|