@ionic/core 8.3.1-dev.11726258029.1014159b → 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-9d795e44.js → app-globals-7adfb8dd.js} +1 -1
- package/dist/cjs/{button-active-4115dc12.js → button-active-0f66de25.js} +2 -2
- 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-44dacdce.js → index-686a2ab7.js} +8 -9
- package/dist/cjs/{index-42dd5e74.js → index-b9e25ecd.js} +2 -8
- package/dist/cjs/{index-9509ecad.js → index-c17dd541.js} +8 -7
- package/dist/cjs/{index-248835d7.js → index-d683cd69.js} +7 -10
- package/dist/cjs/index.cjs.js +10 -13
- 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 +4 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -12
- package/dist/cjs/ion-alert.cjs.entry.js +9 -12
- package/dist/cjs/ion-app_8.cjs.entry.js +32 -102
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -9
- package/dist/cjs/ion-datetime_3.cjs.entry.js +96 -99
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +7 -8
- package/dist/cjs/ion-input.cjs.entry.js +5 -7
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -5
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +6 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -11
- package/dist/cjs/ion-modal.cjs.entry.js +49 -52
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +6 -7
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +10 -13
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +9 -10
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -9
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -9
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +5 -7
- package/dist/cjs/ion-toast.cjs.entry.js +31 -34
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -6
- package/dist/cjs/ionic-global-7b45fd73.js +462 -0
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-c28ff3cc.js → ios.transition-1ee349d9.js} +5 -7
- 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 +3 -3
- package/dist/cjs/{md.transition-01295b30.js → md.transition-719e7e1c.js} +5 -7
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a8eaed3b.js} +4 -4
- package/dist/cjs/{overlays-76ac42e7.js → overlays-14f167fc.js} +12 -15
- package/dist/cjs/{status-tap-75c3a35d.js → status-tap-e7029c0d.js} +4 -4
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-13234294.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- 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 +109 -109
- package/dist/esm/{animation-eab5a4ca.js → animation-4833cc82.js} +1 -1
- package/dist/esm/{app-globals-cef8aa6d.js → app-globals-120fc59a.js} +1 -1
- package/dist/esm/{button-active-6700b8ee.js → button-active-99997f21.js} +2 -2
- 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-deb1a83e.js → index-462343ab.js} +3 -6
- package/{components/index9.js → dist/esm/index-4b965271.js} +3 -2
- package/dist/esm/{index-3ed04e6d.js → index-4e02bb5d.js} +2 -8
- package/dist/esm/{index-5cc724f3.js → index-57058cbb.js} +2 -2
- package/dist/esm/{index-42907296.js → index-ea559016.js} +5 -6
- package/dist/esm/index.js +10 -13
- 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 +3 -4
- package/dist/esm/ion-action-sheet.entry.js +9 -12
- package/dist/esm/ion-alert.entry.js +9 -12
- package/dist/esm/ion-app_8.entry.js +22 -92
- 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 -4
- 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 -5
- package/dist/esm/ion-datetime_3.entry.js +10 -13
- 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 -5
- package/dist/esm/ion-input-password-toggle.entry.js +2 -3
- package/dist/esm/ion-input.entry.js +5 -7
- package/dist/esm/ion-item-option_3.entry.js +4 -5
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +6 -9
- package/dist/esm/ion-menu_3.entry.js +7 -10
- package/dist/esm/ion-modal.entry.js +11 -14
- package/dist/esm/ion-nav_2.entry.js +6 -7
- 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 -10
- 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 -5
- package/dist/esm/ion-refresher_2.entry.js +7 -9
- package/dist/esm/ion-reorder_2.entry.js +6 -8
- 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 -9
- 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 -7
- package/dist/esm/ion-toast.entry.js +6 -9
- package/dist/esm/ion-toggle.entry.js +5 -6
- package/dist/esm/ionic-global-03ec9636.js +448 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-903646a5.js → ios.transition-974d0663.js} +5 -7
- 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 +4 -4
- package/dist/esm/{md.transition-92c7f8a6.js → md.transition-a592d042.js} +5 -7
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-8d28ece6.js} +2 -2
- package/dist/esm/{overlays-d1a2f8a8.js → overlays-7d2c4725.js} +4 -7
- package/dist/esm/{status-tap-97e323a9.js → status-tap-eee70591.js} +4 -4
- 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-6700b8ee.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-4e02bb5d.js +5 -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-f08654ea.system.js → p-0363123b.system.js} +1 -1
- package/dist/ionic/{p-5e97855d.system.entry.js → p-092161ab.system.entry.js} +1 -1
- package/dist/ionic/{p-99859f95.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-cb9da2a3.entry.js → p-128849bc.entry.js} +1 -1
- package/dist/ionic/{p-ce58e8e0.entry.js → p-134b5dad.entry.js} +1 -1
- package/dist/ionic/{p-c342dbdf.system.entry.js → p-1883a8fa.system.entry.js} +1 -1
- package/dist/ionic/{p-e8cc3bad.js → p-19b78761.js} +1 -1
- package/dist/ionic/{p-19ea7bff.system.js → p-1d57f288.system.js} +1 -1
- package/dist/ionic/{p-2b2a48ed.entry.js → p-1d5a1bf5.entry.js} +1 -1
- 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-6bbad9e4.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-4205a4d9.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-5d43e642.entry.js → p-36474df6.entry.js} +1 -1
- package/dist/ionic/{p-2b87a770.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-b7836cec.entry.js → p-3dbf1af2.entry.js} +1 -1
- package/dist/ionic/{p-4bd23b81.entry.js → p-3ec5731b.entry.js} +1 -1
- package/dist/ionic/{p-e6e98f68.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-51d30486.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-487a3ae7.system.js +5 -0
- package/dist/ionic/p-4b528ed3.js +5 -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-0b2cb317.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-1955f63a.entry.js → p-5786ea53.entry.js} +1 -1
- package/dist/ionic/p-5821285e.system.entry.js +4 -0
- package/dist/ionic/{p-2f244b7c.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-1d524f20.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-59cda258.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-3e4a7bd8.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-40277321.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-ed3f6648.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-bd9fd891.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-52c20808.entry.js → p-8bf061c5.entry.js} +1 -1
- package/dist/ionic/{p-57f94155.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-30482ed4.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-70325536.entry.js → p-a845b317.entry.js} +1 -1
- package/dist/ionic/p-a8ab986c.entry.js +4 -0
- package/dist/ionic/{p-fdfa74cc.system.entry.js → p-a97c0ad2.system.entry.js} +1 -1
- package/dist/ionic/{p-e9119176.entry.js → p-ac3cefed.entry.js} +1 -1
- package/dist/ionic/{p-1350a9c2.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-5d7ea80a.system.entry.js → p-b7e1017a.system.entry.js} +1 -1
- package/dist/ionic/{p-2e2c1a93.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-b2a2c6cf.system.entry.js → p-c7137d57.system.entry.js} +1 -1
- package/dist/ionic/p-c7914648.entry.js +4 -0
- package/dist/ionic/{p-5ef51d63.entry.js → p-c7e23c59.entry.js} +1 -1
- package/dist/ionic/p-ca48f040.js +4 -0
- package/dist/ionic/{p-488bc4e4.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-dc672c3a.entry.js → p-eb660bf2.entry.js} +1 -1
- package/dist/ionic/{p-c76e43a2.system.entry.js → p-ebcb711f.system.entry.js} +1 -1
- package/dist/ionic/{p-91d713b7.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-aee3f804.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-da5e7dbe.system.entry.js → p-edd8f5f9.system.entry.js} +1 -1
- package/dist/ionic/p-ee9841a3.js +4 -0
- package/dist/ionic/{p-067db520.system.entry.js → p-ef0b1f01.system.entry.js} +1 -1
- package/dist/ionic/{p-33fb4e9d.entry.js → p-f0e78055.entry.js} +1 -1
- package/dist/ionic/{p-d75bce6a.system.js → p-f0fe3aa8.system.js} +1 -1
- package/dist/ionic/p-f1cc6c18.system.entry.js +4 -0
- package/dist/ionic/{p-76bb8eb2.entry.js → p-f32b396b.entry.js} +1 -1
- package/dist/ionic/{p-16b7cfc2.entry.js → p-f4519e12.entry.js} +1 -1
- package/dist/ionic/{p-4b1364c9.entry.js → p-f48ea493.entry.js} +1 -1
- package/dist/ionic/{p-44d98be5.system.entry.js → p-f4e225e1.system.entry.js} +1 -1
- package/dist/ionic/{p-89bd4ed2.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/stencil-public-runtime.d.ts +0 -4
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.d.ts +0 -6
- package/hydrate/index.js +384 -514
- package/hydrate/index.mjs +384 -514
- package/package.json +2 -2
- package/components/hardware-back-button.js +0 -115
- package/components/index8.js +0 -128
- package/dist/cjs/hardware-back-button-35a9ebdb.js +0 -122
- package/dist/cjs/index-5915f9b3.js +0 -38
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/cjs/ionic-global-2fc6b860.js +0 -237
- package/dist/esm/hardware-back-button-3dd2cf5a.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-aba82484.js +0 -231
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-cef8aa6d.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-3dd2cf5a.js +0 -4
- package/dist/esm-es5/index-3ed04e6d.js +0 -5
- package/dist/esm-es5/index-42907296.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-9b0d46f4.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-deb1a83e.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-aba82484.js +0 -4
- package/dist/esm-es5/ios.transition-903646a5.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-92c7f8a6.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-d1a2f8a8.js +0 -4
- package/dist/esm-es5/status-tap-97e323a9.js +0 -4
- package/dist/ionic/p-0047371d.system.entry.js +0 -4
- package/dist/ionic/p-019fe44c.system.entry.js +0 -4
- package/dist/ionic/p-05399319.entry.js +0 -4
- package/dist/ionic/p-06e58c4e.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-0956b807.system.entry.js +0 -4
- package/dist/ionic/p-0b61b67e.system.js +0 -4
- package/dist/ionic/p-0bfdb16f.system.js +0 -4
- package/dist/ionic/p-0c06e09b.system.js +0 -4
- package/dist/ionic/p-0dc1d769.entry.js +0 -4
- package/dist/ionic/p-0f9c24fe.system.js +0 -4
- package/dist/ionic/p-14616c10.system.entry.js +0 -4
- package/dist/ionic/p-149da974.system.js +0 -4
- package/dist/ionic/p-192e07b1.system.entry.js +0 -4
- package/dist/ionic/p-1ca23ae9.system.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-2067d815.system.entry.js +0 -4
- package/dist/ionic/p-2583e966.js +0 -4
- package/dist/ionic/p-263a3f91.system.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2e5ee828.system.entry.js +0 -4
- package/dist/ionic/p-2e6cf7f2.js +0 -4
- package/dist/ionic/p-3447e604.system.entry.js +0 -4
- package/dist/ionic/p-3b2c0ca4.entry.js +0 -4
- package/dist/ionic/p-3c8001c7.system.entry.js +0 -4
- package/dist/ionic/p-4029255b.system.entry.js +0 -4
- package/dist/ionic/p-428db536.entry.js +0 -4
- package/dist/ionic/p-42f9a951.system.entry.js +0 -4
- package/dist/ionic/p-46bac798.entry.js +0 -4
- package/dist/ionic/p-49c26aa9.entry.js +0 -4
- package/dist/ionic/p-4ad055dc.system.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4d81423b.entry.js +0 -4
- package/dist/ionic/p-4e7b0cee.entry.js +0 -4
- package/dist/ionic/p-4fe468c2.entry.js +0 -4
- package/dist/ionic/p-51ae8a06.system.entry.js +0 -4
- package/dist/ionic/p-56435093.js +0 -4
- package/dist/ionic/p-59a394ad.system.js +0 -5
- package/dist/ionic/p-5d5d5073.entry.js +0 -4
- package/dist/ionic/p-5d6c0bf8.system.js +0 -4
- package/dist/ionic/p-5e94453a.entry.js +0 -4
- package/dist/ionic/p-600a4ea0.js +0 -4
- package/dist/ionic/p-62b04b4c.entry.js +0 -4
- package/dist/ionic/p-663fe7c8.system.entry.js +0 -4
- package/dist/ionic/p-68da7fc8.system.js +0 -4
- package/dist/ionic/p-6ca2a6af.entry.js +0 -4
- package/dist/ionic/p-6f465cce.js +0 -4
- package/dist/ionic/p-714841be.system.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-7414228b.js +0 -5
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7e07fb64.entry.js +0 -4
- package/dist/ionic/p-7e497250.system.entry.js +0 -4
- package/dist/ionic/p-933e9e71.entry.js +0 -4
- package/dist/ionic/p-96cc4814.js +0 -4
- package/dist/ionic/p-9f8740b2.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a8775bf9.entry.js +0 -4
- package/dist/ionic/p-abc5c0a4.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-aed9cc5b.entry.js +0 -4
- package/dist/ionic/p-b69c1e65.system.entry.js +0 -4
- package/dist/ionic/p-b719790b.js +0 -4
- package/dist/ionic/p-b8157bb5.system.entry.js +0 -4
- package/dist/ionic/p-bae531fb.system.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c57d792e.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c8e78b70.system.entry.js +0 -4
- package/dist/ionic/p-cc3e2b52.entry.js +0 -4
- package/dist/ionic/p-d073ba84.entry.js +0 -4
- package/dist/ionic/p-d0f8d0aa.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d65d9c9c.system.entry.js +0 -4
- package/dist/ionic/p-d6e463ee.system.entry.js +0 -4
- package/dist/ionic/p-d8ace0cb.entry.js +0 -4
- package/dist/ionic/p-d8dcfbf3.system.entry.js +0 -4
- package/dist/ionic/p-e351e0e3.entry.js +0 -4
- package/dist/ionic/p-eec4b4ce.entry.js +0 -4
- package/dist/ionic/p-f22b3a75.js +0 -4
- package/dist/ionic/p-f367478b.js +0 -4
- package/dist/ionic/p-f36c9945.system.entry.js +0 -4
- package/dist/ionic/p-fc9b4e5a.entry.js +0 -4
- package/dist/ionic/p-fec56d82.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{w as writeTask}from"./index-
|
|
4
|
+
import{w as writeTask}from"./index-4e02bb5d.js";import{h as hapticSelectionEnd,a as hapticSelectionStart,b as hapticSelectionChanged}from"./haptic-2a877838.js";import{createGesture}from"./index-39782642.js";var createButtonActiveGesture=function(t,e){var n;var r;var i=function(t,r,i){if(typeof document==="undefined"){return}var c=document.elementFromPoint(t,r);if(!c||!e(c)||c.disabled){o();return}if(c!==n){o();a(c,i)}};var a=function(t,e){n=t;if(!r){r=n}var i=n;writeTask((function(){return i.classList.add("ion-activated")}));e()};var o=function(t){if(t===void 0){t=false}if(!n){return}var e=n;writeTask((function(){return e.classList.remove("ion-activated")}));if(t&&r!==n){n.click()}n=undefined};return createGesture({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:function(t){return i(t.currentX,t.currentY,hapticSelectionStart)},onMove:function(t){return i(t.currentX,t.currentY,hapticSelectionChanged)},onEnd:function(){o(true);hapticSelectionEnd();r=undefined}})};export{createButtonActiveGesture as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__spreadArray}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/import{p as printIonWarning}from"./ionic-global-03ec9636.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,n){var a=Array.isArray(e)?e:[e];for(var t=0,i=a;t<i.length;t++){var u=i[t];if(r!==undefined&&isBefore(u,r)||n!==undefined&&isAfter(u,n)){printIonWarning("The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(n),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var n=new Intl.DateTimeFormat(e,{hour:"numeric"});var a=n.resolvedOptions();if(a.hourCycle!==undefined){return a.hourCycle}var t=new Date("5/18/2021 00:00");var i=n.formatToParts(t);var u=i.find((function(e){return e.type==="hour"}));if(!u){throw new Error("Hour value not found from DateTimeFormat")}switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var n=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return n[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var n;if(Array.isArray(r)){n=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{n=[r]}return n};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var n=0,a=e;n<a.length;n++){var t=a[n];var i=parseDate(t);if(!i){return undefined}r.push(i)}return r}var u=null;if(e!=null&&e!==""){u=TIME_REGEXP.exec(e);if(u){u.unshift(undefined,undefined);u[2]=u[3]=undefined}else{u=ISO_8601_REGEXP.exec(e)}}if(u===null){printIonWarning("Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var o=1;o<8;o++){u[o]=u[o]!==undefined?parseInt(u[o],10):undefined}return{year:u[1],month:u[2],day:u[3],hour:u[4],minute:u[5],ampm:u[4]<12?"am":"pm"}}var clampDate=function(e,r,n){if(r&&isBefore(e,r)){return r}else if(n&&isAfter(e,n)){return n}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;var d=i!==null&&i!==void 0?i:r.year;var f=a!==null&&a!==void 0?a:12;return{month:f,day:t!==null&&t!==void 0?t:getNumDaysInMonth(f,d),year:d,hour:u!==null&&u!==void 0?u:23,minute:o!==null&&o!==void 0?o:59}};var parseMinParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;return{month:a!==null&&a!==void 0?a:1,day:t!==null&&t!==void 0?t:1,year:i!==null&&i!==void 0?i:r.year,hour:u!==null&&u!==void 0?u:0,minute:o!==null&&o!==void 0?o:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};i.day=a-r;if(i.day<1){i.month-=1}if(i.month<1){i.month=12;i.year-=1}if(i.day<1){var u=getNumDaysInMonth(i.month,i.year);i.day=u+i.day}return i};var addDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};var u=getNumDaysInMonth(n,t);i.day=a+r;if(i.day>u){i.day-=u;i.month+=1}if(i.month>12){i.month=1;i.year+=1}return i};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var n=e.month===1?e.year-1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var n=e.month===12?e.year+1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var changeYear=function(e,r){var n=e.month;var a=e.year+r;var t=getNumDaysInMonth(n,a);var i=t<e.day?t:e.day;return{month:n,year:a,day:i}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,n){if(r){return e}return convert12HourTo24Hour(e,n)};var calculateHourFromAMPM=function(e,r){var n=e.ampm,a=e.hour;var t=a;if(n==="am"&&r==="pm"){t=convert12HourTo24Hour(t,"pm")}else if(n==="pm"&&r==="am"){t=Math.abs(t-12)}return t};var validateParts=function(e,r,n){var a=e.month,t=e.day,i=e.year;var u=clampDate(Object.assign({},e),r,n);var o=getNumDaysInMonth(a,i);if(t!==null&&o<t){u.day=o}if(r!==undefined&&isSameDay(u,r)){if(u.hour!==undefined&&r.hour!==undefined){if(u.hour<r.hour){u.hour=r.hour;u.minute=r.minute}else if(u.hour===r.hour&&u.minute!==undefined&&r.minute!==undefined&&u.minute<r.minute){u.minute=r.minute}}}if(n!==undefined&&isSameDay(e,n)){if(u.hour!==undefined&&n.hour!==undefined){if(u.hour>n.hour){u.hour=n.hour;u.minute=n.minute}else if(u.hour===n.hour&&u.minute!==undefined&&n.minute!==undefined&&u.minute>n.minute){u.minute=n.minute}}}return u};var getClosestValidDate=function(e){var r=e.refParts,n=e.monthValues,a=e.dayValues,t=e.yearValues,i=e.hourValues,u=e.minuteValues,o=e.minParts,d=e.maxParts;var f=r.hour,v=r.minute,s=r.day,l=r.month,c=r.year;var m=Object.assign(Object.assign({},r),{dayOfWeek:undefined});if(t!==undefined){var y=t.filter((function(e){if(o!==undefined&&e<o.year){return false}if(d!==undefined&&e>d.year){return false}return true}));m.year=findClosestValue(c,y)}if(n!==undefined){var g=n.filter((function(e){if(o!==undefined&&m.year===o.year&&e<o.month){return false}if(d!==undefined&&m.year===d.year&&e>d.month){return false}return true}));m.month=findClosestValue(l,g)}if(s!==null&&a!==undefined){var D=a.filter((function(e){if(o!==undefined&&isBefore(Object.assign(Object.assign({},m),{day:e}),o)){return false}if(d!==undefined&&isAfter(Object.assign(Object.assign({},m),{day:e}),d)){return false}return true}));m.day=findClosestValue(s,D)}if(f!==undefined&&i!==undefined){var h=i.filter((function(e){if((o===null||o===void 0?void 0:o.hour)!==undefined&&isSameDay(m,o)&&e<o.hour){return false}if((d===null||d===void 0?void 0:d.hour)!==undefined&&isSameDay(m,d)&&e>d.hour){return false}return true}));m.hour=findClosestValue(f,h);m.ampm=parseAmPm(m.hour)}if(v!==undefined&&u!==undefined){var T=u.filter((function(e){if((o===null||o===void 0?void 0:o.minute)!==undefined&&isSameDay(m,o)&&m.hour===o.hour&&e<o.minute){return false}if((d===null||d===void 0?void 0:d.minute)!==undefined&&isSameDay(m,d)&&m.hour===d.hour&&e>d.minute){return false}return true}));m.minute=findClosestValue(v,T)}return m};var findClosestValue=function(e,r){var n=r[0];var a=Math.abs(n-e);for(var t=1;t<r.length;t++){var i=r[t];var u=Math.abs(i-e);if(u<a){n=i;a=u}}return n};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var stripTimeZone=function(e){return Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:undefined})};var getLocalizedTime=function(e,r,n,a){if(a===void 0){a={hour:"numeric",minute:"numeric"}}var t={hour:r.hour,minute:r.minute};if(t.hour===undefined||t.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},stripTimeZone(a)),{hourCycle:n})).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},t))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var n=is24Hour(r);if(n){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,n){if(n.day===null){return null}var a=getNormalizedDate(n);var t=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(a);return r?"Today, ".concat(t):t};var getMonthAndYear=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,n,a;var t=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((n=e.day)!==null&&n!==void 0?n:1,"/").concat((a=e.year)!==null&&a!==void 0?a:2023).concat(t," GMT+0000"))};var getLocalizedDateTime=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,stripTimeZone(n)).format(a)};var getLocalizedDateTimeParts=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).formatToParts(a)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var n=r==="am"?DATE_AM:DATE_PM;var a=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((function(e){return e.type==="dayPeriod"}));if(a){return a.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var hour23=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23];var hour24=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0];var getDaysOfWeek=function(e,r,n){if(n===void 0){n=0}var a=r==="ios"?"short":"narrow";var t=new Intl.DateTimeFormat(e,{weekday:a});var i=new Date("11/01/2020");var u=[];for(var o=n;o<n+7;o++){var d=new Date(i);d.setDate(d.getDate()+o);u.push(t.format(d))}return u};var getDaysOfMonth=function(e,r,n){var a=getNumDaysInMonth(e,r);var t=new Date("".concat(e,"/1/").concat(r)).getDay();var i=t>=n?t-(n+1):6-(n-t);var u=[];for(var o=1;o<=a;o++){u.push({day:o,dayOfWeek:(i+o)%7})}for(var o=0;o<=i;o++){u=__spreadArray([{day:null,dayOfWeek:null}],u,true)}return u};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,n,a,t,i,u){if(n===void 0){n="h12"}var o=getHourCycle(e,n);var d=is24Hour(o);var f=getHourData(o);var v=minutes;var s=true;var l=true;if(i){f=f.filter((function(e){return i.includes(e)}))}if(u){v=v.filter((function(e){return u.includes(e)}))}if(a){if(isSameDay(r,a)){if(a.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)>=a.hour}));s=a.hour<13}if(a.minute!==undefined){var c=false;if(a.hour!==undefined&&r.hour!==undefined){if(r.hour>a.hour){c=true}}v=v.filter((function(e){if(c){return true}return e>=a.minute}))}}else if(isBefore(r,a)){f=[];v=[];s=l=false}}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)<=t.hour}));l=t.hour>=12}if(t.minute!==undefined&&r.hour===t.hour){v=v.filter((function(e){return e<=t.minute}))}}else if(isAfter(r,t)){f=[];v=[];s=l=false}}return{hours:f,minutes:v,am:s,pm:l}};var generateMonths=function(e,r){var n={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var a={month:r.month,year:r.year,day:r.day};var t=isBefore(a,n);return t?[a,n,getNextMonth(e)]:[getPreviousMonth(e),n,a]}return[getPreviousMonth(e),n,getNextMonth(e)]};var getMonthColumnData=function(e,r,n,a,t,i){if(i===void 0){i={month:"long"}}var u=r.year;var o=[];if(t!==undefined){var d=t;if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e<=a.month}))}if((n===null||n===void 0?void 0:n.month)!==undefined){d=d.filter((function(e){return e>=n.month}))}d.forEach((function(r){var n=new Date("".concat(r,"/1/").concat(u," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);o.push({text:a,value:r})}))}else{var f=a&&a.year===u?a.month:12;var v=n&&n.year===u?n.month:1;for(var s=v;s<=f;s++){var l=new Date("".concat(s,"/1/").concat(u," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);o.push({text:c,value:s})}}return o};var getDayColumnData=function(e,r,n,a,t,i){if(i===void 0){i={day:"numeric"}}var u=r.month,o=r.year;var d=[];var f=getNumDaysInMonth(u,o);var v=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===o&&a.month===u?a.day:f;var s=(n===null||n===void 0?void 0:n.day)!==null&&(n===null||n===void 0?void 0:n.day)!==undefined&&n.year===o&&n.month===u?n.day:1;if(t!==undefined){var l=t;l=l.filter((function(e){return e>=s&&e<=v}));l.forEach((function(r){var n=new Date("".concat(u,"/").concat(r,"/").concat(o," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);d.push({text:a,value:r})}))}else{for(var c=s;c<=v;c++){var m=new Date("".concat(u,"/").concat(c,"/").concat(o," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(m);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,n,a,t){var i,u;var o=[];if(t!==undefined){o=t;if((a===null||a===void 0?void 0:a.year)!==undefined){o=o.filter((function(e){return e<=a.year}))}if((n===null||n===void 0?void 0:n.year)!==undefined){o=o.filter((function(e){return e>=n.year}))}}else{var d=r.year;var f=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d;var v=(u=n===null||n===void 0?void 0:n.year)!==null&&u!==void 0?u:d-100;for(var s=v;s<=f;s++){o.push(s)}}return o.map((function(n){return{text:getYear(e,{year:n,month:r.month,day:r.day}),value:n}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,n,a,t,i){var u=[];var o=[];var d=getAllMonthsInRange(n,a);if(i){d=d.filter((function(e){var r=e.month;return i.includes(r)}))}d.forEach((function(i){var d={month:i.month,day:null,year:i.year};var f=getDayColumnData(e,d,n,a,t,{month:"short",day:"numeric",weekday:"short"});var v=[];var s=[];f.forEach((function(n){var a=isSameDay(Object.assign(Object.assign({},d),{day:n.value}),r);s.push({text:a?getTodayLabel(e):n.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(n.value)});v.push({month:d.month,year:d.year,day:n.value})}));o=__spreadArray(__spreadArray([],o,true),v,true);u=__spreadArray(__spreadArray([],u,true),s,true)}));return{parts:o,items:u}};var getTimeColumnsData=function(e,r,n,a,t,i,u){var o=getHourCycle(e,n);var d=is24Hour(o);var f=generateTime(e,r,o,a,t,i,u),v=f.hours,s=f.minutes,l=f.am,c=f.pm;var m=v.map((function(e){return{text:getFormattedHour(e,o),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var g=[];if(l&&!d){g.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){g.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:m,dayPeriodData:g}};export{getNumDaysInMonth as A,getCombinedDateColumnData as B,getMonthColumnData as C,getDayColumnData as D,getYearColumnData as E,isMonthFirstLocale as F,getTimeColumnsData as G,isLocaleDayPeriodRTL as H,getDaysOfWeek as I,getMonthAndYear as J,getDaysOfMonth as K,getHourCycle as L,getLocalizedTime as M,getLocalizedDateTime as N,formatValue as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getNextYear as h,isBefore as i,getPreviousYear as j,getEndOfWeek as k,getStartOfWeek as l,getPreviousDay as m,getNextDay as n,getPreviousWeek as o,getNextWeek as p,parseMinParts as q,parseMaxParts as r,parseDate as s,convertToArrayOfNumbers as t,convertDataToISO as u,validateParts as v,warnIfValueOutOfBounds as w,getToday as x,getClosestValidDate as y,generateMonths as z};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
var ION_FOCUSED="ion-focused";var ION_FOCUSABLE="ion-focusable";var FOCUS_KEYS=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"];var focusVisibleUtility=null;var getOrInitFocusVisibleUtility=function(){if(!focusVisibleUtility){focusVisibleUtility=startFocusVisible()}return focusVisibleUtility};var startFocusVisible=function(t){var i=[];var o=true;var r=t?t.shadowRoot:document;var n=t?t:document.body;var u=function(t){i.forEach((function(t){return t.classList.remove(ION_FOCUSED)}));t.forEach((function(t){return t.classList.add(ION_FOCUSED)}));i=t};var e=function(){o=false;u([])};var s=function(t){o=FOCUS_KEYS.includes(t.key);if(!o){u([])}};var c=function(t){if(o&&t.composedPath!==undefined){var i=t.composedPath().filter((function(t){if(t.classList){return t.classList.contains(ION_FOCUSABLE)}return false}));u(i)}};var f=function(){if(r.activeElement===n){u([])}};r.addEventListener("keydown",s);r.addEventListener("focusin",c);r.addEventListener("focusout",f);r.addEventListener("touchstart",e,{passive:true});r.addEventListener("mousedown",e);var a=function(){r.removeEventListener("keydown",s);r.removeEventListener("focusin",c);r.removeEventListener("focusout",f);r.removeEventListener("touchstart",e);r.removeEventListener("mousedown",e)};return{destroy:a,setFocus:u}};export{getOrInitFocusVisibleUtility,startFocusVisible};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-
|
|
4
|
+
*/import{c as componentOnReady}from"./helpers-b96cdeb7.js";var attachComponent=function(e,r,n,t,o,i){return __awaiter(void 0,void 0,void 0,(function(){var a,u;return __generator(this,(function(c){switch(c.label){case 0:if(e){return[2,e.attachViewToDom(r,n,o,t)]}if(!i&&typeof n!=="string"&&!(n instanceof HTMLElement)){throw new Error("framework delegate is missing")}u=typeof n==="string"?(a=r.ownerDocument)===null||a===void 0?void 0:a.createElement(n):n;if(t){t.forEach((function(e){return u.classList.add(e)}))}if(o){Object.assign(u,o)}r.appendChild(u);return[4,new Promise((function(e){return componentOnReady(u,e)}))];case 1:c.sent();return[2,u]}}))}))};var detachComponent=function(e,r){if(r){if(e){var n=r.parentElement;return e.removeViewFromDom(n,r)}r.remove()}return Promise.resolve()};var CoreDelegate=function(){var e;var r;var n=function(n,t){var o=[];for(var i=2;i<arguments.length;i++){o[i-2]=arguments[i]}return __awaiter(void 0,__spreadArray([n,t],o,true),void 0,(function(n,t,o,i){var a,u,c,f,s,d,v;if(o===void 0){o={}}if(i===void 0){i=[]}return __generator(this,(function(m){switch(m.label){case 0:e=n;if(!t)return[3,2];f=typeof t==="string"?(a=e.ownerDocument)===null||a===void 0?void 0:a.createElement(t):t;i.forEach((function(e){return f.classList.add(e)}));Object.assign(f,o);e.appendChild(f);c=f;return[4,new Promise((function(e){return componentOnReady(f,e)}))];case 1:m.sent();return[3,3];case 2:if(e.children.length>0&&(e.tagName==="ION-MODAL"||e.tagName==="ION-POPOVER")){s=c=e.children[0];if(!s.classList.contains("ion-delegate-host")){d=(u=e.ownerDocument)===null||u===void 0?void 0:u.createElement("div");d.classList.add("ion-delegate-host");i.forEach((function(e){return d.classList.add(e)}));d.append.apply(d,e.children);e.appendChild(d);c=d}}m.label=3;case 3:v=document.querySelector("ion-app, .ion-app")||document.body;r=document.createComment("ionic teleport");e.parentNode.insertBefore(r,e);v.appendChild(e);return[2,c!==null&&c!==void 0?c:e]}}))}))};var t=function(){if(e&&r){r.parentNode.insertBefore(e,r);r.remove()}return Promise.resolve()};return{attachViewToDom:n,removeViewFromDom:t}};export{CoreDelegate as C,attachComponent as a,detachComponent as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{g as getCapacitor}from"./capacitor-
|
|
4
|
+
import{g as getCapacitor}from"./capacitor-90256979.js";var ImpactStyle;(function(t){t["Heavy"]="HEAVY";t["Medium"]="MEDIUM";t["Light"]="LIGHT"})(ImpactStyle||(ImpactStyle={}));var NotificationType;(function(t){t["Success"]="SUCCESS";t["Warning"]="WARNING";t["Error"]="ERROR"})(NotificationType||(NotificationType={}));var HapticEngine={getEngine:function(){var t=getCapacitor();if(t===null||t===void 0?void 0:t.isPluginAvailable("Haptics")){return t.Plugins.Haptics}return undefined},available:function(){var t=this.getEngine();if(!t){return false}var i=getCapacitor();if((i===null||i===void 0?void 0:i.getPlatform())==="web"){return typeof navigator!=="undefined"&&navigator.vibrate!==undefined}return true},impact:function(t){var i=this.getEngine();if(!i){return}i.impact({style:t.style})},notification:function(t){var i=this.getEngine();if(!i){return}i.notification({type:t.type})},selection:function(){this.impact({style:ImpactStyle.Light})},selectionStart:function(){var t=this.getEngine();if(!t){return}t.selectionStart()},selectionChanged:function(){var t=this.getEngine();if(!t){return}t.selectionChanged()},selectionEnd:function(){var t=this.getEngine();if(!t){return}t.selectionEnd()}};var hapticAvailable=function(){return HapticEngine.available()};var hapticSelection=function(){hapticAvailable()&&HapticEngine.selection()};var hapticSelectionStart=function(){hapticAvailable()&&HapticEngine.selectionStart()};var hapticSelectionChanged=function(){hapticAvailable()&&HapticEngine.selectionChanged()};var hapticSelectionEnd=function(){hapticAvailable()&&HapticEngine.selectionEnd()};var hapticImpact=function(t){hapticAvailable()&&HapticEngine.impact(t)};export{ImpactStyle as I,hapticSelectionStart as a,hapticSelectionChanged as b,hapticSelection as c,hapticImpact as d,hapticSelectionEnd as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/var transitionEndAsync=function(r,a){if(a===void 0){a=0}return new Promise((function(i){transitionEnd(r,a,i)}))};var transitionEnd=function(r,a,i){if(a===void 0){a=0}var e;var n;var t={passive:true};var o=500;var u=function(){if(e){e()}};var s=function(a){if(a===undefined||r===a.target){u();i(a)}};if(r){r.addEventListener("webkitTransitionEnd",s,t);r.addEventListener("transitionend",s,t);n=setTimeout(s,a+o);e=function(){if(n!==undefined){clearTimeout(n);n=undefined}r.removeEventListener("webkitTransitionEnd",s,t);r.removeEventListener("transitionend",s,t)}}return u};var componentOnReady=function(r,a){if(r.componentOnReady){r.componentOnReady().then((function(r){return a(r)}))}else{raf((function(){return a(r)}))}};var hasLazyBuild=function(r){return r.componentOnReady!==undefined};var inheritAttributes=function(r,a){if(a===void 0){a=[]}var i={};a.forEach((function(a){if(r.hasAttribute(a)){var e=r.getAttribute(a);if(e!==null){i[a]=r.getAttribute(a)}r.removeAttribute(a)}}));return i};var ariaAttributes=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var inheritAriaAttributes=function(r,a){var i=ariaAttributes;if(a&&a.length>0){i=i.filter((function(r){return!a.includes(r)}))}return inheritAttributes(r,i)};var addEventListener=function(r,a,i,e){var n;if(typeof window!=="undefined"){var t=window;var o=(n=t===null||t===void 0?void 0:t.Ionic)===null||n===void 0?void 0:n.config;if(o){var u=o.get("_ael");if(u){return u(r,a,i,e)}else if(o._ael){return o._ael(r,a,i,e)}}}return r.addEventListener(a,i,e)};var removeEventListener=function(r,a,i,e){var n;if(typeof window!=="undefined"){var t=window;var o=(n=t===null||t===void 0?void 0:t.Ionic)===null||n===void 0?void 0:n.config;if(o){var u=o.get("_rel");if(u){return u(r,a,i,e)}else if(o._rel){return o._rel(r,a,i,e)}}}return r.removeEventListener(a,i,e)};var getElementRoot=function(r,a){if(a===void 0){a=r}return r.shadowRoot||a};var raf=function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)};var hasShadowDom=function(r){return!!r.shadowRoot&&!!r.attachShadow};var focusVisibleElement=function(r){r.focus();if(r.classList.contains("ion-focusable")){var a=r.closest("ion-app");if(a){a.setFocus([r])}}};var renderHiddenInput=function(r,a,i,e,n){if(r||hasShadowDom(a)){var t=a.querySelector("input.aux-input");if(!t){t=a.ownerDocument.createElement("input");t.type="hidden";t.classList.add("aux-input");a.appendChild(t)}t.disabled=n;t.name=i;t.value=e||""}};var clamp=function(r,a,i){return Math.max(r,Math.min(a,i))};var assert=function(r,a){if(!r){var i="ASSERT: "+a;console.error(i);debugger;throw new Error(i)}};var pointerCoord=function(r){if(r){var a=r.changedTouches;if(a&&a.length>0){var i=a[0];return{x:i.clientX,y:i.clientY}}if(r.pageX!==undefined){return{x:r.pageX,y:r.pageY}}}return{x:0,y:0}};var isEndSide=function(r){var a=document.dir==="rtl";switch(r){case"start":return a;case"end":return!a;default:throw new Error('"'.concat(r,'" is not a valid value for [side]. Use "start" or "end" instead.'))}};var debounceEvent=function(r,a){var i=r._original||r;return{_original:r,emit:debounce(i.emit.bind(i),a)}};var debounce=function(r,a){if(a===void 0){a=0}var i;return function(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}clearTimeout(i);i=setTimeout.apply(void 0,__spreadArray([r,a],e,false))}};var shallowEqualStringMap=function(r,a){r!==null&&r!==void 0?r:r={};a!==null&&a!==void 0?a:a={};if(r===a){return true}var i=Object.keys(r);if(i.length!==Object.keys(a).length){return false}for(var e=0,n=i;e<n.length;e++){var t=n[e];if(!(t in a)){return false}if(r[t]!==a[t]){return false}}return true};export{addEventListener as a,removeEventListener as b,componentOnReady as c,renderHiddenInput as d,debounceEvent as e,focusVisibleElement as f,getElementRoot as g,inheritAttributes as h,inheritAriaAttributes as i,clamp as j,hasLazyBuild as k,hasShadowDom as l,assert as m,isEndSide as n,debounce as o,pointerCoord as p,raf as r,shallowEqualStringMap as s,transitionEndAsync as t};
|
|
4
|
+
*/var transitionEndAsync=function(r,a){if(a===void 0){a=0}return new Promise((function(i){transitionEnd(r,a,i)}))};var transitionEnd=function(r,a,i){if(a===void 0){a=0}var e;var n;var t={passive:true};var o=500;var u=function(){if(e){e()}};var s=function(a){if(a===undefined||r===a.target){u();i(a)}};if(r){r.addEventListener("webkitTransitionEnd",s,t);r.addEventListener("transitionend",s,t);n=setTimeout(s,a+o);e=function(){if(n!==undefined){clearTimeout(n);n=undefined}r.removeEventListener("webkitTransitionEnd",s,t);r.removeEventListener("transitionend",s,t)}}return u};var componentOnReady=function(r,a){if(r.componentOnReady){r.componentOnReady().then((function(r){return a(r)}))}else{raf((function(){return a(r)}))}};var hasLazyBuild=function(r){return r.componentOnReady!==undefined};var inheritAttributes=function(r,a){if(a===void 0){a=[]}var i={};a.forEach((function(a){if(r.hasAttribute(a)){var e=r.getAttribute(a);if(e!==null){i[a]=r.getAttribute(a)}r.removeAttribute(a)}}));return i};var ariaAttributes=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var inheritAriaAttributes=function(r,a){var i=ariaAttributes;if(a&&a.length>0){i=i.filter((function(r){return!a.includes(r)}))}return inheritAttributes(r,i)};var addEventListener=function(r,a,i,e){var n;if(typeof window!=="undefined"){var t=window;var o=(n=t===null||t===void 0?void 0:t.Ionic)===null||n===void 0?void 0:n.config;if(o){var u=o.get("_ael");if(u){return u(r,a,i,e)}else if(o._ael){return o._ael(r,a,i,e)}}}return r.addEventListener(a,i,e)};var removeEventListener=function(r,a,i,e){var n;if(typeof window!=="undefined"){var t=window;var o=(n=t===null||t===void 0?void 0:t.Ionic)===null||n===void 0?void 0:n.config;if(o){var u=o.get("_rel");if(u){return u(r,a,i,e)}else if(o._rel){return o._rel(r,a,i,e)}}}return r.removeEventListener(a,i,e)};var getElementRoot=function(r,a){if(a===void 0){a=r}return r.shadowRoot||a};var raf=function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)};var hasShadowDom=function(r){return!!r.shadowRoot&&!!r.attachShadow};var focusVisibleElement=function(r){r.focus();if(r.classList.contains("ion-focusable")){var a=r.closest("ion-app, .ion-app");if(a){a.setFocus([r])}}};var renderHiddenInput=function(r,a,i,e,n){if(r||hasShadowDom(a)){var t=a.querySelector("input.aux-input");if(!t){t=a.ownerDocument.createElement("input");t.type="hidden";t.classList.add("aux-input");a.appendChild(t)}t.disabled=n;t.name=i;t.value=e||""}};var clamp=function(r,a,i){return Math.max(r,Math.min(a,i))};var assert=function(r,a){if(!r){var i="ASSERT: "+a;console.error(i);debugger;throw new Error(i)}};var pointerCoord=function(r){if(r){var a=r.changedTouches;if(a&&a.length>0){var i=a[0];return{x:i.clientX,y:i.clientY}}if(r.pageX!==undefined){return{x:r.pageX,y:r.pageY}}}return{x:0,y:0}};var isEndSide=function(r){var a=document.dir==="rtl";switch(r){case"start":return a;case"end":return!a;default:throw new Error('"'.concat(r,'" is not a valid value for [side]. Use "start" or "end" instead.'))}};var debounceEvent=function(r,a){var i=r._original||r;return{_original:r,emit:debounce(i.emit.bind(i),a)}};var debounce=function(r,a){if(a===void 0){a=0}var i;return function(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}clearTimeout(i);i=setTimeout.apply(void 0,__spreadArray([r,a],e,false))}};var shallowEqualStringMap=function(r,a){r!==null&&r!==void 0?r:r={};a!==null&&a!==void 0?a:a={};if(r===a){return true}var i=Object.keys(r);if(i.length!==Object.keys(a).length){return false}for(var e=0,n=i;e<n.length;e++){var t=n[e];if(!(t in a)){return false}if(r[t]!==a[t]){return false}}return true};export{addEventListener as a,removeEventListener as b,componentOnReady as c,renderHiddenInput as d,debounceEvent as e,focusVisibleElement as f,getElementRoot as g,inheritAttributes as h,inheritAriaAttributes as i,clamp as j,hasLazyBuild as k,hasShadowDom as l,assert as m,isEndSide as n,debounce as o,pointerCoord as p,raf as r,shallowEqualStringMap as s,transitionEndAsync as t};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/import{b as getIonMode,p as printIonWarning,d as doc,M as MENU_BACK_BUTTON_PRIORITY}from"./ionic-global-03ec9636.js";import{c as componentOnReady}from"./helpers-b96cdeb7.js";import{c as createAnimation}from"./animation-4833cc82.js";var baseAnimation=function(n){return createAnimation().duration(n?400:300)};var menuOverlayAnimation=function(n){var r;var e;var t=n.width+8;var i=createAnimation();var a=createAnimation();if(n.isEndSide){r=t+"px";e="0px"}else{r=-t+"px";e="0px"}i.addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(r,")"),"translateX(".concat(e,")"));var o=getIonMode(n);var u=o==="ios";var s=u?.2:.25;a.addElement(n.backdropEl).fromTo("opacity",.01,s);return baseAnimation(u).addAnimation([i,a])};var menuPushAnimation=function(n){var r;var e;var t=getIonMode(n);var i=n.width;if(n.isEndSide){r=-i+"px";e=i+"px"}else{r=i+"px";e=-i+"px"}var a=createAnimation().addElement(n.menuInnerEl).fromTo("transform","translateX(".concat(e,")"),"translateX(0px)");var o=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(r,")"));var u=createAnimation().addElement(n.backdropEl).fromTo("opacity",.01,.32);return baseAnimation(t==="ios").addAnimation([a,o,u])};var menuRevealAnimation=function(n){var r=getIonMode(n);var e=n.width*(n.isEndSide?-1:1)+"px";var t=createAnimation().addElement(n.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(e,")"));return baseAnimation(r==="ios").addAnimation(t)};var createMenuController=function(){var n=new Map;var r=[];var e=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.open()]}return[2,false]}}))}))};var t=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,n!==undefined?c(n,true):f()];case 1:r=e.sent();if(r!==undefined){return[2,r.close()]}return[2,false]}}))}))};var i=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n,true)];case 1:r=e.sent();if(r){return[2,r.toggle()]}return[2,false]}}))}))};var a=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.disabled=!n}return[2,e]}}))}))};var o=function(n,r){return __awaiter(void 0,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,c(r)];case 1:e=t.sent();if(e){e.swipeGesture=n}return[2,e]}}))}))};var u=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r,r;return __generator(this,(function(e){switch(e.label){case 0:if(!(n!=null))return[3,2];return[4,c(n)];case 1:r=e.sent();return[2,r!==undefined&&r.isOpen()];case 2:return[4,f()];case 3:r=e.sent();return[2,r!==undefined]}}))}))};var s=function(n){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(e){switch(e.label){case 0:return[4,c(n)];case 1:r=e.sent();if(r){return[2,!r.disabled]}return[2,false]}}))}))};var c=function(n){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(void 0,__spreadArray([n],e,true),void 0,(function(n,e){var t,i,a;if(e===void 0){e=false}return __generator(this,(function(o){switch(o.label){case 0:return[4,I()];case 1:o.sent();if(n==="start"||n==="end"){t=r.filter((function(r){return r.side===n&&!r.disabled}));if(t.length>=1){if(t.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(t.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),t.map((function(n){return n.el})))}return[2,t[0].el]}i=r.filter((function(r){return r.side===n}));if(i.length>=1){if(i.length>1&&e){printIonWarning('menuController queried for a menu on the "'.concat(n,'" side, but ').concat(i.length," menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side."),i.map((function(n){return n.el})))}return[2,i[0].el]}}else if(n!=null){return[2,b((function(r){return r.menuId===n}))]}a=b((function(n){return!n.disabled}));if(a){return[2,a]}return[2,r.length>0?r[0].el:undefined]}}))}))};var f=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,I()];case 1:n.sent();return[2,w()]}}))}))};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,I()];case 1:n.sent();return[2,g()]}}))}))};var d=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,I()];case 1:n.sent();return[2,A()]}}))}))};var _=function(r,e){n.set(r,e)};var m=function(n){if(r.indexOf(n)<0){r.push(n)}};var l=function(n){var e=r.indexOf(n);if(e>-1){r.splice(e,1)}};var h=function(n,r,e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:if(A()){return[2,false]}if(!r)return[3,3];return[4,f()];case 1:t=i.sent();if(!(t&&n.el!==t))return[3,3];return[4,t.setOpen(false,false)];case 2:i.sent();i.label=3;case 3:return[2,n._setOpen(r,e)]}}))}))};var p=function(r,e){var t=n.get(r);if(!t){throw new Error("animation not registered")}var i=t(e);return i};var w=function(){return b((function(n){return n._isOpen}))};var g=function(){return r.map((function(n){return n.el}))};var A=function(){return r.some((function(n){return n.isAnimating}))};var b=function(n){var e=r.find(n);if(e!==undefined){return e.el}return undefined};var I=function(){return Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((function(n){return new Promise((function(r){return componentOnReady(n,r)}))})))};_("reveal",menuRevealAnimation);_("push",menuPushAnimation);_("overlay",menuOverlayAnimation);doc===null||doc===void 0?void 0:doc.addEventListener("ionBackButton",(function(n){var r=w();if(r){n.detail.register(MENU_BACK_BUTTON_PRIORITY,(function(){return r.close()}))}}));return{registerAnimation:_,get:c,getMenus:v,getOpen:f,isEnabled:s,swipeGesture:o,isAnimating:d,isOpen:u,enable:a,toggle:i,close:t,open:e,_getOpenSync:w,_createAnimation:p,_register:m,_unregister:l,_setOpen:h}};var menuController=createMenuController();export{menuController as m};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as doc}from"./ionic-global-03ec9636.js";import{p as pointerCoord}from"./helpers-b96cdeb7.js";import"./index-4e02bb5d.js";var startTapClick=function(e){if(doc===undefined){return}var r=0;var t;var n;var i;var a=e.getBoolean("animated",true)&&e.getBoolean("rippleEffect",true);var f=new WeakMap;var o=function(){if(i)clearTimeout(i);i=undefined;if(t){E(false);t=undefined}};var u=function(e){if(t||e.button===2){return}v(getActivatableTarget(e),e)};var c=function(e){v(undefined,e)};var v=function(e,r){if(e&&e===t){return}if(i)clearTimeout(i);i=undefined;var n=pointerCoord(r),a=n.x,o=n.y;if(t){if(f.has(t)){throw new Error("internal error")}if(!t.classList.contains(ACTIVATED)){d(t,a,o)}E(true)}if(e){var u=f.get(e);if(u){clearTimeout(u);f.delete(e)}e.classList.remove(ACTIVATED);var c=function(){d(e,a,o);i=undefined};if(isInstant(e)){c()}else{i=setTimeout(c,ADD_ACTIVATED_DEFERS)}}t=e};var d=function(e,t,i){r=Date.now();e.classList.add(ACTIVATED);if(!a)return;var f=getRippleEffect(e);if(f!==null){T();n=f.addRipple(t,i)}};var T=function(){if(n!==undefined){n.then((function(e){return e()}));n=undefined}};var E=function(e){T();var n=t;if(!n){return}var i=CLEAR_STATE_DEFERS-Date.now()+r;if(e&&i>0&&!isInstant(n)){var a=setTimeout((function(){n.classList.remove(ACTIVATED);f.delete(n)}),CLEAR_STATE_DEFERS);f.set(n,a)}else{n.classList.remove(ACTIVATED)}};doc.addEventListener("ionGestureCaptured",o);doc.addEventListener("pointerdown",u,true);doc.addEventListener("pointerup",c,true);doc.addEventListener("pointercancel",o,true)};var getActivatableTarget=function(e){if(e.composedPath!==undefined){var r=e.composedPath();for(var t=0;t<r.length-2;t++){var n=r[t];if(!(n instanceof ShadowRoot)&&n.classList.contains("ion-activatable")){return n}}}else{return e.target.closest(".ion-activatable")}};var isInstant=function(e){return e.classList.contains("ion-activatable-instant")};var getRippleEffect=function(e){if(e.shadowRoot){var r=e.shadowRoot.querySelector("ion-ripple-effect");if(r){return r}}return e.querySelector("ion-ripple-effect")};var ACTIVATED="ion-activated";var ADD_ACTIVATED_DEFERS=100;var CLEAR_STATE_DEFERS=150;export{startTapClick};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{__assign,__awaiter,__extends,__generator,__spreadArray}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/var NAMESPACE="ionic";var BUILD={allRenderFn:false,appendChildSlotFix:true,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:true,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:true,experimentalSlotFixes:true,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:true,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:true,scriptDataOpts:false,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var __defProp=Object.defineProperty;var __export=function(e,t){for(var r in t)__defProp(e,r,{get:t[r],enumerable:true})};var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.t=e,t)};var registerHost=function(e,t){var r={i:0,$hostElement$:e,o:t,l:new Map};{r.u=new Promise((function(e){return r.v=e}))}{r.p=new Promise((function(e){return r.h=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.m.replace(/-/g,"_");var a=e.S;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[n]}
|
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var modeResolutionChain=[];var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var H=win.HTMLElement||function(){function e(){}return e}();var plt={i:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var setPlatformHelpers=function(e){Object.assign(plt,e)};var supportsShadow=BUILD.shadowDom;var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);var getAssetPath=function(e){var t=new URL(e,plt._);return t.origin!==win.location.origin?t.href:t.pathname};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,t){if(e.isOk){var r=t(e.value);if(r instanceof Promise){return r.then((function(e){return ok(e)}))}else{return ok(r)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=null;var l=false;var s=false;var u=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&s){u[u.length-1].C+=a}else{u.push(l?newVNode(null,a):a)}s=l}}};f(r);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.T=t;if(u.length>0){v.N=u}{v.R=i}{v.D=o}return v};var newVNode=function(e,t){var r={i:0,$:e,C:t,k:null,N:null};{r.T=null}{r.R=null}{r.D=null}return r};var Host={};var isHost=function(e){return e&&e.$===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.T,vchildren:e.N,vkey:e.R,vname:e.D,vtag:e.$,vtext:e.C}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=__assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.T=e.vattrs;r.N=e.vchildren;r.R=e.vkey;r.D=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var a=createTime("hydrateClient",t);var i=e.shadowRoot;var o=[];var l=[];var s=i?[]:null;var u=n.I=newVNode(t,null);if(!plt.A){initializeDocumentHydrate(doc.body,plt.A=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(u,o,l,s,e,e,r);o.map((function(e){var r=e.H+"."+e.L;var n=plt.A.get(r);var a=e.k;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}plt.A.delete(r)}));if(i){s.map((function(e){if(e){i.appendChild(e)}}))}a()};var clientHydrate=function(e,t,r,n,a,i,o){var l;var s;var u;var f;if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){s=l.split(".");if(s[0]===o||s[0]==="0"){u={i:0,H:s[0],L:s[1],O:s[2],M:s[3],$:i.tagName.toLowerCase(),k:i,T:null,N:null,R:null,D:null,C:null};t.push(u);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.N){e.N=[]}e.N[u.M]=u;e=u;if(n&&u.O==="0"){n[u.M]=u.k}}}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.shadowRoot.childNodes[f],o)}}for(f=i.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.childNodes[f],o)}}else if(i.nodeType===8){s=i.nodeValue.split(".");if(s[1]===o||s[1]==="0"){l=s[0];u={i:0,H:s[1],L:s[2],O:s[3],M:s[4],k:i,T:null,N:null,R:null,D:null,$:null,C:null};if(l===TEXT_NODE_ID){u.k=i.nextSibling;if(u.k&&u.k.nodeType===3){u.C=u.k.textContent;t.push(u);i.remove();if(!e.N){e.N=[]}e.N[u.M]=u;if(n&&u.O==="0"){n[u.M]=u.k}}}else if(u.H===o){if(l===SLOT_NODE_ID){u.$="slot";if(s[5]){i["s-sn"]=u.D=s[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){u.k=doc.createElement(u.$);if(u.D){u.k.setAttribute("name",u.D)}i.parentNode.insertBefore(u.k,i);i.remove();if(u.O==="0"){n[u.M]=u.k}}r.push(u);if(!e.N){e.N=[]}e.N[u.M]=u}else if(l===CONTENT_REF_ID){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$==="style"){var c=newVNode(null,i.textContent);c.k=i;c.M="0";e.N=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}for(r=0;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var computeMode=function(e){return modeResolutionChain.map((function(t){return t(e)})).find((function(e){return!!e}))};var setMode=function(e){return modeResolutionChain.push(e)};var getMode=function(e){return getHostRef(e).V};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t,r);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]')))){l.innerHTML=i}else{l=doc.createElement("style");l.innerHTML=i;var s=(n=plt.P)!=null?n:queryNonceMetaTagContent(doc);if(s!=null){l.setAttribute("nonce",s)}if(!(t.i&1)){if(e.nodeName==="HEAD"){var u=e.querySelectorAll("link[rel=preconnect]");var f=u.length>0?u[u.length-1].nextSibling:document.querySelector("style");e.insertBefore(l,f)}else if("host"in e){e.prepend(l)}else{e.append(l)}}if(t.i&1&&e.nodeName!=="HEAD"){e.insertBefore(l,null)}}if(t.i&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.o;var r=e.$hostElement$;var n=t.i;var a=createTime("attachStyles",t.m);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.V);if(n&10&&n&2){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+(t&&e.i&32?e.m+"-"+t:e.m)};var setAccessor=function(e,t,r,n,a,i){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var s=e.classList;var u=parseClassList(r);var f=parseClassList(n);s.remove.apply(s,u.filter((function(e){return e&&!f.includes(e)})));s.add.apply(s,f.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){if(typeof e.__lookupSetter__(t)==="function"){e[t]=p}else{e.setAttribute(t,p)}}}else{e[t]=n}}catch(e){}}var h=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(h){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!d){n=n===true?"":n;if(h){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r){var n=t.k.nodeType===11&&t.k.host?t.k.host:t.k;var a=e&&e.T||EMPTY_OBJ;var i=t.T||EMPTY_OBJ;{for(var o=0,l=sortedAttrNames(Object.keys(a));o<l.length;o++){var s=l[o];if(!(s in i)){setAccessor(n,s,a[s],void 0,r,t.i)}}}for(var u=0,f=sortedAttrNames(Object.keys(i));u<f.length;u++){var s=f[u];setAccessor(n,s,a[s],i[s],r,t.i)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,t,r,n){var a;var i=t.N[r];var o=0;var l;var s;var u;if(!useNativeShadowDom){checkSlotRelocate=true;if(i.$==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}i.i|=i.N?2:1}}if(i.C!==null){l=i.k=doc.createTextNode(i.C)}else if(i.i&1){l=i.k=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=i.$==="svg"}l=i.k=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&i.i&2?"slot-fb":i.$);if(isSvgMode&&i.$==="foreignObject"){isSvgMode=false}{updateElement(null,i,isSvgMode)}var f=l.getRootNode();var c=!f.querySelector("body");if(!c&&BUILD.scoped&&isDef(scopeId)&&l["s-si"]!==scopeId){l.classList.add(l["s-si"]=scopeId)}{updateElementScopeIds(l,n)}if(i.N){for(o=0;o<i.N.length;++o){s=createElm(e,i,o,l);if(s){l.appendChild(s)}}}{if(i.$==="svg"){isSvgMode=false}else if(l.tagName==="foreignObject"){isSvgMode=true}}}l["s-hn"]=hostTagName;{if(i.i&(2|1)){l["s-sr"]=true;l["s-cr"]=contentRef;l["s-sn"]=i.D||"";l["s-rf"]=(a=i.T)==null?void 0:a.ref;u=e&&e.N&&e.N[r];if(u&&u.$===i.$&&e.k){{relocateToHostRoot(e.k)}}}}return l};var relocateToHostRoot=function(e){plt.i|=1;var t=e.closest(hostTagName.toLowerCase());if(t!=null){var r=Array.from(t.childNodes).find((function(e){return e["s-cr"]}));var n=Array.from(e.childNodes);for(var a=0,i=r?n.reverse():n;a<i.length;a++){var o=i[a];if(o["s-sh"]!=null){insertBefore(t,o,r!=null?r:null);o["s-sh"]=void 0;checkSlotRelocate=true}}}plt.i&=~1};var putBackInOriginalLocation=function(e,t){plt.i|=1;var r=Array.from(e.childNodes);if(e["s-sr"]&&BUILD.experimentalSlotFixes){var n=e;while(n=n.nextSibling){if(n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===hostTagName){r.push(n)}}}for(var a=r.length-1;a>=0;a--){var i=r[a];if(i["s-hn"]!==hostTagName&&i["s-ol"]){insertBefore(parentReferenceNode(i),i,referenceNode(i));i["s-ol"].remove();i["s-ol"]=void 0;i["s-sh"]=void 0;checkSlotRelocate=true}if(t){putBackInOriginalLocation(i,t)}}plt.i&=~1};var addVnodes=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){l=createElm(null,r,a,e);if(l){n[a].k=l;insertBefore(o,l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.k;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var s=0;var u=t.length-1;var f=t[0];var c=t[u];var v=n.length-1;var d=n[0];var p=n[v];var h;var m;while(i<=u&&o<=v){if(f==null){f=t[++i]}else if(c==null){c=t[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--u];p=n[--v]}else if(isSameVnode(f,p,a)){if(f.$==="slot"||p.$==="slot"){putBackInOriginalLocation(f.k.parentNode,false)}patch(f,p,a);insertBefore(e,f.k,c.k.nextSibling);f=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){if(f.$==="slot"||p.$==="slot"){putBackInOriginalLocation(c.k.parentNode,false)}patch(c,d,a);insertBefore(e,c.k,f.k);c=t[--u];d=n[++o]}else{l=-1;{for(s=i;s<=u;++s){if(t[s]&&t[s].R!==null&&t[s].R===d.R){l=s;break}}}if(l>=0){m=t[l];if(m.$!==d.$){h=createElm(t&&t[o],r,l,e)}else{patch(m,d,a);t[l]=void 0;h=m.k}d=n[++o]}else{h=createElm(t&&t[o],r,o,e);d=n[++o]}if(h){{insertBefore(parentReferenceNode(f.k),h,referenceNode(f.k))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].k,r,n,o,v)}else if(o>v){removeVnodes(t,i,u)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.$===t.$){if(e.$==="slot"){if("L"in e&&r&&e.k.nodeType!==8){return false}return e.D===t.D}if(!r){return e.R===t.R}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.k=e.k;var a=e.N;var i=t.N;var o=t.$;var l=t.C;var s;if(l===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot"&&!useNativeShadowDom){if(e.D!==t.D){t.k["s-sn"]=t.D||"";relocateToHostRoot(t.k.parentElement)}}else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){if(e.C!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(!r&&BUILD.updatable&&a!==null){removeVnodes(a,0,a.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.C!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var a=n[r];if(a.nodeType===1){if(a["s-sr"]){var i=a["s-sn"];a.hidden=false;for(var o=0,l=t;o<l.length;o++){var s=l[o];if(s!==a){if(s["s-hn"]!==a["s-hn"]||i!==""){if(s.nodeType===1&&(i===s.getAttribute("slot")||i===s["s-sn"])||s.nodeType===3&&i===s["s-sn"]){a.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var a=0,i=e.childNodes;a<i.length;a++){var o=i[a];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var s=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==o["s-hn"])){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.F===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.F["s-sh"]=o["s-hn"];e.B=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({B:o,F:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.F,t["s-sn"])){e=relocateNodes.find((function(e){return e.F===t}));if(e&&!r.B){r.B=e.B}}}))}}else if(!relocateNodes.some((function(e){return e.F===t}))){relocateNodes.push({F:t})}}};for(n=r.length-1;n>=0;n--){s()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.T&&e.T.ref&&e.T.ref(null);e.N&&e.N.map(nullifyVNodeRefs)}};var insertBefore=function(e,t,r){var n=e==null?void 0:e.insertBefore(t,r);{updateElementScopeIds(t,e)}return n};var findScopeIds=function(e){var t=[];if(e){t.push.apply(t,__spreadArray(__spreadArray(__spreadArray([],e["s-scs"]||[],false),[e["s-si"],e["s-sc"]],false),findScopeIds(e.parentElement),false))}return t};var updateElementScopeIds=function(e,t,r){if(r===void 0){r=false}var n;if(e&&t&&e.nodeType===1){var a=new Set(findScopeIds(t).filter(Boolean));if(a.size){(n=e.classList)==null?void 0:n.add.apply(n,e["s-scs"]=__spreadArray([],a,true));if(e["s-ol"]||r){for(var i=0,o=Array.from(e.childNodes);i<o.length;i++){var l=o[i];updateElementScopeIds(l,e,true)}}}}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,a,i,o,l;var s=e.$hostElement$;var u=e.o;var f=e.I||newVNode(null,null);var c=isHost(t)?t:h(null,null,t);hostTagName=s.tagName;if(u.U){c.T=c.T||{};u.U.map((function(e){var t=e[0],r=e[1];return c.T[r]=s[t]}))}if(r&&c.T){for(var v=0,d=Object.keys(c.T);v<d.length;v++){var p=d[v];if(s.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){c.T[p]=s[p]}}}c.$=null;c.i|=4;e.I=c;c.k=f.k=s.shadowRoot||s;{scopeId=s["s-sc"]}useNativeShadowDom=(u.i&1)!==0;{contentRef=s["s-cr"];checkSlotFallbackVisibility=false}patch(f,c,r);{plt.i|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.k);for(var m=0,S=relocateNodes;m<S.length;m++){var g=S[m];var y=g.F;if(!y["s-ol"]){var _=doc.createTextNode("");_["s-nr"]=y;insertBefore(y.parentNode,y["s-ol"]=_,y)}}for(var C=0,T=relocateNodes;C<T.length;C++){var g=T[C];var y=g.F;var b=g.B;if(b){var w=b.parentNode;var N=b.nextSibling;if(N&&N.nodeType===1){var _=(n=y["s-ol"])==null?void 0:n.previousSibling;while(_){var E=(a=_["s-nr"])!=null?a:null;if(E&&E["s-sn"]===y["s-sn"]&&w===E.parentNode){E=E.nextSibling;while(E===y||(E==null?void 0:E["s-sr"])){E=E==null?void 0:E.nextSibling}if(!E||!E["s-nr"]){N=E;break}}_=_.previousSibling}}if(!N&&w!==y.parentNode||y.nextSibling!==N){if(y!==N){insertBefore(w,y,N);if(y.nodeType===1){y.hidden=(i=y["s-ih"])!=null?i:false}}}y&&typeof b["s-rf"]==="function"&&b["s-rf"](y)}else{if(y.nodeType===1){if(r){y["s-ih"]=(o=y.hidden)!=null?o:false}y.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.k)}plt.i&=~1;relocateNodes.length=0}if(u.i&2){for(var R=0,D=c.k.childNodes;R<D.length;R++){var $=D[R];if($["s-hn"]!==hostTagName&&!$["s-sh"]){if(r&&$["s-ih"]==null){$["s-ih"]=(l=$.hidden)!=null?l:false}$.hidden=true}}}contentRef=void 0};var attachToAncestor=function(e,t){if(t&&!e.j&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.j=t})))}};var scheduleUpdate=function(e,t){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.q);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.o.m);var a=e.t;if(!a){throw new Error("Can't render component <".concat(r.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(t){{e.i|=256;if(e.Y){e.Y.map((function(e){var t=e[0],r=e[1];return safeCall(a,t,r)}));e.Y=void 0}}{i=safeCall(a,"componentWillLoad")}}{i=enqueue(i,(function(){return safeCall(a,"componentWillRender")}))}n();return enqueue(i,(function(){return updateComponent(e,a,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.o.m);o=a["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.o.m);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=void 0}l();i();{s=(n=a["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.i|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render&&t.render();{e.i&=~16}{e.i|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.o.m;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.t;var i=e.q;{safeCall(a,"componentDidRender")}if(!(e.i&64)){e.i|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.h(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.v(r)}{if(e.j){e.j();e.j=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.i&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return void 0};var addHydratedFlag=function(e){var t;return e.classList.add((t=BUILD.hydratedSelectorName)!=null?t:"hydrated")};var getValue=function(e,t){return getHostRef(e).l.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.m,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var i=a.$hostElement$;var o=a.l.get(t);var l=a.i;var s=a.t;r=parsePropertyValue(r,n.W[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!u;if((!(l&8)||o===void 0)&&f){a.l.set(t,r);if(s){if(n.X&&l&128){var c=n.X[t];if(c){c.map((function(e){try{s[e](r,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n,a;var i=e.prototype;if(t.W||(t.X||e.watchers)){if(e.watchers&&!t.X){t.X=e.watchers}var o=Object.entries((n=t.W)!=null?n:{});o.map((function(e){var n=e[0],a=e[1][0];if(a&31||r&2&&a&32){Object.defineProperty(i,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&a&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var a=getHostRef(this);return(r=a==null?void 0:a.u)==null?void 0:r.then((function(){var t;return(t=a.t)==null?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var l=new Map;i.attributeChangedCallback=function(e,r,n){var a=this;plt.jmp((function(){var o;var s=l.get(e);if(a.hasOwnProperty(s)){n=a[s];delete a[s]}else if(i.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==n){return}else if(s==null){var u=getHostRef(a);var f=u==null?void 0:u.i;if(f&&!(f&8)&&f&128&&n!==r){var c=u.t;var v=(o=t.X)==null?void 0:o[e];v==null?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}a[s]=n===null&&typeof a[s]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=t.X)!=null?a:{}),true),o.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;l.set(i,r);if(n[0]&512){(a=t.U)==null?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((t.i&32)===0))return[3,6];t.i|=32;a=r.S;if(!a)return[3,4];i=loadModule(r);if(!(i&&"then"in i))return[3,2];o=uniqueTime();return[4,i];case 1:n=p.sent();o();return[3,3];case 2:n=i;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(r.m,"#").concat(t.V,'" was not found'))}if(!n.isProxied){{r.X=n.watchers}proxyComponent(n,r,2);n.isProxied=true}l=createTime("createInstance",r.m);{t.i|=8}try{new n(t)}catch(e){consoleError(e)}{t.i&=~8}{t.i|=128}l();fireConnectedCallback(t.t);return[3,5];case 4:n=e.constructor;s=e.localName;customElements.whenDefined(s).then((function(){return t.i|=128}));p.label=5;case 5:if(n&&n.style){u=void 0;if(typeof n.style==="string"){u=n.style}else if(typeof n.style!=="string"){t.V=computeMode(e);if(t.V){u=n.style[t.V]}}f=getScopeId(r,t.V);if(!styles.has(f)){c=createTime("registerStyles",r.m);registerStyle(f,u,!!(r.i&1));c()}}p.label=6;case 6:v=t.q;d=function(){return scheduleUpdate(t,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.i&1)===0){var t=getHostRef(e);var r=t.o;var n=createTime("connectedCallback",r.m);if(!(t.i&1)){t.i|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(r.i&1){var i=addStyle(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(i+"-h",i+"-s")}initializeClientHydrate(e,r.m,a,t)}}if(!a){if(r.i&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.q=o);break}}}if(r.W){Object.entries(r.W).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.G);if(t==null?void 0:t.t){fireConnectedCallback(t.t)}else if(t==null?void 0:t.p){t.p.then((function(){return fireConnectedCallback(t.t)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;insertBefore(e,t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.i&1)===0){t=getHostRef(e);{if(t.K){t.K.map((function(e){return e()}));t.K=void 0}}if(t==null?void 0:t.t){disconnectInstance(t.t)}else if(t==null?void 0:t.p){t.p.then((function(){return disconnectInstance(t.t)}))}}return[2]}))}))};var patchPseudoShadowDom=function(e,t){patchCloneNode(e);patchSlotAppendChild(e);patchSlotAppend(e);patchSlotPrepend(e);patchSlotInsertAdjacentElement(e);patchSlotInsertAdjacentHTML(e);patchSlotInsertAdjacentText(e);patchTextContent(e);patchChildSlotNodes(e,t);patchSlotRemoveChild(e)};var patchCloneNode=function(e){var t=e.cloneNode;e.cloneNode=function(e){var r=this;var n=r.shadowRoot&&supportsShadow;var a=t.call(r,n?e:false);if(!n&&e){var i=0;var o=void 0,l=void 0;var s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];for(;i<r.childNodes.length;i++){o=r.childNodes[i]["s-nr"];l=s.every((function(e){return!r.childNodes[i][e]}));if(o){if(a.__appendChild){a.__appendChild(o.cloneNode(true))}else{a.appendChild(o.cloneNode(true))}}if(l){a.appendChild(r.childNodes[i].cloneNode(true))}}}return a}};var patchSlotAppendChild=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=getSlotName(e);var r=getHostSlotNode(this.childNodes,t,this.tagName);if(r){var n=getHostSlotChildNodes(r,t);var a=n[n.length-1];var i=insertBefore(a.parentNode,e,a.nextSibling);updateFallbackSlotVisibility(this);return i}return this.__appendChild(e)}};var patchSlotRemoveChild=function(e){e.__removeChild=e.removeChild;e.removeChild=function(e){if(e&&typeof e["s-sn"]!=="undefined"){var t=getHostSlotNode(this.childNodes,e["s-sn"],this.tagName);if(t){var r=getHostSlotChildNodes(t,e["s-sn"]);var n=r.find((function(t){return t===e}));if(n){n.remove();updateFallbackSlotVisibility(this);return}}}return this.__removeChild(e)}};var patchSlotPrepend=function(e){var t=e.prepend;e.prepend=function(){var e=this;var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}r.forEach((function(r){if(typeof r==="string"){r=e.ownerDocument.createTextNode(r)}var n=r["s-sn"]=getSlotName(r);var a=getHostSlotNode(e.childNodes,n,e.tagName);if(a){var i=document.createTextNode("");i["s-nr"]=r;a["s-cr"].parentNode.__appendChild(i);r["s-ol"]=i;var o=getHostSlotChildNodes(a,n);var l=o[0];return insertBefore(l.parentNode,r,l.nextSibling)}if(r.nodeType===1&&!!r.getAttribute("slot")){r.hidden=true}return t.call(e,r)}))}};var patchSlotAppend=function(e){e.append=function(){var e=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}t.forEach((function(t){if(typeof t==="string"){t=e.ownerDocument.createTextNode(t)}e.appendChild(t)}))}};var patchSlotInsertAdjacentHTML=function(e){var t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}var n=this.ownerDocument.createElement("_");var a;n.innerHTML=r;if(e==="afterbegin"){while(a=n.firstChild){this.prepend(a)}}else if(e==="beforeend"){while(a=n.firstChild){this.append(a)}}}};var patchSlotInsertAdjacentText=function(e){e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}};var patchSlotInsertAdjacentElement=function(e){var t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}if(e==="afterbegin"){this.prepend(r);return r}else if(e==="beforeend"){this.append(r);return r}return r}};var patchTextContent=function(e){var t=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",t);{Object.defineProperty(e,"textContent",{get:function(){var e=getAllChildSlotNodes(this.childNodes);var t=e.map((function(e){var t,r;var n=[];var a=e.nextSibling;while(a&&a["s-sn"]===e["s-sn"]){if(a.nodeType===3||a.nodeType===1){n.push((r=(t=a.textContent)==null?void 0:t.trim())!=null?r:"")}a=a.nextSibling}return n.filter((function(e){return e!==""})).join(" ")})).filter((function(e){return e!==""})).join(" ");return" "+t+" "},set:function(e){var t=this;var r=getAllChildSlotNodes(this.childNodes);r.forEach((function(r){var n=r.nextSibling;while(n&&n["s-sn"]===r["s-sn"]){var a=n;n=n.nextSibling;a.remove()}if(r["s-sn"]===""){var i=t.ownerDocument.createTextNode(e);i["s-sn"]="";insertBefore(r.parentElement,i,r.nextSibling)}else{r.remove()}}))}})}};var patchChildSlotNodes=function(e,t){var r=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.i&8){var n=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=n.call(this);if((plt.i&1)===0&&getHostRef(this).i&2){var t=new r;for(var a=0;a<e.length;a++){var i=e[a]["s-nr"];if(i){t.push(i)}}return t}return r.from(e)}})}};var getAllChildSlotNodes=function(e){var t=[];for(var r=0,n=Array.from(e);r<n.length;r++){var a=n[r];if(a["s-sr"]){t.push(a)}t.push.apply(t,getAllChildSlotNodes(a.childNodes))}return t};var getSlotName=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var getHostSlotNode=function(e,t,r){var n=0;var a;for(;n<e.length;n++){a=e[n];if(a["s-sr"]&&a["s-sn"]===t&&a["s-hn"]===r){return a}a=getHostSlotNode(a.childNodes,t,r);if(a){return a}}return null};var getHostSlotChildNodes=function(e,t){var r=[e];while((e=e.nextSibling)&&e["s-sn"]===t){r.push(e)}return r};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=doc.head;var s=l.querySelector("meta[charset]");var u=doc.createElement("style");var f=[];var c;var v=true;Object.assign(plt,t);plt._=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.i|=2}var d=false;e.map((function(e){e[1].map((function(t){var r;var n={i:t[0],m:t[1],W:t[2],G:t[3]};if(n.i&4){d=true}{n.W=t[2]}{n.G=t[3]}{n.U=[]}{n.X=(r=t[4])!=null?r:{}}var l=n.m;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.hasRegisteredEventListeners=false;t=r;registerHost(t,n);if(n.i&1){{if(!t.shadowRoot){{t.attachShadow({mode:"open",delegatesFocus:!!(n.i&16)})}}else{if(t.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.m,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return r}t.prototype.connectedCallback=function(){var e=this;var t=getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,t,n.G)}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).p};return t}(HTMLElement);{if(n.i&2){patchPseudoShadowDom(s.prototype,n)}}n.S=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(s,n,1))}}))}));if(a.length>0){if(d){u.textContent+=SLOT_FB_CSS}{u.textContent+=a.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var p=(r=plt.P)!=null?r:queryNonceMetaTagContent(doc);if(p!=null){u.setAttribute("nonce",p)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,i);var s=hostListenerOpts(n);plt.ael(o,a,l,s);(t.K=t.K||[]).push((function(){return plt.rel(o,a,l,s)}))}))}};var hostListenerProxy=function(e,t){return function(r){var n;try{{if(e.i&256){(n=e.t)==null?void 0:n[t](r)}else{(e.Y=e.Y||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.P=e};export{Build as B,H,setPlatformHelpers as a,bootstrapLazy as b,setMode as c,createEvent as d,readTask as e,Host as f,getMode as g,h,getElement as i,forceUpdate as j,getAssetPath as k,promiseResolve as p,registerInstance as r,setNonce as s,writeTask as w};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__awaiter,__generator}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/import{c as componentOnReady}from"./helpers-b96cdeb7.js";import{f as printRequiredElementError}from"./ionic-global-03ec9636.js";var ION_CONTENT_TAG_NAME="ION-CONTENT";var ION_CONTENT_ELEMENT_SELECTOR="ion-content";var ION_CONTENT_CLASS_SELECTOR=".ion-content-scroll-host";var ION_CONTENT_SELECTOR="".concat(ION_CONTENT_ELEMENT_SELECTOR,", ").concat(ION_CONTENT_CLASS_SELECTOR);var isIonContent=function(n){return n.tagName===ION_CONTENT_TAG_NAME};var getScrollElement=function(n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!isIonContent(n))return[3,2];return[4,new Promise((function(r){return componentOnReady(n,r)}))];case 1:r.sent();return[2,n.getScrollElement()];case 2:return[2,n]}}))}))};var findIonContent=function(n){var r=n.querySelector(ION_CONTENT_CLASS_SELECTOR);if(r){return r}return n.querySelector(ION_CONTENT_SELECTOR)};var findClosestIonContent=function(n){return n.closest(ION_CONTENT_SELECTOR)};var scrollToTop=function(n,r){if(isIonContent(n)){var t=n;return t.scrollToTop(r)}return Promise.resolve(n.scrollTo({top:0,left:0,behavior:r>0?"smooth":"auto"}))};var scrollByPoint=function(n,r,t,o){if(isIonContent(n)){var e=n;return e.scrollByPoint(r,t,o)}return Promise.resolve(n.scrollBy({top:t,left:r,behavior:o>0?"smooth":"auto"}))};var printIonContentErrorMsg=function(n){return printRequiredElementError(n,ION_CONTENT_ELEMENT_SELECTOR)};var disableContentScrollY=function(n){if(isIonContent(n)){var r=n;var t=r.scrollY;r.scrollY=false;return t}else{n.style.setProperty("overflow","hidden");return true}};var resetContentScrollY=function(n,r){if(isIonContent(n)){n.scrollY=r}else{n.style.removeProperty("overflow")}};export{ION_CONTENT_CLASS_SELECTOR as I,findIonContent as a,ION_CONTENT_ELEMENT_SELECTOR as b,scrollByPoint as c,disableContentScrollY as d,findClosestIonContent as f,getScrollElement as g,isIonContent as i,printIonContentErrorMsg as p,resetContentScrollY as r,scrollToTop as s};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__awaiter,__generator}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/import{c as config,p as printIonWarning}from"./ionic-global-03ec9636.js";import{w as writeTask,B as Build}from"./index-4e02bb5d.js";import{r as raf}from"./helpers-b96cdeb7.js";var LIFECYCLE_WILL_ENTER="ionViewWillEnter";var LIFECYCLE_DID_ENTER="ionViewDidEnter";var LIFECYCLE_WILL_LEAVE="ionViewWillLeave";var LIFECYCLE_DID_LEAVE="ionViewDidLeave";var LIFECYCLE_WILL_UNLOAD="ionViewWillUnload";var moveFocus=function(n){n.tabIndex=-1;n.focus()};var isVisible=function(n){return n.offsetParent!==null};var createFocusController=function(){var n=function(n){var e=config.get("focusManagerPriority",false);if(e){var r=document.activeElement;if(r!==null&&(n===null||n===void 0?void 0:n.contains(r))){r.setAttribute(LAST_FOCUS,"true")}}};var e=function(n){var e=config.get("focusManagerPriority",false);if(Array.isArray(e)&&!n.contains(document.activeElement)){var r=n.querySelector("[".concat(LAST_FOCUS,"]"));if(r&&isVisible(r)){moveFocus(r);return}for(var i=0,t=e;i<t.length;i++){var a=t[i];switch(a){case"content":var o=n.querySelector('main, [role="main"]');if(o&&isVisible(o)){moveFocus(o);return}break;case"heading":var s=n.querySelector('h1, [role="heading"][aria-level="1"]');if(s&&isVisible(s)){moveFocus(s);return}break;case"banner":var u=n.querySelector('header, [role="banner"]');if(u&&isVisible(u)){moveFocus(u);return}break;default:printIonWarning("Unrecognized focus manager priority value ".concat(a));break}}moveFocus(n)}};return{saveViewFocus:n,setViewFocus:e}};var LAST_FOCUS="ion-last-focus";var iosTransitionAnimation=function(){return import("./ios.transition-974d0663.js")};var mdTransitionAnimation=function(){return import("./md.transition-a592d042.js")};var focusController=createFocusController();var transition=function(n){return new Promise((function(e,r){writeTask((function(){beforeTransition(n);runTransition(n).then((function(r){if(r.animation){r.animation.destroy()}afterTransition(n);e(r)}),(function(e){afterTransition(n);r(e)}))}))}))};var beforeTransition=function(n){var e=n.enteringEl;var r=n.leavingEl;focusController.saveViewFocus(r);setZIndex(e,r,n.direction);if(n.showGoBack){e.classList.add("can-go-back")}else{e.classList.remove("can-go-back")}setPageHidden(e,false);e.style.setProperty("pointer-events","none");if(r){setPageHidden(r,false);r.style.setProperty("pointer-events","none")}};var runTransition=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r;return __generator(this,(function(i){switch(i.label){case 0:return[4,getAnimationBuilder(n)];case 1:e=i.sent();r=e&&Build.isBrowser?animation(e,n):noAnimation(n);return[2,r]}}))}))};var afterTransition=function(n){var e=n.enteringEl;var r=n.leavingEl;e.classList.remove("ion-page-invisible");e.style.removeProperty("pointer-events");if(r!==undefined){r.classList.remove("ion-page-invisible");r.style.removeProperty("pointer-events")}focusController.setViewFocus(e)};var getAnimationBuilder=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r;return __generator(this,(function(i){switch(i.label){case 0:if(!n.leavingEl||!n.animated||n.duration===0){return[2,undefined]}if(n.animationBuilder){return[2,n.animationBuilder]}if(!(n.mode==="ios"))return[3,2];return[4,iosTransitionAnimation()];case 1:r=i.sent().iosTransitionAnimation;return[3,4];case 2:return[4,mdTransitionAnimation()];case 3:r=i.sent().mdTransitionAnimation;i.label=4;case 4:e=r;return[2,e]}}))}))};var animation=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var r,i;return __generator(this,(function(t){switch(t.label){case 0:return[4,waitForReady(e,true)];case 1:t.sent();r=n(e.baseEl,e);fireWillEvents(e.enteringEl,e.leavingEl);return[4,playTransition(r,e)];case 2:i=t.sent();if(e.progressCallback){e.progressCallback(undefined)}if(i){fireDidEvents(e.enteringEl,e.leavingEl)}return[2,{hasCompleted:i,animation:r}]}}))}))};var noAnimation=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i;return __generator(this,(function(t){switch(t.label){case 0:e=n.enteringEl;r=n.leavingEl;i=config.get("focusManagerPriority",false);return[4,waitForReady(n,i)];case 1:t.sent();fireWillEvents(e,r);fireDidEvents(e,r);return[2,{hasCompleted:true}]}}))}))};var waitForReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=n.deepWait!==undefined?n.deepWait:e;if(!r)return[3,2];return[4,Promise.all([deepReady(n.enteringEl),deepReady(n.leavingEl)])];case 1:i.sent();i.label=2;case 2:return[4,notifyViewReady(n.viewIsReady,n.enteringEl)];case 3:i.sent();return[2]}}))}))};var notifyViewReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!n)return[3,2];return[4,n(e)];case 1:r.sent();r.label=2;case 2:return[2]}}))}))};var playTransition=function(n,e){var r=e.progressCallback;var i=new Promise((function(e){n.onFinish((function(n){return e(n===1)}))}));if(r){n.progressStart(true);r(n)}else{n.play()}return i};var fireWillEvents=function(n,e){lifecycle(e,LIFECYCLE_WILL_LEAVE);lifecycle(n,LIFECYCLE_WILL_ENTER)};var fireDidEvents=function(n,e){lifecycle(n,LIFECYCLE_DID_ENTER);lifecycle(e,LIFECYCLE_DID_LEAVE)};var lifecycle=function(n,e){if(n){var r=new CustomEvent(e,{bubbles:false,cancelable:false});n.dispatchEvent(r)}};var waitForMount=function(){return new Promise((function(n){return raf((function(){return raf((function(){return n()}))}))}))};var deepReady=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i;return __generator(this,(function(t){switch(t.label){case 0:e=n;if(!e)return[3,6];if(!(e.componentOnReady!=null))return[3,2];return[4,e.componentOnReady()];case 1:r=t.sent();if(r!=null){return[2]}return[3,4];case 2:if(!(e.__registerHost!=null))return[3,4];i=new Promise((function(n){return raf(n)}));return[4,i];case 3:t.sent();return[2];case 4:return[4,Promise.all(Array.from(e.children).map(deepReady))];case 5:t.sent();t.label=6;case 6:return[2]}}))}))};var setPageHidden=function(n,e){if(e){n.setAttribute("aria-hidden","true");n.classList.add("ion-page-hidden")}else{n.hidden=false;n.removeAttribute("aria-hidden");n.classList.remove("ion-page-hidden")}};var setZIndex=function(n,e,r){if(n!==undefined){n.style.zIndex=r==="back"?"99":"101"}if(e!==undefined){e.style.zIndex="100"}};var getIonPageElement=function(n){if(n.classList.contains("ion-page")){return n}var e=n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");if(e){return e}return n};export{LIFECYCLE_WILL_ENTER as L,LIFECYCLE_DID_ENTER as a,LIFECYCLE_WILL_LEAVE as b,LIFECYCLE_DID_LEAVE as c,LIFECYCLE_WILL_UNLOAD as d,deepReady as e,getIonPageElement as g,lifecycle as l,setPageHidden as s,transition as t,waitForMount as w};
|
package/dist/esm-es5/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
export{c as createAnimation}from"./animation-
|
|
4
|
+
export{c as createAnimation}from"./animation-4833cc82.js";export{a as LIFECYCLE_DID_ENTER,c as LIFECYCLE_DID_LEAVE,L as LIFECYCLE_WILL_ENTER,b as LIFECYCLE_WILL_LEAVE,d as LIFECYCLE_WILL_UNLOAD,g as getIonPageElement}from"./index-ea559016.js";export{iosTransitionAnimation}from"./ios.transition-974d0663.js";export{mdTransitionAnimation}from"./md.transition-a592d042.js";export{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";export{createGesture}from"./index-39782642.js";export{g as getPlatforms,i as initialize,a as isPlatform}from"./ionic-global-03ec9636.js";export{c as componentOnReady}from"./helpers-b96cdeb7.js";export{I as IonicSafeString,g as getMode,s as setupConfig}from"./config-49c88215.js";export{o as openURL}from"./theme-01f3f29c.js";export{m as menuController}from"./index-462343ab.js";export{b as actionSheetController,a as alertController,l as loadingController,m as modalController,p as pickerController,c as popoverController,t as toastController}from"./overlays-7d2c4725.js";import"./index-4e02bb5d.js";import"./gesture-controller-314a54f6.js";import"./framework-delegate-3b8e3146.js";var IonicSlides=function(e){var o=e.swiper,t=e.extendParams;var s={effect:undefined,direction:"horizontal",initialSlide:0,loop:false,parallax:false,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:false,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:false,freeModeMomentum:true,freeModeMomentumRatio:1,freeModeMomentumBounce:true,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:false,freeModeMinimumVelocity:.02,autoHeight:false,setWrapperSize:false,zoom:{maxRatio:3,minRatio:1,toggle:false},touchRatio:1,touchAngle:45,simulateTouch:true,touchStartPreventDefault:false,shortSwipes:true,longSwipes:true,longSwipesRatio:.5,longSwipesMs:300,followFinger:true,threshold:0,touchMoveStopPropagation:true,touchReleaseOnEdges:false,iOSEdgeSwipeDetection:false,iOSEdgeSwipeThreshold:20,resistance:true,resistanceRatio:.85,watchSlidesProgress:false,watchSlidesVisibility:false,preventClicks:true,preventClicksPropagation:true,slideToClickedSlide:false,loopAdditionalSlides:0,noSwiping:true,runCallbacksOnInit:true,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:true},flipEffect:{slideShadows:true,limitRotation:true},cubeEffect:{slideShadows:true,shadow:true,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:false},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};if(o.pagination){s.pagination={type:"bullets",clickable:false,hideOnClick:false}}if(o.scrollbar){s.scrollbar={hide:true}}t(s)};export{IonicSlides};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/import{w as win,d as doc}from"./ionic-global-03ec9636.js";import{g as getScrollElement,c as scrollByPoint,f as findClosestIonContent}from"./index-57058cbb.js";import{a as addEventListener,b as removeEventListener,r as raf,c as componentOnReady}from"./helpers-b96cdeb7.js";import{a as KeyboardResize,K as Keyboard}from"./keyboard-2f90c451.js";import"./index-4e02bb5d.js";import"./capacitor-90256979.js";var cloneMap=new WeakMap;var relocateInput=function(r,n,e,t,i){if(t===void 0){t=0}if(i===void 0){i=false}if(cloneMap.has(r)===e){return}if(e){addClone(r,n,t,i)}else{removeClone(r,n)}};var isFocused=function(r){return r===r.getRootNode().activeElement};var addClone=function(r,n,e,t){if(t===void 0){t=false}var i=n.parentNode;var o=n.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(t){o.disabled=true}i.appendChild(o);cloneMap.set(r,o);var a=r.ownerDocument;var u=a.dir==="rtl"?9999:-9999;r.style.pointerEvents="none";n.style.transform="translate3d(".concat(u,"px,").concat(e,"px,0) scale(0)")};var removeClone=function(r,n){var e=cloneMap.get(r);if(e){cloneMap.delete(r);e.remove()}r.style.pointerEvents="";n.style.transform=""};var SCROLL_AMOUNT_PADDING=50;var enableHideCaretOnScroll=function(r,n,e){if(!e||!n){return function(){return}}var t=function(e){if(isFocused(n)){relocateInput(r,n,e)}};var i=function(){return relocateInput(r,n,false)};var o=function(){return t(true)};var a=function(){return t(false)};addEventListener(e,"ionScrollStart",o);addEventListener(e,"ionScrollEnd",a);n.addEventListener("blur",i);return function(){removeEventListener(e,"ionScrollStart",o);removeEventListener(e,"ionScrollEnd",a);n.removeEventListener("blur",i)}};var SKIP_SELECTOR="input, textarea, [no-blur], [contenteditable]";var enableInputBlurring=function(){var r=true;var n=false;var e=document;var t=function(){n=true};var i=function(){r=true};var o=function(t){if(n){n=false;return}var i=e.activeElement;if(!i){return}if(i.matches(SKIP_SELECTOR)){return}var o=t.target;if(o===i){return}if(o.matches(SKIP_SELECTOR)||o.closest(SKIP_SELECTOR)){return}r=false;setTimeout((function(){if(!r){i.blur()}}),50)};addEventListener(e,"ionScrollStart",t);e.addEventListener("focusin",i,true);e.addEventListener("touchend",o,false);return function(){removeEventListener(e,"ionScrollStart",t,true);e.removeEventListener("focusin",i,true);e.removeEventListener("touchend",o,false)}};var SCROLL_ASSIST_SPEED=.3;var getScrollData=function(r,n,e,t){var i;var o=(i=r.closest("ion-item,[ion-item]"))!==null&&i!==void 0?i:r;return calcScrollData(o.getBoundingClientRect(),n.getBoundingClientRect(),e,t)};var calcScrollData=function(r,n,e,t){var i=r.top;var o=r.bottom;var a=n.top;var u=Math.min(n.bottom,t-e);var c=a+15;var d=u-SCROLL_AMOUNT_PADDING;var l=d-o;var f=c-i;var s=Math.round(l<0?-l:f>0?-f:0);var v=Math.min(s,i-a);var S=Math.abs(v);var _=S/SCROLL_ASSIST_SPEED;var w=Math.min(400,Math.max(150,_));return{scrollAmount:v,scrollDuration:w,scrollPadding:e,inputSafeY:-(i-c)+4}};var PADDING_TIMER_KEY="$ionPaddingTimer";var setScrollPadding=function(r,n,e){var t=r[PADDING_TIMER_KEY];if(t){clearTimeout(t)}if(n>0){r.style.setProperty("--keyboard-offset","".concat(n,"px"))}else{r[PADDING_TIMER_KEY]=setTimeout((function(){r.style.setProperty("--keyboard-offset","0px");if(e){e()}}),120)}};var setClearScrollPaddingListener=function(r,n,e){var t=function(){if(n){setScrollPadding(n,0,e)}};r.addEventListener("focusout",t,{once:true})};var currentPadding=0;var SKIP_SCROLL_ASSIST="data-ionic-skip-scroll-assist";var enableScrollAssist=function(r,n,e,t,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===KeyboardResize.None);var d=false;var l=win!==undefined?win.innerHeight:0;var f=function(i){if(d===false){d=true;return}jsSetFocus(r,n,e,t,i.detail.keyboardHeight,c,u,l,false)};var s=function(){d=false;win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",f);r.removeEventListener("focusout",s)};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){if(n.hasAttribute(SKIP_SCROLL_ASSIST)){n.removeAttribute(SKIP_SCROLL_ASSIST);return[2]}jsSetFocus(r,n,e,t,i,c,u,l);win===null||win===void 0?void 0:win.addEventListener("ionKeyboardDidShow",f);r.addEventListener("focusout",s);return[2]}))}))};r.addEventListener("focusin",v);return function(){r.removeEventListener("focusin",v);win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",f);r.removeEventListener("focusout",s)}};var setManualFocus=function(r){if(document.activeElement===r){return}r.setAttribute(SKIP_SCROLL_ASSIST,"true");r.focus()};var jsSetFocus=function(r,n,e,t,i,o){var a=[];for(var u=6;u<arguments.length;u++){a[u-6]=arguments[u]}return __awaiter(void 0,__spreadArray([r,n,e,t,i,o],a,true),void 0,(function(r,n,e,t,i,o,a,u,c){var d,l,f,s,v,S;if(a===void 0){a=false}if(u===void 0){u=0}if(c===void 0){c=true}return __generator(this,(function(_){switch(_.label){case 0:if(!e&&!t){return[2]}d=getScrollData(r,e||t,i,u);if(e&&Math.abs(d.scrollAmount)<4){setManualFocus(n);if(o&&e!==null){setScrollPadding(e,currentPadding);setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}relocateInput(r,n,true,d.inputSafeY,a);setManualFocus(n);raf((function(){return r.click()}));if(o&&e){currentPadding=d.scrollPadding;setScrollPadding(e,currentPadding)}if(!(typeof window!=="undefined"))return[3,3];f=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(l!==undefined){clearTimeout(l)}window.removeEventListener("ionKeyboardDidShow",s);window.removeEventListener("ionKeyboardDidShow",f);if(!e)return[3,2];return[4,scrollByPoint(e,0,d.scrollAmount,d.scrollDuration)];case 1:t.sent();t.label=2;case 2:relocateInput(r,n,false,d.inputSafeY);setManualFocus(n);if(o){setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}}))}))};s=function(){window.removeEventListener("ionKeyboardDidShow",s);window.addEventListener("ionKeyboardDidShow",f)};if(!e)return[3,2];return[4,getScrollElement(e)];case 1:v=_.sent();S=v.scrollHeight-v.clientHeight;if(c&&d.scrollAmount>S-v.scrollTop){if(n.type==="password"){d.scrollAmount+=SCROLL_AMOUNT_PADDING;window.addEventListener("ionKeyboardDidShow",s)}else{window.addEventListener("ionKeyboardDidShow",f)}l=setTimeout(f,1e3);return[2]}_.label=2;case 2:f();_.label=3;case 3:return[2]}}))}))};var INPUT_BLURRING=true;var startInputShims=function(r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,o,a,u,c,d,l,f,s,v,S,_,w,p;return __generator(this,(function(I){switch(I.label){case 0:if(doc===undefined){return[2]}e=n==="ios";t=n==="android";i=r.getNumber("keyboardHeight",290);o=r.getBoolean("scrollAssist",true);a=r.getBoolean("hideCaretOnScroll",e);u=r.getBoolean("inputBlurring",false);c=r.getBoolean("scrollPadding",true);d=Array.from(doc.querySelectorAll("ion-input, ion-textarea"));l=new WeakMap;f=new WeakMap;return[4,Keyboard.getResizeMode()];case 1:s=I.sent();v=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,e,u,d,v,S,v;return __generator(this,(function(_){switch(_.label){case 0:return[4,new Promise((function(n){return componentOnReady(r,n)}))];case 1:_.sent();n=r.shadowRoot||r;e=n.querySelector("input")||n.querySelector("textarea");u=findClosestIonContent(r);d=!u?r.closest("ion-footer"):null;if(!e){return[2]}if(!!u&&a&&!l.has(r)){v=enableHideCaretOnScroll(r,e,u);l.set(r,v)}S=e.type==="date"||e.type==="datetime-local";if(!S&&(!!u||!!d)&&o&&!f.has(r)){v=enableScrollAssist(r,e,u,d,i,c,s,t);f.set(r,v)}return[2]}}))}))};S=function(r){if(a){var n=l.get(r);if(n){n()}l.delete(r)}if(o){var n=f.get(r);if(n){n()}f.delete(r)}};if(u&&INPUT_BLURRING){enableInputBlurring()}for(_=0,w=d;_<w.length;_++){p=w[_];v(p)}doc.addEventListener("ionInputDidLoad",(function(r){v(r.detail)}));doc.addEventListener("ionInputDidUnload",(function(r){S(r.detail)}));return[2]}}))}))};export{startInputShims};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{w as win,e as printIonError}from"./ionic-global-03ec9636.js";import{r as raf}from"./helpers-b96cdeb7.js";var createSlotMutationController=function(r,t,e){var n;var o;if(win!==undefined&&"MutationObserver"in win){var i=Array.isArray(t)?t:[t];n=new MutationObserver((function(r){for(var t=0,n=r;t<n.length;t++){var o=n[t];var u=function(r){if(r.nodeType===Node.ELEMENT_NODE&&i.includes(r.slot)){e();raf((function(){return a(r)}));return{value:void 0}}};for(var f=0,v=o.addedNodes;f<v.length;f++){var c=v[f];var d=u(c);if(typeof d==="object")return d.value}}}));n.observe(r,{childList:true,subtree:true})}var a=function(r){var n;if(o){o.disconnect();o=undefined}o=new MutationObserver((function(r){e();for(var n=0,o=r;n<o.length;n++){var i=o[n];for(var a=0,u=i.removedNodes;a<u.length;a++){var v=u[a];if(v.nodeType===Node.ELEMENT_NODE&&v.slot===t){f()}}}}));o.observe((n=r.parentElement)!==null&&n!==void 0?n:r,{subtree:true,childList:true})};var u=function(){if(n){n.disconnect();n=undefined}f()};var f=function(){if(o){o.disconnect();o=undefined}};return{destroy:u}};var getCounterText=function(r,t,e){var n=r==null?0:r.toString().length;var o=defaultCounterFormatter(n,t);if(e===undefined){return o}try{return e(n,t)}catch(r){printIonError("Exception in provided `counterFormatter`.",r);return o}};var defaultCounterFormatter=function(r,t){return"".concat(r," / ").concat(t)};export{createSlotMutationController as c,getCounterText as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{r as registerInstance,h,f as Host,i as getElement,d as createEvent}from"./index-3ed04e6d.js";import{r as raf,t as transitionEndAsync,a as addEventListener,b as removeEventListener,g as getElementRoot}from"./helpers-da915de8.js";import{l as chevronDown}from"./index-e2cf2ceb.js";import{c as config,b as getIonMode}from"./ionic-global-aba82484.js";import{p as printIonWarning}from"./index-9b0d46f4.js";var accordionIosCss=":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";var IonAccordionIosStyle0=accordionIosCss;var accordionMdCss=":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}";var IonAccordionMdStyle0=accordionMdCss;var Accordion=function(){function n(n){var e=this;registerInstance(this,n);this.updateListener=function(){return e.updateState(false)};this.setItemDefaults=function(){var n=e.getSlottedHeaderIonItem();if(!n){return}n.button=true;n.detail=false;if(n.lines===undefined){n.lines="full"}};this.getSlottedHeaderIonItem=function(){var n=e.headerEl;if(!n){return}var t=n.querySelector("slot");if(!t){return}if(t.assignedElements===undefined)return;return t.assignedElements().find((function(n){return n.tagName==="ION-ITEM"}))};this.setAria=function(n){if(n===void 0){n=false}var t=e.getSlottedHeaderIonItem();if(!t){return}var i=getElementRoot(t);var r=i.querySelector("button");if(!r){return}r.setAttribute("aria-expanded","".concat(n))};this.slotToggleIcon=function(){var n=e.getSlottedHeaderIonItem();if(!n){return}var t=e,i=t.toggleIconSlot,r=t.toggleIcon;var o=n.querySelector(".ion-accordion-toggle-icon");if(o){return}var a=document.createElement("ion-icon");a.slot=i;a.lazy=false;a.classList.add("ion-accordion-toggle-icon");a.icon=r;a.setAttribute("aria-hidden","true");n.appendChild(a)};this.expandAccordion=function(n){if(n===void 0){n=false}var t=e,i=t.contentEl,r=t.contentElWrapper;if(n||i===undefined||r===undefined){e.state=4;return}if(e.state===4){return}if(e.currentRaf!==undefined){cancelAnimationFrame(e.currentRaf)}if(e.shouldAnimate()){raf((function(){e.state=8;e.currentRaf=raf((function(){return __awaiter(e,void 0,void 0,(function(){var n,e;return __generator(this,(function(t){switch(t.label){case 0:n=r.offsetHeight;e=transitionEndAsync(i,2e3);i.style.setProperty("max-height","".concat(n,"px"));return[4,e];case 1:t.sent();this.state=4;i.style.removeProperty("max-height");return[2]}}))}))}))}))}else{e.state=4}};this.collapseAccordion=function(n){if(n===void 0){n=false}var t=e.contentEl;if(n||t===undefined){e.state=1;return}if(e.state===1){return}if(e.currentRaf!==undefined){cancelAnimationFrame(e.currentRaf)}if(e.shouldAnimate()){e.currentRaf=raf((function(){return __awaiter(e,void 0,void 0,(function(){var n;var e=this;return __generator(this,(function(i){n=t.offsetHeight;t.style.setProperty("max-height","".concat(n,"px"));raf((function(){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){switch(e.label){case 0:n=transitionEndAsync(t,2e3);this.state=2;return[4,n];case 1:e.sent();this.state=1;t.style.removeProperty("max-height");return[2]}}))}))}));return[2]}))}))}))}else{e.state=1}};this.shouldAnimate=function(){if(typeof window==="undefined"){return false}var n=matchMedia("(prefers-reduced-motion: reduce)").matches;if(n){return false}var t=config.get("animated",true);if(!t){return false}if(e.accordionGroupEl&&!e.accordionGroupEl.animated){return false}return true};this.updateState=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}return __awaiter(e,__spreadArray([],n,true),void 0,(function(n){var e,t,i,r,o,a,s,c;if(n===void 0){n=false}return __generator(this,(function(d){e=this.accordionGroupEl;t=this.value;if(!e){return[2]}i=e.value;r=Array.isArray(i)?i.includes(t):i===t;if(r){this.expandAccordion(n);this.isNext=this.isPrevious=false}else{this.collapseAccordion(n);o=this.getNextSibling();a=o===null||o===void 0?void 0:o.value;if(a!==undefined){this.isPrevious=Array.isArray(i)?i.includes(a):i===a}s=this.getPreviousSibling();c=s===null||s===void 0?void 0:s.value;if(c!==undefined){this.isNext=Array.isArray(i)?i.includes(c):i===c}}return[2]}))}))};this.getNextSibling=function(){if(!e.el){return}var n=e.el.nextElementSibling;if((n===null||n===void 0?void 0:n.tagName)!=="ION-ACCORDION"){return}return n};this.getPreviousSibling=function(){if(!e.el){return}var n=e.el.previousElementSibling;if((n===null||n===void 0?void 0:n.tagName)!=="ION-ACCORDION"){return}return n};this.state=1;this.isNext=false;this.isPrevious=false;this.value="ion-accordion-".concat(accordionIds++);this.disabled=false;this.readonly=false;this.toggleIcon=chevronDown;this.toggleIconSlot="end"}n.prototype.valueChanged=function(){this.updateState()};n.prototype.connectedCallback=function(){var n;var e=this.accordionGroupEl=(n=this.el)===null||n===void 0?void 0:n.closest("ion-accordion-group");if(e){this.updateState(true);addEventListener(e,"ionValueChange",this.updateListener)}};n.prototype.disconnectedCallback=function(){var n=this.accordionGroupEl;if(n){removeEventListener(n,"ionValueChange",this.updateListener)}};n.prototype.componentDidLoad=function(){var n=this;this.setItemDefaults();this.slotToggleIcon();raf((function(){var e=n.state===4||n.state===8;n.setAria(e)}))};n.prototype.toggleExpanded=function(){var n=this,e=n.accordionGroupEl,t=n.disabled,i=n.readonly,r=n.value,o=n.state;if(t||i)return;if(e){var a=o===1||o===2;e.requestAccordionToggle(r,a)}};n.prototype.render=function(){var n;var e=this;var t=this,i=t.disabled,r=t.readonly;var o=getIonMode(this);var a=this.state===4||this.state===8;var s=a?"header expanded":"header";var c=a?"content expanded":"content";this.setAria(a);return h(Host,{key:"073e1d02c18dcbc20c68648426e87c14750c031d",class:(n={},n[o]=true,n["accordion-expanding"]=this.state===8,n["accordion-expanded"]=this.state===4,n["accordion-collapsing"]=this.state===2,n["accordion-collapsed"]=this.state===1,n["accordion-next"]=this.isNext,n["accordion-previous"]=this.isPrevious,n["accordion-disabled"]=i,n["accordion-readonly"]=r,n["accordion-animated"]=this.shouldAnimate(),n)},h("div",{key:"9b4cf326de8bb6b4033992903c0c1bfd7eea9bcc",onClick:function(){return e.toggleExpanded()},id:"header",part:s,"aria-controls":"content",ref:function(n){return e.headerEl=n}},h("slot",{key:"464c32a37f64655eacf4218284214f5f30b14a1e",name:"header"})),h("div",{key:"8bb52e6a62d7de0106b253201a89a32e79d9a594",id:"content",part:c,role:"region","aria-labelledby":"header",ref:function(n){return e.contentEl=n}},h("div",{key:"1d9dfd952ad493754aaeea7a8f625b33c2dd90a0",id:"content-wrapper",ref:function(n){return e.contentElWrapper=n}},h("slot",{key:"970dfbc55a612d739d0ca3b7b1a08e5c96d0c479",name:"content"}))))};Object.defineProperty(n,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return n}();var accordionIds=0;Accordion.style={ios:IonAccordionIosStyle0,md:IonAccordionMdStyle0};var accordionGroupIosCss=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";var IonAccordionGroupIosStyle0=accordionGroupIosCss;var accordionGroupMdCss=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";var IonAccordionGroupMdStyle0=accordionGroupMdCss;var AccordionGroup=function(){function n(n){registerInstance(this,n);this.ionChange=createEvent(this,"ionChange",7);this.ionValueChange=createEvent(this,"ionValueChange",7);this.animated=true;this.multiple=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.expand="compact"}n.prototype.valueChanged=function(){var n=this,e=n.value,t=n.multiple;if(!t&&Array.isArray(e)){printIonWarning('ion-accordion-group 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".\n\n Value Passed: ['.concat(e.map((function(n){return"'".concat(n,"'")})).join(", "),"]\n"),this.el)}this.ionValueChange.emit({value:this.value})};n.prototype.disabledChanged=function(){return __awaiter(this,void 0,void 0,(function(){var n,e,t,i,r;return __generator(this,(function(o){switch(o.label){case 0:n=this.disabled;return[4,this.getAccordions()];case 1:e=o.sent();for(t=0,i=e;t<i.length;t++){r=i[t];r.disabled=n}return[2]}}))}))};n.prototype.readonlyChanged=function(){return __awaiter(this,void 0,void 0,(function(){var n,e,t,i,r;return __generator(this,(function(o){switch(o.label){case 0:n=this.readonly;return[4,this.getAccordions()];case 1:e=o.sent();for(t=0,i=e;t<i.length;t++){r=i[t];r.readonly=n}return[2]}}))}))};n.prototype.onKeydown=function(n){return __awaiter(this,void 0,void 0,(function(){var e,t,i,r,o,a,s;return __generator(this,(function(c){switch(c.label){case 0:e=document.activeElement;if(!e){return[2]}t=e.closest('ion-accordion [slot="header"]');if(!t){return[2]}i=e.tagName==="ION-ACCORDION"?e:e.closest("ion-accordion");if(!i){return[2]}r=i.closest("ion-accordion-group");if(r!==this.el){return[2]}return[4,this.getAccordions()];case 1:o=c.sent();a=o.findIndex((function(n){return n===i}));if(a===-1){return[2]}if(n.key==="ArrowDown"){s=this.findNextAccordion(o,a)}else if(n.key==="ArrowUp"){s=this.findPreviousAccordion(o,a)}else if(n.key==="Home"){s=o[0]}else if(n.key==="End"){s=o[o.length-1]}if(s!==undefined&&s!==e){s.focus()}return[2]}}))}))};n.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.disabled){this.disabledChanged()}if(this.readonly){this.readonlyChanged()}this.valueChanged();return[2]}))}))};n.prototype.setValue=function(n){var e=this.value=n;this.ionChange.emit({value:e})};n.prototype.requestAccordionToggle=function(n,e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,o,a,s,c,d,s,c;return __generator(this,(function(u){t=this,i=t.multiple,r=t.value,o=t.readonly,a=t.disabled;if(o||a){return[2]}if(e){if(i){s=r!==null&&r!==void 0?r:[];c=Array.isArray(s)?s:[s];d=c.find((function(e){return e===n}));if(d===undefined&&n!==undefined){this.setValue(__spreadArray(__spreadArray([],c,true),[n],false))}}else{this.setValue(n)}}else{if(i){s=r!==null&&r!==void 0?r:[];c=Array.isArray(s)?s:[s];this.setValue(c.filter((function(e){return e!==n})))}else{this.setValue(undefined)}}return[2]}))}))};n.prototype.findNextAccordion=function(n,e){var t=n[e+1];if(t===undefined){return n[0]}return t};n.prototype.findPreviousAccordion=function(n,e){var t=n[e-1];if(t===undefined){return n[n.length-1]}return t};n.prototype.getAccordions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,Array.from(this.el.querySelectorAll(":scope > ion-accordion"))]}))}))};n.prototype.render=function(){var n;var e=this,t=e.disabled,i=e.readonly,r=e.expand;var o=getIonMode(this);return h(Host,{key:"82f3e77066fabb4736638ee4c487ad56efd39c63",class:(n={},n[o]=true,n["accordion-group-disabled"]=t,n["accordion-group-readonly"]=i,n["accordion-group-expand-".concat(r)]=true,n),role:"presentation"},h("slot",{key:"a3c791ea887fc640b512f81d429be465ae902b3d"}))};Object.defineProperty(n.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}},enumerable:false,configurable:true});return n}();AccordionGroup.style={ios:IonAccordionGroupIosStyle0,md:IonAccordionGroupMdStyle0};export{Accordion as ion_accordion,AccordionGroup as ion_accordion_group};
|
|
4
|
+
*/import{r as registerInstance,h,f as Host,i as getElement,d as createEvent}from"./index-4e02bb5d.js";import{r as raf,t as transitionEndAsync,a as addEventListener,b as removeEventListener,g as getElementRoot}from"./helpers-b96cdeb7.js";import{l as chevronDown}from"./index-e2cf2ceb.js";import{c as config,b as getIonMode,p as printIonWarning}from"./ionic-global-03ec9636.js";var accordionIosCss=":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";var IonAccordionIosStyle0=accordionIosCss;var accordionMdCss=":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}";var IonAccordionMdStyle0=accordionMdCss;var Accordion=function(){function n(n){var e=this;registerInstance(this,n);this.updateListener=function(){return e.updateState(false)};this.setItemDefaults=function(){var n=e.getSlottedHeaderIonItem();if(!n){return}n.button=true;n.detail=false;if(n.lines===undefined){n.lines="full"}};this.getSlottedHeaderIonItem=function(){var n=e.headerEl;if(!n){return}var t=n.querySelector("slot");if(!t){return}if(t.assignedElements===undefined)return;return t.assignedElements().find((function(n){return n.tagName==="ION-ITEM"}))};this.setAria=function(n){if(n===void 0){n=false}var t=e.getSlottedHeaderIonItem();if(!t){return}var i=getElementRoot(t);var r=i.querySelector("button");if(!r){return}r.setAttribute("aria-expanded","".concat(n))};this.slotToggleIcon=function(){var n=e.getSlottedHeaderIonItem();if(!n){return}var t=e,i=t.toggleIconSlot,r=t.toggleIcon;var o=n.querySelector(".ion-accordion-toggle-icon");if(o){return}var a=document.createElement("ion-icon");a.slot=i;a.lazy=false;a.classList.add("ion-accordion-toggle-icon");a.icon=r;a.setAttribute("aria-hidden","true");n.appendChild(a)};this.expandAccordion=function(n){if(n===void 0){n=false}var t=e,i=t.contentEl,r=t.contentElWrapper;if(n||i===undefined||r===undefined){e.state=4;return}if(e.state===4){return}if(e.currentRaf!==undefined){cancelAnimationFrame(e.currentRaf)}if(e.shouldAnimate()){raf((function(){e.state=8;e.currentRaf=raf((function(){return __awaiter(e,void 0,void 0,(function(){var n,e;return __generator(this,(function(t){switch(t.label){case 0:n=r.offsetHeight;e=transitionEndAsync(i,2e3);i.style.setProperty("max-height","".concat(n,"px"));return[4,e];case 1:t.sent();this.state=4;i.style.removeProperty("max-height");return[2]}}))}))}))}))}else{e.state=4}};this.collapseAccordion=function(n){if(n===void 0){n=false}var t=e.contentEl;if(n||t===undefined){e.state=1;return}if(e.state===1){return}if(e.currentRaf!==undefined){cancelAnimationFrame(e.currentRaf)}if(e.shouldAnimate()){e.currentRaf=raf((function(){return __awaiter(e,void 0,void 0,(function(){var n;var e=this;return __generator(this,(function(i){n=t.offsetHeight;t.style.setProperty("max-height","".concat(n,"px"));raf((function(){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){switch(e.label){case 0:n=transitionEndAsync(t,2e3);this.state=2;return[4,n];case 1:e.sent();this.state=1;t.style.removeProperty("max-height");return[2]}}))}))}));return[2]}))}))}))}else{e.state=1}};this.shouldAnimate=function(){if(typeof window==="undefined"){return false}var n=matchMedia("(prefers-reduced-motion: reduce)").matches;if(n){return false}var t=config.get("animated",true);if(!t){return false}if(e.accordionGroupEl&&!e.accordionGroupEl.animated){return false}return true};this.updateState=function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}return __awaiter(e,__spreadArray([],n,true),void 0,(function(n){var e,t,i,r,o,a,s,c;if(n===void 0){n=false}return __generator(this,(function(d){e=this.accordionGroupEl;t=this.value;if(!e){return[2]}i=e.value;r=Array.isArray(i)?i.includes(t):i===t;if(r){this.expandAccordion(n);this.isNext=this.isPrevious=false}else{this.collapseAccordion(n);o=this.getNextSibling();a=o===null||o===void 0?void 0:o.value;if(a!==undefined){this.isPrevious=Array.isArray(i)?i.includes(a):i===a}s=this.getPreviousSibling();c=s===null||s===void 0?void 0:s.value;if(c!==undefined){this.isNext=Array.isArray(i)?i.includes(c):i===c}}return[2]}))}))};this.getNextSibling=function(){if(!e.el){return}var n=e.el.nextElementSibling;if((n===null||n===void 0?void 0:n.tagName)!=="ION-ACCORDION"){return}return n};this.getPreviousSibling=function(){if(!e.el){return}var n=e.el.previousElementSibling;if((n===null||n===void 0?void 0:n.tagName)!=="ION-ACCORDION"){return}return n};this.state=1;this.isNext=false;this.isPrevious=false;this.value="ion-accordion-".concat(accordionIds++);this.disabled=false;this.readonly=false;this.toggleIcon=chevronDown;this.toggleIconSlot="end"}n.prototype.valueChanged=function(){this.updateState()};n.prototype.connectedCallback=function(){var n;var e=this.accordionGroupEl=(n=this.el)===null||n===void 0?void 0:n.closest("ion-accordion-group");if(e){this.updateState(true);addEventListener(e,"ionValueChange",this.updateListener)}};n.prototype.disconnectedCallback=function(){var n=this.accordionGroupEl;if(n){removeEventListener(n,"ionValueChange",this.updateListener)}};n.prototype.componentDidLoad=function(){var n=this;this.setItemDefaults();this.slotToggleIcon();raf((function(){var e=n.state===4||n.state===8;n.setAria(e)}))};n.prototype.toggleExpanded=function(){var n=this,e=n.accordionGroupEl,t=n.disabled,i=n.readonly,r=n.value,o=n.state;if(t||i)return;if(e){var a=o===1||o===2;e.requestAccordionToggle(r,a)}};n.prototype.render=function(){var n;var e=this;var t=this,i=t.disabled,r=t.readonly;var o=getIonMode(this);var a=this.state===4||this.state===8;var s=a?"header expanded":"header";var c=a?"content expanded":"content";this.setAria(a);return h(Host,{key:"073e1d02c18dcbc20c68648426e87c14750c031d",class:(n={},n[o]=true,n["accordion-expanding"]=this.state===8,n["accordion-expanded"]=this.state===4,n["accordion-collapsing"]=this.state===2,n["accordion-collapsed"]=this.state===1,n["accordion-next"]=this.isNext,n["accordion-previous"]=this.isPrevious,n["accordion-disabled"]=i,n["accordion-readonly"]=r,n["accordion-animated"]=this.shouldAnimate(),n)},h("div",{key:"9b4cf326de8bb6b4033992903c0c1bfd7eea9bcc",onClick:function(){return e.toggleExpanded()},id:"header",part:s,"aria-controls":"content",ref:function(n){return e.headerEl=n}},h("slot",{key:"464c32a37f64655eacf4218284214f5f30b14a1e",name:"header"})),h("div",{key:"8bb52e6a62d7de0106b253201a89a32e79d9a594",id:"content",part:c,role:"region","aria-labelledby":"header",ref:function(n){return e.contentEl=n}},h("div",{key:"1d9dfd952ad493754aaeea7a8f625b33c2dd90a0",id:"content-wrapper",ref:function(n){return e.contentElWrapper=n}},h("slot",{key:"970dfbc55a612d739d0ca3b7b1a08e5c96d0c479",name:"content"}))))};Object.defineProperty(n,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return n}();var accordionIds=0;Accordion.style={ios:IonAccordionIosStyle0,md:IonAccordionMdStyle0};var accordionGroupIosCss=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";var IonAccordionGroupIosStyle0=accordionGroupIosCss;var accordionGroupMdCss=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";var IonAccordionGroupMdStyle0=accordionGroupMdCss;var AccordionGroup=function(){function n(n){registerInstance(this,n);this.ionChange=createEvent(this,"ionChange",7);this.ionValueChange=createEvent(this,"ionValueChange",7);this.animated=true;this.multiple=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.expand="compact"}n.prototype.valueChanged=function(){var n=this,e=n.value,t=n.multiple;if(!t&&Array.isArray(e)){printIonWarning('ion-accordion-group 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".\n\n Value Passed: ['.concat(e.map((function(n){return"'".concat(n,"'")})).join(", "),"]\n"),this.el)}this.ionValueChange.emit({value:this.value})};n.prototype.disabledChanged=function(){return __awaiter(this,void 0,void 0,(function(){var n,e,t,i,r;return __generator(this,(function(o){switch(o.label){case 0:n=this.disabled;return[4,this.getAccordions()];case 1:e=o.sent();for(t=0,i=e;t<i.length;t++){r=i[t];r.disabled=n}return[2]}}))}))};n.prototype.readonlyChanged=function(){return __awaiter(this,void 0,void 0,(function(){var n,e,t,i,r;return __generator(this,(function(o){switch(o.label){case 0:n=this.readonly;return[4,this.getAccordions()];case 1:e=o.sent();for(t=0,i=e;t<i.length;t++){r=i[t];r.readonly=n}return[2]}}))}))};n.prototype.onKeydown=function(n){return __awaiter(this,void 0,void 0,(function(){var e,t,i,r,o,a,s;return __generator(this,(function(c){switch(c.label){case 0:e=document.activeElement;if(!e){return[2]}t=e.closest('ion-accordion [slot="header"]');if(!t){return[2]}i=e.tagName==="ION-ACCORDION"?e:e.closest("ion-accordion");if(!i){return[2]}r=i.closest("ion-accordion-group");if(r!==this.el){return[2]}return[4,this.getAccordions()];case 1:o=c.sent();a=o.findIndex((function(n){return n===i}));if(a===-1){return[2]}if(n.key==="ArrowDown"){s=this.findNextAccordion(o,a)}else if(n.key==="ArrowUp"){s=this.findPreviousAccordion(o,a)}else if(n.key==="Home"){s=o[0]}else if(n.key==="End"){s=o[o.length-1]}if(s!==undefined&&s!==e){s.focus()}return[2]}}))}))};n.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.disabled){this.disabledChanged()}if(this.readonly){this.readonlyChanged()}this.valueChanged();return[2]}))}))};n.prototype.setValue=function(n){var e=this.value=n;this.ionChange.emit({value:e})};n.prototype.requestAccordionToggle=function(n,e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,o,a,s,c,d,s,c;return __generator(this,(function(u){t=this,i=t.multiple,r=t.value,o=t.readonly,a=t.disabled;if(o||a){return[2]}if(e){if(i){s=r!==null&&r!==void 0?r:[];c=Array.isArray(s)?s:[s];d=c.find((function(e){return e===n}));if(d===undefined&&n!==undefined){this.setValue(__spreadArray(__spreadArray([],c,true),[n],false))}}else{this.setValue(n)}}else{if(i){s=r!==null&&r!==void 0?r:[];c=Array.isArray(s)?s:[s];this.setValue(c.filter((function(e){return e!==n})))}else{this.setValue(undefined)}}return[2]}))}))};n.prototype.findNextAccordion=function(n,e){var t=n[e+1];if(t===undefined){return n[0]}return t};n.prototype.findPreviousAccordion=function(n,e){var t=n[e-1];if(t===undefined){return n[n.length-1]}return t};n.prototype.getAccordions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,Array.from(this.el.querySelectorAll(":scope > ion-accordion"))]}))}))};n.prototype.render=function(){var n;var e=this,t=e.disabled,i=e.readonly,r=e.expand;var o=getIonMode(this);return h(Host,{key:"82f3e77066fabb4736638ee4c487ad56efd39c63",class:(n={},n[o]=true,n["accordion-group-disabled"]=t,n["accordion-group-readonly"]=i,n["accordion-group-expand-".concat(r)]=true,n),role:"presentation"},h("slot",{key:"a3c791ea887fc640b512f81d429be465ae902b3d"}))};Object.defineProperty(n.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}},enumerable:false,configurable:true});return n}();AccordionGroup.style={ios:IonAccordionGroupIosStyle0,md:IonAccordionGroupMdStyle0};export{Accordion as ion_accordion,AccordionGroup as ion_accordion_group};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{r as registerInstance,d as createEvent,e as readTask,h,f as Host,i as getElement}from"./index-3ed04e6d.js";import{c as createButtonActiveGesture}from"./button-active-6700b8ee.js";import{r as raf}from"./helpers-da915de8.js";import{c as createLockController}from"./lock-controller-316928be.js";import{d as createDelegateController,e as createTriggerController,B as BACKDROP,i as isCancel,f as present,g as dismiss,h as eventMethod,s as safeCall,j as prepareOverlay,k as setOverlayId}from"./overlays-d1a2f8a8.js";import{g as getClassMap}from"./theme-01f3f29c.js";import{b as getIonMode}from"./ionic-global-aba82484.js";import{c as createAnimation}from"./animation-eab5a4ca.js";import"./haptic-ac164e4c.js";import"./capacitor-59395cbd.js";import"./index-a5d50daf.js";import"./index-39782642.js";import"./gesture-controller-314a54f6.js";import"./hardware-back-button-3dd2cf5a.js";import"./framework-delegate-63d1a679.js";import"./index-9b0d46f4.js";var iosEnterAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])};var iosLeaveAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])};var mdEnterAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])};var mdLeaveAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])};var actionSheetIosCss='.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}';var IonActionSheetIosStyle0=actionSheetIosCss;var actionSheetMdCss='.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}';var IonActionSheetMdStyle0=actionSheetMdCss;var ActionSheet=function(){function t(t){var e=this;registerInstance(this,t);this.didPresent=createEvent(this,"ionActionSheetDidPresent",7);this.willPresent=createEvent(this,"ionActionSheetWillPresent",7);this.willDismiss=createEvent(this,"ionActionSheetWillDismiss",7);this.didDismiss=createEvent(this,"ionActionSheetDidDismiss",7);this.didPresentShorthand=createEvent(this,"didPresent",7);this.willPresentShorthand=createEvent(this,"willPresent",7);this.willDismissShorthand=createEvent(this,"willDismiss",7);this.didDismissShorthand=createEvent(this,"didDismiss",7);this.delegateController=createDelegateController(this);this.lockController=createLockController();this.triggerController=createTriggerController();this.presented=false;this.onBackdropTap=function(){e.dismiss(undefined,BACKDROP)};this.dispatchCancelHandler=function(t){var o=t.detail.role;if(isCancel(o)){var n=e.getButtons().find((function(t){return t.role==="cancel"}));e.callButtonHandler(n)}};this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.buttons=[];this.cssClass=undefined;this.backdropDismiss=true;this.header=undefined;this.subHeader=undefined;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.triggerChanged=function(){var t=this,e=t.trigger,o=t.el,n=t.triggerController;if(e){n.addClickListener(o,e)}};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:return[4,this.lockController.lock()];case 1:t=e.sent();return[4,this.delegateController.attachViewToDom()];case 2:e.sent();return[4,present(this,"actionSheetEnter",iosEnterAnimation,mdEnterAnimation)];case 3:e.sent();t();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var o,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.lockController.lock()];case 1:o=i.sent();return[4,dismiss(this,t,e,"actionSheetLeave",iosLeaveAnimation,mdLeaveAnimation)];case 2:n=i.sent();if(n){this.delegateController.removeViewFromDom()}o();return[2,n]}}))}))};t.prototype.onDidDismiss=function(){return eventMethod(this.el,"ionActionSheetDidDismiss")};t.prototype.onWillDismiss=function(){return eventMethod(this.el,"ionActionSheetWillDismiss")};t.prototype.buttonClick=function(t){return __awaiter(this,void 0,void 0,(function(){var e,o;return __generator(this,(function(n){switch(n.label){case 0:e=t.role;if(isCancel(e)){return[2,this.dismiss(t.data,e)]}return[4,this.callButtonHandler(t)];case 1:o=n.sent();if(o){return[2,this.dismiss(t.data,t.role)]}return[2,Promise.resolve()]}}))}))};t.prototype.callButtonHandler=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){switch(o.label){case 0:if(!t)return[3,2];return[4,safeCall(t.handler)];case 1:e=o.sent();if(e===false){return[2,false]}o.label=2;case 2:return[2,true]}}))}))};t.prototype.getButtons=function(){return this.buttons.map((function(t){return typeof t==="string"?{text:t}:t}))};t.prototype.connectedCallback=function(){prepareOverlay(this.el);this.triggerChanged()};t.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.triggerController.removeClickListener()};t.prototype.componentWillLoad=function(){var t;if(!((t=this.htmlAttributes)===null||t===void 0?void 0:t.id)){setOverlayId(this.el)}};t.prototype.componentDidLoad=function(){var t=this;var e=this,o=e.groupEl,n=e.wrapperEl;if(!this.gesture&&getIonMode(this)==="ios"&&n&&o){readTask((function(){var e=o.scrollHeight>o.clientHeight;if(!e){t.gesture=createButtonActiveGesture(n,(function(t){return t.classList.contains("action-sheet-button")}));t.gesture.enable(true)}}))}if(this.isOpen===true){raf((function(){return t.present()}))}this.triggerChanged()};t.prototype.render=function(){var t;var e=this;var o=this,n=o.header,i=o.htmlAttributes,a=o.overlayIndex;var r=getIonMode(this);var c=this.getButtons();var s=c.find((function(t){return t.role==="cancel"}));var d=c.filter((function(t){return t.role!=="cancel"}));var l="action-sheet-".concat(a,"-header");return h(Host,Object.assign({key:"7bbd202ca9e19727e7514abbe073687d982f80c3",role:"dialog","aria-modal":"true","aria-labelledby":n!==undefined?l:null,tabindex:"-1"},i,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign((t={},t[r]=true,t),getClassMap(this.cssClass)),{"overlay-hidden":true,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),h("ion-backdrop",{key:"23344a9221a2e6720d7b9de5249dc37256cafa7b",tappable:this.backdropDismiss}),h("div",{key:"d46361bb5cdc32a7922dcf76b566f358a6174bfa",tabindex:"0"}),h("div",{key:"136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d",class:"action-sheet-wrapper ion-overlay-wrapper",ref:function(t){return e.wrapperEl=t}},h("div",{key:"6168ea8b2be42020b2edeb8ff3a0f3d1254be37a",class:"action-sheet-container"},h("div",{key:"29b9e6619dc54574733a704d6bf885839151bd84",class:"action-sheet-group",ref:function(t){return e.groupEl=t}},n!==undefined&&h("div",{key:"536ce764bfddb3816ea3512d90f4acef2ccb8589",id:l,class:{"action-sheet-title":true,"action-sheet-has-sub-title":this.subHeader!==undefined}},n,this.subHeader&&h("div",{key:"6d888219145824fd36cdfe0d3c8388bbf2769777",class:"action-sheet-sub-title"},this.subHeader)),d.map((function(t){return h("button",Object.assign({},t.htmlAttributes,{type:"button",id:t.id,class:buttonClass(t),onClick:function(){return e.buttonClick(t)},disabled:t.disabled}),h("span",{class:"action-sheet-button-inner"},t.icon&&h("ion-icon",{icon:t.icon,"aria-hidden":"true",lazy:false,class:"action-sheet-icon"}),t.text),r==="md"&&h("ion-ripple-effect",null))}))),s&&h("div",{key:"46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77",class:"action-sheet-group action-sheet-group-cancel"},h("button",Object.assign({key:"e3c457bced8ad5f692e48de26e65f731fd631b4f"},s.htmlAttributes,{type:"button",class:buttonClass(s),onClick:function(){return e.buttonClick(s)}}),h("span",{key:"4cba6dc559f734ecc852e024959210cd0dd25354",class:"action-sheet-button-inner"},s.icon&&h("ion-icon",{key:"9df64989aad1b4d1e75edf4d37ab208965cfe37f",icon:s.icon,"aria-hidden":"true",lazy:false,class:"action-sheet-icon"}),s.text),r==="md"&&h("ion-ripple-effect",{key:"558089275a29177cefdb2e38eefc9b5c8b62872b"}))))),h("div",{key:"fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc",tabindex:"0"}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return t}();var buttonClass=function(t){var e;return Object.assign((e={"action-sheet-button":true,"ion-activatable":!t.disabled,"ion-focusable":!t.disabled},e["action-sheet-".concat(t.role)]=t.role!==undefined,e),getClassMap(t.cssClass))};ActionSheet.style={ios:IonActionSheetIosStyle0,md:IonActionSheetMdStyle0};export{ActionSheet as ion_action_sheet};
|
|
4
|
+
*/import{r as registerInstance,d as createEvent,e as readTask,h,f as Host,i as getElement}from"./index-4e02bb5d.js";import{c as createButtonActiveGesture}from"./button-active-99997f21.js";import{r as raf}from"./helpers-b96cdeb7.js";import{c as createLockController}from"./lock-controller-316928be.js";import{d as createDelegateController,e as createTriggerController,B as BACKDROP,i as isCancel,f as present,g as dismiss,h as eventMethod,s as safeCall,j as prepareOverlay,k as setOverlayId}from"./overlays-7d2c4725.js";import{g as getClassMap}from"./theme-01f3f29c.js";import{b as getIonMode}from"./ionic-global-03ec9636.js";import{c as createAnimation}from"./animation-4833cc82.js";import"./haptic-2a877838.js";import"./capacitor-90256979.js";import"./index-39782642.js";import"./gesture-controller-314a54f6.js";import"./framework-delegate-3b8e3146.js";var iosEnterAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])};var iosLeaveAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])};var mdEnterAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])};var mdLeaveAnimation=function(t){var e=createAnimation();var o=createAnimation();var n=createAnimation();o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])};var actionSheetIosCss='.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}';var IonActionSheetIosStyle0=actionSheetIosCss;var actionSheetMdCss='.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}';var IonActionSheetMdStyle0=actionSheetMdCss;var ActionSheet=function(){function t(t){var e=this;registerInstance(this,t);this.didPresent=createEvent(this,"ionActionSheetDidPresent",7);this.willPresent=createEvent(this,"ionActionSheetWillPresent",7);this.willDismiss=createEvent(this,"ionActionSheetWillDismiss",7);this.didDismiss=createEvent(this,"ionActionSheetDidDismiss",7);this.didPresentShorthand=createEvent(this,"didPresent",7);this.willPresentShorthand=createEvent(this,"willPresent",7);this.willDismissShorthand=createEvent(this,"willDismiss",7);this.didDismissShorthand=createEvent(this,"didDismiss",7);this.delegateController=createDelegateController(this);this.lockController=createLockController();this.triggerController=createTriggerController();this.presented=false;this.onBackdropTap=function(){e.dismiss(undefined,BACKDROP)};this.dispatchCancelHandler=function(t){var o=t.detail.role;if(isCancel(o)){var n=e.getButtons().find((function(t){return t.role==="cancel"}));e.callButtonHandler(n)}};this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.buttons=[];this.cssClass=undefined;this.backdropDismiss=true;this.header=undefined;this.subHeader=undefined;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.triggerChanged=function(){var t=this,e=t.trigger,o=t.el,n=t.triggerController;if(e){n.addClickListener(o,e)}};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:return[4,this.lockController.lock()];case 1:t=e.sent();return[4,this.delegateController.attachViewToDom()];case 2:e.sent();return[4,present(this,"actionSheetEnter",iosEnterAnimation,mdEnterAnimation)];case 3:e.sent();t();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var o,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.lockController.lock()];case 1:o=i.sent();return[4,dismiss(this,t,e,"actionSheetLeave",iosLeaveAnimation,mdLeaveAnimation)];case 2:n=i.sent();if(n){this.delegateController.removeViewFromDom()}o();return[2,n]}}))}))};t.prototype.onDidDismiss=function(){return eventMethod(this.el,"ionActionSheetDidDismiss")};t.prototype.onWillDismiss=function(){return eventMethod(this.el,"ionActionSheetWillDismiss")};t.prototype.buttonClick=function(t){return __awaiter(this,void 0,void 0,(function(){var e,o;return __generator(this,(function(n){switch(n.label){case 0:e=t.role;if(isCancel(e)){return[2,this.dismiss(t.data,e)]}return[4,this.callButtonHandler(t)];case 1:o=n.sent();if(o){return[2,this.dismiss(t.data,t.role)]}return[2,Promise.resolve()]}}))}))};t.prototype.callButtonHandler=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(o){switch(o.label){case 0:if(!t)return[3,2];return[4,safeCall(t.handler)];case 1:e=o.sent();if(e===false){return[2,false]}o.label=2;case 2:return[2,true]}}))}))};t.prototype.getButtons=function(){return this.buttons.map((function(t){return typeof t==="string"?{text:t}:t}))};t.prototype.connectedCallback=function(){prepareOverlay(this.el);this.triggerChanged()};t.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.triggerController.removeClickListener()};t.prototype.componentWillLoad=function(){var t;if(!((t=this.htmlAttributes)===null||t===void 0?void 0:t.id)){setOverlayId(this.el)}};t.prototype.componentDidLoad=function(){var t=this;var e=this,o=e.groupEl,n=e.wrapperEl;if(!this.gesture&&getIonMode(this)==="ios"&&n&&o){readTask((function(){var e=o.scrollHeight>o.clientHeight;if(!e){t.gesture=createButtonActiveGesture(n,(function(t){return t.classList.contains("action-sheet-button")}));t.gesture.enable(true)}}))}if(this.isOpen===true){raf((function(){return t.present()}))}this.triggerChanged()};t.prototype.render=function(){var t;var e=this;var o=this,n=o.header,i=o.htmlAttributes,a=o.overlayIndex;var r=getIonMode(this);var c=this.getButtons();var s=c.find((function(t){return t.role==="cancel"}));var d=c.filter((function(t){return t.role!=="cancel"}));var l="action-sheet-".concat(a,"-header");return h(Host,Object.assign({key:"7bbd202ca9e19727e7514abbe073687d982f80c3",role:"dialog","aria-modal":"true","aria-labelledby":n!==undefined?l:null,tabindex:"-1"},i,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign((t={},t[r]=true,t),getClassMap(this.cssClass)),{"overlay-hidden":true,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),h("ion-backdrop",{key:"23344a9221a2e6720d7b9de5249dc37256cafa7b",tappable:this.backdropDismiss}),h("div",{key:"d46361bb5cdc32a7922dcf76b566f358a6174bfa",tabindex:"0"}),h("div",{key:"136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d",class:"action-sheet-wrapper ion-overlay-wrapper",ref:function(t){return e.wrapperEl=t}},h("div",{key:"6168ea8b2be42020b2edeb8ff3a0f3d1254be37a",class:"action-sheet-container"},h("div",{key:"29b9e6619dc54574733a704d6bf885839151bd84",class:"action-sheet-group",ref:function(t){return e.groupEl=t}},n!==undefined&&h("div",{key:"536ce764bfddb3816ea3512d90f4acef2ccb8589",id:l,class:{"action-sheet-title":true,"action-sheet-has-sub-title":this.subHeader!==undefined}},n,this.subHeader&&h("div",{key:"6d888219145824fd36cdfe0d3c8388bbf2769777",class:"action-sheet-sub-title"},this.subHeader)),d.map((function(t){return h("button",Object.assign({},t.htmlAttributes,{type:"button",id:t.id,class:buttonClass(t),onClick:function(){return e.buttonClick(t)},disabled:t.disabled}),h("span",{class:"action-sheet-button-inner"},t.icon&&h("ion-icon",{icon:t.icon,"aria-hidden":"true",lazy:false,class:"action-sheet-icon"}),t.text),r==="md"&&h("ion-ripple-effect",null))}))),s&&h("div",{key:"46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77",class:"action-sheet-group action-sheet-group-cancel"},h("button",Object.assign({key:"e3c457bced8ad5f692e48de26e65f731fd631b4f"},s.htmlAttributes,{type:"button",class:buttonClass(s),onClick:function(){return e.buttonClick(s)}}),h("span",{key:"4cba6dc559f734ecc852e024959210cd0dd25354",class:"action-sheet-button-inner"},s.icon&&h("ion-icon",{key:"9df64989aad1b4d1e75edf4d37ab208965cfe37f",icon:s.icon,"aria-hidden":"true",lazy:false,class:"action-sheet-icon"}),s.text),r==="md"&&h("ion-ripple-effect",{key:"558089275a29177cefdb2e38eefc9b5c8b62872b"}))))),h("div",{key:"fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc",tabindex:"0"}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return t}();var buttonClass=function(t){var e;return Object.assign((e={"action-sheet-button":true,"ion-activatable":!t.disabled,"ion-focusable":!t.disabled},e["action-sheet-".concat(t.role)]=t.role!==undefined,e),getClassMap(t.cssClass))};ActionSheet.style={ios:IonActionSheetIosStyle0,md:IonActionSheetMdStyle0};export{ActionSheet as ion_action_sheet};
|