@ionic/core 8.5.7-dev.11747858611.1d1dc603 → 8.5.7-dev.11747949628.1b740070
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/{app-globals-DvwumQAI.js → app-globals-CWtQHdcK.js} +1 -1
- package/dist/cjs/{button-active-Du_YCFSd.js → button-active-BzpKQ5zN.js} +1 -1
- package/dist/cjs/{index-QuFS9UpQ.js → index-C6GLB0dQ.js} +3 -3
- package/dist/cjs/{index-DCB2XSaQ.js → index-CrE5792q.js} +1 -1
- package/dist/cjs/{index-B6-BlKCh.js → index-qOuhvt-6.js} +0 -4
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +6 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-C3I6b0Is.js → ionic-global-BC3ee-Wa.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-CL8Q2_Bi.js → ios.transition-C9J4bBGV.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-D1Ast6la.js → md.transition-DT8PB4eS.js} +2 -2
- package/dist/cjs/{overlays-Ci3nLg5M.js → overlays-B4rlyxhY.js} +1 -1
- package/dist/cjs/{status-tap-Bx_wzOTo.js → status-tap-B8fjNFjq.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +1 -907
- package/dist/esm/{app-globals-C74-VMUb.js → app-globals-Ts_E1ch0.js} +1 -1
- package/dist/esm/{button-active-DRCPpzqj.js → button-active-BQqkZ_sm.js} +1 -1
- package/dist/esm/{index-lgeUQ6qY.js → index-B83thFnh.js} +3 -3
- package/dist/esm/{index-3GtB1kQI.js → index-EP3pwcdb.js} +1 -4
- package/dist/esm/{index-lp0kQfoC.js → index-RyWq7qIc.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +9 -9
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +14 -14
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +10 -10
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav_2.entry.js +5 -5
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +6 -6
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +6 -6
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +7 -7
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-Dw-MNnQB.js → ionic-global-DapnXdYs.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-Doo_7Vid.js → ios.transition-DN6Dy4K4.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BbcCfRk9.js → md.transition-DR8zuFnL.js} +2 -2
- package/dist/esm/{overlays-Pn0MyOv4.js → overlays-Blhb_0oI.js} +1 -1
- package/dist/esm/{status-tap-Cn5uETrs.js → status-tap-CZEjiztV.js} +1 -1
- package/dist/html.html-data.json +0 -160
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-14d26301.entry.js → p-030daf32.entry.js} +1 -1
- package/dist/ionic/{p-f331dda5.entry.js → p-0434efbb.entry.js} +1 -1
- package/dist/ionic/p-07a47eb6.entry.js +4 -0
- package/dist/ionic/{p-43f012a4.entry.js → p-08232f2d.entry.js} +1 -1
- package/dist/ionic/{p-ff88b250.entry.js → p-0c2a069d.entry.js} +1 -1
- package/dist/ionic/{p-2e42fa68.entry.js → p-112af08b.entry.js} +1 -1
- package/dist/ionic/{p-1e9ea564.entry.js → p-12b44c66.entry.js} +1 -1
- package/dist/ionic/{p-e83ead65.entry.js → p-1a19090e.entry.js} +1 -1
- package/dist/ionic/{p-2517fcdf.entry.js → p-306eab7a.entry.js} +1 -1
- package/dist/ionic/{p-6bd192d8.entry.js → p-38598652.entry.js} +1 -1
- package/dist/ionic/{p-0bcd3299.entry.js → p-38921e2f.entry.js} +1 -1
- package/dist/ionic/{p-b18a4590.entry.js → p-38dcbd40.entry.js} +1 -1
- package/dist/ionic/{p-1da92348.entry.js → p-3edb2346.entry.js} +1 -1
- package/dist/ionic/{p-cde545fa.entry.js → p-4119d144.entry.js} +1 -1
- package/dist/ionic/{p-9c7d7711.entry.js → p-46a1ce99.entry.js} +1 -1
- package/dist/ionic/{p-8d7afec5.entry.js → p-46c15fe2.entry.js} +1 -1
- package/dist/ionic/p-46f82b82.entry.js +4 -0
- package/dist/ionic/{p-a20a15cc.entry.js → p-484073b5.entry.js} +1 -1
- package/dist/ionic/{p-98f759e4.entry.js → p-49122d48.entry.js} +1 -1
- package/dist/ionic/{p-592db4a8.entry.js → p-4a5cf7ac.entry.js} +1 -1
- package/dist/ionic/p-5459e444.entry.js +4 -0
- package/dist/ionic/{p-a22fe54d.entry.js → p-5b8abc2f.entry.js} +1 -1
- package/dist/ionic/{p-96d912f5.entry.js → p-5fb997f8.entry.js} +1 -1
- package/dist/ionic/{p-29186993.entry.js → p-61f52724.entry.js} +1 -1
- package/dist/ionic/{p-2c6931ed.entry.js → p-89e3b3c6.entry.js} +1 -1
- package/dist/ionic/{p-e5495b3b.entry.js → p-8dda7cd4.entry.js} +1 -1
- package/dist/ionic/{p-920540c6.entry.js → p-93996b12.entry.js} +1 -1
- package/dist/ionic/{p-178084cb.entry.js → p-94375099.entry.js} +1 -1
- package/dist/ionic/{p-fb714eec.entry.js → p-99c93730.entry.js} +1 -1
- package/dist/ionic/{p-0bc3d6d0.entry.js → p-9a0bde6e.entry.js} +1 -1
- package/dist/ionic/{p-DYqTiW2v.js → p-BSMFLyVh.js} +1 -1
- package/dist/ionic/{p-wsLGfiE0.js → p-CgRZM5_E.js} +1 -1
- package/dist/ionic/p-CqNf-A5G.js +4 -0
- package/dist/ionic/{p-BBMlbfDQ.js → p-DCstKNei.js} +1 -1
- package/dist/ionic/{p-CjUUcfjC.js → p-DPhSdjFK.js} +1 -1
- package/dist/ionic/{p-CuVupNFU.js → p-Dnc554yu.js} +1 -1
- package/dist/ionic/{p-3GtB1kQI.js → p-EP3pwcdb.js} +2 -2
- package/dist/ionic/p-EglNvYQn.js +4 -0
- package/dist/ionic/{p-BC2IYr2c.js → p-LpklIrOy.js} +1 -1
- package/dist/ionic/{p-CGyDG2ar.js → p-Uz6zKimy.js} +1 -1
- package/dist/ionic/{p-ed36aee8.entry.js → p-a178af33.entry.js} +1 -1
- package/dist/ionic/{p-c1b0e3b6.entry.js → p-a26637b1.entry.js} +1 -1
- package/dist/ionic/{p-e2d9c488.entry.js → p-a4bcf305.entry.js} +1 -1
- package/dist/ionic/{p-691fa8c7.entry.js → p-a9997b1b.entry.js} +1 -1
- package/dist/ionic/{p-eec040ff.entry.js → p-ade7bda6.entry.js} +1 -1
- package/dist/ionic/{p-bc84650a.entry.js → p-aeb7297a.entry.js} +1 -1
- package/dist/ionic/{p-250c972f.entry.js → p-b2b0f539.entry.js} +1 -1
- package/dist/ionic/{p-3fa87259.entry.js → p-bc9feb4b.entry.js} +1 -1
- package/dist/ionic/{p-99cc16fb.entry.js → p-c19bc276.entry.js} +1 -1
- package/dist/ionic/{p-fd156864.entry.js → p-c3abde95.entry.js} +1 -1
- package/dist/ionic/{p-832b6c90.entry.js → p-c9bca536.entry.js} +1 -1
- package/dist/ionic/{p-d4742f5c.entry.js → p-ce26cd7d.entry.js} +1 -1
- package/dist/ionic/{p-f35cb090.entry.js → p-d77d0b41.entry.js} +1 -1
- package/dist/ionic/{p-7a6c96ca.entry.js → p-d887000e.entry.js} +1 -1
- package/dist/ionic/{p-05427be9.entry.js → p-d9c08f93.entry.js} +1 -1
- package/dist/ionic/{p-3ca63859.entry.js → p-e2e4b1f1.entry.js} +1 -1
- package/dist/ionic/{p-da105dce.entry.js → p-e426331f.entry.js} +1 -1
- package/dist/ionic/{p-9262223a.entry.js → p-e471e1e5.entry.js} +1 -1
- package/dist/ionic/{p-ee504ce4.entry.js → p-e5e82fa5.entry.js} +1 -1
- package/dist/ionic/{p-2438054c.entry.js → p-f0c5ea4c.entry.js} +1 -1
- package/dist/ionic/{p-5756b724.entry.js → p-ff362ebc.entry.js} +1 -1
- package/dist/types/components.d.ts +0 -167
- package/dist/types/interface.d.ts +0 -1
- package/hydrate/index.js +99 -688
- package/hydrate/index.mjs +99 -688
- package/package.json +1 -1
- package/components/ion-input-otp.d.ts +0 -11
- package/components/ion-input-otp.js +0 -608
- package/dist/cjs/ion-input-otp.cjs.entry.js +0 -571
- package/dist/collection/components/input-otp/input-otp-interface.js +0 -1
- package/dist/collection/components/input-otp/input-otp.ios.css +0 -377
- package/dist/collection/components/input-otp/input-otp.js +0 -996
- package/dist/collection/components/input-otp/input-otp.md.css +0 -377
- package/dist/esm/ion-input-otp.entry.js +0 -569
- package/dist/ionic/p-1fe35f29.entry.js +0 -4
- package/dist/ionic/p-58f92c36.entry.js +0 -4
- package/dist/ionic/p-8c496d65.entry.js +0 -4
- package/dist/ionic/p-B7Khsp7D.js +0 -4
- package/dist/ionic/p-CO_y91jJ.js +0 -4
- package/dist/ionic/p-bf6b00ab.entry.js +0 -4
- package/dist/types/components/input-otp/input-otp-interface.d.ts +0 -21
- package/dist/types/components/input-otp/input-otp.d.ts +0 -270
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as i,h as s,g as e,d as n}from"./p-3GtB1kQI.js";import{g as o}from"./p-hHmYLOfE.js";import{s as r,l as a}from"./p-CG4wBMWx.js";import{c as h,p as c}from"./p-CEo1SqXS.js";import{l,t as d,s as u,d as v,b as f,c as m}from"./p-BBMlbfDQ.js";import{b as p}from"./p-B7Khsp7D.js";import{a as w}from"./p-D-bDfEy0.js";class b{constructor(t,i){this.component=t,this.params=i,this.state=1}async init(t){if(this.state=2,!this.element){const i=this.component;this.element=await w(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)}}_destroy(){a(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const g=(t,i,s)=>!!t&&t.component===i&&r(t.params,s),y=(t,i)=>t?t instanceof b?t:new b(t,i):null,k=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.animated=!0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const t=p(this);this.swipeGesture=h.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await import("./p-BNIA2meb.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const t of this.views)l(t.element,v),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,i,s,e){return this.insert(-1,t,i,s,e)}insert(t,i,s,e,n){return this.insertPages(t,[{component:i,componentProps:s}],e,n)}insertPages(t,i,s,e){return this.queueTrns({insertStart:t,insertViews:i,opts:s},e)}pop(t,i){return this.removeIndex(-1,1,t,i)}popTo(t,i,s){const e={removeStart:-1,removeCount:-1,opts:i};return"object"==typeof t&&t.component?(e.removeView=t,e.removeStart=1):"number"==typeof t&&(e.removeStart=t+1),this.queueTrns(e,s)}popToRoot(t,i){return this.removeIndex(1,-1,t,i)}removeIndex(t,i=1,s,e){return this.queueTrns({removeStart:t,removeCount:i,opts:s},e)}setRoot(t,i,s,e){return this.setPages([{component:t,componentProps:i}],s,e)}setPages(t,i,s){return null!=i||(i={}),!0!==i.animated&&(i.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},s)}setRouteId(t,i,s,e){const n=this.getActiveSync();if(g(n,t,i))return Promise.resolve({changed:!1,element:n.element});let o;const r=new Promise((t=>o=t));let a;const h={updateURL:!1,viewIsReady:t=>{let i;const s=new Promise((t=>i=t));return o({changed:!0,element:t,markVisible:async()=>{i(),await a}}),s}};if("root"===s)a=this.setRoot(t,i,h);else{const n=this.views.find((s=>g(s,t,i)));n?a=this.popTo(n,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:e})):"forward"===s?a=this.push(t,i,Object.assign(Object.assign({},h),{animationBuilder:e})):"back"===s&&(a=this.setRoot(t,i,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:e})))}return r}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}async getLength(){return Promise.resolve(this.views.length)}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!(!t||!this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const i=this.views,s=i.indexOf(t);return s>0?i[s-1]:void 0}async queueTrns(t,i){var s,e;if(this.isTransitioning&&(null===(s=t.opts)||void 0===s?void 0:s.skipIfBusy))return!1;const n=new Promise(((i,s)=>{t.resolve=i,t.reject=s}));if(t.done=i,t.opts&&!1!==t.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");if(i){const s=await i.canTransition();if(!1===s)return!1;if("string"==typeof s)return i.push(s,t.opts.direction||"back"),!1}}return 0===(null===(e=t.insertViews)||void 0===e?void 0:e.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),n}success(t,i){if(this.destroyed)this.fireError("nav controller was destroyed",i);else if(i.done&&i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),i.resolve(t.hasCompleted),!1!==i.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");i&&i.navChanged("back"===t.direction?"back":"forward")}}failed(t,i){this.destroyed?this.fireError("nav controller was destroyed",i):(this.transInstr.length=0,this.fireError(t,i))}fireError(t,i){i.done&&i.done(!1,!1,t),i.reject&&!this.destroyed?i.reject(t):i.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const i=this.getActiveSync(),s=this.getEnteringView(t,i);if(!i&&!s)throw new Error("no views in the stack to be removed");s&&1===s.state&&await s.init(this.el),this.postViewInit(s,i,t);const e=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&s!==i;let n;e&&t.opts&&i&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null==s?void 0:s.animationBuilder)),i.animationBuilder=t.opts.animationBuilder),n=e?await this.transition(s,i,t):{hasCompleted:!0,requiresTransition:!1},this.success(n,t),this.ionNavDidChange.emit()}catch(i){this.failed(i,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var i,s,e;const n=this.views.length;if(null!==(i=t.opts)&&void 0!==i||(t.opts={}),null!==(s=(e=t.opts).delegate)&&void 0!==s||(e.delegate=this.delegate),void 0!==t.removeView){a(void 0!==t.removeStart,"removeView needs removeStart"),a(void 0!==t.removeCount,"removeView needs removeCount");const i=this.views.indexOf(t.removeView);if(i<0)throw new Error("removeView was not found");t.removeStart+=i}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n);const o=t.insertViews;if(!o)return;a(o.length>0,"length can not be zero");const r=o.map((t=>t instanceof b?t:"component"in t?y(t.component,null===t.componentProps?void 0:t.componentProps):y(t,void 0))).filter((t=>null!==t));if(0===r.length)throw new Error("invalid views to insert");for(const i of r){i.delegate=t.opts.delegate;const s=i.nav;if(s&&s!==this)throw new Error("inserted view was already inserted");if(3===i.state)throw new Error("inserted view was already destroyed")}t.insertViews=r}getEnteringView(t,i){const s=t.insertViews;if(void 0!==s)return s[s.length-1];const e=t.removeStart;if(void 0!==e){const s=this.views,n=e+t.removeCount;for(let t=s.length-1;t>=0;t--){const o=s[t];if((t<e||t>=n)&&o!==i)return o}}}postViewInit(t,i,s){var e,n,o;a(i||t,"Both leavingView and enteringView are null"),a(s.resolve,"resolve must be valid"),a(s.reject,"reject must be valid");const r=s.opts,{insertViews:h,removeStart:d,removeCount:u}=s;let p;if(void 0!==d&&void 0!==u){a(d>=0,"removeStart can not be negative"),a(u>=0,"removeCount can not be negative"),p=[];for(let s=d;s<d+u;s++){const e=this.views[s];void 0!==e&&e!==t&&e!==i&&p.push(e)}null!==(e=r.direction)&&void 0!==e||(r.direction="back")}const w=this.views.length+(null!==(n=null==h?void 0:h.length)&&void 0!==n?n:0)-(null!=u?u:0);if(a(w>=0,"final balance can not be negative"),0===w)throw c("[ion-nav] - You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){let t=s.insertStart;for(const i of h)this.insertViewAt(i,t),t++;s.enteringRequiresTransition&&(null!==(o=r.direction)&&void 0!==o||(r.direction="forward"))}if(p&&p.length>0){for(const t of p)l(t.element,f),l(t.element,m),l(t.element,v);for(const t of p)this.destroyView(t)}}async transition(t,i,s){const e=s.opts,n=e.progressAnimation?t=>{void 0===t||this.gestureOrAnimationInProgress?this.sbAni=t:(this.gestureOrAnimationInProgress=!0,t.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0,o=p(this),r=t.element,a=i&&i.element,c=Object.assign(Object.assign({mode:o,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:n,animated:this.animated&&h.getBoolean("animated",!0),enteringEl:r,leavingEl:a},e),{animationBuilder:e.animationBuilder||this.animation||h.get("navAnimation")}),{hasCompleted:l}=await d(c);return this.transitionFinish(l,t,i,e)}transitionFinish(t,i,s,e){const n=t?i:s;return n&&this.unmountInactiveViews(n),{hasCompleted:t,requiresTransition:!0,enteringView:i,leavingView:s,direction:e.direction}}insertViewAt(t,i){const s=this.views,e=s.indexOf(t);e>-1?(a(t.nav===this,"view is not part of the nav"),s.splice(e,1),s.splice(i,0,t)):(a(!t.nav,"nav is used"),t.nav=this,s.splice(i,0,t))}removeView(t){a(2===t.state||3===t.state,"view state should be loaded or destroyed");const i=this.views,s=i.indexOf(t);a(s>-1,"view must be part of the stack"),s>=0&&i.splice(s,1)}destroyView(t){t._destroy(),this.removeView(t)}unmountInactiveViews(t){if(this.destroyed)return;const i=this.views,s=i.indexOf(t);for(let t=i.length-1;t>=0;t--){const e=i[t],n=e.element;n&&(t>s?(l(n,v),this.destroyView(e)):t<s&&u(n,!0))}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=!0,this.pop({direction:"back",progressAnimation:!0})}onMove(t){this.sbAni&&this.sbAni.progressStep(t)}onEnd(t,i,s){if(this.sbAni){this.sbAni.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0});let e=t?-.001:.001;t?e+=o([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),e+=o([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.sbAni.progressEnd(t?1:0,e,s)}else this.gestureOrAnimationInProgress=!1}render(){return s("slot",{key:"8067c9835d255daec61f33dba200fd3a6ff839a0"})}get el(){return e(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};k.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const C=class{constructor(i){t(this,i),this.routerDirection="forward",this.onClick=()=>((t,i,s,e,n)=>{const o=this.el.closest("ion-nav");if(o)if("forward"===i){if(void 0!==s)return o.push(s,e,{skipIfBusy:!0,animationBuilder:n})}else if("root"===i){if(void 0!==s)return o.setRoot(s,e,{skipIfBusy:!0,animationBuilder:n})}else if("back"===i)return o.pop({skipIfBusy:!0,animationBuilder:n});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation)}render(){return s(n,{key:"6dbb1ad4f351e9215375aac11ab9b53762e07a08",onClick:this.onClick})}get el(){return e(this)}};export{k as ion_nav,C as ion_nav_link}
|
package/dist/ionic/p-B7Khsp7D.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{i as o,j as i}from"./p-3GtB1kQI.js";import{c as t,b as e,d as n,s as r,p as d}from"./p-CEo1SqXS.js";const s=o=>l(o),a=(o,i)=>("string"==typeof o&&(i=o,o=void 0),s(o).includes(i)),l=(o=window)=>{if(void 0===o)return[];o.Ionic=o.Ionic||{};let i=o.Ionic.platforms;return null==i&&(i=o.Ionic.platforms=c(o),i.forEach((i=>o.document.documentElement.classList.add(`plt-${i}`)))),i},c=o=>{const i=t.get("platform");return Object.keys(j).filter((t=>{const e=null==i?void 0:i[t];return"function"==typeof e?e(o):j[t](o)}))},p=o=>!!h(o,/iPad/i)||!(!h(o,/Macintosh/i)||!m(o)),u=o=>h(o,/android|sink/i),m=o=>w(o,"(any-pointer:coarse)"),v=o=>b(o)||f(o),b=o=>!!(o.cordova||o.phonegap||o.PhoneGap),f=o=>{const i=o.Capacitor;return!!((null==i?void 0:i.isNative)||(null==i?void 0:i.isNativePlatform)&&i.isNativePlatform())},h=(o,i)=>i.test(o.navigator.userAgent),w=(o,i)=>{var t;return null===(t=o.matchMedia)||void 0===t?void 0:t.call(o,i).matches},j={ipad:p,iphone:o=>h(o,/iPhone/i),ios:o=>h(o,/iPhone|iPod/i)||p(o),android:u,phablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return e>390&&e<520&&n>620&&n<800},tablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return p(o)||(o=>u(o)&&!h(o,/mobile/i))(o)||e>460&&e<820&&n>780&&n<1400},cordova:b,capacitor:f,electron:o=>h(o,/electron/i),pwa:o=>{var i;return!(!(null===(i=o.matchMedia)||void 0===i?void 0:i.call(o,"(display-mode: standalone)").matches)&&!o.navigator.standalone)},mobile:m,mobileweb:o=>m(o)&&!v(o),desktop:o=>!m(o),hybrid:v};let O;const y=i=>i&&o(i)||O,g=(o={})=>{if("undefined"==typeof window)return;const s=window.document,c=window,p=c.Ionic=c.Ionic||{},u=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e(c)),{persistConfig:!1}),p.config),n(c)),o);t.reset(u),t.getBoolean("persistConfig")&&r(c,u),l(c),p.config=t,p.mode=O=t.get("mode",s.documentElement.getAttribute("mode")||(a(c,"ios")?"ios":"md")),t.set("mode",O),s.documentElement.setAttribute("mode",O),s.documentElement.classList.add(O),t.getBoolean("_testing")&&t.set("animated",!1);const m=o=>{var i;return null===(i=o.tagName)||void 0===i?void 0:i.startsWith("ION-")},v=o=>["ios","md"].includes(o);i((o=>{for(;o;){const i=o.mode||o.getAttribute("mode");if(i){if(v(i))return i;m(o)&&d('Invalid ionic mode: "'+i+'", expected: "ios" or "md"')}o=o.parentElement}return O}))};export{a,y as b,s as g,g as i}
|
package/dist/ionic/p-CO_y91jJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{a as o,w as s}from"./p-3GtB1kQI.js";import{f as t,s as r}from"./p-B0af2jd_.js";import{c as a}from"./p-CG4wBMWx.js";import"./p-CEo1SqXS.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const p=t(o);p&&new Promise((o=>a(p,o))).then((()=>{s((async()=>{p.style.setProperty("--overflow","hidden"),await r(p,300),p.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as s,h as e,d as a}from"./p-3GtB1kQI.js";const o=class{constructor(e){s(this,e)}render(){return e(a,{key:"db6876f2aee7afa1ea8bc147337670faa68fae1c"},e("slot",{key:"bc05714a973a5655668679033f5809a1da6db8cc"}))}};o.style=":host{scroll-snap-align:center;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;}:host::-webkit-scrollbar{display:none}";export{o as ion_segment_content}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Values are converted to strings when emitted which is
|
|
3
|
-
* why we do not have a `number` type here even though the
|
|
4
|
-
* `value` prop accepts a `number` type.
|
|
5
|
-
*/
|
|
6
|
-
export interface InputOtpInputEventDetail {
|
|
7
|
-
value?: string | null;
|
|
8
|
-
event?: Event;
|
|
9
|
-
}
|
|
10
|
-
export interface InputOtpChangeEventDetail {
|
|
11
|
-
value?: string | null;
|
|
12
|
-
event?: Event;
|
|
13
|
-
}
|
|
14
|
-
export interface InputOtpCompleteEventDetail {
|
|
15
|
-
value?: string | null;
|
|
16
|
-
event?: Event;
|
|
17
|
-
}
|
|
18
|
-
export interface InputOtpCustomEvent<T = InputOtpChangeEventDetail> extends CustomEvent {
|
|
19
|
-
detail: T;
|
|
20
|
-
target: HTMLIonInputOtpElement;
|
|
21
|
-
}
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import type { Color } from '../../interface';
|
|
3
|
-
import type { InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail } from './input-otp-interface';
|
|
4
|
-
export declare class InputOTP implements ComponentInterface {
|
|
5
|
-
private inputRefs;
|
|
6
|
-
private inputId;
|
|
7
|
-
private parsedSeparators;
|
|
8
|
-
/**
|
|
9
|
-
* Stores the initial value of the input when it receives focus.
|
|
10
|
-
* Used to determine if the value changed during the focus session
|
|
11
|
-
* to avoid emitting unnecessary change events on blur.
|
|
12
|
-
*/
|
|
13
|
-
private focusedValue?;
|
|
14
|
-
/**
|
|
15
|
-
* Tracks whether the user is navigating through input boxes using keyboard navigation
|
|
16
|
-
* (arrow keys, tab) versus mouse clicks. This is used to determine the appropriate
|
|
17
|
-
* focus behavior when an input box is focused.
|
|
18
|
-
*/
|
|
19
|
-
private isKeyboardNavigation;
|
|
20
|
-
el: HTMLIonInputOtpElement;
|
|
21
|
-
private inputValues;
|
|
22
|
-
hasFocus: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
25
|
-
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
26
|
-
*/
|
|
27
|
-
autocapitalize: string;
|
|
28
|
-
/**
|
|
29
|
-
* The color to use from your application's color palette.
|
|
30
|
-
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
|
31
|
-
* For more information on colors, see [theming](/docs/theming/basics).
|
|
32
|
-
*/
|
|
33
|
-
color?: Color;
|
|
34
|
-
/**
|
|
35
|
-
* If `true`, the user cannot interact with the input.
|
|
36
|
-
*/
|
|
37
|
-
disabled: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* The fill for the input boxes. If `"solid"` the input boxes will have a background. If
|
|
40
|
-
* `"outline"` the input boxes will be transparent with a border.
|
|
41
|
-
*/
|
|
42
|
-
fill?: 'outline' | 'solid';
|
|
43
|
-
/**
|
|
44
|
-
* A hint to the browser for which keyboard to display.
|
|
45
|
-
* Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
|
|
46
|
-
* `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
|
|
47
|
-
*
|
|
48
|
-
* For numbers (type="number"): "numeric"
|
|
49
|
-
* For text (type="text"): "text"
|
|
50
|
-
*/
|
|
51
|
-
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
52
|
-
/**
|
|
53
|
-
* The number of input boxes to display.
|
|
54
|
-
*/
|
|
55
|
-
length: number;
|
|
56
|
-
/**
|
|
57
|
-
* A regex pattern string for allowed characters. Defaults based on type.
|
|
58
|
-
*
|
|
59
|
-
* For numbers (`type="number"`): `"[\\p{N}]"`
|
|
60
|
-
* For text (`type="text"`): `"[\\p{L}\\p{N}]"`
|
|
61
|
-
*/
|
|
62
|
-
pattern?: string;
|
|
63
|
-
/**
|
|
64
|
-
* If `true`, the user cannot modify the value.
|
|
65
|
-
*/
|
|
66
|
-
readonly: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* The size of the input boxes.
|
|
69
|
-
*/
|
|
70
|
-
size: 'small' | 'medium' | 'large';
|
|
71
|
-
/**
|
|
72
|
-
* Where separators should be shown between input boxes.
|
|
73
|
-
* Can be a comma-separated string or an array of numbers.
|
|
74
|
-
*
|
|
75
|
-
* For example:
|
|
76
|
-
* `"3"` will show a separator after the 3rd input box.
|
|
77
|
-
* `[1,4]` will show a separator after the 1st and 4th input boxes.
|
|
78
|
-
* `"all"` will show a separator between every input box.
|
|
79
|
-
*/
|
|
80
|
-
separators?: 'all' | string | number[];
|
|
81
|
-
/**
|
|
82
|
-
* The shape of the input boxes.
|
|
83
|
-
* If "round" they will have an increased border radius.
|
|
84
|
-
* If "rectangular" they will have no border radius.
|
|
85
|
-
* If "soft" they will have a soft border radius.
|
|
86
|
-
*/
|
|
87
|
-
shape: 'round' | 'rectangular' | 'soft';
|
|
88
|
-
/**
|
|
89
|
-
* The type of input allowed in the input boxes.
|
|
90
|
-
*/
|
|
91
|
-
type: 'text' | 'number';
|
|
92
|
-
/**
|
|
93
|
-
* The value of the input group.
|
|
94
|
-
*/
|
|
95
|
-
value?: string | number | null;
|
|
96
|
-
/**
|
|
97
|
-
* The `ionInput` event is fired each time the user modifies the input's value.
|
|
98
|
-
* Unlike the `ionChange` event, the `ionInput` event is fired for each alteration
|
|
99
|
-
* to the input's value. This typically happens for each keystroke as the user types.
|
|
100
|
-
*
|
|
101
|
-
* For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
|
|
102
|
-
* is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
|
|
103
|
-
* the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
|
|
104
|
-
* the input is cleared on edit, the type is `null`.
|
|
105
|
-
*/
|
|
106
|
-
ionInput: EventEmitter<InputOtpInputEventDetail>;
|
|
107
|
-
/**
|
|
108
|
-
* The `ionChange` event is fired when the user modifies the input's value.
|
|
109
|
-
* Unlike the `ionInput` event, the `ionChange` event is only fired when changes
|
|
110
|
-
* are committed, not as the user types.
|
|
111
|
-
*
|
|
112
|
-
* The `ionChange` event fires when the `<ion-input-otp>` component loses
|
|
113
|
-
* focus after its value has changed.
|
|
114
|
-
*
|
|
115
|
-
* This event will not emit when programmatically setting the `value` property.
|
|
116
|
-
*/
|
|
117
|
-
ionChange: EventEmitter<InputOtpChangeEventDetail>;
|
|
118
|
-
/**
|
|
119
|
-
* Emitted when all input boxes have been filled with valid values.
|
|
120
|
-
*/
|
|
121
|
-
ionComplete: EventEmitter<InputOtpCompleteEventDetail>;
|
|
122
|
-
/**
|
|
123
|
-
* Emitted when the input group loses focus.
|
|
124
|
-
*/
|
|
125
|
-
ionBlur: EventEmitter<FocusEvent>;
|
|
126
|
-
/**
|
|
127
|
-
* Emitted when the input group has focus.
|
|
128
|
-
*/
|
|
129
|
-
ionFocus: EventEmitter<FocusEvent>;
|
|
130
|
-
valueChanged(): void;
|
|
131
|
-
/**
|
|
132
|
-
* Processes the separators prop into an array of numbers.
|
|
133
|
-
*
|
|
134
|
-
* If the separators prop is not provided, returns an empty array.
|
|
135
|
-
* If the separators prop is 'all', returns an array of all valid positions (1 to length-1).
|
|
136
|
-
* If the separators prop is an array, returns it as is.
|
|
137
|
-
* If the separators prop is a string, splits it by commas and parses each part as a number.
|
|
138
|
-
*
|
|
139
|
-
* If the separators are greater than the input length, it will warn and ignore the separators.
|
|
140
|
-
*/
|
|
141
|
-
private processSeparators;
|
|
142
|
-
componentWillLoad(): void;
|
|
143
|
-
/**
|
|
144
|
-
* Initializes the input values array based on the current value prop.
|
|
145
|
-
* This splits the value into individual characters and validates them against
|
|
146
|
-
* the allowed pattern. The values are then used as the values in the native
|
|
147
|
-
* input boxes and the value of the input group is updated.
|
|
148
|
-
*/
|
|
149
|
-
private initializeValues;
|
|
150
|
-
/**
|
|
151
|
-
* Resets the input values and focus state.
|
|
152
|
-
*/
|
|
153
|
-
reset(): Promise<void>;
|
|
154
|
-
/**
|
|
155
|
-
* Sets focus to an input box.
|
|
156
|
-
* @param index - The index of the input box to focus (0-based).
|
|
157
|
-
* If provided and the input box has a value, the input box at that index will be focused.
|
|
158
|
-
* Otherwise, the first empty input box or the last input if all are filled will be focused.
|
|
159
|
-
*/
|
|
160
|
-
setFocus(index?: number): Promise<void>;
|
|
161
|
-
/**
|
|
162
|
-
* Get the regex pattern for allowed characters.
|
|
163
|
-
* If a pattern is provided, use it to create a regex pattern
|
|
164
|
-
* Otherwise, use the default regex pattern based on type
|
|
165
|
-
*/
|
|
166
|
-
private get validKeyPattern();
|
|
167
|
-
/**
|
|
168
|
-
* Gets the string pattern to pass to the input element
|
|
169
|
-
* and use in the regex for allowed characters.
|
|
170
|
-
*/
|
|
171
|
-
private getPattern;
|
|
172
|
-
/**
|
|
173
|
-
* Get the default value for inputmode.
|
|
174
|
-
* If inputmode is provided, use it.
|
|
175
|
-
* Otherwise, use the default inputmode based on type
|
|
176
|
-
*/
|
|
177
|
-
private getInputmode;
|
|
178
|
-
/**
|
|
179
|
-
* Updates the value of the input group.
|
|
180
|
-
* This updates the value of the input group and emits an `ionChange` event.
|
|
181
|
-
* If all of the input boxes are filled, it emits an `ionComplete` event.
|
|
182
|
-
*/
|
|
183
|
-
private updateValue;
|
|
184
|
-
/**
|
|
185
|
-
* Emits an `ionChange` event.
|
|
186
|
-
* This API should be called for user committed changes.
|
|
187
|
-
* This API should not be used for external value changes.
|
|
188
|
-
*/
|
|
189
|
-
private emitIonChange;
|
|
190
|
-
/**
|
|
191
|
-
* Emits an `ionInput` event.
|
|
192
|
-
* This is used to emit the input value when the user types,
|
|
193
|
-
* backspaces, or pastes.
|
|
194
|
-
*/
|
|
195
|
-
private emitIonInput;
|
|
196
|
-
private onInput;
|
|
197
|
-
/**
|
|
198
|
-
* Handles keyboard navigation and input for the OTP component.
|
|
199
|
-
*
|
|
200
|
-
* Navigation:
|
|
201
|
-
* - Backspace: Clears current input and moves to previous box if empty
|
|
202
|
-
* - Arrow Left/Right: Moves focus between input boxes
|
|
203
|
-
* - Tab: Allows normal tab navigation between components
|
|
204
|
-
*
|
|
205
|
-
* Input Behavior:
|
|
206
|
-
* - Validates input against the allowed pattern
|
|
207
|
-
* - When entering a key in a filled box:
|
|
208
|
-
* - Shifts existing values right if there is room
|
|
209
|
-
* - Updates the value of the input group
|
|
210
|
-
* - Prevents default behavior to avoid automatic focus shift
|
|
211
|
-
*/
|
|
212
|
-
private onKeyDown;
|
|
213
|
-
/**
|
|
214
|
-
* Handles pasting text into the input OTP component.
|
|
215
|
-
* This function prevents the default paste behavior and
|
|
216
|
-
* validates the pasted text against the allowed pattern.
|
|
217
|
-
* It then updates the value of the input group and focuses
|
|
218
|
-
* the next empty input after pasting.
|
|
219
|
-
*/
|
|
220
|
-
private onPaste;
|
|
221
|
-
/**
|
|
222
|
-
* Focuses the next input box.
|
|
223
|
-
*/
|
|
224
|
-
private focusNext;
|
|
225
|
-
/**
|
|
226
|
-
* Focuses the previous input box.
|
|
227
|
-
*/
|
|
228
|
-
private focusPrevious;
|
|
229
|
-
/**
|
|
230
|
-
* Determines if a separator should be shown for a given index by
|
|
231
|
-
* checking if the index is included in the parsed separators array.
|
|
232
|
-
*/
|
|
233
|
-
private showSeparator;
|
|
234
|
-
/**
|
|
235
|
-
* Handles the focus behavior for the input OTP component.
|
|
236
|
-
*
|
|
237
|
-
* Focus behavior:
|
|
238
|
-
* 1. Keyboard navigation: Allow normal focus movement
|
|
239
|
-
* 2. Mouse click:
|
|
240
|
-
* - If clicked box has value: Focus that box
|
|
241
|
-
* - If clicked box is empty: Focus first empty box
|
|
242
|
-
*
|
|
243
|
-
* Emits the `ionFocus` event when the input group gains focus.
|
|
244
|
-
*/
|
|
245
|
-
private onFocus;
|
|
246
|
-
/**
|
|
247
|
-
* Handles the blur behavior for the input OTP component.
|
|
248
|
-
* Emits the `ionBlur` event when the input group loses focus.
|
|
249
|
-
*/
|
|
250
|
-
private onBlur;
|
|
251
|
-
/**
|
|
252
|
-
* Updates the tabIndexes for the input boxes.
|
|
253
|
-
* This is used to ensure that the correct input is
|
|
254
|
-
* focused when the user navigates using the tab key.
|
|
255
|
-
*/
|
|
256
|
-
private updateTabIndexes;
|
|
257
|
-
/**
|
|
258
|
-
* Searches through the input values and returns the index
|
|
259
|
-
* of the first empty input.
|
|
260
|
-
* Returns -1 if all inputs are filled.
|
|
261
|
-
*/
|
|
262
|
-
private getFirstEmptyIndex;
|
|
263
|
-
/**
|
|
264
|
-
* Returns the index of the input that should be tabbed to.
|
|
265
|
-
* If all inputs are filled, returns the last input's index.
|
|
266
|
-
* Otherwise, returns the index of the first empty input.
|
|
267
|
-
*/
|
|
268
|
-
private getTabbableIndex;
|
|
269
|
-
render(): any;
|
|
270
|
-
}
|