@angular/common 18.0.0-next.5 → 18.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/http/public_api.mjs +2 -2
- package/esm2022/http/src/client.mjs +3 -3
- package/esm2022/http/src/errors.mjs +1 -1
- package/esm2022/http/src/fetch.mjs +6 -6
- package/esm2022/http/src/interceptor.mjs +3 -3
- package/esm2022/http/src/jsonp.mjs +9 -9
- package/esm2022/http/src/module.mjs +17 -13
- package/esm2022/http/src/response.mjs +8 -2
- package/esm2022/http/src/transfer_cache.mjs +73 -12
- package/esm2022/http/src/xhr.mjs +7 -7
- package/esm2022/http/src/xsrf.mjs +6 -6
- package/esm2022/http/testing/src/backend.mjs +3 -3
- package/esm2022/http/testing/src/module.mjs +7 -5
- 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 +3 -3
- 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/locale_data_api.mjs +86 -3
- 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/navigation/platform_navigation.mjs +3 -3
- 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 +6 -6
- package/esm2022/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2022/common.mjs +202 -119
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +10 -8
- package/fesm2022/http/testing.mjs.map +1 -1
- package/fesm2022/http.mjs +123 -52
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +16 -16
- package/fesm2022/upgrade.mjs +5 -5
- package/http/index.d.ts +36 -1
- package/http/testing/index.d.ts +3 -1
- package/index.d.ts +88 -2
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2022/common.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.0.0-
|
|
2
|
+
* @license Angular v18.0.0-rc.0
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -30,10 +30,10 @@ class DomAdapter {
|
|
|
30
30
|
* implementations.
|
|
31
31
|
*/
|
|
32
32
|
class PlatformNavigation {
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
34
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PlatformNavigation, decorators: [{
|
|
37
37
|
type: Injectable,
|
|
38
38
|
args: [{ providedIn: 'platform', useFactory: () => window.navigation }]
|
|
39
39
|
}] });
|
|
@@ -73,10 +73,10 @@ class PlatformLocation {
|
|
|
73
73
|
historyGo(relativePosition) {
|
|
74
74
|
throw new Error(ngDevMode ? 'Not implemented' : '');
|
|
75
75
|
}
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
77
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
77
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
80
80
|
type: Injectable,
|
|
81
81
|
args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]
|
|
82
82
|
}] });
|
|
@@ -156,10 +156,10 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
156
156
|
getState() {
|
|
157
157
|
return this._history.state;
|
|
158
158
|
}
|
|
159
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
160
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
160
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }
|
|
161
161
|
}
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
163
163
|
type: Injectable,
|
|
164
164
|
args: [{
|
|
165
165
|
providedIn: 'platform',
|
|
@@ -245,10 +245,10 @@ class LocationStrategy {
|
|
|
245
245
|
historyGo(relativePosition) {
|
|
246
246
|
throw new Error(ngDevMode ? 'Not implemented' : '');
|
|
247
247
|
}
|
|
248
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
249
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
249
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }
|
|
250
250
|
}
|
|
251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
252
252
|
type: Injectable,
|
|
253
253
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
254
254
|
}] });
|
|
@@ -358,10 +358,10 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
358
358
|
historyGo(relativePosition = 0) {
|
|
359
359
|
this._platformLocation.historyGo?.(relativePosition);
|
|
360
360
|
}
|
|
361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
362
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
361
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
362
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }
|
|
363
363
|
}
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
365
365
|
type: Injectable,
|
|
366
366
|
args: [{ providedIn: 'root' }]
|
|
367
367
|
}], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -447,10 +447,10 @@ class HashLocationStrategy extends LocationStrategy {
|
|
|
447
447
|
historyGo(relativePosition = 0) {
|
|
448
448
|
this._platformLocation.historyGo?.(relativePosition);
|
|
449
449
|
}
|
|
450
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
451
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
451
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: HashLocationStrategy }); }
|
|
452
452
|
}
|
|
453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
|
|
454
454
|
type: Injectable
|
|
455
455
|
}], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
456
456
|
type: Optional
|
|
@@ -697,10 +697,10 @@ class Location {
|
|
|
697
697
|
* @returns The URL string, modified if needed.
|
|
698
698
|
*/
|
|
699
699
|
static { this.stripTrailingSlash = stripTrailingSlash; }
|
|
700
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
701
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
701
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }
|
|
702
702
|
}
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: Location, decorators: [{
|
|
704
704
|
type: Injectable,
|
|
705
705
|
args: [{
|
|
706
706
|
providedIn: 'root',
|
|
@@ -747,6 +747,8 @@ const CURRENCIES_EN = { "ADP": [undefined, undefined, 0], "AFN": [undefined, "؋
|
|
|
747
747
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
748
748
|
*
|
|
749
749
|
* @publicApi
|
|
750
|
+
*
|
|
751
|
+
* @deprecated `getLocaleNumberFormat` is deprecated
|
|
750
752
|
*/
|
|
751
753
|
var NumberFormatStyle;
|
|
752
754
|
(function (NumberFormatStyle) {
|
|
@@ -763,6 +765,8 @@ var NumberFormatStyle;
|
|
|
763
765
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
764
766
|
*
|
|
765
767
|
* @publicApi
|
|
768
|
+
*
|
|
769
|
+
* @deprecated `getLocalePluralCase` is deprecated
|
|
766
770
|
*/
|
|
767
771
|
var Plural;
|
|
768
772
|
(function (Plural) {
|
|
@@ -781,6 +785,8 @@ var Plural;
|
|
|
781
785
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
782
786
|
*
|
|
783
787
|
* @publicApi
|
|
788
|
+
*
|
|
789
|
+
* @deprecated locale data getters are deprecated
|
|
784
790
|
*/
|
|
785
791
|
var FormStyle;
|
|
786
792
|
(function (FormStyle) {
|
|
@@ -793,6 +799,8 @@ var FormStyle;
|
|
|
793
799
|
* Examples are given for the word "Sunday" in English.
|
|
794
800
|
*
|
|
795
801
|
* @publicApi
|
|
802
|
+
*
|
|
803
|
+
* @deprecated locale data getters are deprecated
|
|
796
804
|
*/
|
|
797
805
|
var TranslationWidth;
|
|
798
806
|
(function (TranslationWidth) {
|
|
@@ -815,6 +823,8 @@ var TranslationWidth;
|
|
|
815
823
|
* @see {@link getLocaleDateTimeFormat}
|
|
816
824
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
817
825
|
* @publicApi
|
|
826
|
+
*
|
|
827
|
+
* @deprecated Date locale data getters are deprecated
|
|
818
828
|
*/
|
|
819
829
|
var FormatWidth;
|
|
820
830
|
(function (FormatWidth) {
|
|
@@ -849,6 +859,9 @@ var FormatWidth;
|
|
|
849
859
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
850
860
|
*
|
|
851
861
|
* @publicApi
|
|
862
|
+
*
|
|
863
|
+
* @deprecated `getLocaleNumberSymbol` is deprecated
|
|
864
|
+
*
|
|
852
865
|
* @object-literal-as-enum
|
|
853
866
|
*/
|
|
854
867
|
const NumberSymbol = {
|
|
@@ -929,6 +942,8 @@ const NumberSymbol = {
|
|
|
929
942
|
* The value for each day of the week, based on the `en-US` locale
|
|
930
943
|
*
|
|
931
944
|
* @publicApi
|
|
945
|
+
*
|
|
946
|
+
* @deprecated Week locale getters are deprecated
|
|
932
947
|
*/
|
|
933
948
|
var WeekDay;
|
|
934
949
|
(function (WeekDay) {
|
|
@@ -948,6 +963,9 @@ var WeekDay;
|
|
|
948
963
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
949
964
|
*
|
|
950
965
|
* @publicApi
|
|
966
|
+
*
|
|
967
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
968
|
+
* This function serves no purpose when relying on the `Intl` API.
|
|
951
969
|
*/
|
|
952
970
|
function getLocaleId(locale) {
|
|
953
971
|
return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];
|
|
@@ -962,6 +980,9 @@ function getLocaleId(locale) {
|
|
|
962
980
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
963
981
|
*
|
|
964
982
|
* @publicApi
|
|
983
|
+
*
|
|
984
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
985
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
965
986
|
*/
|
|
966
987
|
function getLocaleDayPeriods(locale, formStyle, width) {
|
|
967
988
|
const data = ɵfindLocaleData(locale);
|
|
@@ -983,6 +1004,9 @@ function getLocaleDayPeriods(locale, formStyle, width) {
|
|
|
983
1004
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
984
1005
|
*
|
|
985
1006
|
* @publicApi
|
|
1007
|
+
*
|
|
1008
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1009
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
986
1010
|
*/
|
|
987
1011
|
function getLocaleDayNames(locale, formStyle, width) {
|
|
988
1012
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1004,6 +1028,9 @@ function getLocaleDayNames(locale, formStyle, width) {
|
|
|
1004
1028
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1005
1029
|
*
|
|
1006
1030
|
* @publicApi
|
|
1031
|
+
*
|
|
1032
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1033
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
1007
1034
|
*/
|
|
1008
1035
|
function getLocaleMonthNames(locale, formStyle, width) {
|
|
1009
1036
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1024,6 +1051,9 @@ function getLocaleMonthNames(locale, formStyle, width) {
|
|
|
1024
1051
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1025
1052
|
*
|
|
1026
1053
|
* @publicApi
|
|
1054
|
+
*
|
|
1055
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1056
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
1027
1057
|
*/
|
|
1028
1058
|
function getLocaleEraNames(locale, width) {
|
|
1029
1059
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1040,6 +1070,12 @@ function getLocaleEraNames(locale, width) {
|
|
|
1040
1070
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1041
1071
|
*
|
|
1042
1072
|
* @publicApi
|
|
1073
|
+
*
|
|
1074
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1075
|
+
* Intl's [`getWeekInfo`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo) has partial support (Chromium M99 & Safari 17).
|
|
1076
|
+
* You may want to rely on the following alternatives:
|
|
1077
|
+
* - Libraries like [`Luxon`](https://moment.github.io/luxon/#/) rely on `Intl` but fallback on the ISO 8601 definition (monday) if `getWeekInfo` is not supported.
|
|
1078
|
+
* - Other librairies like [`date-fns`](https://date-fns.org/), [`day.js`](https://day.js.org/en/) or [`weekstart`](https://www.npmjs.com/package/weekstart) library provide their own locale based data for the first day of the week.
|
|
1043
1079
|
*/
|
|
1044
1080
|
function getLocaleFirstDayOfWeek(locale) {
|
|
1045
1081
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1053,6 +1089,10 @@ function getLocaleFirstDayOfWeek(locale) {
|
|
|
1053
1089
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1054
1090
|
*
|
|
1055
1091
|
* @publicApi
|
|
1092
|
+
*
|
|
1093
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1094
|
+
* Intl's [`getWeekInfo`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo) has partial support (Chromium M99 & Safari 17).
|
|
1095
|
+
* Libraries like [`Luxon`](https://moment.github.io/luxon/#/) rely on `Intl` but fallback on the ISO 8601 definition (Saturday+Sunday) if `getWeekInfo` is not supported .
|
|
1056
1096
|
*/
|
|
1057
1097
|
function getLocaleWeekEndRange(locale) {
|
|
1058
1098
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1068,6 +1108,9 @@ function getLocaleWeekEndRange(locale) {
|
|
|
1068
1108
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1069
1109
|
*
|
|
1070
1110
|
* @publicApi
|
|
1111
|
+
*
|
|
1112
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1113
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
1071
1114
|
*/
|
|
1072
1115
|
function getLocaleDateFormat(locale, width) {
|
|
1073
1116
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1083,6 +1126,8 @@ function getLocaleDateFormat(locale, width) {
|
|
|
1083
1126
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1084
1127
|
|
|
1085
1128
|
* @publicApi
|
|
1129
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1130
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
1086
1131
|
*/
|
|
1087
1132
|
function getLocaleTimeFormat(locale, width) {
|
|
1088
1133
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1098,6 +1143,9 @@ function getLocaleTimeFormat(locale, width) {
|
|
|
1098
1143
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1099
1144
|
*
|
|
1100
1145
|
* @publicApi
|
|
1146
|
+
*
|
|
1147
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1148
|
+
* Use `Intl.DateTimeFormat` for date formating instead.
|
|
1101
1149
|
*/
|
|
1102
1150
|
function getLocaleDateTimeFormat(locale, width) {
|
|
1103
1151
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1113,6 +1161,9 @@ function getLocaleDateTimeFormat(locale, width) {
|
|
|
1113
1161
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1114
1162
|
*
|
|
1115
1163
|
* @publicApi
|
|
1164
|
+
*
|
|
1165
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1166
|
+
* Use `Intl.NumberFormat` to format numbers instead.
|
|
1116
1167
|
*/
|
|
1117
1168
|
function getLocaleNumberSymbol(locale, symbol) {
|
|
1118
1169
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1161,6 +1212,9 @@ function getLocaleNumberSymbol(locale, symbol) {
|
|
|
1161
1212
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1162
1213
|
*
|
|
1163
1214
|
* @publicApi
|
|
1215
|
+
*
|
|
1216
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1217
|
+
* Let `Intl.NumberFormat` determine the number format instead
|
|
1164
1218
|
*/
|
|
1165
1219
|
function getLocaleNumberFormat(locale, type) {
|
|
1166
1220
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1176,6 +1230,8 @@ function getLocaleNumberFormat(locale, type) {
|
|
|
1176
1230
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1177
1231
|
*
|
|
1178
1232
|
* @publicApi
|
|
1233
|
+
*
|
|
1234
|
+
* @deprecated Use the `Intl` API to format a currency with from currency code
|
|
1179
1235
|
*/
|
|
1180
1236
|
function getLocaleCurrencySymbol(locale) {
|
|
1181
1237
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1190,6 +1246,8 @@ function getLocaleCurrencySymbol(locale) {
|
|
|
1190
1246
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1191
1247
|
*
|
|
1192
1248
|
* @publicApi
|
|
1249
|
+
*
|
|
1250
|
+
* @deprecated Use the `Intl` API to format a currency with from currency code
|
|
1193
1251
|
*/
|
|
1194
1252
|
function getLocaleCurrencyName(locale) {
|
|
1195
1253
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1204,6 +1262,9 @@ function getLocaleCurrencyName(locale) {
|
|
|
1204
1262
|
* @returns The code of the default currency for the given locale.
|
|
1205
1263
|
*
|
|
1206
1264
|
* @publicApi
|
|
1265
|
+
*
|
|
1266
|
+
* @deprecated We recommend you create a map of locale to ISO 4217 currency codes.
|
|
1267
|
+
* Time relative currency data is provided by the CLDR project. See https://www.unicode.org/cldr/charts/44/supplemental/detailed_territory_currency_information.html
|
|
1207
1268
|
*/
|
|
1208
1269
|
function getLocaleCurrencyCode(locale) {
|
|
1209
1270
|
return ɵgetLocaleCurrencyCode(locale);
|
|
@@ -1219,8 +1280,10 @@ function getLocaleCurrencies(locale) {
|
|
|
1219
1280
|
return data[ɵLocaleDataIndex.Currencies];
|
|
1220
1281
|
}
|
|
1221
1282
|
/**
|
|
1222
|
-
* @alias core/ɵgetLocalePluralCase
|
|
1223
1283
|
* @publicApi
|
|
1284
|
+
*
|
|
1285
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1286
|
+
* Use `Intl.PluralRules` instead
|
|
1224
1287
|
*/
|
|
1225
1288
|
const getLocalePluralCase = ɵgetLocalePluralCase;
|
|
1226
1289
|
function checkFullData(data) {
|
|
@@ -1249,6 +1312,9 @@ function checkFullData(data) {
|
|
|
1249
1312
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1250
1313
|
*
|
|
1251
1314
|
* @publicApi
|
|
1315
|
+
*
|
|
1316
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1317
|
+
* Let `Intl.DateTimeFormat` determine the day period instead.
|
|
1252
1318
|
*/
|
|
1253
1319
|
function getLocaleExtraDayPeriodRules(locale) {
|
|
1254
1320
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1277,6 +1343,9 @@ function getLocaleExtraDayPeriodRules(locale) {
|
|
|
1277
1343
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1278
1344
|
*
|
|
1279
1345
|
* @publicApi
|
|
1346
|
+
*
|
|
1347
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1348
|
+
* To extract a day period use `Intl.DateTimeFormat` with the `dayPeriod` option instead.
|
|
1280
1349
|
*/
|
|
1281
1350
|
function getLocaleExtraDayPeriods(locale, formStyle, width) {
|
|
1282
1351
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1294,6 +1363,12 @@ function getLocaleExtraDayPeriods(locale, formStyle, width) {
|
|
|
1294
1363
|
* @publicApi
|
|
1295
1364
|
* @returns 'rtl' or 'ltr'
|
|
1296
1365
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1366
|
+
*
|
|
1367
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1368
|
+
* For dates and numbers, let `Intl.DateTimeFormat()` and `Intl.NumberFormat()` determine the writing direction.
|
|
1369
|
+
* The `Intl` alternative [`getTextInfo`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo).
|
|
1370
|
+
* has only partial support (Chromium M99 & Safari 17).
|
|
1371
|
+
* 3rd party alternatives like [`rtl-detect`](https://www.npmjs.com/package/rtl-detect) can work around this issue.
|
|
1297
1372
|
*/
|
|
1298
1373
|
function getLocaleDirection(locale) {
|
|
1299
1374
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1310,7 +1385,6 @@ function getLocaleDirection(locale) {
|
|
|
1310
1385
|
* @returns The value immediately before the given index position.
|
|
1311
1386
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1312
1387
|
*
|
|
1313
|
-
* @publicApi
|
|
1314
1388
|
*/
|
|
1315
1389
|
function getLastDefinedValue(data, index) {
|
|
1316
1390
|
for (let i = index; i > -1; i--) {
|
|
@@ -1341,6 +1415,12 @@ function extractTime(time) {
|
|
|
1341
1415
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1342
1416
|
*
|
|
1343
1417
|
* @publicApi
|
|
1418
|
+
*
|
|
1419
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1420
|
+
* You can use `Intl.NumberFormat().formatToParts()` to extract the currency symbol.
|
|
1421
|
+
* For example: `Intl.NumberFormat('en', {style:'currency', currency: 'USD'}).formatToParts().find(part => part.type === 'currency').value`
|
|
1422
|
+
* returns `$` for USD currency code in the `en` locale.
|
|
1423
|
+
* Note: `US$` is a currency symbol for the `en-ca` locale but not the `en-us` locale.
|
|
1344
1424
|
*/
|
|
1345
1425
|
function getCurrencySymbol(code, format, locale = 'en') {
|
|
1346
1426
|
const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];
|
|
@@ -1361,6 +1441,9 @@ const DEFAULT_NB_OF_CURRENCY_DIGITS = 2;
|
|
|
1361
1441
|
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1362
1442
|
*
|
|
1363
1443
|
* @publicApi
|
|
1444
|
+
*
|
|
1445
|
+
* @deprecated Angular recommends relying on the `Intl` API for i18n.
|
|
1446
|
+
* This function should not be used anymore. Let `Intl.NumberFormat` determine the number of digits to display for the currency
|
|
1364
1447
|
*/
|
|
1365
1448
|
function getNumberOfCurrencyDigits(code) {
|
|
1366
1449
|
let digits;
|
|
@@ -2520,10 +2603,10 @@ function parseIntAutoRadix(text) {
|
|
|
2520
2603
|
* @publicApi
|
|
2521
2604
|
*/
|
|
2522
2605
|
class NgLocalization {
|
|
2523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
2524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
2606
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2607
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }
|
|
2525
2608
|
}
|
|
2526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
2609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2527
2610
|
type: Injectable,
|
|
2528
2611
|
args: [{
|
|
2529
2612
|
providedIn: 'root',
|
|
@@ -2577,10 +2660,10 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2577
2660
|
return 'other';
|
|
2578
2661
|
}
|
|
2579
2662
|
}
|
|
2580
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
2581
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
2663
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2664
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgLocaleLocalization }); }
|
|
2582
2665
|
}
|
|
2583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
2666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2584
2667
|
type: Injectable
|
|
2585
2668
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2586
2669
|
type: Inject,
|
|
@@ -2749,10 +2832,10 @@ class NgClass {
|
|
|
2749
2832
|
});
|
|
2750
2833
|
}
|
|
2751
2834
|
}
|
|
2752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
2753
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
2835
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2836
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 }); }
|
|
2754
2837
|
}
|
|
2755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
2838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgClass, decorators: [{
|
|
2756
2839
|
type: Directive,
|
|
2757
2840
|
args: [{
|
|
2758
2841
|
selector: '[ngClass]',
|
|
@@ -2919,10 +3002,10 @@ class NgComponentOutlet {
|
|
|
2919
3002
|
}
|
|
2920
3003
|
}
|
|
2921
3004
|
}
|
|
2922
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
2923
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3005
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3006
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 }); }
|
|
2924
3007
|
}
|
|
2925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2926
3009
|
type: Directive,
|
|
2927
3010
|
args: [{
|
|
2928
3011
|
selector: '[ngComponentOutlet]',
|
|
@@ -3202,10 +3285,10 @@ class NgForOf {
|
|
|
3202
3285
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3203
3286
|
return true;
|
|
3204
3287
|
}
|
|
3205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3206
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3289
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 }); }
|
|
3207
3290
|
}
|
|
3208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgForOf, decorators: [{
|
|
3209
3292
|
type: Directive,
|
|
3210
3293
|
args: [{
|
|
3211
3294
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3428,10 +3511,10 @@ class NgIf {
|
|
|
3428
3511
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3429
3512
|
return true;
|
|
3430
3513
|
}
|
|
3431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3432
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3515
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 }); }
|
|
3433
3516
|
}
|
|
3434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgIf, decorators: [{
|
|
3435
3518
|
type: Directive,
|
|
3436
3519
|
args: [{
|
|
3437
3520
|
selector: '[ngIf]',
|
|
@@ -3604,10 +3687,10 @@ class NgSwitch {
|
|
|
3604
3687
|
}
|
|
3605
3688
|
}
|
|
3606
3689
|
}
|
|
3607
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3608
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3691
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 }); }
|
|
3609
3692
|
}
|
|
3610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3611
3694
|
type: Directive,
|
|
3612
3695
|
args: [{
|
|
3613
3696
|
selector: '[ngSwitch]',
|
|
@@ -3665,10 +3748,10 @@ class NgSwitchCase {
|
|
|
3665
3748
|
ngDoCheck() {
|
|
3666
3749
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3667
3750
|
}
|
|
3668
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3669
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3752
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 }); }
|
|
3670
3753
|
}
|
|
3671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3672
3755
|
type: Directive,
|
|
3673
3756
|
args: [{
|
|
3674
3757
|
selector: '[ngSwitchCase]',
|
|
@@ -3702,10 +3785,10 @@ class NgSwitchDefault {
|
|
|
3702
3785
|
}
|
|
3703
3786
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3704
3787
|
}
|
|
3705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3706
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3788
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3789
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 }); }
|
|
3707
3790
|
}
|
|
3708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3709
3792
|
type: Directive,
|
|
3710
3793
|
args: [{
|
|
3711
3794
|
selector: '[ngSwitchDefault]',
|
|
@@ -3783,10 +3866,10 @@ class NgPlural {
|
|
|
3783
3866
|
this._activeView.create();
|
|
3784
3867
|
}
|
|
3785
3868
|
}
|
|
3786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3787
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3870
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 }); }
|
|
3788
3871
|
}
|
|
3789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgPlural, decorators: [{
|
|
3790
3873
|
type: Directive,
|
|
3791
3874
|
args: [{
|
|
3792
3875
|
selector: '[ngPlural]',
|
|
@@ -3821,10 +3904,10 @@ class NgPluralCase {
|
|
|
3821
3904
|
const isANumber = !isNaN(Number(value));
|
|
3822
3905
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3823
3906
|
}
|
|
3824
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3825
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3907
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3908
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 }); }
|
|
3826
3909
|
}
|
|
3827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3828
3911
|
type: Directive,
|
|
3829
3912
|
args: [{
|
|
3830
3913
|
selector: '[ngPluralCase]',
|
|
@@ -3910,10 +3993,10 @@ class NgStyle {
|
|
|
3910
3993
|
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3911
3994
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3912
3995
|
}
|
|
3913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
3914
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
3996
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3997
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 }); }
|
|
3915
3998
|
}
|
|
3916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
3999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgStyle, decorators: [{
|
|
3917
4000
|
type: Directive,
|
|
3918
4001
|
args: [{
|
|
3919
4002
|
selector: '[ngStyle]',
|
|
@@ -4014,10 +4097,10 @@ class NgTemplateOutlet {
|
|
|
4014
4097
|
},
|
|
4015
4098
|
});
|
|
4016
4099
|
}
|
|
4017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4018
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-
|
|
4100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4101
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 }); }
|
|
4019
4102
|
}
|
|
4020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
4021
4104
|
type: Directive,
|
|
4022
4105
|
args: [{
|
|
4023
4106
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4185,10 +4268,10 @@ class AsyncPipe {
|
|
|
4185
4268
|
}
|
|
4186
4269
|
}
|
|
4187
4270
|
}
|
|
4188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4189
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4272
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false }); }
|
|
4190
4273
|
}
|
|
4191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4192
4275
|
type: Pipe,
|
|
4193
4276
|
args: [{
|
|
4194
4277
|
name: 'async',
|
|
@@ -4221,10 +4304,10 @@ class LowerCasePipe {
|
|
|
4221
4304
|
}
|
|
4222
4305
|
return value.toLowerCase();
|
|
4223
4306
|
}
|
|
4224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4225
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4307
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4308
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" }); }
|
|
4226
4309
|
}
|
|
4227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4228
4311
|
type: Pipe,
|
|
4229
4312
|
args: [{
|
|
4230
4313
|
name: 'lowercase',
|
|
@@ -4266,10 +4349,10 @@ class TitleCasePipe {
|
|
|
4266
4349
|
}
|
|
4267
4350
|
return value.replace(unicodeWordMatch, (txt) => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
|
|
4268
4351
|
}
|
|
4269
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4270
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4352
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4353
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" }); }
|
|
4271
4354
|
}
|
|
4272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4273
4356
|
type: Pipe,
|
|
4274
4357
|
args: [{
|
|
4275
4358
|
name: 'titlecase',
|
|
@@ -4293,10 +4376,10 @@ class UpperCasePipe {
|
|
|
4293
4376
|
}
|
|
4294
4377
|
return value.toUpperCase();
|
|
4295
4378
|
}
|
|
4296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4297
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4380
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" }); }
|
|
4298
4381
|
}
|
|
4299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4300
4383
|
type: Pipe,
|
|
4301
4384
|
args: [{
|
|
4302
4385
|
name: 'uppercase',
|
|
@@ -4527,10 +4610,10 @@ class DatePipe {
|
|
|
4527
4610
|
throw invalidPipeArgumentError(DatePipe, error.message);
|
|
4528
4611
|
}
|
|
4529
4612
|
}
|
|
4530
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4531
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4613
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4614
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" }); }
|
|
4532
4615
|
}
|
|
4533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DatePipe, decorators: [{
|
|
4534
4617
|
type: Pipe,
|
|
4535
4618
|
args: [{
|
|
4536
4619
|
name: 'date',
|
|
@@ -4586,10 +4669,10 @@ class I18nPluralPipe {
|
|
|
4586
4669
|
const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
|
|
4587
4670
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4588
4671
|
}
|
|
4589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4590
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4673
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" }); }
|
|
4591
4674
|
}
|
|
4592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4593
4676
|
type: Pipe,
|
|
4594
4677
|
args: [{
|
|
4595
4678
|
name: 'i18nPlural',
|
|
@@ -4634,10 +4717,10 @@ class I18nSelectPipe {
|
|
|
4634
4717
|
}
|
|
4635
4718
|
return '';
|
|
4636
4719
|
}
|
|
4637
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4638
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4720
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4721
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" }); }
|
|
4639
4722
|
}
|
|
4640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4641
4724
|
type: Pipe,
|
|
4642
4725
|
args: [{
|
|
4643
4726
|
name: 'i18nSelect',
|
|
@@ -4667,10 +4750,10 @@ class JsonPipe {
|
|
|
4667
4750
|
transform(value) {
|
|
4668
4751
|
return JSON.stringify(value, null, 2);
|
|
4669
4752
|
}
|
|
4670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4671
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4753
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4754
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false }); }
|
|
4672
4755
|
}
|
|
4673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4674
4757
|
type: Pipe,
|
|
4675
4758
|
args: [{
|
|
4676
4759
|
name: 'json',
|
|
@@ -4728,10 +4811,10 @@ class KeyValuePipe {
|
|
|
4728
4811
|
}
|
|
4729
4812
|
return this.keyValues;
|
|
4730
4813
|
}
|
|
4731
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4732
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4815
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false }); }
|
|
4733
4816
|
}
|
|
4734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4735
4818
|
type: Pipe,
|
|
4736
4819
|
args: [{
|
|
4737
4820
|
name: 'keyvalue',
|
|
@@ -4856,10 +4939,10 @@ class DecimalPipe {
|
|
|
4856
4939
|
throw invalidPipeArgumentError(DecimalPipe, error.message);
|
|
4857
4940
|
}
|
|
4858
4941
|
}
|
|
4859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4860
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
4942
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4943
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" }); }
|
|
4861
4944
|
}
|
|
4862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
4945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4863
4946
|
type: Pipe,
|
|
4864
4947
|
args: [{
|
|
4865
4948
|
name: 'number',
|
|
@@ -4921,10 +5004,10 @@ class PercentPipe {
|
|
|
4921
5004
|
throw invalidPipeArgumentError(PercentPipe, error.message);
|
|
4922
5005
|
}
|
|
4923
5006
|
}
|
|
4924
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
4925
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
5007
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5008
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" }); }
|
|
4926
5009
|
}
|
|
4927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
5010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4928
5011
|
type: Pipe,
|
|
4929
5012
|
args: [{
|
|
4930
5013
|
name: 'percent',
|
|
@@ -5020,10 +5103,10 @@ class CurrencyPipe {
|
|
|
5020
5103
|
throw invalidPipeArgumentError(CurrencyPipe, error.message);
|
|
5021
5104
|
}
|
|
5022
5105
|
}
|
|
5023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
5024
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
5106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5107
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" }); }
|
|
5025
5108
|
}
|
|
5026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
5109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
5027
5110
|
type: Pipe,
|
|
5028
5111
|
args: [{
|
|
5029
5112
|
name: 'currency',
|
|
@@ -5100,10 +5183,10 @@ class SlicePipe {
|
|
|
5100
5183
|
supports(obj) {
|
|
5101
5184
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5102
5185
|
}
|
|
5103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
5104
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-
|
|
5186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5187
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false }); }
|
|
5105
5188
|
}
|
|
5106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
5189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5107
5190
|
type: Pipe,
|
|
5108
5191
|
args: [{
|
|
5109
5192
|
name: 'slice',
|
|
@@ -5147,11 +5230,11 @@ const COMMON_PIPES = [
|
|
|
5147
5230
|
* @publicApi
|
|
5148
5231
|
*/
|
|
5149
5232
|
class CommonModule {
|
|
5150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
5151
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-
|
|
5152
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-
|
|
5233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5234
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] }); }
|
|
5235
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CommonModule }); }
|
|
5153
5236
|
}
|
|
5154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
5237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CommonModule, decorators: [{
|
|
5155
5238
|
type: NgModule,
|
|
5156
5239
|
args: [{
|
|
5157
5240
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5184,7 +5267,7 @@ function isPlatformServer(platformId) {
|
|
|
5184
5267
|
/**
|
|
5185
5268
|
* @publicApi
|
|
5186
5269
|
*/
|
|
5187
|
-
const VERSION = new Version('18.0.0-
|
|
5270
|
+
const VERSION = new Version('18.0.0-rc.0');
|
|
5188
5271
|
|
|
5189
5272
|
/**
|
|
5190
5273
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5794,10 +5877,10 @@ class LCPImageObserver {
|
|
|
5794
5877
|
this.observer.disconnect();
|
|
5795
5878
|
this.images.clear();
|
|
5796
5879
|
}
|
|
5797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
5798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
5880
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5881
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }
|
|
5799
5882
|
}
|
|
5800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
5883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5801
5884
|
type: Injectable,
|
|
5802
5885
|
args: [{ providedIn: 'root' }]
|
|
5803
5886
|
}], ctorParameters: () => [] });
|
|
@@ -5920,10 +6003,10 @@ class PreconnectLinkChecker {
|
|
|
5920
6003
|
this.preconnectLinks?.clear();
|
|
5921
6004
|
this.alreadySeen.clear();
|
|
5922
6005
|
}
|
|
5923
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
5924
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
6006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6007
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }
|
|
5925
6008
|
}
|
|
5926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
6009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5927
6010
|
type: Injectable,
|
|
5928
6011
|
args: [{ providedIn: 'root' }]
|
|
5929
6012
|
}], ctorParameters: () => [] });
|
|
@@ -6012,10 +6095,10 @@ class PreloadLinkCreator {
|
|
|
6012
6095
|
}
|
|
6013
6096
|
renderer.appendChild(this.document.head, preload);
|
|
6014
6097
|
}
|
|
6015
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
6016
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-
|
|
6098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6099
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }
|
|
6017
6100
|
}
|
|
6018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
6101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
6019
6102
|
type: Injectable,
|
|
6020
6103
|
args: [{ providedIn: 'root' }]
|
|
6021
6104
|
}] });
|
|
@@ -6479,10 +6562,10 @@ class NgOptimizedImage {
|
|
|
6479
6562
|
setHostAttribute(name, value) {
|
|
6480
6563
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6481
6564
|
}
|
|
6482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-
|
|
6483
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-
|
|
6565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6566
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], loading: "loading", priority: ["priority", "priority", booleanAttribute], loaderParams: "loaderParams", disableOptimizedSrcset: ["disableOptimizedSrcset", "disableOptimizedSrcset", booleanAttribute], fill: ["fill", "fill", booleanAttribute], placeholder: ["placeholder", "placeholder", booleanOrDataUrlAttribute], placeholderConfig: "placeholderConfig", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0\" : null", "style.background-size": "placeholder ? \"cover\" : null", "style.background-position": "placeholder ? \"50% 50%\" : null", "style.background-repeat": "placeholder ? \"no-repeat\" : null", "style.background-image": "placeholder ? generatePlaceholder(placeholder) : null", "style.filter": "placeholder && shouldBlurPlaceholder(placeholderConfig) ? \"blur(15px)\" : null" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
6484
6567
|
}
|
|
6485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-
|
|
6568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6486
6569
|
type: Directive,
|
|
6487
6570
|
args: [{
|
|
6488
6571
|
standalone: true,
|