@ionic/core 8.4.4-dev.11739906326.1989484f → 8.4.4-dev.11740658609.11c22eeb
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 +25 -4
- package/components/helpers.js +11 -1
- package/components/index6.js +3 -11
- package/components/index9.js +1 -1
- package/components/ion-segment-button.js +40 -9
- package/components/radio.js +5 -37
- package/components/toolbar.js +2 -2
- package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
- package/dist/cjs/{index-3652c918.js → index-1ae3f40a.js} +2 -2
- package/dist/cjs/{index-e975c92b.js → index-4e14a46e.js} +4 -4
- package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
- package/dist/cjs/{index-0d762bba.js → index-c441c903.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/{input-shims-cd05268a.js → input-shims-e748a364.js} +3 -5
- package/dist/cjs/{input.utils-ffb2f81b.js → input.utils-74e4ec28.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +29 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +11 -11
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -36
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +40 -9
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-0e664e88.js → ios.transition-afdec89f.js} +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-2e8aef2c.js → md.transition-9f0d3db5.js} +3 -3
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
- package/dist/cjs/{overlays-65fdaff6.js → overlays-76b29cd4.js} +3 -3
- package/dist/cjs/{status-tap-d74f1429.js → status-tap-fb807fad.js} +3 -4
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
- package/dist/collection/components/alert/alert.js +29 -4
- package/dist/collection/components/radio/radio.ios.css +15 -52
- package/dist/collection/components/radio/radio.js +3 -70
- package/dist/collection/components/radio/radio.md.css +15 -52
- package/dist/collection/components/segment-button/segment-button.js +40 -9
- package/dist/collection/components/toolbar/toolbar.js +2 -6
- package/dist/collection/utils/helpers.js +10 -0
- package/dist/collection/utils/logging/index.js +3 -10
- package/dist/docs.json +6 -99
- package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
- package/dist/esm/{index-efb8ecdf.js → index-33f7e3ff.js} +2 -2
- package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
- package/dist/esm/{index-2f7fde3d.js → index-7ec5519a.js} +4 -4
- package/dist/esm/{index-cb21eccb.js → index-8785a9c6.js} +2 -2
- package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/index.js +8 -8
- package/dist/esm/{input-shims-2fd7c6ef.js → input-shims-0e65111b.js} +3 -5
- package/dist/esm/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +29 -8
- package/dist/esm/ion-app_8.entry.js +11 -11
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime_3.entry.js +5 -5
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +3 -3
- package/dist/esm/ion-item_8.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +6 -6
- package/dist/esm/ion-nav_2.entry.js +5 -5
- package/dist/esm/ion-picker-column-option.entry.js +1 -1
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +6 -36
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +40 -9
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +5 -5
- package/dist/esm/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm/ion-tab_2.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-571b3859.js → md.transition-33826623.js} +3 -3
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
- package/dist/esm/{overlays-5deab4de.js → overlays-e3d0d356.js} +3 -3
- package/dist/esm/{status-tap-79eac0ac.js → status-tap-163e8128.js} +3 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
- package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
- package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
- package/dist/esm-es5/{index-efb8ecdf.js → index-33f7e3ff.js} +1 -1
- package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
- package/dist/esm-es5/{index-2f7fde3d.js → index-7ec5519a.js} +1 -1
- package/dist/esm-es5/{index-cb21eccb.js → index-8785a9c6.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0e65111b.js +4 -0
- package/dist/esm-es5/{input.utils-961c9f17.js → input.utils-1ad8dafc.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-back-button.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-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-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-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.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.js +1 -1
- package/dist/esm-es5/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-33826623.js +4 -0
- package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
- package/dist/esm-es5/{overlays-5deab4de.js → overlays-e3d0d356.js} +1 -1
- package/dist/esm-es5/status-tap-163e8128.js +4 -0
- package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
- package/dist/html.html-data.json +0 -8
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f1c4dcd4.js → p-02e1ebd9.js} +1 -1
- package/dist/ionic/{p-937a7e21.entry.js → p-02e23f26.entry.js} +1 -1
- package/dist/ionic/{p-9b428d25.entry.js → p-0397811d.entry.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-075a94bd.js +4 -0
- package/dist/ionic/{p-908d6080.entry.js → p-0a59f4fa.entry.js} +1 -1
- package/dist/ionic/{p-2346ab53.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
- package/dist/ionic/{p-f55baa37.entry.js → p-0e43be1b.entry.js} +1 -1
- package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
- package/dist/ionic/p-0ee3b5a2.system.js +4 -0
- package/dist/ionic/p-135e5731.js +4 -0
- package/dist/ionic/{p-b6efeab8.js → p-13dc21b0.js} +1 -1
- package/dist/ionic/{p-7a6eaf9e.entry.js → p-14143257.entry.js} +1 -1
- package/dist/ionic/{p-248318e0.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
- package/dist/ionic/{p-a88dec0d.system.js → p-1a790eef.system.js} +2 -2
- package/dist/ionic/{p-74e3f0af.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
- package/dist/ionic/{p-a0eb506c.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
- package/dist/ionic/p-1f405274.js +4 -0
- package/dist/ionic/{p-120fb79a.entry.js → p-203633d1.entry.js} +1 -1
- package/dist/ionic/{p-2b838f86.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
- package/dist/ionic/{p-bc64bd27.system.entry.js → p-25fa1d30.system.entry.js} +1 -1
- package/dist/ionic/{p-f1060cd8.entry.js → p-26194519.entry.js} +1 -1
- package/dist/ionic/{p-de930745.entry.js → p-265939f0.entry.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
- package/dist/ionic/{p-1a11f49f.entry.js → p-2c8798d0.entry.js} +1 -1
- package/dist/ionic/p-2c9eb774.system.js +4 -0
- package/dist/ionic/{p-a4a2420e.system.entry.js → p-2e4be620.system.entry.js} +1 -1
- package/dist/ionic/{p-2e46590d.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-f63c2d12.entry.js → p-32e99b0a.entry.js} +1 -1
- package/dist/ionic/{p-c4238c12.system.js → p-340e3f24.system.js} +1 -1
- package/dist/ionic/{p-a090bce8.system.entry.js → p-3572f86a.system.entry.js} +1 -1
- package/dist/ionic/p-360ced64.entry.js +4 -0
- package/dist/ionic/{p-ab674093.system.entry.js → p-3df889b3.system.entry.js} +1 -1
- package/dist/ionic/{p-05b74e45.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
- package/dist/ionic/{p-9df2c6fb.entry.js → p-41780810.entry.js} +1 -1
- package/dist/ionic/{p-1ab13b2b.js → p-42808996.js} +1 -1
- package/dist/ionic/{p-744c8672.system.entry.js → p-4346c79d.system.entry.js} +1 -1
- package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
- package/dist/ionic/{p-b1eb86fd.entry.js → p-45de8d2a.entry.js} +1 -1
- package/dist/ionic/{p-69666e8a.system.entry.js → p-48a8d9b4.system.entry.js} +1 -1
- package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
- package/dist/ionic/{p-2da9c8a7.entry.js → p-4c252070.entry.js} +1 -1
- package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
- package/dist/ionic/{p-cb13696c.js → p-51dec25d.js} +1 -1
- package/dist/ionic/{p-933727f9.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
- package/dist/ionic/p-56da53ad.system.entry.js +4 -0
- package/dist/ionic/{p-948e6c6a.entry.js → p-57379000.entry.js} +1 -1
- package/dist/ionic/{p-e06057c9.entry.js → p-57ceead7.entry.js} +1 -1
- package/dist/ionic/{p-15d18206.entry.js → p-5cde8ef3.entry.js} +1 -1
- package/dist/ionic/p-6190d0d6.entry.js +4 -0
- package/dist/ionic/{p-5ab1b709.entry.js → p-61d044b4.entry.js} +1 -1
- package/dist/ionic/p-68dc53a5.js +4 -0
- package/dist/ionic/{p-61db139d.entry.js → p-6b1bd0c1.entry.js} +1 -1
- package/dist/ionic/p-70ccc275.system.entry.js +4 -0
- package/dist/ionic/{p-98ff6b32.entry.js → p-76446a85.entry.js} +1 -1
- package/dist/ionic/{p-98231c01.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
- package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
- package/dist/ionic/{p-cba1f9bc.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
- package/dist/ionic/{p-16188af7.entry.js → p-7b98cebe.entry.js} +1 -1
- package/dist/ionic/{p-8694928f.entry.js → p-803f0bc2.entry.js} +1 -1
- package/dist/ionic/{p-92763d3d.entry.js → p-82b931e2.entry.js} +1 -1
- package/dist/ionic/{p-7a02f476.entry.js → p-83e68c71.entry.js} +1 -1
- package/dist/ionic/{p-1e67b266.system.entry.js → p-84d08aae.system.entry.js} +1 -1
- package/dist/ionic/{p-d22e2a38.system.js → p-881d9e52.system.js} +1 -1
- package/dist/ionic/p-8a836849.entry.js +4 -0
- package/dist/ionic/{p-e09d6392.system.entry.js → p-91f17b25.system.entry.js} +2 -2
- package/dist/ionic/{p-567de071.system.entry.js → p-92365bc1.system.entry.js} +1 -1
- package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
- package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
- package/dist/ionic/{p-6dfb0f39.system.entry.js → p-9a1f985d.system.entry.js} +1 -1
- package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
- package/dist/ionic/{p-d6eaffb1.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
- package/dist/ionic/{p-5c08627a.system.js → p-9eee4de1.system.js} +1 -1
- package/dist/ionic/{p-7de1e42c.system.js → p-a2b6dd57.system.js} +1 -1
- package/dist/ionic/{p-9b122e3c.system.entry.js → p-a3c78186.system.entry.js} +1 -1
- package/dist/ionic/{p-6933c482.system.entry.js → p-a4575db1.system.entry.js} +1 -1
- package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
- package/dist/ionic/{p-0eb35a7f.system.js → p-aa63b365.system.js} +1 -1
- package/dist/ionic/p-af09741c.entry.js +4 -0
- package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
- package/dist/ionic/p-b7433d7d.js +4 -0
- package/dist/ionic/{p-585b455c.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
- package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
- package/dist/ionic/{p-081a4ce4.entry.js → p-bb2a6761.entry.js} +1 -1
- package/dist/ionic/{p-ada36597.system.js → p-c1b51537.system.js} +1 -1
- package/dist/ionic/{p-8cfba7e9.system.entry.js → p-c29f8157.system.entry.js} +1 -1
- package/dist/ionic/{p-bb0db172.entry.js → p-c32644d7.entry.js} +1 -1
- package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
- package/dist/ionic/{p-5c9eb9af.entry.js → p-cc700b6b.entry.js} +1 -1
- package/dist/ionic/{p-ebf042e0.system.entry.js → p-d06601eb.system.entry.js} +1 -1
- package/dist/ionic/{p-f1120724.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
- package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
- package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
- package/dist/ionic/{p-89bf08c7.entry.js → p-da074ff7.entry.js} +1 -1
- package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
- package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
- package/dist/ionic/{p-cac0e0b3.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
- package/dist/ionic/p-df862603.entry.js +4 -0
- package/dist/ionic/{p-eef505e8.entry.js → p-e1bbacb7.entry.js} +1 -1
- package/dist/ionic/{p-302b50bb.system.entry.js → p-e265ae18.system.entry.js} +1 -1
- package/dist/ionic/{p-2172893e.system.entry.js → p-e2e19375.system.entry.js} +1 -1
- package/dist/ionic/p-e308de5b.system.js +4 -0
- package/dist/ionic/{p-b3c60433.system.js → p-e8232807.system.js} +1 -1
- package/dist/ionic/{p-15e76dd1.entry.js → p-e8f34871.entry.js} +1 -1
- package/dist/ionic/{p-fceec762.entry.js → p-e97a3f44.entry.js} +1 -1
- package/dist/ionic/{p-fd1c40cc.system.entry.js → p-f2b8c349.system.entry.js} +1 -1
- package/dist/ionic/{p-e4ee80be.system.entry.js → p-f301a694.system.entry.js} +1 -1
- package/dist/ionic/{p-e76dae93.entry.js → p-f42743d1.entry.js} +1 -1
- package/dist/ionic/{p-28706c6f.js → p-f5035354.js} +1 -1
- package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/{p-797eeea8.system.entry.js → p-f78af648.system.entry.js} +1 -1
- package/dist/ionic/{p-63b0abde.system.entry.js → p-f89cf011.system.entry.js} +1 -1
- package/dist/ionic/{p-7b9a2b23.entry.js → p-fca17935.entry.js} +1 -1
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/ionic/{p-fbd41a7e.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
- package/dist/types/components/radio/radio.d.ts +0 -19
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/toolbar/toolbar.d.ts +0 -4
- package/dist/types/components.d.ts +0 -16
- package/dist/types/utils/config.d.ts +0 -9
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/hydrate/index.js +84 -67
- package/hydrate/index.mjs +84 -67
- package/package.json +2 -2
- package/dist/esm-es5/index-6ad967f3.js +0 -4
- package/dist/esm-es5/input-shims-2fd7c6ef.js +0 -4
- package/dist/esm-es5/md.transition-571b3859.js +0 -4
- package/dist/esm-es5/status-tap-79eac0ac.js +0 -4
- package/dist/ionic/p-0af823e1.js +0 -4
- package/dist/ionic/p-1b1af767.system.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4c98e2cf.system.js +0 -4
- package/dist/ionic/p-4ec778aa.entry.js +0 -4
- package/dist/ionic/p-577bc414.entry.js +0 -4
- package/dist/ionic/p-67222c16.system.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-7513b0c4.js +0 -4
- package/dist/ionic/p-92a0f863.entry.js +0 -4
- package/dist/ionic/p-9343a445.js +0 -4
- package/dist/ionic/p-a3db8ee3.js +0 -4
- package/dist/ionic/p-a8f2c254.entry.js +0 -4
- package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
- package/dist/ionic/p-cdc83025.entry.js +0 -4
- package/dist/ionic/p-d1c5b60e.system.js +0 -4
- package/dist/ionic/p-e8d56122.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -2706,6 +2706,16 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
2706
2706
|
}
|
|
2707
2707
|
return true;
|
|
2708
2708
|
};
|
|
2709
|
+
const getNextSiblingOfType = (element) => {
|
|
2710
|
+
let sibling = element.nextSibling;
|
|
2711
|
+
while (sibling) {
|
|
2712
|
+
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
2713
|
+
return sibling;
|
|
2714
|
+
}
|
|
2715
|
+
sibling = sibling.nextSibling;
|
|
2716
|
+
}
|
|
2717
|
+
return null;
|
|
2718
|
+
};
|
|
2709
2719
|
|
|
2710
2720
|
/* Ionicons v7.2.2, ES Modules */
|
|
2711
2721
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
|
@@ -3213,12 +3223,9 @@ let accordionIds = 0;
|
|
|
3213
3223
|
* @param message - The string message to be logged to the console.
|
|
3214
3224
|
*/
|
|
3215
3225
|
const printIonWarning = (message, ...params) => {
|
|
3216
|
-
|
|
3217
|
-
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
3218
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
3219
|
-
}
|
|
3226
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
3220
3227
|
};
|
|
3221
|
-
|
|
3228
|
+
/*
|
|
3222
3229
|
* Logs an error to the console with an Ionic prefix
|
|
3223
3230
|
* to indicate the library that is warning the developer.
|
|
3224
3231
|
*
|
|
@@ -3226,10 +3233,7 @@ const printIonWarning = (message, ...params) => {
|
|
|
3226
3233
|
* @param params - Additional arguments to supply to the console.error.
|
|
3227
3234
|
*/
|
|
3228
3235
|
const printIonError = (message, ...params) => {
|
|
3229
|
-
|
|
3230
|
-
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
3231
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
3232
|
-
}
|
|
3236
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
3233
3237
|
};
|
|
3234
3238
|
/**
|
|
3235
3239
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
@@ -6993,6 +6997,7 @@ class Alert {
|
|
|
6993
6997
|
}
|
|
6994
6998
|
}
|
|
6995
6999
|
onKeydown(ev) {
|
|
7000
|
+
var _a;
|
|
6996
7001
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
6997
7002
|
/**
|
|
6998
7003
|
* Based on keyboard navigation requirements, the
|
|
@@ -7002,6 +7007,17 @@ class Alert {
|
|
|
7002
7007
|
ev.preventDefault();
|
|
7003
7008
|
return;
|
|
7004
7009
|
}
|
|
7010
|
+
/**
|
|
7011
|
+
* 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.
|
|
7012
|
+
*/
|
|
7013
|
+
if (ev.target.classList.contains('alert-wrapper')) {
|
|
7014
|
+
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
7015
|
+
ev.preventDefault();
|
|
7016
|
+
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
7017
|
+
lastChildBtn.focus();
|
|
7018
|
+
return;
|
|
7019
|
+
}
|
|
7020
|
+
}
|
|
7005
7021
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
7006
7022
|
// ignore the keydown event if it is not on a radio button
|
|
7007
7023
|
if (!inputTypes.has('radio') ||
|
|
@@ -7133,7 +7149,16 @@ class Alert {
|
|
|
7133
7149
|
async present() {
|
|
7134
7150
|
const unlock = await this.lockController.lock();
|
|
7135
7151
|
await this.delegateController.attachViewToDom();
|
|
7136
|
-
await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4)
|
|
7152
|
+
await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4).then(() => {
|
|
7153
|
+
var _a, _b;
|
|
7154
|
+
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
7155
|
+
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
7156
|
+
queryBtn.focus();
|
|
7157
|
+
}
|
|
7158
|
+
else {
|
|
7159
|
+
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
7160
|
+
}
|
|
7161
|
+
});
|
|
7137
7162
|
unlock();
|
|
7138
7163
|
}
|
|
7139
7164
|
/**
|
|
@@ -7305,8 +7330,8 @@ class Alert {
|
|
|
7305
7330
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
7306
7331
|
const mode = getIonMode$1(this);
|
|
7307
7332
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
7308
|
-
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
7309
7333
|
const msgId = `alert-${overlayIndex}-msg`;
|
|
7334
|
+
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
7310
7335
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
7311
7336
|
/**
|
|
7312
7337
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -7315,9 +7340,9 @@ class Alert {
|
|
|
7315
7340
|
* If neither are defined, do not set aria-labelledby.
|
|
7316
7341
|
*/
|
|
7317
7342
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
7318
|
-
return (hAsync(Host,
|
|
7343
|
+
return (hAsync(Host, { key: '212b5dc1949c63210c9d135afbe7fe31a16b5638', tabindex: "-1", style: {
|
|
7319
7344
|
zIndex: `${20000 + overlayIndex}`,
|
|
7320
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }
|
|
7345
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: 'ac8351d14850884a4f6865bbf32fb271592eedd9', tappable: this.backdropDismiss }), hAsync("div", { key: 'f677da8e719dfef9db8acbfd4fa14b936efb2cd7', tabindex: "0", "aria-hidden": "true" }), hAsync("div", Object.assign({ key: '00124f7eda90b905c7161af00c25129e6232e387', 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), hAsync("div", { key: '441b12e462a6ac83f29e251bea60d4dac273c6f8', class: "alert-head" }, header && (hAsync("h2", { key: 'd7f185ec5ba61519cd2e5c84ccb884fc711754bf', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (hAsync("h2", { key: '8477b1979d040ffbce7b4396b57d5fd197b116a7', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (hAsync("h3", { key: 'ccb22f664465077be6e5f59c1541c13d8071cc30', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: '33d5f68cb7a0989ecd1bd0abf110b94947e5b091', tabindex: "0", "aria-hidden": "true" })));
|
|
7321
7346
|
}
|
|
7322
7347
|
get el() { return getElement(this); }
|
|
7323
7348
|
static get watchers() { return {
|
|
@@ -24564,10 +24589,10 @@ const renderProgress = (value, buffer) => {
|
|
|
24564
24589
|
];
|
|
24565
24590
|
};
|
|
24566
24591
|
|
|
24567
|
-
const radioIosCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.radio-
|
|
24592
|
+
const radioIosCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #0054e9)}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:\"\";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}";
|
|
24568
24593
|
var IonRadioIosStyle0 = radioIosCss;
|
|
24569
24594
|
|
|
24570
|
-
const radioMdCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.radio-
|
|
24595
|
+
const radioMdCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:\"\";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}";
|
|
24571
24596
|
var IonRadioMdStyle0 = radioMdCss;
|
|
24572
24597
|
|
|
24573
24598
|
/**
|
|
@@ -24578,9 +24603,6 @@ var IonRadioMdStyle0 = radioMdCss;
|
|
|
24578
24603
|
* @part container - The container for the radio mark.
|
|
24579
24604
|
* @part label - The label text describing the radio.
|
|
24580
24605
|
* @part mark - The checkmark or dot used to indicate the checked state.
|
|
24581
|
-
* @part supporting-text - Supporting text displayed beneath the radio label.
|
|
24582
|
-
* @part helper-text - Supporting text displayed beneath the radio label when the radio is valid.
|
|
24583
|
-
* @part error-text - Supporting text displayed beneath the radio label when the radio is invalid and touched.
|
|
24584
24606
|
*/
|
|
24585
24607
|
class Radio {
|
|
24586
24608
|
constructor(hostRef) {
|
|
@@ -24588,8 +24610,6 @@ class Radio {
|
|
|
24588
24610
|
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
24589
24611
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
24590
24612
|
this.inputId = `ion-rb-${radioButtonIds++}`;
|
|
24591
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
24592
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
24593
24613
|
this.radioGroup = null;
|
|
24594
24614
|
this.updateState = () => {
|
|
24595
24615
|
if (this.radioGroup) {
|
|
@@ -24629,8 +24649,6 @@ class Radio {
|
|
|
24629
24649
|
this.color = undefined;
|
|
24630
24650
|
this.name = this.inputId;
|
|
24631
24651
|
this.disabled = false;
|
|
24632
|
-
this.errorText = undefined;
|
|
24633
|
-
this.helperText = undefined;
|
|
24634
24652
|
this.value = undefined;
|
|
24635
24653
|
this.labelPlacement = 'start';
|
|
24636
24654
|
this.justify = undefined;
|
|
@@ -24690,37 +24708,11 @@ class Radio {
|
|
|
24690
24708
|
renderRadioControl() {
|
|
24691
24709
|
return (hAsync("div", { class: "radio-icon", part: "container" }, hAsync("div", { class: "radio-inner", part: "mark" }), hAsync("div", { class: "radio-ripple" })));
|
|
24692
24710
|
}
|
|
24693
|
-
getHintTextID() {
|
|
24694
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
24695
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
24696
|
-
return errorTextId;
|
|
24697
|
-
}
|
|
24698
|
-
if (helperText) {
|
|
24699
|
-
return helperTextId;
|
|
24700
|
-
}
|
|
24701
|
-
return undefined;
|
|
24702
|
-
}
|
|
24703
|
-
/**
|
|
24704
|
-
* Responsible for rendering helper text and error text.
|
|
24705
|
-
* This element should only be rendered if hint text is set.
|
|
24706
|
-
*/
|
|
24707
|
-
renderHintText() {
|
|
24708
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
24709
|
-
/**
|
|
24710
|
-
* undefined and empty string values should
|
|
24711
|
-
* be treated as not having helper/error text.
|
|
24712
|
-
*/
|
|
24713
|
-
const hasHintText = !!helperText || !!errorText;
|
|
24714
|
-
if (!hasHintText) {
|
|
24715
|
-
return;
|
|
24716
|
-
}
|
|
24717
|
-
return (hAsync("div", { class: "radio-bottom" }, hAsync("div", { id: helperTextId, class: "helper-text", part: "supporting-text helper-text" }, helperText), hAsync("div", { id: errorTextId, class: "error-text", part: "supporting-text error-text" }, errorText)));
|
|
24718
|
-
}
|
|
24719
24711
|
render() {
|
|
24720
24712
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
24721
24713
|
const mode = getIonMode$1(this);
|
|
24722
24714
|
const inItem = hostContext('ion-item', el);
|
|
24723
|
-
return (hAsync(Host, { key: '
|
|
24715
|
+
return (hAsync(Host, { key: '5a0adab55ad009305de4856fa1b9f93f2279a734', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
24724
24716
|
[mode]: true,
|
|
24725
24717
|
'in-item': inItem,
|
|
24726
24718
|
'radio-checked': checked,
|
|
@@ -24731,10 +24723,10 @@ class Radio {
|
|
|
24731
24723
|
// Focus and active styling should not apply when the radio is in an item
|
|
24732
24724
|
'ion-activatable': !inItem,
|
|
24733
24725
|
'ion-focusable': !inItem,
|
|
24734
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null,
|
|
24726
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: 'f5673a798e6d87868339f046445f707e1d93b7b6', class: "radio-wrapper" }, hAsync("div", { key: 'e9190c06f75a171cab63e3f74ccf771c3ed87005', class: {
|
|
24735
24727
|
'label-text-wrapper': true,
|
|
24736
24728
|
'label-text-wrapper-hidden': !hasLabel,
|
|
24737
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
24729
|
+
}, part: "label" }, hAsync("slot", { key: '6cedf4e7b3bd03e4a635727dd7b6094bab64af64' })), hAsync("div", { key: '26dd48d9d2848b7f100b732abdc4a3171adde483', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
24738
24730
|
}
|
|
24739
24731
|
get el() { return getElement(this); }
|
|
24740
24732
|
static get watchers() { return {
|
|
@@ -24751,8 +24743,6 @@ class Radio {
|
|
|
24751
24743
|
"color": [513],
|
|
24752
24744
|
"name": [1],
|
|
24753
24745
|
"disabled": [4],
|
|
24754
|
-
"errorText": [1, "error-text"],
|
|
24755
|
-
"helperText": [1, "helper-text"],
|
|
24756
24746
|
"value": [8],
|
|
24757
24747
|
"labelPlacement": [1, "label-placement"],
|
|
24758
24748
|
"justify": [1],
|
|
@@ -29355,7 +29345,35 @@ class SegmentButton {
|
|
|
29355
29345
|
valueChanged() {
|
|
29356
29346
|
this.updateState();
|
|
29357
29347
|
}
|
|
29358
|
-
|
|
29348
|
+
waitForSegmentContent(ionSegment, contentId) {
|
|
29349
|
+
return new Promise((resolve, reject) => {
|
|
29350
|
+
let timeoutId = undefined;
|
|
29351
|
+
let animationFrameId;
|
|
29352
|
+
const check = () => {
|
|
29353
|
+
if (!ionSegment) {
|
|
29354
|
+
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
29355
|
+
return;
|
|
29356
|
+
}
|
|
29357
|
+
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
29358
|
+
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
29359
|
+
if (segmentContent && timeoutId) {
|
|
29360
|
+
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
29361
|
+
cancelAnimationFrame(animationFrameId);
|
|
29362
|
+
resolve(segmentContent);
|
|
29363
|
+
}
|
|
29364
|
+
else {
|
|
29365
|
+
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
29366
|
+
}
|
|
29367
|
+
};
|
|
29368
|
+
check();
|
|
29369
|
+
// Set a timeout to reject the promise
|
|
29370
|
+
timeoutId = setTimeout(() => {
|
|
29371
|
+
cancelAnimationFrame(animationFrameId);
|
|
29372
|
+
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
29373
|
+
}, 1000);
|
|
29374
|
+
});
|
|
29375
|
+
}
|
|
29376
|
+
async connectedCallback() {
|
|
29359
29377
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
29360
29378
|
if (segmentEl) {
|
|
29361
29379
|
this.updateState();
|
|
@@ -29365,11 +29383,14 @@ class SegmentButton {
|
|
|
29365
29383
|
// Return if there is no contentId defined
|
|
29366
29384
|
if (!this.contentId)
|
|
29367
29385
|
return;
|
|
29368
|
-
|
|
29369
|
-
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
29386
|
+
let segmentContent;
|
|
29387
|
+
try {
|
|
29388
|
+
// Attempt to find the Segment Content by its contentId
|
|
29389
|
+
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
29390
|
+
}
|
|
29391
|
+
catch (error) {
|
|
29392
|
+
// If no associated Segment Content exists, log an error and return
|
|
29393
|
+
console.error('Segment Button: ', error.message);
|
|
29373
29394
|
return;
|
|
29374
29395
|
}
|
|
29375
29396
|
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
@@ -29415,7 +29436,7 @@ class SegmentButton {
|
|
|
29415
29436
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
29416
29437
|
const mode = getIonMode$1(this);
|
|
29417
29438
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
29418
|
-
return (hAsync(Host, { key: '
|
|
29439
|
+
return (hAsync(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
|
|
29419
29440
|
[mode]: true,
|
|
29420
29441
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
29421
29442
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -29431,7 +29452,7 @@ class SegmentButton {
|
|
|
29431
29452
|
'ion-activatable': true,
|
|
29432
29453
|
'ion-activatable-instant': true,
|
|
29433
29454
|
'ion-focusable': true,
|
|
29434
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
29455
|
+
} }, hAsync("button", Object.assign({ key: '00dbcdbd81cd74abdd39803f6840a6e477cc7b0c', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, hAsync("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && hAsync("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), hAsync("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
29435
29456
|
}
|
|
29436
29457
|
get el() { return getElement(this); }
|
|
29437
29458
|
static get watchers() { return {
|
|
@@ -32815,10 +32836,6 @@ var IonToolbarMdStyle0 = toolbarMdCss;
|
|
|
32815
32836
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
32816
32837
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
32817
32838
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
32818
|
-
*
|
|
32819
|
-
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
32820
|
-
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
32821
|
-
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
32822
32839
|
*/
|
|
32823
32840
|
class Toolbar {
|
|
32824
32841
|
constructor(hostRef) {
|
|
@@ -32869,10 +32886,10 @@ class Toolbar {
|
|
|
32869
32886
|
this.childrenStyles.forEach((value) => {
|
|
32870
32887
|
Object.assign(childStyles, value);
|
|
32871
32888
|
});
|
|
32872
|
-
return (hAsync(Host, { key: '
|
|
32889
|
+
return (hAsync(Host, { key: '462538a5ecd01baf3cde116c9f029aeda26c81be', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
32873
32890
|
[mode]: true,
|
|
32874
32891
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32875
|
-
})) }, hAsync("div", { key: '
|
|
32892
|
+
})) }, hAsync("div", { key: 'c0b4415d3b2472de643a9be7cb3b13b3b628621b', class: "toolbar-background" }), hAsync("div", { key: '0ccb8a2dbeaa28d8f9bed87629c0c097446690c2', class: "toolbar-container" }, hAsync("slot", { key: '3e726dac359e923df21d80301651f16063a3de20', name: "start" }), hAsync("slot", { key: 'cd799330b56a7f8833bc61bb2807aafb21846f71', name: "secondary" }), hAsync("div", { key: '395282e6ac8c53576922dcdb5f08c25d34638c86', class: "toolbar-content" }, hAsync("slot", { key: 'a437c60e4ba5aae65e55169ae82a6f379868ec1d' })), hAsync("slot", { key: '711af9b9d321a7b31ede924c9bdcad767aa9a1ca', name: "primary" }), hAsync("slot", { key: 'ecc02edeaf80a837890bcb08d5096df1e22a0b9a', name: "end" }))));
|
|
32876
32893
|
}
|
|
32877
32894
|
get el() { return getElement(this); }
|
|
32878
32895
|
static get style() { return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/core",
|
|
3
|
-
"version": "8.4.4-dev.
|
|
3
|
+
"version": "8.4.4-dev.11740658609.11c22eeb",
|
|
4
4
|
"description": "Base components for Ionic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@capacitor/haptics": "^6.0.0",
|
|
42
42
|
"@capacitor/keyboard": "^6.0.0",
|
|
43
43
|
"@capacitor/status-bar": "^6.0.0",
|
|
44
|
-
"@clack/prompts": "^0.
|
|
44
|
+
"@clack/prompts": "^0.10.0",
|
|
45
45
|
"@ionic/eslint-config": "^0.3.0",
|
|
46
46
|
"@ionic/prettier-config": "^2.0.0",
|
|
47
47
|
"@playwright/test": "^1.46.1",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as config}from"./ionic-global-c81d82ab.js";var printIonWarning=function(r){var o=[];for(var n=1;n<arguments.length;n++){o[n-1]=arguments[n]}var a=config.get("logLevel","WARN");if(["WARN"].includes(a)){return console.warn.apply(console,__spreadArray(["[Ionic Warning]: ".concat(r)],o,false))}};var printIonError=function(r){var o=[];for(var n=1;n<arguments.length;n++){o[n-1]=arguments[n]}var a=config.get("logLevel","ERROR");if(["ERROR","WARN"].includes(a)){return console.error.apply(console,__spreadArray(["[Ionic Error]: ".concat(r)],o,false))}};var printRequiredElementError=function(r){var o=[];for(var n=1;n<arguments.length;n++){o[n-1]=arguments[n]}return console.error("<".concat(r.tagName.toLowerCase(),"> must be used inside ").concat(o.join(" or "),"."))};export{printIonError as a,printRequiredElementError as b,printIonWarning as p};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as win,d as doc}from"./index-a5d50daf.js";import{g as getScrollElement,c as scrollByPoint,f as findClosestIonContent}from"./index-efb8ecdf.js";import{a as addEventListener,b as removeEventListener,r as raf,c as componentOnReady}from"./helpers-da915de8.js";import{a as KeyboardResize,K as Keyboard}from"./keyboard-73175e24.js";import"./index-6ad967f3.js";import"./ionic-global-c81d82ab.js";import"./index-28849c61.js";import"./capacitor-59395cbd.js";var cloneMap=new WeakMap;var relocateInput=function(r,n,e,t,i){if(t===void 0){t=0}if(i===void 0){i=false}if(cloneMap.has(r)===e){return}if(e){addClone(r,n,t,i)}else{removeClone(r,n)}};var isFocused=function(r){return r===r.getRootNode().activeElement};var addClone=function(r,n,e,t){if(t===void 0){t=false}var i=n.parentNode;var o=n.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(t){o.disabled=true}i.appendChild(o);cloneMap.set(r,o);var a=r.ownerDocument;var u=a.dir==="rtl"?9999:-9999;r.style.pointerEvents="none";n.style.transform="translate3d(".concat(u,"px,").concat(e,"px,0) scale(0)")};var removeClone=function(r,n){var e=cloneMap.get(r);if(e){cloneMap.delete(r);e.remove()}r.style.pointerEvents="";n.style.transform=""};var SCROLL_AMOUNT_PADDING=50;var enableHideCaretOnScroll=function(r,n,e){if(!e||!n){return function(){return}}var t=function(e){if(isFocused(n)){relocateInput(r,n,e)}};var i=function(){return relocateInput(r,n,false)};var o=function(){return t(true)};var a=function(){return t(false)};addEventListener(e,"ionScrollStart",o);addEventListener(e,"ionScrollEnd",a);n.addEventListener("blur",i);return function(){removeEventListener(e,"ionScrollStart",o);removeEventListener(e,"ionScrollEnd",a);n.removeEventListener("blur",i)}};var SKIP_SELECTOR="input, textarea, [no-blur], [contenteditable]";var enableInputBlurring=function(){var r=true;var n=false;var e=document;var t=function(){n=true};var i=function(){r=true};var o=function(t){if(n){n=false;return}var i=e.activeElement;if(!i){return}if(i.matches(SKIP_SELECTOR)){return}var o=t.target;if(o===i){return}if(o.matches(SKIP_SELECTOR)||o.closest(SKIP_SELECTOR)){return}r=false;setTimeout((function(){if(!r){i.blur()}}),50)};addEventListener(e,"ionScrollStart",t);e.addEventListener("focusin",i,true);e.addEventListener("touchend",o,false);return function(){removeEventListener(e,"ionScrollStart",t,true);e.removeEventListener("focusin",i,true);e.removeEventListener("touchend",o,false)}};var SCROLL_ASSIST_SPEED=.3;var getScrollData=function(r,n,e,t){var i;var o=(i=r.closest("ion-item,[ion-item]"))!==null&&i!==void 0?i:r;return calcScrollData(o.getBoundingClientRect(),n.getBoundingClientRect(),e,t)};var calcScrollData=function(r,n,e,t){var i=r.top;var o=r.bottom;var a=n.top;var u=Math.min(n.bottom,t-e);var c=a+15;var d=u-SCROLL_AMOUNT_PADDING;var f=d-o;var l=c-i;var s=Math.round(f<0?-f:l>0?-l:0);var v=Math.min(s,i-a);var S=Math.abs(v);var _=S/SCROLL_ASSIST_SPEED;var w=Math.min(400,Math.max(150,_));return{scrollAmount:v,scrollDuration:w,scrollPadding:e,inputSafeY:-(i-c)+4}};var PADDING_TIMER_KEY="$ionPaddingTimer";var setScrollPadding=function(r,n,e){var t=r[PADDING_TIMER_KEY];if(t){clearTimeout(t)}if(n>0){r.style.setProperty("--keyboard-offset","".concat(n,"px"))}else{r[PADDING_TIMER_KEY]=setTimeout((function(){r.style.setProperty("--keyboard-offset","0px");if(e){e()}}),120)}};var setClearScrollPaddingListener=function(r,n,e){var t=function(){if(n){setScrollPadding(n,0,e)}};r.addEventListener("focusout",t,{once:true})};var currentPadding=0;var SKIP_SCROLL_ASSIST="data-ionic-skip-scroll-assist";var enableScrollAssist=function(r,n,e,t,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===KeyboardResize.None);var d=false;var f=win!==undefined?win.innerHeight:0;var l=function(i){if(d===false){d=true;return}jsSetFocus(r,n,e,t,i.detail.keyboardHeight,c,u,f,false)};var s=function(){d=false;win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",l);r.removeEventListener("focusout",s)};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){if(n.hasAttribute(SKIP_SCROLL_ASSIST)){n.removeAttribute(SKIP_SCROLL_ASSIST);return[2]}jsSetFocus(r,n,e,t,i,c,u,f);win===null||win===void 0?void 0:win.addEventListener("ionKeyboardDidShow",l);r.addEventListener("focusout",s);return[2]}))}))};r.addEventListener("focusin",v);return function(){r.removeEventListener("focusin",v);win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",l);r.removeEventListener("focusout",s)}};var setManualFocus=function(r){if(document.activeElement===r){return}r.setAttribute(SKIP_SCROLL_ASSIST,"true");r.focus()};var jsSetFocus=function(r,n,e,t,i,o){var a=[];for(var u=6;u<arguments.length;u++){a[u-6]=arguments[u]}return __awaiter(void 0,__spreadArray([r,n,e,t,i,o],a,true),void 0,(function(r,n,e,t,i,o,a,u,c){var d,f,l,s,v,S;if(a===void 0){a=false}if(u===void 0){u=0}if(c===void 0){c=true}return __generator(this,(function(_){switch(_.label){case 0:if(!e&&!t){return[2]}d=getScrollData(r,e||t,i,u);if(e&&Math.abs(d.scrollAmount)<4){setManualFocus(n);if(o&&e!==null){setScrollPadding(e,currentPadding);setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}relocateInput(r,n,true,d.inputSafeY,a);setManualFocus(n);raf((function(){return r.click()}));if(o&&e){currentPadding=d.scrollPadding;setScrollPadding(e,currentPadding)}if(!(typeof window!=="undefined"))return[3,3];l=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(f!==undefined){clearTimeout(f)}window.removeEventListener("ionKeyboardDidShow",s);window.removeEventListener("ionKeyboardDidShow",l);if(!e)return[3,2];return[4,scrollByPoint(e,0,d.scrollAmount,d.scrollDuration)];case 1:t.sent();t.label=2;case 2:relocateInput(r,n,false,d.inputSafeY);setManualFocus(n);if(o){setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}}))}))};s=function(){window.removeEventListener("ionKeyboardDidShow",s);window.addEventListener("ionKeyboardDidShow",l)};if(!e)return[3,2];return[4,getScrollElement(e)];case 1:v=_.sent();S=v.scrollHeight-v.clientHeight;if(c&&d.scrollAmount>S-v.scrollTop){if(n.type==="password"){d.scrollAmount+=SCROLL_AMOUNT_PADDING;window.addEventListener("ionKeyboardDidShow",s)}else{window.addEventListener("ionKeyboardDidShow",l)}f=setTimeout(l,1e3);return[2]}_.label=2;case 2:l();_.label=3;case 3:return[2]}}))}))};var INPUT_BLURRING=true;var startInputShims=function(r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,o,a,u,c,d,f,l,s,v,S,_,w,p;return __generator(this,(function(I){switch(I.label){case 0:if(doc===undefined){return[2]}e=n==="ios";t=n==="android";i=r.getNumber("keyboardHeight",290);o=r.getBoolean("scrollAssist",true);a=r.getBoolean("hideCaretOnScroll",e);u=r.getBoolean("inputBlurring",false);c=r.getBoolean("scrollPadding",true);d=Array.from(doc.querySelectorAll("ion-input, ion-textarea"));f=new WeakMap;l=new WeakMap;return[4,Keyboard.getResizeMode()];case 1:s=I.sent();v=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,e,u,d,v,S,v;return __generator(this,(function(_){switch(_.label){case 0:return[4,new Promise((function(n){return componentOnReady(r,n)}))];case 1:_.sent();n=r.shadowRoot||r;e=n.querySelector("input")||n.querySelector("textarea");u=findClosestIonContent(r);d=!u?r.closest("ion-footer"):null;if(!e){return[2]}if(!!u&&a&&!f.has(r)){v=enableHideCaretOnScroll(r,e,u);f.set(r,v)}S=e.type==="date"||e.type==="datetime-local";if(!S&&(!!u||!!d)&&o&&!l.has(r)){v=enableScrollAssist(r,e,u,d,i,c,s,t);l.set(r,v)}return[2]}}))}))};S=function(r){if(a){var n=f.get(r);if(n){n()}f.delete(r)}if(o){var n=l.get(r);if(n){n()}l.delete(r)}};if(u&&INPUT_BLURRING){enableInputBlurring()}for(_=0,w=d;_<w.length;_++){p=w[_];v(p)}doc.addEventListener("ionInputDidLoad",(function(r){v(r.detail)}));doc.addEventListener("ionInputDidUnload",(function(r){S(r.detail)}));return[2]}}))}))};export{startInputShims};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{c as createAnimation}from"./animation-eab5a4ca.js";import{g as getIonPageElement}from"./index-2f7fde3d.js";import"./index-a5d50daf.js";import"./ionic-global-c81d82ab.js";import"./index-28849c61.js";import"./index-6ad967f3.js";import"./helpers-da915de8.js";var mdTransitionAnimation=function(a,i){var n,e,t;var r="40px";var o="0px";var m=i.direction==="back";var s=i.enteringEl;var c=i.leavingEl;var l=getIonPageElement(s);var d=l.querySelector("ion-toolbar");var v=createAnimation();v.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible");if(m){v.duration(((n=i.duration)!==null&&n!==void 0?n:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{v.duration(((e=i.duration)!==null&&e!==void 0?e:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(r,")"),"translateY(".concat(o,")")).fromTo("opacity",.01,1)}if(d){var p=createAnimation();p.addElement(d);v.addAnimation(p)}if(c&&m){v.duration(((t=i.duration)!==null&&t!==void 0?t:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var f=createAnimation();f.addElement(getIonPageElement(c)).onFinish((function(a){if(a===1&&f.elements.length>0){f.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(o,")"),"translateY(".concat(r,")")).fromTo("opacity",1,0);v.addAnimation(f)}return v};export{mdTransitionAnimation};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__generator}from"tslib";
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{e as readTask,w as writeTask}from"./index-28849c61.js";import{f as findClosestIonContent,s as scrollToTop}from"./index-efb8ecdf.js";import{c as componentOnReady}from"./helpers-da915de8.js";import"./index-6ad967f3.js";import"./ionic-global-c81d82ab.js";var startStatusTap=function(){var o=window;o.addEventListener("statusTap",(function(){readTask((function(){var t=o.innerWidth;var r=o.innerHeight;var n=document.elementFromPoint(t/2,r/2);if(!n){return}var e=findClosestIonContent(n);if(e){new Promise((function(o){return componentOnReady(e,o)})).then((function(){writeTask((function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:e.style.setProperty("--overflow","hidden");return[4,scrollToTop(e,300)];case 1:o.sent();e.style.removeProperty("--overflow");return[2]}}))}))}))}))}}))}))};export{startStatusTap};
|
package/dist/ionic/p-0af823e1.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{c as o}from"./p-c7e16491.js";import{g as t}from"./p-f1c4dcd4.js";import"./p-7b30edcc.js";import"./p-0574e87e.js";import"./p-d836d43e.js";import"./p-e8d56122.js";import"./p-b51e4004.js";const i=(i,r)=>{var e,p,s;const a="40px",c="back"===r.direction,n=r.leavingEl,l=t(r.enteringEl),b=l.querySelector("ion-toolbar"),m=o();if(m.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible"),c?m.duration((null!==(e=r.duration)&&void 0!==e?e:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):m.duration((null!==(p=r.duration)&&void 0!==p?p:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${a})`,"translateY(0px)").fromTo("opacity",.01,1),b){const t=o();t.addElement(b),m.addAnimation(t)}if(n&&c){m.duration((null!==(s=r.duration)&&void 0!==s?s:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const i=o();i.addElement(t(n)).onFinish((o=>{1===o&&i.elements.length>0&&i.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)",`translateY(${a})`).fromTo("opacity",1,0),m.addAnimation(i)}return m};export{i as mdTransitionAnimation}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function o(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):a(e.value).then(o,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-25180df3.system.js","./p-3ad285e3.system.js","./p-979d4f5c.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l,d,c,p,h;return{setters:[function(e){t=e.r;i=e.d;r=e.h;a=e.f;n=e.i},function(e){o=e.a;s=e.b;l=e.d},function(e){d=e.i},function(e){c=e.h;p=e.c},function(e){h=e.b}],execute:function(){var f=':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.radio-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.radio-label-placement-stacked) .radio-bottom{font-size:1rem}.radio-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .radio-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .radio-bottom .helper-text{display:none}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host{--color-checked:var(--ion-color-primary, #0054e9)}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}';var b=f;var m=':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.radio-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.radio-label-placement-stacked) .radio-bottom{font-size:1rem}.radio-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .radio-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .radio-bottom .helper-text{display:none}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}';var u=m;var x=e("ion_radio",function(){function e(e){var r=this;t(this,e);this.ionFocus=i(this,"ionFocus",7);this.ionBlur=i(this,"ionBlur",7);this.inputId="ion-rb-".concat(g++);this.helperTextId="".concat(this.inputId,"-helper-text");this.errorTextId="".concat(this.inputId,"-error-text");this.radioGroup=null;this.updateState=function(){if(r.radioGroup){var e=r.radioGroup,t=e.compareWith,i=e.value;r.checked=d(i,r.value,t)}};this.onClick=function(){var e=r,t=e.radioGroup,i=e.checked,a=e.disabled;if(a){return}if(i&&(t===null||t===void 0?void 0:t.allowEmptySelection)){r.checked=false}else{r.checked=true}};this.onFocus=function(){r.ionFocus.emit()};this.onBlur=function(){r.ionBlur.emit()};this.checked=false;this.buttonTabindex=-1;this.color=undefined;this.name=this.inputId;this.disabled=false;this.errorText=undefined;this.helperText=undefined;this.value=undefined;this.labelPlacement="start";this.justify=undefined;this.alignment=undefined}e.prototype.valueChanged=function(){this.updateState()};e.prototype.componentDidLoad=function(){this.updateState()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e!==undefined){e.stopPropagation();e.preventDefault()}this.el.focus();return[2]}))}))};e.prototype.setButtonTabindex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonTabindex=e;return[2]}))}))};e.prototype.connectedCallback=function(){if(this.value===undefined){this.value=this.inputId}var e=this.radioGroup=this.el.closest("ion-radio-group");if(e){this.updateState();o(e,"ionValueChange",this.updateState)}};e.prototype.disconnectedCallback=function(){var e=this.radioGroup;if(e){s(e,"ionValueChange",this.updateState);this.radioGroup=null}};Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.el.textContent!==""},enumerable:false,configurable:true});e.prototype.renderRadioControl=function(){return r("div",{class:"radio-icon",part:"container"},r("div",{class:"radio-inner",part:"mark"}),r("div",{class:"radio-ripple"}))};e.prototype.getHintTextID=function(){var e=this,t=e.el,i=e.helperText,r=e.errorText,a=e.helperTextId,n=e.errorTextId;if(t.classList.contains("ion-touched")&&t.classList.contains("ion-invalid")&&r){return n}if(i){return a}return undefined};e.prototype.renderHintText=function(){var e=this,t=e.helperText,i=e.errorText,a=e.helperTextId,n=e.errorTextId;var o=!!t||!!i;if(!o){return}return r("div",{class:"radio-bottom"},r("div",{id:a,class:"helper-text",part:"supporting-text helper-text"},t),r("div",{id:n,class:"error-text",part:"supporting-text error-text"},i))};e.prototype.render=function(){var e;var t=this,i=t.checked,n=t.disabled,o=t.color,s=t.el,l=t.justify,d=t.labelPlacement,f=t.hasLabel,b=t.buttonTabindex,m=t.alignment;var u=h(this);var x=c("ion-item",s);return r(a,{key:"4f01024a74c1846438372c40519df1044f5b12b9",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:p(o,(e={},e[u]=true,e["in-item"]=x,e["radio-checked"]=i,e["radio-disabled"]=n,e["radio-justify-".concat(l)]=l!==undefined,e["radio-alignment-".concat(m)]=m!==undefined,e["radio-label-placement-".concat(d)]=true,e["ion-activatable"]=!x,e["ion-focusable"]=!x,e)),role:"radio","aria-checked":i?"true":"false","aria-disabled":n?"true":null,"aria-describedby":this.getHintTextID(),"aria-invalid":this.getHintTextID()===this.errorTextId,tabindex:b},r("label",{key:"59dc0343534e626692f3b71b32204c1b2b25d40a",class:"radio-wrapper"},r("div",{key:"26d7d3faf1b02bb138fb2c46f83e824962b6b92e",class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!f},part:"label"},r("slot",{key:"9c3d8bb0c5cd3ce94d1e661d89587cf67c522bc0"}),this.renderHintText()),r("div",{key:"3183f79e2977ee001e69c23f73073555744281d8",class:"native-wrapper"},this.renderRadioControl())))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var g=0;x.style={ios:b,md:u};var w=e("ion_radio_group",function(){function e(e){var r=this;t(this,e);this.ionChange=i(this,"ionChange",7);this.ionValueChange=i(this,"ionValueChange",7);this.inputId="ion-rg-".concat(v++);this.labelId="".concat(this.inputId,"-lbl");this.setRadioTabindex=function(e){var t=r.getRadios();var i=t.find((function(e){return!e.disabled}));var a=t.find((function(t){return t.value===e&&!t.disabled}));if(!i&&!a){return}var n=a||i;for(var o=0,s=t;o<s.length;o++){var l=s[o];var d=l===n?0:-1;l.setButtonTabindex(d)}};this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t&&!t.disabled){var i=r.value;var a=t.value;if(a!==i){r.value=a;r.emitValueChange(e)}else if(r.allowEmptySelection){r.value=undefined;r.emitValueChange(e)}}};this.allowEmptySelection=false;this.compareWith=undefined;this.name=this.inputId;this.value=undefined}e.prototype.valueChanged=function(e){this.setRadioTabindex(e);this.ionValueChange.emit({value:e})};e.prototype.componentDidLoad=function(){this.valueChanged(this.value)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){t=this.label=e.querySelector("ion-label");if(t){this.labelId=t.id=this.name+"-lbl"}}return[2]}))}))};e.prototype.getRadios=function(){return Array.from(this.el.querySelectorAll("ion-radio"))};e.prototype.emitValueChange=function(e){var t=this.value;this.ionChange.emit({value:t,event:e})};e.prototype.onKeydown=function(e){var t=!!this.el.closest("ion-select-popover")||!!this.el.closest("ion-select-modal");if(e.target&&!this.el.contains(e.target)){return}var i=this.getRadios().filter((function(e){return!e.disabled}));if(e.target&&i.includes(e.target)){var r=i.findIndex((function(t){return t===e.target}));var a=i[r];var n=void 0;if(["ArrowDown","ArrowRight"].includes(e.key)){n=r===i.length-1?i[0]:i[r+1]}if(["ArrowUp","ArrowLeft"].includes(e.key)){n=r===0?i[i.length-1]:i[r-1]}if(n&&i.includes(n)){n.setFocus(e);if(!t){this.value=n.value;this.emitValueChange(e)}}if([" "].includes(e.key)){var o=this.value;this.value=this.allowEmptySelection&&this.value!==undefined?undefined:a.value;if(o!==this.value||this.allowEmptySelection){this.emitValueChange(e)}e.preventDefault()}}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getRadios().find((function(e){return e.tabIndex!==-1}));e===null||e===void 0?void 0:e.setFocus();return[2]}))}))};e.prototype.render=function(){var e=this,t=e.label,i=e.labelId,n=e.el,o=e.name,s=e.value;var d=h(this);l(true,n,o,s,false);return r(a,{key:"a853e38901f0f4ba17bbf21ebb5da5b5c20b327e",role:"radiogroup","aria-labelledby":t?i:null,onClick:this.onClick,class:d})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return e}());var v=0}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-3ad285e3.system.js","./p-08e01816.system.js","./p-3e1e14d9.system.js","./p-20d469d0.system.js"],(function(r){"use strict";var t,n,e;return{setters:[function(r){t=r.j},function(r){n=r.i},function(r){e=r.createGesture},function(){}],execute:function(){var a=r("createSwipeBackGesture",(function(r,a,u,v,s){var i=r.ownerDocument.defaultView;var o=n(r);var c=function(r){var t=50;var n=r.startX;if(o){return n>=i.innerWidth-t}return n<=t};var f=function(r){return o?-r.deltaX:r.deltaX};var d=function(r){return o?-r.velocityX:r.velocityX};var m=function(t){o=n(r);return c(t)&&a()};var p=function(r){var t=f(r);var n=t/i.innerWidth;v(n)};var y=function(r){var n=f(r);var e=i.innerWidth;var a=n/e;var u=d(r);var v=e/2;var o=u>=0&&(u>.2||n>v);var c=o?1-a:a;var m=c*e;var p=0;if(m>5){var y=m/Math.abs(u);p=Math.min(y,540)}s(o,a<=0?.01:t(0,a,.9999),p)};return e({el:r,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m,onStart:u,onMove:p,onEnd:y})}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(n,r,t,i){function e(n){return n instanceof t?n:new t((function(r){r(n)}))}return new(t||(t=Promise))((function(t,o){function a(n){try{f(i.next(n))}catch(n){o(n)}}function u(n){try{f(i["throw"](n))}catch(n){o(n)}}function f(n){n.done?t(n.value):e(n.value).then(a,u)}f((i=i.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,e,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(n){return function(r){return f([n,r])}}function f(u){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(t=0)),t)try{if(i=1,e&&(o=u[0]&2?e["return"]:u[0]?e["throw"]||((o=e["return"])&&o.call(e),0):e.next)&&!(o=o.call(e,u[1])).done)return o;if(e=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;e=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1];o=u;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(u);break}if(o[2])t.ops.pop();t.trys.pop();continue}u=r.call(n,t)}catch(n){u=[6,n];e=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(n,r,t){if(t||arguments.length===2)for(var i=0,e=r.length,o;i<e;i++){if(o||!(i in r)){if(!o)o=Array.prototype.slice.call(r,0,i);o[i]=r[i]}}return n.concat(o||Array.prototype.slice.call(r))};
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-792919fd.system.js","./p-a88dec0d.system.js","./p-3ad285e3.system.js","./p-b06ac4a5.system.js","./p-67222c16.system.js","./p-a69b9fc5.system.js","./p-25180df3.system.js","./p-8985cdb6.system.js"],(function(n){"use strict";var r,t,i,e,o,a,u,f,c,s,v;return{setters:[function(n){r=n.w;t=n.d},function(n){i=n.g;e=n.c;o=n.f},function(n){a=n.a;u=n.b;f=n.r;c=n.c},function(n){s=n.a;v=n.K},function(){},function(){},function(){},function(){}],execute:function(){var d=this;var l=new WeakMap;var h=function(n,r,t,i,e){if(i===void 0){i=0}if(e===void 0){e=false}if(l.has(n)===t){return}if(t){y(n,r,i,e)}else{p(n,r)}};var w=function(n){return n===n.getRootNode().activeElement};var y=function(n,r,t,i){if(i===void 0){i=false}var e=r.parentNode;var o=r.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(i){o.disabled=true}e.appendChild(o);l.set(n,o);var a=n.ownerDocument;var u=a.dir==="rtl"?9999:-9999;n.style.pointerEvents="none";r.style.transform="translate3d(".concat(u,"px,").concat(t,"px,0) scale(0)")};var p=function(n,r){var t=l.get(n);if(t){l.delete(n);t.remove()}n.style.pointerEvents="";r.style.transform=""};var _=50;var b=function(n,r,t){if(!t||!r){return function(){return}}var i=function(t){if(w(r)){h(n,r,t)}};var e=function(){return h(n,r,false)};var o=function(){return i(true)};var f=function(){return i(false)};a(t,"ionScrollStart",o);a(t,"ionScrollEnd",f);r.addEventListener("blur",e);return function(){u(t,"ionScrollStart",o);u(t,"ionScrollEnd",f);r.removeEventListener("blur",e)}};var m="input, textarea, [no-blur], [contenteditable]";var S=function(){var n=true;var r=false;var t=document;var i=function(){r=true};var e=function(){n=true};var o=function(i){if(r){r=false;return}var e=t.activeElement;if(!e){return}if(e.matches(m)){return}var o=i.target;if(o===e){return}if(o.matches(m)||o.closest(m)){return}n=false;setTimeout((function(){if(!n){e.blur()}}),50)};a(t,"ionScrollStart",i);t.addEventListener("focusin",e,true);t.addEventListener("touchend",o,false);return function(){u(t,"ionScrollStart",i,true);t.removeEventListener("focusin",e,true);t.removeEventListener("touchend",o,false)}};var g=.3;var D=function(n,r,t,i){var e;var o=(e=n.closest("ion-item,[ion-item]"))!==null&&e!==void 0?e:n;return k(o.getBoundingClientRect(),r.getBoundingClientRect(),t,i)};var k=function(n,r,t,i){var e=n.top;var o=n.bottom;var a=r.top;var u=Math.min(r.bottom,i-t);var f=a+15;var c=u-_;var s=c-o;var v=f-e;var d=Math.round(s<0?-s:v>0?-v:0);var l=Math.min(d,e-a);var h=Math.abs(l);var w=h/g;var y=Math.min(400,Math.max(150,w));return{scrollAmount:l,scrollDuration:y,scrollPadding:t,inputSafeY:-(e-f)+4}};var x="$ionPaddingTimer";var M=function(n,r,t){var i=n[x];if(i){clearTimeout(i)}if(r>0){n.style.setProperty("--keyboard-offset","".concat(r,"px"))}else{n[x]=setTimeout((function(){n.style.setProperty("--keyboard-offset","0px");if(t){t()}}),120)}};var K=function(n,r,t){var i=function(){if(r){M(r,0,t)}};n.addEventListener("focusout",i,{once:true})};var j=0;var A="data-ionic-skip-scroll-assist";var T=function(n,t,i,e,o,a,u,f){if(f===void 0){f=false}var c=a&&(u===undefined||u.mode===s.None);var v=false;var l=r!==undefined?r.innerHeight:0;var h=function(r){if(v===false){v=true;return}E(n,t,i,e,r.detail.keyboardHeight,c,f,l,false)};var w=function(){v=false;r===null||r===void 0?void 0:r.removeEventListener("ionKeyboardDidShow",h);n.removeEventListener("focusout",w)};var y=function(){return __awaiter(d,void 0,void 0,(function(){return __generator(this,(function(a){if(t.hasAttribute(A)){t.removeAttribute(A);return[2]}E(n,t,i,e,o,c,f,l);r===null||r===void 0?void 0:r.addEventListener("ionKeyboardDidShow",h);n.addEventListener("focusout",w);return[2]}))}))};n.addEventListener("focusin",y);return function(){n.removeEventListener("focusin",y);r===null||r===void 0?void 0:r.removeEventListener("ionKeyboardDidShow",h);n.removeEventListener("focusout",w)}};var P=function(n){if(document.activeElement===n){return}n.setAttribute(A,"true");n.focus()};var E=function(n,r,t,o,a,u){var c=[];for(var s=6;s<arguments.length;s++){c[s-6]=arguments[s]}return __awaiter(d,__spreadArray([n,r,t,o,a,u],c,true),void 0,(function(n,r,t,o,a,u,c,s,v){var d,l,w,y,p,b;var m=this;if(c===void 0){c=false}if(s===void 0){s=0}if(v===void 0){v=true}return __generator(this,(function(S){switch(S.label){case 0:if(!t&&!o){return[2]}d=D(n,t||o,a,s);if(t&&Math.abs(d.scrollAmount)<4){P(r);if(u&&t!==null){M(t,j);K(r,t,(function(){return j=0}))}return[2]}h(n,r,true,d.inputSafeY,c);P(r);f((function(){return n.click()}));if(u&&t){j=d.scrollPadding;M(t,j)}if(!(typeof window!=="undefined"))return[3,3];w=function(){return __awaiter(m,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(l!==undefined){clearTimeout(l)}window.removeEventListener("ionKeyboardDidShow",y);window.removeEventListener("ionKeyboardDidShow",w);if(!t)return[3,2];return[4,e(t,0,d.scrollAmount,d.scrollDuration)];case 1:i.sent();i.label=2;case 2:h(n,r,false,d.inputSafeY);P(r);if(u){K(r,t,(function(){return j=0}))}return[2]}}))}))};y=function(){window.removeEventListener("ionKeyboardDidShow",y);window.addEventListener("ionKeyboardDidShow",w)};if(!t)return[3,2];return[4,i(t)];case 1:p=S.sent();b=p.scrollHeight-p.clientHeight;if(v&&d.scrollAmount>b-p.scrollTop){if(r.type==="password"){d.scrollAmount+=_;window.addEventListener("ionKeyboardDidShow",y)}else{window.addEventListener("ionKeyboardDidShow",w)}l=setTimeout(w,1e3);return[2]}S.label=2;case 2:w();S.label=3;case 3:return[2]}}))}))};var I=true;var W=n("startInputShims",(function(n,r){return __awaiter(d,void 0,void 0,(function(){var i,e,a,u,f,s,d,l,h,w,y,p,_,m,g,D;var k=this;return __generator(this,(function(x){switch(x.label){case 0:if(t===undefined){return[2]}i=r==="ios";e=r==="android";a=n.getNumber("keyboardHeight",290);u=n.getBoolean("scrollAssist",true);f=n.getBoolean("hideCaretOnScroll",i);s=n.getBoolean("inputBlurring",false);d=n.getBoolean("scrollPadding",true);l=Array.from(t.querySelectorAll("ion-input, ion-textarea"));h=new WeakMap;w=new WeakMap;return[4,v.getResizeMode()];case 1:y=x.sent();p=function(n){return __awaiter(k,void 0,void 0,(function(){var r,t,i,s,v,l,v;return __generator(this,(function(p){switch(p.label){case 0:return[4,new Promise((function(r){return c(n,r)}))];case 1:p.sent();r=n.shadowRoot||n;t=r.querySelector("input")||r.querySelector("textarea");i=o(n);s=!i?n.closest("ion-footer"):null;if(!t){return[2]}if(!!i&&f&&!h.has(n)){v=b(n,t,i);h.set(n,v)}l=t.type==="date"||t.type==="datetime-local";if(!l&&(!!i||!!s)&&u&&!w.has(n)){v=T(n,t,i,s,a,d,y,e);w.set(n,v)}return[2]}}))}))};_=function(n){if(f){var r=h.get(n);if(r){r()}h.delete(n)}if(u){var r=w.get(n);if(r){r()}w.delete(n)}};if(s&&I){S()}for(m=0,g=l;m<g.length;m++){D=g[m];p(D)}t.addEventListener("ionInputDidLoad",(function(n){p(n.detail)}));t.addEventListener("ionInputDidUnload",(function(n){_(n.detail)}));return[2]}}))}))}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as i,f as s,i as e,d as o}from"./p-d836d43e.js";import{a as n}from"./p-3cc276f4.js";import"./p-b51e4004.js";const a=class{constructor(i){t(this,i),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}async componentWillLoad(){this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(t){t&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return n(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(void 0)}render(){const{tab:t,active:e,component:o}=this;return i(s,{key:"cb75d0877979b3b8df8f7e1952bfa9677da1eaa5",role:"tabpanel","aria-hidden":e?null:"true","aria-labelledby":`tab-button-${t}`,class:{"ion-page":void 0===o,"tab-hidden":!e}},i("slot",{key:"37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b"}))}get el(){return e(this)}static get watchers(){return{active:["changeActive"]}}};a.style=":host(.tab-hidden){display:none !important}";const h=class{constructor(i){t(this,i),this.ionNavWillLoad=o(this,"ionNavWillLoad",7),this.ionTabsWillChange=o(this,"ionTabsWillChange",3),this.ionTabsDidChange=o(this,"ionTabsDidChange",3),this.transitioning=!1,this.onTabClicked=t=>{const{href:i,tab:s}=t.detail;if(this.useRouter&&void 0!==i){const t=document.querySelector("ion-router");t&&t.push(i)}else this.select(s)},this.selectedTab=void 0,this.useRouter=!1}async componentWillLoad(){if(this.useRouter||(this.useRouter=!(!this.el.querySelector("ion-router-outlet")&&!document.querySelector("ion-router")||this.el.closest("[no-router]"))),!this.useRouter){const t=this.tabs;t.length>0&&await this.select(t[0])}this.ionNavWillLoad.emit()}componentWillRender(){const t=this.el.querySelector("ion-tab-bar");t&&(t.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}async select(t){const i=r(this.tabs,t);return!!this.shouldSwitch(i)&&(await this.setActive(i),await this.notifyRouter(),this.tabSwitch(),!0)}async getTab(t){return r(this.tabs,t)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}async setRouteId(t){const i=r(this.tabs,t);return this.shouldSwitch(i)?(await this.setActive(i),{changed:!0,element:this.selectedTab,markVisible:()=>this.tabSwitch()}):{changed:!1,element:this.selectedTab}}async getRouteId(){var t;const i=null===(t=this.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:this.selectedTab}:void 0}setActive(t){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=t,this.ionTabsWillChange.emit({tab:t.tab}),t.active=!0,Promise.resolve())}tabSwitch(){const t=this.selectedTab,i=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,t&&i!==t&&(i&&(i.active=!1),this.ionTabsDidChange.emit({tab:t.tab}))}notifyRouter(){if(this.useRouter){const t=document.querySelector("ion-router");if(t)return t.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(t){return void 0!==t&&t!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return i(s,{key:"e01ccf6bfaccad094515be50e407399c733fc226",onIonTabButtonClick:this.onTabClicked},i("slot",{key:"38d2d01dbfd8a08f01e6f0e27274b21d75424e37",name:"top"}),i("div",{key:"7e894f0f423e2d43e1c68daff5f9f6c442fad237",class:"tabs-inner"},i("slot",{key:"df16be529a0370a26d0adf850530b31607507c23"})),i("slot",{key:"44642e1cb24c3281c43db75fd69a32fe0defe40a",name:"bottom"}))}get el(){return e(this)}},r=(t,i)=>{const s="string"==typeof i?t.find((t=>t.tab===i)):i;return s||console.error(`tab with id: "${s}" does not exist`),s};h.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}";export{a as ion_tab,h as ion_tabs}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,d as i,h as s,i as e,f as o}from"./p-d836d43e.js";import{g as n}from"./p-2408c236.js";import{m as r,s as a}from"./p-b51e4004.js";import{b as h,c}from"./p-0574e87e.js";import{l as d,t as l,s as u,d as v,b as f,c as m}from"./p-f1c4dcd4.js";import{a as p}from"./p-3cc276f4.js";import"./p-e8d56122.js";class w{constructor(t,i){this.component=t,this.params=i,this.state=1}async init(t){if(this.state=2,!this.element){const i=this.component;this.element=await p(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)}}_destroy(){r(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const b=(t,i,s)=>!!t&&t.component===i&&a(t.params,s),g=(t,i)=>t?t instanceof w?t:new w(t,i):null,y=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const t=h(this);this.swipeGesture=c.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await import("./p-72bc8a1c.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const t of this.views)d(t.element,v),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,i,s,e){return this.insert(-1,t,i,s,e)}insert(t,i,s,e,o){return this.insertPages(t,[{component:i,componentProps:s}],e,o)}insertPages(t,i,s,e){return this.queueTrns({insertStart:t,insertViews:i,opts:s},e)}pop(t,i){return this.removeIndex(-1,1,t,i)}popTo(t,i,s){const e={removeStart:-1,removeCount:-1,opts:i};return"object"==typeof t&&t.component?(e.removeView=t,e.removeStart=1):"number"==typeof t&&(e.removeStart=t+1),this.queueTrns(e,s)}popToRoot(t,i){return this.removeIndex(1,-1,t,i)}removeIndex(t,i=1,s,e){return this.queueTrns({removeStart:t,removeCount:i,opts:s},e)}setRoot(t,i,s,e){return this.setPages([{component:t,componentProps:i}],s,e)}setPages(t,i,s){return null!=i||(i={}),!0!==i.animated&&(i.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},s)}setRouteId(t,i,s,e){const o=this.getActiveSync();if(b(o,t,i))return Promise.resolve({changed:!1,element:o.element});let n;const r=new Promise((t=>n=t));let a;const h={updateURL:!1,viewIsReady:t=>{let i;const s=new Promise((t=>i=t));return n({changed:!0,element:t,markVisible:async()=>{i(),await a}}),s}};if("root"===s)a=this.setRoot(t,i,h);else{const o=this.views.find((s=>b(s,t,i)));o?a=this.popTo(o,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:e})):"forward"===s?a=this.push(t,i,Object.assign(Object.assign({},h),{animationBuilder:e})):"back"===s&&(a=this.setRoot(t,i,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:e})))}return r}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}async getLength(){return Promise.resolve(this.views.length)}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!(!t||!this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const i=this.views,s=i.indexOf(t);return s>0?i[s-1]:void 0}async queueTrns(t,i){var s,e;if(this.isTransitioning&&(null===(s=t.opts)||void 0===s?void 0:s.skipIfBusy))return!1;const o=new Promise(((i,s)=>{t.resolve=i,t.reject=s}));if(t.done=i,t.opts&&!1!==t.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");if(i){const s=await i.canTransition();if(!1===s)return!1;if("string"==typeof s)return i.push(s,t.opts.direction||"back"),!1}}return 0===(null===(e=t.insertViews)||void 0===e?void 0:e.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),o}success(t,i){if(this.destroyed)this.fireError("nav controller was destroyed",i);else if(i.done&&i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),i.resolve(t.hasCompleted),!1!==i.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");i&&i.navChanged("back"===t.direction?"back":"forward")}}failed(t,i){this.destroyed?this.fireError("nav controller was destroyed",i):(this.transInstr.length=0,this.fireError(t,i))}fireError(t,i){i.done&&i.done(!1,!1,t),i.reject&&!this.destroyed?i.reject(t):i.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const i=this.getActiveSync(),s=this.getEnteringView(t,i);if(!i&&!s)throw new Error("no views in the stack to be removed");s&&1===s.state&&await s.init(this.el),this.postViewInit(s,i,t);const e=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&s!==i;let o;e&&t.opts&&i&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null==s?void 0:s.animationBuilder)),i.animationBuilder=t.opts.animationBuilder),o=e?await this.transition(s,i,t):{hasCompleted:!0,requiresTransition:!1},this.success(o,t),this.ionNavDidChange.emit()}catch(i){this.failed(i,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var i,s,e;const o=this.views.length;if(null!==(i=t.opts)&&void 0!==i||(t.opts={}),null!==(s=(e=t.opts).delegate)&&void 0!==s||(e.delegate=this.delegate),void 0!==t.removeView){r(void 0!==t.removeStart,"removeView needs removeStart"),r(void 0!==t.removeCount,"removeView needs removeCount");const i=this.views.indexOf(t.removeView);if(i<0)throw new Error("removeView was not found");t.removeStart+=i}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=o-1),t.removeCount<0&&(t.removeCount=o-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===o),t.insertViews&&((t.insertStart<0||t.insertStart>o)&&(t.insertStart=o),t.enteringRequiresTransition=t.insertStart===o);const n=t.insertViews;if(!n)return;r(n.length>0,"length can not be zero");const a=n.map((t=>t instanceof w?t:"component"in t?g(t.component,null===t.componentProps?void 0:t.componentProps):g(t,void 0))).filter((t=>null!==t));if(0===a.length)throw new Error("invalid views to insert");for(const i of a){i.delegate=t.opts.delegate;const s=i.nav;if(s&&s!==this)throw new Error("inserted view was already inserted");if(3===i.state)throw new Error("inserted view was already destroyed")}t.insertViews=a}getEnteringView(t,i){const s=t.insertViews;if(void 0!==s)return s[s.length-1];const e=t.removeStart;if(void 0!==e){const s=this.views,o=e+t.removeCount;for(let t=s.length-1;t>=0;t--){const n=s[t];if((t<e||t>=o)&&n!==i)return n}}}postViewInit(t,i,s){var e,o,n;r(i||t,"Both leavingView and enteringView are null"),r(s.resolve,"resolve must be valid"),r(s.reject,"reject must be valid");const a=s.opts,{insertViews:h,removeStart:c,removeCount:l}=s;let u;if(void 0!==c&&void 0!==l){r(c>=0,"removeStart can not be negative"),r(l>=0,"removeCount can not be negative"),u=[];for(let s=c;s<c+l;s++){const e=this.views[s];void 0!==e&&e!==t&&e!==i&&u.push(e)}null!==(e=a.direction)&&void 0!==e||(a.direction="back")}const p=this.views.length+(null!==(o=null==h?void 0:h.length)&&void 0!==o?o:0)-(null!=l?l:0);if(r(p>=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){let t=s.insertStart;for(const i of h)this.insertViewAt(i,t),t++;s.enteringRequiresTransition&&(null!==(n=a.direction)&&void 0!==n||(a.direction="forward"))}if(u&&u.length>0){for(const t of u)d(t.element,f),d(t.element,m),d(t.element,v);for(const t of u)this.destroyView(t)}}async transition(t,i,s){const e=s.opts,o=e.progressAnimation?t=>{void 0===t||this.gestureOrAnimationInProgress?this.sbAni=t:(this.gestureOrAnimationInProgress=!0,t.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0,n=h(this),r=t.element,a=i&&i.element,d=Object.assign(Object.assign({mode:n,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:o,animated:this.animated&&c.getBoolean("animated",!0),enteringEl:r,leavingEl:a},e),{animationBuilder:e.animationBuilder||this.animation||c.get("navAnimation")}),{hasCompleted:u}=await l(d);return this.transitionFinish(u,t,i,e)}transitionFinish(t,i,s,e){const o=t?i:s;return o&&this.unmountInactiveViews(o),{hasCompleted:t,requiresTransition:!0,enteringView:i,leavingView:s,direction:e.direction}}insertViewAt(t,i){const s=this.views,e=s.indexOf(t);e>-1?(r(t.nav===this,"view is not part of the nav"),s.splice(e,1),s.splice(i,0,t)):(r(!t.nav,"nav is used"),t.nav=this,s.splice(i,0,t))}removeView(t){r(2===t.state||3===t.state,"view state should be loaded or destroyed");const i=this.views,s=i.indexOf(t);r(s>-1,"view must be part of the stack"),s>=0&&i.splice(s,1)}destroyView(t){t._destroy(),this.removeView(t)}unmountInactiveViews(t){if(this.destroyed)return;const i=this.views,s=i.indexOf(t);for(let t=i.length-1;t>=0;t--){const e=i[t],o=e.element;o&&(t>s?(d(o,v),this.destroyView(e)):t<s&&u(o,!0))}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=!0,this.pop({direction:"back",progressAnimation:!0})}onMove(t){this.sbAni&&this.sbAni.progressStep(t)}onEnd(t,i,s){if(this.sbAni){this.sbAni.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0});let e=t?-.001:.001;t?e+=n([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),e+=n([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.sbAni.progressEnd(t?1:0,e,s)}else this.gestureOrAnimationInProgress=!1}render(){return s("slot",{key:"dfe98cb6604a2015a49f41beffebdd2da957dfff"})}get el(){return e(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};y.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const k=class{constructor(i){t(this,i),this.onClick=()=>((t,i,s,e,o)=>{const n=this.el.closest("ion-nav");if(n)if("forward"===i){if(void 0!==s)return n.push(s,e,{skipIfBusy:!0,animationBuilder:o})}else if("root"===i){if(void 0!==s)return n.setRoot(s,e,{skipIfBusy:!0,animationBuilder:o})}else if("back"===i)return n.pop({skipIfBusy:!0,animationBuilder:o});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation),this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}render(){return s(o,{key:"d2f8545b4fbd5aa25ef36eb01dffbc5d35ccfbb9",onClick:this.onClick})}get el(){return e(this)}};export{y as ion_nav,k as ion_nav_link}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var a=0,o=e.length,s;a<o;a++){if(s||!(a in e)){if(!s)s=Array.prototype.slice.call(e,0,a);s[a]=e[a]}}return r.concat(s||Array.prototype.slice.call(e))};
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-a69b9fc5.system.js"],(function(r){"use strict";var e;return{setters:[function(r){e=r.c}],execute:function(){var n=r("p",(function(r){var n=[];for(var a=1;a<arguments.length;a++){n[a-1]=arguments[a]}var o=e.get("logLevel","WARN");if(["WARN"].includes(o)){return console.warn.apply(console,__spreadArray(["[Ionic Warning]: ".concat(r)],n,false))}}));var a=r("a",(function(r){var n=[];for(var a=1;a<arguments.length;a++){n[a-1]=arguments[a]}var o=e.get("logLevel","ERROR");if(["ERROR","WARN"].includes(o)){return console.error.apply(console,__spreadArray(["[Ionic Error]: ".concat(r)],n,false))}}));var o=r("b",(function(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return console.error("<".concat(r.tagName.toLowerCase(),"> must be used inside ").concat(e.join(" or "),"."))}))}}}));
|
package/dist/ionic/p-72bc8a1c.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{j as t}from"./p-b51e4004.js";import{i as o}from"./p-fb813dab.js";import{createGesture as r}from"./p-8ededb41.js";import"./p-9b97df10.js";const s=(s,e,n,a,p)=>{const c=s.ownerDocument.defaultView;let i=o(s);const m=t=>i?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(i=o(s),(t=>{const{startX:o}=t;return i?o>=c.innerWidth-50:o<=50})(t)&&e()),onStart:n,onMove:t=>{const o=m(t);a(o/c.innerWidth)},onEnd:o=>{const r=m(o),s=c.innerWidth,e=r/s,n=(t=>i?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>s/2),b=(a?1-e:e)*s;let d=0;if(b>5){const t=b/Math.abs(n);d=Math.min(t,540)}p(a,e<=0?.01:t(0,e,.9999),d)}})};export{s as createSwipeBackGesture}
|