@angular/common 16.1.0-next.2 → 16.1.0-rc.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/esm2022/http/public_api.mjs +3 -2
- package/esm2022/http/src/client.mjs +5 -6
- package/esm2022/http/src/fetch.mjs +225 -0
- package/esm2022/http/src/headers.mjs +14 -16
- package/esm2022/http/src/interceptor.mjs +14 -9
- package/esm2022/http/src/jsonp.mjs +9 -11
- package/esm2022/http/src/module.mjs +16 -19
- package/esm2022/http/src/provider.mjs +27 -1
- package/esm2022/http/src/request.mjs +3 -1
- package/esm2022/http/src/response.mjs +3 -1
- package/esm2022/http/src/transfer_cache.mjs +4 -7
- package/esm2022/http/src/xhr.mjs +6 -43
- package/esm2022/http/src/xsrf.mjs +9 -11
- package/esm2022/http/testing/src/backend.mjs +5 -6
- package/esm2022/http/testing/src/module.mjs +6 -7
- package/esm2022/src/common_module.mjs +6 -7
- package/esm2022/src/directives/ng_class.mjs +5 -6
- package/esm2022/src/directives/ng_component_outlet.mjs +5 -6
- package/esm2022/src/directives/ng_for_of.mjs +5 -6
- package/esm2022/src/directives/ng_if.mjs +5 -6
- package/esm2022/src/directives/ng_optimized_image/lcp_image_observer.mjs +5 -6
- package/esm2022/src/directives/ng_optimized_image/ng_optimized_image.mjs +7 -8
- package/esm2022/src/directives/ng_optimized_image/preconnect_link_checker.mjs +5 -6
- package/esm2022/src/directives/ng_optimized_image/preload-link-creator.mjs +5 -6
- package/esm2022/src/directives/ng_plural.mjs +9 -11
- package/esm2022/src/directives/ng_style.mjs +5 -6
- package/esm2022/src/directives/ng_switch.mjs +13 -16
- package/esm2022/src/directives/ng_template_outlet.mjs +5 -6
- package/esm2022/src/i18n/localization.mjs +9 -11
- package/esm2022/src/location/hash_location_strategy.mjs +5 -6
- package/esm2022/src/location/location.mjs +5 -6
- package/esm2022/src/location/location_strategy.mjs +9 -11
- package/esm2022/src/location/platform_location.mjs +9 -11
- package/esm2022/src/pipes/async_pipe.mjs +17 -10
- package/esm2022/src/pipes/case_conversion_pipes.mjs +13 -16
- package/esm2022/src/pipes/date_pipe.mjs +5 -6
- package/esm2022/src/pipes/i18n_plural_pipe.mjs +5 -6
- package/esm2022/src/pipes/i18n_select_pipe.mjs +5 -6
- package/esm2022/src/pipes/json_pipe.mjs +5 -6
- package/esm2022/src/pipes/keyvalue_pipe.mjs +5 -6
- package/esm2022/src/pipes/number_pipe.mjs +13 -16
- package/esm2022/src/pipes/slice_pipe.mjs +5 -6
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/viewport_scroller.mjs +2 -3
- package/esm2022/testing/src/location_mock.mjs +5 -6
- package/esm2022/testing/src/mock_location_strategy.mjs +5 -6
- package/esm2022/testing/src/mock_platform_location.mjs +5 -6
- package/esm2022/upgrade/src/location_upgrade_module.mjs +6 -7
- package/fesm2022/common.mjs +128 -120
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http/testing.mjs.map +1 -1
- package/fesm2022/http.mjs +302 -96
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +10 -10
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/upgrade.mjs.map +1 -1
- package/http/index.d.ts +49 -3
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +2 -2
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2022/common.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.0-
|
|
2
|
+
* @license Angular v16.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { InjectionToken, inject, Injectable, Optional, Inject, EventEmitter, ɵɵinject, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, PLATFORM_ID, NgZone } from '@angular/core';
|
|
8
|
+
import { InjectionToken, inject, Injectable, Optional, Inject, EventEmitter, ɵɵinject, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, untracked, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, PLATFORM_ID, NgZone } from '@angular/core';
|
|
9
9
|
|
|
10
10
|
let _DOM = null;
|
|
11
11
|
function getDOM() {
|
|
@@ -61,10 +61,10 @@ class PlatformLocation {
|
|
|
61
61
|
historyGo(relativePosition) {
|
|
62
62
|
throw new Error('Not implemented');
|
|
63
63
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
65
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
65
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
68
68
|
type: Injectable,
|
|
69
69
|
args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]
|
|
70
70
|
}] });
|
|
@@ -144,10 +144,10 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
144
144
|
getState() {
|
|
145
145
|
return this._history.state;
|
|
146
146
|
}
|
|
147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
148
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
148
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }
|
|
149
149
|
}
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
151
151
|
type: Injectable,
|
|
152
152
|
args: [{
|
|
153
153
|
providedIn: 'platform',
|
|
@@ -233,10 +233,10 @@ class LocationStrategy {
|
|
|
233
233
|
historyGo(relativePosition) {
|
|
234
234
|
throw new Error('Not implemented');
|
|
235
235
|
}
|
|
236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }
|
|
238
238
|
}
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
240
240
|
type: Injectable,
|
|
241
241
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
242
242
|
}] });
|
|
@@ -343,10 +343,10 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
343
343
|
historyGo(relativePosition = 0) {
|
|
344
344
|
this._platformLocation.historyGo?.(relativePosition);
|
|
345
345
|
}
|
|
346
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
347
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }
|
|
348
348
|
}
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
350
350
|
type: Injectable,
|
|
351
351
|
args: [{ providedIn: 'root' }]
|
|
352
352
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -434,10 +434,10 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
434
434
|
historyGo(relativePosition = 0) {
|
|
435
435
|
this._platformLocation.historyGo?.(relativePosition);
|
|
436
436
|
}
|
|
437
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
438
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
438
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: HashLocationStrategy }); }
|
|
439
439
|
}
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
441
441
|
type: Injectable
|
|
442
442
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
443
443
|
type: Optional
|
|
@@ -686,10 +686,10 @@ class Location {
|
|
|
686
686
|
* @returns The URL string, modified if needed.
|
|
687
687
|
*/
|
|
688
688
|
static { this.stripTrailingSlash = stripTrailingSlash; }
|
|
689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
690
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
690
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }
|
|
691
691
|
}
|
|
692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: Location, decorators: [{
|
|
693
693
|
type: Injectable,
|
|
694
694
|
args: [{
|
|
695
695
|
providedIn: 'root',
|
|
@@ -2481,10 +2481,10 @@ function parseIntAutoRadix(text) {
|
|
|
2481
2481
|
* @publicApi
|
|
2482
2482
|
*/
|
|
2483
2483
|
class NgLocalization {
|
|
2484
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
2485
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
2484
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2485
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }
|
|
2486
2486
|
}
|
|
2487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
2487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2488
2488
|
type: Injectable,
|
|
2489
2489
|
args: [{
|
|
2490
2490
|
providedIn: 'root',
|
|
@@ -2538,10 +2538,10 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2538
2538
|
return 'other';
|
|
2539
2539
|
}
|
|
2540
2540
|
}
|
|
2541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
2542
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
2541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgLocaleLocalization }); }
|
|
2543
2543
|
}
|
|
2544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
2544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2545
2545
|
type: Injectable
|
|
2546
2546
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2547
2547
|
type: Inject,
|
|
@@ -2714,10 +2714,10 @@ class NgClass {
|
|
|
2714
2714
|
});
|
|
2715
2715
|
}
|
|
2716
2716
|
}
|
|
2717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
2718
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
2717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2718
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 }); }
|
|
2719
2719
|
}
|
|
2720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
2720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgClass, decorators: [{
|
|
2721
2721
|
type: Directive,
|
|
2722
2722
|
args: [{
|
|
2723
2723
|
selector: '[ngClass]',
|
|
@@ -2828,10 +2828,10 @@ class NgComponentOutlet {
|
|
|
2828
2828
|
if (this._moduleRef)
|
|
2829
2829
|
this._moduleRef.destroy();
|
|
2830
2830
|
}
|
|
2831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
2832
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
2831
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2832
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 }); }
|
|
2833
2833
|
}
|
|
2834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
2834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2835
2835
|
type: Directive,
|
|
2836
2836
|
args: [{
|
|
2837
2837
|
selector: '[ngComponentOutlet]',
|
|
@@ -3109,10 +3109,10 @@ class NgForOf {
|
|
|
3109
3109
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3110
3110
|
return true;
|
|
3111
3111
|
}
|
|
3112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3113
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3113
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 }); }
|
|
3114
3114
|
}
|
|
3115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgForOf, decorators: [{
|
|
3116
3116
|
type: Directive,
|
|
3117
3117
|
args: [{
|
|
3118
3118
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3337,10 +3337,10 @@ class NgIf {
|
|
|
3337
3337
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3338
3338
|
return true;
|
|
3339
3339
|
}
|
|
3340
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3341
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3341
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 }); }
|
|
3342
3342
|
}
|
|
3343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgIf, decorators: [{
|
|
3344
3344
|
type: Directive,
|
|
3345
3345
|
args: [{
|
|
3346
3346
|
selector: '[ngIf]',
|
|
@@ -3500,10 +3500,10 @@ class NgSwitch {
|
|
|
3500
3500
|
}
|
|
3501
3501
|
}
|
|
3502
3502
|
}
|
|
3503
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3504
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3503
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3504
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 }); }
|
|
3505
3505
|
}
|
|
3506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3507
3507
|
type: Directive,
|
|
3508
3508
|
args: [{
|
|
3509
3509
|
selector: '[ngSwitch]',
|
|
@@ -3561,10 +3561,10 @@ class NgSwitchCase {
|
|
|
3561
3561
|
ngDoCheck() {
|
|
3562
3562
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3563
3563
|
}
|
|
3564
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3565
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3565
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 }); }
|
|
3566
3566
|
}
|
|
3567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3568
3568
|
type: Directive,
|
|
3569
3569
|
args: [{
|
|
3570
3570
|
selector: '[ngSwitchCase]',
|
|
@@ -3598,10 +3598,10 @@ class NgSwitchDefault {
|
|
|
3598
3598
|
}
|
|
3599
3599
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3600
3600
|
}
|
|
3601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3602
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3602
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 }); }
|
|
3603
3603
|
}
|
|
3604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3605
3605
|
type: Directive,
|
|
3606
3606
|
args: [{
|
|
3607
3607
|
selector: '[ngSwitchDefault]',
|
|
@@ -3676,10 +3676,10 @@ class NgPlural {
|
|
|
3676
3676
|
this._activeView.create();
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3680
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3680
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 }); }
|
|
3681
3681
|
}
|
|
3682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgPlural, decorators: [{
|
|
3683
3683
|
type: Directive,
|
|
3684
3684
|
args: [{
|
|
3685
3685
|
selector: '[ngPlural]',
|
|
@@ -3714,10 +3714,10 @@ class NgPluralCase {
|
|
|
3714
3714
|
const isANumber = !isNaN(Number(value));
|
|
3715
3715
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3716
3716
|
}
|
|
3717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3718
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3718
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 }); }
|
|
3719
3719
|
}
|
|
3720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3721
3721
|
type: Directive,
|
|
3722
3722
|
args: [{
|
|
3723
3723
|
selector: '[ngPluralCase]',
|
|
@@ -3803,10 +3803,10 @@ class NgStyle {
|
|
|
3803
3803
|
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3804
3804
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3805
3805
|
}
|
|
3806
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3807
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3807
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 }); }
|
|
3808
3808
|
}
|
|
3809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgStyle, decorators: [{
|
|
3810
3810
|
type: Directive,
|
|
3811
3811
|
args: [{
|
|
3812
3812
|
selector: '[ngStyle]',
|
|
@@ -3879,10 +3879,10 @@ class NgTemplateOutlet {
|
|
|
3879
3879
|
this._viewRef.context = this.ngTemplateOutletContext;
|
|
3880
3880
|
}
|
|
3881
3881
|
}
|
|
3882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
3883
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
3882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3883
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 }); }
|
|
3884
3884
|
}
|
|
3885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
3885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3886
3886
|
type: Directive,
|
|
3887
3887
|
args: [{
|
|
3888
3888
|
selector: '[ngTemplateOutlet]',
|
|
@@ -3920,15 +3920,23 @@ function invalidPipeArgumentError(type, value) {
|
|
|
3920
3920
|
|
|
3921
3921
|
class SubscribableStrategy {
|
|
3922
3922
|
createSubscription(async, updateLatestValue) {
|
|
3923
|
-
|
|
3923
|
+
// Subscription can be side-effectful, and we don't want any signal reads which happen in the
|
|
3924
|
+
// side effect of the subscription to be tracked by a component's template when that
|
|
3925
|
+
// subscription is triggered via the async pipe. So we wrap the subscription in `untracked` to
|
|
3926
|
+
// decouple from the current reactive context.
|
|
3927
|
+
//
|
|
3928
|
+
// `untracked` also prevents signal _writes_ which happen in the subscription side effect from
|
|
3929
|
+
// being treated as signal writes during the template evaluation (which throws errors).
|
|
3930
|
+
return untracked(() => async.subscribe({
|
|
3924
3931
|
next: updateLatestValue,
|
|
3925
3932
|
error: (e) => {
|
|
3926
3933
|
throw e;
|
|
3927
3934
|
}
|
|
3928
|
-
});
|
|
3935
|
+
}));
|
|
3929
3936
|
}
|
|
3930
3937
|
dispose(subscription) {
|
|
3931
|
-
|
|
3938
|
+
// See the comment in `createSubscription` above on the use of `untracked`.
|
|
3939
|
+
untracked(() => subscription.unsubscribe());
|
|
3932
3940
|
}
|
|
3933
3941
|
}
|
|
3934
3942
|
class PromiseStrategy {
|
|
@@ -4032,10 +4040,10 @@ class AsyncPipe {
|
|
|
4032
4040
|
this._ref.markForCheck();
|
|
4033
4041
|
}
|
|
4034
4042
|
}
|
|
4035
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4036
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4044
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false }); }
|
|
4037
4045
|
}
|
|
4038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4039
4047
|
type: Pipe,
|
|
4040
4048
|
args: [{
|
|
4041
4049
|
name: 'async',
|
|
@@ -4068,10 +4076,10 @@ class LowerCasePipe {
|
|
|
4068
4076
|
}
|
|
4069
4077
|
return value.toLowerCase();
|
|
4070
4078
|
}
|
|
4071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4072
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4080
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" }); }
|
|
4073
4081
|
}
|
|
4074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4075
4083
|
type: Pipe,
|
|
4076
4084
|
args: [{
|
|
4077
4085
|
name: 'lowercase',
|
|
@@ -4113,10 +4121,10 @@ class TitleCasePipe {
|
|
|
4113
4121
|
}
|
|
4114
4122
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4115
4123
|
}
|
|
4116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4117
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4125
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" }); }
|
|
4118
4126
|
}
|
|
4119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4120
4128
|
type: Pipe,
|
|
4121
4129
|
args: [{
|
|
4122
4130
|
name: 'titlecase',
|
|
@@ -4140,10 +4148,10 @@ class UpperCasePipe {
|
|
|
4140
4148
|
}
|
|
4141
4149
|
return value.toUpperCase();
|
|
4142
4150
|
}
|
|
4143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4144
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4152
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" }); }
|
|
4145
4153
|
}
|
|
4146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4147
4155
|
type: Pipe,
|
|
4148
4156
|
args: [{
|
|
4149
4157
|
name: 'uppercase',
|
|
@@ -4373,10 +4381,10 @@ class DatePipe {
|
|
|
4373
4381
|
throw invalidPipeArgumentError(DatePipe, error.message);
|
|
4374
4382
|
}
|
|
4375
4383
|
}
|
|
4376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4377
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4384
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.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 }); }
|
|
4385
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" }); }
|
|
4378
4386
|
}
|
|
4379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: DatePipe, decorators: [{
|
|
4380
4388
|
type: Pipe,
|
|
4381
4389
|
args: [{
|
|
4382
4390
|
name: 'date',
|
|
@@ -4433,10 +4441,10 @@ class I18nPluralPipe {
|
|
|
4433
4441
|
const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
|
|
4434
4442
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4435
4443
|
}
|
|
4436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4437
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4445
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" }); }
|
|
4438
4446
|
}
|
|
4439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4440
4448
|
type: Pipe,
|
|
4441
4449
|
args: [{
|
|
4442
4450
|
name: 'i18nPlural',
|
|
@@ -4482,10 +4490,10 @@ class I18nSelectPipe {
|
|
|
4482
4490
|
}
|
|
4483
4491
|
return '';
|
|
4484
4492
|
}
|
|
4485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4486
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4494
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" }); }
|
|
4487
4495
|
}
|
|
4488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4489
4497
|
type: Pipe,
|
|
4490
4498
|
args: [{
|
|
4491
4499
|
name: 'i18nSelect',
|
|
@@ -4516,10 +4524,10 @@ class JsonPipe {
|
|
|
4516
4524
|
transform(value) {
|
|
4517
4525
|
return JSON.stringify(value, null, 2);
|
|
4518
4526
|
}
|
|
4519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4520
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4528
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false }); }
|
|
4521
4529
|
}
|
|
4522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4523
4531
|
type: Pipe,
|
|
4524
4532
|
args: [{
|
|
4525
4533
|
name: 'json',
|
|
@@ -4579,10 +4587,10 @@ class KeyValuePipe {
|
|
|
4579
4587
|
}
|
|
4580
4588
|
return this.keyValues;
|
|
4581
4589
|
}
|
|
4582
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4583
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4590
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4591
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false }); }
|
|
4584
4592
|
}
|
|
4585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4586
4594
|
type: Pipe,
|
|
4587
4595
|
args: [{
|
|
4588
4596
|
name: 'keyvalue',
|
|
@@ -4707,10 +4715,10 @@ class DecimalPipe {
|
|
|
4707
4715
|
throw invalidPipeArgumentError(DecimalPipe, error.message);
|
|
4708
4716
|
}
|
|
4709
4717
|
}
|
|
4710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4711
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4719
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" }); }
|
|
4712
4720
|
}
|
|
4713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4714
4722
|
type: Pipe,
|
|
4715
4723
|
args: [{
|
|
4716
4724
|
name: 'number',
|
|
@@ -4772,10 +4780,10 @@ class PercentPipe {
|
|
|
4772
4780
|
throw invalidPipeArgumentError(PercentPipe, error.message);
|
|
4773
4781
|
}
|
|
4774
4782
|
}
|
|
4775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4776
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4784
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" }); }
|
|
4777
4785
|
}
|
|
4778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4779
4787
|
type: Pipe,
|
|
4780
4788
|
args: [{
|
|
4781
4789
|
name: 'percent',
|
|
@@ -4871,10 +4879,10 @@ class CurrencyPipe {
|
|
|
4871
4879
|
throw invalidPipeArgumentError(CurrencyPipe, error.message);
|
|
4872
4880
|
}
|
|
4873
4881
|
}
|
|
4874
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4875
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4883
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" }); }
|
|
4876
4884
|
}
|
|
4877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4878
4886
|
type: Pipe,
|
|
4879
4887
|
args: [{
|
|
4880
4888
|
name: 'currency',
|
|
@@ -4951,10 +4959,10 @@ class SlicePipe {
|
|
|
4951
4959
|
supports(obj) {
|
|
4952
4960
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
4953
4961
|
}
|
|
4954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
4955
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-
|
|
4962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4963
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-rc.0", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false }); }
|
|
4956
4964
|
}
|
|
4957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
4965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: SlicePipe, decorators: [{
|
|
4958
4966
|
type: Pipe,
|
|
4959
4967
|
args: [{
|
|
4960
4968
|
name: 'slice',
|
|
@@ -4998,11 +5006,11 @@ const COMMON_PIPES = [
|
|
|
4998
5006
|
* @publicApi
|
|
4999
5007
|
*/
|
|
5000
5008
|
class CommonModule {
|
|
5001
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
5002
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0-
|
|
5003
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.0-
|
|
5009
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5010
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0-rc.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] }); }
|
|
5011
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: CommonModule }); }
|
|
5004
5012
|
}
|
|
5005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
5013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: CommonModule, decorators: [{
|
|
5006
5014
|
type: NgModule,
|
|
5007
5015
|
args: [{
|
|
5008
5016
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5055,7 +5063,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5055
5063
|
/**
|
|
5056
5064
|
* @publicApi
|
|
5057
5065
|
*/
|
|
5058
|
-
const VERSION = new Version('16.1.0-
|
|
5066
|
+
const VERSION = new Version('16.1.0-rc.0');
|
|
5059
5067
|
|
|
5060
5068
|
/**
|
|
5061
5069
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5596,10 +5604,10 @@ class LCPImageObserver {
|
|
|
5596
5604
|
this.images.clear();
|
|
5597
5605
|
this.alreadyWarned.clear();
|
|
5598
5606
|
}
|
|
5599
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
5600
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
5607
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5608
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }
|
|
5601
5609
|
}
|
|
5602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
5610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5603
5611
|
type: Injectable,
|
|
5604
5612
|
args: [{ providedIn: 'root' }]
|
|
5605
5613
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5717,10 +5725,10 @@ class PreconnectLinkChecker {
|
|
|
5717
5725
|
this.preconnectLinks?.clear();
|
|
5718
5726
|
this.alreadySeen.clear();
|
|
5719
5727
|
}
|
|
5720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
5721
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
5728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5729
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }
|
|
5722
5730
|
}
|
|
5723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
5731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5724
5732
|
type: Injectable,
|
|
5725
5733
|
args: [{ providedIn: 'root' }]
|
|
5726
5734
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5806,10 +5814,10 @@ class PreloadLinkCreator {
|
|
|
5806
5814
|
}
|
|
5807
5815
|
renderer.appendChild(this.document.head, preload);
|
|
5808
5816
|
}
|
|
5809
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
5810
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-
|
|
5817
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5818
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }
|
|
5811
5819
|
}
|
|
5812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
5820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
5813
5821
|
type: Injectable,
|
|
5814
5822
|
args: [{ providedIn: 'root' }]
|
|
5815
5823
|
}] });
|
|
@@ -5986,7 +5994,7 @@ class NgOptimizedImage {
|
|
|
5986
5994
|
this.imgElement = inject(ElementRef).nativeElement;
|
|
5987
5995
|
this.injector = inject(Injector);
|
|
5988
5996
|
this.isServer = isPlatformServer(inject(PLATFORM_ID));
|
|
5989
|
-
this.
|
|
5997
|
+
this.preloadLinkCreator = inject(PreloadLinkCreator);
|
|
5990
5998
|
// a LCP image observer - should be injected only in the dev mode
|
|
5991
5999
|
this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;
|
|
5992
6000
|
/**
|
|
@@ -6134,7 +6142,7 @@ class NgOptimizedImage {
|
|
|
6134
6142
|
this.setHostAttribute('srcset', rewrittenSrcset);
|
|
6135
6143
|
}
|
|
6136
6144
|
if (this.isServer && this.priority) {
|
|
6137
|
-
this.
|
|
6145
|
+
this.preloadLinkCreator.createPreloadLinkTag(this.renderer, rewrittenSrc, rewrittenSrcset, this.sizes);
|
|
6138
6146
|
}
|
|
6139
6147
|
}
|
|
6140
6148
|
/** @nodoc */
|
|
@@ -6231,10 +6239,10 @@ class NgOptimizedImage {
|
|
|
6231
6239
|
setHostAttribute(name, value) {
|
|
6232
6240
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6233
6241
|
}
|
|
6234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-
|
|
6235
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-
|
|
6242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6243
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-rc.0", 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 }); }
|
|
6236
6244
|
}
|
|
6237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-
|
|
6245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-rc.0", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6238
6246
|
type: Directive,
|
|
6239
6247
|
args: [{
|
|
6240
6248
|
standalone: true,
|