@angular/common 16.1.0-next.0 → 16.1.0-next.1
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 +3 -3
- 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 +6 -6
- 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 +151 -148
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +34 -34
- 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 +29 -29
- 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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.0-next.
|
|
2
|
+
* @license Angular v16.1.0-next.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -61,10 +61,10 @@ class PlatformLocation {
|
|
|
61
61
|
historyGo(relativePosition) {
|
|
62
62
|
throw new Error('Not implemented');
|
|
63
63
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
65
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
65
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
68
68
|
type: Injectable,
|
|
69
69
|
args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]
|
|
70
70
|
}] });
|
|
@@ -144,10 +144,10 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
144
144
|
getState() {
|
|
145
145
|
return this._history.state;
|
|
146
146
|
}
|
|
147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
148
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
148
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }
|
|
149
149
|
}
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
151
151
|
type: Injectable,
|
|
152
152
|
args: [{
|
|
153
153
|
providedIn: 'platform',
|
|
@@ -233,10 +233,10 @@ class LocationStrategy {
|
|
|
233
233
|
historyGo(relativePosition) {
|
|
234
234
|
throw new Error('Not implemented');
|
|
235
235
|
}
|
|
236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }
|
|
238
238
|
}
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
240
240
|
type: Injectable,
|
|
241
241
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
242
242
|
}] });
|
|
@@ -343,10 +343,10 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
343
343
|
historyGo(relativePosition = 0) {
|
|
344
344
|
this._platformLocation.historyGo?.(relativePosition);
|
|
345
345
|
}
|
|
346
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
347
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
347
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }
|
|
348
348
|
}
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
350
350
|
type: Injectable,
|
|
351
351
|
args: [{ providedIn: 'root' }]
|
|
352
352
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -434,10 +434,10 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
434
434
|
historyGo(relativePosition = 0) {
|
|
435
435
|
this._platformLocation.historyGo?.(relativePosition);
|
|
436
436
|
}
|
|
437
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
438
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
438
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: HashLocationStrategy }); }
|
|
439
439
|
}
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
441
441
|
type: Injectable
|
|
442
442
|
}], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
443
443
|
type: Optional
|
|
@@ -686,10 +686,10 @@ class Location {
|
|
|
686
686
|
* @returns The URL string, modified if needed.
|
|
687
687
|
*/
|
|
688
688
|
static { this.stripTrailingSlash = stripTrailingSlash; }
|
|
689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
690
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
690
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }
|
|
691
691
|
}
|
|
692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: Location, decorators: [{
|
|
693
693
|
type: Injectable,
|
|
694
694
|
args: [{
|
|
695
695
|
providedIn: 'root',
|
|
@@ -733,7 +733,7 @@ const CURRENCIES_EN = { "ADP": [undefined, undefined, 0], "AFN": [undefined, "؋
|
|
|
733
733
|
/**
|
|
734
734
|
* Format styles that can be used to represent numbers.
|
|
735
735
|
* @see `getLocaleNumberFormat()`.
|
|
736
|
-
* @see [Internationalization (i18n) Guide](
|
|
736
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
737
737
|
*
|
|
738
738
|
* @publicApi
|
|
739
739
|
*/
|
|
@@ -749,7 +749,7 @@ var NumberFormatStyle;
|
|
|
749
749
|
*
|
|
750
750
|
* @see `NgPlural`
|
|
751
751
|
* @see `NgPluralCase`
|
|
752
|
-
* @see [Internationalization (i18n) Guide](
|
|
752
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
753
753
|
*
|
|
754
754
|
* @publicApi
|
|
755
755
|
*/
|
|
@@ -767,7 +767,7 @@ var Plural;
|
|
|
767
767
|
* Typically the standalone version is for the nominative form of the word,
|
|
768
768
|
* and the format version is used for the genitive case.
|
|
769
769
|
* @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)
|
|
770
|
-
* @see [Internationalization (i18n) Guide](
|
|
770
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
771
771
|
*
|
|
772
772
|
* @publicApi
|
|
773
773
|
*/
|
|
@@ -802,7 +802,7 @@ var TranslationWidth;
|
|
|
802
802
|
* @see `getLocaleDateFormat()`
|
|
803
803
|
* @see `getLocaleTimeFormat()`
|
|
804
804
|
* @see `getLocaleDateTimeFormat()`
|
|
805
|
-
* @see [Internationalization (i18n) Guide](
|
|
805
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
806
806
|
* @publicApi
|
|
807
807
|
*/
|
|
808
808
|
var FormatWidth;
|
|
@@ -833,7 +833,7 @@ var FormatWidth;
|
|
|
833
833
|
* Examples are based on `en-US` values.
|
|
834
834
|
*
|
|
835
835
|
* @see `getLocaleNumberSymbol()`
|
|
836
|
-
* @see [Internationalization (i18n) Guide](
|
|
836
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
837
837
|
*
|
|
838
838
|
* @publicApi
|
|
839
839
|
*/
|
|
@@ -932,7 +932,7 @@ var WeekDay;
|
|
|
932
932
|
* The loaded locale could be, for example, a global one rather than a regional one.
|
|
933
933
|
* @param locale A locale code, such as `fr-FR`.
|
|
934
934
|
* @returns The locale code. For example, `fr`.
|
|
935
|
-
* @see [Internationalization (i18n) Guide](
|
|
935
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
936
936
|
*
|
|
937
937
|
* @publicApi
|
|
938
938
|
*/
|
|
@@ -946,7 +946,7 @@ function getLocaleId(locale) {
|
|
|
946
946
|
* @param formStyle The required grammatical form.
|
|
947
947
|
* @param width The required character width.
|
|
948
948
|
* @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.
|
|
949
|
-
* @see [Internationalization (i18n) Guide](
|
|
949
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
950
950
|
*
|
|
951
951
|
* @publicApi
|
|
952
952
|
*/
|
|
@@ -966,7 +966,7 @@ function getLocaleDayPeriods(locale, formStyle, width) {
|
|
|
966
966
|
* @param width The required character width.
|
|
967
967
|
* @returns An array of localized name strings.
|
|
968
968
|
* For example,`[Sunday, Monday, ... Saturday]` for `en-US`.
|
|
969
|
-
* @see [Internationalization (i18n) Guide](
|
|
969
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
970
970
|
*
|
|
971
971
|
* @publicApi
|
|
972
972
|
*/
|
|
@@ -984,7 +984,7 @@ function getLocaleDayNames(locale, formStyle, width) {
|
|
|
984
984
|
* @param width The required character width.
|
|
985
985
|
* @returns An array of localized name strings.
|
|
986
986
|
* For example, `[January, February, ...]` for `en-US`.
|
|
987
|
-
* @see [Internationalization (i18n) Guide](
|
|
987
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
988
988
|
*
|
|
989
989
|
* @publicApi
|
|
990
990
|
*/
|
|
@@ -1001,7 +1001,7 @@ function getLocaleMonthNames(locale, formStyle, width) {
|
|
|
1001
1001
|
|
|
1002
1002
|
* @returns An array of localized era strings.
|
|
1003
1003
|
* For example, `[AD, BC]` for `en-US`.
|
|
1004
|
-
* @see [Internationalization (i18n) Guide](
|
|
1004
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1005
1005
|
*
|
|
1006
1006
|
* @publicApi
|
|
1007
1007
|
*/
|
|
@@ -1017,7 +1017,7 @@ function getLocaleEraNames(locale, width) {
|
|
|
1017
1017
|
* @returns A day index number, using the 0-based week-day index for `en-US`
|
|
1018
1018
|
* (Sunday = 0, Monday = 1, ...).
|
|
1019
1019
|
* For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.
|
|
1020
|
-
* @see [Internationalization (i18n) Guide](
|
|
1020
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1021
1021
|
*
|
|
1022
1022
|
* @publicApi
|
|
1023
1023
|
*/
|
|
@@ -1030,7 +1030,7 @@ function getLocaleFirstDayOfWeek(locale) {
|
|
|
1030
1030
|
*
|
|
1031
1031
|
* @param locale A locale code for the locale format rules to use.
|
|
1032
1032
|
* @returns The range of day values, `[startDay, endDay]`.
|
|
1033
|
-
* @see [Internationalization (i18n) Guide](
|
|
1033
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1034
1034
|
*
|
|
1035
1035
|
* @publicApi
|
|
1036
1036
|
*/
|
|
@@ -1045,7 +1045,7 @@ function getLocaleWeekEndRange(locale) {
|
|
|
1045
1045
|
* @param width The format type.
|
|
1046
1046
|
* @returns The localized formatting string.
|
|
1047
1047
|
* @see `FormatWidth`
|
|
1048
|
-
* @see [Internationalization (i18n) Guide](
|
|
1048
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1049
1049
|
*
|
|
1050
1050
|
* @publicApi
|
|
1051
1051
|
*/
|
|
@@ -1060,7 +1060,7 @@ function getLocaleDateFormat(locale, width) {
|
|
|
1060
1060
|
* @param width The format type.
|
|
1061
1061
|
* @returns The localized formatting string.
|
|
1062
1062
|
* @see `FormatWidth`
|
|
1063
|
-
* @see [Internationalization (i18n) Guide](
|
|
1063
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1064
1064
|
|
|
1065
1065
|
* @publicApi
|
|
1066
1066
|
*/
|
|
@@ -1075,7 +1075,7 @@ function getLocaleTimeFormat(locale, width) {
|
|
|
1075
1075
|
* @param width The format type.
|
|
1076
1076
|
* @returns The localized formatting string.
|
|
1077
1077
|
* @see `FormatWidth`
|
|
1078
|
-
* @see [Internationalization (i18n) Guide](
|
|
1078
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1079
1079
|
*
|
|
1080
1080
|
* @publicApi
|
|
1081
1081
|
*/
|
|
@@ -1090,7 +1090,7 @@ function getLocaleDateTimeFormat(locale, width) {
|
|
|
1090
1090
|
* @param symbol The symbol to localize.
|
|
1091
1091
|
* @returns The character for the localized symbol.
|
|
1092
1092
|
* @see `NumberSymbol`
|
|
1093
|
-
* @see [Internationalization (i18n) Guide](
|
|
1093
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1094
1094
|
*
|
|
1095
1095
|
* @publicApi
|
|
1096
1096
|
*/
|
|
@@ -1138,7 +1138,7 @@ function getLocaleNumberSymbol(locale, symbol) {
|
|
|
1138
1138
|
* @returns The localized format string.
|
|
1139
1139
|
* @see `NumberFormatStyle`
|
|
1140
1140
|
* @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
|
|
1141
|
-
* @see [Internationalization (i18n) Guide](
|
|
1141
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1142
1142
|
*
|
|
1143
1143
|
* @publicApi
|
|
1144
1144
|
*/
|
|
@@ -1153,7 +1153,7 @@ function getLocaleNumberFormat(locale, type) {
|
|
|
1153
1153
|
* @param locale A locale code for the locale format rules to use.
|
|
1154
1154
|
* @returns The localized symbol character,
|
|
1155
1155
|
* or `null` if the main country cannot be determined.
|
|
1156
|
-
* @see [Internationalization (i18n) Guide](
|
|
1156
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1157
1157
|
*
|
|
1158
1158
|
* @publicApi
|
|
1159
1159
|
*/
|
|
@@ -1167,7 +1167,7 @@ function getLocaleCurrencySymbol(locale) {
|
|
|
1167
1167
|
* @param locale A locale code for the locale format rules to use.
|
|
1168
1168
|
* @returns The currency name,
|
|
1169
1169
|
* or `null` if the main country cannot be determined.
|
|
1170
|
-
* @see [Internationalization (i18n) Guide](
|
|
1170
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1171
1171
|
*
|
|
1172
1172
|
* @publicApi
|
|
1173
1173
|
*/
|
|
@@ -1192,7 +1192,7 @@ function getLocaleCurrencyCode(locale) {
|
|
|
1192
1192
|
* Retrieves the currency values for a given locale.
|
|
1193
1193
|
* @param locale A locale code for the locale format rules to use.
|
|
1194
1194
|
* @returns The currency values.
|
|
1195
|
-
* @see [Internationalization (i18n) Guide](
|
|
1195
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1196
1196
|
*/
|
|
1197
1197
|
function getLocaleCurrencies(locale) {
|
|
1198
1198
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1227,7 +1227,7 @@ function checkFullData(data) {
|
|
|
1227
1227
|
* or null if no periods are available.
|
|
1228
1228
|
*
|
|
1229
1229
|
* @see `getLocaleExtraDayPeriods()`
|
|
1230
|
-
* @see [Internationalization (i18n) Guide](
|
|
1230
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1231
1231
|
*
|
|
1232
1232
|
* @publicApi
|
|
1233
1233
|
*/
|
|
@@ -1255,7 +1255,7 @@ function getLocaleExtraDayPeriodRules(locale) {
|
|
|
1255
1255
|
* @param width The required character width.
|
|
1256
1256
|
* @returns The translated day-period strings.
|
|
1257
1257
|
* @see `getLocaleExtraDayPeriodRules()`
|
|
1258
|
-
* @see [Internationalization (i18n) Guide](
|
|
1258
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1259
1259
|
*
|
|
1260
1260
|
* @publicApi
|
|
1261
1261
|
*/
|
|
@@ -1274,7 +1274,7 @@ function getLocaleExtraDayPeriods(locale, formStyle, width) {
|
|
|
1274
1274
|
* @param locale A locale code for the locale format rules to use.
|
|
1275
1275
|
* @publicApi
|
|
1276
1276
|
* @returns 'rtl' or 'ltr'
|
|
1277
|
-
* @see [Internationalization (i18n) Guide](
|
|
1277
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1278
1278
|
*/
|
|
1279
1279
|
function getLocaleDirection(locale) {
|
|
1280
1280
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1289,7 +1289,7 @@ function getLocaleDirection(locale) {
|
|
|
1289
1289
|
* @param data The data array to retrieve from.
|
|
1290
1290
|
* @param index A 0-based index into the array to start from.
|
|
1291
1291
|
* @returns The value immediately before the given index position.
|
|
1292
|
-
* @see [Internationalization (i18n) Guide](
|
|
1292
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1293
1293
|
*
|
|
1294
1294
|
* @publicApi
|
|
1295
1295
|
*/
|
|
@@ -1319,7 +1319,7 @@ function extractTime(time) {
|
|
|
1319
1319
|
* @param locale A locale code for the locale format rules to use.
|
|
1320
1320
|
*
|
|
1321
1321
|
* @returns The symbol, or the currency code if no symbol is available.
|
|
1322
|
-
* @see [Internationalization (i18n) Guide](
|
|
1322
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1323
1323
|
*
|
|
1324
1324
|
* @publicApi
|
|
1325
1325
|
*/
|
|
@@ -1339,7 +1339,7 @@ const DEFAULT_NB_OF_CURRENCY_DIGITS = 2;
|
|
|
1339
1339
|
*
|
|
1340
1340
|
* @param code The currency code.
|
|
1341
1341
|
* @returns The number of decimal digits, typically 0 or 2.
|
|
1342
|
-
* @see [Internationalization (i18n) Guide](
|
|
1342
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1343
1343
|
*
|
|
1344
1344
|
* @publicApi
|
|
1345
1345
|
*/
|
|
@@ -1398,7 +1398,7 @@ var TranslationType;
|
|
|
1398
1398
|
* @returns The formatted date string.
|
|
1399
1399
|
*
|
|
1400
1400
|
* @see `DatePipe`
|
|
1401
|
-
* @see [Internationalization (i18n) Guide](
|
|
1401
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
1402
1402
|
*
|
|
1403
1403
|
* @publicApi
|
|
1404
1404
|
*/
|
|
@@ -2208,7 +2208,7 @@ function formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimal
|
|
|
2208
2208
|
*
|
|
2209
2209
|
* @see `formatNumber()`
|
|
2210
2210
|
* @see `DecimalPipe`
|
|
2211
|
-
* @see [Internationalization (i18n) Guide](
|
|
2211
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2212
2212
|
*
|
|
2213
2213
|
* @publicApi
|
|
2214
2214
|
*/
|
|
@@ -2243,7 +2243,7 @@ function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {
|
|
|
2243
2243
|
*
|
|
2244
2244
|
* @see `formatNumber()`
|
|
2245
2245
|
* @see `DecimalPipe`
|
|
2246
|
-
* @see [Internationalization (i18n) Guide](
|
|
2246
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2247
2247
|
* @publicApi
|
|
2248
2248
|
*
|
|
2249
2249
|
*/
|
|
@@ -2266,7 +2266,7 @@ function formatPercent(value, locale, digitsInfo) {
|
|
|
2266
2266
|
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
|
|
2267
2267
|
*
|
|
2268
2268
|
* @returns The formatted text string.
|
|
2269
|
-
* @see [Internationalization (i18n) Guide](
|
|
2269
|
+
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2270
2270
|
*
|
|
2271
2271
|
* @publicApi
|
|
2272
2272
|
*/
|
|
@@ -2481,10 +2481,10 @@ function parseIntAutoRadix(text) {
|
|
|
2481
2481
|
* @publicApi
|
|
2482
2482
|
*/
|
|
2483
2483
|
class NgLocalization {
|
|
2484
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2485
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2484
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2485
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }
|
|
2486
2486
|
}
|
|
2487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2488
2488
|
type: Injectable,
|
|
2489
2489
|
args: [{
|
|
2490
2490
|
providedIn: 'root',
|
|
@@ -2538,10 +2538,10 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2538
2538
|
return 'other';
|
|
2539
2539
|
}
|
|
2540
2540
|
}
|
|
2541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2542
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgLocaleLocalization }); }
|
|
2543
2543
|
}
|
|
2544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2545
2545
|
type: Injectable
|
|
2546
2546
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2547
2547
|
type: Inject,
|
|
@@ -2714,10 +2714,10 @@ class NgClass {
|
|
|
2714
2714
|
});
|
|
2715
2715
|
}
|
|
2716
2716
|
}
|
|
2717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2718
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
2717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2718
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 }); }
|
|
2719
2719
|
}
|
|
2720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgClass, decorators: [{
|
|
2721
2721
|
type: Directive,
|
|
2722
2722
|
args: [{
|
|
2723
2723
|
selector: '[ngClass]',
|
|
@@ -2828,10 +2828,10 @@ class NgComponentOutlet {
|
|
|
2828
2828
|
if (this._moduleRef)
|
|
2829
2829
|
this._moduleRef.destroy();
|
|
2830
2830
|
}
|
|
2831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2832
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
2831
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2832
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 }); }
|
|
2833
2833
|
}
|
|
2834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
2834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2835
2835
|
type: Directive,
|
|
2836
2836
|
args: [{
|
|
2837
2837
|
selector: '[ngComponentOutlet]',
|
|
@@ -3109,10 +3109,10 @@ class NgForOf {
|
|
|
3109
3109
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3110
3110
|
return true;
|
|
3111
3111
|
}
|
|
3112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3113
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3113
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 }); }
|
|
3114
3114
|
}
|
|
3115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgForOf, decorators: [{
|
|
3116
3116
|
type: Directive,
|
|
3117
3117
|
args: [{
|
|
3118
3118
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3337,10 +3337,10 @@ class NgIf {
|
|
|
3337
3337
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3338
3338
|
return true;
|
|
3339
3339
|
}
|
|
3340
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3341
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3341
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 }); }
|
|
3342
3342
|
}
|
|
3343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgIf, decorators: [{
|
|
3344
3344
|
type: Directive,
|
|
3345
3345
|
args: [{
|
|
3346
3346
|
selector: '[ngIf]',
|
|
@@ -3500,10 +3500,10 @@ class NgSwitch {
|
|
|
3500
3500
|
}
|
|
3501
3501
|
}
|
|
3502
3502
|
}
|
|
3503
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3504
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3503
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3504
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 }); }
|
|
3505
3505
|
}
|
|
3506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3507
3507
|
type: Directive,
|
|
3508
3508
|
args: [{
|
|
3509
3509
|
selector: '[ngSwitch]',
|
|
@@ -3561,10 +3561,10 @@ class NgSwitchCase {
|
|
|
3561
3561
|
ngDoCheck() {
|
|
3562
3562
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3563
3563
|
}
|
|
3564
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3565
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3565
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 }); }
|
|
3566
3566
|
}
|
|
3567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3568
3568
|
type: Directive,
|
|
3569
3569
|
args: [{
|
|
3570
3570
|
selector: '[ngSwitchCase]',
|
|
@@ -3598,10 +3598,10 @@ class NgSwitchDefault {
|
|
|
3598
3598
|
}
|
|
3599
3599
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3600
3600
|
}
|
|
3601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3602
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3602
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 }); }
|
|
3603
3603
|
}
|
|
3604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3605
3605
|
type: Directive,
|
|
3606
3606
|
args: [{
|
|
3607
3607
|
selector: '[ngSwitchDefault]',
|
|
@@ -3676,10 +3676,10 @@ class NgPlural {
|
|
|
3676
3676
|
this._activeView.create();
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3680
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3680
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 }); }
|
|
3681
3681
|
}
|
|
3682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgPlural, decorators: [{
|
|
3683
3683
|
type: Directive,
|
|
3684
3684
|
args: [{
|
|
3685
3685
|
selector: '[ngPlural]',
|
|
@@ -3714,10 +3714,10 @@ class NgPluralCase {
|
|
|
3714
3714
|
const isANumber = !isNaN(Number(value));
|
|
3715
3715
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3716
3716
|
}
|
|
3717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3718
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3717
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3718
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 }); }
|
|
3719
3719
|
}
|
|
3720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3721
3721
|
type: Directive,
|
|
3722
3722
|
args: [{
|
|
3723
3723
|
selector: '[ngPluralCase]',
|
|
@@ -3803,10 +3803,10 @@ class NgStyle {
|
|
|
3803
3803
|
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3804
3804
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3805
3805
|
}
|
|
3806
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3807
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3807
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 }); }
|
|
3808
3808
|
}
|
|
3809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgStyle, decorators: [{
|
|
3810
3810
|
type: Directive,
|
|
3811
3811
|
args: [{
|
|
3812
3812
|
selector: '[ngStyle]',
|
|
@@ -3879,10 +3879,10 @@ class NgTemplateOutlet {
|
|
|
3879
3879
|
this._viewRef.context = this.ngTemplateOutletContext;
|
|
3880
3880
|
}
|
|
3881
3881
|
}
|
|
3882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3883
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
3882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3883
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 }); }
|
|
3884
3884
|
}
|
|
3885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
3885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
3886
3886
|
type: Directive,
|
|
3887
3887
|
args: [{
|
|
3888
3888
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4032,10 +4032,10 @@ class AsyncPipe {
|
|
|
4032
4032
|
this._ref.markForCheck();
|
|
4033
4033
|
}
|
|
4034
4034
|
}
|
|
4035
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4036
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4035
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4036
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false }); }
|
|
4037
4037
|
}
|
|
4038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4039
4039
|
type: Pipe,
|
|
4040
4040
|
args: [{
|
|
4041
4041
|
name: 'async',
|
|
@@ -4068,10 +4068,10 @@ class LowerCasePipe {
|
|
|
4068
4068
|
}
|
|
4069
4069
|
return value.toLowerCase();
|
|
4070
4070
|
}
|
|
4071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4072
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4072
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" }); }
|
|
4073
4073
|
}
|
|
4074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4075
4075
|
type: Pipe,
|
|
4076
4076
|
args: [{
|
|
4077
4077
|
name: 'lowercase',
|
|
@@ -4113,10 +4113,10 @@ class TitleCasePipe {
|
|
|
4113
4113
|
}
|
|
4114
4114
|
return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
|
|
4115
4115
|
}
|
|
4116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4117
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4117
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" }); }
|
|
4118
4118
|
}
|
|
4119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4120
4120
|
type: Pipe,
|
|
4121
4121
|
args: [{
|
|
4122
4122
|
name: 'titlecase',
|
|
@@ -4140,10 +4140,10 @@ class UpperCasePipe {
|
|
|
4140
4140
|
}
|
|
4141
4141
|
return value.toUpperCase();
|
|
4142
4142
|
}
|
|
4143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4144
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4144
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" }); }
|
|
4145
4145
|
}
|
|
4146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4147
4147
|
type: Pipe,
|
|
4148
4148
|
args: [{
|
|
4149
4149
|
name: 'uppercase',
|
|
@@ -4373,10 +4373,10 @@ class DatePipe {
|
|
|
4373
4373
|
throw invalidPipeArgumentError(DatePipe, error.message);
|
|
4374
4374
|
}
|
|
4375
4375
|
}
|
|
4376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4377
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", 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.1.0-next.1", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" }); }
|
|
4378
4378
|
}
|
|
4379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: DatePipe, decorators: [{
|
|
4380
4380
|
type: Pipe,
|
|
4381
4381
|
args: [{
|
|
4382
4382
|
name: 'date',
|
|
@@ -4433,10 +4433,10 @@ class I18nPluralPipe {
|
|
|
4433
4433
|
const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
|
|
4434
4434
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4435
4435
|
}
|
|
4436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4437
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4436
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4437
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" }); }
|
|
4438
4438
|
}
|
|
4439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4440
4440
|
type: Pipe,
|
|
4441
4441
|
args: [{
|
|
4442
4442
|
name: 'i18nPlural',
|
|
@@ -4482,10 +4482,10 @@ class I18nSelectPipe {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
return '';
|
|
4484
4484
|
}
|
|
4485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4486
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4486
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" }); }
|
|
4487
4487
|
}
|
|
4488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4489
4489
|
type: Pipe,
|
|
4490
4490
|
args: [{
|
|
4491
4491
|
name: 'i18nSelect',
|
|
@@ -4516,10 +4516,10 @@ class JsonPipe {
|
|
|
4516
4516
|
transform(value) {
|
|
4517
4517
|
return JSON.stringify(value, null, 2);
|
|
4518
4518
|
}
|
|
4519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4520
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4520
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false }); }
|
|
4521
4521
|
}
|
|
4522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4523
4523
|
type: Pipe,
|
|
4524
4524
|
args: [{
|
|
4525
4525
|
name: 'json',
|
|
@@ -4579,10 +4579,10 @@ class KeyValuePipe {
|
|
|
4579
4579
|
}
|
|
4580
4580
|
return this.keyValues;
|
|
4581
4581
|
}
|
|
4582
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4583
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4583
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false }); }
|
|
4584
4584
|
}
|
|
4585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4586
4586
|
type: Pipe,
|
|
4587
4587
|
args: [{
|
|
4588
4588
|
name: 'keyvalue',
|
|
@@ -4707,10 +4707,10 @@ class DecimalPipe {
|
|
|
4707
4707
|
throw invalidPipeArgumentError(DecimalPipe, error.message);
|
|
4708
4708
|
}
|
|
4709
4709
|
}
|
|
4710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4711
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4710
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4711
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" }); }
|
|
4712
4712
|
}
|
|
4713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4714
4714
|
type: Pipe,
|
|
4715
4715
|
args: [{
|
|
4716
4716
|
name: 'number',
|
|
@@ -4772,10 +4772,10 @@ class PercentPipe {
|
|
|
4772
4772
|
throw invalidPipeArgumentError(PercentPipe, error.message);
|
|
4773
4773
|
}
|
|
4774
4774
|
}
|
|
4775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4776
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4776
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" }); }
|
|
4777
4777
|
}
|
|
4778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4779
4779
|
type: Pipe,
|
|
4780
4780
|
args: [{
|
|
4781
4781
|
name: 'percent',
|
|
@@ -4871,10 +4871,10 @@ class CurrencyPipe {
|
|
|
4871
4871
|
throw invalidPipeArgumentError(CurrencyPipe, error.message);
|
|
4872
4872
|
}
|
|
4873
4873
|
}
|
|
4874
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4875
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", 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.1.0-next.1", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" }); }
|
|
4876
4876
|
}
|
|
4877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
4878
4878
|
type: Pipe,
|
|
4879
4879
|
args: [{
|
|
4880
4880
|
name: 'currency',
|
|
@@ -4951,10 +4951,10 @@ class SlicePipe {
|
|
|
4951
4951
|
supports(obj) {
|
|
4952
4952
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
4953
4953
|
}
|
|
4954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4955
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
4954
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4955
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.1.0-next.1", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false }); }
|
|
4956
4956
|
}
|
|
4957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
4957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: SlicePipe, decorators: [{
|
|
4958
4958
|
type: Pipe,
|
|
4959
4959
|
args: [{
|
|
4960
4960
|
name: 'slice',
|
|
@@ -4998,11 +4998,11 @@ const COMMON_PIPES = [
|
|
|
4998
4998
|
* @publicApi
|
|
4999
4999
|
*/
|
|
5000
5000
|
class CommonModule {
|
|
5001
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5002
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
5003
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5002
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0-next.1", 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.1.0-next.1", ngImport: i0, type: CommonModule }); }
|
|
5004
5004
|
}
|
|
5005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: CommonModule, decorators: [{
|
|
5006
5006
|
type: NgModule,
|
|
5007
5007
|
args: [{
|
|
5008
5008
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5055,7 +5055,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5055
5055
|
/**
|
|
5056
5056
|
* @publicApi
|
|
5057
5057
|
*/
|
|
5058
|
-
const VERSION = new Version('16.1.0-next.
|
|
5058
|
+
const VERSION = new Version('16.1.0-next.1');
|
|
5059
5059
|
|
|
5060
5060
|
/**
|
|
5061
5061
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5596,10 +5596,10 @@ class LCPImageObserver {
|
|
|
5596
5596
|
this.images.clear();
|
|
5597
5597
|
this.alreadyWarned.clear();
|
|
5598
5598
|
}
|
|
5599
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5600
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5599
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5600
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }
|
|
5601
5601
|
}
|
|
5602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5603
5603
|
type: Injectable,
|
|
5604
5604
|
args: [{ providedIn: 'root' }]
|
|
5605
5605
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5717,10 +5717,10 @@ class PreconnectLinkChecker {
|
|
|
5717
5717
|
this.preconnectLinks?.clear();
|
|
5718
5718
|
this.alreadySeen.clear();
|
|
5719
5719
|
}
|
|
5720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5721
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5720
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5721
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }
|
|
5722
5722
|
}
|
|
5723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5724
5724
|
type: Injectable,
|
|
5725
5725
|
args: [{ providedIn: 'root' }]
|
|
5726
5726
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5806,10 +5806,10 @@ class PreloadLinkCreator {
|
|
|
5806
5806
|
}
|
|
5807
5807
|
renderer.appendChild(this.document.head, preload);
|
|
5808
5808
|
}
|
|
5809
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5810
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5809
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5810
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }
|
|
5811
5811
|
}
|
|
5812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
5812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
5813
5813
|
type: Injectable,
|
|
5814
5814
|
args: [{ providedIn: 'root' }]
|
|
5815
5815
|
}] });
|
|
@@ -6231,10 +6231,10 @@ class NgOptimizedImage {
|
|
|
6231
6231
|
setHostAttribute(name, value) {
|
|
6232
6232
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6233
6233
|
}
|
|
6234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
6235
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.
|
|
6234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6235
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.1", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: "ngSrc", ngSrcset: "ngSrcset", sizes: "sizes", width: "width", height: "height", loading: "loading", priority: "priority", loaderParams: "loaderParams", disableOptimizedSrcset: "disableOptimizedSrcset", fill: "fill", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0px\" : null" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
6236
6236
|
}
|
|
6237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
6237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.1", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6238
6238
|
type: Directive,
|
|
6239
6239
|
args: [{
|
|
6240
6240
|
standalone: true,
|
|
@@ -6488,17 +6488,17 @@ function assertNoImageDistortion(dir, img, renderer) {
|
|
|
6488
6488
|
console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` +
|
|
6489
6489
|
`the aspect ratio indicated by the width and height attributes. ` +
|
|
6490
6490
|
`\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +
|
|
6491
|
-
`(aspect-ratio: ${intrinsicAspectRatio}). \nSupplied width and height attributes: ` +
|
|
6492
|
-
`${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)}). ` +
|
|
6493
6493
|
`\nTo fix this, update the width and height attributes.`));
|
|
6494
6494
|
}
|
|
6495
6495
|
else if (stylingDistortion) {
|
|
6496
6496
|
console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` +
|
|
6497
6497
|
`does not match the image's intrinsic aspect ratio. ` +
|
|
6498
6498
|
`\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +
|
|
6499
|
-
`(aspect-ratio: ${intrinsicAspectRatio}). \nRendered image size: ` +
|
|
6499
|
+
`(aspect-ratio: ${round(intrinsicAspectRatio)}). \nRendered image size: ` +
|
|
6500
6500
|
`${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` +
|
|
6501
|
-
`${renderedAspectRatio}). \nThis issue can occur if "width" and "height" ` +
|
|
6501
|
+
`${round(renderedAspectRatio)}). \nThis issue can occur if "width" and "height" ` +
|
|
6502
6502
|
`attributes are added to an image without updating the corresponding ` +
|
|
6503
6503
|
`image styling. To fix this, adjust image styling. In most cases, ` +
|
|
6504
6504
|
`adding "height: auto" or "width: auto" to the image styling will fix ` +
|
|
@@ -6639,6 +6639,9 @@ function assertNoLoaderParamsWithoutLoader(dir, imageLoader) {
|
|
|
6639
6639
|
`To fix this, provide a custom loader or remove the \`loaderParams\` attribute from the image.`));
|
|
6640
6640
|
}
|
|
6641
6641
|
}
|
|
6642
|
+
function round(input) {
|
|
6643
|
+
return Number.isInteger(input) ? input : input.toFixed(2);
|
|
6644
|
+
}
|
|
6642
6645
|
|
|
6643
6646
|
// These exports represent the set of symbols exposed as a public API.
|
|
6644
6647
|
|