@ionic/core 8.3.1-dev.11726241210.1ab7a0ab → 8.3.1-dev.11727899155.103c4afc
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/animation.js +1 -1
- package/components/button.js +1 -2
- package/components/capacitor.js +1 -1
- package/components/data.js +1 -1
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +1 -1
- package/components/helpers.js +1 -1
- package/components/index2.js +1 -2
- package/components/index4.js +1 -4
- package/components/index5.js +27 -3
- package/components/index6.js +114 -20
- package/components/index7.js +163 -27
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +1 -2
- package/components/ion-accordion.js +1 -1
- package/components/ion-app.js +6 -75
- package/components/ion-back-button.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -2
- package/components/ion-datetime.js +2 -3
- package/components/ion-fab-button.js +1 -1
- package/components/ion-footer.js +4 -4
- package/components/ion-header.js +5 -5
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +2 -3
- package/components/ion-input.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -2
- package/components/ion-modal.js +2 -4
- package/components/ion-nav.js +1 -2
- package/components/ion-picker-legacy.js +1 -2
- package/components/ion-range.js +2 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-toast.js +1 -3
- package/components/ion-toggle.js +1 -1
- package/components/ionic-global.js +219 -2
- package/components/item.js +1 -1
- package/components/keyboard-controller.js +2 -2
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +2 -5
- package/components/picker-column.js +1 -2
- package/components/popover.js +1 -2
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-1b5076f1.js} +2 -2
- package/dist/cjs/{app-globals-2cfd442b.js → app-globals-7adfb8dd.js} +1 -1
- package/dist/cjs/{button-active-1a40c735.js → button-active-0f66de25.js} +1 -1
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-618d05d6.js} +3 -3
- package/dist/cjs/{data-21dc0f81.js → data-5d4f17b4.js} +3 -3
- package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-9aa87fa3.js} +8 -0
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-d1e05576.js} +2 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-2bdd48c1.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-acd6c477.js} +1 -1
- package/dist/cjs/{index-5b6a7459.js → index-3eb98cb9.js} +3 -3
- package/dist/cjs/{index-9bdd4f2a.js → index-686a2ab7.js} +8 -9
- package/dist/cjs/{index-9509ecad.js → index-c17dd541.js} +8 -7
- package/dist/cjs/{index-c170694d.js → index-d683cd69.js} +7 -10
- package/dist/cjs/index.cjs.js +9 -12
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-f41730e2.js} +17 -17
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-1215e537.js} +4 -5
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -11
- package/dist/cjs/ion-alert.cjs.entry.js +8 -11
- package/dist/cjs/ion-app_8.cjs.entry.js +31 -101
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +5 -6
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +7 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +96 -99
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +6 -7
- package/dist/cjs/ion-input.cjs.entry.js +4 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +5 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -10
- package/dist/cjs/ion-modal.cjs.entry.js +49 -52
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -6
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +9 -12
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +8 -9
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -8
- package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -7
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -8
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-text.cjs.entry.js +1 -1
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -6
- package/dist/cjs/ion-toast.cjs.entry.js +31 -34
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -5
- package/dist/cjs/ionic-global-7b45fd73.js +462 -0
- package/dist/cjs/ionic.cjs.js +2 -2
- package/dist/cjs/{ios.transition-ac67e283.js → ios.transition-1ee349d9.js} +4 -6
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-49920cbd.js} +4 -3
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-5b01bcd9.js} +9 -9
- package/dist/cjs/{keyboard-0272231f.js → keyboard-d77ef081.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{md.transition-8ceb4e1a.js → md.transition-719e7e1c.js} +4 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a8eaed3b.js} +4 -4
- package/dist/cjs/{overlays-4451d3fc.js → overlays-14f167fc.js} +12 -15
- package/dist/cjs/{status-tap-e52a48f8.js → status-tap-e7029c0d.js} +3 -3
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-13234294.js} +1 -1
- package/dist/collection/components/app/app.js +5 -75
- package/dist/collection/components/content/content.js +1 -1
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/header/header.js +4 -4
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/global/ionic-global.js +70 -1
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/collection/utils/framework-delegate.js +1 -1
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
- package/dist/collection/utils/overlays.js +1 -1
- package/dist/docs.json +107 -107
- package/dist/esm/{animation-eab5a4ca.js → animation-4833cc82.js} +1 -1
- package/dist/esm/{app-globals-b9f6e516.js → app-globals-120fc59a.js} +1 -1
- package/dist/esm/{button-active-13c37337.js → button-active-99997f21.js} +1 -1
- package/dist/esm/{capacitor-59395cbd.js → capacitor-90256979.js} +1 -1
- package/dist/esm/{data-ae11fd43.js → data-ef61a6bc.js} +1 -1
- package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-501aff19.js} +8 -1
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-3b8e3146.js} +2 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-2a877838.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-b96cdeb7.js} +1 -1
- package/dist/esm/{index-97b0ab3f.js → index-462343ab.js} +3 -6
- package/{components/index9.js → dist/esm/index-4b965271.js} +3 -2
- package/dist/esm/{index-5cc724f3.js → index-57058cbb.js} +2 -2
- package/dist/esm/{index-8579e7fd.js → index-ea559016.js} +4 -5
- package/dist/esm/index.js +9 -12
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-3803b8f3.js} +6 -6
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-40cda890.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +2 -3
- package/dist/esm/ion-action-sheet.entry.js +8 -11
- package/dist/esm/ion-alert.entry.js +8 -11
- package/dist/esm/ion-app_8.entry.js +21 -91
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -3
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +3 -4
- package/dist/esm/ion-datetime_3.entry.js +9 -12
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -4
- package/dist/esm/ion-input-password-toggle.entry.js +1 -2
- package/dist/esm/ion-input.entry.js +4 -6
- package/dist/esm/ion-item-option_3.entry.js +3 -4
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +5 -8
- package/dist/esm/ion-menu_3.entry.js +6 -9
- package/dist/esm/ion-modal.entry.js +10 -13
- package/dist/esm/ion-nav_2.entry.js +5 -6
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +4 -5
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +6 -9
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +3 -4
- package/dist/esm/ion-refresher_2.entry.js +6 -8
- package/dist/esm/ion-reorder_2.entry.js +5 -7
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +5 -8
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +1 -1
- package/dist/esm/ion-tab-bar_2.entry.js +5 -6
- package/dist/esm/ion-tab_2.entry.js +2 -2
- package/dist/esm/ion-text.entry.js +1 -1
- package/dist/esm/ion-textarea.entry.js +4 -6
- package/dist/esm/ion-toast.entry.js +5 -8
- package/dist/esm/ion-toggle.entry.js +4 -5
- package/dist/esm/ionic-global-03ec9636.js +448 -0
- package/dist/esm/ionic.js +2 -2
- package/dist/esm/{ios.transition-beb96e76.js → ios.transition-974d0663.js} +4 -6
- package/dist/esm/{keyboard-73175e24.js → keyboard-2f90c451.js} +1 -1
- package/dist/esm/{keyboard-52278bd7.js → keyboard-4a5eec96.js} +4 -3
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-bf0b9670.js} +3 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{md.transition-d5aa5703.js → md.transition-a592d042.js} +4 -6
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-8d28ece6.js} +2 -2
- package/dist/esm/{overlays-2ea57630.js → overlays-7d2c4725.js} +4 -7
- package/dist/esm/{status-tap-a264a37f.js → status-tap-eee70591.js} +3 -3
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-1c5e6095.js} +1 -1
- package/dist/esm-es5/animation-4833cc82.js +4 -0
- package/dist/esm-es5/app-globals-120fc59a.js +4 -0
- package/dist/esm-es5/{button-active-13c37337.js → button-active-99997f21.js} +1 -1
- package/dist/esm-es5/capacitor-90256979.js +4 -0
- package/dist/esm-es5/data-ef61a6bc.js +4 -0
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-3b8e3146.js} +1 -1
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-2a877838.js} +1 -1
- package/dist/esm-es5/{helpers-da915de8.js → helpers-b96cdeb7.js} +1 -1
- package/dist/esm-es5/index-462343ab.js +4 -0
- package/dist/esm-es5/index-4b965271.js +4 -0
- package/dist/esm-es5/index-57058cbb.js +4 -0
- package/dist/esm-es5/index-ea559016.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-3803b8f3.js +4 -0
- package/dist/esm-es5/input.utils-40cda890.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-03ec9636.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-974d0663.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-2f90c451.js} +1 -1
- package/dist/esm-es5/keyboard-4a5eec96.js +4 -0
- package/dist/esm-es5/keyboard-controller-bf0b9670.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-a592d042.js +4 -0
- package/dist/esm-es5/notch-controller-8d28ece6.js +4 -0
- package/dist/esm-es5/overlays-7d2c4725.js +4 -0
- package/dist/esm-es5/status-tap-eee70591.js +4 -0
- package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-1c5e6095.js} +1 -1
- 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-0323014f.entry.js +4 -0
- package/dist/ionic/{p-89611183.system.js → p-0363123b.system.js} +1 -1
- package/dist/ionic/{p-fca0933c.system.entry.js → p-092161ab.system.entry.js} +1 -1
- package/dist/ionic/{p-e00617fb.entry.js → p-09854f4b.entry.js} +1 -1
- package/dist/ionic/p-0b886ca7.entry.js +4 -0
- package/dist/ionic/p-0e48d764.entry.js +4 -0
- package/dist/ionic/p-10bc5191.system.entry.js +4 -0
- package/dist/ionic/p-10f5df89.system.entry.js +4 -0
- package/dist/ionic/{p-3d9ecf70.entry.js → p-128849bc.entry.js} +1 -1
- package/dist/ionic/{p-b0fbe12b.entry.js → p-134b5dad.entry.js} +1 -1
- package/dist/ionic/{p-89d17c48.system.entry.js → p-1883a8fa.system.entry.js} +1 -1
- package/dist/ionic/{p-dc65c03b.js → p-19b78761.js} +1 -1
- package/dist/ionic/{p-19ea7bff.system.js → p-1d57f288.system.js} +1 -1
- package/dist/ionic/p-1d5a1bf5.entry.js +4 -0
- package/dist/ionic/p-1d6f8fab.system.js +4 -0
- package/dist/ionic/p-1dcb0d05.entry.js +4 -0
- package/dist/ionic/p-1e89c2ed.js +4 -0
- package/dist/ionic/{p-fd70cb80.system.entry.js → p-1e98f497.system.entry.js} +1 -1
- package/dist/ionic/p-29085dc1.system.js +4 -0
- package/dist/ionic/{p-b51e4004.js → p-2f5f9e37.js} +1 -1
- package/dist/ionic/{p-f4d568f8.entry.js → p-33e29f21.entry.js} +1 -1
- package/dist/ionic/p-34726df4.system.entry.js +4 -0
- package/dist/ionic/p-3616a3e7.system.entry.js +4 -0
- package/dist/ionic/p-364105d1.system.entry.js +4 -0
- package/dist/ionic/{p-4440f5b4.entry.js → p-36474df6.entry.js} +1 -1
- package/dist/ionic/{p-491deb33.entry.js → p-368133aa.entry.js} +1 -1
- package/dist/ionic/p-3996cc2f.js +4 -0
- package/dist/ionic/p-3aa92b96.system.entry.js +4 -0
- package/dist/ionic/{p-cf6bad6d.entry.js → p-3dbf1af2.entry.js} +1 -1
- package/dist/ionic/{p-8b3ff142.entry.js → p-3ec5731b.entry.js} +1 -1
- package/dist/ionic/{p-83f7a890.system.entry.js → p-3fb02efa.system.entry.js} +1 -1
- package/dist/ionic/p-414b9a61.entry.js +4 -0
- package/dist/ionic/p-41dd8be3.entry.js +4 -0
- package/dist/ionic/p-421796ce.js +4 -0
- package/dist/ionic/{p-a93873de.system.js → p-43f1441e.system.js} +1 -1
- package/dist/ionic/{p-e02807c4.entry.js → p-4407067a.entry.js} +1 -1
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-48096596.entry.js +4 -0
- package/dist/ionic/p-4c4de719.entry.js +4 -0
- package/dist/ionic/{p-3ad285e3.system.js → p-4e970f1c.system.js} +1 -1
- package/dist/ionic/p-4efa1a1d.system.entry.js +4 -0
- package/dist/ionic/{p-aa5358cb.system.entry.js → p-511c01d3.system.entry.js} +1 -1
- package/dist/ionic/p-51d13493.entry.js +4 -0
- package/dist/ionic/p-55dbf33b.entry.js +4 -0
- package/dist/ionic/p-5605b84f.js +4 -0
- package/dist/ionic/p-566c88f6.system.js +4 -0
- package/dist/ionic/{p-21904499.entry.js → p-5786ea53.entry.js} +1 -1
- package/dist/ionic/p-5821285e.system.entry.js +4 -0
- package/dist/ionic/{p-6d857105.system.entry.js → p-58d23d7a.system.entry.js} +1 -1
- package/dist/ionic/p-5abd61c9.js +4 -0
- package/dist/ionic/p-5ada7868.system.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/p-5d672083.system.entry.js +4 -0
- package/dist/ionic/p-62bd2e43.system.entry.js +4 -0
- package/dist/ionic/p-6455b864.system.entry.js +4 -0
- package/dist/ionic/p-651766ac.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-6596229d.system.js} +1 -1
- package/dist/ionic/{p-289d16f5.system.js → p-67c8dcfd.system.js} +1 -1
- package/dist/ionic/p-6ae88498.js +4 -0
- package/dist/ionic/p-6cf3857f.system.entry.js +4 -0
- package/dist/ionic/p-6d8c0944.system.js +4 -0
- package/dist/ionic/p-6e2918f3.system.entry.js +4 -0
- package/dist/ionic/p-707236b4.system.entry.js +4 -0
- package/dist/ionic/{p-98203dbd.system.entry.js → p-718726b0.system.entry.js} +1 -1
- package/dist/ionic/p-73f6766e.system.entry.js +4 -0
- package/dist/ionic/p-7539a724.system.entry.js +4 -0
- package/dist/ionic/{p-0065a3d0.system.entry.js → p-759b8d9a.system.entry.js} +1 -1
- package/dist/ionic/{p-f687573e.system.js → p-7767ca8a.system.js} +1 -1
- package/dist/ionic/p-7774e10d.entry.js +4 -0
- package/dist/ionic/p-77aab69d.js +4 -0
- package/dist/ionic/p-78c10d41.entry.js +4 -0
- package/dist/ionic/p-7931413d.entry.js +4 -0
- package/dist/ionic/{p-9146695e.system.js → p-7e56e6cc.system.js} +1 -1
- package/dist/ionic/p-7ffef389.system.entry.js +4 -0
- package/dist/ionic/{p-7de39857.system.entry.js → p-80487596.system.entry.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-80fa15f7.system.js} +1 -1
- package/dist/ionic/p-8133332f.entry.js +4 -0
- package/dist/ionic/p-83c633c8.js +4 -0
- package/dist/ionic/{p-8cab6a5c.system.entry.js → p-84b1b6f7.system.entry.js} +1 -1
- package/dist/ionic/p-84d72d1d.entry.js +4 -0
- package/dist/ionic/p-86391425.js +4 -0
- package/dist/ionic/{p-4a963829.system.entry.js → p-8655c143.system.entry.js} +1 -1
- package/dist/ionic/p-86a12c6d.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-86fabcac.js} +1 -1
- package/dist/ionic/p-870c2d06.system.entry.js +4 -0
- package/dist/ionic/p-8857f3ce.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-89d820c6.js} +1 -1
- package/dist/ionic/{p-3ba261ac.entry.js → p-8bf061c5.entry.js} +1 -1
- package/dist/ionic/{p-b6fbbe81.system.entry.js → p-8dd188b5.system.entry.js} +1 -1
- package/dist/ionic/{p-dfb78785.system.js → p-8f6462ed.system.js} +1 -1
- package/dist/ionic/p-90671ced.system.js +4 -0
- package/dist/ionic/p-92341215.system.js +4 -0
- package/dist/ionic/{p-3cc276f4.js → p-97e18d86.js} +1 -1
- package/dist/ionic/p-9a2dfb2a.system.entry.js +4 -0
- package/dist/ionic/p-9eb18e77.system.js +4 -0
- package/dist/ionic/{p-c6181d52.system.js → p-a09d82d3.system.js} +1 -1
- package/dist/ionic/p-a4cb22d4.entry.js +4 -0
- package/dist/ionic/p-a69ae8cf.js +4 -0
- package/dist/ionic/p-a798933c.system.js +4 -0
- package/dist/ionic/{p-7f375f5a.entry.js → p-a845b317.entry.js} +1 -1
- package/dist/ionic/p-a8ab986c.entry.js +4 -0
- package/dist/ionic/{p-4fbf3556.system.entry.js → p-a97c0ad2.system.entry.js} +1 -1
- package/dist/ionic/{p-23e0cd37.entry.js → p-ac3cefed.entry.js} +1 -1
- package/dist/ionic/{p-2b37f5bd.entry.js → p-ae371c25.entry.js} +1 -1
- package/dist/ionic/p-b6839dbe.entry.js +4 -0
- package/dist/ionic/p-b7bef03d.system.js +4 -0
- package/dist/ionic/{p-acaa514f.system.entry.js → p-b7e1017a.system.entry.js} +1 -1
- package/dist/ionic/{p-1e1b3d99.system.entry.js → p-b8ed1419.system.entry.js} +1 -1
- package/dist/ionic/p-ba3a434f.system.entry.js +4 -0
- package/dist/ionic/p-bd9cd14e.system.js +4 -0
- package/dist/ionic/p-be5cf9f9.system.entry.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-be81d4c0.js} +1 -1
- package/dist/ionic/p-c160c3e1.system.entry.js +4 -0
- package/dist/ionic/p-c2c4da88.entry.js +4 -0
- package/dist/ionic/{p-97f6c01c.system.entry.js → p-c7137d57.system.entry.js} +1 -1
- package/dist/ionic/p-c7914648.entry.js +4 -0
- package/dist/ionic/{p-eecf3a84.entry.js → p-c7e23c59.entry.js} +1 -1
- package/dist/ionic/p-ca48f040.js +4 -0
- package/dist/ionic/{p-86deab17.system.entry.js → p-cc984799.system.entry.js} +1 -1
- package/dist/ionic/{p-2690b1de.js → p-cf0e9e1e.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-d16139c2.js} +1 -1
- package/dist/ionic/{p-d60342e3.js → p-d24f5d16.js} +1 -1
- package/dist/ionic/p-d9a384b9.entry.js +4 -0
- package/dist/ionic/p-ddda4235.system.js +4 -0
- package/dist/ionic/p-e5be3dfb.js +4 -0
- package/dist/ionic/p-e9fc0e09.system.entry.js +4 -0
- package/dist/ionic/{p-1f772e46.entry.js → p-eb660bf2.entry.js} +1 -1
- package/dist/ionic/{p-76256933.system.entry.js → p-ebcb711f.system.entry.js} +1 -1
- package/dist/ionic/{p-444c76ee.system.entry.js → p-ec46d513.system.entry.js} +1 -1
- package/dist/ionic/{p-8635f5e6.system.js → p-ec680233.system.js} +1 -1
- package/dist/ionic/{p-8884ee37.system.entry.js → p-ec85f7f5.system.entry.js} +1 -1
- package/dist/ionic/{p-9ea607bd.system.js → p-ed6d9792.system.js} +2 -2
- package/dist/ionic/{p-d4a694c5.system.entry.js → p-edd8f5f9.system.entry.js} +1 -1
- package/dist/ionic/p-ee9841a3.js +4 -0
- package/dist/ionic/{p-62bb4a33.system.entry.js → p-ef0b1f01.system.entry.js} +1 -1
- package/dist/ionic/{p-cc35239f.entry.js → p-f0e78055.entry.js} +1 -1
- package/dist/ionic/p-f0fe3aa8.system.js +4 -0
- package/dist/ionic/p-f1cc6c18.system.entry.js +4 -0
- package/dist/ionic/{p-505121c4.entry.js → p-f32b396b.entry.js} +1 -1
- package/dist/ionic/{p-1b57577b.entry.js → p-f4519e12.entry.js} +1 -1
- package/dist/ionic/{p-d7cde2c6.entry.js → p-f48ea493.entry.js} +1 -1
- package/dist/ionic/{p-4384e5de.system.entry.js → p-f4e225e1.system.entry.js} +1 -1
- package/dist/ionic/{p-96503a77.entry.js → p-f9286a3b.entry.js} +1 -1
- package/dist/ionic/p-fa23b5f4.entry.js +4 -0
- package/dist/ionic/p-fb229af3.entry.js +4 -0
- package/dist/ionic/p-fe4b96e6.entry.js +4 -0
- package/dist/ionic/p-fe66d1a5.entry.js +4 -0
- package/dist/ionic/p-ffd50854.system.entry.js +4 -0
- package/dist/types/components/app/app.d.ts +0 -2
- package/dist/types/global/ionic-global.d.ts +2 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.js +142 -138
- package/hydrate/index.mjs +142 -138
- package/package.json +1 -1
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/dist/cjs/hardware-back-button-1f867b1e.js +0 -122
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-86430f67.js +0 -237
- package/dist/esm/hardware-back-button-8e2c1354.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-9b0d46f4.js +0 -34
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm/ionic-global-8f9440ec.js +0 -231
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-b9f6e516.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/data-ae11fd43.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/hardware-back-button-8e2c1354.js +0 -4
- package/dist/esm-es5/index-5cc724f3.js +0 -4
- package/dist/esm-es5/index-79b30591.js +0 -4
- package/dist/esm-es5/index-8579e7fd.js +0 -4
- package/dist/esm-es5/index-97b0ab3f.js +0 -4
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/input.utils-09c71bc7.js +0 -4
- package/dist/esm-es5/ionic-global-8f9440ec.js +0 -4
- package/dist/esm-es5/ios.transition-beb96e76.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-d5aa5703.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-2ea57630.js +0 -4
- package/dist/esm-es5/status-tap-a264a37f.js +0 -4
- package/dist/ionic/p-06e58c4e.js +0 -4
- package/dist/ionic/p-06fbb310.entry.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-08cfccad.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-11810112.system.entry.js +0 -4
- package/dist/ionic/p-1277436d.system.entry.js +0 -4
- package/dist/ionic/p-14c81a66.system.js +0 -4
- package/dist/ionic/p-15ef22b3.system.entry.js +0 -4
- package/dist/ionic/p-16917251.entry.js +0 -4
- package/dist/ionic/p-184f2f63.system.entry.js +0 -4
- package/dist/ionic/p-1cacb881.system.entry.js +0 -4
- package/dist/ionic/p-1d3ea8c1.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1dfe9aa7.entry.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-2056f176.js +0 -4
- package/dist/ionic/p-2afb9310.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2d93a7e5.system.js +0 -4
- package/dist/ionic/p-2de64a3f.system.entry.js +0 -4
- package/dist/ionic/p-303f64cd.entry.js +0 -4
- package/dist/ionic/p-330d7e08.entry.js +0 -4
- package/dist/ionic/p-34a6b5a7.entry.js +0 -4
- package/dist/ionic/p-382345db.system.entry.js +0 -4
- package/dist/ionic/p-46121609.entry.js +0 -4
- package/dist/ionic/p-49ffacc0.system.entry.js +0 -4
- package/dist/ionic/p-4ad3a2de.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4e6aa78c.entry.js +0 -4
- package/dist/ionic/p-4fa22b8c.entry.js +0 -4
- package/dist/ionic/p-50c38a28.system.entry.js +0 -4
- package/dist/ionic/p-52fce436.entry.js +0 -4
- package/dist/ionic/p-5749f245.system.entry.js +0 -4
- package/dist/ionic/p-586fa05c.system.js +0 -4
- package/dist/ionic/p-5ae3649f.system.entry.js +0 -4
- package/dist/ionic/p-669c0566.system.js +0 -4
- package/dist/ionic/p-66aa91c8.js +0 -4
- package/dist/ionic/p-6be871f6.system.entry.js +0 -4
- package/dist/ionic/p-6e444bfa.entry.js +0 -4
- package/dist/ionic/p-6e4ff107.system.entry.js +0 -4
- package/dist/ionic/p-7123a4b9.system.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-82ad7191.entry.js +0 -4
- package/dist/ionic/p-8302d21c.system.entry.js +0 -4
- package/dist/ionic/p-840cdfe8.entry.js +0 -4
- package/dist/ionic/p-86895ed7.system.js +0 -4
- package/dist/ionic/p-8c1f6a17.entry.js +0 -4
- package/dist/ionic/p-8d460677.entry.js +0 -4
- package/dist/ionic/p-8ed4381f.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-985f06f3.entry.js +0 -4
- package/dist/ionic/p-98a7aade.js +0 -4
- package/dist/ionic/p-9a64afc9.entry.js +0 -4
- package/dist/ionic/p-9a957058.system.entry.js +0 -4
- package/dist/ionic/p-9beb3fad.js +0 -4
- package/dist/ionic/p-9cd1f569.system.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-ab44e74e.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-b032d7ad.system.entry.js +0 -4
- package/dist/ionic/p-b0d099be.js +0 -4
- package/dist/ionic/p-b0fea0ab.system.entry.js +0 -4
- package/dist/ionic/p-b6f09d60.system.entry.js +0 -4
- package/dist/ionic/p-bb013b6c.system.entry.js +0 -4
- package/dist/ionic/p-be11fb42.system.js +0 -4
- package/dist/ionic/p-be32a527.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-c655f9cc.js +0 -4
- package/dist/ionic/p-c7b3353c.entry.js +0 -4
- package/dist/ionic/p-ccfe13f3.entry.js +0 -4
- package/dist/ionic/p-cdb1dc2f.system.entry.js +0 -4
- package/dist/ionic/p-d232cc6e.system.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d690dc50.system.entry.js +0 -4
- package/dist/ionic/p-d6b5bfa3.entry.js +0 -4
- package/dist/ionic/p-d81e5138.entry.js +0 -4
- package/dist/ionic/p-da5af268.system.entry.js +0 -4
- package/dist/ionic/p-e8cd5bde.js +0 -4
- package/dist/ionic/p-ebe1326c.system.js +0 -4
- package/dist/ionic/p-ed76b287.entry.js +0 -4
- package/dist/ionic/p-f8fbf20f.system.entry.js +0 -4
- package/dist/ionic/p-ff417d5d.system.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
|
@@ -5,24 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index
|
|
9
|
-
const focusVisible = require('./focus-visible-
|
|
10
|
-
const helpers = require('./helpers-
|
|
11
|
-
const
|
|
8
|
+
const index = require('./index-b9e25ecd.js');
|
|
9
|
+
const focusVisible = require('./focus-visible-9aa87fa3.js');
|
|
10
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
11
|
+
const ionicGlobal = require('./ionic-global-7b45fd73.js');
|
|
12
12
|
const dir = require('./dir-94c21456.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
|
-
const index$
|
|
15
|
-
const
|
|
16
|
-
const data = require('./data-21dc0f81.js');
|
|
14
|
+
const index$1 = require('./index-073c7cdc.js');
|
|
15
|
+
const data = require('./data-5d4f17b4.js');
|
|
17
16
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
19
|
-
const animation = require('./animation-
|
|
20
|
-
const haptic = require('./haptic-
|
|
21
|
-
require('./
|
|
22
|
-
require('./hardware-back-button-1f867b1e.js');
|
|
23
|
-
require('./framework-delegate-55f5683a.js');
|
|
17
|
+
const overlays = require('./overlays-14f167fc.js');
|
|
18
|
+
const animation = require('./animation-1b5076f1.js');
|
|
19
|
+
const haptic = require('./haptic-2bdd48c1.js');
|
|
20
|
+
require('./framework-delegate-d1e05576.js');
|
|
24
21
|
require('./gesture-controller-9436f482.js');
|
|
25
|
-
require('./capacitor-
|
|
22
|
+
require('./capacitor-618d05d6.js');
|
|
26
23
|
|
|
27
24
|
const isYearDisabled = (refYear, minParts, maxParts) => {
|
|
28
25
|
if (minParts && minParts.year > refYear) {
|
|
@@ -185,7 +182,7 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
|
|
|
185
182
|
return highlightedDates(dateIsoString);
|
|
186
183
|
}
|
|
187
184
|
catch (e) {
|
|
188
|
-
|
|
185
|
+
ionicGlobal.printIonError('Exception thrown from provided `highlightedDates` callback. Please check your function and try again.', el, e);
|
|
189
186
|
}
|
|
190
187
|
}
|
|
191
188
|
return undefined;
|
|
@@ -202,7 +199,7 @@ const warnIfTimeZoneProvided = (el, formatOptions) => {
|
|
|
202
199
|
((_b = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) === null || _b === void 0 ? void 0 : _b.timeZoneName) ||
|
|
203
200
|
((_c = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _c === void 0 ? void 0 : _c.timeZone) ||
|
|
204
201
|
((_d = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _d === void 0 ? void 0 : _d.timeZoneName)) {
|
|
205
|
-
|
|
202
|
+
ionicGlobal.printIonWarning('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".', el);
|
|
206
203
|
}
|
|
207
204
|
};
|
|
208
205
|
const checkForPresentationFormatMismatch = (el, presentation, formatOptions) => {
|
|
@@ -216,18 +213,18 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
|
|
|
216
213
|
case 'month':
|
|
217
214
|
case 'year':
|
|
218
215
|
if (formatOptions.date === undefined) {
|
|
219
|
-
|
|
216
|
+
ionicGlobal.printIonWarning(`Datetime: The '${presentation}' presentation requires a date object in formatOptions.`, el);
|
|
220
217
|
}
|
|
221
218
|
break;
|
|
222
219
|
case 'time':
|
|
223
220
|
if (formatOptions.time === undefined) {
|
|
224
|
-
|
|
221
|
+
ionicGlobal.printIonWarning(`Datetime: The 'time' presentation requires a time object in formatOptions.`, el);
|
|
225
222
|
}
|
|
226
223
|
break;
|
|
227
224
|
case 'date-time':
|
|
228
225
|
case 'time-date':
|
|
229
226
|
if (formatOptions.date === undefined && formatOptions.time === undefined) {
|
|
230
|
-
|
|
227
|
+
ionicGlobal.printIonWarning(`Datetime: The '${presentation}' presentation requires either a date or time object (or both) in formatOptions.`, el);
|
|
231
228
|
}
|
|
232
229
|
break;
|
|
233
230
|
}
|
|
@@ -241,14 +238,14 @@ const IonDatetimeMdStyle0 = datetimeMdCss;
|
|
|
241
238
|
|
|
242
239
|
const Datetime = class {
|
|
243
240
|
constructor(hostRef) {
|
|
244
|
-
index
|
|
245
|
-
this.ionCancel = index
|
|
246
|
-
this.ionChange = index
|
|
247
|
-
this.ionValueChange = index
|
|
248
|
-
this.ionFocus = index
|
|
249
|
-
this.ionBlur = index
|
|
250
|
-
this.ionStyle = index
|
|
251
|
-
this.ionRender = index
|
|
241
|
+
index.registerInstance(this, hostRef);
|
|
242
|
+
this.ionCancel = index.createEvent(this, "ionCancel", 7);
|
|
243
|
+
this.ionChange = index.createEvent(this, "ionChange", 7);
|
|
244
|
+
this.ionValueChange = index.createEvent(this, "ionValueChange", 7);
|
|
245
|
+
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
246
|
+
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
247
|
+
this.ionStyle = index.createEvent(this, "ionStyle", 7);
|
|
248
|
+
this.ionRender = index.createEvent(this, "ionRender", 7);
|
|
252
249
|
this.inputId = `ion-dt-${datetimeIds++}`;
|
|
253
250
|
this.prevPresentation = null;
|
|
254
251
|
this.warnIfIncorrectValueUsage = () => {
|
|
@@ -262,7 +259,7 @@ const Datetime = class {
|
|
|
262
259
|
* Default toString() behavior: a,b
|
|
263
260
|
* Custom behavior: ['a', 'b']
|
|
264
261
|
*/
|
|
265
|
-
|
|
262
|
+
ionicGlobal.printIonWarning(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
|
|
266
263
|
|
|
267
264
|
Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
|
|
268
265
|
`, this.el);
|
|
@@ -511,7 +508,7 @@ const Datetime = class {
|
|
|
511
508
|
* scrollIntoView() will scroll entire page
|
|
512
509
|
* if element is not in viewport. Use scrollLeft instead.
|
|
513
510
|
*/
|
|
514
|
-
index
|
|
511
|
+
index.writeTask(() => {
|
|
515
512
|
calendarBodyRef.scrollLeft = startMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
516
513
|
const getChangedMonth = (parts) => {
|
|
517
514
|
const box = calendarBodyRef.getBoundingClientRect();
|
|
@@ -603,7 +600,7 @@ const Datetime = class {
|
|
|
603
600
|
* but older/slower device may have a flicker
|
|
604
601
|
* if we did not do this.
|
|
605
602
|
*/
|
|
606
|
-
index
|
|
603
|
+
index.writeTask(() => {
|
|
607
604
|
this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month, day: day, year }));
|
|
608
605
|
calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
|
|
609
606
|
calendarBodyRef.style.removeProperty('overflow');
|
|
@@ -1028,7 +1025,7 @@ const Datetime = class {
|
|
|
1028
1025
|
* is that the content will pop into view a frame after. Maybe there
|
|
1029
1026
|
* is a better way to handle this?
|
|
1030
1027
|
*/
|
|
1031
|
-
index
|
|
1028
|
+
index.writeTask(() => {
|
|
1032
1029
|
this.el.classList.add('datetime-ready');
|
|
1033
1030
|
});
|
|
1034
1031
|
};
|
|
@@ -1061,7 +1058,7 @@ const Datetime = class {
|
|
|
1061
1058
|
* As a result, the wrong month will be shown.
|
|
1062
1059
|
*/
|
|
1063
1060
|
this.showMonthAndYear = false;
|
|
1064
|
-
index
|
|
1061
|
+
index.writeTask(() => {
|
|
1065
1062
|
this.el.classList.remove('datetime-ready');
|
|
1066
1063
|
});
|
|
1067
1064
|
};
|
|
@@ -1143,18 +1140,18 @@ const Datetime = class {
|
|
|
1143
1140
|
const { el, formatOptions, highlightedDates, multiple, presentation, preferWheel } = this;
|
|
1144
1141
|
if (multiple) {
|
|
1145
1142
|
if (presentation !== 'date') {
|
|
1146
|
-
|
|
1143
|
+
ionicGlobal.printIonWarning('Multiple date selection is only supported for presentation="date".', el);
|
|
1147
1144
|
}
|
|
1148
1145
|
if (preferWheel) {
|
|
1149
|
-
|
|
1146
|
+
ionicGlobal.printIonWarning('Multiple date selection is not supported with preferWheel="true".', el);
|
|
1150
1147
|
}
|
|
1151
1148
|
}
|
|
1152
1149
|
if (highlightedDates !== undefined) {
|
|
1153
1150
|
if (presentation !== 'date' && presentation !== 'date-time' && presentation !== 'time-date') {
|
|
1154
|
-
|
|
1151
|
+
ionicGlobal.printIonWarning('The highlightedDates property is only supported with the date, date-time, and time-date presentations.', el);
|
|
1155
1152
|
}
|
|
1156
1153
|
if (preferWheel) {
|
|
1157
|
-
|
|
1154
|
+
ionicGlobal.printIonWarning('The highlightedDates property is not supported with preferWheel="true".', el);
|
|
1158
1155
|
}
|
|
1159
1156
|
}
|
|
1160
1157
|
if (formatOptions) {
|
|
@@ -1217,10 +1214,10 @@ const Datetime = class {
|
|
|
1217
1214
|
* OK - Dismisses the datetime and
|
|
1218
1215
|
* updates the `value` prop.
|
|
1219
1216
|
*/
|
|
1220
|
-
return (index
|
|
1217
|
+
return (index.h("div", { class: "datetime-footer" }, index.h("div", { class: "datetime-buttons" }, index.h("div", { class: {
|
|
1221
1218
|
['datetime-action-buttons']: true,
|
|
1222
1219
|
['has-clear-button']: this.showClearButton,
|
|
1223
|
-
} }, index
|
|
1220
|
+
} }, 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)))))))));
|
|
1224
1221
|
}
|
|
1225
1222
|
/**
|
|
1226
1223
|
* Wheel picker render methods
|
|
@@ -1238,7 +1235,7 @@ const Datetime = class {
|
|
|
1238
1235
|
const renderArray = forcePresentation === 'time-date'
|
|
1239
1236
|
? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
|
|
1240
1237
|
: [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
|
|
1241
|
-
return index
|
|
1238
|
+
return index.h("ion-picker", null, renderArray);
|
|
1242
1239
|
}
|
|
1243
1240
|
renderDatePickerColumns(forcePresentation) {
|
|
1244
1241
|
return forcePresentation === 'date-time' || forcePresentation === 'time-date'
|
|
@@ -1273,8 +1270,8 @@ const Datetime = class {
|
|
|
1273
1270
|
let items = result.items;
|
|
1274
1271
|
const parts = result.parts;
|
|
1275
1272
|
if (isDateEnabled) {
|
|
1276
|
-
items = items.map((itemObject, index
|
|
1277
|
-
const referenceParts = parts[index
|
|
1273
|
+
items = items.map((itemObject, index) => {
|
|
1274
|
+
const referenceParts = parts[index];
|
|
1278
1275
|
let disabled;
|
|
1279
1276
|
try {
|
|
1280
1277
|
/**
|
|
@@ -1285,7 +1282,7 @@ const Datetime = class {
|
|
|
1285
1282
|
disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
|
|
1286
1283
|
}
|
|
1287
1284
|
catch (e) {
|
|
1288
|
-
|
|
1285
|
+
ionicGlobal.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
|
|
1289
1286
|
}
|
|
1290
1287
|
return Object.assign(Object.assign({}, itemObject), { disabled });
|
|
1291
1288
|
});
|
|
@@ -1297,13 +1294,13 @@ const Datetime = class {
|
|
|
1297
1294
|
const todayString = workingParts.day !== null
|
|
1298
1295
|
? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
|
|
1299
1296
|
: `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
|
|
1300
|
-
return (index
|
|
1297
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
|
|
1301
1298
|
const { value } = ev.detail;
|
|
1302
1299
|
const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
|
|
1303
1300
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
|
|
1304
1301
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), findPart));
|
|
1305
1302
|
ev.stopPropagation();
|
|
1306
|
-
} }, items.map((item) => (index
|
|
1303
|
+
} }, 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)))));
|
|
1307
1304
|
}
|
|
1308
1305
|
renderIndividualDatePickerColumns(forcePresentation) {
|
|
1309
1306
|
const { workingParts, isDateEnabled } = this;
|
|
@@ -1334,7 +1331,7 @@ const Datetime = class {
|
|
|
1334
1331
|
disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
|
|
1335
1332
|
}
|
|
1336
1333
|
catch (e) {
|
|
1337
|
-
|
|
1334
|
+
ionicGlobal.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
|
|
1338
1335
|
}
|
|
1339
1336
|
return Object.assign(Object.assign({}, dayObject), { disabled });
|
|
1340
1337
|
});
|
|
@@ -1372,11 +1369,11 @@ const Datetime = class {
|
|
|
1372
1369
|
const { disabled, workingParts } = this;
|
|
1373
1370
|
const activePart = this.getActivePartsWithFallback();
|
|
1374
1371
|
const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
|
|
1375
|
-
return (index
|
|
1372
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
|
|
1376
1373
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
|
|
1377
1374
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
|
|
1378
1375
|
ev.stopPropagation();
|
|
1379
|
-
} }, days.map((day) => (index
|
|
1376
|
+
} }, 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)))));
|
|
1380
1377
|
}
|
|
1381
1378
|
renderMonthPickerColumn(months) {
|
|
1382
1379
|
if (months.length === 0) {
|
|
@@ -1384,11 +1381,11 @@ const Datetime = class {
|
|
|
1384
1381
|
}
|
|
1385
1382
|
const { disabled, workingParts } = this;
|
|
1386
1383
|
const activePart = this.getActivePartsWithFallback();
|
|
1387
|
-
return (index
|
|
1384
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
|
|
1388
1385
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
|
|
1389
1386
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
|
|
1390
1387
|
ev.stopPropagation();
|
|
1391
|
-
} }, months.map((month) => (index
|
|
1388
|
+
} }, 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)))));
|
|
1392
1389
|
}
|
|
1393
1390
|
renderYearPickerColumn(years) {
|
|
1394
1391
|
if (years.length === 0) {
|
|
@@ -1396,11 +1393,11 @@ const Datetime = class {
|
|
|
1396
1393
|
}
|
|
1397
1394
|
const { disabled, workingParts } = this;
|
|
1398
1395
|
const activePart = this.getActivePartsWithFallback();
|
|
1399
|
-
return (index
|
|
1396
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
|
|
1400
1397
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
|
|
1401
1398
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
|
|
1402
1399
|
ev.stopPropagation();
|
|
1403
|
-
} }, years.map((year) => (index
|
|
1400
|
+
} }, 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)))));
|
|
1404
1401
|
}
|
|
1405
1402
|
renderTimePickerColumns(forcePresentation) {
|
|
1406
1403
|
if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
|
|
@@ -1429,22 +1426,22 @@ const Datetime = class {
|
|
|
1429
1426
|
if (hoursData.length === 0)
|
|
1430
1427
|
return [];
|
|
1431
1428
|
const activePart = this.getActivePartsWithFallback();
|
|
1432
|
-
return (index
|
|
1429
|
+
return (index.h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
|
|
1433
1430
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
|
|
1434
1431
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
|
|
1435
1432
|
ev.stopPropagation();
|
|
1436
|
-
} }, hoursData.map((hour) => (index
|
|
1433
|
+
} }, 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)))));
|
|
1437
1434
|
}
|
|
1438
1435
|
renderMinutePickerColumn(minutesData) {
|
|
1439
1436
|
const { disabled, workingParts } = this;
|
|
1440
1437
|
if (minutesData.length === 0)
|
|
1441
1438
|
return [];
|
|
1442
1439
|
const activePart = this.getActivePartsWithFallback();
|
|
1443
|
-
return (index
|
|
1440
|
+
return (index.h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
|
|
1444
1441
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
|
|
1445
1442
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
|
|
1446
1443
|
ev.stopPropagation();
|
|
1447
|
-
} }, minutesData.map((minute) => (index
|
|
1444
|
+
} }, 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)))));
|
|
1448
1445
|
}
|
|
1449
1446
|
renderDayPeriodPickerColumn(dayPeriodData) {
|
|
1450
1447
|
const { disabled, workingParts } = this;
|
|
@@ -1453,18 +1450,18 @@ const Datetime = class {
|
|
|
1453
1450
|
}
|
|
1454
1451
|
const activePart = this.getActivePartsWithFallback();
|
|
1455
1452
|
const isDayPeriodRTL = data.isLocaleDayPeriodRTL(this.locale);
|
|
1456
|
-
return (index
|
|
1453
|
+
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) => {
|
|
1457
1454
|
const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
|
|
1458
1455
|
this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
|
|
1459
1456
|
this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
|
|
1460
1457
|
ev.stopPropagation();
|
|
1461
|
-
} }, dayPeriodData.map((dayPeriod) => (index
|
|
1458
|
+
} }, 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)))));
|
|
1462
1459
|
}
|
|
1463
1460
|
renderWheelView(forcePresentation) {
|
|
1464
1461
|
const { locale } = this;
|
|
1465
1462
|
const showMonthFirst = data.isMonthFirstLocale(locale);
|
|
1466
1463
|
const columnOrder = showMonthFirst ? 'month-first' : 'year-first';
|
|
1467
|
-
return (index
|
|
1464
|
+
return (index.h("div", { class: {
|
|
1468
1465
|
[`wheel-order-${columnOrder}`]: true,
|
|
1469
1466
|
} }, this.renderWheelPicker(forcePresentation)));
|
|
1470
1467
|
}
|
|
@@ -1473,18 +1470,18 @@ const Datetime = class {
|
|
|
1473
1470
|
*/
|
|
1474
1471
|
renderCalendarHeader(mode) {
|
|
1475
1472
|
const { disabled } = this;
|
|
1476
|
-
const expandedIcon = mode === 'ios' ? index$
|
|
1477
|
-
const collapsedIcon = mode === 'ios' ? index$
|
|
1473
|
+
const expandedIcon = mode === 'ios' ? index$1.chevronDown : index$1.caretUpSharp;
|
|
1474
|
+
const collapsedIcon = mode === 'ios' ? index$1.chevronForward : index$1.caretDownSharp;
|
|
1478
1475
|
const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
|
|
1479
1476
|
const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
|
|
1480
1477
|
// don't use the inheritAttributes util because it removes dir from the host, and we still need that
|
|
1481
1478
|
const hostDir = this.el.getAttribute('dir') || undefined;
|
|
1482
|
-
return (index
|
|
1479
|
+
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
1480
|
'calendar-month-year-toggle': true,
|
|
1484
1481
|
'ion-activatable': true,
|
|
1485
1482
|
'ion-focusable': true,
|
|
1486
|
-
}, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, index
|
|
1487
|
-
return index
|
|
1483
|
+
}, 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), index.h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })), mode === '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: index$1.chevronBack, 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: index$1.chevronForward, lazy: false, flipRtl: true }))))), index.h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, data.getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
|
|
1484
|
+
return index.h("div", { class: "day-of-week" }, d);
|
|
1488
1485
|
}))));
|
|
1489
1486
|
}
|
|
1490
1487
|
renderMonth(month, year) {
|
|
@@ -1510,11 +1507,11 @@ const Datetime = class {
|
|
|
1510
1507
|
// can free-scroll the calendar.
|
|
1511
1508
|
const isWorkingMonth = this.workingParts.month === month && this.workingParts.year === year;
|
|
1512
1509
|
const activePart = this.getActivePartsWithFallback();
|
|
1513
|
-
return (index
|
|
1510
|
+
return (index.h("div", { "aria-hidden": !isWorkingMonth ? 'true' : null, class: {
|
|
1514
1511
|
'calendar-month': true,
|
|
1515
1512
|
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
|
1516
1513
|
'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
|
|
1517
|
-
} }, index
|
|
1514
|
+
} }, index.h("div", { class: "calendar-month-grid" }, data.getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index$1) => {
|
|
1518
1515
|
const { day, dayOfWeek } = dateObject;
|
|
1519
1516
|
const { el, highlightedDates, isDateEnabled, multiple } = this;
|
|
1520
1517
|
const referenceParts = { month, day, year };
|
|
@@ -1532,7 +1529,7 @@ const Datetime = class {
|
|
|
1532
1529
|
isCalDayDisabled = !isDateEnabled(dateIsoString);
|
|
1533
1530
|
}
|
|
1534
1531
|
catch (e) {
|
|
1535
|
-
|
|
1532
|
+
ionicGlobal.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', el, e);
|
|
1536
1533
|
}
|
|
1537
1534
|
}
|
|
1538
1535
|
/**
|
|
@@ -1556,7 +1553,7 @@ const Datetime = class {
|
|
|
1556
1553
|
if (!isCalendarPadding) {
|
|
1557
1554
|
dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
|
|
1558
1555
|
}
|
|
1559
|
-
return (index
|
|
1556
|
+
return (index.h("div", { class: "calendar-day-wrapper" }, index.h("button", {
|
|
1560
1557
|
// We need to use !important for the inline styles here because
|
|
1561
1558
|
// otherwise the CSS shadow parts will override these styles.
|
|
1562
1559
|
// See https://github.com/WICG/webcomponents/issues/847
|
|
@@ -1568,7 +1565,7 @@ const Datetime = class {
|
|
|
1568
1565
|
el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
|
|
1569
1566
|
el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
|
|
1570
1567
|
}
|
|
1571
|
-
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$
|
|
1568
|
+
}, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$1, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
|
|
1572
1569
|
'calendar-day-padding': isCalendarPadding,
|
|
1573
1570
|
'calendar-day': true,
|
|
1574
1571
|
'calendar-day-active': isActive,
|
|
@@ -1599,27 +1596,27 @@ const Datetime = class {
|
|
|
1599
1596
|
}))));
|
|
1600
1597
|
}
|
|
1601
1598
|
renderCalendarBody() {
|
|
1602
|
-
return (index
|
|
1599
|
+
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
1600
|
return this.renderMonth(month, year);
|
|
1604
1601
|
})));
|
|
1605
1602
|
}
|
|
1606
1603
|
renderCalendar(mode) {
|
|
1607
|
-
return (index
|
|
1604
|
+
return (index.h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(mode), this.renderCalendarBody()));
|
|
1608
1605
|
}
|
|
1609
1606
|
renderTimeLabel() {
|
|
1610
1607
|
const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
|
|
1611
1608
|
if (!hasSlottedTimeLabel && !this.showDefaultTimeLabel) {
|
|
1612
1609
|
return;
|
|
1613
1610
|
}
|
|
1614
|
-
return index
|
|
1611
|
+
return index.h("slot", { name: "time-label" }, "Time");
|
|
1615
1612
|
}
|
|
1616
1613
|
renderTimeOverlay() {
|
|
1617
1614
|
const { disabled, hourCycle, isTimePopoverOpen, locale, formatOptions } = this;
|
|
1618
1615
|
const computedHourCycle = data.getHourCycle(locale, hourCycle);
|
|
1619
1616
|
const activePart = this.getActivePartsWithFallback();
|
|
1620
1617
|
return [
|
|
1621
|
-
index
|
|
1622
|
-
index
|
|
1618
|
+
index.h("div", { class: "time-header" }, this.renderTimeLabel()),
|
|
1619
|
+
index.h("button", { class: {
|
|
1623
1620
|
'time-body': true,
|
|
1624
1621
|
'time-body-active': isTimePopoverOpen,
|
|
1625
1622
|
}, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true", disabled: disabled, onClick: async (ev) => {
|
|
@@ -1635,7 +1632,7 @@ const Datetime = class {
|
|
|
1635
1632
|
this.isTimePopoverOpen = false;
|
|
1636
1633
|
}
|
|
1637
1634
|
} }, data.getLocalizedTime(locale, activePart, computedHourCycle, formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time)),
|
|
1638
|
-
index
|
|
1635
|
+
index.h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
|
|
1639
1636
|
/**
|
|
1640
1637
|
* Intersection Observers do not consistently fire between Blink and Webkit
|
|
1641
1638
|
* when toggling the visibility of the popover and trying to scroll the picker
|
|
@@ -1668,7 +1665,7 @@ const Datetime = class {
|
|
|
1668
1665
|
headerText = titleSelectedDatesFormatter(data.convertDataToISO(activeParts));
|
|
1669
1666
|
}
|
|
1670
1667
|
catch (e) {
|
|
1671
|
-
|
|
1668
|
+
ionicGlobal.printIonError('Exception in provided `titleSelectedDatesFormatter`: ', e);
|
|
1672
1669
|
}
|
|
1673
1670
|
}
|
|
1674
1671
|
}
|
|
@@ -1683,7 +1680,7 @@ const Datetime = class {
|
|
|
1683
1680
|
if (!hasSlottedTitle && !this.showDefaultTitle) {
|
|
1684
1681
|
return;
|
|
1685
1682
|
}
|
|
1686
|
-
return (index
|
|
1683
|
+
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
1684
|
}
|
|
1688
1685
|
/**
|
|
1689
1686
|
* Render time picker inside of datetime.
|
|
@@ -1695,7 +1692,7 @@ const Datetime = class {
|
|
|
1695
1692
|
renderTime() {
|
|
1696
1693
|
const { presentation } = this;
|
|
1697
1694
|
const timeOnlyPresentation = presentation === 'time';
|
|
1698
|
-
return (index
|
|
1695
|
+
return (index.h("div", { class: "datetime-time" }, timeOnlyPresentation ? this.renderWheelPicker() : this.renderTimeOverlay()));
|
|
1699
1696
|
}
|
|
1700
1697
|
/**
|
|
1701
1698
|
* Renders the month/year picker that is
|
|
@@ -1706,7 +1703,7 @@ const Datetime = class {
|
|
|
1706
1703
|
* toggle in the calendar header.
|
|
1707
1704
|
*/
|
|
1708
1705
|
renderCalendarViewMonthYearPicker() {
|
|
1709
|
-
return index
|
|
1706
|
+
return index.h("div", { class: "datetime-year" }, this.renderWheelView('month-year'));
|
|
1710
1707
|
}
|
|
1711
1708
|
/**
|
|
1712
1709
|
* Render entry point
|
|
@@ -1763,7 +1760,7 @@ const Datetime = class {
|
|
|
1763
1760
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1764
1761
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1765
1762
|
helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
|
|
1766
|
-
return (index
|
|
1763
|
+
return (index.h(index.Host, { key: '2933ce5caaeb21a633b1ec4d936e86b0f0890807', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
|
|
1767
1764
|
[mode]: true,
|
|
1768
1765
|
['datetime-readonly']: readonly,
|
|
1769
1766
|
['datetime-disabled']: disabled,
|
|
@@ -1773,9 +1770,9 @@ const Datetime = class {
|
|
|
1773
1770
|
[`datetime-size-${size}`]: true,
|
|
1774
1771
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1775
1772
|
[`datetime-grid`]: isGridStyle,
|
|
1776
|
-
})) }, index
|
|
1773
|
+
})) }, index.h("div", { key: '0efc9ef0aa1a29234412b2eddf5d7ff899b7543f', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1777
1774
|
}
|
|
1778
|
-
get el() { return index
|
|
1775
|
+
get el() { return index.getElement(this); }
|
|
1779
1776
|
static get watchers() { return {
|
|
1780
1777
|
"formatOptions": ["formatOptionsChanged"],
|
|
1781
1778
|
"disabled": ["disabledChanged"],
|
|
@@ -1852,15 +1849,15 @@ const IonPickerLegacyMdStyle0 = pickerMdCss;
|
|
|
1852
1849
|
|
|
1853
1850
|
const Picker = class {
|
|
1854
1851
|
constructor(hostRef) {
|
|
1855
|
-
index
|
|
1856
|
-
this.didPresent = index
|
|
1857
|
-
this.willPresent = index
|
|
1858
|
-
this.willDismiss = index
|
|
1859
|
-
this.didDismiss = index
|
|
1860
|
-
this.didPresentShorthand = index
|
|
1861
|
-
this.willPresentShorthand = index
|
|
1862
|
-
this.willDismissShorthand = index
|
|
1863
|
-
this.didDismissShorthand = index
|
|
1852
|
+
index.registerInstance(this, hostRef);
|
|
1853
|
+
this.didPresent = index.createEvent(this, "ionPickerDidPresent", 7);
|
|
1854
|
+
this.willPresent = index.createEvent(this, "ionPickerWillPresent", 7);
|
|
1855
|
+
this.willDismiss = index.createEvent(this, "ionPickerWillDismiss", 7);
|
|
1856
|
+
this.didDismiss = index.createEvent(this, "ionPickerDidDismiss", 7);
|
|
1857
|
+
this.didPresentShorthand = index.createEvent(this, "didPresent", 7);
|
|
1858
|
+
this.willPresentShorthand = index.createEvent(this, "willPresent", 7);
|
|
1859
|
+
this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
|
|
1860
|
+
this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
|
|
1864
1861
|
this.delegateController = overlays.createDelegateController(this);
|
|
1865
1862
|
this.lockController = lockController.createLockController();
|
|
1866
1863
|
this.triggerController = overlays.createTriggerController();
|
|
@@ -1920,7 +1917,7 @@ const Picker = class {
|
|
|
1920
1917
|
}
|
|
1921
1918
|
}
|
|
1922
1919
|
componentDidLoad() {
|
|
1923
|
-
|
|
1920
|
+
ionicGlobal.printIonWarning('ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
|
|
1924
1921
|
/**
|
|
1925
1922
|
* If picker was rendered with isOpen="true"
|
|
1926
1923
|
* then we should open picker immediately.
|
|
@@ -2030,13 +2027,13 @@ const Picker = class {
|
|
|
2030
2027
|
render() {
|
|
2031
2028
|
const { htmlAttributes } = this;
|
|
2032
2029
|
const mode = ionicGlobal.getIonMode(this);
|
|
2033
|
-
return (index
|
|
2030
|
+
return (index.h(index.Host, Object.assign({ key: '3b163ca87354a3a4f302ff016d5affd0dc97bccc', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2034
2031
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2035
2032
|
}, class: Object.assign({ [mode]: true,
|
|
2036
2033
|
// Used internally for styling
|
|
2037
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index
|
|
2034
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: 'da4224447bdbcfbadd1bd63ebe7a7bfdb8aa3129', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: '211475c859b7acf4d64556905c45993201d92d43', tabindex: "0" }), index.h("div", { key: 'c3b3674038155809caea84ae6348ff0d66897a64', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: 'a21757da70dc7864945a5751d9da3ca4bf87897b', 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: '0220da1854d09ef22d2d9a32eaa3c3b222be5a0a', class: "picker-columns" }, index.h("div", { key: '55757c165ba9e38e56b4dee76a9b13d3ff8b21e6', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: '160092a46a48287bf75e5dfe3502f1755a2d0c70', class: "picker-below-highlight" }))), index.h("div", { key: 'e212db6cca7d75fc0eda0baf4312dd51b9b7a4ef', tabindex: "0" })));
|
|
2038
2035
|
}
|
|
2039
|
-
get el() { return index
|
|
2036
|
+
get el() { return index.getElement(this); }
|
|
2040
2037
|
static get watchers() { return {
|
|
2041
2038
|
"isOpen": ["onIsOpenChange"],
|
|
2042
2039
|
"trigger": ["triggerChanged"]
|
|
@@ -2064,8 +2061,8 @@ const IonPickerLegacyColumnMdStyle0 = pickerColumnMdCss;
|
|
|
2064
2061
|
|
|
2065
2062
|
const PickerColumnCmp = class {
|
|
2066
2063
|
constructor(hostRef) {
|
|
2067
|
-
index
|
|
2068
|
-
this.ionPickerColChange = index
|
|
2064
|
+
index.registerInstance(this, hostRef);
|
|
2065
|
+
this.ionPickerColChange = index.createEvent(this, "ionPickerColChange", 7);
|
|
2069
2066
|
this.optHeight = 0;
|
|
2070
2067
|
this.rotateFactor = 0;
|
|
2071
2068
|
this.scaleFactor = 1;
|
|
@@ -2391,11 +2388,11 @@ const PickerColumnCmp = class {
|
|
|
2391
2388
|
render() {
|
|
2392
2389
|
const col = this.col;
|
|
2393
2390
|
const mode = ionicGlobal.getIonMode(this);
|
|
2394
|
-
return (index
|
|
2391
|
+
return (index.h(index.Host, { key: '56289a294e5c580f3e7fe5fc12777aa7f80ad19b', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2395
2392
|
'max-width': this.col.columnWidth,
|
|
2396
|
-
} }, col.prefix && (index
|
|
2393
|
+
} }, col.prefix && (index.h("div", { key: 'd21f44667b5df567d6879723fe643ea7c2c60bef', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: 'bb427e5f24fd832703926e0e847ad05567597262', 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: '0413f7c074b6534b8967387ecb9957a79a267aff', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2397
2394
|
}
|
|
2398
|
-
get el() { return index
|
|
2395
|
+
get el() { return index.getElement(this); }
|
|
2399
2396
|
static get watchers() { return {
|
|
2400
2397
|
"col": ["colChanged"]
|
|
2401
2398
|
}; }
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-b9e25ecd.js');
|
|
9
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
-
const helpers = require('./helpers-
|
|
9
|
+
const ionicGlobal = require('./ionic-global-7b45fd73.js');
|
|
10
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const index$1 = require('./index-073c7cdc.js');
|
|
13
13
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-b9e25ecd.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
9
|
+
const helpers = require('./helpers-acd6c477.js');
|
|
10
|
+
const ionicGlobal = require('./ionic-global-7b45fd73.js');
|
|
11
11
|
|
|
12
12
|
const imgCss = ":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";
|
|
13
13
|
const IonImgStyle0 = imgCss;
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-b9e25ecd.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
9
|
+
const index$1 = require('./index-3eb98cb9.js');
|
|
10
|
+
const ionicGlobal = require('./ionic-global-7b45fd73.js');
|
|
11
11
|
const config = require('./config-4f60b98a.js');
|
|
12
|
-
require('./helpers-
|
|
13
|
-
require('./index-5915f9b3.js');
|
|
12
|
+
require('./helpers-acd6c477.js');
|
|
14
13
|
|
|
15
14
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
16
15
|
const IonInfiniteScrollStyle0 = infiniteScrollCss;
|