@ionic/core 8.4.4-dev.11741046329.16b83b14 → 8.4.4-dev.11741050043.10a3c31a
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/checkbox.js +6 -40
- package/components/helpers.js +11 -29
- package/components/index6.js +3 -11
- package/components/index7.js +2 -2
- package/components/index9.js +1 -1
- package/components/ion-segment-button.js +40 -9
- package/components/ion-select.js +41 -16
- package/components/ion-toggle.js +4 -6
- package/components/ionic-global.js +1 -12
- package/components/modal.js +35 -259
- package/components/toolbar.js +2 -2
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/palettes/dark.always.css +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css +1 -1
- package/css/structure.css.map +1 -1
- package/css/typography.css +1 -1
- package/css/typography.css.map +1 -1
- package/dist/cjs/{app-globals-21afee77.js → app-globals-247c7281.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-43e2b419.js} +1 -1
- package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-2a11ff27.js} +1 -1
- package/dist/cjs/{hardware-back-button-9e8a2c4f.js → hardware-back-button-25324112.js} +2 -2
- package/dist/cjs/{helpers-afaa9001.js → helpers-06f744d7.js} +11 -28
- package/dist/cjs/{index-073c7cdc.js → index-0e360e93.js} +2 -2
- package/dist/cjs/{index-3652c918.js → index-17772b90.js} +4 -4
- package/dist/cjs/{index-73f75efb.js → index-2e236a04.js} +0 -4
- package/dist/cjs/{index-0d762bba.js → index-5235cd7a.js} +2 -2
- package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-e975c92b.js → index-a9253094.js} +6 -6
- package/dist/cjs/{index-9509ecad.js → index-d36529a6.js} +1 -1
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-cd05268a.js → input-shims-a1181384.js} +3 -5
- package/dist/cjs/{input.utils-ffb2f81b.js → input.utils-693b953e.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +8 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +15 -15
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +9 -40
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ion-input.cjs.entry.js +7 -7
- package/dist/cjs/ion-item-option_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-loading.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-modal.cjs.entry.js +44 -267
- package/dist/cjs/ion-nav_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +8 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +42 -11
- package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +49 -23
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ion-toast.cjs.entry.js +7 -7
- package/dist/cjs/ion-toggle.cjs.entry.js +8 -9
- package/dist/cjs/{ionic-global-d9a8bb5b.js → ionic-global-20cee824.js} +1 -12
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-0e664e88.js → ios.transition-c3e3b768.js} +5 -5
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-2e8aef2c.js → md.transition-91d9b2db.js} +5 -5
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-57bae241.js} +1 -1
- package/dist/cjs/{overlays-65fdaff6.js → overlays-93c1a579.js} +5 -5
- package/dist/cjs/{status-tap-d74f1429.js → status-tap-ede4c3df.js} +4 -5
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-2aee5ac9.js} +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +15 -52
- package/dist/collection/components/checkbox/checkbox.js +4 -90
- package/dist/collection/components/checkbox/checkbox.md.css +15 -52
- package/dist/collection/components/modal/animations/ios.enter.js +4 -50
- package/dist/collection/components/modal/animations/ios.leave.js +2 -24
- package/dist/collection/components/modal/animations/md.enter.js +5 -52
- package/dist/collection/components/modal/animations/md.leave.js +3 -26
- package/dist/collection/components/modal/animations/sheet.js +2 -11
- package/dist/collection/components/modal/gestures/sheet.js +10 -79
- package/dist/collection/components/modal/modal.ios.css +0 -16
- package/dist/collection/components/modal/modal.js +7 -32
- package/dist/collection/components/modal/modal.md.css +0 -6
- package/dist/collection/components/segment-button/segment-button.js +40 -9
- package/dist/collection/components/select/select.js +40 -32
- package/dist/collection/components/toggle/toggle.js +4 -23
- package/dist/collection/components/toolbar/toolbar.js +2 -6
- package/dist/collection/global/ionic-global.js +1 -12
- package/dist/collection/utils/helpers.js +10 -28
- package/dist/collection/utils/logging/index.js +3 -10
- package/dist/docs.json +2 -187
- package/dist/esm/{app-globals-5dbb61a5.js → app-globals-0aadb3a9.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-3e745cc0.js} +1 -1
- package/dist/esm/{hardware-back-button-06ef3c3e.js → hardware-back-button-d58e8ab6.js} +2 -2
- package/dist/esm/{helpers-da915de8.js → helpers-16b36a2b.js} +11 -29
- package/dist/esm/{index-e2cf2ceb.js → index-10f4ed65.js} +2 -2
- package/dist/esm/{index-79b30591.js → index-299c3a24.js} +1 -1
- package/dist/esm/{index-28849c61.js → index-527b9e34.js} +1 -4
- package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/{index-cb21eccb.js → index-a94537d9.js} +4 -4
- package/dist/esm/{index-2f7fde3d.js → index-ae5421cc.js} +6 -6
- package/dist/esm/{index-efb8ecdf.js → index-d312d755.js} +2 -2
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-2fd7c6ef.js → input-shims-7761bb89.js} +3 -5
- package/dist/esm/{input.utils-961c9f17.js → input.utils-005c974b.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +5 -5
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +8 -8
- package/dist/esm/ion-app_8.entry.js +15 -15
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +4 -4
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +9 -40
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +5 -5
- package/dist/esm/ion-datetime_3.entry.js +9 -9
- package/dist/esm/ion-fab_3.entry.js +4 -4
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +4 -4
- package/dist/esm/ion-input.entry.js +7 -7
- package/dist/esm/ion-item-option_3.entry.js +5 -5
- package/dist/esm/ion-item_8.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +7 -7
- package/dist/esm/ion-menu_3.entry.js +9 -9
- package/dist/esm/ion-modal.entry.js +44 -267
- package/dist/esm/ion-nav_2.entry.js +7 -7
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +6 -6
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +42 -11
- package/dist/esm/ion-select-modal.entry.js +7 -7
- package/dist/esm/ion-select_3.entry.js +49 -23
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +3 -3
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -6
- package/dist/esm/ion-toast.entry.js +7 -7
- package/dist/esm/ion-toggle.entry.js +8 -9
- package/dist/esm/{ionic-global-c81d82ab.js → ionic-global-33560a0a.js} +1 -12
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-b1da3753.js → ios.transition-ee25fba4.js} +5 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-571b3859.js → md.transition-76353fd3.js} +5 -5
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-b94a6b7b.js} +1 -1
- package/dist/esm/{overlays-5deab4de.js → overlays-87b6aa7c.js} +5 -5
- package/dist/esm/{status-tap-79eac0ac.js → status-tap-c5dd83b2.js} +4 -5
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-6e381b00.js} +1 -1
- package/dist/esm-es5/app-globals-0aadb3a9.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-90f1dbc4.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-3e745cc0.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-06ef3c3e.js → hardware-back-button-d58e8ab6.js} +1 -1
- package/dist/esm-es5/helpers-16b36a2b.js +4 -0
- package/dist/esm-es5/{index-e2cf2ceb.js → index-10f4ed65.js} +1 -1
- package/dist/esm-es5/{index-79b30591.js → index-299c3a24.js} +1 -1
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-cb21eccb.js → index-a94537d9.js} +1 -1
- package/dist/esm-es5/{index-2f7fde3d.js → index-ae5421cc.js} +1 -1
- package/dist/esm-es5/{index-efb8ecdf.js → index-d312d755.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-7761bb89.js +4 -0
- package/dist/esm-es5/{input.utils-961c9f17.js → input.utils-005c974b.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-33560a0a.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-b1da3753.js → ios.transition-ee25fba4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-76353fd3.js +4 -0
- package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-b94a6b7b.js} +1 -1
- package/dist/esm-es5/{overlays-5deab4de.js → overlays-87b6aa7c.js} +1 -1
- package/dist/esm-es5/status-tap-c5dd83b2.js +4 -0
- package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-6e381b00.js} +1 -1
- package/dist/html.html-data.json +0 -24
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-15d18206.entry.js → p-037621ad.entry.js} +1 -1
- package/dist/ionic/p-0612c7c3.entry.js +4 -0
- package/dist/ionic/{p-585b455c.system.entry.js → p-06260d68.system.entry.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/{p-0eb35a7f.system.js → p-07cf4028.system.js} +1 -1
- package/dist/ionic/{p-bdf2cb2e.system.entry.js → p-0892f0a1.system.entry.js} +1 -1
- package/dist/ionic/{p-5c08627a.system.js → p-09aa088e.system.js} +1 -1
- package/dist/ionic/p-0a47a1fb.entry.js +4 -0
- package/dist/ionic/p-0caec68d.entry.js +4 -0
- package/dist/ionic/{p-cac0e0b3.system.entry.js → p-135d546a.system.entry.js} +1 -1
- package/dist/ionic/p-14e6a33e.entry.js +4 -0
- package/dist/ionic/{p-8694928f.entry.js → p-17088ca0.entry.js} +1 -1
- package/dist/ionic/{p-1ab13b2b.js → p-1828fde5.js} +1 -1
- package/dist/ionic/{p-2172893e.system.entry.js → p-1fa70a4d.system.entry.js} +1 -1
- package/dist/ionic/p-1fadb8b9.js +4 -0
- package/dist/ionic/{p-a15ddedb.system.js → p-1fed4470.system.js} +1 -1
- package/dist/ionic/{p-69066a53.js → p-21891ead.js} +1 -1
- package/dist/ionic/{p-7a6eaf9e.entry.js → p-22336c85.entry.js} +1 -1
- package/dist/ionic/p-235edda0.entry.js +4 -0
- package/dist/ionic/p-248ff024.system.js +4 -0
- package/dist/ionic/{p-7458862e.system.entry.js → p-2664778b.system.entry.js} +1 -1
- package/dist/ionic/p-2bc0c8cf.entry.js +4 -0
- package/dist/ionic/{p-98231c01.system.entry.js → p-2be04f09.system.entry.js} +1 -1
- package/dist/ionic/{p-afecb188.entry.js → p-2fa83e88.entry.js} +1 -1
- package/dist/ionic/p-32ab7c59.entry.js +4 -0
- package/dist/ionic/{p-1e955a45.system.js → p-32be7b07.system.js} +1 -1
- package/dist/ionic/{p-15e76dd1.entry.js → p-3711b93e.entry.js} +1 -1
- package/dist/ionic/{p-2346ab53.system.entry.js → p-37344c74.system.entry.js} +2 -2
- package/dist/ionic/{p-b6efeab8.js → p-37c85d40.js} +1 -1
- package/dist/ionic/p-39f6077e.js +4 -0
- package/dist/ionic/{p-b3c60433.system.js → p-3a993e5c.system.js} +1 -1
- package/dist/ionic/p-41dc2b36.system.js +4 -0
- package/dist/ionic/{p-8cfba7e9.system.entry.js → p-43fe4853.system.entry.js} +1 -1
- package/dist/ionic/{p-c41ac815.entry.js → p-48e13c51.entry.js} +1 -1
- package/dist/ionic/{p-d22e2a38.system.js → p-4ba8de87.system.js} +1 -1
- package/dist/ionic/{p-05b74e45.system.entry.js → p-4bcc2581.system.entry.js} +1 -1
- package/dist/ionic/{p-73dc4950.entry.js → p-4cfb0dc8.entry.js} +1 -1
- package/dist/ionic/{p-98ff6b32.entry.js → p-4ea83104.entry.js} +1 -1
- package/dist/ionic/{p-01186920.system.entry.js → p-50eb95ba.system.entry.js} +1 -1
- package/dist/ionic/{p-7ed1657c.system.entry.js → p-5216f047.system.entry.js} +1 -1
- package/dist/ionic/p-5406a48a.system.entry.js +4 -0
- package/dist/ionic/p-5430a6da.entry.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-56358500.system.js} +1 -1
- package/dist/ionic/{p-7de1e42c.system.js → p-57de65cb.system.js} +1 -1
- package/dist/ionic/p-5b73e74c.js +4 -0
- package/dist/ionic/{p-f63c2d12.entry.js → p-5f8c7f64.entry.js} +1 -1
- package/dist/ionic/{p-72bc8a1c.js → p-5faf0879.js} +1 -1
- package/dist/ionic/p-60666514.entry.js +4 -0
- package/dist/ionic/p-61153ec9.entry.js +4 -0
- package/dist/ionic/p-637c868c.entry.js +4 -0
- package/dist/ionic/{p-6d32975a.entry.js → p-644cfb0d.entry.js} +1 -1
- package/dist/ionic/{p-63b0abde.system.entry.js → p-64c76f26.system.entry.js} +1 -1
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/{p-2da9c8a7.entry.js → p-6724b6ce.entry.js} +1 -1
- package/dist/ionic/{p-95775830.entry.js → p-6752a057.entry.js} +1 -1
- package/dist/ionic/{p-5fce0c0b.system.entry.js → p-67d24f70.system.entry.js} +1 -1
- package/dist/ionic/{p-1e67b266.system.entry.js → p-67f4233a.system.entry.js} +1 -1
- package/dist/ionic/{p-a090bce8.system.entry.js → p-68327266.system.entry.js} +1 -1
- package/dist/ionic/{p-58d5df0c.system.entry.js → p-685e9613.system.entry.js} +1 -1
- package/dist/ionic/{p-e06057c9.entry.js → p-695c3921.entry.js} +1 -1
- package/dist/ionic/{p-9b122e3c.system.entry.js → p-6b0c686e.system.entry.js} +1 -1
- package/dist/ionic/p-6d969696.system.js +4 -0
- package/dist/ionic/p-71062ade.system.js +4 -0
- package/dist/ionic/{p-7ddc46c3.system.entry.js → p-71235698.system.entry.js} +1 -1
- package/dist/ionic/{p-33a8a71b.entry.js → p-7341f38d.entry.js} +1 -1
- package/dist/ionic/{p-fbd41a7e.system.entry.js → p-734de30f.system.entry.js} +1 -1
- package/dist/ionic/p-73d6a80d.entry.js +4 -0
- package/dist/ionic/{p-6933c482.system.entry.js → p-741f94fe.system.entry.js} +1 -1
- package/dist/ionic/p-75098ab5.system.js +4 -0
- package/dist/ionic/{p-7a02f476.entry.js → p-7b091122.entry.js} +1 -1
- package/dist/ionic/{p-c4238c12.system.js → p-7d2357da.system.js} +1 -1
- package/dist/ionic/{p-e09d6392.system.entry.js → p-80a4f5a4.system.entry.js} +1 -1
- package/dist/ionic/{p-fca6ef5f.system.entry.js → p-81a4c94d.system.entry.js} +1 -1
- package/dist/ionic/{p-248318e0.system.entry.js → p-82028789.system.entry.js} +1 -1
- package/dist/ionic/{p-797eeea8.system.entry.js → p-82acef74.system.entry.js} +1 -1
- package/dist/ionic/{p-bdad26e3.entry.js → p-841c4879.entry.js} +1 -1
- package/dist/ionic/{p-74e3f0af.system.entry.js → p-84746494.system.entry.js} +2 -2
- package/dist/ionic/{p-cba1f9bc.system.entry.js → p-86189afd.system.entry.js} +1 -1
- package/dist/ionic/{p-2e46590d.system.entry.js → p-87570c71.system.entry.js} +1 -1
- package/dist/ionic/{p-ada36597.system.js → p-89d3401f.system.js} +1 -1
- package/dist/ionic/{p-ecceeb90.js → p-8f6d68b7.js} +1 -1
- package/dist/ionic/p-8fdfd686.system.entry.js +4 -0
- package/dist/ionic/p-93ce49e8.entry.js +4 -0
- package/dist/ionic/{p-52d7a191.entry.js → p-93ee5b02.entry.js} +1 -1
- package/dist/ionic/p-9bcc9444.entry.js +4 -0
- package/dist/ionic/{p-72812e99.js → p-9dfcac21.js} +1 -1
- package/dist/ionic/{p-9b428d25.entry.js → p-9e5d5e43.entry.js} +1 -1
- package/dist/ionic/{p-3cc276f4.js → p-9f85d4b1.js} +1 -1
- package/dist/ionic/{p-985a7e17.system.entry.js → p-a0a5c0db.system.entry.js} +1 -1
- package/dist/ionic/p-a25c4e5d.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-a4866e3e.system.js} +1 -1
- package/dist/ionic/p-a8a9c283.system.js +4 -0
- package/dist/ionic/{p-f1060cd8.entry.js → p-a9740e59.entry.js} +1 -1
- package/dist/ionic/{p-ab674093.system.entry.js → p-a9de8117.system.entry.js} +1 -1
- package/dist/ionic/{p-302b50bb.system.entry.js → p-ad4cca47.system.entry.js} +1 -1
- package/dist/ionic/{p-9f364443.system.entry.js → p-b22a0644.system.entry.js} +1 -1
- package/dist/ionic/{p-6d6cedc5.entry.js → p-b28ea018.entry.js} +1 -1
- package/dist/ionic/{p-89bf08c7.entry.js → p-b42d475d.entry.js} +1 -1
- package/dist/ionic/{p-bb0db172.entry.js → p-b480d2b1.entry.js} +1 -1
- package/dist/ionic/p-bd92a627.system.js +4 -0
- package/dist/ionic/{p-567de071.system.entry.js → p-bdcfdf25.system.entry.js} +1 -1
- package/dist/ionic/p-be685cdb.entry.js +4 -0
- package/dist/ionic/p-bfe78c18.entry.js +4 -0
- package/dist/ionic/{p-fceec762.entry.js → p-c23b3d05.entry.js} +1 -1
- package/dist/ionic/p-c566c4ac.js +4 -0
- package/dist/ionic/{p-424eb140.system.entry.js → p-c8c27ae7.system.entry.js} +1 -1
- package/dist/ionic/p-c98f1186.entry.js +4 -0
- package/dist/ionic/{p-937a7e21.entry.js → p-c9f32d38.entry.js} +1 -1
- package/dist/ionic/{p-6dfb0f39.system.entry.js → p-ca27d793.system.entry.js} +1 -1
- package/dist/ionic/{p-8635f5e6.system.js → p-caafaec4.system.js} +1 -1
- package/dist/ionic/{p-e4ee80be.system.entry.js → p-ced5d9b6.system.entry.js} +1 -1
- package/dist/ionic/{p-a88dec0d.system.js → p-d1410529.system.js} +2 -2
- package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d6251c7e.system.entry.js +4 -0
- package/dist/ionic/{p-2abae1cc.system.entry.js → p-d7811e30.system.entry.js} +1 -1
- package/dist/ionic/{p-d7aa6b00.entry.js → p-d7e6cd7e.entry.js} +1 -1
- package/dist/ionic/{p-744c8672.system.entry.js → p-db8a02a0.system.entry.js} +1 -1
- package/dist/ionic/{p-16799667.system.entry.js → p-dbac4f3e.system.entry.js} +1 -1
- package/dist/ionic/p-e13a0a45.entry.js +4 -0
- package/dist/ionic/{p-2b838f86.system.entry.js → p-e31c0092.system.entry.js} +1 -1
- package/dist/ionic/{p-d6eaffb1.system.entry.js → p-e4c8444f.system.entry.js} +1 -1
- package/dist/ionic/{p-a4a2420e.system.entry.js → p-e4cc4565.system.entry.js} +1 -1
- package/dist/ionic/p-e530e6e3.entry.js +4 -0
- package/dist/ionic/p-e5a3b38b.system.entry.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-e6200d13.js} +1 -1
- package/dist/ionic/p-e6e2ff13.entry.js +4 -0
- package/dist/ionic/{p-2507278c.system.entry.js → p-e78844bd.system.entry.js} +1 -1
- package/dist/ionic/{p-61db139d.entry.js → p-e80fc48f.entry.js} +1 -1
- package/dist/ionic/{p-28706c6f.js → p-e9336870.js} +1 -1
- package/dist/ionic/{p-f1120724.system.entry.js → p-e9cd554c.system.entry.js} +1 -1
- package/dist/ionic/{p-5b932840.entry.js → p-ecc26ede.entry.js} +1 -1
- package/dist/ionic/p-ece761b3.js +4 -0
- package/dist/ionic/{p-a0eb506c.system.entry.js → p-ed1a1717.system.entry.js} +1 -1
- package/dist/ionic/{p-948e6c6a.entry.js → p-f0e14400.entry.js} +1 -1
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/{p-933727f9.system.entry.js → p-f4af839e.system.entry.js} +1 -1
- package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f70935ed.js +4 -0
- package/dist/ionic/{p-f3102647.system.entry.js → p-f93eb347.system.entry.js} +1 -1
- package/dist/ionic/{p-3c8e5c23.system.js → p-f99425b1.system.js} +1 -1
- package/dist/ionic/{p-62af944c.entry.js → p-fa8b0bbd.entry.js} +1 -1
- package/dist/ionic/{p-b1eb86fd.entry.js → p-fae7cdef.entry.js} +1 -1
- package/dist/ionic/{p-34b11c24.js → p-fb4ae485.js} +1 -1
- package/dist/ionic/{p-ed75fcfb.system.entry.js → p-fd01cb8a.system.entry.js} +1 -1
- package/dist/ionic/p-fd579866.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/ionic/p-ff57f33a.entry.js +4 -0
- package/dist/ionic/{p-d743e981.js → p-ff861eb0.js} +1 -1
- package/dist/ionic/svg/accessibility-outline.svg +1 -1
- package/dist/ionic/svg/accessibility-sharp.svg +1 -1
- package/dist/ionic/svg/accessibility.svg +1 -1
- package/dist/ionic/svg/arrow-down-left-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-down-left-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-down-left-box.svg +1 -0
- package/dist/ionic/svg/arrow-down-right-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-down-right-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-down-right-box.svg +1 -0
- package/dist/ionic/svg/arrow-up-left-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-up-left-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-up-left-box.svg +1 -0
- package/dist/ionic/svg/arrow-up-right-box-outline.svg +1 -0
- package/dist/ionic/svg/arrow-up-right-box-sharp.svg +1 -0
- package/dist/ionic/svg/arrow-up-right-box.svg +1 -0
- package/dist/ionic/svg/bag-add-outline.svg +1 -1
- package/dist/ionic/svg/bag-add-sharp.svg +1 -1
- package/dist/ionic/svg/bag-add.svg +1 -1
- package/dist/ionic/svg/bag-check-outline.svg +1 -1
- package/dist/ionic/svg/bag-check-sharp.svg +1 -1
- package/dist/ionic/svg/bag-check.svg +1 -1
- package/dist/ionic/svg/bag-handle-outline.svg +1 -1
- package/dist/ionic/svg/bag-handle-sharp.svg +1 -1
- package/dist/ionic/svg/bag-handle.svg +1 -1
- package/dist/ionic/svg/bag-outline.svg +1 -1
- package/dist/ionic/svg/bag-remove-outline.svg +1 -1
- package/dist/ionic/svg/bag-remove-sharp.svg +1 -1
- package/dist/ionic/svg/bag-remove.svg +1 -1
- package/dist/ionic/svg/bag-sharp.svg +1 -1
- package/dist/ionic/svg/bag.svg +1 -1
- package/dist/ionic/svg/balloon-outline.svg +1 -1
- package/dist/ionic/svg/balloon-sharp.svg +1 -1
- package/dist/ionic/svg/balloon.svg +1 -1
- package/dist/ionic/svg/ban-outline.svg +1 -1
- package/dist/ionic/svg/ban-sharp.svg +1 -1
- package/dist/ionic/svg/ban.svg +1 -1
- package/dist/ionic/svg/binoculars-outline.svg +1 -0
- package/dist/ionic/svg/binoculars-sharp.svg +1 -0
- package/dist/ionic/svg/binoculars.svg +1 -0
- package/dist/ionic/svg/body-outline.svg +1 -1
- package/dist/ionic/svg/bowling-ball-outline.svg +1 -1
- package/dist/ionic/svg/bowling-ball-sharp.svg +1 -1
- package/dist/ionic/svg/bowling-ball.svg +1 -1
- package/dist/ionic/svg/calendar-clear-outline.svg +1 -1
- package/dist/ionic/svg/calendar-clear-sharp.svg +1 -1
- package/dist/ionic/svg/calendar-clear.svg +1 -1
- package/dist/ionic/svg/calendar-number-outline.svg +1 -1
- package/dist/ionic/svg/calendar-number-sharp.svg +1 -1
- package/dist/ionic/svg/calendar-number.svg +1 -1
- package/dist/ionic/svg/calendar-outline.svg +1 -1
- package/dist/ionic/svg/calendar-sharp.svg +1 -1
- package/dist/ionic/svg/calendar.svg +1 -1
- package/dist/ionic/svg/chevron-collapse-outline.svg +1 -1
- package/dist/ionic/svg/chevron-collapse-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-collapse.svg +1 -1
- package/dist/ionic/svg/chevron-expand-outline.svg +1 -1
- package/dist/ionic/svg/chevron-expand-sharp.svg +1 -1
- package/dist/ionic/svg/chevron-expand.svg +1 -1
- package/dist/ionic/svg/color-wand-outline.svg +1 -1
- package/dist/ionic/svg/color-wand.svg +1 -1
- package/dist/ionic/svg/diamond-outline.svg +1 -1
- package/dist/ionic/svg/diamond-sharp.svg +1 -1
- package/dist/ionic/svg/diamond.svg +1 -1
- package/dist/ionic/svg/dice-outline.svg +1 -1
- package/dist/ionic/svg/dice-sharp.svg +1 -1
- package/dist/ionic/svg/dice.svg +1 -1
- package/dist/ionic/svg/document-lock-outline.svg +1 -1
- package/dist/ionic/svg/document-lock-sharp.svg +1 -1
- package/dist/ionic/svg/document-lock.svg +1 -1
- package/dist/ionic/svg/extension-puzzle-outline.svg +1 -1
- package/dist/ionic/svg/extension-puzzle-sharp.svg +1 -1
- package/dist/ionic/svg/extension-puzzle.svg +1 -1
- package/dist/ionic/svg/filter-circle-outline.svg +1 -1
- package/dist/ionic/svg/filter-circle-sharp.svg +1 -1
- package/dist/ionic/svg/filter-circle.svg +1 -1
- package/dist/ionic/svg/fish-outline.svg +1 -1
- package/dist/ionic/svg/fish-sharp.svg +1 -1
- package/dist/ionic/svg/fish.svg +1 -1
- package/dist/ionic/svg/footsteps-outline.svg +1 -1
- package/dist/ionic/svg/footsteps-sharp.svg +1 -1
- package/dist/ionic/svg/footsteps.svg +1 -1
- package/dist/ionic/svg/id-card-outline.svg +1 -1
- package/dist/ionic/svg/id-card-sharp.svg +1 -1
- package/dist/ionic/svg/id-card.svg +1 -1
- package/dist/ionic/svg/invert-mode-outline.svg +1 -1
- package/dist/ionic/svg/invert-mode-sharp.svg +1 -1
- package/dist/ionic/svg/invert-mode.svg +1 -1
- package/dist/ionic/svg/logo-alipay.svg +1 -1
- package/dist/ionic/svg/logo-android.svg +1 -1
- package/dist/ionic/svg/logo-appflow.svg +1 -0
- package/dist/ionic/svg/logo-apple-ar.svg +1 -1
- package/dist/ionic/svg/logo-behance.svg +1 -1
- package/dist/ionic/svg/logo-bitbucket.svg +1 -1
- package/dist/ionic/svg/logo-deviantart.svg +1 -1
- package/dist/ionic/svg/logo-discord.svg +1 -1
- package/dist/ionic/svg/logo-docker.svg +1 -1
- package/dist/ionic/svg/logo-edge.svg +1 -1
- package/dist/ionic/svg/logo-facebook.svg +1 -1
- package/dist/ionic/svg/logo-figma.svg +1 -1
- package/dist/ionic/svg/logo-firebase.svg +1 -1
- package/dist/ionic/svg/logo-gitlab.svg +1 -1
- package/dist/ionic/svg/logo-ionic.svg +1 -1
- package/dist/ionic/svg/logo-mastodon.svg +1 -1
- package/dist/ionic/svg/logo-medium.svg +1 -1
- package/dist/ionic/svg/logo-microsoft.svg +1 -1
- package/dist/ionic/svg/logo-npm.svg +1 -1
- package/dist/ionic/svg/logo-paypal.svg +1 -1
- package/dist/ionic/svg/logo-soundcloud.svg +1 -1
- package/dist/ionic/svg/logo-tableau.svg +1 -1
- package/dist/ionic/svg/logo-tiktok.svg +1 -1
- package/dist/ionic/svg/logo-trapeze.svg +1 -0
- package/dist/ionic/svg/logo-venmo.svg +1 -1
- package/dist/ionic/svg/logo-vercel.svg +1 -1
- package/dist/ionic/svg/logo-wechat.svg +1 -1
- package/dist/ionic/svg/logo-x.svg +1 -0
- package/dist/ionic/svg/logo-yahoo.svg +1 -1
- package/dist/ionic/svg/prism-outline.svg +1 -1
- package/dist/ionic/svg/prism-sharp.svg +1 -1
- package/dist/ionic/svg/prism.svg +1 -1
- package/dist/ionic/svg/scale-outline.svg +1 -1
- package/dist/ionic/svg/scale-sharp.svg +1 -1
- package/dist/ionic/svg/scale.svg +1 -1
- package/dist/ionic/svg/server-outline.svg +1 -1
- package/dist/ionic/svg/server-sharp.svg +1 -1
- package/dist/ionic/svg/server.svg +1 -1
- package/dist/ionic/svg/shield-half-outline.svg +1 -1
- package/dist/ionic/svg/shield-half-sharp.svg +1 -1
- package/dist/ionic/svg/shield-half.svg +1 -1
- package/dist/ionic/svg/sparkles-outline.svg +1 -1
- package/dist/ionic/svg/sparkles-sharp.svg +1 -1
- package/dist/ionic/svg/sparkles.svg +1 -1
- package/dist/ionic/svg/storefront-outline.svg +1 -1
- package/dist/ionic/svg/storefront-sharp.svg +1 -1
- package/dist/ionic/svg/storefront.svg +1 -1
- package/dist/ionic/svg/telescope-outline.svg +1 -1
- package/dist/ionic/svg/telescope-sharp.svg +1 -1
- package/dist/ionic/svg/telescope.svg +1 -1
- package/dist/ionic/svg/ticket-outline.svg +1 -1
- package/dist/ionic/svg/ticket-sharp.svg +1 -1
- package/dist/ionic/svg/ticket.svg +1 -1
- package/dist/ionic/svg/today-outline.svg +1 -1
- package/dist/ionic/svg/today-sharp.svg +1 -1
- package/dist/ionic/svg/today.svg +1 -1
- package/dist/ionic/svg/unlink-outline.svg +1 -1
- package/dist/ionic/svg/unlink-sharp.svg +1 -1
- package/dist/ionic/svg/unlink.svg +1 -1
- package/dist/ionic/svg/videocam-off-outline.svg +1 -1
- package/dist/ionic/svg/videocam-off-sharp.svg +1 -1
- package/dist/ionic/svg/videocam-off.svg +1 -1
- package/dist/ionic/svg/wifi-outline.svg +1 -1
- package/dist/ionic/svg/wifi-sharp.svg +1 -1
- package/dist/ionic/svg/wifi.svg +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -25
- package/dist/types/components/modal/animations/sheet.d.ts +0 -1
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -11
- package/dist/types/components/segment-button/segment-button.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +0 -6
- package/dist/types/components/toggle/toggle.d.ts +0 -6
- package/dist/types/components/toolbar/toolbar.d.ts +0 -4
- package/dist/types/components.d.ts +0 -48
- package/dist/types/utils/config.d.ts +0 -12
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/hydrate/index.js +141 -376
- package/hydrate/index.mjs +141 -376
- package/package.json +5 -5
- package/dist/esm-es5/app-globals-5dbb61a5.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/index-6ad967f3.js +0 -4
- package/dist/esm-es5/input-shims-2fd7c6ef.js +0 -4
- package/dist/esm-es5/ionic-global-c81d82ab.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-0430c2e0.entry.js +0 -4
- package/dist/ionic/p-0574e87e.js +0 -4
- package/dist/ionic/p-081a4ce4.entry.js +0 -4
- package/dist/ionic/p-0af823e1.js +0 -4
- package/dist/ionic/p-1132ffee.entry.js +0 -4
- package/dist/ionic/p-120fb79a.entry.js +0 -4
- package/dist/ionic/p-14be4015.entry.js +0 -4
- package/dist/ionic/p-16188af7.entry.js +0 -4
- package/dist/ionic/p-16bfb979.system.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-322c5fb4.system.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-49a0e74c.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-5c9eb9af.entry.js +0 -4
- package/dist/ionic/p-67222c16.system.js +0 -4
- package/dist/ionic/p-7513b0c4.js +0 -4
- package/dist/ionic/p-7b9a2b23.entry.js +0 -4
- package/dist/ionic/p-92763d3d.entry.js +0 -4
- package/dist/ionic/p-9343a445.js +0 -4
- package/dist/ionic/p-9df2c6fb.entry.js +0 -4
- package/dist/ionic/p-9f3008d4.system.js +0 -4
- package/dist/ionic/p-a3db8ee3.js +0 -4
- package/dist/ionic/p-a69b9fc5.system.js +0 -4
- package/dist/ionic/p-a8f2c254.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-b9d7015f.entry.js +0 -4
- package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
- package/dist/ionic/p-cb13696c.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-d7dd8fb1.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-de930745.entry.js +0 -4
- package/dist/ionic/p-e3171ff3.entry.js +0 -4
- package/dist/ionic/p-e4fde4fb.system.entry.js +0 -4
- package/dist/ionic/p-e6376b93.system.entry.js +0 -4
- package/dist/ionic/p-e76dae93.entry.js +0 -4
- package/dist/ionic/p-e8d56122.js +0 -4
- package/dist/ionic/p-eef505e8.entry.js +0 -4
- package/dist/ionic/p-f1c4dcd4.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -2536,37 +2536,9 @@ const inheritAriaAttributes = (el, ignoreList) => {
|
|
|
2536
2536
|
return inheritAttributes$1(el, attributesToInherit);
|
|
2537
2537
|
};
|
|
2538
2538
|
const addEventListener$1 = (el, eventName, callback, opts) => {
|
|
2539
|
-
var _a;
|
|
2540
|
-
if (typeof window !== 'undefined') {
|
|
2541
|
-
const win = window;
|
|
2542
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
2543
|
-
if (config) {
|
|
2544
|
-
const ael = config.get('_ael');
|
|
2545
|
-
if (ael) {
|
|
2546
|
-
return ael(el, eventName, callback, opts);
|
|
2547
|
-
}
|
|
2548
|
-
else if (config._ael) {
|
|
2549
|
-
return config._ael(el, eventName, callback, opts);
|
|
2550
|
-
}
|
|
2551
|
-
}
|
|
2552
|
-
}
|
|
2553
2539
|
return el.addEventListener(eventName, callback, opts);
|
|
2554
2540
|
};
|
|
2555
2541
|
const removeEventListener = (el, eventName, callback, opts) => {
|
|
2556
|
-
var _a;
|
|
2557
|
-
if (typeof window !== 'undefined') {
|
|
2558
|
-
const win = window;
|
|
2559
|
-
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
|
2560
|
-
if (config) {
|
|
2561
|
-
const rel = config.get('_rel');
|
|
2562
|
-
if (rel) {
|
|
2563
|
-
return rel(el, eventName, callback, opts);
|
|
2564
|
-
}
|
|
2565
|
-
else if (config._rel) {
|
|
2566
|
-
return config._rel(el, eventName, callback, opts);
|
|
2567
|
-
}
|
|
2568
|
-
}
|
|
2569
|
-
}
|
|
2570
2542
|
return el.removeEventListener(eventName, callback, opts);
|
|
2571
2543
|
};
|
|
2572
2544
|
/**
|
|
@@ -2710,8 +2682,18 @@ const shallowEqualStringMap = (map1, map2) => {
|
|
|
2710
2682
|
}
|
|
2711
2683
|
return true;
|
|
2712
2684
|
};
|
|
2685
|
+
const getNextSiblingOfType = (element) => {
|
|
2686
|
+
let sibling = element.nextSibling;
|
|
2687
|
+
while (sibling) {
|
|
2688
|
+
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
2689
|
+
return sibling;
|
|
2690
|
+
}
|
|
2691
|
+
sibling = sibling.nextSibling;
|
|
2692
|
+
}
|
|
2693
|
+
return null;
|
|
2694
|
+
};
|
|
2713
2695
|
|
|
2714
|
-
/* Ionicons v7.
|
|
2696
|
+
/* Ionicons v7.4.0, ES Modules */
|
|
2715
2697
|
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>";
|
|
2716
2698
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
|
2717
2699
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>";
|
|
@@ -2720,7 +2702,7 @@ const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000
|
|
|
2720
2702
|
const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
|
2721
2703
|
const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
|
|
2722
2704
|
const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
|
|
2723
|
-
const chevronExpand = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon'
|
|
2705
|
+
const chevronExpand = "data:image/svg+xml;utf8,<svg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' class='ionicon'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>";
|
|
2724
2706
|
const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
2725
2707
|
const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
|
2726
2708
|
const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
|
|
@@ -3217,12 +3199,9 @@ let accordionIds = 0;
|
|
|
3217
3199
|
* @param message - The string message to be logged to the console.
|
|
3218
3200
|
*/
|
|
3219
3201
|
const printIonWarning = (message, ...params) => {
|
|
3220
|
-
|
|
3221
|
-
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
3222
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
3223
|
-
}
|
|
3202
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
3224
3203
|
};
|
|
3225
|
-
|
|
3204
|
+
/*
|
|
3226
3205
|
* Logs an error to the console with an Ionic prefix
|
|
3227
3206
|
* to indicate the library that is warning the developer.
|
|
3228
3207
|
*
|
|
@@ -3230,10 +3209,7 @@ const printIonWarning = (message, ...params) => {
|
|
|
3230
3209
|
* @param params - Additional arguments to supply to the console.error.
|
|
3231
3210
|
*/
|
|
3232
3211
|
const printIonError = (message, ...params) => {
|
|
3233
|
-
|
|
3234
|
-
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
3235
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
3236
|
-
}
|
|
3212
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
3237
3213
|
};
|
|
3238
3214
|
/**
|
|
3239
3215
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
@@ -8434,10 +8410,10 @@ class CardTitle {
|
|
|
8434
8410
|
}; }
|
|
8435
8411
|
}
|
|
8436
8412
|
|
|
8437
|
-
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-
|
|
8413
|
+
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-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(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
|
|
8438
8414
|
var IonCheckboxIosStyle0 = checkboxIosCss;
|
|
8439
8415
|
|
|
8440
|
-
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-
|
|
8416
|
+
const checkboxMdCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}: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}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-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(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}";
|
|
8441
8417
|
var IonCheckboxMdStyle0 = checkboxMdCss;
|
|
8442
8418
|
|
|
8443
8419
|
/**
|
|
@@ -8448,9 +8424,6 @@ var IonCheckboxMdStyle0 = checkboxMdCss;
|
|
|
8448
8424
|
* @part container - The container for the checkbox mark.
|
|
8449
8425
|
* @part label - The label text describing the checkbox.
|
|
8450
8426
|
* @part mark - The checkmark used to indicate the checked state.
|
|
8451
|
-
* @part supporting-text - Supporting text displayed beneath the checkbox label.
|
|
8452
|
-
* @part helper-text - Supporting text displayed beneath the checkbox label when the checkbox is valid.
|
|
8453
|
-
* @part error-text - Supporting text displayed beneath the checkbox label when the checkbox is invalid and touched.
|
|
8454
8427
|
*/
|
|
8455
8428
|
class Checkbox {
|
|
8456
8429
|
constructor(hostRef) {
|
|
@@ -8459,8 +8432,6 @@ class Checkbox {
|
|
|
8459
8432
|
this.ionFocus = createEvent(this, "ionFocus", 7);
|
|
8460
8433
|
this.ionBlur = createEvent(this, "ionBlur", 7);
|
|
8461
8434
|
this.inputId = `ion-cb-${checkboxIds++}`;
|
|
8462
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
8463
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
8464
8435
|
this.inheritedAttributes = {};
|
|
8465
8436
|
/**
|
|
8466
8437
|
* Sets the checked property and emits
|
|
@@ -8498,13 +8469,10 @@ class Checkbox {
|
|
|
8498
8469
|
this.checked = false;
|
|
8499
8470
|
this.indeterminate = false;
|
|
8500
8471
|
this.disabled = false;
|
|
8501
|
-
this.errorText = undefined;
|
|
8502
|
-
this.helperText = undefined;
|
|
8503
8472
|
this.value = 'on';
|
|
8504
8473
|
this.labelPlacement = 'start';
|
|
8505
8474
|
this.justify = undefined;
|
|
8506
8475
|
this.alignment = undefined;
|
|
8507
|
-
this.required = false;
|
|
8508
8476
|
}
|
|
8509
8477
|
componentWillLoad() {
|
|
8510
8478
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
@@ -8515,38 +8483,12 @@ class Checkbox {
|
|
|
8515
8483
|
this.focusEl.focus();
|
|
8516
8484
|
}
|
|
8517
8485
|
}
|
|
8518
|
-
getHintTextID() {
|
|
8519
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
8520
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
8521
|
-
return errorTextId;
|
|
8522
|
-
}
|
|
8523
|
-
if (helperText) {
|
|
8524
|
-
return helperTextId;
|
|
8525
|
-
}
|
|
8526
|
-
return undefined;
|
|
8527
|
-
}
|
|
8528
|
-
/**
|
|
8529
|
-
* Responsible for rendering helper text and error text.
|
|
8530
|
-
* This element should only be rendered if hint text is set.
|
|
8531
|
-
*/
|
|
8532
|
-
renderHintText() {
|
|
8533
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
8534
|
-
/**
|
|
8535
|
-
* undefined and empty string values should
|
|
8536
|
-
* be treated as not having helper/error text.
|
|
8537
|
-
*/
|
|
8538
|
-
const hasHintText = !!helperText || !!errorText;
|
|
8539
|
-
if (!hasHintText) {
|
|
8540
|
-
return;
|
|
8541
|
-
}
|
|
8542
|
-
return (hAsync("div", { class: "checkbox-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)));
|
|
8543
|
-
}
|
|
8544
8486
|
render() {
|
|
8545
|
-
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment,
|
|
8487
|
+
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
|
|
8546
8488
|
const mode = getIonMode$1(this);
|
|
8547
8489
|
const path = getSVGPath(mode, indeterminate);
|
|
8548
8490
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
8549
|
-
return (hAsync(Host, { key: '
|
|
8491
|
+
return (hAsync(Host, { key: '6dc787e1100521d08c4900104e1a3e2f594e919f', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses$1(color, {
|
|
8550
8492
|
[mode]: true,
|
|
8551
8493
|
'in-item': hostContext('ion-item', el),
|
|
8552
8494
|
'checkbox-checked': checked,
|
|
@@ -8556,10 +8498,10 @@ class Checkbox {
|
|
|
8556
8498
|
[`checkbox-justify-${justify}`]: justify !== undefined,
|
|
8557
8499
|
[`checkbox-alignment-${alignment}`]: alignment !== undefined,
|
|
8558
8500
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
8559
|
-
}), onClick: this.onClick }, hAsync("label", { key: '
|
|
8501
|
+
}), onClick: this.onClick }, hAsync("label", { key: '68222fb736a5ec3f2e488649b0e2ce0417dcb224', class: "checkbox-wrapper" }, hAsync("input", Object.assign({ key: 'f12962d7e9b19c744cfdbdeccc67ae7f5d080281', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, inheritedAttributes)), hAsync("div", { key: 'c72df2699414b1e5a41a1bc267bc634f0c93dcff', class: {
|
|
8560
8502
|
'label-text-wrapper': true,
|
|
8561
8503
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
8562
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
8504
|
+
}, part: "label" }, hAsync("slot", { key: 'a2a80285178a7e0e3b536fc9ca26b8b444aa4307' })), hAsync("div", { key: 'c2b05e0d1fe8df5dcd72858220b5ff51ecaee4cc', class: "native-wrapper" }, hAsync("svg", { key: 'ee24913fded72258ebd9713654a6dba92a18fcf7', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
8563
8505
|
}
|
|
8564
8506
|
getSVGPath(mode, indeterminate) {
|
|
8565
8507
|
let path = indeterminate ? (hAsync("path", { d: "M6 12L18 12", part: "mark" })) : (hAsync("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -8582,13 +8524,10 @@ class Checkbox {
|
|
|
8582
8524
|
"checked": [1028],
|
|
8583
8525
|
"indeterminate": [1028],
|
|
8584
8526
|
"disabled": [4],
|
|
8585
|
-
"errorText": [1, "error-text"],
|
|
8586
|
-
"helperText": [1, "helper-text"],
|
|
8587
8527
|
"value": [8],
|
|
8588
8528
|
"labelPlacement": [1, "label-placement"],
|
|
8589
8529
|
"justify": [1],
|
|
8590
8530
|
"alignment": [1],
|
|
8591
|
-
"required": [4],
|
|
8592
8531
|
"setFocus": [64]
|
|
8593
8532
|
},
|
|
8594
8533
|
"$listeners$": undefined,
|
|
@@ -19064,7 +19003,7 @@ const computeDuration = (remaining, velocity) => {
|
|
|
19064
19003
|
};
|
|
19065
19004
|
|
|
19066
19005
|
const createSheetEnterAnimation = (opts) => {
|
|
19067
|
-
const { currentBreakpoint, backdropBreakpoint
|
|
19006
|
+
const { currentBreakpoint, backdropBreakpoint } = opts;
|
|
19068
19007
|
/**
|
|
19069
19008
|
* If the backdropBreakpoint is undefined, then the backdrop
|
|
19070
19009
|
* should always fade in. If the backdropBreakpoint came before the
|
|
@@ -19084,16 +19023,7 @@ const createSheetEnterAnimation = (opts) => {
|
|
|
19084
19023
|
{ offset: 0, opacity: 1, transform: 'translateY(100%)' },
|
|
19085
19024
|
{ offset: 1, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
|
|
19086
19025
|
]);
|
|
19087
|
-
|
|
19088
|
-
* This allows the content to be scrollable at any breakpoint.
|
|
19089
|
-
*/
|
|
19090
|
-
const contentAnimation = !expandToScroll
|
|
19091
|
-
? createAnimation('contentAnimation').keyframes([
|
|
19092
|
-
{ offset: 0, opacity: 1, maxHeight: `${(1 - currentBreakpoint) * 100}%` },
|
|
19093
|
-
{ offset: 1, opacity: 1, maxHeight: `${currentBreakpoint * 100}%` },
|
|
19094
|
-
])
|
|
19095
|
-
: undefined;
|
|
19096
|
-
return { wrapperAnimation, backdropAnimation, contentAnimation };
|
|
19026
|
+
return { wrapperAnimation, backdropAnimation };
|
|
19097
19027
|
};
|
|
19098
19028
|
const createSheetLeaveAnimation = (opts) => {
|
|
19099
19029
|
const { currentBreakpoint, backdropBreakpoint } = opts;
|
|
@@ -19128,68 +19058,22 @@ const createEnterAnimation$1 = () => {
|
|
|
19128
19058
|
})
|
|
19129
19059
|
.afterClearStyles(['pointer-events']);
|
|
19130
19060
|
const wrapperAnimation = createAnimation().fromTo('transform', 'translateY(100vh)', 'translateY(0vh)');
|
|
19131
|
-
return { backdropAnimation, wrapperAnimation
|
|
19061
|
+
return { backdropAnimation, wrapperAnimation };
|
|
19132
19062
|
};
|
|
19133
19063
|
/**
|
|
19134
19064
|
* iOS Modal Enter Animation for the Card presentation style
|
|
19135
19065
|
*/
|
|
19136
19066
|
const iosEnterAnimation$3 = (baseEl, opts) => {
|
|
19137
|
-
const { presentingEl, currentBreakpoint
|
|
19067
|
+
const { presentingEl, currentBreakpoint } = opts;
|
|
19138
19068
|
const root = getElementRoot(baseEl);
|
|
19139
|
-
const { wrapperAnimation, backdropAnimation
|
|
19069
|
+
const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation$1();
|
|
19140
19070
|
backdropAnimation.addElement(root.querySelector('ion-backdrop'));
|
|
19141
19071
|
wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
|
|
19142
|
-
// The content animation is only added if scrolling is enabled for
|
|
19143
|
-
// all the breakpoints.
|
|
19144
|
-
!expandToScroll && (contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.addElement(baseEl.querySelector('.ion-page')));
|
|
19145
19072
|
const baseAnimation = createAnimation('entering-base')
|
|
19146
19073
|
.addElement(baseEl)
|
|
19147
19074
|
.easing('cubic-bezier(0.32,0.72,0,1)')
|
|
19148
19075
|
.duration(500)
|
|
19149
|
-
.addAnimation(
|
|
19150
|
-
.beforeAddWrite(() => {
|
|
19151
|
-
if (expandToScroll) {
|
|
19152
|
-
// Scroll can only be done when the modal is fully expanded.
|
|
19153
|
-
return;
|
|
19154
|
-
}
|
|
19155
|
-
/**
|
|
19156
|
-
* There are some browsers that causes flickering when
|
|
19157
|
-
* dragging the content when scroll is enabled at every
|
|
19158
|
-
* breakpoint. This is due to the wrapper element being
|
|
19159
|
-
* transformed off the screen and having a snap animation.
|
|
19160
|
-
*
|
|
19161
|
-
* A workaround is to clone the footer element and append
|
|
19162
|
-
* it outside of the wrapper element. This way, the footer
|
|
19163
|
-
* is still visible and the drag can be done without
|
|
19164
|
-
* flickering. The original footer is hidden until the modal
|
|
19165
|
-
* is dismissed. This maintains the animation of the footer
|
|
19166
|
-
* when the modal is dismissed.
|
|
19167
|
-
*
|
|
19168
|
-
* The workaround needs to be done before the animation starts
|
|
19169
|
-
* so there are no flickering issues.
|
|
19170
|
-
*/
|
|
19171
|
-
const ionFooter = baseEl.querySelector('ion-footer');
|
|
19172
|
-
/**
|
|
19173
|
-
* This check is needed to prevent more than one footer
|
|
19174
|
-
* from being appended to the shadow root.
|
|
19175
|
-
* Otherwise, iOS and MD enter animations would append
|
|
19176
|
-
* the footer twice.
|
|
19177
|
-
*/
|
|
19178
|
-
const ionFooterAlreadyAppended = baseEl.shadowRoot.querySelector('ion-footer');
|
|
19179
|
-
if (ionFooter && !ionFooterAlreadyAppended) {
|
|
19180
|
-
const footerHeight = ionFooter.clientHeight;
|
|
19181
|
-
const clonedFooter = ionFooter.cloneNode(true);
|
|
19182
|
-
baseEl.shadowRoot.appendChild(clonedFooter);
|
|
19183
|
-
ionFooter.style.setProperty('display', 'none');
|
|
19184
|
-
ionFooter.setAttribute('aria-hidden', 'true');
|
|
19185
|
-
// Padding is added to prevent some content from being hidden.
|
|
19186
|
-
const page = baseEl.querySelector('.ion-page');
|
|
19187
|
-
page.style.setProperty('padding-bottom', `${footerHeight}px`);
|
|
19188
|
-
}
|
|
19189
|
-
});
|
|
19190
|
-
if (contentAnimation) {
|
|
19191
|
-
baseAnimation.addAnimation(contentAnimation);
|
|
19192
|
-
}
|
|
19076
|
+
.addAnimation(wrapperAnimation);
|
|
19193
19077
|
if (presentingEl) {
|
|
19194
19078
|
const isMobile = window.innerWidth < 768;
|
|
19195
19079
|
const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
|
|
@@ -19267,7 +19151,7 @@ const createLeaveAnimation$1 = () => {
|
|
|
19267
19151
|
* iOS Modal Leave Animation
|
|
19268
19152
|
*/
|
|
19269
19153
|
const iosLeaveAnimation$3 = (baseEl, opts, duration = 500) => {
|
|
19270
|
-
const { presentingEl, currentBreakpoint
|
|
19154
|
+
const { presentingEl, currentBreakpoint } = opts;
|
|
19271
19155
|
const root = getElementRoot(baseEl);
|
|
19272
19156
|
const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation$1();
|
|
19273
19157
|
backdropAnimation.addElement(root.querySelector('ion-backdrop'));
|
|
@@ -19276,29 +19160,7 @@ const iosLeaveAnimation$3 = (baseEl, opts, duration = 500) => {
|
|
|
19276
19160
|
.addElement(baseEl)
|
|
19277
19161
|
.easing('cubic-bezier(0.32,0.72,0,1)')
|
|
19278
19162
|
.duration(duration)
|
|
19279
|
-
.addAnimation(wrapperAnimation)
|
|
19280
|
-
.beforeAddWrite(() => {
|
|
19281
|
-
if (expandToScroll) {
|
|
19282
|
-
// Scroll can only be done when the modal is fully expanded.
|
|
19283
|
-
return;
|
|
19284
|
-
}
|
|
19285
|
-
/**
|
|
19286
|
-
* If expandToScroll is disabled, we need to swap
|
|
19287
|
-
* the visibility to the original, so the footer
|
|
19288
|
-
* dismisses with the modal and doesn't stay
|
|
19289
|
-
* until the modal is removed from the DOM.
|
|
19290
|
-
*/
|
|
19291
|
-
const ionFooter = baseEl.querySelector('ion-footer');
|
|
19292
|
-
if (ionFooter) {
|
|
19293
|
-
const clonedFooter = baseEl.shadowRoot.querySelector('ion-footer');
|
|
19294
|
-
ionFooter.style.removeProperty('display');
|
|
19295
|
-
ionFooter.removeAttribute('aria-hidden');
|
|
19296
|
-
clonedFooter.style.setProperty('display', 'none');
|
|
19297
|
-
clonedFooter.setAttribute('aria-hidden', 'true');
|
|
19298
|
-
const page = baseEl.querySelector('.ion-page');
|
|
19299
|
-
page.style.removeProperty('padding-bottom');
|
|
19300
|
-
}
|
|
19301
|
-
});
|
|
19163
|
+
.addAnimation(wrapperAnimation);
|
|
19302
19164
|
if (presentingEl) {
|
|
19303
19165
|
const isMobile = window.innerWidth < 768;
|
|
19304
19166
|
const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
|
|
@@ -19376,69 +19238,22 @@ const createEnterAnimation = () => {
|
|
|
19376
19238
|
{ offset: 0, opacity: 0.01, transform: 'translateY(40px)' },
|
|
19377
19239
|
{ offset: 1, opacity: 1, transform: `translateY(0px)` },
|
|
19378
19240
|
]);
|
|
19379
|
-
return { backdropAnimation, wrapperAnimation
|
|
19241
|
+
return { backdropAnimation, wrapperAnimation };
|
|
19380
19242
|
};
|
|
19381
19243
|
/**
|
|
19382
19244
|
* Md Modal Enter Animation
|
|
19383
19245
|
*/
|
|
19384
19246
|
const mdEnterAnimation$2 = (baseEl, opts) => {
|
|
19385
|
-
const { currentBreakpoint
|
|
19247
|
+
const { currentBreakpoint } = opts;
|
|
19386
19248
|
const root = getElementRoot(baseEl);
|
|
19387
|
-
const { wrapperAnimation, backdropAnimation
|
|
19249
|
+
const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation();
|
|
19388
19250
|
backdropAnimation.addElement(root.querySelector('ion-backdrop'));
|
|
19389
19251
|
wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
|
|
19390
|
-
|
|
19391
|
-
// all the breakpoints.
|
|
19392
|
-
expandToScroll && (contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.addElement(baseEl.querySelector('.ion-page')));
|
|
19393
|
-
const baseAnimation = createAnimation()
|
|
19252
|
+
return createAnimation()
|
|
19394
19253
|
.addElement(baseEl)
|
|
19395
19254
|
.easing('cubic-bezier(0.36,0.66,0.04,1)')
|
|
19396
19255
|
.duration(280)
|
|
19397
|
-
.addAnimation([backdropAnimation, wrapperAnimation])
|
|
19398
|
-
.beforeAddWrite(() => {
|
|
19399
|
-
if (expandToScroll) {
|
|
19400
|
-
// Scroll can only be done when the modal is fully expanded.
|
|
19401
|
-
return;
|
|
19402
|
-
}
|
|
19403
|
-
/**
|
|
19404
|
-
* There are some browsers that causes flickering when
|
|
19405
|
-
* dragging the content when scroll is enabled at every
|
|
19406
|
-
* breakpoint. This is due to the wrapper element being
|
|
19407
|
-
* transformed off the screen and having a snap animation.
|
|
19408
|
-
*
|
|
19409
|
-
* A workaround is to clone the footer element and append
|
|
19410
|
-
* it outside of the wrapper element. This way, the footer
|
|
19411
|
-
* is still visible and the drag can be done without
|
|
19412
|
-
* flickering. The original footer is hidden until the modal
|
|
19413
|
-
* is dismissed. This maintains the animation of the footer
|
|
19414
|
-
* when the modal is dismissed.
|
|
19415
|
-
*
|
|
19416
|
-
* The workaround needs to be done before the animation starts
|
|
19417
|
-
* so there are no flickering issues.
|
|
19418
|
-
*/
|
|
19419
|
-
const ionFooter = baseEl.querySelector('ion-footer');
|
|
19420
|
-
/**
|
|
19421
|
-
* This check is needed to prevent more than one footer
|
|
19422
|
-
* from being appended to the shadow root.
|
|
19423
|
-
* Otherwise, iOS and MD enter animations would append
|
|
19424
|
-
* the footer twice.
|
|
19425
|
-
*/
|
|
19426
|
-
const ionFooterAlreadyAppended = baseEl.shadowRoot.querySelector('ion-footer');
|
|
19427
|
-
if (ionFooter && !ionFooterAlreadyAppended) {
|
|
19428
|
-
const footerHeight = ionFooter.clientHeight;
|
|
19429
|
-
const clonedFooter = ionFooter.cloneNode(true);
|
|
19430
|
-
baseEl.shadowRoot.appendChild(clonedFooter);
|
|
19431
|
-
ionFooter.style.setProperty('display', 'none');
|
|
19432
|
-
ionFooter.setAttribute('aria-hidden', 'true');
|
|
19433
|
-
// Padding is added to prevent some content from being hidden.
|
|
19434
|
-
const page = baseEl.querySelector('.ion-page');
|
|
19435
|
-
page.style.setProperty('padding-bottom', `${footerHeight}px`);
|
|
19436
|
-
}
|
|
19437
|
-
});
|
|
19438
|
-
if (contentAnimation) {
|
|
19439
|
-
baseAnimation.addAnimation(contentAnimation);
|
|
19440
|
-
}
|
|
19441
|
-
return baseAnimation;
|
|
19256
|
+
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
19442
19257
|
};
|
|
19443
19258
|
|
|
19444
19259
|
const createLeaveAnimation = () => {
|
|
@@ -19453,41 +19268,18 @@ const createLeaveAnimation = () => {
|
|
|
19453
19268
|
* Md Modal Leave Animation
|
|
19454
19269
|
*/
|
|
19455
19270
|
const mdLeaveAnimation$2 = (baseEl, opts) => {
|
|
19456
|
-
const { currentBreakpoint
|
|
19271
|
+
const { currentBreakpoint } = opts;
|
|
19457
19272
|
const root = getElementRoot(baseEl);
|
|
19458
19273
|
const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation();
|
|
19459
19274
|
backdropAnimation.addElement(root.querySelector('ion-backdrop'));
|
|
19460
19275
|
wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
|
|
19461
|
-
|
|
19276
|
+
return createAnimation()
|
|
19462
19277
|
.easing('cubic-bezier(0.47,0,0.745,0.715)')
|
|
19463
19278
|
.duration(200)
|
|
19464
|
-
.addAnimation([backdropAnimation, wrapperAnimation])
|
|
19465
|
-
.beforeAddWrite(() => {
|
|
19466
|
-
if (expandToScroll) {
|
|
19467
|
-
// Scroll can only be done when the modal is fully expanded.
|
|
19468
|
-
return;
|
|
19469
|
-
}
|
|
19470
|
-
/**
|
|
19471
|
-
* If expandToScroll is disabled, we need to swap
|
|
19472
|
-
* the visibility to the original, so the footer
|
|
19473
|
-
* dismisses with the modal and doesn't stay
|
|
19474
|
-
* until the modal is removed from the DOM.
|
|
19475
|
-
*/
|
|
19476
|
-
const ionFooter = baseEl.querySelector('ion-footer');
|
|
19477
|
-
if (ionFooter) {
|
|
19478
|
-
const clonedFooter = baseEl.shadowRoot.querySelector('ion-footer');
|
|
19479
|
-
ionFooter.style.removeProperty('display');
|
|
19480
|
-
ionFooter.removeAttribute('aria-hidden');
|
|
19481
|
-
clonedFooter.style.setProperty('display', 'none');
|
|
19482
|
-
clonedFooter.setAttribute('aria-hidden', 'true');
|
|
19483
|
-
const page = baseEl.querySelector('.ion-page');
|
|
19484
|
-
page.style.removeProperty('padding-bottom');
|
|
19485
|
-
}
|
|
19486
|
-
});
|
|
19487
|
-
return baseAnimation;
|
|
19279
|
+
.addAnimation([backdropAnimation, wrapperAnimation]);
|
|
19488
19280
|
};
|
|
19489
19281
|
|
|
19490
|
-
const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [],
|
|
19282
|
+
const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
|
|
19491
19283
|
// Defaults for the sheet swipe animation
|
|
19492
19284
|
const defaultBackdrop = [
|
|
19493
19285
|
{ offset: 0, opacity: 'var(--backdrop-opacity)' },
|
|
@@ -19504,10 +19296,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19504
19296
|
{ offset: 1, transform: 'translateY(100%)' },
|
|
19505
19297
|
],
|
|
19506
19298
|
BACKDROP_KEYFRAMES: backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop,
|
|
19507
|
-
CONTENT_KEYFRAMES: [
|
|
19508
|
-
{ offset: 0, maxHeight: '100%' },
|
|
19509
|
-
{ offset: 1, maxHeight: '0%' },
|
|
19510
|
-
],
|
|
19511
19299
|
};
|
|
19512
19300
|
const contentEl = baseEl.querySelector('ion-content');
|
|
19513
19301
|
const height = wrapperEl.clientHeight;
|
|
@@ -19515,11 +19303,10 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19515
19303
|
let offset = 0;
|
|
19516
19304
|
let canDismissBlocksGesture = false;
|
|
19517
19305
|
const canDismissMaxStep = 0.95;
|
|
19518
|
-
const maxBreakpoint = breakpoints[breakpoints.length - 1];
|
|
19519
|
-
const minBreakpoint = breakpoints[0];
|
|
19520
19306
|
const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');
|
|
19521
19307
|
const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');
|
|
19522
|
-
const
|
|
19308
|
+
const maxBreakpoint = breakpoints[breakpoints.length - 1];
|
|
19309
|
+
const minBreakpoint = breakpoints[0];
|
|
19523
19310
|
const enableBackdrop = () => {
|
|
19524
19311
|
baseEl.style.setProperty('pointer-events', 'auto');
|
|
19525
19312
|
backdropEl.style.setProperty('pointer-events', 'auto');
|
|
@@ -19542,31 +19329,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19542
19329
|
*/
|
|
19543
19330
|
baseEl.classList.add(FOCUS_TRAP_DISABLE_CLASS);
|
|
19544
19331
|
};
|
|
19545
|
-
/**
|
|
19546
|
-
* Toggles the visible modal footer when `expandToScroll` is disabled.
|
|
19547
|
-
* @param footer The footer to show.
|
|
19548
|
-
*/
|
|
19549
|
-
const swapFooterVisibility = (footer) => {
|
|
19550
|
-
const originalFooter = baseEl.querySelector('ion-footer');
|
|
19551
|
-
if (!originalFooter) {
|
|
19552
|
-
return;
|
|
19553
|
-
}
|
|
19554
|
-
const clonedFooter = wrapperEl.nextElementSibling;
|
|
19555
|
-
const footerToHide = footer === 'original' ? clonedFooter : originalFooter;
|
|
19556
|
-
const footerToShow = footer === 'original' ? originalFooter : clonedFooter;
|
|
19557
|
-
footerToShow.style.removeProperty('display');
|
|
19558
|
-
footerToShow.removeAttribute('aria-hidden');
|
|
19559
|
-
const page = baseEl.querySelector('.ion-page');
|
|
19560
|
-
if (footer === 'original') {
|
|
19561
|
-
page.style.removeProperty('padding-bottom');
|
|
19562
|
-
}
|
|
19563
|
-
else {
|
|
19564
|
-
const pagePadding = footerToShow.clientHeight;
|
|
19565
|
-
page.style.setProperty('padding-bottom', `${pagePadding}px`);
|
|
19566
|
-
}
|
|
19567
|
-
footerToHide.style.setProperty('display', 'none');
|
|
19568
|
-
footerToHide.setAttribute('aria-hidden', 'true');
|
|
19569
|
-
};
|
|
19570
19332
|
/**
|
|
19571
19333
|
* After the entering animation completes,
|
|
19572
19334
|
* we need to set the animation to go from
|
|
@@ -19578,7 +19340,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19578
19340
|
if (wrapperAnimation && backdropAnimation) {
|
|
19579
19341
|
wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
|
|
19580
19342
|
backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
|
|
19581
|
-
contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
|
|
19582
19343
|
animation.progressStart(true, 1 - currentBreakpoint);
|
|
19583
19344
|
/**
|
|
19584
19345
|
* If backdrop is not enabled, then content
|
|
@@ -19595,7 +19356,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19595
19356
|
disableBackdrop();
|
|
19596
19357
|
}
|
|
19597
19358
|
}
|
|
19598
|
-
if (contentEl && currentBreakpoint !== maxBreakpoint
|
|
19359
|
+
if (contentEl && currentBreakpoint !== maxBreakpoint) {
|
|
19599
19360
|
contentEl.scrollY = false;
|
|
19600
19361
|
}
|
|
19601
19362
|
const canStart = (detail) => {
|
|
@@ -19609,13 +19370,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19609
19370
|
*/
|
|
19610
19371
|
const contentEl = findClosestIonContent(detail.event.target);
|
|
19611
19372
|
currentBreakpoint = getCurrentBreakpoint();
|
|
19612
|
-
/**
|
|
19613
|
-
* If we have expandToScroll disabled, we should not allow the swipe gesture to start
|
|
19614
|
-
* if the content is being swiped.
|
|
19615
|
-
*/
|
|
19616
|
-
if (!expandToScroll && contentEl) {
|
|
19617
|
-
return false;
|
|
19618
|
-
}
|
|
19619
19373
|
if (currentBreakpoint === 1 && contentEl) {
|
|
19620
19374
|
/**
|
|
19621
19375
|
* The modal should never swipe to close on the content with a refresher.
|
|
@@ -19646,15 +19400,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19646
19400
|
* Remove undefined check
|
|
19647
19401
|
*/
|
|
19648
19402
|
canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
|
|
19649
|
-
/**
|
|
19650
|
-
* If expandToScroll is disabled, we need to swap
|
|
19651
|
-
* the footer visibility to the original, so if the modal
|
|
19652
|
-
* is dismissed, the footer dismisses with the modal
|
|
19653
|
-
* and doesn't stay on the screen after the modal is gone.
|
|
19654
|
-
*/
|
|
19655
|
-
if (!expandToScroll) {
|
|
19656
|
-
swapFooterVisibility('original');
|
|
19657
|
-
}
|
|
19658
19403
|
/**
|
|
19659
19404
|
* If we are pulling down, then it is possible we are pulling on the content.
|
|
19660
19405
|
* We do not want scrolling to happen at the same time as the gesture.
|
|
@@ -19770,19 +19515,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19770
19515
|
opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(snapToBreakpoint, backdropBreakpoint)})`,
|
|
19771
19516
|
},
|
|
19772
19517
|
]);
|
|
19773
|
-
if (contentAnimation) {
|
|
19774
|
-
/**
|
|
19775
|
-
* The modal content should scroll at any breakpoint when expandToScroll
|
|
19776
|
-
* is disabled. In order to do this, the content needs to be completely
|
|
19777
|
-
* viewable so scrolling can access everything. Otherwise, the default
|
|
19778
|
-
* behavior would show the content off the screen and only allow
|
|
19779
|
-
* scrolling when the sheet is fully expanded.
|
|
19780
|
-
*/
|
|
19781
|
-
contentAnimation.keyframes([
|
|
19782
|
-
{ offset: 0, maxHeight: `${(1 - breakpointOffset) * 100}%` },
|
|
19783
|
-
{ offset: 1, maxHeight: `${snapToBreakpoint * 100}%` },
|
|
19784
|
-
]);
|
|
19785
|
-
}
|
|
19786
19518
|
animation.progressStep(0);
|
|
19787
19519
|
}
|
|
19788
19520
|
/**
|
|
@@ -19790,14 +19522,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19790
19522
|
* snapping animation completes.
|
|
19791
19523
|
*/
|
|
19792
19524
|
gesture.enable(false);
|
|
19793
|
-
/**
|
|
19794
|
-
* If expandToScroll is disabled, we need to swap
|
|
19795
|
-
* the footer visibility to the cloned one so the footer
|
|
19796
|
-
* doesn't flicker when the sheet's height is animated.
|
|
19797
|
-
*/
|
|
19798
|
-
if (!expandToScroll && shouldRemainOpen) {
|
|
19799
|
-
swapFooterVisibility('cloned');
|
|
19800
|
-
}
|
|
19801
19525
|
if (shouldPreventDismiss) {
|
|
19802
19526
|
handleCanDismiss(baseEl, animation);
|
|
19803
19527
|
}
|
|
@@ -19805,13 +19529,13 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19805
19529
|
onDismiss();
|
|
19806
19530
|
}
|
|
19807
19531
|
/**
|
|
19808
|
-
*
|
|
19809
|
-
*
|
|
19810
|
-
*
|
|
19811
|
-
*
|
|
19812
|
-
* released, so we align with that
|
|
19532
|
+
* If the sheet is going to be fully expanded then we should enable
|
|
19533
|
+
* scrolling immediately. The sheet modal animation takes ~500ms to finish
|
|
19534
|
+
* so if we wait until then there is a visible delay for when scrolling is
|
|
19535
|
+
* re-enabled. Native iOS allows for scrolling on the sheet modal as soon
|
|
19536
|
+
* as the gesture is released, so we align with that.
|
|
19813
19537
|
*/
|
|
19814
|
-
if (contentEl &&
|
|
19538
|
+
if (contentEl && snapToBreakpoint === breakpoints[breakpoints.length - 1]) {
|
|
19815
19539
|
contentEl.scrollY = true;
|
|
19816
19540
|
}
|
|
19817
19541
|
return new Promise((resolve) => {
|
|
@@ -19829,7 +19553,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19829
19553
|
raf(() => {
|
|
19830
19554
|
wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
|
|
19831
19555
|
backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
|
|
19832
|
-
contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
|
|
19833
19556
|
animation.progressStart(true, 1 - snapToBreakpoint);
|
|
19834
19557
|
currentBreakpoint = snapToBreakpoint;
|
|
19835
19558
|
onBreakpointChange(currentBreakpoint);
|
|
@@ -19882,10 +19605,10 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
19882
19605
|
};
|
|
19883
19606
|
};
|
|
19884
19607
|
|
|
19885
|
-
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host
|
|
19608
|
+
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}";
|
|
19886
19609
|
var IonModalIosStyle0 = modalIosCss;
|
|
19887
19610
|
|
|
19888
|
-
const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host
|
|
19611
|
+
const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}";
|
|
19889
19612
|
var IonModalMdStyle0 = modalMdCss;
|
|
19890
19613
|
|
|
19891
19614
|
// TODO(FW-2832): types
|
|
@@ -19964,7 +19687,6 @@ class Modal {
|
|
|
19964
19687
|
this.enterAnimation = undefined;
|
|
19965
19688
|
this.leaveAnimation = undefined;
|
|
19966
19689
|
this.breakpoints = undefined;
|
|
19967
|
-
this.expandToScroll = true;
|
|
19968
19690
|
this.initialBreakpoint = undefined;
|
|
19969
19691
|
this.backdropBreakpoint = 0;
|
|
19970
19692
|
this.handle = undefined;
|
|
@@ -20180,7 +19902,6 @@ class Modal {
|
|
|
20180
19902
|
presentingEl: presentingElement,
|
|
20181
19903
|
currentBreakpoint: this.initialBreakpoint,
|
|
20182
19904
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
20183
|
-
expandToScroll: this.expandToScroll,
|
|
20184
19905
|
});
|
|
20185
19906
|
/* tslint:disable-next-line */
|
|
20186
19907
|
if (typeof window !== 'undefined') {
|
|
@@ -20231,10 +19952,7 @@ class Modal {
|
|
|
20231
19952
|
// should be in the DOM and referenced by now, except
|
|
20232
19953
|
// for the presenting el
|
|
20233
19954
|
const animationBuilder = this.leaveAnimation || config.get('modalLeave', iosLeaveAnimation$3);
|
|
20234
|
-
const ani = (this.animation = animationBuilder(el, {
|
|
20235
|
-
presentingEl: this.presentingElement,
|
|
20236
|
-
expandToScroll: this.expandToScroll,
|
|
20237
|
-
}));
|
|
19955
|
+
const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));
|
|
20238
19956
|
const contentEl = findIonContent(el);
|
|
20239
19957
|
if (!contentEl) {
|
|
20240
19958
|
printIonContentErrorMsg(el);
|
|
@@ -20279,10 +19997,9 @@ class Modal {
|
|
|
20279
19997
|
presentingEl: this.presentingElement,
|
|
20280
19998
|
currentBreakpoint: initialBreakpoint,
|
|
20281
19999
|
backdropBreakpoint,
|
|
20282
|
-
expandToScroll: this.expandToScroll,
|
|
20283
20000
|
}));
|
|
20284
20001
|
ani.progressStart(true, 1);
|
|
20285
|
-
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints,
|
|
20002
|
+
const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
|
|
20286
20003
|
if (this.currentBreakpoint !== breakpoint) {
|
|
20287
20004
|
this.currentBreakpoint = breakpoint;
|
|
20288
20005
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
@@ -20360,7 +20077,6 @@ class Modal {
|
|
|
20360
20077
|
presentingEl: presentingElement,
|
|
20361
20078
|
currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
|
|
20362
20079
|
backdropBreakpoint: this.backdropBreakpoint,
|
|
20363
|
-
expandToScroll: this.expandToScroll,
|
|
20364
20080
|
});
|
|
20365
20081
|
if (dismissed) {
|
|
20366
20082
|
const { delegate } = this.getDelegate();
|
|
@@ -20446,23 +20162,23 @@ class Modal {
|
|
|
20446
20162
|
return true;
|
|
20447
20163
|
}
|
|
20448
20164
|
render() {
|
|
20449
|
-
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap
|
|
20165
|
+
const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap } = this;
|
|
20450
20166
|
const showHandle = handle !== false && isSheetModal;
|
|
20451
20167
|
const mode = getIonMode$1(this);
|
|
20452
20168
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
20453
20169
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
20454
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
20170
|
+
return (hAsync(Host, Object.assign({ key: 'b4da5111fe4719fa450c39b2d4bd884a302a7924', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
20455
20171
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
20456
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal,
|
|
20172
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), hAsync("ion-backdrop", { key: 'c12dbf747e0eb914eaf1331798548ffc7e147763', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: 'da546ee80c6576b5acc66e959fd5009e0b9a8160', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '306ebe6427440ad5f7ed36d590e562d15a503b75',
|
|
20457
20173
|
/*
|
|
20458
20174
|
role and aria-modal must be used on the
|
|
20459
20175
|
same element. They must also be set inside the
|
|
20460
20176
|
shadow DOM otherwise ion-button will not be highlighted
|
|
20461
20177
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
20462
20178
|
*/
|
|
20463
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
20179
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'c5d17e346fe255a7c0cacbbf15c0083f2d09c488', class: "modal-handle",
|
|
20464
20180
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
20465
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), hAsync("slot", { key: '
|
|
20181
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), hAsync("slot", { key: '5cc714170a00b67f3eda0cd1d6f37c1489a99c83' }))));
|
|
20466
20182
|
}
|
|
20467
20183
|
get el() { return getElement(this); }
|
|
20468
20184
|
static get watchers() { return {
|
|
@@ -20484,7 +20200,6 @@ class Modal {
|
|
|
20484
20200
|
"enterAnimation": [16],
|
|
20485
20201
|
"leaveAnimation": [16],
|
|
20486
20202
|
"breakpoints": [16],
|
|
20487
|
-
"expandToScroll": [4, "expand-to-scroll"],
|
|
20488
20203
|
"initialBreakpoint": [2, "initial-breakpoint"],
|
|
20489
20204
|
"backdropBreakpoint": [2, "backdrop-breakpoint"],
|
|
20490
20205
|
"handle": [4],
|
|
@@ -29585,7 +29300,35 @@ class SegmentButton {
|
|
|
29585
29300
|
valueChanged() {
|
|
29586
29301
|
this.updateState();
|
|
29587
29302
|
}
|
|
29588
|
-
|
|
29303
|
+
waitForSegmentContent(ionSegment, contentId) {
|
|
29304
|
+
return new Promise((resolve, reject) => {
|
|
29305
|
+
let timeoutId = undefined;
|
|
29306
|
+
let animationFrameId;
|
|
29307
|
+
const check = () => {
|
|
29308
|
+
if (!ionSegment) {
|
|
29309
|
+
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
29310
|
+
return;
|
|
29311
|
+
}
|
|
29312
|
+
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
29313
|
+
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
29314
|
+
if (segmentContent && timeoutId) {
|
|
29315
|
+
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
29316
|
+
cancelAnimationFrame(animationFrameId);
|
|
29317
|
+
resolve(segmentContent);
|
|
29318
|
+
}
|
|
29319
|
+
else {
|
|
29320
|
+
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
29321
|
+
}
|
|
29322
|
+
};
|
|
29323
|
+
check();
|
|
29324
|
+
// Set a timeout to reject the promise
|
|
29325
|
+
timeoutId = setTimeout(() => {
|
|
29326
|
+
cancelAnimationFrame(animationFrameId);
|
|
29327
|
+
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
29328
|
+
}, 1000);
|
|
29329
|
+
});
|
|
29330
|
+
}
|
|
29331
|
+
async connectedCallback() {
|
|
29589
29332
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
29590
29333
|
if (segmentEl) {
|
|
29591
29334
|
this.updateState();
|
|
@@ -29595,11 +29338,14 @@ class SegmentButton {
|
|
|
29595
29338
|
// Return if there is no contentId defined
|
|
29596
29339
|
if (!this.contentId)
|
|
29597
29340
|
return;
|
|
29598
|
-
|
|
29599
|
-
|
|
29600
|
-
|
|
29601
|
-
|
|
29602
|
-
|
|
29341
|
+
let segmentContent;
|
|
29342
|
+
try {
|
|
29343
|
+
// Attempt to find the Segment Content by its contentId
|
|
29344
|
+
segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
|
|
29345
|
+
}
|
|
29346
|
+
catch (error) {
|
|
29347
|
+
// If no associated Segment Content exists, log an error and return
|
|
29348
|
+
console.error('Segment Button: ', error.message);
|
|
29603
29349
|
return;
|
|
29604
29350
|
}
|
|
29605
29351
|
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
@@ -29645,7 +29391,7 @@ class SegmentButton {
|
|
|
29645
29391
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
29646
29392
|
const mode = getIonMode$1(this);
|
|
29647
29393
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
29648
|
-
return (hAsync(Host, { key: '
|
|
29394
|
+
return (hAsync(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
|
|
29649
29395
|
[mode]: true,
|
|
29650
29396
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
29651
29397
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -29661,7 +29407,7 @@ class SegmentButton {
|
|
|
29661
29407
|
'ion-activatable': true,
|
|
29662
29408
|
'ion-activatable-instant': true,
|
|
29663
29409
|
'ion-focusable': true,
|
|
29664
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
29410
|
+
} }, 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" }))));
|
|
29665
29411
|
}
|
|
29666
29412
|
get el() { return getElement(this); }
|
|
29667
29413
|
static get watchers() { return {
|
|
@@ -29928,7 +29674,6 @@ class Select {
|
|
|
29928
29674
|
this.expandedIcon = undefined;
|
|
29929
29675
|
this.shape = undefined;
|
|
29930
29676
|
this.value = undefined;
|
|
29931
|
-
this.required = false;
|
|
29932
29677
|
}
|
|
29933
29678
|
styleChanged() {
|
|
29934
29679
|
this.emitStyle();
|
|
@@ -29984,15 +29729,8 @@ class Select {
|
|
|
29984
29729
|
}
|
|
29985
29730
|
this.isExpanded = true;
|
|
29986
29731
|
const overlay = (this.overlay = await this.createOverlay(event));
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
|
-
this.isExpanded = false;
|
|
29990
|
-
this.ionDismiss.emit();
|
|
29991
|
-
this.setFocus();
|
|
29992
|
-
});
|
|
29993
|
-
await overlay.present();
|
|
29994
|
-
// focus selected option for popovers and modals
|
|
29995
|
-
if (this.interface === 'popover' || this.interface === 'modal') {
|
|
29732
|
+
// Add logic to scroll selected item into view before presenting
|
|
29733
|
+
const scrollSelectedIntoView = () => {
|
|
29996
29734
|
const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
|
|
29997
29735
|
if (indexOfSelected > -1) {
|
|
29998
29736
|
const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
|
|
@@ -30010,6 +29748,7 @@ class Select {
|
|
|
30010
29748
|
*/
|
|
30011
29749
|
const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');
|
|
30012
29750
|
if (interactiveEl) {
|
|
29751
|
+
selectedItem.scrollIntoView({ block: 'nearest' });
|
|
30013
29752
|
// Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
|
|
30014
29753
|
// and removing `ion-focused` style
|
|
30015
29754
|
interactiveEl.setFocus();
|
|
@@ -30033,7 +29772,40 @@ class Select {
|
|
|
30033
29772
|
focusVisibleElement(firstEnabledOption.closest('ion-item'));
|
|
30034
29773
|
}
|
|
30035
29774
|
}
|
|
29775
|
+
};
|
|
29776
|
+
// For modals and popovers, we can scroll before they're visible
|
|
29777
|
+
if (this.interface === 'modal') {
|
|
29778
|
+
overlay.addEventListener('ionModalWillPresent', scrollSelectedIntoView, { once: true });
|
|
30036
29779
|
}
|
|
29780
|
+
else if (this.interface === 'popover') {
|
|
29781
|
+
overlay.addEventListener('ionPopoverWillPresent', scrollSelectedIntoView, { once: true });
|
|
29782
|
+
}
|
|
29783
|
+
else {
|
|
29784
|
+
/**
|
|
29785
|
+
* For alerts and action sheets, we need to wait a frame after willPresent
|
|
29786
|
+
* because these overlays don't have their content in the DOM immediately
|
|
29787
|
+
* when willPresent fires. By waiting a frame, we ensure the content is
|
|
29788
|
+
* rendered and can be properly scrolled into view.
|
|
29789
|
+
*/
|
|
29790
|
+
const scrollAfterRender = () => {
|
|
29791
|
+
requestAnimationFrame(() => {
|
|
29792
|
+
scrollSelectedIntoView();
|
|
29793
|
+
});
|
|
29794
|
+
};
|
|
29795
|
+
if (this.interface === 'alert') {
|
|
29796
|
+
overlay.addEventListener('ionAlertWillPresent', scrollAfterRender, { once: true });
|
|
29797
|
+
}
|
|
29798
|
+
else if (this.interface === 'action-sheet') {
|
|
29799
|
+
overlay.addEventListener('ionActionSheetWillPresent', scrollAfterRender, { once: true });
|
|
29800
|
+
}
|
|
29801
|
+
}
|
|
29802
|
+
overlay.onDidDismiss().then(() => {
|
|
29803
|
+
this.overlay = undefined;
|
|
29804
|
+
this.isExpanded = false;
|
|
29805
|
+
this.ionDismiss.emit();
|
|
29806
|
+
this.setFocus();
|
|
29807
|
+
});
|
|
29808
|
+
await overlay.present();
|
|
30037
29809
|
return overlay;
|
|
30038
29810
|
}
|
|
30039
29811
|
createOverlay(ev) {
|
|
@@ -30413,8 +30185,8 @@ class Select {
|
|
|
30413
30185
|
return renderedLabel;
|
|
30414
30186
|
}
|
|
30415
30187
|
renderListbox() {
|
|
30416
|
-
const { disabled, inputId, isExpanded
|
|
30417
|
-
return (hAsync("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`,
|
|
30188
|
+
const { disabled, inputId, isExpanded } = this;
|
|
30189
|
+
return (hAsync("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
30418
30190
|
}
|
|
30419
30191
|
render() {
|
|
30420
30192
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
@@ -30445,7 +30217,7 @@ class Select {
|
|
|
30445
30217
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
30446
30218
|
*/
|
|
30447
30219
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
30448
|
-
return (hAsync(Host, { key: '
|
|
30220
|
+
return (hAsync(Host, { key: 'b2dca9ae25d88e4d9fdb55003041a66be5668fcf', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
30449
30221
|
[mode]: true,
|
|
30450
30222
|
'in-item': inItem,
|
|
30451
30223
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -30461,7 +30233,7 @@ class Select {
|
|
|
30461
30233
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
30462
30234
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
30463
30235
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
30464
|
-
}) }, hAsync("label", { key: '
|
|
30236
|
+
}) }, hAsync("label", { key: 'c22fe9aee8cd448223497ef143e89529fcef8af6', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), hAsync("div", { key: '601972df4579f4fa6a9c2c12865593e807decb72', class: "select-wrapper-inner" }, hAsync("slot", { key: '5f7b1261862f74b978b26f026533e3fd1cc666ba', name: "start" }), hAsync("div", { key: '39616da89f4b4b78432f6da85116a7de2ca589e7', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: '1d7b3601b73af7c05b3627cfc8e5147ea379bb03', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'b0344f0ac15003e22fee66d3d7ed03a07da7e8b7', class: "select-highlight" }))));
|
|
30465
30237
|
}
|
|
30466
30238
|
get el() { return getElement(this); }
|
|
30467
30239
|
static get watchers() { return {
|
|
@@ -30497,7 +30269,6 @@ class Select {
|
|
|
30497
30269
|
"expandedIcon": [1, "expanded-icon"],
|
|
30498
30270
|
"shape": [1],
|
|
30499
30271
|
"value": [1032],
|
|
30500
|
-
"required": [4],
|
|
30501
30272
|
"isExpanded": [32],
|
|
30502
30273
|
"open": [64]
|
|
30503
30274
|
},
|
|
@@ -32894,7 +32665,6 @@ class Toggle {
|
|
|
32894
32665
|
this.labelPlacement = 'start';
|
|
32895
32666
|
this.justify = undefined;
|
|
32896
32667
|
this.alignment = undefined;
|
|
32897
|
-
this.required = false;
|
|
32898
32668
|
}
|
|
32899
32669
|
disabledChanged() {
|
|
32900
32670
|
if (this.gesture) {
|
|
@@ -32976,12 +32746,12 @@ class Toggle {
|
|
|
32976
32746
|
return this.el.textContent !== '';
|
|
32977
32747
|
}
|
|
32978
32748
|
render() {
|
|
32979
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment
|
|
32749
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
32980
32750
|
const mode = getIonMode$1(this);
|
|
32981
32751
|
const value = this.getValue();
|
|
32982
32752
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
32983
32753
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
32984
|
-
return (hAsync(Host, { key: '
|
|
32754
|
+
return (hAsync(Host, { key: 'f52195ec3bc14c024647cb41319c32a4cd330e19', onClick: this.onClick, class: createColorClasses$1(color, {
|
|
32985
32755
|
[mode]: true,
|
|
32986
32756
|
'in-item': hostContext('ion-item', el),
|
|
32987
32757
|
'toggle-activated': activated,
|
|
@@ -32991,10 +32761,10 @@ class Toggle {
|
|
|
32991
32761
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
32992
32762
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
32993
32763
|
[`toggle-${rtl}`]: true,
|
|
32994
|
-
}) }, hAsync("label", { key: '
|
|
32764
|
+
}) }, hAsync("label", { key: 'f8b3a215ad85b2cee611ad63449b584e1640f27f', class: "toggle-wrapper" }, hAsync("input", Object.assign({ key: 'f387b1ea840737a9737917e516834c887be99c09', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), hAsync("div", { key: '936af880db59fe377cd2de9101eb28a1c4fb8914', class: {
|
|
32995
32765
|
'label-text-wrapper': true,
|
|
32996
32766
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
32997
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
32767
|
+
}, part: "label" }, hAsync("slot", { key: '80a6672e2e792c15011a9496dcd75363cdba31c6' })), hAsync("div", { key: '2b2b318b38ab27b194c0dab4cecd77d9d780f2ca', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
32998
32768
|
}
|
|
32999
32769
|
get el() { return getElement(this); }
|
|
33000
32770
|
static get watchers() { return {
|
|
@@ -33017,7 +32787,6 @@ class Toggle {
|
|
|
33017
32787
|
"labelPlacement": [1, "label-placement"],
|
|
33018
32788
|
"justify": [1],
|
|
33019
32789
|
"alignment": [1],
|
|
33020
|
-
"required": [4],
|
|
33021
32790
|
"activated": [32]
|
|
33022
32791
|
},
|
|
33023
32792
|
"$listeners$": undefined,
|
|
@@ -33049,10 +32818,6 @@ var IonToolbarMdStyle0 = toolbarMdCss;
|
|
|
33049
32818
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
33050
32819
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
33051
32820
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
33052
|
-
*
|
|
33053
|
-
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
33054
|
-
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
33055
|
-
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
33056
32821
|
*/
|
|
33057
32822
|
class Toolbar {
|
|
33058
32823
|
constructor(hostRef) {
|
|
@@ -33103,10 +32868,10 @@ class Toolbar {
|
|
|
33103
32868
|
this.childrenStyles.forEach((value) => {
|
|
33104
32869
|
Object.assign(childStyles, value);
|
|
33105
32870
|
});
|
|
33106
|
-
return (hAsync(Host, { key: '
|
|
32871
|
+
return (hAsync(Host, { key: '462538a5ecd01baf3cde116c9f029aeda26c81be', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
33107
32872
|
[mode]: true,
|
|
33108
32873
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33109
|
-
})) }, hAsync("div", { key: '
|
|
32874
|
+
})) }, 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" }))));
|
|
33110
32875
|
}
|
|
33111
32876
|
get el() { return getElement(this); }
|
|
33112
32877
|
static get style() { return {
|