@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,685 +1 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, f as printIonWarning, h, F as Fragment, e as Host, t as transformTag } from './p-abe_AkUW.js';
|
|
2
|
-
import { i as inheritAriaAttributes } from './p-CBE-1aIM.js';
|
|
3
|
-
import { i as isRTL } from './p-C53feagD.js';
|
|
4
|
-
import { c as createColorClasses } from './p-DiVJyqlX.js';
|
|
5
|
-
import { g as getIonMode } from './p-DEAe7QEa.js';
|
|
6
|
-
|
|
7
|
-
const inputOtpIosCss = () => `.sc-ion-input-otp-ios-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-ios{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;align-items:center;justify-content:center}.native-wrapper.sc-ion-input-otp-ios{display:flex;align-items:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-ios{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;appearance:none}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-ios{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-ios{display:none}.input-otp-separator.sc-ion-input-otp-ios{border-radius:var(--separator-border-radius);flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-ios-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:8px}.input-otp-size-medium.sc-ion-input-otp-ios-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-ios-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios,.input-otp-size-large.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:12px}.input-otp-shape-round.sc-ion-input-otp-ios-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-ios-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-ios-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-ios-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-disabled.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-ios-h,.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-ios-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-ios-h{--border-width:0.55px}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-width:1px}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}`;
|
|
8
|
-
|
|
9
|
-
const inputOtpMdCss = () => `.sc-ion-input-otp-md-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-md{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;align-items:center;justify-content:center}.native-wrapper.sc-ion-input-otp-md{display:flex;align-items:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-md{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;appearance:none}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-md{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-md{display:none}.input-otp-separator.sc-ion-input-otp-md{border-radius:var(--separator-border-radius);flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-md-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:8px}.input-otp-size-medium.sc-ion-input-otp-md-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-md-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md,.input-otp-size-large.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:12px}.input-otp-shape-round.sc-ion-input-otp-md-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-md-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-md-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-md-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-md-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-disabled.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-md-h,.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-md-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-md-h{--border-width:1px}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-width:2px}.input-otp-fill-outline.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3))}`;
|
|
10
|
-
|
|
11
|
-
const InputOTP = /*@__PURE__*/ proxyCustomElement(class InputOTP extends H {
|
|
12
|
-
constructor(registerHost) {
|
|
13
|
-
super();
|
|
14
|
-
if (registerHost !== false) {
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
}
|
|
17
|
-
this.ionInput = createEvent(this, "ionInput", 7);
|
|
18
|
-
this.ionChange = createEvent(this, "ionChange", 7);
|
|
19
|
-
this.ionComplete = createEvent(this, "ionComplete", 7);
|
|
20
|
-
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
21
|
-
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
22
|
-
this.inheritedAttributes = {};
|
|
23
|
-
this.inputRefs = [];
|
|
24
|
-
this.inputId = `ion-input-otp-${inputIds++}`;
|
|
25
|
-
this.parsedSeparators = [];
|
|
26
|
-
/**
|
|
27
|
-
* Tracks whether the user is navigating through input boxes using keyboard navigation
|
|
28
|
-
* (arrow keys, tab) versus mouse clicks. This is used to determine the appropriate
|
|
29
|
-
* focus behavior when an input box is focused.
|
|
30
|
-
*/
|
|
31
|
-
this.isKeyboardNavigation = false;
|
|
32
|
-
this.inputValues = [];
|
|
33
|
-
this.hasFocus = false;
|
|
34
|
-
this.previousInputValues = [];
|
|
35
|
-
/**
|
|
36
|
-
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
37
|
-
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
38
|
-
*/
|
|
39
|
-
this.autocapitalize = 'off';
|
|
40
|
-
/**
|
|
41
|
-
* If `true`, the user cannot interact with the input.
|
|
42
|
-
*/
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
/**
|
|
45
|
-
* The fill for the input boxes. If `"solid"` the input boxes will have a background. If
|
|
46
|
-
* `"outline"` the input boxes will be transparent with a border.
|
|
47
|
-
*/
|
|
48
|
-
this.fill = 'outline';
|
|
49
|
-
/**
|
|
50
|
-
* The number of input boxes to display.
|
|
51
|
-
*/
|
|
52
|
-
this.length = 4;
|
|
53
|
-
/**
|
|
54
|
-
* If `true`, the user cannot modify the value.
|
|
55
|
-
*/
|
|
56
|
-
this.readonly = false;
|
|
57
|
-
/**
|
|
58
|
-
* The shape of the input boxes.
|
|
59
|
-
* If "round" they will have an increased border radius.
|
|
60
|
-
* If "rectangular" they will have no border radius.
|
|
61
|
-
* If "soft" they will have a soft border radius.
|
|
62
|
-
*/
|
|
63
|
-
this.shape = 'round';
|
|
64
|
-
/**
|
|
65
|
-
* The size of the input boxes.
|
|
66
|
-
*/
|
|
67
|
-
this.size = 'medium';
|
|
68
|
-
/**
|
|
69
|
-
* The type of input allowed in the input boxes.
|
|
70
|
-
*/
|
|
71
|
-
this.type = 'number';
|
|
72
|
-
/**
|
|
73
|
-
* The value of the input group.
|
|
74
|
-
*/
|
|
75
|
-
this.value = '';
|
|
76
|
-
/**
|
|
77
|
-
* Handles the focus behavior for the input OTP component.
|
|
78
|
-
*
|
|
79
|
-
* Focus behavior:
|
|
80
|
-
* 1. Keyboard navigation: Allow normal focus movement
|
|
81
|
-
* 2. Mouse click:
|
|
82
|
-
* - If clicked box has value: Focus that box
|
|
83
|
-
* - If clicked box is empty: Focus first empty box
|
|
84
|
-
*
|
|
85
|
-
* Emits the `ionFocus` event when the input group gains focus.
|
|
86
|
-
*/
|
|
87
|
-
this.onFocus = (index) => (event) => {
|
|
88
|
-
var _a;
|
|
89
|
-
const { inputRefs } = this;
|
|
90
|
-
// Only emit ionFocus and set the focusedValue when the
|
|
91
|
-
// component first gains focus
|
|
92
|
-
if (!this.hasFocus) {
|
|
93
|
-
this.ionFocus.emit(event);
|
|
94
|
-
this.focusedValue = this.value;
|
|
95
|
-
}
|
|
96
|
-
this.hasFocus = true;
|
|
97
|
-
let finalIndex = index;
|
|
98
|
-
if (!this.isKeyboardNavigation) {
|
|
99
|
-
// If the clicked box has a value, focus it
|
|
100
|
-
// Otherwise focus the first empty box
|
|
101
|
-
const targetIndex = this.inputValues[index] ? index : this.getFirstEmptyIndex();
|
|
102
|
-
finalIndex = targetIndex === -1 ? this.length - 1 : targetIndex;
|
|
103
|
-
// Focus the target box
|
|
104
|
-
(_a = this.inputRefs[finalIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
105
|
-
}
|
|
106
|
-
// Update tabIndexes to match the focused box
|
|
107
|
-
inputRefs.forEach((input, i) => {
|
|
108
|
-
input.tabIndex = i === finalIndex ? 0 : -1;
|
|
109
|
-
});
|
|
110
|
-
// Reset the keyboard navigation flag
|
|
111
|
-
this.isKeyboardNavigation = false;
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* Handles the blur behavior for the input OTP component.
|
|
115
|
-
* Emits the `ionBlur` event when the input group loses focus.
|
|
116
|
-
*/
|
|
117
|
-
this.onBlur = (event) => {
|
|
118
|
-
const { inputRefs } = this;
|
|
119
|
-
const relatedTarget = event.relatedTarget;
|
|
120
|
-
// Do not emit blur if we're moving to another input box in the same component
|
|
121
|
-
const isInternalFocus = relatedTarget != null && inputRefs.includes(relatedTarget);
|
|
122
|
-
if (!isInternalFocus) {
|
|
123
|
-
this.hasFocus = false;
|
|
124
|
-
// Reset tabIndexes when focus leaves the component
|
|
125
|
-
this.updateTabIndexes();
|
|
126
|
-
// Always emit ionBlur when focus leaves the component
|
|
127
|
-
this.ionBlur.emit(event);
|
|
128
|
-
// Only emit ionChange if the value has actually changed
|
|
129
|
-
if (this.focusedValue !== this.value) {
|
|
130
|
-
this.emitIonChange(event);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Handles keyboard navigation for the OTP component.
|
|
136
|
-
*
|
|
137
|
-
* Navigation:
|
|
138
|
-
* - Backspace: Clears current input and moves to previous box if empty
|
|
139
|
-
* - Arrow Left/Right: Moves focus between input boxes
|
|
140
|
-
* - Tab: Allows normal tab navigation between components
|
|
141
|
-
*/
|
|
142
|
-
this.onKeyDown = (index) => (event) => {
|
|
143
|
-
const { length } = this;
|
|
144
|
-
const rtl = isRTL(this.el);
|
|
145
|
-
const input = event.target;
|
|
146
|
-
// Meta shortcuts are used to copy, paste, and select text
|
|
147
|
-
// We don't want to handle these keys here
|
|
148
|
-
const metaShortcuts = ['a', 'c', 'v', 'x', 'r', 'z', 'y'];
|
|
149
|
-
const isTextSelection = input.selectionStart !== input.selectionEnd;
|
|
150
|
-
// Return if the key is a meta shortcut or the input value
|
|
151
|
-
// text is selected and let the onPaste / onInput handler manage it
|
|
152
|
-
if (isTextSelection || ((event.metaKey || event.ctrlKey) && metaShortcuts.includes(event.key.toLowerCase()))) {
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
|
-
if (event.key === 'Backspace') {
|
|
156
|
-
if (this.inputValues[index]) {
|
|
157
|
-
// Shift all values to the right of the current index left by one
|
|
158
|
-
for (let i = index; i < length - 1; i++) {
|
|
159
|
-
this.inputValues[i] = this.inputValues[i + 1];
|
|
160
|
-
}
|
|
161
|
-
// Clear the last box
|
|
162
|
-
this.inputValues[length - 1] = '';
|
|
163
|
-
// Update all inputRefs to match inputValues
|
|
164
|
-
for (let i = 0; i < length; i++) {
|
|
165
|
-
this.inputRefs[i].value = this.inputValues[i] || '';
|
|
166
|
-
}
|
|
167
|
-
this.updateValue(event);
|
|
168
|
-
event.preventDefault();
|
|
169
|
-
}
|
|
170
|
-
else if (!this.inputValues[index] && index > 0) {
|
|
171
|
-
// If current input is empty, move to previous input
|
|
172
|
-
this.focusPrevious(index);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
else if (event.key === 'ArrowLeft' || event.key === 'ArrowRight') {
|
|
176
|
-
this.isKeyboardNavigation = true;
|
|
177
|
-
event.preventDefault();
|
|
178
|
-
const isLeft = event.key === 'ArrowLeft';
|
|
179
|
-
const shouldMoveNext = (isLeft && rtl) || (!isLeft && !rtl);
|
|
180
|
-
// Only allow moving to the next input if the current has a value
|
|
181
|
-
if (shouldMoveNext) {
|
|
182
|
-
if (this.inputValues[index] && index < length - 1) {
|
|
183
|
-
this.focusNext(index);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
this.focusPrevious(index);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
else if (event.key === 'Tab') {
|
|
191
|
-
this.isKeyboardNavigation = true;
|
|
192
|
-
// Let all tab events proceed normally
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
/**
|
|
197
|
-
* Processes all input scenarios for each input box.
|
|
198
|
-
*
|
|
199
|
-
* This function manages:
|
|
200
|
-
* 1. Autofill handling
|
|
201
|
-
* 2. Input validation
|
|
202
|
-
* 3. Full selection replacement or typing in an empty box
|
|
203
|
-
* 4. Inserting in the middle with available space (shifting)
|
|
204
|
-
* 5. Single character replacement
|
|
205
|
-
*/
|
|
206
|
-
this.onInput = (index) => (event) => {
|
|
207
|
-
var _a, _b;
|
|
208
|
-
const { length, validKeyPattern } = this;
|
|
209
|
-
const input = event.target;
|
|
210
|
-
const value = input.value;
|
|
211
|
-
const previousValue = this.previousInputValues[index] || '';
|
|
212
|
-
// 1. Autofill handling
|
|
213
|
-
// If the length of the value increases by more than 1 from the previous
|
|
214
|
-
// value, treat this as autofill. This is to prevent the case where the
|
|
215
|
-
// user is typing a single character into an input box containing a value
|
|
216
|
-
// as that will trigger this function with a value length of 2 characters.
|
|
217
|
-
const isAutofill = value.length - previousValue.length > 1;
|
|
218
|
-
if (isAutofill) {
|
|
219
|
-
// Distribute valid characters across input boxes
|
|
220
|
-
const validChars = value
|
|
221
|
-
.split('')
|
|
222
|
-
.filter((char) => validKeyPattern.test(char))
|
|
223
|
-
.slice(0, length);
|
|
224
|
-
// If there are no valid characters coming from the
|
|
225
|
-
// autofill, all input refs have to be cleared after the
|
|
226
|
-
// browser has finished the autofill behavior
|
|
227
|
-
if (validChars.length === 0) {
|
|
228
|
-
requestAnimationFrame(() => {
|
|
229
|
-
this.inputRefs.forEach((input) => {
|
|
230
|
-
input.value = '';
|
|
231
|
-
});
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
for (let i = 0; i < length; i++) {
|
|
235
|
-
this.inputValues[i] = validChars[i] || '';
|
|
236
|
-
this.inputRefs[i].value = validChars[i] || '';
|
|
237
|
-
}
|
|
238
|
-
this.updateValue(event);
|
|
239
|
-
// Focus the first empty input box or the last input box if all boxes
|
|
240
|
-
// are filled after a small delay to ensure the input boxes have been
|
|
241
|
-
// updated before moving the focus
|
|
242
|
-
setTimeout(() => {
|
|
243
|
-
var _a;
|
|
244
|
-
const nextIndex = validChars.length < length ? validChars.length : length - 1;
|
|
245
|
-
(_a = this.inputRefs[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
246
|
-
}, 20);
|
|
247
|
-
this.previousInputValues = [...this.inputValues];
|
|
248
|
-
return;
|
|
249
|
-
}
|
|
250
|
-
// 2. Input validation
|
|
251
|
-
// If the character entered is invalid (does not match the pattern),
|
|
252
|
-
// restore the previous value and exit
|
|
253
|
-
if (value.length > 0 && !validKeyPattern.test(value[value.length - 1])) {
|
|
254
|
-
input.value = this.inputValues[index] || '';
|
|
255
|
-
this.previousInputValues = [...this.inputValues];
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
// 3. Full selection replacement or typing in an empty box
|
|
259
|
-
// If the user selects all text in the input box and types, or if the
|
|
260
|
-
// input box is empty, replace only this input box. If the box is empty,
|
|
261
|
-
// move to the next box, otherwise stay focused on this box.
|
|
262
|
-
const isAllSelected = input.selectionStart === 0 && input.selectionEnd === value.length;
|
|
263
|
-
const isEmpty = !this.inputValues[index];
|
|
264
|
-
if (isAllSelected || isEmpty) {
|
|
265
|
-
this.inputValues[index] = value;
|
|
266
|
-
input.value = value;
|
|
267
|
-
this.updateValue(event);
|
|
268
|
-
this.focusNext(index);
|
|
269
|
-
this.previousInputValues = [...this.inputValues];
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
// 4. Inserting in the middle with available space (shifting)
|
|
273
|
-
// If typing in a filled input box and there are empty boxes at the end,
|
|
274
|
-
// shift all values starting at the current box to the right, and insert
|
|
275
|
-
// the new character at the current box.
|
|
276
|
-
const hasAvailableBoxAtEnd = this.inputValues[this.inputValues.length - 1] === '';
|
|
277
|
-
if (this.inputValues[index] && hasAvailableBoxAtEnd && value.length === 2) {
|
|
278
|
-
// Get the inserted character (from event or by diffing value/previousValue)
|
|
279
|
-
let newChar = event.data;
|
|
280
|
-
if (!newChar) {
|
|
281
|
-
newChar = value.split('').find((c, i) => c !== previousValue[i]) || value[value.length - 1];
|
|
282
|
-
}
|
|
283
|
-
// Validate the new character before shifting
|
|
284
|
-
if (!validKeyPattern.test(newChar)) {
|
|
285
|
-
input.value = this.inputValues[index] || '';
|
|
286
|
-
this.previousInputValues = [...this.inputValues];
|
|
287
|
-
return;
|
|
288
|
-
}
|
|
289
|
-
// Shift values right from the end to the insertion point
|
|
290
|
-
for (let i = this.inputValues.length - 1; i > index; i--) {
|
|
291
|
-
this.inputValues[i] = this.inputValues[i - 1];
|
|
292
|
-
this.inputRefs[i].value = this.inputValues[i] || '';
|
|
293
|
-
}
|
|
294
|
-
this.inputValues[index] = newChar;
|
|
295
|
-
this.inputRefs[index].value = newChar;
|
|
296
|
-
this.updateValue(event);
|
|
297
|
-
this.previousInputValues = [...this.inputValues];
|
|
298
|
-
return;
|
|
299
|
-
}
|
|
300
|
-
// 5. Single character replacement
|
|
301
|
-
// Handles replacing a single character in a box containing a value based
|
|
302
|
-
// on the cursor position. We need the cursor position to determine which
|
|
303
|
-
// character was the last character typed. For example, if the user types "2"
|
|
304
|
-
// in an input box with the cursor at the beginning of the value of "6",
|
|
305
|
-
// the value will be "26", but we want to grab the "2" as the last character
|
|
306
|
-
// typed.
|
|
307
|
-
const cursorPos = (_a = input.selectionStart) !== null && _a !== void 0 ? _a : value.length;
|
|
308
|
-
const newCharIndex = cursorPos - 1;
|
|
309
|
-
const newChar = (_b = value[newCharIndex]) !== null && _b !== void 0 ? _b : value[0];
|
|
310
|
-
// Check if the new character is valid before updating the value
|
|
311
|
-
if (!validKeyPattern.test(newChar)) {
|
|
312
|
-
input.value = this.inputValues[index] || '';
|
|
313
|
-
this.previousInputValues = [...this.inputValues];
|
|
314
|
-
return;
|
|
315
|
-
}
|
|
316
|
-
this.inputValues[index] = newChar;
|
|
317
|
-
input.value = newChar;
|
|
318
|
-
this.updateValue(event);
|
|
319
|
-
this.previousInputValues = [...this.inputValues];
|
|
320
|
-
};
|
|
321
|
-
/**
|
|
322
|
-
* Handles pasting text into the input OTP component.
|
|
323
|
-
* This function prevents the default paste behavior and
|
|
324
|
-
* validates the pasted text against the allowed pattern.
|
|
325
|
-
* It then updates the value of the input group and focuses
|
|
326
|
-
* the next empty input after pasting.
|
|
327
|
-
*/
|
|
328
|
-
this.onPaste = (event) => {
|
|
329
|
-
var _a, _b;
|
|
330
|
-
const { inputRefs, length, validKeyPattern } = this;
|
|
331
|
-
event.preventDefault();
|
|
332
|
-
const pastedText = (_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
|
|
333
|
-
// If there is no pasted text, still emit the input change event
|
|
334
|
-
// because this is how the native input element behaves
|
|
335
|
-
// but return early because there is nothing to paste.
|
|
336
|
-
if (!pastedText) {
|
|
337
|
-
this.emitIonInput(event);
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
|
-
const validChars = pastedText
|
|
341
|
-
.split('')
|
|
342
|
-
.filter((char) => validKeyPattern.test(char))
|
|
343
|
-
.slice(0, length);
|
|
344
|
-
// Always paste starting at the first box
|
|
345
|
-
validChars.forEach((char, index) => {
|
|
346
|
-
if (index < length) {
|
|
347
|
-
this.inputRefs[index].value = char;
|
|
348
|
-
this.inputValues[index] = char;
|
|
349
|
-
}
|
|
350
|
-
});
|
|
351
|
-
// Update the value so that all input boxes are updated
|
|
352
|
-
this.value = validChars.join('');
|
|
353
|
-
this.updateValue(event);
|
|
354
|
-
// Focus the next empty input after pasting
|
|
355
|
-
// If all boxes are filled, focus the last input
|
|
356
|
-
const nextEmptyIndex = validChars.length < length ? validChars.length : length - 1;
|
|
357
|
-
(_b = inputRefs[nextEmptyIndex]) === null || _b === void 0 ? void 0 : _b.focus();
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* Sets focus to an input box.
|
|
362
|
-
* @param index - The index of the input box to focus (0-based).
|
|
363
|
-
* If provided and the input box has a value, the input box at that index will be focused.
|
|
364
|
-
* Otherwise, the first empty input box or the last input if all are filled will be focused.
|
|
365
|
-
*/
|
|
366
|
-
async setFocus(index) {
|
|
367
|
-
var _a, _b;
|
|
368
|
-
if (typeof index === 'number') {
|
|
369
|
-
const validIndex = Math.max(0, Math.min(index, this.length - 1));
|
|
370
|
-
(_a = this.inputRefs[validIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
const tabbableIndex = this.getTabbableIndex();
|
|
374
|
-
(_b = this.inputRefs[tabbableIndex]) === null || _b === void 0 ? void 0 : _b.focus();
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
valueChanged() {
|
|
378
|
-
this.initializeValues();
|
|
379
|
-
this.updateTabIndexes();
|
|
380
|
-
}
|
|
381
|
-
/**
|
|
382
|
-
* Processes the separators prop into an array of numbers.
|
|
383
|
-
*
|
|
384
|
-
* If the separators prop is not provided, returns an empty array.
|
|
385
|
-
* If the separators prop is 'all', returns an array of all valid positions (1 to length-1).
|
|
386
|
-
* If the separators prop is an array, returns it as is.
|
|
387
|
-
* If the separators prop is a string, splits it by commas and parses each part as a number.
|
|
388
|
-
*
|
|
389
|
-
* If the separators are greater than the input length, it will warn and ignore the separators.
|
|
390
|
-
*/
|
|
391
|
-
processSeparators() {
|
|
392
|
-
const { separators, length } = this;
|
|
393
|
-
if (separators === undefined) {
|
|
394
|
-
this.parsedSeparators = [];
|
|
395
|
-
return;
|
|
396
|
-
}
|
|
397
|
-
if (typeof separators === 'string' && separators !== 'all') {
|
|
398
|
-
const isValidFormat = /^(\d+)(,\d+)*$/.test(separators);
|
|
399
|
-
if (!isValidFormat) {
|
|
400
|
-
printIonWarning(`[ion-input-otp] - Invalid separators format. Expected a comma-separated list of numbers, an array of numbers, or "all". Received: ${separators}`, this.el);
|
|
401
|
-
this.parsedSeparators = [];
|
|
402
|
-
return;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
let separatorValues;
|
|
406
|
-
if (separators === 'all') {
|
|
407
|
-
separatorValues = Array.from({ length: length - 1 }, (_, i) => i + 1);
|
|
408
|
-
}
|
|
409
|
-
else if (Array.isArray(separators)) {
|
|
410
|
-
separatorValues = separators;
|
|
411
|
-
}
|
|
412
|
-
else {
|
|
413
|
-
separatorValues = separators
|
|
414
|
-
.split(',')
|
|
415
|
-
.map((pos) => parseInt(pos, 10))
|
|
416
|
-
.filter((pos) => !isNaN(pos));
|
|
417
|
-
}
|
|
418
|
-
// Check for duplicate separator positions
|
|
419
|
-
const duplicates = separatorValues.filter((pos, index) => separatorValues.indexOf(pos) !== index);
|
|
420
|
-
if (duplicates.length > 0) {
|
|
421
|
-
printIonWarning(`[ion-input-otp] - Duplicate separator positions are not allowed. Received: ${separators}`, this.el);
|
|
422
|
-
}
|
|
423
|
-
const invalidSeparators = separatorValues.filter((pos) => pos > length);
|
|
424
|
-
if (invalidSeparators.length > 0) {
|
|
425
|
-
printIonWarning(`[ion-input-otp] - The following separator positions are greater than the input length (${length}): ${invalidSeparators.join(', ')}. These separators will be ignored.`, this.el);
|
|
426
|
-
}
|
|
427
|
-
this.parsedSeparators = separatorValues.filter((pos) => pos <= length);
|
|
428
|
-
}
|
|
429
|
-
componentWillLoad() {
|
|
430
|
-
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
431
|
-
this.processSeparators();
|
|
432
|
-
this.initializeValues();
|
|
433
|
-
}
|
|
434
|
-
componentDidLoad() {
|
|
435
|
-
this.updateTabIndexes();
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* Get the regex pattern for allowed characters.
|
|
439
|
-
* If a pattern is provided, use it to create a regex pattern
|
|
440
|
-
* Otherwise, use the default regex pattern based on type
|
|
441
|
-
*/
|
|
442
|
-
get validKeyPattern() {
|
|
443
|
-
return new RegExp(`^${this.getPattern()}$`, 'u');
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* Gets the string pattern to pass to the input element
|
|
447
|
-
* and use in the regex for allowed characters.
|
|
448
|
-
*/
|
|
449
|
-
getPattern() {
|
|
450
|
-
const { pattern, type } = this;
|
|
451
|
-
if (pattern) {
|
|
452
|
-
return pattern;
|
|
453
|
-
}
|
|
454
|
-
return type === 'number' ? '[\\p{N}]' : '[\\p{L}\\p{N}]';
|
|
455
|
-
}
|
|
456
|
-
/**
|
|
457
|
-
* Get the default value for inputmode.
|
|
458
|
-
* If inputmode is provided, use it.
|
|
459
|
-
* Otherwise, use the default inputmode based on type
|
|
460
|
-
*/
|
|
461
|
-
getInputmode() {
|
|
462
|
-
const { inputmode } = this;
|
|
463
|
-
if (inputmode) {
|
|
464
|
-
return inputmode;
|
|
465
|
-
}
|
|
466
|
-
if (this.type == 'number') {
|
|
467
|
-
return 'numeric';
|
|
468
|
-
}
|
|
469
|
-
else {
|
|
470
|
-
return 'text';
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
/**
|
|
474
|
-
* Initializes the input values array based on the current value prop.
|
|
475
|
-
* This splits the value into individual characters and validates them against
|
|
476
|
-
* the allowed pattern. The values are then used as the values in the native
|
|
477
|
-
* input boxes and the value of the input group is updated.
|
|
478
|
-
*/
|
|
479
|
-
initializeValues() {
|
|
480
|
-
// Clear all input values
|
|
481
|
-
this.inputValues = Array(this.length).fill('');
|
|
482
|
-
// If the value is null, undefined, or an empty string, return
|
|
483
|
-
if (this.value == null || String(this.value).length === 0) {
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
// Split the value into individual characters and validate
|
|
487
|
-
// them against the allowed pattern
|
|
488
|
-
const chars = String(this.value).split('').slice(0, this.length);
|
|
489
|
-
chars.forEach((char, index) => {
|
|
490
|
-
if (this.validKeyPattern.test(char)) {
|
|
491
|
-
this.inputValues[index] = char;
|
|
492
|
-
}
|
|
493
|
-
});
|
|
494
|
-
// Update the value without emitting events
|
|
495
|
-
this.value = this.inputValues.join('');
|
|
496
|
-
this.previousInputValues = [...this.inputValues];
|
|
497
|
-
}
|
|
498
|
-
/**
|
|
499
|
-
* Updates the value of the input group.
|
|
500
|
-
* This updates the value of the input group and emits an `ionChange` event.
|
|
501
|
-
* If all of the input boxes are filled, it emits an `ionComplete` event.
|
|
502
|
-
*/
|
|
503
|
-
updateValue(event) {
|
|
504
|
-
const { inputValues, length } = this;
|
|
505
|
-
const newValue = inputValues.join('');
|
|
506
|
-
this.value = newValue;
|
|
507
|
-
this.emitIonInput(event);
|
|
508
|
-
if (newValue.length === length) {
|
|
509
|
-
this.ionComplete.emit({ value: newValue });
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
/**
|
|
513
|
-
* Emits an `ionChange` event.
|
|
514
|
-
* This API should be called for user committed changes.
|
|
515
|
-
* This API should not be used for external value changes.
|
|
516
|
-
*/
|
|
517
|
-
emitIonChange(event) {
|
|
518
|
-
const { value } = this;
|
|
519
|
-
// Checks for both null and undefined values
|
|
520
|
-
const newValue = value == null ? value : value.toString();
|
|
521
|
-
this.ionChange.emit({ value: newValue, event });
|
|
522
|
-
}
|
|
523
|
-
/**
|
|
524
|
-
* Emits an `ionInput` event.
|
|
525
|
-
* This is used to emit the input value when the user types,
|
|
526
|
-
* backspaces, or pastes.
|
|
527
|
-
*/
|
|
528
|
-
emitIonInput(event) {
|
|
529
|
-
const { value } = this;
|
|
530
|
-
// Checks for both null and undefined values
|
|
531
|
-
const newValue = value == null ? value : value.toString();
|
|
532
|
-
this.ionInput.emit({ value: newValue, event });
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
* Focuses the next input box.
|
|
536
|
-
*/
|
|
537
|
-
focusNext(currentIndex) {
|
|
538
|
-
var _a;
|
|
539
|
-
const { inputRefs, length } = this;
|
|
540
|
-
if (currentIndex < length - 1) {
|
|
541
|
-
(_a = inputRefs[currentIndex + 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* Focuses the previous input box.
|
|
546
|
-
*/
|
|
547
|
-
focusPrevious(currentIndex) {
|
|
548
|
-
var _a;
|
|
549
|
-
const { inputRefs } = this;
|
|
550
|
-
if (currentIndex > 0) {
|
|
551
|
-
(_a = inputRefs[currentIndex - 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* Searches through the input values and returns the index
|
|
556
|
-
* of the first empty input.
|
|
557
|
-
* Returns -1 if all inputs are filled.
|
|
558
|
-
*/
|
|
559
|
-
getFirstEmptyIndex() {
|
|
560
|
-
var _a;
|
|
561
|
-
const { inputValues, length } = this;
|
|
562
|
-
// Create an array of the same length as the input OTP
|
|
563
|
-
// and fill it with the input values
|
|
564
|
-
const values = Array.from({ length }, (_, i) => inputValues[i] || '');
|
|
565
|
-
return (_a = values.findIndex((value) => !value || value === '')) !== null && _a !== void 0 ? _a : -1;
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Returns the index of the input that should be tabbed to.
|
|
569
|
-
* If all inputs are filled, returns the last input's index.
|
|
570
|
-
* Otherwise, returns the index of the first empty input.
|
|
571
|
-
*/
|
|
572
|
-
getTabbableIndex() {
|
|
573
|
-
const { length } = this;
|
|
574
|
-
const firstEmptyIndex = this.getFirstEmptyIndex();
|
|
575
|
-
return firstEmptyIndex === -1 ? length - 1 : firstEmptyIndex;
|
|
576
|
-
}
|
|
577
|
-
/**
|
|
578
|
-
* Updates the tabIndexes for the input boxes.
|
|
579
|
-
* This is used to ensure that the correct input is
|
|
580
|
-
* focused when the user navigates using the tab key.
|
|
581
|
-
*/
|
|
582
|
-
updateTabIndexes() {
|
|
583
|
-
const { inputRefs, inputValues, length } = this;
|
|
584
|
-
// Find first empty index after any filled boxes
|
|
585
|
-
let firstEmptyIndex = -1;
|
|
586
|
-
for (let i = 0; i < length; i++) {
|
|
587
|
-
if (!inputValues[i] || inputValues[i] === '') {
|
|
588
|
-
firstEmptyIndex = i;
|
|
589
|
-
break;
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
// Update tabIndex and aria-hidden for all inputs
|
|
593
|
-
inputRefs.forEach((input, index) => {
|
|
594
|
-
const shouldBeTabbable = firstEmptyIndex === -1 ? index === length - 1 : firstEmptyIndex === index;
|
|
595
|
-
input.tabIndex = shouldBeTabbable ? 0 : -1;
|
|
596
|
-
// If the input is empty and not the first empty input,
|
|
597
|
-
// it should be hidden from screen readers.
|
|
598
|
-
const isEmpty = !inputValues[index] || inputValues[index] === '';
|
|
599
|
-
input.setAttribute('aria-hidden', isEmpty && !shouldBeTabbable ? 'true' : 'false');
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
/**
|
|
603
|
-
* Determines if a separator should be shown for a given index by
|
|
604
|
-
* checking if the index is included in the parsed separators array.
|
|
605
|
-
*/
|
|
606
|
-
showSeparator(index) {
|
|
607
|
-
const { length } = this;
|
|
608
|
-
return this.parsedSeparators.includes(index + 1) && index < length - 1;
|
|
609
|
-
}
|
|
610
|
-
render() {
|
|
611
|
-
var _a, _b;
|
|
612
|
-
const { autocapitalize, color, disabled, el, fill, hasFocus, inheritedAttributes, inputId, inputRefs, inputValues, length, readonly, shape, size, } = this;
|
|
613
|
-
const mode = getIonMode(this);
|
|
614
|
-
const inputmode = this.getInputmode();
|
|
615
|
-
const tabbableIndex = this.getTabbableIndex();
|
|
616
|
-
const pattern = this.getPattern();
|
|
617
|
-
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
618
|
-
return (h(Host, { key: 'f15a29fb17b681ef55885ca36d3d5f899cbaca83', class: createColorClasses(color, {
|
|
619
|
-
[mode]: true,
|
|
620
|
-
'has-focus': hasFocus,
|
|
621
|
-
[`input-otp-size-${size}`]: true,
|
|
622
|
-
[`input-otp-shape-${shape}`]: true,
|
|
623
|
-
[`input-otp-fill-${fill}`]: true,
|
|
624
|
-
'input-otp-disabled': disabled,
|
|
625
|
-
'input-otp-readonly': readonly,
|
|
626
|
-
}) }, h("div", Object.assign({ key: 'd7e1d4edd8aafcf2ed4313301287282e90fc7e82', role: "group", "aria-label": "One-time password input", class: "input-otp-group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper" }, h("input", { class: "native-input", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && h("div", { class: "input-otp-separator" }))))), h("div", { key: '3724a3159d02860971879a906092f9965f5a7c47', class: {
|
|
627
|
-
'input-otp-description': true,
|
|
628
|
-
'input-otp-description-hidden': !hasDescription,
|
|
629
|
-
} }, h("slot", { key: '11baa2624926a08274508afe0833d9237a8dc35c' }))));
|
|
630
|
-
}
|
|
631
|
-
get el() { return this; }
|
|
632
|
-
static get watchers() { return {
|
|
633
|
-
"value": ["valueChanged"],
|
|
634
|
-
"separators": ["processSeparators"],
|
|
635
|
-
"length": ["processSeparators"]
|
|
636
|
-
}; }
|
|
637
|
-
static get style() { return {
|
|
638
|
-
ios: inputOtpIosCss(),
|
|
639
|
-
md: inputOtpMdCss()
|
|
640
|
-
}; }
|
|
641
|
-
}, [294, "ion-input-otp", {
|
|
642
|
-
"autocapitalize": [1],
|
|
643
|
-
"color": [513],
|
|
644
|
-
"disabled": [516],
|
|
645
|
-
"fill": [1],
|
|
646
|
-
"inputmode": [1],
|
|
647
|
-
"length": [2],
|
|
648
|
-
"pattern": [1],
|
|
649
|
-
"readonly": [516],
|
|
650
|
-
"separators": [1],
|
|
651
|
-
"shape": [1],
|
|
652
|
-
"size": [1],
|
|
653
|
-
"type": [1],
|
|
654
|
-
"value": [1032],
|
|
655
|
-
"inputValues": [32],
|
|
656
|
-
"hasFocus": [32],
|
|
657
|
-
"previousInputValues": [32],
|
|
658
|
-
"setFocus": [64]
|
|
659
|
-
}, undefined, {
|
|
660
|
-
"value": ["valueChanged"],
|
|
661
|
-
"separators": ["processSeparators"],
|
|
662
|
-
"length": ["processSeparators"]
|
|
663
|
-
}]);
|
|
664
|
-
let inputIds = 0;
|
|
665
|
-
function defineCustomElement$1() {
|
|
666
|
-
if (typeof customElements === "undefined") {
|
|
667
|
-
return;
|
|
668
|
-
}
|
|
669
|
-
const components = ["ion-input-otp"];
|
|
670
|
-
components.forEach(tagName => { switch (tagName) {
|
|
671
|
-
case "ion-input-otp":
|
|
672
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
673
|
-
customElements.define(transformTag(tagName), InputOTP);
|
|
674
|
-
}
|
|
675
|
-
break;
|
|
676
|
-
} });
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
const IonInputOtp = InputOTP;
|
|
680
|
-
const defineCustomElement = defineCustomElement$1;
|
|
681
|
-
|
|
682
|
-
export { IonInputOtp, defineCustomElement };
|
|
683
|
-
//# sourceMappingURL=ion-input-otp.js.map
|
|
684
|
-
|
|
685
|
-
//# sourceMappingURL=ion-input-otp.js.map
|
|
1
|
+
import{p as i,H as o,c as t,f as n,h as s,F as r,e as p,t as e}from"./p-DQAmWfm1.js";import{i as a}from"./p-BHQVufb8.js";import{i as l}from"./p-C53feagD.js";import{c as d}from"./p-DiVJyqlX.js";import{g as u}from"./p-DexEOBMU.js";const c=i(class extends o{constructor(i){super(),!1!==i&&this.__registerHost(),this.ionInput=t(this,"ionInput",7),this.ionChange=t(this,"ionChange",7),this.ionComplete=t(this,"ionComplete",7),this.ionBlur=t(this,"ionBlur",7),this.ionFocus=t(this,"ionFocus",7),this.inheritedAttributes={},this.inputRefs=[],this.inputId="ion-input-otp-"+h++,this.parsedSeparators=[],this.isKeyboardNavigation=!1,this.inputValues=[],this.hasFocus=!1,this.previousInputValues=[],this.autocapitalize="off",this.disabled=!1,this.fill="outline",this.length=4,this.readonly=!1,this.shape="round",this.size="medium",this.type="number",this.value="",this.onFocus=i=>o=>{var t;const{inputRefs:n}=this;this.hasFocus||(this.ionFocus.emit(o),this.focusedValue=this.value),this.hasFocus=!0;let s=i;if(!this.isKeyboardNavigation){const o=this.inputValues[i]?i:this.getFirstEmptyIndex();s=-1===o?this.length-1:o,null===(t=this.inputRefs[s])||void 0===t||t.focus()}n.forEach(((i,o)=>{i.tabIndex=o===s?0:-1})),this.isKeyboardNavigation=!1},this.onBlur=i=>{const{inputRefs:o}=this,t=i.relatedTarget;null!=t&&o.includes(t)||(this.hasFocus=!1,this.updateTabIndexes(),this.ionBlur.emit(i),this.focusedValue!==this.value&&this.emitIonChange(i))},this.onKeyDown=i=>o=>{const{length:t}=this,n=l(this.el),s=o.target;if(!(s.selectionStart!==s.selectionEnd||(o.metaKey||o.ctrlKey)&&["a","c","v","x","r","z","y"].includes(o.key.toLowerCase())))if("Backspace"===o.key)if(this.inputValues[i]){for(let o=i;o<t-1;o++)this.inputValues[o]=this.inputValues[o+1];this.inputValues[t-1]="";for(let i=0;i<t;i++)this.inputRefs[i].value=this.inputValues[i]||"";this.updateValue(o),o.preventDefault()}else!this.inputValues[i]&&i>0&&this.focusPrevious(i);else if("ArrowLeft"===o.key||"ArrowRight"===o.key){this.isKeyboardNavigation=!0,o.preventDefault();const s="ArrowLeft"===o.key;s&&n||!s&&!n?this.inputValues[i]&&i<t-1&&this.focusNext(i):this.focusPrevious(i)}else if("Tab"===o.key)return void(this.isKeyboardNavigation=!0)},this.onInput=i=>o=>{var t,n;const{length:s,validKeyPattern:r}=this,p=o.target,e=p.value,a=this.previousInputValues[i]||"";if(e.length-a.length>1){const i=e.split("").filter((i=>r.test(i))).slice(0,s);0===i.length&&requestAnimationFrame((()=>{this.inputRefs.forEach((i=>{i.value=""}))}));for(let o=0;o<s;o++)this.inputValues[o]=i[o]||"",this.inputRefs[o].value=i[o]||"";return this.updateValue(o),setTimeout((()=>{var o;null===(o=this.inputRefs[i.length<s?i.length:s-1])||void 0===o||o.focus()}),20),void(this.previousInputValues=[...this.inputValues])}if(e.length>0&&!r.test(e[e.length-1]))return p.value=this.inputValues[i]||"",void(this.previousInputValues=[...this.inputValues]);if(0===p.selectionStart&&p.selectionEnd===e.length||!this.inputValues[i])return this.inputValues[i]=e,p.value=e,this.updateValue(o),this.focusNext(i),void(this.previousInputValues=[...this.inputValues]);if(this.inputValues[i]&&""===this.inputValues[this.inputValues.length-1]&&2===e.length){let t=o.data;if(t||(t=e.split("").find(((i,o)=>i!==a[o]))||e[e.length-1]),!r.test(t))return p.value=this.inputValues[i]||"",void(this.previousInputValues=[...this.inputValues]);for(let o=this.inputValues.length-1;o>i;o--)this.inputValues[o]=this.inputValues[o-1],this.inputRefs[o].value=this.inputValues[o]||"";return this.inputValues[i]=t,this.inputRefs[i].value=t,this.updateValue(o),void(this.previousInputValues=[...this.inputValues])}const l=null!==(n=e[(null!==(t=p.selectionStart)&&void 0!==t?t:e.length)-1])&&void 0!==n?n:e[0];if(!r.test(l))return p.value=this.inputValues[i]||"",void(this.previousInputValues=[...this.inputValues]);this.inputValues[i]=l,p.value=l,this.updateValue(o),this.previousInputValues=[...this.inputValues]},this.onPaste=i=>{var o,t;const{inputRefs:n,length:s,validKeyPattern:r}=this;i.preventDefault();const p=null===(o=i.clipboardData)||void 0===o?void 0:o.getData("text");if(!p)return void this.emitIonInput(i);const e=p.split("").filter((i=>r.test(i))).slice(0,s);e.forEach(((i,o)=>{o<s&&(this.inputRefs[o].value=i,this.inputValues[o]=i)})),this.value=e.join(""),this.updateValue(i),null===(t=n[e.length<s?e.length:s-1])||void 0===t||t.focus()}}async setFocus(i){var o,t;if("number"==typeof i)null===(o=this.inputRefs[Math.max(0,Math.min(i,this.length-1))])||void 0===o||o.focus();else{const i=this.getTabbableIndex();null===(t=this.inputRefs[i])||void 0===t||t.focus()}}valueChanged(){this.initializeValues(),this.updateTabIndexes()}processSeparators(){const{separators:i,length:o}=this;if(void 0===i)return void(this.parsedSeparators=[]);if("string"==typeof i&&"all"!==i&&!/^(\d+)(,\d+)*$/.test(i))return n('[ion-input-otp] - Invalid separators format. Expected a comma-separated list of numbers, an array of numbers, or "all". Received: '+i,this.el),void(this.parsedSeparators=[]);let t;t="all"===i?Array.from({length:o-1},((i,o)=>o+1)):Array.isArray(i)?i:i.split(",").map((i=>parseInt(i,10))).filter((i=>!isNaN(i))),t.filter(((i,o)=>t.indexOf(i)!==o)).length>0&&n("[ion-input-otp] - Duplicate separator positions are not allowed. Received: "+i,this.el);const s=t.filter((i=>i>o));s.length>0&&n(`[ion-input-otp] - The following separator positions are greater than the input length (${o}): ${s.join(", ")}. These separators will be ignored.`,this.el),this.parsedSeparators=t.filter((i=>i<=o))}componentWillLoad(){this.inheritedAttributes=a(this.el),this.processSeparators(),this.initializeValues()}componentDidLoad(){this.updateTabIndexes()}get validKeyPattern(){return RegExp(`^${this.getPattern()}$`,"u")}getPattern(){const{pattern:i,type:o}=this;return i||("number"===o?"[\\p{N}]":"[\\p{L}\\p{N}]")}getInputmode(){const{inputmode:i}=this;return i||("number"==this.type?"numeric":"text")}initializeValues(){this.inputValues=Array(this.length).fill(""),null!=this.value&&0!==(this.value+"").length&&((this.value+"").split("").slice(0,this.length).forEach(((i,o)=>{this.validKeyPattern.test(i)&&(this.inputValues[o]=i)})),this.value=this.inputValues.join(""),this.previousInputValues=[...this.inputValues])}updateValue(i){const{inputValues:o,length:t}=this,n=o.join("");this.value=n,this.emitIonInput(i),n.length===t&&this.ionComplete.emit({value:n})}emitIonChange(i){const{value:o}=this;this.ionChange.emit({value:null==o?o:""+o,event:i})}emitIonInput(i){const{value:o}=this;this.ionInput.emit({value:null==o?o:""+o,event:i})}focusNext(i){var o;const{inputRefs:t,length:n}=this;i<n-1&&(null===(o=t[i+1])||void 0===o||o.focus())}focusPrevious(i){var o;const{inputRefs:t}=this;i>0&&(null===(o=t[i-1])||void 0===o||o.focus())}getFirstEmptyIndex(){var i;const{inputValues:o,length:t}=this;return null!==(i=Array.from({length:t},((i,t)=>o[t]||"")).findIndex((i=>!i||""===i)))&&void 0!==i?i:-1}getTabbableIndex(){const{length:i}=this,o=this.getFirstEmptyIndex();return-1===o?i-1:o}updateTabIndexes(){const{inputRefs:i,inputValues:o,length:t}=this;let n=-1;for(let i=0;i<t;i++)if(!o[i]||""===o[i]){n=i;break}i.forEach(((i,s)=>{const r=-1===n?s===t-1:n===s;i.tabIndex=r?0:-1,i.setAttribute("aria-hidden",o[s]&&""!==o[s]||r?"false":"true")}))}showSeparator(i){const{length:o}=this;return this.parsedSeparators.includes(i+1)&&i<o-1}render(){var i,o;const{autocapitalize:t,color:n,disabled:e,el:a,fill:l,hasFocus:c,inheritedAttributes:h,inputId:v,inputRefs:g,inputValues:m,length:f,readonly:b,shape:x,size:w}=this,k=u(this),y=this.getInputmode(),z=this.getTabbableIndex(),I=this.getPattern(),A=""!==(null===(o=null===(i=a.querySelector(".input-otp-description"))||void 0===i?void 0:i.textContent)||void 0===o?void 0:o.trim());return s(p,{key:"f15a29fb17b681ef55885ca36d3d5f899cbaca83",class:d(n,{[k]:!0,"has-focus":c,["input-otp-size-"+w]:!0,["input-otp-shape-"+x]:!0,["input-otp-fill-"+l]:!0,"input-otp-disabled":e,"input-otp-readonly":b})},s("div",Object.assign({key:"d7e1d4edd8aafcf2ed4313301287282e90fc7e82",role:"group","aria-label":"One-time password input",class:"input-otp-group"},h),Array.from({length:f}).map(((i,o)=>s(r,null,s("div",{class:"native-wrapper"},s("input",{class:"native-input",id:`${v}-${o}`,"aria-label":`Input ${o+1} of ${f}`,type:"text",autoCapitalize:t,inputmode:y,pattern:I,disabled:e,readOnly:b,tabIndex:o===z?0:-1,value:m[o]||"",autocomplete:"one-time-code",ref:i=>g[o]=i,onInput:this.onInput(o),onBlur:this.onBlur,onFocus:this.onFocus(o),onKeyDown:this.onKeyDown(o),onPaste:this.onPaste})),this.showSeparator(o)&&s("div",{class:"input-otp-separator"}))))),s("div",{key:"3724a3159d02860971879a906092f9965f5a7c47",class:{"input-otp-description":!0,"input-otp-description-hidden":!A}},s("slot",{key:"11baa2624926a08274508afe0833d9237a8dc35c"})))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}],separators:[{processSeparators:0}],length:[{processSeparators:0}]}}static get style(){return{ios:".sc-ion-input-otp-ios-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-ios{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;align-items:center;justify-content:center}.native-wrapper.sc-ion-input-otp-ios{display:flex;align-items:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-ios{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;appearance:none}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-ios{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-ios{display:none}.input-otp-separator.sc-ion-input-otp-ios{border-radius:var(--separator-border-radius);flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-ios-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:8px}.input-otp-size-medium.sc-ion-input-otp-ios-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-ios-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios,.input-otp-size-large.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:12px}.input-otp-shape-round.sc-ion-input-otp-ios-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-ios-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-ios-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-ios-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-disabled.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-ios-h,.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-ios-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-ios-h{--border-width:0.55px}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-width:1px}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}",md:".sc-ion-input-otp-md-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-md{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;align-items:center;justify-content:center}.native-wrapper.sc-ion-input-otp-md{display:flex;align-items:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-md{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;appearance:none}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-md{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-md{display:none}.input-otp-separator.sc-ion-input-otp-md{border-radius:var(--separator-border-radius);flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-md-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:8px}.input-otp-size-medium.sc-ion-input-otp-md-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-md-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md,.input-otp-size-large.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:12px}.input-otp-shape-round.sc-ion-input-otp-md-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-md-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-md-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-md-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-md-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-disabled.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-md-h,.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-md-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-md-h{--border-width:1px}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-width:2px}.input-otp-fill-outline.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3))}"}}},[294,"ion-input-otp",{autocapitalize:[1],color:[513],disabled:[516],fill:[1],inputmode:[1],length:[2],pattern:[1],readonly:[516],separators:[1],shape:[1],size:[1],type:[1],value:[1032],inputValues:[32],hasFocus:[32],previousInputValues:[32],setFocus:[64]},void 0,{value:[{valueChanged:0}],separators:[{processSeparators:0}],length:[{processSeparators:0}]}]);let h=0;const v=c,g=function(){"undefined"!=typeof customElements&&["ion-input-otp"].forEach((i=>{"ion-input-otp"===i&&(customElements.get(e(i))||customElements.define(e(i),c))}))};export{v as IonInputOtp,g as defineCustomElement}
|