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