@angular/core 10.1.6 → 10.2.3
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/bundles/core-testing.umd.js +1 -1
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +5195 -5173
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +120 -112
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +14 -9
- package/core.metadata.json +1 -1
- package/esm2015/src/application_ref.js +1 -1
- package/esm2015/src/compiler/compiler_facade_interface.js +1 -1
- package/esm2015/src/core.js +2 -2
- package/esm2015/src/di/r3_injector.js +3 -2
- package/esm2015/src/linker/ng_module_factory_registration.js +22 -14
- package/esm2015/src/render3/bindings.js +3 -3
- package/esm2015/src/render3/component.js +4 -3
- package/esm2015/src/render3/di.js +5 -4
- package/esm2015/src/render3/errors.js +10 -4
- package/esm2015/src/render3/hooks.js +3 -3
- package/esm2015/src/render3/instructions/advance.js +3 -3
- package/esm2015/src/render3/instructions/all.js +2 -1
- package/esm2015/src/render3/instructions/i18n.js +2 -2
- package/esm2015/src/render3/instructions/shared.js +19 -15
- package/esm2015/src/render3/interfaces/view.js +1 -1
- package/esm2015/src/render3/state.js +6 -6
- package/esm2015/src/render3/view_engine_compatibility_prebound.js +3 -2
- package/esm2015/src/util/ng_dev_mode.js +2 -2
- package/esm2015/src/version.js +1 -1
- package/fesm2015/core.js +4959 -4941
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v10.
|
|
2
|
+
* @license Angular v10.2.3
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -506,7 +506,7 @@ declare interface BootstrapOptions {
|
|
|
506
506
|
* coalesced and the change detection will be triggered multiple times.
|
|
507
507
|
* And if this option be set to true, the change detection will be
|
|
508
508
|
* triggered async by scheduling a animation frame. So in the case above,
|
|
509
|
-
* the change detection will only be
|
|
509
|
+
* the change detection will only be triggered once.
|
|
510
510
|
*/
|
|
511
511
|
ngZoneEventCoalescing?: boolean;
|
|
512
512
|
}
|
|
@@ -3476,8 +3476,11 @@ declare interface InstructionState {
|
|
|
3476
3476
|
* In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.
|
|
3477
3477
|
*
|
|
3478
3478
|
* Necessary to support ChangeDetectorRef.checkNoChanges().
|
|
3479
|
+
*
|
|
3480
|
+
* checkNoChanges Runs only in devmode=true and verifies that no unintended changes exist in
|
|
3481
|
+
* the change detector or its children.
|
|
3479
3482
|
*/
|
|
3480
|
-
|
|
3483
|
+
isInCheckNoChangesMode: boolean;
|
|
3481
3484
|
}
|
|
3482
3485
|
|
|
3483
3486
|
declare interface InternalNgModuleRef<T> extends NgModuleRef<T> {
|
|
@@ -7861,15 +7864,18 @@ declare interface TView {
|
|
|
7861
7864
|
* Array of ngOnInit, ngOnChanges and ngDoCheck hooks that should be executed for this view in
|
|
7862
7865
|
* creation mode.
|
|
7863
7866
|
*
|
|
7864
|
-
*
|
|
7865
|
-
*
|
|
7867
|
+
* This array has a flat structure and contains TNode indices, directive indices (where an
|
|
7868
|
+
* instance can be found in `LView`) and hook functions. TNode index is followed by the directive
|
|
7869
|
+
* index and a hook function. If there are multiple hooks for a given TNode, the TNode index is
|
|
7870
|
+
* not repeated and the next lifecycle hook information is stored right after the previous hook
|
|
7871
|
+
* function. This is done so that at runtime the system can efficiently iterate over all of the
|
|
7872
|
+
* functions to invoke without having to make any decisions/lookups.
|
|
7866
7873
|
*/
|
|
7867
7874
|
preOrderHooks: HookData | null;
|
|
7868
7875
|
/**
|
|
7869
7876
|
* Array of ngOnChanges and ngDoCheck hooks that should be executed for this view in update mode.
|
|
7870
7877
|
*
|
|
7871
|
-
*
|
|
7872
|
-
* Odd indices: Hook function
|
|
7878
|
+
* This array has the same structure as the `preOrderHooks` one.
|
|
7873
7879
|
*/
|
|
7874
7880
|
preOrderCheckHooks: HookData | null;
|
|
7875
7881
|
/**
|
|
@@ -7951,8 +7957,7 @@ declare interface TView {
|
|
|
7951
7957
|
queries: TQueries | null;
|
|
7952
7958
|
/**
|
|
7953
7959
|
* An array of indices pointing to directives with content queries alongside with the
|
|
7954
|
-
* corresponding
|
|
7955
|
-
* query index. Each entry in this array is a tuple of:
|
|
7960
|
+
* corresponding query index. Each entry in this array is a tuple of:
|
|
7956
7961
|
* - index of the first content query index declared by a given directive;
|
|
7957
7962
|
* - index of a directive.
|
|
7958
7963
|
*
|