@angular/common 18.0.0-next.3 → 18.0.0-next.5
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 +6 -7
- package/esm2022/http/src/fetch.mjs +3 -3
- package/esm2022/http/src/interceptor.mjs +24 -8
- package/esm2022/http/src/jsonp.mjs +6 -6
- package/esm2022/http/src/module.mjs +12 -12
- package/esm2022/http/src/private_export.mjs +2 -2
- package/esm2022/http/src/transfer_cache.mjs +6 -4
- 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/http/testing/src/provider.mjs +3 -2
- package/esm2022/src/common.mjs +2 -2
- 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 +12 -12
- package/esm2022/src/directives/ng_if.mjs +6 -6
- package/esm2022/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +6 -9
- package/esm2022/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/ng_optimized_image.mjs +5 -5
- 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 +11 -11
- 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.mjs +2 -2
- package/esm2022/src/i18n/locale_data_api.mjs +29 -29
- 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 +5 -5
- 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 +13 -13
- package/esm2022/src/pipes/slice_pipe.mjs +3 -3
- package/esm2022/src/platform_id.mjs +1 -21
- 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 +6 -6
- package/fesm2022/common.mjs +173 -196
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +11 -10
- package/fesm2022/http/testing.mjs.map +1 -1
- package/fesm2022/http.mjs +64 -48
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +17 -17
- package/fesm2022/upgrade.mjs +7 -7
- package/fesm2022/upgrade.mjs.map +1 -1
- package/http/index.d.ts +11 -9
- package/http/testing/index.d.ts +2 -2
- package/index.d.ts +48 -68
- package/package.json +2 -2
- package/testing/index.d.ts +2 -2
- package/upgrade/index.d.ts +3 -3
package/fesm2022/common.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.0.0-next.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v18.0.0-next.5
|
|
3
|
+
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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-next.
|
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
34
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.
|
|
77
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
77
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.
|
|
160
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
160
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }
|
|
161
161
|
}
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.
|
|
249
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
249
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }
|
|
250
250
|
}
|
|
251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.
|
|
362
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
361
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.5", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }
|
|
363
363
|
}
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.
|
|
451
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.5", ngImport: i0, type: HashLocationStrategy }); }
|
|
452
452
|
}
|
|
453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.
|
|
701
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", 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-next.5", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }
|
|
702
702
|
}
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: Location, decorators: [{
|
|
704
704
|
type: Injectable,
|
|
705
705
|
args: [{
|
|
706
706
|
providedIn: 'root',
|
|
@@ -744,7 +744,7 @@ const CURRENCIES_EN = { "ADP": [undefined, undefined, 0], "AFN": [undefined, "؋
|
|
|
744
744
|
/**
|
|
745
745
|
* Format styles that can be used to represent numbers.
|
|
746
746
|
* @see {@link getLocaleNumberFormat}
|
|
747
|
-
* @see [Internationalization (i18n) Guide](
|
|
747
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
748
748
|
*
|
|
749
749
|
* @publicApi
|
|
750
750
|
*/
|
|
@@ -760,7 +760,7 @@ var NumberFormatStyle;
|
|
|
760
760
|
*
|
|
761
761
|
* @see {@link NgPlural}
|
|
762
762
|
* @see {@link NgPluralCase}
|
|
763
|
-
* @see [Internationalization (i18n) Guide](
|
|
763
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
764
764
|
*
|
|
765
765
|
* @publicApi
|
|
766
766
|
*/
|
|
@@ -778,7 +778,7 @@ var Plural;
|
|
|
778
778
|
* Typically the standalone version is for the nominative form of the word,
|
|
779
779
|
* and the format version is used for the genitive case.
|
|
780
780
|
* @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)
|
|
781
|
-
* @see [Internationalization (i18n) Guide](
|
|
781
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
782
782
|
*
|
|
783
783
|
* @publicApi
|
|
784
784
|
*/
|
|
@@ -813,7 +813,7 @@ var TranslationWidth;
|
|
|
813
813
|
* @see {@link getLocaleDateFormat}
|
|
814
814
|
* @see {@link getLocaleTimeFormat}
|
|
815
815
|
* @see {@link getLocaleDateTimeFormat}
|
|
816
|
-
* @see [Internationalization (i18n) Guide](
|
|
816
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
817
817
|
* @publicApi
|
|
818
818
|
*/
|
|
819
819
|
var FormatWidth;
|
|
@@ -846,7 +846,7 @@ var FormatWidth;
|
|
|
846
846
|
* Examples are based on `en-US` values.
|
|
847
847
|
*
|
|
848
848
|
* @see {@link getLocaleNumberSymbol}
|
|
849
|
-
* @see [Internationalization (i18n) Guide](
|
|
849
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
850
850
|
*
|
|
851
851
|
* @publicApi
|
|
852
852
|
* @object-literal-as-enum
|
|
@@ -945,7 +945,7 @@ var WeekDay;
|
|
|
945
945
|
* The loaded locale could be, for example, a global one rather than a regional one.
|
|
946
946
|
* @param locale A locale code, such as `fr-FR`.
|
|
947
947
|
* @returns The locale code. For example, `fr`.
|
|
948
|
-
* @see [Internationalization (i18n) Guide](
|
|
948
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
949
949
|
*
|
|
950
950
|
* @publicApi
|
|
951
951
|
*/
|
|
@@ -959,7 +959,7 @@ function getLocaleId(locale) {
|
|
|
959
959
|
* @param formStyle The required grammatical form.
|
|
960
960
|
* @param width The required character width.
|
|
961
961
|
* @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.
|
|
962
|
-
* @see [Internationalization (i18n) Guide](
|
|
962
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
963
963
|
*
|
|
964
964
|
* @publicApi
|
|
965
965
|
*/
|
|
@@ -980,7 +980,7 @@ function getLocaleDayPeriods(locale, formStyle, width) {
|
|
|
980
980
|
* @param width The required character width.
|
|
981
981
|
* @returns An array of localized name strings.
|
|
982
982
|
* For example,`[Sunday, Monday, ... Saturday]` for `en-US`.
|
|
983
|
-
* @see [Internationalization (i18n) Guide](
|
|
983
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
984
984
|
*
|
|
985
985
|
* @publicApi
|
|
986
986
|
*/
|
|
@@ -1001,7 +1001,7 @@ function getLocaleDayNames(locale, formStyle, width) {
|
|
|
1001
1001
|
* @param width The required character width.
|
|
1002
1002
|
* @returns An array of localized name strings.
|
|
1003
1003
|
* For example, `[January, February, ...]` for `en-US`.
|
|
1004
|
-
* @see [Internationalization (i18n) Guide](
|
|
1004
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1005
1005
|
*
|
|
1006
1006
|
* @publicApi
|
|
1007
1007
|
*/
|
|
@@ -1021,7 +1021,7 @@ function getLocaleMonthNames(locale, formStyle, width) {
|
|
|
1021
1021
|
|
|
1022
1022
|
* @returns An array of localized era strings.
|
|
1023
1023
|
* For example, `[AD, BC]` for `en-US`.
|
|
1024
|
-
* @see [Internationalization (i18n) Guide](
|
|
1024
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1025
1025
|
*
|
|
1026
1026
|
* @publicApi
|
|
1027
1027
|
*/
|
|
@@ -1037,7 +1037,7 @@ function getLocaleEraNames(locale, width) {
|
|
|
1037
1037
|
* @returns A day index number, using the 0-based week-day index for `en-US`
|
|
1038
1038
|
* (Sunday = 0, Monday = 1, ...).
|
|
1039
1039
|
* For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.
|
|
1040
|
-
* @see [Internationalization (i18n) Guide](
|
|
1040
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1041
1041
|
*
|
|
1042
1042
|
* @publicApi
|
|
1043
1043
|
*/
|
|
@@ -1050,7 +1050,7 @@ function getLocaleFirstDayOfWeek(locale) {
|
|
|
1050
1050
|
*
|
|
1051
1051
|
* @param locale A locale code for the locale format rules to use.
|
|
1052
1052
|
* @returns The range of day values, `[startDay, endDay]`.
|
|
1053
|
-
* @see [Internationalization (i18n) Guide](
|
|
1053
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1054
1054
|
*
|
|
1055
1055
|
* @publicApi
|
|
1056
1056
|
*/
|
|
@@ -1065,7 +1065,7 @@ function getLocaleWeekEndRange(locale) {
|
|
|
1065
1065
|
* @param width The format type.
|
|
1066
1066
|
* @returns The localized formatting string.
|
|
1067
1067
|
* @see {@link FormatWidth}
|
|
1068
|
-
* @see [Internationalization (i18n) Guide](
|
|
1068
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1069
1069
|
*
|
|
1070
1070
|
* @publicApi
|
|
1071
1071
|
*/
|
|
@@ -1080,7 +1080,7 @@ function getLocaleDateFormat(locale, width) {
|
|
|
1080
1080
|
* @param width The format type.
|
|
1081
1081
|
* @returns The localized formatting string.
|
|
1082
1082
|
* @see {@link FormatWidth}
|
|
1083
|
-
* @see [Internationalization (i18n) Guide](
|
|
1083
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1084
1084
|
|
|
1085
1085
|
* @publicApi
|
|
1086
1086
|
*/
|
|
@@ -1095,7 +1095,7 @@ function getLocaleTimeFormat(locale, width) {
|
|
|
1095
1095
|
* @param width The format type.
|
|
1096
1096
|
* @returns The localized formatting string.
|
|
1097
1097
|
* @see {@link FormatWidth}
|
|
1098
|
-
* @see [Internationalization (i18n) Guide](
|
|
1098
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1099
1099
|
*
|
|
1100
1100
|
* @publicApi
|
|
1101
1101
|
*/
|
|
@@ -1110,7 +1110,7 @@ function getLocaleDateTimeFormat(locale, width) {
|
|
|
1110
1110
|
* @param symbol The symbol to localize. Must be one of `NumberSymbol`.
|
|
1111
1111
|
* @returns The character for the localized symbol.
|
|
1112
1112
|
* @see {@link NumberSymbol}
|
|
1113
|
-
* @see [Internationalization (i18n) Guide](
|
|
1113
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1114
1114
|
*
|
|
1115
1115
|
* @publicApi
|
|
1116
1116
|
*/
|
|
@@ -1158,7 +1158,7 @@ function getLocaleNumberSymbol(locale, symbol) {
|
|
|
1158
1158
|
* @returns The localized format string.
|
|
1159
1159
|
* @see {@link NumberFormatStyle}
|
|
1160
1160
|
* @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
|
|
1161
|
-
* @see [Internationalization (i18n) Guide](
|
|
1161
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1162
1162
|
*
|
|
1163
1163
|
* @publicApi
|
|
1164
1164
|
*/
|
|
@@ -1173,7 +1173,7 @@ function getLocaleNumberFormat(locale, type) {
|
|
|
1173
1173
|
* @param locale A locale code for the locale format rules to use.
|
|
1174
1174
|
* @returns The localized symbol character,
|
|
1175
1175
|
* or `null` if the main country cannot be determined.
|
|
1176
|
-
* @see [Internationalization (i18n) Guide](
|
|
1176
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1177
1177
|
*
|
|
1178
1178
|
* @publicApi
|
|
1179
1179
|
*/
|
|
@@ -1187,7 +1187,7 @@ function getLocaleCurrencySymbol(locale) {
|
|
|
1187
1187
|
* @param locale A locale code for the locale format rules to use.
|
|
1188
1188
|
* @returns The currency name,
|
|
1189
1189
|
* or `null` if the main country cannot be determined.
|
|
1190
|
-
* @see [Internationalization (i18n) Guide](
|
|
1190
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1191
1191
|
*
|
|
1192
1192
|
* @publicApi
|
|
1193
1193
|
*/
|
|
@@ -1212,7 +1212,7 @@ function getLocaleCurrencyCode(locale) {
|
|
|
1212
1212
|
* Retrieves the currency values for a given locale.
|
|
1213
1213
|
* @param locale A locale code for the locale format rules to use.
|
|
1214
1214
|
* @returns The currency values.
|
|
1215
|
-
* @see [Internationalization (i18n) Guide](
|
|
1215
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1216
1216
|
*/
|
|
1217
1217
|
function getLocaleCurrencies(locale) {
|
|
1218
1218
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1239,14 +1239,14 @@ function checkFullData(data) {
|
|
|
1239
1239
|
* A rule can specify a period as time range, or as a single time value.
|
|
1240
1240
|
*
|
|
1241
1241
|
* This functionality is only available when you have loaded the full locale data.
|
|
1242
|
-
* See the ["I18n guide"](guide/i18n
|
|
1242
|
+
* See the ["I18n guide"](guide/i18n/format-data-locale).
|
|
1243
1243
|
*
|
|
1244
1244
|
* @param locale A locale code for the locale format rules to use.
|
|
1245
1245
|
* @returns The rules for the locale, a single time value or array of *from-time, to-time*,
|
|
1246
1246
|
* or null if no periods are available.
|
|
1247
1247
|
*
|
|
1248
1248
|
* @see {@link getLocaleExtraDayPeriods}
|
|
1249
|
-
* @see [Internationalization (i18n) Guide](
|
|
1249
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1250
1250
|
*
|
|
1251
1251
|
* @publicApi
|
|
1252
1252
|
*/
|
|
@@ -1267,14 +1267,14 @@ function getLocaleExtraDayPeriodRules(locale) {
|
|
|
1267
1267
|
* For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.
|
|
1268
1268
|
*
|
|
1269
1269
|
* This functionality is only available when you have loaded the full locale data.
|
|
1270
|
-
* See the ["I18n guide"](guide/i18n
|
|
1270
|
+
* See the ["I18n guide"](guide/i18n/format-data-locale).
|
|
1271
1271
|
*
|
|
1272
1272
|
* @param locale A locale code for the locale format rules to use.
|
|
1273
1273
|
* @param formStyle The required grammatical form.
|
|
1274
1274
|
* @param width The required character width.
|
|
1275
1275
|
* @returns The translated day-period strings.
|
|
1276
1276
|
* @see {@link getLocaleExtraDayPeriodRules}
|
|
1277
|
-
* @see [Internationalization (i18n) Guide](
|
|
1277
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1278
1278
|
*
|
|
1279
1279
|
* @publicApi
|
|
1280
1280
|
*/
|
|
@@ -1293,7 +1293,7 @@ function getLocaleExtraDayPeriods(locale, formStyle, width) {
|
|
|
1293
1293
|
* @param locale A locale code for the locale format rules to use.
|
|
1294
1294
|
* @publicApi
|
|
1295
1295
|
* @returns 'rtl' or 'ltr'
|
|
1296
|
-
* @see [Internationalization (i18n) Guide](
|
|
1296
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1297
1297
|
*/
|
|
1298
1298
|
function getLocaleDirection(locale) {
|
|
1299
1299
|
const data = ɵfindLocaleData(locale);
|
|
@@ -1308,7 +1308,7 @@ function getLocaleDirection(locale) {
|
|
|
1308
1308
|
* @param data The data array to retrieve from.
|
|
1309
1309
|
* @param index A 0-based index into the array to start from.
|
|
1310
1310
|
* @returns The value immediately before the given index position.
|
|
1311
|
-
* @see [Internationalization (i18n) Guide](
|
|
1311
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1312
1312
|
*
|
|
1313
1313
|
* @publicApi
|
|
1314
1314
|
*/
|
|
@@ -1338,7 +1338,7 @@ function extractTime(time) {
|
|
|
1338
1338
|
* @param locale A locale code for the locale format rules to use.
|
|
1339
1339
|
*
|
|
1340
1340
|
* @returns The symbol, or the currency code if no symbol is available.
|
|
1341
|
-
* @see [Internationalization (i18n) Guide](
|
|
1341
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1342
1342
|
*
|
|
1343
1343
|
* @publicApi
|
|
1344
1344
|
*/
|
|
@@ -1358,7 +1358,7 @@ const DEFAULT_NB_OF_CURRENCY_DIGITS = 2;
|
|
|
1358
1358
|
*
|
|
1359
1359
|
* @param code The currency code.
|
|
1360
1360
|
* @returns The number of decimal digits, typically 0 or 2.
|
|
1361
|
-
* @see [Internationalization (i18n) Guide](
|
|
1361
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1362
1362
|
*
|
|
1363
1363
|
* @publicApi
|
|
1364
1364
|
*/
|
|
@@ -1417,7 +1417,7 @@ var TranslationType;
|
|
|
1417
1417
|
* @returns The formatted date string.
|
|
1418
1418
|
*
|
|
1419
1419
|
* @see {@link DatePipe}
|
|
1420
|
-
* @see [Internationalization (i18n) Guide](
|
|
1420
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
1421
1421
|
*
|
|
1422
1422
|
* @publicApi
|
|
1423
1423
|
*/
|
|
@@ -2246,7 +2246,7 @@ function formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimal
|
|
|
2246
2246
|
*
|
|
2247
2247
|
* @see {@link formatNumber}
|
|
2248
2248
|
* @see {@link DecimalPipe}
|
|
2249
|
-
* @see [Internationalization (i18n) Guide](
|
|
2249
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
2250
2250
|
*
|
|
2251
2251
|
* @publicApi
|
|
2252
2252
|
*/
|
|
@@ -2281,7 +2281,7 @@ function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {
|
|
|
2281
2281
|
*
|
|
2282
2282
|
* @see {@link formatNumber}
|
|
2283
2283
|
* @see {@link DecimalPipe}
|
|
2284
|
-
* @see [Internationalization (i18n) Guide](
|
|
2284
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
2285
2285
|
* @publicApi
|
|
2286
2286
|
*
|
|
2287
2287
|
*/
|
|
@@ -2304,7 +2304,7 @@ function formatPercent(value, locale, digitsInfo) {
|
|
|
2304
2304
|
* `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
|
|
2305
2305
|
*
|
|
2306
2306
|
* @returns The formatted text string.
|
|
2307
|
-
* @see [Internationalization (i18n) Guide](
|
|
2307
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
2308
2308
|
*
|
|
2309
2309
|
* @publicApi
|
|
2310
2310
|
*/
|
|
@@ -2520,10 +2520,10 @@ function parseIntAutoRadix(text) {
|
|
|
2520
2520
|
* @publicApi
|
|
2521
2521
|
*/
|
|
2522
2522
|
class NgLocalization {
|
|
2523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }
|
|
2525
2525
|
}
|
|
2526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgLocalization, decorators: [{
|
|
2527
2527
|
type: Injectable,
|
|
2528
2528
|
args: [{
|
|
2529
2529
|
providedIn: 'root',
|
|
@@ -2577,10 +2577,10 @@ class NgLocaleLocalization extends NgLocalization {
|
|
|
2577
2577
|
return 'other';
|
|
2578
2578
|
}
|
|
2579
2579
|
}
|
|
2580
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2581
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2581
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgLocaleLocalization }); }
|
|
2582
2582
|
}
|
|
2583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgLocaleLocalization, decorators: [{
|
|
2584
2584
|
type: Injectable
|
|
2585
2585
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2586
2586
|
type: Inject,
|
|
@@ -2589,7 +2589,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.3",
|
|
|
2589
2589
|
|
|
2590
2590
|
/**
|
|
2591
2591
|
* Register global data to be used internally by Angular. See the
|
|
2592
|
-
* ["I18n guide"](guide/i18n
|
|
2592
|
+
* ["I18n guide"](guide/i18n/format-data-locale) to know how to import additional locale
|
|
2593
2593
|
* data.
|
|
2594
2594
|
*
|
|
2595
2595
|
* The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1
|
|
@@ -2749,10 +2749,10 @@ class NgClass {
|
|
|
2749
2749
|
});
|
|
2750
2750
|
}
|
|
2751
2751
|
}
|
|
2752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2753
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
2752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2753
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 }); }
|
|
2754
2754
|
}
|
|
2755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgClass, decorators: [{
|
|
2756
2756
|
type: Directive,
|
|
2757
2757
|
args: [{
|
|
2758
2758
|
selector: '[ngClass]',
|
|
@@ -2919,10 +2919,10 @@ class NgComponentOutlet {
|
|
|
2919
2919
|
}
|
|
2920
2920
|
}
|
|
2921
2921
|
}
|
|
2922
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2923
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
2922
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2923
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 }); }
|
|
2924
2924
|
}
|
|
2925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
2925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgComponentOutlet, decorators: [{
|
|
2926
2926
|
type: Directive,
|
|
2927
2927
|
args: [{
|
|
2928
2928
|
selector: '[ngComponentOutlet]',
|
|
@@ -2971,13 +2971,13 @@ class NgForOfContext {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
}
|
|
2973
2973
|
/**
|
|
2974
|
-
* A [structural directive](guide/structural-directives) that renders
|
|
2974
|
+
* A [structural directive](guide/directives/structural-directives) that renders
|
|
2975
2975
|
* a template for each item in a collection.
|
|
2976
2976
|
* The directive is placed on an element, which becomes the parent
|
|
2977
2977
|
* of the cloned templates.
|
|
2978
2978
|
*
|
|
2979
2979
|
* The `ngForOf` directive is generally used in the
|
|
2980
|
-
* [shorthand form](guide/structural-directives#asterisk) `*ngFor`.
|
|
2980
|
+
* [shorthand form](guide/directives/structural-directives#asterisk) `*ngFor`.
|
|
2981
2981
|
* In this form, the template to be rendered for each iteration is the content
|
|
2982
2982
|
* of an anchor element containing the directive.
|
|
2983
2983
|
*
|
|
@@ -3006,11 +3006,11 @@ class NgForOfContext {
|
|
|
3006
3006
|
* context according to its lexical position.
|
|
3007
3007
|
*
|
|
3008
3008
|
* When using the shorthand syntax, Angular allows only [one structural directive
|
|
3009
|
-
* on an element](guide/structural-directives#one-per-element).
|
|
3009
|
+
* on an element](guide/directives/structural-directives#one-per-element).
|
|
3010
3010
|
* If you want to iterate conditionally, for example,
|
|
3011
3011
|
* put the `*ngIf` on a container element that wraps the `*ngFor` element.
|
|
3012
3012
|
* For further discussion, see
|
|
3013
|
-
* [Structural Directives](guide/structural-directives#one-per-element).
|
|
3013
|
+
* [Structural Directives](guide/directives/structural-directives#one-per-element).
|
|
3014
3014
|
*
|
|
3015
3015
|
* @usageNotes
|
|
3016
3016
|
*
|
|
@@ -3051,7 +3051,7 @@ class NgForOfContext {
|
|
|
3051
3051
|
* controls that are present, such as `<input>` elements that accept user input. Inserted rows can
|
|
3052
3052
|
* be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state
|
|
3053
3053
|
* such as user input.
|
|
3054
|
-
* For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).
|
|
3054
|
+
* For more on animations, see [Transitions and Triggers](guide/animations/transition-and-triggers).
|
|
3055
3055
|
*
|
|
3056
3056
|
* The identities of elements in the iterator can change while the data does not.
|
|
3057
3057
|
* This can happen, for example, if the iterator is produced from an RPC to the server, and that
|
|
@@ -3064,14 +3064,14 @@ class NgForOfContext {
|
|
|
3064
3064
|
* `trackBy` takes a function that has two arguments: `index` and `item`.
|
|
3065
3065
|
* If `trackBy` is given, Angular tracks changes by the return value of the function.
|
|
3066
3066
|
*
|
|
3067
|
-
* @see [Structural Directives](guide/structural-directives)
|
|
3067
|
+
* @see [Structural Directives](guide/directives/structural-directives)
|
|
3068
3068
|
* @ngModule CommonModule
|
|
3069
3069
|
* @publicApi
|
|
3070
3070
|
*/
|
|
3071
3071
|
class NgForOf {
|
|
3072
3072
|
/**
|
|
3073
3073
|
* The value of the iterable expression, which can be used as a
|
|
3074
|
-
* [template input variable](guide/structural-directives#shorthand).
|
|
3074
|
+
* [template input variable](guide/directives/structural-directives#shorthand).
|
|
3075
3075
|
*/
|
|
3076
3076
|
set ngForOf(ngForOf) {
|
|
3077
3077
|
this._ngForOf = ngForOf;
|
|
@@ -3115,7 +3115,7 @@ class NgForOf {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
/**
|
|
3117
3117
|
* A reference to the template that is stamped out for each item in the iterable.
|
|
3118
|
-
* @see [template reference variable](guide/
|
|
3118
|
+
* @see [template reference variable](guide/templates/reference-variables)
|
|
3119
3119
|
*/
|
|
3120
3120
|
set ngForTemplate(value) {
|
|
3121
3121
|
// TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1
|
|
@@ -3202,10 +3202,10 @@ class NgForOf {
|
|
|
3202
3202
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3203
3203
|
return true;
|
|
3204
3204
|
}
|
|
3205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3206
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3206
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 }); }
|
|
3207
3207
|
}
|
|
3208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgForOf, decorators: [{
|
|
3209
3209
|
type: Directive,
|
|
3210
3210
|
args: [{
|
|
3211
3211
|
selector: '[ngFor][ngForOf]',
|
|
@@ -3233,7 +3233,7 @@ function getTypeName(type) {
|
|
|
3233
3233
|
* Angular renders the template provided in an optional `else` clause. The default
|
|
3234
3234
|
* template for the `else` clause is blank.
|
|
3235
3235
|
*
|
|
3236
|
-
* A [shorthand form](guide/structural-directives#asterisk) of the directive,
|
|
3236
|
+
* A [shorthand form](guide/directives/structural-directives#asterisk) of the directive,
|
|
3237
3237
|
* `*ngIf="condition"`, is generally used, provided
|
|
3238
3238
|
* as an attribute of the anchor element for the inserted template.
|
|
3239
3239
|
* Angular expands this into a more explicit version, in which the anchor element
|
|
@@ -3359,7 +3359,7 @@ function getTypeName(type) {
|
|
|
3359
3359
|
*
|
|
3360
3360
|
* The presence of the implicit template object has implications for the nesting of
|
|
3361
3361
|
* structural directives. For more on this subject, see
|
|
3362
|
-
* [Structural Directives](guide/structural-directives#one-per-element).
|
|
3362
|
+
* [Structural Directives](guide/directives/structural-directives#one-per-element).
|
|
3363
3363
|
*
|
|
3364
3364
|
* @ngModule CommonModule
|
|
3365
3365
|
* @publicApi
|
|
@@ -3428,10 +3428,10 @@ class NgIf {
|
|
|
3428
3428
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3429
3429
|
return true;
|
|
3430
3430
|
}
|
|
3431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3432
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3431
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3432
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 }); }
|
|
3433
3433
|
}
|
|
3434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgIf, decorators: [{
|
|
3435
3435
|
type: Directive,
|
|
3436
3436
|
args: [{
|
|
3437
3437
|
selector: '[ngIf]',
|
|
@@ -3552,7 +3552,7 @@ class SwitchView {
|
|
|
3552
3552
|
* @publicApi
|
|
3553
3553
|
* @see {@link NgSwitchCase}
|
|
3554
3554
|
* @see {@link NgSwitchDefault}
|
|
3555
|
-
* @see [Structural Directives](guide/structural-directives)
|
|
3555
|
+
* @see [Structural Directives](guide/directives/structural-directives)
|
|
3556
3556
|
*
|
|
3557
3557
|
*/
|
|
3558
3558
|
class NgSwitch {
|
|
@@ -3604,10 +3604,10 @@ class NgSwitch {
|
|
|
3604
3604
|
}
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3608
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3607
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3608
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 }); }
|
|
3609
3609
|
}
|
|
3610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgSwitch, decorators: [{
|
|
3611
3611
|
type: Directive,
|
|
3612
3612
|
args: [{
|
|
3613
3613
|
selector: '[ngSwitch]',
|
|
@@ -3665,10 +3665,10 @@ class NgSwitchCase {
|
|
|
3665
3665
|
ngDoCheck() {
|
|
3666
3666
|
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
|
|
3667
3667
|
}
|
|
3668
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3669
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3668
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3669
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 }); }
|
|
3670
3670
|
}
|
|
3671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgSwitchCase, decorators: [{
|
|
3672
3672
|
type: Directive,
|
|
3673
3673
|
args: [{
|
|
3674
3674
|
selector: '[ngSwitchCase]',
|
|
@@ -3702,10 +3702,10 @@ class NgSwitchDefault {
|
|
|
3702
3702
|
}
|
|
3703
3703
|
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
|
|
3704
3704
|
}
|
|
3705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3706
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3706
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 }); }
|
|
3707
3707
|
}
|
|
3708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgSwitchDefault, decorators: [{
|
|
3709
3709
|
type: Directive,
|
|
3710
3710
|
args: [{
|
|
3711
3711
|
selector: '[ngSwitchDefault]',
|
|
@@ -3783,10 +3783,10 @@ class NgPlural {
|
|
|
3783
3783
|
this._activeView.create();
|
|
3784
3784
|
}
|
|
3785
3785
|
}
|
|
3786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3787
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3786
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3787
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 }); }
|
|
3788
3788
|
}
|
|
3789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgPlural, decorators: [{
|
|
3790
3790
|
type: Directive,
|
|
3791
3791
|
args: [{
|
|
3792
3792
|
selector: '[ngPlural]',
|
|
@@ -3821,10 +3821,10 @@ class NgPluralCase {
|
|
|
3821
3821
|
const isANumber = !isNaN(Number(value));
|
|
3822
3822
|
ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
|
|
3823
3823
|
}
|
|
3824
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3825
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3825
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 }); }
|
|
3826
3826
|
}
|
|
3827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgPluralCase, decorators: [{
|
|
3828
3828
|
type: Directive,
|
|
3829
3829
|
args: [{
|
|
3830
3830
|
selector: '[ngPluralCase]',
|
|
@@ -3910,10 +3910,10 @@ class NgStyle {
|
|
|
3910
3910
|
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3911
3911
|
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
|
3912
3912
|
}
|
|
3913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3914
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
3913
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3914
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 }); }
|
|
3915
3915
|
}
|
|
3916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
3916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgStyle, decorators: [{
|
|
3917
3917
|
type: Directive,
|
|
3918
3918
|
args: [{
|
|
3919
3919
|
selector: '[ngStyle]',
|
|
@@ -4014,10 +4014,10 @@ class NgTemplateOutlet {
|
|
|
4014
4014
|
},
|
|
4015
4015
|
});
|
|
4016
4016
|
}
|
|
4017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4018
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4018
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 }); }
|
|
4019
4019
|
}
|
|
4020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgTemplateOutlet, decorators: [{
|
|
4021
4021
|
type: Directive,
|
|
4022
4022
|
args: [{
|
|
4023
4023
|
selector: '[ngTemplateOutlet]',
|
|
@@ -4185,10 +4185,10 @@ class AsyncPipe {
|
|
|
4185
4185
|
}
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
4188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4189
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4189
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false }); }
|
|
4190
4190
|
}
|
|
4191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: AsyncPipe, decorators: [{
|
|
4192
4192
|
type: Pipe,
|
|
4193
4193
|
args: [{
|
|
4194
4194
|
name: 'async',
|
|
@@ -4221,10 +4221,10 @@ class LowerCasePipe {
|
|
|
4221
4221
|
}
|
|
4222
4222
|
return value.toLowerCase();
|
|
4223
4223
|
}
|
|
4224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4225
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4225
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" }); }
|
|
4226
4226
|
}
|
|
4227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LowerCasePipe, decorators: [{
|
|
4228
4228
|
type: Pipe,
|
|
4229
4229
|
args: [{
|
|
4230
4230
|
name: 'lowercase',
|
|
@@ -4266,10 +4266,10 @@ class TitleCasePipe {
|
|
|
4266
4266
|
}
|
|
4267
4267
|
return value.replace(unicodeWordMatch, (txt) => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
|
|
4268
4268
|
}
|
|
4269
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4270
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4270
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" }); }
|
|
4271
4271
|
}
|
|
4272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: TitleCasePipe, decorators: [{
|
|
4273
4273
|
type: Pipe,
|
|
4274
4274
|
args: [{
|
|
4275
4275
|
name: 'titlecase',
|
|
@@ -4293,10 +4293,10 @@ class UpperCasePipe {
|
|
|
4293
4293
|
}
|
|
4294
4294
|
return value.toUpperCase();
|
|
4295
4295
|
}
|
|
4296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4297
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4297
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" }); }
|
|
4298
4298
|
}
|
|
4299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: UpperCasePipe, decorators: [{
|
|
4300
4300
|
type: Pipe,
|
|
4301
4301
|
args: [{
|
|
4302
4302
|
name: 'uppercase',
|
|
@@ -4366,7 +4366,7 @@ const DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken(ngDevMode ? 'DATE_PIPE_DEFA
|
|
|
4366
4366
|
*
|
|
4367
4367
|
* Only the `en-US` locale data comes with Angular. To localize dates
|
|
4368
4368
|
* in another language, you must import the corresponding locale data.
|
|
4369
|
-
* See the [I18n guide](guide/i18n
|
|
4369
|
+
* See the [I18n guide](guide/i18n/format-data-locale) for more information.
|
|
4370
4370
|
*
|
|
4371
4371
|
* The time zone of the formatted value can be specified either by passing it in as the second
|
|
4372
4372
|
* parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`
|
|
@@ -4527,10 +4527,10 @@ class DatePipe {
|
|
|
4527
4527
|
throw invalidPipeArgumentError(DatePipe, error.message);
|
|
4528
4528
|
}
|
|
4529
4529
|
}
|
|
4530
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4531
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", 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 }); }
|
|
4531
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" }); }
|
|
4532
4532
|
}
|
|
4533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: DatePipe, decorators: [{
|
|
4534
4534
|
type: Pipe,
|
|
4535
4535
|
args: [{
|
|
4536
4536
|
name: 'date',
|
|
@@ -4586,10 +4586,10 @@ class I18nPluralPipe {
|
|
|
4586
4586
|
const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
|
|
4587
4587
|
return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
|
|
4588
4588
|
}
|
|
4589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4590
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4590
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" }); }
|
|
4591
4591
|
}
|
|
4592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: I18nPluralPipe, decorators: [{
|
|
4593
4593
|
type: Pipe,
|
|
4594
4594
|
args: [{
|
|
4595
4595
|
name: 'i18nPlural',
|
|
@@ -4634,10 +4634,10 @@ class I18nSelectPipe {
|
|
|
4634
4634
|
}
|
|
4635
4635
|
return '';
|
|
4636
4636
|
}
|
|
4637
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4638
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4637
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4638
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" }); }
|
|
4639
4639
|
}
|
|
4640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: I18nSelectPipe, decorators: [{
|
|
4641
4641
|
type: Pipe,
|
|
4642
4642
|
args: [{
|
|
4643
4643
|
name: 'i18nSelect',
|
|
@@ -4667,10 +4667,10 @@ class JsonPipe {
|
|
|
4667
4667
|
transform(value) {
|
|
4668
4668
|
return JSON.stringify(value, null, 2);
|
|
4669
4669
|
}
|
|
4670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4671
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4671
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false }); }
|
|
4672
4672
|
}
|
|
4673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: JsonPipe, decorators: [{
|
|
4674
4674
|
type: Pipe,
|
|
4675
4675
|
args: [{
|
|
4676
4676
|
name: 'json',
|
|
@@ -4728,10 +4728,10 @@ class KeyValuePipe {
|
|
|
4728
4728
|
}
|
|
4729
4729
|
return this.keyValues;
|
|
4730
4730
|
}
|
|
4731
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4732
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4732
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false }); }
|
|
4733
4733
|
}
|
|
4734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: KeyValuePipe, decorators: [{
|
|
4735
4735
|
type: Pipe,
|
|
4736
4736
|
args: [{
|
|
4737
4737
|
name: 'keyvalue',
|
|
@@ -4821,7 +4821,7 @@ function defaultComparator(keyValueA, keyValueB) {
|
|
|
4821
4821
|
*
|
|
4822
4822
|
* When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
|
|
4823
4823
|
*
|
|
4824
|
-
* See [Setting your app locale](guide/i18n
|
|
4824
|
+
* See [Setting your app locale](guide/i18n/locale-id).
|
|
4825
4825
|
*
|
|
4826
4826
|
* ### Example
|
|
4827
4827
|
*
|
|
@@ -4856,10 +4856,10 @@ class DecimalPipe {
|
|
|
4856
4856
|
throw invalidPipeArgumentError(DecimalPipe, error.message);
|
|
4857
4857
|
}
|
|
4858
4858
|
}
|
|
4859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4860
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4859
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4860
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" }); }
|
|
4861
4861
|
}
|
|
4862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: DecimalPipe, decorators: [{
|
|
4863
4863
|
type: Pipe,
|
|
4864
4864
|
args: [{
|
|
4865
4865
|
name: 'number',
|
|
@@ -4907,7 +4907,7 @@ class PercentPipe {
|
|
|
4907
4907
|
* Default is `0`.
|
|
4908
4908
|
* @param locale A locale code for the locale format rules to use.
|
|
4909
4909
|
* When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
|
|
4910
|
-
* See [Setting your app locale](guide/i18n
|
|
4910
|
+
* See [Setting your app locale](guide/i18n/locale-id).
|
|
4911
4911
|
*/
|
|
4912
4912
|
transform(value, digitsInfo, locale) {
|
|
4913
4913
|
if (!isValue(value))
|
|
@@ -4921,10 +4921,10 @@ class PercentPipe {
|
|
|
4921
4921
|
throw invalidPipeArgumentError(PercentPipe, error.message);
|
|
4922
4922
|
}
|
|
4923
4923
|
}
|
|
4924
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4925
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
4924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4925
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" }); }
|
|
4926
4926
|
}
|
|
4927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
4927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PercentPipe, decorators: [{
|
|
4928
4928
|
type: Pipe,
|
|
4929
4929
|
args: [{
|
|
4930
4930
|
name: 'percent',
|
|
@@ -4991,7 +4991,7 @@ class CurrencyPipe {
|
|
|
4991
4991
|
* For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.
|
|
4992
4992
|
* @param locale A locale code for the locale format rules to use.
|
|
4993
4993
|
* When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
|
|
4994
|
-
* See [Setting your app locale](guide/i18n
|
|
4994
|
+
* See [Setting your app locale](guide/i18n/locale-id).
|
|
4995
4995
|
*/
|
|
4996
4996
|
transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {
|
|
4997
4997
|
if (!isValue(value))
|
|
@@ -5020,10 +5020,10 @@ class CurrencyPipe {
|
|
|
5020
5020
|
throw invalidPipeArgumentError(CurrencyPipe, error.message);
|
|
5021
5021
|
}
|
|
5022
5022
|
}
|
|
5023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5024
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
5023
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5024
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" }); }
|
|
5025
5025
|
}
|
|
5026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CurrencyPipe, decorators: [{
|
|
5027
5027
|
type: Pipe,
|
|
5028
5028
|
args: [{
|
|
5029
5029
|
name: 'currency',
|
|
@@ -5100,10 +5100,10 @@ class SlicePipe {
|
|
|
5100
5100
|
supports(obj) {
|
|
5101
5101
|
return typeof obj === 'string' || Array.isArray(obj);
|
|
5102
5102
|
}
|
|
5103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5104
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
5103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5104
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false }); }
|
|
5105
5105
|
}
|
|
5106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: SlicePipe, decorators: [{
|
|
5107
5107
|
type: Pipe,
|
|
5108
5108
|
args: [{
|
|
5109
5109
|
name: 'slice',
|
|
@@ -5147,11 +5147,11 @@ const COMMON_PIPES = [
|
|
|
5147
5147
|
* @publicApi
|
|
5148
5148
|
*/
|
|
5149
5149
|
class CommonModule {
|
|
5150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5151
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.
|
|
5152
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5151
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", 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] }); }
|
|
5152
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CommonModule }); }
|
|
5153
5153
|
}
|
|
5154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CommonModule, decorators: [{
|
|
5155
5155
|
type: NgModule,
|
|
5156
5156
|
args: [{
|
|
5157
5157
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
@@ -5161,8 +5161,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.3",
|
|
|
5161
5161
|
|
|
5162
5162
|
const PLATFORM_BROWSER_ID = 'browser';
|
|
5163
5163
|
const PLATFORM_SERVER_ID = 'server';
|
|
5164
|
-
const PLATFORM_WORKER_APP_ID = 'browserWorkerApp';
|
|
5165
|
-
const PLATFORM_WORKER_UI_ID = 'browserWorkerUi';
|
|
5166
5164
|
/**
|
|
5167
5165
|
* Returns whether a platform id represents a browser platform.
|
|
5168
5166
|
* @publicApi
|
|
@@ -5177,24 +5175,6 @@ function isPlatformBrowser(platformId) {
|
|
|
5177
5175
|
function isPlatformServer(platformId) {
|
|
5178
5176
|
return platformId === PLATFORM_SERVER_ID;
|
|
5179
5177
|
}
|
|
5180
|
-
/**
|
|
5181
|
-
* Returns whether a platform id represents a web worker app platform.
|
|
5182
|
-
* @publicApi
|
|
5183
|
-
* @deprecated This function serves no purpose since the removal of the Webworker platform. It will
|
|
5184
|
-
* always return `false`.
|
|
5185
|
-
*/
|
|
5186
|
-
function isPlatformWorkerApp(platformId) {
|
|
5187
|
-
return platformId === PLATFORM_WORKER_APP_ID;
|
|
5188
|
-
}
|
|
5189
|
-
/**
|
|
5190
|
-
* Returns whether a platform id represents a web worker UI platform.
|
|
5191
|
-
* @publicApi
|
|
5192
|
-
* @deprecated This function serves no purpose since the removal of the Webworker platform. It will
|
|
5193
|
-
* always return `false`.
|
|
5194
|
-
*/
|
|
5195
|
-
function isPlatformWorkerUi(platformId) {
|
|
5196
|
-
return platformId === PLATFORM_WORKER_UI_ID;
|
|
5197
|
-
}
|
|
5198
5178
|
|
|
5199
5179
|
/**
|
|
5200
5180
|
* @module
|
|
@@ -5204,7 +5184,7 @@ function isPlatformWorkerUi(platformId) {
|
|
|
5204
5184
|
/**
|
|
5205
5185
|
* @publicApi
|
|
5206
5186
|
*/
|
|
5207
|
-
const VERSION = new Version('18.0.0-next.
|
|
5187
|
+
const VERSION = new Version('18.0.0-next.5');
|
|
5208
5188
|
|
|
5209
5189
|
/**
|
|
5210
5190
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -5576,19 +5556,16 @@ function createImagekitUrl(path, config) {
|
|
|
5576
5556
|
// Example of an ImageKit image URL:
|
|
5577
5557
|
// https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg
|
|
5578
5558
|
const { src, width } = config;
|
|
5579
|
-
|
|
5559
|
+
const params = [];
|
|
5580
5560
|
if (width) {
|
|
5581
|
-
|
|
5582
|
-
urlSegments = [path, params, src];
|
|
5583
|
-
}
|
|
5584
|
-
else {
|
|
5585
|
-
urlSegments = [path, src];
|
|
5561
|
+
params.push(`w-${width}`);
|
|
5586
5562
|
}
|
|
5587
|
-
const url = new URL(urlSegments.join('/'));
|
|
5588
5563
|
// When requesting a placeholder image we ask for a low quality image to reduce the load time.
|
|
5589
5564
|
if (config.isPlaceholder) {
|
|
5590
|
-
|
|
5565
|
+
params.push(`q-${PLACEHOLDER_QUALITY}`);
|
|
5591
5566
|
}
|
|
5567
|
+
const urlSegments = params.length ? [path, `tr:${params.join(',')}`, src] : [path, src];
|
|
5568
|
+
const url = new URL(urlSegments.join('/'));
|
|
5592
5569
|
return url.href;
|
|
5593
5570
|
}
|
|
5594
5571
|
|
|
@@ -5817,10 +5794,10 @@ class LCPImageObserver {
|
|
|
5817
5794
|
this.observer.disconnect();
|
|
5818
5795
|
this.images.clear();
|
|
5819
5796
|
}
|
|
5820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5821
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5797
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5798
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }
|
|
5822
5799
|
}
|
|
5823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
5824
5801
|
type: Injectable,
|
|
5825
5802
|
args: [{ providedIn: 'root' }]
|
|
5826
5803
|
}], ctorParameters: () => [] });
|
|
@@ -5943,10 +5920,10 @@ class PreconnectLinkChecker {
|
|
|
5943
5920
|
this.preconnectLinks?.clear();
|
|
5944
5921
|
this.alreadySeen.clear();
|
|
5945
5922
|
}
|
|
5946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5947
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5923
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5924
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }
|
|
5948
5925
|
}
|
|
5949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
5926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
5950
5927
|
type: Injectable,
|
|
5951
5928
|
args: [{ providedIn: 'root' }]
|
|
5952
5929
|
}], ctorParameters: () => [] });
|
|
@@ -6035,10 +6012,10 @@ class PreloadLinkCreator {
|
|
|
6035
6012
|
}
|
|
6036
6013
|
renderer.appendChild(this.document.head, preload);
|
|
6037
6014
|
}
|
|
6038
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
6039
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
6015
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6016
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }
|
|
6040
6017
|
}
|
|
6041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
6018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
6042
6019
|
type: Injectable,
|
|
6043
6020
|
args: [{ providedIn: 'root' }]
|
|
6044
6021
|
}] });
|
|
@@ -6135,7 +6112,7 @@ const BUILT_IN_LOADERS = [
|
|
|
6135
6112
|
* - Warns if the image will be visually distorted when rendered
|
|
6136
6113
|
*
|
|
6137
6114
|
* @usageNotes
|
|
6138
|
-
* The `NgOptimizedImage` directive is marked as [standalone](guide/
|
|
6115
|
+
* The `NgOptimizedImage` directive is marked as [standalone](guide/components/importing) and can
|
|
6139
6116
|
* be imported directly.
|
|
6140
6117
|
*
|
|
6141
6118
|
* Follow the steps below to enable and use the directive:
|
|
@@ -6502,10 +6479,10 @@ class NgOptimizedImage {
|
|
|
6502
6479
|
setHostAttribute(name, value) {
|
|
6503
6480
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
6504
6481
|
}
|
|
6505
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
6506
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.
|
|
6482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6483
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", 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 }); }
|
|
6507
6484
|
}
|
|
6508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.
|
|
6485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
6509
6486
|
type: Directive,
|
|
6510
6487
|
args: [{
|
|
6511
6488
|
standalone: true,
|
|
@@ -7018,5 +6995,5 @@ function booleanOrDataUrlAttribute(value) {
|
|
|
7018
6995
|
* Generated bundle index. Do not edit.
|
|
7019
6996
|
*/
|
|
7020
6997
|
|
|
7021
|
-
export { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer,
|
|
6998
|
+
export { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, provideNetlifyLoader, registerLocaleData, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PlatformNavigation as ɵPlatformNavigation, getDOM as ɵgetDOM, normalizeQueryParams as ɵnormalizeQueryParams, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };
|
|
7022
6999
|
//# sourceMappingURL=common.mjs.map
|