@ionic/angular 7.5.3-dev.11698411574.1c60b825 → 7.5.3-dev.11698423614.1cd2744f
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/directives/navigation/ion-router-outlet.d.ts +12 -1
- package/esm2020/directives/navigation/ion-router-outlet.mjs +28 -4
- package/esm2020/standalone/navigation/router-outlet.mjs +28 -4
- package/fesm2015/ionic-angular-standalone.mjs +33 -8
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +33 -8
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +31 -8
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +31 -8
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/navigation/router-outlet.d.ts +12 -1
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { ElementRef, NgZone } from '@angular/core';
|
|
3
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
1
4
|
import { IonRouterOutlet as IonRouterOutletBase } from '@ionic/angular/common';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
6
|
export declare class IonRouterOutlet extends IonRouterOutletBase {
|
|
4
|
-
|
|
7
|
+
readonly parentOutlet?: IonRouterOutlet | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* We need to pass in the correct instance of IonRouterOutlet
|
|
10
|
+
* otherwise parentOutlet will be null in a nested outlet context.
|
|
11
|
+
* This results in APIs such as NavController.pop not working
|
|
12
|
+
* in nested outlets because the parent outlet cannot be found.
|
|
13
|
+
*/
|
|
14
|
+
constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, parentOutlet?: IonRouterOutlet | undefined);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
5
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IonRouterOutlet, "ion-router-outlet", never, {}, {}, never, never, false>;
|
|
6
17
|
}
|
|
@@ -1,15 +1,39 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
1
|
+
import { Directive, Attribute, Optional, SkipSelf } from '@angular/core';
|
|
2
2
|
import { IonRouterOutlet as IonRouterOutletBase } from '@ionic/angular/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/router";
|
|
4
6
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
5
7
|
export class IonRouterOutlet extends IonRouterOutletBase {
|
|
8
|
+
/**
|
|
9
|
+
* We need to pass in the correct instance of IonRouterOutlet
|
|
10
|
+
* otherwise parentOutlet will be null in a nested outlet context.
|
|
11
|
+
* This results in APIs such as NavController.pop not working
|
|
12
|
+
* in nested outlets because the parent outlet cannot be found.
|
|
13
|
+
*/
|
|
14
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
15
|
+
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
16
|
+
this.parentOutlet = parentOutlet;
|
|
17
|
+
}
|
|
6
18
|
}
|
|
7
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps:
|
|
19
|
+
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
20
|
/** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, selector: "ion-router-outlet", usesInheritance: true, ngImport: i0 });
|
|
9
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
10
22
|
type: Directive,
|
|
11
23
|
args: [{
|
|
12
24
|
selector: 'ion-router-outlet',
|
|
13
25
|
}]
|
|
14
|
-
}]
|
|
15
|
-
|
|
26
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
27
|
+
type: Attribute,
|
|
28
|
+
args: ['name']
|
|
29
|
+
}] }, { type: undefined, decorators: [{
|
|
30
|
+
type: Optional
|
|
31
|
+
}, {
|
|
32
|
+
type: Attribute,
|
|
33
|
+
args: ['tabs']
|
|
34
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
35
|
+
type: SkipSelf
|
|
36
|
+
}, {
|
|
37
|
+
type: Optional
|
|
38
|
+
}] }]; } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9uLXJvdXRlci1vdXRsZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlyZWN0aXZlcy9uYXZpZ2F0aW9uL2lvbi1yb3V0ZXItb3V0bGV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQXNCLE1BQU0sZUFBZSxDQUFDO0FBRTdGLE9BQU8sRUF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jb21tb25Mb2NhdGlvbiwgZWxlbWVudFJlZiwgcm91dGVyLCB6b25lLCBhY3RpdmF0ZWRSb3V0ZSwgcGFyZW50T3V0bGV0KTtcbiAgfVxufVxuIl19
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { Directive } from '@angular/core';
|
|
2
|
+
import { Directive, Attribute, Optional, SkipSelf } from '@angular/core';
|
|
3
3
|
import { IonRouterOutlet as IonRouterOutletBase, ProxyCmp } from '@ionic/angular/common';
|
|
4
4
|
import { defineCustomElement } from '@ionic/core/components/ion-router-outlet.js';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/router";
|
|
6
8
|
let IonRouterOutlet = class IonRouterOutlet extends IonRouterOutletBase {
|
|
9
|
+
/**
|
|
10
|
+
* We need to pass in the correct instance of IonRouterOutlet
|
|
11
|
+
* otherwise parentOutlet will be null in a nested outlet context.
|
|
12
|
+
* This results in APIs such as NavController.pop not working
|
|
13
|
+
* in nested outlets because the parent outlet cannot be found.
|
|
14
|
+
*/
|
|
15
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
16
|
+
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
17
|
+
this.parentOutlet = parentOutlet;
|
|
18
|
+
}
|
|
7
19
|
};
|
|
8
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps:
|
|
20
|
+
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
21
|
/** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", usesInheritance: true, ngImport: i0 });
|
|
10
22
|
IonRouterOutlet = __decorate([
|
|
11
23
|
ProxyCmp({
|
|
@@ -19,5 +31,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
19
31
|
selector: 'ion-router-outlet',
|
|
20
32
|
standalone: true,
|
|
21
33
|
}]
|
|
22
|
-
}]
|
|
23
|
-
|
|
34
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
35
|
+
type: Attribute,
|
|
36
|
+
args: ['name']
|
|
37
|
+
}] }, { type: undefined, decorators: [{
|
|
38
|
+
type: Optional
|
|
39
|
+
}, {
|
|
40
|
+
type: Attribute,
|
|
41
|
+
args: ['tabs']
|
|
42
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
43
|
+
type: SkipSelf
|
|
44
|
+
}, {
|
|
45
|
+
type: Optional
|
|
46
|
+
}] }]; } });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLW91dGxldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3N0YW5kYWxvbmUvc3JjL25hdmlnYXRpb24vcm91dGVyLW91dGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBc0IsTUFBTSxlQUFlLENBQUM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AgICogaW4gbmVzdGVkIG91dGxldHMgYmVjYXVzZSB0aGUgcGFyZW50IG91dGxldCBjYW5ub3QgYmUgZm91bmQuXG4gICAqL1xuICBjb25zdHJ1Y3RvcihcbiAgICBAQXR0cmlidXRlKCduYW1lJykgbmFtZTogc3RyaW5nLFxuICAgIEBPcHRpb25hbCgpIEBBdHRyaWJ1dGUoJ3RhYnMnKSB0YWJzOiBzdHJpbmcsXG4gICAgY29tbW9uTG9jYXRpb246IExvY2F0aW9uLFxuICAgIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYsXG4gICAgcm91dGVyOiBSb3V0ZXIsXG4gICAgem9uZTogTmdab25lLFxuICAgIGFjdGl2YXRlZFJvdXRlOiBBY3RpdmF0ZWRSb3V0ZSxcbiAgICBAU2tpcFNlbGYoKSBAT3B0aW9uYWwoKSByZWFkb25seSBwYXJlbnRPdXRsZXQ/OiBJb25Sb3V0ZXJPdXRsZXRcbiAgKSB7XG4gICAgc3VwZXIobmFtZSwgdGFicywgY29tbW9uTG9jYXRpb24sIGVsZW1lbnRSZWYsIHJvdXRlciwgem9uZSwgYWN0aXZhdGVkUm91dGUsIHBhcmVudE91dGxldCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Directive, Component, ChangeDetectionStrategy,
|
|
4
|
-
import * as i2 from '@ionic/angular/common';
|
|
3
|
+
import { Directive, Attribute, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, APP_INITIALIZER, Injectable, HostListener } from '@angular/core';
|
|
4
|
+
import * as i2$1 from '@ionic/angular/common';
|
|
5
5
|
import { IonRouterOutlet as IonRouterOutlet$1, ProxyCmp as ProxyCmp$1, IonBackButton as IonBackButton$1, IonModal as IonModal$1, IonPopover as IonPopover$1, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, IonTabs as IonTabs$1, ConfigToken, provideComponentInputBinding, AngularDelegate, ModalController, PopoverController, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
|
|
6
6
|
export { ActionSheetController, AlertController, AnimationController, Config, DomController, GestureController, IonicRouteStrategy, LoadingController, ModalController, NavController, NavParams, PickerController, Platform, PopoverController, ToastController } from '@ionic/angular/common';
|
|
7
7
|
import { defineCustomElement as defineCustomElement$2 } from '@ionic/core/components/ion-back-button.js';
|
|
8
8
|
import { defineCustomElement as defineCustomElement$1 } from '@ionic/core/components/ion-router-outlet.js';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
10
10
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
11
|
+
import * as i2 from '@angular/router';
|
|
11
12
|
import { defineCustomElement as defineCustomElement$3 } from '@ionic/core/components/ion-modal.js';
|
|
12
13
|
import { defineCustomElement as defineCustomElement$4 } from '@ionic/core/components/ion-popover.js';
|
|
13
14
|
import { fromEvent } from 'rxjs';
|
|
@@ -94,8 +95,18 @@ import { defineCustomElement as defineCustomElement$1h } from '@ionic/core/compo
|
|
|
94
95
|
import { defineCustomElement as defineCustomElement$1i } from '@ionic/core/components/ion-toggle.js';
|
|
95
96
|
|
|
96
97
|
let IonRouterOutlet = class IonRouterOutlet extends IonRouterOutlet$1 {
|
|
98
|
+
/**
|
|
99
|
+
* We need to pass in the correct instance of IonRouterOutlet
|
|
100
|
+
* otherwise parentOutlet will be null in a nested outlet context.
|
|
101
|
+
* This results in APIs such as NavController.pop not working
|
|
102
|
+
* in nested outlets because the parent outlet cannot be found.
|
|
103
|
+
*/
|
|
104
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
105
|
+
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
106
|
+
this.parentOutlet = parentOutlet;
|
|
107
|
+
}
|
|
97
108
|
};
|
|
98
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps:
|
|
109
|
+
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
99
110
|
/** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", usesInheritance: true, ngImport: i0 });
|
|
100
111
|
IonRouterOutlet = __decorate([
|
|
101
112
|
ProxyCmp$1({
|
|
@@ -108,14 +119,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
108
119
|
selector: 'ion-router-outlet',
|
|
109
120
|
standalone: true,
|
|
110
121
|
}]
|
|
111
|
-
}]
|
|
122
|
+
}], ctorParameters: function () {
|
|
123
|
+
return [{ type: undefined, decorators: [{
|
|
124
|
+
type: Attribute,
|
|
125
|
+
args: ['name']
|
|
126
|
+
}] }, { type: undefined, decorators: [{
|
|
127
|
+
type: Optional
|
|
128
|
+
}, {
|
|
129
|
+
type: Attribute,
|
|
130
|
+
args: ['tabs']
|
|
131
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
132
|
+
type: SkipSelf
|
|
133
|
+
}, {
|
|
134
|
+
type: Optional
|
|
135
|
+
}] }];
|
|
136
|
+
} });
|
|
112
137
|
|
|
113
138
|
let IonBackButton = class IonBackButton extends IonBackButton$1 {
|
|
114
139
|
constructor(routerOutlet, navCtrl, config, r, z, c) {
|
|
115
140
|
super(routerOutlet, navCtrl, config, r, z, c);
|
|
116
141
|
}
|
|
117
142
|
};
|
|
118
|
-
/** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: i2.NavController }, { token: i2.Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
143
|
+
/** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: i2$1.NavController }, { token: i2$1.Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
119
144
|
/** @nocollapse */ IonBackButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonBackButton, isStandalone: true, selector: "ion-back-button", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
120
145
|
IonBackButton = __decorate([
|
|
121
146
|
ProxyCmp$1({
|
|
@@ -133,7 +158,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
133
158
|
}], ctorParameters: function () {
|
|
134
159
|
return [{ type: IonRouterOutlet, decorators: [{
|
|
135
160
|
type: Optional
|
|
136
|
-
}] }, { type: i2.NavController }, { type: i2.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }];
|
|
161
|
+
}] }, { type: i2$1.NavController }, { type: i2$1.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }];
|
|
137
162
|
} });
|
|
138
163
|
|
|
139
164
|
let IonModal = class IonModal extends IonModal$1 {
|
|
@@ -2070,7 +2095,7 @@ let IonNav = class IonNav extends IonNav$1 {
|
|
|
2070
2095
|
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2071
2096
|
}
|
|
2072
2097
|
};
|
|
2073
|
-
/** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: i2.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2098
|
+
/** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: i2$1.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2074
2099
|
/** @nocollapse */ IonNav.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonNav, isStandalone: true, selector: "ion-nav", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
2075
2100
|
IonNav = __decorate([
|
|
2076
2101
|
ProxyCmp$1({
|
|
@@ -2084,7 +2109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2084
2109
|
template: '<ng-content></ng-content>',
|
|
2085
2110
|
standalone: true,
|
|
2086
2111
|
}]
|
|
2087
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2112
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2088
2113
|
|
|
2089
2114
|
const CHECKBOX_INPUTS = [
|
|
2090
2115
|
'checked',
|