@ionic/core 7.5.8-dev.11703088210.14a72b83 → 7.5.8-dev.11705350665.1a40ee3a
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/backdrop.js +0 -12
- package/components/button.js +2 -2
- package/components/data.js +1 -1
- package/components/gesture-controller.js +1 -1
- package/components/index2.js +91 -0
- package/components/ion-content.js +3 -4
- package/components/ion-datetime.js +40 -64
- package/components/ion-input.js +2 -0
- package/components/ion-picker-column-option.d.ts +11 -0
- package/components/ion-picker-column-option.js +9 -0
- package/components/ion-picker-column.js +2 -2
- package/components/ion-picker-legacy-column.d.ts +11 -0
- package/components/ion-picker-legacy-column.js +9 -0
- package/components/{ion-picker-internal.d.ts → ion-picker-legacy.d.ts} +4 -4
- package/components/ion-picker-legacy.js +309 -0
- package/components/ion-picker.js +1 -309
- package/components/ion-refresher-content.js +3 -10
- package/components/ion-refresher.js +183 -4
- package/components/ion-searchbar.js +2 -0
- package/components/ion-textarea.js +2 -0
- package/components/overlays.js +11 -4
- package/components/picker-column-option.js +122 -0
- package/components/picker-column.js +351 -322
- package/components/picker-column2.js +379 -0
- package/components/{picker-internal.js → picker.js} +29 -22
- package/css/core.css +10 -0
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-28656db1.js → app-globals-0af482c7.js} +1 -1
- package/dist/cjs/{button-active-75b38d77.js → button-active-9d7e0640.js} +2 -2
- package/dist/cjs/{data-36b9094e.js → data-e7526b58.js} +1 -1
- package/dist/cjs/{gesture-controller-c40c045a.js → gesture-controller-9436f482.js} +1 -0
- package/dist/cjs/{index-097270a3.js → index-5cbb20f9.js} +1 -1
- package/dist/cjs/{index-b0102f48.js → index-bbb4336c.js} +39 -1
- package/dist/cjs/{index-cb3e0ab7.js → index-ec51e99c.js} +94 -3
- package/dist/cjs/{index-d1b59ffa.js → index-ee07ed59.js} +1 -1
- package/dist/cjs/index.cjs.js +9 -9
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
- package/dist/cjs/ion-alert.cjs.entry.js +6 -6
- package/dist/cjs/ion-app_8.cjs.entry.js +8 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -14
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +38 -58
- 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.cjs.entry.js +4 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +4 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -4
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +104 -0
- package/dist/cjs/{ion-picker-column-internal.cjs.entry.js → ion-picker-column.cjs.entry.js} +106 -89
- package/dist/cjs/{ion-picker-internal.cjs.entry.js → ion-picker.cjs.entry.js} +27 -20
- package/dist/cjs/ion-popover.cjs.entry.js +5 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +17 -32
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -3
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -2
- package/dist/cjs/ion-toast.cjs.entry.js +4 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{ionic-global-62510d64.js → ionic-global-f4a2093b.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-d9c0e4fb.js → ios.transition-039d6aeb.js} +4 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-4fac8a87.js → md.transition-ce763350.js} +4 -2
- package/dist/cjs/{overlays-b1471172.js → overlays-e8e05b0e.js} +12 -5
- package/dist/cjs/{status-tap-0aa8e1f2.js → status-tap-415acac6.js} +1 -1
- package/dist/cjs/{swipe-back-2a858bbd.js → swipe-back-b8f2330b.js} +2 -2
- package/dist/collection/collection-manifest.json +8 -7
- package/dist/collection/components/backdrop/backdrop.js +0 -12
- package/dist/collection/components/button/button.ios.css +1 -1
- package/dist/collection/components/button/button.md.css +1 -1
- package/dist/collection/components/button/test/wrap/button.e2e.js +12 -24
- package/dist/collection/components/content/content.css +0 -4
- package/dist/collection/components/content/content.js +2 -3
- package/dist/collection/components/datetime/datetime.ios.css +91 -37
- package/dist/collection/components/datetime/datetime.js +24 -36
- package/dist/collection/components/datetime/datetime.md.css +96 -37
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +6 -9
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +10 -0
- package/dist/collection/components/datetime/test/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +4 -4
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +6 -6
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +43 -41
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +4 -4
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +15 -12
- package/dist/collection/components/datetime/utils/data.js +1 -1
- package/dist/collection/components/input/input.js +4 -2
- package/dist/collection/components/picker/picker.ios.css +112 -211
- package/dist/collection/components/picker/picker.js +472 -744
- package/dist/collection/components/picker/picker.md.css +108 -198
- package/dist/collection/components/{picker-internal/test/a11y/picker-internal.e2e.js → picker/test/a11y/picker.e2e.js} +2 -2
- package/dist/collection/components/picker/test/basic/picker.e2e.js +99 -13
- package/dist/collection/components/picker/test/custom/picker.e2e.js +85 -0
- package/dist/collection/components/{picker-internal/test/keyboard-entry/picker-internal.e2e.js → picker/test/keyboard-entry/picker.e2e.js} +63 -32
- package/dist/collection/components/{picker-column-internal/picker-column-internal.md.css → picker-column/picker-column.css} +96 -83
- package/dist/collection/components/picker-column/picker-column.js +497 -335
- package/dist/collection/components/{picker-column-internal/test/basic/picker-column-internal.e2e.js → picker-column/test/basic/picker-column.e2e.js} +8 -8
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +91 -0
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +39 -0
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +87 -0
- package/dist/collection/components/picker-column-option/picker-column-option.js +173 -0
- package/dist/collection/components/{picker-column-internal/picker-column-internal.ios.css → picker-column-option/picker-column-option.md.css} +6 -53
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +18 -0
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +37 -0
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +29 -0
- package/dist/collection/components/{picker-internal/picker-internal.md.css → picker-legacy/picker.ios.css} +207 -98
- package/dist/collection/components/picker-legacy/picker.js +817 -0
- package/dist/collection/components/{picker-internal/picker-internal.ios.css → picker-legacy/picker.md.css} +192 -100
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +25 -0
- package/dist/collection/components/{picker → picker-legacy}/test/is-open/picker.e2e.js +4 -4
- package/dist/collection/components/{picker → picker-legacy}/test/picker-id.spec.js +5 -5
- package/dist/collection/components/{picker → picker-legacy}/test/trigger/picker.e2e.js +1 -1
- package/dist/collection/components/picker-legacy-column/picker-column.js +419 -0
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column-aria.spec.js +3 -3
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column-dynamic.spec.js +2 -2
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column.spec.js +2 -2
- package/dist/collection/components/{picker-column → picker-legacy-column}/test/standalone/picker-column.e2e.js +3 -3
- package/dist/collection/components/refresher/refresher.utils.js +11 -19
- package/dist/collection/components/refresher-content/refresher-content.js +3 -9
- package/dist/collection/components/searchbar/searchbar.js +3 -1
- package/dist/collection/components/textarea/textarea.js +4 -2
- package/dist/collection/utils/gesture/gesture-controller.js +1 -1
- package/dist/collection/utils/overlays.js +11 -4
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +65 -0
- package/dist/collection/utils/transition/index.js +91 -0
- package/dist/docs.json +484 -47
- package/dist/esm/{app-globals-c23144fc.js → app-globals-722340c4.js} +1 -1
- package/dist/esm/{button-active-7013b5a1.js → button-active-ed9d848c.js} +2 -2
- package/dist/esm/{data-f5c75b4e.js → data-4b9508c9.js} +1 -1
- package/dist/esm/{gesture-controller-1bf57181.js → gesture-controller-314a54f6.js} +1 -1
- package/dist/esm/{index-39329c6f.js → index-08d686eb.js} +39 -1
- package/dist/esm/{index-2cf77112.js → index-39782642.js} +2 -2
- package/dist/esm/{index-7a818ed3.js → index-80492ed3.js} +1 -1
- package/dist/esm/{index-bebaae5d.js → index-933484ae.js} +94 -3
- package/dist/esm/index.js +9 -9
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +6 -6
- package/dist/esm/ion-alert.entry.js +6 -6
- package/dist/esm/ion-app_8.entry.js +8 -9
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -14
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime_3.entry.js +37 -57
- 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.entry.js +4 -2
- package/dist/esm/ion-item-option_3.entry.js +3 -3
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +4 -3
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +6 -6
- package/dist/esm/ion-nav_2.entry.js +5 -4
- package/dist/esm/ion-picker-column-option.entry.js +100 -0
- package/dist/esm/{ion-picker-column-internal.entry.js → ion-picker-column.entry.js} +106 -89
- package/dist/esm/{ion-picker-internal.entry.js → ion-picker.entry.js} +27 -20
- package/dist/esm/ion-popover.entry.js +5 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +17 -32
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -2
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +4 -3
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +4 -2
- package/dist/esm/ion-toast.entry.js +4 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-6c78e871.js → ionic-global-c0cda98e.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-daa373e9.js → ios.transition-9e42996d.js} +4 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-91c3d3cc.js → md.transition-8cbb4e1d.js} +4 -2
- package/dist/esm/{overlays-64e67e2c.js → overlays-fbc5cab5.js} +12 -5
- package/dist/esm/{status-tap-9dd45200.js → status-tap-2b93b1b5.js} +1 -1
- package/dist/esm/{swipe-back-a6f386fc.js → swipe-back-a8ca7f93.js} +2 -2
- package/dist/esm-es5/app-globals-722340c4.js +4 -0
- package/dist/esm-es5/{button-active-7013b5a1.js → button-active-ed9d848c.js} +1 -1
- package/dist/esm-es5/{gesture-controller-1bf57181.js → gesture-controller-314a54f6.js} +1 -1
- package/dist/esm-es5/{index-39329c6f.js → index-08d686eb.js} +1 -1
- package/dist/esm-es5/{index-2cf77112.js → index-39782642.js} +1 -1
- package/dist/esm-es5/{index-7a818ed3.js → index-80492ed3.js} +1 -1
- package/dist/esm-es5/index-933484ae.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +4 -0
- package/dist/esm-es5/ion-picker-column.entry.js +4 -0
- package/dist/esm-es5/ion-picker.entry.js +4 -0
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-6c78e871.js → ionic-global-c0cda98e.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-9e42996d.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-8cbb4e1d.js +4 -0
- package/dist/esm-es5/overlays-fbc5cab5.js +4 -0
- package/dist/esm-es5/{status-tap-9dd45200.js → status-tap-2b93b1b5.js} +1 -1
- package/dist/esm-es5/swipe-back-a8ca7f93.js +4 -0
- package/dist/html.html-data.json +154 -3
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-a0945c3a.system.entry.js → p-0e53f8ea.system.entry.js} +1 -1
- package/dist/ionic/{p-161d0916.entry.js → p-1161a793.entry.js} +1 -1
- package/dist/ionic/{p-89026d53.entry.js → p-1208f939.entry.js} +1 -1
- package/dist/ionic/{p-ad78c421.system.js → p-16bd5224.system.js} +1 -1
- package/dist/ionic/p-1786bc72.js +4 -0
- package/dist/ionic/{p-312221db.entry.js → p-17da5ed1.entry.js} +1 -1
- package/dist/ionic/{p-5fb707e0.entry.js → p-18ba8221.entry.js} +1 -1
- package/dist/ionic/{p-1631b52f.system.js → p-1d624e03.system.js} +1 -1
- package/dist/ionic/{p-3f5ae764.entry.js → p-1fc72959.entry.js} +1 -1
- package/dist/ionic/{p-1ff22253.entry.js → p-2092f39f.entry.js} +1 -1
- package/dist/ionic/{p-c7c8429a.system.js → p-20d469d0.system.js} +1 -1
- package/dist/ionic/{p-46dbd723.entry.js → p-21c3515a.entry.js} +1 -1
- package/dist/ionic/{p-2657f213.entry.js → p-22e5af95.entry.js} +1 -1
- package/dist/ionic/{p-6744eca5.entry.js → p-232d1f22.entry.js} +1 -1
- package/dist/ionic/p-26798a7b.system.entry.js +4 -0
- package/dist/ionic/p-27bcbbc7.system.entry.js +4 -0
- package/dist/ionic/{p-b81a8111.system.entry.js → p-2938823a.system.entry.js} +1 -1
- package/dist/ionic/p-294725bb.js +4 -0
- package/dist/ionic/{p-df361680.system.entry.js → p-2ab4e925.system.entry.js} +1 -1
- package/dist/ionic/{p-8c202d6e.system.entry.js → p-32303650.system.entry.js} +1 -1
- package/dist/ionic/{p-18032a93.entry.js → p-34c39c48.entry.js} +1 -1
- package/dist/ionic/p-350f7292.system.entry.js +4 -0
- package/dist/ionic/{p-86c2bbc8.entry.js → p-353b349d.entry.js} +1 -1
- package/dist/ionic/p-36d194c5.entry.js +4 -0
- package/dist/ionic/p-3993ae66.entry.js +4 -0
- package/dist/ionic/{p-31b2326e.system.js → p-3e1e14d9.system.js} +1 -1
- package/dist/ionic/{p-a3a145d3.entry.js → p-3f6270b3.entry.js} +1 -1
- package/dist/ionic/{p-23a27e78.system.entry.js → p-3fd26bd6.system.entry.js} +1 -1
- package/dist/ionic/{p-426bdba9.system.js → p-3fe96156.system.js} +1 -1
- package/dist/ionic/p-400b61c7.system.entry.js +4 -0
- package/dist/ionic/{p-e26030f8.system.js → p-4155f352.system.js} +1 -1
- package/dist/ionic/{p-405f1a72.entry.js → p-42ba3902.entry.js} +1 -1
- package/dist/ionic/{p-2a7e6572.system.entry.js → p-464975c5.system.entry.js} +1 -1
- package/dist/ionic/{p-ee4a54e3.entry.js → p-4911a5d6.entry.js} +1 -1
- package/dist/ionic/p-49c5f1a3.js +4 -0
- package/dist/ionic/{p-5f46d93e.entry.js → p-4a31c99f.entry.js} +1 -1
- package/dist/ionic/{p-f34d6a49.entry.js → p-4bee86bd.entry.js} +1 -1
- package/dist/ionic/{p-2cd9cb80.system.entry.js → p-4fb51e61.system.entry.js} +1 -1
- package/dist/ionic/p-510d9b43.js +4 -0
- package/dist/ionic/{p-d3e123c0.entry.js → p-51a087d6.entry.js} +1 -1
- package/dist/ionic/p-51abefb7.system.js +4 -0
- package/dist/ionic/{p-aac289d2.system.entry.js → p-564af202.system.entry.js} +1 -1
- package/dist/ionic/p-588fdf40.entry.js +4 -0
- package/dist/ionic/p-5a1aac13.system.entry.js +4 -0
- package/dist/ionic/{p-a5c81b99.entry.js → p-5a68960f.entry.js} +1 -1
- package/dist/ionic/{p-34d6f520.system.js → p-5b365ca7.system.js} +1 -1
- package/dist/ionic/{p-eef8d7e8.system.entry.js → p-5bebc7b3.system.entry.js} +1 -1
- package/dist/ionic/{p-a1b4dba7.entry.js → p-5d42b6b4.entry.js} +1 -1
- package/dist/ionic/{p-21f015cf.js → p-5ecae037.js} +1 -1
- package/dist/ionic/{p-57c0d5bf.system.entry.js → p-6555a5e7.system.entry.js} +1 -1
- package/dist/ionic/p-65e27aae.system.entry.js +4 -0
- package/dist/ionic/{p-71d986ae.entry.js → p-6b7c55cd.entry.js} +1 -1
- package/dist/ionic/{p-70ecb18b.entry.js → p-6d72fb44.entry.js} +1 -1
- package/dist/ionic/{p-1cbc21e2.system.entry.js → p-6e70dd1a.system.entry.js} +1 -1
- package/dist/ionic/{p-64af4468.entry.js → p-6fbecbda.entry.js} +1 -1
- package/dist/ionic/{p-27a5f2c7.system.entry.js → p-6fd64e7c.system.entry.js} +1 -1
- package/dist/ionic/p-73190c5f.entry.js +4 -0
- package/dist/ionic/p-73aa7604.entry.js +4 -0
- package/dist/ionic/p-76d3765d.js +4 -0
- package/dist/ionic/{p-2ac9d078.system.entry.js → p-77965464.system.entry.js} +1 -1
- package/dist/ionic/{p-6cf08720.entry.js → p-7b725280.entry.js} +1 -1
- package/dist/ionic/p-8017aad2.system.entry.js +4 -0
- package/dist/ionic/{p-27e6473f.entry.js → p-8adc9a45.entry.js} +1 -1
- package/dist/ionic/p-8c0e5060.system.js +4 -0
- package/dist/ionic/p-8c97cdc0.entry.js +4 -0
- package/dist/ionic/p-8e42850f.entry.js +4 -0
- package/dist/ionic/{p-f5d2dc9b.js → p-8ededb41.js} +1 -1
- package/dist/ionic/{p-67598744.entry.js → p-8f5d30f5.entry.js} +1 -1
- package/dist/ionic/p-8fa6583d.system.js +4 -0
- package/dist/ionic/p-91af3c52.system.entry.js +4 -0
- package/dist/ionic/{p-3acad8ff.system.entry.js → p-93000a81.system.entry.js} +1 -1
- package/dist/ionic/{p-41f7af3f.system.entry.js → p-96dbbac1.system.entry.js} +1 -1
- package/dist/ionic/{p-a0db3de9.system.entry.js → p-9709ebd8.system.entry.js} +1 -1
- package/dist/ionic/{p-12cdcb59.js → p-9738fd82.js} +1 -1
- package/dist/ionic/{p-a70b5d24.entry.js → p-98f3d827.entry.js} +1 -1
- package/dist/ionic/{p-bb3615f7.js → p-9b97df10.js} +1 -1
- package/dist/ionic/p-9e48593b.system.js +4 -0
- package/dist/ionic/{p-315ad733.system.entry.js → p-a225bf0f.system.entry.js} +1 -1
- package/dist/ionic/{p-53a3283e.entry.js → p-a4afcc88.entry.js} +1 -1
- package/dist/ionic/p-a60a1ce5.js +4 -0
- package/dist/ionic/p-a8baa23e.entry.js +4 -0
- package/dist/ionic/{p-99fe0543.entry.js → p-a98dc0c1.entry.js} +1 -1
- package/dist/ionic/p-a9a80f5b.entry.js +4 -0
- package/dist/ionic/{p-90db28f8.system.entry.js → p-a9e3b5be.system.entry.js} +1 -1
- package/dist/ionic/{p-a843a90e.system.entry.js → p-ab9456e9.system.entry.js} +1 -1
- package/dist/ionic/p-ae712b95.entry.js +4 -0
- package/dist/ionic/p-afcf4620.entry.js +4 -0
- package/dist/ionic/{p-3535a36c.entry.js → p-b133e9b4.entry.js} +1 -1
- package/dist/ionic/{p-98ac0e27.system.entry.js → p-b3b3efba.system.entry.js} +2 -2
- package/dist/ionic/{p-58ff9e5b.system.js → p-b4a51c42.system.js} +1 -1
- package/dist/ionic/p-b4d31b30.system.entry.js +4 -0
- package/dist/ionic/{p-3cb5466e.entry.js → p-b5f9f14c.entry.js} +1 -1
- package/dist/ionic/{p-b0fcf130.system.entry.js → p-b6f5e4f2.system.entry.js} +1 -1
- package/dist/ionic/{p-7ae5ca1f.system.entry.js → p-b7010c69.system.entry.js} +1 -1
- package/dist/ionic/{p-a99f14a7.system.entry.js → p-b752714f.system.entry.js} +1 -1
- package/dist/ionic/p-c006d974.entry.js +4 -0
- package/dist/ionic/{p-ca32685b.system.entry.js → p-c18de88a.system.entry.js} +1 -1
- package/dist/ionic/{p-acdd8148.js → p-c3c3333a.js} +1 -1
- package/dist/ionic/p-c41bff4e.system.entry.js +4 -0
- package/dist/ionic/{p-8261be6c.system.entry.js → p-c847fb35.system.entry.js} +1 -1
- package/dist/ionic/{p-e3c44332.system.entry.js → p-c91ccbfa.system.entry.js} +1 -1
- package/dist/ionic/{p-9f376964.system.entry.js → p-c9a21dfd.system.entry.js} +1 -1
- package/dist/ionic/p-ca8938f4.js +4 -0
- package/dist/ionic/{p-ad953217.system.entry.js → p-caf21b46.system.entry.js} +1 -1
- package/dist/ionic/{p-5a7d5905.system.entry.js → p-cde52378.system.entry.js} +1 -1
- package/dist/ionic/{p-1c6c6098.entry.js → p-cfe57b1b.entry.js} +1 -1
- package/dist/ionic/{p-c04accad.entry.js → p-d37b441e.entry.js} +1 -1
- package/dist/ionic/{p-f8c5a0dd.system.js → p-d3b030b8.system.js} +1 -1
- package/dist/ionic/p-d3c773d0.entry.js +4 -0
- package/dist/ionic/{p-91f9e81b.js → p-d662d908.js} +1 -1
- package/dist/ionic/p-d9ec6cf0.system.js +4 -0
- package/dist/ionic/p-da15f571.system.entry.js +4 -0
- package/dist/ionic/{p-c5ae50be.system.js → p-e3584231.system.js} +1 -1
- package/dist/ionic/{p-8a75f7bf.system.entry.js → p-e7ea9815.system.entry.js} +1 -1
- package/dist/ionic/{p-5f127075.system.entry.js → p-e8e86f69.system.entry.js} +1 -1
- package/dist/ionic/p-ea69616e.entry.js +4 -0
- package/dist/ionic/{p-4f71a9cf.system.entry.js → p-ef126ae8.system.entry.js} +1 -1
- package/dist/ionic/p-f6160677.system.entry.js +4 -0
- package/dist/ionic/{p-e4045e04.entry.js → p-f8a5bb89.entry.js} +1 -1
- package/dist/ionic/{p-93dac17a.system.entry.js → p-f910cc73.system.entry.js} +1 -1
- package/dist/ionic/{p-bc97b5cd.system.entry.js → p-fbf3a689.system.entry.js} +1 -1
- package/dist/ionic/p-ffd5dba4.system.entry.js +4 -0
- package/dist/types/components/backdrop/backdrop.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +0 -1
- package/dist/types/components/datetime/utils/data.d.ts +11 -7
- package/dist/types/components/input/input.d.ts +5 -1
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/components/picker/picker-interfaces.d.ts +8 -0
- package/dist/types/components/picker/picker.d.ts +75 -129
- package/dist/types/components/picker-column/picker-column-interfaces.d.ts +4 -0
- package/dist/types/components/picker-column/picker-column.d.ts +99 -39
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +66 -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/refresher/refresher.utils.d.ts +0 -16
- package/dist/types/components/searchbar/searchbar.d.ts +2 -0
- package/dist/types/components/textarea/textarea.d.ts +5 -1
- package/dist/types/components.d.ts +161 -129
- package/dist/types/interface.d.ts +1 -1
- package/dist/types/utils/config.d.ts +8 -2
- package/dist/types/utils/gesture/gesture-controller.d.ts +1 -0
- package/dist/types/utils/overlays.d.ts +5 -2
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1409 -1229
- package/package.json +2 -2
- package/components/ion-picker-column-internal.d.ts +0 -11
- package/components/ion-picker-column-internal.js +0 -9
- package/components/ion-picker-internal.js +0 -9
- package/components/picker-column-internal.js +0 -390
- package/components/refresher.utils.js +0 -196
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +0 -565
- package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +0 -162
- package/dist/collection/components/picker-internal/picker-internal.js +0 -544
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +0 -118
- package/dist/esm-es5/app-globals-c23144fc.js +0 -4
- package/dist/esm-es5/index-bebaae5d.js +0 -4
- package/dist/esm-es5/ion-picker-column-internal.entry.js +0 -4
- package/dist/esm-es5/ion-picker-internal.entry.js +0 -4
- package/dist/esm-es5/ios.transition-daa373e9.js +0 -4
- package/dist/esm-es5/md.transition-91c3d3cc.js +0 -4
- package/dist/esm-es5/overlays-64e67e2c.js +0 -4
- package/dist/esm-es5/swipe-back-a6f386fc.js +0 -4
- package/dist/ionic/p-0263eb49.system.js +0 -4
- package/dist/ionic/p-06600f70.js +0 -4
- package/dist/ionic/p-0827d00e.system.entry.js +0 -4
- package/dist/ionic/p-19545a49.system.entry.js +0 -4
- package/dist/ionic/p-1e7daa1f.entry.js +0 -4
- package/dist/ionic/p-2507b0c0.entry.js +0 -4
- package/dist/ionic/p-33f3cd49.entry.js +0 -4
- package/dist/ionic/p-35ce400e.system.js +0 -4
- package/dist/ionic/p-45db7949.system.entry.js +0 -4
- package/dist/ionic/p-58dd7c15.entry.js +0 -4
- package/dist/ionic/p-5c7f13cd.system.entry.js +0 -4
- package/dist/ionic/p-6a6477b2.js +0 -4
- package/dist/ionic/p-742e11cf.system.entry.js +0 -4
- package/dist/ionic/p-7484b1d6.system.js +0 -4
- package/dist/ionic/p-78ebf1b6.system.entry.js +0 -4
- package/dist/ionic/p-83fada9e.system.entry.js +0 -4
- package/dist/ionic/p-89cfbc88.system.entry.js +0 -4
- package/dist/ionic/p-8a10752d.entry.js +0 -4
- package/dist/ionic/p-abab375b.system.js +0 -4
- package/dist/ionic/p-ac4a7fc0.js +0 -4
- package/dist/ionic/p-af959b5d.entry.js +0 -4
- package/dist/ionic/p-b11ceee2.entry.js +0 -4
- package/dist/ionic/p-b5e33ebc.system.entry.js +0 -4
- package/dist/ionic/p-b8f2134e.js +0 -4
- package/dist/ionic/p-bbe3feee.entry.js +0 -4
- package/dist/ionic/p-cde72008.js +0 -4
- package/dist/ionic/p-d0251fc4.entry.js +0 -4
- package/dist/ionic/p-d1530ea9.entry.js +0 -4
- package/dist/ionic/p-ddccf1f4.js +0 -4
- package/dist/ionic/p-e145b9f9.entry.js +0 -4
- package/dist/ionic/p-e8e530fc.entry.js +0 -4
- package/dist/ionic/p-eab6401e.js +0 -4
- package/dist/ionic/p-edc5c693.system.entry.js +0 -4
- package/dist/ionic/p-f0384573.system.entry.js +0 -4
- package/dist/ionic/p-f10de9d5.system.js +0 -4
- package/dist/ionic/p-f444fea5.entry.js +0 -4
- package/dist/ionic/p-fcf49977.system.entry.js +0 -4
- package/dist/types/components/picker-column-internal/picker-column-internal-interfaces.d.ts +0 -5
- package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +0 -102
- package/dist/types/components/picker-internal/picker-internal-interfaces.d.ts +0 -8
- package/dist/types/components/picker-internal/picker-internal.d.ts +0 -102
- /package/dist/collection/components/{picker-internal/picker-internal-interfaces.js → picker/picker-interfaces.js} +0 -0
- /package/dist/collection/components/{picker-column-internal/picker-column-internal-interfaces.js → picker-column/picker-column-interfaces.js} +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/animations/ios.enter.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/animations/ios.leave.js +0 -0
- /package/dist/collection/components/{picker → picker-legacy}/picker-interface.js +0 -0
- /package/dist/collection/components/{picker-column → picker-legacy-column}/picker-column.ios.css +0 -0
- /package/dist/collection/components/{picker-column → picker-legacy-column}/picker-column.md.css +0 -0
- /package/dist/collection/components/{picker-column → picker-legacy-column}/test/test.utils.js +0 -0
- /package/dist/esm-es5/{data-f5c75b4e.js → data-4b9508c9.js} +0 -0
- /package/dist/ionic/{p-2aea8b1e.js → p-368f5215.js} +0 -0
- /package/dist/ionic/{p-82e3d633.system.js → p-f58981c2.system.js} +0 -0
- /package/dist/types/components/{picker → picker-legacy}/animations/ios.enter.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/animations/ios.leave.d.ts +0 -0
- /package/dist/types/components/{picker → picker-legacy}/picker-interface.d.ts +0 -0
- /package/dist/types/components/{picker-column → picker-legacy-column}/test/test.utils.d.ts +0 -0
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config.js';
|
|
6
|
+
import { c as config, b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
6
7
|
import { n as caretBackSharp, o as arrowDown } from './index7.js';
|
|
7
|
-
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
8
|
-
import { e as supportsRubberBandScrolling } from './refresher.utils.js';
|
|
9
8
|
import { d as defineCustomElement$2, S as SPINNERS } from './spinner.js';
|
|
10
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
11
10
|
|
|
@@ -21,15 +20,9 @@ const RefresherContent = /*@__PURE__*/ proxyCustomElement(class RefresherContent
|
|
|
21
20
|
}
|
|
22
21
|
componentWillLoad() {
|
|
23
22
|
if (this.pullingIcon === undefined) {
|
|
24
|
-
/**
|
|
25
|
-
* The native iOS refresher uses a spinner instead of
|
|
26
|
-
* an icon, so we need to see if this device supports
|
|
27
|
-
* the native iOS refresher.
|
|
28
|
-
*/
|
|
29
|
-
const hasRubberBandScrolling = supportsRubberBandScrolling();
|
|
30
23
|
const mode = getIonMode(this);
|
|
31
|
-
const overflowRefresher =
|
|
32
|
-
this.pullingIcon = config.get('refreshingIcon', mode === 'ios' &&
|
|
24
|
+
const overflowRefresher = this.el.style.webkitOverflowScrolling !== undefined ? 'lines' : arrowDown;
|
|
25
|
+
this.pullingIcon = config.get('refreshingIcon', mode === 'ios' && isPlatform('mobile') ? config.get('spinner', overflowRefresher) : 'circular');
|
|
33
26
|
}
|
|
34
27
|
if (this.refreshingSpinner === undefined) {
|
|
35
28
|
const mode = getIonMode(this);
|
|
@@ -1,13 +1,192 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { proxyCustomElement, HTMLElement, createEvent,
|
|
4
|
+
import { writeTask, proxyCustomElement, HTMLElement, createEvent, readTask, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { I as ION_CONTENT_CLASS_SELECTOR, b as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, g as getScrollElement } from './index8.js';
|
|
7
|
-
import { t as transitionEndAsync,
|
|
7
|
+
import { t as transitionEndAsync, c as componentOnReady, m as clamp, g as getElementRoot, r as raf } from './helpers.js';
|
|
8
8
|
import { c as hapticImpact, I as ImpactStyle } from './haptic.js';
|
|
9
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
10
|
-
import {
|
|
9
|
+
import { a as isPlatform, b as getIonMode } from './ionic-global.js';
|
|
10
|
+
import { c as createAnimation } from './animation.js';
|
|
11
|
+
|
|
12
|
+
const getRefresherAnimationType = (contentEl) => {
|
|
13
|
+
const previousSibling = contentEl.previousElementSibling;
|
|
14
|
+
const hasHeader = previousSibling !== null && previousSibling.tagName === 'ION-HEADER';
|
|
15
|
+
return hasHeader ? 'translate' : 'scale';
|
|
16
|
+
};
|
|
17
|
+
const createPullingAnimation = (type, pullingSpinner, refresherEl) => {
|
|
18
|
+
return type === 'scale'
|
|
19
|
+
? createScaleAnimation(pullingSpinner, refresherEl)
|
|
20
|
+
: createTranslateAnimation(pullingSpinner, refresherEl);
|
|
21
|
+
};
|
|
22
|
+
const createBaseAnimation = (pullingRefresherIcon) => {
|
|
23
|
+
const spinner = pullingRefresherIcon.querySelector('ion-spinner');
|
|
24
|
+
const circle = spinner.shadowRoot.querySelector('circle');
|
|
25
|
+
const spinnerArrowContainer = pullingRefresherIcon.querySelector('.spinner-arrow-container');
|
|
26
|
+
const arrowContainer = pullingRefresherIcon.querySelector('.arrow-container');
|
|
27
|
+
const arrow = arrowContainer ? arrowContainer.querySelector('ion-icon') : null;
|
|
28
|
+
const baseAnimation = createAnimation().duration(1000).easing('ease-out');
|
|
29
|
+
const spinnerArrowContainerAnimation = createAnimation()
|
|
30
|
+
.addElement(spinnerArrowContainer)
|
|
31
|
+
.keyframes([
|
|
32
|
+
{ offset: 0, opacity: '0.3' },
|
|
33
|
+
{ offset: 0.45, opacity: '0.3' },
|
|
34
|
+
{ offset: 0.55, opacity: '1' },
|
|
35
|
+
{ offset: 1, opacity: '1' },
|
|
36
|
+
]);
|
|
37
|
+
const circleInnerAnimation = createAnimation()
|
|
38
|
+
.addElement(circle)
|
|
39
|
+
.keyframes([
|
|
40
|
+
{ offset: 0, strokeDasharray: '1px, 200px' },
|
|
41
|
+
{ offset: 0.2, strokeDasharray: '1px, 200px' },
|
|
42
|
+
{ offset: 0.55, strokeDasharray: '100px, 200px' },
|
|
43
|
+
{ offset: 1, strokeDasharray: '100px, 200px' },
|
|
44
|
+
]);
|
|
45
|
+
const circleOuterAnimation = createAnimation()
|
|
46
|
+
.addElement(spinner)
|
|
47
|
+
.keyframes([
|
|
48
|
+
{ offset: 0, transform: 'rotate(-90deg)' },
|
|
49
|
+
{ offset: 1, transform: 'rotate(210deg)' },
|
|
50
|
+
]);
|
|
51
|
+
/**
|
|
52
|
+
* Only add arrow animation if present
|
|
53
|
+
* this allows users to customize the spinners
|
|
54
|
+
* without errors being thrown
|
|
55
|
+
*/
|
|
56
|
+
if (arrowContainer && arrow) {
|
|
57
|
+
const arrowContainerAnimation = createAnimation()
|
|
58
|
+
.addElement(arrowContainer)
|
|
59
|
+
.keyframes([
|
|
60
|
+
{ offset: 0, transform: 'rotate(0deg)' },
|
|
61
|
+
{ offset: 0.3, transform: 'rotate(0deg)' },
|
|
62
|
+
{ offset: 0.55, transform: 'rotate(280deg)' },
|
|
63
|
+
{ offset: 1, transform: 'rotate(400deg)' },
|
|
64
|
+
]);
|
|
65
|
+
const arrowAnimation = createAnimation()
|
|
66
|
+
.addElement(arrow)
|
|
67
|
+
.keyframes([
|
|
68
|
+
{ offset: 0, transform: 'translateX(2px) scale(0)' },
|
|
69
|
+
{ offset: 0.3, transform: 'translateX(2px) scale(0)' },
|
|
70
|
+
{ offset: 0.55, transform: 'translateX(-1.5px) scale(1)' },
|
|
71
|
+
{ offset: 1, transform: 'translateX(-1.5px) scale(1)' },
|
|
72
|
+
]);
|
|
73
|
+
baseAnimation.addAnimation([arrowContainerAnimation, arrowAnimation]);
|
|
74
|
+
}
|
|
75
|
+
return baseAnimation.addAnimation([spinnerArrowContainerAnimation, circleInnerAnimation, circleOuterAnimation]);
|
|
76
|
+
};
|
|
77
|
+
const createScaleAnimation = (pullingRefresherIcon, refresherEl) => {
|
|
78
|
+
/**
|
|
79
|
+
* Do not take the height of the refresher icon
|
|
80
|
+
* because at this point the DOM has not updated,
|
|
81
|
+
* so the refresher icon is still hidden with
|
|
82
|
+
* display: none.
|
|
83
|
+
* The `ion-refresher` container height
|
|
84
|
+
* is roughly the amount we need to offset
|
|
85
|
+
* the icon by when pulling down.
|
|
86
|
+
*/
|
|
87
|
+
const height = refresherEl.clientHeight;
|
|
88
|
+
const spinnerAnimation = createAnimation()
|
|
89
|
+
.addElement(pullingRefresherIcon)
|
|
90
|
+
.keyframes([
|
|
91
|
+
{ offset: 0, transform: `scale(0) translateY(-${height}px)` },
|
|
92
|
+
{ offset: 1, transform: 'scale(1) translateY(100px)' },
|
|
93
|
+
]);
|
|
94
|
+
return createBaseAnimation(pullingRefresherIcon).addAnimation([spinnerAnimation]);
|
|
95
|
+
};
|
|
96
|
+
const createTranslateAnimation = (pullingRefresherIcon, refresherEl) => {
|
|
97
|
+
/**
|
|
98
|
+
* Do not take the height of the refresher icon
|
|
99
|
+
* because at this point the DOM has not updated,
|
|
100
|
+
* so the refresher icon is still hidden with
|
|
101
|
+
* display: none.
|
|
102
|
+
* The `ion-refresher` container height
|
|
103
|
+
* is roughly the amount we need to offset
|
|
104
|
+
* the icon by when pulling down.
|
|
105
|
+
*/
|
|
106
|
+
const height = refresherEl.clientHeight;
|
|
107
|
+
const spinnerAnimation = createAnimation()
|
|
108
|
+
.addElement(pullingRefresherIcon)
|
|
109
|
+
.keyframes([
|
|
110
|
+
{ offset: 0, transform: `translateY(-${height}px)` },
|
|
111
|
+
{ offset: 1, transform: 'translateY(100px)' },
|
|
112
|
+
]);
|
|
113
|
+
return createBaseAnimation(pullingRefresherIcon).addAnimation([spinnerAnimation]);
|
|
114
|
+
};
|
|
115
|
+
const createSnapBackAnimation = (pullingRefresherIcon) => {
|
|
116
|
+
return createAnimation()
|
|
117
|
+
.duration(125)
|
|
118
|
+
.addElement(pullingRefresherIcon)
|
|
119
|
+
.fromTo('transform', 'translateY(var(--ion-pulling-refresher-translate, 100px))', 'translateY(0px)');
|
|
120
|
+
};
|
|
121
|
+
// iOS Native Refresher
|
|
122
|
+
// -----------------------------
|
|
123
|
+
const setSpinnerOpacity = (spinner, opacity) => {
|
|
124
|
+
spinner.style.setProperty('opacity', opacity.toString());
|
|
125
|
+
};
|
|
126
|
+
const handleScrollWhilePulling = (ticks, numTicks, pullAmount) => {
|
|
127
|
+
const max = 1;
|
|
128
|
+
writeTask(() => {
|
|
129
|
+
ticks.forEach((el, i) => {
|
|
130
|
+
/**
|
|
131
|
+
* Compute the opacity of each tick
|
|
132
|
+
* mark as a percentage of the pullAmount
|
|
133
|
+
* offset by max / numTicks so
|
|
134
|
+
* the tick marks are shown staggered.
|
|
135
|
+
*/
|
|
136
|
+
const min = i * (max / numTicks);
|
|
137
|
+
const range = max - min;
|
|
138
|
+
const start = pullAmount - min;
|
|
139
|
+
const progression = clamp(0, start / range, 1);
|
|
140
|
+
el.style.setProperty('opacity', progression.toString());
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
const handleScrollWhileRefreshing = (spinner, lastVelocityY) => {
|
|
145
|
+
writeTask(() => {
|
|
146
|
+
// If user pulls down quickly, the spinner should spin faster
|
|
147
|
+
spinner.style.setProperty('--refreshing-rotation-duration', lastVelocityY >= 1.0 ? '0.5s' : '2s');
|
|
148
|
+
spinner.style.setProperty('opacity', '1');
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
const translateElement = (el, value, duration = 200) => {
|
|
152
|
+
if (!el) {
|
|
153
|
+
return Promise.resolve();
|
|
154
|
+
}
|
|
155
|
+
const trans = transitionEndAsync(el, duration);
|
|
156
|
+
writeTask(() => {
|
|
157
|
+
el.style.setProperty('transition', `${duration}ms all ease-out`);
|
|
158
|
+
if (value === undefined) {
|
|
159
|
+
el.style.removeProperty('transform');
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
el.style.setProperty('transform', `translate3d(0px, ${value}, 0px)`);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
return trans;
|
|
166
|
+
};
|
|
167
|
+
// Utils
|
|
168
|
+
// -----------------------------
|
|
169
|
+
const shouldUseNativeRefresher = async (referenceEl, mode) => {
|
|
170
|
+
const refresherContent = referenceEl.querySelector('ion-refresher-content');
|
|
171
|
+
if (!refresherContent) {
|
|
172
|
+
return Promise.resolve(false);
|
|
173
|
+
}
|
|
174
|
+
await new Promise((resolve) => componentOnReady(refresherContent, resolve));
|
|
175
|
+
const pullingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-pulling ion-spinner');
|
|
176
|
+
const refreshingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-refreshing ion-spinner');
|
|
177
|
+
return (pullingSpinner !== null &&
|
|
178
|
+
refreshingSpinner !== null &&
|
|
179
|
+
/**
|
|
180
|
+
* We use webkitOverflowScrolling for feature detection with rubber band scrolling
|
|
181
|
+
* on iOS. When doing referenceEl.style, webkitOverflowScrolling is undefined on non-iOS platforms.
|
|
182
|
+
* However, it will be the empty string on iOS.
|
|
183
|
+
* Note that we do not use getPropertyValue (and thus need to cast as any) because calling
|
|
184
|
+
* getPropertyValue('-webkit-overflow-scrolling') will return the empty string if it is not
|
|
185
|
+
* set on the element, even if the platform does not support that.
|
|
186
|
+
*/
|
|
187
|
+
((mode === 'ios' && isPlatform('mobile') && referenceEl.style.webkitOverflowScrolling !== undefined) ||
|
|
188
|
+
mode === 'md'));
|
|
189
|
+
};
|
|
11
190
|
|
|
12
191
|
const refresherIosCss = "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}";
|
|
13
192
|
|
|
@@ -191,6 +191,8 @@ const Searchbar = /*@__PURE__*/ proxyCustomElement(class Searchbar extends HTMLE
|
|
|
191
191
|
*
|
|
192
192
|
* Developers who wish to focus an input when an overlay is presented
|
|
193
193
|
* should call `setFocus` after `didPresent` has resolved.
|
|
194
|
+
*
|
|
195
|
+
* See [managing focus](/docs/developing/managing-focus) for more information.
|
|
194
196
|
*/
|
|
195
197
|
async setFocus() {
|
|
196
198
|
if (this.nativeInput) {
|
|
@@ -167,6 +167,8 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
167
167
|
/**
|
|
168
168
|
* Sets focus on the native `textarea` in `ion-textarea`. Use this method instead of the global
|
|
169
169
|
* `textarea.focus()`.
|
|
170
|
+
*
|
|
171
|
+
* See [managing focus](/docs/developing/managing-focus) for more information.
|
|
170
172
|
*/
|
|
171
173
|
async setFocus() {
|
|
172
174
|
if (this.nativeInput) {
|
package/components/overlays.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { d as doc } from './index5.js';
|
|
5
5
|
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
6
6
|
import { C as CoreDelegate } from './framework-delegate.js';
|
|
7
|
+
import { B as BACKDROP_NO_SCROLL } from './gesture-controller.js';
|
|
7
8
|
import { OVERLAY_BACK_BUTTON_PRIORITY } from './hardware-back-button.js';
|
|
8
9
|
import { c as componentOnReady, f as focusElement, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
9
10
|
import { p as printIonWarning } from './index6.js';
|
|
@@ -28,7 +29,10 @@ const alertController = /*@__PURE__*/ createController('ion-alert');
|
|
|
28
29
|
const actionSheetController = /*@__PURE__*/ createController('ion-action-sheet');
|
|
29
30
|
const loadingController = /*@__PURE__*/ createController('ion-loading');
|
|
30
31
|
const modalController = /*@__PURE__*/ createController('ion-modal');
|
|
31
|
-
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
34
|
+
*/
|
|
35
|
+
const pickerController = /*@__PURE__*/ createController('ion-picker-legacy');
|
|
32
36
|
const popoverController = /*@__PURE__*/ createController('ion-popover');
|
|
33
37
|
const toastController = /*@__PURE__*/ createController('ion-toast');
|
|
34
38
|
/**
|
|
@@ -138,7 +142,7 @@ const focusLastDescendant = (ref, overlay) => {
|
|
|
138
142
|
* Should NOT include: Toast
|
|
139
143
|
*/
|
|
140
144
|
const trapKeyboardFocus = (ev, doc) => {
|
|
141
|
-
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover');
|
|
145
|
+
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover');
|
|
142
146
|
const target = ev.target;
|
|
143
147
|
/**
|
|
144
148
|
* If no active overlay, ignore this event.
|
|
@@ -323,7 +327,7 @@ const dismissOverlay = (doc, data, role, overlayTag, id) => {
|
|
|
323
327
|
*/
|
|
324
328
|
const getOverlays = (doc, selector) => {
|
|
325
329
|
if (selector === undefined) {
|
|
326
|
-
selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast';
|
|
330
|
+
selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast';
|
|
327
331
|
}
|
|
328
332
|
return Array.from(doc.querySelectorAll(selector)).filter((c) => c.overlayIndex > 0);
|
|
329
333
|
};
|
|
@@ -389,6 +393,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
389
393
|
return;
|
|
390
394
|
}
|
|
391
395
|
setRootAriaHidden(true);
|
|
396
|
+
document.body.classList.add(BACKDROP_NO_SCROLL);
|
|
392
397
|
overlay.presented = true;
|
|
393
398
|
overlay.willPresent.emit();
|
|
394
399
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -451,12 +456,14 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
451
456
|
if (!overlay.presented) {
|
|
452
457
|
return false;
|
|
453
458
|
}
|
|
459
|
+
const lastOverlay = doc !== undefined && getPresentedOverlays(doc).length === 1;
|
|
454
460
|
/**
|
|
455
461
|
* If this is the last visible overlay then
|
|
456
462
|
* we want to re-add the root to the accessibility tree.
|
|
457
463
|
*/
|
|
458
|
-
if (
|
|
464
|
+
if (lastOverlay) {
|
|
459
465
|
setRootAriaHidden(false);
|
|
466
|
+
document.body.classList.remove(BACKDROP_NO_SCROLL);
|
|
460
467
|
}
|
|
461
468
|
overlay.presented = false;
|
|
462
469
|
try {
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
|
+
import { d as inheritAttributes } from './helpers.js';
|
|
6
|
+
import { c as createColorClasses } from './theme.js';
|
|
7
|
+
import { b as getIonMode } from './ionic-global.js';
|
|
8
|
+
|
|
9
|
+
const pickerColumnOptionIosCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";
|
|
10
|
+
|
|
11
|
+
const pickerColumnOptionMdCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
|
|
12
|
+
|
|
13
|
+
const PickerColumnOption = /*@__PURE__*/ proxyCustomElement(class PickerColumnOption extends HTMLElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
this.__attachShadow();
|
|
18
|
+
/**
|
|
19
|
+
* We keep track of the parent picker column
|
|
20
|
+
* so we can update the value of it when
|
|
21
|
+
* clicking an enable option.
|
|
22
|
+
*/
|
|
23
|
+
this.pickerColumn = null;
|
|
24
|
+
this.ariaLabel = null;
|
|
25
|
+
this.disabled = false;
|
|
26
|
+
this.value = undefined;
|
|
27
|
+
this.color = 'primary';
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The aria-label of the option has changed after the
|
|
31
|
+
* first render and needs to be updated within the component.
|
|
32
|
+
*
|
|
33
|
+
* @param ariaLbl The new aria-label value.
|
|
34
|
+
*/
|
|
35
|
+
onAriaLabelChange(ariaLbl) {
|
|
36
|
+
this.ariaLabel = ariaLbl;
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
const inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
40
|
+
/**
|
|
41
|
+
* The initial value of `aria-label` needs to be set for
|
|
42
|
+
* the first render.
|
|
43
|
+
|
|
44
|
+
*/
|
|
45
|
+
this.ariaLabel = inheritedAttributes['aria-label'] || null;
|
|
46
|
+
}
|
|
47
|
+
connectedCallback() {
|
|
48
|
+
this.pickerColumn = this.el.closest('ion-picker-column');
|
|
49
|
+
}
|
|
50
|
+
disconnectedCallback() {
|
|
51
|
+
this.pickerColumn = null;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The column options can load at any time
|
|
55
|
+
* so the options needs to tell the
|
|
56
|
+
* parent picker column when it is loaded
|
|
57
|
+
* so the picker column can ensure it is
|
|
58
|
+
* centered in the view.
|
|
59
|
+
*
|
|
60
|
+
* We intentionally run this for every
|
|
61
|
+
* option. If we only ran this from
|
|
62
|
+
* the selected option then if the newly
|
|
63
|
+
* loaded options were not selected then
|
|
64
|
+
* scrollActiveItemIntoView would not be called.
|
|
65
|
+
*/
|
|
66
|
+
componentDidLoad() {
|
|
67
|
+
const { pickerColumn } = this;
|
|
68
|
+
if (pickerColumn !== null) {
|
|
69
|
+
pickerColumn.scrollActiveItemIntoView();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* When an option is clicked, update the
|
|
74
|
+
* parent picker column value. This
|
|
75
|
+
* component will handle centering the option
|
|
76
|
+
* in the column view.
|
|
77
|
+
*/
|
|
78
|
+
onClick() {
|
|
79
|
+
const { pickerColumn } = this;
|
|
80
|
+
if (pickerColumn !== null) {
|
|
81
|
+
pickerColumn.setValue(this.value);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
render() {
|
|
85
|
+
const { color, disabled, ariaLabel } = this;
|
|
86
|
+
const mode = getIonMode(this);
|
|
87
|
+
return (h(Host, { class: createColorClasses(color, {
|
|
88
|
+
[mode]: true,
|
|
89
|
+
['option-disabled']: disabled,
|
|
90
|
+
}) }, h("button", { tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", null))));
|
|
91
|
+
}
|
|
92
|
+
get el() { return this; }
|
|
93
|
+
static get watchers() { return {
|
|
94
|
+
"aria-label": ["onAriaLabelChange"]
|
|
95
|
+
}; }
|
|
96
|
+
static get style() { return {
|
|
97
|
+
ios: pickerColumnOptionIosCss,
|
|
98
|
+
md: pickerColumnOptionMdCss
|
|
99
|
+
}; }
|
|
100
|
+
}, [33, "ion-picker-column-option", {
|
|
101
|
+
"disabled": [4],
|
|
102
|
+
"value": [8],
|
|
103
|
+
"color": [513],
|
|
104
|
+
"ariaLabel": [32]
|
|
105
|
+
}, undefined, {
|
|
106
|
+
"aria-label": ["onAriaLabelChange"]
|
|
107
|
+
}]);
|
|
108
|
+
function defineCustomElement() {
|
|
109
|
+
if (typeof customElements === "undefined") {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const components = ["ion-picker-column-option"];
|
|
113
|
+
components.forEach(tagName => { switch (tagName) {
|
|
114
|
+
case "ion-picker-column-option":
|
|
115
|
+
if (!customElements.get(tagName)) {
|
|
116
|
+
customElements.define(tagName, PickerColumnOption);
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
119
|
+
} });
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export { PickerColumnOption as P, defineCustomElement as d };
|