@angular/core 11.1.0-next.4 → 11.1.1
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 +2 -2
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +2 -2
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +475 -342
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +123 -124
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +227 -144
- package/core.metadata.json +1 -1
- package/esm2015/core.js +33 -33
- package/esm2015/src/compiler/compiler_facade_interface.js +1 -1
- package/esm2015/src/core_render3_private_export.js +2 -2
- package/esm2015/src/di/injector_compatibility.js +39 -16
- package/esm2015/src/di/interface/injector.js +3 -2
- package/esm2015/src/di/metadata.js +22 -6
- package/esm2015/src/linker/compiler.js +2 -2
- package/esm2015/src/linker/element_ref.js +10 -1
- package/esm2015/src/linker/query_list.js +39 -11
- package/esm2015/src/linker/view_container_ref.js +2 -2
- package/esm2015/src/metadata/di.js +7 -3
- package/esm2015/src/metadata/view.js +2 -2
- package/esm2015/src/render3/component.js +2 -2
- package/esm2015/src/render3/di.js +17 -32
- package/esm2015/src/render3/error_code.js +27 -2
- package/esm2015/src/render3/index.js +2 -2
- package/esm2015/src/render3/instructions/lview_debug.js +24 -4
- package/esm2015/src/render3/interfaces/query.js +1 -1
- package/esm2015/src/render3/interfaces/view.js +1 -1
- package/esm2015/src/render3/jit/directive.js +3 -2
- package/esm2015/src/render3/jit/environment.js +1 -3
- package/esm2015/src/render3/query.js +28 -54
- package/esm2015/src/render3/view_ref.js +23 -12
- package/esm2015/src/util/array_utils.js +25 -1
- package/esm2015/src/util/dom.js +25 -12
- package/esm2015/src/version.js +1 -1
- package/esm2015/src/view/query.js +5 -5
- package/esm2015/src/view/types.js +1 -1
- package/esm2015/src/view/view.js +3 -2
- package/esm2015/testing/src/fake_async.js +2 -2
- package/fesm2015/core.js +422 -293
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +2 -2
- package/fesm2015/testing.js.map +1 -1
- package/package.json +1 -1
- package/schematics/migrations/static-queries/index.js +3 -8
- package/src/r3_symbols.d.ts +1 -2
- 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 v11.1.
|
|
2
|
+
* @license Angular v11.1.1
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1327,6 +1327,9 @@ export declare interface ContentChildrenDecorator {
|
|
|
1327
1327
|
*
|
|
1328
1328
|
* * **selector** - The directive type or the name used for querying.
|
|
1329
1329
|
* * **descendants** - True to include all descendants, otherwise include only direct children.
|
|
1330
|
+
* * **emitDistinctChangesOnly** - The ` QueryList#changes` observable will emit new values only
|
|
1331
|
+
* if the QueryList result has changed. The default value will change from `false` to `true` in
|
|
1332
|
+
* v12. When `false` the `changes` observable might emit even if the QueryList has not changed.
|
|
1330
1333
|
* * **read** - Used to read a different token from the queried elements.
|
|
1331
1334
|
*
|
|
1332
1335
|
* @usageNotes
|
|
@@ -1346,10 +1349,12 @@ export declare interface ContentChildrenDecorator {
|
|
|
1346
1349
|
*/
|
|
1347
1350
|
(selector: Type<any> | InjectionToken<unknown> | Function | string, opts?: {
|
|
1348
1351
|
descendants?: boolean;
|
|
1352
|
+
emitDistinctChangesOnly?: boolean;
|
|
1349
1353
|
read?: any;
|
|
1350
1354
|
}): any;
|
|
1351
1355
|
new (selector: Type<any> | InjectionToken<unknown> | Function | string, opts?: {
|
|
1352
1356
|
descendants?: boolean;
|
|
1357
|
+
emitDistinctChangesOnly?: boolean;
|
|
1353
1358
|
read?: any;
|
|
1354
1359
|
}): Query;
|
|
1355
1360
|
}
|
|
@@ -1606,6 +1611,10 @@ declare interface DebugNode_2 {
|
|
|
1606
1611
|
* HTML representation of the node.
|
|
1607
1612
|
*/
|
|
1608
1613
|
html: string | null;
|
|
1614
|
+
/**
|
|
1615
|
+
* Associated `TNode`
|
|
1616
|
+
*/
|
|
1617
|
+
tNode: TNode;
|
|
1609
1618
|
/**
|
|
1610
1619
|
* Human readable node type.
|
|
1611
1620
|
*/
|
|
@@ -1630,6 +1639,10 @@ declare interface DebugNode_2 {
|
|
|
1630
1639
|
* NodeInjector information.
|
|
1631
1640
|
*/
|
|
1632
1641
|
injector: NodeInjectorDebug;
|
|
1642
|
+
/**
|
|
1643
|
+
* Injector resolution path.
|
|
1644
|
+
*/
|
|
1645
|
+
injectorResolutionPath: any;
|
|
1633
1646
|
}
|
|
1634
1647
|
|
|
1635
1648
|
declare class DebugNode__POST_R3__ implements DebugNode {
|
|
@@ -3282,7 +3295,6 @@ export declare interface InjectDecorator {
|
|
|
3282
3295
|
new (token: any): Inject;
|
|
3283
3296
|
}
|
|
3284
3297
|
|
|
3285
|
-
|
|
3286
3298
|
/**
|
|
3287
3299
|
* Injection flags for DI.
|
|
3288
3300
|
*
|
|
@@ -3850,7 +3862,7 @@ declare interface LContainer extends Array<any> {
|
|
|
3850
3862
|
* The host could be an LView if this container is on a component node.
|
|
3851
3863
|
* In that case, the component LView is its HOST.
|
|
3852
3864
|
*/
|
|
3853
|
-
readonly [HOST]: RElement | RComment | ɵ
|
|
3865
|
+
readonly [HOST]: RElement | RComment | ɵangular_packages_core_core_ca;
|
|
3854
3866
|
/**
|
|
3855
3867
|
* This is a type field which allows us to differentiate `LContainer` from `StylingContext` in an
|
|
3856
3868
|
* efficient way. The value is always set to `true`
|
|
@@ -3867,12 +3879,12 @@ declare interface LContainer extends Array<any> {
|
|
|
3867
3879
|
* Access to the parent view is necessary so we can propagate back
|
|
3868
3880
|
* up from inside a container to parent[NEXT].
|
|
3869
3881
|
*/
|
|
3870
|
-
[PARENT]: ɵ
|
|
3882
|
+
[PARENT]: ɵangular_packages_core_core_ca;
|
|
3871
3883
|
/**
|
|
3872
3884
|
* This allows us to jump from a container to a sibling container or component
|
|
3873
3885
|
* view with the same parent, so we can remove listeners efficiently.
|
|
3874
3886
|
*/
|
|
3875
|
-
[NEXT]: ɵ
|
|
3887
|
+
[NEXT]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
3876
3888
|
/**
|
|
3877
3889
|
* The number of direct transplanted views which need a refresh or have descendants themselves
|
|
3878
3890
|
* that need a refresh but have not marked their ancestors as Dirty. This tells us that during
|
|
@@ -3885,7 +3897,7 @@ declare interface LContainer extends Array<any> {
|
|
|
3885
3897
|
* a different `LContainer`. We need to track views created from a given declaration point since
|
|
3886
3898
|
* queries collect matches from the embedded view declaration point and _not_ the insertion point.
|
|
3887
3899
|
*/
|
|
3888
|
-
[MOVED_VIEWS]: ɵ
|
|
3900
|
+
[MOVED_VIEWS]: ɵangular_packages_core_core_ca[] | null;
|
|
3889
3901
|
/**
|
|
3890
3902
|
* Pointer to the `TNode` which represents the host of the container.
|
|
3891
3903
|
*/
|
|
@@ -3919,8 +3931,8 @@ declare interface LContainerDebug {
|
|
|
3919
3931
|
*/
|
|
3920
3932
|
readonly views: LViewDebug[];
|
|
3921
3933
|
readonly parent: LViewDebug | null;
|
|
3922
|
-
readonly movedViews: ɵ
|
|
3923
|
-
readonly host: RElement | RComment | ɵ
|
|
3934
|
+
readonly movedViews: ɵangular_packages_core_core_ca[] | null;
|
|
3935
|
+
readonly host: RElement | RComment | ɵangular_packages_core_core_ca;
|
|
3924
3936
|
readonly next: LViewDebug | LContainerDebug | null;
|
|
3925
3937
|
readonly hasTransplantedViews: boolean;
|
|
3926
3938
|
}
|
|
@@ -3955,7 +3967,7 @@ export declare const LOCALE_ID: InjectionToken<string>;
|
|
|
3955
3967
|
* - `<div #nativeDivEl>` - `nativeDivEl` should point to the native `<div>` element;
|
|
3956
3968
|
* - `<ng-template #tplRef>` - `tplRef` should point to the `TemplateRef` instance;
|
|
3957
3969
|
*/
|
|
3958
|
-
declare type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: ɵ
|
|
3970
|
+
declare type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: ɵangular_packages_core_core_ca) => any;
|
|
3959
3971
|
|
|
3960
3972
|
/**
|
|
3961
3973
|
* lQueries represent a collection of individual LQuery objects tracked in a given view.
|
|
@@ -4228,7 +4240,7 @@ export declare enum MissingTranslationStrategy {
|
|
|
4228
4240
|
}
|
|
4229
4241
|
|
|
4230
4242
|
/**
|
|
4231
|
-
* Combination of NgModuleFactory and
|
|
4243
|
+
* Combination of NgModuleFactory and ComponentFactories.
|
|
4232
4244
|
*
|
|
4233
4245
|
* @publicApi
|
|
4234
4246
|
*/
|
|
@@ -5418,6 +5430,7 @@ declare const QUERIES = 19;
|
|
|
5418
5430
|
*/
|
|
5419
5431
|
export declare interface Query {
|
|
5420
5432
|
descendants: boolean;
|
|
5433
|
+
emitDistinctChangesOnly: boolean;
|
|
5421
5434
|
first: boolean;
|
|
5422
5435
|
read: any;
|
|
5423
5436
|
isViewQuery: boolean;
|
|
@@ -5449,6 +5462,34 @@ declare interface QueryDef {
|
|
|
5449
5462
|
bindings: QueryBindingDef[];
|
|
5450
5463
|
}
|
|
5451
5464
|
|
|
5465
|
+
/**
|
|
5466
|
+
* A set of flags to be used with Queries.
|
|
5467
|
+
*
|
|
5468
|
+
* NOTE: Ensure changes here are reflected in `packages/compiler/src/render3/view/compiler.ts`
|
|
5469
|
+
*/
|
|
5470
|
+
declare const enum QueryFlags {
|
|
5471
|
+
/**
|
|
5472
|
+
* No flags
|
|
5473
|
+
*/
|
|
5474
|
+
none = 0,
|
|
5475
|
+
/**
|
|
5476
|
+
* Whether or not the query should descend into children.
|
|
5477
|
+
*/
|
|
5478
|
+
descendants = 1,
|
|
5479
|
+
/**
|
|
5480
|
+
* The query can be computed statically and hence can be assigned eagerly.
|
|
5481
|
+
*
|
|
5482
|
+
* NOTE: Backwards compatibility with ViewEngine.
|
|
5483
|
+
*/
|
|
5484
|
+
isStatic = 2,
|
|
5485
|
+
/**
|
|
5486
|
+
* If the `QueryList` should fire change event only if actual change to query was computed (vs old
|
|
5487
|
+
* behavior where the change was fired whenever the query was recomputed, even if the recomputed
|
|
5488
|
+
* query resulted in the same list.)
|
|
5489
|
+
*/
|
|
5490
|
+
emitDistinctChangesOnly = 4
|
|
5491
|
+
}
|
|
5492
|
+
|
|
5452
5493
|
/**
|
|
5453
5494
|
* An unmodifiable list of items that Angular keeps up to date when the state
|
|
5454
5495
|
* of the application changes.
|
|
@@ -5476,13 +5517,25 @@ declare interface QueryDef {
|
|
|
5476
5517
|
* @publicApi
|
|
5477
5518
|
*/
|
|
5478
5519
|
export declare class QueryList<T> implements Iterable<T> {
|
|
5520
|
+
private _emitDistinctChangesOnly;
|
|
5479
5521
|
readonly dirty = true;
|
|
5480
5522
|
private _results;
|
|
5481
|
-
|
|
5523
|
+
private _changesDetected;
|
|
5524
|
+
private _changes;
|
|
5482
5525
|
readonly length: number;
|
|
5483
5526
|
readonly first: T;
|
|
5484
5527
|
readonly last: T;
|
|
5485
|
-
|
|
5528
|
+
/**
|
|
5529
|
+
* Returns `Observable` of `QueryList` notifying the subscriber of changes.
|
|
5530
|
+
*/
|
|
5531
|
+
get changes(): Observable<any>;
|
|
5532
|
+
/**
|
|
5533
|
+
* @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change
|
|
5534
|
+
* has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in
|
|
5535
|
+
* the same result) This is set to `false` for backwards compatibility but will be changed to
|
|
5536
|
+
* true in v12.
|
|
5537
|
+
*/
|
|
5538
|
+
constructor(_emitDistinctChangesOnly?: boolean);
|
|
5486
5539
|
/**
|
|
5487
5540
|
* Returns the QueryList entry at `index`.
|
|
5488
5541
|
*/
|
|
@@ -5528,8 +5581,13 @@ export declare class QueryList<T> implements Iterable<T> {
|
|
|
5528
5581
|
* occurs.
|
|
5529
5582
|
*
|
|
5530
5583
|
* @param resultsTree The query results to store
|
|
5584
|
+
* @param identityAccessor Optional function for extracting stable object identity from a value
|
|
5585
|
+
* in the array. This function is executed for each element of the query result list while
|
|
5586
|
+
* comparing current query list with the new one (provided as a first argument of the `reset`
|
|
5587
|
+
* function) to detect if the lists are different. If the function is not provided, elements
|
|
5588
|
+
* are compared as is (without any pre-processing).
|
|
5531
5589
|
*/
|
|
5532
|
-
reset(resultsTree: Array<T | any[]
|
|
5590
|
+
reset(resultsTree: Array<T | any[]>, identityAccessor?: (value: T) => unknown): void;
|
|
5533
5591
|
/**
|
|
5534
5592
|
* Triggers a change event by emitting on the `changes` {@link EventEmitter}.
|
|
5535
5593
|
*/
|
|
@@ -5542,10 +5600,8 @@ export declare class QueryList<T> implements Iterable<T> {
|
|
|
5542
5600
|
}
|
|
5543
5601
|
|
|
5544
5602
|
declare interface R3DeclareComponentFacade extends R3DeclareDirectiveFacade {
|
|
5545
|
-
template:
|
|
5546
|
-
|
|
5547
|
-
isInline: boolean;
|
|
5548
|
-
};
|
|
5603
|
+
template: string;
|
|
5604
|
+
isInline?: boolean;
|
|
5549
5605
|
styles?: string[];
|
|
5550
5606
|
directives?: {
|
|
5551
5607
|
selector: string;
|
|
@@ -5602,6 +5658,7 @@ declare interface R3DeclareQueryMetadataFacade {
|
|
|
5602
5658
|
descendants?: boolean;
|
|
5603
5659
|
read?: OpaqueValue;
|
|
5604
5660
|
static?: boolean;
|
|
5661
|
+
emitDistinctChangesOnly?: boolean;
|
|
5605
5662
|
}
|
|
5606
5663
|
|
|
5607
5664
|
declare class R3Injector {
|
|
@@ -6257,7 +6314,7 @@ export declare class ResolvedReflectiveFactory {
|
|
|
6257
6314
|
/**
|
|
6258
6315
|
* Arguments (dependencies) to the `factory` function.
|
|
6259
6316
|
*/
|
|
6260
|
-
dependencies: ɵ
|
|
6317
|
+
dependencies: ɵangular_packages_core_core_e[];
|
|
6261
6318
|
constructor(
|
|
6262
6319
|
/**
|
|
6263
6320
|
* Factory function which can return an instance of an object represented by a key.
|
|
@@ -6266,7 +6323,7 @@ export declare class ResolvedReflectiveFactory {
|
|
|
6266
6323
|
/**
|
|
6267
6324
|
* Arguments (dependencies) to the `factory` function.
|
|
6268
6325
|
*/
|
|
6269
|
-
dependencies: ɵ
|
|
6326
|
+
dependencies: ɵangular_packages_core_core_e[]);
|
|
6270
6327
|
}
|
|
6271
6328
|
|
|
6272
6329
|
/**
|
|
@@ -6747,7 +6804,7 @@ declare interface TContainerNode extends TNode {
|
|
|
6747
6804
|
* - They are the first node of a component or embedded view
|
|
6748
6805
|
* - They are dynamically created
|
|
6749
6806
|
*/
|
|
6750
|
-
parent: ɵ
|
|
6807
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
6751
6808
|
tViews: TView | TView[] | null;
|
|
6752
6809
|
projection: null;
|
|
6753
6810
|
value: null;
|
|
@@ -6786,8 +6843,8 @@ declare type TData = (TNode | ɵPipeDef<any> | ɵDirectiveDef<any> | ɵComponent
|
|
|
6786
6843
|
declare interface TElementContainerNode extends TNode {
|
|
6787
6844
|
/** Index in the LView[] array. */
|
|
6788
6845
|
index: number;
|
|
6789
|
-
child: ɵ
|
|
6790
|
-
parent: ɵ
|
|
6846
|
+
child: ɵangular_packages_core_core_bk | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null;
|
|
6847
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
6791
6848
|
tViews: null;
|
|
6792
6849
|
projection: null;
|
|
6793
6850
|
}
|
|
@@ -7254,7 +7311,7 @@ declare interface TNode {
|
|
|
7254
7311
|
*
|
|
7255
7312
|
* If this is an inline view node (V), the parent will be its container.
|
|
7256
7313
|
*/
|
|
7257
|
-
parent: ɵ
|
|
7314
|
+
parent: ɵangular_packages_core_core_bk | TContainerNode | null;
|
|
7258
7315
|
/**
|
|
7259
7316
|
* List of projected TNodes for a given component host element OR index into the said nodes.
|
|
7260
7317
|
*
|
|
@@ -7510,7 +7567,7 @@ declare const enum TNodeType {
|
|
|
7510
7567
|
/**
|
|
7511
7568
|
* Type representing a set of TNodes that can have local refs (`#foo`) placed on them.
|
|
7512
7569
|
*/
|
|
7513
|
-
declare type TNodeWithLocalRefs = TContainerNode | ɵ
|
|
7570
|
+
declare type TNodeWithLocalRefs = TContainerNode | ɵangular_packages_core_core_bk | TElementContainerNode;
|
|
7514
7571
|
|
|
7515
7572
|
/** Static data for an LProjectionNode */
|
|
7516
7573
|
declare interface TProjectionNode extends TNode {
|
|
@@ -7521,7 +7578,7 @@ declare interface TProjectionNode extends TNode {
|
|
|
7521
7578
|
* or embedded view (which means their parent is in a different view and must be
|
|
7522
7579
|
* retrieved using LView.node).
|
|
7523
7580
|
*/
|
|
7524
|
-
parent: ɵ
|
|
7581
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
7525
7582
|
tViews: null;
|
|
7526
7583
|
/** Index of the projection node. (See TNode.projection for more info.) */
|
|
7527
7584
|
projection: number;
|
|
@@ -7650,9 +7707,8 @@ declare interface TQuery {
|
|
|
7650
7707
|
*/
|
|
7651
7708
|
declare interface TQueryMetadata {
|
|
7652
7709
|
predicate: Type<any> | InjectionToken<unknown> | string[];
|
|
7653
|
-
descendants: boolean;
|
|
7654
7710
|
read: any;
|
|
7655
|
-
|
|
7711
|
+
flags: QueryFlags;
|
|
7656
7712
|
}
|
|
7657
7713
|
|
|
7658
7714
|
/**
|
|
@@ -7873,7 +7929,7 @@ declare interface TTextNode extends TNode {
|
|
|
7873
7929
|
* embedded view (which means their parent is in a different view and must be
|
|
7874
7930
|
* retrieved using LView.node).
|
|
7875
7931
|
*/
|
|
7876
|
-
parent: ɵ
|
|
7932
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
7877
7933
|
tViews: null;
|
|
7878
7934
|
projection: null;
|
|
7879
7935
|
}
|
|
@@ -7895,7 +7951,7 @@ declare interface TView {
|
|
|
7895
7951
|
* This is a blueprint used to generate LView instances for this TView. Copying this
|
|
7896
7952
|
* blueprint is faster than creating a new LView from scratch.
|
|
7897
7953
|
*/
|
|
7898
|
-
blueprint: ɵ
|
|
7954
|
+
blueprint: ɵangular_packages_core_core_ca;
|
|
7899
7955
|
/**
|
|
7900
7956
|
* The template function used to refresh the view of dynamically created views
|
|
7901
7957
|
* and components. Will be null for inline views.
|
|
@@ -8361,6 +8417,9 @@ export declare interface ViewChildrenDecorator {
|
|
|
8361
8417
|
*
|
|
8362
8418
|
* * **selector** - The directive type or the name used for querying.
|
|
8363
8419
|
* * **read** - Used to read a different token from the queried elements.
|
|
8420
|
+
* * **emitDistinctChangesOnly** - The ` QueryList#changes` observable will emit new values only
|
|
8421
|
+
* if the QueryList result has changed. The default value will change from `false` to `true` in
|
|
8422
|
+
* v12. When `false` the `changes` observable might emit even if the QueryList has not changed.
|
|
8364
8423
|
*
|
|
8365
8424
|
* @usageNotes
|
|
8366
8425
|
*
|
|
@@ -8374,9 +8433,11 @@ export declare interface ViewChildrenDecorator {
|
|
|
8374
8433
|
*/
|
|
8375
8434
|
(selector: Type<any> | InjectionToken<unknown> | Function | string, opts?: {
|
|
8376
8435
|
read?: any;
|
|
8436
|
+
emitDistinctChangesOnly?: boolean;
|
|
8377
8437
|
}): any;
|
|
8378
8438
|
new (selector: Type<any> | InjectionToken<unknown> | Function | string, opts?: {
|
|
8379
8439
|
read?: any;
|
|
8440
|
+
emitDistinctChangesOnly?: boolean;
|
|
8380
8441
|
}): ViewChildren;
|
|
8381
8442
|
}
|
|
8382
8443
|
|
|
@@ -8549,7 +8610,7 @@ export declare enum ViewEncapsulation {
|
|
|
8549
8610
|
* Use Shadow DOM to encapsulate styles.
|
|
8550
8611
|
*
|
|
8551
8612
|
* For the DOM this means using modern [Shadow
|
|
8552
|
-
* DOM](https://
|
|
8613
|
+
* DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM) and
|
|
8553
8614
|
* creating a ShadowRoot for Component's Host Element.
|
|
8554
8615
|
*/
|
|
8555
8616
|
ShadowDom = 3
|
|
@@ -8608,7 +8669,7 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8608
8669
|
*/
|
|
8609
8670
|
private _cdRefInjectingView?;
|
|
8610
8671
|
private _appRef;
|
|
8611
|
-
private
|
|
8672
|
+
private _attachedToViewContainer;
|
|
8612
8673
|
get rootNodes(): any[];
|
|
8613
8674
|
constructor(
|
|
8614
8675
|
/**
|
|
@@ -8622,14 +8683,14 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8622
8683
|
*
|
|
8623
8684
|
* @internal
|
|
8624
8685
|
*/
|
|
8625
|
-
_lView: ɵ
|
|
8686
|
+
_lView: ɵangular_packages_core_core_ca,
|
|
8626
8687
|
/**
|
|
8627
8688
|
* This represents the `LView` associated with the point where `ChangeDetectorRef` was
|
|
8628
8689
|
* requested.
|
|
8629
8690
|
*
|
|
8630
8691
|
* This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
|
|
8631
8692
|
*/
|
|
8632
|
-
_cdRefInjectingView?: ɵ
|
|
8693
|
+
_cdRefInjectingView?: ɵangular_packages_core_core_ca | undefined);
|
|
8633
8694
|
get context(): T;
|
|
8634
8695
|
get destroyed(): boolean;
|
|
8635
8696
|
destroy(): void;
|
|
@@ -8809,7 +8870,7 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8809
8870
|
* introduce other changes.
|
|
8810
8871
|
*/
|
|
8811
8872
|
checkNoChanges(): void;
|
|
8812
|
-
attachToViewContainerRef(
|
|
8873
|
+
attachToViewContainerRef(): void;
|
|
8813
8874
|
detachFromAppRef(): void;
|
|
8814
8875
|
attachToAppRef(appRef: ViewRefTracker): void;
|
|
8815
8876
|
}
|
|
@@ -8918,15 +8979,26 @@ export declare function ɵangular_packages_core_core_b<T>(token: Type<T> | Abstr
|
|
|
8918
8979
|
|
|
8919
8980
|
export declare function ɵangular_packages_core_core_b<T>(token: Type<T> | AbstractType<T> | InjectionToken<T>, flags?: InjectFlags): T | null;
|
|
8920
8981
|
|
|
8982
|
+
/**
|
|
8983
|
+
* Schedule work at next available slot.
|
|
8984
|
+
*
|
|
8985
|
+
* In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped
|
|
8986
|
+
* using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.
|
|
8987
|
+
* This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.
|
|
8988
|
+
*
|
|
8989
|
+
* @param ngZone NgZone to use for scheduling.
|
|
8990
|
+
*/
|
|
8991
|
+
export declare function ɵangular_packages_core_core_ba(ngZone: NgZone): (fn: () => void) => void;
|
|
8992
|
+
|
|
8921
8993
|
/**
|
|
8922
8994
|
* USD currency code that the application uses by default for CurrencyPipe when no
|
|
8923
8995
|
* DEFAULT_CURRENCY_CODE is provided.
|
|
8924
8996
|
*/
|
|
8925
|
-
export declare const ɵ
|
|
8997
|
+
export declare const ɵangular_packages_core_core_bb = "USD";
|
|
8926
8998
|
|
|
8927
|
-
export declare function ɵ
|
|
8999
|
+
export declare function ɵangular_packages_core_core_bc(checkIndex: number, flags: ɵNodeFlags, matchedQueriesDsl: [string | number, ɵQueryValueType][] | null, childCount: number, token: any, value: any, deps: ([ɵDepFlags, any] | any)[], bindings?: BindingDef[], outputs?: OutputDef[]): NodeDef;
|
|
8928
9000
|
|
|
8929
|
-
export declare abstract class ɵ
|
|
9001
|
+
export declare abstract class ɵangular_packages_core_core_bd {
|
|
8930
9002
|
abstract get view(): ViewData;
|
|
8931
9003
|
abstract get nodeIndex(): number | null;
|
|
8932
9004
|
abstract get injector(): Injector;
|
|
@@ -8941,13 +9013,13 @@ export declare abstract class ɵangular_packages_core_core_bc {
|
|
|
8941
9013
|
abstract logError(console: Console, ...values: any[]): void;
|
|
8942
9014
|
}
|
|
8943
9015
|
|
|
8944
|
-
export declare function ɵ
|
|
9016
|
+
export declare function ɵangular_packages_core_core_be<T>(definition: ɵDirectiveDef<T>): typeof rememberChangeHistoryAndInvokeOnChangesHook;
|
|
8945
9017
|
|
|
8946
9018
|
/**
|
|
8947
9019
|
* A change detection scheduler token for {@link RootContext}. This token is the default value used
|
|
8948
9020
|
* for the default `RootContext` found in the {@link ROOT_CONTEXT} token.
|
|
8949
9021
|
*/
|
|
8950
|
-
export declare const ɵ
|
|
9022
|
+
export declare const ɵangular_packages_core_core_bf: InjectionToken<(fn: () => void) => void>;
|
|
8951
9023
|
|
|
8952
9024
|
/**
|
|
8953
9025
|
* Inject static attribute value into directive constructor.
|
|
@@ -8980,28 +9052,28 @@ export declare const ɵangular_packages_core_core_be: InjectionToken<(fn: () =>
|
|
|
8980
9052
|
*
|
|
8981
9053
|
* @publicApi
|
|
8982
9054
|
*/
|
|
8983
|
-
export declare function ɵ
|
|
9055
|
+
export declare function ɵangular_packages_core_core_bg(tNode: TNode, attrNameToInject: string): string | null;
|
|
8984
9056
|
|
|
8985
9057
|
/**
|
|
8986
9058
|
* Return the current `LView`.
|
|
8987
9059
|
*/
|
|
8988
|
-
export declare function ɵ
|
|
9060
|
+
export declare function ɵangular_packages_core_core_bh(): ɵangular_packages_core_core_ca;
|
|
8989
9061
|
|
|
8990
|
-
export declare function ɵ
|
|
9062
|
+
export declare function ɵangular_packages_core_core_bi(): number;
|
|
8991
9063
|
|
|
8992
|
-
export declare function ɵ
|
|
9064
|
+
export declare function ɵangular_packages_core_core_bj<T = any>(level: number): T;
|
|
8993
9065
|
|
|
8994
9066
|
/** Static data for an element */
|
|
8995
|
-
export declare interface ɵ
|
|
9067
|
+
export declare interface ɵangular_packages_core_core_bk extends TNode {
|
|
8996
9068
|
/** Index in the data[] array */
|
|
8997
9069
|
index: number;
|
|
8998
|
-
child: ɵ
|
|
9070
|
+
child: ɵangular_packages_core_core_bk | TTextNode | TElementContainerNode | TContainerNode | TProjectionNode | null;
|
|
8999
9071
|
/**
|
|
9000
9072
|
* Element nodes will have parents unless they are the first node of a component or
|
|
9001
9073
|
* embedded view (which means their parent is in a different view and must be
|
|
9002
9074
|
* retrieved using viewData[HOST_NODE]).
|
|
9003
9075
|
*/
|
|
9004
|
-
parent: ɵ
|
|
9076
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
9005
9077
|
tViews: null;
|
|
9006
9078
|
/**
|
|
9007
9079
|
* If this is a component TNode with projection, this will be an array of projected
|
|
@@ -9027,7 +9099,7 @@ export declare interface ɵangular_packages_core_core_bj extends TNode {
|
|
|
9027
9099
|
* @param thisArg Optional calling context of pureFn
|
|
9028
9100
|
* @returns Updated or cached value
|
|
9029
9101
|
*/
|
|
9030
|
-
export declare function ɵ
|
|
9102
|
+
export declare function ɵangular_packages_core_core_bl(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v: any) => any, exp: any, thisArg?: any): any;
|
|
9031
9103
|
|
|
9032
9104
|
/**
|
|
9033
9105
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
@@ -9042,7 +9114,7 @@ export declare function ɵangular_packages_core_core_bk(lView: ɵangular_package
|
|
|
9042
9114
|
* @param thisArg Optional calling context of pureFn
|
|
9043
9115
|
* @returns Updated or cached value
|
|
9044
9116
|
*/
|
|
9045
|
-
export declare function ɵ
|
|
9117
|
+
export declare function ɵangular_packages_core_core_bm(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any, thisArg?: any): any;
|
|
9046
9118
|
|
|
9047
9119
|
/**
|
|
9048
9120
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
@@ -9058,7 +9130,7 @@ export declare function ɵangular_packages_core_core_bl(lView: ɵangular_package
|
|
|
9058
9130
|
* @param thisArg Optional calling context of pureFn
|
|
9059
9131
|
* @returns Updated or cached value
|
|
9060
9132
|
*/
|
|
9061
|
-
export declare function ɵ
|
|
9133
|
+
export declare function ɵangular_packages_core_core_bn(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, exp3: any, thisArg?: any): any;
|
|
9062
9134
|
|
|
9063
9135
|
/**
|
|
9064
9136
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
@@ -9076,7 +9148,7 @@ export declare function ɵangular_packages_core_core_bm(lView: ɵangular_package
|
|
|
9076
9148
|
* @returns Updated or cached value
|
|
9077
9149
|
*
|
|
9078
9150
|
*/
|
|
9079
|
-
export declare function ɵ
|
|
9151
|
+
export declare function ɵangular_packages_core_core_bo(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, thisArg?: any): any;
|
|
9080
9152
|
|
|
9081
9153
|
/**
|
|
9082
9154
|
* pureFunction instruction that can support any number of bindings.
|
|
@@ -9093,7 +9165,7 @@ export declare function ɵangular_packages_core_core_bn(lView: ɵangular_package
|
|
|
9093
9165
|
* @param thisArg Optional calling context of pureFn
|
|
9094
9166
|
* @returns Updated or cached value
|
|
9095
9167
|
*/
|
|
9096
|
-
export declare function ɵ
|
|
9168
|
+
export declare function ɵangular_packages_core_core_bp(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (...v: any[]) => any, exps: any[], thisArg?: any): any;
|
|
9097
9169
|
|
|
9098
9170
|
/**
|
|
9099
9171
|
* Detects which sanitizer to use for URL property, based on tag name and prop name.
|
|
@@ -9102,20 +9174,54 @@ export declare function ɵangular_packages_core_core_bo(lView: ɵangular_package
|
|
|
9102
9174
|
* `packages/compiler/src/schema/dom_security_schema.ts`.
|
|
9103
9175
|
* If tag and prop names don't match Resource URL schema, use URL sanitizer.
|
|
9104
9176
|
*/
|
|
9105
|
-
export declare function ɵ
|
|
9177
|
+
export declare function ɵangular_packages_core_core_bq(tag: string, prop: string): typeof ɵɵsanitizeResourceUrl;
|
|
9106
9178
|
|
|
9107
|
-
export declare function ɵ
|
|
9179
|
+
export declare function ɵangular_packages_core_core_br(name: string, props?: (...args: any[]) => any, parentClass?: any, additionalProcessing?: (target: any, name: string, ...args: any[]) => void): any;
|
|
9108
9180
|
|
|
9109
|
-
export declare function ɵ
|
|
9181
|
+
export declare function ɵangular_packages_core_core_bs(name: string, props?: (...args: any[]) => any, parentClass?: any): any;
|
|
9110
9182
|
|
|
9111
9183
|
|
|
9112
|
-
|
|
9184
|
+
/**
|
|
9185
|
+
* Special flag indicating that a decorator is of type `Inject`. It's used to make `Inject`
|
|
9186
|
+
* decorator tree-shakable (so we don't have to rely on the `instanceof` checks).
|
|
9187
|
+
* Note: this flag is not included into the `InjectFlags` since it's an internal-only API.
|
|
9188
|
+
*/
|
|
9189
|
+
export declare const enum ɵangular_packages_core_core_bt {
|
|
9190
|
+
Inject = -1
|
|
9191
|
+
}
|
|
9113
9192
|
|
|
9114
|
-
|
|
9193
|
+
/**
|
|
9194
|
+
* This enum is an exact copy of the `InjectFlags` enum above, but the difference is that this is a
|
|
9195
|
+
* const enum, so actual enum values would be inlined in generated code. The `InjectFlags` enum can
|
|
9196
|
+
* be turned into a const enum when ViewEngine is removed (see TODO at the `InjectFlags` enum
|
|
9197
|
+
* above). The benefit of inlining is that we can use these flags at the top level without affecting
|
|
9198
|
+
* tree-shaking (see "no-toplevel-property-access" tslint rule for more info).
|
|
9199
|
+
* Keep this enum in sync with `InjectFlags` enum above.
|
|
9200
|
+
*/
|
|
9201
|
+
export declare const enum ɵangular_packages_core_core_bu {
|
|
9202
|
+
/** Check self and check parent injector if needed */
|
|
9203
|
+
Default = 0,
|
|
9204
|
+
/**
|
|
9205
|
+
* Specifies that an injector should retrieve a dependency from any injector until reaching the
|
|
9206
|
+
* host element of the current component. (Only used with Element Injector)
|
|
9207
|
+
*/
|
|
9208
|
+
Host = 1,
|
|
9209
|
+
/** Don't ascend to ancestors of the node requesting injection. */
|
|
9210
|
+
Self = 2,
|
|
9211
|
+
/** Skip the node that is requesting injection. */
|
|
9212
|
+
SkipSelf = 4,
|
|
9213
|
+
/** Inject `defaultValue` instead if token not found. */
|
|
9214
|
+
Optional = 8
|
|
9215
|
+
}
|
|
9216
|
+
|
|
9217
|
+
|
|
9218
|
+
export declare function ɵangular_packages_core_core_bv<T>(objWithPropertyToExtract: T): string;
|
|
9219
|
+
|
|
9220
|
+
export declare class ɵangular_packages_core_core_bw implements Injector {
|
|
9115
9221
|
get(token: any, notFoundValue?: any): any;
|
|
9116
9222
|
}
|
|
9117
9223
|
|
|
9118
|
-
export declare function ɵ
|
|
9224
|
+
export declare function ɵangular_packages_core_core_bx(): (<T>(token: Type<T> | AbstractType<T> | InjectionToken<T>, flags?: InjectFlags | undefined) => T | null) | undefined;
|
|
9119
9225
|
|
|
9120
9226
|
|
|
9121
9227
|
/**
|
|
@@ -9128,7 +9234,7 @@ export declare function ɵangular_packages_core_core_bu(): (<T>(token: Type<T> |
|
|
|
9128
9234
|
* NOTE: the numbers here must be negative, because positive numbers are used as IDs for bloom
|
|
9129
9235
|
* filter.
|
|
9130
9236
|
*/
|
|
9131
|
-
export declare const enum ɵ
|
|
9237
|
+
export declare const enum ɵangular_packages_core_core_by {
|
|
9132
9238
|
/**
|
|
9133
9239
|
* Marks that the current type is `Injector`
|
|
9134
9240
|
*/
|
|
@@ -9143,7 +9249,19 @@ export declare const enum ɵangular_packages_core_core_bv {
|
|
|
9143
9249
|
* @param tNode
|
|
9144
9250
|
* @param lView
|
|
9145
9251
|
*/
|
|
9146
|
-
export declare function ɵ
|
|
9252
|
+
export declare function ɵangular_packages_core_core_bz(tNode: TNode, lView: ɵangular_packages_core_core_ca): RNode;
|
|
9253
|
+
|
|
9254
|
+
/**
|
|
9255
|
+
* Attaches a given InjectFlag to a given decorator using monkey-patching.
|
|
9256
|
+
* Since DI decorators can be used in providers `deps` array (when provider is configured using
|
|
9257
|
+
* `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we
|
|
9258
|
+
* attach the flag to make it available both as a static property and as a field on decorator
|
|
9259
|
+
* instance.
|
|
9260
|
+
*
|
|
9261
|
+
* @param decorator Provided DI decorator.
|
|
9262
|
+
* @param flag InjectFlag that should be applied.
|
|
9263
|
+
*/
|
|
9264
|
+
export declare function ɵangular_packages_core_core_c(decorator: any, flag: ɵangular_packages_core_core_bu | ɵangular_packages_core_core_bt): any;
|
|
9147
9265
|
|
|
9148
9266
|
/**
|
|
9149
9267
|
* `LView` stores all of the information needed to process the instructions as
|
|
@@ -9155,7 +9273,7 @@ export declare function ɵangular_packages_core_core_bw(tNode: TNode, lView: ɵa
|
|
|
9155
9273
|
* Keeping separate state for each view facilities view insertion / deletion, so we
|
|
9156
9274
|
* don't have to edit the data array based on which views are present.
|
|
9157
9275
|
*/
|
|
9158
|
-
export declare interface ɵ
|
|
9276
|
+
export declare interface ɵangular_packages_core_core_ca extends Array<any> {
|
|
9159
9277
|
/**
|
|
9160
9278
|
* Human readable representation of the `LView`.
|
|
9161
9279
|
*
|
|
@@ -9185,7 +9303,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9185
9303
|
*
|
|
9186
9304
|
* `LContainer` - The current view is part of a container, and is an embedded view.
|
|
9187
9305
|
*/
|
|
9188
|
-
[PARENT]: ɵ
|
|
9306
|
+
[PARENT]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9189
9307
|
/**
|
|
9190
9308
|
*
|
|
9191
9309
|
* The next sibling LView or LContainer.
|
|
@@ -9195,7 +9313,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9195
9313
|
* views in the same container. We need a way to link component views and views
|
|
9196
9314
|
* across containers as well.
|
|
9197
9315
|
*/
|
|
9198
|
-
[NEXT]: ɵ
|
|
9316
|
+
[NEXT]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9199
9317
|
/** Queries active for this view - nodes from a view are reported to those queries. */
|
|
9200
9318
|
[QUERIES]: LQueries | null;
|
|
9201
9319
|
/**
|
|
@@ -9264,14 +9382,14 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9264
9382
|
* Necessary to store this so views can traverse through their nested views
|
|
9265
9383
|
* to remove listeners and call onDestroy callbacks.
|
|
9266
9384
|
*/
|
|
9267
|
-
[CHILD_HEAD]: ɵ
|
|
9385
|
+
[CHILD_HEAD]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9268
9386
|
/**
|
|
9269
9387
|
* The last LView or LContainer beneath this LView in the hierarchy.
|
|
9270
9388
|
*
|
|
9271
9389
|
* The tail allows us to quickly add a new state to the end of the view list
|
|
9272
9390
|
* without having to propagate starting from the first child.
|
|
9273
9391
|
*/
|
|
9274
|
-
[CHILD_TAIL]: ɵ
|
|
9392
|
+
[CHILD_TAIL]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9275
9393
|
/**
|
|
9276
9394
|
* View where this view's template was declared.
|
|
9277
9395
|
*
|
|
@@ -9294,7 +9412,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9294
9412
|
* template function during change detection, we need the declaration view to get inherited
|
|
9295
9413
|
* context.
|
|
9296
9414
|
*/
|
|
9297
|
-
[DECLARATION_VIEW]: ɵ
|
|
9415
|
+
[DECLARATION_VIEW]: ɵangular_packages_core_core_ca | null;
|
|
9298
9416
|
/**
|
|
9299
9417
|
* Points to the declaration component view, used to track transplanted `LView`s.
|
|
9300
9418
|
*
|
|
@@ -9364,7 +9482,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9364
9482
|
* - `LView[DECLARATION_LCONTAINER]` similar problem for queries
|
|
9365
9483
|
* - `LContainer[MOVED_VIEWS]` similar problem for queries
|
|
9366
9484
|
*/
|
|
9367
|
-
[DECLARATION_COMPONENT_VIEW]: ɵ
|
|
9485
|
+
[DECLARATION_COMPONENT_VIEW]: ɵangular_packages_core_core_ca;
|
|
9368
9486
|
/**
|
|
9369
9487
|
* A declaration point of embedded views (ones instantiated based on the content of a
|
|
9370
9488
|
* <ng-template>), null for other types of views.
|
|
@@ -9394,7 +9512,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9394
9512
|
*
|
|
9395
9513
|
* @param viewOrComponent the `LView` or component to get the root context for.
|
|
9396
9514
|
*/
|
|
9397
|
-
export declare function ɵ
|
|
9515
|
+
export declare function ɵangular_packages_core_core_cb(viewOrComponent: ɵangular_packages_core_core_ca | {}): RootContext;
|
|
9398
9516
|
|
|
9399
9517
|
|
|
9400
9518
|
/**
|
|
@@ -9417,11 +9535,11 @@ export declare function ɵangular_packages_core_core_by(viewOrComponent: ɵangul
|
|
|
9417
9535
|
*
|
|
9418
9536
|
* @codeGenApi
|
|
9419
9537
|
*/
|
|
9420
|
-
export declare function ɵ
|
|
9538
|
+
export declare function ɵangular_packages_core_core_cc(message: string, replacements?: {
|
|
9421
9539
|
[key: string]: (string | string[]);
|
|
9422
9540
|
}): string;
|
|
9423
9541
|
|
|
9424
|
-
export declare class ɵ
|
|
9542
|
+
export declare class ɵangular_packages_core_core_d implements ReflectiveInjector {
|
|
9425
9543
|
private static INJECTOR_KEY;
|
|
9426
9544
|
readonly parent: Injector | null;
|
|
9427
9545
|
keyIds: number[];
|
|
@@ -9450,30 +9568,30 @@ export declare class ɵangular_packages_core_core_c implements ReflectiveInjecto
|
|
|
9450
9568
|
* `Dependency` is used by the framework to extend DI.
|
|
9451
9569
|
* This is internal to Angular and should not be used directly.
|
|
9452
9570
|
*/
|
|
9453
|
-
export declare class ɵ
|
|
9571
|
+
export declare class ɵangular_packages_core_core_e {
|
|
9454
9572
|
key: ReflectiveKey;
|
|
9455
9573
|
optional: boolean;
|
|
9456
9574
|
visibility: Self | SkipSelf | null;
|
|
9457
9575
|
constructor(key: ReflectiveKey, optional: boolean, visibility: Self | SkipSelf | null);
|
|
9458
|
-
static fromKey(key: ReflectiveKey): ɵ
|
|
9576
|
+
static fromKey(key: ReflectiveKey): ɵangular_packages_core_core_e;
|
|
9459
9577
|
}
|
|
9460
9578
|
|
|
9461
9579
|
/**
|
|
9462
9580
|
* Resolve a list of Providers.
|
|
9463
9581
|
*/
|
|
9464
|
-
export declare function ɵ
|
|
9582
|
+
export declare function ɵangular_packages_core_core_f(providers: Provider[]): ResolvedReflectiveProvider[];
|
|
9465
9583
|
|
|
9466
|
-
export declare function ɵ
|
|
9584
|
+
export declare function ɵangular_packages_core_core_g(): string;
|
|
9467
9585
|
|
|
9468
9586
|
/** Injects a Renderer2 for the current component. */
|
|
9469
|
-
export declare function ɵ
|
|
9587
|
+
export declare function ɵangular_packages_core_core_h(): Renderer2;
|
|
9470
9588
|
|
|
9471
9589
|
/**
|
|
9472
9590
|
* Creates an ElementRef from the most recent node.
|
|
9473
9591
|
*
|
|
9474
9592
|
* @returns The ElementRef instance to use
|
|
9475
9593
|
*/
|
|
9476
|
-
export declare function ɵ
|
|
9594
|
+
export declare function ɵangular_packages_core_core_i(): ElementRef;
|
|
9477
9595
|
|
|
9478
9596
|
/**
|
|
9479
9597
|
* Creates an ElementRef given a node.
|
|
@@ -9482,16 +9600,16 @@ export declare function ɵangular_packages_core_core_h(): ElementRef;
|
|
|
9482
9600
|
* @param lView The view to which the node belongs
|
|
9483
9601
|
* @returns The ElementRef instance to use
|
|
9484
9602
|
*/
|
|
9485
|
-
export declare function ɵ
|
|
9603
|
+
export declare function ɵangular_packages_core_core_j(tNode: TNode, lView: ɵangular_packages_core_core_ca): ElementRef;
|
|
9486
9604
|
|
|
9487
|
-
export declare function ɵ
|
|
9605
|
+
export declare function ɵangular_packages_core_core_k(id: string): NgModuleFactory<any>;
|
|
9488
9606
|
|
|
9489
9607
|
/**
|
|
9490
9608
|
* Creates a TemplateRef given a node.
|
|
9491
9609
|
*
|
|
9492
9610
|
* @returns The TemplateRef instance to use
|
|
9493
9611
|
*/
|
|
9494
|
-
export declare function ɵ
|
|
9612
|
+
export declare function ɵangular_packages_core_core_l<T>(): TemplateRef<T> | null;
|
|
9495
9613
|
|
|
9496
9614
|
/**
|
|
9497
9615
|
* Creates a TemplateRef and stores it on the injector.
|
|
@@ -9500,7 +9618,7 @@ export declare function ɵangular_packages_core_core_k<T>(): TemplateRef<T> | nu
|
|
|
9500
9618
|
* @param hostLView The `LView` to which the node belongs
|
|
9501
9619
|
* @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type
|
|
9502
9620
|
*/
|
|
9503
|
-
export declare function ɵ
|
|
9621
|
+
export declare function ɵangular_packages_core_core_m<T>(hostTNode: TNode, hostLView: ɵangular_packages_core_core_ca): TemplateRef<T> | null;
|
|
9504
9622
|
|
|
9505
9623
|
/**
|
|
9506
9624
|
* Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
|
|
@@ -9508,14 +9626,14 @@ export declare function ɵangular_packages_core_core_l<T>(hostTNode: TNode, host
|
|
|
9508
9626
|
*
|
|
9509
9627
|
* @returns The ViewContainerRef instance to use
|
|
9510
9628
|
*/
|
|
9511
|
-
export declare function ɵ
|
|
9629
|
+
export declare function ɵangular_packages_core_core_n(): ViewContainerRef;
|
|
9512
9630
|
|
|
9513
|
-
export declare class ɵ
|
|
9631
|
+
export declare class ɵangular_packages_core_core_o {
|
|
9514
9632
|
readonly listeners: DebugEventListener[];
|
|
9515
9633
|
readonly parent: DebugElement | null;
|
|
9516
9634
|
readonly nativeNode: any;
|
|
9517
9635
|
private readonly _debugContext;
|
|
9518
|
-
constructor(nativeNode: any, parent: DebugNode | null, _debugContext: ɵ
|
|
9636
|
+
constructor(nativeNode: any, parent: DebugNode | null, _debugContext: ɵangular_packages_core_core_bd);
|
|
9519
9637
|
get injector(): Injector;
|
|
9520
9638
|
get componentInstance(): any;
|
|
9521
9639
|
get context(): any;
|
|
@@ -9525,7 +9643,7 @@ export declare class ɵangular_packages_core_core_n {
|
|
|
9525
9643
|
get providerTokens(): any[];
|
|
9526
9644
|
}
|
|
9527
9645
|
|
|
9528
|
-
export declare class ɵ
|
|
9646
|
+
export declare class ɵangular_packages_core_core_p extends ɵangular_packages_core_core_o implements DebugElement {
|
|
9529
9647
|
readonly name: string;
|
|
9530
9648
|
readonly properties: {
|
|
9531
9649
|
[key: string]: any;
|
|
@@ -9541,7 +9659,7 @@ export declare class ɵangular_packages_core_core_o extends ɵangular_packages_c
|
|
|
9541
9659
|
};
|
|
9542
9660
|
readonly childNodes: DebugNode[];
|
|
9543
9661
|
readonly nativeElement: any;
|
|
9544
|
-
constructor(nativeNode: any, parent: any, _debugContext: ɵ
|
|
9662
|
+
constructor(nativeNode: any, parent: any, _debugContext: ɵangular_packages_core_core_bd);
|
|
9545
9663
|
addChild(child: DebugNode): void;
|
|
9546
9664
|
removeChild(child: DebugNode): void;
|
|
9547
9665
|
insertChildrenAfter(child: DebugNode, newChildren: DebugNode[]): void;
|
|
@@ -9553,49 +9671,38 @@ export declare class ɵangular_packages_core_core_o extends ɵangular_packages_c
|
|
|
9553
9671
|
triggerEventHandler(eventName: string, eventObj: any): void;
|
|
9554
9672
|
}
|
|
9555
9673
|
|
|
9556
|
-
export declare function ɵ
|
|
9674
|
+
export declare function ɵangular_packages_core_core_q(nativeNode: any): DebugNode | null;
|
|
9557
9675
|
|
|
9558
9676
|
/** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
|
|
9559
|
-
export declare function ɵ
|
|
9677
|
+
export declare function ɵangular_packages_core_core_r(isPipe?: boolean): ChangeDetectorRef;
|
|
9560
9678
|
|
|
9561
|
-
export declare class ɵ
|
|
9679
|
+
export declare class ɵangular_packages_core_core_s implements IterableDifferFactory {
|
|
9562
9680
|
constructor();
|
|
9563
9681
|
supports(obj: Object | null | undefined): boolean;
|
|
9564
9682
|
create<V>(trackByFn?: TrackByFunction<V>): DefaultIterableDiffer<V>;
|
|
9565
9683
|
}
|
|
9566
9684
|
|
|
9567
|
-
export declare class ɵ
|
|
9685
|
+
export declare class ɵangular_packages_core_core_t<K, V> implements KeyValueDifferFactory {
|
|
9568
9686
|
constructor();
|
|
9569
9687
|
supports(obj: any): boolean;
|
|
9570
9688
|
create<K, V>(): KeyValueDiffer<K, V>;
|
|
9571
9689
|
}
|
|
9572
9690
|
|
|
9573
|
-
export declare function ɵ
|
|
9691
|
+
export declare function ɵangular_packages_core_core_u(): IterableDiffers;
|
|
9574
9692
|
|
|
9575
|
-
export declare function ɵ
|
|
9693
|
+
export declare function ɵangular_packages_core_core_v(): KeyValueDiffers;
|
|
9576
9694
|
|
|
9577
|
-
export declare function ɵ
|
|
9695
|
+
export declare function ɵangular_packages_core_core_w(): IterableDiffers;
|
|
9578
9696
|
|
|
9579
|
-
export declare function ɵ
|
|
9697
|
+
export declare function ɵangular_packages_core_core_x(): KeyValueDiffers;
|
|
9580
9698
|
|
|
9581
|
-
export declare function ɵ
|
|
9699
|
+
export declare function ɵangular_packages_core_core_y(locale?: string): string;
|
|
9582
9700
|
|
|
9583
9701
|
/**
|
|
9584
9702
|
* A built-in [dependency injection token](guide/glossary#di-token)
|
|
9585
9703
|
* that is used to configure the root injector for bootstrapping.
|
|
9586
9704
|
*/
|
|
9587
|
-
export declare const ɵ
|
|
9588
|
-
|
|
9589
|
-
/**
|
|
9590
|
-
* Schedule work at next available slot.
|
|
9591
|
-
*
|
|
9592
|
-
* In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped
|
|
9593
|
-
* using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.
|
|
9594
|
-
* This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.
|
|
9595
|
-
*
|
|
9596
|
-
* @param ngZone NgZone to use for scheduling.
|
|
9597
|
-
*/
|
|
9598
|
-
export declare function ɵangular_packages_core_core_z(ngZone: NgZone): (fn: () => void) => void;
|
|
9705
|
+
export declare const ɵangular_packages_core_core_z: StaticProvider[];
|
|
9599
9706
|
|
|
9600
9707
|
/**
|
|
9601
9708
|
* Providers that generate a random `APP_ID_TOKEN`.
|
|
@@ -9603,7 +9710,7 @@ export declare function ɵangular_packages_core_core_z(ngZone: NgZone): (fn: ()
|
|
|
9603
9710
|
*/
|
|
9604
9711
|
export declare const ɵAPP_ID_RANDOM_PROVIDER: {
|
|
9605
9712
|
provide: InjectionToken<string>;
|
|
9606
|
-
useFactory: typeof ɵ
|
|
9713
|
+
useFactory: typeof ɵangular_packages_core_core_g;
|
|
9607
9714
|
deps: any[];
|
|
9608
9715
|
};
|
|
9609
9716
|
|
|
@@ -10436,7 +10543,7 @@ export declare interface ɵLContext {
|
|
|
10436
10543
|
/**
|
|
10437
10544
|
* The component's parent view data.
|
|
10438
10545
|
*/
|
|
10439
|
-
lView: ɵ
|
|
10546
|
+
lView: ɵangular_packages_core_core_ca;
|
|
10440
10547
|
/**
|
|
10441
10548
|
* The index instance of the node.
|
|
10442
10549
|
*/
|
|
@@ -10671,6 +10778,7 @@ export declare const enum ɵNodeFlags {
|
|
|
10671
10778
|
StaticQuery = 268435456,
|
|
10672
10779
|
DynamicQuery = 536870912,
|
|
10673
10780
|
TypeNgModule = 1073741824,
|
|
10781
|
+
EmitDistinctChangesOnly = -2147483648,
|
|
10674
10782
|
CatQuery = 201326592,
|
|
10675
10783
|
Types = 201347067
|
|
10676
10784
|
}
|
|
@@ -10948,7 +11056,7 @@ export declare class ɵRender3ComponentRef<T> extends ComponentRef<T> {
|
|
|
10948
11056
|
hostView: ViewRef_2<T>;
|
|
10949
11057
|
changeDetectorRef: ChangeDetectorRef;
|
|
10950
11058
|
componentType: Type<T>;
|
|
10951
|
-
constructor(componentType: Type<T>, instance: T, location: ElementRef, _rootLView: ɵ
|
|
11059
|
+
constructor(componentType: Type<T>, instance: T, location: ElementRef, _rootLView: ɵangular_packages_core_core_ca, _tNode: ɵangular_packages_core_core_bk | TContainerNode | TElementContainerNode);
|
|
10952
11060
|
get injector(): Injector;
|
|
10953
11061
|
destroy(): void;
|
|
10954
11062
|
onDestroy(callback: () => void): void;
|
|
@@ -11123,13 +11231,13 @@ export declare function ɵsetLocaleId(localeId: string): void;
|
|
|
11123
11231
|
export declare type ɵSetterFn = (obj: any, value: any) => void;
|
|
11124
11232
|
|
|
11125
11233
|
/** Store a value in the `data` at a given `index`. */
|
|
11126
|
-
export declare function ɵstore<T>(tView: TView, lView: ɵ
|
|
11234
|
+
export declare function ɵstore<T>(tView: TView, lView: ɵangular_packages_core_core_ca, index: number, value: T): void;
|
|
11127
11235
|
|
|
11128
11236
|
|
|
11129
11237
|
export declare function ɵstringify(token: any): string;
|
|
11130
11238
|
|
|
11131
11239
|
|
|
11132
|
-
export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11240
|
+
export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_r;
|
|
11133
11241
|
|
|
11134
11242
|
export declare const ɵSWITCH_COMPILE_COMPONENT__POST_R3__: typeof ɵcompileComponent;
|
|
11135
11243
|
|
|
@@ -11141,16 +11249,16 @@ export declare const ɵSWITCH_COMPILE_NGMODULE__POST_R3__: typeof ɵcompileNgMod
|
|
|
11141
11249
|
|
|
11142
11250
|
export declare const ɵSWITCH_COMPILE_PIPE__POST_R3__: typeof ɵcompilePipe;
|
|
11143
11251
|
|
|
11144
|
-
export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11252
|
+
export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_i;
|
|
11145
11253
|
|
|
11146
11254
|
|
|
11147
11255
|
export declare const ɵSWITCH_IVY_ENABLED__POST_R3__ = true;
|
|
11148
11256
|
|
|
11149
|
-
export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof ɵ
|
|
11257
|
+
export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_h;
|
|
11150
11258
|
|
|
11151
|
-
export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11259
|
+
export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_l;
|
|
11152
11260
|
|
|
11153
|
-
export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11261
|
+
export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_n;
|
|
11154
11262
|
|
|
11155
11263
|
export declare function ɵted(checkIndex: number, ngContentIndex: number | null, staticText: string[]): NodeDef;
|
|
11156
11264
|
|
|
@@ -11892,13 +12000,13 @@ export declare type ɵɵComponentDefWithMeta<T, Selector extends String, ExportA
|
|
|
11892
12000
|
*
|
|
11893
12001
|
* @param directiveIndex Current directive index
|
|
11894
12002
|
* @param predicate The type for which the query will search
|
|
11895
|
-
* @param
|
|
12003
|
+
* @param flags Flags associated with the query
|
|
11896
12004
|
* @param read What to save in the query
|
|
11897
12005
|
* @returns QueryList<T>
|
|
11898
12006
|
*
|
|
11899
12007
|
* @codeGenApi
|
|
11900
12008
|
*/
|
|
11901
|
-
export declare function ɵɵcontentQuery<T>(directiveIndex: number, predicate: Type<any> | InjectionToken<unknown> | string[],
|
|
12009
|
+
export declare function ɵɵcontentQuery<T>(directiveIndex: number, predicate: Type<any> | InjectionToken<unknown> | string[], flags: QueryFlags, read?: any): void;
|
|
11902
12010
|
|
|
11903
12011
|
/**
|
|
11904
12012
|
* Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a
|
|
@@ -13874,31 +13982,6 @@ export declare function ɵɵsetNgModuleScope(type: any, scope: {
|
|
|
13874
13982
|
exports?: Type<any>[] | (() => Type<any>[]);
|
|
13875
13983
|
}): void;
|
|
13876
13984
|
|
|
13877
|
-
/**
|
|
13878
|
-
* Registers a QueryList, associated with a static content query, for later refresh
|
|
13879
|
-
* (part of a view refresh).
|
|
13880
|
-
*
|
|
13881
|
-
* @param directiveIndex Current directive index
|
|
13882
|
-
* @param predicate The type for which the query will search
|
|
13883
|
-
* @param descend Whether or not to descend into children
|
|
13884
|
-
* @param read What to save in the query
|
|
13885
|
-
* @returns QueryList<T>
|
|
13886
|
-
*
|
|
13887
|
-
* @codeGenApi
|
|
13888
|
-
*/
|
|
13889
|
-
export declare function ɵɵstaticContentQuery<T>(directiveIndex: number, predicate: Type<any> | InjectionToken<unknown> | string[], descend: boolean, read?: any): void;
|
|
13890
|
-
|
|
13891
|
-
/**
|
|
13892
|
-
* Creates new QueryList for a static view query.
|
|
13893
|
-
*
|
|
13894
|
-
* @param predicate The type for which the query will search
|
|
13895
|
-
* @param descend Whether or not to descend into children
|
|
13896
|
-
* @param read What to save in the query
|
|
13897
|
-
*
|
|
13898
|
-
* @codeGenApi
|
|
13899
|
-
*/
|
|
13900
|
-
export declare function ɵɵstaticViewQuery<T>(predicate: Type<any> | InjectionToken<unknown> | string[], descend: boolean, read?: any): void;
|
|
13901
|
-
|
|
13902
13985
|
/**
|
|
13903
13986
|
* Update style bindings using an object literal on an element.
|
|
13904
13987
|
*
|
|
@@ -14610,7 +14693,7 @@ export declare function ɵɵtemplate(index: number, templateFn: ComponentTemplat
|
|
|
14610
14693
|
*
|
|
14611
14694
|
* @codeGenApi
|
|
14612
14695
|
*/
|
|
14613
|
-
export declare function ɵɵtemplateRefExtractor(tNode: TNode, lView: ɵ
|
|
14696
|
+
export declare function ɵɵtemplateRefExtractor(tNode: TNode, lView: ɵangular_packages_core_core_ca): TemplateRef<any> | null;
|
|
14614
14697
|
|
|
14615
14698
|
/**
|
|
14616
14699
|
* Create static text node
|
|
@@ -14880,11 +14963,11 @@ export declare function ɵɵtrustConstantResourceUrl(url: TemplateStringsArray):
|
|
|
14880
14963
|
* Creates new QueryList, stores the reference in LView and returns QueryList.
|
|
14881
14964
|
*
|
|
14882
14965
|
* @param predicate The type for which the query will search
|
|
14883
|
-
* @param
|
|
14966
|
+
* @param flags Flags associated with the query
|
|
14884
14967
|
* @param read What to save in the query
|
|
14885
14968
|
*
|
|
14886
14969
|
* @codeGenApi
|
|
14887
14970
|
*/
|
|
14888
|
-
export declare function ɵɵviewQuery<T>(predicate: Type<any> | InjectionToken<unknown> | string[],
|
|
14971
|
+
export declare function ɵɵviewQuery<T>(predicate: Type<any> | InjectionToken<unknown> | string[], flags: QueryFlags, read?: any): void;
|
|
14889
14972
|
|
|
14890
14973
|
export { }
|