@ionic/angular 8.8.14-dev.11784243422.11f0110c → 8.8.14-dev.11785507167.1f41b13b
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/README.md +1 -1
- package/dist/common/directives/control-value-accessors/index.d.ts +1 -0
- package/dist/common/directives/control-value-accessors/index.js +2 -0
- package/dist/common/directives/control-value-accessors/index.js.map +1 -0
- package/dist/common/directives/control-value-accessors/value-accessor.d.ts +36 -0
- package/dist/common/directives/control-value-accessors/value-accessor.js +152 -0
- package/dist/common/directives/control-value-accessors/value-accessor.js.map +1 -0
- package/dist/common/directives/navigation/back-button.d.ts +23 -0
- package/dist/common/directives/navigation/back-button.js +66 -0
- package/dist/common/directives/navigation/back-button.js.map +1 -0
- package/dist/common/directives/navigation/nav-params.d.ts +45 -0
- package/dist/common/directives/navigation/nav-params.js +47 -0
- package/dist/common/directives/navigation/nav-params.js.map +1 -0
- package/dist/common/directives/navigation/nav.d.ts +21 -0
- package/dist/common/directives/navigation/nav.js +54 -0
- package/dist/common/directives/navigation/nav.js.map +1 -0
- package/dist/common/directives/navigation/router-link-delegate.d.ts +70 -0
- package/dist/common/directives/navigation/router-link-delegate.js +188 -0
- package/dist/common/directives/navigation/router-link-delegate.js.map +1 -0
- package/dist/common/directives/navigation/router-outlet.d.ts +104 -0
- package/dist/common/directives/navigation/router-outlet.js +476 -0
- package/dist/common/directives/navigation/router-outlet.js.map +1 -0
- package/dist/common/directives/navigation/stack-controller.d.ts +42 -0
- package/dist/common/directives/navigation/stack-controller.js +279 -0
- package/dist/common/directives/navigation/stack-controller.js.map +1 -0
- package/dist/common/directives/navigation/stack-utils.d.ts +38 -0
- package/dist/common/directives/navigation/stack-utils.js +73 -0
- package/dist/common/directives/navigation/stack-utils.js.map +1 -0
- package/dist/common/directives/navigation/tabs.d.ts +91 -0
- package/dist/common/directives/navigation/tabs.js +290 -0
- package/dist/common/directives/navigation/tabs.js.map +1 -0
- package/dist/common/index.d.ts +22 -0
- package/dist/common/index.js +20 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/overlays/modal.d.ts +62 -0
- package/dist/common/overlays/modal.js +101 -0
- package/dist/common/overlays/modal.js.map +1 -0
- package/dist/common/overlays/popover.d.ts +46 -0
- package/dist/common/overlays/popover.js +89 -0
- package/dist/common/overlays/popover.js.map +1 -0
- package/dist/common/providers/angular-delegate.d.ts +28 -0
- package/dist/common/providers/angular-delegate.js +229 -0
- package/dist/common/providers/angular-delegate.js.map +1 -0
- package/dist/common/providers/config.d.ts +11 -0
- package/dist/common/providers/config.js +44 -0
- package/dist/common/providers/config.js.map +1 -0
- package/dist/common/providers/dom-controller.d.ts +16 -0
- package/dist/common/providers/dom-controller.js +44 -0
- package/dist/common/providers/dom-controller.js.map +1 -0
- package/dist/common/providers/menu-controller.d.ts +78 -0
- package/dist/common/providers/menu-controller.js +114 -0
- package/dist/common/providers/menu-controller.js.map +1 -0
- package/dist/common/providers/nav-controller.d.ts +116 -0
- package/dist/common/providers/nav-controller.js +232 -0
- package/dist/common/providers/nav-controller.js.map +1 -0
- package/dist/common/providers/platform.d.ts +174 -0
- package/dist/common/providers/platform.js +256 -0
- package/dist/common/providers/platform.js.map +1 -0
- package/dist/common/types/interfaces.d.ts +8 -0
- package/dist/common/types/interfaces.js +2 -0
- package/dist/common/types/interfaces.js.map +1 -0
- package/dist/common/types/ionic-lifecycle-hooks.d.ts +27 -0
- package/dist/common/types/ionic-lifecycle-hooks.js +5 -0
- package/dist/common/types/ionic-lifecycle-hooks.js.map +1 -0
- package/dist/common/types/overlay-options.d.ts +16 -0
- package/dist/common/types/overlay-options.js +2 -0
- package/dist/common/types/overlay-options.js.map +1 -0
- package/dist/common/utils/overlay.d.ts +21 -0
- package/dist/common/utils/overlay.js +26 -0
- package/dist/common/utils/overlay.js.map +1 -0
- package/dist/common/utils/proxy.d.ts +8 -0
- package/dist/common/utils/proxy.js +47 -0
- package/dist/common/utils/proxy.js.map +1 -0
- package/dist/common/utils/routing.d.ts +28 -0
- package/dist/common/utils/routing.js +55 -0
- package/dist/common/utils/routing.js.map +1 -0
- package/dist/common/utils/util.d.ts +1 -0
- package/dist/common/utils/util.js +10 -0
- package/dist/common/utils/util.js.map +1 -0
- package/dist/lazy/app-initialize.d.ts +3 -0
- package/dist/lazy/app-initialize.js +29 -0
- package/dist/lazy/app-initialize.js.map +1 -0
- package/dist/lazy/directives/angular-component-lib/utils.d.ts +9 -0
- package/dist/lazy/directives/angular-component-lib/utils.js +59 -0
- package/dist/lazy/directives/angular-component-lib/utils.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.d.ts +10 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js +47 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/index.d.ts +4 -0
- package/dist/lazy/directives/control-value-accessors/index.js +5 -0
- package/dist/lazy/directives/control-value-accessors/index.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.d.ts +11 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js +55 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.d.ts +9 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js +44 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js +43 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-back-button.d.ts +9 -0
- package/dist/lazy/directives/navigation/ion-back-button.js +24 -0
- package/dist/lazy/directives/navigation/ion-back-button.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-nav.d.ts +8 -0
- package/dist/lazy/directives/navigation/ion-nav.js +21 -0
- package/dist/lazy/directives/navigation/ion-nav.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.d.ts +25 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.js +52 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.js.map +1 -0
- package/dist/lazy/directives/navigation/ion-tabs.d.ts +13 -0
- package/dist/lazy/directives/navigation/ion-tabs.js +58 -0
- package/dist/lazy/directives/navigation/ion-tabs.js.map +1 -0
- package/dist/lazy/directives/navigation/router-link-delegate.d.ts +16 -0
- package/dist/lazy/directives/navigation/router-link-delegate.js +32 -0
- package/dist/lazy/directives/navigation/router-link-delegate.js.map +1 -0
- package/dist/lazy/directives/overlays/modal.d.ts +6 -0
- package/dist/lazy/directives/overlays/modal.js +22 -0
- package/dist/lazy/directives/overlays/modal.js.map +1 -0
- package/dist/lazy/directives/overlays/popover.d.ts +6 -0
- package/dist/lazy/directives/overlays/popover.js +18 -0
- package/dist/lazy/directives/overlays/popover.js.map +1 -0
- package/dist/lazy/directives/proxies-list.d.ts +2 -0
- package/dist/lazy/directives/proxies-list.js +89 -0
- package/dist/lazy/directives/proxies-list.js.map +1 -0
- package/{types/ionic-angular-lazy.d.ts → dist/lazy/directives/proxies.d.ts} +339 -503
- package/{fesm2022/ionic-angular-lazy.mjs → dist/lazy/directives/proxies.js} +266 -1052
- package/dist/lazy/directives/proxies.js.map +1 -0
- package/dist/lazy/directives/validators/index.d.ts +2 -0
- package/dist/lazy/directives/validators/index.js +3 -0
- package/dist/lazy/directives/validators/index.js.map +1 -0
- package/dist/lazy/directives/validators/max-validator.d.ts +12 -0
- package/dist/lazy/directives/validators/max-validator.js +26 -0
- package/dist/lazy/directives/validators/max-validator.js.map +1 -0
- package/dist/lazy/directives/validators/min-validator.d.ts +12 -0
- package/dist/lazy/directives/validators/min-validator.js +26 -0
- package/dist/lazy/directives/validators/min-validator.js.map +1 -0
- package/dist/lazy/index.d.ts +26 -0
- package/dist/lazy/index.js +34 -0
- package/dist/lazy/index.js.map +1 -0
- package/dist/lazy/ionic-module.d.ts +38 -0
- package/dist/lazy/ionic-module.js +121 -0
- package/dist/lazy/ionic-module.js.map +1 -0
- package/dist/lazy/providers/action-sheet-controller.d.ts +8 -0
- package/dist/lazy/providers/action-sheet-controller.js +18 -0
- package/dist/lazy/providers/action-sheet-controller.js.map +1 -0
- package/dist/lazy/providers/alert-controller.d.ts +8 -0
- package/dist/lazy/providers/alert-controller.js +18 -0
- package/dist/lazy/providers/alert-controller.js.map +1 -0
- package/dist/lazy/providers/animation-controller.d.ts +25 -0
- package/dist/lazy/providers/animation-controller.js +37 -0
- package/dist/lazy/providers/animation-controller.js.map +1 -0
- package/dist/lazy/providers/gesture-controller.d.ts +13 -0
- package/dist/lazy/providers/gesture-controller.js +32 -0
- package/dist/lazy/providers/gesture-controller.js.map +1 -0
- package/dist/lazy/providers/loading-controller.d.ts +8 -0
- package/dist/lazy/providers/loading-controller.js +18 -0
- package/dist/lazy/providers/loading-controller.js.map +1 -0
- package/dist/lazy/providers/menu-controller.d.ts +7 -0
- package/dist/lazy/providers/menu-controller.js +18 -0
- package/dist/lazy/providers/menu-controller.js.map +1 -0
- package/dist/lazy/providers/modal-controller.d.ts +12 -0
- package/dist/lazy/providers/modal-controller.js +25 -0
- package/dist/lazy/providers/modal-controller.js.map +1 -0
- package/dist/lazy/providers/popover-controller.d.ts +9 -0
- package/dist/lazy/providers/popover-controller.js +19 -0
- package/dist/lazy/providers/popover-controller.js.map +1 -0
- package/dist/lazy/providers/toast-controller.d.ts +8 -0
- package/dist/lazy/providers/toast-controller.js +18 -0
- package/dist/lazy/providers/toast-controller.js.map +1 -0
- package/dist/standalone/directives/angular-component-lib/utils.d.ts +9 -0
- package/dist/standalone/directives/angular-component-lib/utils.js +59 -0
- package/dist/standalone/directives/angular-component-lib/utils.js.map +1 -0
- package/dist/standalone/directives/checkbox.d.ts +30 -0
- package/dist/standalone/directives/checkbox.js +81 -0
- package/dist/standalone/directives/checkbox.js.map +1 -0
- package/dist/standalone/directives/datetime.d.ts +30 -0
- package/dist/standalone/directives/datetime.js +100 -0
- package/dist/standalone/directives/datetime.js.map +1 -0
- package/dist/standalone/directives/icon.d.ts +9 -0
- package/dist/standalone/directives/icon.js +40 -0
- package/dist/standalone/directives/icon.js.map +1 -0
- package/dist/standalone/directives/index.d.ts +12 -0
- package/dist/standalone/directives/index.js +13 -0
- package/dist/standalone/directives/index.js.map +1 -0
- package/dist/standalone/directives/input-otp.d.ts +49 -0
- package/dist/standalone/directives/input-otp.js +95 -0
- package/dist/standalone/directives/input-otp.js.map +1 -0
- package/dist/standalone/directives/input.d.ts +47 -0
- package/dist/standalone/directives/input.js +118 -0
- package/dist/standalone/directives/input.js.map +1 -0
- package/dist/standalone/directives/ion-accordion-group.d.ts +21 -0
- package/dist/standalone/directives/ion-accordion-group.js +45 -0
- package/dist/standalone/directives/ion-accordion-group.js.map +1 -0
- package/dist/standalone/directives/ion-accordion.d.ts +12 -0
- package/dist/standalone/directives/ion-accordion.js +41 -0
- package/dist/standalone/directives/ion-accordion.js.map +1 -0
- package/dist/standalone/directives/ion-action-sheet.d.ts +58 -0
- package/dist/standalone/directives/ion-action-sheet.js +67 -0
- package/dist/standalone/directives/ion-action-sheet.js.map +1 -0
- package/dist/standalone/directives/ion-alert.d.ts +58 -0
- package/dist/standalone/directives/ion-alert.js +67 -0
- package/dist/standalone/directives/ion-alert.js.map +1 -0
- package/dist/standalone/directives/ion-app.d.ts +12 -0
- package/dist/standalone/directives/ion-app.js +41 -0
- package/dist/standalone/directives/ion-app.js.map +1 -0
- package/dist/standalone/directives/ion-avatar.d.ts +12 -0
- package/dist/standalone/directives/ion-avatar.js +40 -0
- package/dist/standalone/directives/ion-avatar.js.map +1 -0
- package/dist/standalone/directives/ion-backdrop.d.ts +18 -0
- package/dist/standalone/directives/ion-backdrop.js +45 -0
- package/dist/standalone/directives/ion-backdrop.js.map +1 -0
- package/dist/standalone/directives/ion-badge.d.ts +12 -0
- package/dist/standalone/directives/ion-badge.js +41 -0
- package/dist/standalone/directives/ion-badge.js.map +1 -0
- package/dist/standalone/directives/ion-breadcrumb.d.ts +23 -0
- package/dist/standalone/directives/ion-breadcrumb.js +48 -0
- package/dist/standalone/directives/ion-breadcrumb.js.map +1 -0
- package/dist/standalone/directives/ion-breadcrumbs.d.ts +19 -0
- package/dist/standalone/directives/ion-breadcrumbs.js +45 -0
- package/dist/standalone/directives/ion-breadcrumbs.js.map +1 -0
- package/dist/standalone/directives/ion-button.d.ts +23 -0
- package/dist/standalone/directives/ion-button.js +48 -0
- package/dist/standalone/directives/ion-button.js.map +1 -0
- package/dist/standalone/directives/ion-buttons.d.ts +12 -0
- package/dist/standalone/directives/ion-buttons.js +41 -0
- package/dist/standalone/directives/ion-buttons.js.map +1 -0
- package/dist/standalone/directives/ion-card-content.d.ts +12 -0
- package/dist/standalone/directives/ion-card-content.js +41 -0
- package/dist/standalone/directives/ion-card-content.js.map +1 -0
- package/dist/standalone/directives/ion-card-header.d.ts +12 -0
- package/dist/standalone/directives/ion-card-header.js +41 -0
- package/dist/standalone/directives/ion-card-header.js.map +1 -0
- package/dist/standalone/directives/ion-card-subtitle.d.ts +12 -0
- package/dist/standalone/directives/ion-card-subtitle.js +41 -0
- package/dist/standalone/directives/ion-card-subtitle.js.map +1 -0
- package/dist/standalone/directives/ion-card-title.d.ts +12 -0
- package/dist/standalone/directives/ion-card-title.js +41 -0
- package/dist/standalone/directives/ion-card-title.js.map +1 -0
- package/dist/standalone/directives/ion-card.d.ts +12 -0
- package/dist/standalone/directives/ion-card.js +41 -0
- package/dist/standalone/directives/ion-card.js.map +1 -0
- package/dist/standalone/directives/ion-chip.d.ts +12 -0
- package/dist/standalone/directives/ion-chip.js +41 -0
- package/dist/standalone/directives/ion-chip.js.map +1 -0
- package/dist/standalone/directives/ion-col.d.ts +12 -0
- package/dist/standalone/directives/ion-col.js +41 -0
- package/dist/standalone/directives/ion-col.js.map +1 -0
- package/dist/standalone/directives/ion-content.d.ts +33 -0
- package/dist/standalone/directives/ion-content.js +52 -0
- package/dist/standalone/directives/ion-content.js.map +1 -0
- package/dist/standalone/directives/ion-datetime-button.d.ts +12 -0
- package/dist/standalone/directives/ion-datetime-button.js +41 -0
- package/dist/standalone/directives/ion-datetime-button.js.map +1 -0
- package/dist/standalone/directives/ion-fab-button.d.ts +23 -0
- package/dist/standalone/directives/ion-fab-button.js +48 -0
- package/dist/standalone/directives/ion-fab-button.js.map +1 -0
- package/dist/standalone/directives/ion-fab-list.d.ts +12 -0
- package/dist/standalone/directives/ion-fab-list.js +41 -0
- package/dist/standalone/directives/ion-fab-list.js.map +1 -0
- package/dist/standalone/directives/ion-fab.d.ts +12 -0
- package/dist/standalone/directives/ion-fab.js +42 -0
- package/dist/standalone/directives/ion-fab.js.map +1 -0
- package/dist/standalone/directives/ion-footer.d.ts +12 -0
- package/dist/standalone/directives/ion-footer.js +41 -0
- package/dist/standalone/directives/ion-footer.js.map +1 -0
- package/dist/standalone/directives/ion-grid.d.ts +12 -0
- package/dist/standalone/directives/ion-grid.js +41 -0
- package/dist/standalone/directives/ion-grid.js.map +1 -0
- package/dist/standalone/directives/ion-header.d.ts +12 -0
- package/dist/standalone/directives/ion-header.js +41 -0
- package/dist/standalone/directives/ion-header.js.map +1 -0
- package/dist/standalone/directives/ion-img.d.ts +28 -0
- package/dist/standalone/directives/ion-img.js +51 -0
- package/dist/standalone/directives/ion-img.js.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.d.ts +12 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.js +41 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.js.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll.d.ts +21 -0
- package/dist/standalone/directives/ion-infinite-scroll.js +46 -0
- package/dist/standalone/directives/ion-infinite-scroll.js.map +1 -0
- package/dist/standalone/directives/ion-input-password-toggle.d.ts +12 -0
- package/dist/standalone/directives/ion-input-password-toggle.js +41 -0
- package/dist/standalone/directives/ion-input-password-toggle.js.map +1 -0
- package/dist/standalone/directives/ion-item-divider.d.ts +12 -0
- package/dist/standalone/directives/ion-item-divider.js +41 -0
- package/dist/standalone/directives/ion-item-divider.js.map +1 -0
- package/dist/standalone/directives/ion-item-group.d.ts +12 -0
- package/dist/standalone/directives/ion-item-group.js +40 -0
- package/dist/standalone/directives/ion-item-group.js.map +1 -0
- package/dist/standalone/directives/ion-item-option.d.ts +12 -0
- package/dist/standalone/directives/ion-item-option.js +41 -0
- package/dist/standalone/directives/ion-item-option.js.map +1 -0
- package/dist/standalone/directives/ion-item-options.d.ts +18 -0
- package/dist/standalone/directives/ion-item-options.js +45 -0
- package/dist/standalone/directives/ion-item-options.js.map +1 -0
- package/dist/standalone/directives/ion-item-sliding.d.ts +18 -0
- package/dist/standalone/directives/ion-item-sliding.js +46 -0
- package/dist/standalone/directives/ion-item-sliding.js.map +1 -0
- package/dist/standalone/directives/ion-item.d.ts +12 -0
- package/dist/standalone/directives/ion-item.js +41 -0
- package/dist/standalone/directives/ion-item.js.map +1 -0
- package/dist/standalone/directives/ion-label.d.ts +12 -0
- package/dist/standalone/directives/ion-label.js +41 -0
- package/dist/standalone/directives/ion-label.js.map +1 -0
- package/dist/standalone/directives/ion-list-header.d.ts +12 -0
- package/dist/standalone/directives/ion-list-header.js +41 -0
- package/dist/standalone/directives/ion-list-header.js.map +1 -0
- package/dist/standalone/directives/ion-list.d.ts +12 -0
- package/dist/standalone/directives/ion-list.js +42 -0
- package/dist/standalone/directives/ion-list.js.map +1 -0
- package/dist/standalone/directives/ion-loading.d.ts +58 -0
- package/dist/standalone/directives/ion-loading.js +67 -0
- package/dist/standalone/directives/ion-loading.js.map +1 -0
- package/dist/standalone/directives/ion-menu-button.d.ts +12 -0
- package/dist/standalone/directives/ion-menu-button.js +41 -0
- package/dist/standalone/directives/ion-menu-button.js.map +1 -0
- package/dist/standalone/directives/ion-menu-toggle.d.ts +12 -0
- package/dist/standalone/directives/ion-menu-toggle.js +41 -0
- package/dist/standalone/directives/ion-menu-toggle.js.map +1 -0
- package/dist/standalone/directives/ion-menu.d.ts +34 -0
- package/dist/standalone/directives/ion-menu.js +55 -0
- package/dist/standalone/directives/ion-menu.js.map +1 -0
- package/dist/standalone/directives/ion-nav-link.d.ts +12 -0
- package/dist/standalone/directives/ion-nav-link.js +41 -0
- package/dist/standalone/directives/ion-nav-link.js.map +1 -0
- package/dist/standalone/directives/ion-note.d.ts +12 -0
- package/dist/standalone/directives/ion-note.js +41 -0
- package/dist/standalone/directives/ion-note.js.map +1 -0
- package/dist/standalone/directives/ion-picker-column-option.d.ts +12 -0
- package/dist/standalone/directives/ion-picker-column-option.js +41 -0
- package/dist/standalone/directives/ion-picker-column-option.js.map +1 -0
- package/dist/standalone/directives/ion-picker-column.d.ts +21 -0
- package/dist/standalone/directives/ion-picker-column.js +46 -0
- package/dist/standalone/directives/ion-picker-column.js.map +1 -0
- package/dist/standalone/directives/ion-picker.d.ts +12 -0
- package/dist/standalone/directives/ion-picker.js +41 -0
- package/dist/standalone/directives/ion-picker.js.map +1 -0
- package/dist/standalone/directives/ion-progress-bar.d.ts +12 -0
- package/dist/standalone/directives/ion-progress-bar.js +41 -0
- package/dist/standalone/directives/ion-progress-bar.js.map +1 -0
- package/dist/standalone/directives/ion-radio.d.ts +23 -0
- package/dist/standalone/directives/ion-radio.js +48 -0
- package/dist/standalone/directives/ion-radio.js.map +1 -0
- package/dist/standalone/directives/ion-refresher-content.d.ts +12 -0
- package/dist/standalone/directives/ion-refresher-content.js +41 -0
- package/dist/standalone/directives/ion-refresher-content.js.map +1 -0
- package/dist/standalone/directives/ion-refresher.d.ts +45 -0
- package/dist/standalone/directives/ion-refresher.js +58 -0
- package/dist/standalone/directives/ion-refresher.js.map +1 -0
- package/dist/standalone/directives/ion-reorder-group.d.ts +44 -0
- package/dist/standalone/directives/ion-reorder-group.js +55 -0
- package/dist/standalone/directives/ion-reorder-group.js.map +1 -0
- package/dist/standalone/directives/ion-reorder.d.ts +12 -0
- package/dist/standalone/directives/ion-reorder.js +40 -0
- package/dist/standalone/directives/ion-reorder.js.map +1 -0
- package/dist/standalone/directives/ion-ripple-effect.d.ts +12 -0
- package/dist/standalone/directives/ion-ripple-effect.js +42 -0
- package/dist/standalone/directives/ion-ripple-effect.js.map +1 -0
- package/dist/standalone/directives/ion-row.d.ts +12 -0
- package/dist/standalone/directives/ion-row.js +40 -0
- package/dist/standalone/directives/ion-row.js.map +1 -0
- package/dist/standalone/directives/ion-segment-button.d.ts +12 -0
- package/dist/standalone/directives/ion-segment-button.js +41 -0
- package/dist/standalone/directives/ion-segment-button.js.map +1 -0
- package/dist/standalone/directives/ion-segment-content.d.ts +12 -0
- package/dist/standalone/directives/ion-segment-content.js +40 -0
- package/dist/standalone/directives/ion-segment-content.js.map +1 -0
- package/dist/standalone/directives/ion-segment-view.d.ts +19 -0
- package/dist/standalone/directives/ion-segment-view.js +45 -0
- package/dist/standalone/directives/ion-segment-view.js.map +1 -0
- package/dist/standalone/directives/ion-select-modal.d.ts +12 -0
- package/dist/standalone/directives/ion-select-modal.js +41 -0
- package/dist/standalone/directives/ion-select-modal.js.map +1 -0
- package/dist/standalone/directives/ion-select-option.d.ts +12 -0
- package/dist/standalone/directives/ion-select-option.js +41 -0
- package/dist/standalone/directives/ion-select-option.js.map +1 -0
- package/dist/standalone/directives/ion-skeleton-text.d.ts +12 -0
- package/dist/standalone/directives/ion-skeleton-text.js +41 -0
- package/dist/standalone/directives/ion-skeleton-text.js.map +1 -0
- package/dist/standalone/directives/ion-spinner.d.ts +12 -0
- package/dist/standalone/directives/ion-spinner.js +41 -0
- package/dist/standalone/directives/ion-spinner.js.map +1 -0
- package/dist/standalone/directives/ion-split-pane.d.ts +22 -0
- package/dist/standalone/directives/ion-split-pane.js +45 -0
- package/dist/standalone/directives/ion-split-pane.js.map +1 -0
- package/dist/standalone/directives/ion-tab-bar.d.ts +12 -0
- package/dist/standalone/directives/ion-tab-bar.js +41 -0
- package/dist/standalone/directives/ion-tab-bar.js.map +1 -0
- package/dist/standalone/directives/ion-tab-button.d.ts +12 -0
- package/dist/standalone/directives/ion-tab-button.js +41 -0
- package/dist/standalone/directives/ion-tab-button.js.map +1 -0
- package/dist/standalone/directives/ion-tab.d.ts +12 -0
- package/dist/standalone/directives/ion-tab.js +42 -0
- package/dist/standalone/directives/ion-tab.js.map +1 -0
- package/dist/standalone/directives/ion-text.d.ts +12 -0
- package/dist/standalone/directives/ion-text.js +41 -0
- package/dist/standalone/directives/ion-text.js.map +1 -0
- package/dist/standalone/directives/ion-thumbnail.d.ts +12 -0
- package/dist/standalone/directives/ion-thumbnail.js +40 -0
- package/dist/standalone/directives/ion-thumbnail.js.map +1 -0
- package/dist/standalone/directives/ion-title.d.ts +12 -0
- package/dist/standalone/directives/ion-title.js +41 -0
- package/dist/standalone/directives/ion-title.js.map +1 -0
- package/dist/standalone/directives/ion-toast.d.ts +58 -0
- package/dist/standalone/directives/ion-toast.js +67 -0
- package/dist/standalone/directives/ion-toast.js.map +1 -0
- package/dist/standalone/directives/ion-toolbar.d.ts +12 -0
- package/dist/standalone/directives/ion-toolbar.js +41 -0
- package/dist/standalone/directives/ion-toolbar.js.map +1 -0
- package/dist/standalone/directives/proxies.d.ts +77 -0
- package/dist/standalone/directives/proxies.js +79 -0
- package/dist/standalone/directives/proxies.js.map +1 -0
- package/dist/standalone/directives/radio-group.d.ts +18 -0
- package/dist/standalone/directives/radio-group.js +65 -0
- package/dist/standalone/directives/radio-group.js.map +1 -0
- package/dist/standalone/directives/range.d.ts +47 -0
- package/dist/standalone/directives/range.js +83 -0
- package/dist/standalone/directives/range.js.map +1 -0
- package/dist/standalone/directives/searchbar.d.ts +45 -0
- package/dist/standalone/directives/searchbar.js +87 -0
- package/dist/standalone/directives/searchbar.js.map +1 -0
- package/dist/standalone/directives/segment.d.ts +19 -0
- package/dist/standalone/directives/segment.js +65 -0
- package/dist/standalone/directives/segment.js.map +1 -0
- package/dist/standalone/directives/select.d.ts +34 -0
- package/dist/standalone/directives/select.js +89 -0
- package/dist/standalone/directives/select.js.map +1 -0
- package/dist/standalone/directives/textarea.d.ts +37 -0
- package/dist/standalone/directives/textarea.js +96 -0
- package/dist/standalone/directives/textarea.js.map +1 -0
- package/dist/standalone/directives/toggle.d.ts +28 -0
- package/dist/standalone/directives/toggle.js +81 -0
- package/dist/standalone/directives/toggle.js.map +1 -0
- package/dist/standalone/index.d.ts +22 -0
- package/dist/standalone/index.js +24 -0
- package/dist/standalone/index.js.map +1 -0
- package/dist/standalone/navigation/back-button.d.ts +9 -0
- package/dist/standalone/navigation/back-button.js +37 -0
- package/dist/standalone/navigation/back-button.js.map +1 -0
- package/dist/standalone/navigation/nav.d.ts +8 -0
- package/dist/standalone/navigation/nav.js +33 -0
- package/dist/standalone/navigation/nav.js.map +1 -0
- package/dist/standalone/navigation/router-link-delegate.d.ts +10 -0
- package/dist/standalone/navigation/router-link-delegate.js +26 -0
- package/dist/standalone/navigation/router-link-delegate.js.map +1 -0
- package/dist/standalone/navigation/router-outlet.d.ts +25 -0
- package/dist/standalone/navigation/router-outlet.js +65 -0
- package/dist/standalone/navigation/router-outlet.js.map +1 -0
- package/dist/standalone/navigation/tabs.d.ts +13 -0
- package/dist/standalone/navigation/tabs.js +57 -0
- package/dist/standalone/navigation/tabs.js.map +1 -0
- package/dist/standalone/overlays/modal.d.ts +6 -0
- package/dist/standalone/overlays/modal.js +37 -0
- package/dist/standalone/overlays/modal.js.map +1 -0
- package/dist/standalone/overlays/popover.d.ts +6 -0
- package/dist/standalone/overlays/popover.js +33 -0
- package/dist/standalone/overlays/popover.js.map +1 -0
- package/dist/standalone/providers/action-sheet-controller.d.ts +8 -0
- package/dist/standalone/providers/action-sheet-controller.js +20 -0
- package/dist/standalone/providers/action-sheet-controller.js.map +1 -0
- package/dist/standalone/providers/alert-controller.d.ts +8 -0
- package/dist/standalone/providers/alert-controller.js +20 -0
- package/dist/standalone/providers/alert-controller.js.map +1 -0
- package/dist/standalone/providers/animation-controller.d.ts +25 -0
- package/dist/standalone/providers/animation-controller.js +37 -0
- package/dist/standalone/providers/animation-controller.js.map +1 -0
- package/dist/standalone/providers/gesture-controller.d.ts +13 -0
- package/dist/standalone/providers/gesture-controller.js +32 -0
- package/dist/standalone/providers/gesture-controller.js.map +1 -0
- package/dist/standalone/providers/ionic-angular.d.ts +7 -0
- package/dist/standalone/providers/ionic-angular.js +38 -0
- package/dist/standalone/providers/ionic-angular.js.map +1 -0
- package/dist/standalone/providers/loading-controller.d.ts +8 -0
- package/dist/standalone/providers/loading-controller.js +20 -0
- package/dist/standalone/providers/loading-controller.js.map +1 -0
- package/dist/standalone/providers/menu-controller.d.ts +7 -0
- package/dist/standalone/providers/menu-controller.js +18 -0
- package/dist/standalone/providers/menu-controller.js.map +1 -0
- package/dist/standalone/providers/modal-controller.d.ts +12 -0
- package/dist/standalone/providers/modal-controller.js +27 -0
- package/dist/standalone/providers/modal-controller.js.map +1 -0
- package/dist/standalone/providers/popover-controller.d.ts +9 -0
- package/dist/standalone/providers/popover-controller.js +21 -0
- package/dist/standalone/providers/popover-controller.js.map +1 -0
- package/dist/standalone/providers/toast-controller.d.ts +8 -0
- package/dist/standalone/providers/toast-controller.js +20 -0
- package/dist/standalone/providers/toast-controller.js.map +1 -0
- package/package.json +163 -22
- package/fesm2022/ionic-angular-common.mjs +0 -2799
- package/fesm2022/ionic-angular-common.mjs.map +0 -1
- package/fesm2022/ionic-angular-lazy.mjs.map +0 -1
- package/fesm2022/ionic-angular.mjs +0 -3644
- package/fesm2022/ionic-angular.mjs.map +0 -1
- package/types/ionic-angular-common.d.ts +0 -1031
- package/types/ionic-angular.d.ts +0 -1560
- /package/{schematics → dist/schematics}/add/files/root/theme/variables.css +0 -0
- /package/{schematics → dist/schematics}/add/index.js +0 -0
- /package/{schematics → dist/schematics}/add/schema.json +0 -0
- /package/{schematics → dist/schematics}/collection.json +0 -0
- /package/{schematics → dist/schematics}/utils/ast.js +0 -0
- /package/{schematics → dist/schematics}/utils/config.js +0 -0
- /package/{schematics → dist/schematics}/utils/package.js +0 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { Directive, ElementRef, EventEmitter, HostListener, Output, ViewChild, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../providers/nav-controller";
|
|
4
|
+
/**
|
|
5
|
+
* Extracts `queryParams` and `fragment` from a tab button's href for use
|
|
6
|
+
* as Angular `NavigationExtras`. Returns `undefined` when neither is present.
|
|
7
|
+
*/
|
|
8
|
+
const parseHrefExtras = (href) => {
|
|
9
|
+
if (!href) {
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
const hashIndex = href.indexOf('#');
|
|
13
|
+
// Treat a bare `#` (no fragment text) as no fragment.
|
|
14
|
+
const fragment = hashIndex >= 0 && hashIndex < href.length - 1 ? href.slice(hashIndex + 1) : undefined;
|
|
15
|
+
const beforeHash = hashIndex >= 0 ? href.slice(0, hashIndex) : href;
|
|
16
|
+
const queryIndex = beforeHash.indexOf('?');
|
|
17
|
+
const search = queryIndex >= 0 ? beforeHash.slice(queryIndex + 1) : '';
|
|
18
|
+
let queryParams;
|
|
19
|
+
if (search) {
|
|
20
|
+
const params = new URLSearchParams(search);
|
|
21
|
+
queryParams = {};
|
|
22
|
+
for (const key of new Set(params.keys())) {
|
|
23
|
+
const all = params.getAll(key);
|
|
24
|
+
queryParams[key] = all.length > 1 ? all : all[0];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
if (!queryParams && fragment === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Build the result with only the populated keys so that a spread of the
|
|
32
|
+
* returned object does not overwrite saved `queryParams`/`fragment` with
|
|
33
|
+
* `undefined` (which `Object.assign`/spread would copy as a real key).
|
|
34
|
+
*/
|
|
35
|
+
const extras = {};
|
|
36
|
+
if (queryParams)
|
|
37
|
+
extras.queryParams = queryParams;
|
|
38
|
+
if (fragment !== undefined)
|
|
39
|
+
extras.fragment = fragment;
|
|
40
|
+
return extras;
|
|
41
|
+
};
|
|
42
|
+
export class IonTabs {
|
|
43
|
+
navCtrl;
|
|
44
|
+
tabsInner;
|
|
45
|
+
/**
|
|
46
|
+
* Emitted before the tab view is changed.
|
|
47
|
+
*/
|
|
48
|
+
ionTabsWillChange = new EventEmitter();
|
|
49
|
+
/**
|
|
50
|
+
* Emitted after the tab view is changed.
|
|
51
|
+
*/
|
|
52
|
+
ionTabsDidChange = new EventEmitter();
|
|
53
|
+
tabBarSlot = 'bottom';
|
|
54
|
+
hasTab = false;
|
|
55
|
+
selectedTab;
|
|
56
|
+
leavingTab;
|
|
57
|
+
constructor(navCtrl) {
|
|
58
|
+
this.navCtrl = navCtrl;
|
|
59
|
+
}
|
|
60
|
+
ngAfterViewInit() {
|
|
61
|
+
/**
|
|
62
|
+
* Developers must pass at least one ion-tab
|
|
63
|
+
* inside of ion-tabs if they want to use a
|
|
64
|
+
* basic tab-based navigation without the
|
|
65
|
+
* history stack or URL updates associated
|
|
66
|
+
* with the router.
|
|
67
|
+
*/
|
|
68
|
+
const firstTab = this.tabs.length > 0 ? this.tabs.first : undefined;
|
|
69
|
+
if (firstTab) {
|
|
70
|
+
this.hasTab = true;
|
|
71
|
+
this.setActiveTab(firstTab.tab);
|
|
72
|
+
this.tabSwitch();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
ngAfterContentInit() {
|
|
76
|
+
this.detectSlotChanges();
|
|
77
|
+
}
|
|
78
|
+
ngAfterContentChecked() {
|
|
79
|
+
this.detectSlotChanges();
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
onStackWillChange({ enteringView, tabSwitch }) {
|
|
85
|
+
const stackId = enteringView.stackId;
|
|
86
|
+
if (tabSwitch && stackId !== undefined) {
|
|
87
|
+
this.ionTabsWillChange.emit({ tab: stackId });
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
onStackDidChange({ enteringView, tabSwitch }) {
|
|
94
|
+
const stackId = enteringView.stackId;
|
|
95
|
+
if (tabSwitch && stackId !== undefined) {
|
|
96
|
+
if (this.tabBar) {
|
|
97
|
+
this.tabBar.selectedTab = stackId;
|
|
98
|
+
}
|
|
99
|
+
this.ionTabsDidChange.emit({ tab: stackId });
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Host listener for the `ionTabButtonClick` event. Angular 22 enabled stricter
|
|
104
|
+
* host-binding type checking, which types `$event` as the DOM `Event`. That is
|
|
105
|
+
* not assignable to `select`'s public `string | CustomEvent` parameter, so this
|
|
106
|
+
* thin wrapper narrows the event before forwarding to keep `select`'s public
|
|
107
|
+
* signature intact.
|
|
108
|
+
*/
|
|
109
|
+
onTabButtonClick(ev) {
|
|
110
|
+
return this.select(ev);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* When a tab button is clicked, there are several scenarios:
|
|
114
|
+
* 1. If the selected tab is currently active (the tab button has been clicked
|
|
115
|
+
* again), then it should go to the root view for that tab.
|
|
116
|
+
*
|
|
117
|
+
* a. Get the saved root view from the router outlet. If the saved root view
|
|
118
|
+
* matches the tabRootUrl, set the route view to this view including the
|
|
119
|
+
* navigation extras. Any `queryParams` or `fragment` declared on the tab
|
|
120
|
+
* button's `href` are also forwarded.
|
|
121
|
+
* b. If the saved root view from the router outlet does not match, navigate
|
|
122
|
+
* to the tabRootUrl, forwarding any `queryParams`/`fragment` declared on
|
|
123
|
+
* the tab button's `href`.
|
|
124
|
+
*
|
|
125
|
+
* 2. If the current tab tab is not currently selected, get the last route
|
|
126
|
+
* view from the router outlet.
|
|
127
|
+
*
|
|
128
|
+
* a. If the last route view exists, navigate to that view including any
|
|
129
|
+
* navigation extras.
|
|
130
|
+
* b. If the last route view doesn't exist, then navigate to the default
|
|
131
|
+
* tabRootUrl, forwarding any `queryParams`/`fragment` declared on the
|
|
132
|
+
* tab button's `href`.
|
|
133
|
+
*/
|
|
134
|
+
select(tabOrEvent) {
|
|
135
|
+
const isTabString = typeof tabOrEvent === 'string';
|
|
136
|
+
const tab = isTabString ? tabOrEvent : tabOrEvent.detail.tab;
|
|
137
|
+
const href = isTabString ? undefined : tabOrEvent.detail.href;
|
|
138
|
+
/**
|
|
139
|
+
* If the tabs are not using the router, then
|
|
140
|
+
* the tab switch logic is handled by the tabs
|
|
141
|
+
* component itself.
|
|
142
|
+
*/
|
|
143
|
+
if (this.hasTab) {
|
|
144
|
+
this.setActiveTab(tab);
|
|
145
|
+
this.tabSwitch();
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
const alreadySelected = this.outlet.getActiveStackId() === tab;
|
|
149
|
+
const tabRootUrl = `${this.outlet.tabsPrefix}/${tab}`;
|
|
150
|
+
/**
|
|
151
|
+
* The href pathname is ignored here; tab routing is driven by `tabsPrefix/tab`.
|
|
152
|
+
* Only the query and fragment are forwarded as navigation extras.
|
|
153
|
+
*/
|
|
154
|
+
const hrefExtras = parseHrefExtras(href);
|
|
155
|
+
/**
|
|
156
|
+
* If this is a nested tab, prevent the event
|
|
157
|
+
* from bubbling otherwise the outer tabs
|
|
158
|
+
* will respond to this event too, causing
|
|
159
|
+
* the app to get directed to the wrong place.
|
|
160
|
+
*/
|
|
161
|
+
if (!isTabString) {
|
|
162
|
+
tabOrEvent.stopPropagation();
|
|
163
|
+
}
|
|
164
|
+
if (alreadySelected) {
|
|
165
|
+
const activeStackId = this.outlet.getActiveStackId();
|
|
166
|
+
const activeView = this.outlet.getLastRouteView(activeStackId);
|
|
167
|
+
// If on root tab, do not navigate to root tab again
|
|
168
|
+
if (activeView?.url === tabRootUrl) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
const rootView = this.outlet.getRootView(tab);
|
|
172
|
+
// Keep the explicit rootView null-guard; an optional-chain rewrite changes the short-circuit value spread below.
|
|
173
|
+
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
174
|
+
const navigationExtras = rootView && tabRootUrl === rootView.url && rootView.savedExtras;
|
|
175
|
+
return this.navCtrl.navigateRoot(tabRootUrl, {
|
|
176
|
+
...navigationExtras,
|
|
177
|
+
...hrefExtras,
|
|
178
|
+
animated: true,
|
|
179
|
+
animationDirection: 'back',
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
const lastRoute = this.outlet.getLastRouteView(tab);
|
|
184
|
+
/**
|
|
185
|
+
* If there is a lastRoute, goto that, otherwise goto the fallback url of the
|
|
186
|
+
* selected tab. When falling back to the tab root, honor query params and
|
|
187
|
+
* fragment declared on the tab button's href.
|
|
188
|
+
*/
|
|
189
|
+
const url = lastRoute?.url || tabRootUrl;
|
|
190
|
+
const navigationExtras = lastRoute?.savedExtras ?? (url === tabRootUrl ? hrefExtras : undefined);
|
|
191
|
+
return this.navCtrl.navigateRoot(url, {
|
|
192
|
+
...navigationExtras,
|
|
193
|
+
animated: true,
|
|
194
|
+
animationDirection: 'back',
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
setActiveTab(tab) {
|
|
199
|
+
const tabs = this.tabs;
|
|
200
|
+
const selectedTab = tabs.find((t) => t.tab === tab);
|
|
201
|
+
if (!selectedTab) {
|
|
202
|
+
console.error(`[Ionic Error]: Tab with id: "${tab}" does not exist`);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
this.leavingTab = this.selectedTab;
|
|
206
|
+
this.selectedTab = selectedTab;
|
|
207
|
+
this.ionTabsWillChange.emit({ tab });
|
|
208
|
+
selectedTab.el.active = true;
|
|
209
|
+
}
|
|
210
|
+
tabSwitch() {
|
|
211
|
+
const { selectedTab, leavingTab } = this;
|
|
212
|
+
if (this.tabBar && selectedTab) {
|
|
213
|
+
this.tabBar.selectedTab = selectedTab.tab;
|
|
214
|
+
}
|
|
215
|
+
if (leavingTab?.tab !== selectedTab?.tab) {
|
|
216
|
+
if (leavingTab?.el) {
|
|
217
|
+
leavingTab.el.active = false;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
if (selectedTab) {
|
|
221
|
+
this.ionTabsDidChange.emit({ tab: selectedTab.tab });
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
getSelected() {
|
|
225
|
+
if (this.hasTab) {
|
|
226
|
+
return this.selectedTab?.tab;
|
|
227
|
+
}
|
|
228
|
+
return this.outlet.getActiveStackId();
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Detects changes to the slot attribute of the tab bar.
|
|
232
|
+
*
|
|
233
|
+
* If the slot attribute has changed, then the tab bar
|
|
234
|
+
* should be relocated to the new slot position.
|
|
235
|
+
*/
|
|
236
|
+
detectSlotChanges() {
|
|
237
|
+
this.tabBars.forEach((tabBar) => {
|
|
238
|
+
// el is a protected attribute from the generated component wrapper
|
|
239
|
+
const currentSlot = tabBar.el.getAttribute('slot');
|
|
240
|
+
if (currentSlot !== this.tabBarSlot) {
|
|
241
|
+
this.tabBarSlot = currentSlot;
|
|
242
|
+
this.relocateTabBar();
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Relocates the tab bar to the new slot position.
|
|
248
|
+
*/
|
|
249
|
+
relocateTabBar() {
|
|
250
|
+
/**
|
|
251
|
+
* `el` is a protected attribute from the generated component wrapper.
|
|
252
|
+
* To avoid having to manually create the wrapper for tab bar, we
|
|
253
|
+
* cast the tab bar to any and access the protected attribute.
|
|
254
|
+
*/
|
|
255
|
+
const tabBar = this.tabBar.el;
|
|
256
|
+
if (this.tabBarSlot === 'top') {
|
|
257
|
+
/**
|
|
258
|
+
* A tab bar with a slot of "top" should be inserted
|
|
259
|
+
* at the top of the container.
|
|
260
|
+
*/
|
|
261
|
+
this.tabsInner.nativeElement.before(tabBar);
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
/**
|
|
265
|
+
* A tab bar with a slot of "bottom" or without a slot
|
|
266
|
+
* should be inserted at the end of the container.
|
|
267
|
+
*/
|
|
268
|
+
this.tabsInner.nativeElement.after(tabBar);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonTabs, deps: [{ token: i1.NavController }], target: i0.ɵɵFactoryTarget.Directive });
|
|
272
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: IonTabs, isStandalone: true, selector: "ion-tabs", outputs: { ionTabsWillChange: "ionTabsWillChange", ionTabsDidChange: "ionTabsDidChange" }, host: { listeners: { "ionTabButtonClick": "onTabButtonClick($event)" } }, viewQueries: [{ propertyName: "tabsInner", first: true, predicate: ["tabsInner"], descendants: true, read: ElementRef, static: true }], ngImport: i0 });
|
|
273
|
+
}
|
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonTabs, decorators: [{
|
|
275
|
+
type: Directive,
|
|
276
|
+
args: [{
|
|
277
|
+
selector: 'ion-tabs',
|
|
278
|
+
}]
|
|
279
|
+
}], ctorParameters: () => [{ type: i1.NavController }], propDecorators: { tabsInner: [{
|
|
280
|
+
type: ViewChild,
|
|
281
|
+
args: ['tabsInner', { read: ElementRef, static: true }]
|
|
282
|
+
}], ionTabsWillChange: [{
|
|
283
|
+
type: Output
|
|
284
|
+
}], ionTabsDidChange: [{
|
|
285
|
+
type: Output
|
|
286
|
+
}], onTabButtonClick: [{
|
|
287
|
+
type: HostListener,
|
|
288
|
+
args: ['ionTabButtonClick', ['$event']]
|
|
289
|
+
}] } });
|
|
290
|
+
//# sourceMappingURL=tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.js","sourceRoot":"","sources":["../../../../src/common/directives/navigation/tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,YAAY,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IAAI,EAAE;;sBAKzD,MAAM;;sBAIN,MAAM;;sBAiEN,YAAY;uBAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { DomController } from './providers/dom-controller';
|
|
2
|
+
export { MenuController } from './providers/menu-controller';
|
|
3
|
+
export { NavController } from './providers/nav-controller';
|
|
4
|
+
export { Config, ConfigToken } from './providers/config';
|
|
5
|
+
export { Platform } from './providers/platform';
|
|
6
|
+
export { AngularDelegate, IonModalToken } from './providers/angular-delegate';
|
|
7
|
+
export type { IonicWindow } from './types/interfaces';
|
|
8
|
+
export type { ViewDidEnter, ViewDidLeave, ViewWillEnter, ViewWillLeave } from './types/ionic-lifecycle-hooks';
|
|
9
|
+
export type { ModalOptions, PopoverOptions } from './types/overlay-options';
|
|
10
|
+
export { NavParams } from './directives/navigation/nav-params';
|
|
11
|
+
export { IonModal } from './overlays/modal';
|
|
12
|
+
export { IonPopover } from './overlays/popover';
|
|
13
|
+
export { IonRouterOutlet, provideComponentInputBinding } from './directives/navigation/router-outlet';
|
|
14
|
+
export * from './directives/control-value-accessors';
|
|
15
|
+
export { IonBackButton } from './directives/navigation/back-button';
|
|
16
|
+
export { IonNav } from './directives/navigation/nav';
|
|
17
|
+
export { RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, } from './directives/navigation/router-link-delegate';
|
|
18
|
+
export { IonTabs } from './directives/navigation/tabs';
|
|
19
|
+
export { ProxyCmp } from './utils/proxy';
|
|
20
|
+
export { OverlayBaseController } from './utils/overlay';
|
|
21
|
+
export { IonicRouteStrategy } from './utils/routing';
|
|
22
|
+
export { raf } from './utils/util';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { DomController } from './providers/dom-controller';
|
|
2
|
+
export { MenuController } from './providers/menu-controller';
|
|
3
|
+
export { NavController } from './providers/nav-controller';
|
|
4
|
+
export { Config, ConfigToken } from './providers/config';
|
|
5
|
+
export { Platform } from './providers/platform';
|
|
6
|
+
export { AngularDelegate, IonModalToken } from './providers/angular-delegate';
|
|
7
|
+
export { NavParams } from './directives/navigation/nav-params';
|
|
8
|
+
export { IonModal } from './overlays/modal';
|
|
9
|
+
export { IonPopover } from './overlays/popover';
|
|
10
|
+
export { IonRouterOutlet, provideComponentInputBinding } from './directives/navigation/router-outlet';
|
|
11
|
+
export * from './directives/control-value-accessors';
|
|
12
|
+
export { IonBackButton } from './directives/navigation/back-button';
|
|
13
|
+
export { IonNav } from './directives/navigation/nav';
|
|
14
|
+
export { RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, } from './directives/navigation/router-link-delegate';
|
|
15
|
+
export { IonTabs } from './directives/navigation/tabs';
|
|
16
|
+
export { ProxyCmp } from './utils/proxy';
|
|
17
|
+
export { OverlayBaseController } from './utils/overlay';
|
|
18
|
+
export { IonicRouteStrategy } from './utils/routing';
|
|
19
|
+
export { raf } from './utils/util';
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAM9E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAEtG,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GACpC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { Components, ModalBreakpointChangeEventDetail, ModalDragEventDetail } from '@ionic/core/components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare interface IonModal extends Components.IonModal {
|
|
5
|
+
/**
|
|
6
|
+
* Emitted after the modal has presented.
|
|
7
|
+
**/
|
|
8
|
+
ionModalDidPresent: EventEmitter<CustomEvent>;
|
|
9
|
+
/**
|
|
10
|
+
* Emitted before the modal has presented.
|
|
11
|
+
*/
|
|
12
|
+
ionModalWillPresent: EventEmitter<CustomEvent>;
|
|
13
|
+
/**
|
|
14
|
+
* Emitted before the modal has dismissed.
|
|
15
|
+
*/
|
|
16
|
+
ionModalWillDismiss: EventEmitter<CustomEvent>;
|
|
17
|
+
/**
|
|
18
|
+
* Emitted after the modal has dismissed.
|
|
19
|
+
*/
|
|
20
|
+
ionModalDidDismiss: EventEmitter<CustomEvent>;
|
|
21
|
+
/**
|
|
22
|
+
* Emitted after the modal breakpoint has changed.
|
|
23
|
+
*/
|
|
24
|
+
ionBreakpointDidChange: EventEmitter<CustomEvent<ModalBreakpointChangeEventDetail>>;
|
|
25
|
+
/**
|
|
26
|
+
* Emitted when the sheet or card modal has started being dragged.
|
|
27
|
+
*/
|
|
28
|
+
ionDragStart: EventEmitter<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted while the sheet or card modal is being dragged.
|
|
31
|
+
*/
|
|
32
|
+
ionDragMove: EventEmitter<CustomEvent<ModalDragEventDetail>>;
|
|
33
|
+
/**
|
|
34
|
+
* Emitted when the sheet or card modal has finished being dragged.
|
|
35
|
+
*/
|
|
36
|
+
ionDragEnd: EventEmitter<CustomEvent<ModalDragEventDetail>>;
|
|
37
|
+
/**
|
|
38
|
+
* Emitted after the modal has presented. Shorthand for ionModalDidPresent.
|
|
39
|
+
*/
|
|
40
|
+
didPresent: EventEmitter<CustomEvent>;
|
|
41
|
+
/**
|
|
42
|
+
* Emitted before the modal has presented. Shorthand for ionModalWillPresent.
|
|
43
|
+
*/
|
|
44
|
+
willPresent: EventEmitter<CustomEvent>;
|
|
45
|
+
/**
|
|
46
|
+
* Emitted before the modal has dismissed. Shorthand for ionModalWillDismiss.
|
|
47
|
+
*/
|
|
48
|
+
willDismiss: EventEmitter<CustomEvent>;
|
|
49
|
+
/**
|
|
50
|
+
* Emitted after the modal has dismissed. Shorthand for ionModalDidDismiss.
|
|
51
|
+
*/
|
|
52
|
+
didDismiss: EventEmitter<CustomEvent>;
|
|
53
|
+
}
|
|
54
|
+
export declare class IonModal {
|
|
55
|
+
protected z: NgZone;
|
|
56
|
+
template: TemplateRef<any>;
|
|
57
|
+
isCmpOpen: boolean;
|
|
58
|
+
protected el: HTMLElement;
|
|
59
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonModal, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IonModal, "ion-modal", never, { "animated": { "alias": "animated"; "required": false; }; "keepContentsMounted": { "alias": "keepContentsMounted"; "required": false; }; "backdropBreakpoint": { "alias": "backdropBreakpoint"; "required": false; }; "backdropDismiss": { "alias": "backdropDismiss"; "required": false; }; "breakpoints": { "alias": "breakpoints"; "required": false; }; "canDismiss": { "alias": "canDismiss"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "enterAnimation": { "alias": "enterAnimation"; "required": false; }; "expandToScroll": { "alias": "expandToScroll"; "required": false; }; "event": { "alias": "event"; "required": false; }; "focusTrap": { "alias": "focusTrap"; "required": false; }; "handle": { "alias": "handle"; "required": false; }; "handleBehavior": { "alias": "handleBehavior"; "required": false; }; "initialBreakpoint": { "alias": "initialBreakpoint"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "keyboardClose": { "alias": "keyboardClose"; "required": false; }; "leaveAnimation": { "alias": "leaveAnimation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "presentingElement": { "alias": "presentingElement"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "translucent": { "alias": "translucent"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; }, {}, ["template"], never, true, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { ContentChild, Directive, TemplateRef, } from '@angular/core';
|
|
8
|
+
import { ProxyCmp, proxyOutputs } from '../utils/proxy';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
const MODAL_INPUTS = [
|
|
11
|
+
'animated',
|
|
12
|
+
'keepContentsMounted',
|
|
13
|
+
'backdropBreakpoint',
|
|
14
|
+
'backdropDismiss',
|
|
15
|
+
'breakpoints',
|
|
16
|
+
'canDismiss',
|
|
17
|
+
'cssClass',
|
|
18
|
+
'enterAnimation',
|
|
19
|
+
'expandToScroll',
|
|
20
|
+
'event',
|
|
21
|
+
'focusTrap',
|
|
22
|
+
'handle',
|
|
23
|
+
'handleBehavior',
|
|
24
|
+
'initialBreakpoint',
|
|
25
|
+
'isOpen',
|
|
26
|
+
'keyboardClose',
|
|
27
|
+
'leaveAnimation',
|
|
28
|
+
'mode',
|
|
29
|
+
'presentingElement',
|
|
30
|
+
'showBackdrop',
|
|
31
|
+
'translucent',
|
|
32
|
+
'trigger',
|
|
33
|
+
];
|
|
34
|
+
const MODAL_METHODS = [
|
|
35
|
+
'present',
|
|
36
|
+
'dismiss',
|
|
37
|
+
'onDidDismiss',
|
|
38
|
+
'onWillDismiss',
|
|
39
|
+
'setCurrentBreakpoint',
|
|
40
|
+
'getCurrentBreakpoint',
|
|
41
|
+
];
|
|
42
|
+
let IonModal = class IonModal {
|
|
43
|
+
z;
|
|
44
|
+
// TODO(FW-2827): type
|
|
45
|
+
template;
|
|
46
|
+
isCmpOpen = false;
|
|
47
|
+
el;
|
|
48
|
+
constructor(c, r, z) {
|
|
49
|
+
this.z = z;
|
|
50
|
+
this.el = r.nativeElement;
|
|
51
|
+
this.el.addEventListener('ionMount', () => {
|
|
52
|
+
this.isCmpOpen = true;
|
|
53
|
+
c.detectChanges();
|
|
54
|
+
});
|
|
55
|
+
this.el.addEventListener('didDismiss', () => {
|
|
56
|
+
this.isCmpOpen = false;
|
|
57
|
+
c.detectChanges();
|
|
58
|
+
});
|
|
59
|
+
proxyOutputs(this, this.el, [
|
|
60
|
+
'ionModalDidPresent',
|
|
61
|
+
'ionModalWillPresent',
|
|
62
|
+
'ionModalWillDismiss',
|
|
63
|
+
'ionModalDidDismiss',
|
|
64
|
+
'ionBreakpointDidChange',
|
|
65
|
+
'didPresent',
|
|
66
|
+
'willPresent',
|
|
67
|
+
'willDismiss',
|
|
68
|
+
'didDismiss',
|
|
69
|
+
'ionDragStart',
|
|
70
|
+
'ionDragMove',
|
|
71
|
+
'ionDragEnd',
|
|
72
|
+
]);
|
|
73
|
+
}
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
75
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: IonModal, isStandalone: true, selector: "ion-modal", inputs: { animated: "animated", keepContentsMounted: "keepContentsMounted", backdropBreakpoint: "backdropBreakpoint", backdropDismiss: "backdropDismiss", breakpoints: "breakpoints", canDismiss: "canDismiss", cssClass: "cssClass", enterAnimation: "enterAnimation", expandToScroll: "expandToScroll", event: "event", focusTrap: "focusTrap", handle: "handle", handleBehavior: "handleBehavior", initialBreakpoint: "initialBreakpoint", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", presentingElement: "presentingElement", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
|
|
76
|
+
};
|
|
77
|
+
IonModal = __decorate([
|
|
78
|
+
ProxyCmp({
|
|
79
|
+
inputs: MODAL_INPUTS,
|
|
80
|
+
methods: MODAL_METHODS,
|
|
81
|
+
})
|
|
82
|
+
/**
|
|
83
|
+
* @Component extends from @Directive
|
|
84
|
+
* so by defining the inputs here we
|
|
85
|
+
* do not need to re-define them for the
|
|
86
|
+
* lazy loaded popover.
|
|
87
|
+
*/
|
|
88
|
+
], IonModal);
|
|
89
|
+
export { IonModal };
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonModal, decorators: [{
|
|
91
|
+
type: Directive,
|
|
92
|
+
args: [{
|
|
93
|
+
selector: 'ion-modal',
|
|
94
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
95
|
+
inputs: MODAL_INPUTS,
|
|
96
|
+
}]
|
|
97
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { template: [{
|
|
98
|
+
type: ContentChild,
|
|
99
|
+
args: [TemplateRef, { static: false }]
|
|
100
|
+
}] } });
|
|
101
|
+
//# sourceMappingURL=modal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.js","sourceRoot":"","sources":["../../../src/common/overlays/modal.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAEL,YAAY,EACZ,SAAS,EAIT,WAAW,GACZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;AAqDxD,MAAM,YAAY,GAAG;IACnB,UAAU;IACV,qBAAqB;IACrB,oBAAoB;IACpB,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,gBAAgB;IAChB,OAAO;IACP,WAAW;IACX,QAAQ;IACR,gBAAgB;IAChB,mBAAmB;IACnB,QAAQ;IACR,eAAe;IACf,gBAAgB;IAChB,MAAM;IACN,mBAAmB;IACnB,cAAc;IACd,aAAa;IACb,SAAS;CACV,CAAC;AAEF,MAAM,aAAa,GAAG;IACpB,SAAS;IACT,SAAS;IACT,cAAc;IACd,eAAe;IACf,sBAAsB;IACtB,sBAAsB;CACvB,CAAC;AAiBK,IAAM,QAAQ,GAAd,MAAM,QAAQ;IAQwC;IAP3D,sBAAsB;IACwB,QAAQ,CAAmB;IAEzE,SAAS,GAAG,KAAK,CAAC;IAER,EAAE,CAAc;IAE1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS;QAAT,MAAC,GAAD,CAAC,CAAQ;QAClE,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAE1B,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,GAAG,EAAE;YACxC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,CAAC,CAAC,aAAa,EAAE,CAAC;QACpB,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,YAAY,EAAE,GAAG,EAAE;YAC1C,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;YACvB,CAAC,CAAC,aAAa,EAAE,CAAC;QACpB,CAAC,CAAC,CAAC;QACH,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE;YAC1B,oBAAoB;YACpB,qBAAqB;YACrB,qBAAqB;YACrB,oBAAoB;YACpB,wBAAwB;YACxB,YAAY;YACZ,aAAa;YACb,aAAa;YACb,YAAY;YACZ,cAAc;YACd,aAAa;YACb,YAAY;SACb,CAAC,CAAC;IACL,CAAC;uGAjCU,QAAQ;2FAAR,QAAQ,mvBAEL,WAAW;;AAFd,QAAQ;IAfpB,QAAQ,CAAC;QACR,MAAM,EAAE,YAAY;QACpB,OAAO,EAAE,aAAa;KACvB,CAAC;IACF;;;;;OAKG;GAMU,QAAQ,CAkCpB;;2FAlCY,QAAQ;kBALpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,uEAAuE;oBACvE,MAAM,EAAE,YAAY;iBACrB;;sBAGE,YAAY;uBAAC,WAAW,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { Components } from '@ionic/core/components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare interface IonPopover extends Components.IonPopover {
|
|
5
|
+
/**
|
|
6
|
+
* Emitted after the popover has presented.
|
|
7
|
+
*/
|
|
8
|
+
ionPopoverDidPresent: EventEmitter<CustomEvent>;
|
|
9
|
+
/**
|
|
10
|
+
* Emitted before the popover has presented.
|
|
11
|
+
*/
|
|
12
|
+
ionPopoverWillPresent: EventEmitter<CustomEvent>;
|
|
13
|
+
/**
|
|
14
|
+
* Emitted after the popover has dismissed.
|
|
15
|
+
*/
|
|
16
|
+
ionPopoverWillDismiss: EventEmitter<CustomEvent>;
|
|
17
|
+
/**
|
|
18
|
+
* Emitted after the popover has dismissed.
|
|
19
|
+
*/
|
|
20
|
+
ionPopoverDidDismiss: EventEmitter<CustomEvent>;
|
|
21
|
+
/**
|
|
22
|
+
* Emitted after the popover has presented. Shorthand for ionPopoverDidPresent.
|
|
23
|
+
*/
|
|
24
|
+
didPresent: EventEmitter<CustomEvent>;
|
|
25
|
+
/**
|
|
26
|
+
* Emitted before the popover has presented. Shorthand for ionPopoverWillPresent.
|
|
27
|
+
*/
|
|
28
|
+
willPresent: EventEmitter<CustomEvent>;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted after the popover has presented. Shorthand for ionPopoverWillDismiss.
|
|
31
|
+
*/
|
|
32
|
+
willDismiss: EventEmitter<CustomEvent>;
|
|
33
|
+
/**
|
|
34
|
+
* Emitted after the popover has dismissed. Shorthand for ionPopoverDidDismiss.
|
|
35
|
+
*/
|
|
36
|
+
didDismiss: EventEmitter<CustomEvent>;
|
|
37
|
+
}
|
|
38
|
+
export declare class IonPopover {
|
|
39
|
+
protected z: NgZone;
|
|
40
|
+
template: TemplateRef<any>;
|
|
41
|
+
isCmpOpen: boolean;
|
|
42
|
+
protected el: HTMLElement;
|
|
43
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonPopover, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IonPopover, "ion-popover", never, { "alignment": { "alias": "alignment"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "keepContentsMounted": { "alias": "keepContentsMounted"; "required": false; }; "backdropDismiss": { "alias": "backdropDismiss"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "dismissOnSelect": { "alias": "dismissOnSelect"; "required": false; }; "enterAnimation": { "alias": "enterAnimation"; "required": false; }; "event": { "alias": "event"; "required": false; }; "focusTrap": { "alias": "focusTrap"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "keyboardClose": { "alias": "keyboardClose"; "required": false; }; "leaveAnimation": { "alias": "leaveAnimation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "translucent": { "alias": "translucent"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "triggerAction": { "alias": "triggerAction"; "required": false; }; "reference": { "alias": "reference"; "required": false; }; "size": { "alias": "size"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, {}, ["template"], never, true, never>;
|
|
46
|
+
}
|