@ionic/core 8.8.14-dev.11783984044.10eaba06 → 8.8.14-dev.11784037956.17449639
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/ion-picker-legacy-column.js +4 -0
- package/components/ion-picker-legacy.d.ts +11 -0
- package/components/ion-picker-legacy.js +4 -0
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-DpV-p5Xs.js → p-5bE_Wz4Y.js} +1 -1
- package/components/p-B1BWKArA.js +4 -0
- package/components/p-B4PlLGHT.js +4 -0
- package/components/{p-r0aq7dpt.js → p-B60hm8Qv.js} +1 -1
- package/components/p-BFsEcwW9.js +4 -0
- package/components/{p-Buf_7zcy.js → p-BHrrc-3d.js} +1 -1
- package/components/{p-XJWMAP8m.js → p-BLmJ0zRm.js} +1 -1
- package/components/{p-DhkITZ-y.js → p-BSEgsdFI.js} +1 -1
- package/components/p-CFRyvUvJ.js +4 -0
- package/components/p-CU5rbWAW.js +4 -0
- package/components/{p-Dz74mwlk.js → p-Cfx4M1Bn.js} +1 -1
- package/components/p-CgLiHbz0.js +4 -0
- package/components/p-MLyEeL3Q.js +4 -0
- package/components/p-PgMVWD8U.js +4 -0
- package/components/p-k_E4tX5Z.js +4 -0
- package/components/{p-wk2QqrAo.js → p-rCa2eL0j.js} +1 -1
- package/dist/cjs/config-xninhj0J.js +201 -0
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/ion-action-sheet.cjs.entry.js +7 -27
- package/dist/cjs/ion-alert.cjs.entry.js +25 -64
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -23
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/{ion-datetime.cjs.entry.js → ion-datetime_3.cjs.entry.js} +639 -1
- package/dist/cjs/ion-img.cjs.entry.js +1 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +5 -10
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +33 -23
- package/dist/cjs/ion-popover.cjs.entry.js +5 -9
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +5 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +30 -84
- package/dist/cjs/ion-select_3.cjs.entry.js +49 -407
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +5 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-DSmSrd_4.js → overlays-B9UiYZ4R.js} +30 -27
- package/dist/collection/collection-manifest.json +10 -6
- package/dist/collection/components/action-sheet/action-sheet.ios.css +2 -229
- package/dist/collection/components/action-sheet/action-sheet.js +5 -24
- package/dist/collection/components/action-sheet/action-sheet.md.css +2 -175
- package/dist/collection/components/alert/alert.ios.css +10 -280
- package/dist/collection/components/alert/alert.js +21 -59
- package/dist/collection/components/alert/alert.md.css +20 -269
- package/dist/collection/components/img/img.js +1 -6
- package/dist/collection/components/input/input.js +8 -8
- package/dist/collection/components/loading/loading.js +3 -7
- package/dist/collection/components/modal/gestures/sheet.js +8 -0
- package/dist/collection/components/modal/gestures/swipe-to-close.js +8 -0
- package/dist/collection/components/modal/modal.ios.css +8 -0
- package/dist/collection/components/modal/modal.js +17 -23
- package/dist/collection/components/modal/modal.md.css +8 -0
- package/dist/collection/components/picker-legacy/animations/ios.enter.js +27 -0
- package/dist/collection/components/picker-legacy/animations/ios.leave.js +23 -0
- package/dist/collection/components/picker-legacy/picker-interface.js +1 -0
- package/dist/collection/components/picker-legacy/picker.ios.css +300 -0
- package/dist/collection/components/picker-legacy/picker.js +890 -0
- package/dist/collection/components/picker-legacy/picker.md.css +287 -0
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +231 -0
- package/dist/collection/components/picker-legacy-column/picker-column.js +422 -0
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +222 -0
- package/dist/collection/components/picker-legacy-column/test/test.utils.js +43 -0
- package/dist/collection/components/popover/popover.ios.css +0 -15
- package/dist/collection/components/popover/popover.js +3 -7
- package/dist/collection/components/popover/popover.md.css +0 -15
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +4 -4
- 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 +5 -38
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +9 -9
- 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.ios.css +0 -33
- package/dist/collection/components/select/select.js +16 -323
- package/dist/collection/components/select/select.md.css +0 -33
- package/dist/collection/components/select-modal/select-modal.ios.css +0 -219
- package/dist/collection/components/select-modal/select-modal.js +26 -79
- package/dist/collection/components/select-modal/select-modal.md.css +0 -165
- package/dist/collection/components/select-option/select-option.js +3 -67
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -219
- package/dist/collection/components/select-popover/select-popover.js +26 -78
- package/dist/collection/components/select-popover/select-popover.md.css +0 -165
- 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/collection/index.js +1 -1
- package/dist/collection/utils/overlays.js +29 -26
- package/dist/collection/utils/sanitization/index.js +18 -274
- package/dist/docs.json +1177 -485
- package/dist/esm/config-DQCONYYp.js +195 -0
- package/dist/esm/{index-AlrZKoWR.js → index-DV3sJJW8.js} +1 -1
- package/dist/esm/index.js +2 -3
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +7 -27
- package/dist/esm/ion-alert.entry.js +24 -63
- package/dist/esm/ion-app_8.entry.js +9 -23
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/{ion-datetime.entry.js → ion-datetime_3.entry.js} +641 -5
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +2 -4
- package/dist/esm/ion-infinite-scroll_2.entry.js +1 -2
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +4 -9
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-modal.entry.js +33 -23
- package/dist/esm/ion-popover.entry.js +5 -9
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +4 -5
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +30 -84
- package/dist/esm/ion-select_3.entry.js +52 -410
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +4 -5
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-DLNOHWNc.js → overlays-Bmfhux69.js} +31 -28
- package/dist/html.html-data.json +79 -51
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-01f81ea5.entry.js +4 -0
- package/dist/ionic/p-02473803.entry.js +4 -0
- package/dist/ionic/{p-fe4aa1db.entry.js → p-0fa9c382.entry.js} +1 -1
- package/dist/ionic/p-20b1a044.entry.js +4 -0
- package/dist/ionic/p-21eb76d5.entry.js +4 -0
- package/dist/ionic/p-27d30585.entry.js +4 -0
- package/dist/ionic/p-2bb2cb18.entry.js +4 -0
- package/dist/ionic/p-2f529a55.entry.js +4 -0
- package/dist/ionic/{p-80b44b3c.entry.js → p-3353c229.entry.js} +1 -1
- package/dist/ionic/{p-a7628bc7.entry.js → p-37e720da.entry.js} +1 -1
- package/dist/ionic/{p-9177f4ac.entry.js → p-390ca786.entry.js} +1 -1
- package/dist/ionic/{p-259d0d98.entry.js → p-3a126bca.entry.js} +1 -1
- package/dist/ionic/{p-4502a274.entry.js → p-3a7d1e91.entry.js} +1 -1
- package/dist/ionic/{p-627fabd9.entry.js → p-3ae5f277.entry.js} +1 -1
- package/dist/ionic/{p-a5213260.entry.js → p-4858af1f.entry.js} +1 -1
- package/dist/ionic/p-485fda23.entry.js +4 -0
- package/dist/ionic/p-48fa7fb1.entry.js +4 -0
- package/dist/ionic/p-4baa5b82.entry.js +4 -0
- package/dist/ionic/p-4d9181c7.entry.js +4 -0
- package/dist/ionic/p-50e1194a.entry.js +4 -0
- package/dist/ionic/p-532eb373.entry.js +4 -0
- package/dist/ionic/{p-76e92a84.entry.js → p-5d1da0a2.entry.js} +1 -1
- package/dist/ionic/{p-d2c7f046.entry.js → p-75dc25ba.entry.js} +1 -1
- package/dist/ionic/{p-b9ac1fe0.entry.js → p-84d5ce05.entry.js} +1 -1
- package/dist/ionic/{p-51cd1643.entry.js → p-874b4bd8.entry.js} +1 -1
- package/dist/ionic/{p-ef93ca92.entry.js → p-8eb8ee76.entry.js} +1 -1
- package/dist/ionic/{p-14095ba5.entry.js → p-8fce95d5.entry.js} +1 -1
- package/dist/ionic/{p-db1b6738.entry.js → p-9a65ac7f.entry.js} +1 -1
- package/dist/ionic/{p-7a37b3ce.entry.js → p-9f1103ce.entry.js} +1 -1
- package/dist/ionic/p-B0zdMdR0.js +4 -0
- package/dist/ionic/{p-AlrZKoWR.js → p-DV3sJJW8.js} +1 -1
- package/dist/ionic/p-DzWaWHGc.js +4 -0
- package/dist/ionic/p-a21add2f.entry.js +4 -0
- package/dist/ionic/p-ab60b48a.entry.js +4 -0
- package/dist/ionic/{p-d8387b99.entry.js → p-c4d8641b.entry.js} +1 -1
- package/dist/ionic/{p-c93553d2.entry.js → p-cf91e738.entry.js} +1 -1
- package/dist/ionic/{p-629e4703.entry.js → p-e0be05c5.entry.js} +1 -1
- package/dist/ionic/p-ec090e0a.entry.js +4 -0
- package/dist/ionic/{p-b1599fca.entry.js → p-ef4c3bee.entry.js} +1 -1
- package/dist/ionic/p-f994dc44.entry.js +4 -0
- package/dist/ionic/{p-341032b3.entry.js → p-fabcce6c.entry.js} +1 -1
- package/dist/ionic/p-fd76f647.entry.js +4 -0
- package/dist/ionic/p-fda60562.entry.js +4 -0
- package/dist/types/components/img/img.d.ts +0 -2
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +4 -11
- package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +5 -0
- package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +5 -0
- package/dist/types/components/picker-legacy/picker-interface.d.ts +52 -0
- package/dist/types/components/picker-legacy/picker.d.ts +158 -0
- package/dist/types/components/picker-legacy-column/picker-column.d.ts +46 -0
- package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +9 -0
- package/dist/types/components/router-outlet/router-outlet.d.ts +0 -7
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components/select/select-interface.d.ts +0 -31
- package/dist/types/components/select/select.d.ts +0 -18
- package/dist/types/components/select-option/select-option.d.ts +1 -42
- package/dist/types/components.d.ts +288 -72
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/utils/config.d.ts +8 -0
- package/dist/types/utils/overlays.d.ts +9 -11
- package/dist/types/utils/sanitization/index.d.ts +2 -58
- package/hydrate/index.js +1188 -1407
- package/hydrate/index.mjs +1188 -1407
- package/package.json +5 -37
- package/components/p-279dFMvg.js +0 -4
- package/components/p-BSQPZ79H.js +0 -4
- package/components/p-BwKpO3Is.js +0 -4
- package/components/p-C-Rx1zny.js +0 -4
- package/components/p-CHzfYZbv.js +0 -4
- package/components/p-D4h1H_hh.js +0 -4
- package/components/p-LMGfIvTf.js +0 -4
- package/components/p-_lHSumhG.js +0 -4
- package/components/p-j9Da6cYO.js +0 -4
- package/components/p-jOtMJMv8.js +0 -4
- package/components/p-uTR_dEqg.js +0 -4
- package/dist/cjs/config-DWdFbSNK.js +0 -35
- package/dist/cjs/index-Cueg3U4w.js +0 -429
- package/dist/cjs/overlay-control-label-D2sdL2O8.js +0 -50
- package/dist/cjs/select-option-render-DTF50t5r.js +0 -124
- package/dist/collection/utils/overlay-control-label.js +0 -45
- package/dist/collection/utils/select-option-render.js +0 -119
- package/dist/esm/config-BwKpO3Is.js +0 -31
- package/dist/esm/index-DQSkZyOJ.js +0 -424
- package/dist/esm/overlay-control-label-BSQPZ79H.js +0 -47
- package/dist/esm/select-option-render-B8nWZRnd.js +0 -122
- package/dist/ionic/p-038eb991.entry.js +0 -4
- package/dist/ionic/p-4621c387.entry.js +0 -4
- package/dist/ionic/p-4ace7762.entry.js +0 -4
- package/dist/ionic/p-4bb3eb60.entry.js +0 -4
- package/dist/ionic/p-4e9ec5c5.entry.js +0 -4
- package/dist/ionic/p-5c3ec490.entry.js +0 -4
- package/dist/ionic/p-5d1ac2c7.entry.js +0 -4
- package/dist/ionic/p-700795f6.entry.js +0 -4
- package/dist/ionic/p-79a36078.entry.js +0 -4
- package/dist/ionic/p-913b218a.entry.js +0 -4
- package/dist/ionic/p-BDtODLZ4.js +0 -4
- package/dist/ionic/p-BSQPZ79H.js +0 -4
- package/dist/ionic/p-BwKpO3Is.js +0 -4
- package/dist/ionic/p-Cg5-OQYy.js +0 -4
- package/dist/ionic/p-DCOvXkOm.js +0 -4
- package/dist/ionic/p-a9a33367.entry.js +0 -4
- package/dist/ionic/p-ad728198.entry.js +0 -4
- package/dist/ionic/p-bfc8c629.entry.js +0 -4
- package/dist/ionic/p-c08e666a.entry.js +0 -4
- package/dist/ionic/p-ce7992c4.entry.js +0 -4
- package/dist/ionic/p-ed797c72.entry.js +0 -4
- package/dist/ionic/p-f09f9642.entry.js +0 -4
- package/dist/ionic/p-f1c06f82.entry.js +0 -4
- package/dist/ionic/p-f718fccb.entry.js +0 -4
- package/dist/types/utils/overlay-control-label.d.ts +0 -32
- package/dist/types/utils/select-option-render.d.ts +0 -53
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { AnimationBuilder, OverlayInterface, FrameworkDelegate } from '../../interface';
|
|
3
|
+
import type { OverlayEventDetail } from '../../utils/overlays-interface';
|
|
4
|
+
import type { PickerButton, PickerColumn } from './picker-interface';
|
|
5
|
+
/**
|
|
6
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Picker implements ComponentInterface, OverlayInterface {
|
|
9
|
+
private readonly delegateController;
|
|
10
|
+
private readonly lockController;
|
|
11
|
+
private readonly triggerController;
|
|
12
|
+
private durationTimeout?;
|
|
13
|
+
lastFocus?: HTMLElement;
|
|
14
|
+
el: HTMLIonPickerLegacyElement;
|
|
15
|
+
presented: boolean;
|
|
16
|
+
/** @internal */
|
|
17
|
+
overlayIndex: number;
|
|
18
|
+
/** @internal */
|
|
19
|
+
delegate?: FrameworkDelegate;
|
|
20
|
+
/** @internal */
|
|
21
|
+
hasController: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
|
24
|
+
*/
|
|
25
|
+
keyboardClose: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Animation to use when the picker is presented.
|
|
28
|
+
*/
|
|
29
|
+
enterAnimation?: AnimationBuilder;
|
|
30
|
+
/**
|
|
31
|
+
* Animation to use when the picker is dismissed.
|
|
32
|
+
*/
|
|
33
|
+
leaveAnimation?: AnimationBuilder;
|
|
34
|
+
/**
|
|
35
|
+
* Array of buttons to be displayed at the top of the picker.
|
|
36
|
+
*/
|
|
37
|
+
buttons: PickerButton[];
|
|
38
|
+
/**
|
|
39
|
+
* Array of columns to be displayed in the picker.
|
|
40
|
+
*/
|
|
41
|
+
columns: PickerColumn[];
|
|
42
|
+
/**
|
|
43
|
+
* Additional classes to apply for custom CSS. If multiple classes are
|
|
44
|
+
* provided they should be separated by spaces.
|
|
45
|
+
*/
|
|
46
|
+
cssClass?: string | string[];
|
|
47
|
+
/**
|
|
48
|
+
* Number of milliseconds to wait before dismissing the picker.
|
|
49
|
+
*/
|
|
50
|
+
duration: number;
|
|
51
|
+
/**
|
|
52
|
+
* If `true`, a backdrop will be displayed behind the picker.
|
|
53
|
+
*/
|
|
54
|
+
showBackdrop: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
|
57
|
+
*/
|
|
58
|
+
backdropDismiss: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* If `true`, the picker will animate.
|
|
61
|
+
*/
|
|
62
|
+
animated: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Additional attributes to pass to the picker.
|
|
65
|
+
*/
|
|
66
|
+
htmlAttributes?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* If `true`, the picker will open. If `false`, the picker will close.
|
|
71
|
+
* Use this if you need finer grained control over presentation, otherwise
|
|
72
|
+
* just use the pickerController or the `trigger` property.
|
|
73
|
+
* Note: `isOpen` will not automatically be set back to `false` when
|
|
74
|
+
* the picker dismisses. You will need to do that in your code.
|
|
75
|
+
*/
|
|
76
|
+
isOpen: boolean;
|
|
77
|
+
onIsOpenChange(newValue: boolean, oldValue: boolean): void;
|
|
78
|
+
/**
|
|
79
|
+
* An ID corresponding to the trigger element that
|
|
80
|
+
* causes the picker to open when clicked.
|
|
81
|
+
*/
|
|
82
|
+
trigger: string | undefined;
|
|
83
|
+
triggerChanged(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Emitted after the picker has presented.
|
|
86
|
+
*/
|
|
87
|
+
didPresent: EventEmitter<void>;
|
|
88
|
+
/**
|
|
89
|
+
* Emitted before the picker has presented.
|
|
90
|
+
*/
|
|
91
|
+
willPresent: EventEmitter<void>;
|
|
92
|
+
/**
|
|
93
|
+
* Emitted before the picker has dismissed.
|
|
94
|
+
*/
|
|
95
|
+
willDismiss: EventEmitter<OverlayEventDetail>;
|
|
96
|
+
/**
|
|
97
|
+
* Emitted after the picker has dismissed.
|
|
98
|
+
*/
|
|
99
|
+
didDismiss: EventEmitter<OverlayEventDetail>;
|
|
100
|
+
/**
|
|
101
|
+
* Emitted after the picker has presented.
|
|
102
|
+
* Shorthand for ionPickerWillDismiss.
|
|
103
|
+
*/
|
|
104
|
+
didPresentShorthand: EventEmitter<void>;
|
|
105
|
+
/**
|
|
106
|
+
* Emitted before the picker has presented.
|
|
107
|
+
* Shorthand for ionPickerWillPresent.
|
|
108
|
+
*/
|
|
109
|
+
willPresentShorthand: EventEmitter<void>;
|
|
110
|
+
/**
|
|
111
|
+
* Emitted before the picker has dismissed.
|
|
112
|
+
* Shorthand for ionPickerWillDismiss.
|
|
113
|
+
*/
|
|
114
|
+
willDismissShorthand: EventEmitter<OverlayEventDetail>;
|
|
115
|
+
/**
|
|
116
|
+
* Emitted after the picker has dismissed.
|
|
117
|
+
* Shorthand for ionPickerDidDismiss.
|
|
118
|
+
*/
|
|
119
|
+
didDismissShorthand: EventEmitter<OverlayEventDetail>;
|
|
120
|
+
connectedCallback(): void;
|
|
121
|
+
disconnectedCallback(): void;
|
|
122
|
+
componentWillLoad(): void;
|
|
123
|
+
componentDidLoad(): void;
|
|
124
|
+
/**
|
|
125
|
+
* Present the picker overlay after it has been created.
|
|
126
|
+
*/
|
|
127
|
+
present(): Promise<void>;
|
|
128
|
+
/**
|
|
129
|
+
* Dismiss the picker overlay after it has been presented.
|
|
130
|
+
*
|
|
131
|
+
* @param data Any data to emit in the dismiss events.
|
|
132
|
+
* @param role The role of the element that is dismissing the picker.
|
|
133
|
+
* This can be useful in a button handler for determining which button was
|
|
134
|
+
* clicked to dismiss the picker.
|
|
135
|
+
* Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
|
136
|
+
*/
|
|
137
|
+
dismiss(data?: any, role?: string): Promise<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* Returns a promise that resolves when the picker did dismiss.
|
|
140
|
+
*/
|
|
141
|
+
onDidDismiss<T = any>(): Promise<OverlayEventDetail<T>>;
|
|
142
|
+
/**
|
|
143
|
+
* Returns a promise that resolves when the picker will dismiss.
|
|
144
|
+
*/
|
|
145
|
+
onWillDismiss<T = any>(): Promise<OverlayEventDetail<T>>;
|
|
146
|
+
/**
|
|
147
|
+
* Get the column that matches the specified name.
|
|
148
|
+
*
|
|
149
|
+
* @param name The name of the column.
|
|
150
|
+
*/
|
|
151
|
+
getColumn(name: string): Promise<PickerColumn | undefined>;
|
|
152
|
+
private buttonClick;
|
|
153
|
+
private callButtonHandler;
|
|
154
|
+
private getSelected;
|
|
155
|
+
private onBackdropTap;
|
|
156
|
+
private dispatchCancelHandler;
|
|
157
|
+
render(): any;
|
|
158
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { PickerColumn } from '../picker-legacy/picker-interface';
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare class PickerColumnCmp implements ComponentInterface {
|
|
7
|
+
private bounceFrom;
|
|
8
|
+
private lastIndex?;
|
|
9
|
+
private minY;
|
|
10
|
+
private maxY;
|
|
11
|
+
private optHeight;
|
|
12
|
+
private rotateFactor;
|
|
13
|
+
private scaleFactor;
|
|
14
|
+
private velocity;
|
|
15
|
+
private y;
|
|
16
|
+
private optsEl?;
|
|
17
|
+
private gesture?;
|
|
18
|
+
private rafId?;
|
|
19
|
+
private tmrId?;
|
|
20
|
+
private noAnimate;
|
|
21
|
+
private colDidChange;
|
|
22
|
+
el: HTMLElement;
|
|
23
|
+
/**
|
|
24
|
+
* Emitted when the selected value has changed
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
ionPickerColChange: EventEmitter<PickerColumn>;
|
|
28
|
+
/** Picker column data */
|
|
29
|
+
col: PickerColumn;
|
|
30
|
+
protected colChanged(): void;
|
|
31
|
+
connectedCallback(): Promise<void>;
|
|
32
|
+
componentDidLoad(): void;
|
|
33
|
+
componentDidUpdate(): void;
|
|
34
|
+
disconnectedCallback(): void;
|
|
35
|
+
private emitColChange;
|
|
36
|
+
private setSelected;
|
|
37
|
+
private update;
|
|
38
|
+
private decelerate;
|
|
39
|
+
private indexForY;
|
|
40
|
+
private onStart;
|
|
41
|
+
private onMove;
|
|
42
|
+
private onEnd;
|
|
43
|
+
private refresh;
|
|
44
|
+
private onDomChange;
|
|
45
|
+
render(): any;
|
|
46
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { E2EPage, ScreenshotFn } from "../../../utils/test/playwright/index";
|
|
2
|
+
/**
|
|
3
|
+
* Visual regression tests for picker-column.
|
|
4
|
+
* @param page - The page to run the tests on.
|
|
5
|
+
* @param screenshot - The screenshot function to generate unique screenshot names
|
|
6
|
+
* @param buttonSelector - The selector for the button that opens the picker.
|
|
7
|
+
* @param description - The description to amend to the screenshot names (typically 'single' or 'multiple').
|
|
8
|
+
*/
|
|
9
|
+
export declare function testPickerColumn(page: E2EPage, screenshot: ScreenshotFn, buttonSelector: string, description: string): Promise<void>;
|
|
@@ -23,12 +23,6 @@ export declare class RouterOutlet implements ComponentInterface, NavOutlet {
|
|
|
23
23
|
animated: boolean;
|
|
24
24
|
/** This property allows to create custom transition using AnimationBuilder functions. */
|
|
25
25
|
animation?: AnimationBuilder;
|
|
26
|
-
/**
|
|
27
|
-
* If `true`, the router-outlet should allow navigation via swipe-to-go-back gesture.
|
|
28
|
-
* Defaults to `true` for `"ios"` mode and `false` for `"md"` mode.
|
|
29
|
-
*/
|
|
30
|
-
swipeGesture?: boolean;
|
|
31
|
-
swipeGestureChanged(): void;
|
|
32
26
|
/** @internal */
|
|
33
27
|
swipeHandler?: SwipeGestureHandler;
|
|
34
28
|
swipeHandlerChanged(): void;
|
|
@@ -40,7 +34,6 @@ export declare class RouterOutlet implements ComponentInterface, NavOutlet {
|
|
|
40
34
|
ionNavDidChange: EventEmitter<void>;
|
|
41
35
|
connectedCallback(): Promise<void>;
|
|
42
36
|
componentWillLoad(): void;
|
|
43
|
-
private updateGestureEnabled;
|
|
44
37
|
disconnectedCallback(): void;
|
|
45
38
|
/** @internal */
|
|
46
39
|
commit(enteringEl: HTMLElement, leavingEl: HTMLElement | undefined, opts?: RouterOutletOptions): Promise<boolean>;
|
|
@@ -52,7 +52,7 @@ export declare class Searchbar implements ComponentInterface {
|
|
|
52
52
|
/**
|
|
53
53
|
* Set the input's autocorrect property.
|
|
54
54
|
*/
|
|
55
|
-
autocorrect:
|
|
55
|
+
autocorrect: 'on' | 'off';
|
|
56
56
|
/**
|
|
57
57
|
* Set the cancel button icon. Only applies to `md` mode.
|
|
58
58
|
* Defaults to `arrow-back-sharp`.
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import type { ActionSheetButton } from '../action-sheet/action-sheet-interface';
|
|
2
|
-
import type { AlertInput } from '../alert/alert-interface';
|
|
3
|
-
import type { SelectPopoverOption } from '../select-popover/select-popover-interface';
|
|
4
1
|
export type SelectInterface = 'action-sheet' | 'popover' | 'alert' | 'modal';
|
|
5
2
|
export type SelectCompareFn = (currentValue: any, compareValue: any) => boolean;
|
|
6
3
|
export interface SelectChangeEventDetail<T = any> {
|
|
@@ -10,31 +7,3 @@ export interface SelectCustomEvent<T = any> extends CustomEvent {
|
|
|
10
7
|
detail: SelectChangeEventDetail<T>;
|
|
11
8
|
target: HTMLIonSelectElement;
|
|
12
9
|
}
|
|
13
|
-
export interface SelectActionSheetButton extends Omit<ActionSheetButton, 'text'>, RichContentOption {
|
|
14
|
-
/** The main text for the option as a string or an HTMLElement. */
|
|
15
|
-
text?: string | HTMLElement;
|
|
16
|
-
}
|
|
17
|
-
export interface SelectAlertInput extends Omit<AlertInput, 'label'>, RichContentOption {
|
|
18
|
-
/** The main label for the option as a string or an HTMLElement. */
|
|
19
|
-
label?: string | HTMLElement;
|
|
20
|
-
/** Where the label sits relative to the option's selection control. */
|
|
21
|
-
labelPlacement?: 'start' | 'end';
|
|
22
|
-
/** How to pack the label and the option's selection control within a line. */
|
|
23
|
-
justify?: 'start' | 'end' | 'space-between';
|
|
24
|
-
}
|
|
25
|
-
export interface SelectOverlayOption extends Omit<SelectPopoverOption, 'text'>, RichContentOption {
|
|
26
|
-
/** The main text for the option as a string or an HTMLElement. */
|
|
27
|
-
text?: string | HTMLElement;
|
|
28
|
-
/** Where the label sits relative to the option's selection control. */
|
|
29
|
-
labelPlacement?: 'start' | 'end';
|
|
30
|
-
/** How to pack the label and the option's selection control within a line. */
|
|
31
|
-
justify?: 'start' | 'end' | 'space-between';
|
|
32
|
-
}
|
|
33
|
-
export interface RichContentOption {
|
|
34
|
-
/** Content to display at the start of the option. */
|
|
35
|
-
startContent?: HTMLElement;
|
|
36
|
-
/** Content to display at the end of the option. */
|
|
37
|
-
endContent?: HTMLElement;
|
|
38
|
-
/** A description for the option. */
|
|
39
|
-
description?: string;
|
|
40
|
-
}
|
|
@@ -32,7 +32,6 @@ export declare class Select implements ComponentInterface {
|
|
|
32
32
|
private notchSpacerEl;
|
|
33
33
|
private validationObserver?;
|
|
34
34
|
private notchController?;
|
|
35
|
-
private customHTMLEnabled;
|
|
36
35
|
el: HTMLIonSelectElement;
|
|
37
36
|
isExpanded: boolean;
|
|
38
37
|
/**
|
|
@@ -204,7 +203,6 @@ export declare class Select implements ComponentInterface {
|
|
|
204
203
|
ionStyle: EventEmitter<StyleEventDetail>;
|
|
205
204
|
protected styleChanged(): void;
|
|
206
205
|
private setValue;
|
|
207
|
-
private isValueEqual;
|
|
208
206
|
connectedCallback(): Promise<void>;
|
|
209
207
|
componentWillLoad(): void;
|
|
210
208
|
componentDidLoad(): void;
|
|
@@ -240,12 +238,6 @@ export declare class Select implements ComponentInterface {
|
|
|
240
238
|
* was passed.
|
|
241
239
|
*/
|
|
242
240
|
private get labelText();
|
|
243
|
-
/**
|
|
244
|
-
* Returns the text to display in the select based on the selected value.
|
|
245
|
-
*
|
|
246
|
-
* @param useHTML If `true`, the returned text will include any custom HTML content from the selected option. If `false`, the returned text will be plain text without any HTML. Defaults to `false`.
|
|
247
|
-
* @returns The text to display in the select, either with or without HTML based on the `useHTML` parameter.
|
|
248
|
-
*/
|
|
249
241
|
private getText;
|
|
250
242
|
private setFocus;
|
|
251
243
|
private emitStyle;
|
|
@@ -276,16 +268,6 @@ export declare class Select implements ComponentInterface {
|
|
|
276
268
|
* when fill="outline".
|
|
277
269
|
*/
|
|
278
270
|
private renderLabelContainer;
|
|
279
|
-
/**
|
|
280
|
-
* Wraps text nodes in the select text with span elements
|
|
281
|
-
* so spacing can be added between elements without
|
|
282
|
-
* changing the display to prevent losing the ellipses
|
|
283
|
-
* behavior.
|
|
284
|
-
*
|
|
285
|
-
* Only wraps when the string contains HTML elements
|
|
286
|
-
* alongside text.
|
|
287
|
-
*/
|
|
288
|
-
private wrapSelectTextNodes;
|
|
289
271
|
/**
|
|
290
272
|
* Renders either the placeholder
|
|
291
273
|
* or the selected values based on
|
|
@@ -1,55 +1,14 @@
|
|
|
1
1
|
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
-
/**
|
|
3
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
4
|
-
*
|
|
5
|
-
* @slot - Content is placed between the named slots if provided without a slot.
|
|
6
|
-
* @slot start - Content is placed to the left of the select option text in LTR, and to the right in RTL.
|
|
7
|
-
* @slot end - Content is placed to the right of the select option text in LTR, and to the left in RTL.
|
|
8
|
-
*/
|
|
9
2
|
export declare class SelectOption implements ComponentInterface {
|
|
10
3
|
private inputId;
|
|
11
4
|
el: HTMLElement;
|
|
12
5
|
/**
|
|
13
|
-
* If `true`, the user cannot interact with the select option.
|
|
6
|
+
* If `true`, the user cannot interact with the select option. This property does not apply when `interface="action-sheet"` as `ion-action-sheet` does not allow for disabled buttons.
|
|
14
7
|
*/
|
|
15
8
|
disabled: boolean;
|
|
16
9
|
/**
|
|
17
10
|
* The text value of the option.
|
|
18
11
|
*/
|
|
19
12
|
value?: any | null;
|
|
20
|
-
/**
|
|
21
|
-
* Text that is placed underneath the option text to provide additional details about the option.
|
|
22
|
-
*/
|
|
23
|
-
description?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Where the label is placed relative to the option's selection control
|
|
26
|
-
* (radio circle or checkbox box) when the option is rendered in an
|
|
27
|
-
* `alert`, `popover`, or `modal` interface.
|
|
28
|
-
* `"start"`: The label will appear to the left of the radio in LTR and to the right in RTL.
|
|
29
|
-
* `"end"`: The label will appear to the right of the radio in LTR and to the left in RTL.
|
|
30
|
-
*
|
|
31
|
-
* Applies to the `alert`, `popover`, and `modal` interfaces, but has no
|
|
32
|
-
* visible effect on radio options in `popover` or `modal` on `md` (the radio control is hidden there).
|
|
33
|
-
*
|
|
34
|
-
* When unset, the interface picks a default based on mode and control
|
|
35
|
-
* type.
|
|
36
|
-
*/
|
|
37
|
-
labelPlacement?: 'start' | 'end';
|
|
38
|
-
/**
|
|
39
|
-
* How to pack the label and the option's selection control within a line.
|
|
40
|
-
* `"start"`: The label and radio will appear on the left in LTR and
|
|
41
|
-
* on the right in RTL.
|
|
42
|
-
* `"end"`: The label and radio will appear on the right in LTR and
|
|
43
|
-
* on the left in RTL.
|
|
44
|
-
* `"space-between"`: The label and radio will appear on opposite
|
|
45
|
-
* ends of the line with space between the two elements.
|
|
46
|
-
*
|
|
47
|
-
* Applies to the `alert`, `popover`, and `modal` interfaces, but has no
|
|
48
|
-
* visible effect on radio options in `popover` or `modal` on `md` (the radio control is hidden there).
|
|
49
|
-
*
|
|
50
|
-
* When unset, the interface picks a default based on mode and control
|
|
51
|
-
* type.
|
|
52
|
-
*/
|
|
53
|
-
justify?: 'start' | 'end' | 'space-between';
|
|
54
13
|
render(): any;
|
|
55
14
|
}
|