@angular/core 11.1.0-next.5 → 11.1.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/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 +473 -346
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +116 -117
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +237 -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/event_emitter.js +15 -15
- 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/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 +28 -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/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 +420 -297
- 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.2
|
|
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 {
|
|
@@ -2404,13 +2417,21 @@ export declare interface EventEmitter<T> extends Subject<T> {
|
|
|
2404
2417
|
emit(value?: T): void;
|
|
2405
2418
|
/**
|
|
2406
2419
|
* Registers handlers for events emitted by this instance.
|
|
2407
|
-
* @param
|
|
2408
|
-
* @param error When supplied, a custom handler for an error notification
|
|
2409
|
-
* from this
|
|
2410
|
-
*
|
|
2411
|
-
|
|
2420
|
+
* @param next When supplied, a custom handler for emitted events.
|
|
2421
|
+
* @param error When supplied, a custom handler for an error notification from this emitter.
|
|
2422
|
+
* @param complete When supplied, a custom handler for a completion notification from this
|
|
2423
|
+
* emitter.
|
|
2424
|
+
*/
|
|
2425
|
+
subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription;
|
|
2426
|
+
/**
|
|
2427
|
+
* Registers handlers for events emitted by this instance.
|
|
2428
|
+
* @param observerOrNext When supplied, a custom handler for emitted events, or an observer
|
|
2429
|
+
* object.
|
|
2430
|
+
* @param error When supplied, a custom handler for an error notification from this emitter.
|
|
2431
|
+
* @param complete When supplied, a custom handler for a completion notification from this
|
|
2432
|
+
* emitter.
|
|
2412
2433
|
*/
|
|
2413
|
-
subscribe(
|
|
2434
|
+
subscribe(observerOrNext?: any, error?: any, complete?: any): Subscription;
|
|
2414
2435
|
}
|
|
2415
2436
|
|
|
2416
2437
|
/**
|
|
@@ -3282,7 +3303,6 @@ export declare interface InjectDecorator {
|
|
|
3282
3303
|
new (token: any): Inject;
|
|
3283
3304
|
}
|
|
3284
3305
|
|
|
3285
|
-
|
|
3286
3306
|
/**
|
|
3287
3307
|
* Injection flags for DI.
|
|
3288
3308
|
*
|
|
@@ -3850,7 +3870,7 @@ declare interface LContainer extends Array<any> {
|
|
|
3850
3870
|
* The host could be an LView if this container is on a component node.
|
|
3851
3871
|
* In that case, the component LView is its HOST.
|
|
3852
3872
|
*/
|
|
3853
|
-
readonly [HOST]: RElement | RComment | ɵ
|
|
3873
|
+
readonly [HOST]: RElement | RComment | ɵangular_packages_core_core_ca;
|
|
3854
3874
|
/**
|
|
3855
3875
|
* This is a type field which allows us to differentiate `LContainer` from `StylingContext` in an
|
|
3856
3876
|
* efficient way. The value is always set to `true`
|
|
@@ -3867,12 +3887,12 @@ declare interface LContainer extends Array<any> {
|
|
|
3867
3887
|
* Access to the parent view is necessary so we can propagate back
|
|
3868
3888
|
* up from inside a container to parent[NEXT].
|
|
3869
3889
|
*/
|
|
3870
|
-
[PARENT]: ɵ
|
|
3890
|
+
[PARENT]: ɵangular_packages_core_core_ca;
|
|
3871
3891
|
/**
|
|
3872
3892
|
* This allows us to jump from a container to a sibling container or component
|
|
3873
3893
|
* view with the same parent, so we can remove listeners efficiently.
|
|
3874
3894
|
*/
|
|
3875
|
-
[NEXT]: ɵ
|
|
3895
|
+
[NEXT]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
3876
3896
|
/**
|
|
3877
3897
|
* The number of direct transplanted views which need a refresh or have descendants themselves
|
|
3878
3898
|
* that need a refresh but have not marked their ancestors as Dirty. This tells us that during
|
|
@@ -3885,7 +3905,7 @@ declare interface LContainer extends Array<any> {
|
|
|
3885
3905
|
* a different `LContainer`. We need to track views created from a given declaration point since
|
|
3886
3906
|
* queries collect matches from the embedded view declaration point and _not_ the insertion point.
|
|
3887
3907
|
*/
|
|
3888
|
-
[MOVED_VIEWS]: ɵ
|
|
3908
|
+
[MOVED_VIEWS]: ɵangular_packages_core_core_ca[] | null;
|
|
3889
3909
|
/**
|
|
3890
3910
|
* Pointer to the `TNode` which represents the host of the container.
|
|
3891
3911
|
*/
|
|
@@ -3919,8 +3939,8 @@ declare interface LContainerDebug {
|
|
|
3919
3939
|
*/
|
|
3920
3940
|
readonly views: LViewDebug[];
|
|
3921
3941
|
readonly parent: LViewDebug | null;
|
|
3922
|
-
readonly movedViews: ɵ
|
|
3923
|
-
readonly host: RElement | RComment | ɵ
|
|
3942
|
+
readonly movedViews: ɵangular_packages_core_core_ca[] | null;
|
|
3943
|
+
readonly host: RElement | RComment | ɵangular_packages_core_core_ca;
|
|
3924
3944
|
readonly next: LViewDebug | LContainerDebug | null;
|
|
3925
3945
|
readonly hasTransplantedViews: boolean;
|
|
3926
3946
|
}
|
|
@@ -3955,7 +3975,7 @@ export declare const LOCALE_ID: InjectionToken<string>;
|
|
|
3955
3975
|
* - `<div #nativeDivEl>` - `nativeDivEl` should point to the native `<div>` element;
|
|
3956
3976
|
* - `<ng-template #tplRef>` - `tplRef` should point to the `TemplateRef` instance;
|
|
3957
3977
|
*/
|
|
3958
|
-
declare type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: ɵ
|
|
3978
|
+
declare type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: ɵangular_packages_core_core_ca) => any;
|
|
3959
3979
|
|
|
3960
3980
|
/**
|
|
3961
3981
|
* lQueries represent a collection of individual LQuery objects tracked in a given view.
|
|
@@ -4228,7 +4248,7 @@ export declare enum MissingTranslationStrategy {
|
|
|
4228
4248
|
}
|
|
4229
4249
|
|
|
4230
4250
|
/**
|
|
4231
|
-
* Combination of NgModuleFactory and
|
|
4251
|
+
* Combination of NgModuleFactory and ComponentFactories.
|
|
4232
4252
|
*
|
|
4233
4253
|
* @publicApi
|
|
4234
4254
|
*/
|
|
@@ -5418,6 +5438,7 @@ declare const QUERIES = 19;
|
|
|
5418
5438
|
*/
|
|
5419
5439
|
export declare interface Query {
|
|
5420
5440
|
descendants: boolean;
|
|
5441
|
+
emitDistinctChangesOnly: boolean;
|
|
5421
5442
|
first: boolean;
|
|
5422
5443
|
read: any;
|
|
5423
5444
|
isViewQuery: boolean;
|
|
@@ -5449,6 +5470,34 @@ declare interface QueryDef {
|
|
|
5449
5470
|
bindings: QueryBindingDef[];
|
|
5450
5471
|
}
|
|
5451
5472
|
|
|
5473
|
+
/**
|
|
5474
|
+
* A set of flags to be used with Queries.
|
|
5475
|
+
*
|
|
5476
|
+
* NOTE: Ensure changes here are reflected in `packages/compiler/src/render3/view/compiler.ts`
|
|
5477
|
+
*/
|
|
5478
|
+
declare const enum QueryFlags {
|
|
5479
|
+
/**
|
|
5480
|
+
* No flags
|
|
5481
|
+
*/
|
|
5482
|
+
none = 0,
|
|
5483
|
+
/**
|
|
5484
|
+
* Whether or not the query should descend into children.
|
|
5485
|
+
*/
|
|
5486
|
+
descendants = 1,
|
|
5487
|
+
/**
|
|
5488
|
+
* The query can be computed statically and hence can be assigned eagerly.
|
|
5489
|
+
*
|
|
5490
|
+
* NOTE: Backwards compatibility with ViewEngine.
|
|
5491
|
+
*/
|
|
5492
|
+
isStatic = 2,
|
|
5493
|
+
/**
|
|
5494
|
+
* If the `QueryList` should fire change event only if actual change to query was computed (vs old
|
|
5495
|
+
* behavior where the change was fired whenever the query was recomputed, even if the recomputed
|
|
5496
|
+
* query resulted in the same list.)
|
|
5497
|
+
*/
|
|
5498
|
+
emitDistinctChangesOnly = 4
|
|
5499
|
+
}
|
|
5500
|
+
|
|
5452
5501
|
/**
|
|
5453
5502
|
* An unmodifiable list of items that Angular keeps up to date when the state
|
|
5454
5503
|
* of the application changes.
|
|
@@ -5476,13 +5525,25 @@ declare interface QueryDef {
|
|
|
5476
5525
|
* @publicApi
|
|
5477
5526
|
*/
|
|
5478
5527
|
export declare class QueryList<T> implements Iterable<T> {
|
|
5528
|
+
private _emitDistinctChangesOnly;
|
|
5479
5529
|
readonly dirty = true;
|
|
5480
5530
|
private _results;
|
|
5481
|
-
|
|
5531
|
+
private _changesDetected;
|
|
5532
|
+
private _changes;
|
|
5482
5533
|
readonly length: number;
|
|
5483
5534
|
readonly first: T;
|
|
5484
5535
|
readonly last: T;
|
|
5485
|
-
|
|
5536
|
+
/**
|
|
5537
|
+
* Returns `Observable` of `QueryList` notifying the subscriber of changes.
|
|
5538
|
+
*/
|
|
5539
|
+
get changes(): Observable<any>;
|
|
5540
|
+
/**
|
|
5541
|
+
* @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change
|
|
5542
|
+
* has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in
|
|
5543
|
+
* the same result) This is set to `false` for backwards compatibility but will be changed to
|
|
5544
|
+
* true in v12.
|
|
5545
|
+
*/
|
|
5546
|
+
constructor(_emitDistinctChangesOnly?: boolean);
|
|
5486
5547
|
/**
|
|
5487
5548
|
* Returns the QueryList entry at `index`.
|
|
5488
5549
|
*/
|
|
@@ -5528,8 +5589,13 @@ export declare class QueryList<T> implements Iterable<T> {
|
|
|
5528
5589
|
* occurs.
|
|
5529
5590
|
*
|
|
5530
5591
|
* @param resultsTree The query results to store
|
|
5592
|
+
* @param identityAccessor Optional function for extracting stable object identity from a value
|
|
5593
|
+
* in the array. This function is executed for each element of the query result list while
|
|
5594
|
+
* comparing current query list with the new one (provided as a first argument of the `reset`
|
|
5595
|
+
* function) to detect if the lists are different. If the function is not provided, elements
|
|
5596
|
+
* are compared as is (without any pre-processing).
|
|
5531
5597
|
*/
|
|
5532
|
-
reset(resultsTree: Array<T | any[]
|
|
5598
|
+
reset(resultsTree: Array<T | any[]>, identityAccessor?: (value: T) => unknown): void;
|
|
5533
5599
|
/**
|
|
5534
5600
|
* Triggers a change event by emitting on the `changes` {@link EventEmitter}.
|
|
5535
5601
|
*/
|
|
@@ -5600,6 +5666,7 @@ declare interface R3DeclareQueryMetadataFacade {
|
|
|
5600
5666
|
descendants?: boolean;
|
|
5601
5667
|
read?: OpaqueValue;
|
|
5602
5668
|
static?: boolean;
|
|
5669
|
+
emitDistinctChangesOnly?: boolean;
|
|
5603
5670
|
}
|
|
5604
5671
|
|
|
5605
5672
|
declare class R3Injector {
|
|
@@ -6255,7 +6322,7 @@ export declare class ResolvedReflectiveFactory {
|
|
|
6255
6322
|
/**
|
|
6256
6323
|
* Arguments (dependencies) to the `factory` function.
|
|
6257
6324
|
*/
|
|
6258
|
-
dependencies: ɵ
|
|
6325
|
+
dependencies: ɵangular_packages_core_core_e[];
|
|
6259
6326
|
constructor(
|
|
6260
6327
|
/**
|
|
6261
6328
|
* Factory function which can return an instance of an object represented by a key.
|
|
@@ -6264,7 +6331,7 @@ export declare class ResolvedReflectiveFactory {
|
|
|
6264
6331
|
/**
|
|
6265
6332
|
* Arguments (dependencies) to the `factory` function.
|
|
6266
6333
|
*/
|
|
6267
|
-
dependencies: ɵ
|
|
6334
|
+
dependencies: ɵangular_packages_core_core_e[]);
|
|
6268
6335
|
}
|
|
6269
6336
|
|
|
6270
6337
|
/**
|
|
@@ -6745,7 +6812,7 @@ declare interface TContainerNode extends TNode {
|
|
|
6745
6812
|
* - They are the first node of a component or embedded view
|
|
6746
6813
|
* - They are dynamically created
|
|
6747
6814
|
*/
|
|
6748
|
-
parent: ɵ
|
|
6815
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
6749
6816
|
tViews: TView | TView[] | null;
|
|
6750
6817
|
projection: null;
|
|
6751
6818
|
value: null;
|
|
@@ -6784,8 +6851,8 @@ declare type TData = (TNode | ɵPipeDef<any> | ɵDirectiveDef<any> | ɵComponent
|
|
|
6784
6851
|
declare interface TElementContainerNode extends TNode {
|
|
6785
6852
|
/** Index in the LView[] array. */
|
|
6786
6853
|
index: number;
|
|
6787
|
-
child: ɵ
|
|
6788
|
-
parent: ɵ
|
|
6854
|
+
child: ɵangular_packages_core_core_bk | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null;
|
|
6855
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
6789
6856
|
tViews: null;
|
|
6790
6857
|
projection: null;
|
|
6791
6858
|
}
|
|
@@ -7252,7 +7319,7 @@ declare interface TNode {
|
|
|
7252
7319
|
*
|
|
7253
7320
|
* If this is an inline view node (V), the parent will be its container.
|
|
7254
7321
|
*/
|
|
7255
|
-
parent: ɵ
|
|
7322
|
+
parent: ɵangular_packages_core_core_bk | TContainerNode | null;
|
|
7256
7323
|
/**
|
|
7257
7324
|
* List of projected TNodes for a given component host element OR index into the said nodes.
|
|
7258
7325
|
*
|
|
@@ -7508,7 +7575,7 @@ declare const enum TNodeType {
|
|
|
7508
7575
|
/**
|
|
7509
7576
|
* Type representing a set of TNodes that can have local refs (`#foo`) placed on them.
|
|
7510
7577
|
*/
|
|
7511
|
-
declare type TNodeWithLocalRefs = TContainerNode | ɵ
|
|
7578
|
+
declare type TNodeWithLocalRefs = TContainerNode | ɵangular_packages_core_core_bk | TElementContainerNode;
|
|
7512
7579
|
|
|
7513
7580
|
/** Static data for an LProjectionNode */
|
|
7514
7581
|
declare interface TProjectionNode extends TNode {
|
|
@@ -7519,7 +7586,7 @@ declare interface TProjectionNode extends TNode {
|
|
|
7519
7586
|
* or embedded view (which means their parent is in a different view and must be
|
|
7520
7587
|
* retrieved using LView.node).
|
|
7521
7588
|
*/
|
|
7522
|
-
parent: ɵ
|
|
7589
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
7523
7590
|
tViews: null;
|
|
7524
7591
|
/** Index of the projection node. (See TNode.projection for more info.) */
|
|
7525
7592
|
projection: number;
|
|
@@ -7648,9 +7715,8 @@ declare interface TQuery {
|
|
|
7648
7715
|
*/
|
|
7649
7716
|
declare interface TQueryMetadata {
|
|
7650
7717
|
predicate: Type<any> | InjectionToken<unknown> | string[];
|
|
7651
|
-
descendants: boolean;
|
|
7652
7718
|
read: any;
|
|
7653
|
-
|
|
7719
|
+
flags: QueryFlags;
|
|
7654
7720
|
}
|
|
7655
7721
|
|
|
7656
7722
|
/**
|
|
@@ -7871,7 +7937,7 @@ declare interface TTextNode extends TNode {
|
|
|
7871
7937
|
* embedded view (which means their parent is in a different view and must be
|
|
7872
7938
|
* retrieved using LView.node).
|
|
7873
7939
|
*/
|
|
7874
|
-
parent: ɵ
|
|
7940
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
7875
7941
|
tViews: null;
|
|
7876
7942
|
projection: null;
|
|
7877
7943
|
}
|
|
@@ -7893,7 +7959,7 @@ declare interface TView {
|
|
|
7893
7959
|
* This is a blueprint used to generate LView instances for this TView. Copying this
|
|
7894
7960
|
* blueprint is faster than creating a new LView from scratch.
|
|
7895
7961
|
*/
|
|
7896
|
-
blueprint: ɵ
|
|
7962
|
+
blueprint: ɵangular_packages_core_core_ca;
|
|
7897
7963
|
/**
|
|
7898
7964
|
* The template function used to refresh the view of dynamically created views
|
|
7899
7965
|
* and components. Will be null for inline views.
|
|
@@ -8359,6 +8425,9 @@ export declare interface ViewChildrenDecorator {
|
|
|
8359
8425
|
*
|
|
8360
8426
|
* * **selector** - The directive type or the name used for querying.
|
|
8361
8427
|
* * **read** - Used to read a different token from the queried elements.
|
|
8428
|
+
* * **emitDistinctChangesOnly** - The ` QueryList#changes` observable will emit new values only
|
|
8429
|
+
* if the QueryList result has changed. The default value will change from `false` to `true` in
|
|
8430
|
+
* v12. When `false` the `changes` observable might emit even if the QueryList has not changed.
|
|
8362
8431
|
*
|
|
8363
8432
|
* @usageNotes
|
|
8364
8433
|
*
|
|
@@ -8372,9 +8441,11 @@ export declare interface ViewChildrenDecorator {
|
|
|
8372
8441
|
*/
|
|
8373
8442
|
(selector: Type<any> | InjectionToken<unknown> | Function | string, opts?: {
|
|
8374
8443
|
read?: any;
|
|
8444
|
+
emitDistinctChangesOnly?: boolean;
|
|
8375
8445
|
}): any;
|
|
8376
8446
|
new (selector: Type<any> | InjectionToken<unknown> | Function | string, opts?: {
|
|
8377
8447
|
read?: any;
|
|
8448
|
+
emitDistinctChangesOnly?: boolean;
|
|
8378
8449
|
}): ViewChildren;
|
|
8379
8450
|
}
|
|
8380
8451
|
|
|
@@ -8547,7 +8618,7 @@ export declare enum ViewEncapsulation {
|
|
|
8547
8618
|
* Use Shadow DOM to encapsulate styles.
|
|
8548
8619
|
*
|
|
8549
8620
|
* For the DOM this means using modern [Shadow
|
|
8550
|
-
* DOM](https://
|
|
8621
|
+
* DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM) and
|
|
8551
8622
|
* creating a ShadowRoot for Component's Host Element.
|
|
8552
8623
|
*/
|
|
8553
8624
|
ShadowDom = 3
|
|
@@ -8620,14 +8691,14 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
|
|
|
8620
8691
|
*
|
|
8621
8692
|
* @internal
|
|
8622
8693
|
*/
|
|
8623
|
-
_lView: ɵ
|
|
8694
|
+
_lView: ɵangular_packages_core_core_ca,
|
|
8624
8695
|
/**
|
|
8625
8696
|
* This represents the `LView` associated with the point where `ChangeDetectorRef` was
|
|
8626
8697
|
* requested.
|
|
8627
8698
|
*
|
|
8628
8699
|
* This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
|
|
8629
8700
|
*/
|
|
8630
|
-
_cdRefInjectingView?: ɵ
|
|
8701
|
+
_cdRefInjectingView?: ɵangular_packages_core_core_ca | undefined);
|
|
8631
8702
|
get context(): T;
|
|
8632
8703
|
get destroyed(): boolean;
|
|
8633
8704
|
destroy(): void;
|
|
@@ -8916,15 +8987,26 @@ export declare function ɵangular_packages_core_core_b<T>(token: Type<T> | Abstr
|
|
|
8916
8987
|
|
|
8917
8988
|
export declare function ɵangular_packages_core_core_b<T>(token: Type<T> | AbstractType<T> | InjectionToken<T>, flags?: InjectFlags): T | null;
|
|
8918
8989
|
|
|
8990
|
+
/**
|
|
8991
|
+
* Schedule work at next available slot.
|
|
8992
|
+
*
|
|
8993
|
+
* In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped
|
|
8994
|
+
* using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.
|
|
8995
|
+
* This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.
|
|
8996
|
+
*
|
|
8997
|
+
* @param ngZone NgZone to use for scheduling.
|
|
8998
|
+
*/
|
|
8999
|
+
export declare function ɵangular_packages_core_core_ba(ngZone: NgZone): (fn: () => void) => void;
|
|
9000
|
+
|
|
8919
9001
|
/**
|
|
8920
9002
|
* USD currency code that the application uses by default for CurrencyPipe when no
|
|
8921
9003
|
* DEFAULT_CURRENCY_CODE is provided.
|
|
8922
9004
|
*/
|
|
8923
|
-
export declare const ɵ
|
|
9005
|
+
export declare const ɵangular_packages_core_core_bb = "USD";
|
|
8924
9006
|
|
|
8925
|
-
export declare function ɵ
|
|
9007
|
+
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;
|
|
8926
9008
|
|
|
8927
|
-
export declare abstract class ɵ
|
|
9009
|
+
export declare abstract class ɵangular_packages_core_core_bd {
|
|
8928
9010
|
abstract get view(): ViewData;
|
|
8929
9011
|
abstract get nodeIndex(): number | null;
|
|
8930
9012
|
abstract get injector(): Injector;
|
|
@@ -8939,13 +9021,13 @@ export declare abstract class ɵangular_packages_core_core_bc {
|
|
|
8939
9021
|
abstract logError(console: Console, ...values: any[]): void;
|
|
8940
9022
|
}
|
|
8941
9023
|
|
|
8942
|
-
export declare function ɵ
|
|
9024
|
+
export declare function ɵangular_packages_core_core_be<T>(definition: ɵDirectiveDef<T>): typeof rememberChangeHistoryAndInvokeOnChangesHook;
|
|
8943
9025
|
|
|
8944
9026
|
/**
|
|
8945
9027
|
* A change detection scheduler token for {@link RootContext}. This token is the default value used
|
|
8946
9028
|
* for the default `RootContext` found in the {@link ROOT_CONTEXT} token.
|
|
8947
9029
|
*/
|
|
8948
|
-
export declare const ɵ
|
|
9030
|
+
export declare const ɵangular_packages_core_core_bf: InjectionToken<(fn: () => void) => void>;
|
|
8949
9031
|
|
|
8950
9032
|
/**
|
|
8951
9033
|
* Inject static attribute value into directive constructor.
|
|
@@ -8978,28 +9060,28 @@ export declare const ɵangular_packages_core_core_be: InjectionToken<(fn: () =>
|
|
|
8978
9060
|
*
|
|
8979
9061
|
* @publicApi
|
|
8980
9062
|
*/
|
|
8981
|
-
export declare function ɵ
|
|
9063
|
+
export declare function ɵangular_packages_core_core_bg(tNode: TNode, attrNameToInject: string): string | null;
|
|
8982
9064
|
|
|
8983
9065
|
/**
|
|
8984
9066
|
* Return the current `LView`.
|
|
8985
9067
|
*/
|
|
8986
|
-
export declare function ɵ
|
|
9068
|
+
export declare function ɵangular_packages_core_core_bh(): ɵangular_packages_core_core_ca;
|
|
8987
9069
|
|
|
8988
|
-
export declare function ɵ
|
|
9070
|
+
export declare function ɵangular_packages_core_core_bi(): number;
|
|
8989
9071
|
|
|
8990
|
-
export declare function ɵ
|
|
9072
|
+
export declare function ɵangular_packages_core_core_bj<T = any>(level: number): T;
|
|
8991
9073
|
|
|
8992
9074
|
/** Static data for an element */
|
|
8993
|
-
export declare interface ɵ
|
|
9075
|
+
export declare interface ɵangular_packages_core_core_bk extends TNode {
|
|
8994
9076
|
/** Index in the data[] array */
|
|
8995
9077
|
index: number;
|
|
8996
|
-
child: ɵ
|
|
9078
|
+
child: ɵangular_packages_core_core_bk | TTextNode | TElementContainerNode | TContainerNode | TProjectionNode | null;
|
|
8997
9079
|
/**
|
|
8998
9080
|
* Element nodes will have parents unless they are the first node of a component or
|
|
8999
9081
|
* embedded view (which means their parent is in a different view and must be
|
|
9000
9082
|
* retrieved using viewData[HOST_NODE]).
|
|
9001
9083
|
*/
|
|
9002
|
-
parent: ɵ
|
|
9084
|
+
parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
|
|
9003
9085
|
tViews: null;
|
|
9004
9086
|
/**
|
|
9005
9087
|
* If this is a component TNode with projection, this will be an array of projected
|
|
@@ -9025,7 +9107,7 @@ export declare interface ɵangular_packages_core_core_bj extends TNode {
|
|
|
9025
9107
|
* @param thisArg Optional calling context of pureFn
|
|
9026
9108
|
* @returns Updated or cached value
|
|
9027
9109
|
*/
|
|
9028
|
-
export declare function ɵ
|
|
9110
|
+
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;
|
|
9029
9111
|
|
|
9030
9112
|
/**
|
|
9031
9113
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
@@ -9040,7 +9122,7 @@ export declare function ɵangular_packages_core_core_bk(lView: ɵangular_package
|
|
|
9040
9122
|
* @param thisArg Optional calling context of pureFn
|
|
9041
9123
|
* @returns Updated or cached value
|
|
9042
9124
|
*/
|
|
9043
|
-
export declare function ɵ
|
|
9125
|
+
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;
|
|
9044
9126
|
|
|
9045
9127
|
/**
|
|
9046
9128
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
@@ -9056,7 +9138,7 @@ export declare function ɵangular_packages_core_core_bl(lView: ɵangular_package
|
|
|
9056
9138
|
* @param thisArg Optional calling context of pureFn
|
|
9057
9139
|
* @returns Updated or cached value
|
|
9058
9140
|
*/
|
|
9059
|
-
export declare function ɵ
|
|
9141
|
+
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;
|
|
9060
9142
|
|
|
9061
9143
|
/**
|
|
9062
9144
|
* If the value of any provided exp has changed, calls the pure function to return
|
|
@@ -9074,7 +9156,7 @@ export declare function ɵangular_packages_core_core_bm(lView: ɵangular_package
|
|
|
9074
9156
|
* @returns Updated or cached value
|
|
9075
9157
|
*
|
|
9076
9158
|
*/
|
|
9077
|
-
export declare function ɵ
|
|
9159
|
+
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;
|
|
9078
9160
|
|
|
9079
9161
|
/**
|
|
9080
9162
|
* pureFunction instruction that can support any number of bindings.
|
|
@@ -9091,7 +9173,7 @@ export declare function ɵangular_packages_core_core_bn(lView: ɵangular_package
|
|
|
9091
9173
|
* @param thisArg Optional calling context of pureFn
|
|
9092
9174
|
* @returns Updated or cached value
|
|
9093
9175
|
*/
|
|
9094
|
-
export declare function ɵ
|
|
9176
|
+
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;
|
|
9095
9177
|
|
|
9096
9178
|
/**
|
|
9097
9179
|
* Detects which sanitizer to use for URL property, based on tag name and prop name.
|
|
@@ -9100,20 +9182,54 @@ export declare function ɵangular_packages_core_core_bo(lView: ɵangular_package
|
|
|
9100
9182
|
* `packages/compiler/src/schema/dom_security_schema.ts`.
|
|
9101
9183
|
* If tag and prop names don't match Resource URL schema, use URL sanitizer.
|
|
9102
9184
|
*/
|
|
9103
|
-
export declare function ɵ
|
|
9185
|
+
export declare function ɵangular_packages_core_core_bq(tag: string, prop: string): typeof ɵɵsanitizeResourceUrl;
|
|
9104
9186
|
|
|
9105
|
-
export declare function ɵ
|
|
9187
|
+
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;
|
|
9106
9188
|
|
|
9107
|
-
export declare function ɵ
|
|
9189
|
+
export declare function ɵangular_packages_core_core_bs(name: string, props?: (...args: any[]) => any, parentClass?: any): any;
|
|
9108
9190
|
|
|
9109
9191
|
|
|
9110
|
-
|
|
9192
|
+
/**
|
|
9193
|
+
* Special flag indicating that a decorator is of type `Inject`. It's used to make `Inject`
|
|
9194
|
+
* decorator tree-shakable (so we don't have to rely on the `instanceof` checks).
|
|
9195
|
+
* Note: this flag is not included into the `InjectFlags` since it's an internal-only API.
|
|
9196
|
+
*/
|
|
9197
|
+
export declare const enum ɵangular_packages_core_core_bt {
|
|
9198
|
+
Inject = -1
|
|
9199
|
+
}
|
|
9111
9200
|
|
|
9112
|
-
|
|
9201
|
+
/**
|
|
9202
|
+
* This enum is an exact copy of the `InjectFlags` enum above, but the difference is that this is a
|
|
9203
|
+
* const enum, so actual enum values would be inlined in generated code. The `InjectFlags` enum can
|
|
9204
|
+
* be turned into a const enum when ViewEngine is removed (see TODO at the `InjectFlags` enum
|
|
9205
|
+
* above). The benefit of inlining is that we can use these flags at the top level without affecting
|
|
9206
|
+
* tree-shaking (see "no-toplevel-property-access" tslint rule for more info).
|
|
9207
|
+
* Keep this enum in sync with `InjectFlags` enum above.
|
|
9208
|
+
*/
|
|
9209
|
+
export declare const enum ɵangular_packages_core_core_bu {
|
|
9210
|
+
/** Check self and check parent injector if needed */
|
|
9211
|
+
Default = 0,
|
|
9212
|
+
/**
|
|
9213
|
+
* Specifies that an injector should retrieve a dependency from any injector until reaching the
|
|
9214
|
+
* host element of the current component. (Only used with Element Injector)
|
|
9215
|
+
*/
|
|
9216
|
+
Host = 1,
|
|
9217
|
+
/** Don't ascend to ancestors of the node requesting injection. */
|
|
9218
|
+
Self = 2,
|
|
9219
|
+
/** Skip the node that is requesting injection. */
|
|
9220
|
+
SkipSelf = 4,
|
|
9221
|
+
/** Inject `defaultValue` instead if token not found. */
|
|
9222
|
+
Optional = 8
|
|
9223
|
+
}
|
|
9224
|
+
|
|
9225
|
+
|
|
9226
|
+
export declare function ɵangular_packages_core_core_bv<T>(objWithPropertyToExtract: T): string;
|
|
9227
|
+
|
|
9228
|
+
export declare class ɵangular_packages_core_core_bw implements Injector {
|
|
9113
9229
|
get(token: any, notFoundValue?: any): any;
|
|
9114
9230
|
}
|
|
9115
9231
|
|
|
9116
|
-
export declare function ɵ
|
|
9232
|
+
export declare function ɵangular_packages_core_core_bx(): (<T>(token: Type<T> | AbstractType<T> | InjectionToken<T>, flags?: InjectFlags | undefined) => T | null) | undefined;
|
|
9117
9233
|
|
|
9118
9234
|
|
|
9119
9235
|
/**
|
|
@@ -9126,7 +9242,7 @@ export declare function ɵangular_packages_core_core_bu(): (<T>(token: Type<T> |
|
|
|
9126
9242
|
* NOTE: the numbers here must be negative, because positive numbers are used as IDs for bloom
|
|
9127
9243
|
* filter.
|
|
9128
9244
|
*/
|
|
9129
|
-
export declare const enum ɵ
|
|
9245
|
+
export declare const enum ɵangular_packages_core_core_by {
|
|
9130
9246
|
/**
|
|
9131
9247
|
* Marks that the current type is `Injector`
|
|
9132
9248
|
*/
|
|
@@ -9141,7 +9257,19 @@ export declare const enum ɵangular_packages_core_core_bv {
|
|
|
9141
9257
|
* @param tNode
|
|
9142
9258
|
* @param lView
|
|
9143
9259
|
*/
|
|
9144
|
-
export declare function ɵ
|
|
9260
|
+
export declare function ɵangular_packages_core_core_bz(tNode: TNode, lView: ɵangular_packages_core_core_ca): RNode;
|
|
9261
|
+
|
|
9262
|
+
/**
|
|
9263
|
+
* Attaches a given InjectFlag to a given decorator using monkey-patching.
|
|
9264
|
+
* Since DI decorators can be used in providers `deps` array (when provider is configured using
|
|
9265
|
+
* `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we
|
|
9266
|
+
* attach the flag to make it available both as a static property and as a field on decorator
|
|
9267
|
+
* instance.
|
|
9268
|
+
*
|
|
9269
|
+
* @param decorator Provided DI decorator.
|
|
9270
|
+
* @param flag InjectFlag that should be applied.
|
|
9271
|
+
*/
|
|
9272
|
+
export declare function ɵangular_packages_core_core_c(decorator: any, flag: ɵangular_packages_core_core_bu | ɵangular_packages_core_core_bt): any;
|
|
9145
9273
|
|
|
9146
9274
|
/**
|
|
9147
9275
|
* `LView` stores all of the information needed to process the instructions as
|
|
@@ -9153,7 +9281,7 @@ export declare function ɵangular_packages_core_core_bw(tNode: TNode, lView: ɵa
|
|
|
9153
9281
|
* Keeping separate state for each view facilities view insertion / deletion, so we
|
|
9154
9282
|
* don't have to edit the data array based on which views are present.
|
|
9155
9283
|
*/
|
|
9156
|
-
export declare interface ɵ
|
|
9284
|
+
export declare interface ɵangular_packages_core_core_ca extends Array<any> {
|
|
9157
9285
|
/**
|
|
9158
9286
|
* Human readable representation of the `LView`.
|
|
9159
9287
|
*
|
|
@@ -9183,7 +9311,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9183
9311
|
*
|
|
9184
9312
|
* `LContainer` - The current view is part of a container, and is an embedded view.
|
|
9185
9313
|
*/
|
|
9186
|
-
[PARENT]: ɵ
|
|
9314
|
+
[PARENT]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9187
9315
|
/**
|
|
9188
9316
|
*
|
|
9189
9317
|
* The next sibling LView or LContainer.
|
|
@@ -9193,7 +9321,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9193
9321
|
* views in the same container. We need a way to link component views and views
|
|
9194
9322
|
* across containers as well.
|
|
9195
9323
|
*/
|
|
9196
|
-
[NEXT]: ɵ
|
|
9324
|
+
[NEXT]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9197
9325
|
/** Queries active for this view - nodes from a view are reported to those queries. */
|
|
9198
9326
|
[QUERIES]: LQueries | null;
|
|
9199
9327
|
/**
|
|
@@ -9262,14 +9390,14 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9262
9390
|
* Necessary to store this so views can traverse through their nested views
|
|
9263
9391
|
* to remove listeners and call onDestroy callbacks.
|
|
9264
9392
|
*/
|
|
9265
|
-
[CHILD_HEAD]: ɵ
|
|
9393
|
+
[CHILD_HEAD]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9266
9394
|
/**
|
|
9267
9395
|
* The last LView or LContainer beneath this LView in the hierarchy.
|
|
9268
9396
|
*
|
|
9269
9397
|
* The tail allows us to quickly add a new state to the end of the view list
|
|
9270
9398
|
* without having to propagate starting from the first child.
|
|
9271
9399
|
*/
|
|
9272
|
-
[CHILD_TAIL]: ɵ
|
|
9400
|
+
[CHILD_TAIL]: ɵangular_packages_core_core_ca | LContainer | null;
|
|
9273
9401
|
/**
|
|
9274
9402
|
* View where this view's template was declared.
|
|
9275
9403
|
*
|
|
@@ -9292,7 +9420,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9292
9420
|
* template function during change detection, we need the declaration view to get inherited
|
|
9293
9421
|
* context.
|
|
9294
9422
|
*/
|
|
9295
|
-
[DECLARATION_VIEW]: ɵ
|
|
9423
|
+
[DECLARATION_VIEW]: ɵangular_packages_core_core_ca | null;
|
|
9296
9424
|
/**
|
|
9297
9425
|
* Points to the declaration component view, used to track transplanted `LView`s.
|
|
9298
9426
|
*
|
|
@@ -9362,7 +9490,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9362
9490
|
* - `LView[DECLARATION_LCONTAINER]` similar problem for queries
|
|
9363
9491
|
* - `LContainer[MOVED_VIEWS]` similar problem for queries
|
|
9364
9492
|
*/
|
|
9365
|
-
[DECLARATION_COMPONENT_VIEW]: ɵ
|
|
9493
|
+
[DECLARATION_COMPONENT_VIEW]: ɵangular_packages_core_core_ca;
|
|
9366
9494
|
/**
|
|
9367
9495
|
* A declaration point of embedded views (ones instantiated based on the content of a
|
|
9368
9496
|
* <ng-template>), null for other types of views.
|
|
@@ -9392,7 +9520,7 @@ export declare interface ɵangular_packages_core_core_bx extends Array<any> {
|
|
|
9392
9520
|
*
|
|
9393
9521
|
* @param viewOrComponent the `LView` or component to get the root context for.
|
|
9394
9522
|
*/
|
|
9395
|
-
export declare function ɵ
|
|
9523
|
+
export declare function ɵangular_packages_core_core_cb(viewOrComponent: ɵangular_packages_core_core_ca | {}): RootContext;
|
|
9396
9524
|
|
|
9397
9525
|
|
|
9398
9526
|
/**
|
|
@@ -9415,11 +9543,11 @@ export declare function ɵangular_packages_core_core_by(viewOrComponent: ɵangul
|
|
|
9415
9543
|
*
|
|
9416
9544
|
* @codeGenApi
|
|
9417
9545
|
*/
|
|
9418
|
-
export declare function ɵ
|
|
9546
|
+
export declare function ɵangular_packages_core_core_cc(message: string, replacements?: {
|
|
9419
9547
|
[key: string]: (string | string[]);
|
|
9420
9548
|
}): string;
|
|
9421
9549
|
|
|
9422
|
-
export declare class ɵ
|
|
9550
|
+
export declare class ɵangular_packages_core_core_d implements ReflectiveInjector {
|
|
9423
9551
|
private static INJECTOR_KEY;
|
|
9424
9552
|
readonly parent: Injector | null;
|
|
9425
9553
|
keyIds: number[];
|
|
@@ -9448,30 +9576,30 @@ export declare class ɵangular_packages_core_core_c implements ReflectiveInjecto
|
|
|
9448
9576
|
* `Dependency` is used by the framework to extend DI.
|
|
9449
9577
|
* This is internal to Angular and should not be used directly.
|
|
9450
9578
|
*/
|
|
9451
|
-
export declare class ɵ
|
|
9579
|
+
export declare class ɵangular_packages_core_core_e {
|
|
9452
9580
|
key: ReflectiveKey;
|
|
9453
9581
|
optional: boolean;
|
|
9454
9582
|
visibility: Self | SkipSelf | null;
|
|
9455
9583
|
constructor(key: ReflectiveKey, optional: boolean, visibility: Self | SkipSelf | null);
|
|
9456
|
-
static fromKey(key: ReflectiveKey): ɵ
|
|
9584
|
+
static fromKey(key: ReflectiveKey): ɵangular_packages_core_core_e;
|
|
9457
9585
|
}
|
|
9458
9586
|
|
|
9459
9587
|
/**
|
|
9460
9588
|
* Resolve a list of Providers.
|
|
9461
9589
|
*/
|
|
9462
|
-
export declare function ɵ
|
|
9590
|
+
export declare function ɵangular_packages_core_core_f(providers: Provider[]): ResolvedReflectiveProvider[];
|
|
9463
9591
|
|
|
9464
|
-
export declare function ɵ
|
|
9592
|
+
export declare function ɵangular_packages_core_core_g(): string;
|
|
9465
9593
|
|
|
9466
9594
|
/** Injects a Renderer2 for the current component. */
|
|
9467
|
-
export declare function ɵ
|
|
9595
|
+
export declare function ɵangular_packages_core_core_h(): Renderer2;
|
|
9468
9596
|
|
|
9469
9597
|
/**
|
|
9470
9598
|
* Creates an ElementRef from the most recent node.
|
|
9471
9599
|
*
|
|
9472
9600
|
* @returns The ElementRef instance to use
|
|
9473
9601
|
*/
|
|
9474
|
-
export declare function ɵ
|
|
9602
|
+
export declare function ɵangular_packages_core_core_i(): ElementRef;
|
|
9475
9603
|
|
|
9476
9604
|
/**
|
|
9477
9605
|
* Creates an ElementRef given a node.
|
|
@@ -9480,16 +9608,16 @@ export declare function ɵangular_packages_core_core_h(): ElementRef;
|
|
|
9480
9608
|
* @param lView The view to which the node belongs
|
|
9481
9609
|
* @returns The ElementRef instance to use
|
|
9482
9610
|
*/
|
|
9483
|
-
export declare function ɵ
|
|
9611
|
+
export declare function ɵangular_packages_core_core_j(tNode: TNode, lView: ɵangular_packages_core_core_ca): ElementRef;
|
|
9484
9612
|
|
|
9485
|
-
export declare function ɵ
|
|
9613
|
+
export declare function ɵangular_packages_core_core_k(id: string): NgModuleFactory<any>;
|
|
9486
9614
|
|
|
9487
9615
|
/**
|
|
9488
9616
|
* Creates a TemplateRef given a node.
|
|
9489
9617
|
*
|
|
9490
9618
|
* @returns The TemplateRef instance to use
|
|
9491
9619
|
*/
|
|
9492
|
-
export declare function ɵ
|
|
9620
|
+
export declare function ɵangular_packages_core_core_l<T>(): TemplateRef<T> | null;
|
|
9493
9621
|
|
|
9494
9622
|
/**
|
|
9495
9623
|
* Creates a TemplateRef and stores it on the injector.
|
|
@@ -9498,7 +9626,7 @@ export declare function ɵangular_packages_core_core_k<T>(): TemplateRef<T> | nu
|
|
|
9498
9626
|
* @param hostLView The `LView` to which the node belongs
|
|
9499
9627
|
* @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type
|
|
9500
9628
|
*/
|
|
9501
|
-
export declare function ɵ
|
|
9629
|
+
export declare function ɵangular_packages_core_core_m<T>(hostTNode: TNode, hostLView: ɵangular_packages_core_core_ca): TemplateRef<T> | null;
|
|
9502
9630
|
|
|
9503
9631
|
/**
|
|
9504
9632
|
* Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
|
|
@@ -9506,14 +9634,14 @@ export declare function ɵangular_packages_core_core_l<T>(hostTNode: TNode, host
|
|
|
9506
9634
|
*
|
|
9507
9635
|
* @returns The ViewContainerRef instance to use
|
|
9508
9636
|
*/
|
|
9509
|
-
export declare function ɵ
|
|
9637
|
+
export declare function ɵangular_packages_core_core_n(): ViewContainerRef;
|
|
9510
9638
|
|
|
9511
|
-
export declare class ɵ
|
|
9639
|
+
export declare class ɵangular_packages_core_core_o {
|
|
9512
9640
|
readonly listeners: DebugEventListener[];
|
|
9513
9641
|
readonly parent: DebugElement | null;
|
|
9514
9642
|
readonly nativeNode: any;
|
|
9515
9643
|
private readonly _debugContext;
|
|
9516
|
-
constructor(nativeNode: any, parent: DebugNode | null, _debugContext: ɵ
|
|
9644
|
+
constructor(nativeNode: any, parent: DebugNode | null, _debugContext: ɵangular_packages_core_core_bd);
|
|
9517
9645
|
get injector(): Injector;
|
|
9518
9646
|
get componentInstance(): any;
|
|
9519
9647
|
get context(): any;
|
|
@@ -9523,7 +9651,7 @@ export declare class ɵangular_packages_core_core_n {
|
|
|
9523
9651
|
get providerTokens(): any[];
|
|
9524
9652
|
}
|
|
9525
9653
|
|
|
9526
|
-
export declare class ɵ
|
|
9654
|
+
export declare class ɵangular_packages_core_core_p extends ɵangular_packages_core_core_o implements DebugElement {
|
|
9527
9655
|
readonly name: string;
|
|
9528
9656
|
readonly properties: {
|
|
9529
9657
|
[key: string]: any;
|
|
@@ -9539,7 +9667,7 @@ export declare class ɵangular_packages_core_core_o extends ɵangular_packages_c
|
|
|
9539
9667
|
};
|
|
9540
9668
|
readonly childNodes: DebugNode[];
|
|
9541
9669
|
readonly nativeElement: any;
|
|
9542
|
-
constructor(nativeNode: any, parent: any, _debugContext: ɵ
|
|
9670
|
+
constructor(nativeNode: any, parent: any, _debugContext: ɵangular_packages_core_core_bd);
|
|
9543
9671
|
addChild(child: DebugNode): void;
|
|
9544
9672
|
removeChild(child: DebugNode): void;
|
|
9545
9673
|
insertChildrenAfter(child: DebugNode, newChildren: DebugNode[]): void;
|
|
@@ -9551,49 +9679,38 @@ export declare class ɵangular_packages_core_core_o extends ɵangular_packages_c
|
|
|
9551
9679
|
triggerEventHandler(eventName: string, eventObj: any): void;
|
|
9552
9680
|
}
|
|
9553
9681
|
|
|
9554
|
-
export declare function ɵ
|
|
9682
|
+
export declare function ɵangular_packages_core_core_q(nativeNode: any): DebugNode | null;
|
|
9555
9683
|
|
|
9556
9684
|
/** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
|
|
9557
|
-
export declare function ɵ
|
|
9685
|
+
export declare function ɵangular_packages_core_core_r(isPipe?: boolean): ChangeDetectorRef;
|
|
9558
9686
|
|
|
9559
|
-
export declare class ɵ
|
|
9687
|
+
export declare class ɵangular_packages_core_core_s implements IterableDifferFactory {
|
|
9560
9688
|
constructor();
|
|
9561
9689
|
supports(obj: Object | null | undefined): boolean;
|
|
9562
9690
|
create<V>(trackByFn?: TrackByFunction<V>): DefaultIterableDiffer<V>;
|
|
9563
9691
|
}
|
|
9564
9692
|
|
|
9565
|
-
export declare class ɵ
|
|
9693
|
+
export declare class ɵangular_packages_core_core_t<K, V> implements KeyValueDifferFactory {
|
|
9566
9694
|
constructor();
|
|
9567
9695
|
supports(obj: any): boolean;
|
|
9568
9696
|
create<K, V>(): KeyValueDiffer<K, V>;
|
|
9569
9697
|
}
|
|
9570
9698
|
|
|
9571
|
-
export declare function ɵ
|
|
9699
|
+
export declare function ɵangular_packages_core_core_u(): IterableDiffers;
|
|
9572
9700
|
|
|
9573
|
-
export declare function ɵ
|
|
9701
|
+
export declare function ɵangular_packages_core_core_v(): KeyValueDiffers;
|
|
9574
9702
|
|
|
9575
|
-
export declare function ɵ
|
|
9703
|
+
export declare function ɵangular_packages_core_core_w(): IterableDiffers;
|
|
9576
9704
|
|
|
9577
|
-
export declare function ɵ
|
|
9705
|
+
export declare function ɵangular_packages_core_core_x(): KeyValueDiffers;
|
|
9578
9706
|
|
|
9579
|
-
export declare function ɵ
|
|
9707
|
+
export declare function ɵangular_packages_core_core_y(locale?: string): string;
|
|
9580
9708
|
|
|
9581
9709
|
/**
|
|
9582
9710
|
* A built-in [dependency injection token](guide/glossary#di-token)
|
|
9583
9711
|
* that is used to configure the root injector for bootstrapping.
|
|
9584
9712
|
*/
|
|
9585
|
-
export declare const ɵ
|
|
9586
|
-
|
|
9587
|
-
/**
|
|
9588
|
-
* Schedule work at next available slot.
|
|
9589
|
-
*
|
|
9590
|
-
* In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped
|
|
9591
|
-
* using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.
|
|
9592
|
-
* This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.
|
|
9593
|
-
*
|
|
9594
|
-
* @param ngZone NgZone to use for scheduling.
|
|
9595
|
-
*/
|
|
9596
|
-
export declare function ɵangular_packages_core_core_z(ngZone: NgZone): (fn: () => void) => void;
|
|
9713
|
+
export declare const ɵangular_packages_core_core_z: StaticProvider[];
|
|
9597
9714
|
|
|
9598
9715
|
/**
|
|
9599
9716
|
* Providers that generate a random `APP_ID_TOKEN`.
|
|
@@ -9601,7 +9718,7 @@ export declare function ɵangular_packages_core_core_z(ngZone: NgZone): (fn: ()
|
|
|
9601
9718
|
*/
|
|
9602
9719
|
export declare const ɵAPP_ID_RANDOM_PROVIDER: {
|
|
9603
9720
|
provide: InjectionToken<string>;
|
|
9604
|
-
useFactory: typeof ɵ
|
|
9721
|
+
useFactory: typeof ɵangular_packages_core_core_g;
|
|
9605
9722
|
deps: any[];
|
|
9606
9723
|
};
|
|
9607
9724
|
|
|
@@ -10434,7 +10551,7 @@ export declare interface ɵLContext {
|
|
|
10434
10551
|
/**
|
|
10435
10552
|
* The component's parent view data.
|
|
10436
10553
|
*/
|
|
10437
|
-
lView: ɵ
|
|
10554
|
+
lView: ɵangular_packages_core_core_ca;
|
|
10438
10555
|
/**
|
|
10439
10556
|
* The index instance of the node.
|
|
10440
10557
|
*/
|
|
@@ -10669,6 +10786,7 @@ export declare const enum ɵNodeFlags {
|
|
|
10669
10786
|
StaticQuery = 268435456,
|
|
10670
10787
|
DynamicQuery = 536870912,
|
|
10671
10788
|
TypeNgModule = 1073741824,
|
|
10789
|
+
EmitDistinctChangesOnly = -2147483648,
|
|
10672
10790
|
CatQuery = 201326592,
|
|
10673
10791
|
Types = 201347067
|
|
10674
10792
|
}
|
|
@@ -10946,7 +11064,7 @@ export declare class ɵRender3ComponentRef<T> extends ComponentRef<T> {
|
|
|
10946
11064
|
hostView: ViewRef_2<T>;
|
|
10947
11065
|
changeDetectorRef: ChangeDetectorRef;
|
|
10948
11066
|
componentType: Type<T>;
|
|
10949
|
-
constructor(componentType: Type<T>, instance: T, location: ElementRef, _rootLView: ɵ
|
|
11067
|
+
constructor(componentType: Type<T>, instance: T, location: ElementRef, _rootLView: ɵangular_packages_core_core_ca, _tNode: ɵangular_packages_core_core_bk | TContainerNode | TElementContainerNode);
|
|
10950
11068
|
get injector(): Injector;
|
|
10951
11069
|
destroy(): void;
|
|
10952
11070
|
onDestroy(callback: () => void): void;
|
|
@@ -11121,13 +11239,13 @@ export declare function ɵsetLocaleId(localeId: string): void;
|
|
|
11121
11239
|
export declare type ɵSetterFn = (obj: any, value: any) => void;
|
|
11122
11240
|
|
|
11123
11241
|
/** Store a value in the `data` at a given `index`. */
|
|
11124
|
-
export declare function ɵstore<T>(tView: TView, lView: ɵ
|
|
11242
|
+
export declare function ɵstore<T>(tView: TView, lView: ɵangular_packages_core_core_ca, index: number, value: T): void;
|
|
11125
11243
|
|
|
11126
11244
|
|
|
11127
11245
|
export declare function ɵstringify(token: any): string;
|
|
11128
11246
|
|
|
11129
11247
|
|
|
11130
|
-
export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11248
|
+
export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_r;
|
|
11131
11249
|
|
|
11132
11250
|
export declare const ɵSWITCH_COMPILE_COMPONENT__POST_R3__: typeof ɵcompileComponent;
|
|
11133
11251
|
|
|
@@ -11139,16 +11257,16 @@ export declare const ɵSWITCH_COMPILE_NGMODULE__POST_R3__: typeof ɵcompileNgMod
|
|
|
11139
11257
|
|
|
11140
11258
|
export declare const ɵSWITCH_COMPILE_PIPE__POST_R3__: typeof ɵcompilePipe;
|
|
11141
11259
|
|
|
11142
|
-
export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11260
|
+
export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_i;
|
|
11143
11261
|
|
|
11144
11262
|
|
|
11145
11263
|
export declare const ɵSWITCH_IVY_ENABLED__POST_R3__ = true;
|
|
11146
11264
|
|
|
11147
|
-
export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof ɵ
|
|
11265
|
+
export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_h;
|
|
11148
11266
|
|
|
11149
|
-
export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11267
|
+
export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_l;
|
|
11150
11268
|
|
|
11151
|
-
export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof ɵ
|
|
11269
|
+
export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_n;
|
|
11152
11270
|
|
|
11153
11271
|
export declare function ɵted(checkIndex: number, ngContentIndex: number | null, staticText: string[]): NodeDef;
|
|
11154
11272
|
|
|
@@ -11890,13 +12008,13 @@ export declare type ɵɵComponentDefWithMeta<T, Selector extends String, ExportA
|
|
|
11890
12008
|
*
|
|
11891
12009
|
* @param directiveIndex Current directive index
|
|
11892
12010
|
* @param predicate The type for which the query will search
|
|
11893
|
-
* @param
|
|
12011
|
+
* @param flags Flags associated with the query
|
|
11894
12012
|
* @param read What to save in the query
|
|
11895
12013
|
* @returns QueryList<T>
|
|
11896
12014
|
*
|
|
11897
12015
|
* @codeGenApi
|
|
11898
12016
|
*/
|
|
11899
|
-
export declare function ɵɵcontentQuery<T>(directiveIndex: number, predicate: Type<any> | InjectionToken<unknown> | string[],
|
|
12017
|
+
export declare function ɵɵcontentQuery<T>(directiveIndex: number, predicate: Type<any> | InjectionToken<unknown> | string[], flags: QueryFlags, read?: any): void;
|
|
11900
12018
|
|
|
11901
12019
|
/**
|
|
11902
12020
|
* Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a
|
|
@@ -13872,31 +13990,6 @@ export declare function ɵɵsetNgModuleScope(type: any, scope: {
|
|
|
13872
13990
|
exports?: Type<any>[] | (() => Type<any>[]);
|
|
13873
13991
|
}): void;
|
|
13874
13992
|
|
|
13875
|
-
/**
|
|
13876
|
-
* Registers a QueryList, associated with a static content query, for later refresh
|
|
13877
|
-
* (part of a view refresh).
|
|
13878
|
-
*
|
|
13879
|
-
* @param directiveIndex Current directive index
|
|
13880
|
-
* @param predicate The type for which the query will search
|
|
13881
|
-
* @param descend Whether or not to descend into children
|
|
13882
|
-
* @param read What to save in the query
|
|
13883
|
-
* @returns QueryList<T>
|
|
13884
|
-
*
|
|
13885
|
-
* @codeGenApi
|
|
13886
|
-
*/
|
|
13887
|
-
export declare function ɵɵstaticContentQuery<T>(directiveIndex: number, predicate: Type<any> | InjectionToken<unknown> | string[], descend: boolean, read?: any): void;
|
|
13888
|
-
|
|
13889
|
-
/**
|
|
13890
|
-
* Creates new QueryList for a static view query.
|
|
13891
|
-
*
|
|
13892
|
-
* @param predicate The type for which the query will search
|
|
13893
|
-
* @param descend Whether or not to descend into children
|
|
13894
|
-
* @param read What to save in the query
|
|
13895
|
-
*
|
|
13896
|
-
* @codeGenApi
|
|
13897
|
-
*/
|
|
13898
|
-
export declare function ɵɵstaticViewQuery<T>(predicate: Type<any> | InjectionToken<unknown> | string[], descend: boolean, read?: any): void;
|
|
13899
|
-
|
|
13900
13993
|
/**
|
|
13901
13994
|
* Update style bindings using an object literal on an element.
|
|
13902
13995
|
*
|
|
@@ -14608,7 +14701,7 @@ export declare function ɵɵtemplate(index: number, templateFn: ComponentTemplat
|
|
|
14608
14701
|
*
|
|
14609
14702
|
* @codeGenApi
|
|
14610
14703
|
*/
|
|
14611
|
-
export declare function ɵɵtemplateRefExtractor(tNode: TNode, lView: ɵ
|
|
14704
|
+
export declare function ɵɵtemplateRefExtractor(tNode: TNode, lView: ɵangular_packages_core_core_ca): TemplateRef<any> | null;
|
|
14612
14705
|
|
|
14613
14706
|
/**
|
|
14614
14707
|
* Create static text node
|
|
@@ -14878,11 +14971,11 @@ export declare function ɵɵtrustConstantResourceUrl(url: TemplateStringsArray):
|
|
|
14878
14971
|
* Creates new QueryList, stores the reference in LView and returns QueryList.
|
|
14879
14972
|
*
|
|
14880
14973
|
* @param predicate The type for which the query will search
|
|
14881
|
-
* @param
|
|
14974
|
+
* @param flags Flags associated with the query
|
|
14882
14975
|
* @param read What to save in the query
|
|
14883
14976
|
*
|
|
14884
14977
|
* @codeGenApi
|
|
14885
14978
|
*/
|
|
14886
|
-
export declare function ɵɵviewQuery<T>(predicate: Type<any> | InjectionToken<unknown> | string[],
|
|
14979
|
+
export declare function ɵɵviewQuery<T>(predicate: Type<any> | InjectionToken<unknown> | string[], flags: QueryFlags, read?: any): void;
|
|
14887
14980
|
|
|
14888
14981
|
export { }
|