@angular/common 14.1.0-next.2 → 14.1.0-rc.0
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/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/headers.mjs +2 -2
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +6 -6
- package/esm2020/http/src/module.mjs +15 -15
- package/esm2020/http/src/xhr.mjs +5 -5
- package/esm2020/http/src/xsrf.mjs +6 -6
- package/esm2020/http/testing/src/backend.mjs +3 -3
- package/esm2020/http/testing/src/module.mjs +4 -4
- package/esm2020/src/common_module.mjs +6 -11
- package/esm2020/src/directives/ng_class.mjs +8 -5
- package/esm2020/src/directives/ng_component_outlet.mjs +10 -7
- package/esm2020/src/directives/ng_for_of.mjs +19 -10
- package/esm2020/src/directives/ng_if.mjs +8 -5
- package/esm2020/src/directives/ng_plural.mjs +15 -9
- package/esm2020/src/directives/ng_style.mjs +12 -9
- package/esm2020/src/directives/ng_switch.mjs +22 -13
- package/esm2020/src/directives/ng_template_outlet.mjs +8 -5
- package/esm2020/src/errors.mjs +1 -1
- package/esm2020/src/i18n/format_number.mjs +2 -2
- package/esm2020/src/i18n/locale_data_api.mjs +3 -3
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/location.mjs +3 -3
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +9 -5
- package/esm2020/src/pipes/case_conversion_pipes.mjs +22 -13
- package/esm2020/src/pipes/date_pipe.mjs +9 -5
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +9 -5
- package/esm2020/src/pipes/i18n_select_pipe.mjs +9 -5
- package/esm2020/src/pipes/json_pipe.mjs +9 -5
- package/esm2020/src/pipes/keyvalue_pipe.mjs +9 -5
- package/esm2020/src/pipes/number_pipe.mjs +22 -13
- package/esm2020/src/pipes/slice_pipe.mjs +9 -5
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +3 -3
- package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2020/testing/src/mock_platform_location.mjs +3 -3
- package/esm2020/upgrade/src/location_shim.mjs +9 -9
- package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +224 -144
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +39 -39
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +13 -13
- package/fesm2015/upgrade.mjs.map +1 -1
- package/fesm2020/common.mjs +224 -144
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +39 -39
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +13 -13
- package/fesm2020/upgrade.mjs.map +1 -1
- package/http/index.d.ts +2 -2
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +29 -34
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +3 -3
package/fesm2020/common.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.1.0-
|
|
2
|
+
* @license Angular v14.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { InjectionToken, Injectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input,
|
|
8
|
+
import { InjectionToken, Injectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable } from '@angular/core';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -87,9 +87,9 @@ class PlatformLocation {
|
|
|
87
87
|
throw new Error('Not implemented');
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
91
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
90
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
93
93
|
type: Injectable,
|
|
94
94
|
args: [{
|
|
95
95
|
providedIn: 'platform',
|
|
@@ -190,9 +190,9 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
190
190
|
return this._history.state;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
194
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
193
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
194
|
+
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
196
196
|
type: Injectable,
|
|
197
197
|
args: [{
|
|
198
198
|
providedIn: 'platform',
|
|
@@ -311,9 +311,9 @@ class LocationStrategy {
|
|
|
311
311
|
throw new Error('Not implemented');
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
315
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
314
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
315
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
317
317
|
type: Injectable,
|
|
318
318
|
args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
|
|
319
319
|
}] });
|
|
@@ -431,9 +431,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
431
431
|
this._platformLocation.historyGo?.(relativePosition);
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
435
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
434
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
435
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PathLocationStrategy });
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
437
437
|
type: Injectable
|
|
438
438
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
439
439
|
type: Optional
|
|
@@ -528,9 +528,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
528
528
|
this._platformLocation.historyGo?.(relativePosition);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
532
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
531
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
532
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: HashLocationStrategy });
|
|
533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
534
534
|
type: Injectable
|
|
535
535
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
536
536
|
type: Optional
|
|
@@ -781,9 +781,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
781
781
|
* @returns The URL string, modified if needed.
|
|
782
782
|
*/
|
|
783
783
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
784
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
785
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
784
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
785
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: Location, decorators: [{
|
|
787
787
|
type: Injectable,
|
|
788
788
|
args: [{
|
|
789
789
|
providedIn: 'root',
|
|
@@ -1135,11 +1135,11 @@ function getLocaleWeekEndRange(locale) {
|
|
|
1135
1135
|
return data[ɵLocaleDataIndex.WeekendRange];
|
|
1136
1136
|
}
|
|
1137
1137
|
/**
|
|
1138
|
-
* Retrieves a localized date-value
|
|
1138
|
+
* Retrieves a localized date-value formatting string.
|
|
1139
1139
|
*
|
|
1140
1140
|
* @param locale A locale code for the locale format rules to use.
|
|
1141
1141
|
* @param width The format type.
|
|
1142
|
-
* @returns The localized
|
|
1142
|
+
* @returns The localized formatting string.
|
|
1143
1143
|
* @see `FormatWidth`
|
|
1144
1144
|
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
1145
1145
|
*
|
|
@@ -2333,7 +2333,7 @@ function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {
|
|
|
2333
2333
|
// if we have 2 time the currency character, the second one is ignored
|
|
2334
2334
|
.replace(CURRENCY_CHAR, '')
|
|
2335
2335
|
// If there is a spacing between currency character and the value and
|
|
2336
|
-
// the currency character is
|
|
2336
|
+
// the currency character is suppressed by passing an empty string, the
|
|
2337
2337
|
// spacing character would remain as part of the string. Then we
|
|
2338
2338
|
// should remove it.
|
|
2339
2339
|
.trim();
|
|
@@ -2599,9 +2599,9 @@ function parseIntAutoRadix(text) {
|
|
|
2599
2599
|
*/
|
|
2600
2600
|
class NgLocalization {
|
|
2601
2601
|
}
|
|
2602
|
-
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
2603
|
-
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
2604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
2602
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2603
|
+
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
2604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2605
2605
|
type: Injectable,
|
|
2606
2606
|
args: [{
|
|
2607
2607
|
providedIn: 'root',
|
|
@@ -2656,9 +2656,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2656
2656
|
}
|
|
2657
2657
|
}
|
|
2658
2658
|
}
|
|
2659
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
2660
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-
|
|
2661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
2659
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2660
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgLocaleLocalization });
|
|
2661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2662
2662
|
type: Injectable
|
|
2663
2663
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2664
2664
|
type: Inject,
|
|
@@ -2851,11 +2851,14 @@ class NgClass {
|
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
2855
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
2856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
2854
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2855
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgClass, decorators: [{
|
|
2857
2857
|
type: Directive,
|
|
2858
|
-
args: [{
|
|
2858
|
+
args: [{
|
|
2859
|
+
selector: '[ngClass]',
|
|
2860
|
+
standalone: true,
|
|
2861
|
+
}]
|
|
2859
2862
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
|
|
2860
2863
|
type: Input,
|
|
2861
2864
|
args: ['class']
|
|
@@ -2946,7 +2949,7 @@ class NgComponentOutlet {
|
|
|
2946
2949
|
if (this._moduleRef)
|
|
2947
2950
|
this._moduleRef.destroy();
|
|
2948
2951
|
if (ngModule) {
|
|
2949
|
-
this._moduleRef =
|
|
2952
|
+
this._moduleRef = createNgModule(ngModule, getParentInjector(injector));
|
|
2950
2953
|
}
|
|
2951
2954
|
else if (ngModuleFactory) {
|
|
2952
2955
|
this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
|
|
@@ -2969,11 +2972,14 @@ class NgComponentOutlet {
|
|
|
2969
2972
|
this._moduleRef.destroy();
|
|
2970
2973
|
}
|
|
2971
2974
|
}
|
|
2972
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
2973
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
2974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
2975
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2976
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2975
2978
|
type: Directive,
|
|
2976
|
-
args: [{
|
|
2979
|
+
args: [{
|
|
2980
|
+
selector: '[ngComponentOutlet]',
|
|
2981
|
+
standalone: true,
|
|
2982
|
+
}]
|
|
2977
2983
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
|
|
2978
2984
|
type: Input
|
|
2979
2985
|
}], ngComponentOutletInjector: [{
|
|
@@ -2998,6 +3004,7 @@ function getParentInjector(injector) {
|
|
|
2998
3004
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2999
3005
|
* found in the LICENSE file at https://angular.io/license
|
|
3000
3006
|
*/
|
|
3007
|
+
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
|
3001
3008
|
/**
|
|
3002
3009
|
* @publicApi
|
|
3003
3010
|
*/
|
|
@@ -3060,7 +3067,7 @@ class NgForOfContext {
|
|
|
3060
3067
|
* on an element](guide/structural-directives#one-per-element).
|
|
3061
3068
|
* If you want to iterate conditionally, for example,
|
|
3062
3069
|
* put the `*ngIf` on a container element that wraps the `*ngFor` element.
|
|
3063
|
-
* For
|
|
3070
|
+
* For further discussion, see
|
|
3064
3071
|
* [Structural Directives](guide/structural-directives#one-per-element).
|
|
3065
3072
|
*
|
|
3066
3073
|
* @usageNotes
|
|
@@ -3155,7 +3162,7 @@ class NgForOf {
|
|
|
3155
3162
|
* @see `TrackByFunction`
|
|
3156
3163
|
*/
|
|
3157
3164
|
set ngForTrackBy(fn) {
|
|
3158
|
-
if (
|
|
3165
|
+
if (NG_DEV_MODE && fn != null && typeof fn !== 'function') {
|
|
3159
3166
|
// TODO(vicb): use a log service once there is a public one available
|
|
3160
3167
|
if (console && console.warn) {
|
|
3161
3168
|
console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +
|
|
@@ -3189,14 +3196,19 @@ class NgForOf {
|
|
|
3189
3196
|
// React on ngForOf changes only once all inputs have been initialized
|
|
3190
3197
|
const value = this._ngForOf;
|
|
3191
3198
|
if (!this._differ && value) {
|
|
3192
|
-
if (
|
|
3199
|
+
if (NG_DEV_MODE) {
|
|
3193
3200
|
try {
|
|
3194
3201
|
// CAUTION: this logic is duplicated for production mode below, as the try-catch
|
|
3195
3202
|
// is only present in development builds.
|
|
3196
3203
|
this._differ = this._differs.find(value).create(this.ngForTrackBy);
|
|
3197
3204
|
}
|
|
3198
3205
|
catch {
|
|
3199
|
-
|
|
3206
|
+
let errorMessage = `Cannot find a differ supporting object '${value}' of type '` +
|
|
3207
|
+
`${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;
|
|
3208
|
+
if (typeof value === 'object') {
|
|
3209
|
+
errorMessage += ' Did you mean to use the keyvalue pipe?';
|
|
3210
|
+
}
|
|
3211
|
+
throw new ɵRuntimeError(-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage);
|
|
3200
3212
|
}
|
|
3201
3213
|
}
|
|
3202
3214
|
else {
|
|
@@ -3252,11 +3264,14 @@ class NgForOf {
|
|
|
3252
3264
|
return true;
|
|
3253
3265
|
}
|
|
3254
3266
|
}
|
|
3255
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3256
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3267
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3268
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgForOf, decorators: [{
|
|
3258
3270
|
type: Directive,
|
|
3259
|
-
args: [{
|
|
3271
|
+
args: [{
|
|
3272
|
+
selector: '[ngFor][ngForOf]',
|
|
3273
|
+
standalone: true,
|
|
3274
|
+
}]
|
|
3260
3275
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
|
|
3261
3276
|
type: Input
|
|
3262
3277
|
}], ngForTrackBy: [{
|
|
@@ -3484,11 +3499,14 @@ class NgIf {
|
|
|
3484
3499
|
return true;
|
|
3485
3500
|
}
|
|
3486
3501
|
}
|
|
3487
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3488
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3502
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3503
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgIf, decorators: [{
|
|
3490
3505
|
type: Directive,
|
|
3491
|
-
args: [{
|
|
3506
|
+
args: [{
|
|
3507
|
+
selector: '[ngIf]',
|
|
3508
|
+
standalone: true,
|
|
3509
|
+
}]
|
|
3492
3510
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
|
|
3493
3511
|
type: Input
|
|
3494
3512
|
}], ngIfThen: [{
|
|
@@ -3654,11 +3672,14 @@ class NgSwitch {
|
|
|
3654
3672
|
}
|
|
3655
3673
|
}
|
|
3656
3674
|
}
|
|
3657
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3658
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3675
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3676
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3660
3678
|
type: Directive,
|
|
3661
|
-
args: [{
|
|
3679
|
+
args: [{
|
|
3680
|
+
selector: '[ngSwitch]',
|
|
3681
|
+
standalone: true,
|
|
3682
|
+
}]
|
|
3662
3683
|
}], propDecorators: { ngSwitch: [{
|
|
3663
3684
|
type: Input
|
|
3664
3685
|
}] } });
|
|
@@ -3712,11 +3733,14 @@ class NgSwitchCase {
|
|
|
3712
3733
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3713
3734
|
}
|
|
3714
3735
|
}
|
|
3715
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3716
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3736
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3737
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3718
3739
|
type: Directive,
|
|
3719
|
-
args: [{
|
|
3740
|
+
args: [{
|
|
3741
|
+
selector: '[ngSwitchCase]',
|
|
3742
|
+
standalone: true,
|
|
3743
|
+
}]
|
|
3720
3744
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
3721
3745
|
type: Optional
|
|
3722
3746
|
}, {
|
|
@@ -3746,11 +3770,14 @@ class NgSwitchDefault {
|
|
|
3746
3770
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3747
3771
|
}
|
|
3748
3772
|
}
|
|
3749
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3750
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3773
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3774
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3752
3776
|
type: Directive,
|
|
3753
|
-
args: [{
|
|
3777
|
+
args: [{
|
|
3778
|
+
selector: '[ngSwitchDefault]',
|
|
3779
|
+
standalone: true,
|
|
3780
|
+
}]
|
|
3754
3781
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
3755
3782
|
type: Optional
|
|
3756
3783
|
}, {
|
|
@@ -3829,11 +3856,14 @@ class NgPlural {
|
|
|
3829
3856
|
}
|
|
3830
3857
|
}
|
|
3831
3858
|
}
|
|
3832
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3833
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3859
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3860
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgPlural, decorators: [{
|
|
3835
3862
|
type: Directive,
|
|
3836
|
-
args: [{
|
|
3863
|
+
args: [{
|
|
3864
|
+
selector: '[ngPlural]',
|
|
3865
|
+
standalone: true,
|
|
3866
|
+
}]
|
|
3837
3867
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
|
|
3838
3868
|
type: Input
|
|
3839
3869
|
}] } });
|
|
@@ -3864,11 +3894,14 @@ class NgPluralCase {
|
|
|
3864
3894
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3865
3895
|
}
|
|
3866
3896
|
}
|
|
3867
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3868
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3897
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3898
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3870
3900
|
type: Directive,
|
|
3871
|
-
args: [{
|
|
3901
|
+
args: [{
|
|
3902
|
+
selector: '[ngPluralCase]',
|
|
3903
|
+
standalone: true,
|
|
3904
|
+
}]
|
|
3872
3905
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3873
3906
|
type: Attribute,
|
|
3874
3907
|
args: ['ngPluralCase']
|
|
@@ -3943,12 +3976,12 @@ class NgStyle {
|
|
|
3943
3976
|
}
|
|
3944
3977
|
_setStyle(nameAndUnit, value) {
|
|
3945
3978
|
const [name, unit] = nameAndUnit.split('.');
|
|
3946
|
-
|
|
3979
|
+
const flags = name.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;
|
|
3947
3980
|
if (value != null) {
|
|
3948
|
-
this._renderer.setStyle(this._ngEl.nativeElement, name, value);
|
|
3981
|
+
this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);
|
|
3949
3982
|
}
|
|
3950
3983
|
else {
|
|
3951
|
-
this._renderer.removeStyle(this._ngEl.nativeElement, name);
|
|
3984
|
+
this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);
|
|
3952
3985
|
}
|
|
3953
3986
|
}
|
|
3954
3987
|
_applyChanges(changes) {
|
|
@@ -3957,11 +3990,14 @@ class NgStyle {
|
|
|
3957
3990
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3958
3991
|
}
|
|
3959
3992
|
}
|
|
3960
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
3961
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
3962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
3993
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3994
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgStyle, decorators: [{
|
|
3963
3996
|
type: Directive,
|
|
3964
|
-
args: [{
|
|
3997
|
+
args: [{
|
|
3998
|
+
selector: '[ngStyle]',
|
|
3999
|
+
standalone: true,
|
|
4000
|
+
}]
|
|
3965
4001
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
|
|
3966
4002
|
type: Input,
|
|
3967
4003
|
args: ['ngStyle']
|
|
@@ -4036,11 +4072,14 @@ class NgTemplateOutlet {
|
|
|
4036
4072
|
}
|
|
4037
4073
|
}
|
|
4038
4074
|
}
|
|
4039
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4040
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-
|
|
4041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4075
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4076
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.0-rc.0", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
4077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
4042
4078
|
type: Directive,
|
|
4043
|
-
args: [{
|
|
4079
|
+
args: [{
|
|
4080
|
+
selector: '[ngTemplateOutlet]',
|
|
4081
|
+
standalone: true,
|
|
4082
|
+
}]
|
|
4044
4083
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
|
|
4045
4084
|
type: Input
|
|
4046
4085
|
}], ngTemplateOutlet: [{
|
|
@@ -4207,11 +4246,15 @@ class AsyncPipe {
|
|
|
4207
4246
|
}
|
|
4208
4247
|
}
|
|
4209
4248
|
}
|
|
4210
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4211
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4249
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4250
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
|
|
4251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4213
4252
|
type: Pipe,
|
|
4214
|
-
args: [{
|
|
4253
|
+
args: [{
|
|
4254
|
+
name: 'async',
|
|
4255
|
+
pure: false,
|
|
4256
|
+
standalone: true,
|
|
4257
|
+
}]
|
|
4215
4258
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
4216
4259
|
|
|
4217
4260
|
/**
|
|
@@ -4246,11 +4289,14 @@ class LowerCasePipe {
|
|
|
4246
4289
|
return value.toLowerCase();
|
|
4247
4290
|
}
|
|
4248
4291
|
}
|
|
4249
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4250
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4292
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4293
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
|
|
4294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4252
4295
|
type: Pipe,
|
|
4253
|
-
args: [{
|
|
4296
|
+
args: [{
|
|
4297
|
+
name: 'lowercase',
|
|
4298
|
+
standalone: true,
|
|
4299
|
+
}]
|
|
4254
4300
|
}] });
|
|
4255
4301
|
//
|
|
4256
4302
|
// Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result
|
|
@@ -4288,11 +4334,14 @@ class TitleCasePipe {
|
|
|
4288
4334
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4289
4335
|
}
|
|
4290
4336
|
}
|
|
4291
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4292
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4337
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4338
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
|
|
4339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4294
4340
|
type: Pipe,
|
|
4295
|
-
args: [{
|
|
4341
|
+
args: [{
|
|
4342
|
+
name: 'titlecase',
|
|
4343
|
+
standalone: true,
|
|
4344
|
+
}]
|
|
4296
4345
|
}] });
|
|
4297
4346
|
/**
|
|
4298
4347
|
* Transforms text to all upper case.
|
|
@@ -4312,11 +4361,14 @@ class UpperCasePipe {
|
|
|
4312
4361
|
return value.toUpperCase();
|
|
4313
4362
|
}
|
|
4314
4363
|
}
|
|
4315
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4316
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4364
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4365
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
|
|
4366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4318
4367
|
type: Pipe,
|
|
4319
|
-
args: [{
|
|
4368
|
+
args: [{
|
|
4369
|
+
name: 'uppercase',
|
|
4370
|
+
standalone: true,
|
|
4371
|
+
}]
|
|
4320
4372
|
}] });
|
|
4321
4373
|
|
|
4322
4374
|
/**
|
|
@@ -4506,11 +4558,15 @@ class DatePipe {
|
|
|
4506
4558
|
}
|
|
4507
4559
|
}
|
|
4508
4560
|
}
|
|
4509
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4510
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4561
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4562
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
|
|
4563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: DatePipe, decorators: [{
|
|
4512
4564
|
type: Pipe,
|
|
4513
|
-
args: [{
|
|
4565
|
+
args: [{
|
|
4566
|
+
name: 'date',
|
|
4567
|
+
pure: true,
|
|
4568
|
+
standalone: true,
|
|
4569
|
+
}]
|
|
4514
4570
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4515
4571
|
type: Inject,
|
|
4516
4572
|
args: [LOCALE_ID]
|
|
@@ -4564,11 +4620,15 @@ class I18nPluralPipe {
|
|
|
4564
4620
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4565
4621
|
}
|
|
4566
4622
|
}
|
|
4567
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4568
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4623
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4624
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
|
|
4625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4570
4626
|
type: Pipe,
|
|
4571
|
-
args: [{
|
|
4627
|
+
args: [{
|
|
4628
|
+
name: 'i18nPlural',
|
|
4629
|
+
pure: true,
|
|
4630
|
+
standalone: true,
|
|
4631
|
+
}]
|
|
4572
4632
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; } });
|
|
4573
4633
|
|
|
4574
4634
|
/**
|
|
@@ -4616,11 +4676,15 @@ class I18nSelectPipe {
|
|
|
4616
4676
|
return '';
|
|
4617
4677
|
}
|
|
4618
4678
|
}
|
|
4619
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4620
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4679
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4680
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
|
|
4681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4622
4682
|
type: Pipe,
|
|
4623
|
-
args: [{
|
|
4683
|
+
args: [{
|
|
4684
|
+
name: 'i18nSelect',
|
|
4685
|
+
pure: true,
|
|
4686
|
+
standalone: true,
|
|
4687
|
+
}]
|
|
4624
4688
|
}] });
|
|
4625
4689
|
|
|
4626
4690
|
/**
|
|
@@ -4653,11 +4717,15 @@ class JsonPipe {
|
|
|
4653
4717
|
return JSON.stringify(value, null, 2);
|
|
4654
4718
|
}
|
|
4655
4719
|
}
|
|
4656
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4657
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4720
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4721
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
|
|
4722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4659
4723
|
type: Pipe,
|
|
4660
|
-
args: [{
|
|
4724
|
+
args: [{
|
|
4725
|
+
name: 'json',
|
|
4726
|
+
pure: false,
|
|
4727
|
+
standalone: true,
|
|
4728
|
+
}]
|
|
4661
4729
|
}] });
|
|
4662
4730
|
|
|
4663
4731
|
/**
|
|
@@ -4719,11 +4787,15 @@ class KeyValuePipe {
|
|
|
4719
4787
|
return this.keyValues;
|
|
4720
4788
|
}
|
|
4721
4789
|
}
|
|
4722
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4723
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4790
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4791
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
|
|
4792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4725
4793
|
type: Pipe,
|
|
4726
|
-
args: [{
|
|
4794
|
+
args: [{
|
|
4795
|
+
name: 'keyvalue',
|
|
4796
|
+
pure: false,
|
|
4797
|
+
standalone: true,
|
|
4798
|
+
}]
|
|
4727
4799
|
}], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
|
|
4728
4800
|
function defaultComparator(keyValueA, keyValueB) {
|
|
4729
4801
|
const a = keyValueA.key;
|
|
@@ -4850,11 +4922,14 @@ class DecimalPipe {
|
|
|
4850
4922
|
}
|
|
4851
4923
|
}
|
|
4852
4924
|
}
|
|
4853
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4854
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4925
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4926
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
|
|
4927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4856
4928
|
type: Pipe,
|
|
4857
|
-
args: [{
|
|
4929
|
+
args: [{
|
|
4930
|
+
name: 'number',
|
|
4931
|
+
standalone: true,
|
|
4932
|
+
}]
|
|
4858
4933
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4859
4934
|
type: Inject,
|
|
4860
4935
|
args: [LOCALE_ID]
|
|
@@ -4912,11 +4987,14 @@ class PercentPipe {
|
|
|
4912
4987
|
}
|
|
4913
4988
|
}
|
|
4914
4989
|
}
|
|
4915
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
4916
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
4917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
4990
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4991
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
|
|
4992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4918
4993
|
type: Pipe,
|
|
4919
|
-
args: [{
|
|
4994
|
+
args: [{
|
|
4995
|
+
name: 'percent',
|
|
4996
|
+
standalone: true,
|
|
4997
|
+
}]
|
|
4920
4998
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4921
4999
|
type: Inject,
|
|
4922
5000
|
args: [LOCALE_ID]
|
|
@@ -5027,11 +5105,14 @@ class CurrencyPipe {
|
|
|
5027
5105
|
}
|
|
5028
5106
|
}
|
|
5029
5107
|
}
|
|
5030
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
5031
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
5032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
5108
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5109
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
|
|
5110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
5033
5111
|
type: Pipe,
|
|
5034
|
-
args: [{
|
|
5112
|
+
args: [{
|
|
5113
|
+
name: 'currency',
|
|
5114
|
+
standalone: true,
|
|
5115
|
+
}]
|
|
5035
5116
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
5036
5117
|
type: Inject,
|
|
5037
5118
|
args: [LOCALE_ID]
|
|
@@ -5111,11 +5192,15 @@ class SlicePipe {
|
|
|
5111
5192
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5112
5193
|
}
|
|
5113
5194
|
}
|
|
5114
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
5115
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-
|
|
5116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
5195
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5196
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.0-rc.0", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
|
|
5197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5117
5198
|
type: Pipe,
|
|
5118
|
-
args: [{
|
|
5199
|
+
args: [{
|
|
5200
|
+
name: 'slice',
|
|
5201
|
+
pure: false,
|
|
5202
|
+
standalone: true,
|
|
5203
|
+
}]
|
|
5119
5204
|
}] });
|
|
5120
5205
|
|
|
5121
5206
|
/**
|
|
@@ -5159,22 +5244,17 @@ const COMMON_PIPES = [
|
|
|
5159
5244
|
* Re-exported by `BrowserModule`, which is included automatically in the root
|
|
5160
5245
|
* `AppModule` when you create a new app with the CLI `new` command.
|
|
5161
5246
|
*
|
|
5162
|
-
* * The `providers` options configure the NgModule's injector to provide
|
|
5163
|
-
* localization dependencies to members.
|
|
5164
|
-
* * The `exports` options make the declared directives and pipes available for import
|
|
5165
|
-
* by other NgModules.
|
|
5166
|
-
*
|
|
5167
5247
|
* @publicApi
|
|
5168
5248
|
*/
|
|
5169
5249
|
class CommonModule {
|
|
5170
5250
|
}
|
|
5171
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-
|
|
5172
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-
|
|
5173
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-
|
|
5174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-
|
|
5251
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5252
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-rc.0", 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] });
|
|
5253
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: CommonModule });
|
|
5254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-rc.0", ngImport: i0, type: CommonModule, decorators: [{
|
|
5175
5255
|
type: NgModule,
|
|
5176
5256
|
args: [{
|
|
5177
|
-
|
|
5257
|
+
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5178
5258
|
exports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5179
5259
|
}]
|
|
5180
5260
|
}] });
|
|
@@ -5229,7 +5309,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5229
5309
|
/**
|
|
5230
5310
|
* @publicApi
|
|
5231
5311
|
*/
|
|
5232
|
-
const VERSION = new Version('14.1.0-
|
|
5312
|
+
const VERSION = new Version('14.1.0-rc.0');
|
|
5233
5313
|
|
|
5234
5314
|
/**
|
|
5235
5315
|
* @license
|