@angular/core 16.0.0-rc.4 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/di/injectable.mjs +1 -2
- package/esm2022/src/di/metadata.mjs +5 -6
- package/esm2022/src/di/metadata_attr.mjs +1 -2
- package/esm2022/src/metadata/di.mjs +4 -5
- package/esm2022/src/metadata/directives.mjs +7 -7
- package/esm2022/src/metadata/ng_module.mjs +1 -2
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +15 -20
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +6 -9
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +14 -28
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/ng-generate/standalone-migration/bundle.js +9 -9
- package/schematics/ng-generate/standalone-migration/bundle.js.map +1 -1
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0
|
|
2
|
+
* @license Angular v16.0.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -572,7 +572,6 @@ export declare interface Attribute {
|
|
|
572
572
|
/**
|
|
573
573
|
* Attribute decorator and metadata.
|
|
574
574
|
*
|
|
575
|
-
* @Annotation
|
|
576
575
|
* @publicApi
|
|
577
576
|
*/
|
|
578
577
|
export declare const Attribute: AttributeDecorator;
|
|
@@ -1062,7 +1061,7 @@ export declare interface Component extends Directive {
|
|
|
1062
1061
|
/**
|
|
1063
1062
|
* Component decorator and metadata.
|
|
1064
1063
|
*
|
|
1065
|
-
|
|
1064
|
+
|
|
1066
1065
|
* @publicApi
|
|
1067
1066
|
*/
|
|
1068
1067
|
export declare const Component: ComponentDecorator;
|
|
@@ -1208,7 +1207,6 @@ export declare interface ComponentDecorator {
|
|
|
1208
1207
|
* To preserve sequences of whitespace characters, use the
|
|
1209
1208
|
* `ngPreserveWhitespaces` attribute.
|
|
1210
1209
|
*
|
|
1211
|
-
* @Annotation
|
|
1212
1210
|
*/
|
|
1213
1211
|
(obj: Component): TypeDecorator;
|
|
1214
1212
|
/**
|
|
@@ -1575,7 +1573,7 @@ export declare type ContentChild = Query;
|
|
|
1575
1573
|
* ContentChild decorator and metadata.
|
|
1576
1574
|
*
|
|
1577
1575
|
*
|
|
1578
|
-
|
|
1576
|
+
|
|
1579
1577
|
*
|
|
1580
1578
|
* @publicApi
|
|
1581
1579
|
*/
|
|
@@ -1635,7 +1633,6 @@ export declare interface ContentChildDecorator {
|
|
|
1635
1633
|
*
|
|
1636
1634
|
* {@example core/di/ts/contentChild/content_child_example.ts region='Component'}
|
|
1637
1635
|
*
|
|
1638
|
-
* @Annotation
|
|
1639
1636
|
*/
|
|
1640
1637
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1641
1638
|
descendants?: boolean;
|
|
@@ -1653,7 +1650,6 @@ export declare interface ContentChildDecorator {
|
|
|
1653
1650
|
* Type of the ContentChildren metadata.
|
|
1654
1651
|
*
|
|
1655
1652
|
*
|
|
1656
|
-
* @Annotation
|
|
1657
1653
|
* @publicApi
|
|
1658
1654
|
*/
|
|
1659
1655
|
export declare type ContentChildren = Query;
|
|
@@ -1662,7 +1658,6 @@ export declare type ContentChildren = Query;
|
|
|
1662
1658
|
* ContentChildren decorator and metadata.
|
|
1663
1659
|
*
|
|
1664
1660
|
*
|
|
1665
|
-
* @Annotation
|
|
1666
1661
|
* @publicApi
|
|
1667
1662
|
*/
|
|
1668
1663
|
export declare const ContentChildren: ContentChildrenDecorator;
|
|
@@ -1733,7 +1728,6 @@ export declare interface ContentChildrenDecorator {
|
|
|
1733
1728
|
*
|
|
1734
1729
|
* {@example core/di/ts/contentChildren/content_children_example.ts region='Component'}
|
|
1735
1730
|
*
|
|
1736
|
-
* @Annotation
|
|
1737
1731
|
*/
|
|
1738
1732
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1739
1733
|
descendants?: boolean;
|
|
@@ -2369,7 +2363,6 @@ export declare abstract class DestroyRef {
|
|
|
2369
2363
|
/**
|
|
2370
2364
|
* Directive decorator and metadata.
|
|
2371
2365
|
*
|
|
2372
|
-
* @Annotation
|
|
2373
2366
|
* @publicApi
|
|
2374
2367
|
*/
|
|
2375
2368
|
export declare interface Directive {
|
|
@@ -2548,7 +2541,6 @@ export declare interface Directive {
|
|
|
2548
2541
|
* }
|
|
2549
2542
|
* ```
|
|
2550
2543
|
*
|
|
2551
|
-
* @Annotation
|
|
2552
2544
|
*/
|
|
2553
2545
|
queries?: {
|
|
2554
2546
|
[key: string]: any;
|
|
@@ -2698,7 +2690,6 @@ export declare interface DirectiveDecorator {
|
|
|
2698
2690
|
* accessible for components outside of the NgModule.
|
|
2699
2691
|
*
|
|
2700
2692
|
*
|
|
2701
|
-
* @Annotation
|
|
2702
2693
|
*/
|
|
2703
2694
|
(obj?: Directive): TypeDecorator;
|
|
2704
2695
|
/**
|
|
@@ -3555,7 +3546,7 @@ export declare interface Host {
|
|
|
3555
3546
|
/**
|
|
3556
3547
|
* Host decorator and metadata.
|
|
3557
3548
|
*
|
|
3558
|
-
|
|
3549
|
+
|
|
3559
3550
|
* @publicApi
|
|
3560
3551
|
*/
|
|
3561
3552
|
export declare const Host: HostDecorator;
|
|
@@ -3573,7 +3564,7 @@ export declare interface HostBinding {
|
|
|
3573
3564
|
}
|
|
3574
3565
|
|
|
3575
3566
|
/**
|
|
3576
|
-
|
|
3567
|
+
|
|
3577
3568
|
* @publicApi
|
|
3578
3569
|
*/
|
|
3579
3570
|
export declare const HostBinding: HostBindingDecorator;
|
|
@@ -3819,7 +3810,7 @@ export declare interface HostListener {
|
|
|
3819
3810
|
* The global target names that can be used to prefix an event name are
|
|
3820
3811
|
* `document:`, `window:` and `body:`.
|
|
3821
3812
|
*
|
|
3822
|
-
|
|
3813
|
+
|
|
3823
3814
|
* @publicApi
|
|
3824
3815
|
*/
|
|
3825
3816
|
export declare const HostListener: HostListenerDecorator;
|
|
@@ -4180,7 +4171,6 @@ export declare interface Inject {
|
|
|
4180
4171
|
/**
|
|
4181
4172
|
* Inject decorator and metadata.
|
|
4182
4173
|
*
|
|
4183
|
-
* @Annotation
|
|
4184
4174
|
* @publicApi
|
|
4185
4175
|
*/
|
|
4186
4176
|
export declare const Inject: InjectDecorator;
|
|
@@ -4264,7 +4254,6 @@ export declare interface Injectable {
|
|
|
4264
4254
|
/**
|
|
4265
4255
|
* Injectable decorator and metadata.
|
|
4266
4256
|
*
|
|
4267
|
-
* @Annotation
|
|
4268
4257
|
* @publicApi
|
|
4269
4258
|
*/
|
|
4270
4259
|
export declare const Injectable: InjectableDecorator;
|
|
@@ -4611,7 +4600,7 @@ export declare interface Input {
|
|
|
4611
4600
|
}
|
|
4612
4601
|
|
|
4613
4602
|
/**
|
|
4614
|
-
|
|
4603
|
+
|
|
4615
4604
|
* @publicApi
|
|
4616
4605
|
*/
|
|
4617
4606
|
export declare const Input: InputDecorator;
|
|
@@ -5771,7 +5760,6 @@ export declare interface NgModule {
|
|
|
5771
5760
|
}
|
|
5772
5761
|
|
|
5773
5762
|
/**
|
|
5774
|
-
* @Annotation
|
|
5775
5763
|
*/
|
|
5776
5764
|
export declare const NgModule: NgModuleDecorator;
|
|
5777
5765
|
|
|
@@ -6170,7 +6158,7 @@ export declare interface Optional {
|
|
|
6170
6158
|
/**
|
|
6171
6159
|
* Optional decorator and metadata.
|
|
6172
6160
|
*
|
|
6173
|
-
|
|
6161
|
+
|
|
6174
6162
|
* @publicApi
|
|
6175
6163
|
*/
|
|
6176
6164
|
export declare const Optional: OptionalDecorator;
|
|
@@ -6215,7 +6203,7 @@ export declare interface Output {
|
|
|
6215
6203
|
}
|
|
6216
6204
|
|
|
6217
6205
|
/**
|
|
6218
|
-
|
|
6206
|
+
|
|
6219
6207
|
* @publicApi
|
|
6220
6208
|
*/
|
|
6221
6209
|
export declare const Output: OutputDecorator;
|
|
@@ -6289,7 +6277,7 @@ export declare interface Pipe {
|
|
|
6289
6277
|
}
|
|
6290
6278
|
|
|
6291
6279
|
/**
|
|
6292
|
-
|
|
6280
|
+
|
|
6293
6281
|
* @publicApi
|
|
6294
6282
|
*/
|
|
6295
6283
|
export declare const Pipe: PipeDecorator;
|
|
@@ -7651,7 +7639,7 @@ export declare interface Self {
|
|
|
7651
7639
|
/**
|
|
7652
7640
|
* Self decorator and metadata.
|
|
7653
7641
|
*
|
|
7654
|
-
|
|
7642
|
+
|
|
7655
7643
|
* @publicApi
|
|
7656
7644
|
*/
|
|
7657
7645
|
export declare const Self: SelfDecorator;
|
|
@@ -7846,7 +7834,7 @@ export declare interface SkipSelf {
|
|
|
7846
7834
|
/**
|
|
7847
7835
|
* `SkipSelf` decorator and metadata.
|
|
7848
7836
|
*
|
|
7849
|
-
|
|
7837
|
+
|
|
7850
7838
|
* @publicApi
|
|
7851
7839
|
*/
|
|
7852
7840
|
export declare const SkipSelf: SkipSelfDecorator;
|
|
@@ -9670,7 +9658,7 @@ export declare type ViewChild = Query;
|
|
|
9670
9658
|
/**
|
|
9671
9659
|
* ViewChild decorator and metadata.
|
|
9672
9660
|
*
|
|
9673
|
-
|
|
9661
|
+
|
|
9674
9662
|
* @publicApi
|
|
9675
9663
|
*/
|
|
9676
9664
|
export declare const ViewChild: ViewChildDecorator;
|
|
@@ -9725,7 +9713,6 @@ export declare interface ViewChildDecorator {
|
|
|
9725
9713
|
*
|
|
9726
9714
|
* {@example core/di/ts/viewChild/view_child_howto.ts region='HowTo'}
|
|
9727
9715
|
*
|
|
9728
|
-
* @Annotation
|
|
9729
9716
|
*/
|
|
9730
9717
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
9731
9718
|
read?: any;
|
|
@@ -9747,7 +9734,7 @@ export declare type ViewChildren = Query;
|
|
|
9747
9734
|
/**
|
|
9748
9735
|
* ViewChildren decorator and metadata.
|
|
9749
9736
|
*
|
|
9750
|
-
|
|
9737
|
+
|
|
9751
9738
|
* @publicApi
|
|
9752
9739
|
*/
|
|
9753
9740
|
export declare const ViewChildren: ViewChildrenDecorator;
|
|
@@ -9809,7 +9796,6 @@ export declare interface ViewChildrenDecorator {
|
|
|
9809
9796
|
*
|
|
9810
9797
|
* {@example core/di/ts/viewChildren/view_children_example.ts region='Component'}
|
|
9811
9798
|
*
|
|
9812
|
-
* @Annotation
|
|
9813
9799
|
*/
|
|
9814
9800
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
9815
9801
|
read?: any;
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -18540,7 +18540,7 @@ function publishFacade(global2) {
|
|
|
18540
18540
|
}
|
|
18541
18541
|
|
|
18542
18542
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
18543
|
-
var VERSION2 = new Version("16.0.0
|
|
18543
|
+
var VERSION2 = new Version("16.0.0");
|
|
18544
18544
|
|
|
18545
18545
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
18546
18546
|
var _I18N_ATTR = "i18n";
|
|
@@ -19859,7 +19859,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
|
19859
19859
|
function compileDeclareClassMetadata(metadata) {
|
|
19860
19860
|
const definitionMap = new DefinitionMap();
|
|
19861
19861
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
19862
|
-
definitionMap.set("version", literal("16.0.0
|
|
19862
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
19863
19863
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
19864
19864
|
definitionMap.set("type", metadata.type);
|
|
19865
19865
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -19928,7 +19928,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
19928
19928
|
var _a2;
|
|
19929
19929
|
const definitionMap = new DefinitionMap();
|
|
19930
19930
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
19931
|
-
definitionMap.set("version", literal("16.0.0
|
|
19931
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
19932
19932
|
definitionMap.set("type", meta.type.value);
|
|
19933
19933
|
if (meta.isStandalone) {
|
|
19934
19934
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -20110,7 +20110,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
|
20110
20110
|
function compileDeclareFactoryFunction(meta) {
|
|
20111
20111
|
const definitionMap = new DefinitionMap();
|
|
20112
20112
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
20113
|
-
definitionMap.set("version", literal("16.0.0
|
|
20113
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
20114
20114
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20115
20115
|
definitionMap.set("type", meta.type.value);
|
|
20116
20116
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -20133,7 +20133,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
20133
20133
|
function createInjectableDefinitionMap(meta) {
|
|
20134
20134
|
const definitionMap = new DefinitionMap();
|
|
20135
20135
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
20136
|
-
definitionMap.set("version", literal("16.0.0
|
|
20136
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
20137
20137
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20138
20138
|
definitionMap.set("type", meta.type.value);
|
|
20139
20139
|
if (meta.providedIn !== void 0) {
|
|
@@ -20171,7 +20171,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
20171
20171
|
function createInjectorDefinitionMap(meta) {
|
|
20172
20172
|
const definitionMap = new DefinitionMap();
|
|
20173
20173
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
20174
|
-
definitionMap.set("version", literal("16.0.0
|
|
20174
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
20175
20175
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20176
20176
|
definitionMap.set("type", meta.type.value);
|
|
20177
20177
|
definitionMap.set("providers", meta.providers);
|
|
@@ -20192,7 +20192,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
20192
20192
|
function createNgModuleDefinitionMap(meta) {
|
|
20193
20193
|
const definitionMap = new DefinitionMap();
|
|
20194
20194
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
20195
|
-
definitionMap.set("version", literal("16.0.0
|
|
20195
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
20196
20196
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20197
20197
|
definitionMap.set("type", meta.type.value);
|
|
20198
20198
|
if (meta.bootstrap.length > 0) {
|
|
@@ -20227,7 +20227,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
20227
20227
|
function createPipeDefinitionMap(meta) {
|
|
20228
20228
|
const definitionMap = new DefinitionMap();
|
|
20229
20229
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
20230
|
-
definitionMap.set("version", literal("16.0.0
|
|
20230
|
+
definitionMap.set("version", literal("16.0.0"));
|
|
20231
20231
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20232
20232
|
definitionMap.set("type", meta.type.value);
|
|
20233
20233
|
if (meta.isStandalone) {
|
|
@@ -20244,7 +20244,7 @@ function createPipeDefinitionMap(meta) {
|
|
|
20244
20244
|
publishFacade(_global);
|
|
20245
20245
|
|
|
20246
20246
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
20247
|
-
var VERSION3 = new Version("16.0.0
|
|
20247
|
+
var VERSION3 = new Version("16.0.0");
|
|
20248
20248
|
|
|
20249
20249
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
20250
20250
|
var EmitFlags;
|