@angular/common 13.2.0 → 14.0.0-next.2
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/common.d.ts +16 -8
- package/esm2020/http/src/client.mjs +3 -3
- 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 -7
- package/esm2020/http/src/xsrf.mjs +6 -6
- package/esm2020/http/testing/src/backend.mjs +11 -17
- package/esm2020/http/testing/src/module.mjs +4 -4
- package/esm2020/src/common_module.mjs +4 -4
- package/esm2020/src/directives/ng_class.mjs +3 -3
- package/esm2020/src/directives/ng_component_outlet.mjs +36 -22
- package/esm2020/src/directives/ng_for_of.mjs +3 -3
- package/esm2020/src/directives/ng_if.mjs +3 -3
- package/esm2020/src/directives/ng_plural.mjs +6 -6
- package/esm2020/src/directives/ng_style.mjs +3 -3
- package/esm2020/src/directives/ng_switch.mjs +9 -9
- package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2020/src/i18n/format_date.mjs +5 -5
- package/esm2020/src/i18n/localization.mjs +3 -3
- 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 +3 -3
- package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
- package/esm2020/src/pipes/date_pipe.mjs +4 -4
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2020/src/pipes/json_pipe.mjs +3 -3
- package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2020/src/pipes/number_pipe.mjs +10 -10
- package/esm2020/src/pipes/slice_pipe.mjs +3 -3
- 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 +1 -1
- package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +135 -121
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +15 -21
- package/fesm2015/http/testing.mjs.map +1 -1
- package/fesm2015/http.mjs +38 -40
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2015/upgrade.mjs.map +1 -1
- package/fesm2020/common.mjs +135 -121
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +15 -21
- package/fesm2020/http/testing.mjs.map +1 -1
- package/fesm2020/http.mjs +38 -40
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +5 -5
- package/fesm2020/upgrade.mjs.map +1 -1
- package/http/http.d.ts +1 -1
- package/http/testing/testing.d.ts +1 -1
- package/package.json +2 -2
- package/testing/testing.d.ts +1 -1
- package/upgrade/upgrade.d.ts +1 -1
package/fesm2020/common.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular
|
|
2
|
+
* @license Angular v14.0.0-next.2
|
|
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, createNgModuleRef, NgModuleRef, Host, ɵRuntimeError, Attribute, ɵ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: "
|
|
91
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
90
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", 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: "
|
|
194
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
193
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
194
|
+
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", 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: "
|
|
315
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
314
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
315
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
317
317
|
type: Injectable,
|
|
318
318
|
args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
|
|
319
319
|
}] });
|
|
@@ -427,9 +427,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
427
427
|
this._platformLocation.historyGo?.(relativePosition);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
431
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
430
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
431
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PathLocationStrategy });
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
433
433
|
type: Injectable
|
|
434
434
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
435
435
|
type: Optional
|
|
@@ -520,9 +520,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
520
520
|
this._platformLocation.historyGo?.(relativePosition);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
524
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
523
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
524
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: HashLocationStrategy });
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
526
526
|
type: Injectable
|
|
527
527
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
528
528
|
type: Optional
|
|
@@ -758,9 +758,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
758
758
|
* @returns The URL string, modified if needed.
|
|
759
759
|
*/
|
|
760
760
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
761
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
762
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
761
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }, { token: PlatformLocation }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
762
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: Location, decorators: [{
|
|
764
764
|
type: Injectable,
|
|
765
765
|
args: [{
|
|
766
766
|
providedIn: 'root',
|
|
@@ -1432,7 +1432,7 @@ function getNumberOfCurrencyDigits(code) {
|
|
|
1432
1432
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1433
1433
|
* found in the LICENSE file at https://angular.io/license
|
|
1434
1434
|
*/
|
|
1435
|
-
const ISO8601_DATE_REGEX = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
|
|
1435
|
+
const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
|
|
1436
1436
|
// 1 2 3 4 5 6 7 8 9 10 11
|
|
1437
1437
|
const NAMED_FORMATS = {};
|
|
1438
1438
|
const DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;
|
|
@@ -1511,9 +1511,9 @@ function formatDate(value, format, locale, timezone) {
|
|
|
1511
1511
|
let text = '';
|
|
1512
1512
|
parts.forEach(value => {
|
|
1513
1513
|
const dateFormatter = getDateFormatter(value);
|
|
1514
|
-
text += dateFormatter ?
|
|
1515
|
-
|
|
1516
|
-
|
|
1514
|
+
text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :
|
|
1515
|
+
value === '\'\'' ? '\'' :
|
|
1516
|
+
value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
|
|
1517
1517
|
});
|
|
1518
1518
|
return text;
|
|
1519
1519
|
}
|
|
@@ -2623,9 +2623,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
}
|
|
2626
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2627
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2626
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2627
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgLocaleLocalization });
|
|
2628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2629
2629
|
type: Injectable
|
|
2630
2630
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2631
2631
|
type: Inject,
|
|
@@ -2818,9 +2818,9 @@ class NgClass {
|
|
|
2818
2818
|
}
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
2821
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2822
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2821
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2822
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgClass, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgClass, decorators: [{
|
|
2824
2824
|
type: Directive,
|
|
2825
2825
|
args: [{ selector: '[ngClass]' }]
|
|
2826
2826
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
|
|
@@ -2857,9 +2857,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2857
2857
|
* * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
|
|
2858
2858
|
* section of the component, if it exists.
|
|
2859
2859
|
*
|
|
2860
|
-
* * `
|
|
2860
|
+
* * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
|
|
2861
2861
|
* module dynamically, then loading a component from that module.
|
|
2862
2862
|
*
|
|
2863
|
+
* * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
|
|
2864
|
+
* NgModule factory to allow loading another module dynamically, then loading a component from that
|
|
2865
|
+
* module. Use `ngComponentOutletNgModule` instead.
|
|
2866
|
+
*
|
|
2863
2867
|
* ### Syntax
|
|
2864
2868
|
*
|
|
2865
2869
|
* Simple
|
|
@@ -2875,10 +2879,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2875
2879
|
* </ng-container>
|
|
2876
2880
|
* ```
|
|
2877
2881
|
*
|
|
2878
|
-
* Customized
|
|
2882
|
+
* Customized NgModule reference
|
|
2879
2883
|
* ```
|
|
2880
2884
|
* <ng-container *ngComponentOutlet="componentTypeExpression;
|
|
2881
|
-
*
|
|
2885
|
+
* ngModule: ngModuleClass;">
|
|
2882
2886
|
* </ng-container>
|
|
2883
2887
|
* ```
|
|
2884
2888
|
*
|
|
@@ -2896,29 +2900,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2896
2900
|
class NgComponentOutlet {
|
|
2897
2901
|
constructor(_viewContainerRef) {
|
|
2898
2902
|
this._viewContainerRef = _viewContainerRef;
|
|
2899
|
-
this._componentRef = null;
|
|
2900
|
-
this._moduleRef = null;
|
|
2901
2903
|
}
|
|
2902
2904
|
ngOnChanges(changes) {
|
|
2903
|
-
this
|
|
2904
|
-
|
|
2905
|
+
const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;
|
|
2906
|
+
viewContainerRef.clear();
|
|
2907
|
+
this._componentRef = undefined;
|
|
2905
2908
|
if (this.ngComponentOutlet) {
|
|
2906
|
-
const
|
|
2907
|
-
if (changes['ngComponentOutletNgModuleFactory']) {
|
|
2909
|
+
const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
|
|
2910
|
+
if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
|
|
2908
2911
|
if (this._moduleRef)
|
|
2909
2912
|
this._moduleRef.destroy();
|
|
2910
|
-
if (
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
+
if (ngModule) {
|
|
2914
|
+
this._moduleRef = createNgModuleRef(ngModule, getParentInjector(injector));
|
|
2915
|
+
}
|
|
2916
|
+
else if (ngModuleFactory) {
|
|
2917
|
+
this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
|
|
2913
2918
|
}
|
|
2914
2919
|
else {
|
|
2915
|
-
this._moduleRef =
|
|
2920
|
+
this._moduleRef = undefined;
|
|
2916
2921
|
}
|
|
2917
2922
|
}
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2923
|
+
this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
|
|
2924
|
+
index: viewContainerRef.length,
|
|
2925
|
+
injector,
|
|
2926
|
+
ngModuleRef: this._moduleRef,
|
|
2927
|
+
projectableNodes: this.ngComponentOutletContent,
|
|
2928
|
+
});
|
|
2922
2929
|
}
|
|
2923
2930
|
}
|
|
2924
2931
|
ngOnDestroy() {
|
|
@@ -2926,9 +2933,9 @@ class NgComponentOutlet {
|
|
|
2926
2933
|
this._moduleRef.destroy();
|
|
2927
2934
|
}
|
|
2928
2935
|
}
|
|
2929
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2930
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2936
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2937
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2932
2939
|
type: Directive,
|
|
2933
2940
|
args: [{ selector: '[ngComponentOutlet]' }]
|
|
2934
2941
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
|
|
@@ -2937,9 +2944,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2937
2944
|
type: Input
|
|
2938
2945
|
}], ngComponentOutletContent: [{
|
|
2939
2946
|
type: Input
|
|
2947
|
+
}], ngComponentOutletNgModule: [{
|
|
2948
|
+
type: Input
|
|
2940
2949
|
}], ngComponentOutletNgModuleFactory: [{
|
|
2941
2950
|
type: Input
|
|
2942
2951
|
}] } });
|
|
2952
|
+
// Helper function that returns an Injector instance of a parent NgModule.
|
|
2953
|
+
function getParentInjector(injector) {
|
|
2954
|
+
const parentNgModule = injector.get(NgModuleRef);
|
|
2955
|
+
return parentNgModule.injector;
|
|
2956
|
+
}
|
|
2943
2957
|
|
|
2944
2958
|
/**
|
|
2945
2959
|
* @license
|
|
@@ -3201,9 +3215,9 @@ class NgForOf {
|
|
|
3201
3215
|
return true;
|
|
3202
3216
|
}
|
|
3203
3217
|
}
|
|
3204
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3205
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3218
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3219
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgForOf, decorators: [{
|
|
3207
3221
|
type: Directive,
|
|
3208
3222
|
args: [{ selector: '[ngFor][ngForOf]' }]
|
|
3209
3223
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
|
|
@@ -3433,9 +3447,9 @@ class NgIf {
|
|
|
3433
3447
|
return true;
|
|
3434
3448
|
}
|
|
3435
3449
|
}
|
|
3436
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3437
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3450
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3451
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgIf, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgIf, decorators: [{
|
|
3439
3453
|
type: Directive,
|
|
3440
3454
|
args: [{ selector: '[ngIf]' }]
|
|
3441
3455
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
|
|
@@ -3603,9 +3617,9 @@ class NgSwitch {
|
|
|
3603
3617
|
}
|
|
3604
3618
|
}
|
|
3605
3619
|
}
|
|
3606
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3607
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3620
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3621
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3609
3623
|
type: Directive,
|
|
3610
3624
|
args: [{ selector: '[ngSwitch]' }]
|
|
3611
3625
|
}], propDecorators: { ngSwitch: [{
|
|
@@ -3660,9 +3674,9 @@ class NgSwitchCase {
|
|
|
3660
3674
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3661
3675
|
}
|
|
3662
3676
|
}
|
|
3663
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3664
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3677
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3678
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3666
3680
|
type: Directive,
|
|
3667
3681
|
args: [{ selector: '[ngSwitchCase]' }]
|
|
3668
3682
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
@@ -3694,9 +3708,9 @@ class NgSwitchDefault {
|
|
|
3694
3708
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3695
3709
|
}
|
|
3696
3710
|
}
|
|
3697
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3698
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3711
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3712
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3700
3714
|
type: Directive,
|
|
3701
3715
|
args: [{ selector: '[ngSwitchDefault]' }]
|
|
3702
3716
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
@@ -3777,9 +3791,9 @@ class NgPlural {
|
|
|
3777
3791
|
}
|
|
3778
3792
|
}
|
|
3779
3793
|
}
|
|
3780
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3781
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3794
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3795
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgPlural, decorators: [{
|
|
3783
3797
|
type: Directive,
|
|
3784
3798
|
args: [{ selector: '[ngPlural]' }]
|
|
3785
3799
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
|
|
@@ -3812,9 +3826,9 @@ class NgPluralCase {
|
|
|
3812
3826
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3813
3827
|
}
|
|
3814
3828
|
}
|
|
3815
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3816
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3829
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3830
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3818
3832
|
type: Directive,
|
|
3819
3833
|
args: [{ selector: '[ngPluralCase]' }]
|
|
3820
3834
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -3905,9 +3919,9 @@ class NgStyle {
|
|
|
3905
3919
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3906
3920
|
}
|
|
3907
3921
|
}
|
|
3908
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3909
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3922
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3923
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgStyle, decorators: [{
|
|
3911
3925
|
type: Directive,
|
|
3912
3926
|
args: [{ selector: '[ngStyle]' }]
|
|
3913
3927
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
|
|
@@ -3977,9 +3991,9 @@ class NgTemplateOutlet {
|
|
|
3977
3991
|
}
|
|
3978
3992
|
}
|
|
3979
3993
|
}
|
|
3980
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3981
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3994
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3995
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.2", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet" }, usesOnChanges: true, ngImport: i0 });
|
|
3996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3983
3997
|
type: Directive,
|
|
3984
3998
|
args: [{ selector: '[ngTemplateOutlet]' }]
|
|
3985
3999
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
|
|
@@ -4142,9 +4156,9 @@ class AsyncPipe {
|
|
|
4142
4156
|
}
|
|
4143
4157
|
}
|
|
4144
4158
|
}
|
|
4145
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4146
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4159
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4160
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
|
|
4161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4148
4162
|
type: Pipe,
|
|
4149
4163
|
args: [{ name: 'async', pure: false }]
|
|
4150
4164
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
@@ -4181,9 +4195,9 @@ class LowerCasePipe {
|
|
|
4181
4195
|
return value.toLowerCase();
|
|
4182
4196
|
}
|
|
4183
4197
|
}
|
|
4184
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4185
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4198
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4199
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
|
|
4200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4187
4201
|
type: Pipe,
|
|
4188
4202
|
args: [{ name: 'lowercase' }]
|
|
4189
4203
|
}] });
|
|
@@ -4223,9 +4237,9 @@ class TitleCasePipe {
|
|
|
4223
4237
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase()));
|
|
4224
4238
|
}
|
|
4225
4239
|
}
|
|
4226
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4227
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4240
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4241
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
|
|
4242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4229
4243
|
type: Pipe,
|
|
4230
4244
|
args: [{ name: 'titlecase' }]
|
|
4231
4245
|
}] });
|
|
@@ -4247,9 +4261,9 @@ class UpperCasePipe {
|
|
|
4247
4261
|
return value.toUpperCase();
|
|
4248
4262
|
}
|
|
4249
4263
|
}
|
|
4250
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4251
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4264
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4265
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
|
|
4266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4253
4267
|
type: Pipe,
|
|
4254
4268
|
args: [{ name: 'uppercase' }]
|
|
4255
4269
|
}] });
|
|
@@ -4441,9 +4455,9 @@ class DatePipe {
|
|
|
4441
4455
|
}
|
|
4442
4456
|
}
|
|
4443
4457
|
}
|
|
4444
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4445
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4458
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4459
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: DatePipe, name: "date" });
|
|
4460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: DatePipe, decorators: [{
|
|
4447
4461
|
type: Pipe,
|
|
4448
4462
|
args: [{ name: 'date', pure: true }]
|
|
4449
4463
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4499,9 +4513,9 @@ class I18nPluralPipe {
|
|
|
4499
4513
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4500
4514
|
}
|
|
4501
4515
|
}
|
|
4502
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4503
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4516
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4517
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
|
|
4518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4505
4519
|
type: Pipe,
|
|
4506
4520
|
args: [{ name: 'i18nPlural', pure: true }]
|
|
4507
4521
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; } });
|
|
@@ -4551,9 +4565,9 @@ class I18nSelectPipe {
|
|
|
4551
4565
|
return '';
|
|
4552
4566
|
}
|
|
4553
4567
|
}
|
|
4554
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4555
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4568
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4569
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
|
|
4570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4557
4571
|
type: Pipe,
|
|
4558
4572
|
args: [{ name: 'i18nSelect', pure: true }]
|
|
4559
4573
|
}] });
|
|
@@ -4588,9 +4602,9 @@ class JsonPipe {
|
|
|
4588
4602
|
return JSON.stringify(value, null, 2);
|
|
4589
4603
|
}
|
|
4590
4604
|
}
|
|
4591
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4592
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4605
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4606
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: JsonPipe, name: "json", pure: false });
|
|
4607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4594
4608
|
type: Pipe,
|
|
4595
4609
|
args: [{ name: 'json', pure: false }]
|
|
4596
4610
|
}] });
|
|
@@ -4654,9 +4668,9 @@ class KeyValuePipe {
|
|
|
4654
4668
|
return this.keyValues;
|
|
4655
4669
|
}
|
|
4656
4670
|
}
|
|
4657
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4658
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4671
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4672
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
|
|
4673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4660
4674
|
type: Pipe,
|
|
4661
4675
|
args: [{ name: 'keyvalue', pure: false }]
|
|
4662
4676
|
}], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
|
|
@@ -4785,9 +4799,9 @@ class DecimalPipe {
|
|
|
4785
4799
|
}
|
|
4786
4800
|
}
|
|
4787
4801
|
}
|
|
4788
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4789
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4802
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4803
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: DecimalPipe, name: "number" });
|
|
4804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4791
4805
|
type: Pipe,
|
|
4792
4806
|
args: [{ name: 'number' }]
|
|
4793
4807
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4847,9 +4861,9 @@ class PercentPipe {
|
|
|
4847
4861
|
}
|
|
4848
4862
|
}
|
|
4849
4863
|
}
|
|
4850
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4851
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4864
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4865
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PercentPipe, name: "percent" });
|
|
4866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4853
4867
|
type: Pipe,
|
|
4854
4868
|
args: [{ name: 'percent' }]
|
|
4855
4869
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4962,9 +4976,9 @@ class CurrencyPipe {
|
|
|
4962
4976
|
}
|
|
4963
4977
|
}
|
|
4964
4978
|
}
|
|
4965
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4966
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
4967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4979
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4980
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CurrencyPipe, name: "currency" });
|
|
4981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4968
4982
|
type: Pipe,
|
|
4969
4983
|
args: [{ name: 'currency' }]
|
|
4970
4984
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -5046,9 +5060,9 @@ class SlicePipe {
|
|
|
5046
5060
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5047
5061
|
}
|
|
5048
5062
|
}
|
|
5049
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5050
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
5051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5063
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5064
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
|
|
5065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5052
5066
|
type: Pipe,
|
|
5053
5067
|
args: [{ name: 'slice', pure: false }]
|
|
5054
5068
|
}] });
|
|
@@ -5103,12 +5117,12 @@ const COMMON_PIPES = [
|
|
|
5103
5117
|
*/
|
|
5104
5118
|
class CommonModule {
|
|
5105
5119
|
}
|
|
5106
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5107
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5108
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5120
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5121
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CommonModule, declarations: [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] });
|
|
5122
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CommonModule, providers: [
|
|
5109
5123
|
{ provide: NgLocalization, useClass: NgLocaleLocalization },
|
|
5110
5124
|
] });
|
|
5111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CommonModule, decorators: [{
|
|
5112
5126
|
type: NgModule,
|
|
5113
5127
|
args: [{
|
|
5114
5128
|
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5169,7 +5183,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5169
5183
|
/**
|
|
5170
5184
|
* @publicApi
|
|
5171
5185
|
*/
|
|
5172
|
-
const VERSION = new Version('
|
|
5186
|
+
const VERSION = new Version('14.0.0-next.2');
|
|
5173
5187
|
|
|
5174
5188
|
/**
|
|
5175
5189
|
* @license
|