@angular/core 8.0.0-rc.3 → 8.0.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 +1 -24
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +13 -13
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +123 -93
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +116 -131
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +32 -15
- package/core.metadata.json +1 -1
- package/esm2015/src/core_private_export.js +1 -1
- package/esm2015/src/di/injectable.js +1 -1
- package/esm2015/src/di/injector.js +3 -5
- package/esm2015/src/di/interface/defs.js +2 -2
- package/esm2015/src/di/jit/injectable.js +2 -2
- package/esm2015/src/metadata/di.js +1 -1
- package/esm2015/src/profile/profile.js +5 -1
- package/esm2015/src/profile/wtf_impl.js +2 -1
- package/esm2015/src/render3/component_ref.js +2 -4
- package/esm2015/src/render3/empty.js +5 -1
- package/esm2015/src/render3/index.js +1 -1
- package/esm2015/src/render3/instructions/all.js +2 -2
- package/esm2015/src/render3/instructions/projection.js +52 -13
- package/esm2015/src/render3/instructions/shared.js +7 -2
- package/esm2015/src/render3/interfaces/injector.js +3 -4
- package/esm2015/src/render3/interfaces/projection.js +1 -1
- package/esm2015/src/render3/jit/directive.js +2 -2
- package/esm2015/src/render3/jit/environment.js +13 -8
- package/esm2015/src/render3/jit/module.js +12 -9
- package/esm2015/src/render3/jit/pipe.js +2 -2
- package/esm2015/src/render3/node_selector_matcher.js +2 -27
- package/esm2015/src/render3/styling/class_and_style_bindings.js +2 -2
- package/esm2015/src/render3/util/misc_utils.js +8 -3
- package/esm2015/src/util/array_utils.js +16 -17
- package/esm2015/src/util/empty.js +5 -1
- package/esm2015/src/util/microtask.js +2 -2
- package/esm2015/src/util/ng_i18n_closure_mode.js +5 -1
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/r3_test_bed.js +1 -27
- package/esm2015/testing/src/test_bed.js +1 -18
- package/esm2015/testing/src/test_bed_common.js +1 -22
- package/esm5/src/core_private_export.js +1 -1
- package/esm5/src/di/injectable.js +1 -1
- package/esm5/src/di/injector.js +3 -4
- package/esm5/src/di/interface/defs.js +2 -2
- package/esm5/src/di/jit/injectable.js +2 -2
- package/esm5/src/metadata/di.js +1 -1
- package/esm5/src/profile/profile.js +5 -1
- package/esm5/src/profile/wtf_impl.js +1 -1
- package/esm5/src/render3/component_ref.js +2 -4
- package/esm5/src/render3/empty.js +5 -1
- package/esm5/src/render3/index.js +1 -1
- package/esm5/src/render3/instructions/projection.js +49 -14
- package/esm5/src/render3/instructions/shared.js +4 -2
- package/esm5/src/render3/interfaces/injector.js +3 -3
- package/esm5/src/render3/interfaces/projection.js +1 -1
- package/esm5/src/render3/jit/directive.js +2 -2
- package/esm5/src/render3/jit/environment.js +10 -8
- package/esm5/src/render3/jit/module.js +12 -9
- package/esm5/src/render3/jit/pipe.js +2 -2
- package/esm5/src/render3/node_selector_matcher.js +2 -23
- package/esm5/src/render3/styling/class_and_style_bindings.js +2 -2
- package/esm5/src/render3/util/misc_utils.js +8 -4
- package/esm5/src/util/array_utils.js +15 -16
- package/esm5/src/util/empty.js +5 -1
- package/esm5/src/util/microtask.js +2 -2
- package/esm5/src/util/ng_i18n_closure_mode.js +5 -1
- package/esm5/src/version.js +1 -1
- package/esm5/testing/src/r3_test_bed.js +1 -17
- package/esm5/testing/src/test_bed.js +1 -8
- package/esm5/testing/src/test_bed_common.js +1 -1
- package/fesm2015/core.js +133 -98
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -44
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +123 -93
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +1 -24
- package/fesm5/testing.js.map +1 -1
- package/package.json +2 -2
- package/schematics/migrations/injectable-pipe/index.js +7 -4
- package/schematics/migrations/move-document/index.js +7 -4
- package/schematics/migrations/static-queries/angular/directive_inputs.js +3 -2
- package/schematics/migrations/static-queries/angular/ng_query_visitor.d.ts +2 -0
- package/schematics/migrations/static-queries/angular/ng_query_visitor.js +21 -7
- package/schematics/migrations/static-queries/angular/query-definition.d.ts +9 -2
- package/schematics/migrations/static-queries/angular/query-definition.js +1 -1
- package/schematics/migrations/static-queries/index.d.ts +0 -5
- package/schematics/migrations/static-queries/index.js +105 -77
- package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.d.ts +2 -2
- package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.js +10 -19
- package/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.d.ts +1 -1
- package/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.js +2 -2
- package/schematics/migrations/static-queries/strategies/timing-strategy.d.ts +2 -2
- package/schematics/migrations/static-queries/strategies/timing-strategy.js +1 -1
- package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.d.ts +28 -5
- package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.js +107 -11
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.d.ts +6 -1
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +86 -66
- package/schematics/migrations/static-queries/transform.js +13 -10
- package/schematics/migrations/template-var-assignment/index.js +9 -7
- package/schematics/utils/ng_component_template.js +2 -1
- package/schematics/utils/project_tsconfig_paths.js +5 -3
- package/src/r3_symbols.d.ts +2 -2
- package/testing/testing.d.ts +5 -84
- package/testing/testing.metadata.json +1 -1
- package/testing.d.ts +1 -1
- package/schematics/utils/typescript/visit_nodes.d.ts +0 -13
- package/schematics/utils/typescript/visit_nodes.js +0 -26
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.0.
|
|
2
|
+
* @license Angular v8.0.1
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1250,13 +1250,13 @@ export declare interface ContentChildDecorator {
|
|
|
1250
1250
|
*
|
|
1251
1251
|
* @Annotation
|
|
1252
1252
|
*/
|
|
1253
|
-
(selector: Type<any> | Function | string, opts
|
|
1253
|
+
(selector: Type<any> | Function | string, opts: {
|
|
1254
1254
|
read?: any;
|
|
1255
|
-
static
|
|
1255
|
+
static: boolean;
|
|
1256
1256
|
}): any;
|
|
1257
|
-
new (selector: Type<any> | Function | string, opts
|
|
1257
|
+
new (selector: Type<any> | Function | string, opts: {
|
|
1258
1258
|
read?: any;
|
|
1259
|
-
static
|
|
1259
|
+
static: boolean;
|
|
1260
1260
|
}): ContentChild;
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
@@ -3155,7 +3155,7 @@ export declare interface InjectableDecorator {
|
|
|
3155
3155
|
*
|
|
3156
3156
|
* The following example shows how service classes are properly marked as
|
|
3157
3157
|
* injectable.
|
|
3158
|
-
*
|
|
3158
|
+
*
|
|
3159
3159
|
* <code-example path="core/di/ts/metadata_spec.ts" region="Injectable"></code-example>
|
|
3160
3160
|
*
|
|
3161
3161
|
*/
|
|
@@ -5156,6 +5156,16 @@ declare interface ProceduralRenderer3 {
|
|
|
5156
5156
|
*/
|
|
5157
5157
|
declare type ProcessProvidersFunction = (providers: Provider[]) => Provider[];
|
|
5158
5158
|
|
|
5159
|
+
/**
|
|
5160
|
+
* List of slots for a projection. A slot can be either based on a parsed CSS selector
|
|
5161
|
+
* which will be used to determine nodes which are projected into that slot.
|
|
5162
|
+
*
|
|
5163
|
+
* When set to "*", the slot is reserved and can be used for multi-slot projection
|
|
5164
|
+
* using {@link ViewContainerRef#createComponent}. The last slot that specifies the
|
|
5165
|
+
* wildcard selector will retrieve all projectable nodes which do not match any selector.
|
|
5166
|
+
*/
|
|
5167
|
+
declare type ProjectionSlots = (ɵCssSelectorList | '*')[];
|
|
5168
|
+
|
|
5159
5169
|
/**
|
|
5160
5170
|
* This mapping is necessary so we can set input properties and output listeners
|
|
5161
5171
|
* properly at runtime when property names are minified or aliased.
|
|
@@ -5233,7 +5243,7 @@ export declare interface Query {
|
|
|
5233
5243
|
read: any;
|
|
5234
5244
|
isViewQuery: boolean;
|
|
5235
5245
|
selector: any;
|
|
5236
|
-
static
|
|
5246
|
+
static: boolean;
|
|
5237
5247
|
}
|
|
5238
5248
|
|
|
5239
5249
|
/**
|
|
@@ -8051,13 +8061,13 @@ export declare interface ViewChildDecorator {
|
|
|
8051
8061
|
*
|
|
8052
8062
|
* @Annotation
|
|
8053
8063
|
*/
|
|
8054
|
-
(selector: Type<any> | Function | string, opts
|
|
8064
|
+
(selector: Type<any> | Function | string, opts: {
|
|
8055
8065
|
read?: any;
|
|
8056
|
-
static
|
|
8066
|
+
static: boolean;
|
|
8057
8067
|
}): any;
|
|
8058
|
-
new (selector: Type<any> | Function | string, opts
|
|
8068
|
+
new (selector: Type<any> | Function | string, opts: {
|
|
8059
8069
|
read?: any;
|
|
8060
|
-
static
|
|
8070
|
+
static: boolean;
|
|
8061
8071
|
}): ViewChild;
|
|
8062
8072
|
}
|
|
8063
8073
|
|
|
@@ -8627,6 +8637,7 @@ export declare class WrappedValue {
|
|
|
8627
8637
|
* an exception is expected during normal execution while profiling.
|
|
8628
8638
|
*
|
|
8629
8639
|
* @publicApi
|
|
8640
|
+
* @deprecated the Web Tracing Framework is no longer supported in Angular
|
|
8630
8641
|
*/
|
|
8631
8642
|
export declare const wtfCreateScope: (signature: string, flags?: any) => WtfScopeFn;
|
|
8632
8643
|
|
|
@@ -8635,6 +8646,7 @@ export declare const wtfCreateScope: (signature: string, flags?: any) => WtfScop
|
|
|
8635
8646
|
* [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been
|
|
8636
8647
|
* enabled.
|
|
8637
8648
|
* @publicApi
|
|
8649
|
+
* @deprecated the Web Tracing Framework is no longer supported in Angular
|
|
8638
8650
|
*/
|
|
8639
8651
|
export declare const wtfEndTimeRange: (range: any) => void;
|
|
8640
8652
|
|
|
@@ -8646,6 +8658,7 @@ export declare const wtfEndTimeRange: (range: any) => void;
|
|
|
8646
8658
|
*
|
|
8647
8659
|
* Returns the `returnValue for easy chaining.
|
|
8648
8660
|
* @publicApi
|
|
8661
|
+
* @deprecated the Web Tracing Framework is no longer supported in Angular
|
|
8649
8662
|
*/
|
|
8650
8663
|
export declare const wtfLeave: <T>(scope: any, returnValue?: T) => T;
|
|
8651
8664
|
|
|
@@ -8654,6 +8667,7 @@ export declare const wtfLeave: <T>(scope: any, returnValue?: T) => T;
|
|
|
8654
8667
|
* A scope function for the Web Tracing Framework (WTF).
|
|
8655
8668
|
*
|
|
8656
8669
|
* @publicApi
|
|
8670
|
+
* @deprecated the Web Tracing Framework is no longer supported in Angular
|
|
8657
8671
|
*/
|
|
8658
8672
|
export declare interface WtfScopeFn {
|
|
8659
8673
|
(arg0?: any, arg1?: any): any;
|
|
@@ -8671,6 +8685,7 @@ export declare interface WtfScopeFn {
|
|
|
8671
8685
|
* });
|
|
8672
8686
|
* }
|
|
8673
8687
|
* @publicApi
|
|
8688
|
+
* @deprecated the Web Tracing Framework is no longer supported in Angular
|
|
8674
8689
|
*/
|
|
8675
8690
|
export declare const wtfStartTimeRange: (rangeType: string, action: string) => any;
|
|
8676
8691
|
|
|
@@ -11146,7 +11161,7 @@ export declare const ɵɵdefineDirective: <T>(directiveDefinition: {
|
|
|
11146
11161
|
* * `factory` gives the zero argument function which will create an instance of the injectable.
|
|
11147
11162
|
* The factory can call `inject` to access the `Injector` and request injection of dependencies.
|
|
11148
11163
|
*
|
|
11149
|
-
* @
|
|
11164
|
+
* @codeGenApi
|
|
11150
11165
|
*/
|
|
11151
11166
|
export declare function ɵɵdefineInjectable<T>(opts: {
|
|
11152
11167
|
providedIn?: Type<any> | 'root' | 'any' | null;
|
|
@@ -12213,12 +12228,14 @@ export declare function ɵɵprojection(nodeIndex: number, selectorIndex?: number
|
|
|
12213
12228
|
* - we can't have only a parsed as we can't re-construct textual form from it (as entered by a
|
|
12214
12229
|
* template author).
|
|
12215
12230
|
*
|
|
12216
|
-
* @param
|
|
12217
|
-
*
|
|
12231
|
+
* @param projectionSlots? A collection of projection slots. A projection slot can be based
|
|
12232
|
+
* on a parsed CSS selectors or set to the wildcard selector ("*") in order to match
|
|
12233
|
+
* all nodes which do not match any selector. If not specified, a single wildcard
|
|
12234
|
+
* selector projection slot will be defined.
|
|
12218
12235
|
*
|
|
12219
12236
|
* @codeGenApi
|
|
12220
12237
|
*/
|
|
12221
|
-
export declare function ɵɵprojectionDef(
|
|
12238
|
+
export declare function ɵɵprojectionDef(projectionSlots?: ProjectionSlots): void;
|
|
12222
12239
|
|
|
12223
12240
|
/**
|
|
12224
12241
|
* Update a property on a selected element.
|