@angular/core 15.2.0 → 15.2.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/esm2020/src/application_ref.mjs +14 -3
- package/esm2020/src/application_tokens.mjs +1 -12
- package/esm2020/src/change_detection/change_detection.mjs +2 -2
- package/esm2020/src/change_detection/constants.mjs +1 -49
- package/esm2020/src/core.mjs +3 -3
- package/esm2020/src/core_private_export.mjs +1 -5
- package/esm2020/src/core_render3_private_export.mjs +2 -1
- package/esm2020/src/linker/query_list.mjs +6 -7
- package/esm2020/src/linker/template_ref.mjs +3 -3
- package/esm2020/src/render3/i18n/i18n_util.mjs +3 -3
- package/esm2020/src/render3/instructions/element.mjs +10 -9
- package/esm2020/src/render3/instructions/shared.mjs +4 -5
- package/esm2020/src/render3/instructions/template.mjs +2 -2
- package/esm2020/src/render3/interfaces/node.mjs +1 -1
- package/esm2020/src/render3/jit/directive.mjs +1 -2
- package/esm2020/src/util/iterable.mjs +6 -7
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +43 -116
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +29 -99
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +42 -116
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +29 -99
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +17 -70
- package/package.json +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +475 -416
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2020/src/util/symbol.mjs +0 -30
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.
|
|
2
|
+
* @license Angular v15.2.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -7482,7 +7482,7 @@ declare interface TContainerNode extends TNode {
|
|
|
7482
7482
|
* - They are dynamically created
|
|
7483
7483
|
*/
|
|
7484
7484
|
parent: TElementNode | TElementContainerNode | null;
|
|
7485
|
-
|
|
7485
|
+
tView: TView | null;
|
|
7486
7486
|
projection: null;
|
|
7487
7487
|
value: null;
|
|
7488
7488
|
}
|
|
@@ -7522,7 +7522,7 @@ declare interface TElementContainerNode extends TNode {
|
|
|
7522
7522
|
index: number;
|
|
7523
7523
|
child: TElementNode | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null;
|
|
7524
7524
|
parent: TElementNode | TElementContainerNode | null;
|
|
7525
|
-
|
|
7525
|
+
tView: null;
|
|
7526
7526
|
projection: null;
|
|
7527
7527
|
}
|
|
7528
7528
|
|
|
@@ -7537,7 +7537,7 @@ declare interface TElementNode extends TNode {
|
|
|
7537
7537
|
* retrieved using viewData[HOST_NODE]).
|
|
7538
7538
|
*/
|
|
7539
7539
|
parent: TElementNode | TElementContainerNode | null;
|
|
7540
|
-
|
|
7540
|
+
tView: null;
|
|
7541
7541
|
/**
|
|
7542
7542
|
* If this is a component TNode with projection, this will be an array of projected
|
|
7543
7543
|
* TNodes or native nodes (see TNode.projection for more info). If it's a regular element node
|
|
@@ -7975,31 +7975,24 @@ declare interface TNode {
|
|
|
7975
7975
|
*/
|
|
7976
7976
|
outputs: PropertyAliases | null;
|
|
7977
7977
|
/**
|
|
7978
|
-
* The TView
|
|
7979
|
-
*
|
|
7980
|
-
* If this TNode corresponds to an LContainer with inline views, the container will
|
|
7981
|
-
* need to store separate static data for each of its view blocks (TView[]). Otherwise,
|
|
7982
|
-
* nodes in inline views with the same index as nodes in their parent views will overwrite
|
|
7983
|
-
* each other, as they are in the same template.
|
|
7984
|
-
*
|
|
7985
|
-
* Each index in this array corresponds to the static data for a certain
|
|
7986
|
-
* view. So if you had V(0) and V(1) in a container, you might have:
|
|
7987
|
-
*
|
|
7988
|
-
* [
|
|
7989
|
-
* [{tagName: 'div', attrs: ...}, null], // V(0) TView
|
|
7990
|
-
* [{tagName: 'button', attrs ...}, null] // V(1) TView
|
|
7978
|
+
* The TView attached to this node.
|
|
7991
7979
|
*
|
|
7992
7980
|
* If this TNode corresponds to an LContainer with a template (e.g. structural
|
|
7993
7981
|
* directive), the template's TView will be stored here.
|
|
7994
7982
|
*
|
|
7995
|
-
* If this TNode corresponds to an element,
|
|
7983
|
+
* If this TNode corresponds to an element, tView will be `null`.
|
|
7996
7984
|
*/
|
|
7997
|
-
|
|
7985
|
+
tView: TView | null;
|
|
7998
7986
|
/**
|
|
7999
7987
|
* The next sibling node. Necessary so we can propagate through the root nodes of a view
|
|
8000
7988
|
* to insert them or remove them from the DOM.
|
|
8001
7989
|
*/
|
|
8002
7990
|
next: TNode | null;
|
|
7991
|
+
/**
|
|
7992
|
+
* The previous sibling node.
|
|
7993
|
+
* This simplifies operations when we need a pointer to the previous node.
|
|
7994
|
+
*/
|
|
7995
|
+
prev: TNode | null;
|
|
8003
7996
|
/**
|
|
8004
7997
|
* The next projected sibling. Since in Angular content projection works on the node-by-node
|
|
8005
7998
|
* basis the act of projecting nodes might change nodes relationship at the insertion point
|
|
@@ -8290,7 +8283,7 @@ declare interface TProjectionNode extends TNode {
|
|
|
8290
8283
|
* retrieved using LView.node).
|
|
8291
8284
|
*/
|
|
8292
8285
|
parent: TElementNode | TElementContainerNode | null;
|
|
8293
|
-
|
|
8286
|
+
tView: null;
|
|
8294
8287
|
/** Index of the projection node. (See TNode.projection for more info.) */
|
|
8295
8288
|
projection: number;
|
|
8296
8289
|
value: null;
|
|
@@ -8681,7 +8674,7 @@ declare interface TTextNode extends TNode {
|
|
|
8681
8674
|
* retrieved using LView.node).
|
|
8682
8675
|
*/
|
|
8683
8676
|
parent: TElementNode | TElementContainerNode | null;
|
|
8684
|
-
|
|
8677
|
+
tView: null;
|
|
8685
8678
|
projection: null;
|
|
8686
8679
|
}
|
|
8687
8680
|
|
|
@@ -9707,43 +9700,6 @@ export declare const enum ɵBypassType {
|
|
|
9707
9700
|
Style = "Style"
|
|
9708
9701
|
}
|
|
9709
9702
|
|
|
9710
|
-
/**
|
|
9711
|
-
* Defines the possible states of the default change detector.
|
|
9712
|
-
* @see `ChangeDetectorRef`
|
|
9713
|
-
*/
|
|
9714
|
-
export declare enum ɵChangeDetectorStatus {
|
|
9715
|
-
/**
|
|
9716
|
-
* A state in which, after calling `detectChanges()`, the change detector
|
|
9717
|
-
* state becomes `Checked`, and must be explicitly invoked or reactivated.
|
|
9718
|
-
*/
|
|
9719
|
-
CheckOnce = 0,
|
|
9720
|
-
/**
|
|
9721
|
-
* A state in which change detection is skipped until the change detector mode
|
|
9722
|
-
* becomes `CheckOnce`.
|
|
9723
|
-
*/
|
|
9724
|
-
Checked = 1,
|
|
9725
|
-
/**
|
|
9726
|
-
* A state in which change detection continues automatically until explicitly
|
|
9727
|
-
* deactivated.
|
|
9728
|
-
*/
|
|
9729
|
-
CheckAlways = 2,
|
|
9730
|
-
/**
|
|
9731
|
-
* A state in which a change detector sub tree is not a part of the main tree and
|
|
9732
|
-
* should be skipped.
|
|
9733
|
-
*/
|
|
9734
|
-
Detached = 3,
|
|
9735
|
-
/**
|
|
9736
|
-
* Indicates that the change detector encountered an error checking a binding
|
|
9737
|
-
* or calling a directive lifecycle method and is now in an inconsistent state. Change
|
|
9738
|
-
* detectors in this state do not detect changes.
|
|
9739
|
-
*/
|
|
9740
|
-
Errored = 4,
|
|
9741
|
-
/**
|
|
9742
|
-
* Indicates that the change detector has been destroyed.
|
|
9743
|
-
*/
|
|
9744
|
-
Destroyed = 5
|
|
9745
|
-
}
|
|
9746
|
-
|
|
9747
9703
|
export declare function ɵclearResolutionOfComponentResourcesQueue(): Map<Type<any>, Component>;
|
|
9748
9704
|
|
|
9749
9705
|
|
|
@@ -10278,20 +10234,13 @@ export declare interface ɵInternalEnvironmentProviders extends EnvironmentProvi
|
|
|
10278
10234
|
|
|
10279
10235
|
export declare function ɵisBoundToModule<C>(cf: ComponentFactory<C>): boolean;
|
|
10280
10236
|
|
|
10281
|
-
/**
|
|
10282
|
-
* Reports whether a given strategy is currently the default for change detection.
|
|
10283
|
-
* @param changeDetectionStrategy The strategy to check.
|
|
10284
|
-
* @returns True if the given strategy is the current default, false otherwise.
|
|
10285
|
-
* @see `ChangeDetectorStatus`
|
|
10286
|
-
* @see `ChangeDetectorRef`
|
|
10287
|
-
*/
|
|
10288
|
-
export declare function ɵisDefaultChangeDetectionStrategy(changeDetectionStrategy: ChangeDetectionStrategy): boolean;
|
|
10289
|
-
|
|
10290
10237
|
export declare function ɵisEnvironmentProviders(value: Provider | EnvironmentProviders | ɵInternalEnvironmentProviders): value is ɵInternalEnvironmentProviders;
|
|
10291
10238
|
|
|
10292
10239
|
export declare function ɵisInjectable(type: any): boolean;
|
|
10293
10240
|
|
|
10294
|
-
export declare function
|
|
10241
|
+
export declare function ɵisNgModule<T>(value: Type<T>): value is Type<T> & {
|
|
10242
|
+
ɵmod: ɵNgModuleDef<T>;
|
|
10243
|
+
};
|
|
10295
10244
|
|
|
10296
10245
|
/**
|
|
10297
10246
|
* Determine if the argument is an Observable
|
|
@@ -10314,8 +10263,6 @@ export declare function ɵisPromise<T = any>(obj: any): obj is Promise<T>;
|
|
|
10314
10263
|
*/
|
|
10315
10264
|
export declare function ɵisSubscribable(obj: any | Subscribable<any>): obj is Subscribable<any>;
|
|
10316
10265
|
|
|
10317
|
-
export declare const ɵivyEnabled = true;
|
|
10318
|
-
|
|
10319
10266
|
/**
|
|
10320
10267
|
* The internal view context which is specific to a given DOM element, directive or
|
|
10321
10268
|
* component instance. Each value in here (besides the LView and element node details)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/core",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.2",
|
|
4
4
|
"description": "Angular - the core framework",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
39
|
-
"zone.js": "~0.11.4 || ~0.12.0"
|
|
39
|
+
"zone.js": "~0.11.4 || ~0.12.0 || ~0.13.0"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|