@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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(i,n,t,e){function o(i){return i instanceof t?i:new t((function(n){n(i)}))}return new(t||(t=Promise))((function(t,a){function r(i){try{c(e.next(i))}catch(i){a(i)}}function s(i){try{c(e["throw"](i))}catch(i){a(i)}}function c(i){i.done?t(i.value):o(i.value).then(r,s)}c((e=e.apply(i,n||[])).next())}))};var __generator=this&&this.__generator||function(i,n){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(i){return function(n){return c([i,n])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(t=0)),t)try{if(e=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;o=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){t.label=s[1];break}if(s[0]===6&&t.label<a[1]){t.label=a[1];a=s;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(s);break}if(a[2])t.ops.pop();t.trys.pop();continue}s=n.call(i,t)}catch(i){s=[6,i];o=0}finally{e=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-25180df3.system.js","./p-f233f1e0.system.js","./p-3ad285e3.system.js","./p-4f255d5a.system.js","./p-ada36597.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js","./p-9146695e.system.js","./p-792919fd.system.js","./p-9f3008d4.system.js","./p-8635f5e6.system.js","./p-20d469d0.system.js","./p-67222c16.system.js"],(function(i){"use strict";var n,t,e,o,a,r,s,c,d,l,f,h,u,p,g,m,b,v,y,x,w;return{setters:[function(i){n=i.r;t=i.d;e=i.h;o=i.f;a=i.i},function(i){r=i.E;s=i.a},function(i){c=i.r},function(i){d=i.c},function(i){l=i.d;f=i.e;h=i.B;u=i.j;p=i.k;g=i.f;m=i.g;b=i.h},function(i){v=i.g},function(i){y=i.c;x=i.b},function(i){w=i.c},function(){},function(){},function(){},function(){},function(){}],execute:function(){var k=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var j=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var _=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var z=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var D=".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}";var L=D;var O=".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #0054e9);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}";var T=O;var P=i("ion_loading",function(){function i(i){var e=this;n(this,i);this.didPresent=t(this,"ionLoadingDidPresent",7);this.willPresent=t(this,"ionLoadingWillPresent",7);this.willDismiss=t(this,"ionLoadingWillDismiss",7);this.didDismiss=t(this,"ionLoadingDidDismiss",7);this.didPresentShorthand=t(this,"didPresent",7);this.willPresentShorthand=t(this,"willPresent",7);this.willDismissShorthand=t(this,"willDismiss",7);this.didDismissShorthand=t(this,"didDismiss",7);this.delegateController=l(this);this.lockController=d();this.triggerController=f();this.customHTMLEnabled=y.get("innerHTMLTemplatesEnabled",r);this.presented=false;this.onBackdropTap=function(){e.dismiss(undefined,h)};this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.message=undefined;this.cssClass=undefined;this.duration=0;this.backdropDismiss=false;this.showBackdrop=true;this.spinner=undefined;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}i.prototype.onIsOpenChange=function(i,n){if(i===true&&n===false){this.present()}else if(i===false&&n===true){this.dismiss()}};i.prototype.triggerChanged=function(){var i=this,n=i.trigger,t=i.el,e=i.triggerController;if(n){e.addClickListener(t,n)}};i.prototype.connectedCallback=function(){u(this.el);this.triggerChanged()};i.prototype.componentWillLoad=function(){var i;if(this.spinner===undefined){var n=x(this);this.spinner=y.get("loadingSpinner",y.get("spinner",n==="ios"?"lines":"crescent"))}if(!((i=this.htmlAttributes)===null||i===void 0?void 0:i.id)){p(this.el)}};i.prototype.componentDidLoad=function(){var i=this;if(this.isOpen===true){c((function(){return i.present()}))}this.triggerChanged()};i.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};i.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var i;var n=this;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.lockController.lock()];case 1:i=t.sent();return[4,this.delegateController.attachViewToDom()];case 2:t.sent();return[4,g(this,"loadingEnter",k,_)];case 3:t.sent();if(this.duration>0){this.durationTimeout=setTimeout((function(){return n.dismiss()}),this.duration+10)}i();return[2]}}))}))};i.prototype.dismiss=function(i,n){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(o){switch(o.label){case 0:return[4,this.lockController.lock()];case 1:t=o.sent();if(this.durationTimeout){clearTimeout(this.durationTimeout)}return[4,m(this,i,n,"loadingLeave",j,z)];case 2:e=o.sent();if(e){this.delegateController.removeViewFromDom()}t();return[2,e]}}))}))};i.prototype.onDidDismiss=function(){return b(this.el,"ionLoadingDidDismiss")};i.prototype.onWillDismiss=function(){return b(this.el,"ionLoadingWillDismiss")};i.prototype.renderLoadingMessage=function(i){var n=this,t=n.customHTMLEnabled,o=n.message;if(t){return e("div",{class:"loading-content",id:i,innerHTML:s(o)})}return e("div",{class:"loading-content",id:i},o)};i.prototype.render=function(){var i;var n=this,t=n.message,a=n.spinner,r=n.htmlAttributes,s=n.overlayIndex;var c=x(this);var d="loading-".concat(s,"-msg");var l=t!==undefined?d:null;return e(o,Object.assign({key:"d97f536b7f443ea19a2bbf2dcbc7f546b8e0a092",role:"dialog","aria-modal":"true","aria-labelledby":l,tabindex:"-1"},r,{style:{zIndex:"".concat(4e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},v(this.cssClass)),(i={},i[c]=true,i["overlay-hidden"]=true,i["loading-translucent"]=this.translucent,i))}),e("ion-backdrop",{key:"6cd39bd7912fd080ab59d041644054c96d238ea9",visible:this.showBackdrop,tappable:this.backdropDismiss}),e("div",{key:"c14ca5a9308844f11bcb010257e15208a75b39bc",tabindex:"0","aria-hidden":"true"}),e("div",{key:"118bceefa8e1cf8b225a858f224e6d919cf03c26",class:"loading-wrapper ion-overlay-wrapper"},a&&e("div",{key:"490d6e8ae4433835fe273162d7b90deab944fb39",class:"loading-spinner"},e("ion-spinner",{key:"c5cf6549c43df4cb23814b3e62ec4d9e7ea2b64f",name:a,"aria-hidden":"true"})),t!==undefined&&this.renderLoadingMessage(d)),e("div",{key:"2b888362122d3b66b0492d53b0c21bd6a2a97501",tabindex:"0","aria-hidden":"true"}))};Object.defineProperty(i.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return i}());P.style={ios:L,md:T}}}}));
|
|
4
|
+
*/System.register(["./p-25180df3.system.js","./p-f233f1e0.system.js","./p-b3680e2f.system.js","./p-4f255d5a.system.js","./p-c1b51537.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js","./p-9146695e.system.js","./p-792919fd.system.js","./p-9f3008d4.system.js","./p-95da3ae2.system.js","./p-20d469d0.system.js","./p-ff4b7e40.system.js"],(function(i){"use strict";var n,t,e,o,a,r,s,c,d,l,f,h,u,p,g,m,b,v,y,x,w;return{setters:[function(i){n=i.r;t=i.d;e=i.h;o=i.f;a=i.i},function(i){r=i.E;s=i.a},function(i){c=i.r},function(i){d=i.c},function(i){l=i.d;f=i.e;h=i.B;u=i.j;p=i.k;g=i.f;m=i.g;b=i.h},function(i){v=i.g},function(i){y=i.c;x=i.b},function(i){w=i.c},function(){},function(){},function(){},function(){},function(){}],execute:function(){var k=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var j=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var _=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var z=function(i){var n=w();var t=w();var e=w();t.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);e.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]);return n.addElement(i).easing("ease-in-out").duration(200).addAnimation([t,e])};var D=".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}";var L=D;var O=".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #0054e9);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}";var T=O;var P=i("ion_loading",function(){function i(i){var e=this;n(this,i);this.didPresent=t(this,"ionLoadingDidPresent",7);this.willPresent=t(this,"ionLoadingWillPresent",7);this.willDismiss=t(this,"ionLoadingWillDismiss",7);this.didDismiss=t(this,"ionLoadingDidDismiss",7);this.didPresentShorthand=t(this,"didPresent",7);this.willPresentShorthand=t(this,"willPresent",7);this.willDismissShorthand=t(this,"willDismiss",7);this.didDismissShorthand=t(this,"didDismiss",7);this.delegateController=l(this);this.lockController=d();this.triggerController=f();this.customHTMLEnabled=y.get("innerHTMLTemplatesEnabled",r);this.presented=false;this.onBackdropTap=function(){e.dismiss(undefined,h)};this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.message=undefined;this.cssClass=undefined;this.duration=0;this.backdropDismiss=false;this.showBackdrop=true;this.spinner=undefined;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}i.prototype.onIsOpenChange=function(i,n){if(i===true&&n===false){this.present()}else if(i===false&&n===true){this.dismiss()}};i.prototype.triggerChanged=function(){var i=this,n=i.trigger,t=i.el,e=i.triggerController;if(n){e.addClickListener(t,n)}};i.prototype.connectedCallback=function(){u(this.el);this.triggerChanged()};i.prototype.componentWillLoad=function(){var i;if(this.spinner===undefined){var n=x(this);this.spinner=y.get("loadingSpinner",y.get("spinner",n==="ios"?"lines":"crescent"))}if(!((i=this.htmlAttributes)===null||i===void 0?void 0:i.id)){p(this.el)}};i.prototype.componentDidLoad=function(){var i=this;if(this.isOpen===true){c((function(){return i.present()}))}this.triggerChanged()};i.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};i.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var i;var n=this;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.lockController.lock()];case 1:i=t.sent();return[4,this.delegateController.attachViewToDom()];case 2:t.sent();return[4,g(this,"loadingEnter",k,_)];case 3:t.sent();if(this.duration>0){this.durationTimeout=setTimeout((function(){return n.dismiss()}),this.duration+10)}i();return[2]}}))}))};i.prototype.dismiss=function(i,n){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(o){switch(o.label){case 0:return[4,this.lockController.lock()];case 1:t=o.sent();if(this.durationTimeout){clearTimeout(this.durationTimeout)}return[4,m(this,i,n,"loadingLeave",j,z)];case 2:e=o.sent();if(e){this.delegateController.removeViewFromDom()}t();return[2,e]}}))}))};i.prototype.onDidDismiss=function(){return b(this.el,"ionLoadingDidDismiss")};i.prototype.onWillDismiss=function(){return b(this.el,"ionLoadingWillDismiss")};i.prototype.renderLoadingMessage=function(i){var n=this,t=n.customHTMLEnabled,o=n.message;if(t){return e("div",{class:"loading-content",id:i,innerHTML:s(o)})}return e("div",{class:"loading-content",id:i},o)};i.prototype.render=function(){var i;var n=this,t=n.message,a=n.spinner,r=n.htmlAttributes,s=n.overlayIndex;var c=x(this);var d="loading-".concat(s,"-msg");var l=t!==undefined?d:null;return e(o,Object.assign({key:"d97f536b7f443ea19a2bbf2dcbc7f546b8e0a092",role:"dialog","aria-modal":"true","aria-labelledby":l,tabindex:"-1"},r,{style:{zIndex:"".concat(4e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},v(this.cssClass)),(i={},i[c]=true,i["overlay-hidden"]=true,i["loading-translucent"]=this.translucent,i))}),e("ion-backdrop",{key:"6cd39bd7912fd080ab59d041644054c96d238ea9",visible:this.showBackdrop,tappable:this.backdropDismiss}),e("div",{key:"c14ca5a9308844f11bcb010257e15208a75b39bc",tabindex:"0","aria-hidden":"true"}),e("div",{key:"118bceefa8e1cf8b225a858f224e6d919cf03c26",class:"loading-wrapper ion-overlay-wrapper"},a&&e("div",{key:"490d6e8ae4433835fe273162d7b90deab944fb39",class:"loading-spinner"},e("ion-spinner",{key:"c5cf6549c43df4cb23814b3e62ec4d9e7ea2b64f",name:a,"aria-hidden":"true"})),t!==undefined&&this.renderLoadingMessage(d)),e("div",{key:"2b888362122d3b66b0492d53b0c21bd6a2a97501",tabindex:"0","aria-hidden":"true"}))};Object.defineProperty(i.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return i}());P.style={ios:L,md:T}}}}));
|
|
@@ -8,14 +8,9 @@ import type { Color } from '../../interface';
|
|
|
8
8
|
* @part container - The container for the radio mark.
|
|
9
9
|
* @part label - The label text describing the radio.
|
|
10
10
|
* @part mark - The checkmark or dot used to indicate the checked state.
|
|
11
|
-
* @part supporting-text - Supporting text displayed beneath the radio label.
|
|
12
|
-
* @part helper-text - Supporting text displayed beneath the radio label when the radio is valid.
|
|
13
|
-
* @part error-text - Supporting text displayed beneath the radio label when the radio is invalid and touched.
|
|
14
11
|
*/
|
|
15
12
|
export declare class Radio implements ComponentInterface {
|
|
16
13
|
private inputId;
|
|
17
|
-
private helperTextId;
|
|
18
|
-
private errorTextId;
|
|
19
14
|
private radioGroup;
|
|
20
15
|
el: HTMLIonRadioElement;
|
|
21
16
|
/**
|
|
@@ -41,14 +36,6 @@ export declare class Radio implements ComponentInterface {
|
|
|
41
36
|
* If `true`, the user cannot interact with the radio.
|
|
42
37
|
*/
|
|
43
38
|
disabled: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Text that is placed under the radio label and displayed when an error is detected.
|
|
46
|
-
*/
|
|
47
|
-
errorText?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Text that is placed under the radio label and displayed when no error is detected.
|
|
50
|
-
*/
|
|
51
|
-
helperText?: string;
|
|
52
39
|
/**
|
|
53
40
|
* the value of the radio.
|
|
54
41
|
*/
|
|
@@ -101,11 +88,5 @@ export declare class Radio implements ComponentInterface {
|
|
|
101
88
|
private onBlur;
|
|
102
89
|
private get hasLabel();
|
|
103
90
|
private renderRadioControl;
|
|
104
|
-
private getHintTextID;
|
|
105
|
-
/**
|
|
106
|
-
* Responsible for rendering helper text and error text.
|
|
107
|
-
* This element should only be rendered if hint text is set.
|
|
108
|
-
*/
|
|
109
|
-
private renderHintText;
|
|
110
91
|
render(): any;
|
|
111
92
|
}
|
|
@@ -36,7 +36,8 @@ export declare class SegmentButton implements ComponentInterface, ButtonInterfac
|
|
|
36
36
|
*/
|
|
37
37
|
value: SegmentValue;
|
|
38
38
|
valueChanged(): void;
|
|
39
|
-
|
|
39
|
+
private waitForSegmentContent;
|
|
40
|
+
connectedCallback(): Promise<void>;
|
|
40
41
|
disconnectedCallback(): void;
|
|
41
42
|
componentWillLoad(): void;
|
|
42
43
|
private get hasLabel();
|
|
@@ -8,10 +8,6 @@ import type { Color, StyleEventDetail } from '../../interface';
|
|
|
8
8
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
9
9
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
10
10
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
11
|
-
*
|
|
12
|
-
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
13
|
-
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
14
|
-
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
15
11
|
*/
|
|
16
12
|
export declare class Toolbar implements ComponentInterface {
|
|
17
13
|
private childrenStyles;
|
|
@@ -2267,14 +2267,6 @@ export namespace Components {
|
|
|
2267
2267
|
* If `true`, the user cannot interact with the radio.
|
|
2268
2268
|
*/
|
|
2269
2269
|
"disabled": boolean;
|
|
2270
|
-
/**
|
|
2271
|
-
* Text that is placed under the radio label and displayed when an error is detected.
|
|
2272
|
-
*/
|
|
2273
|
-
"errorText"?: string;
|
|
2274
|
-
/**
|
|
2275
|
-
* Text that is placed under the radio label and displayed when no error is detected.
|
|
2276
|
-
*/
|
|
2277
|
-
"helperText"?: string;
|
|
2278
2270
|
/**
|
|
2279
2271
|
* How to pack the label and radio within a line. `"start"`: The label and radio will appear on the left in LTR and on the right in RTL. `"end"`: The label and radio will appear on the right in LTR and on the left in RTL. `"space-between"`: The label and radio will appear on opposite ends of the line with space between the two elements. Setting this property will change the radio `display` to `block`.
|
|
2280
2272
|
*/
|
|
@@ -6932,14 +6924,6 @@ declare namespace LocalJSX {
|
|
|
6932
6924
|
* If `true`, the user cannot interact with the radio.
|
|
6933
6925
|
*/
|
|
6934
6926
|
"disabled"?: boolean;
|
|
6935
|
-
/**
|
|
6936
|
-
* Text that is placed under the radio label and displayed when an error is detected.
|
|
6937
|
-
*/
|
|
6938
|
-
"errorText"?: string;
|
|
6939
|
-
/**
|
|
6940
|
-
* Text that is placed under the radio label and displayed when no error is detected.
|
|
6941
|
-
*/
|
|
6942
|
-
"helperText"?: string;
|
|
6943
6927
|
/**
|
|
6944
6928
|
* How to pack the label and radio within a line. `"start"`: The label and radio will appear on the left in LTR and on the right in RTL. `"end"`: The label and radio will appear on the right in LTR and on the left in RTL. `"space-between"`: The label and radio will appear on opposite ends of the line with space between the two elements. Setting this property will change the radio `display` to `block`.
|
|
6945
6929
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { SpinnerTypes } from '../components/spinner/spinner-configs';
|
|
2
2
|
import type { TabButtonLayout } from '../components/tab-bar/tab-bar-interface';
|
|
3
3
|
import type { AnimationBuilder, Mode } from '../interface';
|
|
4
|
-
import type { LogLevel } from './logging';
|
|
5
4
|
import type { PlatformConfig } from './platform';
|
|
6
5
|
export interface IonicConfig {
|
|
7
6
|
/**
|
|
@@ -180,14 +179,6 @@ export interface IonicConfig {
|
|
|
180
179
|
* Note that the `hardwareBackButton` config option must also be `true`.
|
|
181
180
|
*/
|
|
182
181
|
experimentalCloseWatcher?: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Configures the logging level for Ionic Framework:
|
|
185
|
-
*
|
|
186
|
-
* - `'OFF'`: No errors or warnings are logged.
|
|
187
|
-
* - `'ERROR'`: Logs only errors.
|
|
188
|
-
* - `'WARN'`: Logs errors and warnings.
|
|
189
|
-
*/
|
|
190
|
-
logLevel?: LogLevel;
|
|
191
182
|
keyboardHeight?: number;
|
|
192
183
|
inputShims?: boolean;
|
|
193
184
|
scrollPadding?: boolean;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export declare const enum LogLevel {
|
|
2
|
-
OFF = "OFF",
|
|
3
|
-
ERROR = "ERROR",
|
|
4
|
-
WARN = "WARN"
|
|
5
|
-
}
|
|
6
1
|
/**
|
|
7
2
|
* Logs a warning to the console with an Ionic prefix
|
|
8
3
|
* to indicate the library that is warning the developer.
|
|
@@ -10,14 +5,7 @@ export declare const enum LogLevel {
|
|
|
10
5
|
* @param message - The string message to be logged to the console.
|
|
11
6
|
*/
|
|
12
7
|
export declare const printIonWarning: (message: string, ...params: any[]) => void;
|
|
13
|
-
|
|
14
|
-
* Logs an error to the console with an Ionic prefix
|
|
15
|
-
* to indicate the library that is warning the developer.
|
|
16
|
-
*
|
|
17
|
-
* @param message - The string message to be logged to the console.
|
|
18
|
-
* @param params - Additional arguments to supply to the console.error.
|
|
19
|
-
*/
|
|
20
|
-
export declare const printIonError: (message: string, ...params: any[]) => void;
|
|
8
|
+
export declare const printIonError: (message: string, ...params: any) => void;
|
|
21
9
|
/**
|
|
22
10
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
23
11
|
* within a specific selector.
|
package/hydrate/index.js
CHANGED
|
@@ -2710,6 +2710,16 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
return true;
|
|
2712
2712
|
};
|
|
2713
|
+
const getNextSiblingOfType = (element) => {
|
|
2714
|
+
let sibling = element.nextSibling;
|
|
2715
|
+
while (sibling) {
|
|
2716
|
+
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
2717
|
+
return sibling;
|
|
2718
|
+
}
|
|
2719
|
+
sibling = sibling.nextSibling;
|
|
2720
|
+
}
|
|
2721
|
+
return null;
|
|
2722
|
+
};
|
|
2713
2723
|
|
|
2714
2724
|
/* Ionicons v7.2.2, ES Modules */
|
|
2715
2725
|
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>";
|
|
@@ -3217,12 +3227,9 @@ let accordionIds = 0;
|
|
|
3217
3227
|
* @param message - The string message to be logged to the console.
|
|
3218
3228
|
*/
|
|
3219
3229
|
const printIonWarning = (message, ...params) => {
|
|
3220
|
-
|
|
3221
|
-
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
3222
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
3223
|
-
}
|
|
3230
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
3224
3231
|
};
|
|
3225
|
-
|
|
3232
|
+
/*
|
|
3226
3233
|
* Logs an error to the console with an Ionic prefix
|
|
3227
3234
|
* to indicate the library that is warning the developer.
|
|
3228
3235
|
*
|
|
@@ -3230,10 +3237,7 @@ const printIonWarning = (message, ...params) => {
|
|
|
3230
3237
|
* @param params - Additional arguments to supply to the console.error.
|
|
3231
3238
|
*/
|
|
3232
3239
|
const printIonError = (message, ...params) => {
|
|
3233
|
-
|
|
3234
|
-
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
3235
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
3236
|
-
}
|
|
3240
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
3237
3241
|
};
|
|
3238
3242
|
/**
|
|
3239
3243
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
@@ -6997,6 +7001,7 @@ class Alert {
|
|
|
6997
7001
|
}
|
|
6998
7002
|
}
|
|
6999
7003
|
onKeydown(ev) {
|
|
7004
|
+
var _a;
|
|
7000
7005
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
7001
7006
|
/**
|
|
7002
7007
|
* Based on keyboard navigation requirements, the
|
|
@@ -7006,6 +7011,17 @@ class Alert {
|
|
|
7006
7011
|
ev.preventDefault();
|
|
7007
7012
|
return;
|
|
7008
7013
|
}
|
|
7014
|
+
/**
|
|
7015
|
+
* 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.
|
|
7016
|
+
*/
|
|
7017
|
+
if (ev.target.classList.contains('alert-wrapper')) {
|
|
7018
|
+
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
7019
|
+
ev.preventDefault();
|
|
7020
|
+
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
7021
|
+
lastChildBtn.focus();
|
|
7022
|
+
return;
|
|
7023
|
+
}
|
|
7024
|
+
}
|
|
7009
7025
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
7010
7026
|
// ignore the keydown event if it is not on a radio button
|
|
7011
7027
|
if (!inputTypes.has('radio') ||
|
|
@@ -7137,7 +7153,16 @@ class Alert {
|
|
|
7137
7153
|
async present() {
|
|
7138
7154
|
const unlock = await this.lockController.lock();
|
|
7139
7155
|
await this.delegateController.attachViewToDom();
|
|
7140
|
-
await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4)
|
|
7156
|
+
await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4).then(() => {
|
|
7157
|
+
var _a, _b;
|
|
7158
|
+
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
7159
|
+
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
7160
|
+
queryBtn.focus();
|
|
7161
|
+
}
|
|
7162
|
+
else {
|
|
7163
|
+
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
7164
|
+
}
|
|
7165
|
+
});
|
|
7141
7166
|
unlock();
|
|
7142
7167
|
}
|
|
7143
7168
|
/**
|
|
@@ -7309,8 +7334,8 @@ class Alert {
|
|
|
7309
7334
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
7310
7335
|
const mode = getIonMode$1(this);
|
|
7311
7336
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
7312
|
-
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
7313
7337
|
const msgId = `alert-${overlayIndex}-msg`;
|
|
7338
|
+
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
7314
7339
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
7315
7340
|
/**
|
|
7316
7341
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -7319,9 +7344,9 @@ class Alert {
|
|
|
7319
7344
|
* If neither are defined, do not set aria-labelledby.
|
|
7320
7345
|
*/
|
|
7321
7346
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
7322
|
-
return (hAsync(Host,
|
|
7347
|
+
return (hAsync(Host, { key: '212b5dc1949c63210c9d135afbe7fe31a16b5638', tabindex: "-1", style: {
|
|
7323
7348
|
zIndex: `${20000 + overlayIndex}`,
|
|
7324
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }
|
|
7349
|
+
}, 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" })));
|
|
7325
7350
|
}
|
|
7326
7351
|
get el() { return getElement(this); }
|
|
7327
7352
|
static get watchers() { return {
|
|
@@ -24568,10 +24593,10 @@ const renderProgress = (value, buffer) => {
|
|
|
24568
24593
|
];
|
|
24569
24594
|
};
|
|
24570
24595
|
|
|
24571
|
-
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-
|
|
24596
|
+
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}";
|
|
24572
24597
|
var IonRadioIosStyle0 = radioIosCss;
|
|
24573
24598
|
|
|
24574
|
-
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-
|
|
24599
|
+
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}";
|
|
24575
24600
|
var IonRadioMdStyle0 = radioMdCss;
|
|
24576
24601
|
|
|
24577
24602
|
/**
|
|
@@ -24582,9 +24607,6 @@ var IonRadioMdStyle0 = radioMdCss;
|
|
|
24582
24607
|
* @part container - The container for the radio mark.
|
|
24583
24608
|
* @part label - The label text describing the radio.
|
|
24584
24609
|
* @part mark - The checkmark or dot used to indicate the checked state.
|
|
24585
|
-
* @part supporting-text - Supporting text displayed beneath the radio label.
|
|
24586
|
-
* @part helper-text - Supporting text displayed beneath the radio label when the radio is valid.
|
|
24587
|
-
* @part error-text - Supporting text displayed beneath the radio label when the radio is invalid and touched.
|
|
24588
24610
|
*/
|
|
24589
24611
|
class Radio {
|
|
24590
24612
|
constructor(hostRef) {
|
|
@@ -24592,8 +24614,6 @@ class Radio {
|
|
|
24592
24614
|
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
24593
24615
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
24594
24616
|
this.inputId = `ion-rb-${radioButtonIds++}`;
|
|
24595
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
24596
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
24597
24617
|
this.radioGroup = null;
|
|
24598
24618
|
this.updateState = () => {
|
|
24599
24619
|
if (this.radioGroup) {
|
|
@@ -24633,8 +24653,6 @@ class Radio {
|
|
|
24633
24653
|
this.color = undefined;
|
|
24634
24654
|
this.name = this.inputId;
|
|
24635
24655
|
this.disabled = false;
|
|
24636
|
-
this.errorText = undefined;
|
|
24637
|
-
this.helperText = undefined;
|
|
24638
24656
|
this.value = undefined;
|
|
24639
24657
|
this.labelPlacement = 'start';
|
|
24640
24658
|
this.justify = undefined;
|
|
@@ -24694,37 +24712,11 @@ class Radio {
|
|
|
24694
24712
|
renderRadioControl() {
|
|
24695
24713
|
return (hAsync("div", { class: "radio-icon", part: "container" }, hAsync("div", { class: "radio-inner", part: "mark" }), hAsync("div", { class: "radio-ripple" })));
|
|
24696
24714
|
}
|
|
24697
|
-
getHintTextID() {
|
|
24698
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
24699
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
24700
|
-
return errorTextId;
|
|
24701
|
-
}
|
|
24702
|
-
if (helperText) {
|
|
24703
|
-
return helperTextId;
|
|
24704
|
-
}
|
|
24705
|
-
return undefined;
|
|
24706
|
-
}
|
|
24707
|
-
/**
|
|
24708
|
-
* Responsible for rendering helper text and error text.
|
|
24709
|
-
* This element should only be rendered if hint text is set.
|
|
24710
|
-
*/
|
|
24711
|
-
renderHintText() {
|
|
24712
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
24713
|
-
/**
|
|
24714
|
-
* undefined and empty string values should
|
|
24715
|
-
* be treated as not having helper/error text.
|
|
24716
|
-
*/
|
|
24717
|
-
const hasHintText = !!helperText || !!errorText;
|
|
24718
|
-
if (!hasHintText) {
|
|
24719
|
-
return;
|
|
24720
|
-
}
|
|
24721
|
-
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)));
|
|
24722
|
-
}
|
|
24723
24715
|
render() {
|
|
24724
24716
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
24725
24717
|
const mode = getIonMode$1(this);
|
|
24726
24718
|
const inItem = hostContext('ion-item', el);
|
|
24727
|
-
return (hAsync(Host, { key: '
|
|
24719
|
+
return (hAsync(Host, { key: '5a0adab55ad009305de4856fa1b9f93f2279a734', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
24728
24720
|
[mode]: true,
|
|
24729
24721
|
'in-item': inItem,
|
|
24730
24722
|
'radio-checked': checked,
|
|
@@ -24735,10 +24727,10 @@ class Radio {
|
|
|
24735
24727
|
// Focus and active styling should not apply when the radio is in an item
|
|
24736
24728
|
'ion-activatable': !inItem,
|
|
24737
24729
|
'ion-focusable': !inItem,
|
|
24738
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null,
|
|
24730
|
+
}), 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: {
|
|
24739
24731
|
'label-text-wrapper': true,
|
|
24740
24732
|
'label-text-wrapper-hidden': !hasLabel,
|
|
24741
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
24733
|
+
}, part: "label" }, hAsync("slot", { key: '6cedf4e7b3bd03e4a635727dd7b6094bab64af64' })), hAsync("div", { key: '26dd48d9d2848b7f100b732abdc4a3171adde483', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
24742
24734
|
}
|
|
24743
24735
|
get el() { return getElement(this); }
|
|
24744
24736
|
static get watchers() { return {
|
|
@@ -24755,8 +24747,6 @@ class Radio {
|
|
|
24755
24747
|
"color": [513],
|
|
24756
24748
|
"name": [1],
|
|
24757
24749
|
"disabled": [4],
|
|
24758
|
-
"errorText": [1, "error-text"],
|
|
24759
|
-
"helperText": [1, "helper-text"],
|
|
24760
24750
|
"value": [8],
|
|
24761
24751
|
"labelPlacement": [1, "label-placement"],
|
|
24762
24752
|
"justify": [1],
|
|
@@ -29359,7 +29349,35 @@ class SegmentButton {
|
|
|
29359
29349
|
valueChanged() {
|
|
29360
29350
|
this.updateState();
|
|
29361
29351
|
}
|
|
29362
|
-
|
|
29352
|
+
waitForSegmentContent(ionSegment, contentId) {
|
|
29353
|
+
return new Promise((resolve, reject) => {
|
|
29354
|
+
let timeoutId = undefined;
|
|
29355
|
+
let animationFrameId;
|
|
29356
|
+
const check = () => {
|
|
29357
|
+
if (!ionSegment) {
|
|
29358
|
+
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
29359
|
+
return;
|
|
29360
|
+
}
|
|
29361
|
+
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
29362
|
+
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
29363
|
+
if (segmentContent && timeoutId) {
|
|
29364
|
+
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
29365
|
+
cancelAnimationFrame(animationFrameId);
|
|
29366
|
+
resolve(segmentContent);
|
|
29367
|
+
}
|
|
29368
|
+
else {
|
|
29369
|
+
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
29370
|
+
}
|
|
29371
|
+
};
|
|
29372
|
+
check();
|
|
29373
|
+
// Set a timeout to reject the promise
|
|
29374
|
+
timeoutId = setTimeout(() => {
|
|
29375
|
+
cancelAnimationFrame(animationFrameId);
|
|
29376
|
+
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
29377
|
+
}, 1000);
|
|
29378
|
+
});
|
|
29379
|
+
}
|
|
29380
|
+
async connectedCallback() {
|
|
29363
29381
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
29364
29382
|
if (segmentEl) {
|
|
29365
29383
|
this.updateState();
|
|
@@ -29369,11 +29387,14 @@ class SegmentButton {
|
|
|
29369
29387
|
// Return if there is no contentId defined
|
|
29370
29388
|
if (!this.contentId)
|
|
29371
29389
|
return;
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
|
|
29376
|
-
|
|
29390
|
+
let segmentContent;
|
|
29391
|
+
try {
|
|
29392
|
+
// Attempt to find the Segment Content by its contentId
|
|
29393
|
+
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
29394
|
+
}
|
|
29395
|
+
catch (error) {
|
|
29396
|
+
// If no associated Segment Content exists, log an error and return
|
|
29397
|
+
console.error('Segment Button: ', error.message);
|
|
29377
29398
|
return;
|
|
29378
29399
|
}
|
|
29379
29400
|
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
@@ -29419,7 +29440,7 @@ class SegmentButton {
|
|
|
29419
29440
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
29420
29441
|
const mode = getIonMode$1(this);
|
|
29421
29442
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
29422
|
-
return (hAsync(Host, { key: '
|
|
29443
|
+
return (hAsync(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
|
|
29423
29444
|
[mode]: true,
|
|
29424
29445
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
29425
29446
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -29435,7 +29456,7 @@ class SegmentButton {
|
|
|
29435
29456
|
'ion-activatable': true,
|
|
29436
29457
|
'ion-activatable-instant': true,
|
|
29437
29458
|
'ion-focusable': true,
|
|
29438
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
29459
|
+
} }, 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" }))));
|
|
29439
29460
|
}
|
|
29440
29461
|
get el() { return getElement(this); }
|
|
29441
29462
|
static get watchers() { return {
|
|
@@ -32819,10 +32840,6 @@ var IonToolbarMdStyle0 = toolbarMdCss;
|
|
|
32819
32840
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
32820
32841
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
32821
32842
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
32822
|
-
*
|
|
32823
|
-
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
32824
|
-
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
32825
|
-
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
32826
32843
|
*/
|
|
32827
32844
|
class Toolbar {
|
|
32828
32845
|
constructor(hostRef) {
|
|
@@ -32873,10 +32890,10 @@ class Toolbar {
|
|
|
32873
32890
|
this.childrenStyles.forEach((value) => {
|
|
32874
32891
|
Object.assign(childStyles, value);
|
|
32875
32892
|
});
|
|
32876
|
-
return (hAsync(Host, { key: '
|
|
32893
|
+
return (hAsync(Host, { key: '462538a5ecd01baf3cde116c9f029aeda26c81be', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
32877
32894
|
[mode]: true,
|
|
32878
32895
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32879
|
-
})) }, hAsync("div", { key: '
|
|
32896
|
+
})) }, 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" }))));
|
|
32880
32897
|
}
|
|
32881
32898
|
get el() { return getElement(this); }
|
|
32882
32899
|
static get style() { return {
|