@amwaljs/checkout-button 0.2.9 → 0.3.0
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/dist/checkout/checkout.esm.js +1 -2
- package/dist/checkout/index.esm.js +0 -2
- package/dist/checkout/p--tz3q7oD.js +4 -0
- package/dist/checkout/p-00e120c2.entry.js +1 -0
- package/dist/checkout/p-0363331c.entry.js +1 -0
- package/dist/checkout/p-0f731364.entry.js +4 -0
- package/dist/checkout/p-147541e8.entry.js +1 -0
- package/dist/checkout/p-16f51173.entry.js +1 -0
- package/dist/checkout/p-178c0495.entry.js +1 -0
- package/dist/checkout/p-1c08169f.entry.js +1 -0
- package/dist/checkout/p-1c6da25b.entry.js +1 -0
- package/dist/checkout/p-1dc3efa2.entry.js +1 -0
- package/dist/checkout/p-2383ebd8.entry.js +1 -0
- package/dist/checkout/p-25306802.entry.js +1 -0
- package/dist/checkout/p-26af1ebe.entry.js +1 -0
- package/dist/checkout/p-2768f09a.entry.js +1 -0
- package/dist/checkout/p-27fb8b9e.entry.js +1 -0
- package/dist/checkout/p-2c421f28.entry.js +1 -0
- package/dist/checkout/p-2dd918ca.entry.js +1 -0
- package/dist/checkout/p-2e366473.entry.js +1 -0
- package/dist/checkout/p-38f520fb.entry.js +1 -0
- package/dist/checkout/p-3a262c01.entry.js +1 -0
- package/dist/checkout/p-3c416dcd.entry.js +1 -0
- package/dist/checkout/p-418e3312.entry.js +1 -0
- package/dist/checkout/p-43c67eeb.entry.js +1 -0
- package/dist/checkout/p-44f2b201.entry.js +4 -0
- package/dist/checkout/p-470783cb.entry.js +1 -0
- package/dist/checkout/p-48c40063.entry.js +1 -0
- package/dist/checkout/p-490c7f14.entry.js +1 -0
- package/dist/checkout/p-493952b7.entry.js +1 -0
- package/dist/checkout/p-4de3b067.entry.js +1 -0
- package/dist/checkout/p-519c1a94.entry.js +1 -0
- package/dist/checkout/p-523f80de.entry.js +1 -0
- package/dist/checkout/p-5274360d.entry.js +1 -0
- package/dist/checkout/p-550a7fdf.entry.js +1 -0
- package/dist/checkout/p-5IcNt7MW.js +8 -0
- package/dist/checkout/p-5a2c8845.entry.js +7 -0
- package/dist/checkout/p-5d2b220e.entry.js +1 -0
- package/dist/checkout/p-60bbcf96.entry.js +1 -0
- package/dist/checkout/p-68738638.entry.js +1 -0
- package/dist/checkout/p-69233a7c.entry.js +1 -0
- package/dist/checkout/p-6a6a2461.entry.js +1 -0
- package/dist/checkout/p-6d4c0370.entry.js +1 -0
- package/dist/checkout/p-6f4a82d2.entry.js +1 -0
- package/dist/checkout/p-733767d9.entry.js +1 -0
- package/dist/checkout/p-77ebd92f.entry.js +1 -0
- package/dist/checkout/p-7YtNmL9y.js +4 -0
- package/dist/checkout/p-7a153eab.entry.js +4 -0
- package/dist/checkout/p-7c7e86fe.entry.js +1 -0
- package/dist/checkout/p-7d9ee602.entry.js +1 -0
- package/dist/checkout/p-7e3bc3c4.entry.js +1 -0
- package/dist/checkout/p-8427a296.entry.js +1 -0
- package/dist/checkout/p-870ec42b.entry.js +4 -0
- package/dist/checkout/p-890e9953.entry.js +1 -0
- package/dist/checkout/p-931d2424.entry.js +4 -0
- package/dist/checkout/p-93eb6dad.entry.js +1 -0
- package/dist/checkout/p-B-hirT0v.js +1 -2
- package/dist/checkout/p-B3WORC1a.js +1 -2
- package/dist/checkout/p-B7f9Wkif.js +1 -0
- package/dist/checkout/p-BJe8ISja.js +4 -0
- package/dist/checkout/p-BKaQyStq.js +5 -0
- package/dist/checkout/p-BR7SJd-v.js +2 -3
- package/dist/checkout/p-BTEOs1at.js +1 -2
- package/dist/checkout/p-BY0jsxmW.js +4 -0
- package/dist/checkout/p-B_Z54mfe.js +5 -0
- package/dist/checkout/p-Ba57PFgY.js +7 -0
- package/dist/checkout/p-BgOwfqIY.js +2 -6
- package/dist/checkout/p-BmVRXR1y.js +1 -2
- package/dist/checkout/p-BmlsNFZH.js +1 -2
- package/dist/checkout/p-C03M5ZSM.js +1 -2
- package/dist/checkout/p-C53feagD.js +1 -2
- package/dist/checkout/p-CAD1l928.js +8 -0
- package/dist/checkout/p-CFLSScFJ.js +4 -0
- package/dist/checkout/p-CH3Eg9_f.js +2 -9
- package/dist/checkout/p-CPoSEOHb.js +4 -0
- package/dist/checkout/p-CkCrVZwR.js +4 -0
- package/dist/checkout/p-D0wwuiQC.js +4 -0
- package/dist/checkout/p-D2NxOvQ8.js +2 -3
- package/dist/checkout/p-D4RIp70E.js +1 -2
- package/dist/checkout/p-DFxgipTc.js +4 -0
- package/dist/checkout/p-DJztqcrH.js +1 -2
- package/dist/checkout/p-DKg_dYcq.js +2 -3
- package/dist/checkout/p-DQmRrrcF.js +7 -0
- package/dist/checkout/p-DSLRCWTg.js +4 -0
- package/dist/checkout/p-DdmvYtPY.js +7 -0
- package/dist/checkout/p-DiVJyqlX.js +1 -2
- package/dist/checkout/p-Drg5BcI0.js +4 -0
- package/dist/checkout/p-Dtdm8lKC.js +1 -2
- package/dist/checkout/p-LsffVXQ5.js +4 -0
- package/dist/checkout/p-ZjP4CjeZ.js +1 -2
- package/dist/checkout/p-__1_zp1x.js +4 -0
- package/dist/checkout/p-a09d1040.entry.js +1 -0
- package/dist/checkout/p-a5f75741.entry.js +1 -0
- package/dist/checkout/p-ae30349d.entry.js +1 -0
- package/dist/checkout/p-afbe752e.entry.js +1 -0
- package/dist/checkout/p-b2e14651.entry.js +1 -0
- package/dist/checkout/p-b36fcda4.entry.js +1 -0
- package/dist/checkout/p-b67b736b.entry.js +1 -0
- package/dist/checkout/p-b7bf5abe.entry.js +1 -0
- package/dist/checkout/p-bb513178.entry.js +1 -0
- package/dist/checkout/p-bd4e1c37.entry.js +1 -0
- package/dist/checkout/p-beb2c33c.entry.js +1 -0
- package/dist/checkout/p-becc350d.entry.js +4 -0
- package/dist/checkout/p-c19dc56b.entry.js +1 -0
- package/dist/checkout/p-c1cbd33c.entry.js +1 -0
- package/dist/checkout/p-c34382ea.entry.js +1 -0
- package/dist/checkout/p-c4c9e530.entry.js +1 -0
- package/dist/checkout/p-c534dea9.entry.js +7 -0
- package/dist/checkout/p-c7978eb8.entry.js +4 -0
- package/dist/checkout/p-c8f6670e.entry.js +7 -0
- package/dist/checkout/p-cb1a44cc.entry.js +5 -0
- package/dist/checkout/p-cda0fb4e.entry.js +1 -0
- package/dist/checkout/p-cecfb55a.entry.js +1 -0
- package/dist/checkout/p-d819f4e4.entry.js +1 -0
- package/dist/checkout/p-dd2fe837.entry.js +1 -0
- package/dist/checkout/p-dfcadc7e.entry.js +7 -0
- package/dist/checkout/p-e37ae6e2.entry.js +1 -0
- package/dist/checkout/p-e8173bed.entry.js +21 -0
- package/dist/checkout/p-ead19b10.entry.js +1 -0
- package/dist/checkout/p-eae34719.entry.js +1 -0
- package/dist/checkout/p-eff08443.entry.js +1 -0
- package/dist/checkout/p-f0535bc6.entry.js +1 -0
- package/dist/checkout/p-fd971fbb.entry.js +1 -0
- package/dist/checkout/p-ff3211f5.entry.js +1 -0
- package/dist/checkout/p-hHmYLOfE.js +1 -2
- package/dist/checkout/p-ktzqax7n.js +1 -2
- package/dist/checkout/p-sObYyvOy.js +1 -2
- package/dist/checkout/p-vDXqvDVZ.js +8 -0
- package/dist/checkout/p-xxOnfNPU.js +9 -0
- package/dist/cjs/amwal-checkout-button_5.cjs.entry.js +85 -120
- package/dist/cjs/amwal-installments-guide.cjs.entry.js +1 -2
- package/dist/cjs/amwal-pos.cjs.entry.js +4 -3
- package/dist/cjs/amwal-widget-modal.cjs.entry.js +7 -4
- package/dist/cjs/amwal-widget.cjs.entry.js +10 -5
- package/dist/cjs/{animation-BtvIVax4.js → animation-DmZTzC07.js} +1 -4
- package/dist/cjs/app-globals-B6FjPa2t.js +7 -0
- package/dist/cjs/ar-CbT6TM-Q.js +0 -3
- package/dist/cjs/capacitor-CqhugS19.js +0 -3
- package/dist/cjs/checkout.cjs.js +5 -8
- package/dist/cjs/compare-with-utils-JlLIkecm.js +0 -3
- package/dist/cjs/{config-DUSoxbhv.js → config-DMigaw94.js} +1 -4
- package/dist/cjs/cubic-bezier-Bv3PvaRI.js +0 -3
- package/dist/cjs/{data-CjHlPfPW.js → data-C9NB5QNL.js} +1 -4
- package/dist/cjs/dir-Br-7_bel.js +0 -3
- package/dist/cjs/focus-visible-Da2o6bTP.js +0 -3
- package/dist/cjs/{framework-delegate-BoMy23Lz.js → framework-delegate-BFev42vk.js} +1 -4
- package/dist/cjs/gesture-controller-CiprlUhH.js +0 -3
- package/dist/cjs/haptic-DCn793nz.js +0 -3
- package/dist/cjs/{hardware-back-button-B1WYQg6m.js → hardware-back-button-CMceVPAk.js} +1 -4
- package/dist/cjs/{helpers-C5_WrFOI.js → helpers-VdS_U_Su.js} +1 -4
- package/dist/cjs/i18n-uGNv9SLK.js +0 -3
- package/dist/cjs/{index-DwdNl4cs.js → index-BQ9HVZwH.js} +2 -5
- package/dist/cjs/index-Calgykmz.js +0 -3
- package/dist/cjs/{index-C0J_JwJB.js → index-D1TvI2Ig.js} +2 -5
- package/dist/cjs/index-D3mJ1Cix.js +0 -3
- package/dist/cjs/{index-C3dD6F2g.js → index-DaUK-X4l.js} +5 -8
- package/dist/cjs/index-DseJYF57.js +0 -3
- package/dist/cjs/{index-C-U8a6CY.js → index-NREvOo92.js} +4 -7
- package/dist/cjs/{index-BPGqVQtz.js → index-q1-id3dG.js} +1708 -86
- package/dist/cjs/index.cjs.js +0 -3
- package/dist/cjs/{input-shims-DIBy37tN.js → input-shims-CJrPMP1S.js} +3 -6
- package/dist/cjs/{input.utils-IVavyQAZ.js → input.utils-D9hnMuNq.js} +2 -5
- package/dist/cjs/ion-accordion-group.cjs.entry.js +11 -6
- package/dist/cjs/ion-accordion.cjs.entry.js +6 -5
- package/dist/cjs/ion-action-sheet_5.cjs.entry.js +37 -20
- package/dist/cjs/ion-app.cjs.entry.js +7 -8
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -3
- package/dist/cjs/ion-badge.cjs.entry.js +2 -3
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +3 -4
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +11 -6
- package/dist/cjs/ion-buttons_10.cjs.entry.js +17 -10
- package/dist/cjs/ion-card-content.cjs.entry.js +2 -3
- package/dist/cjs/ion-card-header.cjs.entry.js +2 -3
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -3
- package/dist/cjs/ion-card-title.cjs.entry.js +2 -3
- package/dist/cjs/ion-card.cjs.entry.js +3 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -3
- package/dist/cjs/ion-col.cjs.entry.js +2 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -5
- package/dist/cjs/ion-datetime.cjs.entry.js +40 -19
- package/dist/cjs/ion-fab-button.cjs.entry.js +3 -4
- package/dist/cjs/ion-fab-list.cjs.entry.js +5 -4
- package/dist/cjs/ion-fab.cjs.entry.js +5 -4
- package/dist/cjs/ion-footer.cjs.entry.js +4 -5
- package/dist/cjs/ion-grid.cjs.entry.js +2 -3
- package/dist/cjs/ion-icon.cjs.entry.js +16 -7
- package/dist/cjs/ion-img.cjs.entry.js +6 -5
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +3 -4
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +10 -7
- package/dist/cjs/ion-input-otp.cjs.entry.js +12 -7
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +7 -6
- package/dist/cjs/ion-input.cjs.entry.js +17 -10
- package/dist/cjs/ion-item-divider.cjs.entry.js +2 -3
- package/dist/cjs/ion-item-group.cjs.entry.js +2 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +2 -3
- package/dist/cjs/ion-item-options.cjs.entry.js +3 -4
- package/dist/cjs/ion-item-sliding.cjs.entry.js +7 -6
- package/dist/cjs/ion-label_2.cjs.entry.js +8 -5
- package/dist/cjs/ion-loading.cjs.entry.js +14 -11
- package/dist/cjs/ion-menu-button.cjs.entry.js +7 -8
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -8
- package/dist/cjs/ion-menu.cjs.entry.js +20 -13
- package/dist/cjs/ion-nav-link.cjs.entry.js +1 -2
- package/dist/cjs/ion-nav.cjs.entry.js +12 -9
- package/dist/cjs/ion-note.cjs.entry.js +2 -3
- package/dist/cjs/ion-picker-legacy-column.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker-legacy.cjs.entry.js +13 -10
- package/dist/cjs/ion-picker_3.cjs.entry.js +12 -7
- package/dist/cjs/ion-popover.cjs.entry.js +17 -12
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -4
- package/dist/cjs/ion-range.cjs.entry.js +25 -12
- package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -7
- package/dist/cjs/ion-refresher.cjs.entry.js +9 -8
- package/dist/cjs/ion-reorder-group.cjs.entry.js +7 -6
- package/dist/cjs/ion-reorder.cjs.entry.js +2 -3
- package/dist/cjs/ion-route-redirect.cjs.entry.js +7 -4
- package/dist/cjs/ion-route.cjs.entry.js +10 -5
- package/dist/cjs/ion-router-link.cjs.entry.js +2 -3
- package/dist/cjs/ion-router-outlet.cjs.entry.js +9 -8
- package/dist/cjs/ion-router.cjs.entry.js +2 -3
- package/dist/cjs/ion-row.cjs.entry.js +2 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +18 -9
- package/dist/cjs/ion-segment-button.cjs.entry.js +6 -5
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -2
- package/dist/cjs/ion-segment.cjs.entry.js +15 -8
- package/dist/cjs/ion-select-option.cjs.entry.js +2 -3
- package/dist/cjs/ion-select.cjs.entry.js +19 -12
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +2 -3
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +11 -6
- package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/ion-tab-button.cjs.entry.js +3 -4
- package/dist/cjs/ion-tab.cjs.entry.js +6 -5
- package/dist/cjs/ion-tabs.cjs.entry.js +1 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +15 -12
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -3
- package/dist/cjs/ion-toast.cjs.entry.js +17 -12
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -5
- package/dist/cjs/{ionic-global-BmDUlKDf.js → ionic-global-tfENS075.js} +1 -4
- package/dist/cjs/{ios.transition-ROXYV2qt.js → ios.transition-EMvH3Tod.js} +4 -7
- package/dist/cjs/keyboard-DuKzsHsS.js +0 -3
- package/dist/cjs/keyboard-controller-rH21qC_2.js +0 -3
- package/dist/cjs/keyboard-iyHR2ZF4.js +0 -3
- package/dist/cjs/loader.cjs.js +4 -7
- package/dist/cjs/lock-controller-58TZFRHC.js +0 -3
- package/dist/cjs/{md.transition-NftVXx7D.js → md.transition-CwoQ7h7X.js} +4 -7
- package/dist/cjs/{menu-toggle-util-CROwv_aL.js → menu-toggle-util-By6-554q.js} +1 -4
- package/dist/cjs/{notch-controller-BzbZcc1N.js → notch-controller-DWw_ctSD.js} +1 -4
- package/dist/cjs/{overlays-gyJEvMkB.js → overlays-sgG7yBK9.js} +8 -9
- package/dist/cjs/{refresher.utils-DZrHDYQN.js → refresher.utils-CMKixJwj.js} +3 -6
- package/dist/cjs/spinner-configs-BN41iw42.js +0 -3
- package/dist/cjs/{status-tap-B5QfH5DO.js → status-tap-CdatiX6b.js} +3 -6
- package/dist/cjs/{swipe-back-BkT4j65k.js → swipe-back-D3MYxlFO.js} +2 -5
- package/dist/cjs/theme-DbHdw1Nx.js +0 -3
- package/dist/cjs/validity-ClNawnRU.js +0 -3
- package/dist/cjs/watch-options-DOFUPyuf.js +0 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.css +1 -1
- package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js +40 -55
- package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js +0 -1
- package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js +0 -1
- package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js +0 -1
- package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js +2 -3
- package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js +0 -1
- package/dist/collection/components/amwal-pos/amwal-pos.js +0 -1
- package/dist/collection/components/amwal-pos/amwal-pos.stories.js +0 -1
- package/dist/collection/components/amwal-widget/amwal-widget-modal.js +0 -1
- package/dist/collection/components/amwal-widget/amwal-widget.js +8 -7
- package/dist/collection/components/amwal-widget/amwal-widget.stories.js +0 -1
- package/dist/collection/lang/i18n.js +0 -1
- package/dist/components/amwal-checkout-button.js +1 -5375
- package/dist/components/amwal-installments-guide.js +1 -83
- package/dist/components/amwal-installments-timeline.js +1 -9
- package/dist/components/amwal-pos.js +1 -3670
- package/dist/components/amwal-widget-modal.js +1 -9
- package/dist/components/amwal-widget.js +1 -422
- package/dist/components/index.js +1 -9
- package/dist/components/ion-accordion-group.js +1 -271
- package/dist/components/ion-accordion.js +1 -459
- package/dist/components/ion-action-sheet.js +1 -9
- package/dist/components/ion-alert.js +1 -9
- package/dist/components/ion-app.js +1 -130
- package/dist/components/ion-avatar.js +1 -44
- package/dist/components/ion-back-button.js +1 -133
- package/dist/components/ion-backdrop.js +1 -9
- package/dist/components/ion-badge.js +1 -50
- package/dist/components/ion-breadcrumb.js +1 -140
- package/dist/components/ion-breadcrumbs.js +1 -167
- package/dist/components/ion-button.js +1 -9
- package/dist/components/ion-buttons.js +1 -9
- package/dist/components/ion-card-content.js +1 -48
- package/dist/components/ion-card-header.js +1 -59
- package/dist/components/ion-card-subtitle.js +1 -51
- package/dist/components/ion-card-title.js +1 -51
- package/dist/components/ion-card.js +1 -110
- package/dist/components/ion-checkbox.js +1 -9
- package/dist/components/ion-chip.js +1 -69
- package/dist/components/ion-col.js +2 -167
- package/dist/components/ion-content.js +1 -9
- package/dist/components/ion-datetime-button.js +1 -386
- package/dist/components/ion-datetime.js +2 -2051
- package/dist/components/ion-fab-button.js +1 -154
- package/dist/components/ion-fab-list.js +1 -69
- package/dist/components/ion-fab.js +1 -104
- package/dist/components/ion-footer.js +2 -163
- package/dist/components/ion-grid.js +1 -49
- package/dist/components/ion-header.js +1 -9
- package/dist/components/ion-icon.js +1 -9
- package/dist/components/ion-img.js +1 -127
- package/dist/components/ion-infinite-scroll-content.js +1 -72
- package/dist/components/ion-infinite-scroll.js +1 -239
- package/dist/components/ion-input-otp.js +1 -685
- package/dist/components/ion-input-password-toggle.js +1 -131
- package/dist/components/ion-input.js +1 -620
- package/dist/components/ion-item-divider.js +1 -62
- package/dist/components/ion-item-group.js +1 -49
- package/dist/components/ion-item-option.js +1 -94
- package/dist/components/ion-item-options.js +1 -76
- package/dist/components/ion-item-sliding.js +1 -460
- package/dist/components/ion-item.js +1 -9
- package/dist/components/ion-label.js +1 -9
- package/dist/components/ion-list-header.js +1 -9
- package/dist/components/ion-list.js +1 -9
- package/dist/components/ion-loading.js +3 -354
- package/dist/components/ion-menu-button.js +1 -112
- package/dist/components/ion-menu-toggle.js +1 -67
- package/dist/components/ion-menu.js +1 -744
- package/dist/components/ion-modal.js +1 -9
- package/dist/components/ion-nav-link.js +2 -68
- package/dist/components/ion-nav.js +2 -955
- package/dist/components/ion-note.js +1 -50
- package/dist/components/ion-picker-column-option.js +1 -9
- package/dist/components/ion-picker-column.js +1 -9
- package/dist/components/ion-picker-legacy-column.js +1 -9
- package/dist/components/ion-picker-legacy.js +3 -347
- package/dist/components/ion-picker.js +1 -9
- package/dist/components/ion-popover.js +1 -9
- package/dist/components/ion-progress-bar.js +1 -103
- package/dist/components/ion-radio-group.js +1 -9
- package/dist/components/ion-radio.js +1 -9
- package/dist/components/ion-range.js +2 -848
- package/dist/components/ion-refresher-content.js +1 -91
- package/dist/components/ion-refresher.js +1 -753
- package/dist/components/ion-reorder-group.js +1 -325
- package/dist/components/ion-reorder.js +1 -63
- package/dist/components/ion-ripple-effect.js +1 -9
- package/dist/components/ion-route-redirect.js +1 -48
- package/dist/components/ion-route.js +1 -77
- package/dist/components/ion-router-link.js +1 -64
- package/dist/components/ion-router-outlet.js +1 -229
- package/dist/components/ion-router.js +3 -857
- package/dist/components/ion-row.js +1 -39
- package/dist/components/ion-searchbar.js +1 -532
- package/dist/components/ion-segment-button.js +1 -176
- package/dist/components/ion-segment-content.js +1 -38
- package/dist/components/ion-segment-view.js +1 -145
- package/dist/components/ion-segment.js +1 -605
- package/dist/components/ion-select-modal.js +1 -9
- package/dist/components/ion-select-option.js +1 -49
- package/dist/components/ion-select-popover.js +1 -9
- package/dist/components/ion-select.js +1 -1038
- package/dist/components/ion-skeleton-text.js +1 -67
- package/dist/components/ion-spinner.js +1 -9
- package/dist/components/ion-split-pane.js +1 -193
- package/dist/components/ion-tab-bar.js +1 -118
- package/dist/components/ion-tab-button.js +1 -130
- package/dist/components/ion-tab.js +1 -85
- package/dist/components/ion-tabs.js +1 -207
- package/dist/components/ion-text.js +1 -9
- package/dist/components/ion-textarea.js +1 -559
- package/dist/components/ion-thumbnail.js +1 -39
- package/dist/components/ion-title.js +1 -9
- package/dist/components/ion-toast.js +3 -955
- package/dist/components/ion-toggle.js +1 -363
- package/dist/components/ion-toolbar.js +1 -9
- package/dist/components/p-1a8GRr4X.js +8 -0
- package/dist/components/p-84v5d37k.js +5 -0
- package/dist/components/p-8qbKOEwg.js +7 -0
- package/dist/components/p-B-hirT0v.js +1 -38
- package/dist/components/p-B2pBbmZL.js +1 -0
- package/dist/components/p-B3WORC1a.js +1 -47
- package/dist/components/p-B6K4Vevt.js +1 -0
- package/dist/components/p-B8CJYukv.js +4 -0
- package/dist/components/p-B8rkbvHJ.js +4 -0
- package/dist/components/p-BB452BOr.js +1 -0
- package/dist/components/p-BGU8Nymd.js +1 -0
- package/dist/components/p-BHQVufb8.js +4 -0
- package/dist/components/p-BNXO_6OD.js +1 -0
- package/dist/components/p-BTEOs1at.js +1 -195
- package/dist/components/p-BU2g75_N.js +1 -0
- package/dist/components/p-BYPhePqa.js +4 -0
- package/dist/components/p-Bam2tSRs.js +1 -0
- package/dist/components/p-BgOwfqIY.js +2 -83
- package/dist/components/p-BgdIJBVf.js +4 -0
- package/dist/components/p-BgihAYme.js +7 -0
- package/dist/components/p-BmVRXR1y.js +1 -75
- package/dist/components/p-BxP8TDfL.js +2 -159
- package/dist/components/p-ByfqFtWT.js +1 -0
- package/dist/components/p-Bz350JGF.js +7 -0
- package/dist/components/p-C-A_jB82.js +4 -0
- package/dist/components/p-C03M5ZSM.js +1 -16
- package/dist/components/p-C53feagD.js +1 -18
- package/dist/components/p-CECOogQN.js +4 -0
- package/dist/components/p-CH3Eg9_f.js +3 -463
- package/dist/components/p-CQOdiSAf.js +1 -0
- package/dist/components/p-CUAFXzfF.js +1 -0
- package/dist/components/p-C_xZxwXS.js +1 -0
- package/dist/components/p-CaFnxdQd.js +1 -0
- package/dist/components/p-CoO47q0D.js +7 -0
- package/dist/components/p-D2NxOvQ8.js +2 -14
- package/dist/components/p-DDc_C9oA.js +7 -0
- package/dist/components/p-DIdQsHkC.js +4 -0
- package/dist/components/p-DJDxJDy6.js +1 -0
- package/dist/components/p-DJztqcrH.js +1 -17
- package/dist/components/p-DK1OQn93.js +1 -0
- package/dist/components/p-DKg_dYcq.js +2 -166
- package/dist/components/p-DMTBSB3x.js +1 -0
- package/dist/components/p-DQAmWfm1.js +8 -0
- package/dist/components/p-DR2jvB6s.js +4 -0
- package/dist/components/p-DRov8Rcu.js +4 -0
- package/dist/components/p-DVAa5Ick.js +1 -0
- package/dist/components/p-DXFVmcjn.js +1 -0
- package/dist/components/p-DYhpoJMW.js +4 -0
- package/dist/components/p-Db1yB4_h.js +4 -0
- package/dist/components/p-DcJzInl-.js +4 -0
- package/dist/components/p-DexEOBMU.js +8 -0
- package/dist/components/p-DiVJyqlX.js +1 -43
- package/dist/components/p-DjZwclUS.js +5 -0
- package/dist/components/p-DokQbOf0.js +7 -0
- package/dist/components/p-Dtdm8lKC.js +1 -47
- package/dist/components/p-DuZ7hY1a.js +2 -145
- package/dist/components/p-Dzmy2KMF.js +8 -0
- package/dist/components/p-GqmIVAr9.js +1 -0
- package/dist/components/p-RvBk4hGw.js +1 -0
- package/dist/components/p-RxmIKEEQ.js +1 -0
- package/dist/components/p-ZjP4CjeZ.js +1 -7
- package/dist/components/p-hHmYLOfE.js +1 -90
- package/dist/components/p-jWFeuAB5.js +1 -32
- package/dist/components/p-kYICRcU6.js +1 -0
- package/dist/components/p-lwDXTYn3.js +4 -0
- package/dist/components/p-oMX-ZLwD.js +4 -0
- package/dist/components/p-oThWliBi.js +4 -0
- package/dist/components/p-pUVFzc0m.js +4 -0
- package/dist/components/p-uBkJJD7w.js +1 -0
- package/dist/components/p-wRbQpgeV.js +1 -0
- package/dist/components/p-zVHkqcTn.js +4 -0
- package/dist/esm/amwal-checkout-button_5.entry.js +85 -120
- package/dist/esm/amwal-installments-guide.entry.js +1 -2
- package/dist/esm/amwal-pos.entry.js +4 -3
- package/dist/esm/amwal-widget-modal.entry.js +7 -4
- package/dist/esm/amwal-widget.entry.js +10 -5
- package/dist/esm/{animation-BU4GfyJQ.js → animation-Cdsew5KM.js} +1 -4
- package/dist/esm/app-globals-qL1LLHNB.js +5 -0
- package/dist/esm/ar-B3WORC1a.js +0 -3
- package/dist/esm/capacitor-CG3xQUND.js +0 -3
- package/dist/esm/checkout.js +6 -9
- package/dist/esm/compare-with-utils-sObYyvOy.js +0 -3
- package/dist/{components/p-uTKLFBBy.js → esm/config-CnpuADYS.js} +1 -4
- package/dist/esm/cubic-bezier-hHmYLOfE.js +0 -3
- package/dist/esm/{data-BKjeovce.js → data-u308JruM.js} +1 -4
- package/dist/esm/dir-C53feagD.js +0 -3
- package/dist/esm/focus-visible-BmVRXR1y.js +0 -3
- package/dist/{components/p-9R9WjA6V.js → esm/framework-delegate-29_VtSmv.js} +1 -4
- package/dist/esm/gesture-controller-BTEOs1at.js +0 -3
- package/dist/esm/haptic-C3ucbArX.js +0 -3
- package/dist/esm/{hardware-back-button-Nry6hGkN.js → hardware-back-button-DRef5MPc.js} +1 -4
- package/dist/esm/{helpers-uLqs1Gao.js → helpers-BuFc0hrS.js} +1 -4
- package/dist/esm/i18n-C_AfxZ5D.js +0 -3
- package/dist/esm/index-BmlsNFZH.js +0 -3
- package/dist/esm/index-CF4QYFB3.js +0 -3
- package/dist/esm/{index-CCWf5GQy.js → index-DoRYA1qF.js} +4 -7
- package/dist/esm/{index-Ct7Rjd6t.js → index-Dph-Z83P.js} +5 -8
- package/dist/esm/{index-BmWsedvI.js → index-J3a2mue2.js} +2 -5
- package/dist/esm/{index-ffNEk55Y.js → index-Ul_idjjE.js} +2 -5
- package/dist/esm/index-ZjP4CjeZ.js +0 -3
- package/dist/esm/{index-BxybgBKJ.js → index-xxOnfNPU.js} +1708 -86
- package/dist/esm/index.js +0 -3
- package/dist/esm/{input-shims-DkzcZwWm.js → input-shims-D1Cdl4JQ.js} +3 -6
- package/dist/esm/{input.utils-C_QovwBX.js → input.utils-CEeVIfb9.js} +2 -5
- package/dist/esm/ion-accordion-group.entry.js +11 -6
- package/dist/esm/ion-accordion.entry.js +6 -5
- package/dist/esm/ion-action-sheet_5.entry.js +37 -20
- package/dist/esm/ion-app.entry.js +7 -8
- package/dist/esm/ion-avatar.entry.js +2 -3
- package/dist/esm/ion-back-button.entry.js +3 -4
- package/dist/esm/ion-backdrop.entry.js +2 -3
- package/dist/esm/ion-badge.entry.js +2 -3
- package/dist/esm/ion-breadcrumb.entry.js +3 -4
- package/dist/esm/ion-breadcrumbs.entry.js +11 -6
- package/dist/esm/ion-buttons_10.entry.js +17 -10
- package/dist/esm/ion-card-content.entry.js +2 -3
- package/dist/esm/ion-card-header.entry.js +2 -3
- package/dist/esm/ion-card-subtitle.entry.js +2 -3
- package/dist/esm/ion-card-title.entry.js +2 -3
- package/dist/esm/ion-card.entry.js +3 -4
- package/dist/esm/ion-chip.entry.js +2 -3
- package/dist/esm/ion-col.entry.js +2 -3
- package/dist/esm/ion-datetime-button.entry.js +4 -5
- package/dist/esm/ion-datetime.entry.js +40 -19
- package/dist/esm/ion-fab-button.entry.js +3 -4
- package/dist/esm/ion-fab-list.entry.js +5 -4
- package/dist/esm/ion-fab.entry.js +5 -4
- package/dist/esm/ion-footer.entry.js +4 -5
- package/dist/esm/ion-grid.entry.js +2 -3
- package/dist/esm/ion-icon.entry.js +16 -7
- package/dist/esm/ion-img.entry.js +6 -5
- package/dist/esm/ion-infinite-scroll-content.entry.js +3 -4
- package/dist/esm/ion-infinite-scroll.entry.js +10 -7
- package/dist/esm/ion-input-otp.entry.js +12 -7
- package/dist/esm/ion-input-password-toggle.entry.js +7 -6
- package/dist/esm/ion-input.entry.js +17 -10
- package/dist/esm/ion-item-divider.entry.js +2 -3
- package/dist/esm/ion-item-group.entry.js +2 -3
- package/dist/esm/ion-item-option.entry.js +2 -3
- package/dist/esm/ion-item-options.entry.js +3 -4
- package/dist/esm/ion-item-sliding.entry.js +7 -6
- package/dist/esm/ion-label_2.entry.js +8 -5
- package/dist/esm/ion-loading.entry.js +14 -11
- package/dist/esm/ion-menu-button.entry.js +7 -8
- package/dist/esm/ion-menu-toggle.entry.js +7 -8
- package/dist/esm/ion-menu.entry.js +20 -13
- package/dist/esm/ion-nav-link.entry.js +1 -2
- package/dist/esm/ion-nav.entry.js +12 -9
- package/dist/esm/ion-note.entry.js +2 -3
- package/dist/esm/ion-picker-legacy-column.entry.js +6 -5
- package/dist/esm/ion-picker-legacy.entry.js +13 -10
- package/dist/esm/ion-picker_3.entry.js +12 -7
- package/dist/esm/ion-popover.entry.js +17 -12
- package/dist/esm/ion-progress-bar.entry.js +3 -4
- package/dist/esm/ion-range.entry.js +25 -12
- package/dist/esm/ion-refresher-content.entry.js +6 -7
- package/dist/esm/ion-refresher.entry.js +9 -8
- package/dist/esm/ion-reorder-group.entry.js +7 -6
- package/dist/esm/ion-reorder.entry.js +2 -3
- package/dist/esm/ion-route-redirect.entry.js +7 -4
- package/dist/esm/ion-route.entry.js +10 -5
- package/dist/esm/ion-router-link.entry.js +2 -3
- package/dist/esm/ion-router-outlet.entry.js +9 -8
- package/dist/esm/ion-router.entry.js +2 -3
- package/dist/esm/ion-row.entry.js +2 -3
- package/dist/esm/ion-searchbar.entry.js +18 -9
- package/dist/esm/ion-segment-button.entry.js +6 -5
- package/dist/esm/ion-segment-content.entry.js +1 -2
- package/dist/esm/ion-segment-view.entry.js +1 -2
- package/dist/esm/ion-segment.entry.js +15 -8
- package/dist/esm/ion-select-option.entry.js +2 -3
- package/dist/esm/ion-select.entry.js +19 -12
- package/dist/esm/ion-skeleton-text.entry.js +2 -3
- package/dist/esm/ion-spinner.entry.js +2 -3
- package/dist/esm/ion-split-pane.entry.js +11 -6
- package/dist/esm/ion-tab-bar.entry.js +5 -4
- package/dist/esm/ion-tab-button.entry.js +3 -4
- package/dist/esm/ion-tab.entry.js +6 -5
- package/dist/esm/ion-tabs.entry.js +1 -2
- package/dist/esm/ion-textarea.entry.js +15 -12
- package/dist/esm/ion-thumbnail.entry.js +2 -3
- package/dist/esm/ion-toast.entry.js +17 -12
- package/dist/esm/ion-toggle.entry.js +6 -5
- package/dist/esm/{ionic-global-C8oJToxs.js → ionic-global-BbOE2Sur.js} +1 -4
- package/dist/{components/p-CKAwPEA1.js → esm/ios.transition-BBpXvlVl.js} +5 -5
- package/dist/esm/keyboard-DcbqYXj5.js +0 -3
- package/dist/esm/keyboard-DgiyREKb.js +0 -3
- package/dist/esm/keyboard-controller-CqGCg8tB.js +0 -3
- package/dist/esm/loader.js +5 -8
- package/dist/esm/lock-controller-B-hirT0v.js +0 -3
- package/dist/{components/p-DG3y4Paj.js → esm/md.transition-uHL_rMwC.js} +5 -5
- package/dist/{components/p-BHR1qL-B.js → esm/menu-toggle-util-LSIuEJ8L.js} +1 -4
- package/dist/esm/{notch-controller-DCfp6pBF.js → notch-controller-CCHQ50bA.js} +1 -4
- package/dist/esm/{overlays-BDbqv7G-.js → overlays-CWok3_we.js} +8 -9
- package/dist/esm/{refresher.utils-DOS2Tyfp.js → refresher.utils-BwmoeJ1w.js} +3 -6
- package/dist/esm/spinner-configs-D4RIp70E.js +0 -3
- package/dist/esm/{status-tap-BTOXpL_S.js → status-tap-CMJKMvwt.js} +3 -6
- package/dist/esm/{swipe-back-CetNYyPP.js → swipe-back-BXQCI3bV.js} +2 -5
- package/dist/esm/theme-DiVJyqlX.js +0 -3
- package/dist/esm/validity-DJztqcrH.js +0 -3
- package/dist/esm/watch-options-Dtdm8lKC.js +0 -3
- package/dist/types/components/amwal-checkout-button/amwal-checkout-button.d.ts +2 -3
- package/dist/types/stencil-public-runtime.d.ts +14 -3
- package/package.json +7 -4
- package/dist/checkout/checkout.esm.js.map +0 -1
- package/dist/checkout/index.esm.js.map +0 -1
- package/dist/checkout/loader.esm.js.map +0 -1
- package/dist/checkout/p-00a301b3.entry.js +0 -2
- package/dist/checkout/p-00a301b3.entry.js.map +0 -1
- package/dist/checkout/p-07b5d96f.entry.js +0 -2
- package/dist/checkout/p-07b5d96f.entry.js.map +0 -1
- package/dist/checkout/p-09688586.entry.js +0 -2
- package/dist/checkout/p-09688586.entry.js.map +0 -1
- package/dist/checkout/p-18addee5.entry.js +0 -2
- package/dist/checkout/p-18addee5.entry.js.map +0 -1
- package/dist/checkout/p-18ddefd1.entry.js +0 -5
- package/dist/checkout/p-18ddefd1.entry.js.map +0 -1
- package/dist/checkout/p-19f6286e.entry.js +0 -2
- package/dist/checkout/p-19f6286e.entry.js.map +0 -1
- package/dist/checkout/p-1b654d66.entry.js +0 -2
- package/dist/checkout/p-1b654d66.entry.js.map +0 -1
- package/dist/checkout/p-215f237f.entry.js +0 -2
- package/dist/checkout/p-215f237f.entry.js.map +0 -1
- package/dist/checkout/p-243533d4.entry.js +0 -2
- package/dist/checkout/p-243533d4.entry.js.map +0 -1
- package/dist/checkout/p-2641406e.entry.js +0 -5
- package/dist/checkout/p-2641406e.entry.js.map +0 -1
- package/dist/checkout/p-2683c242.entry.js +0 -2
- package/dist/checkout/p-2683c242.entry.js.map +0 -1
- package/dist/checkout/p-270607e1.entry.js +0 -2
- package/dist/checkout/p-270607e1.entry.js.map +0 -1
- package/dist/checkout/p-28d82baa.entry.js +0 -2
- package/dist/checkout/p-28d82baa.entry.js.map +0 -1
- package/dist/checkout/p-2aa4f4ab.entry.js +0 -2
- package/dist/checkout/p-2aa4f4ab.entry.js.map +0 -1
- package/dist/checkout/p-2ee1a2b5.entry.js +0 -2
- package/dist/checkout/p-2ee1a2b5.entry.js.map +0 -1
- package/dist/checkout/p-358214aa.entry.js +0 -2
- package/dist/checkout/p-358214aa.entry.js.map +0 -1
- package/dist/checkout/p-36e0fbcc.entry.js +0 -20
- package/dist/checkout/p-36e0fbcc.entry.js.map +0 -1
- package/dist/checkout/p-37e54688.entry.js +0 -2
- package/dist/checkout/p-37e54688.entry.js.map +0 -1
- package/dist/checkout/p-3ef78696.entry.js +0 -2
- package/dist/checkout/p-3ef78696.entry.js.map +0 -1
- package/dist/checkout/p-454447c5.entry.js +0 -2
- package/dist/checkout/p-454447c5.entry.js.map +0 -1
- package/dist/checkout/p-4857bfa5.entry.js +0 -2
- package/dist/checkout/p-4857bfa5.entry.js.map +0 -1
- package/dist/checkout/p-4d89a3fa.entry.js +0 -2
- package/dist/checkout/p-4d89a3fa.entry.js.map +0 -1
- package/dist/checkout/p-52764c17.entry.js +0 -2
- package/dist/checkout/p-52764c17.entry.js.map +0 -1
- package/dist/checkout/p-57f622db.entry.js +0 -2
- package/dist/checkout/p-57f622db.entry.js.map +0 -1
- package/dist/checkout/p-59888ca4.entry.js +0 -2
- package/dist/checkout/p-59888ca4.entry.js.map +0 -1
- package/dist/checkout/p-5ecfbad6.entry.js +0 -2
- package/dist/checkout/p-5ecfbad6.entry.js.map +0 -1
- package/dist/checkout/p-62ca8564.entry.js +0 -2
- package/dist/checkout/p-62ca8564.entry.js.map +0 -1
- package/dist/checkout/p-6302dd24.entry.js +0 -2
- package/dist/checkout/p-6302dd24.entry.js.map +0 -1
- package/dist/checkout/p-64ac130b.entry.js +0 -2
- package/dist/checkout/p-64ac130b.entry.js.map +0 -1
- package/dist/checkout/p-6714fa18.entry.js +0 -2
- package/dist/checkout/p-6714fa18.entry.js.map +0 -1
- package/dist/checkout/p-681ae472.entry.js +0 -2
- package/dist/checkout/p-681ae472.entry.js.map +0 -1
- package/dist/checkout/p-69f632b2.entry.js +0 -5
- package/dist/checkout/p-69f632b2.entry.js.map +0 -1
- package/dist/checkout/p-6b72bcfa.entry.js +0 -2
- package/dist/checkout/p-6b72bcfa.entry.js.map +0 -1
- package/dist/checkout/p-74c91a78.entry.js +0 -2
- package/dist/checkout/p-74c91a78.entry.js.map +0 -1
- package/dist/checkout/p-7ba2116f.entry.js +0 -2
- package/dist/checkout/p-7ba2116f.entry.js.map +0 -1
- package/dist/checkout/p-7d45a649.entry.js +0 -5
- package/dist/checkout/p-7d45a649.entry.js.map +0 -1
- package/dist/checkout/p-7df3464f.entry.js +0 -2
- package/dist/checkout/p-7df3464f.entry.js.map +0 -1
- package/dist/checkout/p-7f336a66.entry.js +0 -2
- package/dist/checkout/p-7f336a66.entry.js.map +0 -1
- package/dist/checkout/p-7f3cb127.entry.js +0 -2
- package/dist/checkout/p-7f3cb127.entry.js.map +0 -1
- package/dist/checkout/p-82e0c3f5.entry.js +0 -5
- package/dist/checkout/p-82e0c3f5.entry.js.map +0 -1
- package/dist/checkout/p-83723f22.entry.js +0 -2
- package/dist/checkout/p-83723f22.entry.js.map +0 -1
- package/dist/checkout/p-83cc118e.entry.js +0 -2
- package/dist/checkout/p-83cc118e.entry.js.map +0 -1
- package/dist/checkout/p-84d696fb.entry.js +0 -2
- package/dist/checkout/p-84d696fb.entry.js.map +0 -1
- package/dist/checkout/p-85548f6c.entry.js +0 -2
- package/dist/checkout/p-85548f6c.entry.js.map +0 -1
- package/dist/checkout/p-85ee65c9.entry.js +0 -2
- package/dist/checkout/p-85ee65c9.entry.js.map +0 -1
- package/dist/checkout/p-8b182c6a.entry.js +0 -8
- package/dist/checkout/p-8b182c6a.entry.js.map +0 -1
- package/dist/checkout/p-8d31e4f7.entry.js +0 -2
- package/dist/checkout/p-8d31e4f7.entry.js.map +0 -1
- package/dist/checkout/p-8e3dc24d.entry.js +0 -2
- package/dist/checkout/p-8e3dc24d.entry.js.map +0 -1
- package/dist/checkout/p-8e96c15d.entry.js +0 -2
- package/dist/checkout/p-8e96c15d.entry.js.map +0 -1
- package/dist/checkout/p-8fbb12d6.entry.js +0 -2
- package/dist/checkout/p-8fbb12d6.entry.js.map +0 -1
- package/dist/checkout/p-924c47c2.entry.js +0 -20
- package/dist/checkout/p-924c47c2.entry.js.map +0 -1
- package/dist/checkout/p-931cb238.entry.js +0 -2
- package/dist/checkout/p-931cb238.entry.js.map +0 -1
- package/dist/checkout/p-93bc2286.entry.js +0 -2
- package/dist/checkout/p-93bc2286.entry.js.map +0 -1
- package/dist/checkout/p-B-KuLMsZ.js +0 -8
- package/dist/checkout/p-B-KuLMsZ.js.map +0 -1
- package/dist/checkout/p-B-hirT0v.js.map +0 -1
- package/dist/checkout/p-B3WORC1a.js.map +0 -1
- package/dist/checkout/p-BGDWAHw3.js +0 -5
- package/dist/checkout/p-BGDWAHw3.js.map +0 -1
- package/dist/checkout/p-BR7SJd-v.js.map +0 -1
- package/dist/checkout/p-BTEOs1at.js.map +0 -1
- package/dist/checkout/p-BWWP5b2n.js +0 -20
- package/dist/checkout/p-BWWP5b2n.js.map +0 -1
- package/dist/checkout/p-BgOwfqIY.js.map +0 -1
- package/dist/checkout/p-BmVRXR1y.js.map +0 -1
- package/dist/checkout/p-BmlsNFZH.js.map +0 -1
- package/dist/checkout/p-Bp4HXTAC.js +0 -6
- package/dist/checkout/p-Bp4HXTAC.js.map +0 -1
- package/dist/checkout/p-BthJ6qTQ.js +0 -5
- package/dist/checkout/p-BthJ6qTQ.js.map +0 -1
- package/dist/checkout/p-BxybgBKJ.js +0 -9
- package/dist/checkout/p-BxybgBKJ.js.map +0 -1
- package/dist/checkout/p-C03M5ZSM.js.map +0 -1
- package/dist/checkout/p-C0PjLcMv.js +0 -8
- package/dist/checkout/p-C0PjLcMv.js.map +0 -1
- package/dist/checkout/p-C1xutNb4.js +0 -5
- package/dist/checkout/p-C1xutNb4.js.map +0 -1
- package/dist/checkout/p-C53feagD.js.map +0 -1
- package/dist/checkout/p-C6ZGuX6t.js +0 -11
- package/dist/checkout/p-C6ZGuX6t.js.map +0 -1
- package/dist/checkout/p-CG5IBVB8.js +0 -5
- package/dist/checkout/p-CG5IBVB8.js.map +0 -1
- package/dist/checkout/p-CH3Eg9_f.js.map +0 -1
- package/dist/checkout/p-CR1XUyil.js +0 -8
- package/dist/checkout/p-CR1XUyil.js.map +0 -1
- package/dist/checkout/p-CUNZzVQR.js +0 -5
- package/dist/checkout/p-CUNZzVQR.js.map +0 -1
- package/dist/checkout/p-CZs2_vz-.js +0 -23
- package/dist/checkout/p-CZs2_vz-.js.map +0 -1
- package/dist/checkout/p-CganX2z7.js +0 -5
- package/dist/checkout/p-CganX2z7.js.map +0 -1
- package/dist/checkout/p-CiN1CmnZ.js +0 -5
- package/dist/checkout/p-CiN1CmnZ.js.map +0 -1
- package/dist/checkout/p-D2NxOvQ8.js.map +0 -1
- package/dist/checkout/p-D4RIp70E.js.map +0 -1
- package/dist/checkout/p-DDV5ZZmu.js +0 -8
- package/dist/checkout/p-DDV5ZZmu.js.map +0 -1
- package/dist/checkout/p-DGWbKjms.js +0 -5
- package/dist/checkout/p-DGWbKjms.js.map +0 -1
- package/dist/checkout/p-DJztqcrH.js.map +0 -1
- package/dist/checkout/p-DKg_dYcq.js.map +0 -1
- package/dist/checkout/p-DQMrQygy.js +0 -17
- package/dist/checkout/p-DQMrQygy.js.map +0 -1
- package/dist/checkout/p-DiVJyqlX.js.map +0 -1
- package/dist/checkout/p-DokgqSDS.js +0 -8
- package/dist/checkout/p-DokgqSDS.js.map +0 -1
- package/dist/checkout/p-DpIGiwma.js +0 -5
- package/dist/checkout/p-DpIGiwma.js.map +0 -1
- package/dist/checkout/p-Dtdm8lKC.js.map +0 -1
- package/dist/checkout/p-LC8Dag8J.js +0 -5
- package/dist/checkout/p-LC8Dag8J.js.map +0 -1
- package/dist/checkout/p-PlOw-cTg.js +0 -2
- package/dist/checkout/p-PlOw-cTg.js.map +0 -1
- package/dist/checkout/p-ZjP4CjeZ.js.map +0 -1
- package/dist/checkout/p-a3af7718.entry.js +0 -2
- package/dist/checkout/p-a3af7718.entry.js.map +0 -1
- package/dist/checkout/p-a4e73261.entry.js +0 -2
- package/dist/checkout/p-a4e73261.entry.js.map +0 -1
- package/dist/checkout/p-a5f0602a.entry.js +0 -8
- package/dist/checkout/p-a5f0602a.entry.js.map +0 -1
- package/dist/checkout/p-ad8b3747.entry.js +0 -2
- package/dist/checkout/p-ad8b3747.entry.js.map +0 -1
- package/dist/checkout/p-ae1491f9.entry.js +0 -14
- package/dist/checkout/p-ae1491f9.entry.js.map +0 -1
- package/dist/checkout/p-b015f67f.entry.js +0 -2
- package/dist/checkout/p-b015f67f.entry.js.map +0 -1
- package/dist/checkout/p-b04f980c.entry.js +0 -2
- package/dist/checkout/p-b04f980c.entry.js.map +0 -1
- package/dist/checkout/p-b0b107e3.entry.js +0 -2
- package/dist/checkout/p-b0b107e3.entry.js.map +0 -1
- package/dist/checkout/p-b1db1d70.entry.js +0 -2
- package/dist/checkout/p-b1db1d70.entry.js.map +0 -1
- package/dist/checkout/p-b49b96cf.entry.js +0 -2
- package/dist/checkout/p-b49b96cf.entry.js.map +0 -1
- package/dist/checkout/p-b828e054.entry.js +0 -2
- package/dist/checkout/p-b828e054.entry.js.map +0 -1
- package/dist/checkout/p-b93a1bd6.entry.js +0 -2
- package/dist/checkout/p-b93a1bd6.entry.js.map +0 -1
- package/dist/checkout/p-bc55f859.entry.js +0 -2
- package/dist/checkout/p-bc55f859.entry.js.map +0 -1
- package/dist/checkout/p-befcbd0d.entry.js +0 -2
- package/dist/checkout/p-befcbd0d.entry.js.map +0 -1
- package/dist/checkout/p-c48a9448.entry.js +0 -2
- package/dist/checkout/p-c48a9448.entry.js.map +0 -1
- package/dist/checkout/p-c615397e.entry.js +0 -17
- package/dist/checkout/p-c615397e.entry.js.map +0 -1
- package/dist/checkout/p-cab41a25.entry.js +0 -62
- package/dist/checkout/p-cab41a25.entry.js.map +0 -1
- package/dist/checkout/p-cbf0100c.entry.js +0 -2
- package/dist/checkout/p-cbf0100c.entry.js.map +0 -1
- package/dist/checkout/p-cc591365.entry.js +0 -2
- package/dist/checkout/p-cc591365.entry.js.map +0 -1
- package/dist/checkout/p-cd8e7091.entry.js +0 -2
- package/dist/checkout/p-cd8e7091.entry.js.map +0 -1
- package/dist/checkout/p-d0d33188.entry.js +0 -2
- package/dist/checkout/p-d0d33188.entry.js.map +0 -1
- package/dist/checkout/p-d18cc858.entry.js +0 -2
- package/dist/checkout/p-d18cc858.entry.js.map +0 -1
- package/dist/checkout/p-d595c210.entry.js +0 -2
- package/dist/checkout/p-d595c210.entry.js.map +0 -1
- package/dist/checkout/p-d70b96db.entry.js +0 -2
- package/dist/checkout/p-d70b96db.entry.js.map +0 -1
- package/dist/checkout/p-d9a88167.entry.js +0 -2
- package/dist/checkout/p-d9a88167.entry.js.map +0 -1
- package/dist/checkout/p-e0fd6219.entry.js +0 -5
- package/dist/checkout/p-e0fd6219.entry.js.map +0 -1
- package/dist/checkout/p-eae47e9d.entry.js +0 -2
- package/dist/checkout/p-eae47e9d.entry.js.map +0 -1
- package/dist/checkout/p-ee1b72ba.entry.js +0 -2
- package/dist/checkout/p-ee1b72ba.entry.js.map +0 -1
- package/dist/checkout/p-eeb818b4.entry.js +0 -2
- package/dist/checkout/p-eeb818b4.entry.js.map +0 -1
- package/dist/checkout/p-f7dd0c42.entry.js +0 -2
- package/dist/checkout/p-f7dd0c42.entry.js.map +0 -1
- package/dist/checkout/p-f8f93e18.entry.js +0 -2
- package/dist/checkout/p-f8f93e18.entry.js.map +0 -1
- package/dist/checkout/p-hHmYLOfE.js.map +0 -1
- package/dist/checkout/p-ktzqax7n.js.map +0 -1
- package/dist/checkout/p-sObYyvOy.js.map +0 -1
- package/dist/checkout/p-syN-rRwJ.js +0 -6
- package/dist/checkout/p-syN-rRwJ.js.map +0 -1
- package/dist/cjs/animation-BtvIVax4.js.map +0 -1
- package/dist/cjs/app-globals-k1SzUfrO.js +0 -10
- package/dist/cjs/app-globals-k1SzUfrO.js.map +0 -1
- package/dist/cjs/ar-CbT6TM-Q.js.map +0 -1
- package/dist/cjs/capacitor-CqhugS19.js.map +0 -1
- package/dist/cjs/checkout.cjs.js.map +0 -1
- package/dist/cjs/compare-with-utils-JlLIkecm.js.map +0 -1
- package/dist/cjs/config-DUSoxbhv.js.map +0 -1
- package/dist/cjs/cubic-bezier-Bv3PvaRI.js.map +0 -1
- package/dist/cjs/data-CjHlPfPW.js.map +0 -1
- package/dist/cjs/dir-Br-7_bel.js.map +0 -1
- package/dist/cjs/focus-visible-Da2o6bTP.js.map +0 -1
- package/dist/cjs/framework-delegate-BoMy23Lz.js.map +0 -1
- package/dist/cjs/gesture-controller-CiprlUhH.js.map +0 -1
- package/dist/cjs/haptic-DCn793nz.js.map +0 -1
- package/dist/cjs/hardware-back-button-B1WYQg6m.js.map +0 -1
- package/dist/cjs/helpers-C5_WrFOI.js.map +0 -1
- package/dist/cjs/i18n-uGNv9SLK.js.map +0 -1
- package/dist/cjs/index-BPGqVQtz.js.map +0 -1
- package/dist/cjs/index-C-U8a6CY.js.map +0 -1
- package/dist/cjs/index-C0J_JwJB.js.map +0 -1
- package/dist/cjs/index-C3dD6F2g.js.map +0 -1
- package/dist/cjs/index-Calgykmz.js.map +0 -1
- package/dist/cjs/index-D3mJ1Cix.js.map +0 -1
- package/dist/cjs/index-DseJYF57.js.map +0 -1
- package/dist/cjs/index-DwdNl4cs.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/input-shims-DIBy37tN.js.map +0 -1
- package/dist/cjs/input.utils-IVavyQAZ.js.map +0 -1
- package/dist/cjs/ionic-global-BmDUlKDf.js.map +0 -1
- package/dist/cjs/ios.transition-ROXYV2qt.js.map +0 -1
- package/dist/cjs/keyboard-DuKzsHsS.js.map +0 -1
- package/dist/cjs/keyboard-controller-rH21qC_2.js.map +0 -1
- package/dist/cjs/keyboard-iyHR2ZF4.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/lock-controller-58TZFRHC.js.map +0 -1
- package/dist/cjs/md.transition-NftVXx7D.js.map +0 -1
- package/dist/cjs/menu-toggle-util-CROwv_aL.js.map +0 -1
- package/dist/cjs/notch-controller-BzbZcc1N.js.map +0 -1
- package/dist/cjs/overlays-gyJEvMkB.js.map +0 -1
- package/dist/cjs/refresher.utils-DZrHDYQN.js.map +0 -1
- package/dist/cjs/spinner-configs-BN41iw42.js.map +0 -1
- package/dist/cjs/status-tap-B5QfH5DO.js.map +0 -1
- package/dist/cjs/swipe-back-BkT4j65k.js.map +0 -1
- package/dist/cjs/theme-DbHdw1Nx.js.map +0 -1
- package/dist/cjs/validity-ClNawnRU.js.map +0 -1
- package/dist/cjs/watch-options-DOFUPyuf.js.map +0 -1
- package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js.map +0 -1
- package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js.map +0 -1
- package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js.map +0 -1
- package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js.map +0 -1
- package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js.map +0 -1
- package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js.map +0 -1
- package/dist/collection/components/amwal-pos/amwal-pos.js.map +0 -1
- package/dist/collection/components/amwal-pos/amwal-pos.stories.js.map +0 -1
- package/dist/collection/components/amwal-widget/amwal-widget-modal.js.map +0 -1
- package/dist/collection/components/amwal-widget/amwal-widget.js.map +0 -1
- package/dist/collection/components/amwal-widget/amwal-widget.stories.js.map +0 -1
- package/dist/collection/lang/i18n.js.map +0 -1
- package/dist/components/amwal-checkout-button.js.map +0 -1
- package/dist/components/amwal-installments-guide.js.map +0 -1
- package/dist/components/amwal-installments-timeline.js.map +0 -1
- package/dist/components/amwal-pos.js.map +0 -1
- package/dist/components/amwal-widget-modal.js.map +0 -1
- package/dist/components/amwal-widget.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/ion-accordion-group.js.map +0 -1
- package/dist/components/ion-accordion.js.map +0 -1
- package/dist/components/ion-action-sheet.js.map +0 -1
- package/dist/components/ion-alert.js.map +0 -1
- package/dist/components/ion-app.js.map +0 -1
- package/dist/components/ion-avatar.js.map +0 -1
- package/dist/components/ion-back-button.js.map +0 -1
- package/dist/components/ion-backdrop.js.map +0 -1
- package/dist/components/ion-badge.js.map +0 -1
- package/dist/components/ion-breadcrumb.js.map +0 -1
- package/dist/components/ion-breadcrumbs.js.map +0 -1
- package/dist/components/ion-button.js.map +0 -1
- package/dist/components/ion-buttons.js.map +0 -1
- package/dist/components/ion-card-content.js.map +0 -1
- package/dist/components/ion-card-header.js.map +0 -1
- package/dist/components/ion-card-subtitle.js.map +0 -1
- package/dist/components/ion-card-title.js.map +0 -1
- package/dist/components/ion-card.js.map +0 -1
- package/dist/components/ion-checkbox.js.map +0 -1
- package/dist/components/ion-chip.js.map +0 -1
- package/dist/components/ion-col.js.map +0 -1
- package/dist/components/ion-content.js.map +0 -1
- package/dist/components/ion-datetime-button.js.map +0 -1
- package/dist/components/ion-datetime.js.map +0 -1
- package/dist/components/ion-fab-button.js.map +0 -1
- package/dist/components/ion-fab-list.js.map +0 -1
- package/dist/components/ion-fab.js.map +0 -1
- package/dist/components/ion-footer.js.map +0 -1
- package/dist/components/ion-grid.js.map +0 -1
- package/dist/components/ion-header.js.map +0 -1
- package/dist/components/ion-icon.js.map +0 -1
- package/dist/components/ion-img.js.map +0 -1
- package/dist/components/ion-infinite-scroll-content.js.map +0 -1
- package/dist/components/ion-infinite-scroll.js.map +0 -1
- package/dist/components/ion-input-otp.js.map +0 -1
- package/dist/components/ion-input-password-toggle.js.map +0 -1
- package/dist/components/ion-input.js.map +0 -1
- package/dist/components/ion-item-divider.js.map +0 -1
- package/dist/components/ion-item-group.js.map +0 -1
- package/dist/components/ion-item-option.js.map +0 -1
- package/dist/components/ion-item-options.js.map +0 -1
- package/dist/components/ion-item-sliding.js.map +0 -1
- package/dist/components/ion-item.js.map +0 -1
- package/dist/components/ion-label.js.map +0 -1
- package/dist/components/ion-list-header.js.map +0 -1
- package/dist/components/ion-list.js.map +0 -1
- package/dist/components/ion-loading.js.map +0 -1
- package/dist/components/ion-menu-button.js.map +0 -1
- package/dist/components/ion-menu-toggle.js.map +0 -1
- package/dist/components/ion-menu.js.map +0 -1
- package/dist/components/ion-modal.js.map +0 -1
- package/dist/components/ion-nav-link.js.map +0 -1
- package/dist/components/ion-nav.js.map +0 -1
- package/dist/components/ion-note.js.map +0 -1
- package/dist/components/ion-picker-column-option.js.map +0 -1
- package/dist/components/ion-picker-column.js.map +0 -1
- package/dist/components/ion-picker-legacy-column.js.map +0 -1
- package/dist/components/ion-picker-legacy.js.map +0 -1
- package/dist/components/ion-picker.js.map +0 -1
- package/dist/components/ion-popover.js.map +0 -1
- package/dist/components/ion-progress-bar.js.map +0 -1
- package/dist/components/ion-radio-group.js.map +0 -1
- package/dist/components/ion-radio.js.map +0 -1
- package/dist/components/ion-range.js.map +0 -1
- package/dist/components/ion-refresher-content.js.map +0 -1
- package/dist/components/ion-refresher.js.map +0 -1
- package/dist/components/ion-reorder-group.js.map +0 -1
- package/dist/components/ion-reorder.js.map +0 -1
- package/dist/components/ion-ripple-effect.js.map +0 -1
- package/dist/components/ion-route-redirect.js.map +0 -1
- package/dist/components/ion-route.js.map +0 -1
- package/dist/components/ion-router-link.js.map +0 -1
- package/dist/components/ion-router-outlet.js.map +0 -1
- package/dist/components/ion-router.js.map +0 -1
- package/dist/components/ion-row.js.map +0 -1
- package/dist/components/ion-searchbar.js.map +0 -1
- package/dist/components/ion-segment-button.js.map +0 -1
- package/dist/components/ion-segment-content.js.map +0 -1
- package/dist/components/ion-segment-view.js.map +0 -1
- package/dist/components/ion-segment.js.map +0 -1
- package/dist/components/ion-select-modal.js.map +0 -1
- package/dist/components/ion-select-option.js.map +0 -1
- package/dist/components/ion-select-popover.js.map +0 -1
- package/dist/components/ion-select.js.map +0 -1
- package/dist/components/ion-skeleton-text.js.map +0 -1
- package/dist/components/ion-spinner.js.map +0 -1
- package/dist/components/ion-split-pane.js.map +0 -1
- package/dist/components/ion-tab-bar.js.map +0 -1
- package/dist/components/ion-tab-button.js.map +0 -1
- package/dist/components/ion-tab.js.map +0 -1
- package/dist/components/ion-tabs.js.map +0 -1
- package/dist/components/ion-text.js.map +0 -1
- package/dist/components/ion-textarea.js.map +0 -1
- package/dist/components/ion-thumbnail.js.map +0 -1
- package/dist/components/ion-title.js.map +0 -1
- package/dist/components/ion-toast.js.map +0 -1
- package/dist/components/ion-toggle.js.map +0 -1
- package/dist/components/ion-toolbar.js.map +0 -1
- package/dist/components/p-2HMA6Bk9.js +0 -199
- package/dist/components/p-2HMA6Bk9.js.map +0 -1
- package/dist/components/p-5oWdAaAi.js +0 -192
- package/dist/components/p-5oWdAaAi.js.map +0 -1
- package/dist/components/p-9R9WjA6V.js.map +0 -1
- package/dist/components/p-B-hirT0v.js.map +0 -1
- package/dist/components/p-B2gn37E3.js +0 -71
- package/dist/components/p-B2gn37E3.js.map +0 -1
- package/dist/components/p-B3WORC1a.js.map +0 -1
- package/dist/components/p-BHR1qL-B.js.map +0 -1
- package/dist/components/p-BLZx8ena.js +0 -648
- package/dist/components/p-BLZx8ena.js.map +0 -1
- package/dist/components/p-BPfqVyXF.js +0 -131
- package/dist/components/p-BPfqVyXF.js.map +0 -1
- package/dist/components/p-BRke83qH.js +0 -59
- package/dist/components/p-BRke83qH.js.map +0 -1
- package/dist/components/p-BTEOs1at.js.map +0 -1
- package/dist/components/p-BZwvoMAR.js +0 -42
- package/dist/components/p-BZwvoMAR.js.map +0 -1
- package/dist/components/p-BeDf61kY.js +0 -427
- package/dist/components/p-BeDf61kY.js.map +0 -1
- package/dist/components/p-BfUU8qUe.js +0 -42
- package/dist/components/p-BfUU8qUe.js.map +0 -1
- package/dist/components/p-BgOwfqIY.js.map +0 -1
- package/dist/components/p-BhiX6sCr.js +0 -826
- package/dist/components/p-BhiX6sCr.js.map +0 -1
- package/dist/components/p-Binl0XAs.js +0 -576
- package/dist/components/p-Binl0XAs.js.map +0 -1
- package/dist/components/p-Bm5dgzDt.js +0 -118
- package/dist/components/p-Bm5dgzDt.js.map +0 -1
- package/dist/components/p-BmVRXR1y.js.map +0 -1
- package/dist/components/p-BqMnDwQG.js +0 -194
- package/dist/components/p-BqMnDwQG.js.map +0 -1
- package/dist/components/p-BxP8TDfL.js.map +0 -1
- package/dist/components/p-Byqjk7Y-.js +0 -423
- package/dist/components/p-Byqjk7Y-.js.map +0 -1
- package/dist/components/p-C03M5ZSM.js.map +0 -1
- package/dist/components/p-C53feagD.js.map +0 -1
- package/dist/components/p-C9H5b4Sp.js +0 -156
- package/dist/components/p-C9H5b4Sp.js.map +0 -1
- package/dist/components/p-CBE-1aIM.js +0 -342
- package/dist/components/p-CBE-1aIM.js.map +0 -1
- package/dist/components/p-CH3Eg9_f.js.map +0 -1
- package/dist/components/p-CKAwPEA1.js.map +0 -1
- package/dist/components/p-CQgmejdy.js +0 -103
- package/dist/components/p-CQgmejdy.js.map +0 -1
- package/dist/components/p-CS0AfHCU.js +0 -321
- package/dist/components/p-CS0AfHCU.js.map +0 -1
- package/dist/components/p-CTM7uu-W.js +0 -1656
- package/dist/components/p-CTM7uu-W.js.map +0 -1
- package/dist/components/p-Ccgs7j-d.js +0 -229
- package/dist/components/p-Ccgs7j-d.js.map +0 -1
- package/dist/components/p-ClEjw1rH.js +0 -235
- package/dist/components/p-ClEjw1rH.js.map +0 -1
- package/dist/components/p-CqzV2Pip.js +0 -459
- package/dist/components/p-CqzV2Pip.js.map +0 -1
- package/dist/components/p-D-0nEl_9.js +0 -75
- package/dist/components/p-D-0nEl_9.js.map +0 -1
- package/dist/components/p-D2NxOvQ8.js.map +0 -1
- package/dist/components/p-D86aKvUI.js +0 -305
- package/dist/components/p-D86aKvUI.js.map +0 -1
- package/dist/components/p-DBeEVQxe.js +0 -2542
- package/dist/components/p-DBeEVQxe.js.map +0 -1
- package/dist/components/p-DEAe7QEa.js +0 -152
- package/dist/components/p-DEAe7QEa.js.map +0 -1
- package/dist/components/p-DFwbATZZ.js +0 -92
- package/dist/components/p-DFwbATZZ.js.map +0 -1
- package/dist/components/p-DG3y4Paj.js.map +0 -1
- package/dist/components/p-DJztqcrH.js.map +0 -1
- package/dist/components/p-DKTjDEAE.js +0 -477
- package/dist/components/p-DKTjDEAE.js.map +0 -1
- package/dist/components/p-DKg_dYcq.js.map +0 -1
- package/dist/components/p-DQU52fBY.js +0 -913
- package/dist/components/p-DQU52fBY.js.map +0 -1
- package/dist/components/p-DXxzBbWg.js +0 -290
- package/dist/components/p-DXxzBbWg.js.map +0 -1
- package/dist/components/p-DiBX36NE.js +0 -73
- package/dist/components/p-DiBX36NE.js.map +0 -1
- package/dist/components/p-DiVJyqlX.js.map +0 -1
- package/dist/components/p-DpZBHf1M.js +0 -598
- package/dist/components/p-DpZBHf1M.js.map +0 -1
- package/dist/components/p-DskTArru.js +0 -112
- package/dist/components/p-DskTArru.js.map +0 -1
- package/dist/components/p-Dtdm8lKC.js.map +0 -1
- package/dist/components/p-DuZ7hY1a.js.map +0 -1
- package/dist/components/p-Dw849bTq.js +0 -305
- package/dist/components/p-Dw849bTq.js.map +0 -1
- package/dist/components/p-DwPO21ol.js +0 -153
- package/dist/components/p-DwPO21ol.js.map +0 -1
- package/dist/components/p-JTTQkHB9.js +0 -139
- package/dist/components/p-JTTQkHB9.js.map +0 -1
- package/dist/components/p-L_Psvpkz.js +0 -222
- package/dist/components/p-L_Psvpkz.js.map +0 -1
- package/dist/components/p-Vjh8RfHt.js +0 -264
- package/dist/components/p-Vjh8RfHt.js.map +0 -1
- package/dist/components/p-XkH8uZ6p.js +0 -624
- package/dist/components/p-XkH8uZ6p.js.map +0 -1
- package/dist/components/p-YUfYVoix.js +0 -170
- package/dist/components/p-YUfYVoix.js.map +0 -1
- package/dist/components/p-ZjP4CjeZ.js.map +0 -1
- package/dist/components/p-_OXvEtk1.js +0 -501
- package/dist/components/p-_OXvEtk1.js.map +0 -1
- package/dist/components/p-abe_AkUW.js +0 -1982
- package/dist/components/p-abe_AkUW.js.map +0 -1
- package/dist/components/p-cCiT8ucm.js +0 -1519
- package/dist/components/p-cCiT8ucm.js.map +0 -1
- package/dist/components/p-fROlYcE4.js +0 -380
- package/dist/components/p-fROlYcE4.js.map +0 -1
- package/dist/components/p-hHmYLOfE.js.map +0 -1
- package/dist/components/p-hoAPVm-t.js +0 -354
- package/dist/components/p-hoAPVm-t.js.map +0 -1
- package/dist/components/p-idUkgr5D.js +0 -81
- package/dist/components/p-idUkgr5D.js.map +0 -1
- package/dist/components/p-jWFeuAB5.js.map +0 -1
- package/dist/components/p-o42LW1q1.js +0 -70
- package/dist/components/p-o42LW1q1.js.map +0 -1
- package/dist/components/p-oO2T0VL-.js +0 -50
- package/dist/components/p-oO2T0VL-.js.map +0 -1
- package/dist/components/p-uTKLFBBy.js.map +0 -1
- package/dist/esm/amwal-installments-guide.entry.js.map +0 -1
- package/dist/esm/amwal-pos.entry.js.map +0 -1
- package/dist/esm/amwal-widget-modal.entry.js.map +0 -1
- package/dist/esm/amwal-widget.entry.js.map +0 -1
- package/dist/esm/animation-BU4GfyJQ.js.map +0 -1
- package/dist/esm/app-globals-DiUHe8Ib.js +0 -8
- package/dist/esm/app-globals-DiUHe8Ib.js.map +0 -1
- package/dist/esm/ar-B3WORC1a.js.map +0 -1
- package/dist/esm/capacitor-CG3xQUND.js.map +0 -1
- package/dist/esm/checkout.js.map +0 -1
- package/dist/esm/compare-with-utils-sObYyvOy.js.map +0 -1
- package/dist/esm/config-V6Cb8IlP.js +0 -176
- package/dist/esm/config-V6Cb8IlP.js.map +0 -1
- package/dist/esm/cubic-bezier-hHmYLOfE.js.map +0 -1
- package/dist/esm/data-BKjeovce.js.map +0 -1
- package/dist/esm/dir-C53feagD.js.map +0 -1
- package/dist/esm/focus-visible-BmVRXR1y.js.map +0 -1
- package/dist/esm/framework-delegate-CaqRmNBr.js +0 -143
- package/dist/esm/framework-delegate-CaqRmNBr.js.map +0 -1
- package/dist/esm/gesture-controller-BTEOs1at.js.map +0 -1
- package/dist/esm/haptic-C3ucbArX.js.map +0 -1
- package/dist/esm/hardware-back-button-Nry6hGkN.js.map +0 -1
- package/dist/esm/helpers-uLqs1Gao.js.map +0 -1
- package/dist/esm/i18n-C_AfxZ5D.js.map +0 -1
- package/dist/esm/index-BmWsedvI.js.map +0 -1
- package/dist/esm/index-BmlsNFZH.js.map +0 -1
- package/dist/esm/index-BxybgBKJ.js.map +0 -1
- package/dist/esm/index-CCWf5GQy.js.map +0 -1
- package/dist/esm/index-CF4QYFB3.js.map +0 -1
- package/dist/esm/index-Ct7Rjd6t.js.map +0 -1
- package/dist/esm/index-ZjP4CjeZ.js.map +0 -1
- package/dist/esm/index-ffNEk55Y.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/input-shims-DkzcZwWm.js.map +0 -1
- package/dist/esm/input.utils-C_QovwBX.js.map +0 -1
- package/dist/esm/ion-accordion-group.entry.js.map +0 -1
- package/dist/esm/ion-accordion.entry.js.map +0 -1
- package/dist/esm/ion-app.entry.js.map +0 -1
- package/dist/esm/ion-avatar.entry.js.map +0 -1
- package/dist/esm/ion-back-button.entry.js.map +0 -1
- package/dist/esm/ion-backdrop.entry.js.map +0 -1
- package/dist/esm/ion-badge.entry.js.map +0 -1
- package/dist/esm/ion-breadcrumb.entry.js.map +0 -1
- package/dist/esm/ion-breadcrumbs.entry.js.map +0 -1
- package/dist/esm/ion-card-content.entry.js.map +0 -1
- package/dist/esm/ion-card-header.entry.js.map +0 -1
- package/dist/esm/ion-card-subtitle.entry.js.map +0 -1
- package/dist/esm/ion-card-title.entry.js.map +0 -1
- package/dist/esm/ion-card.entry.js.map +0 -1
- package/dist/esm/ion-chip.entry.js.map +0 -1
- package/dist/esm/ion-col.entry.js.map +0 -1
- package/dist/esm/ion-datetime-button.entry.js.map +0 -1
- package/dist/esm/ion-datetime.entry.js.map +0 -1
- package/dist/esm/ion-fab-button.entry.js.map +0 -1
- package/dist/esm/ion-fab-list.entry.js.map +0 -1
- package/dist/esm/ion-fab.entry.js.map +0 -1
- package/dist/esm/ion-footer.entry.js.map +0 -1
- package/dist/esm/ion-grid.entry.js.map +0 -1
- package/dist/esm/ion-icon.entry.js.map +0 -1
- package/dist/esm/ion-img.entry.js.map +0 -1
- package/dist/esm/ion-infinite-scroll-content.entry.js.map +0 -1
- package/dist/esm/ion-infinite-scroll.entry.js.map +0 -1
- package/dist/esm/ion-input-otp.entry.js.map +0 -1
- package/dist/esm/ion-input-password-toggle.entry.js.map +0 -1
- package/dist/esm/ion-input.entry.js.map +0 -1
- package/dist/esm/ion-item-divider.entry.js.map +0 -1
- package/dist/esm/ion-item-group.entry.js.map +0 -1
- package/dist/esm/ion-item-option.entry.js.map +0 -1
- package/dist/esm/ion-item-options.entry.js.map +0 -1
- package/dist/esm/ion-item-sliding.entry.js.map +0 -1
- package/dist/esm/ion-loading.entry.js.map +0 -1
- package/dist/esm/ion-menu-button.entry.js.map +0 -1
- package/dist/esm/ion-menu-toggle.entry.js.map +0 -1
- package/dist/esm/ion-menu.entry.js.map +0 -1
- package/dist/esm/ion-nav-link.entry.js.map +0 -1
- package/dist/esm/ion-nav.entry.js.map +0 -1
- package/dist/esm/ion-note.entry.js.map +0 -1
- package/dist/esm/ion-picker-legacy-column.entry.js.map +0 -1
- package/dist/esm/ion-picker-legacy.entry.js.map +0 -1
- package/dist/esm/ion-popover.entry.js.map +0 -1
- package/dist/esm/ion-progress-bar.entry.js.map +0 -1
- package/dist/esm/ion-range.entry.js.map +0 -1
- package/dist/esm/ion-refresher-content.entry.js.map +0 -1
- package/dist/esm/ion-refresher.entry.js.map +0 -1
- package/dist/esm/ion-reorder-group.entry.js.map +0 -1
- package/dist/esm/ion-reorder.entry.js.map +0 -1
- package/dist/esm/ion-route-redirect.entry.js.map +0 -1
- package/dist/esm/ion-route.entry.js.map +0 -1
- package/dist/esm/ion-router-link.entry.js.map +0 -1
- package/dist/esm/ion-router-outlet.entry.js.map +0 -1
- package/dist/esm/ion-router.entry.js.map +0 -1
- package/dist/esm/ion-row.entry.js.map +0 -1
- package/dist/esm/ion-searchbar.entry.js.map +0 -1
- package/dist/esm/ion-segment-button.entry.js.map +0 -1
- package/dist/esm/ion-segment-content.entry.js.map +0 -1
- package/dist/esm/ion-segment-view.entry.js.map +0 -1
- package/dist/esm/ion-segment.entry.js.map +0 -1
- package/dist/esm/ion-select-option.entry.js.map +0 -1
- package/dist/esm/ion-select.entry.js.map +0 -1
- package/dist/esm/ion-skeleton-text.entry.js.map +0 -1
- package/dist/esm/ion-spinner.entry.js.map +0 -1
- package/dist/esm/ion-split-pane.entry.js.map +0 -1
- package/dist/esm/ion-tab-bar.entry.js.map +0 -1
- package/dist/esm/ion-tab-button.entry.js.map +0 -1
- package/dist/esm/ion-tab.entry.js.map +0 -1
- package/dist/esm/ion-tabs.entry.js.map +0 -1
- package/dist/esm/ion-textarea.entry.js.map +0 -1
- package/dist/esm/ion-thumbnail.entry.js.map +0 -1
- package/dist/esm/ion-toast.entry.js.map +0 -1
- package/dist/esm/ion-toggle.entry.js.map +0 -1
- package/dist/esm/ionic-global-C8oJToxs.js.map +0 -1
- package/dist/esm/ios.transition-BFolpAgy.js +0 -681
- package/dist/esm/ios.transition-BFolpAgy.js.map +0 -1
- package/dist/esm/keyboard-DcbqYXj5.js.map +0 -1
- package/dist/esm/keyboard-DgiyREKb.js.map +0 -1
- package/dist/esm/keyboard-controller-CqGCg8tB.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/lock-controller-B-hirT0v.js.map +0 -1
- package/dist/esm/md.transition-e1BRt2V0.js +0 -60
- package/dist/esm/md.transition-e1BRt2V0.js.map +0 -1
- package/dist/esm/menu-toggle-util-CWs_NYdI.js +0 -15
- package/dist/esm/menu-toggle-util-CWs_NYdI.js.map +0 -1
- package/dist/esm/notch-controller-DCfp6pBF.js.map +0 -1
- package/dist/esm/overlays-BDbqv7G-.js.map +0 -1
- package/dist/esm/refresher.utils-DOS2Tyfp.js.map +0 -1
- package/dist/esm/spinner-configs-D4RIp70E.js.map +0 -1
- package/dist/esm/status-tap-BTOXpL_S.js.map +0 -1
- package/dist/esm/swipe-back-CetNYyPP.js.map +0 -1
- package/dist/esm/theme-DiVJyqlX.js.map +0 -1
- package/dist/esm/validity-DJztqcrH.js.map +0 -1
- package/dist/esm/watch-options-Dtdm8lKC.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-CCWf5GQy.js","sources":["node_modules/@ionic/core/dist/collection/components/nav/constants.js","node_modules/@ionic/core/dist/collection/utils/focus-controller/index.js","node_modules/@ionic/core/dist/collection/utils/transition/index.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nexport const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';\nexport const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';\nexport const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';\nexport const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';\nexport const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { config } from \"../../global/config\";\nimport { printIonWarning } from \"../logging/index\";\n/**\n * Moves focus to a specified element. Note that we do not remove the tabindex\n * because that can result in an unintentional blur. Non-focusables can't be\n * focused, so the body will get focused again.\n */\nconst moveFocus = (el) => {\n el.tabIndex = -1;\n el.focus();\n};\n/**\n * Elements that are hidden using `display: none` should not be focused even if\n * they are present in the DOM.\n */\nconst isVisible = (el) => {\n return el.offsetParent !== null;\n};\n/**\n * The focus controller allows us to manage focus within a view so assistive\n * technologies can inform users of changes to the navigation state. Traditional\n * native apps have a way of informing assistive technology about a navigation\n * state change. Mobile browsers have this too, but only when doing a full page\n * load. In a single page app we do not do that, so we need to build this\n * integration ourselves.\n */\nexport const createFocusController = () => {\n const saveViewFocus = (referenceEl) => {\n const focusManagerEnabled = config.get('focusManagerPriority', false);\n /**\n * When going back to a previously visited page focus should typically be moved\n * back to the element that was last focused when the user was on this view.\n */\n if (focusManagerEnabled) {\n const activeEl = document.activeElement;\n if (activeEl !== null && (referenceEl === null || referenceEl === void 0 ? void 0 : referenceEl.contains(activeEl))) {\n activeEl.setAttribute(LAST_FOCUS, 'true');\n }\n }\n };\n const setViewFocus = (referenceEl) => {\n const focusManagerPriorities = config.get('focusManagerPriority', false);\n /**\n * If the focused element is a descendant of the referenceEl then it's possible\n * that the app developer manually moved focus, so we do not want to override that.\n * This can happen with inputs the are focused when a view transitions in.\n */\n if (Array.isArray(focusManagerPriorities) && !referenceEl.contains(document.activeElement)) {\n /**\n * When going back to a previously visited view focus should always be moved back\n * to the element that the user was last focused on when they were on this view.\n */\n const lastFocus = referenceEl.querySelector(`[${LAST_FOCUS}]`);\n if (lastFocus && isVisible(lastFocus)) {\n moveFocus(lastFocus);\n return;\n }\n for (const priority of focusManagerPriorities) {\n /**\n * For each recognized case (excluding the default case) make sure to return\n * so that the fallback focus behavior does not run.\n *\n * We intentionally query for specific roles/semantic elements so that the\n * transition manager can work with both Ionic and non-Ionic UI components.\n *\n * If new selectors are added, be sure to remove the outline ring by adding\n * new selectors to rule in core.scss.\n */\n switch (priority) {\n case 'content':\n const content = referenceEl.querySelector('main, [role=\"main\"]');\n if (content && isVisible(content)) {\n moveFocus(content);\n return;\n }\n break;\n case 'heading':\n const headingOne = referenceEl.querySelector('h1, [role=\"heading\"][aria-level=\"1\"]');\n if (headingOne && isVisible(headingOne)) {\n moveFocus(headingOne);\n return;\n }\n break;\n case 'banner':\n const header = referenceEl.querySelector('header, [role=\"banner\"]');\n if (header && isVisible(header)) {\n moveFocus(header);\n return;\n }\n break;\n default:\n printIonWarning(`Unrecognized focus manager priority value ${priority}`);\n break;\n }\n }\n /**\n * If there is nothing to focus then focus the page so focus at least moves to\n * the correct view. The browser will then determine where within the page to\n * move focus to.\n */\n moveFocus(referenceEl);\n }\n };\n return {\n saveViewFocus,\n setViewFocus,\n };\n};\nconst LAST_FOCUS = 'ion-last-focus';\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { config } from \"../../global/config\";\nimport { Build, writeTask } from \"@stencil/core\";\nimport { LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE, } from \"../../components/nav/constants\";\nimport { createFocusController } from \"../focus-controller\";\nimport { raf } from \"../helpers\";\nconst iosTransitionAnimation = () => import('./ios.transition');\nconst mdTransitionAnimation = () => import('./md.transition');\nconst focusController = createFocusController();\n// TODO(FW-2832): types\n/**\n * Executes the main page transition.\n * It also manages the lifecycle of header visibility (if any)\n * to prevent visual flickering in iOS. The flickering only\n * occurs for a condensed header that is placed above the content.\n *\n * @param opts Options for the transition.\n * @returns A promise that resolves when the transition is complete.\n */\nexport const transition = (opts) => {\n return new Promise((resolve, reject) => {\n writeTask(() => {\n const transitioningInactiveHeader = getIosIonHeader(opts);\n beforeTransition(opts, transitioningInactiveHeader);\n runTransition(opts)\n .then((result) => {\n if (result.animation) {\n result.animation.destroy();\n }\n afterTransition(opts);\n resolve(result);\n }, (error) => {\n afterTransition(opts);\n reject(error);\n })\n .finally(() => {\n // Ensure that the header is restored to its original state.\n setHeaderTransitionClass(transitioningInactiveHeader, false);\n });\n });\n });\n};\nconst beforeTransition = (opts, transitioningInactiveHeader) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n focusController.saveViewFocus(leavingEl);\n setZIndex(enteringEl, leavingEl, opts.direction);\n // Prevent flickering of the header by adding a class.\n setHeaderTransitionClass(transitioningInactiveHeader, true);\n if (opts.showGoBack) {\n enteringEl.classList.add('can-go-back');\n }\n else {\n enteringEl.classList.remove('can-go-back');\n }\n setPageHidden(enteringEl, false);\n /**\n * When transitioning, the page should not\n * respond to click events. This resolves small\n * issues like users double tapping the ion-back-button.\n * These pointer events are removed in `afterTransition`.\n */\n enteringEl.style.setProperty('pointer-events', 'none');\n if (leavingEl) {\n setPageHidden(leavingEl, false);\n leavingEl.style.setProperty('pointer-events', 'none');\n }\n};\nconst runTransition = async (opts) => {\n const animationBuilder = await getAnimationBuilder(opts);\n const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation\n return ani;\n};\nconst afterTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n enteringEl.classList.remove('ion-page-invisible');\n enteringEl.style.removeProperty('pointer-events');\n if (leavingEl !== undefined) {\n leavingEl.classList.remove('ion-page-invisible');\n leavingEl.style.removeProperty('pointer-events');\n }\n focusController.setViewFocus(enteringEl);\n};\nconst getAnimationBuilder = async (opts) => {\n if (!opts.leavingEl || !opts.animated || opts.duration === 0) {\n return undefined;\n }\n if (opts.animationBuilder) {\n return opts.animationBuilder;\n }\n const getAnimation = opts.mode === 'ios'\n ? (await iosTransitionAnimation()).iosTransitionAnimation\n : (await mdTransitionAnimation()).mdTransitionAnimation;\n return getAnimation;\n};\nconst animation = async (animationBuilder, opts) => {\n await waitForReady(opts, true);\n const trans = animationBuilder(opts.baseEl, opts);\n fireWillEvents(opts.enteringEl, opts.leavingEl);\n const didComplete = await playTransition(trans, opts);\n if (opts.progressCallback) {\n opts.progressCallback(undefined);\n }\n if (didComplete) {\n fireDidEvents(opts.enteringEl, opts.leavingEl);\n }\n return {\n hasCompleted: didComplete,\n animation: trans,\n };\n};\nconst noAnimation = async (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const focusManagerEnabled = config.get('focusManagerPriority', false);\n /**\n * If the focus manager is enabled then we need to wait for Ionic components to be\n * rendered otherwise the component to focus may not be focused because it is hidden.\n */\n await waitForReady(opts, focusManagerEnabled);\n fireWillEvents(enteringEl, leavingEl);\n fireDidEvents(enteringEl, leavingEl);\n return {\n hasCompleted: true,\n };\n};\nconst waitForReady = async (opts, defaultDeep) => {\n const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;\n if (deep) {\n await Promise.all([deepReady(opts.enteringEl), deepReady(opts.leavingEl)]);\n }\n await notifyViewReady(opts.viewIsReady, opts.enteringEl);\n};\nconst notifyViewReady = async (viewIsReady, enteringEl) => {\n if (viewIsReady) {\n await viewIsReady(enteringEl);\n }\n};\nconst playTransition = (trans, opts) => {\n const progressCallback = opts.progressCallback;\n const promise = new Promise((resolve) => {\n trans.onFinish((currentStep) => resolve(currentStep === 1));\n });\n // cool, let's do this, start the transition\n if (progressCallback) {\n // this is a swipe to go back, just get the transition progress ready\n // kick off the swipe animation start\n trans.progressStart(true);\n progressCallback(trans);\n }\n else {\n // only the top level transition should actually start \"play\"\n // kick it off and let it play through\n // ******** DOM WRITE ****************\n trans.play();\n }\n // create a callback for when the animation is done\n return promise;\n};\nconst fireWillEvents = (enteringEl, leavingEl) => {\n lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);\n lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);\n};\nconst fireDidEvents = (enteringEl, leavingEl) => {\n lifecycle(enteringEl, LIFECYCLE_DID_ENTER);\n lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);\n};\nexport const lifecycle = (el, eventName) => {\n if (el) {\n const ev = new CustomEvent(eventName, {\n bubbles: false,\n cancelable: false,\n });\n el.dispatchEvent(ev);\n }\n};\n/**\n * Wait two request animation frame loops.\n * This allows the framework implementations enough time to mount\n * the user-defined contents. This is often needed when using inline\n * modals and popovers that accept user components. For popover,\n * the contents must be mounted for the popover to be sized correctly.\n * For modals, the contents must be mounted for iOS to run the\n * transition correctly.\n *\n * On Angular and React, a single raf is enough time, but for Vue\n * we need to wait two rafs. As a result we are using two rafs for\n * all frameworks to ensure contents are mounted.\n */\nexport const waitForMount = () => {\n return new Promise((resolve) => raf(() => raf(() => resolve())));\n};\nexport const deepReady = async (el) => {\n const element = el;\n if (element) {\n if (element.componentOnReady != null) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n const stencilEl = await element.componentOnReady();\n if (stencilEl != null) {\n return;\n }\n /**\n * Custom elements in Stencil will have __registerHost.\n */\n }\n else if (element.__registerHost != null) {\n /**\n * Non-lazy loaded custom elements need to wait\n * one frame for component to be loaded.\n */\n const waitForCustomElement = new Promise((resolve) => raf(resolve));\n await waitForCustomElement;\n return;\n }\n await Promise.all(Array.from(element.children).map(deepReady));\n }\n};\nexport const setPageHidden = (el, hidden) => {\n if (hidden) {\n el.setAttribute('aria-hidden', 'true');\n el.classList.add('ion-page-hidden');\n }\n else {\n el.hidden = false;\n el.removeAttribute('aria-hidden');\n el.classList.remove('ion-page-hidden');\n }\n};\nconst setZIndex = (enteringEl, leavingEl, direction) => {\n if (enteringEl !== undefined) {\n enteringEl.style.zIndex = direction === 'back' ? '99' : '101';\n }\n if (leavingEl !== undefined) {\n leavingEl.style.zIndex = '100';\n }\n};\n/**\n * Add a class to ensure that the header (if any)\n * does not flicker during the transition. By adding the\n * transitioning class, we ensure that the header has\n * the necessary styles to prevent the following flickers:\n * 1. When entering a page with a condensed header, the\n * header should never be visible. However,\n * it briefly renders the background color while\n * the transition is occurring.\n * 2. When leaving a page with a condensed header, the\n * header has an opacity of 0 and the pages\n * have a z-index which causes the entering page to\n * briefly show it's content underneath the leaving page.\n * 3. When entering a page or leaving a page with a fade\n * header, the header should not have a background color.\n * However, it briefly shows the background color while\n * the transition is occurring.\n *\n * @param header The header element to modify.\n * @param isTransitioning Whether the transition is occurring.\n */\nconst setHeaderTransitionClass = (header, isTransitioning) => {\n if (!header) {\n return;\n }\n const transitionClass = 'header-transitioning';\n if (isTransitioning) {\n header.classList.add(transitionClass);\n }\n else {\n header.classList.remove(transitionClass);\n }\n};\nexport const getIonPageElement = (element) => {\n if (element.classList.contains('ion-page')) {\n return element;\n }\n const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');\n if (ionPage) {\n return ionPage;\n }\n // idk, return the original element so at least something animates and we don't have a null pointer\n return element;\n};\n/**\n * Retrieves the ion-header element from a page based on the\n * direction of the transition.\n *\n * @param opts Options for the transition.\n * @returns The ion-header element or null if not found or not in 'ios' mode.\n */\nconst getIosIonHeader = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const direction = opts.direction;\n const mode = opts.mode;\n if (mode !== 'ios') {\n return null;\n }\n const element = direction === 'back' ? leavingEl : enteringEl;\n if (!element) {\n return null;\n }\n return element.querySelector('ion-header');\n};\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;AACO,MAAM,oBAAoB,GAAG,kBAAkB;AAC/C,MAAM,mBAAmB,GAAG,iBAAiB;AACxC,MAAC,oBAAoB,GAAG;AACxB,MAAC,mBAAmB,GAAG;AACvB,MAAC,qBAAqB,GAAG;;ACPrC;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK;AAC1B,IAAI,EAAE,CAAC,QAAQ,GAAG,EAAE;AACpB,IAAI,EAAE,CAAC,KAAK,EAAE;AACd,CAAC;AACD;AACA;AACA;AACA;AACA,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK;AAC1B,IAAI,OAAO,EAAE,CAAC,YAAY,KAAK,IAAI;AACnC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,qBAAqB,GAAG,MAAM;AAC3C,IAAI,MAAM,aAAa,GAAG,CAAC,WAAW,KAAK;AAC3C,QAAQ,MAAM,mBAA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ClD,IAAI,IAAI,eAAe,EAAE;AACzB,QAAQ,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC;AAC7C;AACA,SAAS;AACT,QAAQ,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC;AAChD;AACA,CAAC;AACW,MAAC,iBAAiB,GAAG,CAAC,OAAO,KAAK;AAC9C,IAAI,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;AAChD,QAAQ,OAAO,OAAO;AACtB;AACA,IAAI,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,yDAAyD,CAAC;AACpG,IAAI,IAAI,OAAO,EAAE;AACjB,QAAQ,OAAO,OAAO;AACtB;AACA;AACA,IAAI,OAAO,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,eAAe,GAAG,CAAC,IAAI,KAAK;AAClC,IAAI,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU;AACtC,IAAI,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS;AACpC,IAAI,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS;AACpC,IAAI,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI;AAC1B,IAAI,IAAI,IAAI,KAAK,KAAK,EAAE;AACxB,QAAQ,OAAO,IAAI;AACnB;AACA,IAAI,MAAM,OAAO,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,GAAG,UAAU;AACjE,IAAI,IAAI,CAAC,OAAO,EAAE;AAClB,QAAQ,OAAO,IAAI;AACnB;AACA,IAAI,OAAO,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC;AAC9C,CAAC;;;;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-CF4QYFB3.js","sources":["node_modules/@ionic/core/dist/collection/utils/gesture/listener.js","node_modules/@ionic/core/dist/collection/utils/gesture/pointer-events.js","node_modules/@ionic/core/dist/collection/utils/gesture/recognizers.js","node_modules/@ionic/core/dist/collection/utils/gesture/index.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nexport const addEventListener = (el, // TODO(FW-2832): type\neventName, callback, opts) => {\n // use event listener options when supported\n // otherwise it's just a boolean for the \"capture\" arg\n const listenerOpts = supportsPassive(el)\n ? {\n capture: !!opts.capture,\n passive: !!opts.passive,\n }\n : !!opts.capture;\n let add;\n let remove;\n if (el['__zone_symbol__addEventListener']) {\n add = '__zone_symbol__addEventListener';\n remove = '__zone_symbol__removeEventListener';\n }\n else {\n add = 'addEventListener';\n remove = 'removeEventListener';\n }\n el[add](eventName, callback, listenerOpts);\n return () => {\n el[remove](eventName, callback, listenerOpts);\n };\n};\nconst supportsPassive = (node) => {\n if (_sPassive === undefined) {\n try {\n const opts = Object.defineProperty({}, 'passive', {\n get: () => {\n _sPassive = true;\n },\n });\n node.addEventListener('optsTest', () => {\n return;\n }, opts);\n }\n catch (e) {\n _sPassive = false;\n }\n }\n return !!_sPassive;\n};\nlet _sPassive;\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { addEventListener } from \"./listener\";\nconst MOUSE_WAIT = 2000;\n// TODO(FW-2832): types\nexport const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {\n let rmTouchStart;\n let rmTouchMove;\n let rmTouchEnd;\n let rmTouchCancel;\n let rmMouseStart;\n let rmMouseMove;\n let rmMouseUp;\n let lastTouchEvent = 0;\n const handleTouchStart = (ev) => {\n lastTouchEvent = Date.now() + MOUSE_WAIT;\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmTouchMove && pointerMove) {\n rmTouchMove = addEventListener(el, 'touchmove', pointerMove, options);\n }\n /**\n * Events are dispatched on the element that is tapped and bubble up to\n * the reference element in the gesture. In the event that the element this\n * event was first dispatched on is removed from the DOM, the event will no\n * longer bubble up to our reference element. This leaves the gesture in an\n * unusable state. To account for this, the touchend and touchcancel listeners\n * should be added to the event target so that they still fire even if the target\n * is removed from the DOM.\n */\n if (!rmTouchEnd) {\n rmTouchEnd = addEventListener(ev.target, 'touchend', handleTouchEnd, options);\n }\n if (!rmTouchCancel) {\n rmTouchCancel = addEventListener(ev.target, 'touchcancel', handleTouchEnd, options);\n }\n };\n const handleMouseDown = (ev) => {\n if (lastTouchEvent > Date.now()) {\n return;\n }\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmMouseMove && pointerMove) {\n rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options);\n }\n if (!rmMouseUp) {\n rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options);\n }\n };\n const handleTouchEnd = (ev) => {\n stopTouch();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const handleMouseUp = (ev) => {\n stopMouse();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const stopTouch = () => {\n if (rmTouchMove) {\n rmTouchMove();\n }\n if (rmTouchEnd) {\n rmTouchEnd();\n }\n if (rmTouchCancel) {\n rmTouchCancel();\n }\n rmTouchMove = rmTouchEnd = rmTouchCancel = undefined;\n };\n const stopMouse = () => {\n if (rmMouseMove) {\n rmMouseMove();\n }\n if (rmMouseUp) {\n rmMouseUp();\n }\n rmMouseMove = rmMouseUp = undefined;\n };\n const stop = () => {\n stopTouch();\n stopMouse();\n };\n const enable = (isEnabled = true) => {\n if (!isEnabled) {\n if (rmTouchStart) {\n rmTouchStart();\n }\n if (rmMouseStart) {\n rmMouseStart();\n }\n rmTouchStart = rmMouseStart = undefined;\n stop();\n }\n else {\n if (!rmTouchStart) {\n rmTouchStart = addEventListener(el, 'touchstart', handleTouchStart, options);\n }\n if (!rmMouseStart) {\n rmMouseStart = addEventListener(el, 'mousedown', handleMouseDown, options);\n }\n }\n };\n const destroy = () => {\n enable(false);\n pointerUp = pointerMove = pointerDown = undefined;\n };\n return {\n enable,\n stop,\n destroy,\n };\n};\nconst getDocument = (node) => {\n return node instanceof Document ? node : node.ownerDocument;\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nexport const createPanRecognizer = (direction, thresh, maxAngle) => {\n const radians = maxAngle * (Math.PI / 180);\n const isDirX = direction === 'x';\n const maxCosine = Math.cos(radians);\n const threshold = thresh * thresh;\n let startX = 0;\n let startY = 0;\n let dirty = false;\n let isPan = 0;\n return {\n start(x, y) {\n startX = x;\n startY = y;\n isPan = 0;\n dirty = true;\n },\n detect(x, y) {\n if (!dirty) {\n return false;\n }\n const deltaX = x - startX;\n const deltaY = y - startY;\n const distance = deltaX * deltaX + deltaY * deltaY;\n if (distance < threshold) {\n return false;\n }\n const hypotenuse = Math.sqrt(distance);\n const cosine = (isDirX ? deltaX : deltaY) / hypotenuse;\n if (cosine > maxCosine) {\n isPan = 1;\n }\n else if (cosine < -maxCosine) {\n isPan = -1;\n }\n else {\n isPan = 0;\n }\n dirty = false;\n return true;\n },\n isGesture() {\n return isPan !== 0;\n },\n getDirection() {\n return isPan;\n },\n };\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { GESTURE_CONTROLLER } from \"./gesture-controller\";\nimport { createPointerEvents } from \"./pointer-events\";\nimport { createPanRecognizer } from \"./recognizers\";\n// TODO(FW-2832): types\nexport const createGesture = (config) => {\n let hasCapturedPan = false;\n let hasStartedPan = false;\n let hasFiredStart = true;\n let isMoveQueued = false;\n const finalConfig = Object.assign({ disableScroll: false, direction: 'x', gesturePriority: 0, passive: true, maxAngle: 40, threshold: 10 }, config);\n const canStart = finalConfig.canStart;\n const onWillStart = finalConfig.onWillStart;\n const onStart = finalConfig.onStart;\n const onEnd = finalConfig.onEnd;\n const notCaptured = finalConfig.notCaptured;\n const onMove = finalConfig.onMove;\n const threshold = finalConfig.threshold;\n const passive = finalConfig.passive;\n const blurOnStart = finalConfig.blurOnStart;\n const detail = {\n type: 'pan',\n startX: 0,\n startY: 0,\n startTime: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n currentTime: 0,\n event: undefined,\n data: undefined,\n };\n const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);\n const gesture = GESTURE_CONTROLLER.createGesture({\n name: config.gestureName,\n priority: config.gesturePriority,\n disableScroll: config.disableScroll,\n });\n const pointerDown = (ev) => {\n const timeStamp = now(ev);\n if (hasStartedPan || !hasFiredStart) {\n return false;\n }\n updateDetail(ev, detail);\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime = timeStamp;\n detail.velocityX = detail.velocityY = detail.deltaX = detail.deltaY = 0;\n detail.event = ev;\n // Check if gesture can start\n if (canStart && canStart(detail) === false) {\n return false;\n }\n // Release fallback\n gesture.release();\n // Start gesture\n if (!gesture.start()) {\n return false;\n }\n hasStartedPan = true;\n if (threshold === 0) {\n return tryToCapturePan();\n }\n pan.start(detail.startX, detail.startY);\n return true;\n };\n const pointerMove = (ev) => {\n // fast path, if gesture is currently captured\n // do minimum job to get user-land even dispatched\n if (hasCapturedPan) {\n if (!isMoveQueued && hasFiredStart) {\n isMoveQueued = true;\n calcGestureData(detail, ev);\n requestAnimationFrame(fireOnMove);\n }\n return;\n }\n // gesture is currently being detected\n calcGestureData(detail, ev);\n if (pan.detect(detail.currentX, detail.currentY)) {\n if (!pan.isGesture() || !tryToCapturePan()) {\n abortGesture();\n }\n }\n };\n const fireOnMove = () => {\n // Since fireOnMove is called inside a RAF, onEnd() might be called,\n // we must double check hasCapturedPan\n if (!hasCapturedPan) {\n return;\n }\n isMoveQueued = false;\n if (onMove) {\n onMove(detail);\n }\n };\n const tryToCapturePan = () => {\n if (!gesture.capture()) {\n return false;\n }\n hasCapturedPan = true;\n hasFiredStart = false;\n // reset start position since the real user-land event starts here\n // If the pan detector threshold is big, not resetting the start position\n // will cause a jump in the animation equal to the detector threshold.\n // the array of positions used to calculate the gesture velocity does not\n // need to be cleaned, more points in the positions array always results in a\n // more accurate value of the velocity.\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime;\n if (onWillStart) {\n onWillStart(detail).then(fireOnStart);\n }\n else {\n fireOnStart();\n }\n return true;\n };\n const blurActiveElement = () => {\n if (typeof document !== 'undefined') {\n const activeElement = document.activeElement;\n if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {\n activeElement.blur();\n }\n }\n };\n const fireOnStart = () => {\n if (blurOnStart) {\n blurActiveElement();\n }\n if (onStart) {\n onStart(detail);\n }\n hasFiredStart = true;\n };\n const reset = () => {\n hasCapturedPan = false;\n hasStartedPan = false;\n isMoveQueued = false;\n hasFiredStart = true;\n gesture.release();\n };\n // END *************************\n const pointerUp = (ev) => {\n const tmpHasCaptured = hasCapturedPan;\n const tmpHasFiredStart = hasFiredStart;\n reset();\n if (!tmpHasFiredStart) {\n return;\n }\n calcGestureData(detail, ev);\n // Try to capture press\n if (tmpHasCaptured) {\n if (onEnd) {\n onEnd(detail);\n }\n return;\n }\n // Not captured any event\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {\n capture: false,\n passive,\n });\n const abortGesture = () => {\n reset();\n pointerEvents.stop();\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n return {\n enable(enable = true) {\n if (!enable) {\n if (hasCapturedPan) {\n pointerUp(undefined);\n }\n reset();\n }\n pointerEvents.enable(enable);\n },\n destroy() {\n gesture.destroy();\n pointerEvents.destroy();\n },\n };\n};\nconst calcGestureData = (detail, ev) => {\n if (!ev) {\n return;\n }\n const prevX = detail.currentX;\n const prevY = detail.currentY;\n const prevT = detail.currentTime;\n updateDetail(ev, detail);\n const currentX = detail.currentX;\n const currentY = detail.currentY;\n const timestamp = (detail.currentTime = now(ev));\n const timeDelta = timestamp - prevT;\n if (timeDelta > 0 && timeDelta < 100) {\n const velocityX = (currentX - prevX) / timeDelta;\n const velocityY = (currentY - prevY) / timeDelta;\n detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;\n detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;\n }\n detail.deltaX = currentX - detail.startX;\n detail.deltaY = currentY - detail.startY;\n detail.event = ev;\n};\nconst updateDetail = (ev, detail) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n let x = 0;\n let y = 0;\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n x = touch.clientX;\n y = touch.clientY;\n }\n else if (ev.pageX !== undefined) {\n x = ev.pageX;\n y = ev.pageY;\n }\n }\n detail.currentX = x;\n detail.currentY = y;\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\nexport { GESTURE_CONTROLLER };\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACO,MAAM,gBAAgB,GAAG,CAAC,EAAE;AACnC,SAAS,EAAE,QAAQ,EAAE,IAAI,KAAK;AAC9B;AACA;AACA,IAAI,MAAM,YAAY,GAAG,eAAe,CAAC,EAAE;AAC3C,UAAU;AACV,YAAY,OAAO,EAAE,KAAc;AACnC,YAAY,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;AACnC;AACA,UAAU,KAAc;AACxB,IAAI,IAAI,GAAG;AACX,IAAI,IAAI,MAAM;AACd,IAAI,IAAI,EAAE,CAAC,iCAAiC,CAAC,EAAE;AAC/C,QAAQ,GAAG,GAAG,iCAAiC;AAC/C,QAAQ,MAAM,GAAG,oCAAoC;AACrD;AACA,SAAS;AACT,QAAQ,GAAG,GAAG,kBAAkB;AAChC,QAAQ,MAAM,GAAG,qBAAqB;AACtC;AACA,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC;AAC9C,IAAI,OAAO,MAAM;AACjB,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC;AACrD,KAAK;AACL,CAAC;AACD,MAAM,eAAe,GAAG,CAAC,IAAI,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AG;AACnE,QAAQ,MAAM,CAAC,SAAS,GAAG,SAAS,GAAG,GAAG,GAAG,MAAM,CAAC,SAAS,GAAG,GAAG;AACnE;AACA,IAAI,MAAM,CAAC,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC,MAAM;AAC5C,IAAI,MAAM,CAAC,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC,MAAM;AAC5C,IAAI,MAAM,CAAC,KAAK,GAAG,EAAE;AACrB,CAAC;AACD,MAAM,YAAY,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK;AACrC;AACA;AACA,IAAI,IAAI,CAAC,GAAG,CAAC;AACb,IAAI,IAAI,CAAC,GAAG,CAAC;AACb,IAAI,IAAI,EAAE,EAAE;AACZ,QAAQ,MAAM,cAAc,GAAG,EAAE,CAAC,cAAc;AAChD,QAAQ,IAAI,cAAc,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE;AACzD,YAAY,MAAM,KAAK,GAAG,cAAc,CAAC,CAAC,CAAC;AAC3C,YAAY,CAAC,GAAG,KAAK,CAAC,OAAO;AAC7B,YAAY,CAAC,GAAG,KAAK,CAAC,OAAO;AAC7B;AACA,aAAa,IAAI,EAAE,CAAC,KAAK,KAAK,SAAS,EAAE;AACzC,YAAY,CAAC,GAAG,EAAE,CAAC,KAAK;AACxB,YAAY,CAAC,GAAG,EAAE,CAAC,KAAK;AACxB;AACA;AACA,IAAI,MAAM,CAAC,QAAQ,GAAG,CAAC;AACvB,IAAI,MAAM,CAAC,QAAQ,GAAG,CAAC;AACvB,CAAC;AACD,MAAM,GAAG,GAAG,CAAC,EAAE,KAAK;AACpB,IAAI,OAAO,EAAE,CAAC,SAAS,IAAI,IAAI,CAAC,GAAG,EAAE;AACrC,CAAC;;;;","x_google_ignoreList":[0,1,2,3]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Ct7Rjd6t.js","sources":["node_modules/@ionic/core/dist/collection/utils/menu-controller/animations/base.js","node_modules/@ionic/core/dist/collection/utils/menu-controller/animations/overlay.js","node_modules/@ionic/core/dist/collection/utils/menu-controller/animations/push.js","node_modules/@ionic/core/dist/collection/utils/menu-controller/animations/reveal.js","node_modules/@ionic/core/dist/collection/utils/menu-controller/index.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { createAnimation } from \"../../animation/animation\";\n/**\n * baseAnimation\n * Base class which is extended by the various types. Each\n * type will provide their own animations for open and close\n * and registers itself with Menu.\n */\nexport const baseAnimation = (isIos) => {\n // https://material.io/guidelines/motion/movement.html#movement-movement-in-out-of-screen-bounds\n // https://material.io/guidelines/motion/duration-easing.html#duration-easing-natural-easing-curves\n /**\n * \"Apply the sharp curve to items temporarily leaving the screen that may return\n * from the same exit point. When they return, use the deceleration curve. On mobile,\n * this transition typically occurs over 300ms\" -- MD Motion Guide\n */\n return createAnimation().duration(isIos ? 400 : 300);\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { getIonMode } from \"../../../global/ionic-global\";\nimport { createAnimation } from \"../../animation/animation\";\nimport { baseAnimation } from \"./base\";\n/**\n * Menu Overlay Type\n * The menu slides over the content. The content\n * itself, which is under the menu, does not move.\n */\nexport const menuOverlayAnimation = (menu) => {\n let closedX;\n let openedX;\n const width = menu.width + 8;\n const menuAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n if (menu.isEndSide) {\n // right side\n closedX = width + 'px';\n openedX = '0px';\n }\n else {\n // left side\n closedX = -width + 'px';\n openedX = '0px';\n }\n menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);\n const mode = getIonMode(menu);\n const isIos = mode === 'ios';\n const opacity = isIos ? 0.2 : 0.25;\n backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);\n return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { getIonMode } from \"../../../global/ionic-global\";\nimport { createAnimation } from \"../../animation/animation\";\nimport { baseAnimation } from \"./base\";\n/**\n * Menu Push Type\n * The content slides over to reveal the menu underneath.\n * The menu itself also slides over to reveal its bad self.\n */\nexport const menuPushAnimation = (menu) => {\n let contentOpenedX;\n let menuClosedX;\n const mode = getIonMode(menu);\n const width = menu.width;\n if (menu.isEndSide) {\n contentOpenedX = -width + 'px';\n menuClosedX = width + 'px';\n }\n else {\n contentOpenedX = width + 'px';\n menuClosedX = -width + 'px';\n }\n const menuAnimation = createAnimation()\n .addElement(menu.menuInnerEl)\n .fromTo('transform', `translateX(${menuClosedX})`, 'translateX(0px)');\n const contentAnimation = createAnimation()\n .addElement(menu.contentEl)\n .fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);\n const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);\n return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { getIonMode } from \"../../../global/ionic-global\";\nimport { createAnimation } from \"../../animation/animation\";\nimport { baseAnimation } from \"./base\";\n/**\n * Menu Reveal Type\n * The content slides over to reveal the menu underneath.\n * The menu itself, which is under the content, does not move.\n */\nexport const menuRevealAnimation = (menu) => {\n const mode = getIonMode(menu);\n const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';\n const contentOpen = createAnimation()\n .addElement(menu.contentEl) // REVIEW\n .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);\n return baseAnimation(mode === 'ios').addAnimation(contentOpen);\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { doc } from \"../browser/index\";\nimport { MENU_BACK_BUTTON_PRIORITY } from \"../hardware-back-button\";\nimport { printIonWarning } from \"../logging/index\";\nimport { componentOnReady } from \"../helpers\";\nimport { menuOverlayAnimation } from \"./animations/overlay\";\nimport { menuPushAnimation } from \"./animations/push\";\nimport { menuRevealAnimation } from \"./animations/reveal\";\nconst createMenuController = () => {\n const menuAnimations = new Map();\n const menus = [];\n const open = async (menu) => {\n const menuEl = await get(menu, true);\n if (menuEl) {\n return menuEl.open();\n }\n return false;\n };\n const close = async (menu) => {\n const menuEl = await (menu !== undefined ? get(menu, true) : getOpen());\n if (menuEl !== undefined) {\n return menuEl.close();\n }\n return false;\n };\n const toggle = async (menu) => {\n const menuEl = await get(menu, true);\n if (menuEl) {\n return menuEl.toggle();\n }\n return false;\n };\n const enable = async (shouldEnable, menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n menuEl.disabled = !shouldEnable;\n }\n return menuEl;\n };\n const swipeGesture = async (shouldEnable, menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n menuEl.swipeGesture = shouldEnable;\n }\n return menuEl;\n };\n const isOpen = async (menu) => {\n if (menu != null) {\n const menuEl = await get(menu);\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n return menuEl !== undefined && menuEl.isOpen();\n }\n else {\n const menuEl = await getOpen();\n return menuEl !== undefined;\n }\n };\n const isEnabled = async (menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n return !menuEl.disabled;\n }\n return false;\n };\n /**\n * Finds and returns the menu specified by \"menu\" if registered.\n * @param menu - The side or ID of the desired menu\n * @param logOnMultipleSideMenus - If true, this function will log a warning\n * if \"menu\" is a side but multiple menus on the same side were found. Since this function\n * is used in multiple places, we default this log to false so that the calling\n * functions can choose whether or not it is appropriate to log this warning.\n */\n const get = async (menu, logOnMultipleSideMenus = false) => {\n await waitUntilReady();\n if (menu === 'start' || menu === 'end') {\n // there could be more than one menu on the same side\n // so first try to get the enabled one\n const menuRefs = menus.filter((m) => m.side === menu && !m.disabled);\n if (menuRefs.length >= 1) {\n if (menuRefs.length > 1 && logOnMultipleSideMenus) {\n printIonWarning(`menuController queried for a menu on the \"${menu}\" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));\n }\n return menuRefs[0].el;\n }\n // didn't find a menu side that is enabled\n // so try to get the first menu side found\n const sideMenuRefs = menus.filter((m) => m.side === menu);\n if (sideMenuRefs.length >= 1) {\n if (sideMenuRefs.length > 1 && logOnMultipleSideMenus) {\n printIonWarning(`menuController queried for a menu on the \"${menu}\" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));\n }\n return sideMenuRefs[0].el;\n }\n }\n else if (menu != null) {\n // the menuId was not left or right\n // so try to get the menu by its \"id\"\n return find((m) => m.menuId === menu);\n }\n // return the first enabled menu\n const menuEl = find((m) => !m.disabled);\n if (menuEl) {\n return menuEl;\n }\n // get the first menu in the array, if one exists\n return menus.length > 0 ? menus[0].el : undefined;\n };\n /**\n * Get the instance of the opened menu. Returns `null` if a menu is not found.\n */\n const getOpen = async () => {\n await waitUntilReady();\n return _getOpenSync();\n };\n /**\n * Get all menu instances.\n */\n const getMenus = async () => {\n await waitUntilReady();\n return getMenusSync();\n };\n /**\n * Get whether or not a menu is animating. Returns `true` if any\n * menu is currently animating.\n */\n const isAnimating = async () => {\n await waitUntilReady();\n return isAnimatingSync();\n };\n const registerAnimation = (name, animation) => {\n menuAnimations.set(name, animation);\n };\n const _register = (menu) => {\n if (menus.indexOf(menu) < 0) {\n menus.push(menu);\n }\n };\n const _unregister = (menu) => {\n const index = menus.indexOf(menu);\n if (index > -1) {\n menus.splice(index, 1);\n }\n };\n const _setOpen = async (menu, shouldOpen, animated, role) => {\n if (isAnimatingSync()) {\n return false;\n }\n if (shouldOpen) {\n const openedMenu = await getOpen();\n if (openedMenu && menu.el !== openedMenu) {\n await openedMenu.setOpen(false, false);\n }\n }\n return menu._setOpen(shouldOpen, animated, role);\n };\n const _createAnimation = (type, menuCmp) => {\n const animationBuilder = menuAnimations.get(type); // TODO(FW-2832): type\n if (!animationBuilder) {\n throw new Error('animation not registered');\n }\n const animation = animationBuilder(menuCmp);\n return animation;\n };\n const _getOpenSync = () => {\n return find((m) => m._isOpen);\n };\n const getMenusSync = () => {\n return menus.map((menu) => menu.el);\n };\n const isAnimatingSync = () => {\n return menus.some((menu) => menu.isAnimating);\n };\n const find = (predicate) => {\n const instance = menus.find(predicate);\n if (instance !== undefined) {\n return instance.el;\n }\n return undefined;\n };\n const waitUntilReady = () => {\n return Promise.all(Array.from(document.querySelectorAll('ion-menu')).map((menu) => new Promise((resolve) => componentOnReady(menu, resolve))));\n };\n registerAnimation('reveal', menuRevealAnimation);\n registerAnimation('push', menuPushAnimation);\n registerAnimation('overlay', menuOverlayAnimation);\n doc === null || doc === void 0 ? void 0 : doc.addEventListener('ionBackButton', (ev) => {\n const openMenu = _getOpenSync();\n if (openMenu) {\n ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {\n return openMenu.close();\n });\n }\n });\n return {\n registerAnimation,\n get,\n getMenus,\n getOpen,\n isEnabled,\n swipeGesture,\n isAnimating,\n isOpen,\n enable,\n toggle,\n close,\n open,\n _getOpenSync,\n _createAnimation,\n _register,\n _unregister,\n _setOpen,\n };\n};\nexport const menuController = /*@__PURE__*/ createMenuController();\n"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,aAAa,GAAG,CAAC,KAAK,KAAK;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,eAAe,EAAE,CAAC,QAAQ,CAAC,KAAK,GAAG,GAAG,GAAG,GAAG,CAAC;AACxD,CAAC;;ACnBD;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACO,MAAM,oBAAoB,GAAG,CAAC,IAAI,KAAK;AAC9C,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC;AAChC,IAAI,MAAM,aAAa,GAAG,eAAe,EAAE;AAC3C,IAAI,MAAM,iBAAiB,GAAG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http://ionicframework.com - MIT License\n */\nexport const win = typeof window !== 'undefined' ? window : undefined;\nexport const doc = typeof document !== 'undefined' ? document : undefined;\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACY,MAAC,GAAG,GAAG,OAAO,MAAM,KAAK,WAAW,GAAG,MAAM,GAAG;AAChD,MAAC,GAAG,GAAG,OAAO,QAAQ,KAAK,WAAW,GAAG,QAAQ,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-ffNEk55Y.js","sources":["node_modules/@ionic/core/dist/collection/utils/content/index.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { componentOnReady } from \"../helpers\";\nimport { printRequiredElementError } from \"../logging\";\nconst ION_CONTENT_TAG_NAME = 'ION-CONTENT';\nexport const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';\nexport const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';\n/**\n * Selector used for implementations reliant on `<ion-content>` for scroll event changes.\n *\n * Developers should use the `.ion-content-scroll-host` selector to target the element emitting\n * scroll events. With virtual scroll implementations this will be the host element for\n * the scroll viewport.\n */\nconst ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;\nexport const isIonContent = (el) => el.tagName === ION_CONTENT_TAG_NAME;\n/**\n * Waits for the element host fully initialize before\n * returning the inner scroll element.\n *\n * For `ion-content` the scroll target will be the result\n * of the `getScrollElement` function.\n *\n * For custom implementations it will be the element host\n * or a selector within the host, if supplied through `scrollTarget`.\n */\nexport const getScrollElement = async (el) => {\n if (isIonContent(el)) {\n await new Promise((resolve) => componentOnReady(el, resolve));\n return el.getScrollElement();\n }\n return el;\n};\n/**\n * Queries the element matching the selector for IonContent.\n * See ION_CONTENT_SELECTOR for the selector used.\n */\nexport const findIonContent = (el) => {\n /**\n * First we try to query the custom scroll host selector in cases where\n * the implementation is using an outer `ion-content` with an inner custom\n * scroll container.\n */\n const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);\n if (customContentHost) {\n return customContentHost;\n }\n return el.querySelector(ION_CONTENT_SELECTOR);\n};\n/**\n * Queries the closest element matching the selector for IonContent.\n */\nexport const findClosestIonContent = (el) => {\n return el.closest(ION_CONTENT_SELECTOR);\n};\n/**\n * Scrolls to the top of the element. If an `ion-content` is found, it will scroll\n * using the public API `scrollToTop` with a duration.\n */\nexport const scrollToTop = (el, durationMs) => {\n if (isIonContent(el)) {\n const content = el;\n return content.scrollToTop(durationMs);\n }\n return Promise.resolve(el.scrollTo({\n top: 0,\n left: 0,\n behavior: durationMs > 0 ? 'smooth' : 'auto',\n }));\n};\n/**\n * Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll\n * using the public API `scrollByPoint` with a duration.\n */\nexport const scrollByPoint = (el, x, y, durationMs) => {\n if (isIonContent(el)) {\n const content = el;\n return content.scrollByPoint(x, y, durationMs);\n }\n return Promise.resolve(el.scrollBy({\n top: y,\n left: x,\n behavior: durationMs > 0 ? 'smooth' : 'auto',\n }));\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within either the `ion-content` selector or the `.ion-content-scroll-host` class.\n */\nexport const printIonContentErrorMsg = (el) => {\n return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);\n};\n/**\n * Several components in Ionic need to prevent scrolling\n * during a gesture (card modal, range, item sliding, etc).\n * Use this utility to account for ion-content and custom content hosts.\n */\nexport const disableContentScrollY = (contentEl) => {\n if (isIonContent(contentEl)) {\n const ionContent = contentEl;\n const initialScrollY = ionContent.scrollY;\n ionContent.scrollY = false;\n /**\n * This should be passed into resetContentScrollY\n * so that we can revert ion-content's scrollY to the\n * correct state. For example, if scrollY = false\n * initially, we do not want to enable scrolling\n * when we call resetContentScrollY.\n */\n return initialScrollY;\n }\n else {\n contentEl.style.setProperty('overflow', 'hidden');\n return true;\n }\n};\nexport const resetContentScrollY = (contentEl, initialScrollY) => {\n if (isIonContent(contentEl)) {\n contentEl.scrollY = initialScrollY;\n }\n else {\n contentEl.style.removeProperty('overflow');\n }\n};\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,oBAAoB,GAAG,aAAa;AAC9B,MAAC,4BAA4B,GAAG;AAChC,MAAC,0BAA0B,GAAG;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,oBAAoB,GAAG,CAAC,EAAE,4BAA4B,CAAC,EAAE,EAAE,0BAA0B,CAAC,CAAC;AACjF,MAAC,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,OAAO,KAAK;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,gBAAgB,GAAG,OAAO,EAAE,KAAK;AAC9C,IAAI,IAAI,YAAY,CAAC,EAAE,CAAC,EAAE;AAC1B,QAAQ,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK,gBAAgB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;AACrE,QAAQ,OAAO,EAAE,CAAC,gBAAgB,EAAE;AACpC;AACA,IAAI,OAAO,EAAE;AACb;AACA;AACA;AACA;AACA;AACY,MAAC,cAAc,GAAG,CAAC,EAAE,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA,IAAI,MAAM,iBAAiB,GAAG,EAAE,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,IAAI,IAAI,iBAAiB,EAAE;AAC3B,QAAQ,OAAO,iBAAiB;AAChC;AACA,IAAI,OAAO,EAAE,CAAC,aAAa,CAAC,oBAAoB,CAAC;AACjD;AACA;AACA;AACA;AACY,MAAC,qBAAqB,GAAG,CAAC,EAAE,KAAK;AAC7C,IAAI,OAAO,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC;AAC3C;AACA;AACA;AACA;AACA;AACY,MAAC,WAAW,GAAG,CAAC,EAAE,EAAE,UAAU,KAAK;AAC/C,IAAI,IAAI,YAAY,C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AQ,OAAO,cAAc;AAC7B;AACA,SAAS;AACT,QAAQ,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,QAAQ,CAAC;AACzD,QAAQ,OAAO,IAAI;AACnB;AACA;AACY,MAAC,mBAAmB,GAAG,CAAC,SAAS,EAAE,cAAc,KAAK;AAClE,IAAI,IAAI,YAAY,CAAC,SAAS,CAAC,EAAE;AACjC,QAAQ,SAAS,CAAC,OAAO,GAAG,cAAc;AAC1C;AACA,SAAS;AACT,QAAQ,SAAS,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC;AAClD;AACA;;;;","x_google_ignoreList":[0]}
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-shims-DkzcZwWm.js","sources":["node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/common.js","node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/hide-caret.js","node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/input-blurring.js","node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-data.js","node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-padding.js","node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-assist.js","node_modules/@ionic/core/dist/collection/utils/input-shims/input-shims.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst cloneMap = new WeakMap();\nexport const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {\n if (cloneMap.has(componentEl) === shouldRelocate) {\n return;\n }\n if (shouldRelocate) {\n addClone(componentEl, inputEl, inputRelativeY, disabledClonedInput);\n }\n else {\n removeClone(componentEl, inputEl);\n }\n};\nexport const isFocused = (input) => {\n /**\n * https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode\n * Calling getRootNode on an element in standard web page will return HTMLDocument.\n * Calling getRootNode on an element inside of the Shadow DOM will return the associated ShadowRoot.\n * Calling getRootNode on an element that is not attached to a document/shadow tree will return\n * the root of the DOM tree it belongs to.\n * isFocused is used for the hide-caret utility which only considers input/textarea elements\n * that are present in the DOM, so we don't set types for that final case since it does not apply.\n */\n return input === input.getRootNode().activeElement;\n};\nconst addClone = (componentEl, inputEl, inputRelativeY, disabledClonedInput = false) => {\n // this allows for the actual input to receive the focus from\n // the user's touch event, but before it receives focus, it\n // moves the actual input to a location that will not screw\n // up the app's layout, and does not allow the native browser\n // to attempt to scroll the input into place (messing up headers/footers)\n // the cloned input fills the area of where native input should be\n // while the native input fakes out the browser by relocating itself\n // before it receives the actual focus event\n // We hide the focused input (with the visible caret) invisible by making it scale(0),\n const parentEl = inputEl.parentNode;\n // DOM WRITES\n const clonedEl = inputEl.cloneNode(false);\n clonedEl.classList.add('cloned-input');\n clonedEl.tabIndex = -1;\n /**\n * Making the cloned input disabled prevents\n * Chrome for Android from still scrolling\n * the entire page since this cloned input\n * will briefly be hidden by the keyboard\n * even though it is not focused.\n *\n * This is not needed on iOS. While this\n * does not cause functional issues on iOS,\n * the input still appears slightly dimmed even\n * if we set opacity: 1.\n */\n if (disabledClonedInput) {\n clonedEl.disabled = true;\n }\n parentEl.appendChild(clonedEl);\n cloneMap.set(componentEl, clonedEl);\n const doc = componentEl.ownerDocument;\n const tx = doc.dir === 'rtl' ? 9999 : -9999;\n componentEl.style.pointerEvents = 'none';\n inputEl.style.transform = `translate3d(${tx}px,${inputRelativeY}px,0) scale(0)`;\n};\nconst removeClone = (componentEl, inputEl) => {\n const clone = cloneMap.get(componentEl);\n if (clone) {\n cloneMap.delete(componentEl);\n clone.remove();\n }\n componentEl.style.pointerEvents = '';\n inputEl.style.transform = '';\n};\n/**\n * Factoring in 50px gives us some room\n * in case the keyboard shows password/autofill bars\n * asynchronously.\n */\nexport const SCROLL_AMOUNT_PADDING = 50;\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { addEventListener, removeEventListener } from \"../../helpers\";\nimport { isFocused, relocateInput } from \"./common\";\nexport const enableHideCaretOnScroll = (componentEl, inputEl, scrollEl) => {\n if (!scrollEl || !inputEl) {\n return () => {\n return;\n };\n }\n const scrollHideCaret = (shouldHideCaret) => {\n if (isFocused(inputEl)) {\n relocateInput(componentEl, inputEl, shouldHideCaret);\n }\n };\n const onBlur = () => relocateInput(componentEl, inputEl, false);\n const hideCaret = () => scrollHideCaret(true);\n const showCaret = () => scrollHideCaret(false);\n addEventListener(scrollEl, 'ionScrollStart', hideCaret);\n addEventListener(scrollEl, 'ionScrollEnd', showCaret);\n inputEl.addEventListener('blur', onBlur);\n return () => {\n removeEventListener(scrollEl, 'ionScrollStart', hideCaret);\n removeEventListener(scrollEl, 'ionScrollEnd', showCaret);\n inputEl.removeEventListener('blur', onBlur);\n };\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { addEventListener, removeEventListener } from \"../../helpers\";\nconst SKIP_SELECTOR = 'input, textarea, [no-blur], [contenteditable]';\nexport const enableInputBlurring = () => {\n let focused = true;\n let didScroll = false;\n const doc = document;\n const onScroll = () => {\n didScroll = true;\n };\n const onFocusin = () => {\n focused = true;\n };\n const onTouchend = (ev) => {\n // if app did scroll return early\n if (didScroll) {\n didScroll = false;\n return;\n }\n const active = doc.activeElement;\n if (!active) {\n return;\n }\n // only blur if the active element is a text-input or a textarea\n if (active.matches(SKIP_SELECTOR)) {\n return;\n }\n // if the selected target is the active element, do not blur\n const tapped = ev.target;\n if (tapped === active) {\n return;\n }\n if (tapped.matches(SKIP_SELECTOR) || tapped.closest(SKIP_SELECTOR)) {\n return;\n }\n focused = false;\n // TODO FW-2796: find a better way, why 50ms?\n setTimeout(() => {\n if (!focused) {\n active.blur();\n }\n }, 50);\n };\n addEventListener(doc, 'ionScrollStart', onScroll);\n doc.addEventListener('focusin', onFocusin, true);\n doc.addEventListener('touchend', onTouchend, false);\n return () => {\n removeEventListener(doc, 'ionScrollStart', onScroll, true);\n doc.removeEventListener('focusin', onFocusin, true);\n doc.removeEventListener('touchend', onTouchend, false);\n };\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { SCROLL_AMOUNT_PADDING } from \"./common\";\nconst SCROLL_ASSIST_SPEED = 0.3;\nexport const getScrollData = (componentEl, contentEl, keyboardHeight, platformHeight) => {\n var _a;\n const itemEl = (_a = componentEl.closest('ion-item,[ion-item]')) !== null && _a !== void 0 ? _a : componentEl;\n return calcScrollData(itemEl.getBoundingClientRect(), contentEl.getBoundingClientRect(), keyboardHeight, platformHeight);\n};\nconst calcScrollData = (inputRect, contentRect, keyboardHeight, platformHeight) => {\n // compute input's Y values relative to the body\n const inputTop = inputRect.top;\n const inputBottom = inputRect.bottom;\n // compute visible area\n const visibleAreaTop = contentRect.top;\n const visibleAreaBottom = Math.min(contentRect.bottom, platformHeight - keyboardHeight);\n // compute safe area\n const safeAreaTop = visibleAreaTop + 15;\n const safeAreaBottom = visibleAreaBottom - SCROLL_AMOUNT_PADDING;\n // figure out if each edge of the input is within the safe area\n const distanceToBottom = safeAreaBottom - inputBottom;\n const distanceToTop = safeAreaTop - inputTop;\n // desiredScrollAmount is the negated distance to the safe area according to our calculations.\n const desiredScrollAmount = Math.round(distanceToBottom < 0 ? -distanceToBottom : distanceToTop > 0 ? -distanceToTop : 0);\n // our calculations make some assumptions that aren't always true, like the keyboard being closed when an input\n // gets focus, so make sure we don't scroll the input above the visible area\n const scrollAmount = Math.min(desiredScrollAmount, inputTop - visibleAreaTop);\n const distance = Math.abs(scrollAmount);\n const duration = distance / SCROLL_ASSIST_SPEED;\n const scrollDuration = Math.min(400, Math.max(150, duration));\n return {\n scrollAmount,\n scrollDuration,\n scrollPadding: keyboardHeight,\n inputSafeY: -(inputTop - safeAreaTop) + 4,\n };\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst PADDING_TIMER_KEY = '$ionPaddingTimer';\n/**\n * Scroll padding adds additional padding to the bottom\n * of ion-content so that there is enough scroll space\n * for an input to be scrolled above the keyboard. This\n * is needed in environments where the webview does not\n * resize when the keyboard opens.\n *\n * Example: If an input at the bottom of ion-content is\n * focused, there is no additional scrolling space below\n * it, so the input cannot be scrolled above the keyboard.\n * Scroll padding fixes this by adding padding equal to the\n * height of the keyboard to the bottom of the content.\n *\n * Common environments where this is needed:\n * - Mobile Safari: The keyboard overlays the content\n * - Capacitor/Cordova on iOS: The keyboard overlays the content\n * when the KeyboardResize mode is set to 'none'.\n */\nexport const setScrollPadding = (contentEl, paddingAmount, clearCallback) => {\n const timer = contentEl[PADDING_TIMER_KEY];\n if (timer) {\n clearTimeout(timer);\n }\n if (paddingAmount > 0) {\n contentEl.style.setProperty('--keyboard-offset', `${paddingAmount}px`);\n }\n else {\n contentEl[PADDING_TIMER_KEY] = setTimeout(() => {\n contentEl.style.setProperty('--keyboard-offset', '0px');\n if (clearCallback) {\n clearCallback();\n }\n }, 120);\n }\n};\n/**\n * When an input is about to be focused,\n * set a timeout to clear any scroll padding\n * on the content. Note: The clearing\n * is done on a timeout so that if users\n * are moving focus from one input to the next\n * then re-adding scroll padding to the new\n * input with cancel the timeout to clear the\n * scroll padding.\n */\nexport const setClearScrollPaddingListener = (inputEl, contentEl, doneCallback) => {\n const clearScrollPadding = () => {\n if (contentEl) {\n setScrollPadding(contentEl, 0, doneCallback);\n }\n };\n inputEl.addEventListener('focusout', clearScrollPadding, { once: true });\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { win } from \"../../browser/index\";\nimport { getScrollElement, scrollByPoint } from \"../../content\";\nimport { raf } from \"../../helpers\";\nimport { KeyboardResize } from \"../../native/keyboard\";\nimport { relocateInput, SCROLL_AMOUNT_PADDING } from \"./common\";\nimport { getScrollData } from \"./scroll-data\";\nimport { setScrollPadding, setClearScrollPaddingListener } from \"./scroll-padding\";\nlet currentPadding = 0;\nconst SKIP_SCROLL_ASSIST = 'data-ionic-skip-scroll-assist';\nexport const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, keyboardResize, disableClonedInput = false) => {\n /**\n * Scroll padding should only be added if:\n * 1. The global scrollPadding config option\n * is set to true.\n * 2. The native keyboard resize mode is either \"none\"\n * (keyboard overlays webview) or undefined (resize\n * information unavailable)\n * Resize info is available on Capacitor 4+\n */\n const addScrollPadding = enableScrollPadding && (keyboardResize === undefined || keyboardResize.mode === KeyboardResize.None);\n /**\n * This tracks whether or not the keyboard has been\n * presented for a single focused text field. Note\n * that it does not track if the keyboard is open\n * in general such as if the keyboard is open for\n * a different focused text field.\n */\n let hasKeyboardBeenPresentedForTextField = false;\n /**\n * When adding scroll padding we need to know\n * how much of the viewport the keyboard obscures.\n * We do this by subtracting the keyboard height\n * from the platform height.\n *\n * If we compute this value when switching between\n * inputs then the webview may already be resized.\n * At this point, `win.innerHeight` has already accounted\n * for the keyboard meaning we would then subtract\n * the keyboard height again. This will result in the input\n * being scrolled more than it needs to.\n */\n const platformHeight = win !== undefined ? win.innerHeight : 0;\n /**\n * Scroll assist is run when a text field\n * is focused. However, it may need to\n * re-run when the keyboard size changes\n * such that the text field is now hidden\n * underneath the keyboard.\n * This function re-runs scroll assist\n * when that happens.\n *\n * One limitation of this is on a web browser\n * where native keyboard APIs do not have cross-browser\n * support. `ionKeyboardDidShow` relies on the Visual Viewport API.\n * This means that if the keyboard changes but does not change\n * geometry, then scroll assist will not re-run even if\n * the user has scrolled the text field under the keyboard.\n * This is not a problem when running in Cordova/Capacitor\n * because `ionKeyboardDidShow` uses the native events\n * which fire every time the keyboard changes.\n */\n const keyboardShow = (ev) => {\n /**\n * If the keyboard has not yet been presented\n * for this text field then the text field has just\n * received focus. In that case, the focusin listener\n * will run scroll assist.\n */\n if (hasKeyboardBeenPresentedForTextField === false) {\n hasKeyboardBeenPresentedForTextField = true;\n return;\n }\n /**\n * Otherwise, the keyboard has already been presented\n * for the focused text field.\n * This means that the keyboard likely changed\n * geometry, and we need to re-run scroll assist.\n * This can happen when the user rotates their device\n * or when they switch keyboards.\n *\n * Make sure we pass in the computed keyboard height\n * rather than the estimated keyboard height.\n *\n * Since the keyboard is already open then we do not\n * need to wait for the webview to resize, so we pass\n * \"waitForResize: false\".\n */\n jsSetFocus(componentEl, inputEl, contentEl, footerEl, ev.detail.keyboardHeight, addScrollPadding, disableClonedInput, platformHeight, false);\n };\n /**\n * Reset the internal state when the text field loses focus.\n */\n const focusOut = () => {\n hasKeyboardBeenPresentedForTextField = false;\n win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);\n componentEl.removeEventListener('focusout', focusOut);\n };\n /**\n * When the input is about to receive\n * focus, we need to move it to prevent\n * mobile Safari from adjusting the viewport.\n */\n const focusIn = async () => {\n /**\n * Scroll assist should not run again\n * on inputs that have been manually\n * focused inside of the scroll assist\n * implementation.\n */\n if (inputEl.hasAttribute(SKIP_SCROLL_ASSIST)) {\n inputEl.removeAttribute(SKIP_SCROLL_ASSIST);\n return;\n }\n jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);\n win === null || win === void 0 ? void 0 : win.addEventListener('ionKeyboardDidShow', keyboardShow);\n componentEl.addEventListener('focusout', focusOut);\n };\n componentEl.addEventListener('focusin', focusIn);\n return () => {\n componentEl.removeEventListener('focusin', focusIn);\n win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);\n componentEl.removeEventListener('focusout', focusOut);\n };\n};\n/**\n * Use this function when you want to manually\n * focus an input but not have scroll assist run again.\n */\nconst setManualFocus = (el) => {\n var _a;\n /**\n * If element is already focused then\n * a new focusin event will not be dispatched\n * to remove the SKIL_SCROLL_ASSIST attribute.\n */\n if (document.activeElement === el) {\n return;\n }\n /**\n * Optimization for scenarios where the currently focused element is a sibling\n * of the target element. In such cases, we avoid setting `SKIP_SCROLL_ASSIST`.\n *\n * This is crucial for accessibility: input elements can now contain focusable\n * siblings (e.g., clear buttons, slotted elements). If we didn't skip setting\n * the attribute here, screen readers would be unable to navigate to and interact\n * with these sibling elements.\n *\n * Without this check, we would need to call `ev.stopPropagation()` on the\n * 'focusin' event of each focusable sibling to prevent the scroll assist\n * listener from incorrectly moving focus back to the input. That approach\n * would be less maintainable and more error-prone.\n */\n const inputId = el.getAttribute('id');\n const label = el.closest(`label[for=\"${inputId}\"]`);\n const activeElLabel = (_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(`label[for=\"${inputId}\"]`);\n if (label !== null && label === activeElLabel) {\n // If the label is the same as the active element label, then\n // we don't need to set the `SKIP_SCROLL_ASSIST` and reset focus.\n return;\n }\n el.setAttribute(SKIP_SCROLL_ASSIST, 'true');\n el.focus();\n};\nconst jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight, enableScrollPadding, disableClonedInput = false, platformHeight = 0, waitForResize = true) => {\n if (!contentEl && !footerEl) {\n return;\n }\n const scrollData = getScrollData(componentEl, (contentEl || footerEl), keyboardHeight, platformHeight);\n if (contentEl && Math.abs(scrollData.scrollAmount) < 4) {\n // the text input is in a safe position that doesn't\n // require it to be scrolled into view, just set focus now\n setManualFocus(inputEl);\n /**\n * Even though the input does not need\n * scroll assist, we should preserve the\n * the scroll padding as users could be moving\n * focus from an input that needs scroll padding\n * to an input that does not need scroll padding.\n * If we remove the scroll padding now, users will\n * see the page jump.\n */\n if (enableScrollPadding && contentEl !== null) {\n setScrollPadding(contentEl, currentPadding);\n setClearScrollPaddingListener(inputEl, contentEl, () => (currentPadding = 0));\n }\n return;\n }\n // temporarily move the focus to the focus holder so the browser\n // doesn't freak out while it's trying to get the input in place\n // at this point the native text input still does not have focus\n relocateInput(componentEl, inputEl, true, scrollData.inputSafeY, disableClonedInput);\n setManualFocus(inputEl);\n /**\n * Relocating/Focusing input causes the\n * click event to be cancelled, so\n * manually fire one here.\n */\n raf(() => componentEl.click());\n /**\n * If enabled, we can add scroll padding to\n * the bottom of the content so that scroll assist\n * has enough room to scroll the input above\n * the keyboard.\n */\n if (enableScrollPadding && contentEl) {\n currentPadding = scrollData.scrollPadding;\n setScrollPadding(contentEl, currentPadding);\n }\n if (typeof window !== 'undefined') {\n let scrollContentTimeout;\n const scrollContent = async () => {\n // clean up listeners and timeouts\n if (scrollContentTimeout !== undefined) {\n clearTimeout(scrollContentTimeout);\n }\n window.removeEventListener('ionKeyboardDidShow', doubleKeyboardEventListener);\n window.removeEventListener('ionKeyboardDidShow', scrollContent);\n // scroll the input into place\n if (contentEl) {\n await scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);\n }\n // the scroll view is in the correct position now\n // give the native text input focus\n relocateInput(componentEl, inputEl, false, scrollData.inputSafeY);\n // ensure this is the focused input\n setManualFocus(inputEl);\n /**\n * When the input is about to be blurred\n * we should set a timeout to remove\n * any scroll padding.\n */\n if (enableScrollPadding) {\n setClearScrollPaddingListener(inputEl, contentEl, () => (currentPadding = 0));\n }\n };\n const doubleKeyboardEventListener = () => {\n window.removeEventListener('ionKeyboardDidShow', doubleKeyboardEventListener);\n window.addEventListener('ionKeyboardDidShow', scrollContent);\n };\n if (contentEl) {\n const scrollEl = await getScrollElement(contentEl);\n /**\n * scrollData will only consider the amount we need\n * to scroll in order to properly bring the input\n * into view. It will not consider the amount\n * we can scroll in the content element.\n * As a result, scrollData may request a greater\n * scroll position than is currently available\n * in the DOM. If this is the case, we need to\n * wait for the webview to resize/the keyboard\n * to show in order for additional scroll\n * bandwidth to become available.\n */\n const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;\n if (waitForResize && scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {\n /**\n * On iOS devices, the system will show a \"Passwords\" bar above the keyboard\n * after the initial keyboard is shown. This prevents the webview from resizing\n * until the \"Passwords\" bar is shown, so we need to wait for that to happen first.\n */\n if (inputEl.type === 'password') {\n // Add 50px to account for the \"Passwords\" bar\n scrollData.scrollAmount += SCROLL_AMOUNT_PADDING;\n window.addEventListener('ionKeyboardDidShow', doubleKeyboardEventListener);\n }\n else {\n window.addEventListener('ionKeyboardDidShow', scrollContent);\n }\n /**\n * This should only fire in 2 instances:\n * 1. The app is very slow.\n * 2. The app is running in a browser on an old OS\n * that does not support Ionic Keyboard Events\n */\n scrollContentTimeout = setTimeout(scrollContent, 1000);\n return;\n }\n }\n scrollContent();\n }\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { doc } from \"../browser/index\";\nimport { findClosestIonContent } from \"../content\";\nimport { componentOnReady } from \"../helpers\";\nimport { Keyboard } from \"../native/keyboard\";\nimport { enableHideCaretOnScroll } from \"./hacks/hide-caret\";\nimport { enableInputBlurring } from \"./hacks/input-blurring\";\nimport { enableScrollAssist } from \"./hacks/scroll-assist\";\nconst INPUT_BLURRING = true;\nconst SCROLL_ASSIST = true;\nconst HIDE_CARET = true;\nexport const startInputShims = async (config, platform) => {\n /**\n * If doc is undefined then we are in an SSR environment\n * where input shims do not apply.\n */\n if (doc === undefined) {\n return;\n }\n const isIOS = platform === 'ios';\n const isAndroid = platform === 'android';\n /**\n * Hide Caret and Input Blurring are needed on iOS.\n * Scroll Assist and Scroll Padding are needed on iOS and Android\n * with Chrome web browser (not Chrome webview).\n */\n const keyboardHeight = config.getNumber('keyboardHeight', 290);\n const scrollAssist = config.getBoolean('scrollAssist', true);\n const hideCaret = config.getBoolean('hideCaretOnScroll', isIOS);\n /**\n * The team is evaluating if inputBlurring is still needed. As a result\n * this feature is disabled by default as of Ionic 8.0. Developers are\n * able to re-enable it temporarily. The team may remove this utility\n * if it is determined that doing so would not bring any adverse side effects.\n * TODO FW-6014 remove input blurring utility (including implementation)\n */\n const inputBlurring = config.getBoolean('inputBlurring', false);\n const scrollPadding = config.getBoolean('scrollPadding', true);\n const inputs = Array.from(doc.querySelectorAll('ion-input, ion-textarea'));\n const hideCaretMap = new WeakMap();\n const scrollAssistMap = new WeakMap();\n /**\n * Grab the native keyboard resize configuration\n * and pass it to scroll assist. Scroll assist requires\n * that we adjust the input right before the input\n * is about to be focused. If we called `Keyboard.getResizeMode`\n * on focusin in scroll assist, we could potentially adjust the\n * input too late since this call is async.\n */\n const keyboardResizeMode = await Keyboard.getResizeMode();\n const registerInput = async (componentEl) => {\n await new Promise((resolve) => componentOnReady(componentEl, resolve));\n const inputRoot = componentEl.shadowRoot || componentEl;\n const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');\n const scrollEl = findClosestIonContent(componentEl);\n const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;\n if (!inputEl) {\n return;\n }\n if (HIDE_CARET && !!scrollEl && hideCaret && !hideCaretMap.has(componentEl)) {\n const rmFn = enableHideCaretOnScroll(componentEl, inputEl, scrollEl);\n hideCaretMap.set(componentEl, rmFn);\n }\n /**\n * date/datetime-locale inputs on mobile devices show date picker\n * overlays instead of keyboards. As a result, scroll assist is\n * not needed. This also works around a bug in iOS <16 where\n * scroll assist causes the browser to lock up. See FW-1997.\n */\n const isDateInput = inputEl.type === 'date' || inputEl.type === 'datetime-local';\n if (SCROLL_ASSIST &&\n !isDateInput &&\n (!!scrollEl || !!footerEl) &&\n scrollAssist &&\n !scrollAssistMap.has(componentEl)) {\n const rmFn = enableScrollAssist(componentEl, inputEl, scrollEl, footerEl, keyboardHeight, scrollPadding, keyboardResizeMode, isAndroid);\n scrollAssistMap.set(componentEl, rmFn);\n }\n };\n const unregisterInput = (componentEl) => {\n if (HIDE_CARET && hideCaret) {\n const fn = hideCaretMap.get(componentEl);\n if (fn) {\n fn();\n }\n hideCaretMap.delete(componentEl);\n }\n if (SCROLL_ASSIST && scrollAssist) {\n const fn = scrollAssistMap.get(componentEl);\n if (fn) {\n fn();\n }\n scrollAssistMap.delete(componentEl);\n }\n };\n if (inputBlurring && INPUT_BLURRING) {\n enableInputBlurring();\n }\n // Input might be already loaded in the DOM before ion-device-hacks did.\n // At this point we need to look for all of the inputs not registered yet\n // and register them.\n for (const input of inputs) {\n registerInput(input);\n }\n doc.addEventListener('ionInputDidLoad', (ev) => {\n registerInput(ev.detail);\n });\n doc.addEventListener('ionInputDidUnload', (ev) => {\n unregisterInput(ev.detail);\n });\n};\n"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAE;AACvB,MAAM,aAAa,GAAG,CAAC,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,GAAG,CAAC,EAAE,mBAAmB,GAAG,KAAK,KAAK;AACxH,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,cAAc,EAAE;AACtD,QAAQ;AACR;AACA,IAAI,IAAI,cAAc,EAAE;AACxB,QAAQ,QAAQ,CAAC,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,mBAAmB,CAAC;AAC3E;AACA,SAAS;AACT,QAAQ,WAAW,CAAC,WAAW,EAAE,OAAO,CAAC;AACzC;AACA,CAAC;AACM,MAAM,SAAS,GAAG,CAAC,KAAK,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,KAAK,KAAK,KAAK,CAAC,WAAW,EAAE,CAAC,aAAa;AACtD,CAAC;AACD,MAAM,QAAQ,GAAG,CAAC,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,mBAAmB,GAAG,KAAK,KAAK;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU;AACvC;AACA,IAAI,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC;AAC7C,IAAI,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,cAAc,CAAC;AAC1C,IAAI,QAAQ,CAAC,QAAQ,GAAG,EAAE;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,mBAAmB,EAAE;AAC7B,QAAQ,QAAQ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,SAAS,EAAE;AACrC,YAAY,MAAM,EAAE,GAAG,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC;AACpD,YAAY,IAAI,EAAE,EAAE;AACpB,gBAAgB,EAAE,EAAE;AACpB;AACA,YAAY,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC;AAC5C;AACA,QAAQ,IAAqB,YAAY,EAAE;AAC3C,YAAY,MAAM,EAAE,GAAG,eAAe,CAAC,GAAG,CAAC,WAAW,CAAC;AACvD,YAAY,IAAI,EAAE,EAAE;AACpB,gBAAgB,EAAE,EAAE;AACpB;AACA,YAAY,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC;AAC/C;AACA,KAAK;AACL,IAAI,IAAI,aAAa,IAAI,cAAc,EAAE;AACzC,QAAQ,mBAAmB,EAAE;AAC7B;AACA;AACA;AACA;AACA,IAAI,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;AAChC,QAAQ,aAAa,CAAC,KAAK,CAAC;AAC5B;AACA,IAAI,GAAG,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,CAAC,EAAE,KAAK;AACpD,QAAQ,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC;AAChC,KAAK,CAAC;AACN,IAAI,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,CAAC,EAAE,KAAK;AACtD,QAAQ,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC;AAClC,KAAK,CAAC;AACN;;;;","x_google_ignoreList":[0,1,2,3,4,5,6]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.utils-C_QovwBX.js","sources":["node_modules/@ionic/core/dist/collection/utils/slot-mutation-controller.js","node_modules/@ionic/core/dist/collection/components/input/input.utils.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { win } from \"./browser/index\";\nimport { raf } from \"./helpers\";\n/**\n * Used to update a scoped component that uses emulated slots. This fires when\n * content is passed into the slot or when the content inside of a slot changes.\n * This is not needed for components using native slots in the Shadow DOM.\n * @internal\n * @param el The host element to observe\n * @param slotName mutationCallback will fire when nodes on these slot(s) change\n * @param mutationCallback The callback to fire whenever the slotted content changes\n */\nexport const createSlotMutationController = (el, slotName, mutationCallback) => {\n let hostMutationObserver;\n let slottedContentMutationObserver;\n if (win !== undefined && 'MutationObserver' in win) {\n const slots = Array.isArray(slotName) ? slotName : [slotName];\n hostMutationObserver = new MutationObserver((entries) => {\n for (const entry of entries) {\n for (const node of entry.addedNodes) {\n /**\n * Check to see if the added node\n * is our slotted content.\n */\n if (node.nodeType === Node.ELEMENT_NODE && slots.includes(node.slot)) {\n /**\n * If so, we want to watch the slotted\n * content itself for changes. This lets us\n * detect when content inside of the slot changes.\n */\n mutationCallback();\n /**\n * Adding the listener in an raf\n * waits until Stencil moves the slotted element\n * into the correct place in the event that\n * slotted content is being added.\n */\n raf(() => watchForSlotChange(node));\n return;\n }\n }\n }\n });\n hostMutationObserver.observe(el, {\n childList: true,\n /**\n * This fixes an issue with the `ion-input` and\n * `ion-textarea` not re-rendering in some cases\n * when using the label slot functionality.\n *\n * HTML element patches in Stencil that are enabled\n * by the `experimentalSlotFixes` flag in Stencil v4\n * result in DOM manipulations that won't trigger\n * the current mutation observer configuration and\n * callback.\n */\n subtree: true,\n });\n }\n /**\n * Listen for changes inside of the slotted content.\n * We can listen for subtree changes here to be\n * informed of text within the slotted content\n * changing. Doing this on the host is possible\n * but it is much more expensive to do because\n * it also listens for changes to the internals\n * of the component.\n */\n const watchForSlotChange = (slottedEl) => {\n var _a;\n if (slottedContentMutationObserver) {\n slottedContentMutationObserver.disconnect();\n slottedContentMutationObserver = undefined;\n }\n slottedContentMutationObserver = new MutationObserver((entries) => {\n mutationCallback();\n for (const entry of entries) {\n for (const node of entry.removedNodes) {\n /**\n * If the element was removed then we\n * need to destroy the MutationObserver\n * so the element can be garbage collected.\n */\n if (node.nodeType === Node.ELEMENT_NODE && node.slot === slotName) {\n destroySlottedContentObserver();\n }\n }\n }\n });\n /**\n * Listen for changes inside of the element\n * as well as anything deep in the tree.\n * We listen on the parentElement so that we can\n * detect when slotted element itself is removed.\n */\n slottedContentMutationObserver.observe((_a = slottedEl.parentElement) !== null && _a !== void 0 ? _a : slottedEl, { subtree: true, childList: true });\n };\n const destroy = () => {\n if (hostMutationObserver) {\n hostMutationObserver.disconnect();\n hostMutationObserver = undefined;\n }\n destroySlottedContentObserver();\n };\n const destroySlottedContentObserver = () => {\n if (slottedContentMutationObserver) {\n slottedContentMutationObserver.disconnect();\n slottedContentMutationObserver = undefined;\n }\n };\n return {\n destroy,\n };\n};\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { printIonError } from \"../../utils/logging/index\";\nexport const getCounterText = (value, maxLength, counterFormatter) => {\n const valueLength = value == null ? 0 : value.toString().length;\n const defaultCounterText = defaultCounterFormatter(valueLength, maxLength);\n /**\n * If developers did not pass a custom formatter,\n * use the default one.\n */\n if (counterFormatter === undefined) {\n return defaultCounterText;\n }\n /**\n * Otherwise, try to use the custom formatter\n * and fallback to the default formatter if\n * there was an error.\n */\n try {\n return counterFormatter(valueLength, maxLength);\n }\n catch (e) {\n printIonError('[ion-input] - Exception in provided `counterFormatter`:', e);\n return defaultCounterText;\n }\n};\nconst defaultCounterFormatter = (length, maxlength) => {\n return `${length} / ${maxlength}`;\n};\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,4BAA4B,GAAG,CAAC,EAAE,EAAE,QAAQ,EAAE,gBAAgB,KAAK;AAChF,IAAI,IAAI,oBAAoB;AAC5B,IAAI,IAAI,8BAA8B;AACtC,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,kBAAkB,IAAI,GAAG,EAAE;AACxD,QAAQ,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,GAAG,CAAC,QAAQ,CAAC;AACrE,QAAQ,oBAAoB,GAAG,IAA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yD,EAAE,CAAC,CAAC;AACnF,QAAQ,OAAO,kBAAkB;AACjC;AACA;AACA,MAAM,uBAAuB,GAAG,CAAC,MAAM,EAAE,SAAS,KAAK;AACvD,IAAI,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;AACrC,CAAC;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ion-accordion-group.entry.js","sources":["node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css?tag=ion-accordion-group&mode=ios&encapsulation=shadow","node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css?tag=ion-accordion-group&mode=md&encapsulation=shadow","node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n display: block;\n}\n\n:host(.accordion-group-expand-inset) {\n -webkit-margin-start: 16px;\n margin-inline-start: 16px;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 16px;\n margin-bottom: 16px;\n}\n\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded) {\n border-bottom: none;\n}","/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n display: block;\n}\n\n:host(.accordion-group-expand-inset) {\n -webkit-margin-start: 16px;\n margin-inline-start: 16px;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 16px;\n margin-bottom: 16px;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion) {\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n}\n\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded) {\n margin-left: 0;\n margin-right: 0;\n margin-top: 16px;\n margin-bottom: 16px;\n border-radius: 6px;\n}\n\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous) {\n border-end-end-radius: 6px;\n border-end-start-radius: 6px;\n}\n\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next) {\n border-start-start-radius: 6px;\n border-start-end-radius: 6px;\n}\n\n:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { printIonWarning } from \"../../utils/logging/index\";\nimport { getIonMode } from \"../../global/ionic-global\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nexport class AccordionGroup {\n constructor() {\n /**\n * If `true`, all accordions inside of the\n * accordion group will animate when expanding\n * or collapsing.\n */\n this.animated = true;\n /**\n * If `true`, the accordion group cannot be interacted with.\n */\n this.disabled = false;\n /**\n * If `true`, the accordion group cannot be interacted with,\n * but does not alter the opacity.\n */\n this.readonly = false;\n /**\n * Describes the expansion behavior for each accordion.\n * Possible values are `\"compact\"` and `\"inset\"`.\n * Defaults to `\"compact\"`.\n */\n this.expand = 'compact';\n }\n valueChanged() {\n const { value, multiple } = this;\n if (!multiple && Array.isArray(value)) {\n /**\n * We do some processing on the `value` array so\n * that it looks more like an array when logged to\n * the console.\n * Example given ['a', 'b']\n * Default toString() behavior: a,b\n * Custom behavior: ['a', 'b']\n */\n printIonWarning(`[ion-accordion-group] - An array of values was passed, but multiple is \"false\". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the \"value\" property when multiple=\"false\".\n\n Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]\n`, this.el);\n }\n /**\n * Do not use `value` here as that will be\n * not account for the adjustment we make above.\n */\n this.ionValueChange.emit({ value: this.value });\n }\n async disabledChanged() {\n const { disabled } = this;\n const accordions = await this.getAccordions();\n for (const accordion of accordions) {\n accordion.disabled = disabled;\n }\n }\n async readonlyChanged() {\n const { readonly } = this;\n const accordions = await this.getAccordions();\n for (const accordion of accordions) {\n accordion.readonly = readonly;\n }\n }\n async onKeydown(ev) {\n const activeElement = document.activeElement;\n if (!activeElement) {\n return;\n }\n /**\n * Make sure focus is in the header, not the body, of the accordion. This ensures\n * that if there are any interactable elements in the body, their keyboard\n * interaction doesn't get stolen by the accordion. Example: using up/down keys\n * in ion-textarea.\n */\n const activeAccordionHeader = activeElement.closest('ion-accordion [slot=\"header\"]');\n if (!activeAccordionHeader) {\n return;\n }\n const accordionEl = activeElement.tagName === 'ION-ACCORDION' ? activeElement : activeElement.closest('ion-accordion');\n if (!accordionEl) {\n return;\n }\n const closestGroup = accordionEl.closest('ion-accordion-group');\n if (closestGroup !== this.el) {\n return;\n }\n // If the active accordion is not in the current array of accordions, do not do anything\n const accordions = await this.getAccordions();\n const startingIndex = accordions.findIndex((a) => a === accordionEl);\n if (startingIndex === -1) {\n return;\n }\n let accordion;\n if (ev.key === 'ArrowDown') {\n accordion = this.findNextAccordion(accordions, startingIndex);\n }\n else if (ev.key === 'ArrowUp') {\n accordion = this.findPreviousAccordion(accordions, startingIndex);\n }\n else if (ev.key === 'Home') {\n accordion = accordions[0];\n }\n else if (ev.key === 'End') {\n accordion = accordions[accordions.length - 1];\n }\n if (accordion !== undefined && accordion !== activeElement) {\n accordion.focus();\n }\n }\n async componentDidLoad() {\n if (this.disabled) {\n this.disabledChanged();\n }\n if (this.readonly) {\n this.readonlyChanged();\n }\n /**\n * When binding values in frameworks such as Angular\n * it is possible for the value to be set after the Web Component\n * initializes but before the value watcher is set up in Stencil.\n * As a result, the watcher callback may not be fired.\n * We work around this by manually calling the watcher\n * callback when the component has loaded and the watcher\n * is configured.\n */\n this.valueChanged();\n }\n /**\n * Sets the value property and emits ionChange.\n * This should only be called when the user interacts\n * with the accordion and not for any update\n * to the value property. The exception is when\n * the app sets the value of a single-select\n * accordion group to an array.\n */\n setValue(accordionValue) {\n const value = (this.value = accordionValue);\n this.ionChange.emit({ value });\n }\n /**\n * This method is used to ensure that the value\n * of ion-accordion-group is being set in a valid\n * way. This method should only be called in\n * response to a user generated action.\n * @internal\n */\n async requestAccordionToggle(accordionValue, accordionExpand) {\n const { multiple, value, readonly, disabled } = this;\n if (readonly || disabled) {\n return;\n }\n if (accordionExpand) {\n /**\n * If group accepts multiple values\n * check to see if value is already in\n * in values array. If not, add it\n * to the array.\n */\n if (multiple) {\n const groupValue = value !== null && value !== void 0 ? value : [];\n const processedValue = Array.isArray(groupValue) ? groupValue : [groupValue];\n const valueExists = processedValue.find((v) => v === accordionValue);\n if (valueExists === undefined && accordionValue !== undefined) {\n this.setValue([...processedValue, accordionValue]);\n }\n }\n else {\n this.setValue(accordionValue);\n }\n }\n else {\n /**\n * If collapsing accordion, either filter the value\n * out of the values array or unset the value.\n */\n if (multiple) {\n const groupValue = value !== null && value !== void 0 ? value : [];\n const processedValue = Array.isArray(groupValue) ? groupValue : [groupValue];\n this.setValue(processedValue.filter((v) => v !== accordionValue));\n }\n else {\n this.setValue(undefined);\n }\n }\n }\n findNextAccordion(accordions, startingIndex) {\n const nextAccordion = accordions[startingIndex + 1];\n if (nextAccordion === undefined) {\n return accordions[0];\n }\n return nextAccordion;\n }\n findPreviousAccordion(accordions, startingIndex) {\n const prevAccordion = accordions[startingIndex - 1];\n if (prevAccordion === undefined) {\n return accordions[accordions.length - 1];\n }\n return prevAccordion;\n }\n /**\n * @internal\n */\n async getAccordions() {\n return Array.from(this.el.querySelectorAll(':scope > ion-accordion'));\n }\n render() {\n const { disabled, readonly, expand } = this;\n const mode = getIonMode(this);\n return (h(Host, { key: 'd1a79a93179474fbba66fcf11a92f4871dacc975', class: {\n [mode]: true,\n 'accordion-group-disabled': disabled,\n 'accordion-group-readonly': readonly,\n [`accordion-group-expand-${expand}`]: true,\n }, role: \"presentation\" }, h(\"slot\", { key: 'e6b8954b686d1fbb4fc92adb07fddc97a24b0a31' })));\n }\n static get is() { return \"ion-accordion-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"accordion-group.ios.scss\"],\n \"md\": [\"accordion-group.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"accordion-group.ios.css\"],\n \"md\": [\"accordion-group.md.css\"]\n };\n }\n static get properties() {\n return {\n \"animated\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, all accordions inside of the\\naccordion group will animate when expanding\\nor collapsing.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"animated\",\n \"defaultValue\": \"true\"\n },\n \"multiple\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the accordion group can have multiple\\naccordion components expanded at the same time.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"multiple\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string | string[] | null\",\n \"resolved\": \"null | string | string[] | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value of the accordion group. This controls which\\naccordions are expanded.\\nThis should be an array of strings only when `multiple=\\\"true\\\"`\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"value\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the accordion group cannot be interacted with.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"disabled\",\n \"defaultValue\": \"false\"\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the accordion group cannot be interacted with,\\nbut does not alter the opacity.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"readonly\",\n \"defaultValue\": \"false\"\n },\n \"expand\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'compact' | 'inset'\",\n \"resolved\": \"\\\"compact\\\" | \\\"inset\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Describes the expansion behavior for each accordion.\\nPossible values are `\\\"compact\\\"` and `\\\"inset\\\"`.\\nDefaults to `\\\"compact\\\"`.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"expand\",\n \"defaultValue\": \"'compact'\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"ionChange\",\n \"name\": \"ionChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the value property has changed as a result of a user action such as a click.\\n\\nThis event will not emit when programmatically setting the `value` property.\"\n },\n \"complexType\": {\n \"original\": \"AccordionGroupChangeEventDetail\",\n \"resolved\": \"AccordionGroupChangeEventDetail<any>\",\n \"references\": {\n \"AccordionGroupChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./accordion-group-interface\",\n \"id\": \"src/components/accordion-group/accordion-group-interface.ts::AccordionGroupChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionValueChange\",\n \"name\": \"ionValueChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the value property has changed.\\nThis is used to ensure that ion-accordion can respond\\nto any value property changes.\"\n },\n \"complexType\": {\n \"original\": \"AccordionGroupChangeEventDetail\",\n \"resolved\": \"AccordionGroupChangeEventDetail<any>\",\n \"references\": {\n \"AccordionGroupChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./accordion-group-interface\",\n \"id\": \"src/components/accordion-group/accordion-group-interface.ts::AccordionGroupChangeEventDetail\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"requestAccordionToggle\": {\n \"complexType\": {\n \"signature\": \"(accordionValue: string | undefined, accordionExpand: boolean) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"accordionValue\",\n \"type\": \"string | undefined\",\n \"docs\": \"\"\n }, {\n \"name\": \"accordionExpand\",\n \"type\": \"boolean\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"This method is used to ensure that the value\\nof ion-accordion-group is being set in a valid\\nway. This method should only be called in\\nresponse to a user generated action.\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"getAccordions\": {\n \"complexType\": {\n \"signature\": \"() => Promise<HTMLIonAccordionElement[]>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonAccordionElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonAccordionElement\"\n }\n },\n \"return\": \"Promise<HTMLIonAccordionElement[]>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"value\",\n \"methodName\": \"valueChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }, {\n \"propName\": \"readonly\",\n \"methodName\": \"readonlyChanged\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"onKeydown\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,oBAAoB,GAAG,MAAM,CAAC,oXAAoX,CAAC;;ACAzZ,MAAM,mBAAmB,GAAG,MAAM,CAAC,8/BAA8/B,CAAC;;MCSrhC,cAAc,GAAA,MAAA;AACvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AACI;;;;AAIG;AACH,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;AACpB;;AAEG;AACH,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB;;;AAGG;AACH,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB;;;;AAIG;AACH,QAAA,IAAI,CAAC,MAAM,GAAG,SAAS;AAC1B;IACD,YAAY,GAAA;AACR,QAAA,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI;QAChC,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AACnC;;;;;;;AAOG;AACH,YAAA,eAAe,CAAC,CAAA;;AAET,iBAAA,EAAA,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAI,CAAA,EAAA,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACvD,CAAA,EAAE,IAAI,CAAC,EAAE,CAAC;;AAEH;;;AAGG;AACH,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC;;AAEnD,IAAA,MAAM,eAAe,GAAA;AACjB,QAAA,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI;AACzB,QAAA,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE;AAC7C,QAAA,KAAK,MAAM,SAAS,IAAI,UAAU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AAA,MAAM,aAAa,GAAA;AACf,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;;IAEzE,MAAM,GAAA;QACF,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI;AAC3C,QAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC7B,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,KAAK,EAAE;gBAClE,CAAC,IAAI,GAAG,IAAI;AACZ,gBAAA,0BAA0B,EAAE,QAAQ;AACpC,gBAAA,0BAA0B,EAAE,QAAQ;AACpC,gBAAA,CAAC,CAA0B,uBAAA,EAAA,MAAM,CAAE,CAAA,GAAG,IAAI;AAC7C,aAAA,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,CAAC,CAAC;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ion-accordion.entry.js","sources":["node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css?tag=ion-accordion&mode=ios&encapsulation=shadow","node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css?tag=ion-accordion&mode=md&encapsulation=shadow","node_modules/@ionic/core/dist/collection/components/accordion/accordion.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n display: block;\n position: relative;\n width: 100%;\n background-color: var(--ion-background-color, #ffffff);\n overflow: hidden;\n /**\n * This is required to force WebKit\n * to create a new stacking context\n * otherwise the border radius is\n * temporarily lost when hovering over\n * the ion-item or expanding/collapsing\n * the accordion.\n */\n z-index: 0;\n}\n\n:host(.accordion-expanding) ::slotted(ion-item[slot=header]),\n:host(.accordion-expanded) ::slotted(ion-item[slot=header]) {\n --border-width: 0px;\n}\n\n:host(.accordion-animated) {\n transition: all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);\n}\n\n:host(.accordion-animated) #content {\n transition: max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);\n}\n\n#content {\n overflow: hidden;\n will-change: max-height;\n}\n\n:host(.accordion-collapsing) #content {\n /* stylelint-disable-next-line declaration-no-important */\n max-height: 0 !important;\n}\n\n:host(.accordion-collapsed) #content {\n display: none;\n}\n\n:host(.accordion-expanding) #content {\n max-height: 0;\n}\n\n/**\n * Prevent margins of content-wrapper\n * from collapsing, breaking the animation.\n */\n:host(.accordion-expanding) #content-wrapper {\n overflow: auto;\n}\n\n:host(.accordion-disabled) #header,\n:host(.accordion-readonly) #header,\n:host(.accordion-disabled) #content,\n:host(.accordion-readonly) #content {\n pointer-events: none;\n}\n\n/**\n * We do not set the opacity on the\n * host otherwise you would see the\n * box-shadow behind it.\n */\n:host(.accordion-disabled) #header,\n:host(.accordion-disabled) #content {\n opacity: 0.4;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :host,\n #content {\n /* stylelint-disable declaration-no-important */\n transition: none !important;\n }\n}\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host(.accordion-next) ::slotted(ion-item[slot=header]) {\n --border-width: 0.55px 0px 0.55px 0px;\n}","/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n display: block;\n position: relative;\n width: 100%;\n background-color: var(--ion-background-color, #ffffff);\n overflow: hidden;\n /**\n * This is required to force WebKit\n * to create a new stacking context\n * otherwise the border radius is\n * temporarily lost when hovering over\n * the ion-item or expanding/collapsing\n * the accordion.\n */\n z-index: 0;\n}\n\n:host(.accordion-expanding) ::slotted(ion-item[slot=header]),\n:host(.accordion-expanded) ::slotted(ion-item[slot=header]) {\n --border-width: 0px;\n}\n\n:host(.accordion-animated) {\n transition: all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);\n}\n\n:host(.accordion-animated) #content {\n transition: max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);\n}\n\n#content {\n overflow: hidden;\n will-change: max-height;\n}\n\n:host(.accordion-collapsing) #content {\n /* stylelint-disable-next-line declaration-no-important */\n max-height: 0 !important;\n}\n\n:host(.accordion-collapsed) #content {\n display: none;\n}\n\n:host(.accordion-expanding) #content {\n max-height: 0;\n}\n\n/**\n * Prevent margins of content-wrapper\n * from collapsing, breaking the animation.\n */\n:host(.accordion-expanding) #content-wrapper {\n overflow: auto;\n}\n\n:host(.accordion-disabled) #header,\n:host(.accordion-readonly) #header,\n:host(.accordion-disabled) #content,\n:host(.accordion-readonly) #content {\n pointer-events: none;\n}\n\n/**\n * We do not set the opacity on the\n * host otherwise you would see the\n * box-shadow behind it.\n */\n:host(.accordion-disabled) #header,\n:host(.accordion-disabled) #content {\n opacity: 0.4;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :host,\n #content {\n /* stylelint-disable declaration-no-important */\n transition: none !important;\n }\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { addEventListener, getElementRoot, raf, removeEventListener, transitionEndAsync } from \"../../utils/helpers\";\nimport { chevronDown } from \"ionicons/icons\";\nimport { config } from \"../../global/config\";\nimport { getIonMode } from \"../../global/ionic-global\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @slot header - Content is placed at the top and is used to\n * expand or collapse the accordion item.\n * @slot content - Content is placed below the header and is\n * shown or hidden based on expanded state.\n *\n * @part header - The wrapper element for the header slot.\n * @part content - The wrapper element for the content slot.\n * @part expanded - The expanded element. Can be used in combination\n * with the `header` and `content` parts (i.e. `::part(header expanded)`).\n */\nexport class Accordion {\n constructor() {\n this.accordionGroupUpdateHandler = () => {\n /**\n * Determine if this update will cause an actual state change.\n * We only want to mark as \"interacted\" if the state is changing.\n */\n const accordionGroup = this.accordionGroupEl;\n if (accordionGroup) {\n const value = accordionGroup.value;\n const accordionValue = this.value;\n const shouldExpand = Array.isArray(value) ? value.includes(accordionValue) : value === accordionValue;\n const isExpanded = this.state === 4 /* AccordionState.Expanded */ || this.state === 8 /* AccordionState.Expanding */;\n const stateWillChange = shouldExpand !== isExpanded;\n /**\n * Only mark as interacted if:\n * 1. This is not the first update we've received with a defined value\n * 2. The state is actually changing (prevents redundant updates from enabling animations)\n */\n if (this.hasReceivedFirstUpdate && stateWillChange) {\n this.hasInteracted = true;\n }\n /**\n * Only count this as the first update if the group value is defined.\n * This prevents the initial undefined value from the group's componentDidLoad\n * from being treated as the first real update.\n */\n if (value !== undefined) {\n this.hasReceivedFirstUpdate = true;\n }\n }\n this.updateState();\n };\n this.state = 1 /* AccordionState.Collapsed */;\n this.isNext = false;\n this.isPrevious = false;\n /**\n * Tracks whether a user-initiated interaction has occurred.\n * Animations are disabled until the first interaction happens.\n * This prevents the accordion from animating when it's programmatically\n * set to an expanded or collapsed state on initial load.\n */\n this.hasInteracted = false;\n /**\n * Tracks if this accordion has ever been expanded.\n * Used to prevent the first expansion from animating.\n */\n this.hasEverBeenExpanded = false;\n /**\n * Tracks if this accordion has received its first update from the group.\n * Used to distinguish initial programmatic sets from user interactions.\n */\n this.hasReceivedFirstUpdate = false;\n /**\n * The value of the accordion. Defaults to an autogenerated\n * value.\n */\n this.value = `ion-accordion-${accordionIds++}`;\n /**\n * If `true`, the accordion cannot be interacted with.\n */\n this.disabled = false;\n /**\n * If `true`, the accordion cannot be interacted with,\n * but does not alter the opacity.\n */\n this.readonly = false;\n /**\n * The toggle icon to use. This icon will be\n * rotated when the accordion is expanded\n * or collapsed.\n */\n this.toggleIcon = chevronDown;\n /**\n * The slot inside of `ion-item` to\n * place the toggle icon. Defaults to `\"end\"`.\n */\n this.toggleIconSlot = 'end';\n this.setItemDefaults = () => {\n const ionItem = this.getSlottedHeaderIonItem();\n if (!ionItem) {\n return;\n }\n /**\n * For a11y purposes, we make\n * the ion-item a button so users\n * can tab to it and use keyboard\n * navigation to get around.\n */\n ionItem.button = true;\n ionItem.detail = false;\n /**\n * By default, the lines in an\n * item should be full here, but\n * only do that if a user has\n * not explicitly overridden them\n */\n if (ionItem.lines === undefined) {\n ionItem.lines = 'full';\n }\n };\n this.getSlottedHeaderIonItem = () => {\n const { headerEl } = this;\n if (!headerEl) {\n return;\n }\n /**\n * Get the first ion-item\n * slotted in the header slot\n */\n const slot = headerEl.querySelector('slot');\n if (!slot) {\n return;\n }\n // This is not defined in unit tests\n if (slot.assignedElements === undefined)\n return;\n return slot.assignedElements().find((el) => el.tagName === 'ION-ITEM');\n };\n this.setAria = (expanded = false) => {\n const ionItem = this.getSlottedHeaderIonItem();\n if (!ionItem) {\n return;\n }\n /**\n * Get the native <button> element inside of\n * ion-item because that is what will be focused\n */\n const root = getElementRoot(ionItem);\n const button = root.querySelector('button');\n if (!button) {\n return;\n }\n button.setAttribute('aria-expanded', `${expanded}`);\n };\n this.slotToggleIcon = () => {\n const ionItem = this.getSlottedHeaderIonItem();\n if (!ionItem) {\n return;\n }\n const { toggleIconSlot, toggleIcon } = this;\n /**\n * Check if there already is a toggle icon.\n * If so, do not add another one.\n */\n const existingToggleIcon = ionItem.querySelector('.ion-accordion-toggle-icon');\n if (existingToggleIcon) {\n return;\n }\n const iconEl = document.createElement('ion-icon');\n iconEl.slot = toggleIconSlot;\n iconEl.lazy = false;\n iconEl.classList.add('ion-accordion-toggle-icon');\n iconEl.icon = toggleIcon;\n iconEl.setAttribute('aria-hidden', 'true');\n ionItem.appendChild(iconEl);\n };\n this.expandAccordion = () => {\n const { contentEl, contentElWrapper } = this;\n /**\n * If the content elements aren't available yet, just set the state.\n * This happens on initial render before the DOM is ready.\n */\n if (contentEl === undefined || contentElWrapper === undefined) {\n this.state = 4 /* AccordionState.Expanded */;\n this.hasEverBeenExpanded = true;\n return;\n }\n if (this.state === 4 /* AccordionState.Expanded */) {\n return;\n }\n if (this.currentRaf !== undefined) {\n cancelAnimationFrame(this.currentRaf);\n }\n /**\n * Mark that this accordion has been expanded at least once.\n * This allows subsequent expansions to animate.\n */\n this.hasEverBeenExpanded = true;\n if (this.shouldAnimate()) {\n raf(() => {\n this.state = 8 /* AccordionState.Expanding */;\n this.currentRaf = raf(async () => {\n const contentHeight = contentElWrapper.offsetHeight;\n const waitForTransition = transitionEndAsync(contentEl, 2000);\n contentEl.style.setProperty('max-height', `${contentHeight}px`);\n await waitForTransition;\n this.state = 4 /* AccordionState.Expanded */;\n contentEl.style.removeProperty('max-height');\n });\n });\n }\n else {\n this.state = 4 /* AccordionState.Expanded */;\n }\n };\n this.collapseAccordion = () => {\n const { contentEl } = this;\n /**\n * If the content element isn't available yet, just set the state.\n * This happens on initial render before the DOM is ready.\n */\n if (contentEl === undefined) {\n this.state = 1 /* AccordionState.Collapsed */;\n return;\n }\n if (this.state === 1 /* AccordionState.Collapsed */) {\n return;\n }\n if (this.currentRaf !== undefined) {\n cancelAnimationFrame(this.currentRaf);\n }\n if (this.shouldAnimate()) {\n this.currentRaf = raf(async () => {\n const contentHeight = contentEl.offsetHeight;\n contentEl.style.setProperty('max-height', `${contentHeight}px`);\n raf(async () => {\n const waitForTransition = transitionEndAsync(contentEl, 2000);\n this.state = 2 /* AccordionState.Collapsing */;\n await waitForTransition;\n this.state = 1 /* AccordionState.Collapsed */;\n contentEl.style.removeProperty('max-height');\n });\n });\n }\n else {\n this.state = 1 /* AccordionState.Collapsed */;\n }\n };\n /**\n * Helper function to determine if\n * something should animate.\n * If prefers-reduced-motion is set\n * then we should not animate, regardless\n * of what is set in the config.\n */\n this.shouldAnimate = () => {\n /**\n * Don't animate until after the first user interaction.\n * This prevents animations on initial load when accordions\n * start in an expanded or collapsed state programmatically.\n *\n * Additionally, don't animate the very first expansion even if\n * hasInteracted is true. This handles edge cases like React StrictMode\n * where effects run twice and might incorrectly mark as interacted.\n */\n if (!this.hasInteracted || !this.hasEverBeenExpanded) {\n return false;\n }\n if (typeof window === 'undefined') {\n return false;\n }\n const prefersReducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;\n if (prefersReducedMotion) {\n return false;\n }\n const animated = config.get('animated', true);\n if (!animated) {\n return false;\n }\n if (this.accordionGroupEl && !this.accordionGroupEl.animated) {\n return false;\n }\n return true;\n };\n this.updateState = async () => {\n const accordionGroup = this.accordionGroupEl;\n const accordionValue = this.value;\n if (!accordionGroup) {\n return;\n }\n const value = accordionGroup.value;\n const shouldExpand = Array.isArray(value) ? value.includes(accordionValue) : value === accordionValue;\n if (shouldExpand) {\n this.expandAccordion();\n this.isNext = this.isPrevious = false;\n }\n else {\n this.collapseAccordion();\n /**\n * When using popout or inset,\n * the collapsed accordion items\n * may need additional border radius\n * applied. Check to see if the\n * next or previous accordion is selected.\n */\n const nextAccordion = this.getNextSibling();\n const nextAccordionValue = nextAccordion === null || nextAccordion === void 0 ? void 0 : nextAccordion.value;\n if (nextAccordionValue !== undefined) {\n this.isPrevious = Array.isArray(value) ? value.includes(nextAccordionValue) : value === nextAccordionValue;\n }\n const previousAccordion = this.getPreviousSibling();\n const previousAccordionValue = previousAccordion === null || previousAccordion === void 0 ? void 0 : previousAccordion.value;\n if (previousAccordionValue !== undefined) {\n this.isNext = Array.isArray(value) ? value.includes(previousAccordionValue) : value === previousAccordionValue;\n }\n }\n };\n this.getNextSibling = () => {\n if (!this.el) {\n return;\n }\n const nextSibling = this.el.nextElementSibling;\n if ((nextSibling === null || nextSibling === void 0 ? void 0 : nextSibling.tagName) !== 'ION-ACCORDION') {\n return;\n }\n return nextSibling;\n };\n this.getPreviousSibling = () => {\n if (!this.el) {\n return;\n }\n const previousSibling = this.el.previousElementSibling;\n if ((previousSibling === null || previousSibling === void 0 ? void 0 : previousSibling.tagName) !== 'ION-ACCORDION') {\n return;\n }\n return previousSibling;\n };\n }\n valueChanged() {\n this.updateState();\n }\n connectedCallback() {\n var _a;\n const accordionGroupEl = (this.accordionGroupEl = (_a = this.el) === null || _a === void 0 ? void 0 : _a.closest('ion-accordion-group'));\n if (accordionGroupEl) {\n this.updateState();\n addEventListener(accordionGroupEl, 'ionValueChange', this.accordionGroupUpdateHandler);\n }\n }\n disconnectedCallback() {\n const accordionGroupEl = this.accordionGroupEl;\n if (accordionGroupEl) {\n removeEventListener(accordionGroupEl, 'ionValueChange', this.accordionGroupUpdateHandler);\n }\n }\n componentDidLoad() {\n this.setItemDefaults();\n this.slotToggleIcon();\n /**\n * We need to wait a tick because we\n * just set ionItem.button = true and\n * the button has not have been rendered yet.\n */\n raf(() => {\n /**\n * Set aria label on button inside of ion-item\n * once the inner content has been rendered.\n */\n const expanded = this.state === 4 /* AccordionState.Expanded */ || this.state === 8 /* AccordionState.Expanding */;\n this.setAria(expanded);\n });\n }\n toggleExpanded() {\n const { accordionGroupEl, disabled, readonly, value, state } = this;\n if (disabled || readonly)\n return;\n /**\n * Mark that the user has interacted with the accordion.\n * This enables animations for all future state changes.\n */\n this.hasInteracted = true;\n if (accordionGroupEl) {\n /**\n * Because the accordion group may or may\n * not allow multiple accordions open, we\n * need to request the toggling of this\n * accordion and the accordion group will\n * make the decision on whether or not\n * to allow it.\n */\n const expand = state === 1 /* AccordionState.Collapsed */ || state === 2 /* AccordionState.Collapsing */;\n accordionGroupEl.requestAccordionToggle(value, expand);\n }\n }\n render() {\n const { disabled, readonly } = this;\n const mode = getIonMode(this);\n const expanded = this.state === 4 /* AccordionState.Expanded */ || this.state === 8 /* AccordionState.Expanding */;\n const headerPart = expanded ? 'header expanded' : 'header';\n const contentPart = expanded ? 'content expanded' : 'content';\n this.setAria(expanded);\n return (h(Host, { key: '9c90bce01eff7e5774a19f69c872f3761d66cf3c', class: {\n [mode]: true,\n 'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,\n 'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,\n 'accordion-collapsing': this.state === 2 /* AccordionState.Collapsing */,\n 'accordion-collapsed': this.state === 1 /* AccordionState.Collapsed */,\n 'accordion-next': this.isNext,\n 'accordion-previous': this.isPrevious,\n 'accordion-disabled': disabled,\n 'accordion-readonly': readonly,\n 'accordion-animated': this.shouldAnimate(),\n } }, h(\"div\", { key: 'cab40d5bcf3c93fd78e70b6d3906a541e725837d', onClick: () => this.toggleExpanded(), id: \"header\", part: headerPart, \"aria-controls\": \"content\", ref: (headerEl) => (this.headerEl = headerEl) }, h(\"slot\", { key: '672bc7fb3f9e18076b41e20fc9eaeab7cafcf3a2', name: \"header\" })), h(\"div\", { key: 'fd777ca5b4ab04aa4f44c339d58c8cd987c52bcb', id: \"content\", part: contentPart, role: \"region\", \"aria-labelledby\": \"header\", ref: (contentEl) => (this.contentEl = contentEl) }, h(\"div\", { key: '0aad70a71e2cd2c16b2e98fa0bdd40421d95fe16', id: \"content-wrapper\", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, h(\"slot\", { key: 'd630e10ac7c56b4dbf943b523f26759b83aead55', name: \"content\" })))));\n }\n static get is() { return \"ion-accordion\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"accordion.ios.scss\"],\n \"md\": [\"accordion.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"accordion.ios.css\"],\n \"md\": [\"accordion.md.css\"]\n };\n }\n static get properties() {\n return {\n \"value\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value of the accordion. Defaults to an autogenerated\\nvalue.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"value\",\n \"defaultValue\": \"`ion-accordion-${accordionIds++}`\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the accordion cannot be interacted with.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"disabled\",\n \"defaultValue\": \"false\"\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the accordion cannot be interacted with,\\nbut does not alter the opacity.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"readonly\",\n \"defaultValue\": \"false\"\n },\n \"toggleIcon\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The toggle icon to use. This icon will be\\nrotated when the accordion is expanded\\nor collapsed.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"toggle-icon\",\n \"defaultValue\": \"chevronDown\"\n },\n \"toggleIconSlot\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'start' | 'end'\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The slot inside of `ion-item` to\\nplace the toggle icon. Defaults to `\\\"end\\\"`.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"reflect\": false,\n \"attribute\": \"toggle-icon-slot\",\n \"defaultValue\": \"'end'\"\n }\n };\n }\n static get states() {\n return {\n \"state\": {},\n \"isNext\": {},\n \"isPrevious\": {},\n \"hasInteracted\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"value\",\n \"methodName\": \"valueChanged\"\n }];\n }\n}\nlet accordionIds = 0;\n"],"names":[],"mappings":";;;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,+mCAA+mC,CAAC;;ACA/oC,MAAM,cAAc,GAAG,MAAM,CAAC,khCAAkhC,CAAC;;MCqBpiC,SAAS,GAAA,MAAA;AAClB,IAAA,WAAA,CAAA,OAAA,EAAA;;AACI,QAAA,IAAI,CAAC,2BAA2B,GAAG,MAAK;AACpC;;;AAGG;AACH,YAAA,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB;YAC5C,IAAI,cAAc,EAAE;AAChB,gBAAA,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK;AAClC,gBAAA,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK;gBACjC,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,KAAK,KAAK,cAAc;AACrG,gBAAA,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,KAAK,CAAC,kCAAkC,IAAI,CAAC,KAAK,KAAK,CAAC;AACrF,gBAAA,MAAM,eAAe,GAAG,YAAY,KAAK,UAAU;AACnD;;;;AAIG;AACH,gBAAA,IAAI,IAAI,CAAC,sBAAsB,IAAI,eAAe,EAAE;AAChD,oBAAA,IAAI,CAAC,aAAa,GAAG,IAAI;;AAE7B;;;;AAIG;AACH,gBAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,oBAAA,IAAI,CAAC,sBAAsB,GAAG,IAAI;;;YAG1C,IAAI,CAAC,WAAW,EAAE;AAC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AK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,CAAC,gBAAgB,MAAM,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;;AAI1tB,IAAA,WAAW,cAAc,GAAA,EAAK,OAAO,IAAI,CAAC;;;;;;AAqI9C,IAAI,YAAY,GAAG,CAAC;;;;;;;;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ion-app.entry.js","sources":["node_modules/@ionic/core/dist/collection/components/app/app.css?tag=ion-app","node_modules/@ionic/core/dist/collection/components/app/app.js"],"sourcesContent":["html.plt-mobile ion-app {\n user-select: none;\n}\n\n/**\n * This works around a WebKit issue\n * where user-select: none was causing\n * contenteditable to not be selectable,\n * even though inputs and textareas are selectable.\n */\nhtml.plt-mobile ion-app [contenteditable] {\n user-select: text;\n}\n\nion-app.force-statusbar-padding {\n --ion-safe-area-top: 20px;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Build, Host, h } from \"@stencil/core\";\nimport { shouldUseCloseWatcher } from \"../../utils/hardware-back-button\";\nimport { printIonWarning } from \"../../utils/logging/index\";\nimport { isPlatform } from \"../../utils/platform\";\nimport { config } from \"../../global/config\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class App {\n componentDidLoad() {\n if (Build.isBrowser) {\n rIC(async () => {\n const isHybrid = isPlatform(window, 'hybrid');\n if (!config.getBoolean('_testing')) {\n import('../../utils/tap-click').then((module) => module.startTapClick(config));\n }\n if (config.getBoolean('statusTap', isHybrid)) {\n import('../../utils/status-tap').then((module) => module.startStatusTap());\n }\n if (config.getBoolean('inputShims', needInputShims())) {\n /**\n * needInputShims() ensures that only iOS and Android\n * platforms proceed into this block.\n */\n const platform = isPlatform(window, 'ios') ? 'ios' : 'android';\n import('../../utils/input-shims/input-shims').then((module) => module.startInputShims(config, platform));\n }\n const hardwareBackButtonModule = await import('../../utils/hardware-back-button');\n const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();\n if (config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {\n hardwareBackButtonModule.startHardwareBackButton();\n }\n else {\n /**\n * If an app sets hardwareBackButton: false and experimentalCloseWatcher: true\n * then the close watcher will not be used.\n */\n if (shouldUseCloseWatcher()) {\n printIonWarning('[ion-app] - experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used.');\n }\n hardwareBackButtonModule.blockHardwareBackButton();\n }\n if (typeof window !== 'undefined') {\n import('../../utils/keyboard/keyboard').then((module) => module.startKeyboardAssist(window));\n }\n import('../../utils/focus-visible').then((module) => (this.focusVisible = module.startFocusVisible()));\n });\n }\n }\n /**\n * Used to set focus on an element that uses `ion-focusable`.\n * Do not use this if focusing the element as a result of a keyboard\n * event as the focus utility should handle this for us. This method\n * should be used when we want to programmatically focus an element as\n * a result of another user action. (Ex: We focus the first element\n * inside of a popover when the user presents it, but the popover is not always\n * presented as a result of keyboard action.)\n *\n * @param elements An array of HTML elements to set focus on.\n */\n async setFocus(elements) {\n if (this.focusVisible) {\n this.focusVisible.setFocus(elements);\n }\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '9be440c65819e4fa67c2c3c6477ab40b3ad3eed3', class: {\n [mode]: true,\n 'ion-page': true,\n 'force-statusbar-padding': config.getBoolean('_forceStatusbarPadding'),\n } }));\n }\n static get is() { return \"ion-app\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"app.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"app.css\"]\n };\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(elements: HTMLElement[]) => Promise<void>\",\n \"parameters\": [{\n \"name\": \"elements\",\n \"type\": \"HTMLElement[]\",\n \"docs\": \"An array of HTML elements to set focus on.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLElement\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Used to set focus on an element that uses `ion-focusable`.\\nDo not use this if focusing the element as a result of a keyboard\\nevent as the focus utility should handle this for us. This method\\nshould be used when we want to programmatically focus an element as\\na result of another user action. (Ex: We focus the first element\\ninside of a popover when the user presents it, but the popover is not always\\npresented as a result of keyboard action.)\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"elements An array of HTML elements to set focus on.\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\nconst needInputShims = () => {\n /**\n * iOS always needs input shims\n */\n const needsShimsIOS = isPlatform(window, 'ios') && isPlatform(window, 'mobile');\n if (needsShimsIOS) {\n return true;\n }\n /**\n * Android only needs input shims when running\n * in the browser and only if the browser is using the\n * new Chrome 108+ resize behavior: https://developer.chrome.com/blog/viewport-resize-behavior/\n */\n const isAndroidMobileWeb = isPlatform(window, 'android') && isPlatform(window, 'mobileweb');\n if (isAndroidMobileWeb) {\n return true;\n }\n return false;\n};\nconst rIC = (callback) => {\n if ('requestIdleCallback' in window) {\n window.requestIdleCallback(callback);\n }\n else {\n setTimeout(callback, 32);\n }\n};\n"],"names":[],"mappings":";;;;;AAAA,MAAM,MAAM,GAAG,MAAM,CAAC,6JAA6J,CAAC;;MCSvK,GAAG,GA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