@angular/common 14.0.0-next.2 → 14.0.0-next.5
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 +18 -4
- package/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +24 -27
- package/esm2020/http/src/module.mjs +15 -15
- package/esm2020/http/src/xhr.mjs +3 -3
- 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 +5 -11
- package/esm2020/src/directives/ng_class.mjs +3 -3
- package/esm2020/src/directives/ng_component_outlet.mjs +6 -4
- package/esm2020/src/directives/ng_for_of.mjs +5 -4
- 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 +11 -10
- package/esm2020/src/directives/ng_template_outlet.mjs +17 -8
- package/esm2020/src/i18n/localization.mjs +14 -4
- package/esm2020/src/location/hash_location_strategy.mjs +5 -4
- package/esm2020/src/location/location.mjs +20 -4
- package/esm2020/src/location/location_strategy.mjs +8 -7
- 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 +3 -3
- 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 +9 -9
- package/esm2020/src/pipes/slice_pipe.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +18 -4
- 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_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +146 -108
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +54 -57
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +26 -10
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +144 -108
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +54 -57
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +24 -10
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +5 -5
- package/http/http.d.ts +2 -1
- package/http/testing/testing.d.ts +1 -1
- package/package.json +2 -2
- package/testing/testing.d.ts +3 -2
- package/upgrade/upgrade.d.ts +1 -1
package/fesm2020/common.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
2
|
+
* @license Angular v14.0.0-next.5
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -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.0.0-next.
|
|
91
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
90
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
91
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", 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.0.0-next.
|
|
194
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
193
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", 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.5", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", 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.0.0-next.
|
|
315
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
314
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
315
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
317
317
|
type: Injectable,
|
|
318
318
|
args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
|
|
319
319
|
}] });
|
|
@@ -390,6 +390,7 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
390
390
|
}
|
|
391
391
|
this._baseHref = href;
|
|
392
392
|
}
|
|
393
|
+
/** @nodoc */
|
|
393
394
|
ngOnDestroy() {
|
|
394
395
|
while (this._removeListenerFns.length) {
|
|
395
396
|
this._removeListenerFns.pop()();
|
|
@@ -427,9 +428,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
427
428
|
this._platformLocation.historyGo?.(relativePosition);
|
|
428
429
|
}
|
|
429
430
|
}
|
|
430
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
431
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
431
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
432
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PathLocationStrategy });
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
433
434
|
type: Injectable
|
|
434
435
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
435
436
|
type: Optional
|
|
@@ -473,6 +474,7 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
473
474
|
this._baseHref = _baseHref;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
477
|
+
/** @nodoc */
|
|
476
478
|
ngOnDestroy() {
|
|
477
479
|
while (this._removeListenerFns.length) {
|
|
478
480
|
this._removeListenerFns.pop()();
|
|
@@ -520,9 +522,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
520
522
|
this._platformLocation.historyGo?.(relativePosition);
|
|
521
523
|
}
|
|
522
524
|
}
|
|
523
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
524
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
525
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
526
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HashLocationStrategy });
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
526
528
|
type: Injectable
|
|
527
529
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
528
530
|
type: Optional
|
|
@@ -572,6 +574,8 @@ class Location {
|
|
|
572
574
|
this._subject = new EventEmitter();
|
|
573
575
|
/** @internal */
|
|
574
576
|
this._urlChangeListeners = [];
|
|
577
|
+
/** @internal */
|
|
578
|
+
this._urlChangeSubscription = null;
|
|
575
579
|
this._platformStrategy = platformStrategy;
|
|
576
580
|
const browserBaseHref = this._platformStrategy.getBaseHref();
|
|
577
581
|
this._platformLocation = platformLocation;
|
|
@@ -585,6 +589,11 @@ class Location {
|
|
|
585
589
|
});
|
|
586
590
|
});
|
|
587
591
|
}
|
|
592
|
+
/** @nodoc */
|
|
593
|
+
ngOnDestroy() {
|
|
594
|
+
this._urlChangeSubscription?.unsubscribe();
|
|
595
|
+
this._urlChangeListeners = [];
|
|
596
|
+
}
|
|
588
597
|
/**
|
|
589
598
|
* Normalizes the URL path for this location.
|
|
590
599
|
*
|
|
@@ -700,6 +709,7 @@ class Location {
|
|
|
700
709
|
* framework that are not detectible through "popstate" or "hashchange" events.
|
|
701
710
|
*
|
|
702
711
|
* @param fn The change handler function, which take a URL and a location history state.
|
|
712
|
+
* @returns A function that, when executed, unregisters a URL change listener.
|
|
703
713
|
*/
|
|
704
714
|
onUrlChange(fn) {
|
|
705
715
|
this._urlChangeListeners.push(fn);
|
|
@@ -708,6 +718,14 @@ class Location {
|
|
|
708
718
|
this._notifyUrlChangeListeners(v.url, v.state);
|
|
709
719
|
});
|
|
710
720
|
}
|
|
721
|
+
return () => {
|
|
722
|
+
const fnIndex = this._urlChangeListeners.indexOf(fn);
|
|
723
|
+
this._urlChangeListeners.splice(fnIndex, 1);
|
|
724
|
+
if (this._urlChangeListeners.length === 0) {
|
|
725
|
+
this._urlChangeSubscription?.unsubscribe();
|
|
726
|
+
this._urlChangeSubscription = null;
|
|
727
|
+
}
|
|
728
|
+
};
|
|
711
729
|
}
|
|
712
730
|
/** @internal */
|
|
713
731
|
_notifyUrlChangeListeners(url = '', state) {
|
|
@@ -758,9 +776,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
758
776
|
* @returns The URL string, modified if needed.
|
|
759
777
|
*/
|
|
760
778
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
761
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
762
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
779
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }, { token: PlatformLocation }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
780
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: Location, decorators: [{
|
|
764
782
|
type: Injectable,
|
|
765
783
|
args: [{
|
|
766
784
|
providedIn: 'root',
|
|
@@ -2576,6 +2594,16 @@ function parseIntAutoRadix(text) {
|
|
|
2576
2594
|
*/
|
|
2577
2595
|
class NgLocalization {
|
|
2578
2596
|
}
|
|
2597
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2598
|
+
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
2599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2600
|
+
type: Injectable,
|
|
2601
|
+
args: [{
|
|
2602
|
+
providedIn: 'root',
|
|
2603
|
+
useFactory: (locale) => new NgLocaleLocalization(locale),
|
|
2604
|
+
deps: [LOCALE_ID],
|
|
2605
|
+
}]
|
|
2606
|
+
}] });
|
|
2579
2607
|
/**
|
|
2580
2608
|
* Returns the plural category for a given value.
|
|
2581
2609
|
* - "=value" when the case exists,
|
|
@@ -2623,9 +2651,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2623
2651
|
}
|
|
2624
2652
|
}
|
|
2625
2653
|
}
|
|
2626
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2627
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2654
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2655
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgLocaleLocalization });
|
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2629
2657
|
type: Injectable
|
|
2630
2658
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2631
2659
|
type: Inject,
|
|
@@ -2818,9 +2846,9 @@ class NgClass {
|
|
|
2818
2846
|
}
|
|
2819
2847
|
}
|
|
2820
2848
|
}
|
|
2821
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2822
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2849
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2850
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgClass, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgClass, decorators: [{
|
|
2824
2852
|
type: Directive,
|
|
2825
2853
|
args: [{ selector: '[ngClass]' }]
|
|
2826
2854
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
|
|
@@ -2901,6 +2929,7 @@ class NgComponentOutlet {
|
|
|
2901
2929
|
constructor(_viewContainerRef) {
|
|
2902
2930
|
this._viewContainerRef = _viewContainerRef;
|
|
2903
2931
|
}
|
|
2932
|
+
/** @nodoc */
|
|
2904
2933
|
ngOnChanges(changes) {
|
|
2905
2934
|
const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;
|
|
2906
2935
|
viewContainerRef.clear();
|
|
@@ -2928,14 +2957,15 @@ class NgComponentOutlet {
|
|
|
2928
2957
|
});
|
|
2929
2958
|
}
|
|
2930
2959
|
}
|
|
2960
|
+
/** @nodoc */
|
|
2931
2961
|
ngOnDestroy() {
|
|
2932
2962
|
if (this._moduleRef)
|
|
2933
2963
|
this._moduleRef.destroy();
|
|
2934
2964
|
}
|
|
2935
2965
|
}
|
|
2936
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2937
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2966
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2967
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2939
2969
|
type: Directive,
|
|
2940
2970
|
args: [{ selector: '[ngComponentOutlet]' }]
|
|
2941
2971
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
|
|
@@ -3145,6 +3175,7 @@ class NgForOf {
|
|
|
3145
3175
|
}
|
|
3146
3176
|
/**
|
|
3147
3177
|
* Applies the changes when needed.
|
|
3178
|
+
* @nodoc
|
|
3148
3179
|
*/
|
|
3149
3180
|
ngDoCheck() {
|
|
3150
3181
|
if (this._ngForOfDirty) {
|
|
@@ -3215,9 +3246,9 @@ class NgForOf {
|
|
|
3215
3246
|
return true;
|
|
3216
3247
|
}
|
|
3217
3248
|
}
|
|
3218
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3219
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3249
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3250
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgForOf, decorators: [{
|
|
3221
3252
|
type: Directive,
|
|
3222
3253
|
args: [{ selector: '[ngFor][ngForOf]' }]
|
|
3223
3254
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
|
|
@@ -3447,9 +3478,9 @@ class NgIf {
|
|
|
3447
3478
|
return true;
|
|
3448
3479
|
}
|
|
3449
3480
|
}
|
|
3450
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3451
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3481
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3482
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgIf, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgIf, decorators: [{
|
|
3453
3484
|
type: Directive,
|
|
3454
3485
|
args: [{ selector: '[ngIf]' }]
|
|
3455
3486
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
|
|
@@ -3617,9 +3648,9 @@ class NgSwitch {
|
|
|
3617
3648
|
}
|
|
3618
3649
|
}
|
|
3619
3650
|
}
|
|
3620
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3621
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3651
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3652
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3623
3654
|
type: Directive,
|
|
3624
3655
|
args: [{ selector: '[ngSwitch]' }]
|
|
3625
3656
|
}], propDecorators: { ngSwitch: [{
|
|
@@ -3669,14 +3700,15 @@ class NgSwitchCase {
|
|
|
3669
3700
|
}
|
|
3670
3701
|
/**
|
|
3671
3702
|
* Performs case matching. For internal use only.
|
|
3703
|
+
* @nodoc
|
|
3672
3704
|
*/
|
|
3673
3705
|
ngDoCheck() {
|
|
3674
3706
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3675
3707
|
}
|
|
3676
3708
|
}
|
|
3677
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3678
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3709
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3710
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3680
3712
|
type: Directive,
|
|
3681
3713
|
args: [{ selector: '[ngSwitchCase]' }]
|
|
3682
3714
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
@@ -3708,9 +3740,9 @@ class NgSwitchDefault {
|
|
|
3708
3740
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3709
3741
|
}
|
|
3710
3742
|
}
|
|
3711
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3712
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3743
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3744
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3714
3746
|
type: Directive,
|
|
3715
3747
|
args: [{ selector: '[ngSwitchDefault]' }]
|
|
3716
3748
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
|
|
@@ -3791,9 +3823,9 @@ class NgPlural {
|
|
|
3791
3823
|
}
|
|
3792
3824
|
}
|
|
3793
3825
|
}
|
|
3794
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3795
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3826
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3827
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgPlural, decorators: [{
|
|
3797
3829
|
type: Directive,
|
|
3798
3830
|
args: [{ selector: '[ngPlural]' }]
|
|
3799
3831
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
|
|
@@ -3826,9 +3858,9 @@ class NgPluralCase {
|
|
|
3826
3858
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3827
3859
|
}
|
|
3828
3860
|
}
|
|
3829
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3830
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3861
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3862
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3832
3864
|
type: Directive,
|
|
3833
3865
|
args: [{ selector: '[ngPluralCase]' }]
|
|
3834
3866
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -3919,9 +3951,9 @@ class NgStyle {
|
|
|
3919
3951
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3920
3952
|
}
|
|
3921
3953
|
}
|
|
3922
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3923
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3954
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3955
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgStyle, decorators: [{
|
|
3925
3957
|
type: Directive,
|
|
3926
3958
|
args: [{ selector: '[ngStyle]' }]
|
|
3927
3959
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
|
|
@@ -3975,31 +4007,40 @@ class NgTemplateOutlet {
|
|
|
3975
4007
|
* A string defining the template reference and optionally the context object for the template.
|
|
3976
4008
|
*/
|
|
3977
4009
|
this.ngTemplateOutlet = null;
|
|
4010
|
+
/** Injector to be used within the embedded view. */
|
|
4011
|
+
this.ngTemplateOutletInjector = null;
|
|
3978
4012
|
}
|
|
4013
|
+
/** @nodoc */
|
|
3979
4014
|
ngOnChanges(changes) {
|
|
3980
|
-
if (changes['ngTemplateOutlet']) {
|
|
4015
|
+
if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
|
|
3981
4016
|
const viewContainerRef = this._viewContainerRef;
|
|
3982
4017
|
if (this._viewRef) {
|
|
3983
4018
|
viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
|
|
3984
4019
|
}
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
4020
|
+
if (this.ngTemplateOutlet) {
|
|
4021
|
+
const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector } = this;
|
|
4022
|
+
this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);
|
|
4023
|
+
}
|
|
4024
|
+
else {
|
|
4025
|
+
this._viewRef = null;
|
|
4026
|
+
}
|
|
3988
4027
|
}
|
|
3989
4028
|
else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
|
|
3990
4029
|
this._viewRef.context = this.ngTemplateOutletContext;
|
|
3991
4030
|
}
|
|
3992
4031
|
}
|
|
3993
4032
|
}
|
|
3994
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3995
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
3996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4033
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4034
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
4035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3997
4036
|
type: Directive,
|
|
3998
4037
|
args: [{ selector: '[ngTemplateOutlet]' }]
|
|
3999
4038
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
|
|
4000
4039
|
type: Input
|
|
4001
4040
|
}], ngTemplateOutlet: [{
|
|
4002
4041
|
type: Input
|
|
4042
|
+
}], ngTemplateOutletInjector: [{
|
|
4043
|
+
type: Input
|
|
4003
4044
|
}] } });
|
|
4004
4045
|
|
|
4005
4046
|
/**
|
|
@@ -4156,9 +4197,9 @@ class AsyncPipe {
|
|
|
4156
4197
|
}
|
|
4157
4198
|
}
|
|
4158
4199
|
}
|
|
4159
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4160
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4200
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4201
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
|
|
4202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4162
4203
|
type: Pipe,
|
|
4163
4204
|
args: [{ name: 'async', pure: false }]
|
|
4164
4205
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
@@ -4195,9 +4236,9 @@ class LowerCasePipe {
|
|
|
4195
4236
|
return value.toLowerCase();
|
|
4196
4237
|
}
|
|
4197
4238
|
}
|
|
4198
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4199
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4239
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4240
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
|
|
4241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4201
4242
|
type: Pipe,
|
|
4202
4243
|
args: [{ name: 'lowercase' }]
|
|
4203
4244
|
}] });
|
|
@@ -4237,9 +4278,9 @@ class TitleCasePipe {
|
|
|
4237
4278
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase()));
|
|
4238
4279
|
}
|
|
4239
4280
|
}
|
|
4240
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4241
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4281
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4282
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
|
|
4283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4243
4284
|
type: Pipe,
|
|
4244
4285
|
args: [{ name: 'titlecase' }]
|
|
4245
4286
|
}] });
|
|
@@ -4261,9 +4302,9 @@ class UpperCasePipe {
|
|
|
4261
4302
|
return value.toUpperCase();
|
|
4262
4303
|
}
|
|
4263
4304
|
}
|
|
4264
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4265
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4305
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4306
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
|
|
4307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4267
4308
|
type: Pipe,
|
|
4268
4309
|
args: [{ name: 'uppercase' }]
|
|
4269
4310
|
}] });
|
|
@@ -4455,9 +4496,9 @@ class DatePipe {
|
|
|
4455
4496
|
}
|
|
4456
4497
|
}
|
|
4457
4498
|
}
|
|
4458
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4459
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4499
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4500
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DatePipe, name: "date" });
|
|
4501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DatePipe, decorators: [{
|
|
4461
4502
|
type: Pipe,
|
|
4462
4503
|
args: [{ name: 'date', pure: true }]
|
|
4463
4504
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4513,9 +4554,9 @@ class I18nPluralPipe {
|
|
|
4513
4554
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4514
4555
|
}
|
|
4515
4556
|
}
|
|
4516
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4517
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4557
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4558
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
|
|
4559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4519
4560
|
type: Pipe,
|
|
4520
4561
|
args: [{ name: 'i18nPlural', pure: true }]
|
|
4521
4562
|
}], ctorParameters: function () { return [{ type: NgLocalization }]; } });
|
|
@@ -4565,9 +4606,9 @@ class I18nSelectPipe {
|
|
|
4565
4606
|
return '';
|
|
4566
4607
|
}
|
|
4567
4608
|
}
|
|
4568
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4569
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4609
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4610
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
|
|
4611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4571
4612
|
type: Pipe,
|
|
4572
4613
|
args: [{ name: 'i18nSelect', pure: true }]
|
|
4573
4614
|
}] });
|
|
@@ -4602,9 +4643,9 @@ class JsonPipe {
|
|
|
4602
4643
|
return JSON.stringify(value, null, 2);
|
|
4603
4644
|
}
|
|
4604
4645
|
}
|
|
4605
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4606
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4646
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4647
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonPipe, name: "json", pure: false });
|
|
4648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4608
4649
|
type: Pipe,
|
|
4609
4650
|
args: [{ name: 'json', pure: false }]
|
|
4610
4651
|
}] });
|
|
@@ -4668,9 +4709,9 @@ class KeyValuePipe {
|
|
|
4668
4709
|
return this.keyValues;
|
|
4669
4710
|
}
|
|
4670
4711
|
}
|
|
4671
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4672
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4712
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4713
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
|
|
4714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4674
4715
|
type: Pipe,
|
|
4675
4716
|
args: [{ name: 'keyvalue', pure: false }]
|
|
4676
4717
|
}], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
|
|
@@ -4799,9 +4840,9 @@ class DecimalPipe {
|
|
|
4799
4840
|
}
|
|
4800
4841
|
}
|
|
4801
4842
|
}
|
|
4802
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4803
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4843
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4844
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DecimalPipe, name: "number" });
|
|
4845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4805
4846
|
type: Pipe,
|
|
4806
4847
|
args: [{ name: 'number' }]
|
|
4807
4848
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4861,9 +4902,9 @@ class PercentPipe {
|
|
|
4861
4902
|
}
|
|
4862
4903
|
}
|
|
4863
4904
|
}
|
|
4864
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4865
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4905
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4906
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PercentPipe, name: "percent" });
|
|
4907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4867
4908
|
type: Pipe,
|
|
4868
4909
|
args: [{ name: 'percent' }]
|
|
4869
4910
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -4976,9 +5017,9 @@ class CurrencyPipe {
|
|
|
4976
5017
|
}
|
|
4977
5018
|
}
|
|
4978
5019
|
}
|
|
4979
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4980
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
4981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5020
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5021
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CurrencyPipe, name: "currency" });
|
|
5022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4982
5023
|
type: Pipe,
|
|
4983
5024
|
args: [{ name: 'currency' }]
|
|
4984
5025
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -5060,9 +5101,9 @@ class SlicePipe {
|
|
|
5060
5101
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5061
5102
|
}
|
|
5062
5103
|
}
|
|
5063
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5064
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5104
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5105
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
|
|
5106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5066
5107
|
type: Pipe,
|
|
5067
5108
|
args: [{ name: 'slice', pure: false }]
|
|
5068
5109
|
}] });
|
|
@@ -5117,19 +5158,14 @@ const COMMON_PIPES = [
|
|
|
5117
5158
|
*/
|
|
5118
5159
|
class CommonModule {
|
|
5119
5160
|
}
|
|
5120
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5121
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5122
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
5123
|
-
|
|
5124
|
-
] });
|
|
5125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.2", ngImport: i0, type: CommonModule, decorators: [{
|
|
5161
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5162
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", 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] });
|
|
5163
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CommonModule });
|
|
5164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CommonModule, decorators: [{
|
|
5126
5165
|
type: NgModule,
|
|
5127
5166
|
args: [{
|
|
5128
5167
|
declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5129
5168
|
exports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
5130
|
-
providers: [
|
|
5131
|
-
{ provide: NgLocalization, useClass: NgLocaleLocalization },
|
|
5132
|
-
],
|
|
5133
5169
|
}]
|
|
5134
5170
|
}] });
|
|
5135
5171
|
|
|
@@ -5183,7 +5219,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5183
5219
|
/**
|
|
5184
5220
|
* @publicApi
|
|
5185
5221
|
*/
|
|
5186
|
-
const VERSION = new Version('14.0.0-next.
|
|
5222
|
+
const VERSION = new Version('14.0.0-next.5');
|
|
5187
5223
|
|
|
5188
5224
|
/**
|
|
5189
5225
|
* @license
|