@angular/common 15.2.0-next.2 → 15.2.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +6 -6
- package/esm2020/http/src/module.mjs +12 -12
- 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 +4 -4
- package/esm2020/src/directives/ng_class.mjs +3 -3
- package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
- package/esm2020/src/directives/ng_for_of.mjs +3 -3
- package/esm2020/src/directives/ng_if.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/image_loaders/image_loader.mjs +1 -1
- package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +46 -8
- package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/preload-link-creator.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/errors.mjs +1 -1
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/location.mjs +3 -3
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +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 +10 -29
- 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_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +156 -137
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +34 -34
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +156 -137
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +34 -34
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +15 -21
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2015/common.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.0-next.
|
|
2
|
+
* @license Angular v15.2.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -63,9 +63,9 @@ class PlatformLocation {
|
|
|
63
63
|
throw new Error('Not implemented');
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
67
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
66
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
69
69
|
type: Injectable,
|
|
70
70
|
args: [{
|
|
71
71
|
providedIn: 'platform',
|
|
@@ -163,9 +163,9 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
163
163
|
return this._history.state;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
167
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
166
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
167
|
+
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
169
169
|
type: Injectable,
|
|
170
170
|
args: [{
|
|
171
171
|
providedIn: 'platform',
|
|
@@ -264,9 +264,9 @@ class LocationStrategy {
|
|
|
264
264
|
throw new Error('Not implemented');
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
268
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
267
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
268
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
270
270
|
type: Injectable,
|
|
271
271
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
272
272
|
}] });
|
|
@@ -375,9 +375,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
375
375
|
(_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
379
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
378
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
379
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
|
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
381
381
|
type: Injectable,
|
|
382
382
|
args: [{ providedIn: 'root' }]
|
|
383
383
|
}], ctorParameters: function () {
|
|
@@ -469,9 +469,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
469
469
|
(_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
473
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
472
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
473
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: HashLocationStrategy });
|
|
474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
475
475
|
type: Injectable
|
|
476
476
|
}], ctorParameters: function () {
|
|
477
477
|
return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -726,9 +726,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
726
726
|
* @returns The URL string, modified if needed.
|
|
727
727
|
*/
|
|
728
728
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
729
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
730
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
729
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
730
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: Location, decorators: [{
|
|
732
732
|
type: Injectable,
|
|
733
733
|
args: [{
|
|
734
734
|
providedIn: 'root',
|
|
@@ -2516,9 +2516,9 @@ function parseIntAutoRadix(text) {
|
|
|
2516
2516
|
*/
|
|
2517
2517
|
class NgLocalization {
|
|
2518
2518
|
}
|
|
2519
|
-
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2520
|
-
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2519
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2520
|
+
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
2521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2522
2522
|
type: Injectable,
|
|
2523
2523
|
args: [{
|
|
2524
2524
|
providedIn: 'root',
|
|
@@ -2573,9 +2573,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2573
2573
|
}
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2577
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2576
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2577
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocaleLocalization });
|
|
2578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2579
2579
|
type: Injectable
|
|
2580
2580
|
}], ctorParameters: function () {
|
|
2581
2581
|
return [{ type: undefined, decorators: [{
|
|
@@ -2751,9 +2751,9 @@ class NgClass {
|
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2755
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
2756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2754
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2755
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgClass, decorators: [{
|
|
2757
2757
|
type: Directive,
|
|
2758
2758
|
args: [{
|
|
2759
2759
|
selector: '[ngClass]',
|
|
@@ -2865,9 +2865,9 @@ class NgComponentOutlet {
|
|
|
2865
2865
|
this._moduleRef.destroy();
|
|
2866
2866
|
}
|
|
2867
2867
|
}
|
|
2868
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2869
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
2870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2868
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2869
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2871
2871
|
type: Directive,
|
|
2872
2872
|
args: [{
|
|
2873
2873
|
selector: '[ngComponentOutlet]',
|
|
@@ -3147,9 +3147,9 @@ class NgForOf {
|
|
|
3147
3147
|
return true;
|
|
3148
3148
|
}
|
|
3149
3149
|
}
|
|
3150
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3151
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3150
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3151
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgForOf, decorators: [{
|
|
3153
3153
|
type: Directive,
|
|
3154
3154
|
args: [{
|
|
3155
3155
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3375,9 +3375,9 @@ class NgIf {
|
|
|
3375
3375
|
return true;
|
|
3376
3376
|
}
|
|
3377
3377
|
}
|
|
3378
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3379
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3378
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3379
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgIf, decorators: [{
|
|
3381
3381
|
type: Directive,
|
|
3382
3382
|
args: [{
|
|
3383
3383
|
selector: '[ngIf]',
|
|
@@ -3538,9 +3538,9 @@ class NgSwitch {
|
|
|
3538
3538
|
}
|
|
3539
3539
|
}
|
|
3540
3540
|
}
|
|
3541
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3542
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3541
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3542
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3544
3544
|
type: Directive,
|
|
3545
3545
|
args: [{
|
|
3546
3546
|
selector: '[ngSwitch]',
|
|
@@ -3599,9 +3599,9 @@ class NgSwitchCase {
|
|
|
3599
3599
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3600
3600
|
}
|
|
3601
3601
|
}
|
|
3602
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3603
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3602
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3603
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3605
3605
|
type: Directive,
|
|
3606
3606
|
args: [{
|
|
3607
3607
|
selector: '[ngSwitchCase]',
|
|
@@ -3638,9 +3638,9 @@ class NgSwitchDefault {
|
|
|
3638
3638
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3639
3639
|
}
|
|
3640
3640
|
}
|
|
3641
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3642
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3641
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3642
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3644
3644
|
type: Directive,
|
|
3645
3645
|
args: [{
|
|
3646
3646
|
selector: '[ngSwitchDefault]',
|
|
@@ -3718,9 +3718,9 @@ class NgPlural {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
}
|
|
3720
3720
|
}
|
|
3721
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3722
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3721
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3722
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgPlural, decorators: [{
|
|
3724
3724
|
type: Directive,
|
|
3725
3725
|
args: [{
|
|
3726
3726
|
selector: '[ngPlural]',
|
|
@@ -3756,9 +3756,9 @@ class NgPluralCase {
|
|
|
3756
3756
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3757
3757
|
}
|
|
3758
3758
|
}
|
|
3759
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3760
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3759
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3760
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3762
3762
|
type: Directive,
|
|
3763
3763
|
args: [{
|
|
3764
3764
|
selector: '[ngPluralCase]',
|
|
@@ -3847,9 +3847,9 @@ class NgStyle {
|
|
|
3847
3847
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3848
3848
|
}
|
|
3849
3849
|
}
|
|
3850
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3851
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3850
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3851
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgStyle, decorators: [{
|
|
3853
3853
|
type: Directive,
|
|
3854
3854
|
args: [{
|
|
3855
3855
|
selector: '[ngStyle]',
|
|
@@ -3922,9 +3922,9 @@ class NgTemplateOutlet {
|
|
|
3922
3922
|
}
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3926
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3925
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3926
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
3927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3928
3928
|
type: Directive,
|
|
3929
3929
|
args: [{
|
|
3930
3930
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4075,9 +4075,9 @@ class AsyncPipe {
|
|
|
4075
4075
|
}
|
|
4076
4076
|
}
|
|
4077
4077
|
}
|
|
4078
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4079
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4078
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4079
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
|
|
4080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4081
4081
|
type: Pipe,
|
|
4082
4082
|
args: [{
|
|
4083
4083
|
name: 'async',
|
|
@@ -4111,9 +4111,9 @@ class LowerCasePipe {
|
|
|
4111
4111
|
return value.toLowerCase();
|
|
4112
4112
|
}
|
|
4113
4113
|
}
|
|
4114
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4115
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4114
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4115
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
|
|
4116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4117
4117
|
type: Pipe,
|
|
4118
4118
|
args: [{
|
|
4119
4119
|
name: 'lowercase',
|
|
@@ -4156,9 +4156,9 @@ class TitleCasePipe {
|
|
|
4156
4156
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4157
4157
|
}
|
|
4158
4158
|
}
|
|
4159
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4160
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4159
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4160
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
|
|
4161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4162
4162
|
type: Pipe,
|
|
4163
4163
|
args: [{
|
|
4164
4164
|
name: 'titlecase',
|
|
@@ -4183,9 +4183,9 @@ class UpperCasePipe {
|
|
|
4183
4183
|
return value.toUpperCase();
|
|
4184
4184
|
}
|
|
4185
4185
|
}
|
|
4186
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4187
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4186
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4187
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
|
|
4188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4189
4189
|
type: Pipe,
|
|
4190
4190
|
args: [{
|
|
4191
4191
|
name: 'uppercase',
|
|
@@ -4417,9 +4417,9 @@ class DatePipe {
|
|
|
4417
4417
|
}
|
|
4418
4418
|
}
|
|
4419
4419
|
}
|
|
4420
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4421
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4420
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4421
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
|
|
4422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: DatePipe, decorators: [{
|
|
4423
4423
|
type: Pipe,
|
|
4424
4424
|
args: [{
|
|
4425
4425
|
name: 'date',
|
|
@@ -4479,9 +4479,9 @@ class I18nPluralPipe {
|
|
|
4479
4479
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4480
4480
|
}
|
|
4481
4481
|
}
|
|
4482
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4483
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4482
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4483
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
|
|
4484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4485
4485
|
type: Pipe,
|
|
4486
4486
|
args: [{
|
|
4487
4487
|
name: 'i18nPlural',
|
|
@@ -4528,9 +4528,9 @@ class I18nSelectPipe {
|
|
|
4528
4528
|
return '';
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
4531
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4532
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4531
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4532
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
|
|
4533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4534
4534
|
type: Pipe,
|
|
4535
4535
|
args: [{
|
|
4536
4536
|
name: 'i18nSelect',
|
|
@@ -4562,9 +4562,9 @@ class JsonPipe {
|
|
|
4562
4562
|
return JSON.stringify(value, null, 2);
|
|
4563
4563
|
}
|
|
4564
4564
|
}
|
|
4565
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4566
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4565
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4566
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
|
|
4567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4568
4568
|
type: Pipe,
|
|
4569
4569
|
args: [{
|
|
4570
4570
|
name: 'json',
|
|
@@ -4625,9 +4625,9 @@ class KeyValuePipe {
|
|
|
4625
4625
|
return this.keyValues;
|
|
4626
4626
|
}
|
|
4627
4627
|
}
|
|
4628
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4629
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4628
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4629
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
|
|
4630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4631
4631
|
type: Pipe,
|
|
4632
4632
|
args: [{
|
|
4633
4633
|
name: 'keyvalue',
|
|
@@ -4753,9 +4753,9 @@ class DecimalPipe {
|
|
|
4753
4753
|
}
|
|
4754
4754
|
}
|
|
4755
4755
|
}
|
|
4756
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4757
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4756
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4757
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
|
|
4758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4759
4759
|
type: Pipe,
|
|
4760
4760
|
args: [{
|
|
4761
4761
|
name: 'number',
|
|
@@ -4820,9 +4820,9 @@ class PercentPipe {
|
|
|
4820
4820
|
}
|
|
4821
4821
|
}
|
|
4822
4822
|
}
|
|
4823
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4824
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4823
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4824
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
|
|
4825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4826
4826
|
type: Pipe,
|
|
4827
4827
|
args: [{
|
|
4828
4828
|
name: 'percent',
|
|
@@ -4842,25 +4842,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.2",
|
|
|
4842
4842
|
* that determine group sizing and separator, decimal-point character,
|
|
4843
4843
|
* and other locale-specific configurations.
|
|
4844
4844
|
*
|
|
4845
|
-
* {@a currency-code-deprecation}
|
|
4846
|
-
* <div class="alert is-helpful">
|
|
4847
|
-
*
|
|
4848
|
-
* **Deprecation notice:**
|
|
4849
|
-
*
|
|
4850
|
-
* The default currency code is currently always `USD` but this is deprecated from v9.
|
|
4851
|
-
*
|
|
4852
|
-
* **In v11 the default currency code will be taken from the current locale identified by
|
|
4853
|
-
* the `LOCALE_ID` token. See the [i18n guide](guide/i18n-common-locale-id) for
|
|
4854
|
-
* more information.**
|
|
4855
|
-
*
|
|
4856
|
-
* If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
|
|
4857
|
-
* your application `NgModule`:
|
|
4858
|
-
*
|
|
4859
|
-
* ```ts
|
|
4860
|
-
* {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}
|
|
4861
|
-
* ```
|
|
4862
|
-
*
|
|
4863
|
-
* </div>
|
|
4864
4845
|
*
|
|
4865
4846
|
* @see `getCurrencySymbol()`
|
|
4866
4847
|
* @see `formatCurrency()`
|
|
@@ -4940,9 +4921,9 @@ class CurrencyPipe {
|
|
|
4940
4921
|
}
|
|
4941
4922
|
}
|
|
4942
4923
|
}
|
|
4943
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4944
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4924
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4925
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
|
|
4926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4946
4927
|
type: Pipe,
|
|
4947
4928
|
args: [{
|
|
4948
4929
|
name: 'currency',
|
|
@@ -5022,9 +5003,9 @@ class SlicePipe {
|
|
|
5022
5003
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5023
5004
|
}
|
|
5024
5005
|
}
|
|
5025
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5026
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
5027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5006
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5007
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
|
|
5008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5028
5009
|
type: Pipe,
|
|
5029
5010
|
args: [{
|
|
5030
5011
|
name: 'slice',
|
|
@@ -5069,10 +5050,10 @@ const COMMON_PIPES = [
|
|
|
5069
5050
|
*/
|
|
5070
5051
|
class CommonModule {
|
|
5071
5052
|
}
|
|
5072
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5073
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
5074
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5053
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5054
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
|
|
5055
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule });
|
|
5056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule, decorators: [{
|
|
5076
5057
|
type: NgModule,
|
|
5077
5058
|
args: [{
|
|
5078
5059
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5121,7 +5102,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5121
5102
|
/**
|
|
5122
5103
|
* @publicApi
|
|
5123
5104
|
*/
|
|
5124
|
-
const VERSION = new Version('15.2.0-next.
|
|
5105
|
+
const VERSION = new Version('15.2.0-next.4');
|
|
5125
5106
|
|
|
5126
5107
|
/**
|
|
5127
5108
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5659,9 +5640,9 @@ class LCPImageObserver {
|
|
|
5659
5640
|
this.alreadyWarned.clear();
|
|
5660
5641
|
}
|
|
5661
5642
|
}
|
|
5662
|
-
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5663
|
-
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5643
|
+
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5644
|
+
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
|
|
5645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5665
5646
|
type: Injectable,
|
|
5666
5647
|
args: [{ providedIn: 'root' }]
|
|
5667
5648
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5781,9 +5762,9 @@ class PreconnectLinkChecker {
|
|
|
5781
5762
|
this.alreadySeen.clear();
|
|
5782
5763
|
}
|
|
5783
5764
|
}
|
|
5784
|
-
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5785
|
-
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5765
|
+
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5766
|
+
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
|
|
5767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5787
5768
|
type: Injectable,
|
|
5788
5769
|
args: [{ providedIn: 'root' }]
|
|
5789
5770
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5870,9 +5851,9 @@ class PreloadLinkCreator {
|
|
|
5870
5851
|
renderer.appendChild(this.document.head, preload);
|
|
5871
5852
|
}
|
|
5872
5853
|
}
|
|
5873
|
-
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5874
|
-
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5854
|
+
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5855
|
+
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
|
|
5856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
5876
5857
|
type: Injectable,
|
|
5877
5858
|
args: [{ providedIn: 'root' }]
|
|
5878
5859
|
}] });
|
|
@@ -6142,6 +6123,8 @@ class NgOptimizedImage {
|
|
|
6142
6123
|
assertNoComplexSizes(this);
|
|
6143
6124
|
}
|
|
6144
6125
|
assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader);
|
|
6126
|
+
assertNoNgSrcsetWithoutLoader(this, this.imageLoader);
|
|
6127
|
+
assertNoLoaderParamsWithoutLoader(this, this.imageLoader);
|
|
6145
6128
|
if (this.priority) {
|
|
6146
6129
|
const checker = this.injector.get(PreconnectLinkChecker);
|
|
6147
6130
|
checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);
|
|
@@ -6210,10 +6193,18 @@ class NgOptimizedImage {
|
|
|
6210
6193
|
'fill',
|
|
6211
6194
|
'loading',
|
|
6212
6195
|
'sizes',
|
|
6196
|
+
'loaderParams',
|
|
6213
6197
|
'disableOptimizedSrcset',
|
|
6214
6198
|
]);
|
|
6215
6199
|
}
|
|
6216
6200
|
}
|
|
6201
|
+
callImageLoader(configWithoutCustomParams) {
|
|
6202
|
+
let augmentedConfig = configWithoutCustomParams;
|
|
6203
|
+
if (this.loaderParams) {
|
|
6204
|
+
augmentedConfig.loaderParams = this.loaderParams;
|
|
6205
|
+
}
|
|
6206
|
+
return this.imageLoader(augmentedConfig);
|
|
6207
|
+
}
|
|
6217
6208
|
getLoadingBehavior() {
|
|
6218
6209
|
if (!this.priority && this.loading !== undefined) {
|
|
6219
6210
|
return this.loading;
|
|
@@ -6230,7 +6221,7 @@ class NgOptimizedImage {
|
|
|
6230
6221
|
if (!this._renderedSrc) {
|
|
6231
6222
|
const imgConfig = { src: this.ngSrc };
|
|
6232
6223
|
// Cache calculated image src to reuse it later in the code.
|
|
6233
|
-
this._renderedSrc = this.
|
|
6224
|
+
this._renderedSrc = this.callImageLoader(imgConfig);
|
|
6234
6225
|
}
|
|
6235
6226
|
return this._renderedSrc;
|
|
6236
6227
|
}
|
|
@@ -6239,7 +6230,7 @@ class NgOptimizedImage {
|
|
|
6239
6230
|
const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {
|
|
6240
6231
|
srcStr = srcStr.trim();
|
|
6241
6232
|
const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;
|
|
6242
|
-
return `${this.
|
|
6233
|
+
return `${this.callImageLoader({ src: this.ngSrc, width })} ${srcStr}`;
|
|
6243
6234
|
});
|
|
6244
6235
|
return finalSrcs.join(', ');
|
|
6245
6236
|
}
|
|
@@ -6260,11 +6251,14 @@ class NgOptimizedImage {
|
|
|
6260
6251
|
// breakpoints with full viewport widths.
|
|
6261
6252
|
filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF);
|
|
6262
6253
|
}
|
|
6263
|
-
const finalSrcs = filteredBreakpoints.map(bp => `${this.
|
|
6254
|
+
const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);
|
|
6264
6255
|
return finalSrcs.join(', ');
|
|
6265
6256
|
}
|
|
6266
6257
|
getFixedSrcset() {
|
|
6267
|
-
const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.
|
|
6258
|
+
const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({
|
|
6259
|
+
src: this.ngSrc,
|
|
6260
|
+
width: this.width * multiplier
|
|
6261
|
+
})} ${multiplier}x`);
|
|
6268
6262
|
return finalSrcs.join(', ');
|
|
6269
6263
|
}
|
|
6270
6264
|
shouldGenerateAutomaticSrcset() {
|
|
@@ -6283,9 +6277,9 @@ class NgOptimizedImage {
|
|
|
6283
6277
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6284
6278
|
}
|
|
6285
6279
|
}
|
|
6286
|
-
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
6287
|
-
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
6288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
6280
|
+
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6281
|
+
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: "ngSrc", ngSrcset: "ngSrcset", sizes: "sizes", width: "width", height: "height", loading: "loading", priority: "priority", loaderParams: "loaderParams", disableOptimizedSrcset: "disableOptimizedSrcset", fill: "fill", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0px\" : null" } }, usesOnChanges: true, ngImport: i0 });
|
|
6282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6289
6283
|
type: Directive,
|
|
6290
6284
|
args: [{
|
|
6291
6285
|
standalone: true,
|
|
@@ -6311,6 +6305,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.2",
|
|
|
6311
6305
|
type: Input
|
|
6312
6306
|
}], priority: [{
|
|
6313
6307
|
type: Input
|
|
6308
|
+
}], loaderParams: [{
|
|
6309
|
+
type: Input
|
|
6314
6310
|
}], disableOptimizedSrcset: [{
|
|
6315
6311
|
type: Input
|
|
6316
6312
|
}], fill: [{
|
|
@@ -6655,6 +6651,29 @@ function assertNotMissingBuiltInLoader(ngSrc, imageLoader) {
|
|
|
6655
6651
|
}
|
|
6656
6652
|
}
|
|
6657
6653
|
}
|
|
6654
|
+
/**
|
|
6655
|
+
* Warns if ngSrcset is present and no loader is configured (i.e. the default one is being used).
|
|
6656
|
+
*/
|
|
6657
|
+
function assertNoNgSrcsetWithoutLoader(dir, imageLoader) {
|
|
6658
|
+
if (dir.ngSrcset && imageLoader === noopImageLoader) {
|
|
6659
|
+
console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \`ngSrcset\` attribute is present but ` +
|
|
6660
|
+
`no image loader is configured (i.e. the default one is being used), ` +
|
|
6661
|
+
`which would result in the same image being used for all configured sizes. ` +
|
|
6662
|
+
`To fix this, provide a loader or remove the \`ngSrcset\` attribute from the image.`));
|
|
6663
|
+
}
|
|
6664
|
+
}
|
|
6665
|
+
/**
|
|
6666
|
+
* Warns if loaderParams is present and no loader is configured (i.e. the default one is being
|
|
6667
|
+
* used).
|
|
6668
|
+
*/
|
|
6669
|
+
function assertNoLoaderParamsWithoutLoader(dir, imageLoader) {
|
|
6670
|
+
if (dir.loaderParams && imageLoader === noopImageLoader) {
|
|
6671
|
+
console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \`loaderParams\` attribute is present but ` +
|
|
6672
|
+
`no image loader is configured (i.e. the default one is being used), ` +
|
|
6673
|
+
`which means that the loaderParams data will not be consumed and will not affect the URL. ` +
|
|
6674
|
+
`To fix this, provide a custom loader or remove the \`loaderParams\` attribute from the image.`));
|
|
6675
|
+
}
|
|
6676
|
+
}
|
|
6658
6677
|
|
|
6659
6678
|
// These exports represent the set of symbols exposed as a public API.
|
|
6660
6679
|
|