@ionic/angular 8.8.9-dev.11780948757.1c55bd21 → 8.8.9-dev.11781024903.1e4268e5
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/app-initialize.d.ts +3 -0
- package/common/directives/control-value-accessors/index.d.ts +1 -0
- package/common/directives/control-value-accessors/value-accessor.d.ts +36 -0
- package/common/directives/navigation/back-button.d.ts +23 -0
- package/common/directives/navigation/nav-params.d.ts +45 -0
- package/common/directives/navigation/nav.d.ts +21 -0
- package/common/directives/navigation/router-link-delegate.d.ts +60 -0
- package/common/directives/navigation/router-outlet.d.ts +104 -0
- package/common/directives/navigation/stack-controller.d.ts +42 -0
- package/common/directives/navigation/stack-utils.d.ts +38 -0
- package/common/directives/navigation/tabs.d.ts +83 -0
- package/common/index.d.ts +22 -0
- package/common/overlays/modal.d.ts +62 -0
- package/common/overlays/popover.d.ts +46 -0
- package/common/providers/angular-delegate.d.ts +28 -0
- package/common/providers/config.d.ts +11 -0
- package/common/providers/dom-controller.d.ts +16 -0
- package/common/providers/menu-controller.d.ts +78 -0
- package/common/providers/nav-controller.d.ts +116 -0
- package/common/providers/platform.d.ts +174 -0
- package/common/types/interfaces.d.ts +8 -0
- package/common/types/ionic-lifecycle-hooks.d.ts +27 -0
- package/common/types/overlay-options.d.ts +16 -0
- package/common/utils/overlay.d.ts +21 -0
- package/common/utils/proxy.d.ts +8 -0
- package/common/utils/routing.d.ts +28 -0
- package/common/utils/util.d.ts +1 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/directives/angular-component-lib/utils.d.ts +9 -0
- package/directives/control-value-accessors/boolean-value-accessor.d.ts +10 -0
- package/directives/control-value-accessors/index.d.ts +4 -0
- package/directives/control-value-accessors/numeric-value-accessor.d.ts +11 -0
- package/directives/control-value-accessors/select-value-accessor.d.ts +9 -0
- package/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/directives/navigation/ion-back-button.d.ts +9 -0
- package/directives/navigation/ion-nav.d.ts +8 -0
- package/directives/navigation/ion-router-outlet.d.ts +25 -0
- package/directives/navigation/ion-tabs.d.ts +13 -0
- package/directives/navigation/router-link-delegate.d.ts +16 -0
- package/directives/overlays/modal.d.ts +6 -0
- package/directives/overlays/popover.d.ts +6 -0
- package/directives/proxies-list.d.ts +2 -0
- package/{types/ionic-angular.d.ts → directives/proxies.d.ts} +469 -703
- package/directives/validators/index.d.ts +2 -0
- package/directives/validators/max-validator.d.ts +12 -0
- package/directives/validators/min-validator.d.ts +12 -0
- package/esm2022/app-initialize.mjs +29 -0
- package/esm2022/common/directives/control-value-accessors/index.mjs +2 -0
- package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +153 -0
- package/esm2022/common/directives/navigation/back-button.mjs +61 -0
- package/esm2022/common/directives/navigation/nav-params.mjs +47 -0
- package/esm2022/common/directives/navigation/nav.mjs +49 -0
- package/esm2022/common/directives/navigation/router-link-delegate.mjs +156 -0
- package/esm2022/common/directives/navigation/router-outlet.mjs +480 -0
- package/esm2022/common/directives/navigation/stack-controller.mjs +280 -0
- package/esm2022/common/directives/navigation/stack-utils.mjs +73 -0
- package/esm2022/common/directives/navigation/tabs.mjs +279 -0
- package/esm2022/common/index.mjs +20 -0
- package/esm2022/common/ionic-angular-common.mjs +5 -0
- package/esm2022/common/overlays/modal.mjs +103 -0
- package/esm2022/common/overlays/popover.mjs +91 -0
- package/esm2022/common/providers/angular-delegate.mjs +203 -0
- package/esm2022/common/providers/config.mjs +45 -0
- package/esm2022/common/providers/dom-controller.mjs +45 -0
- package/esm2022/common/providers/menu-controller.mjs +114 -0
- package/esm2022/common/providers/nav-controller.mjs +235 -0
- package/esm2022/common/providers/platform.mjs +258 -0
- package/esm2022/common/types/interfaces.mjs +2 -0
- package/esm2022/common/types/ionic-lifecycle-hooks.mjs +5 -0
- package/esm2022/common/types/overlay-options.mjs +2 -0
- package/esm2022/common/utils/overlay.mjs +26 -0
- package/esm2022/common/utils/proxy.mjs +47 -0
- package/esm2022/common/utils/routing.mjs +55 -0
- package/esm2022/common/utils/util.mjs +10 -0
- package/esm2022/directives/angular-component-lib/utils.mjs +59 -0
- package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +42 -0
- package/esm2022/directives/control-value-accessors/index.mjs +5 -0
- package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +50 -0
- package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +39 -0
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +38 -0
- package/esm2022/directives/navigation/ion-back-button.mjs +24 -0
- package/esm2022/directives/navigation/ion-nav.mjs +21 -0
- package/esm2022/directives/navigation/ion-router-outlet.mjs +52 -0
- package/esm2022/directives/navigation/ion-tabs.mjs +59 -0
- package/esm2022/directives/navigation/router-link-delegate.mjs +32 -0
- package/esm2022/directives/overlays/modal.mjs +22 -0
- package/esm2022/directives/overlays/popover.mjs +18 -0
- package/esm2022/directives/proxies-list.mjs +92 -0
- package/esm2022/directives/proxies.mjs +2438 -0
- package/esm2022/directives/validators/index.mjs +3 -0
- package/esm2022/directives/validators/max-validator.mjs +27 -0
- package/esm2022/directives/validators/min-validator.mjs +27 -0
- package/esm2022/index.mjs +32 -0
- package/esm2022/ionic-angular.mjs +5 -0
- package/esm2022/ionic-module.mjs +111 -0
- package/esm2022/providers/action-sheet-controller.mjs +19 -0
- package/esm2022/providers/alert-controller.mjs +19 -0
- package/esm2022/providers/animation-controller.mjs +38 -0
- package/esm2022/providers/gesture-controller.mjs +33 -0
- package/esm2022/providers/loading-controller.mjs +19 -0
- package/esm2022/providers/menu-controller.mjs +19 -0
- package/esm2022/providers/modal-controller.mjs +26 -0
- package/esm2022/providers/picker-controller.mjs +22 -0
- package/esm2022/providers/popover-controller.mjs +19 -0
- package/esm2022/providers/toast-controller.mjs +19 -0
- package/esm2022/standalone/directives/angular-component-lib/utils.mjs +59 -0
- package/esm2022/standalone/directives/checkbox.mjs +76 -0
- package/esm2022/standalone/directives/datetime.mjs +95 -0
- package/esm2022/standalone/directives/icon.mjs +35 -0
- package/esm2022/standalone/directives/index.mjs +13 -0
- package/esm2022/standalone/directives/input-otp.mjs +90 -0
- package/esm2022/standalone/directives/input.mjs +113 -0
- package/esm2022/standalone/directives/proxies.mjs +2326 -0
- package/esm2022/standalone/directives/radio-group.mjs +60 -0
- package/esm2022/standalone/directives/range.mjs +78 -0
- package/esm2022/standalone/directives/searchbar.mjs +82 -0
- package/esm2022/standalone/directives/segment.mjs +60 -0
- package/esm2022/standalone/directives/select.mjs +84 -0
- package/esm2022/standalone/directives/textarea.mjs +91 -0
- package/esm2022/standalone/directives/toggle.mjs +76 -0
- package/esm2022/standalone/index.mjs +25 -0
- package/esm2022/standalone/ionic-angular-standalone.mjs +5 -0
- package/esm2022/standalone/navigation/back-button.mjs +32 -0
- package/esm2022/standalone/navigation/nav.mjs +28 -0
- package/esm2022/standalone/navigation/router-link-delegate.mjs +28 -0
- package/esm2022/standalone/navigation/router-outlet.mjs +60 -0
- package/esm2022/standalone/navigation/tabs.mjs +58 -0
- package/esm2022/standalone/overlays/modal.mjs +32 -0
- package/esm2022/standalone/overlays/popover.mjs +28 -0
- package/esm2022/standalone/providers/action-sheet-controller.mjs +21 -0
- package/esm2022/standalone/providers/alert-controller.mjs +21 -0
- package/esm2022/standalone/providers/animation-controller.mjs +38 -0
- package/esm2022/standalone/providers/gesture-controller.mjs +33 -0
- package/esm2022/standalone/providers/ionic-angular.mjs +38 -0
- package/esm2022/standalone/providers/loading-controller.mjs +21 -0
- package/esm2022/standalone/providers/menu-controller.mjs +19 -0
- package/esm2022/standalone/providers/modal-controller.mjs +28 -0
- package/esm2022/standalone/providers/picker-controller.mjs +24 -0
- package/esm2022/standalone/providers/popover-controller.mjs +21 -0
- package/esm2022/standalone/providers/toast-controller.mjs +21 -0
- package/fesm2022/ionic-angular-common.mjs +84 -96
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +882 -903
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +744 -1065
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/index.d.ts +27 -0
- package/ionic-module.d.ts +28 -0
- package/package.json +16 -16
- package/providers/action-sheet-controller.d.ts +8 -0
- package/providers/alert-controller.d.ts +8 -0
- package/providers/animation-controller.d.ts +25 -0
- package/providers/gesture-controller.d.ts +13 -0
- package/providers/loading-controller.d.ts +8 -0
- package/providers/menu-controller.d.ts +7 -0
- package/providers/modal-controller.d.ts +12 -0
- package/providers/picker-controller.d.ts +11 -0
- package/providers/popover-controller.d.ts +9 -0
- package/providers/toast-controller.d.ts +8 -0
- package/schematics/add/index.js +1 -1
- package/schematics/utils/ast.js +2 -1
- package/schematics/utils/config.js +11 -10
- package/schematics/utils/package.js +2 -1
- package/standalone/directives/angular-component-lib/utils.d.ts +9 -0
- package/standalone/directives/checkbox.d.ts +30 -0
- package/standalone/directives/datetime.d.ts +30 -0
- package/standalone/directives/icon.d.ts +9 -0
- package/standalone/directives/index.d.ts +12 -0
- package/standalone/directives/input-otp.d.ts +49 -0
- package/standalone/directives/input.d.ts +47 -0
- package/standalone/directives/proxies.d.ts +1053 -0
- package/standalone/directives/radio-group.d.ts +18 -0
- package/standalone/directives/range.d.ts +47 -0
- package/standalone/directives/searchbar.d.ts +45 -0
- package/standalone/directives/segment.d.ts +19 -0
- package/standalone/directives/select.d.ts +34 -0
- package/standalone/directives/textarea.d.ts +37 -0
- package/standalone/directives/toggle.d.ts +28 -0
- package/standalone/index.d.ts +23 -0
- package/standalone/navigation/back-button.d.ts +9 -0
- package/standalone/navigation/nav.d.ts +8 -0
- package/standalone/navigation/router-link-delegate.d.ts +10 -0
- package/standalone/navigation/router-outlet.d.ts +25 -0
- package/standalone/navigation/tabs.d.ts +13 -0
- package/standalone/overlays/modal.d.ts +6 -0
- package/standalone/overlays/popover.d.ts +6 -0
- package/standalone/providers/action-sheet-controller.d.ts +8 -0
- package/standalone/providers/alert-controller.d.ts +8 -0
- package/standalone/providers/animation-controller.d.ts +25 -0
- package/standalone/providers/gesture-controller.d.ts +13 -0
- package/standalone/providers/ionic-angular.d.ts +7 -0
- package/standalone/providers/loading-controller.d.ts +8 -0
- package/standalone/providers/menu-controller.d.ts +7 -0
- package/standalone/providers/modal-controller.d.ts +12 -0
- package/standalone/providers/picker-controller.d.ts +11 -0
- package/standalone/providers/popover-controller.d.ts +9 -0
- package/standalone/providers/toast-controller.d.ts +8 -0
- package/types/ionic-angular-common.d.ts +0 -1013
- package/types/ionic-angular-standalone.d.ts +0 -1560
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Injector, Injectable, EnvironmentInjector, inject } from '@angular/core';
|
|
2
|
+
import { AngularDelegate, OverlayBaseController } from '@ionic/angular/common';
|
|
3
|
+
import { modalController } from '@ionic/core/components';
|
|
4
|
+
import { defineCustomElement } from '@ionic/core/components/ion-modal.js';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
class ModalController extends OverlayBaseController {
|
|
7
|
+
angularDelegate = inject(AngularDelegate);
|
|
8
|
+
injector = inject(Injector);
|
|
9
|
+
environmentInjector = inject(EnvironmentInjector);
|
|
10
|
+
constructor() {
|
|
11
|
+
super(modalController);
|
|
12
|
+
defineCustomElement();
|
|
13
|
+
}
|
|
14
|
+
create(opts) {
|
|
15
|
+
const { injector: customInjector, ...restOpts } = opts;
|
|
16
|
+
return super.create({
|
|
17
|
+
...restOpts,
|
|
18
|
+
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal', customInjector),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalController });
|
|
23
|
+
}
|
|
24
|
+
export { ModalController };
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalController, decorators: [{
|
|
26
|
+
type: Injectable
|
|
27
|
+
}], ctorParameters: function () { return []; } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY29udHJvbGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3N0YW5kYWxvbmUvc3JjL3Byb3ZpZGVycy9tb2RhbC1jb250cm9sbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsVUFBVSxFQUFFLG1CQUFtQixFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNsRixPQUFPLEVBQUUsZUFBZSxFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFL0UsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDOztBQUUxRSxNQUNhLGVBQWdCLFNBQVEscUJBQXdEO0lBQ25GLGVBQWUsR0FBRyxNQUFNLENBQUMsZUFBZSxDQUFDLENBQUM7SUFDMUMsUUFBUSxHQUFHLE1BQU0sQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUM1QixtQkFBbUIsR0FBRyxNQUFNLENBQUMsbUJBQW1CLENBQUMsQ0FBQztJQUUxRDtRQUNFLEtBQUssQ0FBQyxlQUFlLENBQUMsQ0FBQztRQUN2QixtQkFBbUIsRUFBRSxDQUFDO0lBQ3hCLENBQUM7SUFFRCxNQUFNLENBQUMsSUFBa0I7UUFDdkIsTUFBTSxFQUFFLFFBQVEsRUFBRSxjQUFjLEVBQUUsR0FBRyxRQUFRLEVBQUUsR0FBRyxJQUFJLENBQUM7UUFDdkQsT0FBTyxLQUFLLENBQUMsTUFBTSxDQUFDO1lBQ2xCLEdBQUcsUUFBUTtZQUNYLFFBQVEsRUFBRSxJQUFJLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLFFBQVEsRUFBRSxPQUFPLEVBQUUsY0FBYyxDQUFDO1NBQ3hHLENBQUMsQ0FBQztJQUNMLENBQUM7MkhBaEJVLGVBQWU7K0hBQWYsZUFBZTs7U0FBZixlQUFlOzRGQUFmLGVBQWU7a0JBRDNCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RvciwgSW5qZWN0YWJsZSwgRW52aXJvbm1lbnRJbmplY3RvciwgaW5qZWN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBbmd1bGFyRGVsZWdhdGUsIE92ZXJsYXlCYXNlQ29udHJvbGxlciB9IGZyb20gJ0Bpb25pYy9hbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgdHlwZSB7IE1vZGFsT3B0aW9ucyB9IGZyb20gJ0Bpb25pYy9hbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBtb2RhbENvbnRyb2xsZXIgfSBmcm9tICdAaW9uaWMvY29yZS9jb21wb25lbnRzJztcbmltcG9ydCB7IGRlZmluZUN1c3RvbUVsZW1lbnQgfSBmcm9tICdAaW9uaWMvY29yZS9jb21wb25lbnRzL2lvbi1tb2RhbC5qcyc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBNb2RhbENvbnRyb2xsZXIgZXh0ZW5kcyBPdmVybGF5QmFzZUNvbnRyb2xsZXI8TW9kYWxPcHRpb25zLCBIVE1MSW9uTW9kYWxFbGVtZW50PiB7XG4gIHByaXZhdGUgYW5ndWxhckRlbGVnYXRlID0gaW5qZWN0KEFuZ3VsYXJEZWxlZ2F0ZSk7XG4gIHByaXZhdGUgaW5qZWN0b3IgPSBpbmplY3QoSW5qZWN0b3IpO1xuICBwcml2YXRlIGVudmlyb25tZW50SW5qZWN0b3IgPSBpbmplY3QoRW52aXJvbm1lbnRJbmplY3Rvcik7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIobW9kYWxDb250cm9sbGVyKTtcbiAgICBkZWZpbmVDdXN0b21FbGVtZW50KCk7XG4gIH1cblxuICBjcmVhdGUob3B0czogTW9kYWxPcHRpb25zKTogUHJvbWlzZTxIVE1MSW9uTW9kYWxFbGVtZW50PiB7XG4gICAgY29uc3QgeyBpbmplY3RvcjogY3VzdG9tSW5qZWN0b3IsIC4uLnJlc3RPcHRzIH0gPSBvcHRzO1xuICAgIHJldHVybiBzdXBlci5jcmVhdGUoe1xuICAgICAgLi4ucmVzdE9wdHMsXG4gICAgICBkZWxlZ2F0ZTogdGhpcy5hbmd1bGFyRGVsZWdhdGUuY3JlYXRlKHRoaXMuZW52aXJvbm1lbnRJbmplY3RvciwgdGhpcy5pbmplY3RvciwgJ21vZGFsJywgY3VzdG9tSW5qZWN0b3IpLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { OverlayBaseController } from '@ionic/angular/common';
|
|
3
|
+
import { pickerController } from '@ionic/core/components';
|
|
4
|
+
import { defineCustomElement } from '@ionic/core/components/ion-picker-legacy.js';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
8
|
+
*/
|
|
9
|
+
class PickerController extends OverlayBaseController {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(pickerController);
|
|
12
|
+
defineCustomElement();
|
|
13
|
+
}
|
|
14
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PickerController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PickerController, providedIn: 'root' });
|
|
16
|
+
}
|
|
17
|
+
export { PickerController };
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PickerController, decorators: [{
|
|
19
|
+
type: Injectable,
|
|
20
|
+
args: [{
|
|
21
|
+
providedIn: 'root',
|
|
22
|
+
}]
|
|
23
|
+
}], ctorParameters: function () { return []; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlja2VyLWNvbnRyb2xsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zdGFuZGFsb25lL3NyYy9wcm92aWRlcnMvcGlja2VyLWNvbnRyb2xsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUU5RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7QUFFbEY7O0dBRUc7QUFDSCxNQUdhLGdCQUFpQixTQUFRLHFCQUFnRTtJQUNwRztRQUNFLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBQ3hCLG1CQUFtQixFQUFFLENBQUM7SUFDeEIsQ0FBQzsySEFKVSxnQkFBZ0I7K0hBQWhCLGdCQUFnQixjQUZmLE1BQU07O1NBRVAsZ0JBQWdCOzRGQUFoQixnQkFBZ0I7a0JBSDVCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgT3ZlcmxheUJhc2VDb250cm9sbGVyIH0gZnJvbSAnQGlvbmljL2FuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB0eXBlIHsgUGlja2VyT3B0aW9ucyB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMnO1xuaW1wb3J0IHsgcGlja2VyQ29udHJvbGxlciB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMnO1xuaW1wb3J0IHsgZGVmaW5lQ3VzdG9tRWxlbWVudCB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMvaW9uLXBpY2tlci1sZWdhY3kuanMnO1xuXG4vKipcbiAqIEBkZXByZWNhdGVkIFVzZSB0aGUgaW5saW5lIGlvbi1waWNrZXIgY29tcG9uZW50IGluc3RlYWQuXG4gKi9cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBQaWNrZXJDb250cm9sbGVyIGV4dGVuZHMgT3ZlcmxheUJhc2VDb250cm9sbGVyPFBpY2tlck9wdGlvbnMsIEhUTUxJb25QaWNrZXJMZWdhY3lFbGVtZW50PiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKHBpY2tlckNvbnRyb2xsZXIpO1xuICAgIGRlZmluZUN1c3RvbUVsZW1lbnQoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injector, inject, EnvironmentInjector } from '@angular/core';
|
|
2
|
+
import { AngularDelegate, OverlayBaseController } from '@ionic/angular/common';
|
|
3
|
+
import { popoverController } from '@ionic/core/components';
|
|
4
|
+
import { defineCustomElement } from '@ionic/core/components/ion-popover.js';
|
|
5
|
+
export class PopoverController extends OverlayBaseController {
|
|
6
|
+
angularDelegate = inject(AngularDelegate);
|
|
7
|
+
injector = inject(Injector);
|
|
8
|
+
environmentInjector = inject(EnvironmentInjector);
|
|
9
|
+
constructor() {
|
|
10
|
+
super(popoverController);
|
|
11
|
+
defineCustomElement();
|
|
12
|
+
}
|
|
13
|
+
create(opts) {
|
|
14
|
+
const { injector: customInjector, ...restOpts } = opts;
|
|
15
|
+
return super.create({
|
|
16
|
+
...restOpts,
|
|
17
|
+
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover', customInjector),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci1jb250cm9sbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3RhbmRhbG9uZS9zcmMvcHJvdmlkZXJzL3BvcG92ZXItY29udHJvbGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQUUsZUFBZSxFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFL0UsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFFNUUsTUFBTSxPQUFPLGlCQUFrQixTQUFRLHFCQUE0RDtJQUN6RixlQUFlLEdBQUcsTUFBTSxDQUFDLGVBQWUsQ0FBQyxDQUFDO0lBQzFDLFFBQVEsR0FBRyxNQUFNLENBQUMsUUFBUSxDQUFDLENBQUM7SUFDNUIsbUJBQW1CLEdBQUcsTUFBTSxDQUFDLG1CQUFtQixDQUFDLENBQUM7SUFFMUQ7UUFDRSxLQUFLLENBQUMsaUJBQWlCLENBQUMsQ0FBQztRQUN6QixtQkFBbUIsRUFBRSxDQUFDO0lBQ3hCLENBQUM7SUFFRCxNQUFNLENBQUMsSUFBb0I7UUFDekIsTUFBTSxFQUFFLFFBQVEsRUFBRSxjQUFjLEVBQUUsR0FBRyxRQUFRLEVBQUUsR0FBRyxJQUFJLENBQUM7UUFDdkQsT0FBTyxLQUFLLENBQUMsTUFBTSxDQUFDO1lBQ2xCLEdBQUcsUUFBUTtZQUNYLFFBQVEsRUFBRSxJQUFJLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLFFBQVEsRUFBRSxTQUFTLEVBQUUsY0FBYyxDQUFDO1NBQzFHLENBQUMsQ0FBQztJQUNMLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdG9yLCBpbmplY3QsIEVudmlyb25tZW50SW5qZWN0b3IgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEFuZ3VsYXJEZWxlZ2F0ZSwgT3ZlcmxheUJhc2VDb250cm9sbGVyIH0gZnJvbSAnQGlvbmljL2FuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB0eXBlIHsgUG9wb3Zlck9wdGlvbnMgfSBmcm9tICdAaW9uaWMvYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgcG9wb3ZlckNvbnRyb2xsZXIgfSBmcm9tICdAaW9uaWMvY29yZS9jb21wb25lbnRzJztcbmltcG9ydCB7IGRlZmluZUN1c3RvbUVsZW1lbnQgfSBmcm9tICdAaW9uaWMvY29yZS9jb21wb25lbnRzL2lvbi1wb3BvdmVyLmpzJztcblxuZXhwb3J0IGNsYXNzIFBvcG92ZXJDb250cm9sbGVyIGV4dGVuZHMgT3ZlcmxheUJhc2VDb250cm9sbGVyPFBvcG92ZXJPcHRpb25zLCBIVE1MSW9uUG9wb3ZlckVsZW1lbnQ+IHtcbiAgcHJpdmF0ZSBhbmd1bGFyRGVsZWdhdGUgPSBpbmplY3QoQW5ndWxhckRlbGVnYXRlKTtcbiAgcHJpdmF0ZSBpbmplY3RvciA9IGluamVjdChJbmplY3Rvcik7XG4gIHByaXZhdGUgZW52aXJvbm1lbnRJbmplY3RvciA9IGluamVjdChFbnZpcm9ubWVudEluamVjdG9yKTtcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihwb3BvdmVyQ29udHJvbGxlcik7XG4gICAgZGVmaW5lQ3VzdG9tRWxlbWVudCgpO1xuICB9XG5cbiAgY3JlYXRlKG9wdHM6IFBvcG92ZXJPcHRpb25zKTogUHJvbWlzZTxIVE1MSW9uUG9wb3ZlckVsZW1lbnQ+IHtcbiAgICBjb25zdCB7IGluamVjdG9yOiBjdXN0b21JbmplY3RvciwgLi4ucmVzdE9wdHMgfSA9IG9wdHM7XG4gICAgcmV0dXJuIHN1cGVyLmNyZWF0ZSh7XG4gICAgICAuLi5yZXN0T3B0cyxcbiAgICAgIGRlbGVnYXRlOiB0aGlzLmFuZ3VsYXJEZWxlZ2F0ZS5jcmVhdGUodGhpcy5lbnZpcm9ubWVudEluamVjdG9yLCB0aGlzLmluamVjdG9yLCAncG9wb3ZlcicsIGN1c3RvbUluamVjdG9yKSxcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { OverlayBaseController } from '@ionic/angular/common';
|
|
3
|
+
import { toastController } from '@ionic/core/components';
|
|
4
|
+
import { defineCustomElement } from '@ionic/core/components/ion-toast.js';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
class ToastController extends OverlayBaseController {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(toastController);
|
|
9
|
+
defineCustomElement();
|
|
10
|
+
}
|
|
11
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastController, providedIn: 'root' });
|
|
13
|
+
}
|
|
14
|
+
export { ToastController };
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToastController, decorators: [{
|
|
16
|
+
type: Injectable,
|
|
17
|
+
args: [{
|
|
18
|
+
providedIn: 'root',
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return []; } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QtY29udHJvbGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3N0YW5kYWxvbmUvc3JjL3Byb3ZpZGVycy90b2FzdC1jb250cm9sbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFOUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDOztBQUUxRSxNQUdhLGVBQWdCLFNBQVEscUJBQXdEO0lBQzNGO1FBQ0UsS0FBSyxDQUFDLGVBQWUsQ0FBQyxDQUFDO1FBQ3ZCLG1CQUFtQixFQUFFLENBQUM7SUFDeEIsQ0FBQzsySEFKVSxlQUFlOytIQUFmLGVBQWUsY0FGZCxNQUFNOztTQUVQLGVBQWU7NEZBQWYsZUFBZTtrQkFIM0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBPdmVybGF5QmFzZUNvbnRyb2xsZXIgfSBmcm9tICdAaW9uaWMvYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHR5cGUgeyBUb2FzdE9wdGlvbnMgfSBmcm9tICdAaW9uaWMvY29yZS9jb21wb25lbnRzJztcbmltcG9ydCB7IHRvYXN0Q29udHJvbGxlciB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMnO1xuaW1wb3J0IHsgZGVmaW5lQ3VzdG9tRWxlbWVudCB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMvaW9uLXRvYXN0LmpzJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIFRvYXN0Q29udHJvbGxlciBleHRlbmRzIE92ZXJsYXlCYXNlQ29udHJvbGxlcjxUb2FzdE9wdGlvbnMsIEhUTUxJb25Ub2FzdEVsZW1lbnQ+IHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIodG9hc3RDb250cm9sbGVyKTtcbiAgICBkZWZpbmVDdXN0b21FbGVtZW50KCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Inject, Optional, InjectionToken, inject, NgZone, ApplicationRef, Injector, createComponent, TemplateRef,
|
|
2
|
+
import { Injectable, Inject, Optional, InjectionToken, inject, NgZone, ApplicationRef, Injector, createComponent, TemplateRef, Directive, ContentChild, EventEmitter, ViewContainerRef, EnvironmentInjector, Attribute, SkipSelf, Input, Output, reflectComponentType, HostListener, ElementRef, ViewChild } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/router';
|
|
4
4
|
import { NavigationStart, NavigationCancel, NavigationError, PRIMARY_OUTLET, ChildrenOutletContexts, ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
@@ -25,10 +25,10 @@ class DomController {
|
|
|
25
25
|
write(cb) {
|
|
26
26
|
getQueue().write(cb);
|
|
27
27
|
}
|
|
28
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
28
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
29
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomController, providedIn: 'root' });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomController, decorators: [{
|
|
32
32
|
type: Injectable,
|
|
33
33
|
args: [{
|
|
34
34
|
providedIn: 'root',
|
|
@@ -382,18 +382,18 @@ class Platform {
|
|
|
382
382
|
height() {
|
|
383
383
|
return this.win.innerHeight;
|
|
384
384
|
}
|
|
385
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
386
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
385
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Platform, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
386
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Platform, providedIn: 'root' });
|
|
387
387
|
}
|
|
388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Platform, decorators: [{
|
|
389
389
|
type: Injectable,
|
|
390
390
|
args: [{
|
|
391
391
|
providedIn: 'root',
|
|
392
392
|
}]
|
|
393
|
-
}], ctorParameters: ()
|
|
393
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
394
394
|
type: Inject,
|
|
395
395
|
args: [DOCUMENT]
|
|
396
|
-
}] }, { type: i0.NgZone }] });
|
|
396
|
+
}] }, { type: i0.NgZone }]; } });
|
|
397
397
|
const readQueryParam = (url, key) => {
|
|
398
398
|
key = key.replace(/[[\]\\]/g, '\\$&');
|
|
399
399
|
const regex = new RegExp('[\\?&]' + key + '=([^&#]*)');
|
|
@@ -617,17 +617,17 @@ class NavController {
|
|
|
617
617
|
return this.router.navigateByUrl(urlTree, options);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
621
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
620
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavController, deps: [{ token: Platform }, { token: i1.Location }, { token: i3.UrlSerializer }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
621
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavController, providedIn: 'root' });
|
|
622
622
|
}
|
|
623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavController, decorators: [{
|
|
624
624
|
type: Injectable,
|
|
625
625
|
args: [{
|
|
626
626
|
providedIn: 'root',
|
|
627
627
|
}]
|
|
628
|
-
}], ctorParameters: ()
|
|
628
|
+
}], ctorParameters: function () { return [{ type: Platform }, { type: i1.Location }, { type: i3.UrlSerializer }, { type: i3.Router, decorators: [{
|
|
629
629
|
type: Optional
|
|
630
|
-
}] }] });
|
|
630
|
+
}] }]; } });
|
|
631
631
|
const getAnimation = (direction, animated, animationDirection) => {
|
|
632
632
|
if (animated === false) {
|
|
633
633
|
return undefined;
|
|
@@ -668,10 +668,10 @@ class Config {
|
|
|
668
668
|
}
|
|
669
669
|
return 0;
|
|
670
670
|
}
|
|
671
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
672
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
671
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Config, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
672
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Config, providedIn: 'root' });
|
|
673
673
|
}
|
|
674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Config, decorators: [{
|
|
675
675
|
type: Injectable,
|
|
676
676
|
args: [{
|
|
677
677
|
providedIn: 'root',
|
|
@@ -745,10 +745,10 @@ class AngularDelegate {
|
|
|
745
745
|
create(environmentInjector, injector, elementReferenceKey, customInjector) {
|
|
746
746
|
return new AngularFrameworkDelegate(environmentInjector, injector, this.applicationRef, this.zone, elementReferenceKey, this.config.useSetInputAPI ?? false, customInjector);
|
|
747
747
|
}
|
|
748
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
749
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
748
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AngularDelegate, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
749
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AngularDelegate });
|
|
750
750
|
}
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AngularDelegate, decorators: [{
|
|
752
752
|
type: Injectable
|
|
753
753
|
}] });
|
|
754
754
|
class AngularFrameworkDelegate {
|
|
@@ -890,18 +890,9 @@ const attachView = (zone, environmentInjector, injector, applicationRef, elRefMa
|
|
|
890
890
|
hostElement.classList.add(cssClass);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
const unbindEvents = bindLifecycleEvents(zone,
|
|
893
|
+
const unbindEvents = bindLifecycleEvents(zone, instance, hostElement);
|
|
894
894
|
container.appendChild(hostElement);
|
|
895
895
|
applicationRef.attachView(componentRef.hostView);
|
|
896
|
-
/**
|
|
897
|
-
* Run change detection on the freshly attached view so Angular's init hooks
|
|
898
|
-
* (`ngOnInit`, `ngAfterViewInit`) fire before the web component dispatches its
|
|
899
|
-
* Ionic lifecycle events (`ionViewWillEnter`, etc.). `createComponent` only runs
|
|
900
|
-
* the creation pass. The init hooks run during an update pass. Under Zone.js an
|
|
901
|
-
* implicit tick used to cover this, but zoneless Angular schedules no such tick,
|
|
902
|
-
* so without this the first `ionViewWillEnter` could run before `ngOnInit`.
|
|
903
|
-
*/
|
|
904
|
-
componentRef.changeDetectorRef.detectChanges();
|
|
905
896
|
elRefMap.set(hostElement, componentRef);
|
|
906
897
|
elEventsMap.set(hostElement, unbindEvents);
|
|
907
898
|
return hostElement;
|
|
@@ -913,24 +904,10 @@ const LIFECYCLES = [
|
|
|
913
904
|
LIFECYCLE_DID_LEAVE,
|
|
914
905
|
LIFECYCLE_WILL_UNLOAD,
|
|
915
906
|
];
|
|
916
|
-
const bindLifecycleEvents = (zone,
|
|
917
|
-
/**
|
|
918
|
-
* `zone.run` keeps the listener registration (and, under Zone.js, the handler
|
|
919
|
-
* execution) inside the Angular zone, so async work started inside a lifecycle
|
|
920
|
-
* hook is still zone-tracked. Under zoneless Angular it is a passthrough.
|
|
921
|
-
*/
|
|
907
|
+
const bindLifecycleEvents = (zone, instance, element) => {
|
|
922
908
|
return zone.run(() => {
|
|
923
909
|
const unregisters = LIFECYCLES.filter((eventName) => typeof instance[eventName] === 'function').map((eventName) => {
|
|
924
|
-
const handler = (ev) =>
|
|
925
|
-
instance[eventName](ev.detail);
|
|
926
|
-
/**
|
|
927
|
-
* Ionic lifecycle events (`ionViewWillEnter`, etc.) are dispatched from
|
|
928
|
-
* the web component via a native event listener, so under zoneless
|
|
929
|
-
* Angular nothing schedules change detection for state the hook mutates.
|
|
930
|
-
* Mark the view dirty explicitly. This is a no-op-or-better under Zone.js.
|
|
931
|
-
*/
|
|
932
|
-
changeDetectorRef.markForCheck();
|
|
933
|
-
};
|
|
910
|
+
const handler = (ev) => instance[eventName](ev.detail);
|
|
934
911
|
element.addEventListener(eventName, handler);
|
|
935
912
|
return () => element.removeEventListener(eventName, handler);
|
|
936
913
|
});
|
|
@@ -1033,7 +1010,14 @@ const MODAL_METHODS = [
|
|
|
1033
1010
|
'setCurrentBreakpoint',
|
|
1034
1011
|
'getCurrentBreakpoint',
|
|
1035
1012
|
];
|
|
1036
|
-
let IonModal =
|
|
1013
|
+
let IonModal =
|
|
1014
|
+
/**
|
|
1015
|
+
* @Component extends from @Directive
|
|
1016
|
+
* so by defining the inputs here we
|
|
1017
|
+
* do not need to re-define them for the
|
|
1018
|
+
* lazy loaded popover.
|
|
1019
|
+
*/
|
|
1020
|
+
class IonModal {
|
|
1037
1021
|
z;
|
|
1038
1022
|
// TODO(FW-2827): type
|
|
1039
1023
|
template;
|
|
@@ -1065,8 +1049,8 @@ let IonModal = class IonModal {
|
|
|
1065
1049
|
'ionDragEnd',
|
|
1066
1050
|
]);
|
|
1067
1051
|
}
|
|
1068
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1069
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1052
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1053
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonModal, 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 });
|
|
1070
1054
|
};
|
|
1071
1055
|
IonModal = __decorate([
|
|
1072
1056
|
ProxyCmp({
|
|
@@ -1080,14 +1064,14 @@ IonModal = __decorate([
|
|
|
1080
1064
|
* lazy loaded popover.
|
|
1081
1065
|
*/
|
|
1082
1066
|
], IonModal);
|
|
1083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonModal, decorators: [{
|
|
1084
1068
|
type: Directive,
|
|
1085
1069
|
args: [{
|
|
1086
1070
|
selector: 'ion-modal',
|
|
1087
1071
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1088
1072
|
inputs: MODAL_INPUTS,
|
|
1089
1073
|
}]
|
|
1090
|
-
}], ctorParameters: ()
|
|
1074
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
1091
1075
|
type: ContentChild,
|
|
1092
1076
|
args: [TemplateRef, { static: false }]
|
|
1093
1077
|
}] } });
|
|
@@ -1116,7 +1100,14 @@ const POPOVER_INPUTS = [
|
|
|
1116
1100
|
'side',
|
|
1117
1101
|
];
|
|
1118
1102
|
const POPOVER_METHODS = ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss'];
|
|
1119
|
-
let IonPopover =
|
|
1103
|
+
let IonPopover =
|
|
1104
|
+
/**
|
|
1105
|
+
* @Component extends from @Directive
|
|
1106
|
+
* so by defining the inputs here we
|
|
1107
|
+
* do not need to re-define them for the
|
|
1108
|
+
* lazy loaded popover.
|
|
1109
|
+
*/
|
|
1110
|
+
class IonPopover {
|
|
1120
1111
|
z;
|
|
1121
1112
|
// TODO(FW-2827): type
|
|
1122
1113
|
template;
|
|
@@ -1144,8 +1135,8 @@ let IonPopover = class IonPopover {
|
|
|
1144
1135
|
'didDismiss',
|
|
1145
1136
|
]);
|
|
1146
1137
|
}
|
|
1147
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1148
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1138
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonPopover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1139
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonPopover, selector: "ion-popover", inputs: { alignment: "alignment", animated: "animated", arrow: "arrow", keepContentsMounted: "keepContentsMounted", backdropDismiss: "backdropDismiss", cssClass: "cssClass", dismissOnSelect: "dismissOnSelect", enterAnimation: "enterAnimation", event: "event", focusTrap: "focusTrap", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger", triggerAction: "triggerAction", reference: "reference", size: "size", side: "side" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
|
|
1149
1140
|
};
|
|
1150
1141
|
IonPopover = __decorate([
|
|
1151
1142
|
ProxyCmp({
|
|
@@ -1159,14 +1150,14 @@ IonPopover = __decorate([
|
|
|
1159
1150
|
* lazy loaded popover.
|
|
1160
1151
|
*/
|
|
1161
1152
|
], IonPopover);
|
|
1162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonPopover, decorators: [{
|
|
1163
1154
|
type: Directive,
|
|
1164
1155
|
args: [{
|
|
1165
1156
|
selector: 'ion-popover',
|
|
1166
1157
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1167
1158
|
inputs: POPOVER_INPUTS,
|
|
1168
1159
|
}]
|
|
1169
|
-
}], ctorParameters: ()
|
|
1160
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
1170
1161
|
type: ContentChild,
|
|
1171
1162
|
args: [TemplateRef, { static: false }]
|
|
1172
1163
|
}] } });
|
|
@@ -1268,7 +1259,7 @@ class StackController {
|
|
|
1268
1259
|
createView(ref, activatedRoute) {
|
|
1269
1260
|
const url = getUrl(this.router, activatedRoute);
|
|
1270
1261
|
const element = ref?.location?.nativeElement;
|
|
1271
|
-
const unlistenEvents = bindLifecycleEvents(this.zone, ref.
|
|
1262
|
+
const unlistenEvents = bindLifecycleEvents(this.zone, ref.instance, element);
|
|
1272
1263
|
return {
|
|
1273
1264
|
id: this.nextId++,
|
|
1274
1265
|
stackId: computeStackId(this.tabsPrefix, url),
|
|
@@ -1523,7 +1514,6 @@ const cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
|
|
|
1523
1514
|
};
|
|
1524
1515
|
|
|
1525
1516
|
// TODO(FW-2827): types
|
|
1526
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
1527
1517
|
class IonRouterOutlet {
|
|
1528
1518
|
parentOutlet;
|
|
1529
1519
|
nativeEl;
|
|
@@ -1577,7 +1567,6 @@ class IonRouterOutlet {
|
|
|
1577
1567
|
onEnd: (shouldContinue) => this.stackCtrl.endBackTransition(shouldContinue),
|
|
1578
1568
|
}
|
|
1579
1569
|
: undefined;
|
|
1580
|
-
this.nativeEl.swipeGesture = swipe;
|
|
1581
1570
|
}
|
|
1582
1571
|
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
1583
1572
|
this.parentOutlet = parentOutlet;
|
|
@@ -1850,10 +1839,10 @@ class IonRouterOutlet {
|
|
|
1850
1839
|
proxy.component = activatedRoute.component;
|
|
1851
1840
|
this.currentActivatedRoute$.next({ component, activatedRoute });
|
|
1852
1841
|
}
|
|
1853
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1854
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1842
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i3.Router }, { token: i0.NgZone }, { token: i3.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1843
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonRouterOutlet, selector: "ion-router-outlet", inputs: { animated: "animated", animation: "animation", mode: "mode", swipeGesture: "swipeGesture", name: "name" }, outputs: { stackWillChange: "stackWillChange", stackDidChange: "stackDidChange", activateEvents: "activate", deactivateEvents: "deactivate" }, exportAs: ["outlet"], ngImport: i0 });
|
|
1855
1844
|
}
|
|
1856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
1857
1846
|
type: Directive,
|
|
1858
1847
|
args: [{
|
|
1859
1848
|
selector: 'ion-router-outlet',
|
|
@@ -1861,7 +1850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
1861
1850
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1862
1851
|
inputs: ['animated', 'animation', 'mode', 'swipeGesture'],
|
|
1863
1852
|
}]
|
|
1864
|
-
}], ctorParameters: ()
|
|
1853
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1865
1854
|
type: Attribute,
|
|
1866
1855
|
args: ['name']
|
|
1867
1856
|
}] }, { type: undefined, decorators: [{
|
|
@@ -1873,7 +1862,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
1873
1862
|
type: SkipSelf
|
|
1874
1863
|
}, {
|
|
1875
1864
|
type: Optional
|
|
1876
|
-
}] }], propDecorators: { name: [{
|
|
1865
|
+
}] }]; }, propDecorators: { name: [{
|
|
1877
1866
|
type: Input
|
|
1878
1867
|
}], stackWillChange: [{
|
|
1879
1868
|
type: Output
|
|
@@ -1967,10 +1956,10 @@ class RoutedComponentInputBinder {
|
|
|
1967
1956
|
});
|
|
1968
1957
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
1969
1958
|
}
|
|
1970
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1971
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1959
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1960
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RoutedComponentInputBinder });
|
|
1972
1961
|
}
|
|
1973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
1974
1963
|
type: Injectable
|
|
1975
1964
|
}] });
|
|
1976
1965
|
const provideComponentInputBinding = () => {
|
|
@@ -2103,12 +2092,12 @@ class ValueAccessor {
|
|
|
2103
2092
|
});
|
|
2104
2093
|
}
|
|
2105
2094
|
}
|
|
2106
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2107
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2095
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2096
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ValueAccessor, host: { listeners: { "ionBlur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
|
|
2108
2097
|
}
|
|
2109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
2110
2099
|
type: Directive
|
|
2111
|
-
}], ctorParameters: ()
|
|
2100
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
2112
2101
|
type: HostListener,
|
|
2113
2102
|
args: ['ionBlur', ['$event.target']]
|
|
2114
2103
|
}] } });
|
|
@@ -2181,23 +2170,23 @@ let IonBackButton = class IonBackButton {
|
|
|
2181
2170
|
ev.preventDefault();
|
|
2182
2171
|
}
|
|
2183
2172
|
}
|
|
2184
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2185
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2173
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: NavController }, { token: Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2174
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonBackButton, inputs: { color: "color", defaultHref: "defaultHref", disabled: "disabled", icon: "icon", mode: "mode", routerAnimation: "routerAnimation", text: "text", type: "type" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
|
|
2186
2175
|
};
|
|
2187
2176
|
IonBackButton = __decorate([
|
|
2188
2177
|
ProxyCmp({
|
|
2189
2178
|
inputs: BACK_BUTTON_INPUTS,
|
|
2190
2179
|
})
|
|
2191
2180
|
], IonBackButton);
|
|
2192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonBackButton, decorators: [{
|
|
2193
2182
|
type: Directive,
|
|
2194
2183
|
args: [{
|
|
2195
2184
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2196
2185
|
inputs: BACK_BUTTON_INPUTS,
|
|
2197
2186
|
}]
|
|
2198
|
-
}], ctorParameters: ()
|
|
2187
|
+
}], ctorParameters: function () { return [{ type: IonRouterOutlet, decorators: [{
|
|
2199
2188
|
type: Optional
|
|
2200
|
-
}] }, { type: NavController }, { type: Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { onClick: [{
|
|
2189
|
+
}] }, { type: NavController }, { type: Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onClick: [{
|
|
2201
2190
|
type: HostListener,
|
|
2202
2191
|
args: ['click', ['$event']]
|
|
2203
2192
|
}] } });
|
|
@@ -2228,8 +2217,8 @@ let IonNav = class IonNav {
|
|
|
2228
2217
|
ref.nativeElement.delegate = angularDelegate.create(environmentInjector, injector);
|
|
2229
2218
|
proxyOutputs(this, this.el, ['ionNavDidChange', 'ionNavWillChange']);
|
|
2230
2219
|
}
|
|
2231
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2232
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2220
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2221
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonNav, inputs: { animated: "animated", animation: "animation", root: "root", rootParams: "rootParams", swipeGesture: "swipeGesture" }, ngImport: i0 });
|
|
2233
2222
|
};
|
|
2234
2223
|
IonNav = __decorate([
|
|
2235
2224
|
ProxyCmp({
|
|
@@ -2237,13 +2226,13 @@ IonNav = __decorate([
|
|
|
2237
2226
|
methods: NAV_METHODS,
|
|
2238
2227
|
})
|
|
2239
2228
|
], IonNav);
|
|
2240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonNav, decorators: [{
|
|
2241
2230
|
type: Directive,
|
|
2242
2231
|
args: [{
|
|
2243
2232
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2244
2233
|
inputs: NAV_INPUTS,
|
|
2245
2234
|
}]
|
|
2246
|
-
}], ctorParameters: ()
|
|
2235
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2247
2236
|
|
|
2248
2237
|
/**
|
|
2249
2238
|
* Adds support for Ionic routing directions and animations to the base Angular router link directive.
|
|
@@ -2324,17 +2313,17 @@ class RouterLinkDelegateDirective {
|
|
|
2324
2313
|
*/
|
|
2325
2314
|
ev.preventDefault();
|
|
2326
2315
|
}
|
|
2327
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2328
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2316
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2317
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RouterLinkDelegateDirective, selector: ":not(a):not(area)[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 });
|
|
2329
2318
|
}
|
|
2330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkDelegateDirective, decorators: [{
|
|
2331
2320
|
type: Directive,
|
|
2332
2321
|
args: [{
|
|
2333
2322
|
selector: ':not(a):not(area)[routerLink]',
|
|
2334
2323
|
}]
|
|
2335
|
-
}], ctorParameters: ()
|
|
2324
|
+
}], ctorParameters: function () { return [{ type: i1.LocationStrategy }, { type: NavController }, { type: i0.ElementRef }, { type: i3.Router }, { type: i3.RouterLink, decorators: [{
|
|
2336
2325
|
type: Optional
|
|
2337
|
-
}] }], propDecorators: { routerDirection: [{
|
|
2326
|
+
}] }]; }, propDecorators: { routerDirection: [{
|
|
2338
2327
|
type: Input
|
|
2339
2328
|
}], routerAnimation: [{
|
|
2340
2329
|
type: Input
|
|
@@ -2375,17 +2364,17 @@ class RouterLinkWithHrefDelegateDirective {
|
|
|
2375
2364
|
onClick() {
|
|
2376
2365
|
this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
|
|
2377
2366
|
}
|
|
2378
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2379
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2367
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2368
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RouterLinkWithHrefDelegateDirective, selector: "a[routerLink],area[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
|
|
2380
2369
|
}
|
|
2381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, decorators: [{
|
|
2382
2371
|
type: Directive,
|
|
2383
2372
|
args: [{
|
|
2384
2373
|
selector: 'a[routerLink],area[routerLink]',
|
|
2385
2374
|
}]
|
|
2386
|
-
}], ctorParameters: ()
|
|
2375
|
+
}], ctorParameters: function () { return [{ type: i1.LocationStrategy }, { type: NavController }, { type: i0.ElementRef }, { type: i3.Router }, { type: i3.RouterLink, decorators: [{
|
|
2387
2376
|
type: Optional
|
|
2388
|
-
}] }], propDecorators: { routerDirection: [{
|
|
2377
|
+
}] }]; }, propDecorators: { routerDirection: [{
|
|
2389
2378
|
type: Input
|
|
2390
2379
|
}], routerAnimation: [{
|
|
2391
2380
|
type: Input
|
|
@@ -2432,7 +2421,6 @@ const parseHrefExtras = (href) => {
|
|
|
2432
2421
|
extras.fragment = fragment;
|
|
2433
2422
|
return extras;
|
|
2434
2423
|
};
|
|
2435
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2436
2424
|
class IonTabs {
|
|
2437
2425
|
navCtrl;
|
|
2438
2426
|
tabsInner;
|
|
@@ -2650,15 +2638,15 @@ class IonTabs {
|
|
|
2650
2638
|
this.tabsInner.nativeElement.after(tabBar);
|
|
2651
2639
|
}
|
|
2652
2640
|
}
|
|
2653
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2654
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2641
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTabs, deps: [{ token: NavController }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2642
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonTabs, selector: "ion-tabs", outputs: { ionTabsWillChange: "ionTabsWillChange", ionTabsDidChange: "ionTabsDidChange" }, host: { listeners: { "ionTabButtonClick": "select($event)" } }, viewQueries: [{ propertyName: "tabsInner", first: true, predicate: ["tabsInner"], descendants: true, read: ElementRef, static: true }], ngImport: i0 });
|
|
2655
2643
|
}
|
|
2656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTabs, decorators: [{
|
|
2657
2645
|
type: Directive,
|
|
2658
2646
|
args: [{
|
|
2659
2647
|
selector: 'ion-tabs',
|
|
2660
2648
|
}]
|
|
2661
|
-
}], ctorParameters: ()
|
|
2649
|
+
}], ctorParameters: function () { return [{ type: NavController }]; }, propDecorators: { tabsInner: [{
|
|
2662
2650
|
type: ViewChild,
|
|
2663
2651
|
args: ['tabsInner', { read: ElementRef, static: true }]
|
|
2664
2652
|
}], ionTabsWillChange: [{
|
|
@@ -2755,5 +2743,5 @@ class IonicRouteStrategy {
|
|
|
2755
2743
|
* Generated bundle index. Do not edit.
|
|
2756
2744
|
*/
|
|
2757
2745
|
|
|
2758
|
-
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonModalToken, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, MenuController, NavController, NavParams, OverlayBaseController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor, provideComponentInputBinding, raf, setIonicClasses };
|
|
2746
|
+
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonModalToken, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, MenuController, NavController, NavParams, OverlayBaseController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor, bindLifecycleEvents, provideComponentInputBinding, raf, setIonicClasses };
|
|
2759
2747
|
//# sourceMappingURL=ionic-angular-common.mjs.map
|