@ionic/core 8.5.5-dev.11744378002.17d575c2 → 8.5.5-dev.11744665184.1ec1e7e9
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/alert.js +4 -5
- package/components/animation.js +1 -2
- package/components/config.js +1 -3
- package/components/hardware-back-button.js +2 -2
- package/components/helpers.js +1 -3
- package/components/index.js +1 -1
- package/components/index2.js +2 -1
- package/components/index4.js +8 -85
- package/components/index8.js +1 -1
- package/components/ion-accordion.js +1 -2
- package/components/ion-app.js +2 -2
- package/components/ion-back-button.js +1 -2
- package/components/ion-infinite-scroll-content.js +1 -2
- package/components/ion-item-sliding.js +2 -3
- package/components/ion-loading.js +1 -2
- package/components/ion-menu-button.js +1 -2
- package/components/ion-menu.js +5 -6
- package/components/ion-nav.js +4 -4
- package/components/ion-progress-bar.js +1 -2
- package/components/ion-refresher-content.js +1 -2
- package/components/ion-refresher.js +2 -3
- package/components/ion-router-outlet.js +3 -4
- package/components/ion-router.js +8 -9
- package/components/ion-searchbar.js +1 -2
- package/components/ion-segment-button.js +5 -6
- package/components/ion-select.js +4 -5
- package/components/ion-skeleton-text.js +1 -2
- package/components/ion-split-pane.js +4 -5
- package/components/ion-tab-button.js +1 -2
- package/components/ion-tab.js +4 -5
- package/components/ion-tabs.js +2 -3
- package/components/ion-toast.js +5 -5
- package/components/ion-toggle.js +17 -9
- package/components/ionic-global.js +77 -3
- package/components/modal.js +2 -2
- package/components/overlays.js +4 -4
- package/components/spinner.js +1 -2
- package/dist/cjs/{animation-f1673ab4.js → animation-b4fdf128.js} +3 -4
- package/dist/cjs/{app-globals-ddceb1f4.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{config-f6225ae7.js → config-4f60b98a.js} +1 -3
- package/dist/cjs/{data-746161fc.js → data-48893b46.js} +1 -1
- package/dist/cjs/{framework-delegate-862d9d00.js → framework-delegate-50a86d56.js} +1 -1
- package/dist/cjs/{hardware-back-button-745e51d2.js → hardware-back-button-5a99001f.js} +8 -7
- package/dist/cjs/{helpers-8a48fdea.js → helpers-3a248559.js} +1 -3
- package/dist/cjs/{index-7b20dc28.js → index-026ab0f9.js} +5 -5
- package/dist/cjs/index-59aca5d9.js +48 -0
- package/dist/cjs/{index-31b07b9c.js → index-6946900a.js} +2 -2
- package/dist/cjs/{index-dbe01e08.js → index-e36bd277.js} +1 -2
- package/dist/cjs/{index-9d49c5c1.js → index-edd488c9.js} +8 -7
- package/dist/cjs/index.cjs.js +12 -18
- package/dist/cjs/{input-shims-415be7ee.js → input-shims-07765d6d.js} +5 -3
- package/dist/cjs/{input.utils-dc6855fe.js → input.utils-601abddc.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-action-sheet.cjs.entry.js +7 -7
- package/dist/cjs/ion-alert.cjs.entry.js +12 -12
- package/dist/cjs/ion-app_8.cjs.entry.js +21 -21
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +7 -8
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -3
- package/dist/cjs/ion-chip.cjs.entry.js +1 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -3
- package/dist/cjs/ion-img.cjs.entry.js +2 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -4
- package/dist/cjs/ion-loading.cjs.entry.js +10 -10
- package/dist/cjs/ion-menu_3.cjs.entry.js +24 -24
- package/dist/cjs/ion-modal.cjs.entry.js +11 -11
- package/dist/cjs/ion-nav_2.cjs.entry.js +18 -18
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -3
- package/dist/cjs/ion-picker.cjs.entry.js +1 -2
- package/dist/cjs/ion-popover.cjs.entry.js +8 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -3
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -14
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +10 -11
- package/dist/cjs/ion-searchbar.cjs.entry.js +7 -8
- package/dist/cjs/ion-segment_2.cjs.entry.js +7 -8
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +5 -6
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +7 -8
- package/dist/cjs/ion-text.cjs.entry.js +1 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +13 -13
- package/dist/cjs/ion-toggle.cjs.entry.js +19 -11
- package/dist/cjs/{ionic-global-6dea5a96.js → ionic-global-acb665ad.js} +90 -15
- package/dist/cjs/ionic.cjs.js +2 -3
- package/dist/cjs/{ios.transition-358682fc.js → ios.transition-f6bf4835.js} +5 -4
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/{md.transition-42f70245.js → md.transition-b40e2ae2.js} +5 -4
- package/dist/cjs/{notch-controller-09b7f358.js → notch-controller-ae03a497.js} +1 -1
- package/dist/cjs/{overlays-c673e6d1.js → overlays-f1482698.js} +19 -19
- package/dist/cjs/{status-tap-f1acefac.js → status-tap-b96103c1.js} +4 -3
- package/dist/cjs/{swipe-back-4918e56b.js → swipe-back-cd0d9f77.js} +1 -2
- package/dist/collection/components/alert/alert.js +3 -4
- package/dist/collection/components/item-sliding/item-sliding.js +2 -3
- package/dist/collection/components/menu/menu.js +4 -5
- package/dist/collection/components/nav/nav.js +2 -2
- package/dist/collection/components/refresher/refresher.js +2 -3
- package/dist/collection/components/router/router.js +7 -8
- package/dist/collection/components/router/utils/dom.js +1 -2
- package/dist/collection/components/router-outlet/router-outlet.js +2 -3
- package/dist/collection/components/segment-button/segment-button.js +5 -6
- package/dist/collection/components/select/select.js +4 -5
- package/dist/collection/components/split-pane/split-pane.js +4 -5
- package/dist/collection/components/tab/tab.js +4 -5
- package/dist/collection/components/tabs/tabs.js +2 -3
- package/dist/collection/components/toast/toast.js +4 -4
- package/dist/collection/components/toggle/toggle.ios.css +5 -17
- package/dist/collection/components/toggle/toggle.js +14 -5
- package/dist/collection/components/toggle/toggle.md.css +5 -17
- package/dist/collection/global/ionic-global.js +1 -2
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/animation/animation.js +1 -2
- package/dist/collection/utils/hardware-back-button.js +1 -2
- package/dist/collection/utils/helpers.js +1 -2
- package/dist/collection/utils/logging/index.js +6 -10
- package/dist/collection/utils/overlays.js +3 -3
- package/dist/collection/utils/sanitization/index.js +1 -2
- package/dist/docs.json +1 -1
- package/dist/esm/{animation-b3d4d369.js → animation-eab5a4ca.js} +1 -2
- package/dist/esm/{app-globals-dbdbb3df.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{config-9898ed97.js → config-49c88215.js} +1 -3
- package/dist/esm/{data-3793f3bc.js → data-e24ae812.js} +1 -1
- package/dist/esm/{framework-delegate-56b467ad.js → framework-delegate-2eea1763.js} +1 -1
- package/dist/esm/{hardware-back-button-e1e79b83.js → hardware-back-button-864101a3.js} +3 -2
- package/dist/esm/{helpers-d94bc8ad.js → helpers-78efeec3.js} +1 -3
- package/dist/esm/{index-033a7968.js → index-3ee2dbd5.js} +5 -5
- package/dist/esm/{index-be190feb.js → index-40894f4b.js} +1 -2
- package/dist/esm/index-7981a992.js +44 -0
- package/dist/esm/{index-da77f504.js → index-f438077f.js} +5 -4
- package/dist/esm/{index-9a17db3d.js → index-fe70a837.js} +2 -2
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-shims-279903e2.js → input-shims-4ceed1d8.js} +5 -3
- package/dist/esm/{input.utils-b280913a.js → input.utils-8b9046b7.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +7 -7
- package/dist/esm/ion-alert.entry.js +11 -11
- package/dist/esm/ion-app_8.entry.js +14 -14
- package/dist/esm/ion-avatar_3.entry.js +1 -2
- package/dist/esm/ion-back-button.entry.js +2 -3
- package/dist/esm/ion-backdrop.entry.js +1 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +2 -3
- package/dist/esm/ion-checkbox.entry.js +2 -3
- package/dist/esm/ion-chip.entry.js +1 -2
- package/dist/esm/ion-col_3.entry.js +1 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +8 -8
- package/dist/esm/ion-fab_3.entry.js +2 -3
- package/dist/esm/ion-img.entry.js +2 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +2 -3
- package/dist/esm/ion-loading.entry.js +8 -8
- package/dist/esm/ion-menu_3.entry.js +12 -12
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-option.entry.js +2 -3
- package/dist/esm/ion-picker-column.entry.js +2 -3
- package/dist/esm/ion-picker.entry.js +1 -2
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-progress-bar.entry.js +2 -3
- package/dist/esm/ion-radio_2.entry.js +2 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +8 -8
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +1 -2
- package/dist/esm/ion-route_4.entry.js +10 -11
- package/dist/esm/ion-searchbar.entry.js +2 -3
- package/dist/esm/ion-segment_2.entry.js +7 -8
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +11 -11
- package/dist/esm/ion-spinner.entry.js +1 -2
- package/dist/esm/ion-split-pane.entry.js +5 -6
- package/dist/esm/ion-tab-bar_2.entry.js +2 -3
- package/dist/esm/ion-tab_2.entry.js +7 -8
- package/dist/esm/ion-text.entry.js +1 -2
- package/dist/esm/ion-textarea.entry.js +5 -5
- package/dist/esm/ion-toast.entry.js +11 -11
- package/dist/esm/ion-toggle.entry.js +18 -10
- package/dist/esm/{ionic-global-b26f573e.js → ionic-global-ca86cf32.js} +77 -3
- package/dist/esm/ionic.js +2 -3
- package/dist/esm/{ios.transition-be08b244.js → ios.transition-b8b60b46.js} +5 -4
- package/dist/esm/loader.js +2 -3
- package/dist/esm/{md.transition-91257d15.js → md.transition-75b978a8.js} +5 -4
- package/dist/esm/{notch-controller-1a1f7183.js → notch-controller-00d92e89.js} +1 -1
- package/dist/esm/{overlays-70ea3dcf.js → overlays-fb9f8b68.js} +7 -7
- package/dist/esm/{status-tap-42a8af65.js → status-tap-d7b90d63.js} +4 -3
- package/dist/esm/{swipe-back-0184f6b3.js → swipe-back-07df2095.js} +1 -2
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/config-49c88215.js +4 -0
- package/dist/esm-es5/{data-3793f3bc.js → data-e24ae812.js} +1 -1
- package/dist/esm-es5/{framework-delegate-56b467ad.js → framework-delegate-2eea1763.js} +1 -1
- package/dist/esm-es5/hardware-back-button-864101a3.js +4 -0
- package/dist/esm-es5/helpers-78efeec3.js +4 -0
- package/dist/esm-es5/{index-033a7968.js → index-3ee2dbd5.js} +1 -1
- package/dist/esm-es5/index-40894f4b.js +4 -0
- package/dist/esm-es5/index-7981a992.js +4 -0
- package/dist/esm-es5/index-f438077f.js +4 -0
- package/dist/esm-es5/{index-9a17db3d.js → index-fe70a837.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-4ceed1d8.js +4 -0
- package/dist/esm-es5/{input.utils-b280913a.js → input.utils-8b9046b7.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-password-toggle.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 +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- 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-modal.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-ca86cf32.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-b8b60b46.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-75b978a8.js +4 -0
- package/dist/esm-es5/{notch-controller-1a1f7183.js → notch-controller-00d92e89.js} +1 -1
- package/dist/esm-es5/overlays-fb9f8b68.js +4 -0
- package/dist/esm-es5/status-tap-d7b90d63.js +4 -0
- package/dist/esm-es5/swipe-back-07df2095.js +4 -0
- 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-0176e46f.entry.js +4 -0
- package/dist/ionic/p-027a48f1.entry.js +4 -0
- package/dist/ionic/p-053e4c10.js +4 -0
- package/dist/ionic/p-058b7f35.js +4 -0
- package/dist/ionic/p-05e6ae38.system.entry.js +4 -0
- package/dist/ionic/p-061a7fc7.js +4 -0
- package/dist/ionic/p-0a456b7f.entry.js +4 -0
- package/dist/ionic/p-0adb6909.system.entry.js +4 -0
- package/dist/ionic/p-0bedc891.system.entry.js +4 -0
- package/dist/ionic/p-0d1be7c9.system.entry.js +4 -0
- package/dist/ionic/p-11dab837.system.entry.js +4 -0
- package/dist/ionic/p-12614d54.entry.js +4 -0
- package/dist/ionic/{p-274d963a.system.entry.js → p-14100bae.system.entry.js} +1 -1
- package/dist/ionic/p-15bb1dde.system.js +4 -0
- package/dist/ionic/p-16844125.system.entry.js +4 -0
- package/dist/ionic/{p-e744d14a.entry.js → p-1848b7c3.entry.js} +1 -1
- package/dist/ionic/p-19c32a76.entry.js +4 -0
- package/dist/ionic/p-1c1d781d.system.entry.js +4 -0
- package/dist/ionic/p-1c8b3ac9.entry.js +4 -0
- package/dist/ionic/p-1de5dfcd.system.entry.js +4 -0
- package/dist/ionic/{p-c2f8201e.entry.js → p-22656e0c.entry.js} +1 -1
- package/dist/ionic/{p-8d2d39d0.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-58743cdd.entry.js → p-235d368d.entry.js} +1 -1
- package/dist/ionic/p-2567237c.entry.js +4 -0
- package/dist/ionic/{p-68ab4267.system.js → p-2685241d.system.js} +1 -1
- package/dist/ionic/{p-9c526045.entry.js → p-281c32d3.entry.js} +1 -1
- package/dist/ionic/{p-39287a10.js → p-281d022a.js} +1 -1
- package/dist/ionic/p-29a5b4e4.entry.js +4 -0
- package/dist/ionic/p-2a2c6bf4.system.entry.js +4 -0
- package/dist/ionic/{p-727055d1.entry.js → p-2dfd125c.entry.js} +1 -1
- package/dist/ionic/{p-9a3bf28b.system.js → p-32a0756f.system.js} +1 -1
- package/dist/ionic/{p-35cdfd77.system.entry.js → p-32cdf2de.system.entry.js} +1 -1
- package/dist/ionic/p-33058ec5.entry.js +4 -0
- package/dist/ionic/p-33518a04.entry.js +4 -0
- package/dist/ionic/p-344837bc.system.entry.js +4 -0
- package/dist/ionic/p-35f14792.entry.js +4 -0
- package/dist/ionic/p-36cfa9e8.system.js +4 -0
- package/dist/ionic/{p-f7fdde12.system.entry.js → p-3723b544.system.entry.js} +1 -1
- package/dist/ionic/p-383a6058.entry.js +4 -0
- package/dist/ionic/{p-fa3f4b96.system.js → p-3855fef7.system.js} +2 -2
- package/dist/ionic/p-3d98fc29.system.entry.js +4 -0
- package/dist/ionic/{p-909b0020.entry.js → p-3ee33601.entry.js} +1 -1
- package/dist/ionic/p-41d5544e.js +4 -0
- package/dist/ionic/p-41e70fa2.entry.js +4 -0
- package/dist/ionic/p-44fde7d5.system.entry.js +4 -0
- package/dist/ionic/p-455cd7cc.system.js +4 -0
- package/dist/ionic/{p-4056de12.entry.js → p-457509cd.entry.js} +1 -1
- package/dist/ionic/p-4748aa16.system.js +4 -0
- package/dist/ionic/{p-81904a80.entry.js → p-4a019528.entry.js} +1 -1
- package/dist/ionic/p-4bf48f96.entry.js +4 -0
- package/dist/ionic/p-4ea4c73a.system.entry.js +4 -0
- package/dist/ionic/p-4eeca839.system.entry.js +4 -0
- package/dist/ionic/p-50e0ce13.entry.js +4 -0
- package/dist/ionic/{p-6c5be476.system.entry.js → p-56bab0a5.system.entry.js} +1 -1
- package/dist/ionic/p-597ff9af.js +4 -0
- package/dist/ionic/{p-fb79a418.entry.js → p-5c906a14.entry.js} +1 -1
- package/dist/ionic/p-5fb1321f.entry.js +4 -0
- package/dist/ionic/p-6155027f.system.entry.js +4 -0
- package/dist/ionic/p-616f888a.entry.js +4 -0
- package/dist/ionic/p-6181e1c3.js +4 -0
- package/dist/ionic/p-61e794fb.entry.js +4 -0
- package/dist/ionic/p-61f2de6f.entry.js +4 -0
- package/dist/ionic/p-624b0ee3.system.entry.js +4 -0
- package/dist/ionic/p-657ada6a.entry.js +4 -0
- package/dist/ionic/p-65943bec.system.entry.js +4 -0
- package/dist/ionic/p-68609395.system.js +4 -0
- package/dist/ionic/{p-b56970a7.system.entry.js → p-68dcebd9.system.entry.js} +1 -1
- package/dist/ionic/p-705fda69.system.js +4 -0
- package/dist/ionic/p-70abb1f2.system.entry.js +4 -0
- package/dist/ionic/p-747f9517.entry.js +4 -0
- package/dist/ionic/p-783865ab.entry.js +4 -0
- package/dist/ionic/p-78574140.js +4 -0
- package/dist/ionic/p-7cc33a9a.system.js +4 -0
- package/dist/ionic/p-7e0ed182.entry.js +4 -0
- package/dist/ionic/p-7e3b5638.system.entry.js +4 -0
- package/dist/ionic/{p-25b10f81.js → p-85c82728.js} +1 -1
- package/dist/ionic/{p-fa7ccb3f.system.entry.js → p-8a2080c8.system.entry.js} +1 -1
- package/dist/ionic/p-8b22be32.system.entry.js +4 -0
- package/dist/ionic/{p-a40e0ef5.system.entry.js → p-8bdb12a6.system.entry.js} +1 -1
- package/dist/ionic/{p-0ef6e220.entry.js → p-8c54309e.entry.js} +1 -1
- package/dist/ionic/p-8d98e2bb.entry.js +4 -0
- package/dist/ionic/{p-f6e7d104.system.js → p-8dfe9d69.system.js} +1 -1
- package/dist/ionic/{p-fcc6319e.entry.js → p-8e86ffce.entry.js} +1 -1
- package/dist/ionic/p-9146695e.system.js +4 -0
- package/dist/ionic/p-959cf042.system.entry.js +4 -0
- package/dist/ionic/p-96eec056.entry.js +4 -0
- package/dist/ionic/p-96ff4d01.system.entry.js +4 -0
- package/dist/ionic/p-9af7f110.js +4 -0
- package/dist/ionic/p-9b069739.entry.js +4 -0
- package/dist/ionic/{p-1966a13c.system.js → p-9e45532a.system.js} +1 -1
- package/dist/ionic/{p-a220cbf6.js → p-a243b90c.js} +1 -1
- package/dist/ionic/{p-61050e98.system.entry.js → p-a37fd0d0.system.entry.js} +1 -1
- package/dist/ionic/p-a520973b.entry.js +4 -0
- package/dist/ionic/p-a59e8fd6.system.js +4 -0
- package/dist/ionic/{p-84096b45.system.js → p-a6625de8.system.js} +1 -1
- package/dist/ionic/{p-ea001c9a.system.entry.js → p-a856757d.system.entry.js} +1 -1
- package/dist/ionic/p-a9198501.system.entry.js +4 -0
- package/dist/ionic/{p-8f8d95ac.system.entry.js → p-aa81c2ba.system.entry.js} +1 -1
- package/dist/ionic/p-aa8c1b2f.system.js +4 -0
- package/dist/ionic/p-ac58d726.system.entry.js +4 -0
- package/dist/ionic/p-b1f9fbe8.system.entry.js +4 -0
- package/dist/ionic/p-b2a242bd.system.js +4 -0
- package/dist/ionic/p-b2ee0628.system.entry.js +4 -0
- package/dist/ionic/{p-b4d17da0.system.entry.js → p-b677558c.system.entry.js} +1 -1
- package/dist/ionic/p-b8a461f5.system.entry.js +4 -0
- package/dist/ionic/{p-f08a92cc.js → p-b9fa7882.js} +1 -1
- package/dist/ionic/p-bf64af90.system.js +4 -0
- package/dist/ionic/p-c005cc37.entry.js +4 -0
- package/dist/ionic/p-c1dd88dd.entry.js +4 -0
- package/dist/ionic/p-c27c57ea.system.entry.js +4 -0
- package/dist/ionic/p-c53c414d.system.entry.js +4 -0
- package/dist/ionic/p-c63d8dc1.js +4 -0
- package/dist/ionic/p-c7e16491.js +4 -0
- package/dist/ionic/p-c88783e6.js +4 -0
- package/dist/ionic/p-ccb740ea.entry.js +4 -0
- package/dist/ionic/p-ce371c44.entry.js +4 -0
- package/dist/ionic/p-cec54707.system.entry.js +4 -0
- package/dist/ionic/p-d2168294.entry.js +4 -0
- package/dist/ionic/p-d3a54968.system.js +4 -0
- package/dist/ionic/p-d40f2b7a.js +4 -0
- package/dist/ionic/p-d83a61be.entry.js +4 -0
- package/dist/ionic/{p-7cdc46f1.system.js → p-d8de0a14.system.js} +1 -1
- package/dist/ionic/p-d9bf6f6f.system.entry.js +4 -0
- package/dist/ionic/{p-5362b151.js → p-d9f64fb5.js} +1 -1
- package/dist/ionic/p-de46ce9a.system.entry.js +4 -0
- package/dist/ionic/p-df9d4b4a.entry.js +4 -0
- package/dist/ionic/{p-6f16e938.system.entry.js → p-e1765627.system.entry.js} +1 -1
- package/dist/ionic/p-e2ce5f8b.entry.js +4 -0
- package/dist/ionic/p-e3284879.system.entry.js +4 -0
- package/dist/ionic/p-e3e4eed7.entry.js +4 -0
- package/dist/ionic/p-e4683bfd.system.entry.js +4 -0
- package/dist/ionic/p-e4d2c281.entry.js +4 -0
- package/dist/ionic/p-eb9c5d61.js +4 -0
- package/dist/ionic/{p-687f7a63.system.entry.js → p-ec70313c.system.entry.js} +1 -1
- package/dist/ionic/p-ec9d3e18.js +4 -0
- package/dist/ionic/p-ece78e7b.js +4 -0
- package/dist/ionic/{p-bf6af2f2.system.entry.js → p-f13019e9.system.entry.js} +2 -2
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/p-f233f1e0.system.js +4 -0
- package/dist/ionic/{p-1d307396.system.js → p-f56dfbf7.system.js} +1 -1
- package/dist/ionic/{p-c3bdf3c5.system.entry.js → p-f92b151c.system.entry.js} +1 -1
- package/dist/ionic/p-fa70eaab.entry.js +4 -0
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/toggle/toggle.d.ts +2 -0
- package/dist/types/utils/logging/index.d.ts +1 -1
- package/hydrate/index.js +131 -126
- package/hydrate/index.mjs +131 -126
- package/package.json +1 -1
- package/dist/cjs/index-cc858e97.js +0 -129
- package/dist/esm/index-cfd9c1f2.js +0 -121
- package/dist/esm-es5/animation-b3d4d369.js +0 -4
- package/dist/esm-es5/app-globals-dbdbb3df.js +0 -4
- package/dist/esm-es5/config-9898ed97.js +0 -4
- package/dist/esm-es5/hardware-back-button-e1e79b83.js +0 -4
- package/dist/esm-es5/helpers-d94bc8ad.js +0 -4
- package/dist/esm-es5/index-be190feb.js +0 -4
- package/dist/esm-es5/index-cfd9c1f2.js +0 -5
- package/dist/esm-es5/index-da77f504.js +0 -4
- package/dist/esm-es5/input-shims-279903e2.js +0 -4
- package/dist/esm-es5/ionic-global-b26f573e.js +0 -4
- package/dist/esm-es5/ios.transition-be08b244.js +0 -4
- package/dist/esm-es5/md.transition-91257d15.js +0 -4
- package/dist/esm-es5/overlays-70ea3dcf.js +0 -4
- package/dist/esm-es5/status-tap-42a8af65.js +0 -4
- package/dist/esm-es5/swipe-back-0184f6b3.js +0 -4
- package/dist/ionic/p-00023f5a.system.js +0 -4
- package/dist/ionic/p-03480b95.system.entry.js +0 -4
- package/dist/ionic/p-04714aaf.system.js +0 -4
- package/dist/ionic/p-07ff88d4.system.entry.js +0 -4
- package/dist/ionic/p-0cdd1415.entry.js +0 -4
- package/dist/ionic/p-0e48845d.entry.js +0 -4
- package/dist/ionic/p-105b2e8b.entry.js +0 -4
- package/dist/ionic/p-10a1bddc.js +0 -4
- package/dist/ionic/p-12830298.system.entry.js +0 -4
- package/dist/ionic/p-13807b79.js +0 -4
- package/dist/ionic/p-171ca87d.system.js +0 -4
- package/dist/ionic/p-17e21141.js +0 -4
- package/dist/ionic/p-19494658.system.entry.js +0 -4
- package/dist/ionic/p-1974d5b2.system.js +0 -4
- package/dist/ionic/p-1b9c59ab.js +0 -4
- package/dist/ionic/p-1cb02e44.entry.js +0 -4
- package/dist/ionic/p-228e2522.entry.js +0 -4
- package/dist/ionic/p-2412c270.entry.js +0 -4
- package/dist/ionic/p-2469240b.entry.js +0 -4
- package/dist/ionic/p-2572e79d.system.entry.js +0 -4
- package/dist/ionic/p-2bb55ebc.js +0 -4
- package/dist/ionic/p-31a09e05.system.entry.js +0 -4
- package/dist/ionic/p-31dc303d.entry.js +0 -4
- package/dist/ionic/p-33503ae0.system.entry.js +0 -4
- package/dist/ionic/p-382181c5.system.js +0 -4
- package/dist/ionic/p-393ffcc2.entry.js +0 -4
- package/dist/ionic/p-39fa7dd1.system.entry.js +0 -4
- package/dist/ionic/p-3a30f31b.system.entry.js +0 -4
- package/dist/ionic/p-3bdd0f86.entry.js +0 -4
- package/dist/ionic/p-42501323.js +0 -4
- package/dist/ionic/p-42f08b26.system.entry.js +0 -4
- package/dist/ionic/p-463c09f2.system.js +0 -4
- package/dist/ionic/p-49c3e2df.js +0 -4
- package/dist/ionic/p-4a5be299.system.entry.js +0 -4
- package/dist/ionic/p-4cf4172e.entry.js +0 -4
- package/dist/ionic/p-4ec0e961.system.entry.js +0 -4
- package/dist/ionic/p-50cb2e8b.system.entry.js +0 -4
- package/dist/ionic/p-57da3f41.entry.js +0 -4
- package/dist/ionic/p-58c3391f.entry.js +0 -4
- package/dist/ionic/p-5c9feddc.system.entry.js +0 -4
- package/dist/ionic/p-5ea4e77f.system.entry.js +0 -4
- package/dist/ionic/p-5edf78c5.system.entry.js +0 -4
- package/dist/ionic/p-612096e6.system.entry.js +0 -4
- package/dist/ionic/p-6201c4ba.entry.js +0 -4
- package/dist/ionic/p-625248d0.system.js +0 -4
- package/dist/ionic/p-663413be.system.js +0 -4
- package/dist/ionic/p-6636a436.js +0 -4
- package/dist/ionic/p-6ec0c94a.entry.js +0 -4
- package/dist/ionic/p-712c0131.entry.js +0 -4
- package/dist/ionic/p-7445a2e5.system.js +0 -4
- package/dist/ionic/p-79605486.js +0 -4
- package/dist/ionic/p-7c5c7ae1.system.entry.js +0 -4
- package/dist/ionic/p-7e3e6ed2.entry.js +0 -4
- package/dist/ionic/p-7e89e22b.system.entry.js +0 -4
- package/dist/ionic/p-7f374363.system.entry.js +0 -4
- package/dist/ionic/p-80b225e9.system.entry.js +0 -4
- package/dist/ionic/p-8298710a.system.entry.js +0 -4
- package/dist/ionic/p-82abb074.entry.js +0 -4
- package/dist/ionic/p-8460d95a.entry.js +0 -4
- package/dist/ionic/p-84978faa.js +0 -4
- package/dist/ionic/p-8c11fbf3.entry.js +0 -4
- package/dist/ionic/p-8dacf4e2.entry.js +0 -4
- package/dist/ionic/p-9090cf74.entry.js +0 -4
- package/dist/ionic/p-94551927.js +0 -4
- package/dist/ionic/p-9530420b.system.entry.js +0 -4
- package/dist/ionic/p-98fd942b.system.entry.js +0 -4
- package/dist/ionic/p-993d0dc9.entry.js +0 -4
- package/dist/ionic/p-9d3eb9ed.system.js +0 -4
- package/dist/ionic/p-a0fd2fe5.system.entry.js +0 -4
- package/dist/ionic/p-a835aca8.entry.js +0 -4
- package/dist/ionic/p-a8ab9b64.system.entry.js +0 -4
- package/dist/ionic/p-ae039072.entry.js +0 -4
- package/dist/ionic/p-aea88b7d.system.entry.js +0 -4
- package/dist/ionic/p-aebfab05.system.entry.js +0 -4
- package/dist/ionic/p-b22ab9f4.js +0 -4
- package/dist/ionic/p-b2e7eda0.system.entry.js +0 -4
- package/dist/ionic/p-b445ff65.entry.js +0 -4
- package/dist/ionic/p-b6d324f0.js +0 -4
- package/dist/ionic/p-b9437a9a.entry.js +0 -4
- package/dist/ionic/p-b9c793d4.entry.js +0 -4
- package/dist/ionic/p-bc022ab0.system.js +0 -4
- package/dist/ionic/p-bf184319.system.entry.js +0 -4
- package/dist/ionic/p-c423a98c.entry.js +0 -4
- package/dist/ionic/p-c5bfa3e9.entry.js +0 -4
- package/dist/ionic/p-cad82569.entry.js +0 -4
- package/dist/ionic/p-cdc58bd5.system.js +0 -4
- package/dist/ionic/p-d16fab3f.entry.js +0 -4
- package/dist/ionic/p-d3481aa8.js +0 -4
- package/dist/ionic/p-d382f09c.system.js +0 -4
- package/dist/ionic/p-d55ed528.system.js +0 -4
- package/dist/ionic/p-d6147d70.entry.js +0 -4
- package/dist/ionic/p-d984c1ab.system.entry.js +0 -4
- package/dist/ionic/p-da6247e5.entry.js +0 -4
- package/dist/ionic/p-dabe3bd4.js +0 -4
- package/dist/ionic/p-df069a0d.entry.js +0 -4
- package/dist/ionic/p-e6ca42be.entry.js +0 -4
- package/dist/ionic/p-e727e32d.system.entry.js +0 -4
- package/dist/ionic/p-eaf1a6ed.entry.js +0 -4
- package/dist/ionic/p-ee215dd0.system.entry.js +0 -4
- package/dist/ionic/p-f0ef39ab.entry.js +0 -4
- package/dist/ionic/p-f725bf9e.system.js +0 -4
- package/dist/ionic/p-f9a87db2.system.entry.js +0 -4
package/components/alert.js
CHANGED
|
@@ -6,10 +6,9 @@ import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './conf
|
|
|
6
6
|
import { c as createButtonActiveGesture } from './button-active.js';
|
|
7
7
|
import { r as raf } from './helpers.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller.js';
|
|
9
|
-
import { c as config, a as printIonWarning } from './index4.js';
|
|
10
9
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays.js';
|
|
11
10
|
import { g as getClassMap } from './theme.js';
|
|
12
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
11
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
13
12
|
import { c as createAnimation } from './animation.js';
|
|
14
13
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
15
14
|
import { d as defineCustomElement$1 } from './ripple-effect.js';
|
|
@@ -243,7 +242,7 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
243
242
|
// checkboxes and inputs are all accepted, but they cannot be mixed.
|
|
244
243
|
const inputTypes = new Set(inputs.map((i) => i.type));
|
|
245
244
|
if (inputTypes.has('checkbox') && inputTypes.has('radio')) {
|
|
246
|
-
|
|
245
|
+
console.warn(`Alert cannot mix input types: ${Array.from(inputTypes.values()).join('/')}. Please see alert docs for more info.`);
|
|
247
246
|
}
|
|
248
247
|
this.inputType = inputTypes.values().next().value;
|
|
249
248
|
this.processedInputs = inputs.map((i, index) => {
|
|
@@ -518,9 +517,9 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
518
517
|
* If neither are defined, do not set aria-labelledby.
|
|
519
518
|
*/
|
|
520
519
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
521
|
-
return (h(Host, { key: '
|
|
520
|
+
return (h(Host, { key: '755f2398806084f16ee24d9fefce9ebc0b8f30f2', tabindex: "-1", style: {
|
|
522
521
|
zIndex: `${20000 + overlayIndex}`,
|
|
523
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '
|
|
522
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '5965913fb076436e37f4a55cd8778cbc58449bfd', tappable: this.backdropDismiss }), h("div", { key: 'cb17e07896b6ad8c9c607261fe08437b1a3b272f', tabindex: "0", "aria-hidden": "true" }), h("div", Object.assign({ key: 'e1d43053dceab70b9392802767caa70fa7ed0518', class: "alert-wrapper ion-overlay-wrapper", role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "0", ref: (el) => (this.wrapperEl = el) }, htmlAttributes), h("div", { key: 'a82e0bf863971084f3a8a34d25d6cf7aae1690a8', class: "alert-head" }, header && (h("h2", { key: '36a9b4394f4b4cdcd6972ae60265ac889e2157cf', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '86008c1eb484cc69f66e42c254933ce289180785', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: 'bfaacd3b119d06273683019cddef2c42245c3101', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: '0e7df4ab31a72953dcf171ebc87074603f848c06', tabindex: "0", "aria-hidden": "true" })));
|
|
524
523
|
}
|
|
525
524
|
get el() { return this; }
|
|
526
525
|
static get watchers() { return {
|
package/components/animation.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { p as printIonError } from './index4.js';
|
|
5
4
|
import { w as win } from './index6.js';
|
|
6
5
|
|
|
7
6
|
let animationPrefix;
|
|
@@ -366,7 +365,7 @@ const createAnimation = (animationId) => {
|
|
|
366
365
|
}
|
|
367
366
|
}
|
|
368
367
|
else {
|
|
369
|
-
|
|
368
|
+
console.error('Invalid addElement value');
|
|
370
369
|
}
|
|
371
370
|
}
|
|
372
371
|
return ani;
|
package/components/config.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { p as printIonError } from './index4.js';
|
|
5
|
-
|
|
6
4
|
/**
|
|
7
5
|
* Does a simple sanitization of all elements
|
|
8
6
|
* in an untrusted string
|
|
@@ -77,7 +75,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
|
77
75
|
return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
|
|
78
76
|
}
|
|
79
77
|
catch (err) {
|
|
80
|
-
|
|
78
|
+
console.error(err);
|
|
81
79
|
return '';
|
|
82
80
|
}
|
|
83
81
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index6.js';
|
|
5
|
-
import { c as config
|
|
5
|
+
import { c as config } from './ionic-global.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* CloseWatcher is a newer API that lets
|
|
@@ -58,7 +58,7 @@ const startHardwareBackButton = () => {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
catch (e) {
|
|
61
|
-
|
|
61
|
+
console.error(e);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
const processHandlers = () => {
|
package/components/helpers.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { p as printIonError } from './index4.js';
|
|
5
|
-
|
|
6
4
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
7
5
|
return new Promise((resolve) => {
|
|
8
6
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -253,7 +251,7 @@ const clamp = (min, n, max) => {
|
|
|
253
251
|
const assert = (actual, reason) => {
|
|
254
252
|
if (!actual) {
|
|
255
253
|
const message = 'ASSERT: ' + reason;
|
|
256
|
-
|
|
254
|
+
console.error(message);
|
|
257
255
|
debugger; // eslint-disable-line
|
|
258
256
|
throw new Error(message);
|
|
259
257
|
}
|
package/components/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
|
10
10
|
export { createGesture } from './index3.js';
|
|
11
11
|
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global.js';
|
|
12
12
|
export { c as componentOnReady } from './helpers.js';
|
|
13
|
-
export {
|
|
13
|
+
export { p as printIonError, a as printIonWarning } from './index4.js';
|
|
14
14
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config.js';
|
|
15
15
|
export { o as openURL } from './theme.js';
|
|
16
16
|
export { m as menuController } from './index5.js';
|
package/components/index2.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config
|
|
4
|
+
import { c as config } from './ionic-global.js';
|
|
5
5
|
import { writeTask, Build } from '@stencil/core/internal/client';
|
|
6
|
+
import { a as printIonWarning } from './index4.js';
|
|
6
7
|
import { r as raf } from './helpers.js';
|
|
7
8
|
|
|
8
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
package/components/index4.js
CHANGED
|
@@ -1,87 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
class Config {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.m = new Map();
|
|
8
|
-
}
|
|
9
|
-
reset(configObj) {
|
|
10
|
-
this.m = new Map(Object.entries(configObj));
|
|
11
|
-
}
|
|
12
|
-
get(key, fallback) {
|
|
13
|
-
const value = this.m.get(key);
|
|
14
|
-
return value !== undefined ? value : fallback;
|
|
15
|
-
}
|
|
16
|
-
getBoolean(key, fallback = false) {
|
|
17
|
-
const val = this.m.get(key);
|
|
18
|
-
if (val === undefined) {
|
|
19
|
-
return fallback;
|
|
20
|
-
}
|
|
21
|
-
if (typeof val === 'string') {
|
|
22
|
-
return val === 'true';
|
|
23
|
-
}
|
|
24
|
-
return !!val;
|
|
25
|
-
}
|
|
26
|
-
getNumber(key, fallback) {
|
|
27
|
-
const val = parseFloat(this.m.get(key));
|
|
28
|
-
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
29
|
-
}
|
|
30
|
-
set(key, value) {
|
|
31
|
-
this.m.set(key, value);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
const config = /*@__PURE__*/ new Config();
|
|
35
|
-
const configFromSession = (win) => {
|
|
36
|
-
try {
|
|
37
|
-
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
38
|
-
return configStr !== null ? JSON.parse(configStr) : {};
|
|
39
|
-
}
|
|
40
|
-
catch (e) {
|
|
41
|
-
return {};
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const saveConfig = (win, c) => {
|
|
45
|
-
try {
|
|
46
|
-
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
47
|
-
}
|
|
48
|
-
catch (e) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
const configFromURL = (win) => {
|
|
53
|
-
const configObj = {};
|
|
54
|
-
win.location.search
|
|
55
|
-
.slice(1)
|
|
56
|
-
.split('&')
|
|
57
|
-
.map((entry) => entry.split('='))
|
|
58
|
-
.map(([key, value]) => {
|
|
59
|
-
try {
|
|
60
|
-
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
61
|
-
}
|
|
62
|
-
catch (e) {
|
|
63
|
-
return ['', ''];
|
|
64
|
-
}
|
|
65
|
-
})
|
|
66
|
-
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
67
|
-
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
68
|
-
.forEach(([key, value]) => {
|
|
69
|
-
configObj[key] = value;
|
|
70
|
-
});
|
|
71
|
-
return configObj;
|
|
72
|
-
};
|
|
73
|
-
const startsWith = (input, search) => {
|
|
74
|
-
return input.substr(0, search.length) === search;
|
|
75
|
-
};
|
|
76
|
-
const IONIC_PREFIX = 'ionic:';
|
|
77
|
-
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
4
|
+
import { c as config } from './ionic-global.js';
|
|
78
5
|
|
|
79
|
-
var LogLevel;
|
|
80
|
-
(function (LogLevel) {
|
|
81
|
-
LogLevel["OFF"] = "OFF";
|
|
82
|
-
LogLevel["ERROR"] = "ERROR";
|
|
83
|
-
LogLevel["WARN"] = "WARN";
|
|
84
|
-
})(LogLevel || (LogLevel = {}));
|
|
85
6
|
/**
|
|
86
7
|
* Logs a warning to the console with an Ionic prefix
|
|
87
8
|
* to indicate the library that is warning the developer.
|
|
@@ -89,8 +10,9 @@ var LogLevel;
|
|
|
89
10
|
* @param message - The string message to be logged to the console.
|
|
90
11
|
*/
|
|
91
12
|
const printIonWarning = (message, ...params) => {
|
|
92
|
-
|
|
93
|
-
|
|
13
|
+
console.log('printIonWarning', config.get('logLevel'));
|
|
14
|
+
const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
15
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
94
16
|
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
95
17
|
}
|
|
96
18
|
};
|
|
@@ -102,8 +24,9 @@ const printIonWarning = (message, ...params) => {
|
|
|
102
24
|
* @param params - Additional arguments to supply to the console.error.
|
|
103
25
|
*/
|
|
104
26
|
const printIonError = (message, ...params) => {
|
|
105
|
-
|
|
106
|
-
|
|
27
|
+
console.log('printIonError', config.get('logLevel'));
|
|
28
|
+
const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
29
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
107
30
|
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
108
31
|
}
|
|
109
32
|
};
|
|
@@ -118,4 +41,4 @@ const printRequiredElementError = (el, ...targetSelectors) => {
|
|
|
118
41
|
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
|
119
42
|
};
|
|
120
43
|
|
|
121
|
-
export {
|
|
44
|
+
export { printIonWarning as a, printRequiredElementError as b, printIonError as p };
|
package/components/index8.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { c as componentOnReady } from './helpers.js';
|
|
5
|
-
import {
|
|
5
|
+
import { b as printRequiredElementError } from './index4.js';
|
|
6
6
|
|
|
7
7
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
8
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
6
6
|
import { c as chevronDown } from './index7.js';
|
|
7
|
-
import { c as config } from './
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
7
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
9
8
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
10
9
|
|
|
11
10
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
package/components/ion-app.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, Build, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
6
|
-
import {
|
|
7
|
-
import { b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
6
|
+
import { a as printIonWarning } from './index4.js';
|
|
7
|
+
import { b as getIonMode, c as config, a as isPlatform } from './ionic-global.js';
|
|
8
8
|
|
|
9
9
|
const appCss = "html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";
|
|
10
10
|
const IonAppStyle0 = appCss;
|
|
@@ -5,8 +5,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
5
5
|
import { i as inheritAriaAttributes } from './helpers.js';
|
|
6
6
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';
|
|
7
7
|
import { a as chevronBack, b as arrowBackSharp } from './index7.js';
|
|
8
|
-
import { c as config } from './
|
|
9
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
8
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
10
9
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
11
10
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
12
11
|
|
|
@@ -3,8 +3,7 @@
|
|
|
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 } from './
|
|
7
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
6
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
8
7
|
import { d as defineCustomElement$2 } from './spinner.js';
|
|
9
8
|
|
|
10
9
|
const infiniteScrollContentIosCss = "ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}";
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { a as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index8.js';
|
|
6
6
|
import { m as isEndSide } from './helpers.js';
|
|
7
|
-
import { a as printIonWarning } from './index4.js';
|
|
8
7
|
import { w as watchForOptions } from './watch-options.js';
|
|
9
8
|
import { b as getIonMode } from './ionic-global.js';
|
|
10
9
|
|
|
@@ -268,7 +267,7 @@ const ItemSliding = /*@__PURE__*/ proxyCustomElement(class ItemSliding extends H
|
|
|
268
267
|
case 0 /* ItemSide.None */:
|
|
269
268
|
return;
|
|
270
269
|
default:
|
|
271
|
-
|
|
270
|
+
console.warn('invalid ItemSideFlags value', this.sides);
|
|
272
271
|
break;
|
|
273
272
|
}
|
|
274
273
|
let optsWidth;
|
|
@@ -394,7 +393,7 @@ const ItemSliding = /*@__PURE__*/ proxyCustomElement(class ItemSliding extends H
|
|
|
394
393
|
}
|
|
395
394
|
render() {
|
|
396
395
|
const mode = getIonMode(this);
|
|
397
|
-
return (h(Host, { key: '
|
|
396
|
+
return (h(Host, { key: '22f83febcbc1bc27e4ddbd7fcbe590de60a10e89', class: {
|
|
398
397
|
[mode]: true,
|
|
399
398
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
400
399
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -7,8 +7,7 @@ import { r as raf } from './helpers.js';
|
|
|
7
7
|
import { c as createLockController } from './lock-controller.js';
|
|
8
8
|
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays.js';
|
|
9
9
|
import { g as getClassMap } from './theme.js';
|
|
10
|
-
import { c as config } from './
|
|
11
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
10
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
12
11
|
import { c as createAnimation } from './animation.js';
|
|
13
12
|
import { d as defineCustomElement$3 } from './backdrop.js';
|
|
14
13
|
import { d as defineCustomElement$2 } from './spinner.js';
|
|
@@ -6,8 +6,7 @@ import { i as inheritAriaAttributes } from './helpers.js';
|
|
|
6
6
|
import { m as menuController } from './index5.js';
|
|
7
7
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
8
8
|
import { n as menuOutline, o as menuSharp } from './index7.js';
|
|
9
|
-
import { c as config } from './
|
|
10
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
11
10
|
import { u as updateVisibility } from './menu-toggle-util.js';
|
|
12
11
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
13
12
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
package/components/ion-menu.js
CHANGED
|
@@ -7,9 +7,8 @@ import { o as getPresentedOverlay, B as BACKDROP, n as focusFirstDescendant, q a
|
|
|
7
7
|
import { G as GESTURE_CONTROLLER } from './gesture-controller.js';
|
|
8
8
|
import { shouldUseCloseWatcher } from './hardware-back-button.js';
|
|
9
9
|
import { m as isEndSide, i as inheritAriaAttributes, n as assert, k as clamp } from './helpers.js';
|
|
10
|
-
import { c as config, p as printIonError } from './index4.js';
|
|
11
10
|
import { m as menuController } from './index5.js';
|
|
12
|
-
import { b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
11
|
+
import { c as config, b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
13
12
|
import { h as hostContext } from './theme.js';
|
|
14
13
|
import { d as defineCustomElement$2 } from './backdrop.js';
|
|
15
14
|
|
|
@@ -118,11 +117,11 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
|
|
118
117
|
}
|
|
119
118
|
const content = this.contentId !== undefined ? document.getElementById(this.contentId) : null;
|
|
120
119
|
if (content === null) {
|
|
121
|
-
|
|
120
|
+
console.error('Menu: must have a "content" element to listen for drag events on.');
|
|
122
121
|
return;
|
|
123
122
|
}
|
|
124
123
|
if (this.el.contains(content)) {
|
|
125
|
-
|
|
124
|
+
console.error(`Menu: "contentId" should refer to the main view's ion-content, not the ion-content inside of the ion-menu.`);
|
|
126
125
|
}
|
|
127
126
|
this.contentEl = content;
|
|
128
127
|
// add menu's content classes
|
|
@@ -624,14 +623,14 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
|
|
624
623
|
* the ionBackButton listener in the menu controller
|
|
625
624
|
* will handle closing the menu when Escape is pressed.
|
|
626
625
|
*/
|
|
627
|
-
return (h(Host, { key: '
|
|
626
|
+
return (h(Host, { key: '342db8551d26604128b29b21d2d8c37593972ed9', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
628
627
|
[mode]: true,
|
|
629
628
|
[`menu-type-${type}`]: true,
|
|
630
629
|
'menu-enabled': !disabled,
|
|
631
630
|
[`menu-side-${side}`]: true,
|
|
632
631
|
'menu-pane-visible': isPaneVisible,
|
|
633
632
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
634
|
-
} }, h("div", { key: '
|
|
633
|
+
} }, h("div", { key: '3c9bec2862b7fb9d88de66b1600be01f6735e3dd', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '76283b4b2a65c78646f92c3b273eea021eda499c' })), h("ion-backdrop", { key: '121c395bc4873542a1b6ae2c9e23f2e881e75d93', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
635
634
|
}
|
|
636
635
|
get el() { return this; }
|
|
637
636
|
static get watchers() { return {
|
package/components/ion-nav.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Build } from '@stencil/core/internal/client';
|
|
5
5
|
import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
6
6
|
import { n as assert, s as shallowEqualStringMap } from './helpers.js';
|
|
7
|
-
import { a as printIonWarning
|
|
7
|
+
import { a as printIonWarning } from './index4.js';
|
|
8
8
|
import { l as lifecycle, t as transition, s as setPageHidden, d as LIFECYCLE_WILL_UNLOAD, b as LIFECYCLE_WILL_LEAVE, c as LIFECYCLE_DID_LEAVE } from './index2.js';
|
|
9
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
9
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
10
10
|
import { a as attachComponent } from './framework-delegate.js';
|
|
11
11
|
|
|
12
12
|
const VIEW_STATE_NEW = 1;
|
|
@@ -683,7 +683,7 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
683
683
|
const finalNumViews = this.views.length + ((_b = insertViews === null || insertViews === void 0 ? void 0 : insertViews.length) !== null && _b !== void 0 ? _b : 0) - (removeCount !== null && removeCount !== void 0 ? removeCount : 0);
|
|
684
684
|
assert(finalNumViews >= 0, 'final balance can not be negative');
|
|
685
685
|
if (finalNumViews === 0) {
|
|
686
|
-
|
|
686
|
+
console.warn(`You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.`, this, this.el);
|
|
687
687
|
throw new Error('navigation stack needs at least one root page');
|
|
688
688
|
}
|
|
689
689
|
// At this point the transition can not be rejected, any throw should be an error
|
|
@@ -905,7 +905,7 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
render() {
|
|
908
|
-
return h("slot", { key: '
|
|
908
|
+
return h("slot", { key: '71e9b5d07fc90ca5534197a63a003a4154aabd59' });
|
|
909
909
|
}
|
|
910
910
|
get el() { return this; }
|
|
911
911
|
static get watchers() { return {
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { k as clamp } from './helpers.js';
|
|
6
6
|
import { c as createColorClasses } from './theme.js';
|
|
7
|
-
import { c as config } from './
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
7
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
9
8
|
|
|
10
9
|
const progressBarIosCss = ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{border-radius:9999px;height:4px}:host(.progress-bar-solid){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}";
|
|
11
10
|
const IonProgressBarIosStyle0 = progressBarIosCss;
|
|
@@ -4,8 +4,7 @@
|
|
|
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
6
|
import { p as caretBackSharp, q as arrowDown } from './index7.js';
|
|
7
|
-
import { c as config } from './
|
|
8
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
7
|
+
import { c as config, b as getIonMode } from './ionic-global.js';
|
|
9
8
|
import { e as supportsRubberBandScrolling } from './refresher.utils.js';
|
|
10
9
|
import { d as defineCustomElement$2, S as SPINNERS } from './spinner.js';
|
|
11
10
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
@@ -5,7 +5,6 @@ import { proxyCustomElement, HTMLElement, createEvent, writeTask, readTask, h, H
|
|
|
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
7
|
import { t as transitionEndAsync, k as clamp, g as getElementRoot, c as componentOnReady, r as raf } from './helpers.js';
|
|
8
|
-
import { p as printIonError } from './index4.js';
|
|
9
8
|
import { c as hapticImpact, I as ImpactStyle } from './haptic.js';
|
|
10
9
|
import { b as getIonMode } from './ionic-global.js';
|
|
11
10
|
import { s as shouldUseNativeRefresher, t as translateElement, a as setSpinnerOpacity, h as handleScrollWhileRefreshing, b as handleScrollWhilePulling, c as createPullingAnimation, d as createSnapBackAnimation, g as getRefresherAnimationType } from './refresher.utils.js';
|
|
@@ -299,7 +298,7 @@ const Refresher = /*@__PURE__*/ proxyCustomElement(class Refresher extends HTMLE
|
|
|
299
298
|
}
|
|
300
299
|
async connectedCallback() {
|
|
301
300
|
if (this.el.getAttribute('slot') !== 'fixed') {
|
|
302
|
-
|
|
301
|
+
console.error('Make sure you use: <ion-refresher slot="fixed">');
|
|
303
302
|
return;
|
|
304
303
|
}
|
|
305
304
|
const contentEl = this.el.closest(ION_CONTENT_ELEMENT_SELECTOR);
|
|
@@ -631,7 +630,7 @@ const Refresher = /*@__PURE__*/ proxyCustomElement(class Refresher extends HTMLE
|
|
|
631
630
|
}
|
|
632
631
|
render() {
|
|
633
632
|
const mode = getIonMode(this);
|
|
634
|
-
return (h(Host, { key: '
|
|
633
|
+
return (h(Host, { key: '4c36bffbfa32ef1bd28a60f4455c125842880659', slot: "fixed", class: {
|
|
635
634
|
[mode]: true,
|
|
636
635
|
// Used internally for styling
|
|
637
636
|
[`refresher-${mode}`]: true,
|
|
@@ -6,9 +6,8 @@ import { g as getTimeGivenProgression } from './cubic-bezier.js';
|
|
|
6
6
|
import { a as attachComponent, d as detachComponent } from './framework-delegate.js';
|
|
7
7
|
import { s as shallowEqualStringMap, j as hasLazyBuild } from './helpers.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller.js';
|
|
9
|
-
import { p as printIonError, c as config } from './index4.js';
|
|
10
9
|
import { t as transition } from './index2.js';
|
|
11
|
-
import { b as getIonMode } from './ionic-global.js';
|
|
10
|
+
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
12
11
|
|
|
13
12
|
const routerOutletCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";
|
|
14
13
|
const IonRouterOutletStyle0 = routerOutletCss;
|
|
@@ -91,7 +90,7 @@ const RouterOutlet = /*@__PURE__*/ proxyCustomElement(class RouterOutlet extends
|
|
|
91
90
|
changed = await this.transition(enteringEl, leavingEl, opts);
|
|
92
91
|
}
|
|
93
92
|
catch (e) {
|
|
94
|
-
|
|
93
|
+
console.error(e);
|
|
95
94
|
}
|
|
96
95
|
unlock();
|
|
97
96
|
return changed;
|
|
@@ -187,7 +186,7 @@ const RouterOutlet = /*@__PURE__*/ proxyCustomElement(class RouterOutlet extends
|
|
|
187
186
|
return true;
|
|
188
187
|
}
|
|
189
188
|
render() {
|
|
190
|
-
return h("slot", { key: '
|
|
189
|
+
return h("slot", { key: '8d0c163c5f63158e16ef2db7cc3c756cf597461d' });
|
|
191
190
|
}
|
|
192
191
|
get el() { return this; }
|
|
193
192
|
static get watchers() { return {
|
package/components/ion-router.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
5
5
|
import { c as componentOnReady, p as debounce } from './helpers.js';
|
|
6
|
-
import { p as printIonError, a as printIonWarning } from './index4.js';
|
|
7
6
|
|
|
8
7
|
const ROUTER_INTENT_NONE = 'root';
|
|
9
8
|
const ROUTER_INTENT_FORWARD = 'forward';
|
|
@@ -169,7 +168,7 @@ const writeNavState = async (root, chain, direction, index, changed = false, ani
|
|
|
169
168
|
return changed;
|
|
170
169
|
}
|
|
171
170
|
catch (e) {
|
|
172
|
-
|
|
171
|
+
console.error(e);
|
|
173
172
|
return false;
|
|
174
173
|
}
|
|
175
174
|
};
|
|
@@ -633,19 +632,19 @@ const Router = /*@__PURE__*/ proxyCustomElement(class Router extends HTMLElement
|
|
|
633
632
|
/** @internal */
|
|
634
633
|
async navChanged(direction) {
|
|
635
634
|
if (this.busy) {
|
|
636
|
-
|
|
635
|
+
console.warn('[ion-router] router is busy, navChanged was cancelled');
|
|
637
636
|
return false;
|
|
638
637
|
}
|
|
639
638
|
const { ids, outlet } = await readNavState(window.document.body);
|
|
640
639
|
const routes = readRoutes(this.el);
|
|
641
640
|
const chain = findChainForIDs(ids, routes);
|
|
642
641
|
if (!chain) {
|
|
643
|
-
|
|
642
|
+
console.warn('[ion-router] no matching URL for ', ids.map((i) => i.id));
|
|
644
643
|
return false;
|
|
645
644
|
}
|
|
646
645
|
const segments = chainToSegments(chain);
|
|
647
646
|
if (!segments) {
|
|
648
|
-
|
|
647
|
+
console.warn('[ion-router] router could not match path because some required param is missing');
|
|
649
648
|
return false;
|
|
650
649
|
}
|
|
651
650
|
this.setSegments(segments, direction);
|
|
@@ -683,7 +682,7 @@ const Router = /*@__PURE__*/ proxyCustomElement(class Router extends HTMLElement
|
|
|
683
682
|
}
|
|
684
683
|
async writeNavStateRoot(segments, direction, animation) {
|
|
685
684
|
if (!segments) {
|
|
686
|
-
|
|
685
|
+
console.error('[ion-router] URL is not part of the routing set');
|
|
687
686
|
return false;
|
|
688
687
|
}
|
|
689
688
|
// lookup redirect rule
|
|
@@ -700,7 +699,7 @@ const Router = /*@__PURE__*/ proxyCustomElement(class Router extends HTMLElement
|
|
|
700
699
|
const routes = readRoutes(this.el);
|
|
701
700
|
const chain = findChainForSegments(segments, routes);
|
|
702
701
|
if (!chain) {
|
|
703
|
-
|
|
702
|
+
console.error('[ion-router] the path does not match any route');
|
|
704
703
|
return false;
|
|
705
704
|
}
|
|
706
705
|
// write DOM give
|
|
@@ -713,7 +712,7 @@ const Router = /*@__PURE__*/ proxyCustomElement(class Router extends HTMLElement
|
|
|
713
712
|
changed = await this.writeNavState(node, chain, direction, segments, redirectFrom, index, animation);
|
|
714
713
|
}
|
|
715
714
|
catch (e) {
|
|
716
|
-
|
|
715
|
+
console.error(e);
|
|
717
716
|
}
|
|
718
717
|
unlock();
|
|
719
718
|
return changed;
|
|
@@ -755,7 +754,7 @@ const Router = /*@__PURE__*/ proxyCustomElement(class Router extends HTMLElement
|
|
|
755
754
|
}
|
|
756
755
|
async writeNavState(node, chain, direction, segments, redirectFrom, index = 0, animation) {
|
|
757
756
|
if (this.busy) {
|
|
758
|
-
|
|
757
|
+
console.warn('[ion-router] router is busy, transition was cancelled');
|
|
759
758
|
return false;
|
|
760
759
|
}
|
|
761
760
|
this.busy = true;
|