@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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{a(n.next(t))}catch(t){s(t)}}function o(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(u,o)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(i){return a([t,i])}}function a(o){if(n)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(n=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;r=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];r=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-aacc6ddd.system.js","./p-e673a0a2.system.js","./p-b19a9aa9.system.js","./p-73e32456.system.js","./p-70c6cd75.system.js","./p-9e8e25e4.system.js"],(function(t,i){"use strict";var e,n,r,s,u,o,a,f,h,c,d,v,l,w,m,b,_,p;return{setters:[function(t){e=t.r;n=t.j;r=t.c;s=t.l;u=t.g;o=t.m},function(t){a=t.g},function(t){f=t.m;h=t.s},function(t){c=t.l;d=t.t;v=t.s;l=t.d;w=t.b;m=t.c},function(t){b=t.b;_=t.c},function(t){p=t.a}],execute:function(){var g=1;var y=2;var k=3;var j=function(){function t(t,i){this.component=t;this.params=i;this.state=g}t.prototype.init=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){switch(n.label){case 0:this.state=y;if(!!this.element)return[3,2];i=this.component;e=this;return[4,p(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)];case 1:e.element=n.sent();n.label=2;case 2:return[2]}}))}))};t.prototype._destroy=function(){f(this.state!==k,"view state must be ATTACHED");var t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=k};return t}();var C=function(t,i,e){if(!t){return false}if(t.component!==i){return false}return h(t.params,e)};var B=function(t,i){if(!t){return null}if(t instanceof j){return t}return new j(t,i)};var E=function(t){return t.map((function(t){if(t instanceof j){return t}if("component"in t){return B(t.component,t.componentProps===null?undefined:t.componentProps)}return B(t,undefined)})).filter((function(t){return t!==null}))};var O=":host{right:0;left:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var S=O;var V=t("ion_nav",function(){function t(t){e(this,t);this.ionNavWillLoad=n(this,"ionNavWillLoad",7);this.ionNavWillChange=n(this,"ionNavWillChange",3);this.ionNavDidChange=n(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}t.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};t.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};t.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var t=b(this);this.swipeGesture=r.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.didLoad=true;this.rootChanged();t=this;return[4,i.import("./p-08df90cf.system.js")];case 1:t.gesture=e.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged();return[2]}}))}))};t.prototype.connectedCallback=function(){this.destroyed=false};t.prototype.disconnectedCallback=function(){for(var t=0,i=this.views;t<i.length;t++){var e=i[t];c(e.element,l);e._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};t.prototype.push=function(t,i,e,n){return this.insert(-1,t,i,e,n)};t.prototype.insert=function(t,i,e,n,r){return this.insertPages(t,[{component:i,componentProps:e}],n,r)};t.prototype.insertPages=function(t,i,e,n){return this.queueTrns({insertStart:t,insertViews:i,opts:e},n)};t.prototype.pop=function(t,i){return this.removeIndex(-1,1,t,i)};t.prototype.popTo=function(t,i,e){var n={removeStart:-1,removeCount:-1,opts:i};if(typeof t==="object"&&t.component){n.removeView=t;n.removeStart=1}else if(typeof t==="number"){n.removeStart=t+1}return this.queueTrns(n,e)};t.prototype.popToRoot=function(t,i){return this.removeIndex(1,-1,t,i)};t.prototype.removeIndex=function(t,i,e,n){if(i===void 0){i=1}return this.queueTrns({removeStart:t,removeCount:i,opts:e},n)};t.prototype.setRoot=function(t,i,e,n){return this.setPages([{component:t,componentProps:i}],e,n)};t.prototype.setPages=function(t,i,e){i!==null&&i!==void 0?i:i={};if(i.animated!==true){i.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},e)};t.prototype.setRouteId=function(t,i,e,n){var r=this;var s=this.getActiveSync();if(C(s,t,i)){return Promise.resolve({changed:false,element:s.element})}var u;var o=new Promise((function(t){return u=t}));var a;var f={updateURL:false,viewIsReady:function(t){var i;var e=new Promise((function(t){return i=t}));u({changed:true,element:t,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:i();return[4,a];case 1:t.sent();return[2]}}))}))}});return e}};if(e==="root"){a=this.setRoot(t,i,f)}else{var h=this.views.find((function(e){return C(e,t,i)}));if(h){a=this.popTo(h,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:n}))}else if(e==="forward"){a=this.push(t,i,Object.assign(Object.assign({},f),{animationBuilder:n}))}else if(e==="back"){a=this.setRoot(t,i,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:n}))}}return o};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=this.getActiveSync();if(t){return[2,{id:t.element.tagName,params:t.params,element:t.element}]}return[2,undefined]}))}))};t.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getActiveSync()]}))}))};t.prototype.getByIndex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.views[t]]}))}))};t.prototype.canGoBack=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.canGoBackSync(t)]}))}))};t.prototype.getPrevious=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.getPreviousSync(t)]}))}))};t.prototype.getLength=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.views.length)]}))}))};t.prototype.getActiveSync=function(){return this.views[this.views.length-1]};t.prototype.canGoBackSync=function(t){if(t===void 0){t=this.getActiveSync()}return!!(t&&this.getPreviousSync(t))};t.prototype.getPreviousSync=function(t){if(t===void 0){t=this.getActiveSync()}if(!t){return undefined}var i=this.views;var e=i.indexOf(t);return e>0?i[e-1]:undefined};t.prototype.queueTrns=function(t,i){return __awaiter(this,void 0,void 0,(function(){var e,n,r,s,u;return __generator(this,(function(o){switch(o.label){case 0:if(this.isTransitioning&&((e=t.opts)===null||e===void 0?void 0:e.skipIfBusy)){return[2,false]}r=new Promise((function(i,e){t.resolve=i;t.reject=e}));t.done=i;if(!(t.opts&&t.opts.updateURL!==false&&this.useRouter))return[3,2];s=document.querySelector("ion-router");if(!s)return[3,2];return[4,s.canTransition()];case 1:u=o.sent();if(u===false){return[2,false]}if(typeof u==="string"){s.push(u,t.opts.direction||"back");return[2,false]}o.label=2;case 2:if(((n=t.insertViews)===null||n===void 0?void 0:n.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return[2,r]}}))}))};t.prototype.success=function(t,i){if(this.destroyed){this.fireError("nav controller was destroyed",i);return}if(i.done){i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}i.resolve(t.hasCompleted);if(i.opts.updateURL!==false&&this.useRouter){var e=document.querySelector("ion-router");if(e){var n=t.direction==="back"?"back":"forward";e.navChanged(n)}}};t.prototype.failed=function(t,i){if(this.destroyed){this.fireError("nav controller was destroyed",i);return}this.transInstr.length=0;this.fireError(t,i)};t.prototype.fireError=function(t,i){if(i.done){i.done(false,false,t)}if(i.reject&&!this.destroyed){i.reject(t)}else{i.resolve(false)}};t.prototype.nextTrns=function(){if(this.isTransitioning){return false}var t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true};t.prototype.runTransition=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,n,r,s,u;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);i=this.getActiveSync();e=this.getEnteringView(t,i);if(!i&&!e){throw new Error("no views in the stack to be removed")}if(!(e&&e.state===g))return[3,2];return[4,e.init(this.el)];case 1:o.sent();o.label=2;case 2:this.postViewInit(e,i,t);n=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&e!==i;if(n&&t.opts&&i){r=t.opts.direction==="back";if(r){t.opts.animationBuilder=t.opts.animationBuilder||(e===null||e===void 0?void 0:e.animationBuilder)}i.animationBuilder=t.opts.animationBuilder}s=void 0;if(!n)return[3,4];return[4,this.transition(e,i,t)];case 3:s=o.sent();return[3,5];case 4:s={hasCompleted:true,requiresTransition:false};o.label=5;case 5:this.success(s,t);this.ionNavDidChange.emit();return[3,7];case 6:u=o.sent();this.failed(u,t);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};t.prototype.prepareTI=function(t){var i,e;var n;var r=this.views.length;(i=t.opts)!==null&&i!==void 0?i:t.opts={};(e=(n=t.opts).delegate)!==null&&e!==void 0?e:n.delegate=this.delegate;if(t.removeView!==undefined){f(t.removeStart!==undefined,"removeView needs removeStart");f(t.removeCount!==undefined,"removeView needs removeCount");var s=this.views.indexOf(t.removeView);if(s<0){throw new Error("removeView was not found")}t.removeStart+=s}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=r-1}if(t.removeCount<0){t.removeCount=r-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===r}if(t.insertViews){if(t.insertStart<0||t.insertStart>r){t.insertStart=r}t.enteringRequiresTransition=t.insertStart===r}var u=t.insertViews;if(!u){return}f(u.length>0,"length can not be zero");var o=E(u);if(o.length===0){throw new Error("invalid views to insert")}for(var a=0,h=o;a<h.length;a++){var c=h[a];c.delegate=t.opts.delegate;var d=c.nav;if(d&&d!==this){throw new Error("inserted view was already inserted")}if(c.state===k){throw new Error("inserted view was already destroyed")}}t.insertViews=o};t.prototype.getEnteringView=function(t,i){var e=t.insertViews;if(e!==undefined){return e[e.length-1]}var n=t.removeStart;if(n!==undefined){var r=this.views;var s=n+t.removeCount;for(var u=r.length-1;u>=0;u--){var o=r[u];if((u<n||u>=s)&&o!==i){return o}}}return undefined};t.prototype.postViewInit=function(t,i,e){var n,r,s;f(i||t,"Both leavingView and enteringView are null");f(e.resolve,"resolve must be valid");f(e.reject,"reject must be valid");var u=e.opts;var o=e.insertViews,a=e.removeStart,h=e.removeCount;var d;if(a!==undefined&&h!==undefined){f(a>=0,"removeStart can not be negative");f(h>=0,"removeCount can not be negative");d=[];for(var v=a;v<a+h;v++){var b=this.views[v];if(b!==undefined&&b!==t&&b!==i){d.push(b)}}(n=u.direction)!==null&&n!==void 0?n:u.direction="back"}var _=this.views.length+((r=o===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:0)-(h!==null&&h!==void 0?h:0);f(_>=0,"final balance can not be negative");if(_===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(o){var p=e.insertStart;for(var g=0,y=o;g<y.length;g++){var b=y[g];this.insertViewAt(b,p);p++}if(e.enteringRequiresTransition){(s=u.direction)!==null&&s!==void 0?s:u.direction="forward"}}if(d&&d.length>0){for(var k=0,j=d;k<j.length;k++){var b=j[k];c(b.element,w);c(b.element,m);c(b.element,l)}for(var C=0,B=d;C<B.length;C++){var b=B[C];this.destroyView(b)}}};t.prototype.transition=function(t,i,e){return __awaiter(this,void 0,void 0,(function(){var n,s,u,o,a,f,h,c;var v=this;return __generator(this,(function(l){switch(l.label){case 0:n=e.opts;s=n.progressAnimation?function(t){if(t!==undefined&&!v.gestureOrAnimationInProgress){v.gestureOrAnimationInProgress=true;t.onFinish((function(){v.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{v.sbAni=t}}:undefined;u=_(this);o=b(this,u);a=t.element;f=i&&i.element;h=Object.assign(Object.assign({mode:o,theme:u,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:s,animated:this.animated&&r.getBoolean("animated",true),enteringEl:a,leavingEl:f},n),{animationBuilder:n.animationBuilder||this.animation||r.get("navAnimation")});return[4,d(h)];case 1:c=l.sent().hasCompleted;return[2,this.transitionFinish(c,t,i,n)]}}))}))};t.prototype.transitionFinish=function(t,i,e,n){var r=t?i:e;if(r){this.unmountInactiveViews(r)}return{hasCompleted:t,requiresTransition:true,enteringView:i,leavingView:e,direction:n.direction}};t.prototype.insertViewAt=function(t,i){var e=this.views;var n=e.indexOf(t);if(n>-1){f(t.nav===this,"view is not part of the nav");e.splice(n,1);e.splice(i,0,t)}else{f(!t.nav,"nav is used");t.nav=this;e.splice(i,0,t)}};t.prototype.removeView=function(t){f(t.state===y||t.state===k,"view state should be loaded or destroyed");var i=this.views;var e=i.indexOf(t);f(e>-1,"view must be part of the stack");if(e>=0){i.splice(e,1)}};t.prototype.destroyView=function(t){t._destroy();this.removeView(t)};t.prototype.unmountInactiveViews=function(t){if(this.destroyed){return}var i=this.views;var e=i.indexOf(t);for(var n=i.length-1;n>=0;n--){var r=i[n];var s=r.element;if(s){if(n>e){c(s,l);this.destroyView(r)}else if(n<e){v(s,true)}}}};t.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};t.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};t.prototype.onMove=function(t){if(this.sbAni){this.sbAni.progressStep(t)}};t.prototype.onEnd=function(t,i,e){var n=this;if(this.sbAni){this.sbAni.onFinish((function(){n.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=a([0,0],[1,0],[.68,.28],[1,1],i)[0]}else{r+=a([0,0],[.32,.72],[0,1],[1,1],i)[0]}this.sbAni.progressEnd(t?1:0,r,e)}else{this.gestureOrAnimationInProgress=false}};t.prototype.render=function(){return s("slot",{key:"cb4e79a79821427dcb55f9e97342662a1e3b6d6e"})};Object.defineProperty(t.prototype,"el",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return t}());V.style=S;var P=function(t,i,e,n,r){var s=t.closest("ion-nav");if(s){if(i==="forward"){if(e!==undefined){return s.push(e,n,{skipIfBusy:true,animationBuilder:r})}}else if(i==="root"){if(e!==undefined){return s.setRoot(e,n,{skipIfBusy:true,animationBuilder:r})}}else if(i==="back"){return s.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var T=t("ion_nav_link",function(){function t(t){var i=this;e(this,t);this.onClick=function(){return P(i.el,i.routerDirection,i.component,i.componentProps,i.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}t.prototype.render=function(){return s(o,{key:"de17298fc02afaa1ffbe8609ec6d9d61c4967f83",onClick:this.onClick})};Object.defineProperty(t.prototype,"el",{get:function(){return u(this)},enumerable:false,configurable:true});return t}())}}}));
|
|
4
|
+
*/System.register(["./p-0fa218e9.system.js","./p-e673a0a2.system.js","./p-3ad285e3.system.js","./p-ce5c2902.system.js","./p-c628bdcb.system.js","./p-8635f5e6.system.js"],(function(t,i){"use strict";var e,n,r,s,u,o,a,f,h,c,d,v,l,w,m,b,_,p;return{setters:[function(t){e=t.r;n=t.e;r=t.h;s=t.g;u=t.i},function(t){o=t.g},function(t){a=t.m;f=t.s},function(t){h=t.l;c=t.t;d=t.s;v=t.d;l=t.b;w=t.c},function(t){m=t.b;b=t.c;_=t.d},function(t){p=t.a}],execute:function(){var g=1;var y=2;var k=3;var j=function(){function t(t,i){this.component=t;this.params=i;this.state=g}t.prototype.init=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){switch(n.label){case 0:this.state=y;if(!!this.element)return[3,2];i=this.component;e=this;return[4,p(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)];case 1:e.element=n.sent();n.label=2;case 2:return[2]}}))}))};t.prototype._destroy=function(){a(this.state!==k,"view state must be ATTACHED");var t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=k};return t}();var C=function(t,i,e){if(!t){return false}if(t.component!==i){return false}return f(t.params,e)};var B=function(t,i){if(!t){return null}if(t instanceof j){return t}return new j(t,i)};var E=function(t){return t.map((function(t){if(t instanceof j){return t}if("component"in t){return B(t.component,t.componentProps===null?undefined:t.componentProps)}return B(t,undefined)})).filter((function(t){return t!==null}))};var O=":host{right:0;left:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var S=O;var V=t("ion_nav",function(){function t(t){e(this,t);this.ionNavWillLoad=n(this,"ionNavWillLoad",7);this.ionNavWillChange=n(this,"ionNavWillChange",3);this.ionNavDidChange=n(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}t.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};t.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};t.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var t=m(this);this.swipeGesture=b.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.didLoad=true;this.rootChanged();t=this;return[4,i.import("./p-4c2d5b80.system.js")];case 1:t.gesture=e.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged();return[2]}}))}))};t.prototype.connectedCallback=function(){this.destroyed=false};t.prototype.disconnectedCallback=function(){for(var t=0,i=this.views;t<i.length;t++){var e=i[t];h(e.element,v);e._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};t.prototype.push=function(t,i,e,n){return this.insert(-1,t,i,e,n)};t.prototype.insert=function(t,i,e,n,r){return this.insertPages(t,[{component:i,componentProps:e}],n,r)};t.prototype.insertPages=function(t,i,e,n){return this.queueTrns({insertStart:t,insertViews:i,opts:e},n)};t.prototype.pop=function(t,i){return this.removeIndex(-1,1,t,i)};t.prototype.popTo=function(t,i,e){var n={removeStart:-1,removeCount:-1,opts:i};if(typeof t==="object"&&t.component){n.removeView=t;n.removeStart=1}else if(typeof t==="number"){n.removeStart=t+1}return this.queueTrns(n,e)};t.prototype.popToRoot=function(t,i){return this.removeIndex(1,-1,t,i)};t.prototype.removeIndex=function(t,i,e,n){if(i===void 0){i=1}return this.queueTrns({removeStart:t,removeCount:i,opts:e},n)};t.prototype.setRoot=function(t,i,e,n){return this.setPages([{component:t,componentProps:i}],e,n)};t.prototype.setPages=function(t,i,e){i!==null&&i!==void 0?i:i={};if(i.animated!==true){i.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},e)};t.prototype.setRouteId=function(t,i,e,n){var r=this;var s=this.getActiveSync();if(C(s,t,i)){return Promise.resolve({changed:false,element:s.element})}var u;var o=new Promise((function(t){return u=t}));var a;var f={updateURL:false,viewIsReady:function(t){var i;var e=new Promise((function(t){return i=t}));u({changed:true,element:t,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:i();return[4,a];case 1:t.sent();return[2]}}))}))}});return e}};if(e==="root"){a=this.setRoot(t,i,f)}else{var h=this.views.find((function(e){return C(e,t,i)}));if(h){a=this.popTo(h,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:n}))}else if(e==="forward"){a=this.push(t,i,Object.assign(Object.assign({},f),{animationBuilder:n}))}else if(e==="back"){a=this.setRoot(t,i,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:n}))}}return o};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=this.getActiveSync();if(t){return[2,{id:t.element.tagName,params:t.params,element:t.element}]}return[2,undefined]}))}))};t.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getActiveSync()]}))}))};t.prototype.getByIndex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.views[t]]}))}))};t.prototype.canGoBack=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.canGoBackSync(t)]}))}))};t.prototype.getPrevious=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.getPreviousSync(t)]}))}))};t.prototype.getLength=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.views.length)]}))}))};t.prototype.getActiveSync=function(){return this.views[this.views.length-1]};t.prototype.canGoBackSync=function(t){if(t===void 0){t=this.getActiveSync()}return!!(t&&this.getPreviousSync(t))};t.prototype.getPreviousSync=function(t){if(t===void 0){t=this.getActiveSync()}if(!t){return undefined}var i=this.views;var e=i.indexOf(t);return e>0?i[e-1]:undefined};t.prototype.queueTrns=function(t,i){return __awaiter(this,void 0,void 0,(function(){var e,n,r,s,u;return __generator(this,(function(o){switch(o.label){case 0:if(this.isTransitioning&&((e=t.opts)===null||e===void 0?void 0:e.skipIfBusy)){return[2,false]}r=new Promise((function(i,e){t.resolve=i;t.reject=e}));t.done=i;if(!(t.opts&&t.opts.updateURL!==false&&this.useRouter))return[3,2];s=document.querySelector("ion-router");if(!s)return[3,2];return[4,s.canTransition()];case 1:u=o.sent();if(u===false){return[2,false]}if(typeof u==="string"){s.push(u,t.opts.direction||"back");return[2,false]}o.label=2;case 2:if(((n=t.insertViews)===null||n===void 0?void 0:n.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return[2,r]}}))}))};t.prototype.success=function(t,i){if(this.destroyed){this.fireError("nav controller was destroyed",i);return}if(i.done){i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}i.resolve(t.hasCompleted);if(i.opts.updateURL!==false&&this.useRouter){var e=document.querySelector("ion-router");if(e){var n=t.direction==="back"?"back":"forward";e.navChanged(n)}}};t.prototype.failed=function(t,i){if(this.destroyed){this.fireError("nav controller was destroyed",i);return}this.transInstr.length=0;this.fireError(t,i)};t.prototype.fireError=function(t,i){if(i.done){i.done(false,false,t)}if(i.reject&&!this.destroyed){i.reject(t)}else{i.resolve(false)}};t.prototype.nextTrns=function(){if(this.isTransitioning){return false}var t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true};t.prototype.runTransition=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,n,r,s,u;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);i=this.getActiveSync();e=this.getEnteringView(t,i);if(!i&&!e){throw new Error("no views in the stack to be removed")}if(!(e&&e.state===g))return[3,2];return[4,e.init(this.el)];case 1:o.sent();o.label=2;case 2:this.postViewInit(e,i,t);n=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&e!==i;if(n&&t.opts&&i){r=t.opts.direction==="back";if(r){t.opts.animationBuilder=t.opts.animationBuilder||(e===null||e===void 0?void 0:e.animationBuilder)}i.animationBuilder=t.opts.animationBuilder}s=void 0;if(!n)return[3,4];return[4,this.transition(e,i,t)];case 3:s=o.sent();return[3,5];case 4:s={hasCompleted:true,requiresTransition:false};o.label=5;case 5:this.success(s,t);this.ionNavDidChange.emit();return[3,7];case 6:u=o.sent();this.failed(u,t);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};t.prototype.prepareTI=function(t){var i,e;var n;var r=this.views.length;(i=t.opts)!==null&&i!==void 0?i:t.opts={};(e=(n=t.opts).delegate)!==null&&e!==void 0?e:n.delegate=this.delegate;if(t.removeView!==undefined){a(t.removeStart!==undefined,"removeView needs removeStart");a(t.removeCount!==undefined,"removeView needs removeCount");var s=this.views.indexOf(t.removeView);if(s<0){throw new Error("removeView was not found")}t.removeStart+=s}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=r-1}if(t.removeCount<0){t.removeCount=r-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===r}if(t.insertViews){if(t.insertStart<0||t.insertStart>r){t.insertStart=r}t.enteringRequiresTransition=t.insertStart===r}var u=t.insertViews;if(!u){return}a(u.length>0,"length can not be zero");var o=E(u);if(o.length===0){throw new Error("invalid views to insert")}for(var f=0,h=o;f<h.length;f++){var c=h[f];c.delegate=t.opts.delegate;var d=c.nav;if(d&&d!==this){throw new Error("inserted view was already inserted")}if(c.state===k){throw new Error("inserted view was already destroyed")}}t.insertViews=o};t.prototype.getEnteringView=function(t,i){var e=t.insertViews;if(e!==undefined){return e[e.length-1]}var n=t.removeStart;if(n!==undefined){var r=this.views;var s=n+t.removeCount;for(var u=r.length-1;u>=0;u--){var o=r[u];if((u<n||u>=s)&&o!==i){return o}}}return undefined};t.prototype.postViewInit=function(t,i,e){var n,r,s;a(i||t,"Both leavingView and enteringView are null");a(e.resolve,"resolve must be valid");a(e.reject,"reject must be valid");var u=e.opts;var o=e.insertViews,f=e.removeStart,c=e.removeCount;var d;if(f!==undefined&&c!==undefined){a(f>=0,"removeStart can not be negative");a(c>=0,"removeCount can not be negative");d=[];for(var m=f;m<f+c;m++){var b=this.views[m];if(b!==undefined&&b!==t&&b!==i){d.push(b)}}(n=u.direction)!==null&&n!==void 0?n:u.direction="back"}var _=this.views.length+((r=o===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:0)-(c!==null&&c!==void 0?c:0);a(_>=0,"final balance can not be negative");if(_===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(o){var p=e.insertStart;for(var g=0,y=o;g<y.length;g++){var b=y[g];this.insertViewAt(b,p);p++}if(e.enteringRequiresTransition){(s=u.direction)!==null&&s!==void 0?s:u.direction="forward"}}if(d&&d.length>0){for(var k=0,j=d;k<j.length;k++){var b=j[k];h(b.element,l);h(b.element,w);h(b.element,v)}for(var C=0,B=d;C<B.length;C++){var b=B[C];this.destroyView(b)}}};t.prototype.transition=function(t,i,e){return __awaiter(this,void 0,void 0,(function(){var n,r,s,u,o,a,f,h;var d=this;return __generator(this,(function(v){switch(v.label){case 0:n=e.opts;r=n.progressAnimation?function(t){if(t!==undefined&&!d.gestureOrAnimationInProgress){d.gestureOrAnimationInProgress=true;t.onFinish((function(){d.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{d.sbAni=t}}:undefined;s=_(this);u=m(this,s);o=t.element;a=i&&i.element;f=Object.assign(Object.assign({mode:u,theme:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&b.getBoolean("animated",true),enteringEl:o,leavingEl:a},n),{animationBuilder:n.animationBuilder||this.animation||b.get("navAnimation")});return[4,c(f)];case 1:h=v.sent().hasCompleted;return[2,this.transitionFinish(h,t,i,n)]}}))}))};t.prototype.transitionFinish=function(t,i,e,n){var r=t?i:e;if(r){this.unmountInactiveViews(r)}return{hasCompleted:t,requiresTransition:true,enteringView:i,leavingView:e,direction:n.direction}};t.prototype.insertViewAt=function(t,i){var e=this.views;var n=e.indexOf(t);if(n>-1){a(t.nav===this,"view is not part of the nav");e.splice(n,1);e.splice(i,0,t)}else{a(!t.nav,"nav is used");t.nav=this;e.splice(i,0,t)}};t.prototype.removeView=function(t){a(t.state===y||t.state===k,"view state should be loaded or destroyed");var i=this.views;var e=i.indexOf(t);a(e>-1,"view must be part of the stack");if(e>=0){i.splice(e,1)}};t.prototype.destroyView=function(t){t._destroy();this.removeView(t)};t.prototype.unmountInactiveViews=function(t){if(this.destroyed){return}var i=this.views;var e=i.indexOf(t);for(var n=i.length-1;n>=0;n--){var r=i[n];var s=r.element;if(s){if(n>e){h(s,v);this.destroyView(r)}else if(n<e){d(s,true)}}}};t.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};t.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};t.prototype.onMove=function(t){if(this.sbAni){this.sbAni.progressStep(t)}};t.prototype.onEnd=function(t,i,e){var n=this;if(this.sbAni){this.sbAni.onFinish((function(){n.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=o([0,0],[1,0],[.68,.28],[1,1],i)[0]}else{r+=o([0,0],[.32,.72],[0,1],[1,1],i)[0]}this.sbAni.progressEnd(t?1:0,r,e)}else{this.gestureOrAnimationInProgress=false}};t.prototype.render=function(){return r("slot",{key:"cb4e79a79821427dcb55f9e97342662a1e3b6d6e"})};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return t}());V.style=S;var P=function(t,i,e,n,r){var s=t.closest("ion-nav");if(s){if(i==="forward"){if(e!==undefined){return s.push(e,n,{skipIfBusy:true,animationBuilder:r})}}else if(i==="root"){if(e!==undefined){return s.setRoot(e,n,{skipIfBusy:true,animationBuilder:r})}}else if(i==="back"){return s.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var T=t("ion_nav_link",function(){function t(t){var i=this;e(this,t);this.onClick=function(){return P(i.el,i.routerDirection,i.component,i.componentProps,i.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}t.prototype.render=function(){return r(u,{key:"de17298fc02afaa1ffbe8609ec6d9d61c4967f83",onClick:this.onClick})};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return t}())}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{c as o}from"./p-
|
|
4
|
+
import{c as o}from"./p-b51e4004.js";import{f as s}from"./p-7b341352.js";const a="ion-content",t=".ion-content-scroll-host",r=`${a}, ${t}`,e=o=>"ION-CONTENT"===o.tagName,i=async s=>e(s)?(await new Promise((a=>o(s,a))),s.getScrollElement()):s,n=o=>o.querySelector(t)||o.querySelector(r),f=o=>o.closest(r),m=(o,s)=>e(o)?o.scrollToTop(s):Promise.resolve(o.scrollTo({top:0,left:0,behavior:s>0?"smooth":"auto"})),c=(o,s,a,t)=>e(o)?o.scrollByPoint(s,a,t):Promise.resolve(o.scrollBy({top:a,left:s,behavior:t>0?"smooth":"auto"})),p=o=>s(o,a),h=o=>{if(e(o)){const s=o.scrollY;return o.scrollY=!1,s}return o.style.setProperty("overflow","hidden"),!0},l=(o,s)=>{e(o)?o.scrollY=s:o.style.removeProperty("overflow")};export{t as I,n as a,a as b,c,h as d,f,i as g,e as i,p,l as r,m as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as i,e as n,w as t,f as e,h as s,g as o,i as l}from"./p-83948e48.js";import{f as r,p as c,g as a}from"./p-bd7fb7b4.js";import{d,c as p}from"./p-7b341352.js";import{E as f,a as h}from"./p-41d5544e.js";import"./p-b51e4004.js";const m=class{constructor(t){i(this,t),this.ionInfinite=n(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.onScroll=()=>{const i=this.scrollEl;if(!i||!this.canStart())return 1;const n=this.el.offsetHeight;if(0===n)return 2;const t=i.scrollTop,e=i.offsetHeight,s=0!==this.thrPc?e*this.thrPc:this.thrPx;return("bottom"===this.position?i.scrollHeight-n-t-s-e:t-n-s)<0&&!this.didFire?(this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3):4},this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom"}thresholdChanged(){const i=this.threshold;i.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(i)/100):(this.thrPx=parseFloat(i),this.thrPc=0)}disabledChanged(){const i=this.disabled;i&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!i)}async connectedCallback(){const i=r(this.el);i?(this.scrollEl=await a(i),this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&t((()=>{this.scrollEl&&(this.scrollEl.scrollTop=this.scrollEl.scrollHeight-this.scrollEl.clientHeight)}))):c(this.el)}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}async complete(){const i=this.scrollEl;if(this.isLoading&&i)if(this.isLoading=!1,"top"===this.position){this.isBusy=!0;const n=i.scrollHeight-i.scrollTop;requestAnimationFrame((()=>{e((()=>{const e=i.scrollHeight-n;requestAnimationFrame((()=>{t((()=>{i.scrollTop=e,this.isBusy=!1,this.didFire=!1}))}))}))}))}else this.didFire=!1}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(i){this.scrollEl&&(i?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const i=d(this),n=this.disabled;return s(l,{key:"510d34ac956ef88ebe5ec6ea658391f18ae77113",class:{[i]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!n}})}get el(){return o(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};m.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const g=class{constructor(n){i(this,n),this.customHTMLEnabled=p.get("innerHTMLTemplatesEnabled",f),this.loadingSpinner=void 0,this.loadingText=void 0}componentDidLoad(){if(void 0===this.loadingSpinner){const i=d(this);this.loadingSpinner=p.get("infiniteLoadingSpinner",p.get("spinner","ios"===i?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:i,loadingText:n}=this;return i?s("div",{class:"infinite-loading-text",innerHTML:h(n)}):s("div",{class:"infinite-loading-text"},this.loadingText)}render(){const i=d(this);return s(l,{key:"5e07828d6779d069bcb8ad2fb30abd794dda6382",class:{[i]:!0,[`infinite-scroll-content-${i}`]:!0}},s("div",{key:"3b4860d1c460b48df8c088b1d802470b1aece653",class:"infinite-loading"},this.loadingSpinner&&s("div",{key:"02cc45daab301bdec1fa8cadba665446b00efc65",class:"infinite-loading-spinner"},s("ion-spinner",{key:"6a057d0ec87957c72df7f4566b0b5ce8114cced3",name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}};g.style={ionic:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}",ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}"};export{m as ion_infinite_scroll,g as ion_infinite_scroll_content}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,j as t,l as r,m as o,g as i}from"./p-a9fd9d48.js";import{i as c,d as a}from"./p-c6191942.js";import{c as n,h as s}from"./p-47794def.js";import{c as l}from"./p-3ca5196c.js";const h=class{constructor(r){e(this,r),this.ionChange=t(this,"ionChange",7),this.ionFocus=t(this,"ionFocus",7),this.ionBlur=t(this,"ionBlur",7),this.inputId="ion-cb-"+b++,this.inheritedAttributes={},this.setChecked=e=>{const t=this.checked=e;this.ionChange.emit({checked:t,value:this.value})},this.toggleChecked=e=>{e.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=e=>{this.disabled||this.toggleChecked(e)},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify=void 0,this.alignment=void 0,this.size=void 0,this.shape="soft"}componentWillLoad(){this.inheritedAttributes=Object.assign({},c(this.el))}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{color:e,checked:t,disabled:i,el:c,getSVGPath:h,indeterminate:b,inheritedAttributes:p,inputId:d,justify:x,labelPlacement:k,name:m,value:f,alignment:g,size:w,shape:v}=this,u=l(this),y=h(u,b);return a(!0,c,m,t?f:"",i),r(o,{key:"c8f40b3575265e443825d39f92114a67e87e0dc5","aria-checked":b?"mixed":`${t}`,class:n(e,{[u]:!0,"in-item":s("ion-item",c),"checkbox-checked":t,"checkbox-disabled":i,"checkbox-indeterminate":b,interactive:!0,[`checkbox-justify-${x}`]:void 0!==x,[`checkbox-alignment-${g}`]:void 0!==g,[`checkbox-label-placement-${k}`]:!0,[`checkbox-size-${w}`]:void 0!==w,[`checkbox-shape-${v}`]:!0}),onClick:this.onClick},r("label",{key:"867dcd4e2e3ad988e7981955d8bdaa129f301dd0",class:"checkbox-wrapper"},r("input",Object.assign({key:"4d57982edd0889028a9b00d379097975d3906e37",type:"checkbox",checked:!!t||void 0,disabled:i,id:d,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:e=>this.focusEl=e},p)),r("div",{key:"280321a4f33a5ddaff8d782f7730619647114c3a",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===c.textContent},part:"label"},r("slot",{key:"e029c3efdb8797e5f9059cb93a43a2534a11cc01"})),r("div",{key:"9cc9b58b672ce3b99fc02113c3af6aad57aa7fad",class:"native-wrapper"},r("svg",{key:"134c0630714131b444f6005928a89526e53757de",class:"checkbox-icon",viewBox:"ionic"===u?"0 0 256 256":"0 0 24 24",part:"container"},y))))}getSVGPath(e,t){let o=r("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===e?o=r("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"}):"ionic"===e&&(o=r("path",t?{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"}:{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"})),o}get el(){return i(this)}};let b=0;h.style={ionic:':host{--border-width:var(--ionic-border-size-025, 1px);--border-style:var(--ionic-border-style-solid, solid);--border-color:var(--ionic-color-neutral-800, #626262);--checkmark-width:var(--ionic-scale-400, 16px);--checkmark-height:var(--checkmark-width);--focus-ring-color:var(--ionic-state-focus-1, #9ec4fd);--focus-ring-width:var(--ionic-border-size-050, 2px);--focus-ring-offset:var(--ionic-space-050, 2px);--size:var(--ionic-scale-600, 24px);--checkbox-background-checked:var(--ionic-color-primary-base, #105cef);--border-color-checked:var(--ionic-color-primary-base, #105cef);--checkmark-color:var(--ionic-color-base-white, #ffffff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:var(--ionic-scale-1200, 48px);-webkit-transform:translateY(-50%);transform:translateY(-50%);content:"";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{color:var(--ionic-color-neutral-1200, #242424);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:var(--ionic-space-250, 10px);margin-bottom:var(--ionic-space-250, 10px)}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:var(--ionic-space-250, 10px);margin-bottom:var(--ionic-space-400, 16px)}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:var(--ionic-space-250, 10px)}.label-text-wrapper-hidden{display:none}input{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}.native-wrapper{border-radius:var(--border-radius);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon{position:relative;width:var(--checkmark-width);height:var(--checkmark-height)}.checkbox-icon path{fill:var(--checkmark-color);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:var(--ionic-space-400, 16px);margin-inline-start:var(--ionic-space-400, 16px);-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:var(--ionic-space-400, 16px);max-width:133.3333333333%}:host(.checkbox-size-small){--size:var(--ionic-scale-400, 16px)}:host(.checkbox-checked) .native-wrapper,:host(.checkbox-indeterminate) .native-wrapper{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.ion-invalid){--focus-ring-color:var(--ionic-state-focus-2, #ffafaf)}:host(.ion-invalid) .native-wrapper{border-color:var(--ionic-color-danger-800, #bf2222)}:host(.checkbox-disabled){pointer-events:none}:host(.checkbox-disabled) .native-wrapper:after{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6));content:"";pointer-events:none;right:unset;left:unset;top:unset;bottom:unset;width:inherit;height:inherit}:host(.checkbox-disabled) .native-wrapper{border-color:var(--ionic-color-neutral-800, #626262);background-color:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6))}:host(.checkbox-disabled.checkbox-checked) .native-wrapper{border-width:var(--ionic-border-size-0, 0px);background-color:var(--ionic-color-primary-base, #105cef)}@media (any-hover: hover){:host(:hover) .native-wrapper{background-color:var(--ionic-color-neutral-100, #f1f1f1)}:host(:hover.checkbox-checked) .native-wrapper,:host(:hover.checkbox-indeterminate) .native-wrapper{background-color:var(--ionic-color-primary-800, #0f54da)}}:host(.ion-focused:not(.checkbox-disabled)) .native-wrapper{outline:var(--focus-ring-width) var(--ionic-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}:host(.ion-activated) .native-wrapper{background-color:var(--ionic-color-neutral-200, #e7e7e7)}:host(.ion-activated.checkbox-checked) .native-wrapper,:host(.ion-activated.checkbox-indeterminate) .native-wrapper{background-color:var(--ionic-color-primary-900, #0d4bc3)}:host(.checkbox-shape-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.checkbox-size-small.checkbox-shape-soft){--border-radius:var(--ionic-border-radius-050, 2px)}:host(.checkbox-shape-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}.checkbox-wrapper{min-height:var(--ionic-scale-1200, 48px)}',ios:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * 0.125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}"};export{h as ion_checkbox}
|
|
4
|
+
import{r as e,e as t,h as r,i as o,g as i}from"./p-83948e48.js";import{i as c,d as a}from"./p-b51e4004.js";import{c as n,h as s}from"./p-47794def.js";import{d as l}from"./p-7b341352.js";const h=class{constructor(r){e(this,r),this.ionChange=t(this,"ionChange",7),this.ionFocus=t(this,"ionFocus",7),this.ionBlur=t(this,"ionBlur",7),this.inputId="ion-cb-"+b++,this.inheritedAttributes={},this.setChecked=e=>{const t=this.checked=e;this.ionChange.emit({checked:t,value:this.value})},this.toggleChecked=e=>{e.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=e=>{this.disabled||this.toggleChecked(e)},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify=void 0,this.alignment=void 0,this.size=void 0,this.shape="soft"}componentWillLoad(){this.inheritedAttributes=Object.assign({},c(this.el))}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{color:e,checked:t,disabled:i,el:c,getSVGPath:h,indeterminate:b,inheritedAttributes:p,inputId:d,justify:x,labelPlacement:k,name:m,value:f,alignment:g,size:w,shape:v}=this,u=l(this),y=h(u,b);return a(!0,c,m,t?f:"",i),r(o,{key:"c8f40b3575265e443825d39f92114a67e87e0dc5","aria-checked":b?"mixed":`${t}`,class:n(e,{[u]:!0,"in-item":s("ion-item",c),"checkbox-checked":t,"checkbox-disabled":i,"checkbox-indeterminate":b,interactive:!0,[`checkbox-justify-${x}`]:void 0!==x,[`checkbox-alignment-${g}`]:void 0!==g,[`checkbox-label-placement-${k}`]:!0,[`checkbox-size-${w}`]:void 0!==w,[`checkbox-shape-${v}`]:!0}),onClick:this.onClick},r("label",{key:"867dcd4e2e3ad988e7981955d8bdaa129f301dd0",class:"checkbox-wrapper"},r("input",Object.assign({key:"4d57982edd0889028a9b00d379097975d3906e37",type:"checkbox",checked:!!t||void 0,disabled:i,id:d,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:e=>this.focusEl=e},p)),r("div",{key:"280321a4f33a5ddaff8d782f7730619647114c3a",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===c.textContent},part:"label"},r("slot",{key:"e029c3efdb8797e5f9059cb93a43a2534a11cc01"})),r("div",{key:"9cc9b58b672ce3b99fc02113c3af6aad57aa7fad",class:"native-wrapper"},r("svg",{key:"134c0630714131b444f6005928a89526e53757de",class:"checkbox-icon",viewBox:"ionic"===u?"0 0 256 256":"0 0 24 24",part:"container"},y))))}getSVGPath(e,t){let o=r("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===e?o=r("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"}):"ionic"===e&&(o=r("path",t?{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"}:{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"})),o}get el(){return i(this)}};let b=0;h.style={ionic:':host{--border-width:var(--ionic-border-size-025, 1px);--border-style:var(--ionic-border-style-solid, solid);--border-color:var(--ionic-color-neutral-800, #626262);--checkmark-width:var(--ionic-scale-400, 16px);--checkmark-height:var(--checkmark-width);--focus-ring-color:var(--ionic-state-focus-1, #9ec4fd);--focus-ring-width:var(--ionic-border-size-050, 2px);--focus-ring-offset:var(--ionic-space-050, 2px);--size:var(--ionic-scale-600, 24px);--checkbox-background-checked:var(--ionic-color-primary-base, #105cef);--border-color-checked:var(--ionic-color-primary-base, #105cef);--checkmark-color:var(--ionic-color-base-white, #ffffff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:var(--ionic-scale-1200, 48px);-webkit-transform:translateY(-50%);transform:translateY(-50%);content:"";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{color:var(--ionic-color-neutral-1200, #242424);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:var(--ionic-space-250, 10px);margin-bottom:var(--ionic-space-250, 10px)}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:var(--ionic-space-250, 10px);margin-bottom:var(--ionic-space-400, 16px)}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:var(--ionic-space-250, 10px)}.label-text-wrapper-hidden{display:none}input{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}.native-wrapper{border-radius:var(--border-radius);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon{position:relative;width:var(--checkmark-width);height:var(--checkmark-height)}.checkbox-icon path{fill:var(--checkmark-color);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:var(--ionic-space-400, 16px);margin-inline-start:var(--ionic-space-400, 16px);-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:var(--ionic-space-400, 16px);max-width:133.3333333333%}:host(.checkbox-size-small){--size:var(--ionic-scale-400, 16px)}:host(.checkbox-checked) .native-wrapper,:host(.checkbox-indeterminate) .native-wrapper{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.ion-invalid){--focus-ring-color:var(--ionic-state-focus-2, #ffafaf)}:host(.ion-invalid) .native-wrapper{border-color:var(--ionic-color-danger-800, #bf2222)}:host(.checkbox-disabled){pointer-events:none}:host(.checkbox-disabled) .native-wrapper:after{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6));content:"";pointer-events:none;right:unset;left:unset;top:unset;bottom:unset;width:inherit;height:inherit}:host(.checkbox-disabled) .native-wrapper{border-color:var(--ionic-color-neutral-800, #626262);background-color:var(--ionic-state-disabled, rgba(255, 255, 255, 0.6))}:host(.checkbox-disabled.checkbox-checked) .native-wrapper{border-width:var(--ionic-border-size-0, 0px);background-color:var(--ionic-color-primary-base, #105cef)}@media (any-hover: hover){:host(:hover) .native-wrapper{background-color:var(--ionic-color-neutral-100, #f1f1f1)}:host(:hover.checkbox-checked) .native-wrapper,:host(:hover.checkbox-indeterminate) .native-wrapper{background-color:var(--ionic-color-primary-800, #0f54da)}}:host(.ion-focused:not(.checkbox-disabled)) .native-wrapper{outline:var(--focus-ring-width) var(--ionic-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}:host(.ion-activated) .native-wrapper{background-color:var(--ionic-color-neutral-200, #e7e7e7)}:host(.ion-activated.checkbox-checked) .native-wrapper,:host(.ion-activated.checkbox-indeterminate) .native-wrapper{background-color:var(--ionic-color-primary-900, #0d4bc3)}:host(.checkbox-shape-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.checkbox-size-small.checkbox-shape-soft){--border-radius:var(--ionic-border-radius-050, 2px)}:host(.checkbox-shape-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}.checkbox-wrapper{min-height:var(--ionic-scale-1200, 48px)}',ios:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;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}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * 0.125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}"};export{h as ion_checkbox}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-0fa218e9.system.js","./p-c628bdcb.system.js","./p-4609d030.system.js","./p-115d74cd.system.js"],(function(M){"use strict";var s,i,t,w,n,u,L,e,o,r,N;return{setters:[function(M){s=M.r;i=M.h;t=M.i;w=M.g},function(M){n=M.p;u=M.d;L=M.c;e=M.b},function(M){o=M.c},function(M){r=M.x;N=M.y}],execute:function(){var a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik01My45MiwzNC42MkE4LDgsMCwxLDAsNDIuMDgsNDUuMzhMNjEuMzIsNjYuNTVDMjUsODguODQsOS4zOCwxMjMuMiw4LjY5LDEyNC43NmE4LDgsMCwwLDAsMCw2LjVjLjM1Ljc5LDguODIsMTkuNTcsMjcuNjUsMzguNEM2MS40MywxOTQuNzQsOTMuMTIsMjA4LDEyOCwyMDhhMTI3LjExLDEyNy4xMSwwLDAsMCw1Mi4wNy0xMC44M2wyMiwyNC4yMWE4LDgsMCwxLDAsMTEuODQtMTAuNzZabTQ3LjMzLDc1Ljg0LDQxLjY3LDQ1Ljg1YTMyLDMyLDAsMCwxLTQxLjY3LTQ1Ljg1Wk0xMjgsMTkyYy0zMC43OCwwLTU3LjY3LTExLjE5LTc5LjkzLTMzLjI1QTEzMy4xNiwxMzMuMTYsMCwwLDEsMjUsMTI4YzQuNjktOC43OSwxOS42Ni0zMy4zOSw0Ny4zNS00OS4zOGwxOCwxOS43NWE0OCw0OCwwLDAsMCw2My42Niw3MGwxNC43MywxNi4yQTExMiwxMTIsMCwwLDEsMTI4LDE5MlptNi05NS40M2E4LDgsMCwwLDEsMy0xNS43Miw0OC4xNiw0OC4xNiwwLDAsMSwzOC43Nyw0Mi42NCw4LDgsMCwwLDEtNy4yMiw4LjcxLDYuMzksNi4zOSwwLDAsMS0uNzUsMCw4LDgsMCwwLDEtOC03LjI2QTMyLjA5LDMyLjA5LDAsMCwwLDEzNCw5Ni41N1ptMTEzLjI4LDM0LjY5Yy0uNDIuOTQtMTAuNTUsMjMuMzctMzMuMzYsNDMuOGE4LDgsMCwxLDEtMTAuNjctMTEuOTJBMTMyLjc3LDEzMi43NywwLDAsMCwyMzEuMDUsMTI4YTEzMy4xNSwxMzMuMTUsMCwwLDAtMjMuMTItMzAuNzdDMTg1LjY3LDc1LjE5LDE1OC43OCw2NCwxMjgsNjRhMTE4LjM3LDExOC4zNywwLDAsMC0xOS4zNiwxLjU3QTgsOCwwLDEsMSwxMDYsNDkuNzksMTM0LDEzNCwwLDAsMSwxMjgsNDhjMzQuODgsMCw2Ni41NywxMy4yNiw5MS42NiwzOC4zNSwxOC44MywxOC44MywyNy4zLDM3LjYyLDI3LjY1LDM4LjQxQTgsOCwwLDAsMSwyNDcuMzEsMTMxLjI2WiIvPjwvc3ZnPg==";var D="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yNDcuMzEsMTI0Ljc2Yy0uMzUtLjc5LTguODItMTkuNTgtMjcuNjUtMzguNDFDMTk0LjU3LDYxLjI2LDE2Mi44OCw0OCwxMjgsNDhTNjEuNDMsNjEuMjYsMzYuMzQsODYuMzVDMTcuNTEsMTA1LjE4LDksMTI0LDguNjksMTI0Ljc2YTgsOCwwLDAsMCwwLDYuNWMuMzUuNzksOC44MiwxOS41NywyNy42NSwzOC40QzYxLjQzLDE5NC43NCw5My4xMiwyMDgsMTI4LDIwOHM2Ni41Ny0xMy4yNiw5MS42Ni0zOC4zNGMxOC44My0xOC44MywyNy4zLTM3LjYxLDI3LjY1LTM4LjRBOCw4LDAsMCwwLDI0Ny4zMSwxMjQuNzZaTTEyOCwxOTJjLTMwLjc4LDAtNTcuNjctMTEuMTktNzkuOTMtMzMuMjVBMTMzLjQ3LDEzMy40NywwLDAsMSwyNSwxMjgsMTMzLjMzLDEzMy4zMywwLDAsMSw0OC4wNyw5Ny4yNUM3MC4zMyw3NS4xOSw5Ny4yMiw2NCwxMjgsNjRzNTcuNjcsMTEuMTksNzkuOTMsMzMuMjVBMTMzLjQ2LDEzMy40NiwwLDAsMSwyMzEuMDUsMTI4QzIyMy44NCwxNDEuNDYsMTkyLjQzLDE5MiwxMjgsMTkyWm0wLTExMmE0OCw0OCwwLDEsMCw0OCw0OEE0OC4wNSw0OC4wNSwwLDAsMCwxMjgsODBabTAsODBhMzIsMzIsMCwxLDEsMzItMzJBMzIsMzIsMCwwLDEsMTI4LDE2MFoiLz48L3N2Zz4=";var c=":host ion-button{--color:var(--ionic-color-neutral-800, #626262);--margin-end:calc(-1 * var(--padding-end));--padding-end:inherit;--icon-size:1rem;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:0;margin-bottom:0;width:var(--size);height:var(--size)}:host ion-button ion-icon{font-size:var(--icon-size)}";var j=c;var y="";var z=y;var C="";var T=C;var x=M("ion_input_password_toggle",function(){function M(M){var i=this;s(this,M);this.togglePasswordVisibility=function(){var M=i.inputElRef;if(!M){return}M.type=M.type==="text"?"password":"text"};this.color=undefined;this.showIcon=undefined;this.hideIcon=undefined;this.type="password"}M.prototype.onTypeChange=function(M){if(M!=="text"&&M!=="password"){n('ion-input-password-toggle only supports inputs of type "text" or "password". Input of type "'.concat(M,'" is not compatible.'),this.el);return}};M.prototype.connectedCallback=function(){var M=this.el;var s=this.inputElRef=M.closest("ion-input");if(!s){n("No ancestor ion-input found for ion-input-password-toggle. This component must be slotted inside of an ion-input.",M);return}this.type=s.type};M.prototype.disconnectedCallback=function(){this.inputElRef=null};Object.defineProperty(M.prototype,"inputPasswordHideIcon",{get:function(){if(this.hideIcon!=null){return this.hideIcon}var M=u(this);var s={ios:r,ionic:a,md:r};var i=s[M]||s.md;return L.get("inputPasswordHideIcon",i)},enumerable:false,configurable:true});Object.defineProperty(M.prototype,"inputPasswordShowIcon",{get:function(){if(this.showIcon!=null){return this.showIcon}var M=u(this);var s={ios:N,ionic:D,md:N};var i=s[M]||s.md;return L.get("inputPasswordShowIcon",i)},enumerable:false,configurable:true});M.prototype.render=function(){var M;var s=this,w=s.color,n=s.inputPasswordHideIcon,u=s.inputPasswordShowIcon,L=s.type;var r=e(this);var N=L==="text";return i(t,{key:"140bda3fc0a5a4dda16c9dfcf1254cc94c60206e",class:o(w,(M={},M[r]=true,M))},i("ion-button",{key:"ec84dcf19d488f9454eadc860e10be8f8a306f0b",mode:r,color:w,fill:"clear",shape:"round","aria-checked":N?"true":"false","aria-label":"show password",role:"switch",type:"button",onPointerDown:function(M){M.preventDefault()},onClick:this.togglePasswordVisibility},i("ion-icon",{key:"40d2804ffafda8cb18c4f55af8cb6f7916c7c466",slot:"icon-only","aria-hidden":"true",icon:N?n:u})))};Object.defineProperty(M.prototype,"el",{get:function(){return w(this)},enumerable:false,configurable:true});Object.defineProperty(M,"watchers",{get:function(){return{type:["onTypeChange"]}},enumerable:false,configurable:true});return M}());x.style={ionic:j,ios:z,md:T}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-0fa218e9.system.js","./p-3ad285e3.system.js","./p-c628bdcb.system.js"],(function(t){"use strict";var i,n,e,s,r,o,c;return{setters:[function(t){i=t.r;n=t.e;e=t.h;s=t.i;r=t.g},function(t){o=t.h},function(t){c=t.d}],execute:function(){var u=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";var f=u;var h=t("ion_img",function(){function t(t){var e=this;i(this,t);this.ionImgWillLoad=n(this,"ionImgWillLoad",7);this.ionImgDidLoad=n(this,"ionImgDidLoad",7);this.ionError=n(this,"ionError",7);this.inheritedAttributes={};this.onLoad=function(){e.ionImgDidLoad.emit()};this.onError=function(){e.ionError.emit()};this.loadSrc=undefined;this.loadError=undefined;this.alt=undefined;this.src=undefined}t.prototype.srcChanged=function(){this.addIO()};t.prototype.componentWillLoad=function(){this.inheritedAttributes=o(this.el,["draggable"])};t.prototype.componentDidLoad=function(){this.addIO()};t.prototype.addIO=function(){var t=this;if(this.src===undefined){return}if(typeof window!=="undefined"&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype){this.removeIO();this.io=new IntersectionObserver((function(i){if(i[i.length-1].isIntersecting){t.load();t.removeIO()}}));this.io.observe(this.el)}else{setTimeout((function(){return t.load()}),200)}};t.prototype.load=function(){this.loadError=this.onError;this.loadSrc=this.src;this.ionImgWillLoad.emit()};t.prototype.removeIO=function(){if(this.io){this.io.disconnect();this.io=undefined}};t.prototype.render=function(){var t;var i=this,n=i.loadSrc,r=i.alt,o=i.onLoad,u=i.loadError,f=i.inheritedAttributes;var h=f.draggable;var d=c(this);return e(s,{key:"50b0d4416440b0f33788b176392257d192a804dd",class:(t={},t[d]=true,t)},e("img",{key:"5658e3d8b7333a49cd864ac69e6ae2b0036c134d",decoding:"async",src:n,alt:r,onLoad:o,onError:u,part:"image",draggable:a(h)}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{src:["srcChanged"]}},enumerable:false,configurable:true});return t}());var a=function(t){switch(t){case"true":return true;case"false":return false;default:return undefined}};h.style=f}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
System.register([],(function(n){"use strict";return{execute:function(){var r="ion-focused";var t="ion-focusable";var o=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"];var u=n("startFocusVisible",(function(n){var u=[];var e=true;var c=n?n.shadowRoot:document;var f=n?n:document.body;var i=function(n){u.forEach((function(n){return n.classList.remove(r)}));n.forEach((function(n){return n.classList.add(r)}));u=n};var a=function(){e=false;i([])};var s=function(n){e=o.includes(n.key);if(!e){i([])}};var v=function(n){if(e&&n.composedPath!==undefined){var r=n.composedPath().filter((function(n){if(n.classList){return n.classList.contains(t)}return false}));i(r)}};var d=function(){if(c.activeElement===f){i([])}};c.addEventListener("keydown",s);c.addEventListener("focusin",v);c.addEventListener("focusout",d);c.addEventListener("touchstart",a,{passive:true});c.addEventListener("mousedown",a);var w=function(){c.removeEventListener("keydown",s);c.removeEventListener("focusin",v);c.removeEventListener("focusout",d);c.removeEventListener("touchstart",a);c.removeEventListener("mousedown",a)};return{destroy:w,setFocus:i}}))}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(r,n,t,e){function i(r){return r instanceof t?r:new t((function(n){n(r)}))}return new(t||(t=Promise))((function(t,o){function u(r){try{c(e.next(r))}catch(r){o(r)}}function a(r){try{c(e["throw"](r))}catch(r){o(r)}}function c(r){r.done?t(r.value):i(r.value).then(u,a)}c((e=e.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(r){return function(n){return c([r,n])}}function c(a){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(t=0)),t)try{if(e=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;i=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){t.label=a[1];break}if(a[0]===6&&t.label<o[1]){t.label=o[1];o=a;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(a);break}if(o[2])t.ops.pop();t.trys.pop();continue}a=n.call(r,t)}catch(r){a=[6,r];i=0}finally{e=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-3ad285e3.system.js","./p-c628bdcb.system.js"],(function(r){"use strict";var n,t;return{setters:[function(r){n=r.c},function(r){t=r.f}],execute:function(){var e=this;var i="ION-CONTENT";var o=r("b","ion-content");var u=r("I",".ion-content-scroll-host");var a="".concat(o,", ").concat(u);var c=r("i",(function(r){return r.tagName===i}));var f=r("g",(function(r){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!c(r))return[3,2];return[4,new Promise((function(t){return n(r,t)}))];case 1:t.sent();return[2,r.getScrollElement()];case 2:return[2,r]}}))}))}));var s=r("a",(function(r){var n=r.querySelector(u);if(n){return n}return r.querySelector(a)}));var v=r("f",(function(r){return r.closest(a)}));var h=r("s",(function(r,n){if(c(r)){var t=r;return t.scrollToTop(n)}return Promise.resolve(r.scrollTo({top:0,left:0,behavior:n>0?"smooth":"auto"}))}));var l=r("c",(function(r,n,t,e){if(c(r)){var i=r;return i.scrollByPoint(n,t,e)}return Promise.resolve(r.scrollBy({top:t,left:n,behavior:e>0?"smooth":"auto"}))}));var w=r("p",(function(r){return t(r,o)}));var y=r("d",(function(r){if(c(r)){var n=r;var t=n.scrollY;n.scrollY=false;return t}else{r.style.setProperty("overflow","hidden");return true}}));var b=r("r",(function(r,n){if(c(r)){r.scrollY=n}else{r.style.removeProperty("overflow")}}))}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(r,n,i){if(i||arguments.length===2)for(var e=0,t=n.length,o;e<t;e++){if(o||!(e in n)){if(!o)o=Array.prototype.slice.call(n,0,e);o[e]=n[e]}}return r.concat(o||Array.prototype.slice.call(n))};
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/System.register(["./p-0fa218e9.system.js"],(function(r){"use strict";var n,i,e,t;return{setters:[function(r){n=r.a;i=r.g;e=r.c;t=r.d}],execute:function(){var o=r("p",(function(r){var n=[];for(var i=1;i<arguments.length;i++){n[i-1]=arguments[i]}return console.warn.apply(console,__spreadArray(["[Ionic Warning]: ".concat(r)],n,false))}));var u=r("e",(function(r){var n=[];for(var i=1;i<arguments.length;i++){n[i-1]=arguments[i]}return console.error.apply(console,__spreadArray(["[Ionic Error]: ".concat(r)],n,false))}));var a=r("f",(function(r){var n=[];for(var i=1;i<arguments.length;i++){n[i-1]=arguments[i]}return console.error("<".concat(r.tagName.toLowerCase(),"> must be used inside ").concat(n.join(" or "),"."))}));var v=function(){function r(){this.m=new Map}r.prototype.reset=function(r){this.m=new Map(Object.entries(r))};r.prototype.get=function(r,n){var i=this.m.get(r);return i!==undefined?i:n};r.prototype.getBoolean=function(r,n){if(n===void 0){n=false}var i=this.m.get(r);if(i===undefined){return n}if(typeof i==="string"){return i==="true"}return!!i};r.prototype.getNumber=function(r,n){var i=parseFloat(this.m.get(r));return isNaN(i)?n!==undefined?n:NaN:i};r.prototype.set=function(r,n){this.m.set(r,n)};return r}();var f=r("c",new v);var c=function(r){try{var n=r.sessionStorage.getItem(h);return n!==null?JSON.parse(n):{}}catch(r){return{}}};var d=function(r,n){try{r.sessionStorage.setItem(h,JSON.stringify(n))}catch(r){return}};var s=function(r){var n={};r.location.search.slice(1).split("&").map((function(r){return r.split("=")})).map((function(r){var n=r[0],i=r[1];try{return[decodeURIComponent(n),decodeURIComponent(i)]}catch(r){return["",""]}})).filter((function(r){var n=r[0];return l(n,m)})).map((function(r){var n=r[0],i=r[1];return[n.slice(m.length),i]})).forEach((function(r){var i=r[0],e=r[1];n[i]=e}));return n};var l=function(r,n){return r.substr(0,n.length)===n};var m="ionic:";var h="ionic-persist-config";var p=r("g",(function(r){return y(r)}));var b=r("a",(function(r,n){if(typeof r==="string"){n=r;r=undefined}return p(r).includes(n)}));var y=function(r){if(r===void 0){r=window}if(typeof r==="undefined"){return[]}r.Ionic=r.Ionic||{};var n=r.Ionic.platforms;if(n==null){n=r.Ionic.platforms=w(r);n.forEach((function(n){return r.document.documentElement.classList.add("plt-".concat(n))}))}return n};var w=function(r){var n=f.get("platform");return Object.keys(E).filter((function(i){var e=n===null||n===void 0?void 0:n[i];return typeof e==="function"?e(r):E[i](r)}))};var O=function(r){return C(r)&&!S(r)};var I=function(r){if(U(r,/iPad/i)){return true}if(U(r,/Macintosh/i)&&C(r)){return true}return false};var g=function(r){return U(r,/iPhone/i)};var j=function(r){return U(r,/iPhone|iPod/i)||I(r)};var M=function(r){return U(r,/android|sink/i)};var N=function(r){return M(r)&&!U(r,/mobile/i)};var _=function(r){var n=r.innerWidth;var i=r.innerHeight;var e=Math.min(n,i);var t=Math.max(n,i);return e>390&&e<520&&t>620&&t<800};var A=function(r){var n=r.innerWidth;var i=r.innerHeight;var e=Math.min(n,i);var t=Math.max(n,i);return I(r)||N(r)||e>460&&e<820&&t>780&&t<1400};var C=function(r){return x(r,"(any-pointer:coarse)")};var P=function(r){return!C(r)};var S=function(r){return k(r)||F(r)};var k=function(r){return!!(r["cordova"]||r["phonegap"]||r["PhoneGap"])};var F=function(r){var n=r["Capacitor"];return!!(n===null||n===void 0?void 0:n.isNative)};var J=function(r){return U(r,/electron/i)};var R=function(r){var n;return!!(((n=r.matchMedia)===null||n===void 0?void 0:n.call(r,"(display-mode: standalone)").matches)||r.navigator.standalone)};var U=function(r,n){return n.test(r.navigator.userAgent)};var x=function(r,n){var i;return(i=r.matchMedia)===null||i===void 0?void 0:i.call(r,n).matches};var E={ipad:I,iphone:g,ios:j,android:M,phablet:_,tablet:A,cordova:k,capacitor:F,electron:J,pwa:R,mobile:C,mobileweb:O,desktop:P,hybrid:S};var W;var q="md";var z=function(r,n,i){o("Invalid mode and theme combination provided: mode: ".concat(r,", theme: ").concat(n,". Fallback mode ").concat(D(n)," will be used."),i)};var B=function(r,n){if(r==="md"){return n==="md"||n==="ionic"}else if(r==="ios"){return n==="ios"||n==="ionic"}return false};var D=function(r){if(r==="ios"){return"ios"}return"md"};var G=function(r){if(r==="ios"){return"ios"}return"md"};var H=function(r){return["ios","md"].includes(r)};var K=function(r){return["ios","md","ionic"].includes(r)};var L=function(r){var n;return(n=r.tagName)===null||n===void 0?void 0:n.startsWith("ION-")};var Q=r("b",(function(r,n){if(n===void 0){n=T(r)}var e;if((r===null||r===void 0?void 0:r.mode)&&B(r===null||r===void 0?void 0:r.mode,n)){return r.mode}else{var t=i(r);var o=((e=t.closest("[mode]"))===null||e===void 0?void 0:e.getAttribute("mode"))||W;if(B(o,n)){return o}else{z(o,n,r)}}return D(n)}));var T=r("d",(function(r){var n,t;var o=r&&e(r);if(o){return o}var u=i(r);var a=(n=r===null||r===void 0?void 0:r.mode)!==null&&n!==void 0?n:(t=u.closest("[mode]"))===null||t===void 0?void 0:t.getAttribute("mode");if(a){return G(a)}return q}));var V=r("i",(function(r){if(r===void 0){r={}}if(typeof window==="undefined"){return}var i=window.document;var e=window;var u=e.Ionic=e.Ionic||{};var a={};if(r._ael){a.ael=r._ael}if(r._rel){a.rel=r._rel}if(r._ce){a.ce=r._ce}n(a);var v=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c(e)),{persistConfig:false}),u.config),s(e)),r);f.reset(v);if(f.getBoolean("persistConfig")){d(e,v)}y(e);u.config=f;u.mode=W=f.get("mode",i.documentElement.getAttribute("mode")||(b(e,"ios")?"ios":"md"));u.theme=q=f.get("theme",i.documentElement.getAttribute("theme")||G(W));if(!B(W,q)){z(W,q,v);W=D(q)}f.set("mode",W);i.documentElement.setAttribute("mode",W);i.documentElement.classList.add(W);f.set("theme",q);i.documentElement.setAttribute("theme",q);i.documentElement.classList.add(q);if(f.getBoolean("_testing")){f.set("animated",false)}t((function(r){while(r){var n=r.getAttribute("theme");if(n){if(K(n)){return n}else if(L(r)){o('Invalid theme: "'.concat(n,'". Supported themes include: "ios" or "md".'))}}var i=r.getAttribute("mode");if(i){if(H(i)){return i}else if(L(r)){o('Invalid mode: "'.concat(i,'". Ionic modes can be only "ios" or "md"'))}}r=r.parentElement}return q}))}))}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{w as t}from"./p-83948e48.js";import{h as o,a as e,b as n}from"./p-89b61afc.js";import{createGesture as r}from"./p-8ededb41.js";const s=(s,a)=>{let i,c;const d=(t,o,e)=>{if("undefined"==typeof document)return;const n=document.elementFromPoint(t,o);n&&a(n)&&!n.disabled?n!==i&&(f(),m(n,e)):f()},m=(o,e)=>{i=o,c||(c=i);const n=i;t((()=>n.classList.add("ion-activated"))),e()},f=(o=!1)=>{if(!i)return;const e=i;t((()=>e.classList.remove("ion-activated"))),o&&c!==i&&i.click(),i=void 0};return r({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>d(t.currentX,t.currentY,e),onMove:t=>d(t.currentX,t.currentY,n),onEnd:()=>{f(!0),o(),c=void 0}})};export{s as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{w as e}from"./p-
|
|
4
|
+
import{w as e}from"./p-7b30edcc.js";let o;const t=(e,t,i)=>{const n=t.startsWith("animation")?(r=e,void 0===o&&(o=void 0===r.style.animationName&&void 0!==r.style.webkitAnimationName?"-webkit-":""),o):"";var r;e.style.setProperty(n+t,i)},i=(e=[],o)=>{if(void 0!==o){const t=Array.isArray(o)?o:[o];return[...e,...t]}return e},n=o=>{let n,r,a,s,d,l,f,c,v,m,u,y=[],p=[],g=[],b=!1,A={},C=[],E=[],h={},S=0,k=!1,R=!1,w=!0,T=!1,D=!0,F=!1;const W=o,I=[],K=[],M=[],j=[],x=[],P=[],q=[],z=[],B=[],G=[],H=[],J="function"==typeof AnimationEffect||void 0!==e&&"function"==typeof e.AnimationEffect,L="function"==typeof Element&&"function"==typeof Element.prototype.animate&&J,N=()=>H,O=(e,o)=>{const t=o.findIndex((o=>o.c===e));t>-1&&o.splice(t,1)},Q=(e,o)=>(((null==o?void 0:o.oneTimeCallback)?K:I).push({c:e,o}),u),U=()=>{L&&(H.forEach((e=>{e.cancel()})),H.length=0)},V=()=>{P.forEach((e=>{(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)})),P.length=0},X=()=>void 0!==d?d:f?f.getFill():"both",Y=()=>void 0!==c?c:void 0!==l?l:f?f.getDirection():"normal",Z=()=>k?"linear":void 0!==a?a:f?f.getEasing():"linear",$=()=>R?0:void 0!==v?v:void 0!==r?r:f?f.getDuration():0,_=()=>void 0!==s?s:f?f.getIterations():1,ee=()=>void 0!==m?m:void 0!==n?n:f?f.getDelay():0,oe=()=>{0!==S&&(S--,0===S&&((()=>{B.forEach((e=>e())),G.forEach((e=>e()));const e=w?1:0,o=C,i=E,n=h;j.forEach((e=>{const r=e.classList;o.forEach((e=>r.add(e))),i.forEach((e=>r.remove(e)));for(const o in n)n.hasOwnProperty(o)&&t(e,o,n[o])})),v=void 0,c=void 0,m=void 0,I.forEach((o=>o.c(e,u))),K.forEach((o=>o.c(e,u))),K.length=0,D=!0,w&&(T=!0),w=!0})(),f&&f.animationFinish()))},te=()=>{(()=>{q.forEach((e=>e())),z.forEach((e=>e()));const e=p,o=g,i=A;j.forEach((n=>{const r=n.classList;e.forEach((e=>r.add(e))),o.forEach((e=>r.remove(e)));for(const e in i)i.hasOwnProperty(e)&&t(n,e,i[e])}))})(),y.length>0&&L&&(j.forEach((e=>{const o=e.animate(y,{id:W,delay:ee(),duration:$(),easing:Z(),iterations:_(),fill:X(),direction:Y()});o.pause(),H.push(o)})),H.length>0&&(H[0].onfinish=()=>{oe()})),b=!0},ie=e=>{e=Math.min(Math.max(e,0),.9999),L&&H.forEach((o=>{o.currentTime=o.effect.getComputedTiming().delay+$()*e,o.pause()}))},ne=e=>{H.forEach((e=>{e.effect.updateTiming({delay:ee(),duration:$(),easing:Z(),iterations:_(),fill:X(),direction:Y()})})),void 0!==e&&ie(e)},re=(e=!1,o=!0,t)=>(e&&x.forEach((i=>{i.update(e,o,t)})),L&&ne(t),u),ae=()=>{b&&(L?H.forEach((e=>{e.pause()})):j.forEach((e=>{t(e,"animation-play-state","paused")})),F=!0)},se=e=>new Promise((o=>{(null==e?void 0:e.sync)&&(R=!0,Q((()=>R=!1),{oneTimeCallback:!0})),b||te(),T&&(L&&(ie(0),ne()),T=!1),D&&(S=x.length+1,D=!1);const t=()=>{O(i,K),o()},i=()=>{O(t,M),o()};Q(i,{oneTimeCallback:!0}),M.push({c:t,o:{oneTimeCallback:!0}}),x.forEach((e=>{e.play()})),L?(H.forEach((e=>{e.play()})),0!==y.length&&0!==j.length||oe()):oe(),F=!1})),de=(e,o)=>{const t=y[0];return void 0===t||void 0!==t.offset&&0!==t.offset?y=[{offset:0,[e]:o},...y]:t[e]=o,u};return u={parentAnimation:f,elements:j,childAnimations:x,id:W,animationFinish:oe,from:de,to:(e,o)=>{const t=y[y.length-1];return void 0===t||void 0!==t.offset&&1!==t.offset?y=[...y,{offset:1,[e]:o}]:t[e]=o,u},fromTo:(e,o,t)=>de(e,o).to(e,t),parent:e=>(f=e,u),play:se,pause:()=>(x.forEach((e=>{e.pause()})),ae(),u),stop:()=>{x.forEach((e=>{e.stop()})),b&&(U(),b=!1),k=!1,R=!1,D=!0,c=void 0,v=void 0,m=void 0,S=0,T=!1,w=!0,F=!1,M.forEach((e=>e.c(0,u))),M.length=0},destroy:e=>(x.forEach((o=>{o.destroy(e)})),(e=>{U(),e&&V()})(e),j.length=0,x.length=0,y.length=0,I.length=0,K.length=0,b=!1,D=!0,u),keyframes:e=>{const o=y!==e;return y=e,o&&(e=>{L&&N().forEach((o=>{const t=o.effect;if(t.setKeyframes)t.setKeyframes(e);else{const i=new KeyframeEffect(t.target,e,t.getTiming());o.effect=i}}))})(y),u},addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const o of e)o.parent(u),x.push(o);else e.parent(u),x.push(e);return u},addElement:e=>{if(null!=e)if(1===e.nodeType)j.push(e);else if(e.length>=0)for(let o=0;o<e.length;o++)j.push(e[o]);else console.error("Invalid addElement value");return u},update:re,fill:e=>(d=e,re(!0),u),direction:e=>(l=e,re(!0),u),iterations:e=>(s=e,re(!0),u),duration:e=>(L||0!==e||(e=1),r=e,re(!0),u),easing:e=>(a=e,re(!0),u),delay:e=>(n=e,re(!0),u),getWebAnimations:N,getKeyframes:()=>y,getFill:X,getDirection:Y,getDelay:ee,getIterations:_,getEasing:Z,getDuration:$,afterAddRead:e=>(B.push(e),u),afterAddWrite:e=>(G.push(e),u),afterClearStyles:(e=[])=>{for(const o of e)h[o]="";return u},afterStyles:(e={})=>(h=e,u),afterRemoveClass:e=>(E=i(E,e),u),afterAddClass:e=>(C=i(C,e),u),beforeAddRead:e=>(q.push(e),u),beforeAddWrite:e=>(z.push(e),u),beforeClearStyles:(e=[])=>{for(const o of e)A[o]="";return u},beforeStyles:(e={})=>(A=e,u),beforeRemoveClass:e=>(g=i(g,e),u),beforeAddClass:e=>(p=i(p,e),u),onFinish:Q,isRunning:()=>0!==S&&!F,progressStart:(e=!1,o)=>(x.forEach((t=>{t.progressStart(e,o)})),ae(),k=e,b||te(),re(!1,!0,o),u),progressStep:e=>(x.forEach((o=>{o.progressStep(e)})),ie(e),u),progressEnd:(e,o,t)=>(k=!1,x.forEach((i=>{i.progressEnd(e,o,t)})),void 0!==t&&(v=t),T=!1,w=!0,0===e?(c="reverse"===Y()?"normal":"reverse","reverse"===c&&(w=!1),L?(re(),ie(1-o)):(m=(1-o)*$()*-1,re(!1,!1))):1===e&&(L?(re(),ie(o)):(m=o*$()*-1,re(!1,!1))),void 0===e||f||se(),u)}};export{n as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-aacc6ddd.system.js","./p-70c6cd75.system.js","./p-4609d030.system.js"],(function(i){"use strict";var a,n,r,t,e,o;return{setters:[function(i){a=i.r;n=i.l;r=i.m;t=i.g},function(i){e=i.c},function(i){o=i.c}],execute:function(){var d=":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:var(--ionic-color-neutral-100, #f1f1f1);color:var(--ionic-color-neutral-800, #626262);font-weight:var(--ionic-font-weight-medium, 500);line-height:var(--ionic-line-height-700, 28px)}:host(:not(.avatar-image)){-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:var(--ionic-border-size-025, 1px) var(--ionic-border-style-solid, solid) var(--ionic-color-neutral-800, #626262)}:host(.avatar-xxsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-xsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-small){--padding-end:var(--ionic-space-150, 6px);--padding-start:var(--ionic-space-150, 6px);width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.avatar-medium){--padding-end:var(--ionic-space-200, 8px);--padding-start:var(--ionic-space-200, 8px);width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem)}:host(.avatar-large){--padding-end:var(--ionic-space-250, 10px);--padding-start:var(--ionic-space-250, 10px);width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem)}:host(.avatar-xlarge){--padding-end:var(--ionic-space-300, 12px);--padding-start:var(--ionic-space-300, 12px);width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem)}:host(.avatar-xxsmall.avatar-soft),:host(.avatar-xsmall.avatar-soft),:host(.avatar-small.avatar-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.avatar-soft){--border-radius:var(--ionic-border-radius-200, 8px)}:host(.avatar-round){--border-radius:var(--ionic-border-radius-full, 999px)}:host(.avatar-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}:host(.avatar-icon){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.avatar-xsmall) ::slotted(ion-icon){width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px)}:host(.avatar-small) ::slotted(ion-icon){width:var(--ionic-scale-500, 20px);height:var(--ionic-scale-500, 20px)}:host(.avatar-medium) ::slotted(ion-icon){width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px)}:host(.avatar-large) ::slotted(ion-icon){width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px)}:host(.avatar-xlarge) ::slotted(ion-icon){width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px)}";var s=d;var c=":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";var p=c;var l=":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}";var h=l;var v=i("ion_avatar",function(){function i(i){a(this,i);this.size=undefined;this.shape=undefined}Object.defineProperty(i.prototype,"hasImage",{get:function(){return!!this.el.querySelector("ion-img")||!!this.el.querySelector("img")},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"hasIcon",{get:function(){return!!this.el.querySelector("ion-icon")},enumerable:false,configurable:true});i.prototype.getSize=function(){var i=e(this);var a=this.size;if(i!=="ionic"){return undefined}if(a===undefined){return"medium"}return a};i.prototype.getShape=function(){var i=e(this);var a=this.shape;if(i!=="ionic"){return undefined}if(a===undefined){return"round"}return a};i.prototype.render=function(){var i;var a=e(this);var t=this.getSize();var o=this.getShape();return n(r,{key:"169f3e804c30f9eedc8c3cf064af9871bead2f5f",class:(i={},i[a]=true,i["avatar-".concat(t)]=t!==undefined,i["avatar-".concat(o)]=o!==undefined,i["avatar-image"]=this.hasImage,i["avatar-icon"]=this.hasIcon,i)},n("slot",{key:"67bb5a3c1a6bd33af37141df05663f1685c84286"}))};Object.defineProperty(i.prototype,"el",{get:function(){return t(this)},enumerable:false,configurable:true});return i}());v.style={ionic:s,ios:p,md:h};var g=":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-200, 8px);--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ionic-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ionic-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ionic-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ionic-space-050, 2px);--padding-end:var(--ionic-space-050, 2px);min-width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-400, 16px)}:host(.badge-xsmall){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-small){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-medium){min-width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-large){min-width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-xlarge){min-width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem);line-height:var(--ionic-line-height-700, 28px)}";var f=g;var b=":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}";var u=b;var x=":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}";var m=x;var w=i("ion_badge",function(){function i(i){a(this,i);this.color=undefined;this.shape=undefined;this.size=undefined}i.prototype.getShape=function(){var i=e(this);var a=this.shape;if(i!=="ionic"){return undefined}if(a===undefined){return"round"}return a};i.prototype.getSize=function(){var i=e(this);var a=this.size;if(i!=="ionic"){return undefined}if(a===undefined){return"small"}return a};i.prototype.render=function(){var i;var a=this.getShape();var t=this.getSize();var d=e(this);return n(r,{key:"c90c2b6ac737ec5ebfa28bb2ccef6517a9a9b84e",class:o(this.color,(i={},i[d]=true,i["badge-".concat(a)]=a!==undefined,i["badge-".concat(t)]=t!==undefined,i))},n("slot",{key:"4a3a379d86e60a04a449b8a0bf8f99776d64bc4c"}))};return i}());w.style={ionic:f,ios:u,md:m};var y=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";var k=y;var z=i("ion_thumbnail",function(){function i(i){a(this,i)}i.prototype.render=function(){var i;var a=e(this);return n(r,{key:"8913b780b1ac6a325126622f992da0d4169b5c8c",class:(i={},i[a]=true,i)},n("slot",{key:"10127c5603bc9b750e060e35f8b7f665befce81a"}))};return i}());z.style=k}}}));
|
|
4
|
+
System.register(["./p-0fa218e9.system.js","./p-c628bdcb.system.js","./p-4609d030.system.js"],(function(i){"use strict";var a,n,r,e,t,o;return{setters:[function(i){a=i.r;n=i.h;r=i.i;e=i.g},function(i){t=i.d},function(i){o=i.c}],execute:function(){var d=":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:var(--ionic-color-neutral-100, #f1f1f1);color:var(--ionic-color-neutral-800, #626262);font-weight:var(--ionic-font-weight-medium, 500);line-height:var(--ionic-line-height-700, 28px)}:host(:not(.avatar-image)){-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:var(--ionic-border-size-025, 1px) var(--ionic-border-style-solid, solid) var(--ionic-color-neutral-800, #626262)}:host(.avatar-xxsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-xsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-small){--padding-end:var(--ionic-space-150, 6px);--padding-start:var(--ionic-space-150, 6px);width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.avatar-medium){--padding-end:var(--ionic-space-200, 8px);--padding-start:var(--ionic-space-200, 8px);width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem)}:host(.avatar-large){--padding-end:var(--ionic-space-250, 10px);--padding-start:var(--ionic-space-250, 10px);width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem)}:host(.avatar-xlarge){--padding-end:var(--ionic-space-300, 12px);--padding-start:var(--ionic-space-300, 12px);width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem)}:host(.avatar-xxsmall.avatar-soft),:host(.avatar-xsmall.avatar-soft),:host(.avatar-small.avatar-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.avatar-soft){--border-radius:var(--ionic-border-radius-200, 8px)}:host(.avatar-round){--border-radius:var(--ionic-border-radius-full, 999px)}:host(.avatar-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}:host(.avatar-icon){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.avatar-xsmall) ::slotted(ion-icon){width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px)}:host(.avatar-small) ::slotted(ion-icon){width:var(--ionic-scale-500, 20px);height:var(--ionic-scale-500, 20px)}:host(.avatar-medium) ::slotted(ion-icon){width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px)}:host(.avatar-large) ::slotted(ion-icon){width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px)}:host(.avatar-xlarge) ::slotted(ion-icon){width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px)}";var s=d;var c=":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";var p=c;var l=":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}";var h=l;var v=i("ion_avatar",function(){function i(i){a(this,i);this.size=undefined;this.shape=undefined}Object.defineProperty(i.prototype,"hasImage",{get:function(){return!!this.el.querySelector("ion-img")||!!this.el.querySelector("img")},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"hasIcon",{get:function(){return!!this.el.querySelector("ion-icon")},enumerable:false,configurable:true});i.prototype.getSize=function(){var i=t(this);var a=this.size;if(i!=="ionic"){return undefined}if(a===undefined){return"medium"}return a};i.prototype.getShape=function(){var i=t(this);var a=this.shape;if(i!=="ionic"){return undefined}if(a===undefined){return"round"}return a};i.prototype.render=function(){var i;var a=t(this);var e=this.getSize();var o=this.getShape();return n(r,{key:"169f3e804c30f9eedc8c3cf064af9871bead2f5f",class:(i={},i[a]=true,i["avatar-".concat(e)]=e!==undefined,i["avatar-".concat(o)]=o!==undefined,i["avatar-image"]=this.hasImage,i["avatar-icon"]=this.hasIcon,i)},n("slot",{key:"67bb5a3c1a6bd33af37141df05663f1685c84286"}))};Object.defineProperty(i.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return i}());v.style={ionic:s,ios:p,md:h};var g=":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-200, 8px);--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ionic-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ionic-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ionic-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ionic-space-050, 2px);--padding-end:var(--ionic-space-050, 2px);min-width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-400, 16px)}:host(.badge-xsmall){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-small){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-medium){min-width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-large){min-width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-xlarge){min-width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem);line-height:var(--ionic-line-height-700, 28px)}";var f=g;var b=":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}";var u=b;var x=":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}";var m=x;var w=i("ion_badge",function(){function i(i){a(this,i);this.color=undefined;this.shape=undefined;this.size=undefined}i.prototype.getShape=function(){var i=t(this);var a=this.shape;if(i!=="ionic"){return undefined}if(a===undefined){return"round"}return a};i.prototype.getSize=function(){var i=t(this);var a=this.size;if(i!=="ionic"){return undefined}if(a===undefined){return"small"}return a};i.prototype.render=function(){var i;var a=this.getShape();var e=this.getSize();var d=t(this);return n(r,{key:"c90c2b6ac737ec5ebfa28bb2ccef6517a9a9b84e",class:o(this.color,(i={},i[d]=true,i["badge-".concat(a)]=a!==undefined,i["badge-".concat(e)]=e!==undefined,i))},n("slot",{key:"4a3a379d86e60a04a449b8a0bf8f99776d64bc4c"}))};return i}());w.style={ionic:f,ios:u,md:m};var y=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";var k=y;var z=i("ion_thumbnail",function(){function i(i){a(this,i)}i.prototype.render=function(){var i;var a=t(this);return n(r,{key:"8913b780b1ac6a325126622f992da0d4169b5c8c",class:(i={},i[a]=true,i)},n("slot",{key:"10127c5603bc9b750e060e35f8b7f665befce81a"}))};return i}());z.style=k}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as i,l as a,m as o,g as t}from"./p-a9fd9d48.js";import{c as r}from"./p-3ca5196c.js";import{c as n}from"./p-47794def.js";const e=class{constructor(a){i(this,a),this.size=void 0,this.shape=void 0}get hasImage(){return!!this.el.querySelector("ion-img")||!!this.el.querySelector("img")}get hasIcon(){return!!this.el.querySelector("ion-icon")}getSize(){const i=r(this),{size:a}=this;if("ionic"===i)return void 0===a?"medium":a}getShape(){const i=r(this),{shape:a}=this;if("ionic"===i)return void 0===a?"round":a}render(){const i=r(this),t=this.getSize(),n=this.getShape();return a(o,{key:"169f3e804c30f9eedc8c3cf064af9871bead2f5f",class:{[i]:!0,[`avatar-${t}`]:void 0!==t,[`avatar-${n}`]:void 0!==n,"avatar-image":this.hasImage,"avatar-icon":this.hasIcon}},a("slot",{key:"67bb5a3c1a6bd33af37141df05663f1685c84286"}))}get el(){return t(this)}};e.style={ionic:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:var(--ionic-color-neutral-100, #f1f1f1);color:var(--ionic-color-neutral-800, #626262);font-weight:var(--ionic-font-weight-medium, 500);line-height:var(--ionic-line-height-700, 28px)}:host(:not(.avatar-image)){-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:var(--ionic-border-size-025, 1px) var(--ionic-border-style-solid, solid) var(--ionic-color-neutral-800, #626262)}:host(.avatar-xxsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-xsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-small){--padding-end:var(--ionic-space-150, 6px);--padding-start:var(--ionic-space-150, 6px);width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.avatar-medium){--padding-end:var(--ionic-space-200, 8px);--padding-start:var(--ionic-space-200, 8px);width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem)}:host(.avatar-large){--padding-end:var(--ionic-space-250, 10px);--padding-start:var(--ionic-space-250, 10px);width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem)}:host(.avatar-xlarge){--padding-end:var(--ionic-space-300, 12px);--padding-start:var(--ionic-space-300, 12px);width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem)}:host(.avatar-xxsmall.avatar-soft),:host(.avatar-xsmall.avatar-soft),:host(.avatar-small.avatar-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.avatar-soft){--border-radius:var(--ionic-border-radius-200, 8px)}:host(.avatar-round){--border-radius:var(--ionic-border-radius-full, 999px)}:host(.avatar-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}:host(.avatar-icon){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.avatar-xsmall) ::slotted(ion-icon){width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px)}:host(.avatar-small) ::slotted(ion-icon){width:var(--ionic-scale-500, 20px);height:var(--ionic-scale-500, 20px)}:host(.avatar-medium) ::slotted(ion-icon){width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px)}:host(.avatar-large) ::slotted(ion-icon){width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px)}:host(.avatar-xlarge) ::slotted(ion-icon){width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px)}",ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const d=class{constructor(a){i(this,a),this.color=void 0,this.shape=void 0,this.size=void 0}getShape(){const i=r(this),{shape:a}=this;if("ionic"===i)return void 0===a?"round":a}getSize(){const i=r(this),{size:a}=this;if("ionic"===i)return void 0===a?"small":a}render(){const i=this.getShape(),t=this.getSize(),e=r(this);return a(o,{key:"c90c2b6ac737ec5ebfa28bb2ccef6517a9a9b84e",class:n(this.color,{[e]:!0,[`badge-${i}`]:void 0!==i,[`badge-${t}`]:void 0!==t})},a("slot",{key:"4a3a379d86e60a04a449b8a0bf8f99776d64bc4c"}))}};d.style={ionic:":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-200, 8px);--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ionic-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ionic-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ionic-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ionic-space-050, 2px);--padding-end:var(--ionic-space-050, 2px);min-width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-400, 16px)}:host(.badge-xsmall){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-small){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-medium){min-width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-large){min-width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-xlarge){min-width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem);line-height:var(--ionic-line-height-700, 28px)}",ios:":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}",md:":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const s=class{constructor(a){i(this,a)}render(){const i=r(this);return a(o,{key:"8913b780b1ac6a325126622f992da0d4169b5c8c",class:{[i]:!0}},a("slot",{key:"10127c5603bc9b750e060e35f8b7f665befce81a"}))}};s.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";export{e as ion_avatar,d as ion_badge,s as ion_thumbnail}
|
|
4
|
+
import{r as i,h as a,i as o,g as t}from"./p-83948e48.js";import{d as r}from"./p-7b341352.js";import{c as n}from"./p-47794def.js";const e=class{constructor(a){i(this,a),this.size=void 0,this.shape=void 0}get hasImage(){return!!this.el.querySelector("ion-img")||!!this.el.querySelector("img")}get hasIcon(){return!!this.el.querySelector("ion-icon")}getSize(){const i=r(this),{size:a}=this;if("ionic"===i)return void 0===a?"medium":a}getShape(){const i=r(this),{shape:a}=this;if("ionic"===i)return void 0===a?"round":a}render(){const i=r(this),t=this.getSize(),n=this.getShape();return a(o,{key:"169f3e804c30f9eedc8c3cf064af9871bead2f5f",class:{[i]:!0,[`avatar-${t}`]:void 0!==t,[`avatar-${n}`]:void 0!==n,"avatar-image":this.hasImage,"avatar-icon":this.hasIcon}},a("slot",{key:"67bb5a3c1a6bd33af37141df05663f1685c84286"}))}get el(){return t(this)}};e.style={ionic:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:var(--ionic-color-neutral-100, #f1f1f1);color:var(--ionic-color-neutral-800, #626262);font-weight:var(--ionic-font-weight-medium, 500);line-height:var(--ionic-line-height-700, 28px)}:host(:not(.avatar-image)){-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:var(--ionic-border-size-025, 1px) var(--ionic-border-style-solid, solid) var(--ionic-color-neutral-800, #626262)}:host(.avatar-xxsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-xsmall){--padding-end:var(--ionic-space-050, 2px);--padding-start:var(--ionic-space-050, 2px);width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-500, 20px)}:host(.avatar-small){--padding-end:var(--ionic-space-150, 6px);--padding-start:var(--ionic-space-150, 6px);width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.avatar-medium){--padding-end:var(--ionic-space-200, 8px);--padding-start:var(--ionic-space-200, 8px);width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem)}:host(.avatar-large){--padding-end:var(--ionic-space-250, 10px);--padding-start:var(--ionic-space-250, 10px);width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem)}:host(.avatar-xlarge){--padding-end:var(--ionic-space-300, 12px);--padding-start:var(--ionic-space-300, 12px);width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem)}:host(.avatar-xxsmall.avatar-soft),:host(.avatar-xsmall.avatar-soft),:host(.avatar-small.avatar-soft){--border-radius:var(--ionic-border-radius-100, 4px)}:host(.avatar-soft){--border-radius:var(--ionic-border-radius-200, 8px)}:host(.avatar-round){--border-radius:var(--ionic-border-radius-full, 999px)}:host(.avatar-rectangular){--border-radius:var(--ionic-border-radius-0, 0px)}:host(.avatar-icon){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.avatar-xsmall) ::slotted(ion-icon){width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px)}:host(.avatar-small) ::slotted(ion-icon){width:var(--ionic-scale-500, 20px);height:var(--ionic-scale-500, 20px)}:host(.avatar-medium) ::slotted(ion-icon){width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px)}:host(.avatar-large) ::slotted(ion-icon){width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px)}:host(.avatar-xlarge) ::slotted(ion-icon){width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px)}",ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const d=class{constructor(a){i(this,a),this.color=void 0,this.shape=void 0,this.size=void 0}getShape(){const i=r(this),{shape:a}=this;if("ionic"===i)return void 0===a?"round":a}getSize(){const i=r(this),{size:a}=this;if("ionic"===i)return void 0===a?"small":a}render(){const i=this.getShape(),t=this.getSize(),e=r(this);return a(o,{key:"c90c2b6ac737ec5ebfa28bb2ccef6517a9a9b84e",class:n(this.color,{[e]:!0,[`badge-${i}`]:void 0!==i,[`badge-${t}`]:void 0!==t})},a("slot",{key:"4a3a379d86e60a04a449b8a0bf8f99776d64bc4c"}))}};d.style={ionic:":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-200, 8px);--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ionic-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ionic-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ionic-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ionic-space-050, 2px);--padding-end:var(--ionic-space-050, 2px);min-width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-400, 16px)}:host(.badge-xsmall){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-small){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-medium){min-width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-large){min-width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-xlarge){min-width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem);line-height:var(--ionic-line-height-700, 28px)}",ios:":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}",md:":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const s=class{constructor(a){i(this,a)}render(){const i=r(this);return a(o,{key:"8913b780b1ac6a325126622f992da0d4169b5c8c",class:{[i]:!0}},a("slot",{key:"10127c5603bc9b750e060e35f8b7f665befce81a"}))}};s.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";export{e as ion_avatar,d as ion_badge,s as ion_thumbnail}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,e as o,h as e,i as r,g as i}from"./p-83948e48.js";import{B as s,j as n,k as p,f as a,n as d,g as c,h,F as l}from"./p-62836b01.js";import{C as v,a as f,d as g}from"./p-3cc276f4.js";import{r as x,g as m,a as b,k as w}from"./p-b51e4004.js";import{c as u}from"./p-ccd02320.js";import{p as k,d as y,a as P}from"./p-7b341352.js";import{g as D}from"./p-47794def.js";import{e as T,w as I}from"./p-3dfa54e6.js";import{c as $}from"./p-c7e16491.js";import"./p-7b30edcc.js";import"./p-0bfbe380.js";import"./p-9b97df10.js";const j=(t,o,e)=>{const r=o.getBoundingClientRect(),i=r.height;let s=r.width;return"cover"===t&&e&&(s=e.getBoundingClientRect().width),{contentWidth:s,contentHeight:i}},A=(t,o)=>o&&"ION-ITEM"===o.tagName?t.findIndex((t=>t===o)):-1,L=t=>{const o=m(t).querySelector("button");o&&x((()=>o.focus()))},N=(t,o,e,r,i,s,n,p,a,d,c)=>{var h;let l={top:0,left:0,width:0,height:0};if("event"===s){if(!c)return a;l={top:c.clientY,left:c.clientX,width:1,height:1}}else{const t=d||(null===(h=null==c?void 0:c.detail)||void 0===h?void 0:h.ionShadowTarget)||(null==c?void 0:c.target);if(!t)return a;const o=t.getBoundingClientRect();l={top:o.top,left:o.left,width:o.width,height:o.height}}const v=X(n,l,o,e,r,i,t),f=Y(p,n,l,o,e),g=v.top+f.top,x=v.left+f.left,{arrowTop:m,arrowLeft:b}=C(n,r,i,g,x,o,e,t),{originX:w,originY:u}=W(n,p,t);return{top:g,left:x,referenceCoordinates:l,arrowTop:m,arrowLeft:b,originX:w,originY:u}},W=(t,o,e)=>{switch(t){case"top":return{originX:z(o),originY:"bottom"};case"bottom":return{originX:z(o),originY:"top"};case"left":return{originX:"right",originY:O(o)};case"right":return{originX:"left",originY:O(o)};case"start":return{originX:e?"left":"right",originY:O(o)};case"end":return{originX:e?"right":"left",originY:O(o)}}},z=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},O=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},C=(t,o,e,r,i,s,n,p)=>{const a={arrowTop:r+n/2-o/2,arrowLeft:i+s-o/2},d={arrowTop:r+n/2-o/2,arrowLeft:i-1.5*o};switch(t){case"top":return{arrowTop:r+n,arrowLeft:i+s/2-o/2};case"bottom":return{arrowTop:r-e,arrowLeft:i+s/2-o/2};case"left":return a;case"right":return d;case"start":return p?d:a;case"end":return p?a:d;default:return{arrowTop:0,arrowLeft:0}}},X=(t,o,e,r,i,s,n)=>{const p={top:o.top,left:o.left-e-i},a={top:o.top,left:o.left+o.width+i};switch(t){case"top":return{top:o.top-r-s,left:o.left};case"right":return a;case"bottom":return{top:o.top+o.height+s,left:o.left};case"left":return p;case"start":return n?a:p;case"end":return n?p:a}},Y=(t,o,e,r,i)=>{switch(t){case"center":return H(o,e,r,i);case"end":return E(o,e,r,i);default:return{top:0,left:0}}},E=(t,o,e,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-o.height),left:0};default:return{top:0,left:-(e-o.width)}}},H=(t,o,e,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-o.height/2),left:0};default:return{top:0,left:-(e/2-o.width/2)}}},M=(t,o,e,r,i,s,n,p,a,d,c,h,l=0,v=0,f=0)=>{let g=l;const x=v;let m,b=e,w=o,u=d,k=c,y=!1,P=!1;const D=h?h.top+h.height:s/2-p/2,T=h?h.height:0;let I=!1;return b<r+a?(b=r,y=!0,u="left"):n+r+b+a>i&&(P=!0,b=i-n-r,u="right"),D+T+p>s&&("top"===t||"bottom"===t)&&(D-p>0?(w=Math.max(12,D-p-T-(f-1)),g=w+p,k="bottom",I=!0):m=r),{top:w,left:b,bottom:m,originX:u,originY:k,checkSafeAreaLeft:y,checkSafeAreaRight:P,arrowTop:g,arrowLeft:x,addPopoverBottomClass:I}},S=(t,o)=>{var e;const{event:r,size:i,trigger:s,reference:n,side:p,align:a}=o,d=t.ownerDocument,c="rtl"===d.dir,h=d.defaultView.innerWidth,l=d.defaultView.innerHeight,v=m(t),f=v.querySelector(".popover-content"),g=v.querySelector(".popover-arrow"),x=s||(null===(e=null==r?void 0:r.detail)||void 0===e?void 0:e.ionShadowTarget)||(null==r?void 0:r.target),{contentWidth:b,contentHeight:w}=j(i,f,x),{arrowWidth:u,arrowHeight:k}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:o,height:e}=t.getBoundingClientRect();return{arrowWidth:o,arrowHeight:e}})(g),y=N(c,b,w,u,k,n,p,a,{top:l/2-w/2,left:h/2-b/2,originX:c?"right":"left",originY:"top"},s,r),P="cover"===i?0:5,D="cover"===i?0:25,{originX:T,originY:I,top:A,left:L,bottom:W,checkSafeAreaLeft:z,checkSafeAreaRight:O,arrowTop:C,arrowLeft:X,addPopoverBottomClass:Y}=M(p,y.top,y.left,P,h,l,b,w,D,y.originX,y.originY,y.referenceCoordinates,y.arrowTop,y.arrowLeft,k),E=$(),H=$(),S=$();return H.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),S.addElement(v.querySelector(".popover-arrow")).addElement(v.querySelector(".popover-content")).fromTo("opacity",.01,1),E.easing("ease").duration(100).beforeAddWrite((()=>{"cover"===i&&t.style.setProperty("--width",`${b}px`),Y&&t.classList.add("popover-bottom"),void 0!==W&&f.style.setProperty("bottom",`${W}px`);let o=`${L}px`;if(z&&(o=`${L}px + var(--ion-safe-area-left, 0)`),O&&(o=`${L}px - var(--ion-safe-area-right, 0)`),f.style.setProperty("top",`calc(${A}px + var(--offset-y, 0))`),f.style.setProperty("left",`calc(${o} + var(--offset-x, 0))`),f.style.setProperty("transform-origin",`${I} ${T}`),null!==g){const t=((t,o=!1,e,r)=>!(!e&&!r||"top"!==t&&"bottom"!==t&&o))(p,y.top!==A||y.left!==L,r,s);t?(g.style.setProperty("top",`calc(${C}px + var(--offset-y, 0))`),g.style.setProperty("left",`calc(${X}px + var(--offset-x, 0))`)):g.style.setProperty("display","none")}})).addAnimation([H,S])},V=t=>{const o=m(t),e=o.querySelector(".popover-content"),r=o.querySelector(".popover-arrow"),i=$(),s=$(),n=$();return s.addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(o.querySelector(".popover-arrow")).addElement(o.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("bottom"),e.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))})).duration(300).addAnimation([s,n])},B=(t,o)=>{var e;const{event:r,size:i,trigger:s,reference:n,side:p,align:a}=o,d=t.ownerDocument,c="rtl"===d.dir,h=d.defaultView.innerWidth,l=d.defaultView.innerHeight,v=m(t),f=v.querySelector(".popover-content"),g=s||(null===(e=null==r?void 0:r.detail)||void 0===e?void 0:e.ionShadowTarget)||(null==r?void 0:r.target),{contentWidth:x,contentHeight:b}=j(i,f,g),w=N(c,x,b,0,0,n,p,a,{top:l/2-b/2,left:h/2-x/2,originX:c?"right":"left",originY:"top"},s,r),u="cover"===i?0:12,{originX:k,originY:y,top:P,left:D,bottom:T}=M(p,w.top,w.left,u,h,l,x,b,0,w.originX,w.originY,w.referenceCoordinates),I=$(),A=$(),L=$(),W=$(),z=$();return A.addElement(v.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),L.addElement(v.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),W.addElement(f).beforeStyles({top:`calc(${P}px + var(--offset-y, 0px))`,left:`calc(${D}px + var(--offset-x, 0px))`,"transform-origin":`${y} ${k}`}).beforeAddWrite((()=>{void 0!==T&&f.style.setProperty("bottom",`${T}px`)})).fromTo("transform","scale(0.8)","scale(1)"),z.addElement(v.querySelector(".popover-viewport")).fromTo("opacity",.01,1),I.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((()=>{"cover"===i&&t.style.setProperty("--width",`${x}px`),"bottom"===y&&t.classList.add("popover-bottom")})).addAnimation([A,L,W,z])},R=t=>{const o=m(t),e=o.querySelector(".popover-content"),r=$(),i=$(),s=$();return i.addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(o.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite((()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("bottom"),e.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,s])},F=class{constructor(e){t(this,e),this.didPresent=o(this,"ionPopoverDidPresent",7),this.willPresent=o(this,"ionPopoverWillPresent",7),this.willDismiss=o(this,"ionPopoverWillDismiss",7),this.didDismiss=o(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.ionMount=o(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=v(),this.lockController=u(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,s)},this.onLifecycle=t=>{const o=this.usersElement,e=K[t.type];if(o&&e){const r=new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:t,triggerAction:o,el:e,destroyTriggerInteraction:r}=this;if(r&&r(),void 0===t)return;const i=this.triggerEl=void 0!==t?document.getElementById(t):null;i?this.destroyTriggerInteraction=((t,o,e)=>{let r=[];switch(o){case"hover":let t;r=[{eventName:"mouseenter",callback:async o=>{o.stopPropagation(),t&&clearTimeout(t),t=setTimeout((()=>{x((()=>{e.presentFromTrigger(o),t=void 0}))}),100)}},{eventName:"mouseleave",callback:o=>{t&&clearTimeout(t);const r=o.relatedTarget;r&&r.closest("ion-popover")!==e&&e.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>e.presentFromTrigger(t,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:t=>{t.preventDefault(),e.presentFromTrigger(t)}},{eventName:"click",callback:t=>t.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:t=>e.presentFromTrigger(t,!0)}];break;default:r=[{eventName:"click",callback:t=>e.presentFromTrigger(t)},{eventName:"ionPopoverActivateTrigger",callback:t=>e.presentFromTrigger(t,!0)}]}return r.forEach((({eventName:o,callback:e})=>t.addEventListener(o,e))),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach((({eventName:o,callback:e})=>t.removeEventListener(o,e))),t.removeAttribute("data-ion-popover-trigger")}})(i,o,e):k(`A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:t,el:o}=this;t&&t(),this.destroyKeyboardInteraction=(t=>{const o=async o=>{var e;const r=document.activeElement;let i=[];const s=null===(e=o.target)||void 0===e?void 0:e.tagName;if("ION-POPOVER"===s||"ION-ITEM"===s){try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(t){}switch(o.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":o.preventDefault();const e=((t,o)=>t[A(t,o)+1])(i,r);void 0!==e&&L(e);break;case"ArrowUp":o.preventDefault();const s=((t,o)=>t[A(t,o)-1])(i,r);void 0!==s&&L(s);break;case"Home":o.preventDefault();const n=i[0];void 0!==n&&L(n);break;case"End":o.preventDefault();const p=i[i.length-1];void 0!==p&&L(p);break;case"ArrowRight":case" ":case"Enter":if(r&&r.hasAttribute("data-ion-popover-trigger")){const t=new CustomEvent("ionPopoverActivateTrigger");r.dispatchEvent(t)}}}};return t.addEventListener("keydown",o),()=>t.removeEventListener("keydown",o)})(o)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:t,parentPopover:o,triggerAction:e,triggerEl:r,el:i}=this;o&&r&&(t&&t(),this.destroyDismissInteraction=((t,o,e,r)=>{let i=[];const s=m(r).querySelector(".popover-content");return i="hover"===o?[{eventName:"mouseenter",callback:o=>{document.elementFromPoint(o.clientX,o.clientY)!==t&&e.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:o=>{o.target.closest("[data-ion-popover-trigger]")!==t?e.dismiss(void 0,void 0,!1):o.stopPropagation()}}],i.forEach((({eventName:t,callback:o})=>s.addEventListener(t,o))),()=>{i.forEach((({eventName:t,callback:o})=>s.removeEventListener(t,o)))}})(r,e,i,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:o}=this;n(o),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){var t,o;const{el:e}=this,r=null!==(o=null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)&&void 0!==o?o:p(e);this.parentPopover=e.closest(`ion-popover:not(#${r})`),void 0===this.alignment&&(this.alignment="ios"===y(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:o}=this;!0===o&&x((()=>this.present())),t&&b(t,"ionPopoverWillDismiss",(()=>{this.dismiss(void 0,void 0,!1)})),this.configureTriggerInteraction()}async presentFromTrigger(t,o=!1){this.focusDescendantOnPresent=o,await this.present(t),this.focusDescendantOnPresent=!1}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}async present(t){const o=await this.lockController.lock();if(this.presented)return void o();const{el:e}=this,{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await f(i,e,this.component,["popover-viewport"],this.componentProps,r),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),w(e)?await T(this.usersElement):this.keepContentsMounted||await I(),await a(this,"popoverEnter",S,B,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&d(e),o()}async dismiss(t,o,e=!0){const r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;e&&this.parentPopover&&this.parentPopover.dismiss(t,o,e);const n=await c(this,t,o,"popoverLeave",V,R,this.event);if(n){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);const{delegate:t}=this.getDelegate();await g(t,this.usersElement)}return r(),n}async getParentPopover(){return this.parentPopover}onDidDismiss(){return h(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return h(this.el,"ionPopoverWillDismiss")}render(){const t=y(this),{onLifecycle:o,parentPopover:i,dismissOnSelect:s,side:n,arrow:p,htmlAttributes:a,focusTrap:d}=this,c=P("desktop"),h=p&&!i;return e(r,Object.assign({key:"39bf21ef8ecf42517b9d1bb35bb2de318d514630","aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},D(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":c,[`popover-side-${n}`]:!0,[l]:!1===d,"popover-nested":!!i}),onIonPopoverDidPresent:o,onIonPopoverWillPresent:o,onIonPopoverWillDismiss:o,onIonPopoverDidDismiss:o,onIonBackdropTap:this.onBackdropTap}),!i&&e("ion-backdrop",{key:"563cc51c835a8b81fedb2de896ee426768c50de2",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),e("div",{key:"8af6ff024ba1f97162f556ddebf7994581d5c5cd",class:"popover-wrapper ion-overlay-wrapper",onClick:s?()=>this.dismiss():void 0},h&&e("div",{key:"bbd8a7bd929833855c77e081020ae8bdc69e70a3",class:"popover-arrow",part:"arrow"}),e("div",{key:"9fcf98f42b35abc4cbdcd63dfac2af287846294c",class:"popover-content",part:"content"},e("slot",{key:"0e88929d602761f4013d6a42b7f57fad213176b1"}))))}get el(){return i(this)}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}},K={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};F.style={ionic:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}",ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"};export{F as ion_popover}
|