@angular/core 9.1.6 → 9.1.7
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 +2 -230
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +126 -133
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +3 -62
- package/core.metadata.json +1 -1
- package/esm2015/index.js +2 -2
- package/esm2015/public_api.js +2 -2
- package/esm2015/src/core.js +2 -2
- package/esm2015/src/core_render3_private_export.js +2 -2
- package/esm2015/src/render3/assert.js +1 -8
- package/esm2015/src/render3/index.js +2 -2
- package/esm2015/src/render3/instructions/all.js +2 -3
- package/esm2015/src/render3/instructions/template.js +100 -0
- package/esm2015/src/render3/interfaces/container.js +1 -6
- package/esm2015/src/render3/jit/environment.js +1 -6
- package/esm2015/src/version.js +1 -1
- package/esm5/src/core_render3_private_export.js +2 -2
- package/esm5/src/render3/assert.js +1 -4
- package/esm5/src/render3/index.js +2 -2
- package/esm5/src/render3/instructions/all.js +2 -3
- package/esm5/src/render3/instructions/template.js +73 -0
- package/esm5/src/render3/interfaces/container.js +1 -1
- package/esm5/src/render3/jit/environment.js +1 -6
- package/esm5/src/version.js +1 -1
- package/fesm2015/core.js +4 -280
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm5/core.js +3 -226
- package/fesm5/core.js.map +1 -1
- package/fesm5/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/esm2015/src/render3/instructions/container.js +0 -227
- package/esm2015/src/render3/instructions/embedded_view.js +0 -151
- package/esm5/src/render3/instructions/container.js +0 -173
- package/esm5/src/render3/instructions/embedded_view.js +0 -127
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v9.1.
|
|
2
|
+
* @license Angular v9.1.7
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28,9 +28,7 @@ export declare interface AbstractType<T> extends Function {
|
|
|
28
28
|
declare const ACTIVE_INDEX = 2;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Used to track:
|
|
32
|
-
* - Inline embedded views (see: `ɵɵembeddedViewStart`)
|
|
33
|
-
* - Transplanted `LView`s (see: `LView[DECLARATION_COMPONENT_VIEW])`
|
|
31
|
+
* Used to track Transplanted `LView`s (see: `LView[DECLARATION_COMPONENT_VIEW])`
|
|
34
32
|
*/
|
|
35
33
|
declare const enum ActiveIndexFlag {
|
|
36
34
|
/**
|
|
@@ -49,12 +47,7 @@ declare const enum ActiveIndexFlag {
|
|
|
49
47
|
/**
|
|
50
48
|
* Number of bits to shift inline embedded views counter to make space for other flags.
|
|
51
49
|
*/
|
|
52
|
-
SHIFT = 1
|
|
53
|
-
/**
|
|
54
|
-
* When incrementing the active index for inline embedded views, the amount to increment to leave
|
|
55
|
-
* space for other flags.
|
|
56
|
-
*/
|
|
57
|
-
INCREMENT = 2
|
|
50
|
+
SHIFT = 1
|
|
58
51
|
}
|
|
59
52
|
|
|
60
53
|
/**
|
|
@@ -3782,10 +3775,6 @@ declare interface LContainer extends Array<any> {
|
|
|
3782
3775
|
* it is set to null to identify this scenario, as indices are "absolute" in that case,
|
|
3783
3776
|
* i.e. provided directly by the user of the ViewContainerRef API.
|
|
3784
3777
|
*
|
|
3785
|
-
* This is used by `ɵɵembeddedViewStart` to track which `LView` is currently active.
|
|
3786
|
-
* Because `ɵɵembeddedViewStart` is not generated by the compiler this feature is essentially
|
|
3787
|
-
* unused.
|
|
3788
|
-
*
|
|
3789
3778
|
* The lowest bit signals that this `LContainer` has transplanted views which need to be change
|
|
3790
3779
|
* detected as part of the declaration CD. (See `LView[DECLARATION_COMPONENT_VIEW]`)
|
|
3791
3780
|
*/
|
|
@@ -11488,37 +11477,6 @@ export declare type ɵɵComponentDefWithMeta<T, Selector extends String, ExportA
|
|
|
11488
11477
|
*/
|
|
11489
11478
|
export declare function ɵɵcomponentHostSyntheticListener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): typeof ɵɵcomponentHostSyntheticListener;
|
|
11490
11479
|
|
|
11491
|
-
/**
|
|
11492
|
-
* Creates an LContainer for inline views, e.g.
|
|
11493
|
-
*
|
|
11494
|
-
* % if (showing) {
|
|
11495
|
-
* <div></div>
|
|
11496
|
-
* % }
|
|
11497
|
-
*
|
|
11498
|
-
* @param index The index of the container in the data array
|
|
11499
|
-
*
|
|
11500
|
-
* @codeGenApi
|
|
11501
|
-
*/
|
|
11502
|
-
export declare function ɵɵcontainer(index: number): void;
|
|
11503
|
-
|
|
11504
|
-
/**
|
|
11505
|
-
* Marks the end of the LContainer.
|
|
11506
|
-
*
|
|
11507
|
-
* Marking the end of LContainer is the time when to child views get inserted or removed.
|
|
11508
|
-
*
|
|
11509
|
-
* @codeGenApi
|
|
11510
|
-
*/
|
|
11511
|
-
export declare function ɵɵcontainerRefreshEnd(): void;
|
|
11512
|
-
|
|
11513
|
-
/**
|
|
11514
|
-
* Sets a container up to receive views.
|
|
11515
|
-
*
|
|
11516
|
-
* @param index The index of the container in the data array
|
|
11517
|
-
*
|
|
11518
|
-
* @codeGenApi
|
|
11519
|
-
*/
|
|
11520
|
-
export declare function ɵɵcontainerRefreshStart(index: number): void;
|
|
11521
|
-
|
|
11522
11480
|
/**
|
|
11523
11481
|
* Registers a QueryList, associated with a content query, for later refresh (part of a view
|
|
11524
11482
|
* refresh).
|
|
@@ -12171,23 +12129,6 @@ export declare function ɵɵelementEnd(): void;
|
|
|
12171
12129
|
*/
|
|
12172
12130
|
export declare function ɵɵelementStart(index: number, name: string, attrsIndex?: number | null, localRefsIndex?: number): void;
|
|
12173
12131
|
|
|
12174
|
-
/**
|
|
12175
|
-
* Marks the end of an embedded view.
|
|
12176
|
-
*
|
|
12177
|
-
* @codeGenApi
|
|
12178
|
-
*/
|
|
12179
|
-
export declare function ɵɵembeddedViewEnd(): void;
|
|
12180
|
-
|
|
12181
|
-
/**
|
|
12182
|
-
* Marks the start of an embedded view.
|
|
12183
|
-
*
|
|
12184
|
-
* @param viewBlockId The ID of this view
|
|
12185
|
-
* @return boolean Whether or not this view is in creation mode
|
|
12186
|
-
*
|
|
12187
|
-
* @codeGenApi
|
|
12188
|
-
*/
|
|
12189
|
-
export declare function ɵɵembeddedViewStart(viewBlockId: number, decls: number, vars: number): ɵRenderFlags;
|
|
12190
|
-
|
|
12191
12132
|
/**
|
|
12192
12133
|
* Enables directive matching on elements.
|
|
12193
12134
|
*
|