@ionic/core 8.3.2-dev.11729014526.1ab61c12 → 8.3.2-dev.11729166111.115d6104
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 +1 -1
- package/components/buttons.js +1 -1
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +1 -1
- 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 +5 -5
- package/components/ion-accordion.js +11 -14
- 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 +3 -2
- 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 +1 -1
- package/components/ion-segment.js +1 -1
- 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 +1 -1
- 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 +6 -5
- package/components/keyboard-controller.js +4 -2
- package/components/label.js +1 -1
- package/components/list-header.js +1 -1
- 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 +2 -1
- 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 +28 -32
- 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 +13 -13
- package/dist/cjs/ion-card_5.cjs.entry.js +19 -19
- package/dist/cjs/ion-checkbox.cjs.entry.js +15 -15
- 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 +27 -28
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +43 -43
- 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 +17 -17
- package/dist/cjs/ion-select_3.cjs.entry.js +43 -45
- package/dist/cjs/ion-spinner.cjs.entry.js +12 -12
- 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 +23 -24
- 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/accordion/accordion.ionic.css +203 -0
- package/dist/collection/components/accordion/accordion.ios.css +61 -58
- package/dist/collection/components/accordion/accordion.js +6 -10
- package/dist/collection/components/accordion/accordion.md.css +61 -59
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +83 -0
- package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -4
- package/dist/collection/components/accordion-group/accordion-group.js +4 -4
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -4
- package/dist/collection/components/app/app.js +5 -75
- 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.js +1 -1
- package/dist/collection/components/item/item.ionic.css +2 -0
- package/dist/collection/components/item/item.ios.css +1 -0
- package/dist/collection/components/item/item.md.css +1 -0
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- 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/docs.json +107 -107
- 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 +15 -19
- 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 +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- 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 +5 -6
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +6 -6
- 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 +3 -3
- package/dist/esm/ion-select_3.entry.js +6 -8
- 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 +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 +5 -6
- 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-26313905.system.entry.js → p-11915ee9.system.entry.js} +1 -1
- package/dist/ionic/p-12e3e308.entry.js +4 -0
- package/dist/ionic/p-14719a77.entry.js +4 -0
- 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-3c24f9f2.entry.js +4 -0
- 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-e5333f3f.entry.js → p-49d80815.entry.js} +1 -1
- 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-27281edd.js → p-4ed7dfdb.js} +1 -1
- package/dist/ionic/p-4feea938.entry.js +4 -0
- package/dist/ionic/p-501ae197.system.entry.js +4 -0
- package/dist/ionic/p-50feac01.system.entry.js +4 -0
- package/dist/ionic/p-521ef3a2.entry.js +4 -0
- package/dist/ionic/p-5430a9da.system.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-19ea7bff.system.js → p-61a51379.system.js} +1 -1
- package/dist/ionic/p-643e2eb8.js +4 -0
- package/dist/ionic/{p-12299223.system.entry.js → p-64a3567c.system.entry.js} +1 -1
- 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-6d240f1a.entry.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-7cdc6bce.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-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-19c89aeb.system.entry.js → p-9152f6a3.system.entry.js} +1 -1
- 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-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-bef12497.entry.js → p-ac64cba5.entry.js} +1 -1
- 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-c8a54d29.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-e9f8aa95.entry.js +4 -0
- package/dist/ionic/p-eb376af4.entry.js +4 -0
- 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-7986665a.system.entry.js → p-f670192b.system.entry.js} +1 -1
- package/dist/ionic/{p-a93873de.system.js → p-f8e329da.system.js} +1 -1
- package/dist/ionic/{p-6ca5f4da.system.entry.js → p-fac985b6.system.entry.js} +1 -1
- 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/accordion/accordion.d.ts +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 +207 -201
- package/hydrate/index.mjs +207 -201
- 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-0bfbe380.js +0 -4
- package/dist/ionic/p-0c9a7872.system.entry.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-0d945ebd.entry.js +0 -4
- package/dist/ionic/p-0fa218e9.system.js +0 -5
- package/dist/ionic/p-0fd7a8cb.system.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-27bb59a9.system.entry.js +0 -4
- package/dist/ionic/p-28be0cf9.js +0 -4
- package/dist/ionic/p-2a844e7c.entry.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-2fd3e890.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-32f4a0b9.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-432e6521.system.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-4e6c9480.system.entry.js +0 -4
- package/dist/ionic/p-4e7c68a5.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-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-7dfa7ebc.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-83e4478f.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-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-a8a04757.system.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.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-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-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-ea16a842.entry.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
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const config = require('./config-1349d5b4.js');
|
|
9
9
|
const x = require('./x-81a8f51c.js');
|
|
10
|
-
const helpers = require('./helpers-
|
|
10
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
11
11
|
const dir = require('./dir-94c21456.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
|
-
const index
|
|
14
|
-
const ionicGlobal = require('./ionic-global-
|
|
13
|
+
const index = require('./index-073c7cdc.js');
|
|
14
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
15
15
|
|
|
16
16
|
const arrowLeftSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjQsMTI4YTgsOCwwLDAsMS04LDhINTkuMzFsNTguMzUsNTguMzRhOCw4LDAsMCwxLTExLjMyLDExLjMybC03Mi03MmE4LDgsMCwwLDEsMC0xMS4zMmw3Mi03MmE4LDgsMCwwLDEsMTEuMzIsMTEuMzJMNTkuMzEsMTIwSDIxNkE4LDgsMCwwLDEsMjI0LDEyOFoiLz48L3N2Zz4=';
|
|
17
17
|
|
|
@@ -28,14 +28,14 @@ const IonSearchbarMdStyle0 = searchbarMdCss;
|
|
|
28
28
|
|
|
29
29
|
const Searchbar = class {
|
|
30
30
|
constructor(hostRef) {
|
|
31
|
-
|
|
32
|
-
this.ionInput =
|
|
33
|
-
this.ionChange =
|
|
34
|
-
this.ionCancel =
|
|
35
|
-
this.ionClear =
|
|
36
|
-
this.ionBlur =
|
|
37
|
-
this.ionFocus =
|
|
38
|
-
this.ionStyle =
|
|
31
|
+
config.registerInstance(this, hostRef);
|
|
32
|
+
this.ionInput = config.createEvent(this, "ionInput", 7);
|
|
33
|
+
this.ionChange = config.createEvent(this, "ionChange", 7);
|
|
34
|
+
this.ionCancel = config.createEvent(this, "ionCancel", 7);
|
|
35
|
+
this.ionClear = config.createEvent(this, "ionClear", 7);
|
|
36
|
+
this.ionBlur = config.createEvent(this, "ionBlur", 7);
|
|
37
|
+
this.ionFocus = config.createEvent(this, "ionFocus", 7);
|
|
38
|
+
this.ionStyle = config.createEvent(this, "ionStyle", 7);
|
|
39
39
|
this.isCancelVisible = false;
|
|
40
40
|
this.shouldAlignLeft = true;
|
|
41
41
|
this.inputId = `ion-searchbar-${searchbarIds++}`;
|
|
@@ -170,11 +170,11 @@ const Searchbar = class {
|
|
|
170
170
|
*/
|
|
171
171
|
onLangChanged(newValue) {
|
|
172
172
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { lang: newValue });
|
|
173
|
-
|
|
173
|
+
config.forceUpdate(this);
|
|
174
174
|
}
|
|
175
175
|
onDirChanged(newValue) {
|
|
176
176
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: newValue });
|
|
177
|
-
|
|
177
|
+
config.forceUpdate(this);
|
|
178
178
|
}
|
|
179
179
|
debounceChanged() {
|
|
180
180
|
const { ionInput, debounce, originalIonInput } = this;
|
|
@@ -194,7 +194,7 @@ const Searchbar = class {
|
|
|
194
194
|
showCancelButtonChanged() {
|
|
195
195
|
requestAnimationFrame(() => {
|
|
196
196
|
this.positionElements();
|
|
197
|
-
|
|
197
|
+
config.forceUpdate(this);
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
connectedCallback() {
|
|
@@ -408,14 +408,14 @@ const Searchbar = class {
|
|
|
408
408
|
// Determine the theme and map to default icons
|
|
409
409
|
const theme = ionicGlobal.getIonTheme(this);
|
|
410
410
|
const defaultIcons = {
|
|
411
|
-
ios: index
|
|
411
|
+
ios: index.closeCircle,
|
|
412
412
|
ionic: x.xSvg,
|
|
413
|
-
md: index
|
|
413
|
+
md: index.closeSharp,
|
|
414
414
|
};
|
|
415
415
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
416
416
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
417
417
|
// Return the configured searchbar clear icon or the default icon
|
|
418
|
-
return
|
|
418
|
+
return config.config.get('searchbarClearIcon', defaultIcon);
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* Get the icon to use for the search icon.
|
|
@@ -431,14 +431,14 @@ const Searchbar = class {
|
|
|
431
431
|
// Determine the theme and map to default icons
|
|
432
432
|
const theme = ionicGlobal.getIonTheme(this);
|
|
433
433
|
const defaultIcons = {
|
|
434
|
-
ios: index
|
|
434
|
+
ios: index.searchOutline,
|
|
435
435
|
ionic: magnifyingGlassSvg,
|
|
436
|
-
md: index
|
|
436
|
+
md: index.searchSharp,
|
|
437
437
|
};
|
|
438
438
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
439
439
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
440
440
|
// Return the configured searchbar search icon or the default icon
|
|
441
|
-
return
|
|
441
|
+
return config.config.get('searchbarSearchIcon', defaultIcon);
|
|
442
442
|
}
|
|
443
443
|
/**
|
|
444
444
|
* Get the icon to use for the cancel icon.
|
|
@@ -454,22 +454,22 @@ const Searchbar = class {
|
|
|
454
454
|
// Determine the theme and map to default icons
|
|
455
455
|
const theme = ionicGlobal.getIonTheme(this);
|
|
456
456
|
const defaultIcons = {
|
|
457
|
-
ios: index
|
|
457
|
+
ios: index.arrowBackSharp,
|
|
458
458
|
ionic: arrowLeftSvg,
|
|
459
|
-
md: index
|
|
459
|
+
md: index.arrowBackSharp,
|
|
460
460
|
};
|
|
461
461
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
462
462
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
463
463
|
// Return the configured searchbar cancel icon, the back button icon or the default icon
|
|
464
|
-
return
|
|
464
|
+
return config.config.get('searchbarCancelIcon', config.config.get('backButtonIcon', defaultIcon));
|
|
465
465
|
}
|
|
466
466
|
render() {
|
|
467
467
|
const { cancelButtonText, autocapitalize, searchbarCancelIcon, searchbarClearIcon, searchbarSearchIcon } = this;
|
|
468
|
-
const animated = this.animated &&
|
|
468
|
+
const animated = this.animated && config.config.getBoolean('animated', true);
|
|
469
469
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
470
470
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
471
|
-
const cancelButton = this.showCancelButton !== 'never' && (
|
|
472
|
-
return (
|
|
471
|
+
const cancelButton = this.showCancelButton !== 'never' && (config.h("button", { key: '8864a41b139b41cff1ed28df8e9b182abd586205', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme$1 === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, config.h("div", { key: '0b65f3dff4b2a2904bcd34e1eb2de0ea845739a1', "aria-hidden": "true" }, theme$1 === 'md' || theme$1 === 'ionic' ? (config.h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
472
|
+
return (config.h(config.Host, { key: 'bfdaa58f80a6a7e3baaf34c7180d6c8a8f26db3b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
473
473
|
[theme$1]: true,
|
|
474
474
|
'searchbar-animated': animated,
|
|
475
475
|
'searchbar-disabled': this.disabled,
|
|
@@ -479,16 +479,16 @@ const Searchbar = class {
|
|
|
479
479
|
'searchbar-has-focus': this.focused,
|
|
480
480
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
481
481
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
482
|
-
}) },
|
|
482
|
+
}) }, config.h("div", { key: '026738237b8ce44dbf9aa0c3e28495722fd4fe43', class: "searchbar-input-container" }, config.h("input", Object.assign({ key: '2c95c7a1c26e114a0200a64aeb4d65ee744dcc16', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme$1 === 'md' || theme$1 === 'ionic') && cancelButton, config.h("ion-icon", { key: 'b377e3f6b8e8d81811dec662d88de49516467210', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" }), config.h("button", { key: '72e66dd70a9759f853cf10ca0904d1f94b5c46c0', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
483
483
|
/**
|
|
484
484
|
* This prevents mobile browsers from
|
|
485
485
|
* blurring the input when the clear
|
|
486
486
|
* button is activated.
|
|
487
487
|
*/
|
|
488
488
|
ev.preventDefault();
|
|
489
|
-
}, onClick: () => this.onClearInput(true) },
|
|
489
|
+
}, onClick: () => this.onClearInput(true) }, config.h("ion-icon", { key: '43c0c542e4a2e86c17ac0fe945b507ff8bf2f306', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme$1 === 'ios' && cancelButton));
|
|
490
490
|
}
|
|
491
|
-
get el() { return
|
|
491
|
+
get el() { return config.getElement(this); }
|
|
492
492
|
static get watchers() { return {
|
|
493
493
|
"lang": ["onLangChanged"],
|
|
494
494
|
"dir": ["onDirChanged"],
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
const helpers = require('./helpers-
|
|
8
|
+
const config = require('./config-1349d5b4.js');
|
|
9
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
10
10
|
const dir = require('./dir-94c21456.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
|
-
const ionicGlobal = require('./ionic-global-
|
|
12
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
13
13
|
|
|
14
14
|
const segmentIonicCss = ":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:var(--ionic-color-base-white, #ffffff)}";
|
|
15
15
|
const IonSegmentIonicStyle0 = segmentIonicCss;
|
|
@@ -22,10 +22,10 @@ const IonSegmentMdStyle0 = segmentMdCss;
|
|
|
22
22
|
|
|
23
23
|
const Segment = class {
|
|
24
24
|
constructor(hostRef) {
|
|
25
|
-
|
|
26
|
-
this.ionChange =
|
|
27
|
-
this.ionSelect =
|
|
28
|
-
this.ionStyle =
|
|
25
|
+
config.registerInstance(this, hostRef);
|
|
26
|
+
this.ionChange = config.createEvent(this, "ionChange", 7);
|
|
27
|
+
this.ionSelect = config.createEvent(this, "ionSelect", 7);
|
|
28
|
+
this.ionStyle = config.createEvent(this, "ionStyle", 7);
|
|
29
29
|
this.onClick = (ev) => {
|
|
30
30
|
const current = ev.target;
|
|
31
31
|
const previous = this.checked;
|
|
@@ -240,7 +240,7 @@ const Segment = class {
|
|
|
240
240
|
// Scale the indicator width to match the previous indicator width
|
|
241
241
|
// and translate it on top of the previous indicator
|
|
242
242
|
const transform = `translate3d(${xPosition}px, 0, 0) scaleX(${widthDelta})`;
|
|
243
|
-
|
|
243
|
+
config.writeTask(() => {
|
|
244
244
|
// Remove the transition before positioning on top of the previous indicator
|
|
245
245
|
currentIndicator.classList.remove('segment-button-indicator-animated');
|
|
246
246
|
currentIndicator.style.setProperty('transform', transform);
|
|
@@ -434,16 +434,16 @@ const Segment = class {
|
|
|
434
434
|
}
|
|
435
435
|
render() {
|
|
436
436
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
437
|
-
return (
|
|
437
|
+
return (config.h(config.Host, { key: 'a82caab0d6fe34847f5a85282d0916a647b5976a', role: "tablist", onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
438
438
|
[theme$1]: true,
|
|
439
439
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
440
440
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
441
441
|
'segment-activated': this.activated,
|
|
442
442
|
'segment-disabled': this.disabled,
|
|
443
443
|
'segment-scrollable': this.scrollable,
|
|
444
|
-
}) },
|
|
444
|
+
}) }, config.h("slot", { key: '1b04fd3a2c340014376ab52824435c5f27b963b7', onSlotchange: this.onSlottedItemsChange })));
|
|
445
445
|
}
|
|
446
|
-
get el() { return
|
|
446
|
+
get el() { return config.getElement(this); }
|
|
447
447
|
static get watchers() { return {
|
|
448
448
|
"color": ["colorChanged"],
|
|
449
449
|
"swipeGesture": ["swipeGestureChanged"],
|
|
@@ -469,11 +469,11 @@ const IonSegmentButtonMdStyle0 = segmentButtonMdCss;
|
|
|
469
469
|
let ids = 0;
|
|
470
470
|
const SegmentButton = class {
|
|
471
471
|
constructor(hostRef) {
|
|
472
|
-
|
|
472
|
+
config.registerInstance(this, hostRef);
|
|
473
473
|
this.segmentEl = null;
|
|
474
474
|
this.inheritedAttributes = {};
|
|
475
475
|
this.updateStyle = () => {
|
|
476
|
-
|
|
476
|
+
config.forceUpdate(this);
|
|
477
477
|
};
|
|
478
478
|
this.updateState = () => {
|
|
479
479
|
const { segmentEl } = this;
|
|
@@ -533,7 +533,7 @@ const SegmentButton = class {
|
|
|
533
533
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
534
534
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
535
535
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
536
|
-
return (
|
|
536
|
+
return (config.h(config.Host, { key: 'e3340514b7e897015a9d9781a8a8b8d044c14904', class: {
|
|
537
537
|
[theme$1]: true,
|
|
538
538
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
539
539
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
@@ -549,12 +549,12 @@ const SegmentButton = class {
|
|
|
549
549
|
'ion-activatable': true,
|
|
550
550
|
'ion-activatable-instant': true,
|
|
551
551
|
'ion-focusable': true,
|
|
552
|
-
} },
|
|
552
|
+
} }, config.h("button", Object.assign({ key: '3c5017089669022f6f78781ff5ab22e7d482c641', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), config.h("span", { key: '94e4b22191f9d19f1e2f31c9247331d48cc95be3', class: "button-inner" }, config.h("slot", { key: 'd8780486332a2993a3c1d76ecba99660f60ecca3' })), theme$1 === 'md' && config.h("ion-ripple-effect", { key: '676e4737af739dbfe1900132e281bceff796ba37' })), config.h("div", { key: '0182e9cba30424f0d543b78c270d69d3c72cc2e9', part: "indicator", class: {
|
|
553
553
|
'segment-button-indicator': true,
|
|
554
554
|
'segment-button-indicator-animated': true,
|
|
555
|
-
} },
|
|
555
|
+
} }, config.h("div", { key: 'b3ad49f2556290f136c271cd013ee293ce3e7d7f', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
556
556
|
}
|
|
557
|
-
get el() { return
|
|
557
|
+
get el() { return config.getElement(this); }
|
|
558
558
|
static get watchers() { return {
|
|
559
559
|
"value": ["valueChanged"]
|
|
560
560
|
}; }
|
|
@@ -5,20 +5,18 @@
|
|
|
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 notchController = require('./notch-controller-
|
|
10
|
+
const notchController = require('./notch-controller-70ad2323.js');
|
|
11
11
|
const compareWithUtils = require('./compare-with-utils-df1001d7.js');
|
|
12
|
-
const helpers = require('./helpers-
|
|
13
|
-
const overlays = require('./overlays-
|
|
12
|
+
const helpers = require('./helpers-e75eb909.js');
|
|
13
|
+
const overlays = require('./overlays-22320753.js');
|
|
14
14
|
const dir = require('./dir-94c21456.js');
|
|
15
15
|
const theme = require('./theme-d1c573d2.js');
|
|
16
16
|
const watchOptions = require('./watch-options-f5f3e158.js');
|
|
17
|
-
const index
|
|
18
|
-
const ionicGlobal = require('./ionic-global-
|
|
19
|
-
require('./
|
|
20
|
-
require('./hardware-back-button-d37054f2.js');
|
|
21
|
-
require('./framework-delegate-55f5683a.js');
|
|
17
|
+
const index = require('./index-073c7cdc.js');
|
|
18
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
19
|
+
require('./framework-delegate-cf116b1d.js');
|
|
22
20
|
require('./gesture-controller-9436f482.js');
|
|
23
21
|
|
|
24
22
|
const ionicSelectMdCss = ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:var(--highlight-height);--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-start{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius)}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-end{border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}";
|
|
@@ -32,13 +30,13 @@ const IonSelectMdStyle0 = selectMdCss;
|
|
|
32
30
|
|
|
33
31
|
const Select = class {
|
|
34
32
|
constructor(hostRef) {
|
|
35
|
-
|
|
36
|
-
this.ionChange =
|
|
37
|
-
this.ionCancel =
|
|
38
|
-
this.ionDismiss =
|
|
39
|
-
this.ionFocus =
|
|
40
|
-
this.ionBlur =
|
|
41
|
-
this.ionStyle =
|
|
33
|
+
config.registerInstance(this, hostRef);
|
|
34
|
+
this.ionChange = config.createEvent(this, "ionChange", 7);
|
|
35
|
+
this.ionCancel = config.createEvent(this, "ionCancel", 7);
|
|
36
|
+
this.ionDismiss = config.createEvent(this, "ionDismiss", 7);
|
|
37
|
+
this.ionFocus = config.createEvent(this, "ionFocus", 7);
|
|
38
|
+
this.ionBlur = config.createEvent(this, "ionBlur", 7);
|
|
39
|
+
this.ionStyle = config.createEvent(this, "ionStyle", 7);
|
|
42
40
|
this.inputId = `ion-sel-${selectIds++}`;
|
|
43
41
|
this.inheritedAttributes = {};
|
|
44
42
|
this.onClick = (ev) => {
|
|
@@ -125,7 +123,7 @@ const Select = class {
|
|
|
125
123
|
* elements may match the value. In this case,
|
|
126
124
|
* the rendered selected text should be updated.
|
|
127
125
|
*/
|
|
128
|
-
|
|
126
|
+
config.forceUpdate(this);
|
|
129
127
|
});
|
|
130
128
|
}
|
|
131
129
|
componentWillLoad() {
|
|
@@ -450,10 +448,10 @@ const Select = class {
|
|
|
450
448
|
}
|
|
451
449
|
renderLabel() {
|
|
452
450
|
const { label } = this;
|
|
453
|
-
return (
|
|
451
|
+
return (config.h("div", { class: {
|
|
454
452
|
'label-text-wrapper': true,
|
|
455
453
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
456
|
-
}, part: "label" }, label === undefined ?
|
|
454
|
+
}, part: "label" }, label === undefined ? config.h("slot", { name: "label" }) : config.h("div", { class: "label-text" }, label)));
|
|
457
455
|
}
|
|
458
456
|
componentDidRender() {
|
|
459
457
|
var _a;
|
|
@@ -491,10 +489,10 @@ const Select = class {
|
|
|
491
489
|
* inside of that border by using the notch-spacer element.
|
|
492
490
|
*/
|
|
493
491
|
return [
|
|
494
|
-
|
|
492
|
+
config.h("div", { class: "select-outline-container" }, config.h("div", { class: "select-outline-start" }), config.h("div", { class: {
|
|
495
493
|
'select-outline-notch': true,
|
|
496
494
|
'select-outline-notch-hidden': !this.hasLabel,
|
|
497
|
-
} },
|
|
495
|
+
} }, config.h("div", { class: "notch-spacer", "aria-hidden": "true", ref: (el) => (this.notchSpacerEl = el) }, this.label)), config.h("div", { class: "select-outline-end" })),
|
|
498
496
|
this.renderLabel(),
|
|
499
497
|
];
|
|
500
498
|
}
|
|
@@ -523,7 +521,7 @@ const Select = class {
|
|
|
523
521
|
'select-placeholder': addPlaceholderClass,
|
|
524
522
|
};
|
|
525
523
|
const textPart = addPlaceholderClass ? 'placeholder' : 'text';
|
|
526
|
-
return (
|
|
524
|
+
return (config.h("div", { "aria-hidden": "true", class: selectTextClasses, part: textPart }, selectText));
|
|
527
525
|
}
|
|
528
526
|
/**
|
|
529
527
|
* Renders the chevron icon
|
|
@@ -535,7 +533,7 @@ const Select = class {
|
|
|
535
533
|
if (isExpanded) {
|
|
536
534
|
icon = selectExpandedIcon;
|
|
537
535
|
}
|
|
538
|
-
return
|
|
536
|
+
return config.h("ion-icon", { class: "select-icon", part: "icon", "aria-hidden": "true", icon: icon });
|
|
539
537
|
}
|
|
540
538
|
get ariaLabel() {
|
|
541
539
|
var _a;
|
|
@@ -566,7 +564,7 @@ const Select = class {
|
|
|
566
564
|
}
|
|
567
565
|
renderListbox() {
|
|
568
566
|
const { disabled, inputId, isExpanded } = this;
|
|
569
|
-
return (
|
|
567
|
+
return (config.h("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) }));
|
|
570
568
|
}
|
|
571
569
|
/**
|
|
572
570
|
* Get the icon to use for the expand icon.
|
|
@@ -585,14 +583,14 @@ const Select = class {
|
|
|
585
583
|
// Determine the theme and map to default icons
|
|
586
584
|
const theme = ionicGlobal.getIonTheme(this);
|
|
587
585
|
const defaultIcons = {
|
|
588
|
-
ios: index
|
|
586
|
+
ios: index.chevronExpand,
|
|
589
587
|
ionic: caretDown.caretDownSvg,
|
|
590
|
-
md: index
|
|
588
|
+
md: index.caretDownSharp,
|
|
591
589
|
};
|
|
592
590
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
593
591
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
594
592
|
// Return the configured select expanded icon or the default icon
|
|
595
|
-
return
|
|
593
|
+
return config.config.get('selectExpandedIcon', defaultIcon);
|
|
596
594
|
}
|
|
597
595
|
/**
|
|
598
596
|
* Get the icon to use for the collapsed icon.
|
|
@@ -608,13 +606,13 @@ const Select = class {
|
|
|
608
606
|
// Determine the theme and map to default icons
|
|
609
607
|
const theme = ionicGlobal.getIonTheme(this);
|
|
610
608
|
const defaultIcons = {
|
|
611
|
-
ios: index
|
|
609
|
+
ios: index.chevronExpand,
|
|
612
610
|
ionic: caretDown.caretDownSvg,
|
|
613
|
-
md: index
|
|
611
|
+
md: index.caretDownSharp,
|
|
614
612
|
};
|
|
615
613
|
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
616
614
|
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
617
|
-
return
|
|
615
|
+
return config.config.get('selectCollapsedIcon', defaultIcon);
|
|
618
616
|
}
|
|
619
617
|
render() {
|
|
620
618
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
@@ -645,7 +643,7 @@ const Select = class {
|
|
|
645
643
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
646
644
|
*/
|
|
647
645
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
648
|
-
return (
|
|
646
|
+
return (config.h(config.Host, { key: '86852b75ccafecf788d4e526263692abbfbdd71c', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
649
647
|
[theme$1]: true,
|
|
650
648
|
'in-item': inItem,
|
|
651
649
|
'in-item-color': theme.hostContext('ion-item.ion-color', el),
|
|
@@ -661,9 +659,9 @@ const Select = class {
|
|
|
661
659
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
662
660
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
663
661
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
664
|
-
}) },
|
|
662
|
+
}) }, config.h("label", { key: '20e60d033231b6072d4c716a02cd8b63e14f9828', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), config.h("div", { key: '8eae558c558bfaa87f01d60ed59259bfd823662f', class: "select-wrapper-inner" }, config.h("slot", { key: 'ccad7f6f887a4e98def2f88666dad09ea2a0eecf', name: "start" }), config.h("div", { key: '6070ada852d723f6f787046edba99991bd3d9078', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), config.h("slot", { key: 'cce0008c2bf1df6a2fe4c193e722f9138fc94e71', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && config.h("div", { key: '94db7dcf69cf4d5cdc174b3ad2abbc8e79d1b961', class: "select-highlight" }))));
|
|
665
663
|
}
|
|
666
|
-
get el() { return
|
|
664
|
+
get el() { return config.getElement(this); }
|
|
667
665
|
static get watchers() { return {
|
|
668
666
|
"disabled": ["styleChanged"],
|
|
669
667
|
"isExpanded": ["styleChanged"],
|
|
@@ -717,18 +715,18 @@ const IonSelectOptionStyle0 = selectOptionCss;
|
|
|
717
715
|
|
|
718
716
|
const SelectOption = class {
|
|
719
717
|
constructor(hostRef) {
|
|
720
|
-
|
|
718
|
+
config.registerInstance(this, hostRef);
|
|
721
719
|
this.inputId = `ion-selopt-${selectOptionIds++}`;
|
|
722
720
|
this.disabled = false;
|
|
723
721
|
this.value = undefined;
|
|
724
722
|
}
|
|
725
723
|
render() {
|
|
726
724
|
const theme = ionicGlobal.getIonTheme(this);
|
|
727
|
-
return (
|
|
725
|
+
return (config.h(config.Host, { key: '1a977b2d7953ecbddf216c5b68d47104dda07bce', class: {
|
|
728
726
|
[theme]: true,
|
|
729
727
|
}, role: "option", id: this.inputId }));
|
|
730
728
|
}
|
|
731
|
-
get el() { return
|
|
729
|
+
get el() { return config.getElement(this); }
|
|
732
730
|
};
|
|
733
731
|
let selectOptionIds = 0;
|
|
734
732
|
SelectOption.style = IonSelectOptionStyle0;
|
|
@@ -744,7 +742,7 @@ const IonSelectPopoverMdStyle0 = selectPopoverMdCss;
|
|
|
744
742
|
|
|
745
743
|
const SelectPopover = class {
|
|
746
744
|
constructor(hostRef) {
|
|
747
|
-
|
|
745
|
+
config.registerInstance(this, hostRef);
|
|
748
746
|
this.header = undefined;
|
|
749
747
|
this.subHeader = undefined;
|
|
750
748
|
this.message = undefined;
|
|
@@ -808,22 +806,22 @@ const SelectPopover = class {
|
|
|
808
806
|
}
|
|
809
807
|
}
|
|
810
808
|
renderCheckboxOptions(options) {
|
|
811
|
-
return options.map((option) => (
|
|
809
|
+
return options.map((option) => (config.h("ion-item", { class: Object.assign({
|
|
812
810
|
// TODO FW-4784
|
|
813
811
|
'item-checkbox-checked': option.checked
|
|
814
|
-
}, theme.getClassMap(option.cssClass)) },
|
|
812
|
+
}, theme.getClassMap(option.cssClass)) }, config.h("ion-checkbox", { value: option.value, disabled: option.disabled, checked: option.checked, justify: "start", labelPlacement: "end", onIonChange: (ev) => {
|
|
815
813
|
this.setChecked(ev);
|
|
816
814
|
this.callOptionHandler(ev);
|
|
817
815
|
// TODO FW-4784
|
|
818
|
-
|
|
816
|
+
config.forceUpdate(this);
|
|
819
817
|
} }, option.text))));
|
|
820
818
|
}
|
|
821
819
|
renderRadioOptions(options) {
|
|
822
820
|
const checked = options.filter((o) => o.checked).map((o) => o.value)[0];
|
|
823
|
-
return (
|
|
821
|
+
return (config.h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, options.map((option) => (config.h("ion-item", { class: Object.assign({
|
|
824
822
|
// TODO FW-4784
|
|
825
823
|
'item-radio-checked': option.value === checked
|
|
826
|
-
}, theme.getClassMap(option.cssClass)) },
|
|
824
|
+
}, theme.getClassMap(option.cssClass)) }, config.h("ion-radio", { value: option.value, disabled: option.disabled, onClick: () => this.dismissParentPopover(), onKeyUp: (ev) => {
|
|
827
825
|
if (ev.key === ' ') {
|
|
828
826
|
/**
|
|
829
827
|
* Selecting a radio option with keyboard navigation,
|
|
@@ -838,11 +836,11 @@ const SelectPopover = class {
|
|
|
838
836
|
const { header, message, options, subHeader } = this;
|
|
839
837
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
840
838
|
const theme = ionicGlobal.getIonTheme(this);
|
|
841
|
-
return (
|
|
839
|
+
return (config.h(config.Host, { key: '6ac9472c819c6631cd64ad8810256dd03fde120b', class: {
|
|
842
840
|
[theme]: true,
|
|
843
|
-
} },
|
|
841
|
+
} }, config.h("ion-list", { key: 'b485896c38c080bc42f92e962440cd3b8308e728' }, header !== undefined && config.h("ion-list-header", { key: '6a1df70265a4b9feec9521d5f946994345456925' }, header), hasSubHeaderOrMessage && (config.h("ion-item", { key: 'c4ecbcaa2c56c1cb900e039cbfe36c2fae03f2ac' }, config.h("ion-label", { key: 'e310d3445c6abfffb4ff00a1aec97dd09c94e1d3', class: "ion-text-wrap" }, subHeader !== undefined && config.h("h3", { key: '9a6ffdfd9df8aea92290caf317d855b262ac8998' }, subHeader), message !== undefined && config.h("p", { key: 'b5ca3c716d69e6a2c013df3fa3436b92953c4296' }, message)))), this.renderOptions(options))));
|
|
844
842
|
}
|
|
845
|
-
get el() { return
|
|
843
|
+
get el() { return config.getElement(this); }
|
|
846
844
|
};
|
|
847
845
|
SelectPopover.style = {
|
|
848
846
|
ionic: IonSelectPopoverIonicStyle0,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const config = require('./config-1349d5b4.js');
|
|
9
9
|
const theme = require('./theme-d1c573d2.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const ionicGlobal = require('./ionic-global-3647b9f5.js');
|
|
11
11
|
const spinnerConfigs = require('./spinner-configs-282fd50a.js');
|
|
12
12
|
|
|
13
13
|
const spinnerIonicCss = ":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}:host{--color:var(--ionic-color-neutral-800, #626262)}:host(.spinner-xsmall){width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px)}:host(.spinner-small){width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px)}:host(.spinner-medium){width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px)}:host(.spinner-large){width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px)}:host(.spinner-xlarge){width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px)}";
|
|
@@ -21,7 +21,7 @@ const IonSpinnerMdStyle0 = mdSpinnerCommonCss;
|
|
|
21
21
|
|
|
22
22
|
const Spinner = class {
|
|
23
23
|
constructor(hostRef) {
|
|
24
|
-
|
|
24
|
+
config.registerInstance(this, hostRef);
|
|
25
25
|
this.color = undefined;
|
|
26
26
|
this.duration = undefined;
|
|
27
27
|
this.name = undefined;
|
|
@@ -29,7 +29,7 @@ const Spinner = class {
|
|
|
29
29
|
this.size = undefined;
|
|
30
30
|
}
|
|
31
31
|
getName() {
|
|
32
|
-
const spinnerName = this.name ||
|
|
32
|
+
const spinnerName = this.name || config.config.get('spinner');
|
|
33
33
|
const mode = ionicGlobal.getIonMode(this);
|
|
34
34
|
if (spinnerName) {
|
|
35
35
|
return spinnerName;
|
|
@@ -67,23 +67,23 @@ const Spinner = class {
|
|
|
67
67
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
return (
|
|
70
|
+
return (config.h(config.Host, { key: '49fd776ff3793a76b111c1f0e0fc0755d1d28d6c', class: theme.createColorClasses(self.color, {
|
|
71
71
|
[theme$1]: true,
|
|
72
72
|
[`spinner-${spinnerName}`]: true,
|
|
73
|
-
'spinner-paused': self.paused ||
|
|
73
|
+
'spinner-paused': self.paused || config.config.getBoolean('_testing'),
|
|
74
74
|
[`spinner-${size}`]: size !== undefined,
|
|
75
75
|
}), role: "progressbar", style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} }, svgs));
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
const buildCircle = (spinner, duration, index
|
|
79
|
-
const data = spinner.fn(duration, index
|
|
78
|
+
const buildCircle = (spinner, duration, index, total) => {
|
|
79
|
+
const data = spinner.fn(duration, index, total);
|
|
80
80
|
data.style['animation-duration'] = duration + 'ms';
|
|
81
|
-
return (
|
|
81
|
+
return (config.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, config.h("circle", { transform: data.transform || 'translate(32,32)', cx: data.cx, cy: data.cy, r: data.r, style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} })));
|
|
82
82
|
};
|
|
83
|
-
const buildLine = (spinner, duration, index
|
|
84
|
-
const data = spinner.fn(duration, index
|
|
83
|
+
const buildLine = (spinner, duration, index, total) => {
|
|
84
|
+
const data = spinner.fn(duration, index, total);
|
|
85
85
|
data.style['animation-duration'] = duration + 'ms';
|
|
86
|
-
return (
|
|
86
|
+
return (config.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, config.h("line", { transform: "translate(32,32)", y1: data.y1, y2: data.y2 })));
|
|
87
87
|
};
|
|
88
88
|
Spinner.style = {
|
|
89
89
|
ionic: IonSpinnerIonicStyle0,
|