@ionic/core 8.4.4-dev.11739312641.10060091 → 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/index9.js +1 -1
- package/components/ion-segment-button.js +40 -9
- package/components/ripple-effect.js +2 -4
- 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-8e789962.js → index-1ae3f40a.js} +1 -1
- package/dist/cjs/{index-f05acd21.js → index-4e14a46e.js} +3 -3
- package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
- package/dist/cjs/{index-5b6a7459.js → index-c441c903.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-e748a364.js} +2 -2
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-74e4ec28.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
- package/dist/cjs/ion-alert.cjs.entry.js +28 -7
- package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -4
- 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 +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-afdec89f.js} +2 -2
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-9f0d3db5.js} +2 -2
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
- package/dist/cjs/{overlays-aa669eb8.js → overlays-76b29cd4.js} +2 -2
- package/dist/cjs/{status-tap-37681226.js → status-tap-fb807fad.js} +2 -2
- 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/ripple-effect/ripple-effect.js +2 -4
- package/dist/collection/components/segment-button/segment-button.js +40 -9
- package/dist/collection/utils/helpers.js +10 -0
- package/dist/docs.json +5 -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-5cc724f3.js → index-33f7e3ff.js} +1 -1
- package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
- package/dist/esm/{index-3ad7f18b.js → index-7ec5519a.js} +3 -3
- package/dist/esm/{index-24b48b06.js → index-8785a9c6.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-0e65111b.js} +2 -2
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-1ad8dafc.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +3 -3
- package/dist/esm/ion-alert.entry.js +28 -7
- package/dist/esm/ion-app_8.entry.js +8 -8
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/ion-datetime_3.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +1 -1
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +2 -4
- 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 +3 -3
- package/dist/esm/ion-select_3.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-085853ff.js} +2 -2
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-33826623.js} +2 -2
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
- package/dist/esm/{overlays-e7b9d6d9.js → overlays-e3d0d356.js} +2 -2
- package/dist/esm/{status-tap-f472b09f.js → status-tap-163e8128.js} +2 -2
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.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-5cc724f3.js → index-33f7e3ff.js} +1 -1
- package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
- package/dist/esm-es5/{index-3ad7f18b.js → index-7ec5519a.js} +1 -1
- package/dist/esm-es5/{index-24b48b06.js → index-8785a9c6.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-0314bbe5.js → input-shims-0e65111b.js} +1 -1
- package/dist/esm-es5/{input.utils-09c71bc7.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.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-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/{ios.transition-4ee1a3af.js → ios.transition-085853ff.js} +1 -1
- package/dist/esm-es5/{md.transition-5106a0d2.js → md.transition-33826623.js} +1 -1
- package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
- package/dist/esm-es5/{overlays-e7b9d6d9.js → overlays-e3d0d356.js} +1 -1
- package/dist/esm-es5/{status-tap-f472b09f.js → status-tap-163e8128.js} +1 -1
- package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-88e63c7d.js → p-02e1ebd9.js} +1 -1
- package/dist/ionic/{p-937a7e21.entry.js → p-02e23f26.entry.js} +1 -1
- package/dist/ionic/{p-4439fc2a.entry.js → p-0397811d.entry.js} +1 -1
- package/dist/ionic/{p-06e58c4e.js → p-075a94bd.js} +1 -1
- package/dist/ionic/{p-908d6080.entry.js → p-0a59f4fa.entry.js} +1 -1
- package/dist/ionic/{p-f1acf541.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
- package/dist/ionic/{p-8b8be2fd.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-dfb78785.system.js → p-0ee3b5a2.system.js} +1 -1
- package/dist/ionic/p-135e5731.js +4 -0
- package/dist/ionic/{p-d6841eac.js → p-13dc21b0.js} +1 -1
- package/dist/ionic/{p-efaffe74.entry.js → p-14143257.entry.js} +1 -1
- package/dist/ionic/{p-37cb43bd.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
- package/dist/ionic/{p-9ea607bd.system.js → p-1a790eef.system.js} +1 -1
- package/dist/ionic/{p-5823babc.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
- package/dist/ionic/{p-ddaa748a.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
- package/dist/ionic/p-1f405274.js +4 -0
- package/dist/ionic/{p-c9f3a539.entry.js → p-203633d1.entry.js} +1 -1
- package/dist/ionic/{p-a882acef.system.entry.js → p-2507278c.system.entry.js} +1 -1
- package/dist/ionic/{p-2b838f86.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
- package/dist/ionic/{p-e85d901b.system.entry.js → p-25fa1d30.system.entry.js} +1 -1
- package/dist/ionic/{p-61e3f887.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-2b9b78c7.entry.js → p-2c8798d0.entry.js} +1 -1
- package/dist/ionic/p-2c9eb774.system.js +4 -0
- package/dist/ionic/{p-14e159ea.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-982315a6.entry.js → p-32e99b0a.entry.js} +1 -1
- package/dist/ionic/{p-f9a53abb.system.js → p-340e3f24.system.js} +1 -1
- package/dist/ionic/{p-ca065903.system.entry.js → p-3572f86a.system.entry.js} +1 -1
- package/dist/ionic/p-360ced64.entry.js +4 -0
- package/dist/ionic/{p-a49378bb.system.entry.js → p-3df889b3.system.entry.js} +1 -1
- package/dist/ionic/{p-6499df44.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-96cc4814.js → p-42808996.js} +1 -1
- package/dist/ionic/{p-bc36ad98.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-9fa07aec.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-6b280620.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-b82d4cab.js → p-51dec25d.js} +1 -1
- package/dist/ionic/{p-d18ab582.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
- package/dist/ionic/p-56da53ad.system.entry.js +4 -0
- package/dist/ionic/{p-45693d7e.entry.js → p-57379000.entry.js} +1 -1
- package/dist/ionic/{p-19a5be0a.entry.js → p-57ceead7.entry.js} +1 -1
- package/dist/ionic/{p-e563a35c.entry.js → p-5cde8ef3.entry.js} +1 -1
- package/dist/ionic/{p-6d6cedc5.entry.js → p-6190d0d6.entry.js} +1 -1
- 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-9e33104d.entry.js → p-6b1bd0c1.entry.js} +1 -1
- package/dist/ionic/p-6d32975a.entry.js +4 -0
- package/dist/ionic/{p-7ddc46c3.system.entry.js → p-70ccc275.system.entry.js} +1 -1
- 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-1046866e.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-2fc0dafe.entry.js → p-803f0bc2.entry.js} +1 -1
- package/dist/ionic/{p-a61cba41.entry.js → p-82b931e2.entry.js} +1 -1
- package/dist/ionic/{p-508d024a.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-5da94421.system.js → p-881d9e52.system.js} +1 -1
- package/dist/ionic/{p-eba29931.entry.js → p-8a836849.entry.js} +1 -1
- package/dist/ionic/{p-1e010627.system.entry.js → p-91f17b25.system.entry.js} +1 -1
- 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-12a722b8.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-2bd0ae94.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
- package/dist/ionic/{p-c449820c.system.js → p-9eee4de1.system.js} +1 -1
- package/dist/ionic/{p-e7ed4a7f.system.js → p-a2b6dd57.system.js} +1 -1
- package/dist/ionic/{p-2799c6d3.system.entry.js → p-a3c78186.system.entry.js} +1 -1
- package/dist/ionic/{p-32d44024.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-0c06e09b.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-21e5e7e4.js → p-b7433d7d.js} +1 -1
- package/dist/ionic/{p-66640ff7.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-0aa833fb.system.js → p-c1b51537.system.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-9ee1e8a6.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-1fe02220.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-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-b79ba17c.entry.js → p-e1bbacb7.entry.js} +1 -1
- package/dist/ionic/{p-b335ffed.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-a4565eb5.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-19ec4f42.entry.js → p-e97a3f44.entry.js} +1 -1
- package/dist/ionic/{p-b2272f51.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-a43467d8.entry.js → p-f42743d1.entry.js} +1 -1
- package/dist/ionic/{p-e6635685.js → p-f5035354.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-e4f69534.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/utils/helpers.d.ts +1 -0
- package/hydrate/index.js +76 -16
- package/hydrate/index.mjs +76 -16
- package/package.json +2 -2
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-1d8761e6.entry.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4ec778aa.entry.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-942b5e13.entry.js +0 -4
- package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
- package/dist/ionic/p-cdc83025.entry.js +0 -4
package/components/alert.js
CHANGED
|
@@ -167,6 +167,7 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
onKeydown(ev) {
|
|
170
|
+
var _a;
|
|
170
171
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
171
172
|
/**
|
|
172
173
|
* Based on keyboard navigation requirements, the
|
|
@@ -176,6 +177,17 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
176
177
|
ev.preventDefault();
|
|
177
178
|
return;
|
|
178
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* 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.
|
|
182
|
+
*/
|
|
183
|
+
if (ev.target.classList.contains('alert-wrapper')) {
|
|
184
|
+
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
185
|
+
ev.preventDefault();
|
|
186
|
+
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
187
|
+
lastChildBtn.focus();
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
179
191
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
180
192
|
// ignore the keydown event if it is not on a radio button
|
|
181
193
|
if (!inputTypes.has('radio') ||
|
|
@@ -307,7 +319,16 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
307
319
|
async present() {
|
|
308
320
|
const unlock = await this.lockController.lock();
|
|
309
321
|
await this.delegateController.attachViewToDom();
|
|
310
|
-
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation)
|
|
322
|
+
await present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation).then(() => {
|
|
323
|
+
var _a, _b;
|
|
324
|
+
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
325
|
+
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
326
|
+
queryBtn.focus();
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
330
|
+
}
|
|
331
|
+
});
|
|
311
332
|
unlock();
|
|
312
333
|
}
|
|
313
334
|
/**
|
|
@@ -481,8 +502,8 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
481
502
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
482
503
|
const mode = getIonMode(this);
|
|
483
504
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
484
|
-
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
485
505
|
const msgId = `alert-${overlayIndex}-msg`;
|
|
506
|
+
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
486
507
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
487
508
|
/**
|
|
488
509
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -491,9 +512,9 @@ const Alert = /*@__PURE__*/ proxyCustomElement(class Alert extends HTMLElement {
|
|
|
491
512
|
* If neither are defined, do not set aria-labelledby.
|
|
492
513
|
*/
|
|
493
514
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
494
|
-
return (h(Host,
|
|
515
|
+
return (h(Host, { key: '212b5dc1949c63210c9d135afbe7fe31a16b5638', tabindex: "-1", style: {
|
|
495
516
|
zIndex: `${20000 + overlayIndex}`,
|
|
496
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }
|
|
517
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: 'ac8351d14850884a4f6865bbf32fb271592eedd9', tappable: this.backdropDismiss }), h("div", { key: 'f677da8e719dfef9db8acbfd4fa14b936efb2cd7', tabindex: "0", "aria-hidden": "true" }), h("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), h("div", { key: '441b12e462a6ac83f29e251bea60d4dac273c6f8', class: "alert-head" }, header && (h("h2", { key: 'd7f185ec5ba61519cd2e5c84ccb884fc711754bf', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '8477b1979d040ffbce7b4396b57d5fd197b116a7', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: 'ccb22f664465077be6e5f59c1541c13d8071cc30', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: '33d5f68cb7a0989ecd1bd0abf110b94947e5b091', tabindex: "0", "aria-hidden": "true" })));
|
|
497
518
|
}
|
|
498
519
|
get el() { return this; }
|
|
499
520
|
static get watchers() { return {
|
package/components/helpers.js
CHANGED
|
@@ -358,5 +358,15 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
358
358
|
}
|
|
359
359
|
return true;
|
|
360
360
|
};
|
|
361
|
+
const getNextSiblingOfType = (element) => {
|
|
362
|
+
let sibling = element.nextSibling;
|
|
363
|
+
while (sibling) {
|
|
364
|
+
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
365
|
+
return sibling;
|
|
366
|
+
}
|
|
367
|
+
sibling = sibling.nextSibling;
|
|
368
|
+
}
|
|
369
|
+
return null;
|
|
370
|
+
};
|
|
361
371
|
|
|
362
|
-
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, debounce as o,
|
|
372
|
+
export { addEventListener as a, removeEventListener as b, componentOnReady as c, inheritAttributes as d, renderHiddenInput as e, focusVisibleElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, hasLazyBuild as j, clamp as k, debounceEvent as l, isEndSide as m, assert as n, debounce as o, getNextSiblingOfType as p, pointerCoord as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };
|
package/components/index9.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index5.js';
|
|
5
|
-
import {
|
|
5
|
+
import { q as pointerCoord } from './helpers.js';
|
|
6
6
|
|
|
7
7
|
const startTapClick = (config) => {
|
|
8
8
|
if (doc === undefined) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { a as addEventListener, b as removeEventListener, d as inheritAttributes } from './helpers.js';
|
|
5
|
+
import { a as addEventListener, b as removeEventListener, d as inheritAttributes, p as getNextSiblingOfType } from './helpers.js';
|
|
6
6
|
import { h as hostContext } from './theme.js';
|
|
7
7
|
import { b as getIonMode } from './ionic-global.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './ripple-effect.js';
|
|
@@ -43,7 +43,35 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
43
43
|
valueChanged() {
|
|
44
44
|
this.updateState();
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
waitForSegmentContent(ionSegment, contentId) {
|
|
47
|
+
return new Promise((resolve, reject) => {
|
|
48
|
+
let timeoutId = undefined;
|
|
49
|
+
let animationFrameId;
|
|
50
|
+
const check = () => {
|
|
51
|
+
if (!ionSegment) {
|
|
52
|
+
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
56
|
+
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
57
|
+
if (segmentContent && timeoutId) {
|
|
58
|
+
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
59
|
+
cancelAnimationFrame(animationFrameId);
|
|
60
|
+
resolve(segmentContent);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
check();
|
|
67
|
+
// Set a timeout to reject the promise
|
|
68
|
+
timeoutId = setTimeout(() => {
|
|
69
|
+
cancelAnimationFrame(animationFrameId);
|
|
70
|
+
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
71
|
+
}, 1000);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
async connectedCallback() {
|
|
47
75
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
48
76
|
if (segmentEl) {
|
|
49
77
|
this.updateState();
|
|
@@ -53,11 +81,14 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
53
81
|
// Return if there is no contentId defined
|
|
54
82
|
if (!this.contentId)
|
|
55
83
|
return;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
84
|
+
let segmentContent;
|
|
85
|
+
try {
|
|
86
|
+
// Attempt to find the Segment Content by its contentId
|
|
87
|
+
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
88
|
+
}
|
|
89
|
+
catch (error) {
|
|
90
|
+
// If no associated Segment Content exists, log an error and return
|
|
91
|
+
console.error('Segment Button: ', error.message);
|
|
61
92
|
return;
|
|
62
93
|
}
|
|
63
94
|
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
@@ -103,7 +134,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
103
134
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
104
135
|
const mode = getIonMode(this);
|
|
105
136
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
106
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
|
|
107
138
|
[mode]: true,
|
|
108
139
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
109
140
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -119,7 +150,7 @@ const SegmentButton = /*@__PURE__*/ proxyCustomElement(class SegmentButton exten
|
|
|
119
150
|
'ion-activatable': true,
|
|
120
151
|
'ion-activatable-instant': true,
|
|
121
152
|
'ion-focusable': true,
|
|
122
|
-
} }, h("button", Object.assign({ key: '
|
|
153
|
+
} }, h("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), h("span", { key: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, h("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && h("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), h("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
123
154
|
}
|
|
124
155
|
get el() { return this; }
|
|
125
156
|
static get watchers() { return {
|
|
@@ -78,12 +78,10 @@ const RippleEffect = /*@__PURE__*/ proxyCustomElement(class RippleEffect extends
|
|
|
78
78
|
"addRipple": [64]
|
|
79
79
|
}]);
|
|
80
80
|
const removeRipple = (ripple) => {
|
|
81
|
-
if (!ripple.parentNode)
|
|
82
|
-
return;
|
|
83
81
|
ripple.classList.add('fade-out');
|
|
84
|
-
|
|
82
|
+
setTimeout(() => {
|
|
85
83
|
ripple.remove();
|
|
86
|
-
},
|
|
84
|
+
}, 200);
|
|
87
85
|
};
|
|
88
86
|
const PADDING = 10;
|
|
89
87
|
const INITIAL_ORIGIN_SCALE = 0.5;
|
|
@@ -360,6 +360,16 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
360
360
|
}
|
|
361
361
|
return true;
|
|
362
362
|
};
|
|
363
|
+
const getNextSiblingOfType = (element) => {
|
|
364
|
+
let sibling = element.nextSibling;
|
|
365
|
+
while (sibling) {
|
|
366
|
+
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
367
|
+
return sibling;
|
|
368
|
+
}
|
|
369
|
+
sibling = sibling.nextSibling;
|
|
370
|
+
}
|
|
371
|
+
return null;
|
|
372
|
+
};
|
|
363
373
|
|
|
364
374
|
exports.addEventListener = addEventListener;
|
|
365
375
|
exports.assert = assert;
|
|
@@ -369,6 +379,7 @@ exports.debounce = debounce;
|
|
|
369
379
|
exports.debounceEvent = debounceEvent;
|
|
370
380
|
exports.focusVisibleElement = focusVisibleElement;
|
|
371
381
|
exports.getElementRoot = getElementRoot;
|
|
382
|
+
exports.getNextSiblingOfType = getNextSiblingOfType;
|
|
372
383
|
exports.hasLazyBuild = hasLazyBuild;
|
|
373
384
|
exports.hasShadowDom = hasShadowDom;
|
|
374
385
|
exports.inheritAriaAttributes = inheritAriaAttributes;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const index$1 = require('./index-c8d52405.js');
|
|
7
7
|
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
const animation = require('./animation-b4fdf128.js');
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
7
7
|
const index$1 = require('./index-73f75efb.js');
|
|
8
8
|
const index = require('./index-5915f9b3.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
|
|
11
11
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
12
12
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -122,8 +122,8 @@ const createFocusController = () => {
|
|
|
122
122
|
};
|
|
123
123
|
const LAST_FOCUS = 'ion-last-focus';
|
|
124
124
|
|
|
125
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
126
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
125
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-afdec89f.js'); });
|
|
126
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-9f0d3db5.js'); });
|
|
127
127
|
const focusController = createFocusController();
|
|
128
128
|
// TODO(FW-2832): types
|
|
129
129
|
const transition = (opts) => {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,23 +6,23 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const animation = require('./animation-b4fdf128.js');
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const index = require('./index-4e14a46e.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-afdec89f.js');
|
|
11
|
+
const md_transition = require('./md.transition-9f0d3db5.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
15
|
-
const helpers = require('./helpers-
|
|
15
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-1ae3f40a.js');
|
|
19
|
+
const overlays = require('./overlays-76b29cd4.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
21
|
require('./index-73f75efb.js');
|
|
22
22
|
require('./index-5915f9b3.js');
|
|
23
23
|
require('./gesture-controller-9436f482.js');
|
|
24
24
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
25
|
-
require('./framework-delegate-
|
|
25
|
+
require('./framework-delegate-05579976.js');
|
|
26
26
|
|
|
27
27
|
const IonicSlides = (opts) => {
|
|
28
28
|
const { swiper, extendParams } = opts;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const helpers = require('./helpers-
|
|
7
|
+
const index$1 = require('./index-c441c903.js');
|
|
8
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
9
9
|
const keyboard = require('./keyboard-0272231f.js');
|
|
10
10
|
require('./index-5915f9b3.js');
|
|
11
11
|
require('./capacitor-c04564bf.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const index$1 = require('./index-073c7cdc.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
12
12
|
const index$2 = require('./index-5915f9b3.js');
|
|
@@ -7,9 +7,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
9
|
const buttonActive = require('./button-active-3f2f60b4.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-76b29cd4.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
15
15
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -19,7 +19,7 @@ require('./index-c8d52405.js');
|
|
|
19
19
|
require('./index-ee07ed59.js');
|
|
20
20
|
require('./gesture-controller-9436f482.js');
|
|
21
21
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
22
|
-
require('./framework-delegate-
|
|
22
|
+
require('./framework-delegate-05579976.js');
|
|
23
23
|
require('./index-5915f9b3.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
9
|
const config = require('./config-4f60b98a.js');
|
|
10
10
|
const buttonActive = require('./button-active-3f2f60b4.js');
|
|
11
|
-
const helpers = require('./helpers-
|
|
11
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-76b29cd4.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
16
16
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -20,7 +20,7 @@ require('./index-c8d52405.js');
|
|
|
20
20
|
require('./index-ee07ed59.js');
|
|
21
21
|
require('./gesture-controller-9436f482.js');
|
|
22
22
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-05579976.js');
|
|
24
24
|
require('./index-5915f9b3.js');
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -176,6 +176,7 @@ const Alert = class {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
onKeydown(ev) {
|
|
179
|
+
var _a;
|
|
179
180
|
const inputTypes = new Set(this.processedInputs.map((i) => i.type));
|
|
180
181
|
/**
|
|
181
182
|
* Based on keyboard navigation requirements, the
|
|
@@ -185,6 +186,17 @@ const Alert = class {
|
|
|
185
186
|
ev.preventDefault();
|
|
186
187
|
return;
|
|
187
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* 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.
|
|
191
|
+
*/
|
|
192
|
+
if (ev.target.classList.contains('alert-wrapper')) {
|
|
193
|
+
if (ev.key === 'Tab' && ev.shiftKey) {
|
|
194
|
+
ev.preventDefault();
|
|
195
|
+
const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
|
|
196
|
+
lastChildBtn.focus();
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
188
200
|
// The only inputs we want to navigate between using arrow keys are the radios
|
|
189
201
|
// ignore the keydown event if it is not on a radio button
|
|
190
202
|
if (!inputTypes.has('radio') ||
|
|
@@ -316,7 +328,16 @@ const Alert = class {
|
|
|
316
328
|
async present() {
|
|
317
329
|
const unlock = await this.lockController.lock();
|
|
318
330
|
await this.delegateController.attachViewToDom();
|
|
319
|
-
await overlays.present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation)
|
|
331
|
+
await overlays.present(this, 'alertEnter', iosEnterAnimation, mdEnterAnimation).then(() => {
|
|
332
|
+
var _a, _b;
|
|
333
|
+
if (this.buttons.length === 1 && this.inputs.length === 0) {
|
|
334
|
+
const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
|
|
335
|
+
queryBtn.focus();
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
(_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
339
|
+
}
|
|
340
|
+
});
|
|
320
341
|
unlock();
|
|
321
342
|
}
|
|
322
343
|
/**
|
|
@@ -490,8 +511,8 @@ const Alert = class {
|
|
|
490
511
|
const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
|
|
491
512
|
const mode = ionicGlobal.getIonMode(this);
|
|
492
513
|
const hdrId = `alert-${overlayIndex}-hdr`;
|
|
493
|
-
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
494
514
|
const msgId = `alert-${overlayIndex}-msg`;
|
|
515
|
+
const subHdrId = `alert-${overlayIndex}-sub-hdr`;
|
|
495
516
|
const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
|
|
496
517
|
/**
|
|
497
518
|
* Use both the header and subHeader ids if they are defined.
|
|
@@ -500,9 +521,9 @@ const Alert = class {
|
|
|
500
521
|
* If neither are defined, do not set aria-labelledby.
|
|
501
522
|
*/
|
|
502
523
|
const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
|
|
503
|
-
return (index.h(index.Host,
|
|
524
|
+
return (index.h(index.Host, { key: '212b5dc1949c63210c9d135afbe7fe31a16b5638', tabindex: "-1", style: {
|
|
504
525
|
zIndex: `${20000 + overlayIndex}`,
|
|
505
|
-
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }
|
|
526
|
+
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index.h("ion-backdrop", { key: 'ac8351d14850884a4f6865bbf32fb271592eedd9', tappable: this.backdropDismiss }), index.h("div", { key: 'f677da8e719dfef9db8acbfd4fa14b936efb2cd7', tabindex: "0", "aria-hidden": "true" }), index.h("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), index.h("div", { key: '441b12e462a6ac83f29e251bea60d4dac273c6f8', class: "alert-head" }, header && (index.h("h2", { key: 'd7f185ec5ba61519cd2e5c84ccb884fc711754bf', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (index.h("h2", { key: '8477b1979d040ffbce7b4396b57d5fd197b116a7', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (index.h("h3", { key: 'ccb22f664465077be6e5f59c1541c13d8071cc30', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), index.h("div", { key: '33d5f68cb7a0989ecd1bd0abf110b94947e5b091', tabindex: "0", "aria-hidden": "true" })));
|
|
506
527
|
}
|
|
507
528
|
get el() { return index.getElement(this); }
|
|
508
529
|
static get watchers() { return {
|
|
@@ -9,15 +9,15 @@ const index = require('./index-73f75efb.js');
|
|
|
9
9
|
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
12
|
-
const helpers = require('./helpers-
|
|
12
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
13
13
|
const dir = require('./dir-94c21456.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const index$2 = require('./index-
|
|
15
|
+
const index$2 = require('./index-c441c903.js');
|
|
16
16
|
const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
17
17
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
18
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
18
|
+
const frameworkDelegate = require('./framework-delegate-05579976.js');
|
|
19
19
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
20
|
-
const index$3 = require('./index-
|
|
20
|
+
const index$3 = require('./index-4e14a46e.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./keyboard-0272231f.js');
|
|
23
23
|
require('./capacitor-c04564bf.js');
|
|
@@ -34,10 +34,10 @@ const App = class {
|
|
|
34
34
|
rIC(async () => {
|
|
35
35
|
const isHybrid = ionicGlobal.isPlatform(window, 'hybrid');
|
|
36
36
|
if (!ionicGlobal.config.getBoolean('_testing')) {
|
|
37
|
-
Promise.resolve().then(function () { return require('./index-
|
|
37
|
+
Promise.resolve().then(function () { return require('./index-ad7a712e.js'); }).then((module) => module.startTapClick(ionicGlobal.config));
|
|
38
38
|
}
|
|
39
39
|
if (ionicGlobal.config.getBoolean('statusTap', isHybrid)) {
|
|
40
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
40
|
+
Promise.resolve().then(function () { return require('./status-tap-fb807fad.js'); }).then((module) => module.startStatusTap());
|
|
41
41
|
}
|
|
42
42
|
if (ionicGlobal.config.getBoolean('inputShims', needInputShims())) {
|
|
43
43
|
/**
|
|
@@ -45,7 +45,7 @@ const App = class {
|
|
|
45
45
|
* platforms proceed into this block.
|
|
46
46
|
*/
|
|
47
47
|
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
48
|
-
Promise.resolve().then(function () { return require('./input-shims-
|
|
48
|
+
Promise.resolve().then(function () { return require('./input-shims-e748a364.js'); }).then((module) => module.startInputShims(ionicGlobal.config, platform));
|
|
49
49
|
}
|
|
50
50
|
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-9e8a2c4f.js'); });
|
|
51
51
|
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shouldUseCloseWatcher();
|
|
@@ -1054,7 +1054,7 @@ const RouterOutlet = class {
|
|
|
1054
1054
|
this.swipeHandler.onStart();
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1057
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-47a52b83.js'); })).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {
|
|
1058
1058
|
if (this.ani) {
|
|
1059
1059
|
this.ani.onFinish(() => {
|
|
1060
1060
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-073c7cdc.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$1 = require('./index-073c7cdc.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const index$1 = require('./index-5915f9b3.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index$1 = require('./index-73f75efb.js');
|
|
9
9
|
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
11
11
|
const index = require('./index-5915f9b3.js');
|
|
12
12
|
const dir = require('./dir-94c21456.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
@@ -15,12 +15,12 @@ const index$2 = require('./index-073c7cdc.js');
|
|
|
15
15
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
16
16
|
const data = require('./data-21dc0f81.js');
|
|
17
17
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-76b29cd4.js');
|
|
19
19
|
const animation = require('./animation-b4fdf128.js');
|
|
20
20
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
23
|
-
require('./framework-delegate-
|
|
23
|
+
require('./framework-delegate-05579976.js');
|
|
24
24
|
require('./gesture-controller-9436f482.js');
|
|
25
25
|
require('./capacitor-c04564bf.js');
|
|
26
26
|
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
9
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const index$1 = require('./index-073c7cdc.js');
|
|
13
13
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const helpers = require('./helpers-
|
|
9
|
+
const helpers = require('./helpers-4be3f90d.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
|
|
12
12
|
const imgCss = ":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";
|