@ionic/core 9.0.12-nightly.20261117 → 9.0.13-dev.11795099689.16bca5a4
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-DVa8nma_.js → p-8bQyQ-A-.js} +1 -1
- package/components/p-9SIQ7h0a.js +4 -0
- package/components/{p-CHtaS-1H.js → p-B5xGjUrw.js} +1 -1
- package/components/{p-BPW1yhC5.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-BTu2WI4z.js +4 -0
- package/components/p-BUF_V-Kg.js +4 -0
- package/components/p-BX622giM.js +4 -0
- package/components/{p-DBdOjgB_.js → p-BXM-paQi.js} +1 -1
- package/components/p-BYk20Mf5.js +4 -0
- package/components/p-Ba0pOoA8.js +4 -0
- package/components/p-BjjY6jOq.js +4 -0
- package/components/{p-BU1um0go.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-C6Eoe8TE.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-Cjd_foSx.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-DIyhmuo-.js +4 -0
- 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-D2CH_C1y.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-BEN_dW38.js → p-DmlpWO08.js} +1 -1
- package/components/p-Dq9hq9j2.js +4 -0
- package/{dist/ionic/p-7hQRImkK.js → components/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-DSGxE4YQ.js → p-f2BL1rLD.js} +1 -1
- package/components/p-lm02RhiY.js +4 -0
- package/components/p-mNz8l7Bc.js +4 -0
- package/components/p-vLIxxolw.js +4 -0
- package/components/p-zEYXdQGH.js +4 -0
- 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-B7oGwLLy.js → animation-CeH2W-qd.js} +3 -3
- package/dist/cjs/{app-globals-CIBBAkMv.js → app-globals-f7eomsHa.js} +1 -1
- package/dist/cjs/{attribute-controller-CWz9nryP.js → attribute-controller-mEO_Z0Wr.js} +3 -2
- package/dist/cjs/{button-active-B9Tkc4mf.js → button-active-PwgL_R0V.js} +2 -2
- package/dist/cjs/{capacitor-MxFQgshb.js → capacitor-DmA66EwP.js} +3 -3
- package/dist/cjs/focus-visible-DGPRKkcx.js +151 -0
- package/dist/cjs/{format-CqApCy46.js → format-PsbNYAbf.js} +1 -1
- package/dist/cjs/{framework-delegate-DAKg2Azt.js → framework-delegate-D-XPcdY0.js} +4 -2
- package/dist/cjs/{haptic-CRRCyhfL.js → haptic-Ch-X4gRx.js} +1 -1
- package/dist/cjs/{helpers-BDvjDsXt.js → helpers-jmlMCGoQ.js} +88 -10
- package/dist/cjs/{index-BecWuzkK.js → index-B5yv8_lH.js} +9 -7
- package/dist/cjs/{index-D02LHDVd.js → index-CHRTOQP9.js} +2 -2
- package/dist/cjs/{index-BashZvQB.js → index-Cco7L1eB.js} +4 -4
- package/dist/cjs/{index-CKee8md4.js → index-Cn0FjjMN.js} +71 -11
- package/dist/cjs/{index-wOmugbdg.js → index-CxDnX7hd.js} +2 -0
- package/dist/cjs/{index-DJX-8rkB.js → index-DRLvcDji.js} +1 -1
- package/dist/cjs/index-DkNv4J_i.js +10 -0
- package/dist/cjs/{index-C66ah2Ic.js → index-R2zOwQVz.js} +17 -15
- package/dist/cjs/index.cjs.js +20 -18
- package/dist/cjs/{input-shims-ClPpap7E.js → input-shims-obkB-KvI.js} +18 -16
- package/dist/cjs/{input.utils-DXw7l7p9.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 +6 -5
- package/dist/cjs/{ios.transition-CExZyoOI.js → ios.transition-Chk7LwO2.js} +7 -4
- package/dist/cjs/{item-multiple-inputs-DCadv5DD.js → item-multiple-inputs-DRBi1Q76.js} +1 -1
- package/dist/cjs/{keyboard-DcLeJI_8.js → keyboard-Cix5TVkD.js} +3 -5
- package/dist/cjs/{keyboard-OOIuCa13.js → keyboard-cHxZlTyz.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{md.transition-DaAVTRvs.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-CZ2RXrFn.js → overlay-focus-boundary-DCv6Y3fL.js} +4 -4
- package/dist/cjs/{overlays-i5Hu742D.js → overlays-DMW90-Kg.js} +320 -176
- package/dist/cjs/{page-restore-Cu4yZIh3.js → page-restore-Dq2Pkln0.js} +40 -1
- package/dist/cjs/scroll-hide-controller-GvReYiKK.js +345 -0
- package/dist/cjs/{select-option-render-XNNDfPjV.js → select-option-render-nr0lBnYb.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-DPIgf5CF.js → slot-mutation-controller-DKkmhOKO.js} +100 -13
- package/dist/cjs/{status-tap-DsMxsZJD.js → status-tap-oCDuuJng.js} +5 -3
- package/dist/cjs/{swipe-back-DTBGxsBq.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 +9 -1
- 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 +890 -0
- package/dist/collection/components/datetime/datetime.ios.css +456 -114
- package/dist/collection/components/datetime/datetime.js +509 -59
- package/dist/collection/components/datetime/datetime.md.css +434 -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 +9171 -308
- package/dist/esm/{animation-DC5AcIYI.js → animation-Cev2GhGs.js} +2 -2
- package/dist/esm/{app-globals-BFed4dT0.js → app-globals-BocmgK6F.js} +1 -1
- package/dist/esm/{attribute-controller-CWhjOrjK.js → attribute-controller-418FdXxR.js} +2 -1
- package/dist/esm/{button-active-C2jz6R8a.js → button-active-BhjMt-gU.js} +2 -2
- package/dist/esm/{capacitor-Bt0eJ0hM.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/focus-visible-BYk20Mf5.js +146 -0
- package/dist/esm/{format-C833IXB1.js → format-t9SOC1s5.js} +2 -2
- package/dist/esm/{framework-delegate-DnTzYR1W.js → framework-delegate-DOV97IRE.js} +4 -2
- package/dist/esm/{haptic-ChR8my2M.js → haptic-Cq4UAeka.js} +1 -1
- package/dist/esm/{helpers-BvbUHGGm.js → helpers-Bhcp6jft.js} +86 -8
- package/dist/esm/{index-BGtO2Fhf.js → index-Bas44FS4.js} +71 -11
- package/dist/esm/{index-BvabGprD.js → index-BkJpfpXI.js} +2 -1
- package/dist/esm/{index-Crsw1OSp.js → index-BxqNQDQb.js} +12 -10
- package/dist/esm/{index-MGm9Sl6h.js → index-CSvgU7bD.js} +4 -4
- package/dist/esm/{index-I3r9qsv0.js → index-DU_8Y0hH.js} +1 -1
- package/dist/esm/{index-BObCPR8a.js → index-Dr_h9K1q.js} +2 -2
- package/dist/esm/{index-DFG3GaUN.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-DmHorap3.js → input-shims-Q8eQDhGy.js} +7 -5
- package/dist/esm/{input.utils-CBbgDLtb.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 +7 -6
- package/dist/esm/{ios.transition-BRRzMHfK.js → ios.transition-MTIekCSs.js} +7 -4
- package/dist/esm/{item-multiple-inputs-IPlsPhUJ.js → item-multiple-inputs-BrSomT3h.js} +1 -1
- package/dist/esm/{keyboard-DUoJXTRE.js → keyboard-Cj8mLJeq.js} +3 -5
- package/dist/esm/{keyboard-BFjnkNMv.js → keyboard-DAF8GNJ9.js} +1 -1
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{md.transition-BlNVIP5o.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-CCNk7ciy.js → overlay-focus-boundary-DrYovbKL.js} +2 -2
- package/dist/esm/{overlays-Xm0t_lkB.js → overlays-D4jQ_MJ6.js} +313 -164
- package/dist/esm/{page-restore-Bsdr7iUh.js → page-restore-9RlWwejf.js} +40 -2
- package/dist/esm/scroll-hide-controller-Db79zIPS.js +342 -0
- package/dist/esm/{select-option-render-BUBAvw2_.js → select-option-render-szX_tjoT.js} +2 -2
- package/dist/esm/{slot-mutation-controller-DBmgz_0k.js → slot-mutation-controller-Du2BZesv.js} +97 -10
- package/dist/esm/{status-tap-z4LuyVUt.js → status-tap-CxG8iM45.js} +5 -3
- package/dist/esm/{swipe-back-C1eBKfiK.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-6b648656.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-C7A9OQcL.js → p-BMPN55of.js} +1 -1
- package/dist/ionic/{p-Cw2UdaY3.js → p-BQhyhNHy.js} +1 -1
- package/dist/ionic/{p-ynrl9u5l.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-CNyAVKal.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-1feuPAQy.js → p-BiYkrpCo.js} +1 -1
- 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/{components/p-DPypH5J1.js → dist/ionic/p-C_Z39n1a.js} +1 -1
- 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-RJtRqfIz.js → p-DLK90YxR.js} +1 -1
- 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/dist/ionic/p-FygeMLmO.js +4 -0
- package/dist/ionic/p-NcQUGze-.js +4 -0
- package/dist/ionic/{p-C_0lvVN_.js → p-T71k3C35.js} +1 -1
- package/dist/ionic/{p-Ci4965j8.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-71afd3ee.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-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 +5998 -1308
- package/hydrate/index.mjs +5998 -1308
- package/package.json +10 -7
- package/components/p-2r7QpBW2.js +0 -4
- package/components/p-5LnxYgt7.js +0 -4
- package/components/p-B89FqNe7.js +0 -4
- package/components/p-BAAtTHkh.js +0 -4
- package/components/p-BGVimUCE.js +0 -4
- package/components/p-BRwclc4v.js +0 -4
- package/components/p-BSQPZ79H.js +0 -4
- package/components/p-BhamHSw3.js +0 -4
- package/components/p-BmVRXR1y.js +0 -4
- package/components/p-Bp-vRdq-.js +0 -4
- package/components/p-BqRR1T5F.js +0 -4
- package/components/p-By_XQw23.js +0 -4
- package/components/p-C6mx0RsH.js +0 -4
- package/components/p-CApfTEZu.js +0 -4
- package/components/p-CHw0oDIX.js +0 -4
- package/components/p-CNJpfJeD.js +0 -4
- package/components/p-CQdSaeqv.js +0 -4
- package/components/p-CSwBJDKF.js +0 -4
- package/components/p-CVWleXIL.js +0 -4
- package/components/p-Cc_TDlHf.js +0 -4
- package/components/p-CekDicbC.js +0 -4
- package/components/p-ChRi5CSK.js +0 -4
- package/components/p-ChqSZmyn.js +0 -4
- package/components/p-CsEqD5L_.js +0 -4
- package/components/p-CxYMGJTr.js +0 -4
- package/components/p-CyOxaozL.js +0 -4
- package/components/p-D7J-iv5T.js +0 -4
- package/components/p-DACACVWx.js +0 -4
- package/components/p-DDML-XXM.js +0 -4
- package/components/p-DJaeKpJp.js +0 -4
- package/components/p-DJztqcrH.js +0 -4
- package/components/p-Dhhot0Wu.js +0 -4
- package/components/p-Di_8hcJD.js +0 -4
- package/components/p-DiyUViLU.js +0 -4
- package/components/p-DrXp7JFH.js +0 -4
- package/components/p-Dt1Xl4fS.js +0 -4
- package/components/p-DuIBLek5.js +0 -4
- package/components/p-LpMHEu3v.js +0 -4
- package/components/p-Rhx3BXcO.js +0 -4
- package/components/p-WjhtXvI0.js +0 -4
- package/components/p-XIe1lvTS.js +0 -4
- package/components/p-Zt5D5E38.js +0 -4
- package/components/p-byZM6qHV.js +0 -4
- package/components/p-dgUknkY4.js +0 -4
- package/components/p-fywS7BXD.js +0 -4
- package/components/p-oMDI2x4Q.js +0 -4
- package/components/p-oTJGwohD.js +0 -4
- package/components/p-vrDIiMl4.js +0 -4
- package/components/p-z3BvC0Oq.js +0 -4
- package/dist/cjs/focus-visible-CCvKiLh3.js +0 -77
- package/dist/cjs/ionic-global-Bt1gOF3y.js +0 -156
- package/dist/cjs/keyboard-controller-BMyz0P1a.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-BDyJ_8I-.js +0 -151
- package/dist/esm/keyboard-controller-BA84p4ML.js +0 -165
- package/dist/esm/validity-DJztqcrH.js +0 -17
- package/dist/ionic/p-062c7ac1.entry.js +0 -4
- package/dist/ionic/p-09e8cdf7.entry.js +0 -4
- package/dist/ionic/p-0f86b7c9.entry.js +0 -4
- package/dist/ionic/p-103d7546.entry.js +0 -4
- package/dist/ionic/p-1616c2e3.entry.js +0 -4
- package/dist/ionic/p-17217288.entry.js +0 -4
- package/dist/ionic/p-179b25d7.entry.js +0 -4
- package/dist/ionic/p-1ade69d2.entry.js +0 -4
- package/dist/ionic/p-1b7a15d4.entry.js +0 -4
- package/dist/ionic/p-207bdd52.entry.js +0 -4
- package/dist/ionic/p-2090c9dd.entry.js +0 -4
- package/dist/ionic/p-21695669.entry.js +0 -4
- package/dist/ionic/p-2687e36e.entry.js +0 -4
- package/dist/ionic/p-27c5a761.entry.js +0 -4
- package/dist/ionic/p-2b7d88a2.entry.js +0 -4
- package/dist/ionic/p-30b31038.entry.js +0 -4
- package/dist/ionic/p-35ba2f57.entry.js +0 -4
- package/dist/ionic/p-35f6b2c2.entry.js +0 -4
- package/dist/ionic/p-42602b39.entry.js +0 -4
- package/dist/ionic/p-45b89e66.entry.js +0 -4
- package/dist/ionic/p-465331aa.entry.js +0 -4
- package/dist/ionic/p-4df1b117.entry.js +0 -4
- package/dist/ionic/p-4fca5021.entry.js +0 -4
- package/dist/ionic/p-580719a5.entry.js +0 -4
- package/dist/ionic/p-5d84aaf7.entry.js +0 -4
- package/dist/ionic/p-6031e8ec.entry.js +0 -4
- package/dist/ionic/p-66adc5a1.entry.js +0 -4
- package/dist/ionic/p-6a746af4.entry.js +0 -4
- package/dist/ionic/p-6e7d46fa.entry.js +0 -4
- package/dist/ionic/p-6f48a2ef.entry.js +0 -4
- package/dist/ionic/p-73865b4d.entry.js +0 -4
- package/dist/ionic/p-79e645bd.entry.js +0 -4
- package/dist/ionic/p-B9cO-kYV.js +0 -4
- package/dist/ionic/p-BGtO2Fhf.js +0 -6
- package/dist/ionic/p-BSQPZ79H.js +0 -4
- package/dist/ionic/p-BmVRXR1y.js +0 -4
- package/dist/ionic/p-BmeHOspf.js +0 -4
- package/dist/ionic/p-BvabGprD.js +0 -4
- package/dist/ionic/p-CBq1CZwb.js +0 -4
- package/dist/ionic/p-CRgN46qV.js +0 -4
- package/dist/ionic/p-CYKfkI6i.js +0 -4
- package/dist/ionic/p-CjUT_VTP.js +0 -4
- package/dist/ionic/p-D-BSHro8.js +0 -4
- package/dist/ionic/p-D0_5-Ckh.js +0 -4
- package/dist/ionic/p-D3flizxM.js +0 -4
- package/dist/ionic/p-D5TRCRie.js +0 -4
- package/dist/ionic/p-DCzujr0Q.js +0 -4
- package/dist/ionic/p-DJqMQDf-.js +0 -4
- package/dist/ionic/p-DJztqcrH.js +0 -4
- package/dist/ionic/p-DRGrDfWv.js +0 -4
- package/dist/ionic/p-Djxbup9p.js +0 -4
- package/dist/ionic/p-Dqz9qh-H.js +0 -4
- package/dist/ionic/p-Dsf_kOyV.js +0 -4
- package/dist/ionic/p-SfKXFiOB.js +0 -4
- package/dist/ionic/p-UUJgswAN.js +0 -4
- package/dist/ionic/p-a6f903d7.entry.js +0 -4
- package/dist/ionic/p-b872f43e.entry.js +0 -4
- package/dist/ionic/p-bf720fd6.entry.js +0 -4
- package/dist/ionic/p-byZM6qHV.js +0 -4
- package/dist/ionic/p-c7315410.entry.js +0 -4
- package/dist/ionic/p-c976fea2.entry.js +0 -4
- package/dist/ionic/p-ca608663.entry.js +0 -4
- package/dist/ionic/p-cf03115e.entry.js +0 -4
- package/dist/ionic/p-d16a14d0.entry.js +0 -4
- package/dist/ionic/p-d3657292.entry.js +0 -4
- package/dist/ionic/p-ddc84221.entry.js +0 -4
- package/dist/ionic/p-de2BC0yO.js +0 -4
- package/dist/ionic/p-df9ebba7.entry.js +0 -4
- package/dist/ionic/p-e6vEFj_7.js +0 -4
- package/dist/ionic/p-e743b494.entry.js +0 -4
- package/dist/ionic/p-e9ec0336.entry.js +0 -4
- package/dist/ionic/p-eb00b546.entry.js +0 -4
- package/dist/ionic/p-edb64272.entry.js +0 -4
- package/dist/ionic/p-ee32fe1e.entry.js +0 -4
- package/dist/ionic/p-eebb7bda.entry.js +0 -4
- package/dist/ionic/p-f1522504.entry.js +0 -4
- package/dist/ionic/p-fb3ddd88.entry.js +0 -4
- package/dist/ionic/p-rXvVaOP9.js +0 -4
- /package/dist/collection/components/{input-password-toggle/input-password-toggle.css → refresher-content/refresher-content.css} +0 -0
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
var helpers = require('./helpers-BDvjDsXt.js');
|
|
7
|
-
var keyboard = require('./keyboard-OOIuCa13.js');
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* The element that resizes when the keyboard opens
|
|
11
|
-
* is going to depend on the resize mode
|
|
12
|
-
* which is why we check that here.
|
|
13
|
-
*/
|
|
14
|
-
const getResizeContainer = (resizeMode) => {
|
|
15
|
-
/**
|
|
16
|
-
* If doc is undefined then we are
|
|
17
|
-
* in an SSR environment, so the keyboard
|
|
18
|
-
* adjustment does not apply.
|
|
19
|
-
* If the webview does not resize then there
|
|
20
|
-
* is no container to resize.
|
|
21
|
-
*/
|
|
22
|
-
if (helpers.doc === undefined || resizeMode === keyboard.KeyboardResize.None || resizeMode === undefined) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* The three remaining resize modes: Native, Ionic, and Body
|
|
27
|
-
* all cause `ion-app` to resize, so we can listen for changes
|
|
28
|
-
* on that. In the event `ion-app` is not available then
|
|
29
|
-
* we can fall back to `body`.
|
|
30
|
-
*/
|
|
31
|
-
const ionApp = helpers.doc.querySelector('ion-app');
|
|
32
|
-
return ionApp ?? helpers.doc.body;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Get the height of ion-app or body.
|
|
36
|
-
* This is used for determining if the webview
|
|
37
|
-
* has resized before the keyboard closed.
|
|
38
|
-
* */
|
|
39
|
-
const getResizeContainerHeight = (resizeMode) => {
|
|
40
|
-
const containerElement = getResizeContainer(resizeMode);
|
|
41
|
-
return containerElement === null ? 0 : containerElement.clientHeight;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Creates a controller that tracks and reacts to opening or closing the keyboard.
|
|
45
|
-
*
|
|
46
|
-
* @internal
|
|
47
|
-
* @param keyboardChangeCallback A function to call when the keyboard opens or closes.
|
|
48
|
-
*/
|
|
49
|
-
const createKeyboardController = async (keyboardChangeCallback) => {
|
|
50
|
-
let keyboardWillShowHandler;
|
|
51
|
-
let keyboardWillHideHandler;
|
|
52
|
-
let keyboardVisible;
|
|
53
|
-
/**
|
|
54
|
-
* This lets us determine if the webview content
|
|
55
|
-
* has resized as a result of the keyboard.
|
|
56
|
-
*/
|
|
57
|
-
let initialResizeContainerHeight;
|
|
58
|
-
const init = async () => {
|
|
59
|
-
const resizeOptions = await keyboard.Keyboard.getResizeMode();
|
|
60
|
-
const resizeMode = resizeOptions === undefined ? undefined : resizeOptions.mode;
|
|
61
|
-
keyboardWillShowHandler = () => {
|
|
62
|
-
/**
|
|
63
|
-
* We need to compute initialResizeContainerHeight right before
|
|
64
|
-
* the keyboard opens to guarantee the resize container is visible.
|
|
65
|
-
* The resize container may not be visible if we compute this
|
|
66
|
-
* as soon as the keyboard controller is created.
|
|
67
|
-
* We should only need to do this once to avoid additional clientHeight
|
|
68
|
-
* computations.
|
|
69
|
-
*/
|
|
70
|
-
if (initialResizeContainerHeight === undefined) {
|
|
71
|
-
initialResizeContainerHeight = getResizeContainerHeight(resizeMode);
|
|
72
|
-
}
|
|
73
|
-
keyboardVisible = true;
|
|
74
|
-
fireChangeCallback(keyboardVisible, resizeMode);
|
|
75
|
-
};
|
|
76
|
-
keyboardWillHideHandler = () => {
|
|
77
|
-
keyboardVisible = false;
|
|
78
|
-
fireChangeCallback(keyboardVisible, resizeMode);
|
|
79
|
-
};
|
|
80
|
-
helpers.win?.addEventListener('keyboardWillShow', keyboardWillShowHandler);
|
|
81
|
-
helpers.win?.addEventListener('keyboardWillHide', keyboardWillHideHandler);
|
|
82
|
-
};
|
|
83
|
-
const fireChangeCallback = (state, resizeMode) => {
|
|
84
|
-
if (keyboardChangeCallback) {
|
|
85
|
-
keyboardChangeCallback(state, createResizePromiseIfNeeded(resizeMode));
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Code responding to keyboard lifecycles may need
|
|
90
|
-
* to show/hide content once the webview has
|
|
91
|
-
* resized as a result of the keyboard showing/hiding.
|
|
92
|
-
* createResizePromiseIfNeeded provides a way for code to wait for the
|
|
93
|
-
* resize event that was triggered as a result of the keyboard.
|
|
94
|
-
*/
|
|
95
|
-
const createResizePromiseIfNeeded = (resizeMode) => {
|
|
96
|
-
if (
|
|
97
|
-
/**
|
|
98
|
-
* If we are in an SSR environment then there is
|
|
99
|
-
* no window to resize. Additionally, if there
|
|
100
|
-
* is no resize mode or the resize mode is "None"
|
|
101
|
-
* then initialResizeContainerHeight will be 0
|
|
102
|
-
*/
|
|
103
|
-
initialResizeContainerHeight === 0 ||
|
|
104
|
-
/**
|
|
105
|
-
* If the keyboard is closed before the webview resizes initially
|
|
106
|
-
* then the webview will never resize.
|
|
107
|
-
*/
|
|
108
|
-
initialResizeContainerHeight === getResizeContainerHeight(resizeMode)) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Get the resize container so we can
|
|
113
|
-
* attach the ResizeObserver below to
|
|
114
|
-
* the correct element.
|
|
115
|
-
*/
|
|
116
|
-
const containerElement = getResizeContainer(resizeMode);
|
|
117
|
-
if (containerElement === null) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Some part of the web content should resize,
|
|
122
|
-
* and we need to listen for a resize.
|
|
123
|
-
*/
|
|
124
|
-
return new Promise((resolve) => {
|
|
125
|
-
const callback = () => {
|
|
126
|
-
/**
|
|
127
|
-
* As per the spec, the ResizeObserver
|
|
128
|
-
* will fire when observation starts if
|
|
129
|
-
* the observed element is rendered and does not
|
|
130
|
-
* have a size of 0 x 0. However, the watched element
|
|
131
|
-
* may or may not have resized by the time this first
|
|
132
|
-
* callback is fired. As a result, we need to check
|
|
133
|
-
* the dimensions of the element.
|
|
134
|
-
*
|
|
135
|
-
* https://www.w3.org/TR/resize-observer/#intro
|
|
136
|
-
*/
|
|
137
|
-
if (containerElement.clientHeight === initialResizeContainerHeight) {
|
|
138
|
-
/**
|
|
139
|
-
* The resize happened, so stop listening
|
|
140
|
-
* for resize on this element.
|
|
141
|
-
*/
|
|
142
|
-
ro.disconnect();
|
|
143
|
-
resolve();
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* In Capacitor there can be delay between when the window
|
|
148
|
-
* resizes and when the container element resizes, so we cannot
|
|
149
|
-
* rely on a 'resize' event listener on the window.
|
|
150
|
-
* Instead, we need to determine when the container
|
|
151
|
-
* element resizes using a ResizeObserver.
|
|
152
|
-
*/
|
|
153
|
-
const ro = new ResizeObserver(callback);
|
|
154
|
-
ro.observe(containerElement);
|
|
155
|
-
});
|
|
156
|
-
};
|
|
157
|
-
const destroy = () => {
|
|
158
|
-
helpers.win?.removeEventListener('keyboardWillShow', keyboardWillShowHandler);
|
|
159
|
-
helpers.win?.removeEventListener('keyboardWillHide', keyboardWillHideHandler);
|
|
160
|
-
keyboardWillShowHandler = keyboardWillHideHandler = undefined;
|
|
161
|
-
};
|
|
162
|
-
const isKeyboardVisible = () => keyboardVisible;
|
|
163
|
-
await init();
|
|
164
|
-
return { init, destroy, isKeyboardVisible };
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
exports.createKeyboardController = createKeyboardController;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Checks if the form element is in an invalid state based on
|
|
8
|
-
* Ionic validation classes.
|
|
9
|
-
*
|
|
10
|
-
* @param el The form element to check.
|
|
11
|
-
* @returns `true` if the element is invalid, `false` otherwise.
|
|
12
|
-
*/
|
|
13
|
-
const checkInvalidState = (el) => {
|
|
14
|
-
const hasIonTouched = el.classList.contains('ion-touched');
|
|
15
|
-
const hasIonInvalid = el.classList.contains('ion-invalid');
|
|
16
|
-
return hasIonTouched && hasIonInvalid;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
exports.checkInvalidState = checkInvalidState;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
const ION_FOCUSED = 'ion-focused';
|
|
5
|
-
const ION_FOCUSABLE = 'ion-focusable';
|
|
6
|
-
const FOCUS_KEYS = [
|
|
7
|
-
'Tab',
|
|
8
|
-
'ArrowDown',
|
|
9
|
-
'Space',
|
|
10
|
-
'Escape',
|
|
11
|
-
' ',
|
|
12
|
-
'Shift',
|
|
13
|
-
'Enter',
|
|
14
|
-
'ArrowLeft',
|
|
15
|
-
'ArrowRight',
|
|
16
|
-
'ArrowUp',
|
|
17
|
-
'Home',
|
|
18
|
-
'End',
|
|
19
|
-
];
|
|
20
|
-
const startFocusVisible = (rootEl) => {
|
|
21
|
-
let currentFocus = [];
|
|
22
|
-
let keyboardMode = true;
|
|
23
|
-
const ref = rootEl ? rootEl.shadowRoot : document;
|
|
24
|
-
const root = rootEl ? rootEl : document.body;
|
|
25
|
-
const setFocus = (elements) => {
|
|
26
|
-
currentFocus.forEach((el) => el.classList.remove(ION_FOCUSED));
|
|
27
|
-
elements.forEach((el) => el.classList.add(ION_FOCUSED));
|
|
28
|
-
currentFocus = elements;
|
|
29
|
-
};
|
|
30
|
-
const pointerDown = () => {
|
|
31
|
-
keyboardMode = false;
|
|
32
|
-
setFocus([]);
|
|
33
|
-
};
|
|
34
|
-
const onKeydown = (ev) => {
|
|
35
|
-
keyboardMode = FOCUS_KEYS.includes(ev.key);
|
|
36
|
-
if (!keyboardMode) {
|
|
37
|
-
setFocus([]);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const onFocusin = (ev) => {
|
|
41
|
-
if (keyboardMode && ev.composedPath !== undefined) {
|
|
42
|
-
const toFocus = ev.composedPath().filter((el) => {
|
|
43
|
-
// TODO(FW-2832): type
|
|
44
|
-
if (el.classList) {
|
|
45
|
-
return el.classList.contains(ION_FOCUSABLE);
|
|
46
|
-
}
|
|
47
|
-
return false;
|
|
48
|
-
});
|
|
49
|
-
setFocus(toFocus);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
const onFocusout = () => {
|
|
53
|
-
if (ref.activeElement === root) {
|
|
54
|
-
setFocus([]);
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
ref.addEventListener('keydown', onKeydown);
|
|
58
|
-
ref.addEventListener('focusin', onFocusin);
|
|
59
|
-
ref.addEventListener('focusout', onFocusout);
|
|
60
|
-
ref.addEventListener('touchstart', pointerDown, { passive: true });
|
|
61
|
-
ref.addEventListener('mousedown', pointerDown);
|
|
62
|
-
const destroy = () => {
|
|
63
|
-
ref.removeEventListener('keydown', onKeydown);
|
|
64
|
-
ref.removeEventListener('focusin', onFocusin);
|
|
65
|
-
ref.removeEventListener('focusout', onFocusout);
|
|
66
|
-
ref.removeEventListener('touchstart', pointerDown);
|
|
67
|
-
ref.removeEventListener('mousedown', pointerDown);
|
|
68
|
-
};
|
|
69
|
-
return {
|
|
70
|
-
destroy,
|
|
71
|
-
setFocus,
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
export { startFocusVisible };
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { i as config, l as configFromURL, m as configFromSession, n as saveConfig, o as getMode, q as setMode, a as printIonWarning } from './index-BGtO2Fhf.js';
|
|
5
|
-
|
|
6
|
-
const getPlatforms = (win) => setupPlatforms(win);
|
|
7
|
-
const isPlatform = (winOrPlatform, platform) => {
|
|
8
|
-
if (typeof winOrPlatform === 'string') {
|
|
9
|
-
platform = winOrPlatform;
|
|
10
|
-
winOrPlatform = undefined;
|
|
11
|
-
}
|
|
12
|
-
return getPlatforms(winOrPlatform).includes(platform);
|
|
13
|
-
};
|
|
14
|
-
const setupPlatforms = (win = window) => {
|
|
15
|
-
if (typeof win === 'undefined') {
|
|
16
|
-
return [];
|
|
17
|
-
}
|
|
18
|
-
win.Ionic = win.Ionic || {};
|
|
19
|
-
let platforms = win.Ionic.platforms;
|
|
20
|
-
if (platforms == null) {
|
|
21
|
-
platforms = win.Ionic.platforms = detectPlatforms(win);
|
|
22
|
-
platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
|
|
23
|
-
}
|
|
24
|
-
return platforms;
|
|
25
|
-
};
|
|
26
|
-
const detectPlatforms = (win) => {
|
|
27
|
-
const customPlatformMethods = config.get('platform');
|
|
28
|
-
return Object.keys(PLATFORMS_MAP).filter((p) => {
|
|
29
|
-
const customMethod = customPlatformMethods?.[p];
|
|
30
|
-
return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
|
|
34
|
-
const isIpad = (win) => {
|
|
35
|
-
// iOS 12 and below
|
|
36
|
-
if (testUserAgent(win, /iPad/i)) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
// iOS 13+
|
|
40
|
-
if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
return false;
|
|
44
|
-
};
|
|
45
|
-
const isIphone = (win) => testUserAgent(win, /iPhone/i);
|
|
46
|
-
const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
|
|
47
|
-
const isAndroid = (win) => testUserAgent(win, /android|sink/i);
|
|
48
|
-
const isAndroidTablet = (win) => {
|
|
49
|
-
return isAndroid(win) && !testUserAgent(win, /mobile/i);
|
|
50
|
-
};
|
|
51
|
-
const isPhablet = (win) => {
|
|
52
|
-
const width = win.innerWidth;
|
|
53
|
-
const height = win.innerHeight;
|
|
54
|
-
const smallest = Math.min(width, height);
|
|
55
|
-
const largest = Math.max(width, height);
|
|
56
|
-
return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
|
|
57
|
-
};
|
|
58
|
-
const isTablet = (win) => {
|
|
59
|
-
const width = win.innerWidth;
|
|
60
|
-
const height = win.innerHeight;
|
|
61
|
-
const smallest = Math.min(width, height);
|
|
62
|
-
const largest = Math.max(width, height);
|
|
63
|
-
return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
|
|
64
|
-
};
|
|
65
|
-
const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
|
|
66
|
-
const isDesktop = (win) => !isMobile(win);
|
|
67
|
-
const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
|
|
68
|
-
const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
|
|
69
|
-
const isCapacitorNative = (win) => {
|
|
70
|
-
const capacitor = win['Capacitor'];
|
|
71
|
-
return !!capacitor?.isNativePlatform?.();
|
|
72
|
-
};
|
|
73
|
-
const isElectron = (win) => testUserAgent(win, /electron/i);
|
|
74
|
-
const isPWA = (win) => !!(win.matchMedia?.('(display-mode: standalone)').matches || win.navigator.standalone);
|
|
75
|
-
const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
|
|
76
|
-
const matchMedia = (win, query) => win.matchMedia?.(query).matches;
|
|
77
|
-
const PLATFORMS_MAP = {
|
|
78
|
-
ipad: isIpad,
|
|
79
|
-
iphone: isIphone,
|
|
80
|
-
ios: isIOS,
|
|
81
|
-
android: isAndroid,
|
|
82
|
-
phablet: isPhablet,
|
|
83
|
-
tablet: isTablet,
|
|
84
|
-
cordova: isCordova,
|
|
85
|
-
capacitor: isCapacitorNative,
|
|
86
|
-
electron: isElectron,
|
|
87
|
-
pwa: isPWA,
|
|
88
|
-
mobile: isMobile,
|
|
89
|
-
mobileweb: isMobileWeb,
|
|
90
|
-
desktop: isDesktop,
|
|
91
|
-
hybrid: isHybrid,
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
// TODO(FW-2832): types
|
|
95
|
-
let defaultMode;
|
|
96
|
-
const getIonMode = (ref) => {
|
|
97
|
-
return (ref && getMode(ref)) || defaultMode;
|
|
98
|
-
};
|
|
99
|
-
const initialize = (userConfig = {}) => {
|
|
100
|
-
if (typeof window === 'undefined') {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
const doc = window.document;
|
|
104
|
-
const win = window;
|
|
105
|
-
const Ionic = (win.Ionic = win.Ionic || {});
|
|
106
|
-
// create the Ionic.config from raw config object (if it exists)
|
|
107
|
-
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
108
|
-
const configObj = {
|
|
109
|
-
...configFromSession(win),
|
|
110
|
-
persistConfig: false,
|
|
111
|
-
...Ionic.config,
|
|
112
|
-
...configFromURL(win),
|
|
113
|
-
...userConfig,
|
|
114
|
-
};
|
|
115
|
-
config.reset(configObj);
|
|
116
|
-
if (config.getBoolean('persistConfig')) {
|
|
117
|
-
saveConfig(win, configObj);
|
|
118
|
-
}
|
|
119
|
-
// Setup platforms
|
|
120
|
-
setupPlatforms(win);
|
|
121
|
-
// first see if the mode was set as an attribute on <html>
|
|
122
|
-
// which could have been set by the user, or by pre-rendering
|
|
123
|
-
// otherwise get the mode via config settings, and fallback to md
|
|
124
|
-
Ionic.config = config;
|
|
125
|
-
Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
|
|
126
|
-
config.set('mode', defaultMode);
|
|
127
|
-
doc.documentElement.setAttribute('mode', defaultMode);
|
|
128
|
-
doc.documentElement.classList.add(defaultMode);
|
|
129
|
-
if (config.getBoolean('_testing')) {
|
|
130
|
-
config.set('animated', false);
|
|
131
|
-
}
|
|
132
|
-
const isIonicElement = (elm) => elm.tagName?.startsWith('ION-');
|
|
133
|
-
const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
|
|
134
|
-
setMode((elm) => {
|
|
135
|
-
while (elm) {
|
|
136
|
-
const elmMode = elm.mode || elm.getAttribute('mode');
|
|
137
|
-
if (elmMode) {
|
|
138
|
-
if (isAllowedIonicModeValue(elmMode)) {
|
|
139
|
-
return elmMode;
|
|
140
|
-
}
|
|
141
|
-
else if (isIonicElement(elm)) {
|
|
142
|
-
printIonWarning('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
elm = elm.parentElement;
|
|
146
|
-
}
|
|
147
|
-
return defaultMode;
|
|
148
|
-
});
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
export { isPlatform as a, getIonMode as b, getPlatforms as g, initialize as i };
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { w as win, n as doc } from './helpers-BvbUHGGm.js';
|
|
5
|
-
import { K as Keyboard, a as KeyboardResize } from './keyboard-BFjnkNMv.js';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* The element that resizes when the keyboard opens
|
|
9
|
-
* is going to depend on the resize mode
|
|
10
|
-
* which is why we check that here.
|
|
11
|
-
*/
|
|
12
|
-
const getResizeContainer = (resizeMode) => {
|
|
13
|
-
/**
|
|
14
|
-
* If doc is undefined then we are
|
|
15
|
-
* in an SSR environment, so the keyboard
|
|
16
|
-
* adjustment does not apply.
|
|
17
|
-
* If the webview does not resize then there
|
|
18
|
-
* is no container to resize.
|
|
19
|
-
*/
|
|
20
|
-
if (doc === undefined || resizeMode === KeyboardResize.None || resizeMode === undefined) {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The three remaining resize modes: Native, Ionic, and Body
|
|
25
|
-
* all cause `ion-app` to resize, so we can listen for changes
|
|
26
|
-
* on that. In the event `ion-app` is not available then
|
|
27
|
-
* we can fall back to `body`.
|
|
28
|
-
*/
|
|
29
|
-
const ionApp = doc.querySelector('ion-app');
|
|
30
|
-
return ionApp ?? doc.body;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Get the height of ion-app or body.
|
|
34
|
-
* This is used for determining if the webview
|
|
35
|
-
* has resized before the keyboard closed.
|
|
36
|
-
* */
|
|
37
|
-
const getResizeContainerHeight = (resizeMode) => {
|
|
38
|
-
const containerElement = getResizeContainer(resizeMode);
|
|
39
|
-
return containerElement === null ? 0 : containerElement.clientHeight;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Creates a controller that tracks and reacts to opening or closing the keyboard.
|
|
43
|
-
*
|
|
44
|
-
* @internal
|
|
45
|
-
* @param keyboardChangeCallback A function to call when the keyboard opens or closes.
|
|
46
|
-
*/
|
|
47
|
-
const createKeyboardController = async (keyboardChangeCallback) => {
|
|
48
|
-
let keyboardWillShowHandler;
|
|
49
|
-
let keyboardWillHideHandler;
|
|
50
|
-
let keyboardVisible;
|
|
51
|
-
/**
|
|
52
|
-
* This lets us determine if the webview content
|
|
53
|
-
* has resized as a result of the keyboard.
|
|
54
|
-
*/
|
|
55
|
-
let initialResizeContainerHeight;
|
|
56
|
-
const init = async () => {
|
|
57
|
-
const resizeOptions = await Keyboard.getResizeMode();
|
|
58
|
-
const resizeMode = resizeOptions === undefined ? undefined : resizeOptions.mode;
|
|
59
|
-
keyboardWillShowHandler = () => {
|
|
60
|
-
/**
|
|
61
|
-
* We need to compute initialResizeContainerHeight right before
|
|
62
|
-
* the keyboard opens to guarantee the resize container is visible.
|
|
63
|
-
* The resize container may not be visible if we compute this
|
|
64
|
-
* as soon as the keyboard controller is created.
|
|
65
|
-
* We should only need to do this once to avoid additional clientHeight
|
|
66
|
-
* computations.
|
|
67
|
-
*/
|
|
68
|
-
if (initialResizeContainerHeight === undefined) {
|
|
69
|
-
initialResizeContainerHeight = getResizeContainerHeight(resizeMode);
|
|
70
|
-
}
|
|
71
|
-
keyboardVisible = true;
|
|
72
|
-
fireChangeCallback(keyboardVisible, resizeMode);
|
|
73
|
-
};
|
|
74
|
-
keyboardWillHideHandler = () => {
|
|
75
|
-
keyboardVisible = false;
|
|
76
|
-
fireChangeCallback(keyboardVisible, resizeMode);
|
|
77
|
-
};
|
|
78
|
-
win?.addEventListener('keyboardWillShow', keyboardWillShowHandler);
|
|
79
|
-
win?.addEventListener('keyboardWillHide', keyboardWillHideHandler);
|
|
80
|
-
};
|
|
81
|
-
const fireChangeCallback = (state, resizeMode) => {
|
|
82
|
-
if (keyboardChangeCallback) {
|
|
83
|
-
keyboardChangeCallback(state, createResizePromiseIfNeeded(resizeMode));
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Code responding to keyboard lifecycles may need
|
|
88
|
-
* to show/hide content once the webview has
|
|
89
|
-
* resized as a result of the keyboard showing/hiding.
|
|
90
|
-
* createResizePromiseIfNeeded provides a way for code to wait for the
|
|
91
|
-
* resize event that was triggered as a result of the keyboard.
|
|
92
|
-
*/
|
|
93
|
-
const createResizePromiseIfNeeded = (resizeMode) => {
|
|
94
|
-
if (
|
|
95
|
-
/**
|
|
96
|
-
* If we are in an SSR environment then there is
|
|
97
|
-
* no window to resize. Additionally, if there
|
|
98
|
-
* is no resize mode or the resize mode is "None"
|
|
99
|
-
* then initialResizeContainerHeight will be 0
|
|
100
|
-
*/
|
|
101
|
-
initialResizeContainerHeight === 0 ||
|
|
102
|
-
/**
|
|
103
|
-
* If the keyboard is closed before the webview resizes initially
|
|
104
|
-
* then the webview will never resize.
|
|
105
|
-
*/
|
|
106
|
-
initialResizeContainerHeight === getResizeContainerHeight(resizeMode)) {
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Get the resize container so we can
|
|
111
|
-
* attach the ResizeObserver below to
|
|
112
|
-
* the correct element.
|
|
113
|
-
*/
|
|
114
|
-
const containerElement = getResizeContainer(resizeMode);
|
|
115
|
-
if (containerElement === null) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Some part of the web content should resize,
|
|
120
|
-
* and we need to listen for a resize.
|
|
121
|
-
*/
|
|
122
|
-
return new Promise((resolve) => {
|
|
123
|
-
const callback = () => {
|
|
124
|
-
/**
|
|
125
|
-
* As per the spec, the ResizeObserver
|
|
126
|
-
* will fire when observation starts if
|
|
127
|
-
* the observed element is rendered and does not
|
|
128
|
-
* have a size of 0 x 0. However, the watched element
|
|
129
|
-
* may or may not have resized by the time this first
|
|
130
|
-
* callback is fired. As a result, we need to check
|
|
131
|
-
* the dimensions of the element.
|
|
132
|
-
*
|
|
133
|
-
* https://www.w3.org/TR/resize-observer/#intro
|
|
134
|
-
*/
|
|
135
|
-
if (containerElement.clientHeight === initialResizeContainerHeight) {
|
|
136
|
-
/**
|
|
137
|
-
* The resize happened, so stop listening
|
|
138
|
-
* for resize on this element.
|
|
139
|
-
*/
|
|
140
|
-
ro.disconnect();
|
|
141
|
-
resolve();
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* In Capacitor there can be delay between when the window
|
|
146
|
-
* resizes and when the container element resizes, so we cannot
|
|
147
|
-
* rely on a 'resize' event listener on the window.
|
|
148
|
-
* Instead, we need to determine when the container
|
|
149
|
-
* element resizes using a ResizeObserver.
|
|
150
|
-
*/
|
|
151
|
-
const ro = new ResizeObserver(callback);
|
|
152
|
-
ro.observe(containerElement);
|
|
153
|
-
});
|
|
154
|
-
};
|
|
155
|
-
const destroy = () => {
|
|
156
|
-
win?.removeEventListener('keyboardWillShow', keyboardWillShowHandler);
|
|
157
|
-
win?.removeEventListener('keyboardWillHide', keyboardWillHideHandler);
|
|
158
|
-
keyboardWillShowHandler = keyboardWillHideHandler = undefined;
|
|
159
|
-
};
|
|
160
|
-
const isKeyboardVisible = () => keyboardVisible;
|
|
161
|
-
await init();
|
|
162
|
-
return { init, destroy, isKeyboardVisible };
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
export { createKeyboardController as c };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Checks if the form element is in an invalid state based on
|
|
6
|
-
* Ionic validation classes.
|
|
7
|
-
*
|
|
8
|
-
* @param el The form element to check.
|
|
9
|
-
* @returns `true` if the element is invalid, `false` otherwise.
|
|
10
|
-
*/
|
|
11
|
-
const checkInvalidState = (el) => {
|
|
12
|
-
const hasIonTouched = el.classList.contains('ion-touched');
|
|
13
|
-
const hasIonInvalid = el.classList.contains('ion-invalid');
|
|
14
|
-
return hasIonTouched && hasIonInvalid;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { checkInvalidState as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,d as o,h as e,f as i,g as n,i as a,j as r}from"./p-BGtO2Fhf.js";import{c as s}from"./p-UUJgswAN.js";import{c as l}from"./p-byZM6qHV.js";import{b as d}from"./p-CjUT_VTP.js";import{c as b}from"./p-Djxbup9p.js";import{b as c}from"./p-de2BC0yO.js";import"./p-C7A9OQcL.js";import"./p-Dqz9qh-H.js";import"./p-Dj4J3LkD.js";const h=class{constructor(e){new.target===h&&t(this,e),this.ionTabBarChanged=o(this,"ionTabBarChanged",7),this.ionTabBarLoaded=o(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardCtrlPromise=null,this.didLoad=!1,this.keyboardVisible=!1,this.translucent=!1}selectedTabChanged(){this.didLoad&&void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentDidLoad(){this.ionTabBarLoaded.emit(),this.didLoad=!0,void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}async connectedCallback(){const t=s((async(t,o)=>{!1===t&&void 0!==o&&await o,this.keyboardVisible=t}));this.keyboardCtrlPromise=t;const o=await t;this.keyboardCtrlPromise===t?(this.keyboardCtrl=o,this.keyboardCtrlPromise=null):o.destroy()}disconnectedCallback(){this.keyboardCtrlPromise&&(this.keyboardCtrlPromise.then((t=>t.destroy())),this.keyboardCtrlPromise=null),this.keyboardCtrl&&(this.keyboardCtrl.destroy(),this.keyboardCtrl=null)}render(){const{color:t,translucent:o,keyboardVisible:n}=this,a=d(this),r=n&&"top"!==this.el.getAttribute("slot");return e(i,{key:"97c659a48ded6f6a8278bbaca9bda3225ee389eb",role:"tablist","aria-hidden":r?"true":null,class:l(t,{[a]:!0,"tab-bar-translucent":o,"tab-bar-hidden":r})},e("slot",{key:"1d52dd787a2380c079eaabb792a02e4800325dc7"}))}get el(){return n(this)}static get watchers(){return{selectedTab:[{selectedTabChanged:0}]}}};h.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}"};const p=class{constructor(e){new.target===p&&t(this,e),this.ionTabButtonClick=o(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.disabled=!1,this.selected=!1,this.onKeyUp=t=>{"Enter"!==t.key&&" "!==t.key||this.selectTab(t)},this.onClick=t=>{this.selectTab(t)}}onTabBarChanged(t){const o=t.target,e=this.el.parentElement;(t.composedPath().includes(e)||o?.contains(this.el))&&(this.selected=this.tab===t.detail.tab)}componentWillLoad(){this.inheritedAttributes={...c(this.el,["aria-label"])},this.tabindexController=b(this.el,(()=>r(this))),void 0===this.layout&&(this.layout=a.get("tabButtonLayout","icon-top"))}connectedCallback(){this.tabindexController?.init()}disconnectedCallback(){this.tabindexController?.destroy()}selectTab(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:o,hasLabel:n,href:a,rel:r,target:s,layout:l,selected:b,tab:c,inheritedAttributes:h}=this,p=d(this),g=this.tabindexController?.attributes.tabindex,u={download:this.download,href:a,rel:r,target:s};return e(i,{key:"dc6d13ee86841ffe48b5a2ec798947b6c3a4a8ea",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==c?`tab-button-${c}`:null,class:{[p]:!0,"tab-selected":b,"tab-disabled":t,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${l}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},e("a",{key:"ae431f1611f08a82fc7621f58dc8167b244662ff",...u,class:"button-native",part:"native",role:"tab","aria-selected":b?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":g,...h},e("span",{key:"20547a90d5d1e6ba1afd0272223f23d3bab10536",class:"button-inner"},e("slot",{key:"581060ca9763ad4a1ac282daf05f7f9114d715ed"})),"md"===p&&e("ion-ripple-effect",{key:"9410586aff452028a204689da0612345e3e68d07",type:"unbounded"})))}get el(){return n(this)}};p.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'};export{h as ion_tab_bar,p as ion_tab_button}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as i,h as e,f as s,g as a,d as o}from"./p-BGtO2Fhf.js";import{a as n}from"./p-DJqMQDf-.js";import"./p-de2BC0yO.js";import"./p-Dj4J3LkD.js";const h=class{constructor(i){new.target===h&&t(this,i),this.active=!1}async componentWillLoad(){this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(t){t&&this.prepareLazyLoaded().catch((t=>{i("[ion-tab] - Exception in prepareLazyLoaded:",t)}))}prepareLazyLoaded(){return null==this.component?Promise.resolve(void 0):(void 0===this.loadPromise&&(this.loadPromise=n(this.delegate,this.el,this.component,["ion-page"]).catch((t=>{throw this.loadPromise=void 0,t}))),this.loadPromise)}render(){const{tab:t,active:i,component:a}=this;return e(s,{key:"8c16ed02c7b4e2839866ee1bacb2ba423df7a0ea",role:"tabpanel","aria-hidden":i?null:"true","aria-labelledby":`tab-button-${t}`,class:{"ion-page":void 0===a,"tab-hidden":!i}},e("slot",{key:"27cef38176016a1d5eb7de578f131978e78b6e1c"}))}get el(){return a(this)}static get watchers(){return{active:[{changeActive:0}]}}};h.style=":host(.tab-hidden){display:none !important}";const r=class{constructor(i){new.target===r&&t(this,i),this.ionNavWillLoad=o(this,"ionNavWillLoad",7),this.ionTabsWillChange=o(this,"ionTabsWillChange",3),this.ionTabsDidChange=o(this,"ionTabsDidChange",3),this.transitioning=!1,this.useRouter=!1,this.onTabClicked=t=>{const{href:i,tab:e}=t.detail;if(this.useRouter&&void 0!==i){const t=document.querySelector("ion-router");t&&t.push(i)}else this.select(e)}}async componentWillLoad(){if(this.useRouter||(this.useRouter=!(!this.el.querySelector("ion-router-outlet")&&!document.querySelector("ion-router")||this.el.closest("[no-router]"))),!this.useRouter){const t=this.tabs;t.length>0&&await this.select(t[0])}this.ionNavWillLoad.emit()}componentDidLoad(){this.updateTabBar()}componentDidUpdate(){this.updateTabBar()}updateTabBar(){const t=this.el.querySelector("ion-tab-bar");if(!t)return;const i=this.selectedTab?this.selectedTab.tab:void 0;void 0!==i&&t.selectedTab!==i&&(t.selectedTab=i)}async select(t){const i=c(this.tabs,t);return!!this.shouldSwitch(i)&&(await this.setActive(i),await this.notifyRouter(),this.tabSwitch(),!0)}async getTab(t){return c(this.tabs,t)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}async setRouteId(t){const i=c(this.tabs,t);return this.shouldSwitch(i)?(await this.setActive(i),{changed:!0,element:this.selectedTab,markVisible:()=>this.tabSwitch()}):{changed:!1,element:this.selectedTab}}async getRouteId(){const t=this.selectedTab?.tab;return void 0!==t?{id:t,element:this.selectedTab}:void 0}setActive(t){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=t,this.ionTabsWillChange.emit({tab:t.tab}),t.active=!0,this.updateTabBar(),Promise.resolve())}tabSwitch(){const t=this.selectedTab,i=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,t&&i!==t&&(i&&(i.active=!1),this.ionTabsDidChange.emit({tab:t.tab}))}notifyRouter(){if(this.useRouter){const t=document.querySelector("ion-router");if(t)return t.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(t){return void 0!==t&&t!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return e(s,{key:"5e0973b15b066d7836c62da6da419a65d92d2607",onIonTabButtonClick:this.onTabClicked},e("slot",{key:"f83f7df4370be199c3720dc78903e91ee9b40089",name:"top"}),e("div",{key:"e98e122a179630e5f16d845bd518364297eb4d8d",class:"tabs-inner"},e("slot",{key:"f906b9af0a642692712b4b1f20f3a7445b855ac3"})),e("slot",{key:"b4bac1a743a60a38a60b0c421f462590d2357c2e",name:"bottom"}))}get el(){return a(this)}},c=(t,e)=>{const s="string"==typeof e?t.find((t=>t.tab===e)):e;return s||i(`[ion-tabs] - Tab with id: "${s}" does not exist`),s};r.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}";export{h as ion_tab,r as ion_tabs}
|