@ionic/core 8.7.6-dev.11761057729.1bfdf1ab → 8.7.6-dev.11761146245.19b2e6db
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +8 -6
- package/components/alert.js +8 -6
- package/components/backdrop.js +5 -3
- package/components/button.js +6 -4
- package/components/buttons.js +5 -3
- package/components/checkbox.js +5 -3
- package/components/content.js +5 -3
- package/components/data.js +9 -6
- package/components/header.js +5 -3
- package/components/icon.js +5 -3
- package/components/ion-accordion-group.js +5 -3
- package/components/ion-accordion.js +5 -3
- package/components/ion-app.js +5 -3
- package/components/ion-avatar.js +5 -3
- package/components/ion-back-button.js +6 -4
- package/components/ion-badge.js +5 -3
- package/components/ion-breadcrumb.js +6 -4
- package/components/ion-breadcrumbs.js +5 -3
- package/components/ion-card-content.js +5 -3
- package/components/ion-card-header.js +5 -3
- package/components/ion-card-subtitle.js +5 -3
- package/components/ion-card-title.js +5 -3
- package/components/ion-card.js +6 -4
- package/components/ion-chip.js +5 -3
- package/components/ion-col.js +5 -3
- package/components/ion-datetime-button.js +5 -3
- package/components/ion-datetime.js +9 -7
- package/components/ion-divider.js +5 -3
- package/components/ion-fab-button.js +6 -4
- package/components/ion-fab-list.js +5 -3
- package/components/ion-fab.js +5 -3
- package/components/ion-footer.js +5 -3
- package/components/ion-grid.js +5 -3
- package/components/ion-img.js +5 -3
- package/components/ion-infinite-scroll-content.js +5 -3
- package/components/ion-infinite-scroll.js +5 -3
- package/components/ion-input-otp.js +5 -3
- package/components/ion-input-password-toggle.js +5 -3
- package/components/ion-input.js +6 -4
- package/components/ion-item-divider.js +5 -3
- package/components/ion-item-group.js +5 -3
- package/components/ion-item-option.js +5 -3
- package/components/ion-item-options.js +5 -3
- package/components/ion-item-sliding.js +5 -3
- package/components/ion-loading.js +8 -6
- package/components/ion-menu-button.js +5 -3
- package/components/ion-menu-toggle.js +5 -3
- package/components/ion-menu.js +5 -3
- package/components/ion-nav-link.js +7 -5
- package/components/ion-nav.js +6 -4
- package/components/ion-note.js +5 -3
- package/components/ion-picker-legacy.js +8 -6
- package/components/ion-progress-bar.js +5 -3
- package/components/ion-range.js +6 -4
- package/components/ion-refresher-content.js +5 -3
- package/components/ion-refresher.js +5 -3
- package/components/ion-reorder-group.js +5 -3
- package/components/ion-reorder.js +5 -3
- package/components/ion-route-redirect.js +4 -2
- package/components/ion-route.js +7 -5
- package/components/ion-router-link.js +6 -4
- package/components/ion-router-outlet.js +6 -4
- package/components/ion-router.js +4 -2
- package/components/ion-row.js +5 -3
- package/components/ion-searchbar.js +5 -3
- package/components/ion-segment-button.js +5 -3
- package/components/ion-segment-content.js +5 -3
- package/components/ion-segment-view.js +5 -3
- package/components/ion-segment.js +5 -3
- package/components/ion-select-option.js +5 -3
- package/components/ion-select.js +5 -3
- package/components/ion-skeleton-text.js +5 -3
- package/components/ion-split-pane.js +5 -3
- package/components/ion-tab-bar.js +5 -3
- package/components/ion-tab-button.js +5 -3
- package/components/ion-tab.js +5 -3
- package/components/ion-tabs.js +5 -3
- package/components/ion-text.js +5 -3
- package/components/ion-textarea.js +6 -4
- package/components/ion-thumbnail.js +5 -3
- package/components/ion-toast.js +8 -6
- package/components/ion-toggle.js +5 -3
- package/components/item.js +7 -5
- package/components/label.js +5 -3
- package/components/list-header.js +5 -3
- package/components/list.js +5 -3
- package/components/modal.js +10 -8
- package/components/picker-column-option.js +5 -3
- package/components/picker-column.js +5 -3
- package/components/picker-column2.js +5 -3
- package/components/picker.js +5 -3
- package/components/popover.js +9 -7
- package/components/radio-group.js +5 -3
- package/components/radio.js +5 -3
- package/components/ripple-effect.js +5 -3
- package/components/select-modal.js +7 -5
- package/components/select-popover.js +7 -5
- package/components/spinner.js +5 -3
- package/components/title.js +5 -3
- package/components/toolbar.js +5 -3
- package/dist/cjs/{animation-Bcz4qmJk.js → animation-BYsP2q5j.js} +3 -2
- package/dist/cjs/app-globals-CrtAvKxl.js +10 -0
- package/dist/cjs/{button-active-1nO6qpCH.js → button-active-CDa7BeCl.js} +2 -2
- package/dist/cjs/{capacitor-CzFst28-.js → capacitor-BMhHF0O5.js} +3 -3
- package/dist/cjs/{config-DGKt4XfG.js → config-C5fsO43a.js} +1 -1
- package/dist/cjs/{data-B3i-krcw.js → data-MoL8Ckx5.js} +10 -7
- package/dist/cjs/{framework-delegate-DfEY5uyC.js → framework-delegate-Bwdk9vFS.js} +2 -2
- package/dist/cjs/{haptic-DbqPcCc9.js → haptic-Cy3moXzO.js} +1 -1
- package/dist/cjs/{helpers-DmAvmm2T.js → helpers-DnouLczu.js} +1 -1
- package/dist/cjs/{index-YEjC0pvJ.js → index-Bq6U5NAb.js} +8 -7
- package/dist/cjs/{index-CmckMMX1.js → index-D6Wc6v08.js} +310 -691
- package/dist/cjs/{index-CaZ3uzAD.js → index-DUoP_H1L.js} +2 -2
- package/dist/cjs/{index-DxVhwe3d.js → index-Dbl8V7hw.js} +4 -4
- package/dist/cjs/{index-DcPe_YcG.js → index-XjN3PjKG.js} +9 -8
- package/dist/cjs/index.cjs.js +15 -14
- package/dist/cjs/{input-shims-BwdlNkON.js → input-shims-D6DHFHsE.js} +17 -16
- package/dist/cjs/{input.utils-CfjyQhpu.js → input.utils-BVyJKWft.js} +4 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -6
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -10
- package/dist/cjs/ion-alert.cjs.entry.js +14 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +22 -21
- package/dist/cjs/ion-avatar_3.cjs.entry.js +9 -8
- package/dist/cjs/ion-back-button.cjs.entry.js +6 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +7 -6
- package/dist/cjs/ion-button_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +8 -7
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/ion-chip.cjs.entry.js +5 -4
- package/dist/cjs/ion-col_3.cjs.entry.js +5 -4
- package/dist/cjs/ion-datetime-button.cjs.entry.js +5 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +19 -18
- package/dist/cjs/ion-divider.cjs.entry.js +3 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +7 -6
- package/dist/cjs/ion-img.cjs.entry.js +4 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +8 -7
- package/dist/cjs/ion-input-otp.cjs.entry.js +4 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -4
- package/dist/cjs/ion-input.cjs.entry.js +13 -12
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -7
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -13
- package/dist/cjs/ion-loading.cjs.entry.js +9 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +15 -14
- package/dist/cjs/ion-modal.cjs.entry.js +63 -62
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -8
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +9 -8
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +10 -9
- package/dist/cjs/ion-progress-bar.cjs.entry.js +5 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -4
- package/dist/cjs/ion-range.cjs.entry.js +5 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +15 -14
- package/dist/cjs/ion-reorder_2.cjs.entry.js +9 -8
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +11 -10
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +5 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +8 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +20 -19
- package/dist/cjs/ion-spinner.cjs.entry.js +5 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +3 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +10 -9
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +3 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +9 -8
- package/dist/cjs/ion-toast.cjs.entry.js +14 -13
- package/dist/cjs/ion-toggle.cjs.entry.js +10 -9
- package/dist/cjs/ionic-global-DuRUel5m.js +491 -0
- package/dist/cjs/ionic.cjs.js +6 -4
- package/dist/cjs/{ios.transition-BMRClUxZ.js → ios.transition-2wtm_6Ok.js} +5 -4
- package/dist/cjs/{keyboard-nXDIskl9.js → keyboard-C1Ds9WQH.js} +4 -3
- package/dist/cjs/{keyboard-Chl5cusY.js → keyboard-UYQhk8rB.js} +1 -1
- package/dist/cjs/{keyboard-controller-yLvXRMuh.js → keyboard-controller-ts0z4BIe.js} +10 -9
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/{md.transition-D2ZL4jgW.js → md.transition-DCNdoS7u.js} +5 -4
- package/dist/cjs/{notch-controller-S50JyZJs.js → notch-controller-BX7CnNaL.js} +4 -4
- package/dist/cjs/{overlays-XYRfwd6H.js → overlays-pdcfssMG.js} +9 -8
- package/dist/cjs/{status-tap-DMaRrHIS.js → status-tap-e-hyosXV.js} +3 -3
- package/dist/cjs/{swipe-back-CEVlQT7C.js → swipe-back-CR060nOX.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +6 -6
- package/dist/collection/components/accordion-group/accordion-group.js +10 -10
- package/dist/collection/components/action-sheet/action-sheet.js +16 -21
- package/dist/collection/components/alert/alert.js +18 -24
- package/dist/collection/components/avatar/avatar.js +5 -5
- package/dist/collection/components/back-button/back-button.js +10 -11
- package/dist/collection/components/backdrop/backdrop.js +3 -3
- package/dist/collection/components/badge/badge.js +10 -10
- package/dist/collection/components/breadcrumb/breadcrumb.js +20 -21
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -6
- package/dist/collection/components/button/button.js +25 -26
- package/dist/collection/components/buttons/buttons.js +1 -1
- package/dist/collection/components/card/card.js +15 -16
- package/dist/collection/components/card-header/card-header.js +3 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +20 -20
- package/dist/collection/components/chip/chip.js +9 -9
- package/dist/collection/components/col/col.js +60 -60
- package/dist/collection/components/content/content.js +9 -9
- package/dist/collection/components/datetime/datetime.js +36 -40
- package/dist/collection/components/datetime-button/datetime-button.js +4 -4
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +6 -6
- package/dist/collection/components/fab-button/fab-button.js +20 -21
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +4 -4
- package/dist/collection/components/img/img.js +4 -4
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -4
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -4
- package/dist/collection/components/input/input.js +54 -55
- package/dist/collection/components/input-otp/input-otp.js +17 -17
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +7 -7
- package/dist/collection/components/item/item.ionic.css +0 -5
- package/dist/collection/components/item/item.js +20 -21
- package/dist/collection/components/item-divider/item-divider.js +3 -3
- package/dist/collection/components/item-option/item-option.js +16 -16
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/list/list.js +5 -5
- package/dist/collection/components/list-header/list-header.js +4 -4
- package/dist/collection/components/loading/loading.js +18 -22
- package/dist/collection/components/menu/menu.js +10 -10
- package/dist/collection/components/menu-button/menu-button.js +7 -7
- package/dist/collection/components/menu-toggle/menu-toggle.js +3 -3
- package/dist/collection/components/modal/modal.js +26 -33
- package/dist/collection/components/nav/nav.js +5 -8
- package/dist/collection/components/nav-link/nav-link.js +3 -5
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +5 -5
- package/dist/collection/components/picker-column-option/picker-column-option.js +4 -4
- package/dist/collection/components/picker-legacy/picker.js +13 -19
- package/dist/collection/components/picker-legacy-column/picker-column.js +0 -1
- package/dist/collection/components/popover/popover.js +28 -33
- package/dist/collection/components/progress-bar/progress-bar.js +8 -8
- package/dist/collection/components/radio/radio.js +11 -11
- package/dist/collection/components/radio-group/radio-group.js +10 -10
- package/dist/collection/components/range/range.js +19 -20
- package/dist/collection/components/refresher/refresher.js +6 -6
- package/dist/collection/components/refresher-content/refresher-content.js +8 -8
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/route/route.js +3 -6
- package/dist/collection/components/route-redirect/route-redirect.js +4 -4
- package/dist/collection/components/router/router.js +2 -2
- package/dist/collection/components/router-link/router-link.js +9 -10
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/searchbar/searchbar.js +35 -35
- package/dist/collection/components/segment/segment.js +8 -8
- package/dist/collection/components/segment-button/segment-button.js +6 -6
- package/dist/collection/components/segment-view/segment-view.js +1 -1
- package/dist/collection/components/select/select.js +37 -37
- package/dist/collection/components/select-modal/select-modal.js +4 -5
- package/dist/collection/components/select-option/select-option.js +3 -3
- package/dist/collection/components/select-popover/select-popover.js +8 -9
- package/dist/collection/components/skeleton-text/skeleton-text.js +1 -1
- package/dist/collection/components/spinner/spinner.js +9 -9
- package/dist/collection/components/split-pane/split-pane.js +4 -4
- package/dist/collection/components/tab/tab.js +5 -6
- package/dist/collection/components/tab-bar/tab-bar.js +8 -8
- package/dist/collection/components/tab-button/tab-button.js +16 -16
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +43 -44
- package/dist/collection/components/title/title.js +4 -4
- package/dist/collection/components/toast/toast.js +29 -34
- package/dist/collection/components/toggle/toggle.js +17 -17
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +2 -55
- package/dist/esm/{animation-Cgfm6Out.js → animation-DGDOQ6ES.js} +2 -1
- package/dist/esm/app-globals-BNKecRVD.js +8 -0
- package/dist/esm/{button-active-DvzVF2u_.js → button-active-C_l8DIlb.js} +2 -2
- package/dist/esm/{capacitor-Dvc8Ydvg.js → capacitor-CiBLEyrT.js} +1 -1
- package/dist/esm/{config-DwiPHIF5.js → config-mCdtaoPe.js} +1 -1
- package/dist/esm/{data-HHZs0eLV.js → data-DFCY8gnk.js} +10 -7
- package/dist/esm/{framework-delegate-B4Rily6A.js → framework-delegate-D2mUP0WI.js} +2 -2
- package/dist/esm/{haptic-ZZTn7IWt.js → haptic-7RTk38ue.js} +1 -1
- package/dist/esm/{helpers-D_90HVv6.js → helpers-Bsml3FcE.js} +1 -1
- package/dist/esm/{index-ByqmqxGO.js → index-BpFi2B8W.js} +2 -2
- package/dist/esm/{index-BBrR3goV.js → index-C8IsBmNU.js} +306 -681
- package/dist/esm/{index-D4D_NUAr.js → index-DWD4QoaP.js} +4 -3
- package/dist/esm/{index-BoSPzYKk.js → index-Djo-Eq70.js} +4 -4
- package/dist/esm/{index-k4x4i7EL.js → index-rXea6WR_.js} +3 -2
- package/dist/esm/index.js +11 -10
- package/dist/esm/{input-shims-DEtEJcaS.js → input-shims-Bz3HiPwU.js} +6 -5
- package/dist/esm/{input.utils-DNE0LB5g.js → input.utils-BQAE1QTA.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -2
- package/dist/esm/ion-action-sheet.entry.js +9 -8
- package/dist/esm/ion-alert.entry.js +10 -9
- package/dist/esm/ion-app_8.entry.js +10 -9
- package/dist/esm/ion-avatar_3.entry.js +2 -1
- package/dist/esm/ion-back-button.entry.js +3 -2
- package/dist/esm/ion-backdrop.entry.js +2 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -2
- package/dist/esm/ion-button_2.entry.js +3 -2
- package/dist/esm/ion-card_5.entry.js +3 -2
- package/dist/esm/ion-checkbox.entry.js +3 -2
- package/dist/esm/ion-chip.entry.js +2 -1
- package/dist/esm/ion-col_3.entry.js +2 -1
- package/dist/esm/ion-datetime-button.entry.js +4 -3
- package/dist/esm/ion-datetime_3.entry.js +9 -8
- package/dist/esm/ion-divider.entry.js +2 -1
- package/dist/esm/ion-fab_3.entry.js +3 -2
- package/dist/esm/ion-img.entry.js +3 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -4
- package/dist/esm/ion-input-otp.entry.js +3 -2
- package/dist/esm/ion-input-password-toggle.entry.js +2 -1
- package/dist/esm/ion-input.entry.js +5 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -3
- package/dist/esm/ion-item_8.entry.js +4 -3
- package/dist/esm/ion-loading.entry.js +7 -6
- package/dist/esm/ion-menu_3.entry.js +7 -6
- package/dist/esm/ion-modal.entry.js +11 -10
- package/dist/esm/ion-nav_2.entry.js +6 -5
- package/dist/esm/ion-picker-column-option.entry.js +3 -2
- package/dist/esm/ion-picker-column.entry.js +5 -4
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -6
- package/dist/esm/ion-progress-bar.entry.js +3 -2
- package/dist/esm/ion-radio_2.entry.js +3 -2
- package/dist/esm/ion-range.entry.js +4 -3
- package/dist/esm/ion-refresher_2.entry.js +8 -7
- package/dist/esm/ion-reorder_2.entry.js +6 -5
- package/dist/esm/ion-ripple-effect.entry.js +2 -1
- package/dist/esm/ion-route_4.entry.js +3 -2
- package/dist/esm/ion-searchbar.entry.js +3 -2
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -2
- package/dist/esm/ion-select-modal.entry.js +7 -6
- package/dist/esm/ion-select_3.entry.js +8 -7
- package/dist/esm/ion-spinner.entry.js +2 -1
- package/dist/esm/ion-split-pane.entry.js +2 -1
- package/dist/esm/ion-tab-bar_2.entry.js +6 -5
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -1
- package/dist/esm/ion-textarea.entry.js +5 -4
- package/dist/esm/ion-toast.entry.js +7 -6
- package/dist/esm/ion-toggle.entry.js +5 -4
- package/dist/esm/ionic-global-2R0iPB51.js +480 -0
- package/dist/esm/ionic.js +6 -4
- package/dist/esm/{ios.transition-C_-UP8wE.js → ios.transition-cQ5XYp4s.js} +5 -4
- package/dist/esm/{keyboard-BsZp3qPH.js → keyboard-DuUgrXrK.js} +4 -3
- package/dist/esm/{keyboard-Cvigb3Rv.js → keyboard-WCK1pWfR.js} +1 -1
- package/dist/esm/{keyboard-controller-lts2Pswq.js → keyboard-controller-Bc4alOiF.js} +3 -2
- package/dist/esm/loader.js +5 -3
- package/dist/esm/{md.transition-BDWkLsNw.js → md.transition-CYFYc3-3.js} +5 -4
- package/dist/esm/{notch-controller-ClKrf2l9.js → notch-controller-DO30Bsls.js} +2 -2
- package/dist/esm/{overlays-C1ahtepl.js → overlays-Da_6xSKI.js} +4 -3
- package/dist/esm/{status-tap-DLatL9pG.js → status-tap-DXVlluKS.js} +3 -3
- package/dist/esm/{swipe-back-YYylMb0l.js → swipe-back-DNhAt9fY.js} +2 -2
- package/dist/html.html-data.json +0 -212
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p--8Ga2Cg0.js +4 -0
- package/dist/ionic/p-16c5a01c.entry.js +4 -0
- package/dist/ionic/p-1f981d06.entry.js +4 -0
- package/dist/ionic/p-22c02aea.entry.js +4 -0
- package/dist/ionic/p-23e4b68a.entry.js +4 -0
- package/dist/ionic/p-28571945.entry.js +4 -0
- package/dist/ionic/p-2bab0853.entry.js +4 -0
- package/dist/ionic/p-2e19a4dd.entry.js +4 -0
- package/dist/ionic/p-2e900f67.entry.js +4 -0
- package/dist/ionic/p-3622a9ea.entry.js +4 -0
- package/dist/ionic/p-3a6a92ab.entry.js +4 -0
- package/dist/ionic/{p-c428cbac.entry.js → p-3cb3d194.entry.js} +1 -1
- package/dist/ionic/p-418e4330.entry.js +4 -0
- package/dist/ionic/p-4261dc5d.entry.js +4 -0
- package/dist/ionic/p-4e13d498.entry.js +4 -0
- package/dist/ionic/p-55e2352e.entry.js +4 -0
- package/dist/ionic/p-56a9319e.entry.js +4 -0
- package/dist/ionic/{p-6ea34add.entry.js → p-59a79bd9.entry.js} +1 -1
- package/dist/ionic/p-59e6c978.entry.js +4 -0
- package/dist/ionic/p-642b022d.entry.js +4 -0
- package/dist/ionic/p-64385b66.entry.js +4 -0
- package/dist/ionic/p-66397fac.entry.js +4 -0
- package/dist/ionic/p-66d094b2.entry.js +4 -0
- package/dist/ionic/p-6fac73e6.entry.js +4 -0
- package/dist/ionic/p-7d450184.entry.js +4 -0
- package/dist/ionic/p-81770a5c.entry.js +4 -0
- package/dist/ionic/p-844bd58c.entry.js +4 -0
- package/dist/ionic/p-86b82096.entry.js +4 -0
- package/dist/ionic/p-87678140.entry.js +4 -0
- package/dist/ionic/p-88ef6829.entry.js +4 -0
- package/dist/ionic/{p-ae10fb4c.entry.js → p-89743bba.entry.js} +1 -1
- package/dist/ionic/p-90320028.entry.js +4 -0
- package/dist/ionic/p-916685a9.entry.js +4 -0
- package/dist/ionic/p-91966afa.entry.js +4 -0
- package/dist/ionic/p-B-N4FEiY.js +4 -0
- package/dist/ionic/p-B3uz75uZ.js +4 -0
- package/dist/ionic/p-BRd1Ag6P.js +4 -0
- package/dist/ionic/p-BbT4IAlw.js +4 -0
- package/dist/ionic/{p-BZSKvxFv.js → p-BiTKUjko.js} +1 -1
- package/dist/ionic/p-C8IsBmNU.js +5 -0
- package/dist/ionic/p-CK1xn1Nt.js +4 -0
- package/dist/ionic/p-CK4YXTyz.js +4 -0
- package/dist/ionic/p-CeO9Shc9.js +4 -0
- package/dist/ionic/p-Cm5sQeXL.js +4 -0
- package/dist/ionic/{p-DIZM2shZ.js → p-DBaOCAfc.js} +1 -1
- package/dist/ionic/p-DHCQ1qFC.js +4 -0
- package/dist/ionic/p-DPNSAVjP.js +4 -0
- package/dist/ionic/p-D_8SMvQ3.js +4 -0
- package/dist/ionic/p-DbQ5QkTP.js +4 -0
- package/dist/ionic/p-DdaOdN_z.js +4 -0
- package/dist/ionic/p-Dq8ap6AD.js +4 -0
- package/dist/ionic/p-Dv5UHqHj.js +4 -0
- package/dist/ionic/{p-BuAY53fC.js → p-DxFexTIr.js} +1 -1
- package/dist/ionic/{p-BaAcx1TO.js → p-DyaKZbAH.js} +1 -1
- package/dist/ionic/{p-D-g7JYuH.js → p-HpOiAvpC.js} +1 -1
- package/dist/ionic/{p-Bi_aZreq.js → p-Q7JLYEUZ.js} +1 -1
- package/dist/ionic/p-W-2TssC9.js +4 -0
- package/dist/ionic/p-a1128f7f.entry.js +4 -0
- package/dist/ionic/p-a57c0cce.entry.js +4 -0
- package/dist/ionic/p-acb9905c.entry.js +4 -0
- package/dist/ionic/p-b2291ef0.entry.js +4 -0
- package/dist/ionic/p-b26aeaf8.entry.js +4 -0
- package/dist/ionic/p-bf461512.entry.js +4 -0
- package/dist/ionic/p-c289efa5.entry.js +4 -0
- package/dist/ionic/p-c2f738d2.entry.js +4 -0
- package/dist/ionic/p-c775e3c0.entry.js +4 -0
- package/dist/ionic/p-ce510c06.entry.js +4 -0
- package/dist/ionic/p-cea1ee31.entry.js +4 -0
- package/dist/ionic/p-d1c60c1c.entry.js +4 -0
- package/dist/ionic/p-db90b95a.entry.js +4 -0
- package/dist/ionic/p-dcfb2b1d.entry.js +4 -0
- package/dist/ionic/p-e2171c27.entry.js +4 -0
- package/dist/ionic/p-e28d6a81.entry.js +4 -0
- package/dist/ionic/p-ec02238a.entry.js +4 -0
- package/dist/ionic/p-ecc8aebb.entry.js +4 -0
- package/dist/ionic/p-f3de58bd.entry.js +4 -0
- package/dist/ionic/p-ff757a50.entry.js +4 -0
- package/dist/ionic/p-szCM2gDt.js +4 -0
- package/dist/ionic/p-vpXGWZiy.js +4 -0
- package/dist/types/stencil-public-runtime.d.ts +51 -7
- package/hydrate/index.d.ts +2 -0
- package/hydrate/index.js +543 -345
- package/hydrate/index.mjs +543 -345
- package/package.json +2 -2
- package/dist/ionic/p-034ef39b.entry.js +0 -4
- package/dist/ionic/p-05030d1b.entry.js +0 -4
- package/dist/ionic/p-059ceab8.entry.js +0 -4
- package/dist/ionic/p-096b5789.entry.js +0 -4
- package/dist/ionic/p-09eaefc0.entry.js +0 -4
- package/dist/ionic/p-156bba30.entry.js +0 -4
- package/dist/ionic/p-238ad727.entry.js +0 -4
- package/dist/ionic/p-2c28e54a.entry.js +0 -4
- package/dist/ionic/p-2c9459f5.entry.js +0 -4
- package/dist/ionic/p-2f1d100c.entry.js +0 -4
- package/dist/ionic/p-31331fc3.entry.js +0 -4
- package/dist/ionic/p-340e4f62.entry.js +0 -4
- package/dist/ionic/p-3bef3778.entry.js +0 -4
- package/dist/ionic/p-3c773ecd.entry.js +0 -4
- package/dist/ionic/p-47432157.entry.js +0 -4
- package/dist/ionic/p-52535bba.entry.js +0 -4
- package/dist/ionic/p-56e51161.entry.js +0 -4
- package/dist/ionic/p-5770869f.entry.js +0 -4
- package/dist/ionic/p-5af619ff.entry.js +0 -4
- package/dist/ionic/p-5b44ac3a.entry.js +0 -4
- package/dist/ionic/p-5ca4c3b8.entry.js +0 -4
- package/dist/ionic/p-6469a540.entry.js +0 -4
- package/dist/ionic/p-649e2f92.entry.js +0 -4
- package/dist/ionic/p-6d38d3f3.entry.js +0 -4
- package/dist/ionic/p-6e6ce506.entry.js +0 -4
- package/dist/ionic/p-6f17f8ed.entry.js +0 -4
- package/dist/ionic/p-80cc8511.entry.js +0 -4
- package/dist/ionic/p-82796bb0.entry.js +0 -4
- package/dist/ionic/p-8b236d62.entry.js +0 -4
- package/dist/ionic/p-8c3d3bca.entry.js +0 -4
- package/dist/ionic/p-9000bd9f.entry.js +0 -4
- package/dist/ionic/p-9cbab197.entry.js +0 -4
- package/dist/ionic/p-BJ-EYogw.js +0 -4
- package/dist/ionic/p-BKDxK6_S.js +0 -4
- package/dist/ionic/p-BMPzyWDm.js +0 -4
- package/dist/ionic/p-BTqHM5hg.js +0 -4
- package/dist/ionic/p-BZR5I9yn.js +0 -4
- package/dist/ionic/p-BeJdFlAB.js +0 -4
- package/dist/ionic/p-BpUl-Ubc.js +0 -4
- package/dist/ionic/p-CnPZjTVf.js +0 -4
- package/dist/ionic/p-D6quDhlh.js +0 -4
- package/dist/ionic/p-DJD59Sq4.js +0 -4
- package/dist/ionic/p-DZmL55Qn.js +0 -4
- package/dist/ionic/p-DjxV6ul_.js +0 -4
- package/dist/ionic/p-DkXsr7m2.js +0 -4
- package/dist/ionic/p-DnNglnwY.js +0 -4
- package/dist/ionic/p-Dpa-63kX.js +0 -4
- package/dist/ionic/p-HOJ_eq4V.js +0 -5
- package/dist/ionic/p-MBiM0IFp.js +0 -4
- package/dist/ionic/p-a1af546a.entry.js +0 -4
- package/dist/ionic/p-a2218a8b.entry.js +0 -4
- package/dist/ionic/p-a22b46e4.entry.js +0 -4
- package/dist/ionic/p-c2122301.entry.js +0 -4
- package/dist/ionic/p-c565e353.entry.js +0 -4
- package/dist/ionic/p-c6301ef9.entry.js +0 -4
- package/dist/ionic/p-c83a1254.entry.js +0 -4
- package/dist/ionic/p-c9313bb8.entry.js +0 -4
- package/dist/ionic/p-cb6bb34f.entry.js +0 -4
- package/dist/ionic/p-d215bbdc.entry.js +0 -4
- package/dist/ionic/p-de6964a2.entry.js +0 -4
- package/dist/ionic/p-ded5613d.entry.js +0 -4
- package/dist/ionic/p-e0eae83d.entry.js +0 -4
- package/dist/ionic/p-e5005342.entry.js +0 -4
- package/dist/ionic/p-e7925263.entry.js +0 -4
- package/dist/ionic/p-eZzo_1L1.js +0 -4
- package/dist/ionic/p-eebf0420.entry.js +0 -4
- package/dist/ionic/p-f1bb4947.entry.js +0 -4
- package/dist/ionic/p-facf3c23.entry.js +0 -4
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -143
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
7
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
8
|
-
var overlays = require('./overlays-
|
|
8
|
+
var overlays = require('./overlays-pdcfssMG.js');
|
|
9
9
|
var gestureController = require('./gesture-controller-dtqlP_q4.js');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
11
|
+
var helpers = require('./helpers-DnouLczu.js');
|
|
12
|
+
var index$1 = require('./index-XjN3PjKG.js');
|
|
12
13
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
13
14
|
var list = require('./list-a-7GSA6K.js');
|
|
14
15
|
var index$2 = require('./index-DqmRDbxg.js');
|
|
15
|
-
require('./framework-delegate-
|
|
16
|
+
require('./framework-delegate-Bwdk9vFS.js');
|
|
16
17
|
require('./focus-visible-BIj-I3-C.js');
|
|
17
|
-
require('./animation-
|
|
18
|
+
require('./animation-BYsP2q5j.js');
|
|
18
19
|
|
|
19
20
|
const ionicMenuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);right:0;left:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){right:0;left:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{right:0;left:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";
|
|
20
21
|
|
|
@@ -389,7 +390,7 @@ const Menu = class {
|
|
|
389
390
|
}
|
|
390
391
|
async startAnimation(shouldOpen, animated) {
|
|
391
392
|
const isReversed = !shouldOpen;
|
|
392
|
-
const mode =
|
|
393
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
393
394
|
const easing = mode === 'ios' ? iosEasing : mdEasing;
|
|
394
395
|
const easingReverse = mode === 'ios' ? iosEasingReverse : mdEasingReverse;
|
|
395
396
|
const ani = this.animation
|
|
@@ -518,7 +519,7 @@ const Menu = class {
|
|
|
518
519
|
* VoiceOver not being able to update the accessibility tree when the
|
|
519
520
|
* `aria-hidden` is removed.
|
|
520
521
|
*/
|
|
521
|
-
if (
|
|
522
|
+
if (ionicGlobal.isPlatform('android')) {
|
|
522
523
|
this.el.setAttribute('aria-hidden', 'true');
|
|
523
524
|
}
|
|
524
525
|
// this places the menu into the correct location before it animates in
|
|
@@ -580,7 +581,7 @@ const Menu = class {
|
|
|
580
581
|
* transition to prevent this. Once the transition is complete, the menu
|
|
581
582
|
* is shown again.
|
|
582
583
|
*/
|
|
583
|
-
if (
|
|
584
|
+
if (ionicGlobal.isPlatform('android')) {
|
|
584
585
|
this.el.removeAttribute('aria-hidden');
|
|
585
586
|
}
|
|
586
587
|
// emit open event
|
|
@@ -659,13 +660,13 @@ const Menu = class {
|
|
|
659
660
|
}
|
|
660
661
|
render() {
|
|
661
662
|
const { type, disabled, el, isPaneVisible, inheritedAttributes, side } = this;
|
|
662
|
-
const theme$1 =
|
|
663
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
663
664
|
/**
|
|
664
665
|
* If the Close Watcher is enabled then
|
|
665
666
|
* the ionBackButton listener in the menu controller
|
|
666
667
|
* will handle closing the menu when Escape is pressed.
|
|
667
668
|
*/
|
|
668
|
-
return (index.h(index.Host, { key: '12bd2c4e9aa2f314ffc45d7f43290bd9910ca8b0', onKeyDown:
|
|
669
|
+
return (index.h(index.Host, { key: '12bd2c4e9aa2f314ffc45d7f43290bd9910ca8b0', onKeyDown: ionicGlobal.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
669
670
|
[theme$1]: true,
|
|
670
671
|
[`menu-type-${type}`]: true,
|
|
671
672
|
'menu-enabled': !disabled,
|
|
@@ -746,7 +747,7 @@ const MenuButton = class {
|
|
|
746
747
|
}
|
|
747
748
|
get menuIcon() {
|
|
748
749
|
// Determine the theme and map to default icons
|
|
749
|
-
const theme =
|
|
750
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
750
751
|
const defaultIcons = {
|
|
751
752
|
ios: index$2.menuOutline,
|
|
752
753
|
ionic: list.listSvg,
|
|
@@ -759,7 +760,7 @@ const MenuButton = class {
|
|
|
759
760
|
}
|
|
760
761
|
render() {
|
|
761
762
|
const { color, disabled, inheritedAttributes, menuIcon } = this;
|
|
762
|
-
const theme$1 =
|
|
763
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
763
764
|
const hidden = this.autoHide && !this.visible;
|
|
764
765
|
const attrs = {
|
|
765
766
|
type: this.type,
|
|
@@ -808,7 +809,7 @@ const MenuToggle = class {
|
|
|
808
809
|
this.visible = await updateVisibility(this.menu);
|
|
809
810
|
}
|
|
810
811
|
render() {
|
|
811
|
-
const theme =
|
|
812
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
812
813
|
const hidden = this.autoHide && !this.visible;
|
|
813
814
|
return (index.h(index.Host, { key: 'c3ddce789a90d720769919ebf854d05cc75f599e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
814
815
|
[theme]: true,
|
|
@@ -3,22 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var index$
|
|
8
|
-
var frameworkDelegate = require('./framework-delegate-
|
|
9
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index$2 = require('./index-D6Wc6v08.js');
|
|
7
|
+
var index$1 = require('./index-DUoP_H1L.js');
|
|
8
|
+
var frameworkDelegate = require('./framework-delegate-Bwdk9vFS.js');
|
|
9
|
+
var helpers = require('./helpers-DnouLczu.js');
|
|
10
10
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
11
|
-
var capacitor = require('./capacitor-
|
|
12
|
-
var overlays = require('./overlays-
|
|
11
|
+
var capacitor = require('./capacitor-BMhHF0O5.js');
|
|
12
|
+
var overlays = require('./overlays-pdcfssMG.js');
|
|
13
13
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
14
|
-
var index$3 = require('./index-
|
|
15
|
-
var
|
|
16
|
-
var
|
|
14
|
+
var index$3 = require('./index-Dbl8V7hw.js');
|
|
15
|
+
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
16
|
+
var keyboard = require('./keyboard-C1Ds9WQH.js');
|
|
17
|
+
var animation = require('./animation-BYsP2q5j.js');
|
|
17
18
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
18
|
-
var index
|
|
19
|
+
var index = require('./index-CAvQ7Tka.js');
|
|
19
20
|
require('./focus-visible-BIj-I3-C.js');
|
|
20
21
|
require('./gesture-controller-dtqlP_q4.js');
|
|
21
|
-
require('./keyboard-
|
|
22
|
+
require('./keyboard-UYQhk8rB.js');
|
|
22
23
|
|
|
23
24
|
var Style;
|
|
24
25
|
(function (Style) {
|
|
@@ -115,13 +116,13 @@ const getBackdropValueForSheet = (x, backdropBreakpoint) => {
|
|
|
115
116
|
*
|
|
116
117
|
*/
|
|
117
118
|
const setCardStatusBarDark = () => {
|
|
118
|
-
if (!
|
|
119
|
+
if (!ionicGlobal.win || ionicGlobal.win.innerWidth >= 768) {
|
|
119
120
|
return;
|
|
120
121
|
}
|
|
121
122
|
StatusBar.setStyle({ style: Style.Dark });
|
|
122
123
|
};
|
|
123
124
|
const setCardStatusBarDefault = (defaultStyle = Style.Default) => {
|
|
124
|
-
if (!
|
|
125
|
+
if (!ionicGlobal.win || ionicGlobal.win.innerWidth >= 768) {
|
|
125
126
|
return;
|
|
126
127
|
}
|
|
127
128
|
StatusBar.setStyle({ style: defaultStyle });
|
|
@@ -262,7 +263,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
262
263
|
let initialScrollY = true;
|
|
263
264
|
let lastStep = 0;
|
|
264
265
|
const getScrollY = () => {
|
|
265
|
-
if (contentEl && index$
|
|
266
|
+
if (contentEl && index$1.isIonContent(contentEl)) {
|
|
266
267
|
return contentEl.scrollY;
|
|
267
268
|
/**
|
|
268
269
|
* Custom scroll containers are intended to be
|
|
@@ -294,7 +295,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
294
295
|
* swipe again. The target content will not
|
|
295
296
|
* be the same between swipes.
|
|
296
297
|
*/
|
|
297
|
-
contentEl = index$
|
|
298
|
+
contentEl = index$1.findClosestIonContent(target);
|
|
298
299
|
if (contentEl) {
|
|
299
300
|
/**
|
|
300
301
|
* The card should never swipe to close
|
|
@@ -310,7 +311,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
310
311
|
* operation, and getScrollElement is
|
|
311
312
|
* asynchronous.
|
|
312
313
|
*/
|
|
313
|
-
if (index$
|
|
314
|
+
if (index$1.isIonContent(contentEl)) {
|
|
314
315
|
const root = helpers.getElementRoot(contentEl);
|
|
315
316
|
scrollEl = root.querySelector('.inner-scroll');
|
|
316
317
|
}
|
|
@@ -354,7 +355,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
354
355
|
* happen at the same time as the gesture.
|
|
355
356
|
*/
|
|
356
357
|
if (deltaY > 0 && contentEl) {
|
|
357
|
-
index$
|
|
358
|
+
index$1.disableContentScrollY(contentEl);
|
|
358
359
|
}
|
|
359
360
|
animation.progressStart(true, isOpen ? 1 : 0);
|
|
360
361
|
};
|
|
@@ -367,7 +368,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
367
368
|
* happen at the same time as the gesture.
|
|
368
369
|
*/
|
|
369
370
|
if (deltaY > 0 && contentEl) {
|
|
370
|
-
index$
|
|
371
|
+
index$1.disableContentScrollY(contentEl);
|
|
371
372
|
}
|
|
372
373
|
/**
|
|
373
374
|
* If we are swiping on the content
|
|
@@ -455,7 +456,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
455
456
|
isOpen = shouldComplete;
|
|
456
457
|
gesture.enable(false);
|
|
457
458
|
if (contentEl) {
|
|
458
|
-
index$
|
|
459
|
+
index$1.resetContentScrollY(contentEl, initialScrollY);
|
|
459
460
|
}
|
|
460
461
|
animation
|
|
461
462
|
.onFinish(() => {
|
|
@@ -483,7 +484,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
483
484
|
onDismiss();
|
|
484
485
|
}
|
|
485
486
|
};
|
|
486
|
-
const gesture = index
|
|
487
|
+
const gesture = index.createGesture({
|
|
487
488
|
el,
|
|
488
489
|
gestureName: 'modalSwipeToClose',
|
|
489
490
|
gesturePriority: overlays.OVERLAY_GESTURE_PRIORITY,
|
|
@@ -1143,14 +1144,14 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1143
1144
|
* For example, when using ion-nav within a modal it is possible to swipe, push a view,
|
|
1144
1145
|
* and then swipe again. The target content will not be the same between swipes.
|
|
1145
1146
|
*/
|
|
1146
|
-
const contentEl = index$
|
|
1147
|
+
const contentEl = index$1.findClosestIonContent(detail.event.target);
|
|
1147
1148
|
currentBreakpoint = getCurrentBreakpoint();
|
|
1148
1149
|
/**
|
|
1149
1150
|
* If `expandToScroll` is disabled, we should not allow the swipe gesture
|
|
1150
1151
|
* to start if the content is not scrolled to the top.
|
|
1151
1152
|
*/
|
|
1152
1153
|
if (!expandToScroll && contentEl) {
|
|
1153
|
-
const scrollEl = index$
|
|
1154
|
+
const scrollEl = index$1.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
|
|
1154
1155
|
return scrollEl.scrollTop === 0;
|
|
1155
1156
|
}
|
|
1156
1157
|
if (currentBreakpoint === 1 && contentEl) {
|
|
@@ -1163,7 +1164,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1163
1164
|
* Note 2: Do not use getScrollElement here because we need this to be a synchronous
|
|
1164
1165
|
* operation, and getScrollElement is asynchronous.
|
|
1165
1166
|
*/
|
|
1166
|
-
const scrollEl = index$
|
|
1167
|
+
const scrollEl = index$1.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
|
|
1167
1168
|
const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
|
|
1168
1169
|
return !hasRefresherInContent && scrollEl.scrollTop === 0;
|
|
1169
1170
|
}
|
|
@@ -1189,9 +1190,9 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1189
1190
|
* which would impact performance significantly.
|
|
1190
1191
|
*/
|
|
1191
1192
|
if (!expandToScroll) {
|
|
1192
|
-
const targetEl = index$
|
|
1193
|
+
const targetEl = index$1.findClosestIonContent(detail.event.target);
|
|
1193
1194
|
cachedScrollEl =
|
|
1194
|
-
targetEl && index$
|
|
1195
|
+
targetEl && index$1.isIonContent(targetEl) ? helpers.getElementRoot(targetEl).querySelector('.inner-scroll') : targetEl;
|
|
1195
1196
|
}
|
|
1196
1197
|
/**
|
|
1197
1198
|
* If expandToScroll is disabled, we need to swap
|
|
@@ -1465,7 +1466,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1465
1466
|
.progressEnd(1, 0, animated ? 500 : 0);
|
|
1466
1467
|
});
|
|
1467
1468
|
};
|
|
1468
|
-
const gesture = index
|
|
1469
|
+
const gesture = index.createGesture({
|
|
1469
1470
|
el: wrapperEl,
|
|
1470
1471
|
gestureName: 'modalSheet',
|
|
1471
1472
|
gesturePriority: 40,
|
|
@@ -1490,17 +1491,17 @@ const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--heigh
|
|
|
1490
1491
|
|
|
1491
1492
|
const Modal = class {
|
|
1492
1493
|
constructor(hostRef) {
|
|
1493
|
-
index.registerInstance(this, hostRef);
|
|
1494
|
-
this.didPresent = index.createEvent(this, "ionModalDidPresent", 7);
|
|
1495
|
-
this.willPresent = index.createEvent(this, "ionModalWillPresent", 7);
|
|
1496
|
-
this.willDismiss = index.createEvent(this, "ionModalWillDismiss", 7);
|
|
1497
|
-
this.didDismiss = index.createEvent(this, "ionModalDidDismiss", 7);
|
|
1498
|
-
this.ionBreakpointDidChange = index.createEvent(this, "ionBreakpointDidChange", 7);
|
|
1499
|
-
this.didPresentShorthand = index.createEvent(this, "didPresent", 7);
|
|
1500
|
-
this.willPresentShorthand = index.createEvent(this, "willPresent", 7);
|
|
1501
|
-
this.willDismissShorthand = index.createEvent(this, "willDismiss", 7);
|
|
1502
|
-
this.didDismissShorthand = index.createEvent(this, "didDismiss", 7);
|
|
1503
|
-
this.ionMount = index.createEvent(this, "ionMount", 7);
|
|
1494
|
+
index$2.registerInstance(this, hostRef);
|
|
1495
|
+
this.didPresent = index$2.createEvent(this, "ionModalDidPresent", 7);
|
|
1496
|
+
this.willPresent = index$2.createEvent(this, "ionModalWillPresent", 7);
|
|
1497
|
+
this.willDismiss = index$2.createEvent(this, "ionModalWillDismiss", 7);
|
|
1498
|
+
this.didDismiss = index$2.createEvent(this, "ionModalDidDismiss", 7);
|
|
1499
|
+
this.ionBreakpointDidChange = index$2.createEvent(this, "ionBreakpointDidChange", 7);
|
|
1500
|
+
this.didPresentShorthand = index$2.createEvent(this, "didPresent", 7);
|
|
1501
|
+
this.willPresentShorthand = index$2.createEvent(this, "willPresent", 7);
|
|
1502
|
+
this.willDismissShorthand = index$2.createEvent(this, "willDismiss", 7);
|
|
1503
|
+
this.didDismissShorthand = index$2.createEvent(this, "didDismiss", 7);
|
|
1504
|
+
this.ionMount = index$2.createEvent(this, "ionMount", 7);
|
|
1504
1505
|
this.lockController = lockController.createLockController();
|
|
1505
1506
|
this.triggerController = overlays.createTriggerController();
|
|
1506
1507
|
this.coreDelegate = frameworkDelegate.CoreDelegate();
|
|
@@ -1700,7 +1701,7 @@ const Modal = class {
|
|
|
1700
1701
|
}
|
|
1701
1702
|
onWindowResize() {
|
|
1702
1703
|
// Only handle resize for iOS card modals when no custom animations are provided
|
|
1703
|
-
if (
|
|
1704
|
+
if (ionicGlobal.getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
|
|
1704
1705
|
return;
|
|
1705
1706
|
}
|
|
1706
1707
|
clearTimeout(this.resizeTimeout);
|
|
@@ -1768,7 +1769,7 @@ const Modal = class {
|
|
|
1768
1769
|
this.currentBreakpoint = this.initialBreakpoint;
|
|
1769
1770
|
}
|
|
1770
1771
|
if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
|
|
1771
|
-
index.printIonWarning('[ion-modal] - Your breakpoints array must include the initialBreakpoint value.');
|
|
1772
|
+
index$2.printIonWarning('[ion-modal] - Your breakpoints array must include the initialBreakpoint value.');
|
|
1772
1773
|
}
|
|
1773
1774
|
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
1774
1775
|
overlays.setOverlayId(this.el);
|
|
@@ -1881,14 +1882,14 @@ const Modal = class {
|
|
|
1881
1882
|
else if (!this.keepContentsMounted) {
|
|
1882
1883
|
await index$3.waitForMount();
|
|
1883
1884
|
}
|
|
1884
|
-
index.writeTask(() => this.el.classList.add('show-modal'));
|
|
1885
|
+
index$2.writeTask(() => this.el.classList.add('show-modal'));
|
|
1885
1886
|
const hasCardModal = presentingElement !== undefined;
|
|
1886
1887
|
/**
|
|
1887
1888
|
* We need to change the status bar at the
|
|
1888
1889
|
* start of the animation so that it completes
|
|
1889
1890
|
* by the time the card animation is done.
|
|
1890
1891
|
*/
|
|
1891
|
-
if (hasCardModal &&
|
|
1892
|
+
if (hasCardModal && ionicGlobal.getIonMode(this) === 'ios') {
|
|
1892
1893
|
// Cache the original status bar color before the modal is presented
|
|
1893
1894
|
this.statusBarStyle = await StatusBar.getStyle();
|
|
1894
1895
|
setCardStatusBarDark();
|
|
@@ -1898,7 +1899,7 @@ const Modal = class {
|
|
|
1898
1899
|
currentBreakpoint: this.initialBreakpoint,
|
|
1899
1900
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
1900
1901
|
expandToScroll: this.expandToScroll,
|
|
1901
|
-
staticBackdropOpacity:
|
|
1902
|
+
staticBackdropOpacity: ionicGlobal.getIonTheme(this) === 'ionic',
|
|
1902
1903
|
});
|
|
1903
1904
|
/* tslint:disable-next-line */
|
|
1904
1905
|
if (typeof window !== 'undefined') {
|
|
@@ -1945,21 +1946,21 @@ const Modal = class {
|
|
|
1945
1946
|
}
|
|
1946
1947
|
initSwipeToClose() {
|
|
1947
1948
|
var _a;
|
|
1948
|
-
if (
|
|
1949
|
+
if (ionicGlobal.getIonMode(this) !== 'ios') {
|
|
1949
1950
|
return;
|
|
1950
1951
|
}
|
|
1951
1952
|
const { el } = this;
|
|
1952
1953
|
// All of the elements needed for the swipe gesture
|
|
1953
1954
|
// should be in the DOM and referenced by now, except
|
|
1954
1955
|
// for the presenting el
|
|
1955
|
-
const animationBuilder = this.leaveAnimation || index.config.get('modalLeave', iosLeaveAnimation);
|
|
1956
|
+
const animationBuilder = this.leaveAnimation || index$2.config.get('modalLeave', iosLeaveAnimation);
|
|
1956
1957
|
const ani = (this.animation = animationBuilder(el, {
|
|
1957
1958
|
presentingEl: this.presentingElement,
|
|
1958
1959
|
expandToScroll: this.expandToScroll,
|
|
1959
1960
|
}));
|
|
1960
|
-
const contentEl = index$
|
|
1961
|
+
const contentEl = index$1.findIonContent(el);
|
|
1961
1962
|
if (!contentEl) {
|
|
1962
|
-
index$
|
|
1963
|
+
index$1.printIonContentErrorMsg(el);
|
|
1963
1964
|
return;
|
|
1964
1965
|
}
|
|
1965
1966
|
const statusBarStyle = (_a = this.statusBarStyle) !== null && _a !== void 0 ? _a : Style.Default;
|
|
@@ -1996,13 +1997,13 @@ const Modal = class {
|
|
|
1996
1997
|
if (!wrapperEl || initialBreakpoint === undefined) {
|
|
1997
1998
|
return;
|
|
1998
1999
|
}
|
|
1999
|
-
const animationBuilder = this.enterAnimation || index.config.get('modalEnter', iosEnterAnimation);
|
|
2000
|
+
const animationBuilder = this.enterAnimation || index$2.config.get('modalEnter', iosEnterAnimation);
|
|
2000
2001
|
const ani = (this.animation = animationBuilder(this.el, {
|
|
2001
2002
|
presentingEl: this.presentingElement,
|
|
2002
2003
|
currentBreakpoint: initialBreakpoint,
|
|
2003
2004
|
backdropBreakpoint,
|
|
2004
2005
|
expandToScroll: this.expandToScroll,
|
|
2005
|
-
staticBackdropOpacity:
|
|
2006
|
+
staticBackdropOpacity: ionicGlobal.getIonTheme(this) === 'ionic',
|
|
2006
2007
|
}));
|
|
2007
2008
|
ani.progressStart(true, 1);
|
|
2008
2009
|
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, this.expandToScroll, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
|
|
@@ -2010,7 +2011,7 @@ const Modal = class {
|
|
|
2010
2011
|
this.currentBreakpoint = breakpoint;
|
|
2011
2012
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
2012
2013
|
}
|
|
2013
|
-
},
|
|
2014
|
+
}, ionicGlobal.getIonTheme(this) === 'ionic');
|
|
2014
2015
|
this.gesture = gesture;
|
|
2015
2016
|
this.moveSheetToBreakpoint = moveSheetToBreakpoint;
|
|
2016
2017
|
this.gesture.enable(true);
|
|
@@ -2077,7 +2078,7 @@ const Modal = class {
|
|
|
2077
2078
|
* finishes when the dismiss animation does.
|
|
2078
2079
|
*/
|
|
2079
2080
|
const hasCardModal = presentingElement !== undefined;
|
|
2080
|
-
if (hasCardModal &&
|
|
2081
|
+
if (hasCardModal && ionicGlobal.getIonMode(this) === 'ios') {
|
|
2081
2082
|
setCardStatusBarDefault(this.statusBarStyle);
|
|
2082
2083
|
}
|
|
2083
2084
|
/* tslint:disable-next-line */
|
|
@@ -2094,7 +2095,7 @@ const Modal = class {
|
|
|
2094
2095
|
if (dismissed) {
|
|
2095
2096
|
const { delegate } = this.getDelegate();
|
|
2096
2097
|
await frameworkDelegate.detachComponent(delegate, this.usersElement);
|
|
2097
|
-
index.writeTask(() => this.el.classList.remove('show-modal'));
|
|
2098
|
+
index$2.writeTask(() => this.el.classList.remove('show-modal'));
|
|
2098
2099
|
if (this.animation) {
|
|
2099
2100
|
this.animation.destroy();
|
|
2100
2101
|
}
|
|
@@ -2129,11 +2130,11 @@ const Modal = class {
|
|
|
2129
2130
|
*/
|
|
2130
2131
|
async setCurrentBreakpoint(breakpoint) {
|
|
2131
2132
|
if (!this.isSheetModal) {
|
|
2132
|
-
index.printIonWarning('[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.');
|
|
2133
|
+
index$2.printIonWarning('[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.');
|
|
2133
2134
|
return;
|
|
2134
2135
|
}
|
|
2135
2136
|
if (!this.breakpoints.includes(breakpoint)) {
|
|
2136
|
-
index.printIonWarning(`[ion-modal] - Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
|
|
2137
|
+
index$2.printIonWarning(`[ion-modal] - Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
|
|
2137
2138
|
return;
|
|
2138
2139
|
}
|
|
2139
2140
|
const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;
|
|
@@ -2179,7 +2180,7 @@ const Modal = class {
|
|
|
2179
2180
|
return true;
|
|
2180
2181
|
}
|
|
2181
2182
|
getShape() {
|
|
2182
|
-
const theme =
|
|
2183
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
2183
2184
|
const { shape } = this;
|
|
2184
2185
|
// TODO(ROU-11167): Remove theme check when shapes are defined for all themes.
|
|
2185
2186
|
if (theme !== 'ionic') {
|
|
@@ -2192,7 +2193,7 @@ const Modal = class {
|
|
|
2192
2193
|
}
|
|
2193
2194
|
initViewTransitionListener() {
|
|
2194
2195
|
// Only enable for iOS card modals when no custom animations are provided
|
|
2195
|
-
if (
|
|
2196
|
+
if (ionicGlobal.getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
|
|
2196
2197
|
return;
|
|
2197
2198
|
}
|
|
2198
2199
|
// Set initial view state
|
|
@@ -2248,7 +2249,7 @@ const Modal = class {
|
|
|
2248
2249
|
}
|
|
2249
2250
|
reinitSwipeToClose() {
|
|
2250
2251
|
// Only reinitialize if we have a presenting element and are on iOS
|
|
2251
|
-
if (
|
|
2252
|
+
if (ionicGlobal.getIonMode(this) !== 'ios' || !this.presentingElement) {
|
|
2252
2253
|
return;
|
|
2253
2254
|
}
|
|
2254
2255
|
// Clean up existing gesture and animation
|
|
@@ -2348,27 +2349,27 @@ const Modal = class {
|
|
|
2348
2349
|
render() {
|
|
2349
2350
|
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap, expandToScroll, } = this;
|
|
2350
2351
|
const showHandle = handle !== false && isSheetModal;
|
|
2351
|
-
const theme$1 =
|
|
2352
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2352
2353
|
const isCardModal = presentingElement !== undefined && theme$1 === 'ios';
|
|
2353
2354
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2354
2355
|
const shape = this.getShape();
|
|
2355
2356
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2356
|
-
return (index.h(index.Host, Object.assign({ key: '8ced9dcdb4ec35817bc1ad5f4f0c1b56bf76c93f', "no-router": true,
|
|
2357
|
+
return (index$2.h(index$2.Host, Object.assign({ key: '8ced9dcdb4ec35817bc1ad5f4f0c1b56bf76c93f', "no-router": true,
|
|
2357
2358
|
// Allow the modal to be navigable when the handle is focusable
|
|
2358
2359
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2359
2360
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2360
|
-
}, class: Object.assign({ [theme$1]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index.h("ion-backdrop", { key: '952e76177128f7c5dcc9c9fe7792d73ec4c9c573', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme$1 === 'ios' && index.h("div", { key: '3be69826a33edae93d2276b88347f025f3b46d92', class: "modal-shadow" }), index.h("div", Object.assign({ key: 'adeb46e4c78d08418f27277db8300706f1ce6d48',
|
|
2361
|
+
}, class: Object.assign({ [theme$1]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index$2.h("ion-backdrop", { key: '952e76177128f7c5dcc9c9fe7792d73ec4c9c573', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme$1 === 'ios' && index$2.h("div", { key: '3be69826a33edae93d2276b88347f025f3b46d92', class: "modal-shadow" }), index$2.h("div", Object.assign({ key: 'adeb46e4c78d08418f27277db8300706f1ce6d48',
|
|
2361
2362
|
/*
|
|
2362
2363
|
role and aria-modal must be used on the
|
|
2363
2364
|
same element. They must also be set inside the
|
|
2364
2365
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2365
2366
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2366
2367
|
*/
|
|
2367
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index.h("button", { key: '22ac19bef95f75b5b26147c6c41439690beb3849', class: "modal-handle",
|
|
2368
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$2.h("button", { key: '22ac19bef95f75b5b26147c6c41439690beb3849', class: "modal-handle",
|
|
2368
2369
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
2369
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), index.h("slot", { key: '0039450fb7b0caa84f7a16c38e6db148cd9a5371', onSlotchange: this.onSlotChange }))));
|
|
2370
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), index$2.h("slot", { key: '0039450fb7b0caa84f7a16c38e6db148cd9a5371', onSlotchange: this.onSlotChange }))));
|
|
2370
2371
|
}
|
|
2371
|
-
get el() { return index.getElement(this); }
|
|
2372
|
+
get el() { return index$2.getElement(this); }
|
|
2372
2373
|
static get watchers() { return {
|
|
2373
2374
|
"isOpen": ["onIsOpenChange"],
|
|
2374
2375
|
"trigger": ["triggerChanged"]
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
7
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
8
|
-
var helpers = require('./helpers-
|
|
9
|
-
var index$1 = require('./index-
|
|
10
|
-
var
|
|
8
|
+
var helpers = require('./helpers-DnouLczu.js');
|
|
9
|
+
var index$1 = require('./index-Dbl8V7hw.js');
|
|
10
|
+
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
11
|
+
var frameworkDelegate = require('./framework-delegate-Bwdk9vFS.js');
|
|
11
12
|
require('./focus-visible-BIj-I3-C.js');
|
|
12
13
|
|
|
13
14
|
const VIEW_STATE_NEW = 1;
|
|
@@ -122,7 +123,7 @@ const Nav = class {
|
|
|
122
123
|
componentWillLoad() {
|
|
123
124
|
this.useRouter = document.querySelector('ion-router') !== null && this.el.closest('[no-router]') === null;
|
|
124
125
|
if (this.swipeGesture === undefined) {
|
|
125
|
-
const mode =
|
|
126
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
126
127
|
this.swipeGesture = index.config.getBoolean('swipeBackEnabled', mode === 'ios');
|
|
127
128
|
}
|
|
128
129
|
this.ionNavWillLoad.emit();
|
|
@@ -131,7 +132,7 @@ const Nav = class {
|
|
|
131
132
|
// We want to set this flag before any watch callbacks are manually called
|
|
132
133
|
this.didLoad = true;
|
|
133
134
|
this.rootChanged();
|
|
134
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
135
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-CR060nOX.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
135
136
|
this.swipeGestureChanged();
|
|
136
137
|
}
|
|
137
138
|
connectedCallback() {
|
|
@@ -740,8 +741,8 @@ const Nav = class {
|
|
|
740
741
|
}
|
|
741
742
|
}
|
|
742
743
|
: undefined;
|
|
743
|
-
const theme =
|
|
744
|
-
const mode =
|
|
744
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
745
|
+
const mode = ionicGlobal.getIonMode(this, theme);
|
|
745
746
|
const enteringEl = enteringView.element;
|
|
746
747
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
747
748
|
const leavingEl = leavingView && leavingView.element;
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var helpers = require('./helpers-DnouLczu.js');
|
|
8
8
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
9
|
+
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
9
10
|
require('./focus-visible-BIj-I3-C.js');
|
|
10
11
|
|
|
11
12
|
const ionicPickerColumnOptionMdCss = ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
|
|
@@ -100,7 +101,7 @@ const PickerColumnOption = class {
|
|
|
100
101
|
}
|
|
101
102
|
render() {
|
|
102
103
|
const { color, disabled, ariaLabel } = this;
|
|
103
|
-
const theme$1 =
|
|
104
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
104
105
|
return (index.h(index.Host, { key: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: theme.createColorClasses(color, {
|
|
105
106
|
[theme$1]: true,
|
|
106
107
|
['option-disabled']: disabled,
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var
|
|
8
|
-
var
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
8
|
+
var helpers = require('./helpers-DnouLczu.js');
|
|
9
|
+
var haptic = require('./haptic-Cy3moXzO.js');
|
|
9
10
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
10
11
|
require('./focus-visible-BIj-I3-C.js');
|
|
11
|
-
require('./capacitor-
|
|
12
|
+
require('./capacitor-BMhHF0O5.js');
|
|
12
13
|
|
|
13
14
|
const pickerColumnCss = ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{right:0;left:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
|
|
14
15
|
|
|
@@ -123,7 +124,7 @@ const PickerColumn = class {
|
|
|
123
124
|
* an iOS-only feature. As a result, they should
|
|
124
125
|
* be disabled on Android.
|
|
125
126
|
*/
|
|
126
|
-
const enableHaptics =
|
|
127
|
+
const enableHaptics = ionicGlobal.isPlatform('ios');
|
|
127
128
|
const { el, scrollEl } = this;
|
|
128
129
|
let timeout;
|
|
129
130
|
let activeEl = this.activeItem;
|
|
@@ -166,7 +167,7 @@ const PickerColumn = class {
|
|
|
166
167
|
*/
|
|
167
168
|
const rootNode = el.getRootNode();
|
|
168
169
|
const hasParentShadow = rootNode instanceof ShadowRoot;
|
|
169
|
-
const referenceNode = hasParentShadow ? rootNode :
|
|
170
|
+
const referenceNode = hasParentShadow ? rootNode : ionicGlobal.doc;
|
|
170
171
|
/**
|
|
171
172
|
* If the reference node is undefined
|
|
172
173
|
* then it's likely that doc is undefined
|
|
@@ -366,7 +367,7 @@ const PickerColumn = class {
|
|
|
366
367
|
* cause the next option to be selected. The Home/End operations remain
|
|
367
368
|
* unchanged because those always represent the first/last options, respectively.
|
|
368
369
|
*/
|
|
369
|
-
const mobile =
|
|
370
|
+
const mobile = ionicGlobal.isPlatform('mobile');
|
|
370
371
|
let newOption = null;
|
|
371
372
|
switch (ev.key) {
|
|
372
373
|
case 'ArrowDown':
|
|
@@ -548,7 +549,7 @@ const PickerColumn = class {
|
|
|
548
549
|
}
|
|
549
550
|
render() {
|
|
550
551
|
const { color, disabled, isActive, numericInput } = this;
|
|
551
|
-
const theme$1 =
|
|
552
|
+
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
552
553
|
return (index.h(index.Host, { key: '7c9603b518a73f9883ff01464fe3f70c14b9059c', class: theme.createColorClasses(color, {
|
|
553
554
|
[theme$1]: true,
|
|
554
555
|
['picker-column-active']: isActive,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var helpers = require('./helpers-DnouLczu.js');
|
|
8
8
|
require('./focus-visible-BIj-I3-C.js');
|
|
9
9
|
|
|
10
10
|
const ionicPickerMdCss = ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);right:0;left:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";
|