@ionic/core 8.3.2-dev.11727429833.12af2167 → 8.3.2-dev.11728314937.130218e6
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/action-sheet.js +1 -1
- package/components/alert.js +2 -1
- package/components/animation.js +1 -1
- package/components/backdrop.js +1 -1
- package/components/button.js +2 -2
- package/components/buttons.js +1 -1
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +2 -2
- package/components/config2.js +79 -0
- package/components/focus-visible.js +8 -1
- package/components/framework-delegate.js +3 -1
- package/components/helpers.js +4 -1
- package/components/index2.js +2 -1
- package/components/index4.js +1 -3
- package/components/index5.js +27 -3
- package/components/index6.js +124 -27
- package/components/index7.js +150 -111
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -2
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +3 -2
- package/components/ion-app.js +7 -74
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +3 -2
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +3 -2
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +7 -5
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +3 -2
- package/components/ion-fab-button.js +3 -2
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +7 -5
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +8 -6
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -1
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +3 -2
- package/components/ion-input.js +4 -3
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +2 -2
- package/components/ion-loading.js +2 -1
- package/components/ion-menu-button.js +3 -2
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +2 -2
- package/components/ion-modal.js +3 -3
- package/components/ion-nav.js +2 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +2 -1
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +3 -2
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +3 -2
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +2 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -2
- package/components/ion-segment-button.js +8 -8
- package/components/ion-segment.js +7 -7
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -2
- package/components/ion-skeleton-text.js +2 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +2 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -2
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +189 -76
- package/components/item.js +4 -3
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +1 -1
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +4 -4
- package/components/picker-column-option.js +1 -1
- package/components/picker-column.js +1 -2
- package/components/picker-column2.js +1 -1
- package/components/popover.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +1 -1
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +3 -2
- package/components/status-tap.js +1 -1
- package/css/ionic/bundle.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.css.map +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-232e0c8f.js} +2 -2
- package/dist/cjs/{app-globals-38bbc401.js → app-globals-0189a70c.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-41228dbf.js} +4 -4
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-806e7fee.js} +3 -3
- package/dist/cjs/{index-73f75efb.js → config-1349d5b4.js} +79 -0
- package/dist/cjs/{data-b3a1a686.js → data-cad5d489.js} +1 -1
- package/dist/{esm/focus-visible-dd40d69f.js → cjs/focus-visible-9aa87fa3.js} +11 -1
- package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-cf116b1d.js} +4 -2
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-f0cad9a6.js} +1 -1
- package/dist/cjs/{helpers-afaa9001.js → helpers-e75eb909.js} +4 -1
- package/dist/cjs/{index-2fa32189.js → index-1d02518d.js} +2 -2
- package/dist/cjs/{index-9509ecad.js → index-2c8b42cd.js} +8 -7
- package/dist/cjs/{index-694a3808.js → index-3ac79a1b.js} +10 -10
- package/dist/cjs/{index-ed0f67a3.js → index-71085796.js} +5 -7
- package/dist/cjs/index.cjs.js +10 -12
- package/dist/cjs/{input-shims-ab680ecf.js → input-shims-2958dcc9.js} +17 -18
- package/dist/cjs/{input.utils-44ff82f0.js → input.utils-ed749ecb.js} +3 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +18 -18
- package/dist/cjs/ion-action-sheet.cjs.entry.js +23 -25
- package/dist/cjs/ion-alert.cjs.entry.js +33 -35
- package/dist/cjs/ion-app_8.cjs.entry.js +84 -150
- package/dist/cjs/ion-avatar_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-back-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-backdrop.cjs.entry.js +5 -5
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +24 -24
- package/dist/cjs/ion-button_2.cjs.entry.js +14 -14
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -19
- package/dist/cjs/ion-checkbox.cjs.entry.js +16 -16
- package/dist/cjs/ion-chip.cjs.entry.js +5 -5
- package/dist/cjs/ion-col_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-datetime-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +89 -91
- package/dist/cjs/ion-fab_3.cjs.entry.js +21 -21
- package/dist/cjs/ion-img.cjs.entry.js +10 -10
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +22 -22
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +14 -14
- package/dist/cjs/ion-input.cjs.entry.js +28 -29
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +42 -42
- package/dist/cjs/ion-loading.cjs.entry.js +23 -25
- package/dist/cjs/ion-menu_3.cjs.entry.js +37 -39
- package/dist/cjs/ion-modal.cjs.entry.js +48 -50
- package/dist/cjs/ion-nav_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-column.cjs.entry.js +13 -14
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +22 -24
- package/dist/cjs/ion-progress-bar.cjs.entry.js +10 -10
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-range.cjs.entry.js +23 -23
- package/dist/cjs/ion-refresher_2.cjs.entry.js +46 -47
- package/dist/cjs/ion-reorder_2.cjs.entry.js +20 -21
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +7 -7
- package/dist/cjs/ion-route_4.cjs.entry.js +14 -14
- package/dist/cjs/ion-searchbar.cjs.entry.js +30 -30
- package/dist/cjs/ion-segment_2.cjs.entry.js +25 -25
- package/dist/cjs/ion-select_3.cjs.entry.js +43 -45
- package/dist/cjs/ion-spinner.cjs.entry.js +13 -13
- package/dist/cjs/ion-split-pane.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +18 -19
- package/dist/cjs/ion-tab_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-text.cjs.entry.js +5 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +24 -25
- package/dist/cjs/ion-toast.cjs.entry.js +29 -31
- package/dist/cjs/ion-toggle.cjs.entry.js +24 -25
- package/dist/cjs/{ionic-global-5df85d73.js → ionic-global-3647b9f5.js} +205 -89
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-7574ba71.js → ios.transition-4411892c.js} +5 -6
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-020444ad.js} +11 -9
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-e0062bfc.js} +4 -3
- package/dist/cjs/{keyboard-0272231f.js → keyboard-ed6e1327.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-d9d90911.js → md.transition-261f9f67.js} +5 -6
- package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-70ad2323.js} +4 -4
- package/dist/cjs/{overlays-faf6f843.js → overlays-22320753.js} +17 -17
- package/dist/cjs/{status-tap-28780caa.js → status-tap-cfc7f9a5.js} +8 -8
- package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-ecdf1cf5.js} +2 -1
- package/dist/collection/components/app/app.js +5 -75
- package/dist/collection/components/button/button.ionic.css +1 -1
- package/dist/collection/components/checkbox/checkbox.ionic.css +1 -0
- package/dist/collection/components/content/content.js +6 -4
- package/dist/collection/components/footer/footer.js +5 -3
- package/dist/collection/components/header/header.js +6 -4
- package/dist/collection/components/input/input.ionic.css +2 -2
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/item/item.ionic.css +8 -0
- package/dist/collection/components/list-header/list-header.ionic.css +6 -6
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/components/segment/segment.ionic.css +119 -0
- package/dist/collection/components/segment/segment.ios.css +27 -2
- package/dist/collection/components/segment/segment.js +4 -4
- package/dist/collection/components/segment/segment.md.css +27 -2
- package/dist/collection/components/segment-button/segment-button.ionic.css +352 -0
- package/dist/collection/components/segment-button/segment-button.ios.css +139 -110
- package/dist/collection/components/segment-button/segment-button.js +5 -5
- package/dist/collection/components/segment-button/segment-button.md.css +139 -110
- package/dist/collection/components/spinner/spinner.ionic.css +4 -0
- package/dist/collection/components/textarea/textarea.ionic.css +5 -0
- package/dist/collection/global/ionic-global.js +69 -1
- package/dist/collection/utils/focus-visible.js +7 -0
- package/dist/collection/utils/framework-delegate.js +3 -1
- package/dist/collection/utils/helpers.js +3 -1
- package/dist/collection/utils/keyboard/keyboard-controller.js +3 -1
- package/dist/collection/utils/overlays.js +2 -1
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -0
- package/dist/docs.json +109 -139
- package/dist/esm/{animation-eab5a4ca.js → animation-16546c84.js} +1 -1
- package/dist/esm/{app-globals-c45950ba.js → app-globals-35381e66.js} +1 -1
- package/dist/esm/{button-active-873732e5.js → button-active-c768aceb.js} +2 -2
- package/dist/esm/{capacitor-59395cbd.js → capacitor-0897b83c.js} +1 -1
- package/dist/esm/{index-723c0e5d.js → config-0b6b1b3d.js} +76 -1
- package/dist/esm/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/{cjs/focus-visible-7a0ce04f.js → esm/focus-visible-501aff19.js} +8 -3
- package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-56698eb0.js} +4 -2
- package/dist/esm/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm/{helpers-da915de8.js → helpers-d57f52c8.js} +4 -1
- package/{components/index8.js → dist/esm/index-7f65e865.js} +3 -2
- package/dist/esm/{index-2d8b49ae.js → index-82405a4a.js} +3 -5
- package/dist/esm/{index-29be96b3.js → index-edf94b3b.js} +5 -5
- package/dist/esm/{index-56cab0d6.js → index-f8ad386a.js} +2 -2
- package/dist/esm/index.js +10 -12
- package/dist/esm/{input-shims-59f93016.js → input-shims-0f3cc1c3.js} +6 -7
- package/dist/esm/{input.utils-8755322f.js → input.utils-ef4d8197.js} +2 -3
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +9 -11
- package/dist/esm/ion-alert.entry.js +9 -11
- package/dist/esm/ion-app_8.entry.js +28 -94
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/ion-datetime_3.entry.js +10 -12
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +6 -7
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +5 -5
- package/dist/esm/ion-loading.entry.js +6 -8
- package/dist/esm/ion-menu_3.entry.js +7 -9
- package/dist/esm/ion-modal.entry.js +11 -13
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +5 -6
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -9
- 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 +4 -4
- package/dist/esm/ion-refresher_2.entry.js +7 -8
- package/dist/esm/ion-reorder_2.entry.js +6 -7
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +16 -16
- package/dist/esm/ion-select_3.entry.js +6 -8
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -7
- 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 -7
- package/dist/esm/ion-toast.entry.js +6 -8
- package/dist/esm/ion-toggle.entry.js +5 -6
- package/dist/esm/{ionic-global-a8cbb8b0.js → ionic-global-d7017fd9.js} +184 -72
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4706aa28.js → ios.transition-4b9fe79e.js} +5 -6
- package/dist/esm/{keyboard-52278bd7.js → keyboard-584d2e6f.js} +4 -3
- package/dist/esm/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-9c9c2301.js} +5 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-20ad6960.js → md.transition-a71dc418.js} +5 -6
- package/dist/esm/{notch-controller-55b09e11.js → notch-controller-4d9a7b28.js} +2 -2
- package/dist/esm/{overlays-40e86f77.js → overlays-9da9aef5.js} +6 -6
- package/dist/esm/{status-tap-0433b6a6.js → status-tap-82f51b25.js} +4 -4
- package/dist/esm/{swipe-back-e5394307.js → swipe-back-c5709ce5.js} +2 -1
- package/dist/esm-es5/animation-16546c84.js +4 -0
- package/dist/esm-es5/app-globals-35381e66.js +4 -0
- package/dist/esm-es5/button-active-c768aceb.js +4 -0
- package/dist/esm-es5/capacitor-0897b83c.js +4 -0
- package/dist/esm-es5/{index-723c0e5d.js → config-0b6b1b3d.js} +2 -2
- package/dist/esm-es5/{data-fde041b0.js → data-d9b1fbdb.js} +1 -1
- package/dist/esm-es5/focus-visible-501aff19.js +4 -0
- package/dist/esm-es5/framework-delegate-56698eb0.js +4 -0
- package/dist/esm-es5/{haptic-ac164e4c.js → haptic-d9a770b8.js} +1 -1
- package/dist/esm-es5/helpers-d57f52c8.js +4 -0
- package/dist/esm-es5/index-7f65e865.js +4 -0
- package/dist/esm-es5/index-82405a4a.js +4 -0
- package/dist/esm-es5/index-edf94b3b.js +4 -0
- package/dist/esm-es5/{index-56cab0d6.js → index-f8ad386a.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0f3cc1c3.js +4 -0
- package/dist/esm-es5/input.utils-ef4d8197.js +4 -0
- 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_2.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-d7017fd9.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4b9fe79e.js +4 -0
- package/dist/esm-es5/keyboard-584d2e6f.js +4 -0
- package/dist/esm-es5/{keyboard-73175e24.js → keyboard-ad38b8fc.js} +1 -1
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-a71dc418.js +4 -0
- package/dist/esm-es5/notch-controller-4d9a7b28.js +4 -0
- package/dist/esm-es5/overlays-9da9aef5.js +4 -0
- package/dist/esm-es5/status-tap-82f51b25.js +4 -0
- package/dist/esm-es5/swipe-back-c5709ce5.js +4 -0
- package/dist/html.html-data.json +102 -102
- 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-027d729e.entry.js +4 -0
- package/dist/ionic/p-036e1c5b.entry.js +4 -0
- package/dist/ionic/{p-8285d686.system.entry.js → p-0695a0af.system.entry.js} +1 -1
- package/dist/ionic/p-08df90cf.system.js +4 -0
- package/dist/ionic/p-08f1ef0c.entry.js +4 -0
- package/dist/ionic/{p-eef611dc.system.entry.js → p-093de343.system.entry.js} +1 -1
- package/dist/ionic/{p-d3fd2c98.entry.js → p-0a701833.entry.js} +1 -1
- package/dist/ionic/{p-0b120b1d.js → p-0a820472.js} +1 -1
- package/dist/ionic/p-0ade0499.system.entry.js +4 -0
- package/dist/ionic/p-1037b7dd.js +4 -0
- package/dist/ionic/p-11915ee9.system.entry.js +4 -0
- package/dist/ionic/p-12e3e308.entry.js +4 -0
- package/dist/ionic/p-14719a77.entry.js +4 -0
- package/dist/ionic/{p-0fd7a8cb.system.entry.js → p-15d007ee.system.entry.js} +1 -1
- package/dist/ionic/p-15d51b10.js +4 -0
- package/dist/ionic/p-221e5078.system.js +4 -0
- package/dist/ionic/p-25e2c98f.system.js +4 -0
- package/dist/ionic/p-26f7c080.system.js +4 -0
- package/dist/ionic/p-28d04212.system.js +4 -0
- package/dist/ionic/{p-cde755fc.system.entry.js → p-291dc0b3.system.entry.js} +1 -1
- package/dist/ionic/p-29d6d1fc.system.entry.js +4 -0
- package/dist/ionic/p-2a559ac6.js +4 -0
- package/dist/ionic/p-2a79e451.entry.js +4 -0
- package/dist/ionic/p-2b428cf6.entry.js +4 -0
- package/dist/ionic/{p-d878447e.entry.js → p-2c368e32.entry.js} +1 -1
- package/dist/ionic/{p-a4519424.system.js → p-2c5d7d84.system.js} +1 -1
- package/dist/ionic/p-2d621d56.system.entry.js +4 -0
- package/dist/ionic/{p-6b6ee9ca.system.entry.js → p-2da8c20c.system.entry.js} +1 -1
- package/dist/ionic/p-334c09da.entry.js +4 -0
- package/dist/ionic/p-33a1d951.system.entry.js +4 -0
- package/dist/ionic/p-36bdcfc4.js +4 -0
- package/dist/ionic/p-388ac217.js +4 -0
- package/dist/ionic/{p-727aa804.system.entry.js → p-39c02066.system.entry.js} +1 -1
- package/dist/ionic/{p-c4ae4d32.system.js → p-3a11234f.system.js} +1 -1
- package/dist/ionic/{p-4ccbf702.system.js → p-3bfe43bc.system.js} +1 -1
- package/dist/ionic/p-3ca5196c.js +4 -0
- package/dist/ionic/{p-35b66bbc.system.entry.js → p-3d9cad0b.system.entry.js} +1 -1
- package/dist/ionic/{p-5a583b1a.entry.js → p-413a936c.entry.js} +1 -1
- package/dist/ionic/p-419fac38.entry.js +4 -0
- package/dist/ionic/p-434c7348.system.entry.js +4 -0
- package/dist/ionic/p-45e150eb.js +4 -0
- package/dist/ionic/p-46787abb.system.js +4 -0
- package/dist/ionic/p-46cc2492.system.js +4 -0
- package/dist/ionic/{p-77c3fe69.entry.js → p-49a3fc76.entry.js} +1 -1
- package/dist/ionic/p-49d80815.entry.js +4 -0
- package/dist/ionic/{p-854b1e11.system.entry.js → p-4a9b61ed.system.entry.js} +1 -1
- package/dist/ionic/{p-b6d72f12.entry.js → p-4b153a9f.entry.js} +1 -1
- package/dist/ionic/p-4c251d59.entry.js +4 -0
- package/dist/ionic/{p-10dacd80.entry.js → p-4d000ec5.entry.js} +1 -1
- package/dist/ionic/p-4e202665.js +4 -0
- package/dist/ionic/p-4ea10a10.entry.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-4ed7dfdb.js} +1 -1
- package/dist/ionic/p-4feea938.entry.js +4 -0
- package/dist/ionic/{p-4de02483.entry.js → p-5468bfbf.entry.js} +1 -1
- package/dist/ionic/p-5655419d.system.entry.js +4 -0
- package/dist/ionic/p-5ce35a03.js +4 -0
- package/dist/ionic/p-5dc2a7c6.entry.js +4 -0
- package/dist/ionic/{p-19ea7bff.system.js → p-61a51379.system.js} +1 -1
- package/dist/ionic/p-6320cbc1.system.entry.js +4 -0
- package/dist/ionic/p-643e2eb8.js +4 -0
- package/dist/ionic/p-660f3b98.entry.js +4 -0
- package/dist/ionic/{p-d05aabdf.system.entry.js → p-68f3fa48.system.entry.js} +2 -2
- package/dist/ionic/{p-bd7fb7b4.js → p-69e54172.js} +1 -1
- package/dist/ionic/p-6ad6d594.js +4 -0
- package/dist/ionic/{p-82028c01.system.entry.js → p-6d9e1887.system.entry.js} +1 -1
- package/dist/ionic/{p-f3cfb48a.entry.js → p-6ecebfc6.entry.js} +1 -1
- package/dist/ionic/{p-c32229bb.system.entry.js → p-6f8c2e62.system.entry.js} +1 -1
- package/dist/ionic/p-70c6cd75.system.js +4 -0
- package/dist/ionic/{p-5cc80c49.system.js → p-71e8ffdd.system.js} +1 -1
- package/dist/ionic/{p-6c555957.system.entry.js → p-726b9197.system.entry.js} +1 -1
- package/dist/ionic/{p-ce5c2902.system.js → p-73e32456.system.js} +1 -1
- package/dist/ionic/{p-9146695e.system.js → p-747e9c9a.system.js} +1 -1
- package/dist/ionic/p-7759fac2.system.entry.js +4 -0
- package/dist/ionic/p-7ebc381e.entry.js +4 -0
- package/dist/ionic/{p-e34e037d.system.entry.js → p-80342c88.system.entry.js} +1 -1
- package/dist/ionic/{p-3f8a3fb4.system.entry.js → p-82832f09.system.entry.js} +1 -1
- package/dist/ionic/p-83d5ee25.entry.js +4 -0
- package/dist/ionic/p-8421aedf.js +4 -0
- package/dist/ionic/{p-927b5898.entry.js → p-846dd10a.entry.js} +1 -1
- package/dist/ionic/p-90089868.system.entry.js +4 -0
- package/dist/ionic/p-9152f6a3.system.entry.js +4 -0
- package/dist/ionic/{p-48cd1ced.entry.js → p-92b48263.entry.js} +1 -1
- package/dist/ionic/p-931dc464.entry.js +4 -0
- package/dist/ionic/p-95e22fa9.entry.js +4 -0
- package/dist/ionic/{p-e259208f.entry.js → p-9a9eb866.entry.js} +1 -1
- package/dist/ionic/p-9c526519.entry.js +4 -0
- package/dist/ionic/p-9e4ede77.system.entry.js +4 -0
- package/dist/ionic/p-9e8e25e4.system.js +4 -0
- package/dist/ionic/p-9e9bff83.system.js +4 -0
- package/dist/ionic/p-9f51595b.entry.js +4 -0
- package/dist/ionic/p-a4df1928.entry.js +4 -0
- package/dist/ionic/{p-3efc5d47.system.entry.js → p-a65fe34d.system.entry.js} +1 -1
- package/dist/ionic/p-a6aaef61.system.entry.js +4 -0
- package/dist/ionic/p-a856dbc6.entry.js +4 -0
- package/dist/ionic/{p-83948e48.js → p-a9fd9d48.js} +2 -2
- package/dist/ionic/p-aacc6ddd.system.js +5 -0
- package/dist/ionic/{p-bcfa9bb5.system.entry.js → p-ab6e0f02.system.entry.js} +1 -1
- package/dist/ionic/p-ac64cba5.entry.js +4 -0
- package/dist/ionic/p-adaa7af1.entry.js +4 -0
- package/dist/ionic/p-adec897a.system.entry.js +4 -0
- package/dist/ionic/p-b0e10591.entry.js +4 -0
- package/dist/ionic/{p-46f790b3.entry.js → p-b14c601a.entry.js} +1 -1
- package/dist/ionic/p-b19a9aa9.system.js +4 -0
- package/dist/ionic/p-b297c7b5.system.js +4 -0
- package/dist/ionic/{p-d6eda1bb.system.entry.js → p-b6fc8ee2.system.entry.js} +1 -1
- package/dist/ionic/{p-89b61afc.js → p-b9b36d56.js} +1 -1
- package/dist/ionic/p-ba3ddec4.js +4 -0
- package/dist/ionic/{p-9c8e5275.system.entry.js → p-bd50f24e.system.entry.js} +1 -1
- package/dist/ionic/{p-db63907a.system.entry.js → p-c2a4c5c5.system.entry.js} +1 -1
- package/dist/ionic/p-c6191942.js +4 -0
- package/dist/ionic/p-c6e47379.entry.js +4 -0
- package/dist/ionic/p-c7e967c0.system.entry.js +4 -0
- package/dist/ionic/p-c8097757.system.entry.js +4 -0
- package/dist/ionic/{p-b06ac4a5.system.js → p-c9ef0ca7.system.js} +1 -1
- package/dist/ionic/p-cb131dda.system.entry.js +4 -0
- package/dist/ionic/{p-ca3bf740.system.entry.js → p-cb8800fe.system.entry.js} +1 -1
- package/dist/ionic/p-cf2f1ede.entry.js +4 -0
- package/dist/ionic/p-d0259f44.system.js +4 -0
- package/dist/ionic/{p-bf673222.system.entry.js → p-d085c881.system.entry.js} +1 -1
- package/dist/ionic/p-d0953ec9.system.entry.js +4 -0
- package/dist/ionic/{p-cb3dc48f.entry.js → p-d0b7fe70.entry.js} +1 -1
- package/dist/ionic/p-d10313a6.system.js +4 -0
- package/dist/ionic/{p-c7e16491.js → p-d1e991c3.js} +1 -1
- package/dist/ionic/p-d2a55f0a.system.entry.js +4 -0
- package/dist/ionic/p-d2ef848a.entry.js +4 -0
- package/dist/ionic/{p-f4ad1cf6.system.entry.js → p-d346c889.system.entry.js} +1 -1
- package/dist/ionic/{p-f7712c17.system.js → p-d8339079.system.js} +1 -1
- package/dist/ionic/{p-1fd1d157.system.js → p-d9e1c48c.system.js} +1 -1
- package/dist/ionic/{p-44c281df.entry.js → p-da968066.entry.js} +1 -1
- package/dist/ionic/p-db8aeb40.system.js +4 -0
- package/dist/ionic/{p-5771eacd.js → p-dbfc5db6.js} +1 -1
- package/dist/ionic/p-dd50ef12.js +4 -0
- package/dist/ionic/p-e270862e.js +4 -0
- package/dist/ionic/{p-dfd995cc.system.entry.js → p-e5239905.system.entry.js} +1 -1
- package/dist/ionic/{p-8985cdb6.system.js → p-e61e3bb4.system.js} +1 -1
- package/dist/ionic/p-e7546060.entry.js +4 -0
- package/dist/ionic/p-eb376af4.entry.js +4 -0
- package/dist/ionic/{p-1fe2380b.system.entry.js → p-ee091b80.system.entry.js} +1 -1
- package/dist/ionic/{p-dde3a646.entry.js → p-eeb60a8f.entry.js} +1 -1
- package/dist/ionic/p-f065578f.js +4 -0
- package/dist/ionic/{p-614d974e.system.entry.js → p-f41914c0.system.entry.js} +1 -1
- package/dist/ionic/p-f4ae533b.js +4 -0
- package/dist/ionic/p-f61ce679.js +4 -0
- package/dist/ionic/p-f63f81aa.system.entry.js +4 -0
- package/dist/ionic/p-f670192b.system.entry.js +4 -0
- package/dist/ionic/{p-a93873de.system.js → p-f8e329da.system.js} +1 -1
- package/dist/ionic/p-fac985b6.system.entry.js +4 -0
- package/dist/ionic/p-fb0c3efa.entry.js +4 -0
- package/dist/ionic/{p-e61c9280.entry.js → p-fbcb3139.entry.js} +1 -1
- package/dist/ionic/{p-0328213e.system.entry.js → p-fbcf9790.system.entry.js} +1 -1
- package/dist/types/components/app/app.d.ts +0 -2
- package/dist/types/global/ionic-global.d.ts +2 -0
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/focus-visible.d.ts +1 -0
- package/hydrate/index.js +174 -163
- package/hydrate/index.mjs +174 -163
- package/package.json +1 -1
- package/components/hardware-back-button.js +0 -115
- package/dist/cjs/hardware-back-button-d37054f2.js +0 -122
- package/dist/cjs/index-c8d52405.js +0 -10
- package/dist/esm/hardware-back-button-2bb5194f.js +0 -116
- package/dist/esm/index-79b30591.js +0 -167
- package/dist/esm/index-a5d50daf.js +0 -7
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-c45950ba.js +0 -4
- package/dist/esm-es5/button-active-873732e5.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-63d1a679.js +0 -4
- package/dist/esm-es5/hardware-back-button-2bb5194f.js +0 -4
- package/dist/esm-es5/helpers-da915de8.js +0 -4
- package/dist/esm-es5/index-29be96b3.js +0 -4
- package/dist/esm-es5/index-2d8b49ae.js +0 -4
- package/dist/esm-es5/index-79b30591.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/input-shims-59f93016.js +0 -4
- package/dist/esm-es5/input.utils-8755322f.js +0 -4
- package/dist/esm-es5/ionic-global-a8cbb8b0.js +0 -4
- package/dist/esm-es5/ios.transition-4706aa28.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/md.transition-20ad6960.js +0 -4
- package/dist/esm-es5/notch-controller-55b09e11.js +0 -4
- package/dist/esm-es5/overlays-40e86f77.js +0 -4
- package/dist/esm-es5/status-tap-0433b6a6.js +0 -4
- package/dist/esm-es5/swipe-back-e5394307.js +0 -4
- package/dist/ionic/p-00093fc0.entry.js +0 -4
- package/dist/ionic/p-09b9918f.system.entry.js +0 -4
- package/dist/ionic/p-0bfbe380.js +0 -4
- package/dist/ionic/p-0cd67533.js +0 -4
- package/dist/ionic/p-0d86eb56.system.entry.js +0 -4
- package/dist/ionic/p-0fa218e9.system.js +0 -5
- package/dist/ionic/p-1158a829.entry.js +0 -4
- package/dist/ionic/p-175821bc.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1f6507e4.entry.js +0 -4
- package/dist/ionic/p-1f7b26cc.entry.js +0 -4
- package/dist/ionic/p-2282c878.system.entry.js +0 -4
- package/dist/ionic/p-22b0483a.system.entry.js +0 -4
- package/dist/ionic/p-28be0cf9.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-2b98e44b.system.entry.js +0 -4
- package/dist/ionic/p-2f0f1db6.system.entry.js +0 -4
- package/dist/ionic/p-30c8168f.system.entry.js +0 -4
- package/dist/ionic/p-3281aaeb.entry.js +0 -4
- package/dist/ionic/p-34b11c24.js +0 -4
- package/dist/ionic/p-36db29d9.system.js +0 -4
- package/dist/ionic/p-3ad285e3.system.js +0 -4
- package/dist/ionic/p-3c1b93db.system.entry.js +0 -4
- package/dist/ionic/p-3cc276f4.js +0 -4
- package/dist/ionic/p-3dfa54e6.js +0 -4
- package/dist/ionic/p-4478ea45.entry.js +0 -4
- package/dist/ionic/p-4c2d5b80.system.js +0 -4
- package/dist/ionic/p-4c38fcdd.system.js +0 -4
- package/dist/ionic/p-4ca47744.entry.js +0 -4
- package/dist/ionic/p-4e6c9480.system.entry.js +0 -4
- package/dist/ionic/p-52c8442b.system.entry.js +0 -4
- package/dist/ionic/p-5c766439.entry.js +0 -4
- package/dist/ionic/p-5c8fa89d.system.js +0 -4
- package/dist/ionic/p-600b69a0.entry.js +0 -4
- package/dist/ionic/p-614c3822.system.js +0 -4
- package/dist/ionic/p-62836b01.js +0 -4
- package/dist/ionic/p-63fe75bc.js +0 -4
- package/dist/ionic/p-664480c8.system.entry.js +0 -4
- package/dist/ionic/p-6d7c455f.js +0 -4
- package/dist/ionic/p-6f418011.system.entry.js +0 -4
- package/dist/ionic/p-713374f2.entry.js +0 -4
- package/dist/ionic/p-72812e99.js +0 -4
- package/dist/ionic/p-72bc8a1c.js +0 -4
- package/dist/ionic/p-737d64f9.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b30edcc.js +0 -4
- package/dist/ionic/p-7b341352.js +0 -4
- package/dist/ionic/p-7c9d5354.entry.js +0 -4
- package/dist/ionic/p-7ccf7f29.entry.js +0 -4
- package/dist/ionic/p-80ff4e55.entry.js +0 -4
- package/dist/ionic/p-82d80c8f.entry.js +0 -4
- package/dist/ionic/p-83f68992.entry.js +0 -4
- package/dist/ionic/p-8635f5e6.system.js +0 -4
- package/dist/ionic/p-87365857.system.entry.js +0 -4
- package/dist/ionic/p-87a81a63.system.entry.js +0 -4
- package/dist/ionic/p-8fa4ae3e.entry.js +0 -4
- package/dist/ionic/p-916f6c1d.entry.js +0 -4
- package/dist/ionic/p-93cf45ec.system.entry.js +0 -4
- package/dist/ionic/p-9493acfe.entry.js +0 -4
- package/dist/ionic/p-9805b25a.system.entry.js +0 -4
- package/dist/ionic/p-a15ddedb.system.js +0 -4
- package/dist/ionic/p-a1b80dd6.system.js +0 -4
- package/dist/ionic/p-a48fa08b.system.entry.js +0 -4
- package/dist/ionic/p-a8a04757.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-b016e5d7.system.entry.js +0 -4
- package/dist/ionic/p-b24c259e.entry.js +0 -4
- package/dist/ionic/p-b33b643b.entry.js +0 -4
- package/dist/ionic/p-b51e4004.js +0 -4
- package/dist/ionic/p-ba45ad7d.entry.js +0 -4
- package/dist/ionic/p-bc8e48de.entry.js +0 -4
- package/dist/ionic/p-bcf5573f.entry.js +0 -4
- package/dist/ionic/p-bdd4e026.entry.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c628bdcb.system.js +0 -4
- package/dist/ionic/p-c6f1b434.js +0 -4
- package/dist/ionic/p-c872ac0c.entry.js +0 -4
- package/dist/ionic/p-c9ecc338.entry.js +0 -4
- package/dist/ionic/p-cd40baea.entry.js +0 -4
- package/dist/ionic/p-d47265c8.js +0 -4
- package/dist/ionic/p-d53e0b4b.entry.js +0 -4
- package/dist/ionic/p-d79ed7b3.system.js +0 -4
- package/dist/ionic/p-d9c8bac9.system.entry.js +0 -4
- package/dist/ionic/p-dbb02a23.system.entry.js +0 -4
- package/dist/ionic/p-dd79c031.js +0 -4
- package/dist/ionic/p-e050dad9.system.js +0 -4
- package/dist/ionic/p-e2bd011e.js +0 -4
- package/dist/ionic/p-eafeb1ff.system.js +0 -4
- package/dist/ionic/p-ed419a44.entry.js +0 -4
- package/dist/ionic/p-f9782d44.system.entry.js +0 -4
- package/dist/ionic/p-fadc15c0.entry.js +0 -4
|
@@ -2307,10 +2307,88 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2307
2307
|
// src/runtime/nonce.ts
|
|
2308
2308
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
2309
2309
|
|
|
2310
|
+
// TODO(FW-2832): types
|
|
2311
|
+
class Config {
|
|
2312
|
+
constructor() {
|
|
2313
|
+
this.m = new Map();
|
|
2314
|
+
}
|
|
2315
|
+
reset(configObj) {
|
|
2316
|
+
this.m = new Map(Object.entries(configObj));
|
|
2317
|
+
}
|
|
2318
|
+
get(key, fallback) {
|
|
2319
|
+
const value = this.m.get(key);
|
|
2320
|
+
return value !== undefined ? value : fallback;
|
|
2321
|
+
}
|
|
2322
|
+
getBoolean(key, fallback = false) {
|
|
2323
|
+
const val = this.m.get(key);
|
|
2324
|
+
if (val === undefined) {
|
|
2325
|
+
return fallback;
|
|
2326
|
+
}
|
|
2327
|
+
if (typeof val === 'string') {
|
|
2328
|
+
return val === 'true';
|
|
2329
|
+
}
|
|
2330
|
+
return !!val;
|
|
2331
|
+
}
|
|
2332
|
+
getNumber(key, fallback) {
|
|
2333
|
+
const val = parseFloat(this.m.get(key));
|
|
2334
|
+
return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;
|
|
2335
|
+
}
|
|
2336
|
+
set(key, value) {
|
|
2337
|
+
this.m.set(key, value);
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
const config = /*@__PURE__*/ new Config();
|
|
2341
|
+
const configFromSession = (win) => {
|
|
2342
|
+
try {
|
|
2343
|
+
const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
|
|
2344
|
+
return configStr !== null ? JSON.parse(configStr) : {};
|
|
2345
|
+
}
|
|
2346
|
+
catch (e) {
|
|
2347
|
+
return {};
|
|
2348
|
+
}
|
|
2349
|
+
};
|
|
2350
|
+
const saveConfig = (win, c) => {
|
|
2351
|
+
try {
|
|
2352
|
+
win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
|
|
2353
|
+
}
|
|
2354
|
+
catch (e) {
|
|
2355
|
+
return;
|
|
2356
|
+
}
|
|
2357
|
+
};
|
|
2358
|
+
const configFromURL = (win) => {
|
|
2359
|
+
const configObj = {};
|
|
2360
|
+
win.location.search
|
|
2361
|
+
.slice(1)
|
|
2362
|
+
.split('&')
|
|
2363
|
+
.map((entry) => entry.split('='))
|
|
2364
|
+
.map(([key, value]) => {
|
|
2365
|
+
try {
|
|
2366
|
+
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
2367
|
+
}
|
|
2368
|
+
catch (e) {
|
|
2369
|
+
return ['', ''];
|
|
2370
|
+
}
|
|
2371
|
+
})
|
|
2372
|
+
.filter(([key]) => startsWith(key, IONIC_PREFIX))
|
|
2373
|
+
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
|
|
2374
|
+
.forEach(([key, value]) => {
|
|
2375
|
+
configObj[key] = value;
|
|
2376
|
+
});
|
|
2377
|
+
return configObj;
|
|
2378
|
+
};
|
|
2379
|
+
const startsWith = (input, search) => {
|
|
2380
|
+
return input.substr(0, search.length) === search;
|
|
2381
|
+
};
|
|
2382
|
+
const IONIC_PREFIX = 'ionic:';
|
|
2383
|
+
const IONIC_SESSION_KEY = 'ionic-persist-config';
|
|
2384
|
+
|
|
2310
2385
|
exports.Build = Build;
|
|
2311
2386
|
exports.H = H;
|
|
2312
2387
|
exports.Host = Host;
|
|
2313
2388
|
exports.bootstrapLazy = bootstrapLazy;
|
|
2389
|
+
exports.config = config;
|
|
2390
|
+
exports.configFromSession = configFromSession;
|
|
2391
|
+
exports.configFromURL = configFromURL;
|
|
2314
2392
|
exports.createEvent = createEvent;
|
|
2315
2393
|
exports.forceUpdate = forceUpdate;
|
|
2316
2394
|
exports.getAssetPath = getAssetPath;
|
|
@@ -2320,6 +2398,7 @@ exports.h = h;
|
|
|
2320
2398
|
exports.promiseResolve = promiseResolve;
|
|
2321
2399
|
exports.readTask = readTask;
|
|
2322
2400
|
exports.registerInstance = registerInstance;
|
|
2401
|
+
exports.saveConfig = saveConfig;
|
|
2323
2402
|
exports.setMode = setMode;
|
|
2324
2403
|
exports.setNonce = setNonce;
|
|
2325
2404
|
exports.setPlatformHelpers = setPlatformHelpers;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
4
6
|
const ION_FOCUSED = 'ion-focused';
|
|
5
7
|
const ION_FOCUSABLE = 'ion-focusable';
|
|
6
8
|
const FOCUS_KEYS = [
|
|
@@ -17,6 +19,13 @@ const FOCUS_KEYS = [
|
|
|
17
19
|
'Home',
|
|
18
20
|
'End',
|
|
19
21
|
];
|
|
22
|
+
let focusVisibleUtility = null;
|
|
23
|
+
const getOrInitFocusVisibleUtility = () => {
|
|
24
|
+
if (!focusVisibleUtility) {
|
|
25
|
+
focusVisibleUtility = startFocusVisible();
|
|
26
|
+
}
|
|
27
|
+
return focusVisibleUtility;
|
|
28
|
+
};
|
|
20
29
|
const startFocusVisible = (rootEl) => {
|
|
21
30
|
let currentFocus = [];
|
|
22
31
|
let keyboardMode = true;
|
|
@@ -72,4 +81,5 @@ const startFocusVisible = (rootEl) => {
|
|
|
72
81
|
};
|
|
73
82
|
};
|
|
74
83
|
|
|
75
|
-
|
|
84
|
+
exports.getOrInitFocusVisibleUtility = getOrInitFocusVisibleUtility;
|
|
85
|
+
exports.startFocusVisible = startFocusVisible;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const config = require('./config-1349d5b4.js');
|
|
7
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
7
8
|
|
|
8
9
|
// TODO(FW-2832): types
|
|
9
10
|
const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
@@ -104,7 +105,8 @@ const CoreDelegate = () => {
|
|
|
104
105
|
* Get the root of the app and
|
|
105
106
|
* add the overlay there.
|
|
106
107
|
*/
|
|
107
|
-
const
|
|
108
|
+
const appRootSelector = config.config.get('appRootSelector', 'ion-app');
|
|
109
|
+
const app = document.querySelector(appRootSelector) || document.body;
|
|
108
110
|
/**
|
|
109
111
|
* Create a placeholder comment so that
|
|
110
112
|
* we can return this component to where
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
+
const config = require('./config-1349d5b4.js');
|
|
7
|
+
|
|
6
8
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
7
9
|
return new Promise((resolve) => {
|
|
8
10
|
transitionEnd(el, expectedDuration, resolve);
|
|
@@ -243,7 +245,8 @@ const focusVisibleElement = (el) => {
|
|
|
243
245
|
* which will let us explicitly set the elements to focus.
|
|
244
246
|
*/
|
|
245
247
|
if (el.classList.contains('ion-focusable')) {
|
|
246
|
-
const
|
|
248
|
+
const appRootSelector = config.config.get('appRootSelector', 'ion-app');
|
|
249
|
+
const app = el.closest(appRootSelector);
|
|
247
250
|
if (app) {
|
|
248
251
|
app.setFocus([el]);
|
|
249
252
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const helpers = require('./helpers-
|
|
7
|
-
const ionicGlobal = require('./ionic-global-
|
|
6
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
7
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
6
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
7
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
8
|
+
require('./config-1349d5b4.js');
|
|
8
9
|
|
|
9
10
|
const startTapClick = (config) => {
|
|
10
|
-
if (
|
|
11
|
+
if (ionicGlobal.doc === undefined) {
|
|
11
12
|
return;
|
|
12
13
|
}
|
|
13
14
|
let lastActivated = 0;
|
|
@@ -110,9 +111,9 @@ const startTapClick = (config) => {
|
|
|
110
111
|
active.classList.remove(ACTIVATED);
|
|
111
112
|
}
|
|
112
113
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
ionicGlobal.doc.addEventListener('ionGestureCaptured', cancelActive);
|
|
115
|
+
ionicGlobal.doc.addEventListener('pointerdown', pointerDown, true);
|
|
116
|
+
ionicGlobal.doc.addEventListener('pointerup', pointerUp, true);
|
|
116
117
|
/**
|
|
117
118
|
* Tap click effects such as the ripple effect should
|
|
118
119
|
* not happen when scrolling. For example, if a user scrolls
|
|
@@ -125,7 +126,7 @@ const startTapClick = (config) => {
|
|
|
125
126
|
* starts, so this lets us avoid having to listen for
|
|
126
127
|
* ion-content's scroll events.
|
|
127
128
|
*/
|
|
128
|
-
|
|
129
|
+
ionicGlobal.doc.addEventListener('pointercancel', cancelActive, true);
|
|
129
130
|
};
|
|
130
131
|
// TODO(FW-2832): type
|
|
131
132
|
const getActivatableTarget = (ev) => {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const helpers = require('./helpers-
|
|
6
|
+
const config = require('./config-1349d5b4.js');
|
|
7
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
8
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
9
9
|
|
|
10
10
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
11
11
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -39,7 +39,7 @@ const isVisible = (el) => {
|
|
|
39
39
|
*/
|
|
40
40
|
const createFocusController = () => {
|
|
41
41
|
const saveViewFocus = (referenceEl) => {
|
|
42
|
-
const focusManagerEnabled =
|
|
42
|
+
const focusManagerEnabled = config.config.get('focusManagerPriority', false);
|
|
43
43
|
/**
|
|
44
44
|
* When going back to a previously visited page focus should typically be moved
|
|
45
45
|
* back to the element that was last focused when the user was on this view.
|
|
@@ -52,7 +52,7 @@ const createFocusController = () => {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
const setViewFocus = (referenceEl) => {
|
|
55
|
-
const focusManagerPriorities =
|
|
55
|
+
const focusManagerPriorities = config.config.get('focusManagerPriority', false);
|
|
56
56
|
/**
|
|
57
57
|
* If the focused element is a descendant of the referenceEl then it's possible
|
|
58
58
|
* that the app developer manually moved focus, so we do not want to override that.
|
|
@@ -121,13 +121,13 @@ const createFocusController = () => {
|
|
|
121
121
|
};
|
|
122
122
|
const LAST_FOCUS = 'ion-last-focus';
|
|
123
123
|
|
|
124
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
125
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
124
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-4411892c.js'); });
|
|
125
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-261f9f67.js'); });
|
|
126
126
|
const focusController = createFocusController();
|
|
127
127
|
// TODO(FW-2832): types
|
|
128
128
|
const transition = (opts) => {
|
|
129
129
|
return new Promise((resolve, reject) => {
|
|
130
|
-
|
|
130
|
+
config.writeTask(() => {
|
|
131
131
|
beforeTransition(opts);
|
|
132
132
|
runTransition(opts).then((result) => {
|
|
133
133
|
if (result.animation) {
|
|
@@ -168,7 +168,7 @@ const beforeTransition = (opts) => {
|
|
|
168
168
|
};
|
|
169
169
|
const runTransition = async (opts) => {
|
|
170
170
|
const animationBuilder = await getAnimationBuilder(opts);
|
|
171
|
-
const ani = animationBuilder &&
|
|
171
|
+
const ani = animationBuilder && config.Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
|
|
172
172
|
return ani;
|
|
173
173
|
};
|
|
174
174
|
const afterTransition = (opts) => {
|
|
@@ -213,7 +213,7 @@ const animation = async (animationBuilder, opts) => {
|
|
|
213
213
|
const noAnimation = async (opts) => {
|
|
214
214
|
const enteringEl = opts.enteringEl;
|
|
215
215
|
const leavingEl = opts.leavingEl;
|
|
216
|
-
const focusManagerEnabled =
|
|
216
|
+
const focusManagerEnabled = config.config.get('focusManagerPriority', false);
|
|
217
217
|
/**
|
|
218
218
|
* If the focus manager is enabled then we need to wait for Ionic components to be
|
|
219
219
|
* rendered otherwise the component to focus may not be focused because it is hidden.
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
-
const animation = require('./animation-b4fdf128.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
7
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
8
|
+
const animation = require('./animation-232e0c8f.js');
|
|
11
9
|
|
|
12
10
|
/**
|
|
13
11
|
* baseAnimation
|
|
@@ -276,10 +274,10 @@ const createMenuController = () => {
|
|
|
276
274
|
registerAnimation('reveal', menuRevealAnimation);
|
|
277
275
|
registerAnimation('push', menuPushAnimation);
|
|
278
276
|
registerAnimation('overlay', menuOverlayAnimation);
|
|
279
|
-
|
|
277
|
+
ionicGlobal.doc === null || ionicGlobal.doc === void 0 ? void 0 : ionicGlobal.doc.addEventListener('ionBackButton', (ev) => {
|
|
280
278
|
const openMenu = _getOpenSync();
|
|
281
279
|
if (openMenu) {
|
|
282
|
-
ev.detail.register(
|
|
280
|
+
ev.detail.register(ionicGlobal.MENU_BACK_BUTTON_PRIORITY, () => {
|
|
283
281
|
return openMenu.close();
|
|
284
282
|
});
|
|
285
283
|
}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const animation = require('./animation-
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
8
|
+
const animation = require('./animation-232e0c8f.js');
|
|
9
|
+
const index = require('./index-3ac79a1b.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-4411892c.js');
|
|
11
|
+
const md_transition = require('./md.transition-261f9f67.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
15
|
-
const helpers = require('./helpers-
|
|
14
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
15
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
20
|
-
require('./
|
|
21
|
-
require('./index-73f75efb.js');
|
|
18
|
+
const index$2 = require('./index-71085796.js');
|
|
19
|
+
const overlays = require('./overlays-22320753.js');
|
|
20
|
+
require('./config-1349d5b4.js');
|
|
22
21
|
require('./gesture-controller-9436f482.js');
|
|
23
|
-
require('./
|
|
24
|
-
require('./framework-delegate-55f5683a.js');
|
|
22
|
+
require('./framework-delegate-cf116b1d.js');
|
|
25
23
|
|
|
26
24
|
const IonicSlides = (opts) => {
|
|
27
25
|
const { swiper, extendParams } = opts;
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const index
|
|
8
|
-
const helpers = require('./helpers-
|
|
9
|
-
const keyboard = require('./keyboard-
|
|
10
|
-
require('./
|
|
11
|
-
require('./
|
|
12
|
-
require('./capacitor-c04564bf.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
7
|
+
const index = require('./index-1d02518d.js');
|
|
8
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
9
|
+
const keyboard = require('./keyboard-ed6e1327.js');
|
|
10
|
+
require('./config-1349d5b4.js');
|
|
11
|
+
require('./capacitor-806e7fee.js');
|
|
13
12
|
|
|
14
13
|
const cloneMap = new WeakMap();
|
|
15
14
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|
|
@@ -287,7 +286,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
287
286
|
* the keyboard height again. This will result in the input
|
|
288
287
|
* being scrolled more than it needs to.
|
|
289
288
|
*/
|
|
290
|
-
const platformHeight =
|
|
289
|
+
const platformHeight = ionicGlobal.win !== undefined ? ionicGlobal.win.innerHeight : 0;
|
|
291
290
|
/**
|
|
292
291
|
* Scroll assist is run when a text field
|
|
293
292
|
* is focused. However, it may need to
|
|
@@ -340,7 +339,7 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
340
339
|
*/
|
|
341
340
|
const focusOut = () => {
|
|
342
341
|
hasKeyboardBeenPresentedForTextField = false;
|
|
343
|
-
|
|
342
|
+
ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
344
343
|
componentEl.removeEventListener('focusout', focusOut);
|
|
345
344
|
};
|
|
346
345
|
/**
|
|
@@ -360,13 +359,13 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
|
360
359
|
return;
|
|
361
360
|
}
|
|
362
361
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
|
|
363
|
-
|
|
362
|
+
ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.addEventListener('ionKeyboardDidShow', keyboardShow);
|
|
364
363
|
componentEl.addEventListener('focusout', focusOut);
|
|
365
364
|
};
|
|
366
365
|
componentEl.addEventListener('focusin', focusIn);
|
|
367
366
|
return () => {
|
|
368
367
|
componentEl.removeEventListener('focusin', focusIn);
|
|
369
|
-
|
|
368
|
+
ionicGlobal.win === null || ionicGlobal.win === void 0 ? void 0 : ionicGlobal.win.removeEventListener('ionKeyboardDidShow', keyboardShow);
|
|
370
369
|
componentEl.removeEventListener('focusout', focusOut);
|
|
371
370
|
};
|
|
372
371
|
};
|
|
@@ -442,7 +441,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
442
441
|
window.removeEventListener('ionKeyboardDidShow', scrollContent);
|
|
443
442
|
// scroll the input into place
|
|
444
443
|
if (contentEl) {
|
|
445
|
-
await index
|
|
444
|
+
await index.scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
|
|
446
445
|
}
|
|
447
446
|
// the scroll view is in the correct position now
|
|
448
447
|
// give the native text input focus
|
|
@@ -463,7 +462,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
|
463
462
|
window.addEventListener('ionKeyboardDidShow', scrollContent);
|
|
464
463
|
};
|
|
465
464
|
if (contentEl) {
|
|
466
|
-
const scrollEl = await index
|
|
465
|
+
const scrollEl = await index.getScrollElement(contentEl);
|
|
467
466
|
/**
|
|
468
467
|
* scrollData will only consider the amount we need
|
|
469
468
|
* to scroll in order to properly bring the input
|
|
@@ -511,7 +510,7 @@ const startInputShims = async (config, platform) => {
|
|
|
511
510
|
* If doc is undefined then we are in an SSR environment
|
|
512
511
|
* where input shims do not apply.
|
|
513
512
|
*/
|
|
514
|
-
if (
|
|
513
|
+
if (ionicGlobal.doc === undefined) {
|
|
515
514
|
return;
|
|
516
515
|
}
|
|
517
516
|
const isIOS = platform === 'ios';
|
|
@@ -533,7 +532,7 @@ const startInputShims = async (config, platform) => {
|
|
|
533
532
|
*/
|
|
534
533
|
const inputBlurring = config.getBoolean('inputBlurring', false);
|
|
535
534
|
const scrollPadding = config.getBoolean('scrollPadding', true);
|
|
536
|
-
const inputs = Array.from(
|
|
535
|
+
const inputs = Array.from(ionicGlobal.doc.querySelectorAll('ion-input, ion-textarea'));
|
|
537
536
|
const hideCaretMap = new WeakMap();
|
|
538
537
|
const scrollAssistMap = new WeakMap();
|
|
539
538
|
/**
|
|
@@ -549,7 +548,7 @@ const startInputShims = async (config, platform) => {
|
|
|
549
548
|
await new Promise((resolve) => helpers.componentOnReady(componentEl, resolve));
|
|
550
549
|
const inputRoot = componentEl.shadowRoot || componentEl;
|
|
551
550
|
const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');
|
|
552
|
-
const scrollEl = index
|
|
551
|
+
const scrollEl = index.findClosestIonContent(componentEl);
|
|
553
552
|
const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;
|
|
554
553
|
if (!inputEl) {
|
|
555
554
|
return;
|
|
@@ -598,10 +597,10 @@ const startInputShims = async (config, platform) => {
|
|
|
598
597
|
for (const input of inputs) {
|
|
599
598
|
registerInput(input);
|
|
600
599
|
}
|
|
601
|
-
|
|
600
|
+
ionicGlobal.doc.addEventListener('ionInputDidLoad', (ev) => {
|
|
602
601
|
registerInput(ev.detail);
|
|
603
602
|
});
|
|
604
|
-
|
|
603
|
+
ionicGlobal.doc.addEventListener('ionInputDidUnload', (ev) => {
|
|
605
604
|
unregisterInput(ev.detail);
|
|
606
605
|
});
|
|
607
606
|
};
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const helpers = require('./helpers-
|
|
8
|
-
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
7
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -19,7 +18,7 @@ const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
|
19
18
|
const createSlotMutationController = (el, slotName, mutationCallback) => {
|
|
20
19
|
let hostMutationObserver;
|
|
21
20
|
let slottedContentMutationObserver;
|
|
22
|
-
if (
|
|
21
|
+
if (ionicGlobal.win !== undefined && 'MutationObserver' in ionicGlobal.win) {
|
|
23
22
|
const slots = Array.isArray(slotName) ? slotName : [slotName];
|
|
24
23
|
hostMutationObserver = new MutationObserver((entries) => {
|
|
25
24
|
for (const entry of entries) {
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const config = require('./config-1349d5b4.js');
|
|
9
9
|
const caretDown = require('./caret-down-3c215cff.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
11
|
-
const index
|
|
12
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
11
|
+
const index = require('./index-073c7cdc.js');
|
|
12
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
13
13
|
|
|
14
14
|
const ionicAccordionMdCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}";
|
|
15
15
|
const IonAccordionIonicStyle0 = ionicAccordionMdCss;
|
|
@@ -22,7 +22,7 @@ const IonAccordionMdStyle0 = accordionMdCss;
|
|
|
22
22
|
|
|
23
23
|
const Accordion = class {
|
|
24
24
|
constructor(hostRef) {
|
|
25
|
-
|
|
25
|
+
config.registerInstance(this, hostRef);
|
|
26
26
|
this.updateListener = () => this.updateState(false);
|
|
27
27
|
this.setItemDefaults = () => {
|
|
28
28
|
const ionItem = this.getSlottedHeaderIonItem();
|
|
@@ -176,7 +176,7 @@ const Accordion = class {
|
|
|
176
176
|
if (prefersReducedMotion) {
|
|
177
177
|
return false;
|
|
178
178
|
}
|
|
179
|
-
const animated =
|
|
179
|
+
const animated = config.config.get('animated', true);
|
|
180
180
|
if (!animated) {
|
|
181
181
|
return false;
|
|
182
182
|
}
|
|
@@ -289,14 +289,14 @@ const Accordion = class {
|
|
|
289
289
|
// Determine the theme and map to default icons
|
|
290
290
|
const theme = ionicGlobal.getIonTheme(this);
|
|
291
291
|
const defaultIcons = {
|
|
292
|
-
ios: index
|
|
292
|
+
ios: index.chevronDown,
|
|
293
293
|
ionic: caretDown.caretDownSvg,
|
|
294
|
-
md: index
|
|
294
|
+
md: index.chevronDown,
|
|
295
295
|
};
|
|
296
296
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
297
297
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
298
298
|
// Return the configured accordion toggle icon or the default icon
|
|
299
|
-
return
|
|
299
|
+
return config.config.get('accordionToggleIcon', defaultIcon);
|
|
300
300
|
}
|
|
301
301
|
toggleExpanded() {
|
|
302
302
|
const { accordionGroupEl, disabled, readonly, value, state } = this;
|
|
@@ -322,7 +322,7 @@ const Accordion = class {
|
|
|
322
322
|
const headerPart = expanded ? 'header expanded' : 'header';
|
|
323
323
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
324
324
|
this.setAria(expanded);
|
|
325
|
-
return (
|
|
325
|
+
return (config.h(config.Host, { key: 'f1482b5a721c16606f641606b55b21c1bfa1222b', class: {
|
|
326
326
|
[theme]: true,
|
|
327
327
|
'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,
|
|
328
328
|
'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,
|
|
@@ -333,10 +333,10 @@ const Accordion = class {
|
|
|
333
333
|
'accordion-disabled': disabled,
|
|
334
334
|
'accordion-readonly': readonly,
|
|
335
335
|
'accordion-animated': this.shouldAnimate(),
|
|
336
|
-
} },
|
|
336
|
+
} }, config.h("div", { key: 'dfe89b0a257088f139cbbac603cb0e5ad448aef0', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, config.h("slot", { key: '2cb929178c4466da26a2441beb1733f7047d52ed', name: "header" })), config.h("div", { key: '9305244684e9b963cf6cb943a6a85dcce65ba60a', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, config.h("div", { key: 'dc08c55ab5aeb0b43fe6718ef6d4902989bcfc93', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, config.h("slot", { key: 'd7e50b04d607efde59ac3dcb9d3a6c095348e9cf', name: "content" })))));
|
|
337
337
|
}
|
|
338
338
|
static get delegatesFocus() { return true; }
|
|
339
|
-
get el() { return
|
|
339
|
+
get el() { return config.getElement(this); }
|
|
340
340
|
static get watchers() { return {
|
|
341
341
|
"value": ["valueChanged"]
|
|
342
342
|
}; }
|
|
@@ -359,9 +359,9 @@ const IonAccordionGroupMdStyle0 = accordionGroupMdCss;
|
|
|
359
359
|
|
|
360
360
|
const AccordionGroup = class {
|
|
361
361
|
constructor(hostRef) {
|
|
362
|
-
|
|
363
|
-
this.ionChange =
|
|
364
|
-
this.ionValueChange =
|
|
362
|
+
config.registerInstance(this, hostRef);
|
|
363
|
+
this.ionChange = config.createEvent(this, "ionChange", 7);
|
|
364
|
+
this.ionValueChange = config.createEvent(this, "ionValueChange", 7);
|
|
365
365
|
this.animated = true;
|
|
366
366
|
this.multiple = undefined;
|
|
367
367
|
this.value = undefined;
|
|
@@ -550,14 +550,14 @@ const AccordionGroup = class {
|
|
|
550
550
|
render() {
|
|
551
551
|
const { disabled, readonly, expand } = this;
|
|
552
552
|
const theme = ionicGlobal.getIonTheme(this);
|
|
553
|
-
return (
|
|
553
|
+
return (config.h(config.Host, { key: '7652f9e1f433b51e59d6a40b3adf7a05ee1e72bb', class: {
|
|
554
554
|
[theme]: true,
|
|
555
555
|
'accordion-group-disabled': disabled,
|
|
556
556
|
'accordion-group-readonly': readonly,
|
|
557
557
|
[`accordion-group-expand-${expand}`]: true,
|
|
558
|
-
}, role: "presentation" },
|
|
558
|
+
}, role: "presentation" }, config.h("slot", { key: '0c0bcafa4af7047e523671c6d0969ae69398292a' })));
|
|
559
559
|
}
|
|
560
|
-
get el() { return
|
|
560
|
+
get el() { return config.getElement(this); }
|
|
561
561
|
static get watchers() { return {
|
|
562
562
|
"value": ["valueChanged"],
|
|
563
563
|
"disabled": ["disabledChanged"],
|