@angular/common 16.1.0 → 16.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/http/src/client.mjs +3 -3
- package/esm2022/http/src/fetch.mjs +9 -9
- package/esm2022/http/src/interceptor.mjs +3 -3
- package/esm2022/http/src/jsonp.mjs +6 -6
- package/esm2022/http/src/module.mjs +12 -12
- package/esm2022/http/src/xhr.mjs +3 -3
- package/esm2022/http/src/xsrf.mjs +6 -6
- package/esm2022/http/testing/src/backend.mjs +3 -3
- package/esm2022/http/testing/src/module.mjs +4 -4
- package/esm2022/src/common_module.mjs +4 -4
- package/esm2022/src/directives/ng_class.mjs +3 -3
- package/esm2022/src/directives/ng_component_outlet.mjs +3 -3
- package/esm2022/src/directives/ng_for_of.mjs +5 -5
- package/esm2022/src/directives/ng_if.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/image_loaders/image_loader.mjs +5 -5
- package/esm2022/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/ng_optimized_image.mjs +10 -8
- package/esm2022/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
- package/esm2022/src/directives/ng_plural.mjs +6 -6
- package/esm2022/src/directives/ng_style.mjs +3 -3
- package/esm2022/src/directives/ng_switch.mjs +16 -16
- 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 +5 -5
- package/esm2022/src/i18n/locale_data_api.mjs +15 -15
- package/esm2022/src/i18n/localization.mjs +6 -6
- package/esm2022/src/location/hash_location_strategy.mjs +3 -3
- package/esm2022/src/location/location.mjs +3 -3
- package/esm2022/src/location/location_strategy.mjs +6 -6
- package/esm2022/src/location/platform_location.mjs +6 -6
- package/esm2022/src/pipes/async_pipe.mjs +3 -3
- package/esm2022/src/pipes/case_conversion_pipes.mjs +16 -16
- package/esm2022/src/pipes/date_pipe.mjs +6 -6
- package/esm2022/src/pipes/date_pipe_config.mjs +1 -1
- 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 +14 -14
- package/esm2022/src/pipes/slice_pipe.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/location_mock.mjs +3 -3
- package/esm2022/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2022/testing/src/mock_platform_location.mjs +3 -3
- package/esm2022/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2022/common.mjs +162 -160
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +42 -42
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +10 -10
- package/fesm2022/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +58 -58
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.
|
|
2
|
+
* @license Angular v16.1.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -203,10 +203,10 @@ class SpyLocation {
|
|
|
203
203
|
this._history.push(new LocationState(path, query, state));
|
|
204
204
|
this._historyIndex = this._history.length - 1;
|
|
205
205
|
}
|
|
206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
207
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: SpyLocation }); }
|
|
208
208
|
}
|
|
209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: SpyLocation, decorators: [{
|
|
210
210
|
type: Injectable
|
|
211
211
|
}] });
|
|
212
212
|
class LocationState {
|
|
@@ -285,10 +285,10 @@ class MockLocationStrategy extends LocationStrategy {
|
|
|
285
285
|
getState() {
|
|
286
286
|
return this.stateChanges[(this.stateChanges.length || 1) - 1];
|
|
287
287
|
}
|
|
288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
289
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
289
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: MockLocationStrategy }); }
|
|
290
290
|
}
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: MockLocationStrategy, decorators: [{
|
|
292
292
|
type: Injectable
|
|
293
293
|
}], ctorParameters: function () { return []; } });
|
|
294
294
|
class _MockPopStateEvent {
|
|
@@ -484,10 +484,10 @@ class MockPlatformLocation {
|
|
|
484
484
|
this.hashUpdate.next({ type: 'hashchange', state: null, oldUrl, newUrl: this.url });
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
488
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
488
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: MockPlatformLocation }); }
|
|
489
489
|
}
|
|
490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: MockPlatformLocation, decorators: [{
|
|
491
491
|
type: Injectable
|
|
492
492
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
493
493
|
type: Inject,
|
package/fesm2022/upgrade.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.
|
|
2
|
+
* @license Angular v16.1.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -847,11 +847,11 @@ class LocationUpgradeModule {
|
|
|
847
847
|
],
|
|
848
848
|
};
|
|
849
849
|
}
|
|
850
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
851
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
|
852
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
|
850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
851
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
|
|
852
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
|
|
853
853
|
}
|
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: LocationUpgradeModule, decorators: [{
|
|
855
855
|
type: NgModule,
|
|
856
856
|
args: [{ imports: [CommonModule] }]
|
|
857
857
|
}] });
|
package/http/index.d.ts
CHANGED
package/http/testing/index.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.
|
|
2
|
+
* @license Angular v16.1.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -159,8 +159,8 @@ export declare class CommonModule {
|
|
|
159
159
|
* and other locale-specific configurations.
|
|
160
160
|
*
|
|
161
161
|
*
|
|
162
|
-
* @see
|
|
163
|
-
* @see
|
|
162
|
+
* @see {@link getCurrencySymbol}
|
|
163
|
+
* @see {@link formatCurrency}
|
|
164
164
|
*
|
|
165
165
|
* @usageNotes
|
|
166
166
|
* The following code shows how the pipe transforms numbers
|
|
@@ -190,7 +190,7 @@ export declare class CurrencyPipe implements PipeTransform {
|
|
|
190
190
|
* - `timezone`: configures the default timezone. If not provided, the `DatePipe` will
|
|
191
191
|
* use the end-user's local system timezone.
|
|
192
192
|
*
|
|
193
|
-
* @see
|
|
193
|
+
* @see {@link DatePipeConfig}
|
|
194
194
|
*
|
|
195
195
|
* @usageNotes
|
|
196
196
|
*
|
|
@@ -246,7 +246,7 @@ export declare const DATE_PIPE_DEFAULT_TIMEZONE: InjectionToken<string>;
|
|
|
246
246
|
* injection token. The value that is passed in as the second parameter takes precedence over
|
|
247
247
|
* the one defined using the injection token.
|
|
248
248
|
*
|
|
249
|
-
* @see
|
|
249
|
+
* @see {@link formatDate}
|
|
250
250
|
*
|
|
251
251
|
*
|
|
252
252
|
* @usageNotes
|
|
@@ -400,7 +400,7 @@ export declare class DatePipe implements PipeTransform {
|
|
|
400
400
|
* When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
|
|
401
401
|
* See [Setting your app locale](guide/i18n-common-locale-id).
|
|
402
402
|
*
|
|
403
|
-
* @see
|
|
403
|
+
* @see {@link DATE_PIPE_DEFAULT_OPTIONS}
|
|
404
404
|
*
|
|
405
405
|
* @returns A date string in the desired format.
|
|
406
406
|
*/
|
|
@@ -416,7 +416,7 @@ export declare class DatePipe implements PipeTransform {
|
|
|
416
416
|
* An interface that describes the date pipe configuration, which can be provided using the
|
|
417
417
|
* `DATE_PIPE_DEFAULT_OPTIONS` token.
|
|
418
418
|
*
|
|
419
|
-
* @see
|
|
419
|
+
* @see {@link DATE_PIPE_DEFAULT_OPTIONS}
|
|
420
420
|
*
|
|
421
421
|
* @publicApi
|
|
422
422
|
*/
|
|
@@ -433,7 +433,7 @@ export declare interface DatePipeConfig {
|
|
|
433
433
|
* Locale determines group sizing and separator,
|
|
434
434
|
* decimal point character, and other locale-specific configurations.
|
|
435
435
|
*
|
|
436
|
-
* @see
|
|
436
|
+
* @see {@link formatNumber}
|
|
437
437
|
*
|
|
438
438
|
* @usageNotes
|
|
439
439
|
*
|
|
@@ -528,8 +528,8 @@ export declare const DOCUMENT: InjectionToken<Document>;
|
|
|
528
528
|
*
|
|
529
529
|
* @returns The formatted currency value.
|
|
530
530
|
*
|
|
531
|
-
* @see
|
|
532
|
-
* @see
|
|
531
|
+
* @see {@link formatNumber}
|
|
532
|
+
* @see {@link DecimalPipe}
|
|
533
533
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
534
534
|
*
|
|
535
535
|
* @publicApi
|
|
@@ -552,7 +552,7 @@ export declare function formatCurrency(value: number, locale: string, currency:
|
|
|
552
552
|
*
|
|
553
553
|
* @returns The formatted date string.
|
|
554
554
|
*
|
|
555
|
-
* @see
|
|
555
|
+
* @see {@link DatePipe}
|
|
556
556
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
557
557
|
*
|
|
558
558
|
* @publicApi
|
|
@@ -591,8 +591,8 @@ export declare function formatNumber(value: number, locale: string, digitsInfo?:
|
|
|
591
591
|
*
|
|
592
592
|
* @returns The formatted percentage value.
|
|
593
593
|
*
|
|
594
|
-
* @see
|
|
595
|
-
* @see
|
|
594
|
+
* @see {@link formatNumber}
|
|
595
|
+
* @see {@link DecimalPipe}
|
|
596
596
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
597
597
|
* @publicApi
|
|
598
598
|
*
|
|
@@ -604,9 +604,9 @@ export declare function formatPercent(value: number, locale: string, digitsInfo?
|
|
|
604
604
|
* The specific character widths are locale-specific.
|
|
605
605
|
* Examples are given for `en-US`.
|
|
606
606
|
*
|
|
607
|
-
* @see
|
|
608
|
-
* @see
|
|
609
|
-
* @see
|
|
607
|
+
* @see {@link getLocaleDateFormat}
|
|
608
|
+
* @see {@link getLocaleTimeFormat}
|
|
609
|
+
* @see {@link getLocaleDateTimeFormat}
|
|
610
610
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
611
611
|
* @publicApi
|
|
612
612
|
*/
|
|
@@ -707,7 +707,7 @@ export declare function getLocaleCurrencySymbol(locale: string): string | null;
|
|
|
707
707
|
* @param locale A locale code for the locale format rules to use.
|
|
708
708
|
* @param width The format type.
|
|
709
709
|
* @returns The localized formatting string.
|
|
710
|
-
* @see
|
|
710
|
+
* @see {@link FormatWidth}
|
|
711
711
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
712
712
|
*
|
|
713
713
|
* @publicApi
|
|
@@ -720,7 +720,7 @@ export declare function getLocaleDateFormat(locale: string, width: FormatWidth):
|
|
|
720
720
|
* @param locale A locale code for the locale format rules to use.
|
|
721
721
|
* @param width The format type.
|
|
722
722
|
* @returns The localized formatting string.
|
|
723
|
-
* @see
|
|
723
|
+
* @see {@link FormatWidth}
|
|
724
724
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
725
725
|
*
|
|
726
726
|
* @publicApi
|
|
@@ -793,7 +793,7 @@ export declare function getLocaleEraNames(locale: string, width: TranslationWidt
|
|
|
793
793
|
* @returns The rules for the locale, a single time value or array of *from-time, to-time*,
|
|
794
794
|
* or null if no periods are available.
|
|
795
795
|
*
|
|
796
|
-
* @see
|
|
796
|
+
* @see {@link getLocaleExtraDayPeriods}
|
|
797
797
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
798
798
|
*
|
|
799
799
|
* @publicApi
|
|
@@ -812,7 +812,7 @@ export declare function getLocaleExtraDayPeriodRules(locale: string): (Time | [T
|
|
|
812
812
|
* @param formStyle The required grammatical form.
|
|
813
813
|
* @param width The required character width.
|
|
814
814
|
* @returns The translated day-period strings.
|
|
815
|
-
* @see
|
|
815
|
+
* @see {@link getLocaleExtraDayPeriodRules}
|
|
816
816
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
817
817
|
*
|
|
818
818
|
* @publicApi
|
|
@@ -886,7 +886,7 @@ export declare function getLocaleMonthNames(locale: string, formStyle: FormStyle
|
|
|
886
886
|
* @param locale A locale code for the locale format rules to use.
|
|
887
887
|
* @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)
|
|
888
888
|
* @returns The localized format string.
|
|
889
|
-
* @see
|
|
889
|
+
* @see {@link NumberFormatStyle}
|
|
890
890
|
* @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
|
|
891
891
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
892
892
|
*
|
|
@@ -899,7 +899,7 @@ export declare function getLocaleNumberFormat(locale: string, type: NumberFormat
|
|
|
899
899
|
* @param locale The locale code.
|
|
900
900
|
* @param symbol The symbol to localize.
|
|
901
901
|
* @returns The character for the localized symbol.
|
|
902
|
-
* @see
|
|
902
|
+
* @see {@link NumberSymbol}
|
|
903
903
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
904
904
|
*
|
|
905
905
|
* @publicApi
|
|
@@ -918,7 +918,7 @@ export declare const getLocalePluralCase: (locale: string) => ((value: number) =
|
|
|
918
918
|
* @param locale A locale code for the locale format rules to use.
|
|
919
919
|
* @param width The format type.
|
|
920
920
|
* @returns The localized formatting string.
|
|
921
|
-
* @see
|
|
921
|
+
* @see {@link FormatWidth}
|
|
922
922
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
923
923
|
|
|
924
924
|
* @publicApi
|
|
@@ -1168,7 +1168,7 @@ declare namespace i9 {
|
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Injection token that configures the image optimized image functionality.
|
|
1170
1170
|
*
|
|
1171
|
-
* @see
|
|
1171
|
+
* @see {@link NgOptimizedImage}
|
|
1172
1172
|
* @publicApi
|
|
1173
1173
|
* @developerPreview
|
|
1174
1174
|
*/
|
|
@@ -1177,8 +1177,8 @@ export declare const IMAGE_CONFIG: InjectionToken<ImageConfig>;
|
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Injection token that configures the image loader function.
|
|
1179
1179
|
*
|
|
1180
|
-
* @see
|
|
1181
|
-
* @see
|
|
1180
|
+
* @see {@link ImageLoader}
|
|
1181
|
+
* @see {@link NgOptimizedImage}
|
|
1182
1182
|
* @publicApi
|
|
1183
1183
|
*/
|
|
1184
1184
|
export declare const IMAGE_LOADER: InjectionToken<ImageLoader>;
|
|
@@ -1208,8 +1208,8 @@ export declare type ImageLoader = (config: ImageLoaderConfig) => string;
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Config options recognized by the image loader function.
|
|
1210
1210
|
*
|
|
1211
|
-
* @see
|
|
1212
|
-
* @see
|
|
1211
|
+
* @see {@link ImageLoader}
|
|
1212
|
+
* @see {@link NgOptimizedImage}
|
|
1213
1213
|
* @publicApi
|
|
1214
1214
|
*/
|
|
1215
1215
|
export declare interface ImageLoaderConfig {
|
|
@@ -1559,8 +1559,8 @@ export declare abstract class LocationStrategy {
|
|
|
1559
1559
|
/**
|
|
1560
1560
|
* Transforms text to all lower case.
|
|
1561
1561
|
*
|
|
1562
|
-
* @see
|
|
1563
|
-
* @see
|
|
1562
|
+
* @see {@link UpperCasePipe}
|
|
1563
|
+
* @see {@link TitleCasePipe}
|
|
1564
1564
|
* @usageNotes
|
|
1565
1565
|
*
|
|
1566
1566
|
* The following example defines a view that allows the user to enter
|
|
@@ -1628,7 +1628,7 @@ export declare class NgClass implements DoCheck {
|
|
|
1628
1628
|
private _applyStateDiff;
|
|
1629
1629
|
private _toggleClass;
|
|
1630
1630
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgClass, never>;
|
|
1631
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": { "alias": "class"; "required": false; }; "ngClass": { "alias": "ngClass"; "required": false; }; }, {}, never, never, true, never
|
|
1631
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": { "alias": "class"; "required": false; }; "ngClass": { "alias": "ngClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
1634
1634
|
/**
|
|
@@ -1708,7 +1708,7 @@ export declare class NgComponentOutlet implements OnChanges, OnDestroy {
|
|
|
1708
1708
|
/** @nodoc */
|
|
1709
1709
|
ngOnDestroy(): void;
|
|
1710
1710
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet, never>;
|
|
1711
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never
|
|
1711
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
1714
|
/**
|
|
@@ -1834,7 +1834,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
|
|
|
1834
1834
|
* represent the same underlying entity (for example, when data is re-fetched from the server,
|
|
1835
1835
|
* and the iterable is recreated and re-rendered, but most of the data is still the same).
|
|
1836
1836
|
*
|
|
1837
|
-
* @see
|
|
1837
|
+
* @see {@link TrackByFunction}
|
|
1838
1838
|
*/
|
|
1839
1839
|
set ngForTrackBy(fn: TrackByFunction<T>);
|
|
1840
1840
|
get ngForTrackBy(): TrackByFunction<T>;
|
|
@@ -1862,7 +1862,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
|
|
|
1862
1862
|
*/
|
|
1863
1863
|
static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>;
|
|
1864
1864
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgForOf<any, any>, never>;
|
|
1865
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": { "alias": "ngForOf"; "required": false; }; "ngForTrackBy": { "alias": "ngForTrackBy"; "required": false; }; "ngForTemplate": { "alias": "ngForTemplate"; "required": false; }; }, {}, never, never, true, never
|
|
1865
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": { "alias": "ngForOf"; "required": false; }; "ngForTrackBy": { "alias": "ngForTrackBy"; "required": false; }; "ngForTemplate": { "alias": "ngForTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
1866
1866
|
}
|
|
1867
1867
|
export { NgForOf as NgFor }
|
|
1868
1868
|
export { NgForOf }
|
|
@@ -2059,7 +2059,7 @@ export declare class NgIf<T = unknown> {
|
|
|
2059
2059
|
*/
|
|
2060
2060
|
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): ctx is NgIfContext<Exclude<T, false | 0 | '' | null | undefined>>;
|
|
2061
2061
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgIf<any>, never>;
|
|
2062
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": { "alias": "ngIf"; "required": false; }; "ngIfThen": { "alias": "ngIfThen"; "required": false; }; "ngIfElse": { "alias": "ngIfElse"; "required": false; }; }, {}, never, never, true, never
|
|
2062
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": { "alias": "ngIf"; "required": false; }; "ngIfThen": { "alias": "ngIfThen"; "required": false; }; "ngIfElse": { "alias": "ngIfElse"; "required": false; }; }, {}, never, never, true, never>;
|
|
2063
2063
|
}
|
|
2064
2064
|
|
|
2065
2065
|
/**
|
|
@@ -2286,7 +2286,7 @@ export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
|
|
|
2286
2286
|
ngOnDestroy(): void;
|
|
2287
2287
|
private setHostAttribute;
|
|
2288
2288
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgOptimizedImage, never>;
|
|
2289
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]", never, { "ngSrc": { "alias": "ngSrc"; "required": true; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "priority": { "alias": "priority"; "required": false; }; "loaderParams": { "alias": "loaderParams"; "required": false; }; "disableOptimizedSrcset": { "alias": "disableOptimizedSrcset"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcset": { "alias": "srcset"; "required": false; }; }, {}, never, never, true, never
|
|
2289
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]", never, { "ngSrc": { "alias": "ngSrc"; "required": true; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "priority": { "alias": "priority"; "required": false; }; "loaderParams": { "alias": "loaderParams"; "required": false; }; "disableOptimizedSrcset": { "alias": "disableOptimizedSrcset"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcset": { "alias": "srcset"; "required": false; }; }, {}, never, never, true, never>;
|
|
2290
2290
|
static ngAcceptInputType_width: unknown;
|
|
2291
2291
|
static ngAcceptInputType_height: unknown;
|
|
2292
2292
|
static ngAcceptInputType_priority: unknown;
|
|
@@ -2336,7 +2336,7 @@ export declare class NgPlural {
|
|
|
2336
2336
|
private _clearViews;
|
|
2337
2337
|
private _activateView;
|
|
2338
2338
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgPlural, never>;
|
|
2339
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": { "alias": "ngPlural"; "required": false; }; }, {}, never, never, true, never
|
|
2339
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": { "alias": "ngPlural"; "required": false; }; }, {}, never, never, true, never>;
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
2342
|
/**
|
|
@@ -2363,7 +2363,7 @@ export declare class NgPluralCase {
|
|
|
2363
2363
|
value: string;
|
|
2364
2364
|
constructor(value: string, template: TemplateRef<Object>, viewContainer: ViewContainerRef, ngPlural: NgPlural);
|
|
2365
2365
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgPluralCase, [{ attribute: "ngPluralCase"; }, null, null, { host: true; }]>;
|
|
2366
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never, true, never
|
|
2366
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never, true, never>;
|
|
2367
2367
|
}
|
|
2368
2368
|
|
|
2369
2369
|
/**
|
|
@@ -2416,7 +2416,7 @@ export declare class NgStyle implements DoCheck {
|
|
|
2416
2416
|
private _setStyle;
|
|
2417
2417
|
private _applyChanges;
|
|
2418
2418
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgStyle, never>;
|
|
2419
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": { "alias": "ngStyle"; "required": false; }; }, {}, never, never, true, never
|
|
2419
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": { "alias": "ngStyle"; "required": false; }; }, {}, never, never, true, never>;
|
|
2420
2420
|
}
|
|
2421
2421
|
|
|
2422
2422
|
/**
|
|
@@ -2480,8 +2480,8 @@ export declare class NgStyle implements DoCheck {
|
|
|
2480
2480
|
* ```
|
|
2481
2481
|
*
|
|
2482
2482
|
* @publicApi
|
|
2483
|
-
* @see
|
|
2484
|
-
* @see
|
|
2483
|
+
* @see {@link NgSwitchCase}
|
|
2484
|
+
* @see {@link NgSwitchDefault}
|
|
2485
2485
|
* @see [Structural Directives](guide/structural-directives)
|
|
2486
2486
|
*
|
|
2487
2487
|
*/
|
|
@@ -2495,7 +2495,7 @@ export declare class NgSwitch {
|
|
|
2495
2495
|
set ngSwitch(newValue: any);
|
|
2496
2496
|
private _updateDefaultCases;
|
|
2497
2497
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
|
|
2498
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": { "alias": "ngSwitch"; "required": false; }; }, {}, never, never, true, never
|
|
2498
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": { "alias": "ngSwitch"; "required": false; }; }, {}, never, never, true, never>;
|
|
2499
2499
|
}
|
|
2500
2500
|
|
|
2501
2501
|
/**
|
|
@@ -2527,8 +2527,8 @@ export declare class NgSwitch {
|
|
|
2527
2527
|
* This means that the empty string, `""` matches 0.
|
|
2528
2528
|
*
|
|
2529
2529
|
* @publicApi
|
|
2530
|
-
* @see
|
|
2531
|
-
* @see
|
|
2530
|
+
* @see {@link NgSwitch}
|
|
2531
|
+
* @see {@link NgSwitchDefault}
|
|
2532
2532
|
*
|
|
2533
2533
|
*/
|
|
2534
2534
|
export declare class NgSwitchCase implements DoCheck {
|
|
@@ -2545,7 +2545,7 @@ export declare class NgSwitchCase implements DoCheck {
|
|
|
2545
2545
|
*/
|
|
2546
2546
|
ngDoCheck(): void;
|
|
2547
2547
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
|
|
2548
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": { "alias": "ngSwitchCase"; "required": false; }; }, {}, never, never, true, never
|
|
2548
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": { "alias": "ngSwitchCase"; "required": false; }; }, {}, never, never, true, never>;
|
|
2549
2549
|
}
|
|
2550
2550
|
|
|
2551
2551
|
/**
|
|
@@ -2558,14 +2558,14 @@ export declare class NgSwitchCase implements DoCheck {
|
|
|
2558
2558
|
* This statement should be the final case in an `NgSwitch`.
|
|
2559
2559
|
*
|
|
2560
2560
|
* @publicApi
|
|
2561
|
-
* @see
|
|
2562
|
-
* @see
|
|
2561
|
+
* @see {@link NgSwitch}
|
|
2562
|
+
* @see {@link NgSwitchCase}
|
|
2563
2563
|
*
|
|
2564
2564
|
*/
|
|
2565
2565
|
export declare class NgSwitchDefault {
|
|
2566
2566
|
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
|
2567
2567
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchDefault, [null, null, { optional: true; host: true; }]>;
|
|
2568
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never, true, never
|
|
2568
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never, true, never>;
|
|
2569
2569
|
}
|
|
2570
2570
|
|
|
2571
2571
|
/**
|
|
@@ -2612,13 +2612,13 @@ export declare class NgTemplateOutlet<C = unknown> implements OnChanges {
|
|
|
2612
2612
|
/** @nodoc */
|
|
2613
2613
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2614
2614
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgTemplateOutlet<any>, never>;
|
|
2615
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet<any>, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": { "alias": "ngTemplateOutletContext"; "required": false; }; "ngTemplateOutlet": { "alias": "ngTemplateOutlet"; "required": false; }; "ngTemplateOutletInjector": { "alias": "ngTemplateOutletInjector"; "required": false; }; }, {}, never, never, true, never
|
|
2615
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet<any>, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": { "alias": "ngTemplateOutletContext"; "required": false; }; "ngTemplateOutlet": { "alias": "ngTemplateOutlet"; "required": false; }; "ngTemplateOutletInjector": { "alias": "ngTemplateOutletInjector"; "required": false; }; }, {}, never, never, true, never>;
|
|
2616
2616
|
}
|
|
2617
2617
|
|
|
2618
2618
|
|
|
2619
2619
|
/**
|
|
2620
2620
|
* Format styles that can be used to represent numbers.
|
|
2621
|
-
* @see
|
|
2621
|
+
* @see {@link getLocaleNumberFormat}.
|
|
2622
2622
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2623
2623
|
*
|
|
2624
2624
|
* @publicApi
|
|
@@ -2634,7 +2634,7 @@ export declare enum NumberFormatStyle {
|
|
|
2634
2634
|
* Symbols that can be used to replace placeholders in number patterns.
|
|
2635
2635
|
* Examples are based on `en-US` values.
|
|
2636
2636
|
*
|
|
2637
|
-
* @see
|
|
2637
|
+
* @see {@link getLocaleNumberSymbol}
|
|
2638
2638
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2639
2639
|
*
|
|
2640
2640
|
* @publicApi
|
|
@@ -2775,7 +2775,7 @@ export declare class PathLocationStrategy extends LocationStrategy implements On
|
|
|
2775
2775
|
* separator, decimal-point character, and other locale-specific
|
|
2776
2776
|
* configurations.
|
|
2777
2777
|
*
|
|
2778
|
-
* @see
|
|
2778
|
+
* @see {@link formatPercent}
|
|
2779
2779
|
*
|
|
2780
2780
|
* @usageNotes
|
|
2781
2781
|
* The following code shows how the pipe transforms numbers
|
|
@@ -2848,8 +2848,8 @@ export declare abstract class PlatformLocation {
|
|
|
2848
2848
|
/**
|
|
2849
2849
|
* Plurality cases used for translating plurals to different languages.
|
|
2850
2850
|
*
|
|
2851
|
-
* @see
|
|
2852
|
-
* @see
|
|
2851
|
+
* @see {@link NgPlural}
|
|
2852
|
+
* @see {@link NgPluralCase}
|
|
2853
2853
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2854
2854
|
*
|
|
2855
2855
|
* @publicApi
|
|
@@ -3042,8 +3042,8 @@ export declare type Time = {
|
|
|
3042
3042
|
* rest of the word to lower case.
|
|
3043
3043
|
* Words are delimited by any whitespace character, such as a space, tab, or line-feed character.
|
|
3044
3044
|
*
|
|
3045
|
-
* @see
|
|
3046
|
-
* @see
|
|
3045
|
+
* @see {@link LowerCasePipe}
|
|
3046
|
+
* @see {@link UpperCasePipe}
|
|
3047
3047
|
*
|
|
3048
3048
|
* @usageNotes
|
|
3049
3049
|
* The following example shows the result of transforming various strings into title case.
|
|
@@ -3084,8 +3084,8 @@ export declare enum TranslationWidth {
|
|
|
3084
3084
|
|
|
3085
3085
|
/**
|
|
3086
3086
|
* Transforms text to all upper case.
|
|
3087
|
-
* @see
|
|
3088
|
-
* @see
|
|
3087
|
+
* @see {@link LowerCasePipe}
|
|
3088
|
+
* @see {@link TitleCasePipe}
|
|
3089
3089
|
*
|
|
3090
3090
|
* @ngModule CommonModule
|
|
3091
3091
|
* @publicApi
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/common",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.2",
|
|
4
4
|
"description": "Angular - commonly needed directives and services",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@angular/core": "16.1.
|
|
56
|
+
"@angular/core": "16.1.2",
|
|
57
57
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
package/testing/index.d.ts
CHANGED
package/upgrade/index.d.ts
CHANGED