@angular/common 15.1.0-next.1 → 15.1.0-next.3
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 +5 -5
- 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/http/testing/src/request.mjs +7 -7
- 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 +12 -12
- 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 +15 -5
- package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
- package/esm2020/src/directives/ng_plural.mjs +6 -6
- package/esm2020/src/directives/ng_style.mjs +3 -3
- package/esm2020/src/directives/ng_switch.mjs +9 -9
- package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2020/src/dom_adapter.mjs +1 -4
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/index.mjs +2 -2
- package/esm2020/src/location/location.mjs +28 -9
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +20 -23
- 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 +7 -7
- 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 +171 -148
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +14 -14
- package/fesm2015/http/testing.mjs.map +1 -1
- package/fesm2015/http.mjs +35 -35
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +13 -13
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +171 -148
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +14 -14
- package/fesm2020/http/testing.mjs.map +1 -1
- package/fesm2020/http.mjs +35 -35
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +13 -13
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +5 -5
- package/http/index.d.ts +2 -2
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +37 -32
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2015/common.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.
|
|
2
|
+
* @license Angular v15.1.0-next.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -18,9 +18,6 @@ let _DOM = null;
|
|
|
18
18
|
function getDOM() {
|
|
19
19
|
return _DOM;
|
|
20
20
|
}
|
|
21
|
-
function setDOM(adapter) {
|
|
22
|
-
_DOM = adapter;
|
|
23
|
-
}
|
|
24
21
|
function setRootDomAdapter(adapter) {
|
|
25
22
|
if (!_DOM) {
|
|
26
23
|
_DOM = adapter;
|
|
@@ -87,9 +84,9 @@ class PlatformLocation {
|
|
|
87
84
|
throw new Error('Not implemented');
|
|
88
85
|
}
|
|
89
86
|
}
|
|
90
|
-
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
91
|
-
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
87
|
+
PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
88
|
+
PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
93
90
|
type: Injectable,
|
|
94
91
|
args: [{
|
|
95
92
|
providedIn: 'platform',
|
|
@@ -111,17 +108,14 @@ const LOCATION_INITIALIZED = new InjectionToken('Location Initialized');
|
|
|
111
108
|
* `PlatformLocation` encapsulates all of the direct calls to platform APIs.
|
|
112
109
|
* This class should not be used directly by an application developer. Instead, use
|
|
113
110
|
* {@link Location}.
|
|
111
|
+
*
|
|
112
|
+
* @publicApi
|
|
114
113
|
*/
|
|
115
114
|
class BrowserPlatformLocation extends PlatformLocation {
|
|
116
115
|
constructor(_doc) {
|
|
117
116
|
super();
|
|
118
117
|
this._doc = _doc;
|
|
119
|
-
this.
|
|
120
|
-
}
|
|
121
|
-
// This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it
|
|
122
|
-
/** @internal */
|
|
123
|
-
_init() {
|
|
124
|
-
this.location = window.location;
|
|
118
|
+
this._location = window.location;
|
|
125
119
|
this._history = window.history;
|
|
126
120
|
}
|
|
127
121
|
getBaseHrefFromDOM() {
|
|
@@ -138,35 +132,35 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
138
132
|
return () => window.removeEventListener('hashchange', fn);
|
|
139
133
|
}
|
|
140
134
|
get href() {
|
|
141
|
-
return this.
|
|
135
|
+
return this._location.href;
|
|
142
136
|
}
|
|
143
137
|
get protocol() {
|
|
144
|
-
return this.
|
|
138
|
+
return this._location.protocol;
|
|
145
139
|
}
|
|
146
140
|
get hostname() {
|
|
147
|
-
return this.
|
|
141
|
+
return this._location.hostname;
|
|
148
142
|
}
|
|
149
143
|
get port() {
|
|
150
|
-
return this.
|
|
144
|
+
return this._location.port;
|
|
151
145
|
}
|
|
152
146
|
get pathname() {
|
|
153
|
-
return this.
|
|
147
|
+
return this._location.pathname;
|
|
154
148
|
}
|
|
155
149
|
get search() {
|
|
156
|
-
return this.
|
|
150
|
+
return this._location.search;
|
|
157
151
|
}
|
|
158
152
|
get hash() {
|
|
159
|
-
return this.
|
|
153
|
+
return this._location.hash;
|
|
160
154
|
}
|
|
161
155
|
set pathname(newPath) {
|
|
162
|
-
this.
|
|
156
|
+
this._location.pathname = newPath;
|
|
163
157
|
}
|
|
164
158
|
pushState(state, title, url) {
|
|
165
159
|
if (supportsState()) {
|
|
166
160
|
this._history.pushState(state, title, url);
|
|
167
161
|
}
|
|
168
162
|
else {
|
|
169
|
-
this.
|
|
163
|
+
this._location.hash = url;
|
|
170
164
|
}
|
|
171
165
|
}
|
|
172
166
|
replaceState(state, title, url) {
|
|
@@ -174,7 +168,7 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
174
168
|
this._history.replaceState(state, title, url);
|
|
175
169
|
}
|
|
176
170
|
else {
|
|
177
|
-
this.
|
|
171
|
+
this._location.hash = url;
|
|
178
172
|
}
|
|
179
173
|
}
|
|
180
174
|
forward() {
|
|
@@ -190,9 +184,9 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
190
184
|
return this._history.state;
|
|
191
185
|
}
|
|
192
186
|
}
|
|
193
|
-
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
194
|
-
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
187
|
+
BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
188
|
+
BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
196
190
|
type: Injectable,
|
|
197
191
|
args: [{
|
|
198
192
|
providedIn: 'platform',
|
|
@@ -313,9 +307,9 @@ class LocationStrategy {
|
|
|
313
307
|
throw new Error('Not implemented');
|
|
314
308
|
}
|
|
315
309
|
}
|
|
316
|
-
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
317
|
-
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
310
|
+
LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
311
|
+
LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
|
|
312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
319
313
|
type: Injectable,
|
|
320
314
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
321
315
|
}] });
|
|
@@ -424,9 +418,9 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
424
418
|
(_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
|
|
425
419
|
}
|
|
426
420
|
}
|
|
427
|
-
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
428
|
-
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
421
|
+
PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
422
|
+
PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
|
|
423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
430
424
|
type: Injectable,
|
|
431
425
|
args: [{ providedIn: 'root' }]
|
|
432
426
|
}], ctorParameters: function () {
|
|
@@ -525,9 +519,9 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
525
519
|
(_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
|
|
526
520
|
}
|
|
527
521
|
}
|
|
528
|
-
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
529
|
-
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
522
|
+
HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
523
|
+
HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: HashLocationStrategy });
|
|
524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
531
525
|
type: Injectable
|
|
532
526
|
}], ctorParameters: function () {
|
|
533
527
|
return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -582,8 +576,14 @@ class Location {
|
|
|
582
576
|
/** @internal */
|
|
583
577
|
this._urlChangeSubscription = null;
|
|
584
578
|
this._locationStrategy = locationStrategy;
|
|
585
|
-
const
|
|
586
|
-
|
|
579
|
+
const baseHref = this._locationStrategy.getBaseHref();
|
|
580
|
+
// Note: This class's interaction with base HREF does not fully follow the rules
|
|
581
|
+
// outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.
|
|
582
|
+
// Instead of trying to fix individual bugs with more and more code, we should
|
|
583
|
+
// investigate using the URL constructor and providing the base as a second
|
|
584
|
+
// argument.
|
|
585
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters
|
|
586
|
+
this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));
|
|
587
587
|
this._locationStrategy.onPopState((ev) => {
|
|
588
588
|
this._subject.emit({
|
|
589
589
|
'url': this.path(true),
|
|
@@ -638,7 +638,7 @@ class Location {
|
|
|
638
638
|
* @returns The normalized URL string.
|
|
639
639
|
*/
|
|
640
640
|
normalize(url) {
|
|
641
|
-
return Location.stripTrailingSlash(
|
|
641
|
+
return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));
|
|
642
642
|
}
|
|
643
643
|
/**
|
|
644
644
|
* Normalizes an external URL path.
|
|
@@ -783,9 +783,9 @@ Location.joinWithSlash = joinWithSlash;
|
|
|
783
783
|
* @returns The URL string, modified if needed.
|
|
784
784
|
*/
|
|
785
785
|
Location.stripTrailingSlash = stripTrailingSlash;
|
|
786
|
-
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
787
|
-
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
786
|
+
Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
787
|
+
Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: Location, decorators: [{
|
|
789
789
|
type: Injectable,
|
|
790
790
|
args: [{
|
|
791
791
|
providedIn: 'root',
|
|
@@ -796,12 +796,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1",
|
|
|
796
796
|
function createLocation() {
|
|
797
797
|
return new Location(ɵɵinject(LocationStrategy));
|
|
798
798
|
}
|
|
799
|
-
function
|
|
800
|
-
return
|
|
799
|
+
function _stripBasePath(basePath, url) {
|
|
800
|
+
return basePath && url.startsWith(basePath) ? url.substring(basePath.length) : url;
|
|
801
801
|
}
|
|
802
802
|
function _stripIndexHtml(url) {
|
|
803
803
|
return url.replace(/\/index.html$/, '');
|
|
804
804
|
}
|
|
805
|
+
function _stripOrigin(baseHref) {
|
|
806
|
+
// DO NOT REFACTOR! Previously, this check looked like this:
|
|
807
|
+
// `/^(https?:)?\/\//.test(baseHref)`, but that resulted in
|
|
808
|
+
// syntactically incorrect code after Closure Compiler minification.
|
|
809
|
+
// This was likely caused by a bug in Closure Compiler, but
|
|
810
|
+
// for now, the check is rewritten to use `new RegExp` instead.
|
|
811
|
+
const isAbsoluteUrl = (new RegExp('^(https?:)?//')).test(baseHref);
|
|
812
|
+
if (isAbsoluteUrl) {
|
|
813
|
+
const [, pathname] = baseHref.split(/\/\/[^\/]+/);
|
|
814
|
+
return pathname;
|
|
815
|
+
}
|
|
816
|
+
return baseHref;
|
|
817
|
+
}
|
|
805
818
|
|
|
806
819
|
/**
|
|
807
820
|
* @license
|
|
@@ -2601,9 +2614,9 @@ function parseIntAutoRadix(text) {
|
|
|
2601
2614
|
*/
|
|
2602
2615
|
class NgLocalization {
|
|
2603
2616
|
}
|
|
2604
|
-
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2605
|
-
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2617
|
+
NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2618
|
+
NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
|
|
2619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2607
2620
|
type: Injectable,
|
|
2608
2621
|
args: [{
|
|
2609
2622
|
providedIn: 'root',
|
|
@@ -2658,9 +2671,9 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2658
2671
|
}
|
|
2659
2672
|
}
|
|
2660
2673
|
}
|
|
2661
|
-
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2662
|
-
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2674
|
+
NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2675
|
+
NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocaleLocalization });
|
|
2676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2664
2677
|
type: Injectable
|
|
2665
2678
|
}], ctorParameters: function () {
|
|
2666
2679
|
return [{ type: undefined, decorators: [{
|
|
@@ -2855,9 +2868,9 @@ class NgClass {
|
|
|
2855
2868
|
}
|
|
2856
2869
|
}
|
|
2857
2870
|
}
|
|
2858
|
-
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2859
|
-
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
2860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2871
|
+
NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2872
|
+
NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
|
|
2873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgClass, decorators: [{
|
|
2861
2874
|
type: Directive,
|
|
2862
2875
|
args: [{
|
|
2863
2876
|
selector: '[ngClass]',
|
|
@@ -2976,9 +2989,9 @@ class NgComponentOutlet {
|
|
|
2976
2989
|
this._moduleRef.destroy();
|
|
2977
2990
|
}
|
|
2978
2991
|
}
|
|
2979
|
-
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2980
|
-
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
2981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
2992
|
+
NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2993
|
+
NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
|
|
2994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2982
2995
|
type: Directive,
|
|
2983
2996
|
args: [{
|
|
2984
2997
|
selector: '[ngComponentOutlet]',
|
|
@@ -3131,14 +3144,6 @@ class NgForOfContext {
|
|
|
3131
3144
|
* @publicApi
|
|
3132
3145
|
*/
|
|
3133
3146
|
class NgForOf {
|
|
3134
|
-
constructor(_viewContainer, _template, _differs) {
|
|
3135
|
-
this._viewContainer = _viewContainer;
|
|
3136
|
-
this._template = _template;
|
|
3137
|
-
this._differs = _differs;
|
|
3138
|
-
this._ngForOf = null;
|
|
3139
|
-
this._ngForOfDirty = true;
|
|
3140
|
-
this._differ = null;
|
|
3141
|
-
}
|
|
3142
3147
|
/**
|
|
3143
3148
|
* The value of the iterable expression, which can be used as a
|
|
3144
3149
|
* [template input variable](guide/structural-directives#shorthand).
|
|
@@ -3178,6 +3183,14 @@ class NgForOf {
|
|
|
3178
3183
|
get ngForTrackBy() {
|
|
3179
3184
|
return this._trackByFn;
|
|
3180
3185
|
}
|
|
3186
|
+
constructor(_viewContainer, _template, _differs) {
|
|
3187
|
+
this._viewContainer = _viewContainer;
|
|
3188
|
+
this._template = _template;
|
|
3189
|
+
this._differs = _differs;
|
|
3190
|
+
this._ngForOf = null;
|
|
3191
|
+
this._ngForOfDirty = true;
|
|
3192
|
+
this._differ = null;
|
|
3193
|
+
}
|
|
3181
3194
|
/**
|
|
3182
3195
|
* A reference to the template that is stamped out for each item in the iterable.
|
|
3183
3196
|
* @see [template reference variable](guide/template-reference-variables)
|
|
@@ -3268,9 +3281,9 @@ class NgForOf {
|
|
|
3268
3281
|
return true;
|
|
3269
3282
|
}
|
|
3270
3283
|
}
|
|
3271
|
-
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3272
|
-
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3284
|
+
NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3285
|
+
NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
|
|
3286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgForOf, decorators: [{
|
|
3274
3287
|
type: Directive,
|
|
3275
3288
|
args: [{
|
|
3276
3289
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3503,9 +3516,9 @@ class NgIf {
|
|
|
3503
3516
|
return true;
|
|
3504
3517
|
}
|
|
3505
3518
|
}
|
|
3506
|
-
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3507
|
-
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3519
|
+
NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3520
|
+
NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
|
|
3521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgIf, decorators: [{
|
|
3509
3522
|
type: Directive,
|
|
3510
3523
|
args: [{
|
|
3511
3524
|
selector: '[ngIf]',
|
|
@@ -3676,9 +3689,9 @@ class NgSwitch {
|
|
|
3676
3689
|
}
|
|
3677
3690
|
}
|
|
3678
3691
|
}
|
|
3679
|
-
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3680
|
-
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3692
|
+
NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3693
|
+
NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
|
|
3694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3682
3695
|
type: Directive,
|
|
3683
3696
|
args: [{
|
|
3684
3697
|
selector: '[ngSwitch]',
|
|
@@ -3737,9 +3750,9 @@ class NgSwitchCase {
|
|
|
3737
3750
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3738
3751
|
}
|
|
3739
3752
|
}
|
|
3740
|
-
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3741
|
-
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3753
|
+
NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3754
|
+
NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
|
|
3755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3743
3756
|
type: Directive,
|
|
3744
3757
|
args: [{
|
|
3745
3758
|
selector: '[ngSwitchCase]',
|
|
@@ -3776,9 +3789,9 @@ class NgSwitchDefault {
|
|
|
3776
3789
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3777
3790
|
}
|
|
3778
3791
|
}
|
|
3779
|
-
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3780
|
-
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3792
|
+
NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3793
|
+
NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
|
|
3794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3782
3795
|
type: Directive,
|
|
3783
3796
|
args: [{
|
|
3784
3797
|
selector: '[ngSwitchDefault]',
|
|
@@ -3864,9 +3877,9 @@ class NgPlural {
|
|
|
3864
3877
|
}
|
|
3865
3878
|
}
|
|
3866
3879
|
}
|
|
3867
|
-
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3868
|
-
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3880
|
+
NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3881
|
+
NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
|
|
3882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPlural, decorators: [{
|
|
3870
3883
|
type: Directive,
|
|
3871
3884
|
args: [{
|
|
3872
3885
|
selector: '[ngPlural]',
|
|
@@ -3902,9 +3915,9 @@ class NgPluralCase {
|
|
|
3902
3915
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3903
3916
|
}
|
|
3904
3917
|
}
|
|
3905
|
-
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3906
|
-
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
3907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
3918
|
+
NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3919
|
+
NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
|
|
3920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3908
3921
|
type: Directive,
|
|
3909
3922
|
args: [{
|
|
3910
3923
|
selector: '[ngPluralCase]',
|
|
@@ -4000,9 +4013,9 @@ class NgStyle {
|
|
|
4000
4013
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
4001
4014
|
}
|
|
4002
4015
|
}
|
|
4003
|
-
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4004
|
-
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4016
|
+
NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4017
|
+
NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
|
|
4018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgStyle, decorators: [{
|
|
4006
4019
|
type: Directive,
|
|
4007
4020
|
args: [{
|
|
4008
4021
|
selector: '[ngStyle]',
|
|
@@ -4082,9 +4095,9 @@ class NgTemplateOutlet {
|
|
|
4082
4095
|
}
|
|
4083
4096
|
}
|
|
4084
4097
|
}
|
|
4085
|
-
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4086
|
-
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4098
|
+
NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4099
|
+
NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
|
|
4100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
4088
4101
|
type: Directive,
|
|
4089
4102
|
args: [{
|
|
4090
4103
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4256,9 +4269,9 @@ class AsyncPipe {
|
|
|
4256
4269
|
}
|
|
4257
4270
|
}
|
|
4258
4271
|
}
|
|
4259
|
-
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4260
|
-
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4272
|
+
AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4273
|
+
AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
|
|
4274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4262
4275
|
type: Pipe,
|
|
4263
4276
|
args: [{
|
|
4264
4277
|
name: 'async',
|
|
@@ -4299,9 +4312,9 @@ class LowerCasePipe {
|
|
|
4299
4312
|
return value.toLowerCase();
|
|
4300
4313
|
}
|
|
4301
4314
|
}
|
|
4302
|
-
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4303
|
-
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4315
|
+
LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4316
|
+
LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
|
|
4317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4305
4318
|
type: Pipe,
|
|
4306
4319
|
args: [{
|
|
4307
4320
|
name: 'lowercase',
|
|
@@ -4344,9 +4357,9 @@ class TitleCasePipe {
|
|
|
4344
4357
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4345
4358
|
}
|
|
4346
4359
|
}
|
|
4347
|
-
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4348
|
-
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4360
|
+
TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4361
|
+
TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
|
|
4362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4350
4363
|
type: Pipe,
|
|
4351
4364
|
args: [{
|
|
4352
4365
|
name: 'titlecase',
|
|
@@ -4371,9 +4384,9 @@ class UpperCasePipe {
|
|
|
4371
4384
|
return value.toUpperCase();
|
|
4372
4385
|
}
|
|
4373
4386
|
}
|
|
4374
|
-
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4375
|
-
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4387
|
+
UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4388
|
+
UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
|
|
4389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4377
4390
|
type: Pipe,
|
|
4378
4391
|
args: [{
|
|
4379
4392
|
name: 'uppercase',
|
|
@@ -4619,9 +4632,9 @@ class DatePipe {
|
|
|
4619
4632
|
}
|
|
4620
4633
|
}
|
|
4621
4634
|
}
|
|
4622
|
-
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4623
|
-
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4635
|
+
DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", 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 });
|
|
4636
|
+
DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
|
|
4637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DatePipe, decorators: [{
|
|
4625
4638
|
type: Pipe,
|
|
4626
4639
|
args: [{
|
|
4627
4640
|
name: 'date',
|
|
@@ -4688,9 +4701,9 @@ class I18nPluralPipe {
|
|
|
4688
4701
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4689
4702
|
}
|
|
4690
4703
|
}
|
|
4691
|
-
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4692
|
-
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4704
|
+
I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4705
|
+
I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
|
|
4706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4694
4707
|
type: Pipe,
|
|
4695
4708
|
args: [{
|
|
4696
4709
|
name: 'i18nPlural',
|
|
@@ -4744,9 +4757,9 @@ class I18nSelectPipe {
|
|
|
4744
4757
|
return '';
|
|
4745
4758
|
}
|
|
4746
4759
|
}
|
|
4747
|
-
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4748
|
-
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4760
|
+
I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4761
|
+
I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
|
|
4762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4750
4763
|
type: Pipe,
|
|
4751
4764
|
args: [{
|
|
4752
4765
|
name: 'i18nSelect',
|
|
@@ -4785,9 +4798,9 @@ class JsonPipe {
|
|
|
4785
4798
|
return JSON.stringify(value, null, 2);
|
|
4786
4799
|
}
|
|
4787
4800
|
}
|
|
4788
|
-
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4789
|
-
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4801
|
+
JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4802
|
+
JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
|
|
4803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4791
4804
|
type: Pipe,
|
|
4792
4805
|
args: [{
|
|
4793
4806
|
name: 'json',
|
|
@@ -4855,9 +4868,9 @@ class KeyValuePipe {
|
|
|
4855
4868
|
return this.keyValues;
|
|
4856
4869
|
}
|
|
4857
4870
|
}
|
|
4858
|
-
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4859
|
-
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4871
|
+
KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4872
|
+
KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
|
|
4873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4861
4874
|
type: Pipe,
|
|
4862
4875
|
args: [{
|
|
4863
4876
|
name: 'keyvalue',
|
|
@@ -4990,9 +5003,9 @@ class DecimalPipe {
|
|
|
4990
5003
|
}
|
|
4991
5004
|
}
|
|
4992
5005
|
}
|
|
4993
|
-
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
4994
|
-
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
4995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5006
|
+
DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5007
|
+
DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
|
|
5008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4996
5009
|
type: Pipe,
|
|
4997
5010
|
args: [{
|
|
4998
5011
|
name: 'number',
|
|
@@ -5057,9 +5070,9 @@ class PercentPipe {
|
|
|
5057
5070
|
}
|
|
5058
5071
|
}
|
|
5059
5072
|
}
|
|
5060
|
-
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5061
|
-
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5073
|
+
PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5074
|
+
PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
|
|
5075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PercentPipe, decorators: [{
|
|
5063
5076
|
type: Pipe,
|
|
5064
5077
|
args: [{
|
|
5065
5078
|
name: 'percent',
|
|
@@ -5177,9 +5190,9 @@ class CurrencyPipe {
|
|
|
5177
5190
|
}
|
|
5178
5191
|
}
|
|
5179
5192
|
}
|
|
5180
|
-
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5181
|
-
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5193
|
+
CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5194
|
+
CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
|
|
5195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
5183
5196
|
type: Pipe,
|
|
5184
5197
|
args: [{
|
|
5185
5198
|
name: 'currency',
|
|
@@ -5266,9 +5279,9 @@ class SlicePipe {
|
|
|
5266
5279
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5267
5280
|
}
|
|
5268
5281
|
}
|
|
5269
|
-
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5270
|
-
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5282
|
+
SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5283
|
+
SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
|
|
5284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5272
5285
|
type: Pipe,
|
|
5273
5286
|
args: [{
|
|
5274
5287
|
name: 'slice',
|
|
@@ -5322,10 +5335,10 @@ const COMMON_PIPES = [
|
|
|
5322
5335
|
*/
|
|
5323
5336
|
class CommonModule {
|
|
5324
5337
|
}
|
|
5325
|
-
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5326
|
-
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
5327
|
-
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
5338
|
+
CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5339
|
+
CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.3", 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] });
|
|
5340
|
+
CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule });
|
|
5341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule, decorators: [{
|
|
5329
5342
|
type: NgModule,
|
|
5330
5343
|
args: [{
|
|
5331
5344
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5383,7 +5396,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5383
5396
|
/**
|
|
5384
5397
|
* @publicApi
|
|
5385
5398
|
*/
|
|
5386
|
-
const VERSION = new Version('15.1.0-next.
|
|
5399
|
+
const VERSION = new Version('15.1.0-next.3');
|
|
5387
5400
|
|
|
5388
5401
|
/**
|
|
5389
5402
|
* @license
|
|
@@ -5998,9 +6011,9 @@ class LCPImageObserver {
|
|
|
5998
6011
|
this.alreadyWarned.clear();
|
|
5999
6012
|
}
|
|
6000
6013
|
}
|
|
6001
|
-
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6002
|
-
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6014
|
+
LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6015
|
+
LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
|
|
6016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
6004
6017
|
type: Injectable,
|
|
6005
6018
|
args: [{ providedIn: 'root' }]
|
|
6006
6019
|
}], ctorParameters: function () { return []; } });
|
|
@@ -6127,9 +6140,9 @@ class PreconnectLinkChecker {
|
|
|
6127
6140
|
this.alreadySeen.clear();
|
|
6128
6141
|
}
|
|
6129
6142
|
}
|
|
6130
|
-
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6131
|
-
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6143
|
+
PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6144
|
+
PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
|
|
6145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
6133
6146
|
type: Injectable,
|
|
6134
6147
|
args: [{ providedIn: 'root' }]
|
|
6135
6148
|
}], ctorParameters: function () { return []; } });
|
|
@@ -6230,9 +6243,9 @@ class PreloadLinkCreator {
|
|
|
6230
6243
|
renderer.appendChild(this.document.head, preload);
|
|
6231
6244
|
}
|
|
6232
6245
|
}
|
|
6233
|
-
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6234
|
-
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6246
|
+
PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6247
|
+
PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
|
|
6248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
6236
6249
|
type: Injectable,
|
|
6237
6250
|
args: [{ providedIn: 'root' }]
|
|
6238
6251
|
}] });
|
|
@@ -6291,6 +6304,12 @@ const ASPECT_RATIO_TOLERANCE = .1;
|
|
|
6291
6304
|
* into account a typical device pixel ratio). In pixels.
|
|
6292
6305
|
*/
|
|
6293
6306
|
const OVERSIZED_IMAGE_TOLERANCE = 1000;
|
|
6307
|
+
/**
|
|
6308
|
+
* Used to limit automatic srcset generation of very large sources for
|
|
6309
|
+
* fixed-size images. In pixels.
|
|
6310
|
+
*/
|
|
6311
|
+
const FIXED_SRCSET_WIDTH_LIMIT = 1920;
|
|
6312
|
+
const FIXED_SRCSET_HEIGHT_LIMIT = 1080;
|
|
6294
6313
|
/** Info about built-in loaders we can test for. */
|
|
6295
6314
|
const BUILT_IN_LOADERS = [imgixLoaderInfo, imageKitLoaderInfo, cloudinaryLoaderInfo];
|
|
6296
6315
|
const defaultConfig = {
|
|
@@ -6546,7 +6565,7 @@ class NgOptimizedImage {
|
|
|
6546
6565
|
if (this.ngSrcset) {
|
|
6547
6566
|
rewrittenSrcset = this.getRewrittenSrcset();
|
|
6548
6567
|
}
|
|
6549
|
-
else if (
|
|
6568
|
+
else if (this.shouldGenerateAutomaticSrcset()) {
|
|
6550
6569
|
rewrittenSrcset = this.getAutomaticSrcset();
|
|
6551
6570
|
}
|
|
6552
6571
|
if (rewrittenSrcset) {
|
|
@@ -6625,6 +6644,10 @@ class NgOptimizedImage {
|
|
|
6625
6644
|
const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.imageLoader({ src: this.ngSrc, width: this.width * multiplier })} ${multiplier}x`);
|
|
6626
6645
|
return finalSrcs.join(', ');
|
|
6627
6646
|
}
|
|
6647
|
+
shouldGenerateAutomaticSrcset() {
|
|
6648
|
+
return !this._disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader &&
|
|
6649
|
+
!(this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT);
|
|
6650
|
+
}
|
|
6628
6651
|
/** @nodoc */
|
|
6629
6652
|
ngOnDestroy() {
|
|
6630
6653
|
if (ngDevMode) {
|
|
@@ -6637,9 +6660,9 @@ class NgOptimizedImage {
|
|
|
6637
6660
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6638
6661
|
}
|
|
6639
6662
|
}
|
|
6640
|
-
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6641
|
-
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.
|
|
6642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
6663
|
+
NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6664
|
+
NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", 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 });
|
|
6665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6643
6666
|
type: Directive,
|
|
6644
6667
|
args: [{
|
|
6645
6668
|
standalone: true,
|
|
@@ -7050,5 +7073,5 @@ function assertNotMissingBuiltInLoader(ngSrc, imageLoader) {
|
|
|
7050
7073
|
* Generated bundle index. Do not edit.
|
|
7051
7074
|
*/
|
|
7052
7075
|
|
|
7053
|
-
export { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, BrowserPlatformLocation as ɵBrowserPlatformLocation, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };
|
|
7076
|
+
export { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, BrowserPlatformLocation as ɵBrowserPlatformLocation, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };
|
|
7054
7077
|
//# sourceMappingURL=common.mjs.map
|