@angular/core 10.2.0 → 10.2.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/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 +266 -205
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +117 -110
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +10 -8
- 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/component.js +4 -3
- package/esm2015/src/render3/di.js +5 -4
- package/esm2015/src/render3/errors.js +10 -4
- package/esm2015/src/render3/instructions/shared.js +7 -4
- package/esm2015/src/render3/interfaces/view.js +1 -1
- package/esm2015/src/render3/view_engine_compatibility_prebound.js +3 -2
- package/esm2015/src/util/dom.js +36 -0
- package/esm2015/src/util/is_dev_mode.js +7 -1
- package/esm2015/src/version.js +1 -1
- package/esm2015/src/view/services.js +4 -3
- package/fesm2015/core.js +255 -198
- 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.
|
|
2
|
+
* @license Angular v10.2.4
|
|
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
|
}
|
|
@@ -7864,15 +7864,18 @@ declare interface TView {
|
|
|
7864
7864
|
* Array of ngOnInit, ngOnChanges and ngDoCheck hooks that should be executed for this view in
|
|
7865
7865
|
* creation mode.
|
|
7866
7866
|
*
|
|
7867
|
-
*
|
|
7868
|
-
*
|
|
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.
|
|
7869
7873
|
*/
|
|
7870
7874
|
preOrderHooks: HookData | null;
|
|
7871
7875
|
/**
|
|
7872
7876
|
* Array of ngOnChanges and ngDoCheck hooks that should be executed for this view in update mode.
|
|
7873
7877
|
*
|
|
7874
|
-
*
|
|
7875
|
-
* Odd indices: Hook function
|
|
7878
|
+
* This array has the same structure as the `preOrderHooks` one.
|
|
7876
7879
|
*/
|
|
7877
7880
|
preOrderCheckHooks: HookData | null;
|
|
7878
7881
|
/**
|
|
@@ -7954,8 +7957,7 @@ declare interface TView {
|
|
|
7954
7957
|
queries: TQueries | null;
|
|
7955
7958
|
/**
|
|
7956
7959
|
* An array of indices pointing to directives with content queries alongside with the
|
|
7957
|
-
* corresponding
|
|
7958
|
-
* query index. Each entry in this array is a tuple of:
|
|
7960
|
+
* corresponding query index. Each entry in this array is a tuple of:
|
|
7959
7961
|
* - index of the first content query index declared by a given directive;
|
|
7960
7962
|
* - index of a directive.
|
|
7961
7963
|
*
|