@angular/common 20.3.9 → 20.3.11
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 -2
- package/common_module.d.d.ts +26 -1
- package/fesm2022/common.mjs +41 -22
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/common_module.mjs +111 -86
- package/fesm2022/common_module.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http/testing.mjs.map +1 -1
- package/fesm2022/http.mjs +1 -1
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/location.mjs +16 -16
- package/fesm2022/location.mjs.map +1 -1
- package/fesm2022/module.mjs +39 -45
- package/fesm2022/module.mjs.map +1 -1
- package/fesm2022/platform_navigation.mjs +4 -4
- package/fesm2022/platform_navigation.mjs.map +1 -1
- package/fesm2022/testing.mjs +13 -13
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/upgrade.mjs.map +1 -1
- package/fesm2022/xhr.mjs +1 -1
- package/fesm2022/xhr.mjs.map +1 -1
- package/http/index.d.ts +1 -3
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +2 -1
- package/module.d.d.ts +1 -1
- package/package.json +2 -2
- package/platform_location.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
- package/xhr.d.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.11
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -81,10 +81,10 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
81
81
|
historyGo(relativePosition = 0) {
|
|
82
82
|
this._platformLocation.historyGo?.(relativePosition);
|
|
83
83
|
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
85
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
84
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
85
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: HashLocationStrategy });
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
88
88
|
type: Injectable
|
|
89
89
|
}], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
90
90
|
type: Optional
|
|
@@ -1959,10 +1959,10 @@ function parseIntAutoRadix(text) {
|
|
|
1959
1959
|
* @publicApi
|
|
1960
1960
|
*/
|
|
1961
1961
|
class NgLocalization {
|
|
1962
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1963
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1962
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1963
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
1964
1964
|
}
|
|
1965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgLocalization, decorators: [{
|
|
1966
1966
|
type: Injectable,
|
|
1967
1967
|
args: [{
|
|
1968
1968
|
providedIn: 'root',
|
|
@@ -2017,10 +2017,10 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2017
2017
|
return 'other';
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2021
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2020
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2021
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgLocaleLocalization });
|
|
2022
2022
|
}
|
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2024
2024
|
type: Injectable
|
|
2025
2025
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2026
2026
|
type: Inject,
|
|
@@ -2176,10 +2176,10 @@ class NgClass {
|
|
|
2176
2176
|
});
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2180
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2179
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2180
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2181
2181
|
}
|
|
2182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgClass, decorators: [{
|
|
2183
2183
|
type: Directive,
|
|
2184
2184
|
args: [{
|
|
2185
2185
|
selector: '[ngClass]',
|
|
@@ -2372,10 +2372,10 @@ class NgComponentOutlet {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
2374
|
}
|
|
2375
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2376
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2376
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletEnvironmentInjector: "ngComponentOutletEnvironmentInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, exportAs: ["ngComponentOutlet"], usesOnChanges: true, ngImport: i0 });
|
|
2377
2377
|
}
|
|
2378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2379
2379
|
type: Directive,
|
|
2380
2380
|
args: [{
|
|
2381
2381
|
selector: '[ngComponentOutlet]',
|
|
@@ -2692,10 +2692,10 @@ class NgForOf {
|
|
|
2692
2692
|
static ngTemplateContextGuard(dir, ctx) {
|
|
2693
2693
|
return true;
|
|
2694
2694
|
}
|
|
2695
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2696
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2695
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2696
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
2697
2697
|
}
|
|
2698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgForOf, decorators: [{
|
|
2699
2699
|
type: Directive,
|
|
2700
2700
|
args: [{
|
|
2701
2701
|
selector: '[ngFor][ngForOf]',
|
|
@@ -2935,10 +2935,10 @@ class NgIf {
|
|
|
2935
2935
|
static ngTemplateContextGuard(dir, ctx) {
|
|
2936
2936
|
return true;
|
|
2937
2937
|
}
|
|
2938
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2939
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2938
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2939
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
2940
2940
|
}
|
|
2941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgIf, decorators: [{
|
|
2942
2942
|
type: Directive,
|
|
2943
2943
|
args: [{
|
|
2944
2944
|
selector: '[ngIf]',
|
|
@@ -3102,10 +3102,10 @@ class NgSwitch {
|
|
|
3102
3102
|
}
|
|
3103
3103
|
}
|
|
3104
3104
|
}
|
|
3105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3106
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3105
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3106
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3107
3107
|
}
|
|
3108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3109
3109
|
type: Directive,
|
|
3110
3110
|
args: [{
|
|
3111
3111
|
selector: '[ngSwitch]',
|
|
@@ -3171,10 +3171,10 @@ class NgSwitchCase {
|
|
|
3171
3171
|
ngDoCheck() {
|
|
3172
3172
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3173
3173
|
}
|
|
3174
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3175
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3174
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3175
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3176
3176
|
}
|
|
3177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3178
3178
|
type: Directive,
|
|
3179
3179
|
args: [{
|
|
3180
3180
|
selector: '[ngSwitchCase]',
|
|
@@ -3209,10 +3209,10 @@ class NgSwitchDefault {
|
|
|
3209
3209
|
}
|
|
3210
3210
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3211
3211
|
}
|
|
3212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3213
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3213
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3214
3214
|
}
|
|
3215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3216
3216
|
type: Directive,
|
|
3217
3217
|
args: [{
|
|
3218
3218
|
selector: '[ngSwitchDefault]',
|
|
@@ -3288,10 +3288,10 @@ class NgPlural {
|
|
|
3288
3288
|
this._activeView.create();
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3292
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3291
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3292
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3293
3293
|
}
|
|
3294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgPlural, decorators: [{
|
|
3295
3295
|
type: Directive,
|
|
3296
3296
|
args: [{
|
|
3297
3297
|
selector: '[ngPlural]',
|
|
@@ -3326,10 +3326,10 @@ class NgPluralCase {
|
|
|
3326
3326
|
const isANumber = !isNaN(Number(value));
|
|
3327
3327
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3328
3328
|
}
|
|
3329
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3330
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3329
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3330
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3331
3331
|
}
|
|
3332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3333
3333
|
type: Directive,
|
|
3334
3334
|
args: [{
|
|
3335
3335
|
selector: '[ngPluralCase]',
|
|
@@ -3422,10 +3422,10 @@ class NgStyle {
|
|
|
3422
3422
|
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3423
3423
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3424
3424
|
}
|
|
3425
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3426
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3425
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3426
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3427
3427
|
}
|
|
3428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgStyle, decorators: [{
|
|
3429
3429
|
type: Directive,
|
|
3430
3430
|
args: [{
|
|
3431
3431
|
selector: '[ngStyle]',
|
|
@@ -3526,10 +3526,10 @@ class NgTemplateOutlet {
|
|
|
3526
3526
|
},
|
|
3527
3527
|
});
|
|
3528
3528
|
}
|
|
3529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3530
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3529
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3530
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
3531
3531
|
}
|
|
3532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3533
3533
|
type: Directive,
|
|
3534
3534
|
args: [{
|
|
3535
3535
|
selector: '[ngTemplateOutlet]',
|
|
@@ -3649,6 +3649,8 @@ const _subscribableStrategy = new SubscribableStrategy();
|
|
|
3649
3649
|
*
|
|
3650
3650
|
* {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}
|
|
3651
3651
|
*
|
|
3652
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
3653
|
+
*
|
|
3652
3654
|
* @publicApi
|
|
3653
3655
|
*/
|
|
3654
3656
|
class AsyncPipe {
|
|
@@ -3726,10 +3728,10 @@ class AsyncPipe {
|
|
|
3726
3728
|
}
|
|
3727
3729
|
}
|
|
3728
3730
|
}
|
|
3729
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3730
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
3731
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3732
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
|
|
3731
3733
|
}
|
|
3732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
3733
3735
|
type: Pipe,
|
|
3734
3736
|
args: [{
|
|
3735
3737
|
name: 'async',
|
|
@@ -3749,6 +3751,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
3749
3751
|
*
|
|
3750
3752
|
* {@example common/pipes/ts/lowerupper_pipe.ts region='LowerUpperPipe'}
|
|
3751
3753
|
*
|
|
3754
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
3755
|
+
*
|
|
3752
3756
|
* @ngModule CommonModule
|
|
3753
3757
|
* @publicApi
|
|
3754
3758
|
*/
|
|
@@ -3761,10 +3765,10 @@ class LowerCasePipe {
|
|
|
3761
3765
|
}
|
|
3762
3766
|
return value.toLowerCase();
|
|
3763
3767
|
}
|
|
3764
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3765
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
3768
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3769
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
|
|
3766
3770
|
}
|
|
3767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
3768
3772
|
type: Pipe,
|
|
3769
3773
|
args: [{
|
|
3770
3774
|
name: 'lowercase',
|
|
@@ -3793,6 +3797,8 @@ const unicodeWordMatch = /(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1
|
|
|
3793
3797
|
*
|
|
3794
3798
|
* {@example common/pipes/ts/titlecase_pipe.ts region='TitleCasePipe'}
|
|
3795
3799
|
*
|
|
3800
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
3801
|
+
*
|
|
3796
3802
|
* @ngModule CommonModule
|
|
3797
3803
|
* @publicApi
|
|
3798
3804
|
*/
|
|
@@ -3805,10 +3811,10 @@ class TitleCasePipe {
|
|
|
3805
3811
|
}
|
|
3806
3812
|
return value.replace(unicodeWordMatch, (txt) => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
|
|
3807
3813
|
}
|
|
3808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3809
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
3814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3815
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
|
|
3810
3816
|
}
|
|
3811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
3812
3818
|
type: Pipe,
|
|
3813
3819
|
args: [{
|
|
3814
3820
|
name: 'titlecase',
|
|
@@ -3818,6 +3824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
3818
3824
|
* Transforms text to all upper case.
|
|
3819
3825
|
* @see {@link LowerCasePipe}
|
|
3820
3826
|
* @see {@link TitleCasePipe}
|
|
3827
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
3821
3828
|
*
|
|
3822
3829
|
* @ngModule CommonModule
|
|
3823
3830
|
* @publicApi
|
|
@@ -3831,10 +3838,10 @@ class UpperCasePipe {
|
|
|
3831
3838
|
}
|
|
3832
3839
|
return value.toUpperCase();
|
|
3833
3840
|
}
|
|
3834
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3835
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
3841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3842
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
|
|
3836
3843
|
}
|
|
3837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
3838
3845
|
type: Pipe,
|
|
3839
3846
|
args: [{
|
|
3840
3847
|
name: 'uppercase',
|
|
@@ -4042,6 +4049,8 @@ const DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken(ngDevMode ? 'DATE_PIPE_DEFA
|
|
|
4042
4049
|
* }
|
|
4043
4050
|
* ```
|
|
4044
4051
|
*
|
|
4052
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4053
|
+
*
|
|
4045
4054
|
* @publicApi
|
|
4046
4055
|
*/
|
|
4047
4056
|
class DatePipe {
|
|
@@ -4065,10 +4074,10 @@ class DatePipe {
|
|
|
4065
4074
|
throw invalidPipeArgumentError(DatePipe, error.message);
|
|
4066
4075
|
}
|
|
4067
4076
|
}
|
|
4068
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4069
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4077
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4078
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
|
|
4070
4079
|
}
|
|
4071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: DatePipe, decorators: [{
|
|
4072
4081
|
type: Pipe,
|
|
4073
4082
|
args: [{
|
|
4074
4083
|
name: 'date',
|
|
@@ -4101,6 +4110,8 @@ const _INTERPOLATION_REGEXP = /#/g;
|
|
|
4101
4110
|
*
|
|
4102
4111
|
* {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}
|
|
4103
4112
|
*
|
|
4113
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4114
|
+
*
|
|
4104
4115
|
* @publicApi
|
|
4105
4116
|
*/
|
|
4106
4117
|
class I18nPluralPipe {
|
|
@@ -4124,10 +4135,10 @@ class I18nPluralPipe {
|
|
|
4124
4135
|
const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
|
|
4125
4136
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4126
4137
|
}
|
|
4127
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4128
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4139
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
|
|
4129
4140
|
}
|
|
4130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4131
4142
|
type: Pipe,
|
|
4132
4143
|
args: [{
|
|
4133
4144
|
name: 'i18nPlural',
|
|
@@ -4149,6 +4160,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
4149
4160
|
*
|
|
4150
4161
|
* {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}
|
|
4151
4162
|
*
|
|
4163
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4164
|
+
*
|
|
4152
4165
|
* @publicApi
|
|
4153
4166
|
*/
|
|
4154
4167
|
class I18nSelectPipe {
|
|
@@ -4171,10 +4184,10 @@ class I18nSelectPipe {
|
|
|
4171
4184
|
}
|
|
4172
4185
|
return '';
|
|
4173
4186
|
}
|
|
4174
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4175
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4188
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
|
|
4176
4189
|
}
|
|
4177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4178
4191
|
type: Pipe,
|
|
4179
4192
|
args: [{
|
|
4180
4193
|
name: 'i18nSelect',
|
|
@@ -4194,6 +4207,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
4194
4207
|
*
|
|
4195
4208
|
* {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}
|
|
4196
4209
|
*
|
|
4210
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4211
|
+
*
|
|
4197
4212
|
* @publicApi
|
|
4198
4213
|
*/
|
|
4199
4214
|
class JsonPipe {
|
|
@@ -4203,10 +4218,10 @@ class JsonPipe {
|
|
|
4203
4218
|
transform(value) {
|
|
4204
4219
|
return JSON.stringify(value, null, 2);
|
|
4205
4220
|
}
|
|
4206
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4207
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4222
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
|
|
4208
4223
|
}
|
|
4209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4210
4225
|
type: Pipe,
|
|
4211
4226
|
args: [{
|
|
4212
4227
|
name: 'json',
|
|
@@ -4236,6 +4251,8 @@ function makeKeyValuePair(key, value) {
|
|
|
4236
4251
|
*
|
|
4237
4252
|
* {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}
|
|
4238
4253
|
*
|
|
4254
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4255
|
+
*
|
|
4239
4256
|
* @publicApi
|
|
4240
4257
|
*/
|
|
4241
4258
|
class KeyValuePipe {
|
|
@@ -4268,10 +4285,10 @@ class KeyValuePipe {
|
|
|
4268
4285
|
}
|
|
4269
4286
|
return this.keyValues;
|
|
4270
4287
|
}
|
|
4271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4272
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4288
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4289
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
|
|
4273
4290
|
}
|
|
4274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4275
4292
|
type: Pipe,
|
|
4276
4293
|
args: [{
|
|
4277
4294
|
name: 'keyvalue',
|
|
@@ -4369,6 +4386,8 @@ function defaultComparator(keyValueA, keyValueB) {
|
|
|
4369
4386
|
*
|
|
4370
4387
|
* {@example common/pipes/ts/number_pipe.ts region='NumberPipe'}
|
|
4371
4388
|
*
|
|
4389
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4390
|
+
*
|
|
4372
4391
|
* @publicApi
|
|
4373
4392
|
*/
|
|
4374
4393
|
class DecimalPipe {
|
|
@@ -4388,10 +4407,10 @@ class DecimalPipe {
|
|
|
4388
4407
|
throw invalidPipeArgumentError(DecimalPipe, error.message);
|
|
4389
4408
|
}
|
|
4390
4409
|
}
|
|
4391
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4392
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4410
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4411
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
|
|
4393
4412
|
}
|
|
4394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4395
4414
|
type: Pipe,
|
|
4396
4415
|
args: [{
|
|
4397
4416
|
name: 'number',
|
|
@@ -4418,6 +4437,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
4418
4437
|
*
|
|
4419
4438
|
* {@example common/pipes/ts/percent_pipe.ts region='PercentPipe'}
|
|
4420
4439
|
*
|
|
4440
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4441
|
+
*
|
|
4421
4442
|
* @publicApi
|
|
4422
4443
|
*/
|
|
4423
4444
|
class PercentPipe {
|
|
@@ -4453,10 +4474,10 @@ class PercentPipe {
|
|
|
4453
4474
|
throw invalidPipeArgumentError(PercentPipe, error.message);
|
|
4454
4475
|
}
|
|
4455
4476
|
}
|
|
4456
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4457
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4477
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4478
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
|
|
4458
4479
|
}
|
|
4459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4460
4481
|
type: Pipe,
|
|
4461
4482
|
args: [{
|
|
4462
4483
|
name: 'percent',
|
|
@@ -4484,6 +4505,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
4484
4505
|
*
|
|
4485
4506
|
* {@example common/pipes/ts/currency_pipe.ts region='CurrencyPipe'}
|
|
4486
4507
|
*
|
|
4508
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4509
|
+
*
|
|
4487
4510
|
* @publicApi
|
|
4488
4511
|
*/
|
|
4489
4512
|
class CurrencyPipe {
|
|
@@ -4520,10 +4543,10 @@ class CurrencyPipe {
|
|
|
4520
4543
|
throw invalidPipeArgumentError(CurrencyPipe, error.message);
|
|
4521
4544
|
}
|
|
4522
4545
|
}
|
|
4523
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4524
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4547
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
|
|
4525
4548
|
}
|
|
4526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4527
4550
|
type: Pipe,
|
|
4528
4551
|
args: [{
|
|
4529
4552
|
name: 'currency',
|
|
@@ -4585,6 +4608,8 @@ function strToNumber(value) {
|
|
|
4585
4608
|
*
|
|
4586
4609
|
* {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}
|
|
4587
4610
|
*
|
|
4611
|
+
* @see [Built-in Pipes](guide/templates/pipes#built-in-pipes)
|
|
4612
|
+
*
|
|
4588
4613
|
* @publicApi
|
|
4589
4614
|
*/
|
|
4590
4615
|
class SlicePipe {
|
|
@@ -4597,10 +4622,10 @@ class SlicePipe {
|
|
|
4597
4622
|
}
|
|
4598
4623
|
return value.slice(start, end);
|
|
4599
4624
|
}
|
|
4600
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4601
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
4625
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4626
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
|
|
4602
4627
|
}
|
|
4603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: SlicePipe, decorators: [{
|
|
4604
4629
|
type: Pipe,
|
|
4605
4630
|
args: [{
|
|
4606
4631
|
name: 'slice',
|
|
@@ -4643,11 +4668,11 @@ const COMMON_PIPES = [
|
|
|
4643
4668
|
* @publicApi
|
|
4644
4669
|
*/
|
|
4645
4670
|
class CommonModule {
|
|
4646
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4647
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4648
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4671
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4672
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
|
|
4673
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: CommonModule });
|
|
4649
4674
|
}
|
|
4650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: CommonModule, decorators: [{
|
|
4651
4676
|
type: NgModule,
|
|
4652
4677
|
args: [{
|
|
4653
4678
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|