@ionic/core 8.3.2-dev.11728314937.130218e6 → 8.3.2-dev.11729014526.1ab61c12
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 +1 -2
- 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/focus-visible.js +1 -8
- package/components/framework-delegate.js +1 -3
- package/components/hardware-back-button.js +115 -0
- package/components/helpers.js +1 -4
- package/components/index2.js +1 -2
- package/components/index4.js +3 -1
- package/components/index5.js +3 -27
- package/components/index6.js +27 -124
- package/components/index7.js +111 -150
- package/{dist/esm/index-7f65e865.js → components/index8.js} +2 -3
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +2 -3
- package/components/ion-app.js +74 -7
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +2 -3
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +2 -3
- 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 +5 -7
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +2 -3
- package/components/ion-fab-button.js +2 -3
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +5 -7
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +6 -8
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -2
- package/components/ion-infinite-scroll.js +2 -2
- package/components/ion-input-password-toggle.js +2 -3
- package/components/ion-input.js +2 -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 +1 -2
- package/components/ion-menu-button.js +2 -3
- 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 +1 -2
- package/components/ion-note.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-progress-bar.js +1 -2
- package/components/ion-range.js +2 -2
- package/components/ion-refresher-content.js +2 -3
- package/components/ion-refresher.js +2 -2
- package/components/ion-reorder-group.js +2 -2
- package/components/ion-reorder.js +2 -3
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -2
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +3 -4
- 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 +2 -3
- package/components/ion-skeleton-text.js +1 -2
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -2
- 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 +8 -8
- package/components/ion-toggle.js +2 -3
- package/components/ion-toolbar.js +1 -1
- package/components/ionic-global.js +76 -189
- package/components/item.js +2 -3
- package/components/keyboard-controller.js +2 -4
- 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 +2 -1
- 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 +1 -2
- package/components/status-tap.js +1 -1
- package/dist/cjs/{animation-232e0c8f.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-0189a70c.js → app-globals-38bbc401.js} +1 -1
- package/dist/cjs/{button-active-41228dbf.js → button-active-3f2f60b4.js} +4 -4
- package/dist/cjs/{capacitor-806e7fee.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-cad5d489.js → data-b3a1a686.js} +1 -1
- package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
- package/dist/cjs/{framework-delegate-cf116b1d.js → framework-delegate-55f5683a.js} +2 -4
- package/dist/cjs/{haptic-f0cad9a6.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-d37054f2.js +122 -0
- package/dist/cjs/{helpers-e75eb909.js → helpers-afaa9001.js} +1 -4
- package/dist/cjs/{index-1d02518d.js → index-2fa32189.js} +2 -2
- package/dist/cjs/{index-3ac79a1b.js → index-694a3808.js} +10 -10
- package/dist/cjs/{config-1349d5b4.js → index-73f75efb.js} +0 -79
- package/dist/cjs/{index-2c8b42cd.js → index-9509ecad.js} +7 -8
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-71085796.js → index-ed0f67a3.js} +7 -5
- package/dist/cjs/index.cjs.js +12 -10
- package/dist/cjs/{input-shims-2958dcc9.js → input-shims-ab680ecf.js} +18 -17
- package/dist/cjs/{input.utils-ed749ecb.js → input.utils-44ff82f0.js} +4 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +18 -18
- package/dist/cjs/ion-action-sheet.cjs.entry.js +25 -23
- package/dist/cjs/ion-alert.cjs.entry.js +35 -33
- package/dist/cjs/ion-app_8.cjs.entry.js +150 -84
- 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 +91 -89
- 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 -27
- package/dist/cjs/ion-item-option_3.cjs.entry.js +19 -19
- package/dist/cjs/ion-item_8.cjs.entry.js +40 -40
- package/dist/cjs/ion-loading.cjs.entry.js +25 -23
- package/dist/cjs/ion-menu_3.cjs.entry.js +39 -37
- package/dist/cjs/ion-modal.cjs.entry.js +50 -48
- 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 +14 -13
- package/dist/cjs/ion-picker.cjs.entry.js +7 -7
- package/dist/cjs/ion-popover.cjs.entry.js +24 -22
- 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 +47 -46
- package/dist/cjs/ion-reorder_2.cjs.entry.js +21 -20
- 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 +31 -31
- package/dist/cjs/ion-segment_2.cjs.entry.js +17 -17
- package/dist/cjs/ion-select_3.cjs.entry.js +45 -43
- 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 +19 -18
- 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 -23
- package/dist/cjs/ion-toast.cjs.entry.js +35 -33
- package/dist/cjs/ion-toggle.cjs.entry.js +25 -24
- package/dist/cjs/{ionic-global-3647b9f5.js → ionic-global-5df85d73.js} +89 -205
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-4411892c.js → ios.transition-7574ba71.js} +6 -5
- package/dist/cjs/{keyboard-ed6e1327.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-e0062bfc.js → keyboard-af1bb365.js} +3 -4
- package/dist/cjs/{keyboard-controller-020444ad.js → keyboard-controller-c05e747a.js} +9 -11
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-261f9f67.js → md.transition-d9d90911.js} +6 -5
- package/dist/cjs/{notch-controller-70ad2323.js → notch-controller-d69150f5.js} +4 -4
- package/dist/cjs/{overlays-22320753.js → overlays-faf6f843.js} +17 -17
- package/dist/cjs/{status-tap-cfc7f9a5.js → status-tap-28780caa.js} +8 -8
- package/dist/cjs/{swipe-back-ecdf1cf5.js → swipe-back-0303a5e4.js} +1 -2
- package/dist/collection/components/app/app.js +75 -5
- package/dist/collection/components/content/content.js +4 -6
- package/dist/collection/components/footer/footer.js +3 -5
- package/dist/collection/components/header/header.js +4 -6
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/searchbar/searchbar.ionic.css +166 -89
- package/dist/collection/components/searchbar/searchbar.js +1 -1
- package/dist/collection/components/toast/toast.ionic.css +348 -0
- package/dist/collection/components/toast/toast.ios.css +68 -41
- package/dist/collection/components/toast/toast.js +4 -4
- package/dist/collection/components/toast/toast.md.css +68 -41
- package/dist/collection/global/ionic-global.js +1 -69
- package/dist/collection/utils/focus-visible.js +0 -7
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/helpers.js +1 -3
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
- package/dist/collection/utils/overlays.js +1 -2
- package/dist/docs.json +119 -107
- package/dist/esm/{animation-16546c84.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-35381e66.js → app-globals-c45950ba.js} +1 -1
- package/dist/esm/{button-active-c768aceb.js → button-active-873732e5.js} +2 -2
- package/dist/esm/{capacitor-0897b83c.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-d9b1fbdb.js → data-fde041b0.js} +1 -1
- package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
- package/dist/esm/{framework-delegate-56698eb0.js → framework-delegate-63d1a679.js} +2 -4
- package/dist/esm/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-2bb5194f.js +116 -0
- package/dist/esm/{helpers-d57f52c8.js → helpers-da915de8.js} +1 -4
- package/dist/esm/{index-edf94b3b.js → index-29be96b3.js} +5 -5
- package/dist/esm/{index-82405a4a.js → index-2d8b49ae.js} +5 -3
- package/dist/esm/{index-f8ad386a.js → index-56cab0d6.js} +2 -2
- package/dist/esm/{config-0b6b1b3d.js → index-723c0e5d.js} +1 -76
- package/dist/esm/index-79b30591.js +167 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/index.js +12 -10
- package/dist/esm/{input-shims-0f3cc1c3.js → input-shims-59f93016.js} +7 -6
- package/dist/esm/{input.utils-ef4d8197.js → input.utils-8755322f.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -9
- package/dist/esm/ion-alert.entry.js +11 -9
- package/dist/esm/ion-app_8.entry.js +94 -28
- 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 +12 -10
- 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 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +8 -6
- package/dist/esm/ion-menu_3.entry.js +9 -7
- package/dist/esm/ion-modal.entry.js +13 -11
- 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 +6 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +9 -7
- 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 +8 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -6
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +8 -6
- 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 +7 -6
- 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 -5
- package/dist/esm/ion-toast.entry.js +14 -12
- package/dist/esm/ion-toggle.entry.js +6 -5
- package/dist/esm/{ionic-global-d7017fd9.js → ionic-global-a8cbb8b0.js} +72 -184
- package/dist/esm/ionic.js +4 -4
- package/dist/esm/{ios.transition-4b9fe79e.js → ios.transition-4706aa28.js} +6 -5
- package/dist/esm/{keyboard-584d2e6f.js → keyboard-52278bd7.js} +3 -4
- package/dist/esm/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-9c9c2301.js → keyboard-controller-ec5c2bfa.js} +3 -5
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-a71dc418.js → md.transition-20ad6960.js} +6 -5
- package/dist/esm/{notch-controller-4d9a7b28.js → notch-controller-55b09e11.js} +2 -2
- package/dist/esm/{overlays-9da9aef5.js → overlays-40e86f77.js} +6 -6
- package/dist/esm/{status-tap-82f51b25.js → status-tap-0433b6a6.js} +4 -4
- package/dist/esm/{swipe-back-c5709ce5.js → swipe-back-e5394307.js} +1 -2
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-c45950ba.js +4 -0
- package/dist/esm-es5/button-active-873732e5.js +4 -0
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/{data-d9b1fbdb.js → data-fde041b0.js} +1 -1
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
- package/dist/esm-es5/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-2bb5194f.js +4 -0
- package/dist/esm-es5/helpers-da915de8.js +4 -0
- package/dist/esm-es5/index-29be96b3.js +4 -0
- package/dist/esm-es5/index-2d8b49ae.js +4 -0
- package/dist/esm-es5/{index-f8ad386a.js → index-56cab0d6.js} +1 -1
- package/dist/esm-es5/{config-0b6b1b3d.js → index-723c0e5d.js} +2 -2
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-59f93016.js +4 -0
- package/dist/esm-es5/input.utils-8755322f.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-a8cbb8b0.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4706aa28.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-20ad6960.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-40e86f77.js +4 -0
- package/dist/esm-es5/status-tap-0433b6a6.js +4 -0
- package/dist/esm-es5/swipe-back-e5394307.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-00093fc0.entry.js +4 -0
- package/dist/ionic/{p-fbcf9790.system.entry.js → p-0328213e.system.entry.js} +1 -1
- package/dist/ionic/{p-0a820472.js → p-0b120b1d.js} +1 -1
- package/dist/ionic/p-0bfbe380.js +4 -0
- package/dist/ionic/{p-82832f09.system.entry.js → p-0c9a7872.system.entry.js} +1 -1
- package/dist/ionic/p-0cd67533.js +4 -0
- package/dist/ionic/p-0d86eb56.system.entry.js +4 -0
- package/dist/ionic/p-0d945ebd.entry.js +4 -0
- package/dist/ionic/p-0fa218e9.system.js +5 -0
- package/dist/ionic/{p-15d007ee.system.entry.js → p-0fd7a8cb.system.entry.js} +1 -1
- package/dist/ionic/{p-4d000ec5.entry.js → p-10dacd80.entry.js} +1 -1
- package/dist/ionic/p-12299223.system.entry.js +4 -0
- package/dist/ionic/p-175821bc.entry.js +4 -0
- package/dist/ionic/{p-9152f6a3.system.entry.js → p-19c89aeb.system.entry.js} +1 -1
- package/dist/ionic/{p-61a51379.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-1f6507e4.entry.js +4 -0
- package/dist/ionic/p-1f7b26cc.entry.js +4 -0
- package/dist/ionic/{p-d9e1c48c.system.js → p-1fd1d157.system.js} +1 -1
- package/dist/ionic/p-2282c878.system.entry.js +4 -0
- package/dist/ionic/{p-11915ee9.system.entry.js → p-26313905.system.entry.js} +1 -1
- package/dist/ionic/{p-4ed7dfdb.js → p-27281edd.js} +1 -1
- package/dist/ionic/p-27bb59a9.system.entry.js +4 -0
- package/dist/ionic/p-28be0cf9.js +4 -0
- package/dist/ionic/p-2a844e7c.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-2b98e44b.system.entry.js +4 -0
- package/dist/ionic/p-2fd3e890.system.entry.js +4 -0
- package/dist/ionic/p-30c8168f.system.entry.js +4 -0
- package/dist/ionic/p-3281aaeb.entry.js +4 -0
- package/dist/ionic/p-32f4a0b9.entry.js +4 -0
- package/dist/ionic/p-34b11c24.js +4 -0
- package/dist/ionic/{p-3d9cad0b.system.entry.js → p-35b66bbc.system.entry.js} +1 -1
- package/dist/ionic/p-36db29d9.system.js +4 -0
- package/dist/ionic/p-3ad285e3.system.js +4 -0
- package/dist/ionic/p-3c1b93db.system.entry.js +4 -0
- package/dist/ionic/p-3cc276f4.js +4 -0
- package/dist/ionic/p-3dfa54e6.js +4 -0
- package/dist/ionic/{p-a65fe34d.system.entry.js → p-3efc5d47.system.entry.js} +1 -1
- package/dist/ionic/p-432e6521.system.entry.js +4 -0
- package/dist/ionic/{p-da968066.entry.js → p-44c281df.entry.js} +1 -1
- package/dist/ionic/{p-b14c601a.entry.js → p-46f790b3.entry.js} +1 -1
- package/dist/ionic/{p-92b48263.entry.js → p-48cd1ced.entry.js} +1 -1
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/p-4c38fcdd.system.js +4 -0
- package/dist/ionic/{p-3bfe43bc.system.js → p-4ccbf702.system.js} +1 -1
- package/dist/ionic/{p-5468bfbf.entry.js → p-4de02483.entry.js} +1 -1
- package/dist/ionic/p-4e6c9480.system.entry.js +4 -0
- package/dist/ionic/p-4e7c68a5.entry.js +4 -0
- package/dist/ionic/{p-dbfc5db6.js → p-5771eacd.js} +1 -1
- package/dist/ionic/{p-413a936c.entry.js → p-5a583b1a.entry.js} +1 -1
- package/dist/ionic/p-5c766439.entry.js +4 -0
- package/dist/ionic/p-5c8fa89d.system.js +4 -0
- package/dist/ionic/{p-71e8ffdd.system.js → p-5cc80c49.system.js} +1 -1
- package/dist/ionic/p-614c3822.system.js +4 -0
- package/dist/ionic/{p-f41914c0.system.entry.js → p-614d974e.system.entry.js} +1 -1
- package/dist/ionic/p-62836b01.js +4 -0
- package/dist/ionic/p-63fe75bc.js +4 -0
- package/dist/ionic/p-664480c8.system.entry.js +4 -0
- package/dist/ionic/{p-2da8c20c.system.entry.js → p-6b6ee9ca.system.entry.js} +1 -1
- package/dist/ionic/{p-726b9197.system.entry.js → p-6c555957.system.entry.js} +1 -1
- package/dist/ionic/{p-fac985b6.system.entry.js → p-6ca5f4da.system.entry.js} +1 -1
- package/dist/ionic/p-6d7c455f.js +4 -0
- package/dist/ionic/p-6f418011.system.entry.js +4 -0
- package/dist/ionic/p-713374f2.entry.js +4 -0
- package/dist/ionic/{p-39c02066.system.entry.js → p-727aa804.system.entry.js} +1 -1
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/p-737d64f9.entry.js +4 -0
- package/dist/ionic/{p-49a3fc76.entry.js → p-77c3fe69.entry.js} +1 -1
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/{p-f670192b.system.entry.js → p-7986665a.system.entry.js} +1 -1
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7b341352.js +4 -0
- package/dist/ionic/p-7c9d5354.entry.js +4 -0
- package/dist/ionic/p-7ccf7f29.entry.js +4 -0
- package/dist/ionic/p-7dfa7ebc.entry.js +4 -0
- package/dist/ionic/p-80ff4e55.entry.js +4 -0
- package/dist/ionic/{p-6d9e1887.system.entry.js → p-82028c01.system.entry.js} +1 -1
- package/dist/ionic/{p-0695a0af.system.entry.js → p-8285d686.system.entry.js} +1 -1
- package/dist/ionic/p-82d80c8f.entry.js +4 -0
- package/dist/ionic/{p-a9fd9d48.js → p-83948e48.js} +2 -2
- package/dist/ionic/p-83e4478f.entry.js +4 -0
- package/dist/ionic/{p-4a9b61ed.system.entry.js → p-854b1e11.system.entry.js} +1 -1
- package/dist/ionic/p-8635f5e6.system.js +4 -0
- package/dist/ionic/p-87365857.system.entry.js +4 -0
- package/dist/ionic/p-87a81a63.system.entry.js +4 -0
- package/dist/ionic/{p-e61e3bb4.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-b9b36d56.js → p-89b61afc.js} +1 -1
- package/dist/ionic/{p-747e9c9a.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/p-916f6c1d.entry.js +4 -0
- package/dist/ionic/{p-846dd10a.entry.js → p-927b5898.entry.js} +1 -1
- package/dist/ionic/p-93cf45ec.system.entry.js +4 -0
- package/dist/ionic/p-9493acfe.entry.js +4 -0
- package/dist/ionic/p-9805b25a.system.entry.js +4 -0
- package/dist/ionic/{p-bd50f24e.system.entry.js → p-9c8e5275.system.entry.js} +1 -1
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/p-a1b80dd6.system.js +4 -0
- package/dist/ionic/{p-2c5d7d84.system.js → p-a4519424.system.js} +1 -1
- package/dist/ionic/p-a8a04757.system.entry.js +4 -0
- package/dist/ionic/{p-f8e329da.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/{p-c9ef0ca7.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b24c259e.entry.js +4 -0
- package/dist/ionic/p-b33b643b.entry.js +4 -0
- package/dist/ionic/p-b51e4004.js +4 -0
- package/dist/ionic/{p-4b153a9f.entry.js → p-b6d72f12.entry.js} +1 -1
- package/dist/ionic/p-ba45ad7d.entry.js +4 -0
- package/dist/ionic/p-bc8e48de.entry.js +4 -0
- package/dist/ionic/p-bcf5573f.entry.js +4 -0
- package/dist/ionic/{p-ab6e0f02.system.entry.js → p-bcfa9bb5.system.entry.js} +1 -1
- package/dist/ionic/{p-69e54172.js → p-bd7fb7b4.js} +1 -1
- package/dist/ionic/p-bdd4e026.entry.js +4 -0
- package/dist/ionic/{p-ac64cba5.entry.js → p-bef12497.entry.js} +1 -1
- package/dist/ionic/{p-d085c881.system.entry.js → p-bf673222.system.entry.js} +1 -1
- package/dist/ionic/{p-6f8c2e62.system.entry.js → p-c32229bb.system.entry.js} +1 -1
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/{p-3a11234f.system.js → p-c4ae4d32.system.js} +1 -1
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/p-c628bdcb.system.js +4 -0
- package/dist/ionic/p-c6f1b434.js +4 -0
- package/dist/ionic/{p-d1e991c3.js → p-c7e16491.js} +1 -1
- package/dist/ionic/{p-cb8800fe.system.entry.js → p-ca3bf740.system.entry.js} +1 -1
- package/dist/ionic/{p-d0b7fe70.entry.js → p-cb3dc48f.entry.js} +1 -1
- package/dist/ionic/p-cd40baea.entry.js +4 -0
- package/dist/ionic/{p-291dc0b3.system.entry.js → p-cde755fc.system.entry.js} +1 -1
- package/dist/ionic/{p-73e32456.system.js → p-ce5c2902.system.js} +1 -1
- package/dist/ionic/{p-68f3fa48.system.entry.js → p-d05aabdf.system.entry.js} +2 -2
- package/dist/ionic/{p-0a701833.entry.js → p-d3fd2c98.entry.js} +1 -1
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/p-d53e0b4b.entry.js +4 -0
- package/dist/ionic/{p-b6fc8ee2.system.entry.js → p-d6eda1bb.system.entry.js} +1 -1
- package/dist/ionic/p-d79ed7b3.system.js +4 -0
- package/dist/ionic/{p-2c368e32.entry.js → p-d878447e.entry.js} +1 -1
- package/dist/ionic/{p-c2a4c5c5.system.entry.js → p-db63907a.system.entry.js} +1 -1
- package/dist/ionic/p-dbb02a23.system.entry.js +4 -0
- package/dist/ionic/p-dd79c031.js +4 -0
- package/dist/ionic/{p-eeb60a8f.entry.js → p-dde3a646.entry.js} +1 -1
- package/dist/ionic/{p-e5239905.system.entry.js → p-dfd995cc.system.entry.js} +1 -1
- package/dist/ionic/p-e050dad9.system.js +4 -0
- package/dist/ionic/{p-9a9eb866.entry.js → p-e259208f.entry.js} +1 -1
- package/dist/ionic/p-e2bd011e.js +4 -0
- package/dist/ionic/{p-80342c88.system.entry.js → p-e34e037d.system.entry.js} +1 -1
- package/dist/ionic/{p-49d80815.entry.js → p-e5333f3f.entry.js} +1 -1
- package/dist/ionic/{p-fbcb3139.entry.js → p-e61c9280.entry.js} +1 -1
- package/dist/ionic/p-ea16a842.entry.js +4 -0
- package/dist/ionic/p-eafeb1ff.system.js +4 -0
- package/dist/ionic/p-ed419a44.entry.js +4 -0
- package/dist/ionic/{p-093de343.system.entry.js → p-eef611dc.system.entry.js} +1 -1
- package/dist/ionic/{p-6ecebfc6.entry.js → p-f3cfb48a.entry.js} +1 -1
- package/dist/ionic/{p-d346c889.system.entry.js → p-f4ad1cf6.system.entry.js} +1 -1
- package/dist/ionic/{p-d8339079.system.js → p-f7712c17.system.js} +1 -1
- package/dist/ionic/p-f9782d44.system.entry.js +4 -0
- package/dist/types/components/app/app.d.ts +2 -0
- package/dist/types/global/ionic-global.d.ts +0 -2
- package/dist/types/utils/config.d.ts +0 -7
- package/dist/types/utils/focus-visible.d.ts +0 -1
- package/hydrate/index.js +150 -161
- package/hydrate/index.mjs +150 -161
- package/package.json +1 -1
- package/components/config2.js +0 -79
- package/dist/esm-es5/animation-16546c84.js +0 -4
- package/dist/esm-es5/app-globals-35381e66.js +0 -4
- package/dist/esm-es5/button-active-c768aceb.js +0 -4
- package/dist/esm-es5/capacitor-0897b83c.js +0 -4
- package/dist/esm-es5/focus-visible-501aff19.js +0 -4
- package/dist/esm-es5/framework-delegate-56698eb0.js +0 -4
- package/dist/esm-es5/helpers-d57f52c8.js +0 -4
- package/dist/esm-es5/index-7f65e865.js +0 -4
- package/dist/esm-es5/index-82405a4a.js +0 -4
- package/dist/esm-es5/index-edf94b3b.js +0 -4
- package/dist/esm-es5/input-shims-0f3cc1c3.js +0 -4
- package/dist/esm-es5/input.utils-ef4d8197.js +0 -4
- package/dist/esm-es5/ionic-global-d7017fd9.js +0 -4
- package/dist/esm-es5/ios.transition-4b9fe79e.js +0 -4
- package/dist/esm-es5/keyboard-584d2e6f.js +0 -4
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +0 -4
- package/dist/esm-es5/md.transition-a71dc418.js +0 -4
- package/dist/esm-es5/notch-controller-4d9a7b28.js +0 -4
- package/dist/esm-es5/overlays-9da9aef5.js +0 -4
- package/dist/esm-es5/status-tap-82f51b25.js +0 -4
- package/dist/esm-es5/swipe-back-c5709ce5.js +0 -4
- package/dist/ionic/p-027d729e.entry.js +0 -4
- package/dist/ionic/p-036e1c5b.entry.js +0 -4
- package/dist/ionic/p-08df90cf.system.js +0 -4
- package/dist/ionic/p-08f1ef0c.entry.js +0 -4
- package/dist/ionic/p-0ade0499.system.entry.js +0 -4
- package/dist/ionic/p-1037b7dd.js +0 -4
- package/dist/ionic/p-12e3e308.entry.js +0 -4
- package/dist/ionic/p-14719a77.entry.js +0 -4
- package/dist/ionic/p-15d51b10.js +0 -4
- package/dist/ionic/p-221e5078.system.js +0 -4
- package/dist/ionic/p-25e2c98f.system.js +0 -4
- package/dist/ionic/p-26f7c080.system.js +0 -4
- package/dist/ionic/p-28d04212.system.js +0 -4
- package/dist/ionic/p-29d6d1fc.system.entry.js +0 -4
- package/dist/ionic/p-2a559ac6.js +0 -4
- package/dist/ionic/p-2a79e451.entry.js +0 -4
- package/dist/ionic/p-2b428cf6.entry.js +0 -4
- package/dist/ionic/p-2d621d56.system.entry.js +0 -4
- package/dist/ionic/p-334c09da.entry.js +0 -4
- package/dist/ionic/p-33a1d951.system.entry.js +0 -4
- package/dist/ionic/p-36bdcfc4.js +0 -4
- package/dist/ionic/p-388ac217.js +0 -4
- package/dist/ionic/p-3ca5196c.js +0 -4
- package/dist/ionic/p-419fac38.entry.js +0 -4
- package/dist/ionic/p-434c7348.system.entry.js +0 -4
- package/dist/ionic/p-45e150eb.js +0 -4
- package/dist/ionic/p-46787abb.system.js +0 -4
- package/dist/ionic/p-46cc2492.system.js +0 -4
- package/dist/ionic/p-4c251d59.entry.js +0 -4
- package/dist/ionic/p-4e202665.js +0 -4
- package/dist/ionic/p-4ea10a10.entry.js +0 -4
- package/dist/ionic/p-4feea938.entry.js +0 -4
- package/dist/ionic/p-5655419d.system.entry.js +0 -4
- package/dist/ionic/p-5ce35a03.js +0 -4
- package/dist/ionic/p-5dc2a7c6.entry.js +0 -4
- package/dist/ionic/p-6320cbc1.system.entry.js +0 -4
- package/dist/ionic/p-643e2eb8.js +0 -4
- package/dist/ionic/p-660f3b98.entry.js +0 -4
- package/dist/ionic/p-6ad6d594.js +0 -4
- package/dist/ionic/p-70c6cd75.system.js +0 -4
- package/dist/ionic/p-7759fac2.system.entry.js +0 -4
- package/dist/ionic/p-7ebc381e.entry.js +0 -4
- package/dist/ionic/p-83d5ee25.entry.js +0 -4
- package/dist/ionic/p-8421aedf.js +0 -4
- package/dist/ionic/p-90089868.system.entry.js +0 -4
- package/dist/ionic/p-931dc464.entry.js +0 -4
- package/dist/ionic/p-95e22fa9.entry.js +0 -4
- package/dist/ionic/p-9c526519.entry.js +0 -4
- package/dist/ionic/p-9e4ede77.system.entry.js +0 -4
- package/dist/ionic/p-9e8e25e4.system.js +0 -4
- package/dist/ionic/p-9e9bff83.system.js +0 -4
- package/dist/ionic/p-9f51595b.entry.js +0 -4
- package/dist/ionic/p-a4df1928.entry.js +0 -4
- package/dist/ionic/p-a6aaef61.system.entry.js +0 -4
- package/dist/ionic/p-a856dbc6.entry.js +0 -4
- package/dist/ionic/p-aacc6ddd.system.js +0 -5
- package/dist/ionic/p-adaa7af1.entry.js +0 -4
- package/dist/ionic/p-adec897a.system.entry.js +0 -4
- package/dist/ionic/p-b0e10591.entry.js +0 -4
- package/dist/ionic/p-b19a9aa9.system.js +0 -4
- package/dist/ionic/p-b297c7b5.system.js +0 -4
- package/dist/ionic/p-ba3ddec4.js +0 -4
- package/dist/ionic/p-c6191942.js +0 -4
- package/dist/ionic/p-c6e47379.entry.js +0 -4
- package/dist/ionic/p-c7e967c0.system.entry.js +0 -4
- package/dist/ionic/p-c8097757.system.entry.js +0 -4
- package/dist/ionic/p-cb131dda.system.entry.js +0 -4
- package/dist/ionic/p-cf2f1ede.entry.js +0 -4
- package/dist/ionic/p-d0259f44.system.js +0 -4
- package/dist/ionic/p-d0953ec9.system.entry.js +0 -4
- package/dist/ionic/p-d10313a6.system.js +0 -4
- package/dist/ionic/p-d2a55f0a.system.entry.js +0 -4
- package/dist/ionic/p-d2ef848a.entry.js +0 -4
- package/dist/ionic/p-db8aeb40.system.js +0 -4
- package/dist/ionic/p-dd50ef12.js +0 -4
- package/dist/ionic/p-e270862e.js +0 -4
- package/dist/ionic/p-e7546060.entry.js +0 -4
- package/dist/ionic/p-eb376af4.entry.js +0 -4
- package/dist/ionic/p-ee091b80.system.entry.js +0 -4
- package/dist/ionic/p-f065578f.js +0 -4
- package/dist/ionic/p-f4ae533b.js +0 -4
- package/dist/ionic/p-f61ce679.js +0 -4
- package/dist/ionic/p-f63f81aa.system.entry.js +0 -4
- package/dist/ionic/p-fb0c3efa.entry.js +0 -4
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
9
|
const theme = require('./theme-d1c573d2.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const ionicGlobal = require('./ionic-global-5df85d73.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
|
+
index.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 || ionicGlobal.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 (index.h(index.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 || ionicGlobal.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, total) => {
|
|
79
|
-
const data = spinner.fn(duration, index, total);
|
|
78
|
+
const buildCircle = (spinner, duration, index$1, total) => {
|
|
79
|
+
const data = spinner.fn(duration, index$1, total);
|
|
80
80
|
data.style['animation-duration'] = duration + 'ms';
|
|
81
|
-
return (
|
|
81
|
+
return (index.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, index.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, total) => {
|
|
84
|
-
const data = spinner.fn(duration, index, total);
|
|
83
|
+
const buildLine = (spinner, duration, index$1, total) => {
|
|
84
|
+
const data = spinner.fn(duration, index$1, total);
|
|
85
85
|
data.style['animation-duration'] = duration + 'ms';
|
|
86
|
-
return (
|
|
86
|
+
return (index.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, index.h("line", { transform: "translate(32,32)", y1: data.y1, y2: data.y2 })));
|
|
87
87
|
};
|
|
88
88
|
Spinner.style = {
|
|
89
89
|
ionic: IonSpinnerIonicStyle0,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
const ionicGlobal = require('./ionic-global-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
10
10
|
|
|
11
11
|
const ionicSplitPaneMdCss = ":host{--side-width:100%;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}:host(.split-pane-visible) ::slotted(.split-pane-main){right:0;left:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:1px solid 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)))));--side-min-width:270px;--side-max-width:28%}";
|
|
12
12
|
const IonSplitPaneIonicStyle0 = ionicSplitPaneMdCss;
|
|
@@ -30,8 +30,8 @@ const QUERY = {
|
|
|
30
30
|
};
|
|
31
31
|
const SplitPane = class {
|
|
32
32
|
constructor(hostRef) {
|
|
33
|
-
|
|
34
|
-
this.ionSplitPaneVisible =
|
|
33
|
+
index.registerInstance(this, hostRef);
|
|
34
|
+
this.ionSplitPaneVisible = index.createEvent(this, "ionSplitPaneVisible", 7);
|
|
35
35
|
this.visible = false;
|
|
36
36
|
this.contentId = undefined;
|
|
37
37
|
this.disabled = false;
|
|
@@ -128,14 +128,14 @@ const SplitPane = class {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
const theme = ionicGlobal.getIonTheme(this);
|
|
131
|
-
return (
|
|
131
|
+
return (index.h(index.Host, { key: 'f2090ca1bf3210b4ba6e20adafbc6f5839704cdd', class: {
|
|
132
132
|
[theme]: true,
|
|
133
133
|
// Used internally for styling
|
|
134
134
|
[`split-pane-${theme}`]: true,
|
|
135
135
|
'split-pane-visible': this.visible,
|
|
136
|
-
} },
|
|
136
|
+
} }, index.h("slot", { key: '3ecadb0aa95e4b7799b34122afe25d028bba8710' })));
|
|
137
137
|
}
|
|
138
|
-
get el() { return
|
|
138
|
+
get el() { return index.getElement(this); }
|
|
139
139
|
static get watchers() { return {
|
|
140
140
|
"visible": ["visibleChanged"],
|
|
141
141
|
"disabled": ["updateState"],
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
const keyboardController = require('./keyboard-controller-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
|
-
const ionicGlobal = require('./ionic-global-
|
|
12
|
-
const helpers = require('./helpers-
|
|
13
|
-
require('./
|
|
14
|
-
require('./
|
|
11
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
12
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
13
|
+
require('./index-c8d52405.js');
|
|
14
|
+
require('./keyboard-0272231f.js');
|
|
15
|
+
require('./capacitor-c04564bf.js');
|
|
15
16
|
|
|
16
17
|
const tabBarIonicCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-top:var(--border);background:var(--background);color:var(--color);text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host(.tab-bar-full){width:auto;contain:strict;padding-bottom:var(--ion-safe-area-bottom, 0);padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);}:host([slot=top].tab-bar-full){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0}:host{--background:var(--ion-tab-bar-background, var(--ionic-color-base-white, #ffffff));--background-activated:var(--ion-tab-bar-background-activated, var(--ionic-color-neutral-100, #f1f1f1));--background-focused:var(--ion-tab-bar-background-focused, transparent);--color:var(--ion-tab-bar-color, var(--ionic-color-neutral-800, #626262));--color-selected:var(--ion-tab-bar-color-selected, var(--ionic-color-primary-base, #105cef));min-height:calc(var(--ionic-scale-1400, 56px) - var(--ionic-space-100, 4px) * 2);gap:var(--ionic-space-300, 12px);z-index:10}:host(.tab-bar-full){padding-top:var(--ionic-space-100, 4px);padding-bottom:calc(var(--ionic-space-100, 4px) + var(--ion-safe-area-bottom, 0));padding-right:calc(var(--ionic-space-400, 16px) + var(--ion-safe-area-right, 0));padding-left:calc(var(--ionic-space-400, 16px) + var(--ion-safe-area-left, 0));}:host([slot=top].tab-bar-full){padding-top:calc(var(--ionic-space-100, 4px) + var(--ion-safe-area-top, 0));padding-bottom:var(--ionic-space-100, 4px)}:host(.tab-bar-compact){-webkit-padding-start:var(--ionic-space-400, 16px);padding-inline-start:var(--ionic-space-400, 16px);-webkit-padding-end:var(--ionic-space-400, 16px);padding-inline-end:var(--ionic-space-400, 16px);padding-top:var(--ionic-space-100, 4px);padding-bottom:var(--ionic-space-100, 4px);position:absolute;-ms-flex-item-align:center;align-self:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;-webkit-box-shadow:var(--ionic-elevation-200, 0px 8px 25px 0px rgba(0, 0, 0, 0.08), 0px 1px 5px 0px rgba(0, 0, 0, 0.05));box-shadow:var(--ionic-elevation-200, 0px 8px 25px 0px rgba(0, 0, 0, 0.08), 0px 1px 5px 0px rgba(0, 0, 0, 0.05));contain:content}:host([slot=top].tab-bar-compact){top:calc(var(--ionic-space-100, 4px) + var(--ion-safe-area-top, 0))}:host([slot=bottom].tab-bar-compact){bottom:calc(var(--ionic-space-100, 4px) + var(--ion-safe-area-bottom, 0))}:host(.tab-bar-soft){border-radius:var(--ionic-border-radius-400, 16px)}:host(.tab-bar-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.tab-bar-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}";
|
|
17
18
|
const IonTabBarIonicStyle0 = tabBarIonicCss;
|
|
@@ -24,9 +25,9 @@ const IonTabBarMdStyle0 = tabBarMdCss;
|
|
|
24
25
|
|
|
25
26
|
const TabBar = class {
|
|
26
27
|
constructor(hostRef) {
|
|
27
|
-
|
|
28
|
-
this.ionTabBarChanged =
|
|
29
|
-
this.ionTabBarLoaded =
|
|
28
|
+
index.registerInstance(this, hostRef);
|
|
29
|
+
this.ionTabBarChanged = index.createEvent(this, "ionTabBarChanged", 7);
|
|
30
|
+
this.ionTabBarLoaded = index.createEvent(this, "ionTabBarLoaded", 7);
|
|
30
31
|
this.keyboardCtrl = null;
|
|
31
32
|
this.keyboardVisible = false;
|
|
32
33
|
this.color = undefined;
|
|
@@ -83,15 +84,15 @@ const TabBar = class {
|
|
|
83
84
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
84
85
|
const shape = this.getShape();
|
|
85
86
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
86
|
-
return (
|
|
87
|
+
return (index.h(index.Host, { key: 'd40f03145bfe9e017b6f894efe6a7cb102da0074', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: theme.createColorClasses(color, {
|
|
87
88
|
[theme$1]: true,
|
|
88
89
|
'tab-bar-translucent': translucent,
|
|
89
90
|
'tab-bar-hidden': shouldHide,
|
|
90
91
|
[`tab-bar-${expand}`]: true,
|
|
91
92
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
92
|
-
}) },
|
|
93
|
+
}) }, index.h("slot", { key: '72edcdfee331554c5c5d3eb98bec9dcf2d37c2fa' })));
|
|
93
94
|
}
|
|
94
|
-
get el() { return
|
|
95
|
+
get el() { return index.getElement(this); }
|
|
95
96
|
static get watchers() { return {
|
|
96
97
|
"selectedTab": ["selectedTabChanged"]
|
|
97
98
|
}; }
|
|
@@ -113,8 +114,8 @@ const IonTabButtonMdStyle0 = tabButtonMdCss;
|
|
|
113
114
|
|
|
114
115
|
const TabButton = class {
|
|
115
116
|
constructor(hostRef) {
|
|
116
|
-
|
|
117
|
-
this.ionTabButtonClick =
|
|
117
|
+
index.registerInstance(this, hostRef);
|
|
118
|
+
this.ionTabButtonClick = index.createEvent(this, "ionTabButtonClick", 7);
|
|
118
119
|
this.inheritedAttributes = {};
|
|
119
120
|
this.onKeyUp = (ev) => {
|
|
120
121
|
if (ev.key === 'Enter' || ev.key === ' ') {
|
|
@@ -143,7 +144,7 @@ const TabButton = class {
|
|
|
143
144
|
componentWillLoad() {
|
|
144
145
|
this.inheritedAttributes = Object.assign({}, helpers.inheritAttributes(this.el, ['aria-label']));
|
|
145
146
|
if (this.layout === undefined) {
|
|
146
|
-
this.layout =
|
|
147
|
+
this.layout = ionicGlobal.config.get('tabButtonLayout', 'icon-top');
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
selectTab(ev) {
|
|
@@ -173,7 +174,7 @@ const TabButton = class {
|
|
|
173
174
|
rel,
|
|
174
175
|
target,
|
|
175
176
|
};
|
|
176
|
-
return (
|
|
177
|
+
return (index.h(index.Host, { key: '9d7ead0ffeaea5d99e3aa357bff6c5ac64fa1f26', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
177
178
|
[theme]: true,
|
|
178
179
|
'tab-selected': selected,
|
|
179
180
|
'tab-disabled': disabled,
|
|
@@ -185,9 +186,9 @@ const TabButton = class {
|
|
|
185
186
|
'ion-activatable': true,
|
|
186
187
|
'ion-selectable': true,
|
|
187
188
|
'ion-focusable': true,
|
|
188
|
-
} },
|
|
189
|
+
} }, index.h("a", Object.assign({ key: 'fa0e9730e8b396d83df43a97b41067bbc6b195c2' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), index.h("span", { key: '70b80731de0115a7720de8f0e1f16bac4eb326c3', class: "button-inner" }, index.h("slot", { key: '3abf65a17ef45a00ae54909b3301f68117a04575' })), theme === 'md' && index.h("ion-ripple-effect", { key: 'becf3d93675dc8943dc16fc27d204b5c1ad00817', type: "unbounded" }))));
|
|
189
190
|
}
|
|
190
|
-
get el() { return
|
|
191
|
+
get el() { return index.getElement(this); }
|
|
191
192
|
};
|
|
192
193
|
TabButton.style = {
|
|
193
194
|
ionic: IonTabButtonIonicStyle0,
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
const frameworkDelegate = require('./framework-delegate-
|
|
10
|
-
require('./helpers-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
10
|
+
require('./helpers-afaa9001.js');
|
|
11
11
|
|
|
12
12
|
const tabCss = ":host(.tab-hidden){display:none !important}";
|
|
13
13
|
const IonTabStyle0 = tabCss;
|
|
14
14
|
|
|
15
15
|
const Tab = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
|
-
|
|
17
|
+
index.registerInstance(this, hostRef);
|
|
18
18
|
this.loaded = false;
|
|
19
19
|
this.active = false;
|
|
20
20
|
this.delegate = undefined;
|
|
@@ -50,12 +50,12 @@ const Tab = class {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const { tab, active, component } = this;
|
|
53
|
-
return (
|
|
53
|
+
return (index.h(index.Host, { key: '91a0d6e7f70446804044b06eaf22e6fe0eb14510', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
54
54
|
'ion-page': component === undefined,
|
|
55
55
|
'tab-hidden': !active,
|
|
56
|
-
} },
|
|
56
|
+
} }, index.h("slot", { key: '6bb7036c2a8a149212b5afdc0a34c6131efd1aee' })));
|
|
57
57
|
}
|
|
58
|
-
get el() { return
|
|
58
|
+
get el() { return index.getElement(this); }
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"active": ["changeActive"]
|
|
61
61
|
}; }
|
|
@@ -67,10 +67,10 @@ const IonTabsStyle0 = tabsCss;
|
|
|
67
67
|
|
|
68
68
|
const Tabs = class {
|
|
69
69
|
constructor(hostRef) {
|
|
70
|
-
|
|
71
|
-
this.ionNavWillLoad =
|
|
72
|
-
this.ionTabsWillChange =
|
|
73
|
-
this.ionTabsDidChange =
|
|
70
|
+
index.registerInstance(this, hostRef);
|
|
71
|
+
this.ionNavWillLoad = index.createEvent(this, "ionNavWillLoad", 7);
|
|
72
|
+
this.ionTabsWillChange = index.createEvent(this, "ionTabsWillChange", 3);
|
|
73
|
+
this.ionTabsDidChange = index.createEvent(this, "ionTabsDidChange", 3);
|
|
74
74
|
this.transitioning = false;
|
|
75
75
|
this.onTabClicked = (ev) => {
|
|
76
76
|
const { href, tab } = ev.detail;
|
|
@@ -207,9 +207,9 @@ const Tabs = class {
|
|
|
207
207
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
|
-
return (
|
|
210
|
+
return (index.h(index.Host, { key: '8c49b3444aa8b7644ae33e473185cd649c33b928', onIonTabButtonClick: this.onTabClicked }, index.h("slot", { key: 'b7109de372e44f8859e3510fe811ec2f99d87f43', name: "top" }), index.h("div", { key: 'b1fd35fec85c725988b4411ec3d06d36e60c0443', class: "tabs-inner" }, index.h("slot", { key: '9a7a8d71899a99141894bf4ff13dfad7e87cd444' })), index.h("slot", { key: '11146e83424167f84f5c755b4449801223c06527', name: "bottom" })));
|
|
211
211
|
}
|
|
212
|
-
get el() { return
|
|
212
|
+
get el() { return index.getElement(this); }
|
|
213
213
|
};
|
|
214
214
|
const getTab = (tabs, tab) => {
|
|
215
215
|
const tabEl = typeof tab === 'string' ? tabs.find((t) => t.tab === tab) : tab;
|
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
9
|
const theme = require('./theme-d1c573d2.js');
|
|
10
|
-
const ionicGlobal = require('./ionic-global-
|
|
10
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
11
11
|
|
|
12
12
|
const textCss = ":host(.ion-color){color:var(--ion-color-base)}";
|
|
13
13
|
const IonTextStyle0 = textCss;
|
|
14
14
|
|
|
15
15
|
const Text = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
|
-
|
|
17
|
+
index.registerInstance(this, hostRef);
|
|
18
18
|
this.color = undefined;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
22
|
-
return (
|
|
22
|
+
return (index.h(index.Host, { key: '1d7afeee75e183280309a1300a919eb6b554226c', class: theme.createColorClasses(this.color, {
|
|
23
23
|
[theme$1]: true,
|
|
24
|
-
}) },
|
|
24
|
+
}) }, index.h("slot", { key: '5083935a5010701514fb18576912eabb738bb862' })));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
Text.style = IonTextStyle0;
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
const notchController = require('./notch-controller-
|
|
10
|
-
const helpers = require('./helpers-
|
|
11
|
-
const input_utils = require('./input.utils-
|
|
8
|
+
const index = require('./index-73f75efb.js');
|
|
9
|
+
const notchController = require('./notch-controller-d69150f5.js');
|
|
10
|
+
const helpers = require('./helpers-afaa9001.js');
|
|
11
|
+
const input_utils = require('./input.utils-44ff82f0.js');
|
|
12
12
|
const theme = require('./theme-d1c573d2.js');
|
|
13
|
-
const ionicGlobal = require('./ionic-global-
|
|
13
|
+
const ionicGlobal = require('./ionic-global-5df85d73.js');
|
|
14
|
+
require('./index-c8d52405.js');
|
|
14
15
|
|
|
15
16
|
const textareaIonicCss = ".sc-ion-textarea-ionic-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--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%;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box}[cols].sc-ion-textarea-ionic-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ion-color.sc-ion-textarea-ionic-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ionic-h,ion-item .sc-ion-textarea-ionic-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item[slot=start].sc-ion-textarea-ionic-h,ion-item [slot=start].sc-ion-textarea-ionic-h,ion-item[slot=end].sc-ion-textarea-ionic-h,ion-item [slot=end].sc-ion-textarea-ionic-h{width:auto}.native-textarea.sc-ion-textarea-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ionic::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ionic::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ionic:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ionic::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ionic::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ionic{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ionic{top:0;bottom:0;position:absolute;pointer-events:none}.cloned-input.sc-ion-textarea-ionic{inset-inline-start:0}.cloned-input.sc-ion-textarea-ionic:disabled{opacity:1}[auto-grow].sc-ion-textarea-ionic-h .cloned-input.sc-ion-textarea-ionic{height:100%}[auto-grow].sc-ion-textarea-ionic-h .native-textarea.sc-ion-textarea-ionic{overflow:hidden}.textarea-wrapper.sc-ion-textarea-ionic{-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:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ionic{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ionic{display:grid;min-width:inherit;max-width:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ionic::after{white-space:pre-wrap;content:attr(data-replicated-value) \" \";visibility:hidden}.native-wrapper.sc-ion-textarea-ionic::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-ionic{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-ionic-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ionic-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ionic{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color)}.has-focus.ion-valid.sc-ion-textarea-ionic-h,.ion-touched.ion-invalid.sc-ion-textarea-ionic-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ionic .error-text.sc-ion-textarea-ionic{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ionic .helper-text.sc-ion-textarea-ionic{display:block;color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))}.ion-touched.ion-invalid.sc-ion-textarea-ionic-h .textarea-bottom.sc-ion-textarea-ionic .error-text.sc-ion-textarea-ionic{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ionic-h .textarea-bottom.sc-ion-textarea-ionic .helper-text.sc-ion-textarea-ionic{display:none}.textarea-bottom.sc-ion-textarea-ionic .counter.sc-ion-textarea-ionic{-webkit-margin-start:auto;margin-inline-start:auto;white-space:nowrap}.label-text-wrapper.sc-ion-textarea-ionic{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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.sc-ion-textarea-ionic,.sc-ion-textarea-ionic-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ionic,.textarea-outline-notch-hidden.sc-ion-textarea-ionic{display:none}.textarea-wrapper.sc-ion-textarea-ionic textarea.sc-ion-textarea-ionic{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ionic-h .textarea-wrapper.sc-ion-textarea-ionic{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-end.sc-ion-textarea-ionic-h .textarea-wrapper.sc-ion-textarea-ionic{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-fixed.sc-ion-textarea-ionic-h .label-text.sc-ion-textarea-ionic{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ionic-h .textarea-wrapper.sc-ion-textarea-ionic,.textarea-label-placement-floating.sc-ion-textarea-ionic-h .textarea-wrapper.sc-ion-textarea-ionic{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,.textarea-label-placement-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ionic-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl] .sc-ion-textarea-ionic-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl].sc-ion-textarea-ionic-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl] .sc-ion-textarea-ionic-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ionic-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ionic,.textarea-label-placement-floating.sc-ion-textarea-ionic-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ionic{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic,.textarea-label-placement-floating.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ionic-h .native-wrapper.sc-ion-textarea-ionic::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ionic-h .native-wrapper.sc-ion-textarea-ionic::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.textarea-label-placement-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic,.has-value.textarea-label-placement-floating.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic{opacity:1}.label-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-ionic,.end-slot-wrapper.sc-ion-textarea-ionic{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.textarea-fill-outline.sc-ion-textarea-ionic-h{--border-width:var(--ionic-border-size-025, 1px);--border-color:var(--ionic-color-neutral-500, #a2a2a2)}.textarea-fill-outline.sc-ion-textarea-ionic-h .textarea-wrapper.sc-ion-textarea-ionic{background:initial}.textarea-fill-outline.sc-ion-textarea-ionic-h .textarea-wrapper-inner.sc-ion-textarea-ionic{position:relative}.textarea-fill-outline.sc-ion-textarea-ionic-h .textarea-outline.sc-ion-textarea-ionic{right:0;left:0;top:0;bottom:0;border-radius:var(--border-radius);position:absolute;width:100%;height:100%;pointer-events:none;border:var(--border-width) var(--border-style) var(--border-color);background:var(--background)}.textarea-fill-outline.sc-ion-textarea-ionic-h .textarea-bottom.sc-ion-textarea-ionic{border-top:none}.textarea-fill-outline.sc-ion-textarea-ionic-h textarea.sc-ion-textarea-ionic{margin-top:var(--ionic-space-100, 4px)}.sc-ion-textarea-ionic-h{--color:var(--ionic-color-neutral-1200, #242424);--highlight-color-valid:var(--ionic-color-success-base, #1ba433);--highlight-color-invalid:var(--ionic-color-danger-base, #e52929);--placeholder-color:var(--ionic-color-neutral-800, #626262);--placeholder-opacity:1;--background:var(--ionic-color-base-white, #ffffff);font-size:var(--ionic-font-size-350, 0.875rem);font-weight:var(--ionic-font-weight-regular, 400);letter-spacing:var(--ionic-letter-spacing-0, 0);line-height:var(--ionic-line-height-600, 24px);text-decoration:none;text-transform:none}.textarea-wrapper-inner.sc-ion-textarea-ionic{height:0}.textarea-size-small.sc-ion-textarea-ionic-h .textarea-wrapper-inner.sc-ion-textarea-ionic{--padding-top:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-300, 12px);--padding-bottom:var(--ionic-space-200, 8px);--padding-start:var(--ionic-space-300, 12px);min-height:var(--ionic-scale-2800, 112px)}.textarea-size-medium.sc-ion-textarea-ionic-h .textarea-wrapper-inner.sc-ion-textarea-ionic{--padding-top:var(--ionic-space-300, 12px);--padding-end:var(--ionic-space-400, 16px);--padding-bottom:var(--ionic-space-300, 12px);--padding-start:var(--ionic-space-400, 16px);min-height:var(--ionic-scale-3400, 136px)}.textarea-size-large.sc-ion-textarea-ionic-h .textarea-wrapper-inner.sc-ion-textarea-ionic{--padding-top:var(--ionic-space-400, 16px);--padding-end:var(--ionic-space-500, 20px);--padding-bottom:var(--ionic-space-400, 16px);--padding-start:var(--ionic-space-500, 20px);min-height:var(--ionic-scale-3600, 144px)}.textarea-shape-soft.sc-ion-textarea-ionic-h{--border-radius:var(--ionic-border-radius-200, 8px)}.textarea-shape-round.sc-ion-textarea-ionic-h{--border-radius:var(--ionic-border-radius-400, 16px)}.textarea-shape-rectangular.sc-ion-textarea-ionic-h{--border-radius:var(--ionic-border-radius-0, 0px)}.textarea-wrapper.sc-ion-textarea-ionic{gap:var(--ionic-space-100, 4px)}.textarea-wrapper-inner.sc-ion-textarea-ionic{-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)}[auto-grow].sc-ion-textarea-ionic-h .textarea-wrapper-inner.sc-ion-textarea-ionic{height:auto}[auto-grow].sc-ion-textarea-ionic-h .native-wrapper.sc-ion-textarea-ionic{min-height:inherit;max-height:inherit}.label-text-wrapper.sc-ion-textarea-ionic{font-size:var(--ionic-font-size-300, 0.75rem);font-weight:var(--ionic-font-weight-medium, 500);letter-spacing:var(--ionic-letter-spacing-0, 0);line-height:var(--ionic-line-height-500, 20px);text-decoration:none;text-transform:none;color:var(--ionic-color-neutral-1000, #3b3b3b)}.label-floating.sc-ion-textarea-ionic-h .label-text-wrapper.sc-ion-textarea-ionic{-webkit-transform:none;transform:none}ion-icon.sc-ion-textarea-ionic{color:var(--ionic-color-neutral-800, #626262);font-size:var(--ionic-scale-400, 16px)}.start-slot-wrapper.sc-ion-textarea-ionic,.end-slot-wrapper.sc-ion-textarea-ionic{margin-top:var(--ionic-space-050, 2px)}.textarea-bottom.sc-ion-textarea-ionic{-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(--ionic-space-100, 4px);font-size:var(--ionic-font-size-300, 0.75rem);font-weight:var(--ionic-font-weight-medium, 500);letter-spacing:var(--ionic-letter-spacing-0, 0);line-height:var(--ionic-line-height-500, 20px);text-decoration:none;text-transform:none}.textarea-bottom.sc-ion-textarea-ionic .helper-text.sc-ion-textarea-ionic,.textarea-bottom.sc-ion-textarea-ionic .counter.sc-ion-textarea-ionic{color:var(--ionic-color-neutral-800, #626262)}";
|
|
16
17
|
const IonTextareaIonicStyle0 = textareaIonicCss;
|
|
@@ -23,11 +24,11 @@ const IonTextareaMdStyle0 = textareaMdCss;
|
|
|
23
24
|
|
|
24
25
|
const Textarea = class {
|
|
25
26
|
constructor(hostRef) {
|
|
26
|
-
|
|
27
|
-
this.ionChange =
|
|
28
|
-
this.ionInput =
|
|
29
|
-
this.ionBlur =
|
|
30
|
-
this.ionFocus =
|
|
27
|
+
index.registerInstance(this, hostRef);
|
|
28
|
+
this.ionChange = index.createEvent(this, "ionChange", 7);
|
|
29
|
+
this.ionInput = index.createEvent(this, "ionInput", 7);
|
|
30
|
+
this.ionBlur = index.createEvent(this, "ionBlur", 7);
|
|
31
|
+
this.ionFocus = index.createEvent(this, "ionFocus", 7);
|
|
31
32
|
this.inputId = `ion-textarea-${textareaIds++}`;
|
|
32
33
|
/**
|
|
33
34
|
* `true` if the textarea was cleared as a result of the user typing
|
|
@@ -124,7 +125,7 @@ const Textarea = class {
|
|
|
124
125
|
}
|
|
125
126
|
connectedCallback() {
|
|
126
127
|
const { el } = this;
|
|
127
|
-
this.slotMutationController = input_utils.createSlotMutationController(el, ['label', 'start', 'end'], () =>
|
|
128
|
+
this.slotMutationController = input_utils.createSlotMutationController(el, ['label', 'start', 'end'], () => index.forceUpdate(this));
|
|
128
129
|
this.notchController = notchController.createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);
|
|
129
130
|
this.debounceChanged();
|
|
130
131
|
{
|
|
@@ -206,7 +207,7 @@ const Textarea = class {
|
|
|
206
207
|
}
|
|
207
208
|
runAutoGrow() {
|
|
208
209
|
if (this.nativeInput && this.autoGrow) {
|
|
209
|
-
|
|
210
|
+
index.writeTask(() => {
|
|
210
211
|
var _a;
|
|
211
212
|
if (this.textareaWrapper) {
|
|
212
213
|
// Replicated value is an attribute to be used in the stylesheet
|
|
@@ -264,10 +265,10 @@ const Textarea = class {
|
|
|
264
265
|
}
|
|
265
266
|
renderLabel() {
|
|
266
267
|
const { label } = this;
|
|
267
|
-
return (
|
|
268
|
+
return (index.h("div", { class: {
|
|
268
269
|
'label-text-wrapper': true,
|
|
269
270
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
270
|
-
} }, label === undefined ?
|
|
271
|
+
} }, label === undefined ? index.h("slot", { name: "label" }) : index.h("div", { class: "label-text" }, label)));
|
|
271
272
|
}
|
|
272
273
|
/**
|
|
273
274
|
* Gets any content passed into the `label` slot,
|
|
@@ -309,10 +310,10 @@ const Textarea = class {
|
|
|
309
310
|
* inside of that border by using the notch-spacer element.
|
|
310
311
|
*/
|
|
311
312
|
return [
|
|
312
|
-
|
|
313
|
+
index.h("div", { class: "textarea-outline-container" }, index.h("div", { class: "textarea-outline-start" }), index.h("div", { class: {
|
|
313
314
|
'textarea-outline-notch': true,
|
|
314
315
|
'textarea-outline-notch-hidden': !this.hasLabel,
|
|
315
|
-
} },
|
|
316
|
+
} }, index.h("div", { class: "notch-spacer", "aria-hidden": "true", ref: (el) => (this.notchSpacerEl = el) }, this.label)), index.h("div", { class: "textarea-outline-end" })),
|
|
316
317
|
this.renderLabel(),
|
|
317
318
|
];
|
|
318
319
|
}
|
|
@@ -327,14 +328,14 @@ const Textarea = class {
|
|
|
327
328
|
*/
|
|
328
329
|
renderHintText() {
|
|
329
330
|
const { helperText, errorText } = this;
|
|
330
|
-
return [
|
|
331
|
+
return [index.h("div", { class: "helper-text" }, helperText), index.h("div", { class: "error-text" }, errorText)];
|
|
331
332
|
}
|
|
332
333
|
renderCounter() {
|
|
333
334
|
const { counter, maxlength, counterFormatter, value } = this;
|
|
334
335
|
if (counter !== true || maxlength === undefined) {
|
|
335
336
|
return;
|
|
336
337
|
}
|
|
337
|
-
return
|
|
338
|
+
return index.h("div", { class: "counter" }, input_utils.getCounterText(value, maxlength, counterFormatter));
|
|
338
339
|
}
|
|
339
340
|
/**
|
|
340
341
|
* Responsible for rendering helper text,
|
|
@@ -352,7 +353,7 @@ const Textarea = class {
|
|
|
352
353
|
if (!hasHintText && !hasCounter) {
|
|
353
354
|
return;
|
|
354
355
|
}
|
|
355
|
-
return (
|
|
356
|
+
return (index.h("div", { class: "textarea-bottom" }, this.renderHintText(), this.renderCounter()));
|
|
356
357
|
}
|
|
357
358
|
render() {
|
|
358
359
|
const { inputId, disabled, fill, size, labelPlacement, el, hasFocus } = this;
|
|
@@ -381,7 +382,7 @@ const Textarea = class {
|
|
|
381
382
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
382
383
|
*/
|
|
383
384
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
384
|
-
return (
|
|
385
|
+
return (index.h(index.Host, { key: '25f8192436c242c227cdcec236dc376a6ad4331d', class: theme.createColorClasses(this.color, {
|
|
385
386
|
[theme$1]: true,
|
|
386
387
|
'has-value': hasValue,
|
|
387
388
|
'has-focus': hasFocus,
|
|
@@ -391,7 +392,7 @@ const Textarea = class {
|
|
|
391
392
|
[`textarea-size-${size}`]: true,
|
|
392
393
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
393
394
|
'textarea-disabled': disabled,
|
|
394
|
-
}) },
|
|
395
|
+
}) }, index.h("label", { key: 'cd1a80101c9cc5c1123005e9e3bfe1ff06e9a5d8', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), index.h("div", { key: '68dffe868cdf170f0eab38e912a97c2374c82aaa', class: "textarea-wrapper-inner" },
|
|
395
396
|
/**
|
|
396
397
|
* For the ionic theme, we render the outline container here
|
|
397
398
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -401,9 +402,9 @@ const Textarea = class {
|
|
|
401
402
|
* <label> element, ensuring that clicking the label text
|
|
402
403
|
* focuses the textarea.
|
|
403
404
|
*/
|
|
404
|
-
theme$1 === 'ionic' && fill === 'outline' &&
|
|
405
|
+
theme$1 === 'ionic' && fill === 'outline' && index.h("div", { key: 'eafeed172c5deafd3e28e8dbc8339b9ab3d06298', class: "textarea-outline" }), index.h("div", { key: 'dae967e2619efd99e40db41dfde375d162a772a4', class: "start-slot-wrapper" }, index.h("slot", { key: '4d5d48dcd842bec3effbab43fdcbbca137f01237', name: "start" })), index.h("div", { key: 'd3b11f95a4b76dd13363ed67279bd09be8776b71', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, index.h("textarea", Object.assign({ key: 'e86bd3b607b29b67ebcdbfa0b2e73417df786e1d', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), index.h("div", { key: 'ac0788d419f7b74d6a4f35cbd8e7ae78412380a6', class: "end-slot-wrapper" }, index.h("slot", { key: 'b409e7f30418b2e70f4dcb43f184be9032591089', name: "end" }))), shouldRenderHighlight && index.h("div", { key: '35f5928604c3a35962d08e99d4eeeedebb53a470', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
405
406
|
}
|
|
406
|
-
get el() { return
|
|
407
|
+
get el() { return index.getElement(this); }
|
|
407
408
|
static get watchers() { return {
|
|
408
409
|
"debounce": ["debounceChanged"],
|
|
409
410
|
"value": ["valueChanged"]
|