@ionic/core 8.4.4-dev.11741733932.1686c035 → 8.4.4-dev.11741890362.1f34266d
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 +30 -4
- package/components/helpers.js +7 -29
- package/components/index9.js +1 -1
- package/components/ion-range.js +28 -6
- package/components/ion-router.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-toggle.js +4 -3
- package/components/ionic-global.js +3 -13
- package/dist/cjs/{app-globals-21afee77.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-43e2b419.js} +1 -1
- package/dist/cjs/{framework-delegate-05579976.js → framework-delegate-11b0ba2f.js} +1 -1
- package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-5a99001f.js} +2 -2
- package/dist/cjs/{helpers-4be3f90d.js → helpers-d0dfbb50.js} +7 -28
- package/dist/cjs/{index-73f75efb.js → index-2e236a04.js} +0 -4
- package/dist/cjs/{index-ad7a712e.js → index-363fe6b2.js} +1 -1
- package/dist/cjs/{index-4e14a46e.js → index-55a184f7.js} +5 -5
- package/dist/cjs/{index-c441c903.js → index-77e085b4.js} +1 -1
- package/dist/cjs/{index-1ae3f40a.js → index-864d95f4.js} +3 -3
- package/dist/cjs/index.cjs.js +10 -10
- package/dist/cjs/{input-shims-e748a364.js → input-shims-52924092.js} +2 -2
- package/dist/cjs/{input.utils-74e4ec28.js → input.utils-e4144534.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +7 -7
- package/dist/cjs/ion-alert.cjs.entry.js +37 -11
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- 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 +6 -6
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +7 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +30 -9
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- 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 +3 -3
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +6 -6
- package/dist/cjs/ion-toggle.cjs.entry.js +7 -6
- package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-acb665ad.js} +3 -13
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-afdec89f.js → ios.transition-abac30e4.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-9f0d3db5.js → md.transition-e328f70d.js} +4 -4
- package/dist/cjs/{notch-controller-a0c464d1.js → notch-controller-58d2e557.js} +1 -1
- package/dist/cjs/{overlays-76b29cd4.js → overlays-2f264f05.js} +4 -4
- package/dist/cjs/{status-tap-fb807fad.js → status-tap-191ccc90.js} +3 -3
- package/dist/cjs/{swipe-back-47a52b83.js → swipe-back-951be2fd.js} +1 -1
- package/dist/collection/components/alert/alert.js +34 -4
- package/dist/collection/components/range/range.js +25 -6
- package/dist/collection/components/toggle/toggle.js +4 -3
- package/dist/collection/global/ionic-global.js +1 -12
- package/dist/collection/utils/floating-point/index.js +5 -0
- package/dist/collection/utils/helpers.js +6 -28
- package/dist/collection/utils/platform.js +2 -1
- package/dist/collection/utils/test/platform.utils.js +1 -1
- package/dist/docs.json +5 -1
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm/{framework-delegate-f683816e.js → framework-delegate-c7d92b77.js} +1 -1
- package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-864101a3.js} +2 -2
- package/dist/esm/{helpers-9b49d7d2.js → helpers-e48b0397.js} +7 -29
- package/dist/esm/{index-28849c61.js → index-527b9e34.js} +1 -4
- package/dist/esm/{index-5a0f5fd0.js → index-8222b29f.js} +1 -1
- package/dist/esm/{index-7ec5519a.js → index-c4a831fd.js} +5 -5
- package/dist/esm/{index-33f7e3ff.js → index-d4642b24.js} +1 -1
- package/dist/esm/{index-8785a9c6.js → index-df741ec6.js} +3 -3
- package/dist/esm/index.js +10 -10
- package/dist/esm/{input-shims-0e65111b.js → input-shims-80c5b98e.js} +2 -2
- package/dist/esm/{input.utils-1ad8dafc.js → input.utils-3a4c0a2a.js} +1 -1
- 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 +37 -11
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- 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 +6 -6
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -7
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +30 -9
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +7 -7
- 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 +3 -3
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +5 -5
- package/dist/esm/ion-toast.entry.js +6 -6
- package/dist/esm/ion-toggle.entry.js +7 -6
- package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-ca86cf32.js} +3 -13
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-085853ff.js → ios.transition-a81c9c6b.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-33826623.js → md.transition-dbb51edc.js} +4 -4
- package/dist/esm/{notch-controller-3dc61260.js → notch-controller-381a5334.js} +1 -1
- package/dist/esm/{overlays-e3d0d356.js → overlays-4ff1fca8.js} +4 -4
- package/dist/esm/{status-tap-163e8128.js → status-tap-73b183f4.js} +3 -3
- package/dist/esm/{swipe-back-23ee7ab1.js → swipe-back-276cda49.js} +1 -1
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm-es5/{framework-delegate-f683816e.js → framework-delegate-c7d92b77.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-864101a3.js} +1 -1
- package/dist/esm-es5/helpers-e48b0397.js +4 -0
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/{index-5a0f5fd0.js → index-8222b29f.js} +1 -1
- package/dist/esm-es5/{index-7ec5519a.js → index-c4a831fd.js} +1 -1
- package/dist/esm-es5/{index-33f7e3ff.js → index-d4642b24.js} +1 -1
- package/dist/esm-es5/{index-8785a9c6.js → index-df741ec6.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-0e65111b.js → input-shims-80c5b98e.js} +1 -1
- package/dist/esm-es5/{input.utils-1ad8dafc.js → input.utils-3a4c0a2a.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-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.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-085853ff.js → ios.transition-a81c9c6b.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-dbb51edc.js +4 -0
- package/dist/esm-es5/{notch-controller-3dc61260.js → notch-controller-381a5334.js} +1 -1
- package/dist/esm-es5/{overlays-e3d0d356.js → overlays-4ff1fca8.js} +1 -1
- package/dist/esm-es5/{status-tap-163e8128.js → status-tap-73b183f4.js} +1 -1
- package/dist/esm-es5/{swipe-back-23ee7ab1.js → swipe-back-276cda49.js} +1 -1
- 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-1a790eef.system.js → p-00ab8b89.system.js} +1 -1
- package/dist/ionic/{p-da8ef548.system.entry.js → p-023e8017.system.entry.js} +1 -1
- package/dist/ionic/p-0749768d.entry.js +4 -0
- package/dist/ionic/{p-c29f8157.system.entry.js → p-0b860115.system.entry.js} +1 -1
- package/dist/ionic/{p-f89cf011.system.entry.js → p-0c9b8240.system.entry.js} +1 -1
- package/dist/ionic/{p-92365bc1.system.entry.js → p-0eb49e5c.system.entry.js} +1 -1
- package/dist/ionic/{p-0eb2553a.system.entry.js → p-1164ff6b.system.entry.js} +1 -1
- package/dist/ionic/{p-d192fdf7.system.entry.js → p-11bbdab8.system.entry.js} +1 -1
- package/dist/ionic/p-1332050e.entry.js +4 -0
- package/dist/ionic/{p-76446a85.entry.js → p-16cd36e4.entry.js} +1 -1
- package/dist/ionic/p-19179876.js +4 -0
- package/dist/ionic/{p-2ef3c7ee.system.entry.js → p-1a289aba.system.entry.js} +1 -1
- package/dist/ionic/{p-5fce0c0b.system.entry.js → p-1c1d781d.system.entry.js} +1 -1
- package/dist/ionic/{p-45de8d2a.entry.js → p-1cfb788a.entry.js} +1 -1
- package/dist/ionic/p-1d98a7f1.entry.js +4 -0
- package/dist/ionic/{p-7458862e.system.entry.js → p-1ef02643.system.entry.js} +1 -1
- package/dist/ionic/{p-0a59f4fa.entry.js → p-1ffab75e.entry.js} +1 -1
- package/dist/ionic/{p-69066a53.js → p-21891ead.js} +1 -1
- package/dist/ionic/{p-70ccc275.system.entry.js → p-21d1c1c7.system.entry.js} +1 -1
- package/dist/ionic/{p-d743e981.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-075a94bd.js → p-27da8c2c.js} +1 -1
- package/dist/ionic/p-297d6806.system.js +4 -0
- package/dist/ionic/{p-a9e24ae2.system.entry.js → p-2ab4a324.system.entry.js} +1 -1
- package/dist/ionic/{p-48a8d9b4.system.entry.js → p-2d4658d4.system.entry.js} +1 -1
- package/dist/ionic/{p-e456ee59.system.entry.js → p-2f890012.system.entry.js} +1 -1
- package/dist/ionic/{p-561ddcd4.system.entry.js → p-31d6b3d0.system.entry.js} +2 -2
- package/dist/ionic/{p-3df889b3.system.entry.js → p-3250466d.system.entry.js} +1 -1
- package/dist/ionic/{p-6d32975a.entry.js → p-32d4ac00.entry.js} +1 -1
- package/dist/ionic/{p-56da53ad.system.entry.js → p-34b077b1.system.entry.js} +1 -1
- package/dist/ionic/{p-91f17b25.system.entry.js → p-36079188.system.entry.js} +2 -2
- package/dist/ionic/p-360f5507.entry.js +4 -0
- package/dist/ionic/{p-afecb188.entry.js → p-3705c194.entry.js} +1 -1
- package/dist/ionic/p-37e874f1.js +4 -0
- package/dist/ionic/{p-0397811d.entry.js → p-39b5611c.entry.js} +1 -1
- package/dist/ionic/p-3c66a690.entry.js +4 -0
- package/dist/ionic/{p-803f0bc2.entry.js → p-3e0bb0e1.entry.js} +1 -1
- package/dist/ionic/{p-4452a8ac.system.js → p-3e86b4fa.system.js} +1 -1
- package/dist/ionic/{p-6190d0d6.entry.js → p-3ef5e7fc.entry.js} +1 -1
- package/dist/ionic/{p-3572f86a.system.entry.js → p-3fc787a8.system.entry.js} +1 -1
- package/dist/ionic/{p-95da3ae2.system.js → p-44e168f3.system.js} +1 -1
- package/dist/ionic/p-4979cd1d.entry.js +4 -0
- package/dist/ionic/{p-dc146a2a.system.entry.js → p-49cb79a1.system.entry.js} +1 -1
- package/dist/ionic/{p-73dc4950.entry.js → p-4cfb0dc8.entry.js} +1 -1
- package/dist/ionic/p-4e1b109b.entry.js +4 -0
- package/dist/ionic/{p-da074ff7.entry.js → p-5175f06a.entry.js} +1 -1
- package/dist/ionic/{p-25fa1d30.system.entry.js → p-51fc2fac.system.entry.js} +1 -1
- package/dist/ionic/{p-c32644d7.entry.js → p-53d4d8c7.entry.js} +1 -1
- package/dist/ionic/p-5430a6da.entry.js +4 -0
- package/dist/ionic/p-597ff9af.js +4 -0
- package/dist/ionic/{p-e8f34871.entry.js → p-5f4ff20a.entry.js} +1 -1
- package/dist/ionic/{p-6b1bd0c1.entry.js → p-611d105b.entry.js} +1 -1
- package/dist/ionic/{p-bdad26e3.entry.js → p-61e794fb.entry.js} +1 -1
- package/dist/ionic/{p-3eaf1444.system.entry.js → p-6386ccd6.system.entry.js} +1 -1
- package/dist/ionic/{p-a4575db1.system.entry.js → p-6390c6ab.system.entry.js} +1 -1
- package/dist/ionic/p-64279526.js +4 -0
- package/dist/ionic/{p-0ee3b5a2.system.js → p-64da0521.system.js} +1 -1
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/{p-9be5f3ee.system.entry.js → p-684c6a80.system.entry.js} +2 -2
- package/dist/ionic/p-6aa6839e.entry.js +4 -0
- package/dist/ionic/{p-84b1b9a0.entry.js → p-6cb61a35.entry.js} +1 -1
- package/dist/ionic/{p-955c3eb8.entry.js → p-6e24cf82.entry.js} +1 -1
- package/dist/ionic/{p-42808996.js → p-7737b8fa.js} +1 -1
- package/dist/ionic/{p-a2b6dd57.system.js → p-782ed885.system.js} +1 -1
- package/dist/ionic/{p-9f3008d4.system.js → p-7cc33a9a.system.js} +1 -1
- package/dist/ionic/{p-a3c78186.system.entry.js → p-7d425376.system.entry.js} +1 -1
- package/dist/ionic/{p-f3102647.system.entry.js → p-7e3b5638.system.entry.js} +1 -1
- package/dist/ionic/p-7f39653f.entry.js +4 -0
- package/dist/ionic/{p-2507278c.system.entry.js → p-811ff2a0.system.entry.js} +2 -2
- package/dist/ionic/{p-57379000.entry.js → p-847fd113.entry.js} +1 -1
- package/dist/ionic/p-85446175.js +4 -0
- package/dist/ionic/{p-32e99b0a.entry.js → p-85f19de9.entry.js} +1 -1
- package/dist/ionic/{p-4ad78edc.entry.js → p-85f6070f.entry.js} +1 -1
- package/dist/ionic/p-89204f3f.system.js +4 -0
- package/dist/ionic/{p-2abae1cc.system.entry.js → p-8b378b48.system.entry.js} +1 -1
- package/dist/ionic/{p-e2e19375.system.entry.js → p-8cfaf64f.system.entry.js} +1 -1
- package/dist/ionic/p-8d611ccd.entry.js +4 -0
- package/dist/ionic/p-8db97fa1.js +4 -0
- package/dist/ionic/{p-9eee4de1.system.js → p-8dbe745b.system.js} +1 -1
- package/dist/ionic/{p-df862603.entry.js → p-9023f5eb.entry.js} +1 -1
- package/dist/ionic/p-9048389e.entry.js +4 -0
- package/dist/ionic/{p-aa63b365.system.js → p-91fe21bb.system.js} +1 -1
- package/dist/ionic/p-941c06bc.js +4 -0
- package/dist/ionic/{p-7b96e5c1.system.entry.js → p-96f7bb84.system.entry.js} +1 -1
- package/dist/ionic/p-988a0306.system.js +4 -0
- package/dist/ionic/{p-5126cf1e.system.js → p-9a2ff5ea.system.js} +1 -1
- package/dist/ionic/{p-ecceeb90.js → p-9af7f110.js} +1 -1
- package/dist/ionic/{p-26194519.entry.js → p-9e7a9a27.entry.js} +1 -1
- package/dist/ionic/{p-d3b26da4.system.entry.js → p-a300835e.system.entry.js} +1 -1
- package/dist/ionic/{p-372ae7f4.system.js → p-a4866e3e.system.js} +1 -1
- package/dist/ionic/{p-5cde8ef3.entry.js → p-a6042939.entry.js} +1 -1
- package/dist/ionic/{p-dd0c9350.system.entry.js → p-a63b345e.system.entry.js} +1 -1
- package/dist/ionic/{p-3c8e5c23.system.js → p-a6625de8.system.js} +1 -1
- package/dist/ionic/{p-d06601eb.system.entry.js → p-a6f13a4e.system.entry.js} +1 -1
- package/dist/ionic/{p-9a1f985d.system.entry.js → p-a8584808.system.entry.js} +1 -1
- package/dist/ionic/{p-77e7b7b6.system.entry.js → p-a8cc566d.system.entry.js} +1 -1
- package/dist/ionic/{p-83e68c71.entry.js → p-a9b9259c.entry.js} +1 -1
- package/dist/ionic/p-aae8187b.system.entry.js +4 -0
- package/dist/ionic/p-ad780230.js +4 -0
- package/dist/ionic/{p-e8232807.system.js → p-adbbf974.system.js} +1 -1
- package/dist/ionic/{p-e265ae18.system.entry.js → p-ae518f0b.system.entry.js} +1 -1
- package/dist/ionic/{p-c1b51537.system.js → p-af873227.system.js} +1 -1
- package/dist/ionic/p-afcd55c6.entry.js +4 -0
- package/dist/ionic/{p-62af944c.entry.js → p-afd7a6a9.entry.js} +1 -1
- package/dist/ionic/{p-14143257.entry.js → p-b7ed7f16.entry.js} +1 -1
- package/dist/ionic/{p-c8d645b3.entry.js → p-b85d199c.entry.js} +1 -1
- package/dist/ionic/{p-57ceead7.entry.js → p-b88c5ce4.entry.js} +1 -1
- package/dist/ionic/{p-1bc65aec.system.entry.js → p-b8e3b3ca.system.entry.js} +1 -1
- package/dist/ionic/p-b9ea58ef.js +4 -0
- package/dist/ionic/{p-322c5fb4.system.js → p-bf64af90.system.js} +1 -1
- package/dist/ionic/{p-0c9b6d3a.system.entry.js → p-bf7f7084.system.entry.js} +2 -2
- package/dist/ionic/{p-1bbe8665.system.entry.js → p-bf973e4b.system.entry.js} +2 -2
- package/dist/ionic/{p-33a8a71b.entry.js → p-c005cc37.entry.js} +1 -1
- package/dist/ionic/{p-f78af648.system.entry.js → p-c5abee89.system.entry.js} +1 -1
- package/dist/ionic/{p-2bc73fb5.js → p-c8402249.js} +1 -1
- package/dist/ionic/{p-424eb140.system.entry.js → p-c8c27ae7.system.entry.js} +1 -1
- package/dist/ionic/p-cbd5b96a.entry.js +4 -0
- package/dist/ionic/p-ccbb47f5.entry.js +4 -0
- package/dist/ionic/{p-02e23f26.entry.js → p-cd239b25.entry.js} +1 -1
- package/dist/ionic/{p-7a1766d6.js → p-ceaea4ce.js} +1 -1
- package/dist/ionic/{p-84d08aae.system.entry.js → p-d37fdc68.system.entry.js} +1 -1
- package/dist/ionic/{p-2515cb4d.system.entry.js → p-d4308e05.system.entry.js} +1 -1
- package/dist/ionic/{p-fca6ef5f.system.entry.js → p-da5ae6cf.system.entry.js} +1 -1
- package/dist/ionic/{p-16799667.system.entry.js → p-dbac4f3e.system.entry.js} +1 -1
- package/dist/ionic/p-dc8cbb8b.entry.js +4 -0
- package/dist/ionic/{p-ffc48bc5.system.entry.js → p-dd141012.system.entry.js} +1 -1
- package/dist/ionic/p-ded39921.entry.js +4 -0
- package/dist/ionic/{p-f301a694.system.entry.js → p-df4c00a4.system.entry.js} +1 -1
- package/dist/ionic/p-df61d353.entry.js +4 -0
- package/dist/ionic/{p-8a836849.entry.js → p-e394222f.entry.js} +1 -1
- package/dist/ionic/{p-162c8d0c.system.entry.js → p-ea925d34.system.entry.js} +1 -1
- package/dist/ionic/{p-13dc21b0.js → p-ec631b0f.js} +1 -1
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/{p-b91acf8d.system.entry.js → p-f1ad06bd.system.entry.js} +1 -1
- package/dist/ionic/{p-5b932840.entry.js → p-f1b20f28.entry.js} +1 -1
- package/dist/ionic/p-f1be5454.entry.js +4 -0
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/{p-340e3f24.system.js → p-f30071a2.system.js} +1 -1
- package/dist/ionic/{p-d4ca0475.js → p-f554845e.js} +1 -1
- package/dist/ionic/{p-881d9e52.system.js → p-f59611e2.system.js} +1 -1
- package/dist/ionic/p-f97efff5.system.entry.js +4 -0
- package/dist/ionic/{p-ed75fcfb.system.entry.js → p-f9e7de97.system.entry.js} +1 -1
- package/dist/ionic/{p-95775830.entry.js → p-fd0f8d68.entry.js} +1 -1
- package/dist/types/components/range/range.d.ts +3 -2
- package/dist/types/utils/config.d.ts +0 -3
- package/dist/types/utils/helpers.d.ts +4 -0
- package/dist/types/utils/native/capacitor.d.ts +7 -1
- package/dist/types/utils/test/platform.utils.d.ts +1 -1
- package/hydrate/index.js +68 -41
- package/hydrate/index.mjs +68 -41
- package/package.json +6 -6
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/helpers-9b49d7d2.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/ionic-global-c81d82ab.js +0 -4
- package/dist/esm-es5/md.transition-33826623.js +0 -4
- package/dist/ionic/p-02e1ebd9.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-0e43be1b.entry.js +0 -4
- package/dist/ionic/p-135e5731.js +0 -4
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-1f405274.js +0 -4
- package/dist/ionic/p-203633d1.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-265939f0.entry.js +0 -4
- package/dist/ionic/p-2c9eb774.system.js +0 -4
- package/dist/ionic/p-41780810.entry.js +0 -4
- package/dist/ionic/p-4346c79d.system.entry.js +0 -4
- package/dist/ionic/p-49a0e74c.entry.js +0 -4
- package/dist/ionic/p-4c252070.entry.js +0 -4
- package/dist/ionic/p-51dec25d.js +0 -4
- package/dist/ionic/p-61d044b4.entry.js +0 -4
- package/dist/ionic/p-68dc53a5.js +0 -4
- package/dist/ionic/p-7b98cebe.entry.js +0 -4
- package/dist/ionic/p-82b931e2.entry.js +0 -4
- package/dist/ionic/p-9b3bb24e.entry.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-af09741c.entry.js +0 -4
- package/dist/ionic/p-b0d8bbee.entry.js +0 -4
- package/dist/ionic/p-b3680e2f.system.js +0 -4
- package/dist/ionic/p-b7433d7d.js +0 -4
- package/dist/ionic/p-bb11d9fb.js +0 -4
- package/dist/ionic/p-bb2a6761.entry.js +0 -4
- package/dist/ionic/p-cc700b6b.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-e1bbacb7.entry.js +0 -4
- package/dist/ionic/p-e308de5b.system.js +0 -4
- package/dist/ionic/p-e97a3f44.entry.js +0 -4
- package/dist/ionic/p-f42743d1.entry.js +0 -4
- package/dist/ionic/p-f5035354.js +0 -4
- package/dist/ionic/p-fca17935.entry.js +0 -4
|
@@ -72,6 +72,7 @@ export class Alert {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
onKeydown(ev) {
|
|
75
|
+
var _a;
|
|
75
76
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
76
77
|
/**
|
|
77
78
|
* Based on keyboard navigation requirements, the
|
|
@@ -81,6 +82,17 @@ export class Alert {
|
|
|
81
82
|
ev.preventDefault();
|
|
82
83
|
return;
|
|
83
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
|
|
87
|
+
*/
|
|
88
|
+
if (ev.target.classList.contains('alert-wrapper')) {
|
|
89
|
+
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
90
|
+
ev.preventDefault();
|
|
91
|
+
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
92
|
+
lastChildBtn.focus();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
84
96
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
85
97
|
// ignore the keydown event if it is not on a radio button
|
|
86
98
|
if (!inputTypes.has('radio') ||
|
|
@@ -212,7 +224,21 @@ export class Alert {
|
|
|
212
224
|
async present() {
|
|
213
225
|
const unlock = await this.lockController.lock();
|
|
214
226
|
await this.delegateController.attachViewToDom();
|
|
215
|
-
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation)
|
|
227
|
+
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation).then(() => {
|
|
228
|
+
var _a, _b;
|
|
229
|
+
/**
|
|
230
|
+
* Check if alert has only one button and no inputs.
|
|
231
|
+
* If so, then focus on the button. Otherwise, focus the alert wrapper.
|
|
232
|
+
* This will map to the default native alert behavior.
|
|
233
|
+
*/
|
|
234
|
+
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
235
|
+
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
236
|
+
queryBtn.focus();
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
240
|
+
}
|
|
241
|
+
});
|
|
216
242
|
unlock();
|
|
217
243
|
}
|
|
218
244
|
/**
|
|
@@ -386,8 +412,8 @@ export class Alert {
|
|
|
386
412
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
387
413
|
const mode = getIonMode(this);
|
|
388
414
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
389
|
-
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
390
415
|
const msgId = `alert-${overlayIndex}-msg`;
|
|
416
|
+
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
391
417
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
392
418
|
/**
|
|
393
419
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -396,9 +422,9 @@ export class Alert {
|
|
|
396
422
|
* If neither are defined, do not set aria-labelledby.
|
|
397
423
|
*/
|
|
398
424
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
399
|
-
return (h(Host,
|
|
425
|
+
return (h(Host, { key: '755f2398806084f16ee24d9fefce9ebc0b8f30f2', tabindex: "-1", style: {
|
|
400
426
|
zIndex: `${20000 + overlayIndex}`,
|
|
401
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }
|
|
427
|
+
}, 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" })));
|
|
402
428
|
}
|
|
403
429
|
static get is() { return "ion-alert"; }
|
|
404
430
|
static get encapsulation() { return "scoped"; }
|
|
@@ -922,6 +948,10 @@ export class Alert {
|
|
|
922
948
|
"Promise": {
|
|
923
949
|
"location": "global",
|
|
924
950
|
"id": "global::Promise"
|
|
951
|
+
},
|
|
952
|
+
"HTMLButtonElement": {
|
|
953
|
+
"location": "global",
|
|
954
|
+
"id": "global::HTMLButtonElement"
|
|
925
955
|
}
|
|
926
956
|
},
|
|
927
957
|
"return": "Promise<void>"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
import { findClosestIonContent, disableContentScrollY, resetContentScrollY } from "../../utils/content/index";
|
|
6
|
-
import { inheritAriaAttributes, clamp, debounceEvent, renderHiddenInput } from "../../utils/helpers";
|
|
6
|
+
import { inheritAriaAttributes, clamp, debounceEvent, renderHiddenInput, isSafeNumber } from "../../utils/helpers";
|
|
7
7
|
import { printIonWarning } from "../../utils/logging/index";
|
|
8
8
|
import { isRTL } from "../../utils/rtl/index";
|
|
9
9
|
import { createColorClasses, hostContext } from "../../utils/theme";
|
|
@@ -128,16 +128,27 @@ export class Range {
|
|
|
128
128
|
*/
|
|
129
129
|
this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
|
|
130
130
|
}
|
|
131
|
-
minChanged() {
|
|
131
|
+
minChanged(newValue) {
|
|
132
|
+
if (!isSafeNumber(newValue)) {
|
|
133
|
+
this.min = 0;
|
|
134
|
+
}
|
|
132
135
|
if (!this.noUpdate) {
|
|
133
136
|
this.updateRatio();
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
|
-
maxChanged() {
|
|
139
|
+
maxChanged(newValue) {
|
|
140
|
+
if (!isSafeNumber(newValue)) {
|
|
141
|
+
this.max = 100;
|
|
142
|
+
}
|
|
137
143
|
if (!this.noUpdate) {
|
|
138
144
|
this.updateRatio();
|
|
139
145
|
}
|
|
140
146
|
}
|
|
147
|
+
stepChanged(newValue) {
|
|
148
|
+
if (!isSafeNumber(newValue)) {
|
|
149
|
+
this.step = 1;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
141
152
|
activeBarStartChanged() {
|
|
142
153
|
const { activeBarStart } = this;
|
|
143
154
|
if (activeBarStart !== undefined) {
|
|
@@ -170,6 +181,11 @@ export class Range {
|
|
|
170
181
|
this.rangeId = this.el.getAttribute('id');
|
|
171
182
|
}
|
|
172
183
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
184
|
+
// If min, max, or step are not safe, set them to 0, 100, and 1, respectively.
|
|
185
|
+
// Each watch does this, but not before the initial load.
|
|
186
|
+
this.min = isSafeNumber(this.min) ? this.min : 0;
|
|
187
|
+
this.max = isSafeNumber(this.max) ? this.max : 100;
|
|
188
|
+
this.step = isSafeNumber(this.step) ? this.step : 1;
|
|
173
189
|
}
|
|
174
190
|
componentDidLoad() {
|
|
175
191
|
this.originalIonInput = this.ionInput;
|
|
@@ -564,7 +580,7 @@ export class Range {
|
|
|
564
580
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
565
581
|
const mode = getIonMode(this);
|
|
566
582
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
567
|
-
return (h(Host, { key: '
|
|
583
|
+
return (h(Host, { key: 'a9dacdb8935627860188c035f2edf6b8cc751dc5', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
568
584
|
[mode]: true,
|
|
569
585
|
'in-item': inItem,
|
|
570
586
|
'range-disabled': disabled,
|
|
@@ -573,10 +589,10 @@ export class Range {
|
|
|
573
589
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
574
590
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
575
591
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
576
|
-
}) }, h("label", { key: '
|
|
592
|
+
}) }, h("label", { key: '4f5682ab5f793c1097956c092c8b88b6d676fe85', class: "range-wrapper", id: "range-label" }, h("div", { key: 'f906c5ab076275721cb8e99e22f5a3c2509713de', class: {
|
|
577
593
|
'label-text-wrapper': true,
|
|
578
594
|
'label-text-wrapper-hidden': !hasLabel,
|
|
579
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
595
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'bb6ca75df1394a01464d40a8b4ba6e08b3c12824', class: "native-wrapper" }, h("slot", { key: '34f6e5f0ee73864ed2fa64cf041639f842540ae6', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'b8602e24234900fe9bb300610b236951bf2c6ebb', name: "end" })))));
|
|
580
596
|
}
|
|
581
597
|
static get is() { return "ion-range"; }
|
|
582
598
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1031,6 +1047,9 @@ export class Range {
|
|
|
1031
1047
|
}, {
|
|
1032
1048
|
"propName": "max",
|
|
1033
1049
|
"methodName": "maxChanged"
|
|
1050
|
+
}, {
|
|
1051
|
+
"propName": "step",
|
|
1052
|
+
"methodName": "stepChanged"
|
|
1034
1053
|
}, {
|
|
1035
1054
|
"propName": "activeBarStart",
|
|
1036
1055
|
"methodName": "activeBarStartChanged"
|
|
@@ -81,6 +81,7 @@ export class Toggle {
|
|
|
81
81
|
const { checked, value } = this;
|
|
82
82
|
const isNowChecked = !checked;
|
|
83
83
|
this.checked = isNowChecked;
|
|
84
|
+
this.setFocus();
|
|
84
85
|
this.ionChange.emit({
|
|
85
86
|
checked: isNowChecked,
|
|
86
87
|
value,
|
|
@@ -157,7 +158,7 @@ export class Toggle {
|
|
|
157
158
|
const value = this.getValue();
|
|
158
159
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
159
160
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
160
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: '9d2a77db6d0bf36ef2452ac8b78a309943bff2b7', onClick: this.onClick, class: createColorClasses(color, {
|
|
161
162
|
[mode]: true,
|
|
162
163
|
'in-item': hostContext('ion-item', el),
|
|
163
164
|
'toggle-activated': activated,
|
|
@@ -167,10 +168,10 @@ export class Toggle {
|
|
|
167
168
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
168
169
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
169
170
|
[`toggle-${rtl}`]: true,
|
|
170
|
-
}) }, h("label", { key: '
|
|
171
|
+
}) }, h("label", { key: '079edf3636766fa423364e8e81712b83e8d5ec1c', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f822114a89c7a48480c06057c987c2d63f21a25b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '1029805e127d2632bafb484429fb79b244a52c57', class: {
|
|
171
172
|
'label-text-wrapper': true,
|
|
172
173
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
173
|
-
}, part: "label" }, h("slot", { key: '
|
|
174
|
+
}, part: "label" }, h("slot", { key: 'ed27634a667c5bf30561f9911a3f94f3f755028f' })), h("div", { key: '72ef6224eece08b6539fb3797e81d8817651a952', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
174
175
|
}
|
|
175
176
|
static get is() { return "ion-toggle"; }
|
|
176
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { getMode, setMode
|
|
4
|
+
import { getMode, setMode } from "@stencil/core";
|
|
5
5
|
import { isPlatform, setupPlatforms } from "../utils/platform";
|
|
6
6
|
import { config, configFromSession, configFromURL, saveConfig } from "./config";
|
|
7
7
|
// TODO(FW-2832): types
|
|
@@ -16,17 +16,6 @@ export const initialize = (userConfig = {}) => {
|
|
|
16
16
|
const doc = window.document;
|
|
17
17
|
const win = window;
|
|
18
18
|
const Ionic = (win.Ionic = win.Ionic || {});
|
|
19
|
-
const platformHelpers = {};
|
|
20
|
-
if (userConfig._ael) {
|
|
21
|
-
platformHelpers.ael = userConfig._ael;
|
|
22
|
-
}
|
|
23
|
-
if (userConfig._rel) {
|
|
24
|
-
platformHelpers.rel = userConfig._rel;
|
|
25
|
-
}
|
|
26
|
-
if (userConfig._ce) {
|
|
27
|
-
platformHelpers.ce = userConfig._ce;
|
|
28
|
-
}
|
|
29
|
-
setPlatformHelpers(platformHelpers);
|
|
30
19
|
// create the Ionic.config from raw config object (if it exists)
|
|
31
20
|
// and convert Ionic.config into a ConfigApi that has a get() fn
|
|
32
21
|
const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { isSafeNumber } from "../helpers";
|
|
4
5
|
export function getDecimalPlaces(n) {
|
|
6
|
+
if (!isSafeNumber(n))
|
|
7
|
+
return 0;
|
|
5
8
|
if (n % 1 === 0)
|
|
6
9
|
return 0;
|
|
7
10
|
return n.toString().split('.')[1].length;
|
|
@@ -39,6 +42,8 @@ export function getDecimalPlaces(n) {
|
|
|
39
42
|
* be used as a reference for the desired specificity.
|
|
40
43
|
*/
|
|
41
44
|
export function roundToMaxDecimalPlaces(n, ...references) {
|
|
45
|
+
if (!isSafeNumber(n))
|
|
46
|
+
return 0;
|
|
42
47
|
const maxPlaces = Math.max(...references.map((r) => getDecimalPlaces(r)));
|
|
43
48
|
return Number(n.toFixed(maxPlaces));
|
|
44
49
|
}
|
|
@@ -169,37 +169,9 @@ export const inheritAriaAttributes = (el, ignoreList) => {
|
|
|
169
169
|
return inheritAttributes(el, attributesToInherit);
|
|
170
170
|
};
|
|
171
171
|
export const addEventListener = (el, eventName, callback, opts) => {
|
|
172
|
-
var _a;
|
|
173
|
-
if (typeof window !== 'undefined') {
|
|
174
|
-
const win = window;
|
|
175
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
176
|
-
if (config) {
|
|
177
|
-
const ael = config.get('_ael');
|
|
178
|
-
if (ael) {
|
|
179
|
-
return ael(el, eventName, callback, opts);
|
|
180
|
-
}
|
|
181
|
-
else if (config._ael) {
|
|
182
|
-
return config._ael(el, eventName, callback, opts);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
172
|
return el.addEventListener(eventName, callback, opts);
|
|
187
173
|
};
|
|
188
174
|
export const removeEventListener = (el, eventName, callback, opts) => {
|
|
189
|
-
var _a;
|
|
190
|
-
if (typeof window !== 'undefined') {
|
|
191
|
-
const win = window;
|
|
192
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
193
|
-
if (config) {
|
|
194
|
-
const rel = config.get('_rel');
|
|
195
|
-
if (rel) {
|
|
196
|
-
return rel(el, eventName, callback, opts);
|
|
197
|
-
}
|
|
198
|
-
else if (config._rel) {
|
|
199
|
-
return config._rel(el, eventName, callback, opts);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
175
|
return el.removeEventListener(eventName, callback, opts);
|
|
204
176
|
};
|
|
205
177
|
/**
|
|
@@ -374,3 +346,9 @@ export const getNextSiblingOfType = (element) => {
|
|
|
374
346
|
}
|
|
375
347
|
return null;
|
|
376
348
|
};
|
|
349
|
+
/**
|
|
350
|
+
* Checks input for usable number. Not NaN and not Infinite.
|
|
351
|
+
*/
|
|
352
|
+
export const isSafeNumber = (input) => {
|
|
353
|
+
return typeof input === 'number' && !isNaN(input) && isFinite(input);
|
|
354
|
+
};
|
|
@@ -67,7 +67,8 @@ const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
|
|
|
67
67
|
const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
|
|
68
68
|
const isCapacitorNative = (win) => {
|
|
69
69
|
const capacitor = win['Capacitor'];
|
|
70
|
-
|
|
70
|
+
// TODO(ROU-11693): Remove when we no longer support Capacitor 2, which does not have isNativePlatform
|
|
71
|
+
return !!((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative) || ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNativePlatform) && !!capacitor.isNativePlatform()));
|
|
71
72
|
};
|
|
72
73
|
const isElectron = (win) => testUserAgent(win, /electron/i);
|
|
73
74
|
const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-03-
|
|
2
|
+
"timestamp": "2025-03-13T18:27:49",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.20.0",
|
|
@@ -1921,6 +1921,10 @@
|
|
|
1921
1921
|
"Promise": {
|
|
1922
1922
|
"location": "global",
|
|
1923
1923
|
"id": "global::Promise"
|
|
1924
|
+
},
|
|
1925
|
+
"HTMLButtonElement": {
|
|
1926
|
+
"location": "global",
|
|
1927
|
+
"id": "global::HTMLButtonElement"
|
|
1924
1928
|
}
|
|
1925
1929
|
},
|
|
1926
1930
|
"return": "Promise<void>"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as writeTask } from './index-
|
|
4
|
+
import { w as writeTask } from './index-527b9e34.js';
|
|
5
5
|
import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-ac164e4c.js';
|
|
6
6
|
import { createGesture } from './index-39782642.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as componentOnReady } from './helpers-
|
|
4
|
+
import { c as componentOnReady } from './helpers-e48b0397.js';
|
|
5
5
|
|
|
6
6
|
// TODO(FW-2832): types
|
|
7
7
|
const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { c as config } from './ionic-global-
|
|
6
|
-
import './index-
|
|
5
|
+
import { c as config } from './ionic-global-ca86cf32.js';
|
|
6
|
+
import './index-527b9e34.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* CloseWatcher is a newer API that lets
|
|
@@ -169,37 +169,9 @@ const inheritAriaAttributes = (el, ignoreList) => {
|
|
|
169
169
|
return inheritAttributes(el, attributesToInherit);
|
|
170
170
|
};
|
|
171
171
|
const addEventListener = (el, eventName, callback, opts) => {
|
|
172
|
-
var _a;
|
|
173
|
-
if (typeof window !== 'undefined') {
|
|
174
|
-
const win = window;
|
|
175
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
176
|
-
if (config) {
|
|
177
|
-
const ael = config.get('_ael');
|
|
178
|
-
if (ael) {
|
|
179
|
-
return ael(el, eventName, callback, opts);
|
|
180
|
-
}
|
|
181
|
-
else if (config._ael) {
|
|
182
|
-
return config._ael(el, eventName, callback, opts);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
172
|
return el.addEventListener(eventName, callback, opts);
|
|
187
173
|
};
|
|
188
174
|
const removeEventListener = (el, eventName, callback, opts) => {
|
|
189
|
-
var _a;
|
|
190
|
-
if (typeof window !== 'undefined') {
|
|
191
|
-
const win = window;
|
|
192
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
193
|
-
if (config) {
|
|
194
|
-
const rel = config.get('_rel');
|
|
195
|
-
if (rel) {
|
|
196
|
-
return rel(el, eventName, callback, opts);
|
|
197
|
-
}
|
|
198
|
-
else if (config._rel) {
|
|
199
|
-
return config._rel(el, eventName, callback, opts);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
175
|
return el.removeEventListener(eventName, callback, opts);
|
|
204
176
|
};
|
|
205
177
|
/**
|
|
@@ -368,5 +340,11 @@ const getNextSiblingOfType = (element) => {
|
|
|
368
340
|
}
|
|
369
341
|
return null;
|
|
370
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* Checks input for usable number. Not NaN and not Infinite.
|
|
345
|
+
*/
|
|
346
|
+
const isSafeNumber = (input) => {
|
|
347
|
+
return typeof input === 'number' && !isNaN(input) && isFinite(input);
|
|
348
|
+
};
|
|
371
349
|
|
|
372
|
-
export { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k,
|
|
350
|
+
export { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k, isSafeNumber as l, hasShadowDom as m, assert as n, getNextSiblingOfType as o, isEndSide as p, debounce as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t, pointerCoord as u };
|
|
@@ -96,9 +96,6 @@ var plt = {
|
|
|
96
96
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
97
97
|
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
98
98
|
};
|
|
99
|
-
var setPlatformHelpers = (helpers) => {
|
|
100
|
-
Object.assign(plt, helpers);
|
|
101
|
-
};
|
|
102
99
|
var supportsShadow = BUILD.shadowDom;
|
|
103
100
|
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
104
101
|
let supportsListenerOptions2 = false;
|
|
@@ -2285,4 +2282,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2285
2282
|
// src/runtime/nonce.ts
|
|
2286
2283
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2287
2284
|
|
|
2288
|
-
export { Build as B, H,
|
|
2285
|
+
export { Build as B, H, setMode as a, bootstrapLazy as b, createEvent as c, readTask as d, Host as e, getElement as f, getMode as g, h, forceUpdate as i, getAssetPath as j, promiseResolve as p, registerInstance as r, setNonce as s, writeTask as w };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import {
|
|
5
|
+
import { u as pointerCoord } from './helpers-e48b0397.js';
|
|
6
6
|
|
|
7
7
|
const startTapClick = (config) => {
|
|
8
8
|
if (doc === undefined) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as config } from './ionic-global-
|
|
5
|
-
import { w as writeTask, B as Build } from './index-
|
|
4
|
+
import { c as config } from './ionic-global-ca86cf32.js';
|
|
5
|
+
import { w as writeTask, B as Build } from './index-527b9e34.js';
|
|
6
6
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
7
|
-
import { r as raf } from './helpers-
|
|
7
|
+
import { r as raf } from './helpers-e48b0397.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
10
10
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => import('./ios.transition-a81c9c6b.js');
|
|
124
|
+
const mdTransitionAnimation = () => import('./md.transition-dbb51edc.js');
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
const transition = (opts) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as componentOnReady } from './helpers-
|
|
4
|
+
import { c as componentOnReady } from './helpers-e48b0397.js';
|
|
5
5
|
import { b as printRequiredElementError } from './index-9b0d46f4.js';
|
|
6
6
|
|
|
7
7
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-
|
|
5
|
+
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-864101a3.js';
|
|
6
6
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
7
|
-
import { c as componentOnReady } from './helpers-
|
|
8
|
-
import { b as getIonMode } from './ionic-global-
|
|
7
|
+
import { c as componentOnReady } from './helpers-e48b0397.js';
|
|
8
|
+
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
9
9
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/esm/index.js
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
export { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-c4a831fd.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-a81c9c6b.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-dbb51edc.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
|
-
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-
|
|
11
|
-
export { c as componentOnReady } from './helpers-
|
|
10
|
+
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-ca86cf32.js';
|
|
11
|
+
export { c as componentOnReady } from './helpers-e48b0397.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-df741ec6.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-4ff1fca8.js';
|
|
16
16
|
import './index-a5d50daf.js';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-527b9e34.js';
|
|
18
18
|
import './index-9b0d46f4.js';
|
|
19
19
|
import './gesture-controller-314a54f6.js';
|
|
20
|
-
import './hardware-back-button-
|
|
21
|
-
import './framework-delegate-
|
|
20
|
+
import './hardware-back-button-864101a3.js';
|
|
21
|
+
import './framework-delegate-c7d92b77.js';
|
|
22
22
|
|
|
23
23
|
const IonicSlides = (opts) => {
|
|
24
24
|
const { swiper, extendParams } = opts;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win, d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-
|
|
6
|
-
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-d4642b24.js';
|
|
6
|
+
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-e48b0397.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard-73175e24.js';
|
|
8
8
|
import './index-9b0d46f4.js';
|
|
9
9
|
import './capacitor-59395cbd.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
|
-
import { r as raf } from './helpers-
|
|
5
|
+
import { r as raf } from './helpers-e48b0397.js';
|
|
6
6
|
import { a as printIonError } from './index-9b0d46f4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h,
|
|
5
|
-
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-
|
|
4
|
+
import { r as registerInstance, h, e as Host, f as getElement, c as createEvent } from './index-527b9e34.js';
|
|
5
|
+
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-e48b0397.js';
|
|
6
6
|
import { l as chevronDown } from './index-e2cf2ceb.js';
|
|
7
|
-
import { c as config, b as getIonMode } from './ionic-global-
|
|
7
|
+
import { c as config, b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
8
8
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
9
9
|
|
|
10
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}";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance,
|
|
5
|
-
import { c as createButtonActiveGesture } from './button-active-
|
|
6
|
-
import { r as raf } from './helpers-
|
|
4
|
+
import { r as registerInstance, c as createEvent, d as readTask, h, e as Host, f as getElement } from './index-527b9e34.js';
|
|
5
|
+
import { c as createButtonActiveGesture } from './button-active-90f1dbc4.js';
|
|
6
|
+
import { r as raf } from './helpers-e48b0397.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-4ff1fca8.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
|
-
import { b as getIonMode } from './ionic-global-
|
|
10
|
+
import { b as getIonMode } from './ionic-global-ca86cf32.js';
|
|
11
11
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
12
12
|
import './haptic-ac164e4c.js';
|
|
13
13
|
import './capacitor-59395cbd.js';
|
|
14
14
|
import './index-a5d50daf.js';
|
|
15
15
|
import './index-39782642.js';
|
|
16
16
|
import './gesture-controller-314a54f6.js';
|
|
17
|
-
import './hardware-back-button-
|
|
18
|
-
import './framework-delegate-
|
|
17
|
+
import './hardware-back-button-864101a3.js';
|
|
18
|
+
import './framework-delegate-c7d92b77.js';
|
|
19
19
|
import './index-9b0d46f4.js';
|
|
20
20
|
|
|
21
21
|
/**
|