@ionic/core 9.0.12 → 9.0.13-dev.11795127224.1ac31fde
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/index.js +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.d.ts +11 -0
- package/components/ion-divider.js +4 -0
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- package/components/ion-gallery.d.ts +11 -0
- package/components/ion-gallery.js +4 -0
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-route-redirect.js +1 -1
- package/components/ion-route.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-0rXxxCTt.js +4 -0
- package/components/p-2sLD_xu6.js +4 -0
- package/components/{p-BAId-lif.js → p-8bQyQ-A-.js} +1 -1
- package/components/p-9SIQ7h0a.js +4 -0
- package/components/p-B5xGjUrw.js +4 -0
- package/components/{p-oIGmkL03.js → p-BGbQbTAV.js} +1 -1
- package/components/p-BIe4HWHT.js +4 -0
- package/components/p-BPVr2bEi.js +4 -0
- package/components/p-BRLifC9t.js +4 -0
- package/components/{p-DaM57RSp.js → p-BTu2WI4z.js} +1 -1
- package/components/p-BUF_V-Kg.js +4 -0
- package/components/p-BX622giM.js +4 -0
- package/components/p-BXM-paQi.js +4 -0
- package/components/p-BYk20Mf5.js +4 -0
- package/components/p-Ba0pOoA8.js +4 -0
- package/components/{p-Dga790ke.js → p-BjjY6jOq.js} +1 -1
- package/components/{p-CoZdMyjc.js → p-BpPHtMLg.js} +1 -1
- package/components/p-BrfOWAVf.js +4 -0
- package/components/p-BsCaQNrX.js +4 -0
- package/components/p-BzAhIYXH.js +4 -0
- package/components/p-CDyvJnTO.js +4 -0
- package/components/p-CJawym4B.js +4 -0
- package/components/p-CODBQrPj.js +4 -0
- package/components/p-CZtEtGGD.js +4 -0
- package/components/{p-BPhmNtm9.js → p-CajBjgLi.js} +1 -1
- package/components/p-CdHuHArh.js +4 -0
- package/components/p-CgQ7_O5k.js +4 -0
- package/components/p-Cq-9cyXX.js +4 -0
- package/components/p-D1m8Yjhz.js +4 -0
- package/components/{p-CvJCRpUX.js → p-D6f0xBGY.js} +1 -1
- package/components/p-DAWK42bz.js +4 -0
- package/components/p-DCRjYLov.js +4 -0
- package/components/p-DDKsXI3n.js +4 -0
- package/components/p-DFHZOMhQ.js +4 -0
- package/components/{p-DMViqAgW.js → p-DIyhmuo-.js} +1 -1
- package/components/p-DL3uscQR.js +4 -0
- package/components/p-DNAlvIsW.js +4 -0
- package/components/p-DO17TLK9.js +4 -0
- package/components/p-DSEHMF7Y.js +4 -0
- package/components/p-DSxRYE_f.js +4 -0
- package/components/{p-C1FMVh-c.js → p-DVDuYWYf.js} +1 -1
- package/components/p-DVoIsLVC.js +4 -0
- package/components/p-DXn1957M.js +4 -0
- package/components/p-DZaKOMM7.js +4 -0
- package/components/p-DgL3phdm.js +4 -0
- package/components/{p-DJGnlsxd.js → p-DmlpWO08.js} +1 -1
- package/components/p-Dq9hq9j2.js +4 -0
- package/components/{p-QTccyPJk.js → p-Dqy0AJBg.js} +1 -1
- package/components/p-EPCb6-n7.js +4 -0
- package/components/p-H6H02QKs.js +4 -0
- package/components/p-JGQZIl_3.js +4 -0
- package/components/p-K0l20Iqs.js +4 -0
- package/components/p-NcQUGze-.js +4 -0
- package/components/p-V4Qnwbju.js +4 -0
- package/components/p-YAbVl27R.js +4 -0
- package/components/p-f2BL1rLD.js +4 -0
- package/components/p-lm02RhiY.js +4 -0
- package/components/p-mNz8l7Bc.js +4 -0
- package/components/p-vLIxxolw.js +4 -0
- package/components/{p-D-9Kbp9V.js → p-zEYXdQGH.js} +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-DlzccfDd.js → animation-CeH2W-qd.js} +3 -3
- package/dist/cjs/{app-globals-BBnfXNGo.js → app-globals-f7eomsHa.js} +1 -1
- package/dist/cjs/{attribute-controller-DFB7TQyv.js → attribute-controller-mEO_Z0Wr.js} +3 -2
- package/dist/cjs/{button-active-BQ2S4ZWy.js → button-active-PwgL_R0V.js} +2 -2
- package/dist/cjs/{capacitor-C3jqMZUp.js → capacitor-DmA66EwP.js} +3 -3
- package/dist/cjs/focus-visible-DGPRKkcx.js +151 -0
- package/dist/cjs/{format-BYl04xWn.js → format-PsbNYAbf.js} +1 -1
- package/dist/cjs/{framework-delegate-DaCOvv4f.js → framework-delegate-D-XPcdY0.js} +4 -2
- package/dist/cjs/{haptic-CoLjHjMM.js → haptic-Ch-X4gRx.js} +1 -1
- package/dist/cjs/{helpers-DNBm7IvL.js → helpers-jmlMCGoQ.js} +88 -10
- package/dist/cjs/{index-B9cvjLlx.js → index-B5yv8_lH.js} +9 -7
- package/dist/cjs/{index-BjukzfRx.js → index-CHRTOQP9.js} +2 -2
- package/dist/cjs/{index-B-9fVZ1n.js → index-Cco7L1eB.js} +4 -4
- package/dist/cjs/{index-vpLyKa3B.js → index-Cn0FjjMN.js} +55 -5
- package/dist/cjs/{index-wOmugbdg.js → index-CxDnX7hd.js} +2 -0
- package/dist/cjs/{index-BVExV68H.js → index-DRLvcDji.js} +1 -1
- package/dist/cjs/index-DkNv4J_i.js +10 -0
- package/dist/cjs/{index-COPA2qmr.js → index-R2zOwQVz.js} +17 -15
- package/dist/cjs/index.cjs.js +20 -18
- package/dist/cjs/{input-shims-C55ajY7V.js → input-shims-obkB-KvI.js} +18 -16
- package/dist/cjs/{input.utils-CBj7zmfe.js → input.utils-B_HfgEQx.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +57 -29
- package/dist/cjs/ion-action-sheet.cjs.entry.js +43 -38
- package/dist/cjs/ion-alert.cjs.entry.js +51 -46
- package/dist/cjs/ion-app_8.cjs.entry.js +528 -197
- package/dist/cjs/ion-avatar_3.cjs.entry.js +124 -13
- package/dist/cjs/ion-back-button.cjs.entry.js +32 -24
- package/dist/cjs/ion-backdrop.cjs.entry.js +11 -7
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +43 -19
- package/dist/cjs/ion-button_2.cjs.entry.js +61 -23
- package/dist/cjs/ion-card_5.cjs.entry.js +57 -34
- package/dist/cjs/ion-checkbox.cjs.entry.js +43 -17
- package/dist/cjs/ion-chip.cjs.entry.js +51 -9
- package/dist/cjs/ion-col_3.cjs.entry.js +56 -63
- package/dist/cjs/ion-datetime-button.cjs.entry.js +45 -13
- package/dist/cjs/ion-datetime.cjs.entry.js +465 -70
- package/dist/cjs/ion-divider.cjs.entry.js +53 -0
- package/dist/cjs/ion-fab_3.cjs.entry.js +41 -29
- package/dist/cjs/ion-gallery-item.cjs.entry.js +60 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +609 -0
- package/dist/cjs/ion-img.cjs.entry.js +9 -4
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +91 -16
- package/dist/cjs/ion-input-otp.cjs.entry.js +75 -10
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +42 -14
- package/dist/cjs/ion-input.cjs.entry.js +147 -39
- package/dist/cjs/ion-item-option_3.cjs.entry.js +467 -53
- package/dist/cjs/ion-item_8.cjs.entry.js +126 -59
- package/dist/cjs/ion-loading.cjs.entry.js +34 -29
- package/dist/cjs/ion-menu_3.cjs.entry.js +55 -37
- package/dist/cjs/ion-modal.cjs.entry.js +314 -158
- package/dist/cjs/ion-nav_2.cjs.entry.js +14 -10
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +13 -8
- package/dist/cjs/ion-picker-column.cjs.entry.js +17 -15
- package/dist/cjs/ion-picker.cjs.entry.js +11 -6
- package/dist/cjs/ion-popover.cjs.entry.js +34 -29
- package/dist/cjs/ion-progress-bar.cjs.entry.js +28 -9
- package/dist/cjs/ion-radio_2.cjs.entry.js +37 -18
- package/dist/cjs/ion-range.cjs.entry.js +21 -13
- package/dist/cjs/ion-refresher_2.cjs.entry.js +46 -21
- package/dist/cjs/ion-reorder_2.cjs.entry.js +31 -13
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +16 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +13 -11
- package/dist/cjs/ion-searchbar.cjs.entry.js +118 -33
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +13 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +25 -17
- package/dist/cjs/ion-select-modal.cjs.entry.js +54 -25
- package/dist/cjs/ion-select_3.cjs.entry.js +204 -82
- package/dist/cjs/ion-spinner.cjs.entry.js +31 -8
- package/dist/cjs/ion-split-pane.cjs.entry.js +14 -9
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +151 -28
- package/dist/cjs/ion-tab_2.cjs.entry.js +9 -7
- package/dist/cjs/ion-text.cjs.entry.js +8 -7
- package/dist/cjs/ion-textarea.cjs.entry.js +178 -41
- package/dist/cjs/ion-toast.cjs.entry.js +86 -57
- package/dist/cjs/ion-toggle.cjs.entry.js +67 -25
- package/dist/cjs/ionic-global-BsjzbnZk.js +551 -0
- package/dist/cjs/ionic.cjs.js +5 -4
- package/dist/cjs/{ios.transition-B3ZEimAt.js → ios.transition-Chk7LwO2.js} +7 -4
- package/dist/cjs/{item-multiple-inputs-BCXLvS-7.js → item-multiple-inputs-DRBi1Q76.js} +1 -1
- package/dist/cjs/{keyboard-D09lu9Ui.js → keyboard-Cix5TVkD.js} +3 -5
- package/dist/cjs/{keyboard-m0YvDiQo.js → keyboard-cHxZlTyz.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{md.transition-C6bsrBL9.js → md.transition-D-k4hn-o.js} +6 -4
- package/dist/cjs/{overlay-control-label-D2sdL2O8.js → overlay-control-label-DnRLQR1t.js} +13 -11
- package/dist/cjs/{overlay-focus-boundary-CSrlxrNh.js → overlay-focus-boundary-DCv6Y3fL.js} +4 -4
- package/dist/cjs/{overlays-CQn_A50_.js → overlays-DMW90-Kg.js} +320 -176
- package/dist/cjs/{page-restore-DAn6uyjc.js → page-restore-Dq2Pkln0.js} +40 -1
- package/dist/cjs/scroll-hide-controller-GvReYiKK.js +345 -0
- package/dist/cjs/{select-option-render-DlDqVzKp.js → select-option-render-nr0lBnYb.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-CefCz349.js → slot-mutation-controller-DKkmhOKO.js} +100 -13
- package/dist/cjs/{status-tap-kGuqyCj0.js → status-tap-oCDuuJng.js} +5 -3
- package/dist/cjs/{swipe-back-qjHVCapG.js → swipe-back-DZZ4EcCX.js} +4 -2
- package/dist/cjs/{theme-Bw0rpaNN.js → theme-Cy4joHPt.js} +25 -1
- package/dist/cjs/validity-CoPMWggj.js +51 -0
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/accordion/accordion.ionic.css +186 -0
- package/dist/collection/components/accordion/accordion.ios.css +73 -58
- package/dist/collection/components/accordion/accordion.js +36 -27
- package/dist/collection/components/accordion/accordion.md.css +67 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +93 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +16 -4
- package/dist/collection/components/accordion-group/accordion-group.js +44 -8
- package/dist/collection/components/accordion-group/accordion-group.md.css +22 -4
- package/dist/collection/components/action-sheet/action-sheet.ionic.css +490 -0
- package/dist/collection/components/action-sheet/action-sheet.ios.css +184 -54
- package/dist/collection/components/action-sheet/action-sheet.js +16 -13
- package/dist/collection/components/action-sheet/action-sheet.md.css +179 -55
- package/dist/collection/components/alert/alert.ionic.css +779 -0
- package/dist/collection/components/alert/alert.ios.css +259 -63
- package/dist/collection/components/alert/alert.js +22 -19
- package/dist/collection/components/alert/alert.md.css +243 -56
- package/dist/collection/components/app/app.js +15 -83
- package/dist/collection/components/avatar/avatar.ionic.css +379 -0
- package/dist/collection/components/avatar/avatar.ios.css +7 -33
- package/dist/collection/components/avatar/avatar.js +120 -4
- package/dist/collection/components/avatar/avatar.md.css +51 -0
- package/dist/collection/components/back-button/back-button.ios.css +60 -48
- package/dist/collection/components/back-button/back-button.js +26 -20
- package/dist/collection/components/back-button/back-button.md.css +60 -48
- package/dist/collection/components/backdrop/backdrop.ionic.css +109 -0
- package/dist/collection/components/backdrop/backdrop.ios.css +56 -19
- package/dist/collection/components/backdrop/backdrop.js +12 -6
- package/dist/collection/components/backdrop/backdrop.md.css +56 -19
- package/dist/collection/components/badge/badge.ionic.css +269 -0
- package/dist/collection/components/badge/badge.ios.css +137 -12
- package/dist/collection/components/badge/badge.js +143 -9
- package/dist/collection/components/badge/badge.md.css +122 -12
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +20 -8
- package/dist/collection/components/breadcrumb/breadcrumb.js +31 -11
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +20 -8
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +6 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +11 -9
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +6 -0
- package/dist/collection/components/button/button.ionic.css +640 -0
- package/dist/collection/components/button/button.ios.css +154 -46
- package/dist/collection/components/button/button.js +63 -27
- package/dist/collection/components/button/button.md.css +150 -50
- package/dist/collection/components/buttons/buttons.ionic.css +97 -0
- package/dist/collection/components/buttons/buttons.ios.css +59 -7
- package/dist/collection/components/buttons/buttons.js +15 -9
- package/dist/collection/components/buttons/buttons.md.css +55 -3
- package/dist/collection/components/card/card.ionic.css +145 -0
- package/dist/collection/components/card/card.ios.css +65 -14
- package/dist/collection/components/card/card.js +41 -10
- package/dist/collection/components/card/card.md.css +65 -14
- package/dist/collection/components/card-content/card-content.ionic.css +88 -0
- package/dist/collection/components/card-content/card-content.ios.css +20 -35
- package/dist/collection/components/card-content/card-content.js +12 -10
- package/dist/collection/components/card-content/card-content.md.css +20 -35
- package/dist/collection/components/card-header/card-header.ionic.css +85 -0
- package/dist/collection/components/card-header/card-header.ios.css +27 -15
- package/dist/collection/components/card-header/card-header.js +13 -10
- package/dist/collection/components/card-header/card-header.md.css +27 -15
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +143 -0
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +12 -0
- package/dist/collection/components/card-subtitle/card-subtitle.js +11 -8
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +12 -0
- package/dist/collection/components/card-title/card-title.ios.css +73 -0
- package/dist/collection/components/card-title/card-title.js +11 -8
- package/dist/collection/components/card-title/card-title.md.css +73 -0
- package/dist/collection/components/checkbox/checkbox.ionic.css +537 -0
- package/dist/collection/components/checkbox/checkbox.ios.css +252 -121
- package/dist/collection/components/checkbox/checkbox.js +80 -15
- package/dist/collection/components/checkbox/checkbox.md.css +253 -122
- package/dist/collection/components/chip/chip.ionic.css +216 -0
- package/dist/collection/components/chip/chip.ios.css +67 -14
- package/dist/collection/components/chip/chip.js +108 -8
- package/dist/collection/components/chip/chip.md.css +67 -14
- package/dist/collection/components/col/col.css +192 -4
- package/dist/collection/components/col/col.js +210 -67
- package/dist/collection/components/content/content.ionic.css +352 -0
- package/dist/collection/components/content/{content.css → content.ios.css} +106 -37
- package/dist/collection/components/content/content.js +22 -13
- package/dist/collection/components/content/content.md.css +347 -0
- package/dist/collection/components/datetime/datetime.ionic.css +878 -0
- package/dist/collection/components/datetime/datetime.ios.css +444 -114
- package/dist/collection/components/datetime/datetime.js +509 -59
- package/dist/collection/components/datetime/datetime.md.css +422 -103
- package/dist/collection/components/datetime/utils/data.js +5 -5
- package/dist/collection/components/datetime/utils/state.js +18 -1
- package/dist/collection/components/datetime-button/datetime-button.ios.css +6 -0
- package/dist/collection/components/datetime-button/datetime-button.js +43 -12
- package/dist/collection/components/datetime-button/datetime-button.md.css +6 -0
- package/dist/collection/components/divider/divider.ionic.css +148 -0
- package/dist/collection/components/divider/divider.ios.css +87 -0
- package/dist/collection/components/divider/divider.js +94 -0
- package/dist/collection/components/divider/divider.md.css +87 -0
- package/dist/collection/components/fab/fab.css +35 -9
- package/dist/collection/components/fab/fab.js +9 -5
- package/dist/collection/components/fab-button/fab-button.ios.css +18 -6
- package/dist/collection/components/fab-button/fab-button.js +31 -21
- package/dist/collection/components/fab-button/fab-button.md.css +20 -8
- package/dist/collection/components/fab-list/fab-list.css +12 -0
- package/dist/collection/components/fab-list/fab-list.js +9 -5
- package/dist/collection/components/footer/footer-interface.js +1 -0
- package/dist/collection/components/footer/footer.ios.css +33 -6
- package/dist/collection/components/footer/footer.js +117 -25
- package/dist/collection/components/footer/footer.md.css +40 -0
- package/dist/collection/components/footer/footer.utils.js +7 -1
- package/dist/collection/components/gallery/gallery-constants.js +12 -0
- package/dist/collection/components/gallery/gallery-interface.js +1 -0
- package/dist/collection/components/gallery/gallery.css +15 -0
- package/dist/collection/components/gallery/gallery.js +678 -0
- package/dist/collection/components/gallery/test/utils.js +100 -0
- package/dist/collection/components/gallery-item/gallery-item.css +49 -0
- package/dist/collection/components/gallery-item/gallery-item.js +98 -0
- package/dist/collection/components/grid/grid.css +12 -0
- package/dist/collection/components/grid/grid.js +9 -5
- package/dist/collection/components/header/header-interface.js +1 -0
- package/dist/collection/components/header/header.ionic.css +286 -0
- package/dist/collection/components/header/header.ios.css +178 -133
- package/dist/collection/components/header/header.js +180 -39
- package/dist/collection/components/header/header.md.css +199 -9
- package/dist/collection/components/header/header.utils.js +5 -13
- package/dist/collection/components/img/img.js +7 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +99 -5
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +12 -0
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +16 -10
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +12 -0
- package/dist/collection/components/input/input.ionic.css +963 -0
- package/dist/collection/components/input/input.ios.css +258 -163
- package/dist/collection/components/input/input.js +172 -44
- package/dist/collection/components/input/input.md.css +232 -238
- package/dist/collection/components/input-otp/input-otp.ionic.css +369 -0
- package/dist/collection/components/input-otp/input-otp.ios.css +105 -60
- package/dist/collection/components/input-otp/input-otp.js +74 -8
- package/dist/collection/components/input-otp/input-otp.md.css +105 -60
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +78 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +37 -10
- package/dist/collection/components/input-password-toggle/input-password-toggle.native.css +61 -0
- package/dist/collection/components/item/item.ionic.css +531 -0
- package/dist/collection/components/item/item.ios.css +166 -88
- package/dist/collection/components/item/item.js +51 -21
- package/dist/collection/components/item/item.md.css +180 -91
- package/dist/collection/components/item-divider/item-divider.ios.css +28 -8
- package/dist/collection/components/item-divider/item-divider.js +11 -8
- package/dist/collection/components/item-divider/item-divider.md.css +28 -8
- package/dist/collection/components/item-group/item-group.ios.css +12 -0
- package/dist/collection/components/item-group/item-group.js +13 -7
- package/dist/collection/components/item-group/item-group.md.css +12 -0
- package/dist/collection/components/item-option/item-option.ionic.css +276 -0
- package/dist/collection/components/item-option/item-option.ios.css +136 -29
- package/dist/collection/components/item-option/item-option.js +73 -9
- package/dist/collection/components/item-option/item-option.md.css +136 -29
- package/dist/collection/components/item-options/item-options.ionic.css +224 -0
- package/dist/collection/components/item-options/item-options.ios.css +97 -51
- package/dist/collection/components/item-options/item-options.js +13 -7
- package/dist/collection/components/item-options/item-options.md.css +97 -51
- package/dist/collection/components/item-sliding/item-sliding.ionic.css +214 -0
- package/dist/collection/components/item-sliding/item-sliding.js +419 -35
- package/dist/collection/components/item-sliding/item-sliding.native.css +198 -0
- package/dist/collection/components/item-sliding/test/test.utils.js +13 -0
- package/dist/collection/components/label/label.ios.css +89 -75
- package/dist/collection/components/label/label.js +16 -14
- package/dist/collection/components/label/label.md.css +159 -85
- package/dist/collection/components/list/list.ionic.css +212 -0
- package/dist/collection/components/list/list.ios.css +54 -14
- package/dist/collection/components/list/list.js +48 -9
- package/dist/collection/components/list/list.md.css +56 -16
- package/dist/collection/components/list-header/list-header.ionic.css +190 -0
- package/dist/collection/components/list-header/list-header.ios.css +87 -42
- package/dist/collection/components/list-header/list-header.js +11 -8
- package/dist/collection/components/list-header/list-header.md.css +87 -42
- package/dist/collection/components/loading/loading.ios.css +13 -1
- package/dist/collection/components/loading/loading.js +15 -12
- package/dist/collection/components/loading/loading.md.css +13 -1
- package/dist/collection/components/menu/menu.ios.css +53 -39
- package/dist/collection/components/menu/menu.js +12 -7
- package/dist/collection/components/menu/menu.md.css +53 -39
- package/dist/collection/components/menu-button/menu-button.ionic.css +236 -0
- package/dist/collection/components/menu-button/menu-button.ios.css +48 -14
- package/dist/collection/components/menu-button/menu-button.js +23 -10
- package/dist/collection/components/menu-button/menu-button.md.css +49 -15
- package/dist/collection/components/menu-toggle/menu-toggle.js +8 -5
- package/dist/collection/components/modal/animations/ionic.enter.js +40 -0
- package/dist/collection/components/modal/animations/ionic.leave.js +28 -0
- package/dist/collection/components/modal/animations/sheet.js +8 -2
- package/dist/collection/components/modal/gestures/sheet.js +96 -8
- package/dist/collection/components/modal/modal.ionic.css +274 -0
- package/dist/collection/components/modal/modal.ios.css +178 -70
- package/dist/collection/components/modal/modal.js +52 -13
- package/dist/collection/components/modal/modal.md.css +178 -70
- package/dist/collection/components/modal/safe-area-utils.js +9 -2
- package/dist/collection/components/nav/nav.css +7 -1
- package/dist/collection/components/nav/nav.js +10 -4
- package/dist/collection/components/nav-link/nav-link.js +5 -1
- package/dist/collection/components/note/note.ios.css +12 -0
- package/dist/collection/components/note/note.js +11 -8
- package/dist/collection/components/note/note.md.css +12 -0
- package/dist/collection/components/picker/picker.ios.css +15 -3
- package/dist/collection/components/picker/picker.js +8 -5
- package/dist/collection/components/picker/picker.md.css +15 -3
- package/dist/collection/components/picker-column/picker-column.css +9 -2
- package/dist/collection/components/picker-column/picker-column.js +8 -7
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +6 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +13 -7
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -0
- package/dist/collection/components/popover/popover.ionic.css +301 -0
- package/dist/collection/components/popover/popover.ios.css +29 -13
- package/dist/collection/components/popover/popover.js +19 -16
- package/dist/collection/components/popover/popover.md.css +25 -10
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +287 -0
- package/dist/collection/components/progress-bar/progress-bar.ios.css +48 -17
- package/dist/collection/components/progress-bar/progress-bar.js +43 -7
- package/dist/collection/components/progress-bar/progress-bar.md.css +48 -17
- package/dist/collection/components/radio/radio.ionic.css +423 -0
- package/dist/collection/components/radio/radio.ios.css +209 -102
- package/dist/collection/components/radio/radio.js +14 -9
- package/dist/collection/components/radio/radio.md.css +209 -102
- package/dist/collection/components/radio-group/radio-group.ionic.css +119 -0
- package/dist/collection/components/radio-group/radio-group.ios.css +43 -19
- package/dist/collection/components/radio-group/radio-group.js +48 -7
- package/dist/collection/components/radio-group/radio-group.md.css +43 -19
- package/dist/collection/components/range/range.ionic.css +570 -0
- package/dist/collection/components/range/range.ios.css +144 -97
- package/dist/collection/components/range/range.js +16 -10
- package/dist/collection/components/range/range.md.css +149 -101
- package/dist/collection/components/refresher/refresher.ios.css +18 -4
- package/dist/collection/components/refresher/refresher.js +11 -8
- package/dist/collection/components/refresher/refresher.md.css +19 -5
- package/dist/collection/components/refresher-content/refresher-content.js +34 -7
- package/dist/collection/components/reorder/reorder.ios.css +6 -0
- package/dist/collection/components/reorder/reorder.js +25 -6
- package/dist/collection/components/reorder/reorder.md.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.css +6 -0
- package/dist/collection/components/reorder-group/reorder-group.js +8 -4
- package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +7 -1
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +215 -0
- package/dist/collection/components/ripple-effect/ripple-effect.js +14 -6
- package/dist/collection/components/route/route.js +5 -0
- package/dist/collection/components/route-redirect/route-redirect.js +1 -0
- package/dist/collection/components/router/router.js +4 -0
- package/dist/collection/components/router-link/router-link.css +8 -2
- package/dist/collection/components/router-link/router-link.js +9 -5
- package/dist/collection/components/router-outlet/router-outlet.css +7 -1
- package/dist/collection/components/router-outlet/router-outlet.js +6 -3
- package/dist/collection/components/row/row.css +16 -0
- package/dist/collection/components/row/row.js +9 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +621 -0
- package/dist/collection/components/searchbar/searchbar.ios.css +56 -18
- package/dist/collection/components/searchbar/searchbar.js +164 -43
- package/dist/collection/components/searchbar/searchbar.md.css +60 -21
- package/dist/collection/components/{item-sliding/item-sliding.css → segment/segment.ionic.css} +50 -56
- package/dist/collection/components/segment/segment.ios.css +45 -2
- package/dist/collection/components/segment/segment.js +11 -8
- package/dist/collection/components/segment/segment.md.css +45 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +351 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +146 -105
- package/dist/collection/components/segment-button/segment-button.js +11 -8
- package/dist/collection/components/segment-button/segment-button.md.css +148 -107
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.ios.css +6 -0
- package/dist/collection/components/segment-view/segment-view.js +13 -4
- package/dist/collection/components/segment-view/segment-view.md.css +6 -0
- package/dist/collection/components/select/select.ionic.css +976 -0
- package/dist/collection/components/select/select.ios.css +304 -148
- package/dist/collection/components/select/select.js +232 -82
- package/dist/collection/components/select/select.md.css +320 -150
- package/dist/collection/components/select-modal/select-modal.ionic.css +254 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +293 -45
- package/dist/collection/components/select-modal/select-modal.js +63 -15
- package/dist/collection/components/select-modal/select-modal.md.css +273 -43
- package/dist/collection/components/select-option/select-option.js +8 -4
- package/dist/collection/components/select-popover/select-popover.ionic.css +253 -0
- package/dist/collection/components/select-popover/select-popover.ios.css +188 -124
- package/dist/collection/components/select-popover/select-popover.js +17 -9
- package/dist/collection/components/select-popover/select-popover.md.css +228 -47
- package/dist/collection/components/skeleton-text/skeleton-text.css +6 -0
- package/dist/collection/components/skeleton-text/skeleton-text.js +9 -5
- package/dist/collection/components/spinner/{spinner.css → spinner.ionic.css} +82 -13
- package/dist/collection/components/spinner/spinner.js +47 -6
- package/dist/collection/components/spinner/spinner.native.css +200 -0
- package/dist/collection/components/split-pane/split-pane.ios.css +20 -2
- package/dist/collection/components/split-pane/split-pane.js +15 -8
- package/dist/collection/components/split-pane/split-pane.md.css +20 -2
- package/dist/collection/components/tab/tab.js +6 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +249 -0
- package/dist/collection/components/tab-bar/tab-bar.ios.css +86 -43
- package/dist/collection/components/tab-bar/tab-bar.js +178 -15
- package/dist/collection/components/tab-bar/tab-bar.md.css +86 -43
- package/dist/collection/components/tab-button/tab-button.ionic.css +372 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +171 -95
- package/dist/collection/components/tab-button/tab-button.js +54 -9
- package/dist/collection/components/tab-button/tab-button.md.css +141 -96
- package/dist/collection/components/tabs/tabs.css +7 -1
- package/dist/collection/components/tabs/tabs.js +4 -1
- package/dist/collection/components/text/text.css +6 -0
- package/dist/collection/components/text/text.js +7 -6
- package/dist/collection/components/textarea/textarea.ionic.css +990 -0
- package/dist/collection/components/textarea/textarea.ios.css +326 -177
- package/dist/collection/components/textarea/textarea.js +205 -43
- package/dist/collection/components/textarea/textarea.md.css +347 -182
- package/dist/collection/components/thumbnail/thumbnail.css +6 -0
- package/dist/collection/components/thumbnail/thumbnail.js +9 -2
- package/dist/collection/components/title/title.ionic.css +125 -0
- package/dist/collection/components/title/title.ios.css +36 -7
- package/dist/collection/components/title/title.js +13 -7
- package/dist/collection/components/title/title.md.css +39 -4
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +391 -0
- package/dist/collection/components/toast/toast.ios.css +84 -45
- package/dist/collection/components/toast/toast.js +79 -13
- package/dist/collection/components/toast/toast.md.css +84 -45
- package/dist/collection/components/toggle/toggle.ionic.css +510 -0
- package/dist/collection/components/toggle/toggle.ios.css +249 -127
- package/dist/collection/components/toggle/toggle.js +58 -18
- package/dist/collection/components/toggle/toggle.md.css +247 -127
- package/dist/collection/components/toolbar/test/image.svg +1 -0
- package/dist/collection/components/toolbar/toolbar.ionic.css +249 -0
- package/dist/collection/components/toolbar/toolbar.ios.css +90 -47
- package/dist/collection/components/toolbar/toolbar.js +271 -14
- package/dist/collection/components/toolbar/toolbar.md.css +90 -47
- package/dist/collection/global/ionic-global.js +239 -13
- package/dist/collection/utils/css-value-validation.js +39 -0
- package/dist/collection/utils/focus-trap.js +15 -4
- package/dist/collection/utils/focus-visible.js +73 -2
- package/dist/collection/utils/forms/clear-button-press-controller.js +40 -0
- package/dist/collection/utils/forms/click-controller.js +95 -9
- package/dist/collection/utils/forms/index.js +1 -0
- package/dist/collection/utils/forms/validity.js +31 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/hardware-back-button.js +15 -0
- package/dist/collection/utils/helpers.js +84 -3
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/media.js +1 -0
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +2 -1
- package/dist/collection/utils/menu-controller/animations/reveal.js +2 -1
- package/dist/collection/utils/overlay-control-label.js +13 -11
- package/dist/collection/utils/overlays.js +295 -10
- package/dist/collection/utils/scroll-hide-controller.js +178 -0
- package/dist/collection/utils/test/playwright/drag-element.js +32 -9
- package/dist/collection/utils/test/playwright/field-geometry.js +34 -0
- package/dist/collection/utils/test/playwright/generator.js +48 -23
- package/dist/collection/utils/test/playwright/index.js +1 -0
- package/dist/collection/utils/test/playwright/page/utils/goto.js +10 -1
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +26 -3
- package/dist/collection/utils/theme.js +25 -1
- package/dist/collection/utils/transition/ios.transition.js +1 -0
- package/dist/docs.json +9170 -307
- package/dist/esm/{animation-BYD6qYqw.js → animation-Cev2GhGs.js} +2 -2
- package/dist/esm/{app-globals-CYnbK2w5.js → app-globals-BocmgK6F.js} +1 -1
- package/dist/esm/{attribute-controller-CsxlVqNe.js → attribute-controller-418FdXxR.js} +2 -1
- package/dist/esm/{button-active-DPPm_VjM.js → button-active-BhjMt-gU.js} +2 -2
- package/dist/esm/{capacitor-BtVqr-0a.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/focus-visible-BYk20Mf5.js +146 -0
- package/dist/esm/{format-BgKTubOe.js → format-t9SOC1s5.js} +2 -2
- package/dist/esm/{framework-delegate-_-r5Mbs1.js → framework-delegate-DOV97IRE.js} +4 -2
- package/dist/esm/{haptic-DatoB-5Q.js → haptic-Cq4UAeka.js} +1 -1
- package/dist/esm/{helpers-BGy986qP.js → helpers-Bhcp6jft.js} +86 -8
- package/dist/esm/{index-uFStprb5.js → index-Bas44FS4.js} +55 -5
- package/dist/esm/{index-BvabGprD.js → index-BkJpfpXI.js} +2 -1
- package/dist/esm/{index-yy1nOLQ-.js → index-BxqNQDQb.js} +12 -10
- package/dist/esm/{index-D22yGpGL.js → index-CSvgU7bD.js} +4 -4
- package/dist/esm/{index-QObOymXw.js → index-DU_8Y0hH.js} +1 -1
- package/dist/esm/{index-BUron7QJ.js → index-Dr_h9K1q.js} +2 -2
- package/dist/esm/{index-DINFvBJj.js → index-M3ncuMMO.js} +4 -2
- package/dist/esm/index-ZjP4CjeZ.js +7 -0
- package/dist/esm/index.js +14 -12
- package/dist/esm/{input-shims-DxCUOpoX.js → input-shims-Q8eQDhGy.js} +7 -5
- package/dist/esm/{input.utils-BIAhIO4-.js → input.utils-Ca-6biEE.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +57 -29
- package/dist/esm/ion-action-sheet.entry.js +28 -23
- package/dist/esm/ion-alert.entry.js +35 -30
- package/dist/esm/ion-app_8.entry.js +526 -195
- package/dist/esm/ion-avatar_3.entry.js +124 -13
- package/dist/esm/ion-back-button.entry.js +32 -24
- package/dist/esm/ion-backdrop.entry.js +11 -7
- package/dist/esm/ion-breadcrumb_2.entry.js +43 -19
- package/dist/esm/ion-button_2.entry.js +61 -23
- package/dist/esm/ion-card_5.entry.js +57 -34
- package/dist/esm/ion-checkbox.entry.js +43 -17
- package/dist/esm/ion-chip.entry.js +51 -9
- package/dist/esm/ion-col_3.entry.js +56 -63
- package/dist/esm/ion-datetime-button.entry.js +45 -13
- package/dist/esm/ion-datetime.entry.js +464 -69
- package/dist/esm/ion-divider.entry.js +51 -0
- package/dist/esm/ion-fab_3.entry.js +41 -29
- package/dist/esm/ion-gallery-item.entry.js +58 -0
- package/dist/esm/ion-gallery.entry.js +607 -0
- package/dist/esm/ion-img.entry.js +9 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +91 -16
- package/dist/esm/ion-input-otp.entry.js +75 -10
- package/dist/esm/ion-input-password-toggle.entry.js +42 -14
- package/dist/esm/ion-input.entry.js +147 -39
- package/dist/esm/ion-item-option_3.entry.js +467 -53
- package/dist/esm/ion-item_8.entry.js +126 -59
- package/dist/esm/ion-loading.entry.js +23 -18
- package/dist/esm/ion-menu_3.entry.js +46 -28
- package/dist/esm/ion-modal.entry.js +247 -91
- package/dist/esm/ion-nav_2.entry.js +14 -10
- package/dist/esm/ion-picker-column-option.entry.js +13 -8
- package/dist/esm/ion-picker-column.entry.js +14 -12
- package/dist/esm/ion-picker.entry.js +11 -6
- package/dist/esm/ion-popover.entry.js +24 -19
- package/dist/esm/ion-progress-bar.entry.js +28 -9
- package/dist/esm/ion-radio_2.entry.js +37 -18
- package/dist/esm/ion-range.entry.js +21 -13
- package/dist/esm/ion-refresher_2.entry.js +46 -21
- package/dist/esm/ion-reorder_2.entry.js +31 -13
- package/dist/esm/ion-ripple-effect.entry.js +16 -7
- package/dist/esm/ion-route_4.entry.js +13 -11
- package/dist/esm/ion-searchbar.entry.js +118 -33
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +13 -3
- package/dist/esm/ion-segment_2.entry.js +25 -17
- package/dist/esm/ion-select-modal.entry.js +53 -24
- package/dist/esm/ion-select_3.entry.js +199 -77
- package/dist/esm/ion-spinner.entry.js +31 -8
- package/dist/esm/ion-split-pane.entry.js +14 -9
- package/dist/esm/ion-tab-bar_2.entry.js +150 -27
- package/dist/esm/ion-tab_2.entry.js +9 -7
- package/dist/esm/ion-text.entry.js +8 -7
- package/dist/esm/ion-textarea.entry.js +178 -41
- package/dist/esm/ion-toast.entry.js +48 -19
- package/dist/esm/ion-toggle.entry.js +67 -25
- package/dist/esm/ionic-global-BYy_ionO.js +540 -0
- package/dist/esm/ionic.js +6 -5
- package/dist/esm/{ios.transition-BpwDTdvj.js → ios.transition-MTIekCSs.js} +7 -4
- package/dist/esm/{item-multiple-inputs-0UgndTBq.js → item-multiple-inputs-BrSomT3h.js} +1 -1
- package/dist/esm/{keyboard-BYoxr1oW.js → keyboard-Cj8mLJeq.js} +3 -5
- package/dist/esm/{keyboard-7B2XoG-w.js → keyboard-DAF8GNJ9.js} +1 -1
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{md.transition-8JQ5A2YB.js → md.transition-CYPyM3Wr.js} +6 -4
- package/dist/esm/{overlay-control-label-BSQPZ79H.js → overlay-control-label-CODBQrPj.js} +13 -11
- package/dist/esm/{overlay-focus-boundary-CWQiIajC.js → overlay-focus-boundary-DrYovbKL.js} +2 -2
- package/dist/esm/{overlays-CzadOuIw.js → overlays-D4jQ_MJ6.js} +313 -164
- package/dist/esm/{page-restore-CNWCTzxd.js → page-restore-9RlWwejf.js} +40 -2
- package/dist/esm/scroll-hide-controller-Db79zIPS.js +342 -0
- package/dist/esm/{select-option-render-DHHau8BW.js → select-option-render-szX_tjoT.js} +2 -2
- package/dist/esm/{slot-mutation-controller-DNxd1bl7.js → slot-mutation-controller-Du2BZesv.js} +97 -10
- package/dist/esm/{status-tap-BiQx78ee.js → status-tap-CxG8iM45.js} +5 -3
- package/dist/esm/{swipe-back-CZd7IfGd.js → swipe-back-CyMa6zSX.js} +4 -2
- package/dist/esm/{theme-byZM6qHV.js → theme-BUF_V-Kg.js} +25 -1
- package/dist/esm/validity-NcQUGze-.js +48 -0
- package/dist/html.html-data.json +2652 -151
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0a3b23f0.entry.js +4 -0
- package/dist/ionic/p-0c87430e.entry.js +4 -0
- package/dist/ionic/p-0eadd747.entry.js +4 -0
- package/dist/ionic/p-108c617e.entry.js +4 -0
- package/dist/ionic/p-1336380f.entry.js +4 -0
- package/dist/ionic/p-16d7a09e.entry.js +4 -0
- package/dist/ionic/p-1847d994.entry.js +4 -0
- package/dist/ionic/p-1b542120.entry.js +4 -0
- package/dist/ionic/p-1d8fc165.entry.js +4 -0
- package/dist/ionic/p-20e49521.entry.js +4 -0
- package/dist/ionic/p-2c232526.entry.js +4 -0
- package/dist/ionic/p-38580367.entry.js +4 -0
- package/dist/ionic/p-3b6a9e1f.entry.js +4 -0
- package/dist/ionic/p-3fbcf247.entry.js +4 -0
- package/dist/ionic/p-4c0d2ea4.entry.js +4 -0
- package/dist/ionic/p-4f1773eb.entry.js +4 -0
- package/dist/ionic/p-527fa477.entry.js +4 -0
- package/dist/ionic/p-544ba9be.entry.js +4 -0
- package/dist/ionic/p-5a5408f6.entry.js +4 -0
- package/dist/ionic/p-5pKYh0QR.js +4 -0
- package/dist/ionic/p-61d17ff8.entry.js +4 -0
- package/dist/ionic/p-636b14fb.entry.js +4 -0
- package/dist/ionic/p-6806aefe.entry.js +4 -0
- package/dist/ionic/p-68650478.entry.js +4 -0
- package/dist/ionic/p-6874fc1e.entry.js +4 -0
- package/dist/ionic/p-70f777b3.entry.js +4 -0
- package/dist/ionic/p-71a9c711.entry.js +4 -0
- package/dist/ionic/p-747d4da3.entry.js +4 -0
- package/dist/ionic/p-78ee18fb.entry.js +4 -0
- package/dist/ionic/p-86103379.entry.js +4 -0
- package/dist/ionic/p-9276359b.entry.js +4 -0
- package/dist/ionic/p-9984d163.entry.js +4 -0
- package/dist/ionic/p-9b71b044.entry.js +4 -0
- package/dist/ionic/p-9d765c69.entry.js +4 -0
- package/dist/ionic/p-9ohDxdgz.js +4 -0
- package/dist/ionic/{p-BAqE8tUg.js → p-BMPN55of.js} +1 -1
- package/dist/ionic/{p-DW5lJnDf.js → p-BQhyhNHy.js} +1 -1
- package/dist/ionic/{p-Bp47w0ZS.js → p-BSenjX6U.js} +1 -1
- package/dist/ionic/p-BSkpb2fc.js +4 -0
- package/dist/ionic/p-BUF_V-Kg.js +4 -0
- package/dist/ionic/{p-Behw7xh8.js → p-BYTjG6HG.js} +1 -1
- package/dist/ionic/p-BYk20Mf5.js +4 -0
- package/dist/ionic/p-Bas44FS4.js +6 -0
- package/dist/ionic/p-BawJ4_R2.js +4 -0
- package/dist/ionic/p-BiYkrpCo.js +4 -0
- package/dist/ionic/p-BjBJlURk.js +4 -0
- package/dist/ionic/p-BkJpfpXI.js +4 -0
- package/dist/ionic/p-CAdpShMB.js +4 -0
- package/dist/ionic/p-CFV2lqKP.js +4 -0
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/p-CODBQrPj.js +4 -0
- package/dist/ionic/p-CWRBQbEt.js +4 -0
- package/dist/ionic/p-C_Z39n1a.js +4 -0
- package/dist/ionic/p-D4o1HBsS.js +4 -0
- package/dist/ionic/p-D5t_-oMk.js +4 -0
- package/dist/ionic/p-D7kZMPgY.js +4 -0
- package/dist/ionic/p-DLK90YxR.js +4 -0
- package/dist/ionic/p-DOFFsd_b.js +4 -0
- package/dist/ionic/p-Dbpdrswb.js +4 -0
- package/dist/ionic/p-DrOc_uDR.js +4 -0
- package/{components/p-4z5TSFKN.js → dist/ionic/p-FygeMLmO.js} +1 -1
- package/dist/ionic/p-NcQUGze-.js +4 -0
- package/dist/ionic/{p-C_a0nr27.js → p-T71k3C35.js} +1 -1
- package/dist/ionic/{p-CIlx2LFR.js → p-XZiK70aS.js} +1 -1
- package/dist/ionic/p-ZjP4CjeZ.js +4 -0
- package/dist/ionic/p-a21edb48.entry.js +4 -0
- package/dist/ionic/p-a8aaf7e8.entry.js +4 -0
- package/dist/ionic/{p-fe2072b9.entry.js → p-ac4b2212.entry.js} +1 -1
- package/dist/ionic/p-afa43e97.entry.js +4 -0
- package/dist/ionic/p-b2e17a18.entry.js +4 -0
- package/dist/ionic/p-b7d0d844.entry.js +4 -0
- package/dist/ionic/p-b98e482e.entry.js +4 -0
- package/dist/ionic/p-bD2UA_Oq.js +4 -0
- package/dist/ionic/p-bfE6ImVy.js +4 -0
- package/dist/ionic/p-cc724d97.entry.js +4 -0
- package/dist/ionic/p-d59d0a72.entry.js +4 -0
- package/dist/ionic/p-d61c5038.entry.js +4 -0
- package/dist/ionic/p-d7d87adb.entry.js +4 -0
- package/dist/ionic/p-dd40211d.entry.js +4 -0
- package/dist/ionic/p-dde3fe0f.entry.js +4 -0
- package/dist/ionic/p-de6ccf04.entry.js +4 -0
- package/dist/ionic/p-df337118.entry.js +4 -0
- package/dist/ionic/p-e3d754ae.entry.js +4 -0
- package/dist/ionic/p-e6a6a075.entry.js +4 -0
- package/dist/ionic/p-e7f841d7.entry.js +4 -0
- package/dist/ionic/p-eSGmNpTU.js +4 -0
- package/dist/ionic/p-ee15d08d.entry.js +4 -0
- package/dist/ionic/p-f41ef4cc.entry.js +4 -0
- package/dist/ionic/p-f6bd7ca3.entry.js +4 -0
- package/dist/ionic/p-fd3ccd0d.entry.js +4 -0
- package/dist/ionic/p-rmK71y9P.js +4 -0
- package/dist/ionic/p-sQjitIqc.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +12 -3
- package/dist/types/components/accordion-group/accordion-group.d.ts +12 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -7
- package/dist/types/components/action-sheet/action-sheet.d.ts +3 -2
- package/dist/types/components/alert/alert-interface.d.ts +3 -7
- package/dist/types/components/alert/alert.d.ts +3 -2
- package/dist/types/components/app/app.d.ts +4 -5
- package/dist/types/components/avatar/avatar.d.ts +32 -0
- package/dist/types/components/back-button/back-button.d.ts +10 -3
- package/dist/types/components/backdrop/backdrop.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +34 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +14 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +23 -8
- package/dist/types/components/buttons/buttons.d.ts +5 -1
- package/dist/types/components/card/card.d.ts +8 -1
- package/dist/types/components/card-content/card-content.d.ts +2 -1
- package/dist/types/components/card-header/card-header.d.ts +3 -2
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +2 -1
- package/dist/types/components/card-title/card-title.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +26 -5
- package/dist/types/components/chip/chip.d.ts +26 -1
- package/dist/types/components/col/col.d.ts +52 -6
- package/dist/types/components/content/content.d.ts +3 -0
- package/dist/types/components/datetime/datetime-interface.d.ts +4 -0
- package/dist/types/components/datetime/datetime.d.ts +98 -7
- package/dist/types/components/datetime/utils/data.d.ts +5 -5
- package/dist/types/components/datetime/utils/state.d.ts +5 -2
- package/dist/types/components/datetime-button/datetime-button.d.ts +2 -1
- package/dist/types/components/divider/divider.d.ts +20 -0
- package/dist/types/components/fab/fab.d.ts +4 -0
- package/dist/types/components/fab-button/fab-button.d.ts +11 -3
- package/dist/types/components/fab-list/fab-list.d.ts +4 -0
- package/dist/types/components/footer/footer-interface.d.ts +1 -0
- package/dist/types/components/footer/footer.d.ts +20 -3
- package/dist/types/components/gallery/gallery-constants.d.ts +9 -0
- package/dist/types/components/gallery/gallery-interface.d.ts +10 -0
- package/dist/types/components/gallery/gallery.d.ts +218 -0
- package/dist/types/components/gallery/test/utils.d.ts +3 -0
- package/dist/types/components/gallery-item/gallery-item.d.ts +33 -0
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/header/header-interface.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +26 -3
- package/dist/types/components/header/header.utils.d.ts +4 -5
- package/dist/types/components/img/img.d.ts +2 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +21 -0
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +45 -5
- package/dist/types/components/input-otp/input-otp.d.ts +37 -0
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +14 -0
- package/dist/types/components/item/item.d.ts +17 -4
- package/dist/types/components/item-divider/item-divider.d.ts +2 -1
- package/dist/types/components/item-group/item-group.d.ts +4 -0
- package/dist/types/components/item-option/item-option.d.ts +18 -1
- package/dist/types/components/item-options/item-options.d.ts +4 -0
- package/dist/types/components/item-sliding/item-sliding.d.ts +47 -1
- package/dist/types/components/item-sliding/test/test.utils.d.ts +13 -0
- package/dist/types/components/label/label.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +15 -1
- package/dist/types/components/list-header/list-header.d.ts +2 -1
- package/dist/types/components/loading/loading-interface.d.ts +2 -7
- package/dist/types/components/loading/loading.d.ts +3 -2
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu-button/menu-button.d.ts +8 -1
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +3 -0
- package/dist/types/components/modal/animations/ionic.enter.d.ts +6 -0
- package/dist/types/components/modal/animations/ionic.leave.d.ts +6 -0
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +4 -7
- package/dist/types/components/modal/modal.d.ts +11 -1
- package/dist/types/components/modal/safe-area-utils.d.ts +2 -1
- package/dist/types/components/nav/nav-interface.d.ts +9 -1
- package/dist/types/components/nav/nav.d.ts +5 -1
- package/dist/types/components/nav-link/nav-link.d.ts +4 -0
- package/dist/types/components/note/note.d.ts +2 -1
- package/dist/types/components/picker/picker.d.ts +2 -1
- package/dist/types/components/picker-column/picker-column.d.ts +2 -1
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +4 -0
- package/dist/types/components/popover/popover-interface.d.ts +3 -6
- package/dist/types/components/popover/popover.d.ts +6 -5
- package/dist/types/components/progress-bar/progress-bar.d.ts +10 -1
- package/dist/types/components/radio/radio.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +12 -0
- package/dist/types/components/range/range.d.ts +2 -1
- package/dist/types/components/refresher/refresher.d.ts +2 -1
- package/dist/types/components/refresher-content/refresher-content.d.ts +10 -0
- package/dist/types/components/reorder/reorder.d.ts +9 -0
- package/dist/types/components/reorder-group/reorder-group.d.ts +4 -0
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +4 -0
- package/dist/types/components/route/route.d.ts +4 -0
- package/dist/types/components/router/router.d.ts +4 -0
- package/dist/types/components/router-link/router-link.d.ts +4 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +4 -1
- package/dist/types/components/row/row.d.ts +4 -0
- package/dist/types/components/searchbar/searchbar.d.ts +56 -10
- package/dist/types/components/segment/segment.d.ts +2 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +59 -15
- package/dist/types/components/select-modal/select-modal.d.ts +13 -0
- package/dist/types/components/select-option/select-option.d.ts +7 -4
- package/dist/types/components/select-popover/select-popover.d.ts +3 -0
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +4 -0
- package/dist/types/components/spinner/spinner.d.ts +15 -0
- package/dist/types/components/split-pane/split-pane.d.ts +4 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab-bar/tab-bar-interface.d.ts +1 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +41 -3
- package/dist/types/components/tab-button/tab-button.d.ts +12 -1
- package/dist/types/components/tabs/tabs.d.ts +3 -0
- package/dist/types/components/text/text.d.ts +2 -1
- package/dist/types/components/textarea/textarea.d.ts +75 -17
- package/dist/types/components/thumbnail/thumbnail.d.ts +4 -0
- package/dist/types/components/title/title.d.ts +4 -0
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +3 -7
- package/dist/types/components/toast/toast.d.ts +19 -2
- package/dist/types/components/toggle/toggle.d.ts +18 -1
- package/dist/types/components/toolbar/toolbar.d.ts +65 -3
- package/dist/types/components.d.ts +1874 -213
- package/dist/types/global/ionic-global.d.ts +28 -2
- package/dist/types/interface.d.ts +3 -0
- package/dist/types/utils/config.d.ts +128 -4
- package/dist/types/utils/css-value-validation.d.ts +21 -0
- package/dist/types/utils/focus-trap.d.ts +1 -1
- package/dist/types/utils/focus-visible.d.ts +33 -0
- package/dist/types/utils/forms/clear-button-press-controller.d.ts +20 -0
- package/dist/types/utils/forms/click-controller.d.ts +16 -5
- package/dist/types/utils/forms/index.d.ts +1 -0
- package/dist/types/utils/forms/validity.d.ts +7 -0
- package/dist/types/utils/helpers.d.ts +29 -0
- package/dist/types/utils/overlay-control-label.d.ts +11 -9
- package/dist/types/utils/overlays-interface.d.ts +31 -1
- package/dist/types/utils/overlays.d.ts +1 -1
- package/dist/types/utils/scroll-hide-controller.d.ts +56 -0
- package/dist/types/utils/test/playwright/drag-element.d.ts +16 -3
- package/dist/types/utils/test/playwright/field-geometry.d.ts +13 -0
- package/dist/types/utils/test/playwright/generator.d.ts +31 -2
- package/dist/types/utils/test/playwright/index.d.ts +1 -0
- package/dist/types/utils/theme.d.ts +9 -0
- package/hydrate/index.js +5996 -1306
- package/hydrate/index.mjs +5996 -1306
- package/package.json +7 -4
- package/components/p-B4e-N-iU.js +0 -4
- package/components/p-BG2WJ00s.js +0 -4
- package/components/p-BPHUpiiM.js +0 -4
- package/components/p-BSQPZ79H.js +0 -4
- package/components/p-BVP5mSVm.js +0 -4
- package/components/p-BW8F7e0i.js +0 -4
- package/components/p-BbKlaMtT.js +0 -4
- package/components/p-BeFfed0O.js +0 -4
- package/components/p-BhamHSw3.js +0 -4
- package/components/p-BiZyTqN_.js +0 -4
- package/components/p-BjZLJLiN.js +0 -4
- package/components/p-BmBGUFc2.js +0 -4
- package/components/p-BmVRXR1y.js +0 -4
- package/components/p-Bs6l0hmn.js +0 -4
- package/components/p-C2VUMtb_.js +0 -4
- package/components/p-CEQhyzEV.js +0 -4
- package/components/p-CGPlqk2U.js +0 -4
- package/components/p-CIqj2_kr.js +0 -4
- package/components/p-CK5LoZgF.js +0 -4
- package/components/p-CjipsCSh.js +0 -4
- package/components/p-CkBN8nLu.js +0 -4
- package/components/p-CmuQBpNF.js +0 -4
- package/components/p-CnlUj9Gp.js +0 -4
- package/components/p-Cu22S_Bl.js +0 -4
- package/components/p-Cw7d5DbA.js +0 -4
- package/components/p-D76C9Iw8.js +0 -4
- package/components/p-DJztqcrH.js +0 -4
- package/components/p-DXwlA9fK.js +0 -4
- package/components/p-DZnVmCdW.js +0 -4
- package/components/p-D_mpvgZo.js +0 -4
- package/components/p-Debuc-PI.js +0 -4
- package/components/p-DjCSZZsZ.js +0 -4
- package/components/p-DjaPZRNp.js +0 -4
- package/components/p-DjkKiJ-Z.js +0 -4
- package/components/p-DluP6kjT.js +0 -4
- package/components/p-DmMCzf7n.js +0 -4
- package/components/p-DvVp-N7F.js +0 -4
- package/components/p-H5MjXgsw.js +0 -4
- package/components/p-LpMHEu3v.js +0 -4
- package/components/p-MmeVOM-P.js +0 -4
- package/components/p-SWkzJ3qv.js +0 -4
- package/components/p-V0GEPf8E.js +0 -4
- package/components/p-VYhssPGK.js +0 -4
- package/components/p-XbNDx_fA.js +0 -4
- package/components/p-byZM6qHV.js +0 -4
- package/components/p-d8PmTFON.js +0 -4
- package/components/p-ofv0IK1O.js +0 -4
- package/dist/cjs/focus-visible-CCvKiLh3.js +0 -77
- package/dist/cjs/ionic-global-QTK6g1fO.js +0 -156
- package/dist/cjs/keyboard-controller-DdjUnixl.js +0 -167
- package/dist/cjs/validity-BpS37YFM.js +0 -19
- package/dist/esm/focus-visible-BmVRXR1y.js +0 -75
- package/dist/esm/ionic-global-BUMBTNBh.js +0 -151
- package/dist/esm/keyboard-controller-YSWkCPGy.js +0 -165
- package/dist/esm/validity-DJztqcrH.js +0 -17
- package/dist/ionic/p-061ba881.entry.js +0 -4
- package/dist/ionic/p-10ed267f.entry.js +0 -4
- package/dist/ionic/p-156cd0c6.entry.js +0 -4
- package/dist/ionic/p-16c12ab0.entry.js +0 -4
- package/dist/ionic/p-29b5c451.entry.js +0 -4
- package/dist/ionic/p-38b60d46.entry.js +0 -4
- package/dist/ionic/p-39109311.entry.js +0 -4
- package/dist/ionic/p-41595411.entry.js +0 -4
- package/dist/ionic/p-49353ba3.entry.js +0 -4
- package/dist/ionic/p-502b3b55.entry.js +0 -4
- package/dist/ionic/p-50e0cf1e.entry.js +0 -4
- package/dist/ionic/p-59440b91.entry.js +0 -4
- package/dist/ionic/p-5a79d5f5.entry.js +0 -4
- package/dist/ionic/p-5d45d791.entry.js +0 -4
- package/dist/ionic/p-63be88eb.entry.js +0 -4
- package/dist/ionic/p-6f40f52a.entry.js +0 -4
- package/dist/ionic/p-6fc4784d.entry.js +0 -4
- package/dist/ionic/p-725ca555.entry.js +0 -4
- package/dist/ionic/p-74d4dcce.entry.js +0 -4
- package/dist/ionic/p-7b0aef50.entry.js +0 -4
- package/dist/ionic/p-7c2e9d9f.entry.js +0 -4
- package/dist/ionic/p-81f1c2ae.entry.js +0 -4
- package/dist/ionic/p-8f9fa3c7.entry.js +0 -4
- package/dist/ionic/p-9321f62f.entry.js +0 -4
- package/dist/ionic/p-952409d3.entry.js +0 -4
- package/dist/ionic/p-BBBnHcNG.js +0 -4
- package/dist/ionic/p-BFtwn6zO.js +0 -4
- package/dist/ionic/p-BHPNO6ja.js +0 -4
- package/dist/ionic/p-BRzjwFMi.js +0 -4
- package/dist/ionic/p-BSQPZ79H.js +0 -4
- package/dist/ionic/p-BZf0THeN.js +0 -4
- package/dist/ionic/p-B_Md9dSU.js +0 -4
- package/dist/ionic/p-BmVRXR1y.js +0 -4
- package/dist/ionic/p-Bs8mucSo.js +0 -4
- package/dist/ionic/p-BvabGprD.js +0 -4
- package/dist/ionic/p-BxHLmLX1.js +0 -4
- package/dist/ionic/p-CGfIEco6.js +0 -4
- package/dist/ionic/p-CJQh8p4r.js +0 -4
- package/dist/ionic/p-CSH25_Bl.js +0 -4
- package/dist/ionic/p-D981kEuI.js +0 -4
- package/dist/ionic/p-DJztqcrH.js +0 -4
- package/dist/ionic/p-DNevhlPw.js +0 -4
- package/dist/ionic/p-DOAJgEZe.js +0 -4
- package/dist/ionic/p-DQEwYoYk.js +0 -4
- package/dist/ionic/p-DZWBS9J6.js +0 -4
- package/dist/ionic/p-Dnxv8bGO.js +0 -4
- package/dist/ionic/p-DtzLTqLT.js +0 -4
- package/dist/ionic/p-Dy5ODIkp.js +0 -4
- package/dist/ionic/p-TucAhQ7c.js +0 -4
- package/dist/ionic/p-YsbDGprQ.js +0 -4
- package/dist/ionic/p-a63e20ae.entry.js +0 -4
- package/dist/ionic/p-b2693dfd.entry.js +0 -4
- package/dist/ionic/p-b33969da.entry.js +0 -4
- package/dist/ionic/p-b5d7df34.entry.js +0 -4
- package/dist/ionic/p-b9dd7fd3.entry.js +0 -4
- package/dist/ionic/p-bd6286d3.entry.js +0 -4
- package/dist/ionic/p-byZM6qHV.js +0 -4
- package/dist/ionic/p-c19b22e4.entry.js +0 -4
- package/dist/ionic/p-c1c958b6.entry.js +0 -4
- package/dist/ionic/p-c328ccd2.entry.js +0 -4
- package/dist/ionic/p-c391fa2d.entry.js +0 -4
- package/dist/ionic/p-c6cf173a.entry.js +0 -4
- package/dist/ionic/p-c82b9058.entry.js +0 -4
- package/dist/ionic/p-c8a48b15.entry.js +0 -4
- package/dist/ionic/p-ca65a767.entry.js +0 -4
- package/dist/ionic/p-cbe648c7.entry.js +0 -4
- package/dist/ionic/p-d30489e6.entry.js +0 -4
- package/dist/ionic/p-dc6be1a6.entry.js +0 -4
- package/dist/ionic/p-e17dba82.entry.js +0 -4
- package/dist/ionic/p-ea467e6b.entry.js +0 -4
- package/dist/ionic/p-ecc36a41.entry.js +0 -4
- package/dist/ionic/p-f2500ead.entry.js +0 -4
- package/dist/ionic/p-f437b1c1.entry.js +0 -4
- package/dist/ionic/p-f693211b.entry.js +0 -4
- package/dist/ionic/p-f79b8489.entry.js +0 -4
- package/dist/ionic/p-fa800994.entry.js +0 -4
- package/dist/ionic/p-fe2ddbef.entry.js +0 -4
- package/dist/ionic/p-l87wJDEi.js +0 -4
- package/dist/ionic/p-u2H7Vgbn.js +0 -4
- package/dist/ionic/p-uFStprb5.js +0 -6
- package/dist/ionic/p-uie7xeDT.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{g as o,d as t,H as n,h as i,f as r,t as e}from"./p-
|
|
4
|
+
import{g as o,d as t,H as n,h as i,f as r,t as e}from"./p-Ba0pOoA8.js";let s;const c=(o,t,n,i,r)=>(n="ios"===(n&&h(n))?"ios":"md",i&&"ios"===n?o=h(i):r&&"md"===n?o=h(r):(o||!t||a(t)||(o=t),d(o)&&(o=h(o))),d(o)&&""!==o.trim()?""!==o.replace(/[a-z]|-|\d/gi,"")?null:o:null),l=o=>d(o)&&(o=o.trim(),a(o))?o:null,a=o=>o.length>0&&/(\/|\.)/.test(o),d=o=>"string"==typeof o,h=o=>o.toLowerCase(),f=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t<o.attributes.length;t++){const n=o.attributes[t].name;if(d(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<o.childNodes.length;t++)if(!f(o.childNodes[t]))return!1}return!0},u=new Map,m=new Map;let p;function g(o){return u.set(o,""),""}const w=t(class extends n{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.isVisible=!1,this.mode=b(),this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=((o,t=[])=>{const n={};return t.forEach((t=>{o.hasAttribute(t)&&(null!==o.getAttribute(t)&&(n[t]=o.getAttribute(t)),o.removeAttribute(t))})),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(!Boolean(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver))return n();const i=this.io=new window.IntersectionObserver((o=>{o[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())}),{rootMargin:t});i.observe(o)}loadIcon(){if(this.isVisible){const t=(t=>{let n=l(t.src);if(n)return n;if(n=c(t.name,t.icon,t.mode,t.ios,t.md),n)return((t,n)=>{const i=(()=>{if("undefined"==typeof window)return new Map;if(!s){const o=window;o.Ionicons=o.Ionicons||{},s=o.Ionicons.map=o.Ionicons.map||new Map}return s})().get(t);if(i)return i;try{return o(`svg/${t}.svg`)}catch(o){console.log("e",o),console.warn(`[Ionicons Warning]: Could not load icon with name "${t}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,n)}})(n,t);if(t.icon){if(n=l(t.icon),n)return n;if(n=l(t.icon[t.mode]),n)return n}return null})(this);t&&(u.has(t)?this.svgContent=u.get(t):((o,t)=>m.get(o)||("undefined"!=typeof fetch&&"undefined"!=typeof document?(o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)?Promise.resolve(function(o){p||(p=new DOMParser);const t=p.parseFromString(o,"text/html").querySelector("svg");if(t)return u.set(o,t.outerHTML),t.outerHTML;throw new Error(`Could not parse svg from ${o}`)}(o)):function(o,t){const n=fetch(o).then((n=>n.text().then((n=>{n&&!1!==t&&(n=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let o=t.childNodes.length-1;o>=0;o--)"svg"!==t.childNodes[o].nodeName.toLowerCase()&&t.removeChild(t.childNodes[o]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const o=n.getAttribute("class")||"";if(n.setAttribute("class",(o+" s-ion-icon").trim()),f(n))return t.innerHTML}return""})(n));const i=n||"";return u.set(o,i),i})).catch((()=>g(o))))).catch((()=>g(o)));return m.set(o,n),n}(o,t):Promise.resolve(g(o))))(t,this.sanitize).then((()=>this.svgContent=u.get(t))),this.didLoadIcon=!0)}this.iconName=c(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:e}=this,s=this.mode||"md",c=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,l=o||c;return i(r,Object.assign({key:"0578c899781ca145dd8205acd9670af39b57cf2e",role:"img",class:Object.assign(Object.assign({[s]:!0},v(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":l,"icon-rtl":l&&(a=e,a&&""!==a.dir?"rtl"===a.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()))})},n),this.svgContent?i("div",{class:"icon-inner",innerHTML:this.svgContent}):i("div",{class:"icon-inner"},i("slot",null)));var a}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:[{loadIcon:0}],src:[{loadIcon:0}],icon:[{loadIcon:0}],ios:[{loadIcon:0}],md:[{loadIcon:0}]}}static get style(){return":host{display:inline-block;width:1em;height:1em;font-size:1em;contain:layout style;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.ionicon,svg{display:block;height:100%;width:100%}::slotted(*){font-size:inherit !important}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}},[257,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},void 0,{name:[{loadIcon:0}],src:[{loadIcon:0}],icon:[{loadIcon:0}],ios:[{loadIcon:0}],md:[{loadIcon:0}]}]),b=()=>"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md",v=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;function y(){"undefined"!=typeof customElements&&["ion-icon"].forEach((o=>{"ion-icon"===o&&(customElements.get(e(o))||customElements.define(e(o),w))}))}export{w as I,y as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as t}from"./p-ZjP4CjeZ.js";import{c as e,M as n,d as r}from"./p-CDyvJnTO.js";import{p as s}from"./p-Ba0pOoA8.js";import{c as a}from"./p-CdHuHArh.js";import{c as o}from"./p-zEYXdQGH.js";const i=t=>o().duration(t?400:300),u=t=>{let n,r;const s=t.width+8,a=o(),u=o();t.isEndSide?(n=s+"px",r="0px"):(n=-s+"px",r="0px"),a.addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,`translateX(${r})`);const c="ios"===e(t),p=c?.2:.25;return u.addElement(t.backdropEl).fromTo("opacity",.01,p),i(c).addAnimation([a,u])},c=t=>{let n,r;const s=e(t),a=t.width,u="ios"===s;t.isEndSide?(n=-a+"px",r=a+"px"):(n=a+"px",r=-a+"px");const c=o().addElement(t.menuInnerEl).fromTo("transform",`translateX(${r})`,"translateX(0px)"),p=o().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`),m=o().addElement(t.backdropEl).fromTo("opacity",.01,.32);return i(u).addAnimation([c,p,m])},p=t=>{const n="ios"===e(t),r=t.width*(t.isEndSide?-1:1)+"px",s=o().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${r})`);return i(n).addAnimation(s)},m=(()=>{const e=new Map,o=[],i=async(t,e=!1)=>{if(await y(),"start"===t||"end"===t){const n=o.filter((e=>e.side===t&&!e.disabled));if(n.length>=1)return n.length>1&&e&&s(`menuController queried for a menu on the "${t}" side, but ${n.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,n.map((t=>t.el))),n[0].el;const r=o.filter((e=>e.side===t));if(r.length>=1)return r.length>1&&e&&s(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el))),r[0].el}else if(null!=t)return w((e=>e.menuId===t));return w((t=>!t.disabled))||(o.length>0?o[0].el:void 0)},m=async()=>(await y(),l()),f=(t,n)=>{e.set(t,n)},l=()=>w((t=>t._isOpen)),d=()=>o.some((t=>t.isAnimating)),w=t=>{const e=o.find(t);if(void 0!==e)return e.el},y=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((e=>a(t,e))))));return f("reveal",p),f("push",c),f("overlay",u),r((()=>void 0!==l())),t?.addEventListener("ionBackButton",(t=>{const e=l();e&&t.detail.register(n,(()=>e.close()))})),{registerAnimation:f,get:i,getMenus:async()=>(await y(),o.map((t=>t.el))),getOpen:m,isEnabled:async t=>{const e=await i(t);return!!e&&!e.disabled},swipeGesture:async(t,e)=>{const n=await i(e);return n&&(n.swipeGesture=t),n},isAnimating:async()=>(await y(),d()),isOpen:async t=>{if(null!=t){const e=await i(t);return void 0!==e&&e.isOpen()}return void 0!==await m()},enable:async(t,e)=>{const n=await i(e);return n&&(n.disabled=!t),n},toggle:async t=>{const e=await i(t,!0);return!!e&&e.toggle()},close:async t=>{const e=await(void 0!==t?i(t,!0):m());return void 0!==e&&e.close()},open:async t=>{const e=await i(t,!0);return!!e&&e.open()},_getOpenSync:l,_createAnimation:(t,n)=>{const r=e.get(t);if(!r)throw new Error("animation not registered");return r(n)},_register:t=>{o.indexOf(t)<0&&o.push(t)},_unregister:t=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)},_setOpen:async(t,e,n,r)=>{if(d())return!1;if(e){const e=await m();e&&t.el!==e&&await e.setOpen(!1,!1)}return t._setOpen(e,n,r)}}})();export{m}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as t,H as e,i as o,k as i,h as n,f as a,t as s}from"./p-Ba0pOoA8.js";import{c}from"./p-f2BL1rLD.js";import{r}from"./p-CdHuHArh.js";import{c as l}from"./p-B-hirT0v.js";import{O as h}from"./p-BjjY6jOq.js";import{c as d,d as p,B as b,i as u,e as g,f as m,g as v,s as f,h as k,r as x,j as y,k as w}from"./p-V4Qnwbju.js";import{r as z}from"./p-BXM-paQi.js";import{g as j}from"./p-BUF_V-Kg.js";import{c as C,b as A}from"./p-CDyvJnTO.js";import{c as S}from"./p-zEYXdQGH.js";import{d as I}from"./p-CZtEtGGD.js";import{d as D}from"./p-BpPHtMLg.js";import{d as E}from"./p-2sLD_xu6.js";const B=t=>{const e=S(),o=S(),i=S();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,i])},U=t=>{const e=S(),o=S(),i=S();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,i])},H=t=>{const e=S(),o=S(),i=S();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,i])},O=t=>{const e=S(),o=S(),i=S();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,i])},R=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.didPresent=o(this,"ionActionSheetDidPresent",7),this.willPresent=o(this,"ionActionSheetWillPresent",7),this.willDismiss=o(this,"ionActionSheetWillDismiss",7),this.didDismiss=o(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.delegateController=d(this),this.lockController=l(),this.triggerController=p(),this.hasRadioButtons=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,b)},this.dispatchCancelHandler=t=>{if(u(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}}}buttonsChanged(){const t=this.getRadioButtons();if(this.hasRadioButtons=t.length>0,this.hasRadioButtons){const e=t.find((t=>"true"===t.htmlAttributes?.["aria-checked"]));if(e){const t=this.getButtons().indexOf(e);this.activeRadioId=this.getButtonId(e,t)}}}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:o}=this;t&&o.addClickListener(e,t)}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await g(this,"actionSheetEnter",B,H),t()}async dismiss(t,e){const o=await this.lockController.lock(),i=await m(this,t,e,"actionSheetLeave",U,O);return i&&this.delegateController.removeViewFromDom(),o(),i}onDidDismiss(){return v(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return v(this.el,"ionActionSheetWillDismiss")}async buttonClick(t){const e=t.role;return u(e)?this.dismiss(t.data,e):await this.callButtonHandler(t)?this.dismiss(t.data,t.role):Promise.resolve()}async callButtonHandler(t){return!t||!1!==await f(t.handler)}getButtons(){return this.buttons.map((t=>"string"==typeof t?{text:t}:t))}getRadioButtons(){return this.getButtons().filter((t=>{const e=t.htmlAttributes?.role;return"radio"===e&&!u(e)}))}selectRadioButton(t){const e=this.getButtonId(t);this.activeRadioId=e}getButtonId(t,e){if(t.id)return t.id;const o=this.getButtons(),i=void 0!==e?e:o.indexOf(t);return`action-sheet-button-${this.overlayIndex}-${i}`}onKeydown(t){if(!this.hasRadioButtons||!this.presented)return;const e=t.target;if(!this.el.contains(e)||!e.classList.contains("action-sheet-button")||"radio"!==e.getAttribute("role"))return;const o=Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter((t=>!t.disabled)),i=o.findIndex((t=>t.id===e.id));if(-1===i)return;const n=this.getButtons(),a=this.getRadioButtons(),s=new Map;let c;if(a.forEach((t=>{const e=n.indexOf(t),o=this.getButtonId(t,e);s.set(o,t)})),["ArrowDown","ArrowRight"].includes(t.key))t.preventDefault(),t.stopPropagation(),c=i===o.length-1?o[0]:o[i+1];else if(["ArrowUp","ArrowLeft"].includes(t.key))t.preventDefault(),t.stopPropagation(),c=0===i?o[o.length-1]:o[i-1];else if(" "===t.key||"Enter"===t.key){t.preventDefault(),t.stopPropagation();const o=s.get(e.id);return void(o&&(this.selectRadioButton(o),this.buttonClick(o)))}if(c){const t=s.get(c.id);t&&(this.selectRadioButton(t),c.focus())}}connectedCallback(){k(this.el),this.triggerChanged(),this.setupButtonActiveGesture(),this.presented&&x(this.el)}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener(),this.presented&&y()}componentWillLoad(){this.htmlAttributes?.id||w(this.el),this.buttonsChanged()}setupButtonActiveGesture(){const{groupEl:t,wrapperEl:e}=this;"ios"===C(this)&&e&&t&&i((()=>{this.gesture||!this.el.isConnected||t.scrollHeight>t.clientHeight||(this.gesture=c(e,(t=>t.classList.contains("action-sheet-button"))),this.gesture.enable(!0))}))}componentDidLoad(){this.setupButtonActiveGesture(),!0===this.isOpen&&r((()=>this.present())),this.triggerChanged()}renderActionSheetButtons(t){const e=A(this),{activeRadioId:o}=this;return t.map(((t,i)=>{const a="radio"===t.htmlAttributes?.role,s=this.getButtonId(t,i),c=this.getRadioButtons(),r=a&&s===o;let l;l=a?r||!o&&a&&t===c[0]?0:-1:void 0;const h={...t.htmlAttributes};a&&(h["aria-checked"]=r?"true":"false");const d={id:s,label:t.text,startContent:t.startContent,endContent:t.endContent,description:t.description};return n("button",{...h,role:a?"radio":void 0,type:"button",id:s,class:{...Y(t),...a&&{"action-sheet-selected":r}},onClick:()=>{a&&this.selectRadioButton(t),this.buttonClick(t)},disabled:t.disabled,tabIndex:l},n("span",{class:"action-sheet-button-inner"},t.icon&&n("ion-icon",{icon:t.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),z(d,"action-sheet-button-label",!0)),"md"===e&&n("ion-ripple-effect",null))}))}render(){const{header:t,htmlAttributes:e,overlayIndex:o,hasRadioButtons:i}=this,s=A(this),c=this.getButtons(),r=c.find((t=>"cancel"===t.role)),l=c.filter((t=>"cancel"!==t.role)),d=`action-sheet-${o}-header`;return n(a,{key:"f126d2b7604330b9ad08656c0599a2857bdce9fd",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?d:null,tabindex:"-1",...e,style:{zIndex:`${2e4+this.overlayIndex}`},class:{[s]:!0,...j(this.cssClass),"overlay-hidden":!0,"action-sheet-translucent":this.translucent},onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},n("ion-backdrop",{key:"ed859b50dd330669bc23e764f9a0cd8e85f16c20",tappable:this.backdropDismiss}),n(h,{key:"f1649ce62d3a3679a20bca57eb8ab45759b851f9",overlay:this.el,edge:"start"}),n("div",{key:"0c39479dd4bcd2f96db1b493b18e3d2051de4355",class:"action-sheet-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},n("div",{key:"df0900607aa1f20edc97d4d81f45fcac94611286",class:"action-sheet-container"},n("div",{key:"86eb05d0a9be99e6c44e4a9666d70112655a7a54",class:"action-sheet-group",ref:t=>this.groupEl=t,role:i?"radiogroup":void 0,"data-roving-focus":!!i||void 0},void 0!==t&&n("div",{key:"4d49027234e17c76239eba0ded5de27488789579",id:d,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&n("div",{key:"4a46abdf74e85a0987e6f441ba81f0fdc96bfe12",class:"action-sheet-sub-title"},this.subHeader)),this.renderActionSheetButtons(l)),r&&n("div",{key:"7ba80a52f3b6d3fa41590a6e8dc9ecb9583b628e",class:"action-sheet-group action-sheet-group-cancel"},n("button",{key:"06ab2dce960ad93f829261299856dc77034e491f",...r.htmlAttributes,type:"button",class:Y(r),onClick:()=>this.buttonClick(r)},n("span",{key:"c6680f77e64857303f9f0b6cc4eb90079af432da",class:"action-sheet-button-inner"},r.icon&&n("ion-icon",{key:"006c3f802dd1379094f9e2771c06433d90090182",icon:r.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),r.text),"md"===s&&n("ion-ripple-effect",{key:"5a67d8e843456573985c79d98210c2645b1ca1ee"}))))),n(h,{key:"e02fb72c830bf8b8a9c075fb9635be68d4d48432",overlay:this.el,edge:"end"}))}get el(){return this}static get watchers(){return{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{ionic:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ionic,.select-option-label-has-rich-content.sc-ion-action-sheet-ionic{gap:var(--token-space-300, var(--token-scale-300, 12px))}.action-sheet-button-label-text.sc-ion-action-sheet-ionic,.alert-checkbox-label-text.sc-ion-action-sheet-ionic,.alert-radio-label-text.sc-ion-action-sheet-ionic,.select-option-label-text.sc-ion-action-sheet-ionic{gap:var(--token-space-300, var(--token-scale-300, 12px))}.select-option-description.sc-ion-action-sheet-ionic{font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;-webkit-padding-start:var(--token-space-0, var(--token-scale-0, 0px));padding-inline-start:var(--token-space-0, var(--token-scale-0, 0px));-webkit-padding-end:var(--token-space-0, var(--token-scale-0, 0px));padding-inline-end:var(--token-space-0, var(--token-scale-0, 0px));padding-top:var(--token-space-0, var(--token-scale-0, 0px));padding-bottom:var(--token-space-0, var(--token-scale-0, 0px));color:var(--token-text-subtle, var(--token-primitives-neutral-1000, #383e45));font-size:var(--token-font-size-350, 0.875rem)}.select-option-start.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic{gap:var(--token-space-200, var(--token-scale-200, 8px))}.select-option-start.sc-ion-action-sheet-ionic>ion-avatar.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>ion-img.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>ion-thumbnail.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>img.sc-ion-action-sheet-ionic,.select-option-start.sc-ion-action-sheet-ionic>svg.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-avatar.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-img.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-thumbnail.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>img.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>svg.sc-ion-action-sheet-ionic{width:var(--token-scale-1200, 48px);height:var(--token-scale-1200, 48px)}.select-option-start.sc-ion-action-sheet-ionic>ion-icon.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic>ion-icon.sc-ion-action-sheet-ionic{font-size:var(--token-scale-1200, 48px)}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ionic,.select-option-label-has-rich-content.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ionic,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ionic,.select-option-content.sc-ion-action-sheet-ionic{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ionic,.alert-checkbox-label-text.sc-ion-action-sheet-ionic,.alert-radio-label-text.sc-ion-action-sheet-ionic,.select-option-label-text.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-start.sc-ion-action-sheet-ionic,.select-option-end.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-action-sheet-ionic{display:block}.select-option-label.sc-ion-action-sheet-ionic:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ionic::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ionic [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ionic::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ionic [part~="label"],.select-option-content.sc-ion-action-sheet-ionic{-ms-flex:1;flex:1;white-space:normal}.sc-ion-action-sheet-ionic-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;right:0;left:0;top:0;bottom:0;display:block;position:fixed;outline:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.overlay-hidden.sc-ion-action-sheet-ionic-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ionic{right:0;left:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ionic{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ionic:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ionic:disabled ion-icon.sc-ion-action-sheet-ionic{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ionic{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ionic{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ionic::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ionic{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ionic::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ionic{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ionic::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ionic{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ionic::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ionic:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ionic:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ionic-h{--background:var(--token-bg-surface-elevation-3, var(--token-primitives-base-white, #ffffff));--backdrop-opacity:0.7;--button-background:transparent;--button-background-selected:var(--token-bg-primary-subtle-default, var(--token-semantics-primary-100, var(--token-primitives-blue-100, #f0f2ff)));--button-background-selected-opacity:1;--button-background-activated:var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #ebeef2));--button-background-activated-opacity:1;--button-background-hover:var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #ebeef2));--button-background-hover-opacity:1;--button-color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));--button-color-disabled:var(--token-text-disabled, var(--token-primitives-neutral-500, #9fa5ad));--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242528));z-index:1001}.action-sheet-wrapper.sc-ion-action-sheet-ionic{z-index:10}.action-sheet-button.ion-focused.sc-ion-action-sheet-ionic::after{outline-offset:var(--token-border-size-050, var(--token-scale-050, 2px));outline:var(--token-border-size-050, var(--token-scale-050, 2px)) solid var(--token-border-focus-default, var(--token-semantics-primary-400, var(--token-primitives-blue-400, #b5c0f7)));outline-offset:calc(var(--token-border-size-050, var(--token-scale-050, 2px)) * -1)}.action-sheet-wrapper.sc-ion-action-sheet-ionic{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-ionic{-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px));padding-top:var(--token-space-400, var(--token-scale-400, 16px));padding-bottom:var(--token-space-400, var(--token-scale-400, 16px));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-450, 1.125rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.555556;color:var(--color);text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-ionic{font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #6c727a))}.action-sheet-group.sc-ion-action-sheet-ionic:first-child{padding-top:var(--token-space-400, var(--token-scale-400, 16px))}.action-sheet-group.sc-ion-action-sheet-ionic:last-child{padding-bottom:var(--token-space-400, var(--token-scale-400, 16px))}.action-sheet-button.sc-ion-action-sheet-ionic{-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px));padding-top:var(--token-space-200, var(--token-scale-200, 8px));padding-bottom:var(--token-space-200, var(--token-scale-200, 8px));font-family:var(--token-font-family, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol");font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0);line-height:1.714286;position:relative;min-height:52px;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-ionic{-webkit-margin-start:var(--token-space-0, var(--token-scale-0, 0px));margin-inline-start:var(--token-space-0, var(--token-scale-0, 0px));-webkit-margin-end:var(--token-space-600, var(--token-scale-600, 24px));margin-inline-end:var(--token-space-600, var(--token-scale-600, 24px));margin-top:var(--token-space-0, var(--token-scale-0, 0px));margin-bottom:var(--token-space-0, var(--token-scale-0, 0px));width:var(--token-scale-600, 24px);height:var(--token-scale-600, 24px);color:var(--color, var(--token-text-default, var(--token-primitives-neutral-1200, #242528)))}.action-sheet-button-inner.sc-ion-action-sheet-ionic{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-ionic{font-weight:bold}',ios:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{gap:16px}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{gap:12px}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{gap:8px}.select-option-description.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-start.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios{width:44px;height:44px}.select-option-start.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios{font-size:28px}.action-sheet-button-label-text.sc-ion-action-sheet-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-action-sheet-ios{-webkit-padding-end:16px;padding-inline-end:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-action-sheet-ios{display:block}.select-option-label.sc-ion-action-sheet-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1;white-space:normal}.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;right:0;left:0;top:0;bottom:0;display:block;position:fixed;outline:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{right:0;left:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-ios:disabled ion-icon.sc-ion-action-sheet-ios{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{font-family:var(--ion-font-family, inherit);z-index:1001}.action-sheet-wrapper.sc-ion-action-sheet-ios{z-index:10}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:0.08;--button-background-hover:currentColor;--button-background-hover-opacity:0.04;--button-background-focused:currentColor;--button-background-focused-opacity:0.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}',md:'.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{gap:16px}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{gap:12px}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{gap:8px}.select-option-description.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-start.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md{width:40px;height:40px}.select-option-start.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md{font-size:24px}.select-option-start.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md{width:56px;height:56px}.select-option-start.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md{width:114px;height:56px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-option-description.sc-ion-action-sheet-md{display:block}.select-option-label.sc-ion-action-sheet-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1;white-space:normal}.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;right:0;left:0;top:0;bottom:0;display:block;position:fixed;outline:none;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{right:0;left:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button.sc-ion-action-sheet-md:disabled ion-icon.sc-ion-action-sheet-md{color:currentColor}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-opacity))}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{font-family:var(--ion-font-family, inherit);z-index:1001}.action-sheet-wrapper.sc-ion-action-sheet-md{z-index:10}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:0.04;--button-background-focused:currentColor;--button-background-focused-opacity:0.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}}},[34,"ion-action-sheet",{overlayIndex:[2,"overlay-index"],delegate:[16],hasController:[4,"has-controller"],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],buttons:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],header:[1],subHeader:[1,"sub-header"],translucent:[4],animated:[4],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],activeRadioId:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[0,"keydown","onKeydown"]],{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),Y=t=>({"action-sheet-button":!0,"ion-activatable":!t.disabled,"ion-focusable":!t.disabled,[`action-sheet-${t.role}`]:void 0!==t.role,...j(t.cssClass)});function L(){"undefined"!=typeof customElements&&["ion-action-sheet","ion-backdrop","ion-icon","ion-ripple-effect"].forEach((t=>{switch(t){case"ion-action-sheet":customElements.get(s(t))||customElements.define(s(t),R);break;case"ion-backdrop":customElements.get(s(t))||I();break;case"ion-icon":customElements.get(s(t))||D();break;case"ion-ripple-effect":customElements.get(s(t))||E()}}))}export{R as A,L as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{w as o,d as t}from"./p-ZjP4CjeZ.js";import{g as n,h as i,a as r}from"./p-B5xGjUrw.js";import{a,b as e,c as s}from"./p-CdHuHArh.js";import{a as d,K as c}from"./p-BMPN55of.js";import{i as u}from"./p-Dj4J3LkD.js";const l=new WeakMap,f=(o,t,n,i=0,r=!1)=>{l.has(o)!==n&&(n?w(o,t,i,r):p(o,t))},w=(o,t,n,i=!1)=>{const r=t.parentNode,a=t.cloneNode(!1);a.classList.add("cloned-input"),a.tabIndex=-1,i&&(a.disabled=!0);const e=u(o);a.style.insetInlineStart=e?r.offsetWidth-t.offsetLeft-t.offsetWidth+"px":`${t.offsetLeft}px`,r.appendChild(a),l.set(o,a);const s=e?9999:-9999;o.style.pointerEvents="none",t.style.transform=`translate3d(${s}px,${n}px,0) scale(0)`},p=(o,t)=>{const n=l.get(o);n&&(l.delete(o),n.remove()),o.style.pointerEvents="",t.style.transform=""},m="input, textarea, [no-blur], [contenteditable]",h="$ionPaddingTimer",b=(o,t,n)=>{const i=o[h];i&&clearTimeout(i),t>0?o.style.setProperty("--keyboard-offset",`${t}px`):o[h]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),n&&n()}),120)},y=(o,t,n)=>{o.addEventListener("focusout",(()=>{t&&b(t,0,n)}),{once:!0})};let S=0;const D="data-ionic-skip-scroll-assist",x=o=>{if(document.activeElement===o)return;const t=o.getAttribute("id"),n=o.closest(`label[for="${t}"]`),i=document.activeElement?.closest(`label[for="${t}"]`);null!==n&&n===i||(o.setAttribute(D,"true"),o.focus())},M=async(o,t,r,a,e,s,d=!1,c=0,u=!0)=>{if(!r&&!a)return;const l=((o,t,n,i)=>((o,t,n,i)=>{const r=o.top,a=o.bottom,e=t.top,s=e+15,d=Math.min(t.bottom,i-n)-50-a,c=s-r,u=Math.round(d<0?-d:c>0?-c:0),l=Math.min(u,r-e),f=Math.abs(l);return{scrollAmount:l,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:n,inputSafeY:4-(r-s)}})((o.closest("ion-item,[ion-item]")??o).getBoundingClientRect(),t.getBoundingClientRect(),n,i))(o,r||a,e,c);if(r&&Math.abs(l.scrollAmount)<4)return x(t),void(s&&null!==r&&(b(r,S),y(t,r,(()=>S=0))));if(f(o,t,!0,l.inputSafeY,d),x(t),s&&r&&(S=l.scrollPadding,b(r,S)),"undefined"!=typeof window){let a;const e=async()=>{void 0!==a&&clearTimeout(a),window.removeEventListener("ionKeyboardDidShow",d),window.removeEventListener("ionKeyboardDidShow",e),r&&await i(r,0,l.scrollAmount,l.scrollDuration),f(o,t,!1,l.inputSafeY),document.activeElement===t&&x(t),s&&y(t,r,(()=>S=0))},d=()=>{window.removeEventListener("ionKeyboardDidShow",d),window.addEventListener("ionKeyboardDidShow",e)};if(r){const o=await n(r);if(u&&l.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===t.type?(l.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",d)):window.addEventListener("ionKeyboardDidShow",e),void(a=setTimeout(e,1e3))}e()}},K=async(n,i)=>{if(void 0===t)return;const u="ios"===i,l="android"===i,w=n.getNumber("keyboardHeight",290),p=n.getBoolean("scrollAssist",!0),h=n.getBoolean("hideCaretOnScroll",u),b=n.getBoolean("inputBlurring",!1),y=n.getBoolean("scrollPadding",!0),S=Array.from(t.querySelectorAll("ion-input, ion-textarea")),x=new WeakMap,K=new WeakMap,j=await c.getResizeMode(),k=async t=>{await new Promise((o=>s(t,o)));const n=t.shadowRoot||t,i=n.querySelector("input")||n.querySelector("textarea"),c=r(t),u=c?null:t.closest("ion-footer");if(i){if(c&&h&&!x.has(t)){const o=((o,t,n)=>{if(!n||!t)return()=>{};const i=n=>{var i;(i=t)===i.getRootNode().activeElement&&f(o,t,n)},r=()=>f(o,t,!1),s=()=>i(!0),d=()=>i(!1);return a(n,"ionScrollStart",s),a(n,"ionScrollEnd",d),t.addEventListener("blur",r),()=>{e(n,"ionScrollStart",s),e(n,"ionScrollEnd",d),t.removeEventListener("blur",r)}})(t,i,c);x.set(t,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(c||u)&&p&&!K.has(t)){const n=((t,n,i,r,a,e,s,c=!1)=>{const u=e&&(void 0===s||s.mode===d.None);let l=!1;const f=void 0!==o?o.innerHeight:0,w=o=>{!1!==l?M(t,n,i,r,o.detail.keyboardHeight,u,c,f,!1):l=!0},p=()=>{l=!1,o?.removeEventListener("ionKeyboardDidShow",w),t.removeEventListener("focusout",p)},m=async()=>{n.hasAttribute(D)?n.removeAttribute(D):(M(t,n,i,r,a,u,c,f),o?.addEventListener("ionKeyboardDidShow",w),t.addEventListener("focusout",p))};return t.addEventListener("focusin",m),()=>{t.removeEventListener("focusin",m),o?.removeEventListener("ionKeyboardDidShow",w),t.removeEventListener("focusout",p)}})(t,i,c,u,w,y,j,l);K.set(t,n)}}};b&&(()=>{let o=!0,t=!1;const n=document;a(n,"ionScrollStart",(()=>{t=!0})),n.addEventListener("focusin",(()=>{o=!0}),!0),n.addEventListener("touchend",(i=>{if(t)return void(t=!1);const r=n.activeElement;if(!r)return;if(r.matches(m))return;const a=i.target;a!==r&&(a.matches(m)||a.closest(m)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of S)k(o);t.addEventListener("ionInputDidLoad",(o=>{k(o.detail)})),t.addEventListener("ionInputDidUnload",(o=>{(o=>{if(h){const t=x.get(o);t&&t(),x.delete(o)}if(p){const t=K.get(o);t&&t(),K.delete(o)}})(o.detail)}))};export{K as startInputShims}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{e as o,c as t,l as e,m as i,n,p as s,o as a,q as r,u as d}from"./p-Ba0pOoA8.js";import{w as c}from"./p-ZjP4CjeZ.js";const m=()=>o.get("experimentalCloseWatcher",!1)&&void 0!==c&&"CloseWatcher"in c,l=[];let u;const p=o=>{l.push(o)},w=()=>{u?.()},h=100,b=99;var f=Object.freeze({__proto__:null,MENU_BACK_BUTTON_PRIORITY:99,OVERLAY_BACK_BUTTON_PRIORITY:100,addCloseWatcherCondition:p,blockHardwareBackButton:()=>{document.addEventListener("backbutton",(()=>{}))},shouldUseCloseWatcher:m,startHardwareBackButton:()=>{const o=document;let e=!1;const i=()=>{if(e)return;let i=0,n=[];const s=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(o,t){n.push({priority:o,handler:t,id:i++})}}});o.dispatchEvent(s),0===n.length&&n.push({priority:-1,handler:()=>{c?.history.back()},id:i++});const a=()=>{if(n.length>0){let o={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};n.forEach((t=>{t.priority>=o.priority&&(o=t)})),e=!0,n=n.filter((t=>t.id!==o.id)),(async o=>{try{if(o?.handler){const t=o.handler(a);null!=t&&await t}}catch(o){t("[ion-app] - Exception in startHardwareBackButton:",o)}})(o).then((()=>e=!1))}};a()};if(o.addEventListener("backbutton",i),m()){let o;u=()=>{if(!l.some((o=>o())))return o?.destroy(),void(o=void 0);void 0===o&&(o=new c.CloseWatcher,o.onclose=()=>{o=void 0,i(),u?.()})},u()}},updateCloseWatcher:w});const B=o=>y(o),v=(o,t)=>("string"==typeof o&&(t=o,o=void 0),B(o).includes(t)),y=(o=window)=>{if(void 0===o)return[];o.Ionic=o.Ionic||{};let t=o.Ionic.platforms;return null==t&&(t=o.Ionic.platforms=C(o),t.forEach((t=>o.document.documentElement.classList.add(`plt-${t}`)))),t},C=t=>{const e=o.get("platform");return Object.keys(T).filter((o=>{const i=e?.[o];return"function"==typeof i?i(t):T[o](t)}))},k=o=>!!M(o,/iPad/i)||!(!M(o,/Macintosh/i)||!_(o)),I=o=>M(o,/android|sink/i),_=o=>P(o,"(any-pointer:coarse)"),j=o=>O(o)||g(o),O=o=>!!(o.cordova||o.phonegap||o.PhoneGap),g=o=>{const t=o.Capacitor;return!!t?.isNativePlatform?.()},M=(o,t)=>t.test(o.navigator.userAgent),P=(o,t)=>o.matchMedia?.(t).matches,T={ipad:k,iphone:o=>M(o,/iPhone/i),ios:o=>M(o,/iPhone|iPod/i)||k(o),android:I,phablet:o=>{const t=o.innerWidth,e=o.innerHeight,i=Math.min(t,e),n=Math.max(t,e);return i>390&&i<520&&n>620&&n<800},tablet:o=>{const t=o.innerWidth,e=o.innerHeight,i=Math.min(t,e),n=Math.max(t,e);return k(o)||(o=>I(o)&&!M(o,/mobile/i))(o)||i>460&&i<820&&n>780&&n<1400},cordova:O,capacitor:g,electron:o=>M(o,/electron/i),pwa:o=>!(!o.matchMedia?.("(display-mode: standalone)").matches&&!o.navigator.standalone),mobile:_,mobileweb:o=>_(o)&&!j(o),desktop:o=>!_(o),hybrid:j};let A,W,$="md";const H=(o,t,e)=>{s(`Invalid mode and theme combination provided: mode: ${o}, theme: ${t}. Fallback mode ${R(t)} will be used.`,e)},N=(o,t)=>"md"===o?"md"===t||"ionic"===t:"ios"===o&&("ios"===t||"ionic"===t),R=o=>"ios"===o?"ios":"md",Y=o=>"ios"===o?"ios":"md",x=o=>["ios","md"].includes(o),E=o=>["ios","md","ionic"].includes(o),U=o=>o.tagName?.startsWith("ION-"),X=(o,t=q(o))=>{if(o?.mode&&N(o?.mode,t))return o.mode;{const e=r(o),i=e.closest("[mode]")?.getAttribute("mode")||A;if(N(i,t))return i;H(i,t,o)}return R(t)},q=o=>{const t=o&&a(o);if(t)return t;const e=r(o),i=o?.mode??e.closest("[mode]")?.getAttribute("mode");return i?Y(i):$},K=(t={})=>{if("undefined"==typeof window)return;const a=window.document,r=window,c=r.Ionic=r.Ionic||{},l={...i(r),persistConfig:!1,...c.config,...e(r),...t};var u,p;o.reset(l),o.getBoolean("persistConfig")&&n(r,l),y(r),c.config=o,c.mode=A=o.get("mode",a.documentElement.getAttribute("mode")||(v(r,"ios")?"ios":"md")),c.theme=$=o.get("theme",a.documentElement.getAttribute("theme")||Y(A)),N(A,$)||(H(A,$,l),A=R($)),o.set("mode",A),a.documentElement.setAttribute("mode",A),a.documentElement.classList.add(A),o.set("theme",$),a.documentElement.setAttribute("theme",$),a.documentElement.classList.add($),o.getBoolean("_testing")&&o.set("animated",!1),d((o=>{for(;o;){const t=o.getAttribute("theme");if(t){if(E(t))return t;U(o)&&s(`Invalid theme: "${t}". Supported themes include: "ios" or "md".`)}const e=o.getAttribute("mode");if(e){if(x(e))return e;U(o)&&s(`Invalid mode: "${e}". Ionic modes can be only "ios" or "md"`)}o=o.parentElement}return $})),void 0!==W&&(p=W,"cancelIdleCallback"in window?window.cancelIdleCallback(p):clearTimeout(p)),u=async()=>{const t=v(window,"hybrid");if(o.getBoolean("_testing")||import("./p-8bQyQ-A-.js").then((t=>t.startTapClick(o))),o.getBoolean("statusTap",t)&&import("./p-BX622giM.js").then((o=>o.startStatusTap())),o.getBoolean("inputShims",!(!v(window,"ios")||!v(window,"mobile"))||!(!v(window,"android")||!v(window,"mobileweb")))){const t=v(window,"ios")?"ios":"android";import("./p-BzAhIYXH.js").then((e=>e.startInputShims(o,t)))}const e=await Promise.resolve().then((function(){return f})),i=t||m();o.getBoolean("hardwareBackButton",i)?e.startHardwareBackButton():(m()&&s("[ion-app] - experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),e.blockHardwareBackButton()),"undefined"!=typeof window&&import("./p-D7-vHX0A.js").then((o=>o.startKeyboardAssist(window))),import("./p-BYk20Mf5.js").then((o=>o.getOrInitFocusVisibleUtility())),W=void 0},W="requestIdleCallback"in window?window.requestIdleCallback(u):setTimeout(u,32)};export{b as M,h as O,v as a,q as b,X as c,p as d,B as g,K as i,m as s,w as u}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as t,H as o,i as e,p as r,h as i,f as s,t as n}from"./p-Ba0pOoA8.js";import{B as a,h as p,r as d,j as c,k as h,e as l,n as v,f,g,F as x}from"./p-V4Qnwbju.js";import{C as m,a as b,d as u}from"./p-DSEHMF7Y.js";import{g as w,r as k,a as y,m as D}from"./p-CdHuHArh.js";import{c as P}from"./p-B-hirT0v.js";import{O as T}from"./p-BjjY6jOq.js";import{b as A,a as $}from"./p-CDyvJnTO.js";import{i as C}from"./p-Dj4J3LkD.js";import{g as I}from"./p-BUF_V-Kg.js";import{e as O,w as j}from"./p-DVDuYWYf.js";import{c as W}from"./p-zEYXdQGH.js";import{d as L}from"./p-CZtEtGGD.js";let z=null,E=!1;const N=t=>{if(null!==z)return z;if(null===t.body)return{top:0,bottom:0,left:0,right:0};const o=t.createElement("div");o.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);",t.body.appendChild(o);const e=getComputedStyle(o),r={top:parseFloat(e.paddingTop)||0,bottom:parseFloat(e.paddingBottom)||0,left:parseFloat(e.paddingLeft)||0,right:parseFloat(e.paddingRight)||0};return o.remove(),z=r,E||(E=!0,k((()=>{z=null,E=!1}))),r},Y=t=>{if(!t)return 1;const o=t.currentCSSZoom;if("number"==typeof o&&o>0)return o;const{width:e}=t.getBoundingClientRect(),{offsetWidth:r}=t;if(r>0&&e>0){const t=e/r;return Math.abs(t-1)<.01?1:t}return 1},S=(t,o,e,r=1)=>{const i=o.getBoundingClientRect(),s=i.height/r;let n=i.width/r;return"cover"===t&&e&&(n=e.getBoundingClientRect().width/r),{contentWidth:n,contentHeight:s}},X=(t,o)=>o&&"ION-ITEM"===o.tagName?t.findIndex((t=>t===o)):-1,B=t=>{const o=w(t).querySelector("button");o&&k((()=>o.focus()))},H=(t,o,e,r,i,s,n,a,p,d,c,h=1)=>{let l={top:0,left:0,width:0,height:0};if("event"===s){if(!c)return p;l={top:c.clientY/h,left:c.clientX/h,width:1,height:1}}else{const t=c,o=d||t?.detail?.ionShadowTarget||t?.target;if(!o)return p;const e=o.getBoundingClientRect();l={top:e.top/h,left:e.left/h,width:e.width/h,height:e.height/h}}const v=G(n,l,o,e,r,i,t),f=K(a,n,l,o,e),g=v.top+f.top,x=v.left+f.left,{arrowTop:m,arrowLeft:b}=R(n,r,i,g,x,o,e,t),{originX:u,originY:w}=M(n,a,t);return{top:g,left:x,referenceCoordinates:l,arrowTop:m,arrowLeft:b,originX:u,originY:w}},M=(t,o,e)=>{switch(t){case"top":return{originX:F(o),originY:"bottom"};case"bottom":return{originX:F(o),originY:"top"};case"left":return{originX:"right",originY:V(o)};case"right":return{originX:"left",originY:V(o)};case"start":return{originX:e?"left":"right",originY:V(o)};case"end":return{originX:e?"right":"left",originY:V(o)}}},F=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},V=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},R=(t,o,e,r,i,s,n,a)=>{const p={arrowTop:r+n/2-o/2,arrowLeft:i+s-o/2},d={arrowTop:r+n/2-o/2,arrowLeft:i-1.5*o};switch(t){case"top":return{arrowTop:r+n,arrowLeft:i+s/2-o/2};case"bottom":return{arrowTop:r-e,arrowLeft:i+s/2-o/2};case"left":return p;case"right":return d;case"start":return a?d:p;case"end":return a?p:d;default:return{arrowTop:0,arrowLeft:0}}},G=(t,o,e,r,i,s,n)=>{const a={top:o.top,left:o.left-e-i},p={top:o.top,left:o.left+o.width+i};switch(t){case"top":return{top:o.top-r-s,left:o.left};case"right":return p;case"bottom":return{top:o.top+o.height+s,left:o.left};case"left":return a;case"start":return n?p:a;case"end":return n?a:p}},K=(t,o,e,r,i)=>{switch(t){case"center":return Q(o,e,r,i);case"end":return J(o,e,r,i);default:return{top:0,left:0}}},J=(t,o,e,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-o.height),left:0};default:return{top:0,left:-(e-o.width)}}},Q=(t,o,e,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-o.height/2),left:0};default:return{top:0,left:-(e/2-o.width/2)}}},U=(t,o,e,r,i,s,n,a,p,d,c,h,l=0,v=0,f=0)=>{let g,x=l,m=e,b=o,u=d,w=c,k=!1,y=!1,D=!1,P=!1;const T=h?h.top+h.height:s/2-a/2,A=h?h.height:0;let $=!1;if(m<r+p.left?(m=r,k=!0,u="left"):n+r+m+p.right>i&&(y=!0,m=i-n-r,u="right"),T+A+a>s-p.bottom&&("top"===t||"bottom"===t)){const t=T-a-A-(f-1);t>=p.top+r?(b=t,x=b+a,w="bottom",$=!0):(g=r,P=!0,b>=s-p.bottom-r&&(b=p.top+r,D=!0))}return{top:b,left:m,bottom:g,originX:u,originY:w,checkSafeAreaLeft:k,checkSafeAreaRight:y,checkSafeAreaTop:D,checkSafeAreaBottom:P,arrowTop:x,arrowLeft:v,addPopoverBottomClass:$,hideArrow:!1}},q=(t,o)=>{const{event:e,size:r,trigger:i,reference:s,side:n,align:a}=o,p=t.ownerDocument,d=C(t),c=w(t),h=c.querySelector(".popover-content"),l=c.querySelector(".popover-arrow"),v=Y(h),f=p.defaultView.innerWidth/v,g=p.defaultView.innerHeight/v,x=i||e?.detail?.ionShadowTarget||e?.target,{contentWidth:m,contentHeight:b}=S(r,h,x,v),{arrowWidth:u,arrowHeight:k}=((t,o=1)=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:r}=t.getBoundingClientRect();return{arrowWidth:e/o,arrowHeight:r/o}})(l,v),y=H(d,m,b,u,k,s,n,a,{top:g/2-b/2,left:f/2-m/2,originX:d?"right":"left",originY:"top"},i,e,v),D="cover"===r?0:5,P=N(p),T="cover"===r?{top:0,bottom:0,left:0,right:0}:{top:Math.max(P.top,25),bottom:Math.max(P.bottom,25),left:Math.max(P.left,25),right:Math.max(P.right,25)},{originX:A,originY:$,top:I,left:O,bottom:j,checkSafeAreaLeft:L,checkSafeAreaRight:z,checkSafeAreaTop:E,checkSafeAreaBottom:X,arrowTop:B,arrowLeft:M,addPopoverBottomClass:F}=U(n,y.top,y.left,D,f,g,m,b,T,y.originX,y.originY,y.referenceCoordinates,y.arrowTop,y.arrowLeft,k),V=W(),R=W(),G=W();return R.addElement(c.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),G.addElement(c.querySelector(".popover-arrow")).addElement(c.querySelector(".popover-content")).fromTo("opacity",.01,1),V.easing("ease").duration(100).beforeAddWrite((()=>{if("cover"===r&&t.style.setProperty("--width",`${m}px`),F&&t.classList.add("popover-bottom"),void 0!==j){let t=`${j}px`;X&&(t=`${j}px + var(--ion-safe-area-bottom, 0px)`),h.style.setProperty("bottom",`calc(${t})`)}let o=`${O}px`;L&&(o=`${O}px + var(--ion-safe-area-left, 0px)`),z&&(o=`${O}px - var(--ion-safe-area-right, 0px)`);let s=`${I}px`;if(E&&(s=`${I}px + var(--ion-safe-area-top, 0px)`),h.style.setProperty("top",`calc(${s} + var(--offset-y, 0))`),h.style.setProperty("left",`calc(${o} + var(--offset-x, 0))`),h.style.setProperty("transform-origin",`${$} ${A}`),null!==l){const t=((t,o=!1,e,r)=>!(!e&&!r||"top"!==t&&"bottom"!==t&&o))(n,y.top!==I||y.left!==O,e,i);t?(l.style.setProperty("top",`calc(${B}px + var(--offset-y, 0))`),l.style.setProperty("left",`calc(${M}px + var(--offset-x, 0))`)):l.style.setProperty("display","none")}})).addAnimation([R,G])},Z=t=>{const o=w(t),e=o.querySelector(".popover-content"),r=o.querySelector(".popover-arrow"),i=W(),s=W(),n=W();return s.addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(o.querySelector(".popover-arrow")).addElement(o.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("bottom"),e.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))})).duration(300).addAnimation([s,n])},_=(t,o)=>{const{event:e,size:r,trigger:i,reference:s,side:n,align:a}=o,p=t.ownerDocument,d=C(t),c=w(t),h=c.querySelector(".popover-content"),l=Y(h),v=p.defaultView.innerWidth/l,f=p.defaultView.innerHeight/l,g=i||e?.detail?.ionShadowTarget||e?.target,{contentWidth:x,contentHeight:m}=S(r,h,g,l),b=H(d,x,m,0,0,s,n,a,{top:f/2-m/2,left:v/2-x/2,originX:d?"right":"left",originY:"top"},i,e,l),u="cover"===r?0:12,k="cover"===r?{top:0,bottom:0,left:0,right:0}:N(p),{originX:y,originY:D,top:P,left:T,bottom:A,checkSafeAreaLeft:$,checkSafeAreaRight:I,checkSafeAreaTop:O,checkSafeAreaBottom:j,addPopoverBottomClass:L}=U(n,b.top,b.left,u,v,f,x,m,k,b.originX,b.originY,b.referenceCoordinates);let z=`${T}px`;$&&(z=`${T}px + var(--ion-safe-area-left, 0px)`),I&&(z=`${T}px - var(--ion-safe-area-right, 0px)`);let E=`${P}px`;O&&(E=`${P}px + var(--ion-safe-area-top, 0px)`);const X=W(),B=W(),M=W(),F=W(),V=W();return B.addElement(c.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),M.addElement(c.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),F.addElement(h).beforeStyles({top:`calc(${E} + var(--offset-y, 0px))`,left:`calc(${z} + var(--offset-x, 0px))`,"transform-origin":`${D} ${y}`}).beforeAddWrite((()=>{if(void 0!==A){let t=`${A}px`;j&&(t=`${A}px + var(--ion-safe-area-bottom, 0px)`),h.style.setProperty("bottom",`calc(${t})`)}})).fromTo("transform","scale(0.8)","scale(1)"),V.addElement(c.querySelector(".popover-viewport")).fromTo("opacity",.01,1),X.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((()=>{"cover"===r&&t.style.setProperty("--width",`${x}px`),L&&t.classList.add("popover-bottom")})).addAnimation([B,M,F,V])},tt=t=>{const o=w(t),e=o.querySelector(".popover-content"),r=W(),i=W(),s=W();return i.addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(o.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("bottom"),e.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,s])},ot=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.didPresent=e(this,"ionPopoverDidPresent",7),this.willPresent=e(this,"ionPopoverWillPresent",7),this.willDismiss=e(this,"ionPopoverWillDismiss",7),this.didDismiss=e(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.ionMount=e(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=m(),this.lockController=P(),this.inline=!1,this.focusDescendantOnPresent=!1,this.dirSetOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,a)},this.onLifecycle=t=>{const o=this.usersElement,e=et[t.type];if(o&&e){const r=new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:o,el:e,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===t)return;const s=this.triggerEl=void 0!==t?document.getElementById(t):null;s?this.destroyTriggerInteraction=((t,o,e)=>{let r=[];switch(o){case"hover":let t;r=[{eventName:"mouseenter",callback:async o=>{o.stopPropagation(),t&&clearTimeout(t),t=setTimeout((()=>{k((()=>{e.presentFromTrigger(o),t=void 0}))}),100)}},{eventName:"mouseleave",callback:o=>{t&&clearTimeout(t);const r=o.relatedTarget;r&&r.closest("ion-popover")!==e&&e.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>e.presentFromTrigger(t,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:t=>{t.preventDefault(),e.presentFromTrigger(t)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>e.presentFromTrigger(t,!0)}];break;default:r=[{eventName:"click",callback:t=>e.presentFromTrigger(t)},{eventName:"ionPopoverActivateTrigger",callback:t=>e.presentFromTrigger(t,!0)}]}return r.forEach((({eventName:o,callback:e})=>t.addEventListener(o,e))),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach((({eventName:o,callback:e})=>t.removeEventListener(o,e))),t.removeAttribute("data-ion-popover-trigger")}})(s,o,e):r(`[ion-popover] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:o}=this;t&&t(),this.destroyKeyboardInteraction=(t=>{const o=async o=>{const e=document.activeElement;let r=[];const i=o.target?.tagName;if("ION-POPOVER"===i||"ION-ITEM"===i){try{r=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(o.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":o.preventDefault();const i=((t,o)=>t[X(t,o)+1])(r,e);void 0!==i&&B(i);break;case"ArrowUp":o.preventDefault();const s=((t,o)=>t[X(t,o)-1])(r,e);void 0!==s&&B(s);break;case"Home":o.preventDefault();const n=r[0];void 0!==n&&B(n);break;case"End":o.preventDefault();const a=r[r.length-1];void 0!==a&&B(a);break;case"ArrowRight":case" ":case"Enter":if(e&&e.hasAttribute("data-ion-popover-trigger")){const t=new CustomEvent("ionPopoverActivateTrigger");e.dispatchEvent(t)}}}};return t.addEventListener("keydown",o),()=>t.removeEventListener("keydown",o)})(o)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:o,triggerAction:e,triggerEl:r,el:i}=this;o&&r&&(t&&t(),this.destroyDismissInteraction=((t,o,e,r)=>{let i=[];const s=w(r).querySelector(".popover-content");return i="hover"===o?[{eventName:"mouseenter",callback:o=>{document.elementFromPoint(o.clientX,o.clientY)!==t&&e.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:o=>{o.target.closest("[data-ion-popover-trigger]")!==t?e.dismiss(void 0,void 0,!1):o.stopPropagation()}}],i.forEach((({eventName:t,callback:o})=>s.addEventListener(t,o))),()=>{i.forEach((({eventName:t,callback:o})=>s.removeEventListener(t,o)))}})(r,e,i,o))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:o}=this;p(o),t(),this.presented&&(d(o),this.recalculateContentOnHeaderReady())}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t(),this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.presented&&c()}componentWillLoad(){const{el:t}=this,o=this.htmlAttributes?.id??h(t);this.parentPopover=t.closest(`ion-popover:not(#${o})`),void 0===this.alignment&&(this.alignment="ios"===A(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:o}=this;!0===o&&k((()=>this.present())),t&&y(t,"ionPopoverWillDismiss",(()=>{this.dismiss(void 0,void 0,!1)})),this.configureTriggerInteraction()}async presentFromTrigger(t,o=!1){this.focusDescendantOnPresent=o,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}async present(t){const o=await this.lockController.lock();if(this.presented)return void o();const{el:e}=this,{inline:r,delegate:i}=this.getDelegate(!0);e.hasAttribute("dir")||(e.setAttribute("dir",C(e)?"rtl":"ltr"),this.dirSetOnPresent=!0),this.ionMount.emit(),this.usersElement=await b(i,e,this.component,["popover-viewport"],this.componentProps,r),this.recalculateContentOnHeaderReady(),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),D(e)?await O(this.usersElement):this.keepContentsMounted||await j(),await l(this,"popoverEnter",q,_,void 0,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&v(e),o()}recalculateContentOnHeaderReady(){const t=this.el.shadowRoot?.querySelector(".popover-content");if(!t)return;const o=this.usersElement||t,e=o.querySelector("ion-header"),r=o.querySelectorAll("ion-content");e&&0!==r.length&&(this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0),this.headerResizeObserver=new ResizeObserver((async()=>{if(e.offsetHeight>0){this.headerResizeObserver?.disconnect(),this.headerResizeObserver=void 0;for(const t of r)await t.recalculateDimensions()}})),this.headerResizeObserver.observe(e))}async dismiss(t,o,e=!0){const r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;e&&this.parentPopover&&this.parentPopover.dismiss(t,o,e);const n=await f(this,t,o,"popoverLeave",Z,tt,this.event);if(n){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:t}=this.getDelegate();await u(t,this.usersElement),this.dirSetOnPresent&&(this.el.removeAttribute("dir"),this.dirSetOnPresent=!1)}return r(),n}async getParentPopover(){return this.parentPopover}onDidDismiss(){return g(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return g(this.el,"ionPopoverWillDismiss")}render(){const t=A(this),{onLifecycle:o,parentPopover:e,dismissOnSelect:r,side:n,arrow:a,htmlAttributes:p,focusTrap:d}=this,c=$("desktop"),h=a&&!e;return i(s,{key:"622296253a543188de2c0f63d26351b595490e87","aria-modal":"true","no-router":!0,tabindex:"-1",...p,style:{zIndex:`${2e4+this.overlayIndex}`},class:{...I(this.cssClass),[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":c,[`popover-side-${n}`]:!0,[x]:!1===d,"popover-nested":!!e},onIonPopoverDidPresent:o,onIonPopoverWillPresent:o,onIonPopoverWillDismiss:o,onIonPopoverDidDismiss:o,onIonBackdropTap:this.onBackdropTap},!e&&i("ion-backdrop",{key:"60f19bfc53c06bd131b24384ca1b6f1b298d41bf",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),i(T,{key:"bea9b6f64fff5d473450e8ddd7016ede06fceaa7",overlay:this.el,edge:"start"}),i("div",{key:"d81f9c032c831a9f0c6a18c692aa5c1474dd0a8c",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},h&&i("div",{key:"43d7fdcf96e994d4bac89d01d6c82f46e6e242fe",class:"popover-arrow",part:"arrow"}),i("div",{key:"abae7723be6283c79d250830cb4ac3a082e71cc5",class:"popover-content",part:"content"},i("slot",{key:"557ea2f2e2aa5c7fd80a799959d4ba1c4adf02ac"}))),i(T,{key:"eb82c4a705f12d53e23d2255972c1839cb4bb182",overlay:this.el,edge:"end"}))}get el(){return this}static get watchers(){return{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}}static get style(){return{ionic:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--background:var(--token-bg-surface-elevation-3, var(--token-primitives-base-white, #ffffff));--box-shadow:var(--token-elevation-3, var(--token-shadow-offset-0, 0px) var(--token-shadow-offset-6, 6px) var(--token-shadow-blur-32, 32px) var(--token-shadow-spread-0, 0px) var(--token-shadow-6, rgba(0, 0, 0, 0.16)), var(--token-shadow-offset-0, 0px) var(--token-shadow-offset-2, 2px) var(--token-shadow-blur-7, 7px) var(--token-shadow-spread-0, 0px) var(--token-shadow-2, rgba(0, 0, 0, 0.05)));--backdrop-opacity:0.3}.popover-content{border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px));-webkit-transform-origin:left top;transform-origin:left top}@supports not selector(:dir(rtl)){:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}",ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}:host(.ion-disable-focus-trap) .ion-overlay-focus-boundary{display:none}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host(.select-popover-rich-content){--width:clamp(250px, calc(100vw - 40px), 400px)}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}@supports not selector(:dir(rtl)){:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}}},[289,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}]),et={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function rt(){"undefined"!=typeof customElements&&["ion-popover","ion-backdrop"].forEach((t=>{switch(t){case"ion-popover":customElements.get(n(t))||customElements.define(n(t),ot);break;case"ion-backdrop":customElements.get(n(t))||L()}}))}export{ot as P,rt as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as o,H as t,i as a,h as s,t as r,f as n}from"./p-Ba0pOoA8.js";import{b as i}from"./p-CDyvJnTO.js";const c=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=a(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(o){this.emitTap(o)}emitTap(o){this.stopPropagation&&(o.preventDefault(),o.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const o=i(this);return s(n,{key:"6e5e4c56623308f8e5a115afac573283fcba09f2","aria-hidden":"true",class:{[o]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ionic:":host{right:0;left:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:rgba(var(--token-primitives-base-black-rgb, 19, 21, 24), 0.7);z-index:2}",ios:":host{right:0;left:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{z-index:2}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{right:0;left:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{z-index:2}:host{background-color:var(--ion-backdrop-color, #000)}"}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function e(){"undefined"!=typeof customElements&&["ion-backdrop"].forEach((o=>{"ion-backdrop"===o&&(customElements.get(r(o))||customElements.define(r(o),c))}))}export{c as B,e as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{d as t,H as i,i as e,h as s,f as o,t as n}from"./p-DZnVmCdW.js";import{d as a}from"./p-ZjP4CjeZ.js";import{r}from"./p-CEQhyzEV.js";import{h as l,b as h,a as c}from"./p-CEW4RXZO.js";import{a as d,b as p}from"./p-XbNDx_fA.js";import{c as u}from"./p-byZM6qHV.js";const m=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ionChange=e(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.updateValueTextOnScroll=!1,this.isUserScroll=!1,this.enableHaptics=!1,this.ariaLabel=null,this.isActive=!1,this.disabled=!1,this.numericInput=!1,this.centerPickerItemInView=(t,i=!0,e=!0)=>{const{isColumnVisible:s,scrollEl:o}=this;if(s&&o){const s=t.offsetTop-3*t.clientHeight+t.clientHeight/2;o.scrollTop!==s&&(this.canExitInputMode=e,this.updateValueTextOnScroll=!1,this.isUserScroll=!1,this.stopWatchingForOutsidePress(),o.scroll({top:s,left:0,behavior:i?"smooth":void 0}))}},this.setPickerItemActiveState=(t,i)=>{i?t.classList.add(f):t.classList.remove(f)},this.inputModeChange=t=>{if(!this.numericInput)return;const{useInputMode:i,inputModeColumn:e}=t.detail;this.setInputModeActive(!(!i||void 0!==e&&e!==this.el))},this.setInputModeActive=t=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=t}:this.isActive=t},this.clearScrollEndTimeout=()=>{this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=void 0)},this.resetScrollEndTimeout=()=>{this.clearScrollEndTimeout(),this.scrollEndTimeout=setTimeout(this.settle,b)},this.watchForOutsidePress=()=>{a?.addEventListener("pointerdown",this.onPointerDownOutside,{capture:!0})},this.stopWatchingForOutsidePress=()=>{a?.removeEventListener("pointerdown",this.onPointerDownOutside,{capture:!0})},this.discardScroll=()=>{this.stopWatchingForOutsidePress(),this.clearScrollEndTimeout(),this.scrollEndCallback=void 0,this.centeredOption=void 0,this.haltedAtScrollTop=void 0,this.isScrolling=!1,this.isUserScroll=!1,this.canExitInputMode=!0},this.settle=()=>{const{centeredOption:t}=this;this.clearScrollEndTimeout(),this.stopWatchingForOutsidePress(),this.isUserScroll=!1,this.isScrolling=!1,this.updateValueTextOnScroll=!0,this.enableHaptics&&l();const{scrollEndCallback:i}=this;i&&(i(),this.scrollEndCallback=void 0),this.canExitInputMode=!0,void 0!==t&&(this.centeredOption=void 0,t.isConnected&&this.setValue(t.value))},this.onPointerDownOutside=t=>{const{centeredOption:i,parentEl:e,scrollEl:s}=this;if(!this.isScrolling)return;const o=t.composedPath();o.includes(this.el)||null!=e&&o.includes(e)||(void 0!==i&&i.isConnected&&(this.centerPickerItemInView(i,!1,!1),this.haltedAtScrollTop=s?.scrollTop),this.settle())},this.initializeScrollListener=()=>{this.enableHaptics=d("ios");const{el:t,scrollEl:i}=this;let e=this.activeItem;const s=()=>{r((()=>{if(!this.el.isConnected||!this.isColumnVisible||!i)return;const{haltedAtScrollTop:s}=this;if(void 0!==s){if(Math.abs(i.scrollTop-s)<=v)return;this.haltedAtScrollTop=void 0}this.resetScrollEndTimeout(),this.isScrolling||(this.enableHaptics&&h(),this.isScrolling=!0),this.isUserScroll&&this.watchForOutsidePress();const o=i.getBoundingClientRect(),n=o.x+o.width/2,r=o.y+o.height/2,l=t.getRootNode(),d=l instanceof ShadowRoot?l:a;if(void 0===d)return;let p=d.elementsFromPoint(n,r).find((t=>"ION-PICKER-COLUMN-OPTION"===t.tagName));if(void 0===p){const t=d.elementFromPoint(n,r);"ION-PICKER-COLUMN-OPTION"===t?.tagName&&(p=t)}void 0===p||p.disabled||(void 0!==e&&this.setPickerItemActiveState(e,!1),p!==e&&(this.enableHaptics&&c(),this.canExitInputMode&&this.exitInputMode()),e=p,this.setPickerItemActiveState(p,!0),this.updateValueTextOnScroll&&this.assistiveFocusable?.setAttribute("aria-valuetext",this.getOptionValueText(p)),this.centeredOption=p)}))},o=()=>{this.isUserScroll=!0,this.haltedAtScrollTop=void 0};r((()=>{i&&(i.addEventListener("scroll",s),i.addEventListener("pointerdown",o),i.addEventListener("wheel",o,{passive:!0}),i.addEventListener("touchmove",o,{passive:!0}),this.destroyScrollListener=()=>{i.removeEventListener("scroll",s),i.removeEventListener("pointerdown",o),i.removeEventListener("wheel",o),i.removeEventListener("touchmove",o)})}))},this.exitInputMode=()=>{const{parentEl:t}=this;null!=t&&(t.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.findNextOption=(t=1)=>{const{activeItem:i}=this;if(!i)return null;let e=i,s=i.nextElementSibling;for(;null!=s;){if(t>0&&t--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===t)return s;e=s,s=s.nextElementSibling}return e},this.findPreviousOption=(t=1)=>{const{activeItem:i}=this;if(!i)return null;let e=i,s=i.previousElementSibling;for(;null!=s;){if(t>0&&t--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===t)return s;e=s,s=s.previousElementSibling}return e},this.onKeyDown=t=>{const i=d("mobile");let e=null;switch(t.key){case"ArrowDown":e=i?this.findPreviousOption():this.findNextOption();break;case"ArrowUp":e=i?this.findNextOption():this.findPreviousOption();break;case"PageUp":e=i?this.findNextOption(5):this.findPreviousOption(5);break;case"PageDown":e=i?this.findPreviousOption(5):this.findNextOption(5);break;case"Home":e=this.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":e=this.el.querySelector("ion-picker-column-option:last-of-type")}null!==e&&(this.setValue(e.value),t.preventDefault())},this.getOptionValueText=t=>t?t.getAttribute("aria-label")??t.innerText:""}ariaLabelChanged(t){this.ariaLabel=t}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView(!0)}componentWillLoad(){const t=this.parentEl=this.el.closest("ion-picker");new IntersectionObserver((t=>{if(t[t.length-1].isIntersecting){const{activeItem:t,el:i}=this;this.isColumnVisible=!0;const e=i.querySelector(`.${f}`);e&&this.setPickerItemActiveState(e,!1),this.scrollActiveItemIntoView(),t&&this.setPickerItemActiveState(t,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.stopWatchingForOutsidePress(),this.centeredOption=void 0,this.haltedAtScrollTop=void 0,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)}),{threshold:.001,root:this.parentEl}).observe(this.el),null!==t&&t.addEventListener("ionInputModeChange",(t=>this.inputModeChange(t)))}componentDidRender(){const{el:t,activeItem:i,isColumnVisible:e,value:s}=this;if(e&&!i){const i=t.querySelector("ion-picker-column-option");null!==i&&i.value!==s&&this.setValue(i.value)}}async scrollActiveItemIntoView(t=!1){const i=this.activeItem;i&&this.centerPickerItemInView(i,t,!1)}async setValue(t){!0!==this.disabled&&this.value!==t&&(this.value=t,this.ionChange.emit({value:t}))}async setFocus(){this.assistiveFocusable&&this.assistiveFocusable.focus()}connectedCallback(){this.ariaLabel=this.el.getAttribute("aria-label")??"Select a value"}disconnectedCallback(){this.discardScroll()}get activeItem(){const{value:t}=this;return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find((i=>!(!this.disabled&&i.disabled)&&i.value===t))}render(){const{color:t,disabled:i,isActive:e,numericInput:n}=this,a=p(this);return s(o,{key:"60a893619d0b01fba53fbccef67a10d533a22657",class:u(t,{[a]:!0,"picker-column-active":e,"picker-column-numeric-input":n,"picker-column-disabled":i})},s("slot",{key:"79f1e047f89c5ec916ed02efaac56ef3f73b8969",name:"prefix"}),s("div",{key:"c45c86e88353a196ff38159f40f390bc27852c9e",class:"picker-opts",ref:t=>{this.scrollEl=t},role:"slider",tabindex:this.disabled?void 0:0,"aria-label":this.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":this.getOptionValueText(this.activeItem),"aria-orientation":"vertical",onKeyDown:t=>this.onKeyDown(t)},s("div",{key:"e02d76752f5d3dd4cd2846fbc28645f1508a4b49",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"d577bcbadc530970b2781692b050811633625c5a",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"c89e78c3a896bc1f55b922d01df16fdbb1259bdd",class:"picker-item-empty","aria-hidden":"true"}," "),s("slot",{key:"6c597ff899692597432ee2aa0b42de53b86deed4"}),s("div",{key:"91686ed94f14c47647836ed4d63e54b5c54ee3b9",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"2ff058c6d0e8cef4e143c2d848f9a52684579af1",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"bc7386bec6fced36e44084a7a137b3fe6506c996",class:"picker-item-empty","aria-hidden":"true"}," ")),s("slot",{key:"8835fd3f4e025bce964e6f05984c9aaadc20d7fb",name:"suffix"}))}get el(){return this}static get watchers(){return{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}}static get style(){return":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{left:0;right: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-primary-rgb, 0, 84, 233), 0.2)}:host(.ion-color:focus) .picker-opts{background:rgba(var(--ion-color-base-rgb), 0.2)}}"}},[257,"ion-picker-column",{disabled:[4],value:[1032],color:[513],numericInput:[4,"numeric-input"],ariaLabel:[32],isActive:[32],scrollActiveItemIntoView:[64],setValue:[64],setFocus:[64]},void 0,{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}]),f="option-active",b=250,v=2;function k(){"undefined"!=typeof customElements&&["ion-picker-column"].forEach((t=>{"ion-picker-column"===t&&(customElements.get(n(t))||customElements.define(n(t),m))}))}export{m as P,k as d}
|
|
4
|
+
import{d as t,H as i,i as e,h as s,f as o,t as n}from"./p-Ba0pOoA8.js";import{d as a}from"./p-ZjP4CjeZ.js";import{r}from"./p-CdHuHArh.js";import{h as l,b as h,a as c}from"./p-CEW4RXZO.js";import{a as d,b as p}from"./p-CDyvJnTO.js";import{c as u}from"./p-BUF_V-Kg.js";const f=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ionChange=e(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.updateValueTextOnScroll=!1,this.isUserScroll=!1,this.enableHaptics=!1,this.ariaLabel=null,this.isActive=!1,this.disabled=!1,this.numericInput=!1,this.centerPickerItemInView=(t,i=!0,e=!0)=>{const{isColumnVisible:s,scrollEl:o}=this;if(s&&o){const s=t.offsetTop-3*t.clientHeight+t.clientHeight/2;o.scrollTop!==s&&(this.canExitInputMode=e,this.updateValueTextOnScroll=!1,this.isUserScroll=!1,this.stopWatchingForOutsidePress(),o.scroll({top:s,left:0,behavior:i?"smooth":void 0}))}},this.setPickerItemActiveState=(t,i)=>{i?t.classList.add(m):t.classList.remove(m)},this.inputModeChange=t=>{if(!this.numericInput)return;const{useInputMode:i,inputModeColumn:e}=t.detail;this.setInputModeActive(!(!i||void 0!==e&&e!==this.el))},this.setInputModeActive=t=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=t}:this.isActive=t},this.clearScrollEndTimeout=()=>{this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=void 0)},this.resetScrollEndTimeout=()=>{this.clearScrollEndTimeout(),this.scrollEndTimeout=setTimeout(this.settle,b)},this.watchForOutsidePress=()=>{a?.addEventListener("pointerdown",this.onPointerDownOutside,{capture:!0})},this.stopWatchingForOutsidePress=()=>{a?.removeEventListener("pointerdown",this.onPointerDownOutside,{capture:!0})},this.discardScroll=()=>{this.stopWatchingForOutsidePress(),this.clearScrollEndTimeout(),this.scrollEndCallback=void 0,this.centeredOption=void 0,this.haltedAtScrollTop=void 0,this.isScrolling=!1,this.isUserScroll=!1,this.canExitInputMode=!0},this.settle=()=>{const{centeredOption:t}=this;this.clearScrollEndTimeout(),this.stopWatchingForOutsidePress(),this.isUserScroll=!1,this.isScrolling=!1,this.updateValueTextOnScroll=!0,this.enableHaptics&&l();const{scrollEndCallback:i}=this;i&&(i(),this.scrollEndCallback=void 0),this.canExitInputMode=!0,void 0!==t&&(this.centeredOption=void 0,t.isConnected&&this.setValue(t.value))},this.onPointerDownOutside=t=>{const{centeredOption:i,parentEl:e,scrollEl:s}=this;if(!this.isScrolling)return;const o=t.composedPath();o.includes(this.el)||null!=e&&o.includes(e)||(void 0!==i&&i.isConnected&&(this.centerPickerItemInView(i,!1,!1),this.haltedAtScrollTop=s?.scrollTop),this.settle())},this.initializeScrollListener=()=>{this.enableHaptics=d("ios");const{el:t,scrollEl:i}=this;let e=this.activeItem;const s=()=>{r((()=>{if(!this.el.isConnected||!this.isColumnVisible||!i)return;const{haltedAtScrollTop:s}=this;if(void 0!==s){if(Math.abs(i.scrollTop-s)<=v)return;this.haltedAtScrollTop=void 0}this.resetScrollEndTimeout(),this.isScrolling||(this.enableHaptics&&h(),this.isScrolling=!0),this.isUserScroll&&this.watchForOutsidePress();const o=i.getBoundingClientRect(),n=o.x+o.width/2,r=o.y+o.height/2,l=t.getRootNode(),d=l instanceof ShadowRoot?l:a;if(void 0===d)return;let p=d.elementsFromPoint(n,r).find((t=>"ION-PICKER-COLUMN-OPTION"===t.tagName));if(void 0===p){const t=d.elementFromPoint(n,r);"ION-PICKER-COLUMN-OPTION"===t?.tagName&&(p=t)}void 0===p||p.disabled||(void 0!==e&&this.setPickerItemActiveState(e,!1),p!==e&&(this.enableHaptics&&c(),this.canExitInputMode&&this.exitInputMode()),e=p,this.setPickerItemActiveState(p,!0),this.updateValueTextOnScroll&&this.assistiveFocusable?.setAttribute("aria-valuetext",this.getOptionValueText(p)),this.centeredOption=p)}))},o=()=>{this.isUserScroll=!0,this.haltedAtScrollTop=void 0};r((()=>{i&&(i.addEventListener("scroll",s),i.addEventListener("pointerdown",o),i.addEventListener("wheel",o,{passive:!0}),i.addEventListener("touchmove",o,{passive:!0}),this.destroyScrollListener=()=>{i.removeEventListener("scroll",s),i.removeEventListener("pointerdown",o),i.removeEventListener("wheel",o),i.removeEventListener("touchmove",o)})}))},this.exitInputMode=()=>{const{parentEl:t}=this;null!=t&&(t.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.findNextOption=(t=1)=>{const{activeItem:i}=this;if(!i)return null;let e=i,s=i.nextElementSibling;for(;null!=s;){if(t>0&&t--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===t)return s;e=s,s=s.nextElementSibling}return e},this.findPreviousOption=(t=1)=>{const{activeItem:i}=this;if(!i)return null;let e=i,s=i.previousElementSibling;for(;null!=s;){if(t>0&&t--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===t)return s;e=s,s=s.previousElementSibling}return e},this.onKeyDown=t=>{const i=d("mobile");let e=null;switch(t.key){case"ArrowDown":e=i?this.findPreviousOption():this.findNextOption();break;case"ArrowUp":e=i?this.findNextOption():this.findPreviousOption();break;case"PageUp":e=i?this.findNextOption(5):this.findPreviousOption(5);break;case"PageDown":e=i?this.findPreviousOption(5):this.findNextOption(5);break;case"Home":e=this.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":e=this.el.querySelector("ion-picker-column-option:last-of-type")}null!==e&&(this.setValue(e.value),t.preventDefault())},this.getOptionValueText=t=>t?t.getAttribute("aria-label")??t.innerText:""}ariaLabelChanged(t){this.ariaLabel=t}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView(!0)}componentWillLoad(){const t=this.parentEl=this.el.closest("ion-picker");new IntersectionObserver((t=>{if(t[t.length-1].isIntersecting){const{activeItem:t,el:i}=this;this.isColumnVisible=!0;const e=i.querySelector(`.${m}`);e&&this.setPickerItemActiveState(e,!1),this.scrollActiveItemIntoView(),t&&this.setPickerItemActiveState(t,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.stopWatchingForOutsidePress(),this.centeredOption=void 0,this.haltedAtScrollTop=void 0,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)}),{threshold:.001,root:this.parentEl}).observe(this.el),null!==t&&t.addEventListener("ionInputModeChange",(t=>this.inputModeChange(t)))}componentDidRender(){const{el:t,activeItem:i,isColumnVisible:e,value:s}=this;if(e&&!i){const i=t.querySelector("ion-picker-column-option");null!==i&&i.value!==s&&this.setValue(i.value)}}async scrollActiveItemIntoView(t=!1){const i=this.activeItem;i&&this.centerPickerItemInView(i,t,!1)}async setValue(t){!0!==this.disabled&&this.value!==t&&(this.value=t,this.ionChange.emit({value:t}))}async setFocus(){this.assistiveFocusable&&this.assistiveFocusable.focus()}connectedCallback(){this.ariaLabel=this.el.getAttribute("aria-label")??"Select a value"}disconnectedCallback(){this.discardScroll()}get activeItem(){const{value:t}=this;return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find((i=>!(!this.disabled&&i.disabled)&&i.value===t))}render(){const{color:t,disabled:i,isActive:e,numericInput:n}=this,a=p(this);return s(o,{key:"2cb1af4dd913987c5a3e34daf7a79b1bfe206e23",class:u(t,{[a]:!0,"picker-column-active":e,"picker-column-numeric-input":n,"picker-column-disabled":i})},s("slot",{key:"6bb349f8faac3b7e38d0f58c6cb39e2ce584bda7",name:"prefix"}),s("div",{key:"2a3d728e5cb292c7548cf89317387fb5233ab2e1",class:"picker-opts",ref:t=>{this.scrollEl=t},role:"slider",tabindex:this.disabled?void 0:0,"aria-label":this.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":this.getOptionValueText(this.activeItem),"aria-orientation":"vertical",onKeyDown:t=>this.onKeyDown(t)},s("div",{key:"23b3500c535ac42dc5b2c220b88ddb08671f757f",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"5f47b6af46df5b41eda53c9c319f7a96a806aa43",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"3fc45c2932835dc90cf4092bb0f233cfb72401f8",class:"picker-item-empty","aria-hidden":"true"}," "),s("slot",{key:"fcb6aad251a64b7ec905f2df521101edeef810cf"}),s("div",{key:"85185fed0d6cdb04d0f83b07ed1bfcb3259f74e0",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"7cb5372d3257477953ae6d72b15734d2aadbda45",class:"picker-item-empty","aria-hidden":"true"}," "),s("div",{key:"521fa09b6804d967113d7073b5a10438a385e71f",class:"picker-item-empty","aria-hidden":"true"}," ")),s("slot",{key:"64d2793f56b61e027f95ae262612d4a4e3ff19a8",name:"suffix"}))}get el(){return this}static get watchers(){return{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}}static get style(){return":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-primary-rgb, 0, 84, 233), 0.2)}:host(.ion-color:focus) .picker-opts{background:rgba(var(--ion-color-base-rgb), 0.2)}}"}},[257,"ion-picker-column",{disabled:[4],value:[1032],color:[513],numericInput:[4,"numeric-input"],ariaLabel:[32],isActive:[32],scrollActiveItemIntoView:[64],setValue:[64],setFocus:[64]},void 0,{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}]),m="option-active",b=250,v=2;function k(){"undefined"!=typeof customElements&&["ion-picker-column"].forEach((t=>{"ion-picker-column"===t&&(customElements.get(n(t))||customElements.define(n(t),f))}))}export{f as P,k as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{w as a}from"./p-ZjP4CjeZ.js";import{focusElements as e,isKeyboardMode as i}from"./p-BYk20Mf5.js";import{c as r,e as t}from"./p-Ba0pOoA8.js";import{i as n}from"./p-Dj4J3LkD.js";const o=(a,e=0)=>new Promise((i=>{s(a,e,i)})),s=(a,e=0,i)=>{let r,t;const n={passive:!0},o=()=>{r&&r()},s=e=>{void 0!==e&&a!==e.target||(o(),i(e))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,e+500),r=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},l=(a,e)=>{a.componentOnReady?a.componentOnReady().then((a=>e(a))):w((()=>e(a)))},u=a=>void 0!==a.componentOnReady,c=(a,e=[])=>{const i={};return e.forEach((e=>{a.hasAttribute(e)&&(null!==a.getAttribute(e)&&(i[e]=a.getAttribute(e)),a.removeAttribute(e))})),i},d=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],p=a=>c(a,d),m=(a,e,i,r)=>a.addEventListener(e,i,r),f=(a,e,i,r)=>a.removeEventListener(e,i,r),v=(e,i,r,t)=>{const n=a?.document;if(!n||!e||"undefined"==typeof ResizeObserver)return()=>{};const o=n.createElement("div");o.style.cssText=`position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;width:0;height:var(${i},0px);`,e.appendChild(o);let s=t;const l=new ResizeObserver((a=>{const{height:e}=a[0].contentRect;void 0!==s&&e!==s&&r(e),s=e}));return l.observe(o),()=>{l.disconnect(),o.remove()}},b=(a,e=a)=>a.shadowRoot||e,w=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),h=a=>!!a.shadowRoot&&!!a.attachShadow,x=a=>{a.focus();let i=a;if(!a.classList.contains("ion-focusable")){const e=a.getRootNode();e instanceof ShadowRoot&&e.host instanceof HTMLElement&&(i=e.host)}if(i.classList.contains("ion-focusable")){const a=t.get("appRootSelector","ion-app"),r=i.closest(a);r&&("ion-app"===a?r.setFocus([i]):requestAnimationFrame((()=>{e([i])})))}},y=a=>{i()?x(a):a.focus()},_=()=>{e([])},j=(a,e,i,r,t)=>{{let a=e.querySelector("input.aux-input");a||(a=e.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),e.appendChild(a)),a.disabled=t,a.name=i,a.value=r||""}},T=(a,e,i)=>Math.max(a,Math.min(e,i)),k=(a,e)=>{if(!a){const a="ASSERT: "+e;throw r(a),new Error(a)}},q=a=>{if(a){const e=a.changedTouches;if(e&&e.length>0){const a=e[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},A=(a,e)=>{const i=n(e);switch(a){case"start":return i;case"end":return!i;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},E=(a,e)=>{const i=a._original||a;return{_original:a,emit:F(i.emit.bind(i),e)}},F=(a,e=0)=>{let i;return(...r)=>{clearTimeout(i),i=setTimeout(a,e,...r)}},g=(a,e)=>{if(a??={},e??={},a===e)return!0;const i=Object.keys(a);if(i.length!==Object.keys(e).length)return!1;for(const r of i){if(!(r in e))return!1;if(a[r]!==e[r])return!1}return!0},z=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{m as a,f as b,l as c,j as d,T as e,y as f,b as g,h,p as i,x as j,c as k,d as l,u as m,E as n,A as o,k as p,v as q,w as r,F as s,o as t,z as u,g as v,_ as w,q as x}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as t,H as o,i,h as e,f as r,t as l}from"./p-Ba0pOoA8.js";import{c as n,h as s}from"./p-BUF_V-Kg.js";import{b as a}from"./p-CDyvJnTO.js";const h=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ionColor=i(this,"ionColor",7),this.ionStyle=i(this,"ionStyle",7),this.inRange=!1,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&(this.loadTimeout=setTimeout((()=>{this.noAnimate=!1}),1e3))}disconnectedCallback(){this.loadTimeout&&clearTimeout(this.loadTimeout)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:t}=this;this.ionColor.emit({"item-label-color":void 0!==t,[`ion-color-${t}`]:void 0!==t})}emitStyle(){const{inRange:t,position:o}=this;t||this.ionStyle.emit({label:!0,[`label-${o}`]:void 0!==o})}render(){const{color:t,el:o,noAnimate:i,position:l}=this,h=a(this);return e(r,{key:"2c647b605611548f9851e383079e1f4770e7c1c8",class:n(t,{[h]:!0,"in-item":s("ion-item, ion-item-divider, ion-item-group",o),"in-item-color":s("ion-item.ion-color",o),[`label-${l}`]:void 0!==l,"label-no-animate":i})},e("slot",{key:"0bc754f8d71354b6890c6b7e369dbaf3e6b04523"}))}get el(){return this}static get watchers(){return{color:[{colorChanged:0}],position:[{positionChanged:0}]}}static get style(){return{ionic:":host(.in-item){--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host(.ion-text-nowrap){overflow:hidden}:host(.label-fixed){-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.label-stacked),:host(.label-floating){margin-bottom:0;-webkit-transform-origin:left top;transform-origin:left top;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.label-stacked),:host-context([dir=rtl]).label-stacked,:host-context([dir=rtl]):host(.label-floating),:host-context([dir=rtl]).label-floating{-webkit-transform-origin:right top;transform-origin:right top}}@supports selector(:dir(rtl)){:host(.label-stacked:dir(rtl)),:host(.label-floating:dir(rtl)){-webkit-transform-origin:right top;transform-origin:right top}}:host(.label-no-animate.label-floating){-webkit-transition:none;transition:none}slot{text-overflow:inherit;overflow:inherit}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){font-weight:normal;text-overflow:inherit;overflow:inherit}::slotted(h1),::slotted(h2){line-height:1.2}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){font-size:0.875rem;line-height:normal}::slotted(p){text-overflow:inherit;overflow:inherit}:host(.in-item-color) ::slotted(p){color:inherit}:host(.ion-text-wrap){line-height:1.5}:host(.label-stacked),:host(.label-floating){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.label-stacked){-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.label-floating){-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem}:host(.ionic) ::slotted(h1){line-height:1.285714}:host(.ionic) ::slotted(h2){line-height:1.384615}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem;line-height:1.25rem}",ios:":host(.in-item){--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host(.ion-text-nowrap){overflow:hidden}:host(.label-fixed){-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.label-stacked),:host(.label-floating){margin-bottom:0;-webkit-transform-origin:left top;transform-origin:left top;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.label-stacked),:host-context([dir=rtl]).label-stacked,:host-context([dir=rtl]):host(.label-floating),:host-context([dir=rtl]).label-floating{-webkit-transform-origin:right top;transform-origin:right top}}@supports selector(:dir(rtl)){:host(.label-stacked:dir(rtl)),:host(.label-floating:dir(rtl)){-webkit-transform-origin:right top;transform-origin:right top}}:host(.label-no-animate.label-floating){-webkit-transition:none;transition:none}slot{text-overflow:inherit;overflow:inherit}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){font-weight:normal;text-overflow:inherit;overflow:inherit}::slotted(h1),::slotted(h2){line-height:1.2}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){font-size:0.875rem;line-height:normal}::slotted(p){text-overflow:inherit;overflow:inherit}:host(.in-item-color) ::slotted(p){color:inherit}:host(.ion-text-wrap){font-size:0.875rem;line-height:1.5}:host(.label-stacked){margin-bottom:4px;font-size:0.875rem}:host(.label-floating){margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}::slotted(h1){margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));font-size:0.875rem;line-height:normal}::slotted(h2:last-child),::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host(.in-item){--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host(.ion-text-nowrap){overflow:hidden}:host(.label-fixed){-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.label-stacked),:host(.label-floating){margin-bottom:0;-webkit-transform-origin:left top;transform-origin:left top;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}@supports not selector(:dir(rtl)){:host-context([dir=rtl]):host(.label-stacked),:host-context([dir=rtl]).label-stacked,:host-context([dir=rtl]):host(.label-floating),:host-context([dir=rtl]).label-floating{-webkit-transform-origin:right top;transform-origin:right top}}@supports selector(:dir(rtl)){:host(.label-stacked:dir(rtl)),:host(.label-floating:dir(rtl)){-webkit-transform-origin:right top;transform-origin:right top}}:host(.label-no-animate.label-floating){-webkit-transition:none;transition:none}slot{text-overflow:inherit;overflow:inherit}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){font-weight:normal;text-overflow:inherit;overflow:inherit}::slotted(h1),::slotted(h2){line-height:1.2}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){font-size:0.875rem;line-height:normal}::slotted(p){text-overflow:inherit;overflow:inherit}:host(.in-item-color) ::slotted(p){color:inherit}:host(.ion-text-wrap){line-height:1.5}:host(.label-stacked),:host(.label-floating){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.label-stacked){-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.label-floating){-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem}:host(.ionic) ::slotted(h1){line-height:1.285714}:host(.ionic) ::slotted(h2){line-height:1.384615}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem;line-height:1.25rem}"}}},[289,"ion-label",{color:[513],position:[1],noAnimate:[32]},void 0,{color:[{colorChanged:0}],position:[{positionChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["ion-label"].forEach((t=>{"ion-label"===t&&(customElements.get(l(t))||customElements.define(l(t),h))}))}export{h as L,m as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as e,H as r,e as s,h as n,f as t,t as i}from"./p-Ba0pOoA8.js";import{c as a}from"./p-BUF_V-Kg.js";import{c as o,b as l}from"./p-CDyvJnTO.js";const c={bubbles:{dur:1e3,circles:9,fn:(e,r,s)=>{const n=e*r/s-e+"ms",t=2*Math.PI*r/s;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","animation-delay":n}}}},circles:{dur:1e3,circles:8,fn:(e,r,s)=>{const n=r/s,t=e*n-e+"ms",i=2*Math.PI*n;return{r:5,style:{top:32*Math.sin(i)+"%",left:32*Math.cos(i)+"%","animation-delay":t}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(e,r)=>({r:6,style:{left:32-32*r+"%","animation-delay":-110*r+"ms"}})},lines:{dur:1e3,lines:8,fn:(e,r,s)=>({y1:14,y2:26,style:{transform:`rotate(${360/s*r+(r<s/2?180:-180)}deg)`,"animation-delay":e*r/s-e+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(e,r,s)=>({y1:12,y2:20,style:{transform:`rotate(${360/s*r+(r<s/2?180:-180)}deg)`,"animation-delay":e*r/s-e+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(e,r,s)=>({y1:17,y2:29,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":e*r/s-e+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(e,r,s)=>({y1:12,y2:20,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":e*r/s-e+"ms"}})}},p=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.paused=!1}getName(){const e=this.name||s.get("spinner"),r=o(this);return e||("ios"===r?"lines":"circular")}getSize(){const e=l(this),{size:r}=this;if("ionic"===e)return void 0===r?"xsmall":r}render(){const e=this,r=l(e),i=e.getName(),o=this.getSize(),p=c[i]??c.lines,k="number"==typeof e.duration&&e.duration>10?e.duration:p.dur,d=[];if(void 0!==p.circles)for(let e=0;e<p.circles;e++)d.push(f(p,k,e,p.circles));else if(void 0!==p.lines)for(let e=0;e<p.lines;e++)d.push(m(p,k,e,p.lines));return n(t,{key:"e6d6c81972147b610b468cfb8535d4c4acd0911c",class:a(e.color,{[r]:!0,[`spinner-${i}`]:!0,"spinner-paused":e.paused||s.getBoolean("_testing"),[`spinner-${o}`]:void 0!==o}),role:"progressbar",style:p.elmDuration?{animationDuration:k+"ms"}:{}},d)}static get style(){return{ionic:":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}@supports not selector(:dir(rtl)){:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}:host{--color:var(--token-icon-subtlest, var(--token-primitives-neutral-800, #6c727a));width:var(--token-scale-700, 28px);height:var(--token-scale-700, 28px)}:host(.ion-color-medium){color:var(--ion-color-medium-subtle-contrast, var(--token-primitives-neutral-900, #575c63))}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:var(--token-scale-150, 6px)}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:var(--token-scale-100, 4px)}:host(.spinner-xsmall){width:var(--token-scale-600, 24px);height:var(--token-scale-600, 24px)}:host(.spinner-small){width:var(--token-scale-800, 32px);height:var(--token-scale-800, 32px)}:host(.spinner-medium){width:var(--token-scale-1000, 40px);height:var(--token-scale-1000, 40px)}:host(.spinner-large){width:var(--token-scale-1200, 48px);height:var(--token-scale-1200, 48px)}:host(.spinner-xlarge){width:var(--token-scale-1400, 56px);height:var(--token-scale-1400, 56px)}",ios:":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}@supports not selector(:dir(rtl)){:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}",md:":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}@supports not selector(:dir(rtl)){:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}"}}},[33,"ion-spinner",{color:[513],duration:[2],name:[1],paused:[4],size:[1]}]),f=(e,r,s,t)=>{const i=e.fn(r,s,t);return i.style["animation-duration"]=r+"ms",n("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},n("circle",{transform:i.transform||"translate(32,32)",cx:i.cx,cy:i.cy,r:i.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))},m=(e,r,s,t)=>{const i=e.fn(r,s,t);return i.style["animation-duration"]=r+"ms",n("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},n("line",{transform:"translate(32,32)",y1:i.y1,y2:i.y2}))};function k(){"undefined"!=typeof customElements&&["ion-spinner"].forEach((e=>{"ion-spinner"===e&&(customElements.get(i(e))||customElements.define(i(e),p))}))}export{c as S,p as a,k as d}
|