@angular/common 15.1.0-rc.0 → 15.2.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/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 +6 -9
- package/esm2020/src/directives/ng_if.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +3 -3
- 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 +10 -11
- package/esm2020/src/directives/ng_style.mjs +3 -3
- package/esm2020/src/directives/ng_switch.mjs +13 -16
- package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/location.mjs +3 -3
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +3 -3
- package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
- package/esm2020/src/pipes/date_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2020/src/pipes/json_pipe.mjs +3 -3
- package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2020/src/pipes/number_pipe.mjs +9 -9
- package/esm2020/src/pipes/slice_pipe.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +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 +122 -129
- 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 +122 -129
- 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 +2 -3
- 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.1.0
|
|
2
|
+
* @license Angular v15.1.0
|
|
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.
|
|
67
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
66
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.
|
|
167
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
166
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.0", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.
|
|
266
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
265
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
266
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.
|
|
376
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
375
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.0", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.
|
|
467
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
466
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.0", ngImport: i0, type: HashLocationStrategy });
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.
|
|
719
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
718
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", 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.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: Location, decorators: [{
|
|
721
721
|
type: Injectable,
|
|
722
722
|
args: [{
|
|
723
723
|
providedIn: 'root',
|
|
@@ -2503,9 +2503,9 @@ function parseIntAutoRadix(text) {
|
|
|
2503
2503
|
*/
|
|
2504
2504
|
class NgLocalization {
|
|
2505
2505
|
}
|
|
2506
|
-
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2507
|
-
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2506
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2507
|
+
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
2508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2509
2509
|
type: Injectable,
|
|
2510
2510
|
args: [{
|
|
2511
2511
|
providedIn: 'root',
|
|
@@ -2560,9 +2560,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2560
2560
|
}
|
|
2561
2561
|
}
|
|
2562
2562
|
}
|
|
2563
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2564
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
2565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2563
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2564
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgLocaleLocalization });
|
|
2565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2566
2566
|
type: Injectable
|
|
2567
2567
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2568
2568
|
type: Inject,
|
|
@@ -2734,9 +2734,9 @@ class NgClass {
|
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
}
|
|
2737
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2738
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
2739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2737
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2738
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgClass, decorators: [{
|
|
2740
2740
|
type: Directive,
|
|
2741
2741
|
args: [{
|
|
2742
2742
|
selector: '[ngClass]',
|
|
@@ -2848,9 +2848,9 @@ class NgComponentOutlet {
|
|
|
2848
2848
|
this._moduleRef.destroy();
|
|
2849
2849
|
}
|
|
2850
2850
|
}
|
|
2851
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
2852
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
2853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
2851
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2852
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2854
2854
|
type: Directive,
|
|
2855
2855
|
args: [{
|
|
2856
2856
|
selector: '[ngComponentOutlet]',
|
|
@@ -3024,11 +3024,8 @@ class NgForOf {
|
|
|
3024
3024
|
*/
|
|
3025
3025
|
set ngForTrackBy(fn) {
|
|
3026
3026
|
if (NG_DEV_MODE && fn != null && typeof fn !== 'function') {
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +
|
|
3030
|
-
`See https://angular.io/api/common/NgForOf#change-propagation for more information.`);
|
|
3031
|
-
}
|
|
3027
|
+
console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +
|
|
3028
|
+
`See https://angular.io/api/common/NgForOf#change-propagation for more information.`);
|
|
3032
3029
|
}
|
|
3033
3030
|
this._trackByFn = fn;
|
|
3034
3031
|
}
|
|
@@ -3133,9 +3130,9 @@ class NgForOf {
|
|
|
3133
3130
|
return true;
|
|
3134
3131
|
}
|
|
3135
3132
|
}
|
|
3136
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3137
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3133
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3134
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgForOf, decorators: [{
|
|
3139
3136
|
type: Directive,
|
|
3140
3137
|
args: [{
|
|
3141
3138
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3361,9 +3358,9 @@ class NgIf {
|
|
|
3361
3358
|
return true;
|
|
3362
3359
|
}
|
|
3363
3360
|
}
|
|
3364
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3365
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3361
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3362
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgIf, decorators: [{
|
|
3367
3364
|
type: Directive,
|
|
3368
3365
|
args: [{
|
|
3369
3366
|
selector: '[ngIf]',
|
|
@@ -3483,6 +3480,7 @@ class SwitchView {
|
|
|
3483
3480
|
*/
|
|
3484
3481
|
class NgSwitch {
|
|
3485
3482
|
constructor() {
|
|
3483
|
+
this._defaultViews = [];
|
|
3486
3484
|
this._defaultUsed = false;
|
|
3487
3485
|
this._caseCount = 0;
|
|
3488
3486
|
this._lastCaseCheckIndex = 0;
|
|
@@ -3500,9 +3498,6 @@ class NgSwitch {
|
|
|
3500
3498
|
}
|
|
3501
3499
|
/** @internal */
|
|
3502
3500
|
_addDefault(view) {
|
|
3503
|
-
if (!this._defaultViews) {
|
|
3504
|
-
this._defaultViews = [];
|
|
3505
|
-
}
|
|
3506
3501
|
this._defaultViews.push(view);
|
|
3507
3502
|
}
|
|
3508
3503
|
/** @internal */
|
|
@@ -3518,18 +3513,17 @@ class NgSwitch {
|
|
|
3518
3513
|
return matched;
|
|
3519
3514
|
}
|
|
3520
3515
|
_updateDefaultCases(useDefault) {
|
|
3521
|
-
if (this._defaultViews && useDefault !== this._defaultUsed) {
|
|
3516
|
+
if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) {
|
|
3522
3517
|
this._defaultUsed = useDefault;
|
|
3523
|
-
for (
|
|
3524
|
-
const defaultView = this._defaultViews[i];
|
|
3518
|
+
for (const defaultView of this._defaultViews) {
|
|
3525
3519
|
defaultView.enforceState(useDefault);
|
|
3526
3520
|
}
|
|
3527
3521
|
}
|
|
3528
3522
|
}
|
|
3529
3523
|
}
|
|
3530
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3531
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3524
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3525
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3533
3527
|
type: Directive,
|
|
3534
3528
|
args: [{
|
|
3535
3529
|
selector: '[ngSwitch]',
|
|
@@ -3588,9 +3582,9 @@ class NgSwitchCase {
|
|
|
3588
3582
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3589
3583
|
}
|
|
3590
3584
|
}
|
|
3591
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3592
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3585
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3586
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3594
3588
|
type: Directive,
|
|
3595
3589
|
args: [{
|
|
3596
3590
|
selector: '[ngSwitchCase]',
|
|
@@ -3625,9 +3619,9 @@ class NgSwitchDefault {
|
|
|
3625
3619
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3626
3620
|
}
|
|
3627
3621
|
}
|
|
3628
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3629
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3622
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3623
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3631
3625
|
type: Directive,
|
|
3632
3626
|
args: [{
|
|
3633
3627
|
selector: '[ngSwitchDefault]',
|
|
@@ -3681,16 +3675,15 @@ class NgPlural {
|
|
|
3681
3675
|
this._caseViews = {};
|
|
3682
3676
|
}
|
|
3683
3677
|
set ngPlural(value) {
|
|
3684
|
-
this.
|
|
3685
|
-
this._updateView();
|
|
3678
|
+
this._updateView(value);
|
|
3686
3679
|
}
|
|
3687
3680
|
addCase(value, switchView) {
|
|
3688
3681
|
this._caseViews[value] = switchView;
|
|
3689
3682
|
}
|
|
3690
|
-
_updateView() {
|
|
3683
|
+
_updateView(switchValue) {
|
|
3691
3684
|
this._clearViews();
|
|
3692
3685
|
const cases = Object.keys(this._caseViews);
|
|
3693
|
-
const key = getPluralCategory(
|
|
3686
|
+
const key = getPluralCategory(switchValue, cases, this._localization);
|
|
3694
3687
|
this._activateView(this._caseViews[key]);
|
|
3695
3688
|
}
|
|
3696
3689
|
_clearViews() {
|
|
@@ -3704,9 +3697,9 @@ class NgPlural {
|
|
|
3704
3697
|
}
|
|
3705
3698
|
}
|
|
3706
3699
|
}
|
|
3707
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3708
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3700
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3701
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgPlural, decorators: [{
|
|
3710
3703
|
type: Directive,
|
|
3711
3704
|
args: [{
|
|
3712
3705
|
selector: '[ngPlural]',
|
|
@@ -3742,9 +3735,9 @@ class NgPluralCase {
|
|
|
3742
3735
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3743
3736
|
}
|
|
3744
3737
|
}
|
|
3745
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3746
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3738
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3739
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3748
3741
|
type: Directive,
|
|
3749
3742
|
args: [{
|
|
3750
3743
|
selector: '[ngPluralCase]',
|
|
@@ -3831,9 +3824,9 @@ class NgStyle {
|
|
|
3831
3824
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3832
3825
|
}
|
|
3833
3826
|
}
|
|
3834
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3835
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3827
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3828
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
3829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgStyle, decorators: [{
|
|
3837
3830
|
type: Directive,
|
|
3838
3831
|
args: [{
|
|
3839
3832
|
selector: '[ngStyle]',
|
|
@@ -3906,9 +3899,9 @@ class NgTemplateOutlet {
|
|
|
3906
3899
|
}
|
|
3907
3900
|
}
|
|
3908
3901
|
}
|
|
3909
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
3910
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
3911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
3902
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3903
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
3904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3912
3905
|
type: Directive,
|
|
3913
3906
|
args: [{
|
|
3914
3907
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4059,9 +4052,9 @@ class AsyncPipe {
|
|
|
4059
4052
|
}
|
|
4060
4053
|
}
|
|
4061
4054
|
}
|
|
4062
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4063
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4055
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4056
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
|
|
4057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4065
4058
|
type: Pipe,
|
|
4066
4059
|
args: [{
|
|
4067
4060
|
name: 'async',
|
|
@@ -4095,9 +4088,9 @@ class LowerCasePipe {
|
|
|
4095
4088
|
return value.toLowerCase();
|
|
4096
4089
|
}
|
|
4097
4090
|
}
|
|
4098
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4099
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4091
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4092
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
|
|
4093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4101
4094
|
type: Pipe,
|
|
4102
4095
|
args: [{
|
|
4103
4096
|
name: 'lowercase',
|
|
@@ -4140,9 +4133,9 @@ class TitleCasePipe {
|
|
|
4140
4133
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4141
4134
|
}
|
|
4142
4135
|
}
|
|
4143
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4144
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4136
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4137
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
|
|
4138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4146
4139
|
type: Pipe,
|
|
4147
4140
|
args: [{
|
|
4148
4141
|
name: 'titlecase',
|
|
@@ -4167,9 +4160,9 @@ class UpperCasePipe {
|
|
|
4167
4160
|
return value.toUpperCase();
|
|
4168
4161
|
}
|
|
4169
4162
|
}
|
|
4170
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4171
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4163
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4164
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
|
|
4165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4173
4166
|
type: Pipe,
|
|
4174
4167
|
args: [{
|
|
4175
4168
|
name: 'uppercase',
|
|
@@ -4400,9 +4393,9 @@ class DatePipe {
|
|
|
4400
4393
|
}
|
|
4401
4394
|
}
|
|
4402
4395
|
}
|
|
4403
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4404
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4396
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", 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 });
|
|
4397
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
|
|
4398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: DatePipe, decorators: [{
|
|
4406
4399
|
type: Pipe,
|
|
4407
4400
|
args: [{
|
|
4408
4401
|
name: 'date',
|
|
@@ -4460,9 +4453,9 @@ class I18nPluralPipe {
|
|
|
4460
4453
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4461
4454
|
}
|
|
4462
4455
|
}
|
|
4463
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4464
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4456
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4457
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
|
|
4458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4466
4459
|
type: Pipe,
|
|
4467
4460
|
args: [{
|
|
4468
4461
|
name: 'i18nPlural',
|
|
@@ -4509,9 +4502,9 @@ class I18nSelectPipe {
|
|
|
4509
4502
|
return '';
|
|
4510
4503
|
}
|
|
4511
4504
|
}
|
|
4512
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4513
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4505
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4506
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
|
|
4507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4515
4508
|
type: Pipe,
|
|
4516
4509
|
args: [{
|
|
4517
4510
|
name: 'i18nSelect',
|
|
@@ -4543,9 +4536,9 @@ class JsonPipe {
|
|
|
4543
4536
|
return JSON.stringify(value, null, 2);
|
|
4544
4537
|
}
|
|
4545
4538
|
}
|
|
4546
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4547
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4539
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4540
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
|
|
4541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4549
4542
|
type: Pipe,
|
|
4550
4543
|
args: [{
|
|
4551
4544
|
name: 'json',
|
|
@@ -4606,9 +4599,9 @@ class KeyValuePipe {
|
|
|
4606
4599
|
return this.keyValues;
|
|
4607
4600
|
}
|
|
4608
4601
|
}
|
|
4609
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4610
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4602
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4603
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
|
|
4604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4612
4605
|
type: Pipe,
|
|
4613
4606
|
args: [{
|
|
4614
4607
|
name: 'keyvalue',
|
|
@@ -4734,9 +4727,9 @@ class DecimalPipe {
|
|
|
4734
4727
|
}
|
|
4735
4728
|
}
|
|
4736
4729
|
}
|
|
4737
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4738
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4730
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4731
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
|
|
4732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4740
4733
|
type: Pipe,
|
|
4741
4734
|
args: [{
|
|
4742
4735
|
name: 'number',
|
|
@@ -4799,9 +4792,9 @@ class PercentPipe {
|
|
|
4799
4792
|
}
|
|
4800
4793
|
}
|
|
4801
4794
|
}
|
|
4802
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4803
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4795
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4796
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
|
|
4797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4805
4798
|
type: Pipe,
|
|
4806
4799
|
args: [{
|
|
4807
4800
|
name: 'percent',
|
|
@@ -4917,9 +4910,9 @@ class CurrencyPipe {
|
|
|
4917
4910
|
}
|
|
4918
4911
|
}
|
|
4919
4912
|
}
|
|
4920
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
4921
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
4922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4913
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4914
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
|
|
4915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4923
4916
|
type: Pipe,
|
|
4924
4917
|
args: [{
|
|
4925
4918
|
name: 'currency',
|
|
@@ -4997,9 +4990,9 @@ class SlicePipe {
|
|
|
4997
4990
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
4998
4991
|
}
|
|
4999
4992
|
}
|
|
5000
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
5001
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
5002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
4993
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4994
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
|
|
4995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5003
4996
|
type: Pipe,
|
|
5004
4997
|
args: [{
|
|
5005
4998
|
name: 'slice',
|
|
@@ -5044,10 +5037,10 @@ const COMMON_PIPES = [
|
|
|
5044
5037
|
*/
|
|
5045
5038
|
class CommonModule {
|
|
5046
5039
|
}
|
|
5047
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
5048
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
5049
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
5050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
5040
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5041
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.0-next.0", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
|
|
5042
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: CommonModule });
|
|
5043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: CommonModule, decorators: [{
|
|
5051
5044
|
type: NgModule,
|
|
5052
5045
|
args: [{
|
|
5053
5046
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5096,7 +5089,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5096
5089
|
/**
|
|
5097
5090
|
* @publicApi
|
|
5098
5091
|
*/
|
|
5099
|
-
const VERSION = new Version('15.
|
|
5092
|
+
const VERSION = new Version('15.2.0-next.0');
|
|
5100
5093
|
|
|
5101
5094
|
/**
|
|
5102
5095
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5633,9 +5626,9 @@ class LCPImageObserver {
|
|
|
5633
5626
|
this.alreadyWarned.clear();
|
|
5634
5627
|
}
|
|
5635
5628
|
}
|
|
5636
|
-
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
5637
|
-
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
5638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
5629
|
+
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5630
|
+
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
|
|
5631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5639
5632
|
type: Injectable,
|
|
5640
5633
|
args: [{ providedIn: 'root' }]
|
|
5641
5634
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5754,9 +5747,9 @@ class PreconnectLinkChecker {
|
|
|
5754
5747
|
this.alreadySeen.clear();
|
|
5755
5748
|
}
|
|
5756
5749
|
}
|
|
5757
|
-
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
5758
|
-
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
5759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
5750
|
+
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5751
|
+
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
|
|
5752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5760
5753
|
type: Injectable,
|
|
5761
5754
|
args: [{ providedIn: 'root' }]
|
|
5762
5755
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5843,9 +5836,9 @@ class PreloadLinkCreator {
|
|
|
5843
5836
|
renderer.appendChild(this.document.head, preload);
|
|
5844
5837
|
}
|
|
5845
5838
|
}
|
|
5846
|
-
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
5847
|
-
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
5848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
5839
|
+
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5840
|
+
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
|
|
5841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
5849
5842
|
type: Injectable,
|
|
5850
5843
|
args: [{ providedIn: 'root' }]
|
|
5851
5844
|
}] });
|
|
@@ -6255,9 +6248,9 @@ class NgOptimizedImage {
|
|
|
6255
6248
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6256
6249
|
}
|
|
6257
6250
|
}
|
|
6258
|
-
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
6259
|
-
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
6260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
6251
|
+
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6252
|
+
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-next.0", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: "ngSrc", ngSrcset: "ngSrcset", sizes: "sizes", width: "width", height: "height", loading: "loading", priority: "priority", 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 });
|
|
6253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-next.0", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6261
6254
|
type: Directive,
|
|
6262
6255
|
args: [{
|
|
6263
6256
|
standalone: true,
|