@ionic/core 8.7.6-dev.11761146245.19b2e6db → 8.7.6-dev.11761592056.19dedfdf
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 +6 -8
- package/components/alert.js +6 -8
- package/components/backdrop.js +3 -5
- package/components/button.js +4 -6
- package/components/buttons.js +3 -5
- package/components/checkbox.js +3 -5
- package/components/content.js +3 -5
- package/components/data.js +6 -9
- package/components/header.js +3 -5
- package/components/icon.js +3 -5
- package/components/ion-accordion-group.js +3 -5
- package/components/ion-accordion.js +3 -5
- package/components/ion-app.js +3 -5
- package/components/ion-avatar.js +3 -5
- package/components/ion-back-button.js +4 -6
- package/components/ion-badge.js +3 -5
- package/components/ion-breadcrumb.js +4 -6
- package/components/ion-breadcrumbs.js +3 -5
- package/components/ion-card-content.js +3 -5
- package/components/ion-card-header.js +3 -5
- package/components/ion-card-subtitle.js +3 -5
- package/components/ion-card-title.js +3 -5
- package/components/ion-card.js +4 -6
- package/components/ion-chip.js +3 -5
- package/components/ion-col.js +3 -5
- package/components/ion-datetime-button.js +3 -5
- package/components/ion-datetime.js +7 -9
- package/components/ion-divider.js +3 -5
- package/components/ion-fab-button.js +4 -6
- package/components/ion-fab-list.js +3 -5
- package/components/ion-fab.js +3 -5
- package/components/ion-footer.js +3 -5
- package/components/ion-grid.js +3 -5
- package/components/ion-img.js +3 -5
- package/components/ion-infinite-scroll-content.js +3 -5
- package/components/ion-infinite-scroll.js +3 -5
- package/components/ion-input-otp.js +3 -5
- package/components/ion-input-password-toggle.js +3 -5
- package/components/ion-input.js +4 -6
- package/components/ion-item-divider.js +3 -5
- package/components/ion-item-group.js +3 -5
- package/components/ion-item-option.js +3 -5
- package/components/ion-item-options.js +3 -5
- package/components/ion-item-sliding.js +3 -5
- package/components/ion-loading.js +6 -8
- package/components/ion-menu-button.js +3 -5
- package/components/ion-menu-toggle.js +3 -5
- package/components/ion-menu.js +3 -5
- package/components/ion-nav-link.js +5 -7
- package/components/ion-nav.js +4 -6
- package/components/ion-note.js +3 -5
- package/components/ion-picker-legacy.js +6 -8
- package/components/ion-progress-bar.js +3 -5
- package/components/ion-range.js +4 -6
- package/components/ion-refresher-content.js +3 -5
- package/components/ion-refresher.js +3 -5
- package/components/ion-reorder-group.js +3 -5
- package/components/ion-reorder.js +3 -5
- package/components/ion-route-redirect.js +2 -4
- package/components/ion-route.js +5 -7
- package/components/ion-router-link.js +4 -6
- package/components/ion-router-outlet.js +4 -6
- package/components/ion-router.js +2 -4
- package/components/ion-row.js +3 -5
- package/components/ion-searchbar.js +3 -5
- package/components/ion-segment-button.js +3 -5
- package/components/ion-segment-content.js +3 -5
- package/components/ion-segment-view.js +3 -5
- package/components/ion-segment.js +3 -5
- package/components/ion-select-option.js +3 -5
- package/components/ion-select.js +4 -6
- package/components/ion-skeleton-text.js +3 -5
- package/components/ion-split-pane.js +3 -5
- package/components/ion-tab-bar.js +3 -5
- package/components/ion-tab-button.js +3 -5
- package/components/ion-tab.js +3 -5
- package/components/ion-tabs.js +3 -5
- package/components/ion-text.js +3 -5
- package/components/ion-textarea.js +4 -6
- package/components/ion-thumbnail.js +3 -5
- package/components/ion-toast.js +6 -8
- package/components/ion-toggle.js +3 -5
- package/components/item.js +4 -6
- package/components/label.js +3 -5
- package/components/list-header.js +3 -5
- package/components/list.js +3 -5
- package/components/modal.js +8 -10
- package/components/picker-column-option.js +3 -5
- package/components/picker-column.js +3 -5
- package/components/picker-column2.js +3 -5
- package/components/picker.js +3 -5
- package/components/popover.js +7 -9
- package/components/radio-group.js +3 -5
- package/components/radio.js +3 -5
- package/components/ripple-effect.js +3 -5
- package/components/select-modal.js +5 -7
- package/components/select-popover.js +5 -7
- package/components/spinner.js +3 -5
- package/components/title.js +3 -5
- package/components/toolbar.js +3 -5
- package/dist/cjs/{animation-BYsP2q5j.js → animation-Bcz4qmJk.js} +2 -3
- package/dist/cjs/{button-active-CDa7BeCl.js → button-active-1nO6qpCH.js} +2 -2
- package/dist/cjs/{capacitor-BMhHF0O5.js → capacitor-CzFst28-.js} +3 -3
- package/dist/cjs/{config-C5fsO43a.js → config-DGKt4XfG.js} +1 -1
- package/dist/cjs/{data-MoL8Ckx5.js → data-B3i-krcw.js} +7 -10
- package/dist/cjs/{framework-delegate-Bwdk9vFS.js → framework-delegate-DfEY5uyC.js} +2 -2
- package/dist/cjs/{haptic-Cy3moXzO.js → haptic-DbqPcCc9.js} +1 -1
- package/dist/cjs/{helpers-DnouLczu.js → helpers-DmAvmm2T.js} +1 -1
- package/dist/cjs/{index-DUoP_H1L.js → index-CaZ3uzAD.js} +2 -2
- package/dist/cjs/{index-D6Wc6v08.js → index-CmckMMX1.js} +691 -310
- package/dist/cjs/{index-XjN3PjKG.js → index-DcPe_YcG.js} +8 -9
- package/dist/cjs/{index-Dbl8V7hw.js → index-DxVhwe3d.js} +4 -4
- package/dist/cjs/{index-Bq6U5NAb.js → index-YEjC0pvJ.js} +7 -8
- package/dist/cjs/index.cjs.js +14 -15
- package/dist/cjs/{input-shims-D6DHFHsE.js → input-shims-BwdlNkON.js} +16 -17
- package/dist/cjs/{input.utils-BVyJKWft.js → input.utils-CfjyQhpu.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -11
- package/dist/cjs/ion-alert.cjs.entry.js +13 -14
- package/dist/cjs/ion-app_8.cjs.entry.js +21 -22
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -9
- package/dist/cjs/ion-back-button.cjs.entry.js +5 -6
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +6 -7
- package/dist/cjs/ion-button_2.cjs.entry.js +5 -6
- package/dist/cjs/ion-card_5.cjs.entry.js +7 -8
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -4
- package/dist/cjs/ion-chip.cjs.entry.js +4 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -5
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -5
- package/dist/cjs/ion-datetime_3.cjs.entry.js +18 -19
- package/dist/cjs/ion-divider.cjs.entry.js +2 -3
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -7
- package/dist/cjs/ion-img.cjs.entry.js +3 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -8
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -4
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +4 -5
- package/dist/cjs/ion-input.cjs.entry.js +12 -13
- package/dist/cjs/ion-item-option_3.cjs.entry.js +7 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -13
- package/dist/cjs/ion-loading.cjs.entry.js +8 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -15
- package/dist/cjs/ion-modal.cjs.entry.js +62 -63
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +8 -9
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +9 -10
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -5
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -5
- package/dist/cjs/ion-range.cjs.entry.js +4 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -15
- package/dist/cjs/ion-reorder_2.cjs.entry.js +8 -9
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +10 -11
- 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 +4 -5
- package/dist/cjs/ion-select-modal.cjs.entry.js +7 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +20 -21
- package/dist/cjs/ion-spinner.cjs.entry.js +4 -5
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -3
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +9 -10
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +8 -9
- package/dist/cjs/ion-toast.cjs.entry.js +13 -14
- package/dist/cjs/ion-toggle.cjs.entry.js +9 -10
- package/dist/cjs/ionic.cjs.js +4 -6
- package/dist/cjs/{ios.transition-2wtm_6Ok.js → ios.transition-BMRClUxZ.js} +4 -5
- package/dist/cjs/{keyboard-UYQhk8rB.js → keyboard-Chl5cusY.js} +1 -1
- package/dist/cjs/{keyboard-controller-ts0z4BIe.js → keyboard-controller-yLvXRMuh.js} +9 -10
- package/dist/cjs/{keyboard-C1Ds9WQH.js → keyboard-nXDIskl9.js} +3 -4
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/{md.transition-DCNdoS7u.js → md.transition-D2ZL4jgW.js} +4 -5
- package/dist/cjs/{notch-controller-BX7CnNaL.js → notch-controller-S50JyZJs.js} +4 -4
- package/dist/cjs/{overlays-pdcfssMG.js → overlays-XYRfwd6H.js} +8 -9
- package/dist/cjs/{status-tap-e-hyosXV.js → status-tap-DMaRrHIS.js} +3 -3
- package/dist/cjs/{swipe-back-CR060nOX.js → swipe-back-CEVlQT7C.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 +21 -16
- package/dist/collection/components/alert/alert.js +24 -18
- package/dist/collection/components/avatar/avatar.js +5 -5
- package/dist/collection/components/back-button/back-button.js +11 -10
- 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 +21 -20
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -6
- package/dist/collection/components/button/button.js +26 -25
- package/dist/collection/components/buttons/buttons.js +1 -1
- package/dist/collection/components/card/card.js +16 -15
- 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 +40 -36
- 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 +21 -20
- 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 +55 -54
- 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.js +21 -20
- 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 +22 -18
- 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 +33 -26
- package/dist/collection/components/nav/nav.js +8 -5
- package/dist/collection/components/nav-link/nav-link.js +5 -3
- 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 +19 -13
- package/dist/collection/components/picker-legacy-column/picker-column.js +1 -0
- package/dist/collection/components/popover/popover.js +33 -28
- 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 +20 -19
- 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 +6 -3
- 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 +10 -9
- package/dist/collection/components/router-outlet/router-outlet.js +5 -2
- 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.ionic.css +5 -0
- package/dist/collection/components/select/select.js +37 -37
- package/dist/collection/components/select-modal/select-modal.js +5 -4
- package/dist/collection/components/select-option/select-option.js +3 -3
- package/dist/collection/components/select-popover/select-popover.js +9 -8
- 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 +6 -5
- 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 +44 -43
- package/dist/collection/components/title/title.js +4 -4
- package/dist/collection/components/toast/toast.js +34 -29
- package/dist/collection/components/toggle/toggle.js +17 -17
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +55 -2
- package/dist/esm/{animation-DGDOQ6ES.js → animation-Cgfm6Out.js} +1 -2
- package/dist/esm/{button-active-C_l8DIlb.js → button-active-DvzVF2u_.js} +2 -2
- package/dist/esm/{capacitor-CiBLEyrT.js → capacitor-Dvc8Ydvg.js} +1 -1
- package/dist/esm/{config-mCdtaoPe.js → config-DwiPHIF5.js} +1 -1
- package/dist/esm/{data-DFCY8gnk.js → data-HHZs0eLV.js} +7 -10
- package/dist/esm/{framework-delegate-D2mUP0WI.js → framework-delegate-B4Rily6A.js} +2 -2
- package/dist/esm/{haptic-7RTk38ue.js → haptic-ZZTn7IWt.js} +1 -1
- package/dist/esm/{helpers-Bsml3FcE.js → helpers-D_90HVv6.js} +1 -1
- package/dist/esm/{index-C8IsBmNU.js → index-BBrR3goV.js} +681 -306
- package/dist/esm/{index-Djo-Eq70.js → index-BoSPzYKk.js} +4 -4
- package/dist/esm/{index-BpFi2B8W.js → index-ByqmqxGO.js} +2 -2
- package/dist/esm/{index-DWD4QoaP.js → index-D4D_NUAr.js} +3 -4
- package/dist/esm/{index-rXea6WR_.js → index-k4x4i7EL.js} +2 -3
- package/dist/esm/index.js +10 -11
- package/dist/esm/{input-shims-Bz3HiPwU.js → input-shims-DEtEJcaS.js} +5 -6
- package/dist/esm/{input.utils-BQAE1QTA.js → input.utils-DNE0LB5g.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +2 -3
- package/dist/esm/ion-action-sheet.entry.js +8 -9
- package/dist/esm/ion-alert.entry.js +9 -10
- package/dist/esm/ion-app_8.entry.js +9 -10
- package/dist/esm/ion-avatar_3.entry.js +1 -2
- package/dist/esm/ion-back-button.entry.js +2 -3
- package/dist/esm/ion-backdrop.entry.js +1 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -3
- package/dist/esm/ion-button_2.entry.js +2 -3
- package/dist/esm/ion-card_5.entry.js +2 -3
- package/dist/esm/ion-checkbox.entry.js +2 -3
- package/dist/esm/ion-chip.entry.js +1 -2
- package/dist/esm/ion-col_3.entry.js +1 -2
- package/dist/esm/ion-datetime-button.entry.js +3 -4
- package/dist/esm/ion-datetime_3.entry.js +8 -9
- package/dist/esm/ion-divider.entry.js +1 -2
- package/dist/esm/ion-fab_3.entry.js +2 -3
- package/dist/esm/ion-img.entry.js +2 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -5
- package/dist/esm/ion-input-otp.entry.js +2 -3
- package/dist/esm/ion-input-password-toggle.entry.js +1 -2
- package/dist/esm/ion-input.entry.js +4 -5
- package/dist/esm/ion-item-option_3.entry.js +3 -4
- package/dist/esm/ion-item_8.entry.js +2 -3
- package/dist/esm/ion-loading.entry.js +6 -7
- package/dist/esm/ion-menu_3.entry.js +6 -7
- package/dist/esm/ion-modal.entry.js +10 -11
- package/dist/esm/ion-nav_2.entry.js +5 -6
- package/dist/esm/ion-picker-column-option.entry.js +2 -3
- package/dist/esm/ion-picker-column.entry.js +4 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +6 -7
- package/dist/esm/ion-progress-bar.entry.js +2 -3
- package/dist/esm/ion-radio_2.entry.js +2 -3
- package/dist/esm/ion-range.entry.js +3 -4
- package/dist/esm/ion-refresher_2.entry.js +7 -8
- package/dist/esm/ion-reorder_2.entry.js +5 -6
- package/dist/esm/ion-ripple-effect.entry.js +1 -2
- package/dist/esm/ion-route_4.entry.js +2 -3
- package/dist/esm/ion-searchbar.entry.js +2 -3
- 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 +2 -3
- package/dist/esm/ion-select-modal.entry.js +6 -7
- package/dist/esm/ion-select_3.entry.js +8 -9
- package/dist/esm/ion-spinner.entry.js +1 -2
- package/dist/esm/ion-split-pane.entry.js +1 -2
- package/dist/esm/ion-tab-bar_2.entry.js +5 -6
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +1 -2
- package/dist/esm/ion-textarea.entry.js +4 -5
- package/dist/esm/ion-toast.entry.js +6 -7
- package/dist/esm/ion-toggle.entry.js +4 -5
- package/dist/esm/ionic.js +4 -6
- package/dist/esm/{ios.transition-cQ5XYp4s.js → ios.transition-C_-UP8wE.js} +4 -5
- package/dist/esm/{keyboard-DuUgrXrK.js → keyboard-BsZp3qPH.js} +3 -4
- package/dist/esm/{keyboard-WCK1pWfR.js → keyboard-Cvigb3Rv.js} +1 -1
- package/dist/esm/{keyboard-controller-Bc4alOiF.js → keyboard-controller-lts2Pswq.js} +2 -3
- package/dist/esm/loader.js +3 -5
- package/dist/esm/{md.transition-CYFYc3-3.js → md.transition-BDWkLsNw.js} +4 -5
- package/dist/esm/{notch-controller-DO30Bsls.js → notch-controller-ClKrf2l9.js} +2 -2
- package/dist/esm/{overlays-Da_6xSKI.js → overlays-C1ahtepl.js} +3 -4
- package/dist/esm/{status-tap-DXVlluKS.js → status-tap-DLatL9pG.js} +3 -3
- package/dist/esm/{swipe-back-DNhAt9fY.js → swipe-back-YYylMb0l.js} +2 -2
- package/dist/html.html-data.json +212 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-034ef39b.entry.js +4 -0
- package/dist/ionic/p-05030d1b.entry.js +4 -0
- package/dist/ionic/p-059ceab8.entry.js +4 -0
- package/dist/ionic/p-096b5789.entry.js +4 -0
- package/dist/ionic/p-09eaefc0.entry.js +4 -0
- package/dist/ionic/p-156bba30.entry.js +4 -0
- package/dist/ionic/p-238ad727.entry.js +4 -0
- package/dist/ionic/p-2c28e54a.entry.js +4 -0
- package/dist/ionic/p-2c9459f5.entry.js +4 -0
- package/dist/ionic/p-2f1d100c.entry.js +4 -0
- package/dist/ionic/p-31331fc3.entry.js +4 -0
- package/dist/ionic/p-340e4f62.entry.js +4 -0
- package/dist/ionic/p-3bef3778.entry.js +4 -0
- package/dist/ionic/p-3c773ecd.entry.js +4 -0
- package/dist/ionic/p-47432157.entry.js +4 -0
- package/dist/ionic/p-52535bba.entry.js +4 -0
- package/dist/ionic/p-56e51161.entry.js +4 -0
- package/dist/ionic/p-5770869f.entry.js +4 -0
- package/dist/ionic/p-5af619ff.entry.js +4 -0
- package/dist/ionic/p-5b44ac3a.entry.js +4 -0
- package/dist/ionic/p-5ca4c3b8.entry.js +4 -0
- package/dist/ionic/p-6469a540.entry.js +4 -0
- package/dist/ionic/p-649e2f92.entry.js +4 -0
- package/dist/ionic/p-6e6ce506.entry.js +4 -0
- package/dist/ionic/{p-59a79bd9.entry.js → p-6ea34add.entry.js} +1 -1
- package/dist/ionic/p-6f17f8ed.entry.js +4 -0
- package/dist/ionic/p-773f2ac5.entry.js +4 -0
- package/dist/ionic/p-80cc8511.entry.js +4 -0
- package/dist/ionic/p-82796bb0.entry.js +4 -0
- package/dist/ionic/p-8c3d3bca.entry.js +4 -0
- package/dist/ionic/p-9000bd9f.entry.js +4 -0
- package/dist/ionic/p-9aef9229.entry.js +4 -0
- package/dist/ionic/p-9cbab197.entry.js +4 -0
- package/dist/ionic/p-BJ-EYogw.js +4 -0
- package/dist/ionic/p-BKDxK6_S.js +4 -0
- package/dist/ionic/p-BMPzyWDm.js +4 -0
- package/dist/ionic/p-BTqHM5hg.js +4 -0
- package/dist/ionic/p-BZR5I9yn.js +4 -0
- package/dist/ionic/{p-BiTKUjko.js → p-BZSKvxFv.js} +1 -1
- package/dist/ionic/{p-DyaKZbAH.js → p-BaAcx1TO.js} +1 -1
- package/dist/ionic/p-BeJdFlAB.js +4 -0
- package/dist/ionic/{p-Q7JLYEUZ.js → p-Bi_aZreq.js} +1 -1
- package/dist/ionic/p-BpUl-Ubc.js +4 -0
- package/dist/ionic/{p-DxFexTIr.js → p-BuAY53fC.js} +1 -1
- package/dist/ionic/p-CnPZjTVf.js +4 -0
- package/dist/ionic/{p-HpOiAvpC.js → p-D-g7JYuH.js} +1 -1
- package/dist/ionic/p-D6quDhlh.js +4 -0
- package/dist/ionic/{p-DBaOCAfc.js → p-DIZM2shZ.js} +1 -1
- package/dist/ionic/p-DJD59Sq4.js +4 -0
- package/dist/ionic/p-DZmL55Qn.js +4 -0
- package/dist/ionic/p-DjxV6ul_.js +4 -0
- package/dist/ionic/p-DkXsr7m2.js +4 -0
- package/dist/ionic/p-DnNglnwY.js +4 -0
- package/dist/ionic/p-Dpa-63kX.js +4 -0
- package/dist/ionic/p-HOJ_eq4V.js +5 -0
- package/dist/ionic/p-MBiM0IFp.js +4 -0
- package/dist/ionic/p-a1af546a.entry.js +4 -0
- package/dist/ionic/p-a2218a8b.entry.js +4 -0
- package/dist/ionic/p-a22b46e4.entry.js +4 -0
- package/dist/ionic/{p-89743bba.entry.js → p-ae10fb4c.entry.js} +1 -1
- package/dist/ionic/p-c2122301.entry.js +4 -0
- package/dist/ionic/{p-3cb3d194.entry.js → p-c428cbac.entry.js} +1 -1
- package/dist/ionic/p-c565e353.entry.js +4 -0
- package/dist/ionic/p-c6301ef9.entry.js +4 -0
- package/dist/ionic/p-c83a1254.entry.js +4 -0
- package/dist/ionic/p-c9313bb8.entry.js +4 -0
- package/dist/ionic/p-cb6bb34f.entry.js +4 -0
- package/dist/ionic/p-d215bbdc.entry.js +4 -0
- package/dist/ionic/p-de6964a2.entry.js +4 -0
- package/dist/ionic/p-ded5613d.entry.js +4 -0
- package/dist/ionic/p-e0eae83d.entry.js +4 -0
- package/dist/ionic/p-e5005342.entry.js +4 -0
- package/dist/ionic/p-e7925263.entry.js +4 -0
- package/dist/ionic/p-eZzo_1L1.js +4 -0
- package/dist/ionic/p-eebf0420.entry.js +4 -0
- package/dist/ionic/p-f1bb4947.entry.js +4 -0
- package/dist/ionic/p-facf3c23.entry.js +4 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +143 -0
- package/dist/types/stencil-public-runtime.d.ts +7 -51
- package/hydrate/index.d.ts +0 -2
- package/hydrate/index.js +345 -543
- package/hydrate/index.mjs +345 -543
- package/package.json +2 -2
- package/dist/cjs/app-globals-CrtAvKxl.js +0 -10
- package/dist/cjs/ionic-global-DuRUel5m.js +0 -491
- package/dist/esm/app-globals-BNKecRVD.js +0 -8
- package/dist/esm/ionic-global-2R0iPB51.js +0 -480
- package/dist/ionic/p--8Ga2Cg0.js +0 -4
- package/dist/ionic/p-16c5a01c.entry.js +0 -4
- package/dist/ionic/p-1f981d06.entry.js +0 -4
- package/dist/ionic/p-22c02aea.entry.js +0 -4
- package/dist/ionic/p-23e4b68a.entry.js +0 -4
- package/dist/ionic/p-28571945.entry.js +0 -4
- package/dist/ionic/p-2bab0853.entry.js +0 -4
- package/dist/ionic/p-2e19a4dd.entry.js +0 -4
- package/dist/ionic/p-2e900f67.entry.js +0 -4
- package/dist/ionic/p-3622a9ea.entry.js +0 -4
- package/dist/ionic/p-3a6a92ab.entry.js +0 -4
- package/dist/ionic/p-418e4330.entry.js +0 -4
- package/dist/ionic/p-4261dc5d.entry.js +0 -4
- package/dist/ionic/p-4e13d498.entry.js +0 -4
- package/dist/ionic/p-55e2352e.entry.js +0 -4
- package/dist/ionic/p-56a9319e.entry.js +0 -4
- package/dist/ionic/p-59e6c978.entry.js +0 -4
- package/dist/ionic/p-642b022d.entry.js +0 -4
- package/dist/ionic/p-64385b66.entry.js +0 -4
- package/dist/ionic/p-66397fac.entry.js +0 -4
- package/dist/ionic/p-66d094b2.entry.js +0 -4
- package/dist/ionic/p-6fac73e6.entry.js +0 -4
- package/dist/ionic/p-7d450184.entry.js +0 -4
- package/dist/ionic/p-81770a5c.entry.js +0 -4
- package/dist/ionic/p-844bd58c.entry.js +0 -4
- package/dist/ionic/p-86b82096.entry.js +0 -4
- package/dist/ionic/p-87678140.entry.js +0 -4
- package/dist/ionic/p-88ef6829.entry.js +0 -4
- package/dist/ionic/p-90320028.entry.js +0 -4
- package/dist/ionic/p-916685a9.entry.js +0 -4
- package/dist/ionic/p-91966afa.entry.js +0 -4
- package/dist/ionic/p-B-N4FEiY.js +0 -4
- package/dist/ionic/p-B3uz75uZ.js +0 -4
- package/dist/ionic/p-BRd1Ag6P.js +0 -4
- package/dist/ionic/p-BbT4IAlw.js +0 -4
- package/dist/ionic/p-C8IsBmNU.js +0 -5
- package/dist/ionic/p-CK1xn1Nt.js +0 -4
- package/dist/ionic/p-CK4YXTyz.js +0 -4
- package/dist/ionic/p-CeO9Shc9.js +0 -4
- package/dist/ionic/p-Cm5sQeXL.js +0 -4
- package/dist/ionic/p-DHCQ1qFC.js +0 -4
- package/dist/ionic/p-DPNSAVjP.js +0 -4
- package/dist/ionic/p-D_8SMvQ3.js +0 -4
- package/dist/ionic/p-DbQ5QkTP.js +0 -4
- package/dist/ionic/p-DdaOdN_z.js +0 -4
- package/dist/ionic/p-Dq8ap6AD.js +0 -4
- package/dist/ionic/p-Dv5UHqHj.js +0 -4
- package/dist/ionic/p-W-2TssC9.js +0 -4
- package/dist/ionic/p-a1128f7f.entry.js +0 -4
- package/dist/ionic/p-a57c0cce.entry.js +0 -4
- package/dist/ionic/p-acb9905c.entry.js +0 -4
- package/dist/ionic/p-b2291ef0.entry.js +0 -4
- package/dist/ionic/p-b26aeaf8.entry.js +0 -4
- package/dist/ionic/p-bf461512.entry.js +0 -4
- package/dist/ionic/p-c289efa5.entry.js +0 -4
- package/dist/ionic/p-c2f738d2.entry.js +0 -4
- package/dist/ionic/p-c775e3c0.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
- package/dist/ionic/p-cea1ee31.entry.js +0 -4
- package/dist/ionic/p-d1c60c1c.entry.js +0 -4
- package/dist/ionic/p-db90b95a.entry.js +0 -4
- package/dist/ionic/p-dcfb2b1d.entry.js +0 -4
- package/dist/ionic/p-e2171c27.entry.js +0 -4
- package/dist/ionic/p-e28d6a81.entry.js +0 -4
- package/dist/ionic/p-ec02238a.entry.js +0 -4
- package/dist/ionic/p-ecc8aebb.entry.js +0 -4
- package/dist/ionic/p-f3de58bd.entry.js +0 -4
- package/dist/ionic/p-ff757a50.entry.js +0 -4
- package/dist/ionic/p-szCM2gDt.js +0 -4
- package/dist/ionic/p-vpXGWZiy.js +0 -4
|
@@ -3,23 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index
|
|
7
|
-
var index$
|
|
8
|
-
var frameworkDelegate = require('./framework-delegate-
|
|
9
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-CmckMMX1.js');
|
|
7
|
+
var index$2 = require('./index-CaZ3uzAD.js');
|
|
8
|
+
var frameworkDelegate = require('./framework-delegate-DfEY5uyC.js');
|
|
9
|
+
var helpers = require('./helpers-DmAvmm2T.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-CzFst28-.js');
|
|
12
|
+
var overlays = require('./overlays-XYRfwd6H.js');
|
|
13
13
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
14
|
-
var index$3 = require('./index-
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var animation = require('./animation-BYsP2q5j.js');
|
|
14
|
+
var index$3 = require('./index-DxVhwe3d.js');
|
|
15
|
+
var keyboard = require('./keyboard-nXDIskl9.js');
|
|
16
|
+
var animation = require('./animation-Bcz4qmJk.js');
|
|
18
17
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
19
|
-
var index = require('./index-CAvQ7Tka.js');
|
|
18
|
+
var index$1 = require('./index-CAvQ7Tka.js');
|
|
20
19
|
require('./focus-visible-BIj-I3-C.js');
|
|
21
20
|
require('./gesture-controller-dtqlP_q4.js');
|
|
22
|
-
require('./keyboard-
|
|
21
|
+
require('./keyboard-Chl5cusY.js');
|
|
23
22
|
|
|
24
23
|
var Style;
|
|
25
24
|
(function (Style) {
|
|
@@ -116,13 +115,13 @@ const getBackdropValueForSheet = (x, backdropBreakpoint) => {
|
|
|
116
115
|
*
|
|
117
116
|
*/
|
|
118
117
|
const setCardStatusBarDark = () => {
|
|
119
|
-
if (!
|
|
118
|
+
if (!index.win || index.win.innerWidth >= 768) {
|
|
120
119
|
return;
|
|
121
120
|
}
|
|
122
121
|
StatusBar.setStyle({ style: Style.Dark });
|
|
123
122
|
};
|
|
124
123
|
const setCardStatusBarDefault = (defaultStyle = Style.Default) => {
|
|
125
|
-
if (!
|
|
124
|
+
if (!index.win || index.win.innerWidth >= 768) {
|
|
126
125
|
return;
|
|
127
126
|
}
|
|
128
127
|
StatusBar.setStyle({ style: defaultStyle });
|
|
@@ -263,7 +262,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
263
262
|
let initialScrollY = true;
|
|
264
263
|
let lastStep = 0;
|
|
265
264
|
const getScrollY = () => {
|
|
266
|
-
if (contentEl && index$
|
|
265
|
+
if (contentEl && index$2.isIonContent(contentEl)) {
|
|
267
266
|
return contentEl.scrollY;
|
|
268
267
|
/**
|
|
269
268
|
* Custom scroll containers are intended to be
|
|
@@ -295,7 +294,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
295
294
|
* swipe again. The target content will not
|
|
296
295
|
* be the same between swipes.
|
|
297
296
|
*/
|
|
298
|
-
contentEl = index$
|
|
297
|
+
contentEl = index$2.findClosestIonContent(target);
|
|
299
298
|
if (contentEl) {
|
|
300
299
|
/**
|
|
301
300
|
* The card should never swipe to close
|
|
@@ -311,7 +310,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
311
310
|
* operation, and getScrollElement is
|
|
312
311
|
* asynchronous.
|
|
313
312
|
*/
|
|
314
|
-
if (index$
|
|
313
|
+
if (index$2.isIonContent(contentEl)) {
|
|
315
314
|
const root = helpers.getElementRoot(contentEl);
|
|
316
315
|
scrollEl = root.querySelector('.inner-scroll');
|
|
317
316
|
}
|
|
@@ -355,7 +354,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
355
354
|
* happen at the same time as the gesture.
|
|
356
355
|
*/
|
|
357
356
|
if (deltaY > 0 && contentEl) {
|
|
358
|
-
index$
|
|
357
|
+
index$2.disableContentScrollY(contentEl);
|
|
359
358
|
}
|
|
360
359
|
animation.progressStart(true, isOpen ? 1 : 0);
|
|
361
360
|
};
|
|
@@ -368,7 +367,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
368
367
|
* happen at the same time as the gesture.
|
|
369
368
|
*/
|
|
370
369
|
if (deltaY > 0 && contentEl) {
|
|
371
|
-
index$
|
|
370
|
+
index$2.disableContentScrollY(contentEl);
|
|
372
371
|
}
|
|
373
372
|
/**
|
|
374
373
|
* If we are swiping on the content
|
|
@@ -456,7 +455,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
456
455
|
isOpen = shouldComplete;
|
|
457
456
|
gesture.enable(false);
|
|
458
457
|
if (contentEl) {
|
|
459
|
-
index$
|
|
458
|
+
index$2.resetContentScrollY(contentEl, initialScrollY);
|
|
460
459
|
}
|
|
461
460
|
animation
|
|
462
461
|
.onFinish(() => {
|
|
@@ -484,7 +483,7 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) =>
|
|
|
484
483
|
onDismiss();
|
|
485
484
|
}
|
|
486
485
|
};
|
|
487
|
-
const gesture = index.createGesture({
|
|
486
|
+
const gesture = index$1.createGesture({
|
|
488
487
|
el,
|
|
489
488
|
gestureName: 'modalSwipeToClose',
|
|
490
489
|
gesturePriority: overlays.OVERLAY_GESTURE_PRIORITY,
|
|
@@ -1144,14 +1143,14 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1144
1143
|
* For example, when using ion-nav within a modal it is possible to swipe, push a view,
|
|
1145
1144
|
* and then swipe again. The target content will not be the same between swipes.
|
|
1146
1145
|
*/
|
|
1147
|
-
const contentEl = index$
|
|
1146
|
+
const contentEl = index$2.findClosestIonContent(detail.event.target);
|
|
1148
1147
|
currentBreakpoint = getCurrentBreakpoint();
|
|
1149
1148
|
/**
|
|
1150
1149
|
* If `expandToScroll` is disabled, we should not allow the swipe gesture
|
|
1151
1150
|
* to start if the content is not scrolled to the top.
|
|
1152
1151
|
*/
|
|
1153
1152
|
if (!expandToScroll && contentEl) {
|
|
1154
|
-
const scrollEl = index$
|
|
1153
|
+
const scrollEl = index$2.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
|
|
1155
1154
|
return scrollEl.scrollTop === 0;
|
|
1156
1155
|
}
|
|
1157
1156
|
if (currentBreakpoint === 1 && contentEl) {
|
|
@@ -1164,7 +1163,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1164
1163
|
* Note 2: Do not use getScrollElement here because we need this to be a synchronous
|
|
1165
1164
|
* operation, and getScrollElement is asynchronous.
|
|
1166
1165
|
*/
|
|
1167
|
-
const scrollEl = index$
|
|
1166
|
+
const scrollEl = index$2.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
|
|
1168
1167
|
const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
|
|
1169
1168
|
return !hasRefresherInContent && scrollEl.scrollTop === 0;
|
|
1170
1169
|
}
|
|
@@ -1190,9 +1189,9 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1190
1189
|
* which would impact performance significantly.
|
|
1191
1190
|
*/
|
|
1192
1191
|
if (!expandToScroll) {
|
|
1193
|
-
const targetEl = index$
|
|
1192
|
+
const targetEl = index$2.findClosestIonContent(detail.event.target);
|
|
1194
1193
|
cachedScrollEl =
|
|
1195
|
-
targetEl && index$
|
|
1194
|
+
targetEl && index$2.isIonContent(targetEl) ? helpers.getElementRoot(targetEl).querySelector('.inner-scroll') : targetEl;
|
|
1196
1195
|
}
|
|
1197
1196
|
/**
|
|
1198
1197
|
* If expandToScroll is disabled, we need to swap
|
|
@@ -1466,7 +1465,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1466
1465
|
.progressEnd(1, 0, animated ? 500 : 0);
|
|
1467
1466
|
});
|
|
1468
1467
|
};
|
|
1469
|
-
const gesture = index.createGesture({
|
|
1468
|
+
const gesture = index$1.createGesture({
|
|
1470
1469
|
el: wrapperEl,
|
|
1471
1470
|
gestureName: 'modalSheet',
|
|
1472
1471
|
gesturePriority: 40,
|
|
@@ -1491,17 +1490,17 @@ const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--heigh
|
|
|
1491
1490
|
|
|
1492
1491
|
const Modal = class {
|
|
1493
1492
|
constructor(hostRef) {
|
|
1494
|
-
index
|
|
1495
|
-
this.didPresent = index
|
|
1496
|
-
this.willPresent = index
|
|
1497
|
-
this.willDismiss = index
|
|
1498
|
-
this.didDismiss = index
|
|
1499
|
-
this.ionBreakpointDidChange = index
|
|
1500
|
-
this.didPresentShorthand = index
|
|
1501
|
-
this.willPresentShorthand = index
|
|
1502
|
-
this.willDismissShorthand = index
|
|
1503
|
-
this.didDismissShorthand = index
|
|
1504
|
-
this.ionMount = index
|
|
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);
|
|
1505
1504
|
this.lockController = lockController.createLockController();
|
|
1506
1505
|
this.triggerController = overlays.createTriggerController();
|
|
1507
1506
|
this.coreDelegate = frameworkDelegate.CoreDelegate();
|
|
@@ -1701,7 +1700,7 @@ const Modal = class {
|
|
|
1701
1700
|
}
|
|
1702
1701
|
onWindowResize() {
|
|
1703
1702
|
// Only handle resize for iOS card modals when no custom animations are provided
|
|
1704
|
-
if (
|
|
1703
|
+
if (index.getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
|
|
1705
1704
|
return;
|
|
1706
1705
|
}
|
|
1707
1706
|
clearTimeout(this.resizeTimeout);
|
|
@@ -1769,7 +1768,7 @@ const Modal = class {
|
|
|
1769
1768
|
this.currentBreakpoint = this.initialBreakpoint;
|
|
1770
1769
|
}
|
|
1771
1770
|
if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
|
|
1772
|
-
index
|
|
1771
|
+
index.printIonWarning('[ion-modal] - Your breakpoints array must include the initialBreakpoint value.');
|
|
1773
1772
|
}
|
|
1774
1773
|
if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
1775
1774
|
overlays.setOverlayId(this.el);
|
|
@@ -1882,14 +1881,14 @@ const Modal = class {
|
|
|
1882
1881
|
else if (!this.keepContentsMounted) {
|
|
1883
1882
|
await index$3.waitForMount();
|
|
1884
1883
|
}
|
|
1885
|
-
index
|
|
1884
|
+
index.writeTask(() => this.el.classList.add('show-modal'));
|
|
1886
1885
|
const hasCardModal = presentingElement !== undefined;
|
|
1887
1886
|
/**
|
|
1888
1887
|
* We need to change the status bar at the
|
|
1889
1888
|
* start of the animation so that it completes
|
|
1890
1889
|
* by the time the card animation is done.
|
|
1891
1890
|
*/
|
|
1892
|
-
if (hasCardModal &&
|
|
1891
|
+
if (hasCardModal && index.getIonMode(this) === 'ios') {
|
|
1893
1892
|
// Cache the original status bar color before the modal is presented
|
|
1894
1893
|
this.statusBarStyle = await StatusBar.getStyle();
|
|
1895
1894
|
setCardStatusBarDark();
|
|
@@ -1899,7 +1898,7 @@ const Modal = class {
|
|
|
1899
1898
|
currentBreakpoint: this.initialBreakpoint,
|
|
1900
1899
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
1901
1900
|
expandToScroll: this.expandToScroll,
|
|
1902
|
-
staticBackdropOpacity:
|
|
1901
|
+
staticBackdropOpacity: index.getIonTheme(this) === 'ionic',
|
|
1903
1902
|
});
|
|
1904
1903
|
/* tslint:disable-next-line */
|
|
1905
1904
|
if (typeof window !== 'undefined') {
|
|
@@ -1946,21 +1945,21 @@ const Modal = class {
|
|
|
1946
1945
|
}
|
|
1947
1946
|
initSwipeToClose() {
|
|
1948
1947
|
var _a;
|
|
1949
|
-
if (
|
|
1948
|
+
if (index.getIonMode(this) !== 'ios') {
|
|
1950
1949
|
return;
|
|
1951
1950
|
}
|
|
1952
1951
|
const { el } = this;
|
|
1953
1952
|
// All of the elements needed for the swipe gesture
|
|
1954
1953
|
// should be in the DOM and referenced by now, except
|
|
1955
1954
|
// for the presenting el
|
|
1956
|
-
const animationBuilder = this.leaveAnimation || index
|
|
1955
|
+
const animationBuilder = this.leaveAnimation || index.config.get('modalLeave', iosLeaveAnimation);
|
|
1957
1956
|
const ani = (this.animation = animationBuilder(el, {
|
|
1958
1957
|
presentingEl: this.presentingElement,
|
|
1959
1958
|
expandToScroll: this.expandToScroll,
|
|
1960
1959
|
}));
|
|
1961
|
-
const contentEl = index$
|
|
1960
|
+
const contentEl = index$2.findIonContent(el);
|
|
1962
1961
|
if (!contentEl) {
|
|
1963
|
-
index$
|
|
1962
|
+
index$2.printIonContentErrorMsg(el);
|
|
1964
1963
|
return;
|
|
1965
1964
|
}
|
|
1966
1965
|
const statusBarStyle = (_a = this.statusBarStyle) !== null && _a !== void 0 ? _a : Style.Default;
|
|
@@ -1997,13 +1996,13 @@ const Modal = class {
|
|
|
1997
1996
|
if (!wrapperEl || initialBreakpoint === undefined) {
|
|
1998
1997
|
return;
|
|
1999
1998
|
}
|
|
2000
|
-
const animationBuilder = this.enterAnimation || index
|
|
1999
|
+
const animationBuilder = this.enterAnimation || index.config.get('modalEnter', iosEnterAnimation);
|
|
2001
2000
|
const ani = (this.animation = animationBuilder(this.el, {
|
|
2002
2001
|
presentingEl: this.presentingElement,
|
|
2003
2002
|
currentBreakpoint: initialBreakpoint,
|
|
2004
2003
|
backdropBreakpoint,
|
|
2005
2004
|
expandToScroll: this.expandToScroll,
|
|
2006
|
-
staticBackdropOpacity:
|
|
2005
|
+
staticBackdropOpacity: index.getIonTheme(this) === 'ionic',
|
|
2007
2006
|
}));
|
|
2008
2007
|
ani.progressStart(true, 1);
|
|
2009
2008
|
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) => {
|
|
@@ -2011,7 +2010,7 @@ const Modal = class {
|
|
|
2011
2010
|
this.currentBreakpoint = breakpoint;
|
|
2012
2011
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
2013
2012
|
}
|
|
2014
|
-
},
|
|
2013
|
+
}, index.getIonTheme(this) === 'ionic');
|
|
2015
2014
|
this.gesture = gesture;
|
|
2016
2015
|
this.moveSheetToBreakpoint = moveSheetToBreakpoint;
|
|
2017
2016
|
this.gesture.enable(true);
|
|
@@ -2078,7 +2077,7 @@ const Modal = class {
|
|
|
2078
2077
|
* finishes when the dismiss animation does.
|
|
2079
2078
|
*/
|
|
2080
2079
|
const hasCardModal = presentingElement !== undefined;
|
|
2081
|
-
if (hasCardModal &&
|
|
2080
|
+
if (hasCardModal && index.getIonMode(this) === 'ios') {
|
|
2082
2081
|
setCardStatusBarDefault(this.statusBarStyle);
|
|
2083
2082
|
}
|
|
2084
2083
|
/* tslint:disable-next-line */
|
|
@@ -2095,7 +2094,7 @@ const Modal = class {
|
|
|
2095
2094
|
if (dismissed) {
|
|
2096
2095
|
const { delegate } = this.getDelegate();
|
|
2097
2096
|
await frameworkDelegate.detachComponent(delegate, this.usersElement);
|
|
2098
|
-
index
|
|
2097
|
+
index.writeTask(() => this.el.classList.remove('show-modal'));
|
|
2099
2098
|
if (this.animation) {
|
|
2100
2099
|
this.animation.destroy();
|
|
2101
2100
|
}
|
|
@@ -2130,11 +2129,11 @@ const Modal = class {
|
|
|
2130
2129
|
*/
|
|
2131
2130
|
async setCurrentBreakpoint(breakpoint) {
|
|
2132
2131
|
if (!this.isSheetModal) {
|
|
2133
|
-
index
|
|
2132
|
+
index.printIonWarning('[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.');
|
|
2134
2133
|
return;
|
|
2135
2134
|
}
|
|
2136
2135
|
if (!this.breakpoints.includes(breakpoint)) {
|
|
2137
|
-
index
|
|
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.`);
|
|
2138
2137
|
return;
|
|
2139
2138
|
}
|
|
2140
2139
|
const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;
|
|
@@ -2180,7 +2179,7 @@ const Modal = class {
|
|
|
2180
2179
|
return true;
|
|
2181
2180
|
}
|
|
2182
2181
|
getShape() {
|
|
2183
|
-
const theme =
|
|
2182
|
+
const theme = index.getIonTheme(this);
|
|
2184
2183
|
const { shape } = this;
|
|
2185
2184
|
// TODO(ROU-11167): Remove theme check when shapes are defined for all themes.
|
|
2186
2185
|
if (theme !== 'ionic') {
|
|
@@ -2193,7 +2192,7 @@ const Modal = class {
|
|
|
2193
2192
|
}
|
|
2194
2193
|
initViewTransitionListener() {
|
|
2195
2194
|
// Only enable for iOS card modals when no custom animations are provided
|
|
2196
|
-
if (
|
|
2195
|
+
if (index.getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
|
|
2197
2196
|
return;
|
|
2198
2197
|
}
|
|
2199
2198
|
// Set initial view state
|
|
@@ -2249,7 +2248,7 @@ const Modal = class {
|
|
|
2249
2248
|
}
|
|
2250
2249
|
reinitSwipeToClose() {
|
|
2251
2250
|
// Only reinitialize if we have a presenting element and are on iOS
|
|
2252
|
-
if (
|
|
2251
|
+
if (index.getIonMode(this) !== 'ios' || !this.presentingElement) {
|
|
2253
2252
|
return;
|
|
2254
2253
|
}
|
|
2255
2254
|
// Clean up existing gesture and animation
|
|
@@ -2349,27 +2348,27 @@ const Modal = class {
|
|
|
2349
2348
|
render() {
|
|
2350
2349
|
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap, expandToScroll, } = this;
|
|
2351
2350
|
const showHandle = handle !== false && isSheetModal;
|
|
2352
|
-
const theme$1 =
|
|
2351
|
+
const theme$1 = index.getIonTheme(this);
|
|
2353
2352
|
const isCardModal = presentingElement !== undefined && theme$1 === 'ios';
|
|
2354
2353
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2355
2354
|
const shape = this.getShape();
|
|
2356
2355
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2357
|
-
return (index
|
|
2356
|
+
return (index.h(index.Host, Object.assign({ key: '8ced9dcdb4ec35817bc1ad5f4f0c1b56bf76c93f', "no-router": true,
|
|
2358
2357
|
// Allow the modal to be navigable when the handle is focusable
|
|
2359
2358
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2360
2359
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
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
|
|
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',
|
|
2362
2361
|
/*
|
|
2363
2362
|
role and aria-modal must be used on the
|
|
2364
2363
|
same element. They must also be set inside the
|
|
2365
2364
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2366
2365
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2367
2366
|
*/
|
|
2368
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index
|
|
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",
|
|
2369
2368
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
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
|
|
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 }))));
|
|
2371
2370
|
}
|
|
2372
|
-
get el() { return index
|
|
2371
|
+
get el() { return index.getElement(this); }
|
|
2373
2372
|
static get watchers() { return {
|
|
2374
2373
|
"isOpen": ["onIsOpenChange"],
|
|
2375
2374
|
"trigger": ["triggerChanged"]
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CmckMMX1.js');
|
|
7
7
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
8
|
-
var helpers = require('./helpers-
|
|
9
|
-
var index$1 = require('./index-
|
|
10
|
-
var
|
|
11
|
-
var frameworkDelegate = require('./framework-delegate-Bwdk9vFS.js');
|
|
8
|
+
var helpers = require('./helpers-DmAvmm2T.js');
|
|
9
|
+
var index$1 = require('./index-DxVhwe3d.js');
|
|
10
|
+
var frameworkDelegate = require('./framework-delegate-DfEY5uyC.js');
|
|
12
11
|
require('./focus-visible-BIj-I3-C.js');
|
|
13
12
|
|
|
14
13
|
const VIEW_STATE_NEW = 1;
|
|
@@ -123,7 +122,7 @@ const Nav = class {
|
|
|
123
122
|
componentWillLoad() {
|
|
124
123
|
this.useRouter = document.querySelector('ion-router') !== null && this.el.closest('[no-router]') === null;
|
|
125
124
|
if (this.swipeGesture === undefined) {
|
|
126
|
-
const mode =
|
|
125
|
+
const mode = index.getIonMode(this);
|
|
127
126
|
this.swipeGesture = index.config.getBoolean('swipeBackEnabled', mode === 'ios');
|
|
128
127
|
}
|
|
129
128
|
this.ionNavWillLoad.emit();
|
|
@@ -132,7 +131,7 @@ const Nav = class {
|
|
|
132
131
|
// We want to set this flag before any watch callbacks are manually called
|
|
133
132
|
this.didLoad = true;
|
|
134
133
|
this.rootChanged();
|
|
135
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
134
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-CEVlQT7C.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
136
135
|
this.swipeGestureChanged();
|
|
137
136
|
}
|
|
138
137
|
connectedCallback() {
|
|
@@ -741,8 +740,8 @@ const Nav = class {
|
|
|
741
740
|
}
|
|
742
741
|
}
|
|
743
742
|
: undefined;
|
|
744
|
-
const theme =
|
|
745
|
-
const mode =
|
|
743
|
+
const theme = index.getIonTheme(this);
|
|
744
|
+
const mode = index.getIonMode(this, theme);
|
|
746
745
|
const enteringEl = enteringView.element;
|
|
747
746
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
748
747
|
const leavingEl = leavingView && leavingView.element;
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-CmckMMX1.js');
|
|
7
|
+
var helpers = require('./helpers-DmAvmm2T.js');
|
|
8
8
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
9
|
-
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
10
9
|
require('./focus-visible-BIj-I3-C.js');
|
|
11
10
|
|
|
12
11
|
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)}";
|
|
@@ -101,7 +100,7 @@ const PickerColumnOption = class {
|
|
|
101
100
|
}
|
|
102
101
|
render() {
|
|
103
102
|
const { color, disabled, ariaLabel } = this;
|
|
104
|
-
const theme$1 =
|
|
103
|
+
const theme$1 = index.getIonTheme(this);
|
|
105
104
|
return (index.h(index.Host, { key: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: theme.createColorClasses(color, {
|
|
106
105
|
[theme$1]: true,
|
|
107
106
|
['option-disabled']: disabled,
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var haptic = require('./haptic-Cy3moXzO.js');
|
|
6
|
+
var index = require('./index-CmckMMX1.js');
|
|
7
|
+
var helpers = require('./helpers-DmAvmm2T.js');
|
|
8
|
+
var haptic = require('./haptic-DbqPcCc9.js');
|
|
10
9
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
11
10
|
require('./focus-visible-BIj-I3-C.js');
|
|
12
|
-
require('./capacitor-
|
|
11
|
+
require('./capacitor-CzFst28-.js');
|
|
13
12
|
|
|
14
13
|
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)}}";
|
|
15
14
|
|
|
@@ -124,7 +123,7 @@ const PickerColumn = class {
|
|
|
124
123
|
* an iOS-only feature. As a result, they should
|
|
125
124
|
* be disabled on Android.
|
|
126
125
|
*/
|
|
127
|
-
const enableHaptics =
|
|
126
|
+
const enableHaptics = index.isPlatform('ios');
|
|
128
127
|
const { el, scrollEl } = this;
|
|
129
128
|
let timeout;
|
|
130
129
|
let activeEl = this.activeItem;
|
|
@@ -167,7 +166,7 @@ const PickerColumn = class {
|
|
|
167
166
|
*/
|
|
168
167
|
const rootNode = el.getRootNode();
|
|
169
168
|
const hasParentShadow = rootNode instanceof ShadowRoot;
|
|
170
|
-
const referenceNode = hasParentShadow ? rootNode :
|
|
169
|
+
const referenceNode = hasParentShadow ? rootNode : index.doc;
|
|
171
170
|
/**
|
|
172
171
|
* If the reference node is undefined
|
|
173
172
|
* then it's likely that doc is undefined
|
|
@@ -367,7 +366,7 @@ const PickerColumn = class {
|
|
|
367
366
|
* cause the next option to be selected. The Home/End operations remain
|
|
368
367
|
* unchanged because those always represent the first/last options, respectively.
|
|
369
368
|
*/
|
|
370
|
-
const mobile =
|
|
369
|
+
const mobile = index.isPlatform('mobile');
|
|
371
370
|
let newOption = null;
|
|
372
371
|
switch (ev.key) {
|
|
373
372
|
case 'ArrowDown':
|
|
@@ -549,7 +548,7 @@ const PickerColumn = class {
|
|
|
549
548
|
}
|
|
550
549
|
render() {
|
|
551
550
|
const { color, disabled, isActive, numericInput } = this;
|
|
552
|
-
const theme$1 =
|
|
551
|
+
const theme$1 = index.getIonTheme(this);
|
|
553
552
|
return (index.h(index.Host, { key: '7c9603b518a73f9883ff01464fe3f70c14b9059c', class: theme.createColorClasses(color, {
|
|
554
553
|
[theme$1]: true,
|
|
555
554
|
['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-CmckMMX1.js');
|
|
7
|
+
var helpers = require('./helpers-DmAvmm2T.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%)}";
|
|
@@ -3,15 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var overlays = require('./overlays-
|
|
8
|
-
var frameworkDelegate = require('./framework-delegate-
|
|
9
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-CmckMMX1.js');
|
|
7
|
+
var overlays = require('./overlays-XYRfwd6H.js');
|
|
8
|
+
var frameworkDelegate = require('./framework-delegate-DfEY5uyC.js');
|
|
9
|
+
var helpers = require('./helpers-DmAvmm2T.js');
|
|
10
10
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
11
|
-
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
12
11
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
13
|
-
var index$1 = require('./index-
|
|
14
|
-
var animation = require('./animation-
|
|
12
|
+
var index$1 = require('./index-DxVhwe3d.js');
|
|
13
|
+
var animation = require('./animation-Bcz4qmJk.js');
|
|
15
14
|
require('./gesture-controller-dtqlP_q4.js');
|
|
16
15
|
require('./focus-visible-BIj-I3-C.js');
|
|
17
16
|
|
|
@@ -1188,7 +1187,7 @@ const Popover = class {
|
|
|
1188
1187
|
const popoverId = (_b = (_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : overlays.setOverlayId(el);
|
|
1189
1188
|
this.parentPopover = el.closest(`ion-popover:not(#${popoverId})`);
|
|
1190
1189
|
if (this.alignment === undefined) {
|
|
1191
|
-
this.alignment =
|
|
1190
|
+
this.alignment = index.getIonTheme(this) === 'ios' ? 'center' : 'start';
|
|
1192
1191
|
}
|
|
1193
1192
|
}
|
|
1194
1193
|
componentDidLoad() {
|
|
@@ -1385,9 +1384,9 @@ const Popover = class {
|
|
|
1385
1384
|
return overlays.eventMethod(this.el, 'ionPopoverWillDismiss');
|
|
1386
1385
|
}
|
|
1387
1386
|
render() {
|
|
1388
|
-
const theme$1 =
|
|
1387
|
+
const theme$1 = index.getIonTheme(this);
|
|
1389
1388
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1390
|
-
const desktop =
|
|
1389
|
+
const desktop = index.isPlatform('desktop');
|
|
1391
1390
|
const enableArrow = arrow && !parentPopover;
|
|
1392
1391
|
return (index.h(index.Host, Object.assign({ key: 'd8cac78e3fda5731eb8a3532ce83a711190a0f1d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1393
1392
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-CmckMMX1.js');
|
|
7
|
+
var helpers = require('./helpers-DmAvmm2T.js');
|
|
8
8
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
9
|
-
var ionicGlobal = require('./ionic-global-DuRUel5m.js');
|
|
10
9
|
require('./focus-visible-BIj-I3-C.js');
|
|
11
10
|
|
|
12
11
|
const progressBarIonicCss = ":host{display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{right:0;left:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{right:0;left:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{--background:var(--token-bg-neutral-subtle-default, var(--token-primitives-neutral-200, #efefef));--progress-background:var(--ion-color-primary, var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)))));height:var(--token-scale-100, 4px)}:host(.progress-bar-shape-round){border-radius:var(--token-round-xs, var(--token-border-radius-full, 999px))}:host(.progress-bar-shape-rectangular){border-radius:var(--token-rectangular-xs, var(--token-border-radius-0, var(--token-scale-0, 0px)))}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}";
|
|
@@ -40,7 +39,7 @@ const ProgressBar = class {
|
|
|
40
39
|
this.buffer = 1;
|
|
41
40
|
}
|
|
42
41
|
getShape() {
|
|
43
|
-
const theme =
|
|
42
|
+
const theme = index.getIonTheme(this);
|
|
44
43
|
const { shape } = this;
|
|
45
44
|
// TODO(ROU-11638): Remove theme check when shapes are defined for all themes.
|
|
46
45
|
if (theme !== 'ionic') {
|
|
@@ -54,7 +53,7 @@ const ProgressBar = class {
|
|
|
54
53
|
render() {
|
|
55
54
|
const { color, type, reversed, value, buffer } = this;
|
|
56
55
|
const paused = index.config.getBoolean('_testing');
|
|
57
|
-
const theme$1 =
|
|
56
|
+
const theme$1 = index.getIonTheme(this);
|
|
58
57
|
const shape = this.getShape();
|
|
59
58
|
// If the progress is displayed as a solid bar.
|
|
60
59
|
const progressSolid = buffer === 1;
|