@angular/common 14.1.0-next.1 → 14.1.0-next.4
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/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/headers.mjs +17 -1
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +6 -6
- package/esm2020/http/src/module.mjs +15 -15
- package/esm2020/http/src/xhr.mjs +3 -3
- package/esm2020/http/src/xsrf.mjs +6 -6
- package/esm2020/http/testing/src/backend.mjs +3 -3
- package/esm2020/http/testing/src/module.mjs +4 -4
- package/esm2020/src/common_module.mjs +6 -11
- package/esm2020/src/directives/ng_class.mjs +8 -5
- package/esm2020/src/directives/ng_component_outlet.mjs +8 -5
- package/esm2020/src/directives/ng_for_of.mjs +18 -9
- package/esm2020/src/directives/ng_if.mjs +8 -5
- package/esm2020/src/directives/ng_plural.mjs +15 -9
- package/esm2020/src/directives/ng_style.mjs +12 -9
- package/esm2020/src/directives/ng_switch.mjs +22 -13
- package/esm2020/src/directives/ng_template_outlet.mjs +8 -5
- package/esm2020/src/errors.mjs +1 -1
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/location.mjs +3 -3
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +9 -5
- package/esm2020/src/pipes/case_conversion_pipes.mjs +22 -13
- package/esm2020/src/pipes/date_pipe.mjs +9 -5
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +9 -5
- package/esm2020/src/pipes/i18n_select_pipe.mjs +9 -5
- package/esm2020/src/pipes/invalid_pipe_argument_error.mjs +2 -5
- package/esm2020/src/pipes/json_pipe.mjs +9 -5
- package/esm2020/src/pipes/keyvalue_pipe.mjs +9 -5
- package/esm2020/src/pipes/number_pipe.mjs +22 -13
- package/esm2020/src/pipes/slice_pipe.mjs +9 -5
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +3 -3
- package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2020/testing/src/mock_platform_location.mjs +3 -3
- package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +220 -143
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +53 -37
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +220 -143
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +53 -37
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +26 -31
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2020/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.1.0-next.
|
|
2
|
+
* @license Angular v14.1.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -210,9 +210,9 @@ class SpyLocation {
|
|
|
210
210
|
this._historyIndex = this._history.length - 1;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
214
|
-
SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
213
|
+
SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
214
|
+
SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: SpyLocation });
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: SpyLocation, decorators: [{
|
|
216
216
|
type: Injectable
|
|
217
217
|
}] });
|
|
218
218
|
class LocationState {
|
|
@@ -299,9 +299,9 @@ class MockLocationStrategy extends LocationStrategy {
|
|
|
299
299
|
return this.stateChanges[(this.stateChanges.length || 1) - 1];
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
303
|
-
MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
302
|
+
MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
303
|
+
MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: MockLocationStrategy });
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: MockLocationStrategy, decorators: [{
|
|
305
305
|
type: Injectable
|
|
306
306
|
}], ctorParameters: function () { return []; } });
|
|
307
307
|
class _MockPopStateEvent {
|
|
@@ -487,9 +487,9 @@ class MockPlatformLocation {
|
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
491
|
-
MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
490
|
+
MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
491
|
+
MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: MockPlatformLocation });
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: MockPlatformLocation, decorators: [{
|
|
493
493
|
type: Injectable
|
|
494
494
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
495
495
|
type: Inject,
|
package/fesm2020/upgrade.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.1.0-next.
|
|
2
|
+
* @license Angular v14.1.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -881,10 +881,10 @@ class LocationUpgradeModule {
|
|
|
881
881
|
};
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
|
-
LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
885
|
-
LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-next.
|
|
886
|
-
LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.
|
|
884
|
+
LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
885
|
+
LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0-next.4", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
|
|
886
|
+
LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
|
|
887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0-next.4", ngImport: i0, type: LocationUpgradeModule, decorators: [{
|
|
888
888
|
type: NgModule,
|
|
889
889
|
args: [{ imports: [CommonModule] }]
|
|
890
890
|
}] });
|
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 v14.1.0-next.
|
|
2
|
+
* @license Angular v14.1.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -98,7 +98,7 @@ export declare class AsyncPipe implements OnDestroy, PipeTransform {
|
|
|
98
98
|
private _dispose;
|
|
99
99
|
private _updateLatestValue;
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncPipe, never>;
|
|
101
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AsyncPipe, "async",
|
|
101
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsyncPipe, "async", true>;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/**
|
|
@@ -107,16 +107,11 @@ export declare class AsyncPipe implements OnDestroy, PipeTransform {
|
|
|
107
107
|
* Re-exported by `BrowserModule`, which is included automatically in the root
|
|
108
108
|
* `AppModule` when you create a new app with the CLI `new` command.
|
|
109
109
|
*
|
|
110
|
-
* * The `providers` options configure the NgModule's injector to provide
|
|
111
|
-
* localization dependencies to members.
|
|
112
|
-
* * The `exports` options make the declared directives and pipes available for import
|
|
113
|
-
* by other NgModules.
|
|
114
|
-
*
|
|
115
110
|
* @publicApi
|
|
116
111
|
*/
|
|
117
112
|
export declare class CommonModule {
|
|
118
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonModule, never>;
|
|
119
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CommonModule, [typeof i1.NgClass, typeof i2.NgComponentOutlet, typeof i3.NgForOf, typeof i4.NgIf, typeof i5.NgTemplateOutlet, typeof i6.NgStyle, typeof i7.NgSwitch, typeof i7.NgSwitchCase, typeof i7.NgSwitchDefault, typeof i8.NgPlural, typeof i8.NgPluralCase, typeof i9.AsyncPipe, typeof i10.UpperCasePipe, typeof i10.LowerCasePipe, typeof i11.JsonPipe, typeof i12.SlicePipe, typeof i13.DecimalPipe, typeof i13.PercentPipe, typeof i10.TitleCasePipe, typeof i13.CurrencyPipe, typeof i14.DatePipe, typeof i15.I18nPluralPipe, typeof i16.I18nSelectPipe, typeof i17.KeyValuePipe],
|
|
114
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CommonModule, never, [typeof i1.NgClass, typeof i2.NgComponentOutlet, typeof i3.NgForOf, typeof i4.NgIf, typeof i5.NgTemplateOutlet, typeof i6.NgStyle, typeof i7.NgSwitch, typeof i7.NgSwitchCase, typeof i7.NgSwitchDefault, typeof i8.NgPlural, typeof i8.NgPluralCase, typeof i9.AsyncPipe, typeof i10.UpperCasePipe, typeof i10.LowerCasePipe, typeof i11.JsonPipe, typeof i12.SlicePipe, typeof i13.DecimalPipe, typeof i13.PercentPipe, typeof i10.TitleCasePipe, typeof i13.CurrencyPipe, typeof i14.DatePipe, typeof i15.I18nPluralPipe, typeof i16.I18nSelectPipe, typeof i17.KeyValuePipe], [typeof i1.NgClass, typeof i2.NgComponentOutlet, typeof i3.NgForOf, typeof i4.NgIf, typeof i5.NgTemplateOutlet, typeof i6.NgStyle, typeof i7.NgSwitch, typeof i7.NgSwitchCase, typeof i7.NgSwitchDefault, typeof i8.NgPlural, typeof i8.NgPluralCase, typeof i9.AsyncPipe, typeof i10.UpperCasePipe, typeof i10.LowerCasePipe, typeof i11.JsonPipe, typeof i12.SlicePipe, typeof i13.DecimalPipe, typeof i13.PercentPipe, typeof i10.TitleCasePipe, typeof i13.CurrencyPipe, typeof i14.DatePipe, typeof i15.I18nPluralPipe, typeof i16.I18nSelectPipe, typeof i17.KeyValuePipe]>;
|
|
120
115
|
static ɵinj: i0.ɵɵInjectorDeclaration<CommonModule>;
|
|
121
116
|
}
|
|
122
117
|
|
|
@@ -168,7 +163,7 @@ export declare class CurrencyPipe implements PipeTransform {
|
|
|
168
163
|
transform(value: null | undefined, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): null;
|
|
169
164
|
transform(value: number | string | null | undefined, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): string | null;
|
|
170
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyPipe, never>;
|
|
171
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyPipe, "currency",
|
|
166
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyPipe, "currency", true>;
|
|
172
167
|
}
|
|
173
168
|
|
|
174
169
|
/**
|
|
@@ -355,7 +350,7 @@ export declare class DatePipe implements PipeTransform {
|
|
|
355
350
|
transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
|
|
356
351
|
transform(value: Date | string | number | null | undefined, format?: string, timezone?: string, locale?: string): string | null;
|
|
357
352
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePipe, [null, { optional: true; }]>;
|
|
358
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "date",
|
|
353
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DatePipe, "date", true>;
|
|
359
354
|
}
|
|
360
355
|
|
|
361
356
|
/**
|
|
@@ -428,7 +423,7 @@ export declare class DecimalPipe implements PipeTransform {
|
|
|
428
423
|
transform(value: null | undefined, digitsInfo?: string, locale?: string): null;
|
|
429
424
|
transform(value: number | string | null | undefined, digitsInfo?: string, locale?: string): string | null;
|
|
430
425
|
static ɵfac: i0.ɵɵFactoryDeclaration<DecimalPipe, never>;
|
|
431
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DecimalPipe, "number",
|
|
426
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DecimalPipe, "number", true>;
|
|
432
427
|
}
|
|
433
428
|
|
|
434
429
|
declare function defaultComparator<K, V>(keyValueA: KeyValue<K, V>, keyValueB: KeyValue<K, V>): number;
|
|
@@ -1010,7 +1005,7 @@ export declare class I18nPluralPipe implements PipeTransform {
|
|
|
1010
1005
|
[count: string]: string;
|
|
1011
1006
|
}, locale?: string): string;
|
|
1012
1007
|
static ɵfac: i0.ɵɵFactoryDeclaration<I18nPluralPipe, never>;
|
|
1013
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<I18nPluralPipe, "i18nPlural",
|
|
1008
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<I18nPluralPipe, "i18nPlural", true>;
|
|
1014
1009
|
}
|
|
1015
1010
|
|
|
1016
1011
|
/**
|
|
@@ -1040,7 +1035,7 @@ export declare class I18nSelectPipe implements PipeTransform {
|
|
|
1040
1035
|
[key: string]: string;
|
|
1041
1036
|
}): string;
|
|
1042
1037
|
static ɵfac: i0.ɵɵFactoryDeclaration<I18nSelectPipe, never>;
|
|
1043
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<I18nSelectPipe, "i18nSelect",
|
|
1038
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<I18nSelectPipe, "i18nSelect", true>;
|
|
1044
1039
|
}
|
|
1045
1040
|
|
|
1046
1041
|
declare namespace i2 {
|
|
@@ -1142,7 +1137,7 @@ export declare class JsonPipe implements PipeTransform {
|
|
|
1142
1137
|
*/
|
|
1143
1138
|
transform(value: any): string;
|
|
1144
1139
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonPipe, never>;
|
|
1145
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<JsonPipe, "json",
|
|
1140
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<JsonPipe, "json", true>;
|
|
1146
1141
|
}
|
|
1147
1142
|
|
|
1148
1143
|
/**
|
|
@@ -1190,7 +1185,7 @@ export declare class KeyValuePipe implements PipeTransform {
|
|
|
1190
1185
|
transform<K extends number, V>(input: Record<K, V> | null | undefined, compareFn?: (a: KeyValue<string, V>, b: KeyValue<string, V>) => number): Array<KeyValue<string, V>> | null;
|
|
1191
1186
|
transform<K extends string, V>(input: Record<K, V> | ReadonlyMap<K, V> | null | undefined, compareFn?: (a: KeyValue<K, V>, b: KeyValue<K, V>) => number): Array<KeyValue<K, V>> | null;
|
|
1192
1187
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeyValuePipe, never>;
|
|
1193
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<KeyValuePipe, "keyvalue",
|
|
1188
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KeyValuePipe, "keyvalue", true>;
|
|
1194
1189
|
}
|
|
1195
1190
|
|
|
1196
1191
|
/**
|
|
@@ -1443,7 +1438,7 @@ export declare class LowerCasePipe implements PipeTransform {
|
|
|
1443
1438
|
transform(value: null | undefined): null;
|
|
1444
1439
|
transform(value: string | null | undefined): string | null;
|
|
1445
1440
|
static ɵfac: i0.ɵɵFactoryDeclaration<LowerCasePipe, never>;
|
|
1446
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LowerCasePipe, "lowercase",
|
|
1441
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LowerCasePipe, "lowercase", true>;
|
|
1447
1442
|
}
|
|
1448
1443
|
|
|
1449
1444
|
/**
|
|
@@ -1507,7 +1502,7 @@ export declare class NgClass implements DoCheck {
|
|
|
1507
1502
|
private _removeClasses;
|
|
1508
1503
|
private _toggleClass;
|
|
1509
1504
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgClass, never>;
|
|
1510
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": "class"; "ngClass": "ngClass"; }, {}, never, never,
|
|
1505
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": "class"; "ngClass": "ngClass"; }, {}, never, never, true>;
|
|
1511
1506
|
}
|
|
1512
1507
|
|
|
1513
1508
|
/**
|
|
@@ -1587,7 +1582,7 @@ export declare class NgComponentOutlet implements OnChanges, OnDestroy {
|
|
|
1587
1582
|
/** @nodoc */
|
|
1588
1583
|
ngOnDestroy(): void;
|
|
1589
1584
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet, never>;
|
|
1590
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": "ngComponentOutlet"; "ngComponentOutletInjector": "ngComponentOutletInjector"; "ngComponentOutletContent": "ngComponentOutletContent"; "ngComponentOutletNgModule": "ngComponentOutletNgModule"; "ngComponentOutletNgModuleFactory": "ngComponentOutletNgModuleFactory"; }, {}, never, never,
|
|
1585
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": "ngComponentOutlet"; "ngComponentOutletInjector": "ngComponentOutletInjector"; "ngComponentOutletContent": "ngComponentOutletContent"; "ngComponentOutletNgModule": "ngComponentOutletNgModule"; "ngComponentOutletNgModuleFactory": "ngComponentOutletNgModuleFactory"; }, {}, never, never, true>;
|
|
1591
1586
|
}
|
|
1592
1587
|
|
|
1593
1588
|
/**
|
|
@@ -1741,7 +1736,7 @@ export declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> impleme
|
|
|
1741
1736
|
*/
|
|
1742
1737
|
static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>;
|
|
1743
1738
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgForOf<any, any>, never>;
|
|
1744
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": "ngForOf"; "ngForTrackBy": "ngForTrackBy"; "ngForTemplate": "ngForTemplate"; }, {}, never, never,
|
|
1739
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": "ngForOf"; "ngForTrackBy": "ngForTrackBy"; "ngForTemplate": "ngForTemplate"; }, {}, never, never, true>;
|
|
1745
1740
|
}
|
|
1746
1741
|
|
|
1747
1742
|
/**
|
|
@@ -1936,7 +1931,7 @@ export declare class NgIf<T = unknown> {
|
|
|
1936
1931
|
*/
|
|
1937
1932
|
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): ctx is NgIfContext<Exclude<T, false | 0 | '' | null | undefined>>;
|
|
1938
1933
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgIf<any>, never>;
|
|
1939
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": "ngIf"; "ngIfThen": "ngIfThen"; "ngIfElse": "ngIfElse"; }, {}, never, never,
|
|
1934
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": "ngIf"; "ngIfThen": "ngIfThen"; "ngIfElse": "ngIfElse"; }, {}, never, never, true>;
|
|
1940
1935
|
}
|
|
1941
1936
|
|
|
1942
1937
|
/**
|
|
@@ -2012,7 +2007,7 @@ export declare class NgPlural {
|
|
|
2012
2007
|
private _clearViews;
|
|
2013
2008
|
private _activateView;
|
|
2014
2009
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgPlural, never>;
|
|
2015
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": "ngPlural"; }, {}, never, never,
|
|
2010
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": "ngPlural"; }, {}, never, never, true>;
|
|
2016
2011
|
}
|
|
2017
2012
|
|
|
2018
2013
|
/**
|
|
@@ -2039,7 +2034,7 @@ export declare class NgPluralCase {
|
|
|
2039
2034
|
value: string;
|
|
2040
2035
|
constructor(value: string, template: TemplateRef<Object>, viewContainer: ViewContainerRef, ngPlural: NgPlural);
|
|
2041
2036
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgPluralCase, [{ attribute: "ngPluralCase"; }, null, null, { host: true; }]>;
|
|
2042
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never,
|
|
2037
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never, true>;
|
|
2043
2038
|
}
|
|
2044
2039
|
|
|
2045
2040
|
/**
|
|
@@ -2092,7 +2087,7 @@ export declare class NgStyle implements DoCheck {
|
|
|
2092
2087
|
private _setStyle;
|
|
2093
2088
|
private _applyChanges;
|
|
2094
2089
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgStyle, never>;
|
|
2095
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": "ngStyle"; }, {}, never, never,
|
|
2090
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": "ngStyle"; }, {}, never, never, true>;
|
|
2096
2091
|
}
|
|
2097
2092
|
|
|
2098
2093
|
/**
|
|
@@ -2171,7 +2166,7 @@ export declare class NgSwitch {
|
|
|
2171
2166
|
set ngSwitch(newValue: any);
|
|
2172
2167
|
private _updateDefaultCases;
|
|
2173
2168
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
|
|
2174
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": "ngSwitch"; }, {}, never, never,
|
|
2169
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": "ngSwitch"; }, {}, never, never, true>;
|
|
2175
2170
|
}
|
|
2176
2171
|
|
|
2177
2172
|
/**
|
|
@@ -2221,7 +2216,7 @@ export declare class NgSwitchCase implements DoCheck {
|
|
|
2221
2216
|
*/
|
|
2222
2217
|
ngDoCheck(): void;
|
|
2223
2218
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
|
|
2224
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": "ngSwitchCase"; }, {}, never, never,
|
|
2219
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": "ngSwitchCase"; }, {}, never, never, true>;
|
|
2225
2220
|
}
|
|
2226
2221
|
|
|
2227
2222
|
/**
|
|
@@ -2241,7 +2236,7 @@ export declare class NgSwitchCase implements DoCheck {
|
|
|
2241
2236
|
export declare class NgSwitchDefault {
|
|
2242
2237
|
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
|
2243
2238
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchDefault, [null, null, { optional: true; host: true; }]>;
|
|
2244
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never,
|
|
2239
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never, true>;
|
|
2245
2240
|
}
|
|
2246
2241
|
|
|
2247
2242
|
/**
|
|
@@ -2288,7 +2283,7 @@ export declare class NgTemplateOutlet implements OnChanges {
|
|
|
2288
2283
|
/** @nodoc */
|
|
2289
2284
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2290
2285
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgTemplateOutlet, never>;
|
|
2291
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": "ngTemplateOutletContext"; "ngTemplateOutlet": "ngTemplateOutlet"; "ngTemplateOutletInjector": "ngTemplateOutletInjector"; }, {}, never, never,
|
|
2286
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": "ngTemplateOutletContext"; "ngTemplateOutlet": "ngTemplateOutlet"; "ngTemplateOutletInjector": "ngTemplateOutletInjector"; }, {}, never, never, true>;
|
|
2292
2287
|
}
|
|
2293
2288
|
|
|
2294
2289
|
|
|
@@ -2469,7 +2464,7 @@ export declare class PercentPipe implements PipeTransform {
|
|
|
2469
2464
|
transform(value: null | undefined, digitsInfo?: string, locale?: string): null;
|
|
2470
2465
|
transform(value: number | string | null | undefined, digitsInfo?: string, locale?: string): string | null;
|
|
2471
2466
|
static ɵfac: i0.ɵɵFactoryDeclaration<PercentPipe, never>;
|
|
2472
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<PercentPipe, "percent",
|
|
2467
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PercentPipe, "percent", true>;
|
|
2473
2468
|
}
|
|
2474
2469
|
|
|
2475
2470
|
/**
|
|
@@ -2618,7 +2613,7 @@ export declare class SlicePipe implements PipeTransform {
|
|
|
2618
2613
|
transform(value: string | null | undefined, start: number, end?: number): string | null;
|
|
2619
2614
|
private supports;
|
|
2620
2615
|
static ɵfac: i0.ɵɵFactoryDeclaration<SlicePipe, never>;
|
|
2621
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SlicePipe, "slice",
|
|
2616
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SlicePipe, "slice", true>;
|
|
2622
2617
|
}
|
|
2623
2618
|
|
|
2624
2619
|
declare class SwitchView {
|
|
@@ -2666,7 +2661,7 @@ export declare class TitleCasePipe implements PipeTransform {
|
|
|
2666
2661
|
transform(value: null | undefined): null;
|
|
2667
2662
|
transform(value: string | null | undefined): string | null;
|
|
2668
2663
|
static ɵfac: i0.ɵɵFactoryDeclaration<TitleCasePipe, never>;
|
|
2669
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TitleCasePipe, "titlecase",
|
|
2664
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TitleCasePipe, "titlecase", true>;
|
|
2670
2665
|
}
|
|
2671
2666
|
|
|
2672
2667
|
/**
|
|
@@ -2703,7 +2698,7 @@ export declare class UpperCasePipe implements PipeTransform {
|
|
|
2703
2698
|
transform(value: null | undefined): null;
|
|
2704
2699
|
transform(value: string | null | undefined): string | null;
|
|
2705
2700
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpperCasePipe, never>;
|
|
2706
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<UpperCasePipe, "uppercase",
|
|
2701
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<UpperCasePipe, "uppercase", true>;
|
|
2707
2702
|
}
|
|
2708
2703
|
|
|
2709
2704
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/common",
|
|
3
|
-
"version": "14.1.0-next.
|
|
3
|
+
"version": "14.1.0-next.4",
|
|
4
4
|
"description": "Angular - commonly needed directives and services",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@angular/core": "14.1.0-next.
|
|
66
|
+
"@angular/core": "14.1.0-next.4",
|
|
67
67
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
68
68
|
},
|
|
69
69
|
"repository": {
|
package/testing/index.d.ts
CHANGED
package/upgrade/index.d.ts
CHANGED