@angular/core 16.2.0-next.3 → 16.2.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/esm2022/rxjs-interop/src/to_signal.mjs +1 -1
- package/esm2022/src/di/interface/provider.mjs +1 -1
- package/esm2022/src/metadata/di.mjs +5 -5
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +6 -6
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +2 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +9 -9
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +17 -15
- package/schematics/ng-generate/standalone-migration/bundle.js +19 -10
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.2.0-next.
|
|
2
|
+
* @license Angular v16.2.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1685,7 +1685,7 @@ export declare const ContentChildren: ContentChildrenDecorator;
|
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Type of the ContentChildren decorator / constructor function.
|
|
1687
1687
|
*
|
|
1688
|
-
* @see {@link ContentChildren}
|
|
1688
|
+
* @see {@link ContentChildren}
|
|
1689
1689
|
* @publicApi
|
|
1690
1690
|
*/
|
|
1691
1691
|
export declare interface ContentChildrenDecorator {
|
|
@@ -6709,10 +6709,10 @@ export declare interface Query {
|
|
|
6709
6709
|
/**
|
|
6710
6710
|
* Base class for query metadata.
|
|
6711
6711
|
*
|
|
6712
|
-
* @see {@link ContentChildren}
|
|
6713
|
-
* @see {@link ContentChild}
|
|
6714
|
-
* @see {@link ViewChildren}
|
|
6715
|
-
* @see {@link ViewChild}
|
|
6712
|
+
* @see {@link ContentChildren}
|
|
6713
|
+
* @see {@link ContentChild}
|
|
6714
|
+
* @see {@link ViewChildren}
|
|
6715
|
+
* @see {@link ViewChild}
|
|
6716
6716
|
*
|
|
6717
6717
|
* @publicApi
|
|
6718
6718
|
*/
|
|
@@ -8062,7 +8062,7 @@ export declare interface StaticClassSansProvider {
|
|
|
8062
8062
|
* Describes how an `Injector` should be configured as static (that is, without reflection).
|
|
8063
8063
|
* A static provider provides tokens to an injector for various types of dependencies.
|
|
8064
8064
|
*
|
|
8065
|
-
* @see {@link Injector.create()}
|
|
8065
|
+
* @see {@link Injector.create()}
|
|
8066
8066
|
* @see ["Dependency Injection Guide"](guide/dependency-injection-providers).
|
|
8067
8067
|
*
|
|
8068
8068
|
* @publicApi
|
|
@@ -9792,7 +9792,7 @@ export declare const ViewChild: ViewChildDecorator;
|
|
|
9792
9792
|
/**
|
|
9793
9793
|
* Type of the ViewChild decorator / constructor function.
|
|
9794
9794
|
*
|
|
9795
|
-
* @see {@link ViewChild}
|
|
9795
|
+
* @see {@link ViewChild}
|
|
9796
9796
|
* @publicApi
|
|
9797
9797
|
*/
|
|
9798
9798
|
export declare interface ViewChildDecorator {
|
|
@@ -9869,7 +9869,7 @@ export declare const ViewChildren: ViewChildrenDecorator;
|
|
|
9869
9869
|
/**
|
|
9870
9870
|
* Type of the ViewChildren decorator / constructor function.
|
|
9871
9871
|
*
|
|
9872
|
-
* @see {@link ViewChildren}
|
|
9872
|
+
* @see {@link ViewChildren}
|
|
9873
9873
|
*
|
|
9874
9874
|
* @publicApi
|
|
9875
9875
|
*/
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.2.0-next.
|
|
2
|
+
* @license Angular v16.2.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -64,8 +64,8 @@ export declare interface ToObservableOptions {
|
|
|
64
64
|
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
65
65
|
* context](guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
66
66
|
* called during the construction of a component, the subscription will be cleaned up when the
|
|
67
|
-
* component is destroyed. If an injection context is not
|
|
68
|
-
* passed instead.
|
|
67
|
+
* component is destroyed. If an [injection context](/guide/dependency-injection-context) is not
|
|
68
|
+
* available, an explicit `Injector` can be passed instead.
|
|
69
69
|
*
|
|
70
70
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
71
71
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -85,10 +85,11 @@ export declare function toSignal<T>(source: Observable<T> | Subscribable<T>): Si
|
|
|
85
85
|
* `initialValue`, or `undefined` if no `initialValue` is provided. If the `Observable` is
|
|
86
86
|
* guaranteed to emit synchronously, then the `requireSync` option can be passed instead.
|
|
87
87
|
*
|
|
88
|
-
* By default, the subscription will be automatically cleaned up when the current injection
|
|
89
|
-
* is destroyed. For example, when `toObservable` is
|
|
90
|
-
* the subscription will be cleaned up when the
|
|
91
|
-
* not available, an explicit `Injector` can be
|
|
88
|
+
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
89
|
+
* context](/guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
90
|
+
* called during the construction of a component, the subscription will be cleaned up when the
|
|
91
|
+
* component is destroyed. If an injection context is not available, an explicit `Injector` can be
|
|
92
|
+
* passed instead.
|
|
92
93
|
*
|
|
93
94
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
94
95
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -115,8 +116,8 @@ export declare function toSignal<T>(source: Observable<T> | Subscribable<T>, opt
|
|
|
115
116
|
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
116
117
|
* context](guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
117
118
|
* called during the construction of a component, the subscription will be cleaned up when the
|
|
118
|
-
* component is destroyed. If an injection context is not
|
|
119
|
-
* passed instead.
|
|
119
|
+
* component is destroyed. If an [injection context](/guide/dependency-injection-context) is not
|
|
120
|
+
* available, an explicit `Injector` can be passed instead.
|
|
120
121
|
*
|
|
121
122
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
122
123
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -141,10 +142,11 @@ export declare function toSignal<T, U extends T | null | undefined>(source: Obse
|
|
|
141
142
|
* immediately upon subscription. No `initialValue` is needed in this case, and the returned signal
|
|
142
143
|
* does not include an `undefined` type.
|
|
143
144
|
*
|
|
144
|
-
* By default, the subscription will be automatically cleaned up when the current injection
|
|
145
|
-
* is destroyed. For example, when `toObservable` is
|
|
146
|
-
* the subscription will be cleaned up when the
|
|
147
|
-
* not available, an explicit `Injector` can be
|
|
145
|
+
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
146
|
+
* context](/guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
147
|
+
* called during the construction of a component, the subscription will be cleaned up when the
|
|
148
|
+
* component is destroyed. If an injection context is not available, an explicit `Injector` can be
|
|
149
|
+
* passed instead.
|
|
148
150
|
*
|
|
149
151
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
150
152
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -180,8 +182,8 @@ export declare interface ToSignalOptions<T> {
|
|
|
180
182
|
/**
|
|
181
183
|
* `Injector` which will provide the `DestroyRef` used to clean up the Observable subscription.
|
|
182
184
|
*
|
|
183
|
-
* If this is not provided, a `DestroyRef` will be retrieved from the current injection
|
|
184
|
-
* unless manual cleanup is requested.
|
|
185
|
+
* If this is not provided, a `DestroyRef` will be retrieved from the current [injection
|
|
186
|
+
* context](/guide/dependency-injection-context), unless manual cleanup is requested.
|
|
185
187
|
*/
|
|
186
188
|
injector?: Injector;
|
|
187
189
|
/**
|
|
@@ -15687,7 +15687,8 @@ var _Tokenizer = class {
|
|
|
15687
15687
|
this._beginToken(28);
|
|
15688
15688
|
const start = this._cursor.clone();
|
|
15689
15689
|
let inQuote = null;
|
|
15690
|
-
|
|
15690
|
+
let openBraces = 0;
|
|
15691
|
+
while (this._cursor.peek() !== $SEMICOLON && this._cursor.peek() !== $EOF || inQuote !== null) {
|
|
15691
15692
|
const char = this._cursor.peek();
|
|
15692
15693
|
if (char === $BACKSLASH) {
|
|
15693
15694
|
this._cursor.advance();
|
|
@@ -15695,6 +15696,14 @@ var _Tokenizer = class {
|
|
|
15695
15696
|
inQuote = null;
|
|
15696
15697
|
} else if (inQuote === null && isQuote(char)) {
|
|
15697
15698
|
inQuote = char;
|
|
15699
|
+
} else if (char === $LBRACE && inQuote === null) {
|
|
15700
|
+
openBraces++;
|
|
15701
|
+
} else if (char === $RBRACE && inQuote === null) {
|
|
15702
|
+
if (openBraces === 0) {
|
|
15703
|
+
break;
|
|
15704
|
+
} else if (openBraces > 0) {
|
|
15705
|
+
openBraces--;
|
|
15706
|
+
}
|
|
15698
15707
|
}
|
|
15699
15708
|
this._cursor.advance();
|
|
15700
15709
|
}
|
|
@@ -21241,7 +21250,7 @@ function publishFacade(global) {
|
|
|
21241
21250
|
}
|
|
21242
21251
|
|
|
21243
21252
|
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
21244
|
-
var VERSION2 = new Version("16.2.0-next.
|
|
21253
|
+
var VERSION2 = new Version("16.2.0-next.4");
|
|
21245
21254
|
|
|
21246
21255
|
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
21247
21256
|
var _I18N_ATTR = "i18n";
|
|
@@ -22651,7 +22660,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
|
22651
22660
|
function compileDeclareClassMetadata(metadata) {
|
|
22652
22661
|
const definitionMap = new DefinitionMap();
|
|
22653
22662
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22654
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
22663
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
22655
22664
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
22656
22665
|
definitionMap.set("type", metadata.type);
|
|
22657
22666
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -22720,7 +22729,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
22720
22729
|
var _a2;
|
|
22721
22730
|
const definitionMap = new DefinitionMap();
|
|
22722
22731
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
22723
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
22732
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
22724
22733
|
definitionMap.set("type", meta.type.value);
|
|
22725
22734
|
if (meta.isStandalone) {
|
|
22726
22735
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -22905,7 +22914,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
|
22905
22914
|
function compileDeclareFactoryFunction(meta) {
|
|
22906
22915
|
const definitionMap = new DefinitionMap();
|
|
22907
22916
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
22908
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
22917
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
22909
22918
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
22910
22919
|
definitionMap.set("type", meta.type.value);
|
|
22911
22920
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -22928,7 +22937,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22928
22937
|
function createInjectableDefinitionMap(meta) {
|
|
22929
22938
|
const definitionMap = new DefinitionMap();
|
|
22930
22939
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
22931
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
22940
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
22932
22941
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
22933
22942
|
definitionMap.set("type", meta.type.value);
|
|
22934
22943
|
if (meta.providedIn !== void 0) {
|
|
@@ -22966,7 +22975,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22966
22975
|
function createInjectorDefinitionMap(meta) {
|
|
22967
22976
|
const definitionMap = new DefinitionMap();
|
|
22968
22977
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
22969
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
22978
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
22970
22979
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
22971
22980
|
definitionMap.set("type", meta.type.value);
|
|
22972
22981
|
definitionMap.set("providers", meta.providers);
|
|
@@ -22990,7 +22999,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
22990
22999
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
22991
23000
|
}
|
|
22992
23001
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
22993
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
23002
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
22994
23003
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
22995
23004
|
definitionMap.set("type", meta.type.value);
|
|
22996
23005
|
if (meta.bootstrap.length > 0) {
|
|
@@ -23025,7 +23034,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
23025
23034
|
function createPipeDefinitionMap(meta) {
|
|
23026
23035
|
const definitionMap = new DefinitionMap();
|
|
23027
23036
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
23028
|
-
definitionMap.set("version", literal("16.2.0-next.
|
|
23037
|
+
definitionMap.set("version", literal("16.2.0-next.4"));
|
|
23029
23038
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23030
23039
|
definitionMap.set("type", meta.type.value);
|
|
23031
23040
|
if (meta.isStandalone) {
|
|
@@ -23042,7 +23051,7 @@ function createPipeDefinitionMap(meta) {
|
|
|
23042
23051
|
publishFacade(_global);
|
|
23043
23052
|
|
|
23044
23053
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
23045
|
-
var VERSION3 = new Version("16.2.0-next.
|
|
23054
|
+
var VERSION3 = new Version("16.2.0-next.4");
|
|
23046
23055
|
|
|
23047
23056
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
23048
23057
|
var EmitFlags;
|