@angular/common 16.0.0 → 16.0.2
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/src/client.mjs +3 -3
- package/esm2022/http/src/interceptor.mjs +3 -3
- package/esm2022/http/src/jsonp.mjs +6 -6
- package/esm2022/http/src/module.mjs +12 -12
- package/esm2022/http/src/xhr.mjs +243 -232
- package/esm2022/http/src/xsrf.mjs +6 -6
- package/esm2022/http/testing/src/backend.mjs +3 -3
- package/esm2022/http/testing/src/module.mjs +4 -4
- package/esm2022/src/common_module.mjs +4 -4
- package/esm2022/src/directives/ng_class.mjs +3 -3
- package/esm2022/src/directives/ng_component_outlet.mjs +3 -3
- package/esm2022/src/directives/ng_for_of.mjs +3 -3
- package/esm2022/src/directives/ng_if.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/ng_optimized_image.mjs +11 -8
- package/esm2022/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
- package/esm2022/src/directives/ng_plural.mjs +6 -6
- package/esm2022/src/directives/ng_style.mjs +3 -3
- package/esm2022/src/directives/ng_switch.mjs +9 -9
- package/esm2022/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2022/src/i18n/format_date.mjs +2 -2
- package/esm2022/src/i18n/format_number.mjs +4 -4
- package/esm2022/src/i18n/locale_data_api.mjs +27 -27
- package/esm2022/src/i18n/localization.mjs +6 -6
- package/esm2022/src/location/hash_location_strategy.mjs +3 -3
- package/esm2022/src/location/location.mjs +3 -3
- package/esm2022/src/location/location_strategy.mjs +6 -6
- package/esm2022/src/location/platform_location.mjs +15 -42
- package/esm2022/src/pipes/async_pipe.mjs +3 -3
- package/esm2022/src/pipes/case_conversion_pipes.mjs +9 -9
- package/esm2022/src/pipes/date_pipe.mjs +3 -3
- package/esm2022/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2022/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2022/src/pipes/json_pipe.mjs +3 -3
- package/esm2022/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2022/src/pipes/number_pipe.mjs +9 -9
- package/esm2022/src/pipes/slice_pipe.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/location_mock.mjs +3 -3
- package/esm2022/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2022/testing/src/mock_platform_location.mjs +3 -3
- package/esm2022/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2022/common.mjs +159 -183
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +273 -263
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +10 -10
- package/fesm2022/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +31 -31
- 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.0.
|
|
2
|
+
* @license Angular v16.0.2
|
|
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, Injectable,
|
|
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';
|
|
9
9
|
|
|
10
10
|
let _DOM = null;
|
|
11
11
|
function getDOM() {
|
|
@@ -61,20 +61,13 @@ 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.0.
|
|
65
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
65
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
68
68
|
type: Injectable,
|
|
69
|
-
args: [{
|
|
70
|
-
providedIn: 'platform',
|
|
71
|
-
// See #23917
|
|
72
|
-
useFactory: useBrowserPlatformLocation
|
|
73
|
-
}]
|
|
69
|
+
args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]
|
|
74
70
|
}] });
|
|
75
|
-
function useBrowserPlatformLocation() {
|
|
76
|
-
return ɵɵinject(BrowserPlatformLocation);
|
|
77
|
-
}
|
|
78
71
|
/**
|
|
79
72
|
* @description
|
|
80
73
|
* Indicates when a location is initialized.
|
|
@@ -90,9 +83,9 @@ const LOCATION_INITIALIZED = new InjectionToken('Location Initialized');
|
|
|
90
83
|
* @publicApi
|
|
91
84
|
*/
|
|
92
85
|
class BrowserPlatformLocation extends PlatformLocation {
|
|
93
|
-
constructor(
|
|
86
|
+
constructor() {
|
|
94
87
|
super();
|
|
95
|
-
this._doc =
|
|
88
|
+
this._doc = inject(DOCUMENT);
|
|
96
89
|
this._location = window.location;
|
|
97
90
|
this._history = window.history;
|
|
98
91
|
}
|
|
@@ -134,20 +127,10 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
134
127
|
this._location.pathname = newPath;
|
|
135
128
|
}
|
|
136
129
|
pushState(state, title, url) {
|
|
137
|
-
|
|
138
|
-
this._history.pushState(state, title, url);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
this._location.hash = url;
|
|
142
|
-
}
|
|
130
|
+
this._history.pushState(state, title, url);
|
|
143
131
|
}
|
|
144
132
|
replaceState(state, title, url) {
|
|
145
|
-
|
|
146
|
-
this._history.replaceState(state, title, url);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
this._location.hash = url;
|
|
150
|
-
}
|
|
133
|
+
this._history.replaceState(state, title, url);
|
|
151
134
|
}
|
|
152
135
|
forward() {
|
|
153
136
|
this._history.forward();
|
|
@@ -161,26 +144,16 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
161
144
|
getState() {
|
|
162
145
|
return this._history.state;
|
|
163
146
|
}
|
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
165
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
148
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }
|
|
166
149
|
}
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
168
151
|
type: Injectable,
|
|
169
152
|
args: [{
|
|
170
153
|
providedIn: 'platform',
|
|
171
|
-
|
|
172
|
-
useFactory: createBrowserPlatformLocation,
|
|
154
|
+
useFactory: () => new BrowserPlatformLocation(),
|
|
173
155
|
}]
|
|
174
|
-
}], ctorParameters: function () { return [
|
|
175
|
-
type: Inject,
|
|
176
|
-
args: [DOCUMENT]
|
|
177
|
-
}] }]; } });
|
|
178
|
-
function supportsState() {
|
|
179
|
-
return !!window.history.pushState;
|
|
180
|
-
}
|
|
181
|
-
function createBrowserPlatformLocation() {
|
|
182
|
-
return new BrowserPlatformLocation(ɵɵinject(DOCUMENT));
|
|
183
|
-
}
|
|
156
|
+
}], ctorParameters: function () { return []; } });
|
|
184
157
|
|
|
185
158
|
/**
|
|
186
159
|
* Joins two parts of a URL with a slash if needed.
|
|
@@ -260,10 +233,10 @@ class LocationStrategy {
|
|
|
260
233
|
historyGo(relativePosition) {
|
|
261
234
|
throw new Error('Not implemented');
|
|
262
235
|
}
|
|
263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
264
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }
|
|
265
238
|
}
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
267
240
|
type: Injectable,
|
|
268
241
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
269
242
|
}] });
|
|
@@ -370,10 +343,10 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
370
343
|
historyGo(relativePosition = 0) {
|
|
371
344
|
this._platformLocation.historyGo?.(relativePosition);
|
|
372
345
|
}
|
|
373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
374
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }
|
|
375
348
|
}
|
|
376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
377
350
|
type: Injectable,
|
|
378
351
|
args: [{ providedIn: 'root' }]
|
|
379
352
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -461,10 +434,10 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
461
434
|
historyGo(relativePosition = 0) {
|
|
462
435
|
this._platformLocation.historyGo?.(relativePosition);
|
|
463
436
|
}
|
|
464
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
465
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", ngImport: i0, type: HashLocationStrategy }); }
|
|
466
439
|
}
|
|
467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
468
441
|
type: Injectable
|
|
469
442
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
470
443
|
type: Optional
|
|
@@ -713,10 +686,10 @@ class Location {
|
|
|
713
686
|
* @returns The URL string, modified if needed.
|
|
714
687
|
*/
|
|
715
688
|
static { this.stripTrailingSlash = stripTrailingSlash; }
|
|
716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
717
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
690
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }
|
|
718
691
|
}
|
|
719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Location, decorators: [{
|
|
720
693
|
type: Injectable,
|
|
721
694
|
args: [{
|
|
722
695
|
providedIn: 'root',
|
|
@@ -760,7 +733,7 @@ const CURRENCIES_EN = { "ADP": [undefined, undefined, 0], "AFN": [undefined, "؋
|
|
|
760
733
|
/**
|
|
761
734
|
* Format styles that can be used to represent numbers.
|
|
762
735
|
* @see `getLocaleNumberFormat()`.
|
|
763
|
-
* @see [Internationalization (i18n) Guide](
|
|
736
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
764
737
|
*
|
|
765
738
|
* @publicApi
|
|
766
739
|
*/
|
|
@@ -776,7 +749,7 @@ var NumberFormatStyle;
|
|
|
776
749
|
*
|
|
777
750
|
* @see `NgPlural`
|
|
778
751
|
* @see `NgPluralCase`
|
|
779
|
-
* @see [Internationalization (i18n) Guide](
|
|
752
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
780
753
|
*
|
|
781
754
|
* @publicApi
|
|
782
755
|
*/
|
|
@@ -794,7 +767,7 @@ var Plural;
|
|
|
794
767
|
* Typically the standalone version is for the nominative form of the word,
|
|
795
768
|
* and the format version is used for the genitive case.
|
|
796
769
|
* @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)
|
|
797
|
-
* @see [Internationalization (i18n) Guide](
|
|
770
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
798
771
|
*
|
|
799
772
|
* @publicApi
|
|
800
773
|
*/
|
|
@@ -829,7 +802,7 @@ var TranslationWidth;
|
|
|
829
802
|
* @see `getLocaleDateFormat()`
|
|
830
803
|
* @see `getLocaleTimeFormat()`
|
|
831
804
|
* @see `getLocaleDateTimeFormat()`
|
|
832
|
-
* @see [Internationalization (i18n) Guide](
|
|
805
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
833
806
|
* @publicApi
|
|
834
807
|
*/
|
|
835
808
|
var FormatWidth;
|
|
@@ -860,7 +833,7 @@ var FormatWidth;
|
|
|
860
833
|
* Examples are based on `en-US` values.
|
|
861
834
|
*
|
|
862
835
|
* @see `getLocaleNumberSymbol()`
|
|
863
|
-
* @see [Internationalization (i18n) Guide](
|
|
836
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
864
837
|
*
|
|
865
838
|
* @publicApi
|
|
866
839
|
*/
|
|
@@ -959,7 +932,7 @@ var WeekDay;
|
|
|
959
932
|
* The loaded locale could be, for example, a global one rather than a regional one.
|
|
960
933
|
* @param locale A locale code, such as `fr-FR`.
|
|
961
934
|
* @returns The locale code. For example, `fr`.
|
|
962
|
-
* @see [Internationalization (i18n) Guide](
|
|
935
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
963
936
|
*
|
|
964
937
|
* @publicApi
|
|
965
938
|
*/
|
|
@@ -973,7 +946,7 @@ function getLocaleId(locale) {
|
|
|
973
946
|
* @param formStyle The required grammatical form.
|
|
974
947
|
* @param width The required character width.
|
|
975
948
|
* @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.
|
|
976
|
-
* @see [Internationalization (i18n) Guide](
|
|
949
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
977
950
|
*
|
|
978
951
|
* @publicApi
|
|
979
952
|
*/
|
|
@@ -993,7 +966,7 @@ function getLocaleDayPeriods(locale, formStyle, width) {
|
|
|
993
966
|
* @param width The required character width.
|
|
994
967
|
* @returns An array of localized name strings.
|
|
995
968
|
* For example,`[Sunday, Monday, ... Saturday]` for `en-US`.
|
|
996
|
-
* @see [Internationalization (i18n) Guide](
|
|
969
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
997
970
|
*
|
|
998
971
|
* @publicApi
|
|
999
972
|
*/
|
|
@@ -1011,7 +984,7 @@ function getLocaleDayNames(locale, formStyle, width) {
|
|
|
1011
984
|
* @param width The required character width.
|
|
1012
985
|
* @returns An array of localized name strings.
|
|
1013
986
|
* For example, `[January, February, ...]` for `en-US`.
|
|
1014
|
-
* @see [Internationalization (i18n) Guide](
|
|
987
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1015
988
|
*
|
|
1016
989
|
* @publicApi
|
|
1017
990
|
*/
|
|
@@ -1028,7 +1001,7 @@ function getLocaleMonthNames(locale, formStyle, width) {
|
|
|
1028
1001
|
|
|
1029
1002
|
* @returns An array of localized era strings.
|
|
1030
1003
|
* For example, `[AD, BC]` for `en-US`.
|
|
1031
|
-
* @see [Internationalization (i18n) Guide](
|
|
1004
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1032
1005
|
*
|
|
1033
1006
|
* @publicApi
|
|
1034
1007
|
*/
|
|
@@ -1044,7 +1017,7 @@ function getLocaleEraNames(locale, width) {
|
|
|
1044
1017
|
* @returns A day index number, using the 0-based week-day index for `en-US`
|
|
1045
1018
|
* (Sunday = 0, Monday = 1, ...).
|
|
1046
1019
|
* For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.
|
|
1047
|
-
* @see [Internationalization (i18n) Guide](
|
|
1020
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1048
1021
|
*
|
|
1049
1022
|
* @publicApi
|
|
1050
1023
|
*/
|
|
@@ -1057,7 +1030,7 @@ function getLocaleFirstDayOfWeek(locale) {
|
|
|
1057
1030
|
*
|
|
1058
1031
|
* @param locale A locale code for the locale format rules to use.
|
|
1059
1032
|
* @returns The range of day values, `[startDay, endDay]`.
|
|
1060
|
-
* @see [Internationalization (i18n) Guide](
|
|
1033
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1061
1034
|
*
|
|
1062
1035
|
* @publicApi
|
|
1063
1036
|
*/
|
|
@@ -1072,7 +1045,7 @@ function getLocaleWeekEndRange(locale) {
|
|
|
1072
1045
|
* @param width The format type.
|
|
1073
1046
|
* @returns The localized formatting string.
|
|
1074
1047
|
* @see `FormatWidth`
|
|
1075
|
-
* @see [Internationalization (i18n) Guide](
|
|
1048
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1076
1049
|
*
|
|
1077
1050
|
* @publicApi
|
|
1078
1051
|
*/
|
|
@@ -1087,7 +1060,7 @@ function getLocaleDateFormat(locale, width) {
|
|
|
1087
1060
|
* @param width The format type.
|
|
1088
1061
|
* @returns The localized formatting string.
|
|
1089
1062
|
* @see `FormatWidth`
|
|
1090
|
-
* @see [Internationalization (i18n) Guide](
|
|
1063
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1091
1064
|
|
|
1092
1065
|
* @publicApi
|
|
1093
1066
|
*/
|
|
@@ -1102,7 +1075,7 @@ function getLocaleTimeFormat(locale, width) {
|
|
|
1102
1075
|
* @param width The format type.
|
|
1103
1076
|
* @returns The localized formatting string.
|
|
1104
1077
|
* @see `FormatWidth`
|
|
1105
|
-
* @see [Internationalization (i18n) Guide](
|
|
1078
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1106
1079
|
*
|
|
1107
1080
|
* @publicApi
|
|
1108
1081
|
*/
|
|
@@ -1117,7 +1090,7 @@ function getLocaleDateTimeFormat(locale, width) {
|
|
|
1117
1090
|
* @param symbol The symbol to localize.
|
|
1118
1091
|
* @returns The character for the localized symbol.
|
|
1119
1092
|
* @see `NumberSymbol`
|
|
1120
|
-
* @see [Internationalization (i18n) Guide](
|
|
1093
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1121
1094
|
*
|
|
1122
1095
|
* @publicApi
|
|
1123
1096
|
*/
|
|
@@ -1165,7 +1138,7 @@ function getLocaleNumberSymbol(locale, symbol) {
|
|
|
1165
1138
|
* @returns The localized format string.
|
|
1166
1139
|
* @see `NumberFormatStyle`
|
|
1167
1140
|
* @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
|
|
1168
|
-
* @see [Internationalization (i18n) Guide](
|
|
1141
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1169
1142
|
*
|
|
1170
1143
|
* @publicApi
|
|
1171
1144
|
*/
|
|
@@ -1180,7 +1153,7 @@ function getLocaleNumberFormat(locale, type) {
|
|
|
1180
1153
|
* @param locale A locale code for the locale format rules to use.
|
|
1181
1154
|
* @returns The localized symbol character,
|
|
1182
1155
|
* or `null` if the main country cannot be determined.
|
|
1183
|
-
* @see [Internationalization (i18n) Guide](
|
|
1156
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1184
1157
|
*
|
|
1185
1158
|
* @publicApi
|
|
1186
1159
|
*/
|
|
@@ -1194,7 +1167,7 @@ function getLocaleCurrencySymbol(locale) {
|
|
|
1194
1167
|
* @param locale A locale code for the locale format rules to use.
|
|
1195
1168
|
* @returns The currency name,
|
|
1196
1169
|
* or `null` if the main country cannot be determined.
|
|
1197
|
-
* @see [Internationalization (i18n) Guide](
|
|
1170
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1198
1171
|
*
|
|
1199
1172
|
* @publicApi
|
|
1200
1173
|
*/
|
|
@@ -1219,7 +1192,7 @@ function getLocaleCurrencyCode(locale) {
|
|
|
1219
1192
|
* Retrieves the currency values for a given locale.
|
|
1220
1193
|
* @param locale A locale code for the locale format rules to use.
|
|
1221
1194
|
* @returns The currency values.
|
|
1222
|
-
* @see [Internationalization (i18n) Guide](
|
|
1195
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1223
1196
|
*/
|
|
1224
1197
|
function getLocaleCurrencies(locale) {
|
|
1225
1198
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1254,7 +1227,7 @@ function checkFullData(data) {
|
|
|
1254
1227
|
* or null if no periods are available.
|
|
1255
1228
|
*
|
|
1256
1229
|
* @see `getLocaleExtraDayPeriods()`
|
|
1257
|
-
* @see [Internationalization (i18n) Guide](
|
|
1230
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1258
1231
|
*
|
|
1259
1232
|
* @publicApi
|
|
1260
1233
|
*/
|
|
@@ -1282,7 +1255,7 @@ function getLocaleExtraDayPeriodRules(locale) {
|
|
|
1282
1255
|
* @param width The required character width.
|
|
1283
1256
|
* @returns The translated day-period strings.
|
|
1284
1257
|
* @see `getLocaleExtraDayPeriodRules()`
|
|
1285
|
-
* @see [Internationalization (i18n) Guide](
|
|
1258
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1286
1259
|
*
|
|
1287
1260
|
* @publicApi
|
|
1288
1261
|
*/
|
|
@@ -1301,7 +1274,7 @@ function getLocaleExtraDayPeriods(locale, formStyle, width) {
|
|
|
1301
1274
|
* @param locale A locale code for the locale format rules to use.
|
|
1302
1275
|
* @publicApi
|
|
1303
1276
|
* @returns 'rtl' or 'ltr'
|
|
1304
|
-
* @see [Internationalization (i18n) Guide](
|
|
1277
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1305
1278
|
*/
|
|
1306
1279
|
function getLocaleDirection(locale) {
|
|
1307
1280
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1316,7 +1289,7 @@ function getLocaleDirection(locale) {
|
|
|
1316
1289
|
* @param data The data array to retrieve from.
|
|
1317
1290
|
* @param index A 0-based index into the array to start from.
|
|
1318
1291
|
* @returns The value immediately before the given index position.
|
|
1319
|
-
* @see [Internationalization (i18n) Guide](
|
|
1292
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1320
1293
|
*
|
|
1321
1294
|
* @publicApi
|
|
1322
1295
|
*/
|
|
@@ -1346,7 +1319,7 @@ function extractTime(time) {
|
|
|
1346
1319
|
* @param locale A locale code for the locale format rules to use.
|
|
1347
1320
|
*
|
|
1348
1321
|
* @returns The symbol, or the currency code if no symbol is available.
|
|
1349
|
-
* @see [Internationalization (i18n) Guide](
|
|
1322
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1350
1323
|
*
|
|
1351
1324
|
* @publicApi
|
|
1352
1325
|
*/
|
|
@@ -1366,7 +1339,7 @@ const DEFAULT_NB_OF_CURRENCY_DIGITS = 2;
|
|
|
1366
1339
|
*
|
|
1367
1340
|
* @param code The currency code.
|
|
1368
1341
|
* @returns The number of decimal digits, typically 0 or 2.
|
|
1369
|
-
* @see [Internationalization (i18n) Guide](
|
|
1342
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1370
1343
|
*
|
|
1371
1344
|
* @publicApi
|
|
1372
1345
|
*/
|
|
@@ -1425,7 +1398,7 @@ var TranslationType;
|
|
|
1425
1398
|
* @returns The formatted date string.
|
|
1426
1399
|
*
|
|
1427
1400
|
* @see `DatePipe`
|
|
1428
|
-
* @see [Internationalization (i18n) Guide](
|
|
1401
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1429
1402
|
*
|
|
1430
1403
|
* @publicApi
|
|
1431
1404
|
*/
|
|
@@ -2235,7 +2208,7 @@ function formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimal
|
|
|
2235
2208
|
*
|
|
2236
2209
|
* @see `formatNumber()`
|
|
2237
2210
|
* @see `DecimalPipe`
|
|
2238
|
-
* @see [Internationalization (i18n) Guide](
|
|
2211
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2239
2212
|
*
|
|
2240
2213
|
* @publicApi
|
|
2241
2214
|
*/
|
|
@@ -2270,7 +2243,7 @@ function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {
|
|
|
2270
2243
|
*
|
|
2271
2244
|
* @see `formatNumber()`
|
|
2272
2245
|
* @see `DecimalPipe`
|
|
2273
|
-
* @see [Internationalization (i18n) Guide](
|
|
2246
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2274
2247
|
* @publicApi
|
|
2275
2248
|
*
|
|
2276
2249
|
*/
|
|
@@ -2293,7 +2266,7 @@ function formatPercent(value, locale, digitsInfo) {
|
|
|
2293
2266
|
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
|
|
2294
2267
|
*
|
|
2295
2268
|
* @returns The formatted text string.
|
|
2296
|
-
* @see [Internationalization (i18n) Guide](
|
|
2269
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2297
2270
|
*
|
|
2298
2271
|
* @publicApi
|
|
2299
2272
|
*/
|
|
@@ -2508,10 +2481,10 @@ function parseIntAutoRadix(text) {
|
|
|
2508
2481
|
* @publicApi
|
|
2509
2482
|
*/
|
|
2510
2483
|
class NgLocalization {
|
|
2511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
2512
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
2484
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2485
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }
|
|
2513
2486
|
}
|
|
2514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
2487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2515
2488
|
type: Injectable,
|
|
2516
2489
|
args: [{
|
|
2517
2490
|
providedIn: 'root',
|
|
@@ -2565,10 +2538,10 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2565
2538
|
return 'other';
|
|
2566
2539
|
}
|
|
2567
2540
|
}
|
|
2568
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
2569
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
2541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgLocaleLocalization }); }
|
|
2570
2543
|
}
|
|
2571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
2544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2572
2545
|
type: Injectable
|
|
2573
2546
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2574
2547
|
type: Inject,
|
|
@@ -2741,10 +2714,10 @@ class NgClass {
|
|
|
2741
2714
|
});
|
|
2742
2715
|
}
|
|
2743
2716
|
}
|
|
2744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
2745
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
2717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 }); }
|
|
2746
2719
|
}
|
|
2747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
2720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgClass, decorators: [{
|
|
2748
2721
|
type: Directive,
|
|
2749
2722
|
args: [{
|
|
2750
2723
|
selector: '[ngClass]',
|
|
@@ -2855,10 +2828,10 @@ class NgComponentOutlet {
|
|
|
2855
2828
|
if (this._moduleRef)
|
|
2856
2829
|
this._moduleRef.destroy();
|
|
2857
2830
|
}
|
|
2858
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
2859
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
2831
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2832
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 }); }
|
|
2860
2833
|
}
|
|
2861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
2834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2862
2835
|
type: Directive,
|
|
2863
2836
|
args: [{
|
|
2864
2837
|
selector: '[ngComponentOutlet]',
|
|
@@ -3136,10 +3109,10 @@ class NgForOf {
|
|
|
3136
3109
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3137
3110
|
return true;
|
|
3138
3111
|
}
|
|
3139
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3140
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 }); }
|
|
3141
3114
|
}
|
|
3142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgForOf, decorators: [{
|
|
3143
3116
|
type: Directive,
|
|
3144
3117
|
args: [{
|
|
3145
3118
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3364,10 +3337,10 @@ class NgIf {
|
|
|
3364
3337
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3365
3338
|
return true;
|
|
3366
3339
|
}
|
|
3367
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3368
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 }); }
|
|
3369
3342
|
}
|
|
3370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgIf, decorators: [{
|
|
3371
3344
|
type: Directive,
|
|
3372
3345
|
args: [{
|
|
3373
3346
|
selector: '[ngIf]',
|
|
@@ -3527,10 +3500,10 @@ class NgSwitch {
|
|
|
3527
3500
|
}
|
|
3528
3501
|
}
|
|
3529
3502
|
}
|
|
3530
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3531
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3503
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3504
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 }); }
|
|
3532
3505
|
}
|
|
3533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3534
3507
|
type: Directive,
|
|
3535
3508
|
args: [{
|
|
3536
3509
|
selector: '[ngSwitch]',
|
|
@@ -3588,10 +3561,10 @@ class NgSwitchCase {
|
|
|
3588
3561
|
ngDoCheck() {
|
|
3589
3562
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3590
3563
|
}
|
|
3591
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3592
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 }); }
|
|
3593
3566
|
}
|
|
3594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3595
3568
|
type: Directive,
|
|
3596
3569
|
args: [{
|
|
3597
3570
|
selector: '[ngSwitchCase]',
|
|
@@ -3625,10 +3598,10 @@ class NgSwitchDefault {
|
|
|
3625
3598
|
}
|
|
3626
3599
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3627
3600
|
}
|
|
3628
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3629
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 }); }
|
|
3630
3603
|
}
|
|
3631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3632
3605
|
type: Directive,
|
|
3633
3606
|
args: [{
|
|
3634
3607
|
selector: '[ngSwitchDefault]',
|
|
@@ -3703,10 +3676,10 @@ class NgPlural {
|
|
|
3703
3676
|
this._activeView.create();
|
|
3704
3677
|
}
|
|
3705
3678
|
}
|
|
3706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3707
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3680
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 }); }
|
|
3708
3681
|
}
|
|
3709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgPlural, decorators: [{
|
|
3710
3683
|
type: Directive,
|
|
3711
3684
|
args: [{
|
|
3712
3685
|
selector: '[ngPlural]',
|
|
@@ -3741,10 +3714,10 @@ class NgPluralCase {
|
|
|
3741
3714
|
const isANumber = !isNaN(Number(value));
|
|
3742
3715
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3743
3716
|
}
|
|
3744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3745
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 }); }
|
|
3746
3719
|
}
|
|
3747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3748
3721
|
type: Directive,
|
|
3749
3722
|
args: [{
|
|
3750
3723
|
selector: '[ngPluralCase]',
|
|
@@ -3830,10 +3803,10 @@ class NgStyle {
|
|
|
3830
3803
|
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3831
3804
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3832
3805
|
}
|
|
3833
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3834
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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.0.2", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 }); }
|
|
3835
3808
|
}
|
|
3836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgStyle, decorators: [{
|
|
3837
3810
|
type: Directive,
|
|
3838
3811
|
args: [{
|
|
3839
3812
|
selector: '[ngStyle]',
|
|
@@ -3906,10 +3879,10 @@ class NgTemplateOutlet {
|
|
|
3906
3879
|
this._viewRef.context = this.ngTemplateOutletContext;
|
|
3907
3880
|
}
|
|
3908
3881
|
}
|
|
3909
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
3910
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
3882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3883
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 }); }
|
|
3911
3884
|
}
|
|
3912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
3885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3913
3886
|
type: Directive,
|
|
3914
3887
|
args: [{
|
|
3915
3888
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4059,10 +4032,10 @@ class AsyncPipe {
|
|
|
4059
4032
|
this._ref.markForCheck();
|
|
4060
4033
|
}
|
|
4061
4034
|
}
|
|
4062
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4063
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4035
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4036
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false }); }
|
|
4064
4037
|
}
|
|
4065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4066
4039
|
type: Pipe,
|
|
4067
4040
|
args: [{
|
|
4068
4041
|
name: 'async',
|
|
@@ -4095,10 +4068,10 @@ class LowerCasePipe {
|
|
|
4095
4068
|
}
|
|
4096
4069
|
return value.toLowerCase();
|
|
4097
4070
|
}
|
|
4098
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4099
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4072
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" }); }
|
|
4100
4073
|
}
|
|
4101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4102
4075
|
type: Pipe,
|
|
4103
4076
|
args: [{
|
|
4104
4077
|
name: 'lowercase',
|
|
@@ -4140,10 +4113,10 @@ class TitleCasePipe {
|
|
|
4140
4113
|
}
|
|
4141
4114
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4142
4115
|
}
|
|
4143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4144
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4117
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" }); }
|
|
4145
4118
|
}
|
|
4146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4147
4120
|
type: Pipe,
|
|
4148
4121
|
args: [{
|
|
4149
4122
|
name: 'titlecase',
|
|
@@ -4167,10 +4140,10 @@ class UpperCasePipe {
|
|
|
4167
4140
|
}
|
|
4168
4141
|
return value.toUpperCase();
|
|
4169
4142
|
}
|
|
4170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4171
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4144
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" }); }
|
|
4172
4145
|
}
|
|
4173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4174
4147
|
type: Pipe,
|
|
4175
4148
|
args: [{
|
|
4176
4149
|
name: 'uppercase',
|
|
@@ -4400,10 +4373,10 @@ class DatePipe {
|
|
|
4400
4373
|
throw invalidPipeArgumentError(DatePipe, error.message);
|
|
4401
4374
|
}
|
|
4402
4375
|
}
|
|
4403
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4404
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", 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 }); }
|
|
4377
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" }); }
|
|
4405
4378
|
}
|
|
4406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DatePipe, decorators: [{
|
|
4407
4380
|
type: Pipe,
|
|
4408
4381
|
args: [{
|
|
4409
4382
|
name: 'date',
|
|
@@ -4460,10 +4433,10 @@ class I18nPluralPipe {
|
|
|
4460
4433
|
const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
|
|
4461
4434
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4462
4435
|
}
|
|
4463
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4464
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4436
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4437
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" }); }
|
|
4465
4438
|
}
|
|
4466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4467
4440
|
type: Pipe,
|
|
4468
4441
|
args: [{
|
|
4469
4442
|
name: 'i18nPlural',
|
|
@@ -4509,10 +4482,10 @@ class I18nSelectPipe {
|
|
|
4509
4482
|
}
|
|
4510
4483
|
return '';
|
|
4511
4484
|
}
|
|
4512
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4513
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4486
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" }); }
|
|
4514
4487
|
}
|
|
4515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4516
4489
|
type: Pipe,
|
|
4517
4490
|
args: [{
|
|
4518
4491
|
name: 'i18nSelect',
|
|
@@ -4543,10 +4516,10 @@ class JsonPipe {
|
|
|
4543
4516
|
transform(value) {
|
|
4544
4517
|
return JSON.stringify(value, null, 2);
|
|
4545
4518
|
}
|
|
4546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4547
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4520
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false }); }
|
|
4548
4521
|
}
|
|
4549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4550
4523
|
type: Pipe,
|
|
4551
4524
|
args: [{
|
|
4552
4525
|
name: 'json',
|
|
@@ -4606,10 +4579,10 @@ class KeyValuePipe {
|
|
|
4606
4579
|
}
|
|
4607
4580
|
return this.keyValues;
|
|
4608
4581
|
}
|
|
4609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4610
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4583
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false }); }
|
|
4611
4584
|
}
|
|
4612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4613
4586
|
type: Pipe,
|
|
4614
4587
|
args: [{
|
|
4615
4588
|
name: 'keyvalue',
|
|
@@ -4734,10 +4707,10 @@ class DecimalPipe {
|
|
|
4734
4707
|
throw invalidPipeArgumentError(DecimalPipe, error.message);
|
|
4735
4708
|
}
|
|
4736
4709
|
}
|
|
4737
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4738
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4710
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4711
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" }); }
|
|
4739
4712
|
}
|
|
4740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4741
4714
|
type: Pipe,
|
|
4742
4715
|
args: [{
|
|
4743
4716
|
name: 'number',
|
|
@@ -4799,10 +4772,10 @@ class PercentPipe {
|
|
|
4799
4772
|
throw invalidPipeArgumentError(PercentPipe, error.message);
|
|
4800
4773
|
}
|
|
4801
4774
|
}
|
|
4802
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4803
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4776
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" }); }
|
|
4804
4777
|
}
|
|
4805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4806
4779
|
type: Pipe,
|
|
4807
4780
|
args: [{
|
|
4808
4781
|
name: 'percent',
|
|
@@ -4898,10 +4871,10 @@ class CurrencyPipe {
|
|
|
4898
4871
|
throw invalidPipeArgumentError(CurrencyPipe, error.message);
|
|
4899
4872
|
}
|
|
4900
4873
|
}
|
|
4901
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4902
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4875
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" }); }
|
|
4903
4876
|
}
|
|
4904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4905
4878
|
type: Pipe,
|
|
4906
4879
|
args: [{
|
|
4907
4880
|
name: 'currency',
|
|
@@ -4978,10 +4951,10 @@ class SlicePipe {
|
|
|
4978
4951
|
supports(obj) {
|
|
4979
4952
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
4980
4953
|
}
|
|
4981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
4982
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
|
4954
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4955
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false }); }
|
|
4983
4956
|
}
|
|
4984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
4957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: SlicePipe, decorators: [{
|
|
4985
4958
|
type: Pipe,
|
|
4986
4959
|
args: [{
|
|
4987
4960
|
name: 'slice',
|
|
@@ -5025,11 +4998,11 @@ const COMMON_PIPES = [
|
|
|
5025
4998
|
* @publicApi
|
|
5026
4999
|
*/
|
|
5027
5000
|
class CommonModule {
|
|
5028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
5029
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
|
5030
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
|
5001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5002
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", 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] }); }
|
|
5003
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CommonModule }); }
|
|
5031
5004
|
}
|
|
5032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
5005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CommonModule, decorators: [{
|
|
5033
5006
|
type: NgModule,
|
|
5034
5007
|
args: [{
|
|
5035
5008
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5082,7 +5055,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5082
5055
|
/**
|
|
5083
5056
|
* @publicApi
|
|
5084
5057
|
*/
|
|
5085
|
-
const VERSION = new Version('16.0.
|
|
5058
|
+
const VERSION = new Version('16.0.2');
|
|
5086
5059
|
|
|
5087
5060
|
/**
|
|
5088
5061
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5623,10 +5596,10 @@ class LCPImageObserver {
|
|
|
5623
5596
|
this.images.clear();
|
|
5624
5597
|
this.alreadyWarned.clear();
|
|
5625
5598
|
}
|
|
5626
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
5627
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
5599
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5600
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }
|
|
5628
5601
|
}
|
|
5629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
5602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5630
5603
|
type: Injectable,
|
|
5631
5604
|
args: [{ providedIn: 'root' }]
|
|
5632
5605
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5744,10 +5717,10 @@ class PreconnectLinkChecker {
|
|
|
5744
5717
|
this.preconnectLinks?.clear();
|
|
5745
5718
|
this.alreadySeen.clear();
|
|
5746
5719
|
}
|
|
5747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
5748
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
5720
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5721
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }
|
|
5749
5722
|
}
|
|
5750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
5723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5751
5724
|
type: Injectable,
|
|
5752
5725
|
args: [{ providedIn: 'root' }]
|
|
5753
5726
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5833,10 +5806,10 @@ class PreloadLinkCreator {
|
|
|
5833
5806
|
}
|
|
5834
5807
|
renderer.appendChild(this.document.head, preload);
|
|
5835
5808
|
}
|
|
5836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
5837
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
|
5809
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5810
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }
|
|
5838
5811
|
}
|
|
5839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
5812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
5840
5813
|
type: Injectable,
|
|
5841
5814
|
args: [{ providedIn: 'root' }]
|
|
5842
5815
|
}] });
|
|
@@ -6258,10 +6231,10 @@ class NgOptimizedImage {
|
|
|
6258
6231
|
setHostAttribute(name, value) {
|
|
6259
6232
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6260
6233
|
}
|
|
6261
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
6262
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
6234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6235
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", 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 }); }
|
|
6263
6236
|
}
|
|
6264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
6237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6265
6238
|
type: Directive,
|
|
6266
6239
|
args: [{
|
|
6267
6240
|
standalone: true,
|
|
@@ -6515,17 +6488,17 @@ function assertNoImageDistortion(dir, img, renderer) {
|
|
|
6515
6488
|
console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` +
|
|
6516
6489
|
`the aspect ratio indicated by the width and height attributes. ` +
|
|
6517
6490
|
`\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +
|
|
6518
|
-
`(aspect-ratio: ${intrinsicAspectRatio}). \nSupplied width and height attributes: ` +
|
|
6519
|
-
`${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${suppliedAspectRatio}). ` +
|
|
6491
|
+
`(aspect-ratio: ${round(intrinsicAspectRatio)}). \nSupplied width and height attributes: ` +
|
|
6492
|
+
`${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${round(suppliedAspectRatio)}). ` +
|
|
6520
6493
|
`\nTo fix this, update the width and height attributes.`));
|
|
6521
6494
|
}
|
|
6522
6495
|
else if (stylingDistortion) {
|
|
6523
6496
|
console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` +
|
|
6524
6497
|
`does not match the image's intrinsic aspect ratio. ` +
|
|
6525
6498
|
`\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +
|
|
6526
|
-
`(aspect-ratio: ${intrinsicAspectRatio}). \nRendered image size: ` +
|
|
6499
|
+
`(aspect-ratio: ${round(intrinsicAspectRatio)}). \nRendered image size: ` +
|
|
6527
6500
|
`${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` +
|
|
6528
|
-
`${renderedAspectRatio}). \nThis issue can occur if "width" and "height" ` +
|
|
6501
|
+
`${round(renderedAspectRatio)}). \nThis issue can occur if "width" and "height" ` +
|
|
6529
6502
|
`attributes are added to an image without updating the corresponding ` +
|
|
6530
6503
|
`image styling. To fix this, adjust image styling. In most cases, ` +
|
|
6531
6504
|
`adding "height: auto" or "width: auto" to the image styling will fix ` +
|
|
@@ -6666,6 +6639,9 @@ function assertNoLoaderParamsWithoutLoader(dir, imageLoader) {
|
|
|
6666
6639
|
`To fix this, provide a custom loader or remove the \`loaderParams\` attribute from the image.`));
|
|
6667
6640
|
}
|
|
6668
6641
|
}
|
|
6642
|
+
function round(input) {
|
|
6643
|
+
return Number.isInteger(input) ? input : input.toFixed(2);
|
|
6644
|
+
}
|
|
6669
6645
|
|
|
6670
6646
|
// These exports represent the set of symbols exposed as a public API.
|
|
6671
6647
|
|