@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/fesm2020/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',
|
|
@@ -262,9 +262,9 @@ class LocationStrategy {
|
|
|
262
262
|
throw new Error('Not implemented');
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
266
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
265
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
266
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
268
268
|
type: Injectable,
|
|
269
269
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
270
270
|
}] });
|
|
@@ -372,9 +372,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
372
372
|
this._platformLocation.historyGo?.(relativePosition);
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
376
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
375
|
+
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 });
|
|
376
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
378
378
|
type: Injectable,
|
|
379
379
|
args: [{ providedIn: 'root' }]
|
|
380
380
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -463,9 +463,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
463
463
|
this._platformLocation.historyGo?.(relativePosition);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
467
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
466
|
+
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 });
|
|
467
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: HashLocationStrategy });
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
469
469
|
type: Injectable
|
|
470
470
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
471
471
|
type: Optional
|
|
@@ -715,9 +715,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
715
715
|
* @returns The URL string, modified if needed.
|
|
716
716
|
*/
|
|
717
717
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
718
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
719
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
718
|
+
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 });
|
|
719
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: Location, decorators: [{
|
|
721
721
|
type: Injectable,
|
|
722
722
|
args: [{
|
|
723
723
|
providedIn: 'root',
|
|
@@ -2505,9 +2505,9 @@ function parseIntAutoRadix(text) {
|
|
|
2505
2505
|
*/
|
|
2506
2506
|
class NgLocalization {
|
|
2507
2507
|
}
|
|
2508
|
-
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2509
|
-
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2508
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2509
|
+
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 }] });
|
|
2510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2511
2511
|
type: Injectable,
|
|
2512
2512
|
args: [{
|
|
2513
2513
|
providedIn: 'root',
|
|
@@ -2562,9 +2562,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
2565
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2566
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2565
|
+
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 });
|
|
2566
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocaleLocalization });
|
|
2567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2568
2568
|
type: Injectable
|
|
2569
2569
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2570
2570
|
type: Inject,
|
|
@@ -2738,9 +2738,9 @@ class NgClass {
|
|
|
2738
2738
|
}
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
2741
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2742
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
2743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2741
|
+
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 });
|
|
2742
|
+
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 });
|
|
2743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgClass, decorators: [{
|
|
2744
2744
|
type: Directive,
|
|
2745
2745
|
args: [{
|
|
2746
2746
|
selector: '[ngClass]',
|
|
@@ -2852,9 +2852,9 @@ class NgComponentOutlet {
|
|
|
2852
2852
|
this._moduleRef.destroy();
|
|
2853
2853
|
}
|
|
2854
2854
|
}
|
|
2855
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2856
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
2857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
2855
|
+
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 });
|
|
2856
|
+
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 });
|
|
2857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2858
2858
|
type: Directive,
|
|
2859
2859
|
args: [{
|
|
2860
2860
|
selector: '[ngComponentOutlet]',
|
|
@@ -3134,9 +3134,9 @@ class NgForOf {
|
|
|
3134
3134
|
return true;
|
|
3135
3135
|
}
|
|
3136
3136
|
}
|
|
3137
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3138
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3137
|
+
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 });
|
|
3138
|
+
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 });
|
|
3139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgForOf, decorators: [{
|
|
3140
3140
|
type: Directive,
|
|
3141
3141
|
args: [{
|
|
3142
3142
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3362,9 +3362,9 @@ class NgIf {
|
|
|
3362
3362
|
return true;
|
|
3363
3363
|
}
|
|
3364
3364
|
}
|
|
3365
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3366
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3365
|
+
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 });
|
|
3366
|
+
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 });
|
|
3367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgIf, decorators: [{
|
|
3368
3368
|
type: Directive,
|
|
3369
3369
|
args: [{
|
|
3370
3370
|
selector: '[ngIf]',
|
|
@@ -3525,9 +3525,9 @@ class NgSwitch {
|
|
|
3525
3525
|
}
|
|
3526
3526
|
}
|
|
3527
3527
|
}
|
|
3528
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3529
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3528
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3529
|
+
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 });
|
|
3530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3531
3531
|
type: Directive,
|
|
3532
3532
|
args: [{
|
|
3533
3533
|
selector: '[ngSwitch]',
|
|
@@ -3586,9 +3586,9 @@ class NgSwitchCase {
|
|
|
3586
3586
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3587
3587
|
}
|
|
3588
3588
|
}
|
|
3589
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3590
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3589
|
+
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 });
|
|
3590
|
+
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 });
|
|
3591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3592
3592
|
type: Directive,
|
|
3593
3593
|
args: [{
|
|
3594
3594
|
selector: '[ngSwitchCase]',
|
|
@@ -3623,9 +3623,9 @@ class NgSwitchDefault {
|
|
|
3623
3623
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3624
3624
|
}
|
|
3625
3625
|
}
|
|
3626
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3627
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3626
|
+
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 });
|
|
3627
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3629
3629
|
type: Directive,
|
|
3630
3630
|
args: [{
|
|
3631
3631
|
selector: '[ngSwitchDefault]',
|
|
@@ -3701,9 +3701,9 @@ class NgPlural {
|
|
|
3701
3701
|
}
|
|
3702
3702
|
}
|
|
3703
3703
|
}
|
|
3704
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3705
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3704
|
+
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 });
|
|
3705
|
+
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 });
|
|
3706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgPlural, decorators: [{
|
|
3707
3707
|
type: Directive,
|
|
3708
3708
|
args: [{
|
|
3709
3709
|
selector: '[ngPlural]',
|
|
@@ -3739,9 +3739,9 @@ class NgPluralCase {
|
|
|
3739
3739
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3743
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3742
|
+
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 });
|
|
3743
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.4", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3745
3745
|
type: Directive,
|
|
3746
3746
|
args: [{
|
|
3747
3747
|
selector: '[ngPluralCase]',
|
|
@@ -3828,9 +3828,9 @@ class NgStyle {
|
|
|
3828
3828
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3832
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3831
|
+
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 });
|
|
3832
|
+
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 });
|
|
3833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgStyle, decorators: [{
|
|
3834
3834
|
type: Directive,
|
|
3835
3835
|
args: [{
|
|
3836
3836
|
selector: '[ngStyle]',
|
|
@@ -3903,9 +3903,9 @@ class NgTemplateOutlet {
|
|
|
3903
3903
|
}
|
|
3904
3904
|
}
|
|
3905
3905
|
}
|
|
3906
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3907
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
3908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
3906
|
+
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 });
|
|
3907
|
+
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 });
|
|
3908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3909
3909
|
type: Directive,
|
|
3910
3910
|
args: [{
|
|
3911
3911
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4056,9 +4056,9 @@ class AsyncPipe {
|
|
|
4056
4056
|
}
|
|
4057
4057
|
}
|
|
4058
4058
|
}
|
|
4059
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4060
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4059
|
+
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 });
|
|
4060
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
|
|
4061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4062
4062
|
type: Pipe,
|
|
4063
4063
|
args: [{
|
|
4064
4064
|
name: 'async',
|
|
@@ -4092,9 +4092,9 @@ class LowerCasePipe {
|
|
|
4092
4092
|
return value.toLowerCase();
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4096
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4095
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4096
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
|
|
4097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4098
4098
|
type: Pipe,
|
|
4099
4099
|
args: [{
|
|
4100
4100
|
name: 'lowercase',
|
|
@@ -4137,9 +4137,9 @@ class TitleCasePipe {
|
|
|
4137
4137
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4138
4138
|
}
|
|
4139
4139
|
}
|
|
4140
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4141
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4140
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4141
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
|
|
4142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4143
4143
|
type: Pipe,
|
|
4144
4144
|
args: [{
|
|
4145
4145
|
name: 'titlecase',
|
|
@@ -4164,9 +4164,9 @@ class UpperCasePipe {
|
|
|
4164
4164
|
return value.toUpperCase();
|
|
4165
4165
|
}
|
|
4166
4166
|
}
|
|
4167
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4168
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4167
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4168
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
|
|
4169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4170
4170
|
type: Pipe,
|
|
4171
4171
|
args: [{
|
|
4172
4172
|
name: 'uppercase',
|
|
@@ -4397,9 +4397,9 @@ class DatePipe {
|
|
|
4397
4397
|
}
|
|
4398
4398
|
}
|
|
4399
4399
|
}
|
|
4400
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4401
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4400
|
+
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 });
|
|
4401
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
|
|
4402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: DatePipe, decorators: [{
|
|
4403
4403
|
type: Pipe,
|
|
4404
4404
|
args: [{
|
|
4405
4405
|
name: 'date',
|
|
@@ -4457,9 +4457,9 @@ class I18nPluralPipe {
|
|
|
4457
4457
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4458
4458
|
}
|
|
4459
4459
|
}
|
|
4460
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4461
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4460
|
+
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 });
|
|
4461
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
|
|
4462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4463
4463
|
type: Pipe,
|
|
4464
4464
|
args: [{
|
|
4465
4465
|
name: 'i18nPlural',
|
|
@@ -4506,9 +4506,9 @@ class I18nSelectPipe {
|
|
|
4506
4506
|
return '';
|
|
4507
4507
|
}
|
|
4508
4508
|
}
|
|
4509
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4510
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4509
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4510
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
|
|
4511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4512
4512
|
type: Pipe,
|
|
4513
4513
|
args: [{
|
|
4514
4514
|
name: 'i18nSelect',
|
|
@@ -4540,9 +4540,9 @@ class JsonPipe {
|
|
|
4540
4540
|
return JSON.stringify(value, null, 2);
|
|
4541
4541
|
}
|
|
4542
4542
|
}
|
|
4543
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4544
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4543
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4544
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
|
|
4545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4546
4546
|
type: Pipe,
|
|
4547
4547
|
args: [{
|
|
4548
4548
|
name: 'json',
|
|
@@ -4603,9 +4603,9 @@ class KeyValuePipe {
|
|
|
4603
4603
|
return this.keyValues;
|
|
4604
4604
|
}
|
|
4605
4605
|
}
|
|
4606
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4607
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4606
|
+
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 });
|
|
4607
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
|
|
4608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4609
4609
|
type: Pipe,
|
|
4610
4610
|
args: [{
|
|
4611
4611
|
name: 'keyvalue',
|
|
@@ -4731,9 +4731,9 @@ class DecimalPipe {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
}
|
|
4733
4733
|
}
|
|
4734
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4735
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4734
|
+
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 });
|
|
4735
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4737
4737
|
type: Pipe,
|
|
4738
4738
|
args: [{
|
|
4739
4739
|
name: 'number',
|
|
@@ -4796,9 +4796,9 @@ class PercentPipe {
|
|
|
4796
4796
|
}
|
|
4797
4797
|
}
|
|
4798
4798
|
}
|
|
4799
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4800
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4799
|
+
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 });
|
|
4800
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
|
|
4801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4802
4802
|
type: Pipe,
|
|
4803
4803
|
args: [{
|
|
4804
4804
|
name: 'percent',
|
|
@@ -4816,25 +4816,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.2",
|
|
|
4816
4816
|
* that determine group sizing and separator, decimal-point character,
|
|
4817
4817
|
* and other locale-specific configurations.
|
|
4818
4818
|
*
|
|
4819
|
-
* {@a currency-code-deprecation}
|
|
4820
|
-
* <div class="alert is-helpful">
|
|
4821
|
-
*
|
|
4822
|
-
* **Deprecation notice:**
|
|
4823
|
-
*
|
|
4824
|
-
* The default currency code is currently always `USD` but this is deprecated from v9.
|
|
4825
|
-
*
|
|
4826
|
-
* **In v11 the default currency code will be taken from the current locale identified by
|
|
4827
|
-
* the `LOCALE_ID` token. See the [i18n guide](guide/i18n-common-locale-id) for
|
|
4828
|
-
* more information.**
|
|
4829
|
-
*
|
|
4830
|
-
* If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
|
|
4831
|
-
* your application `NgModule`:
|
|
4832
|
-
*
|
|
4833
|
-
* ```ts
|
|
4834
|
-
* {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}
|
|
4835
|
-
* ```
|
|
4836
|
-
*
|
|
4837
|
-
* </div>
|
|
4838
4819
|
*
|
|
4839
4820
|
* @see `getCurrencySymbol()`
|
|
4840
4821
|
* @see `formatCurrency()`
|
|
@@ -4914,9 +4895,9 @@ class CurrencyPipe {
|
|
|
4914
4895
|
}
|
|
4915
4896
|
}
|
|
4916
4897
|
}
|
|
4917
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4918
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4898
|
+
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 });
|
|
4899
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
|
|
4900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4920
4901
|
type: Pipe,
|
|
4921
4902
|
args: [{
|
|
4922
4903
|
name: 'currency',
|
|
@@ -4994,9 +4975,9 @@ class SlicePipe {
|
|
|
4994
4975
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
4995
4976
|
}
|
|
4996
4977
|
}
|
|
4997
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4998
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
4999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
4978
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4979
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.4", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
|
|
4980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5000
4981
|
type: Pipe,
|
|
5001
4982
|
args: [{
|
|
5002
4983
|
name: 'slice',
|
|
@@ -5041,10 +5022,10 @@ const COMMON_PIPES = [
|
|
|
5041
5022
|
*/
|
|
5042
5023
|
class CommonModule {
|
|
5043
5024
|
}
|
|
5044
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5045
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
5046
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5025
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5026
|
+
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] });
|
|
5027
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule });
|
|
5028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: CommonModule, decorators: [{
|
|
5048
5029
|
type: NgModule,
|
|
5049
5030
|
args: [{
|
|
5050
5031
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5093,7 +5074,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5093
5074
|
/**
|
|
5094
5075
|
* @publicApi
|
|
5095
5076
|
*/
|
|
5096
|
-
const VERSION = new Version('15.2.0-next.
|
|
5077
|
+
const VERSION = new Version('15.2.0-next.4');
|
|
5097
5078
|
|
|
5098
5079
|
/**
|
|
5099
5080
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5630,9 +5611,9 @@ class LCPImageObserver {
|
|
|
5630
5611
|
this.alreadyWarned.clear();
|
|
5631
5612
|
}
|
|
5632
5613
|
}
|
|
5633
|
-
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5634
|
-
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5614
|
+
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5615
|
+
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
|
|
5616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5636
5617
|
type: Injectable,
|
|
5637
5618
|
args: [{ providedIn: 'root' }]
|
|
5638
5619
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5751,9 +5732,9 @@ class PreconnectLinkChecker {
|
|
|
5751
5732
|
this.alreadySeen.clear();
|
|
5752
5733
|
}
|
|
5753
5734
|
}
|
|
5754
|
-
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5755
|
-
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5735
|
+
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5736
|
+
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
|
|
5737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5757
5738
|
type: Injectable,
|
|
5758
5739
|
args: [{ providedIn: 'root' }]
|
|
5759
5740
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5840,9 +5821,9 @@ class PreloadLinkCreator {
|
|
|
5840
5821
|
renderer.appendChild(this.document.head, preload);
|
|
5841
5822
|
}
|
|
5842
5823
|
}
|
|
5843
|
-
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5844
|
-
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
5824
|
+
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5825
|
+
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
|
|
5826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
5846
5827
|
type: Injectable,
|
|
5847
5828
|
args: [{ providedIn: 'root' }]
|
|
5848
5829
|
}] });
|
|
@@ -6112,6 +6093,8 @@ class NgOptimizedImage {
|
|
|
6112
6093
|
assertNoComplexSizes(this);
|
|
6113
6094
|
}
|
|
6114
6095
|
assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader);
|
|
6096
|
+
assertNoNgSrcsetWithoutLoader(this, this.imageLoader);
|
|
6097
|
+
assertNoLoaderParamsWithoutLoader(this, this.imageLoader);
|
|
6115
6098
|
if (this.priority) {
|
|
6116
6099
|
const checker = this.injector.get(PreconnectLinkChecker);
|
|
6117
6100
|
checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);
|
|
@@ -6180,10 +6163,18 @@ class NgOptimizedImage {
|
|
|
6180
6163
|
'fill',
|
|
6181
6164
|
'loading',
|
|
6182
6165
|
'sizes',
|
|
6166
|
+
'loaderParams',
|
|
6183
6167
|
'disableOptimizedSrcset',
|
|
6184
6168
|
]);
|
|
6185
6169
|
}
|
|
6186
6170
|
}
|
|
6171
|
+
callImageLoader(configWithoutCustomParams) {
|
|
6172
|
+
let augmentedConfig = configWithoutCustomParams;
|
|
6173
|
+
if (this.loaderParams) {
|
|
6174
|
+
augmentedConfig.loaderParams = this.loaderParams;
|
|
6175
|
+
}
|
|
6176
|
+
return this.imageLoader(augmentedConfig);
|
|
6177
|
+
}
|
|
6187
6178
|
getLoadingBehavior() {
|
|
6188
6179
|
if (!this.priority && this.loading !== undefined) {
|
|
6189
6180
|
return this.loading;
|
|
@@ -6200,7 +6191,7 @@ class NgOptimizedImage {
|
|
|
6200
6191
|
if (!this._renderedSrc) {
|
|
6201
6192
|
const imgConfig = { src: this.ngSrc };
|
|
6202
6193
|
// Cache calculated image src to reuse it later in the code.
|
|
6203
|
-
this._renderedSrc = this.
|
|
6194
|
+
this._renderedSrc = this.callImageLoader(imgConfig);
|
|
6204
6195
|
}
|
|
6205
6196
|
return this._renderedSrc;
|
|
6206
6197
|
}
|
|
@@ -6209,7 +6200,7 @@ class NgOptimizedImage {
|
|
|
6209
6200
|
const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {
|
|
6210
6201
|
srcStr = srcStr.trim();
|
|
6211
6202
|
const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;
|
|
6212
|
-
return `${this.
|
|
6203
|
+
return `${this.callImageLoader({ src: this.ngSrc, width })} ${srcStr}`;
|
|
6213
6204
|
});
|
|
6214
6205
|
return finalSrcs.join(', ');
|
|
6215
6206
|
}
|
|
@@ -6229,11 +6220,14 @@ class NgOptimizedImage {
|
|
|
6229
6220
|
// breakpoints with full viewport widths.
|
|
6230
6221
|
filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF);
|
|
6231
6222
|
}
|
|
6232
|
-
const finalSrcs = filteredBreakpoints.map(bp => `${this.
|
|
6223
|
+
const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);
|
|
6233
6224
|
return finalSrcs.join(', ');
|
|
6234
6225
|
}
|
|
6235
6226
|
getFixedSrcset() {
|
|
6236
|
-
const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.
|
|
6227
|
+
const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({
|
|
6228
|
+
src: this.ngSrc,
|
|
6229
|
+
width: this.width * multiplier
|
|
6230
|
+
})} ${multiplier}x`);
|
|
6237
6231
|
return finalSrcs.join(', ');
|
|
6238
6232
|
}
|
|
6239
6233
|
shouldGenerateAutomaticSrcset() {
|
|
@@ -6252,9 +6246,9 @@ class NgOptimizedImage {
|
|
|
6252
6246
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6253
6247
|
}
|
|
6254
6248
|
}
|
|
6255
|
-
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
6256
|
-
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.
|
|
6257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.
|
|
6249
|
+
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6250
|
+
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 });
|
|
6251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.4", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6258
6252
|
type: Directive,
|
|
6259
6253
|
args: [{
|
|
6260
6254
|
standalone: true,
|
|
@@ -6280,6 +6274,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.2",
|
|
|
6280
6274
|
type: Input
|
|
6281
6275
|
}], priority: [{
|
|
6282
6276
|
type: Input
|
|
6277
|
+
}], loaderParams: [{
|
|
6278
|
+
type: Input
|
|
6283
6279
|
}], disableOptimizedSrcset: [{
|
|
6284
6280
|
type: Input
|
|
6285
6281
|
}], fill: [{
|
|
@@ -6624,6 +6620,29 @@ function assertNotMissingBuiltInLoader(ngSrc, imageLoader) {
|
|
|
6624
6620
|
}
|
|
6625
6621
|
}
|
|
6626
6622
|
}
|
|
6623
|
+
/**
|
|
6624
|
+
* Warns if ngSrcset is present and no loader is configured (i.e. the default one is being used).
|
|
6625
|
+
*/
|
|
6626
|
+
function assertNoNgSrcsetWithoutLoader(dir, imageLoader) {
|
|
6627
|
+
if (dir.ngSrcset && imageLoader === noopImageLoader) {
|
|
6628
|
+
console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \`ngSrcset\` attribute is present but ` +
|
|
6629
|
+
`no image loader is configured (i.e. the default one is being used), ` +
|
|
6630
|
+
`which would result in the same image being used for all configured sizes. ` +
|
|
6631
|
+
`To fix this, provide a loader or remove the \`ngSrcset\` attribute from the image.`));
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
/**
|
|
6635
|
+
* Warns if loaderParams is present and no loader is configured (i.e. the default one is being
|
|
6636
|
+
* used).
|
|
6637
|
+
*/
|
|
6638
|
+
function assertNoLoaderParamsWithoutLoader(dir, imageLoader) {
|
|
6639
|
+
if (dir.loaderParams && imageLoader === noopImageLoader) {
|
|
6640
|
+
console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \`loaderParams\` attribute is present but ` +
|
|
6641
|
+
`no image loader is configured (i.e. the default one is being used), ` +
|
|
6642
|
+
`which means that the loaderParams data will not be consumed and will not affect the URL. ` +
|
|
6643
|
+
`To fix this, provide a custom loader or remove the \`loaderParams\` attribute from the image.`));
|
|
6644
|
+
}
|
|
6645
|
+
}
|
|
6627
6646
|
|
|
6628
6647
|
// These exports represent the set of symbols exposed as a public API.
|
|
6629
6648
|
|