@angular/core 8.2.0 → 8.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/core-testing.umd.js +94 -1
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +3 -2
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +427 -60
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +136 -156
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +18 -8
- package/core.metadata.json +1 -1
- package/esm2015/core.externs.js +4 -4
- package/esm2015/index.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/esm2015/src/application_module.js +11 -2
- package/esm2015/src/application_ref.js +9 -5
- package/esm2015/src/core.js +3 -3
- package/esm2015/src/core_private_export.js +2 -1
- package/esm2015/src/core_render3_private_export.js +2 -2
- package/esm2015/src/event_emitter.js +9 -4
- package/esm2015/src/i18n/localization.js +6 -1
- package/esm2015/src/metadata/directives.js +1 -1
- package/esm2015/src/render3/i18n.js +6 -5
- package/esm2015/src/render3/index.js +2 -2
- package/esm2015/src/version.js +1 -1
- package/esm5/src/application_module.js +11 -2
- package/esm5/src/application_ref.js +8 -4
- package/esm5/src/core_private_export.js +2 -1
- package/esm5/src/core_render3_private_export.js +2 -2
- package/esm5/src/event_emitter.js +9 -4
- package/esm5/src/i18n/localization.js +5 -1
- package/esm5/src/metadata/directives.js +1 -1
- package/esm5/src/render3/i18n.js +6 -4
- package/esm5/src/render3/index.js +2 -2
- package/esm5/src/version.js +1 -1
- package/fesm2015/core.js +7363 -69
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +593 -2
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +327 -58
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +15 -2
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -1
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +5 -5
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
- package/schematics/migrations/injectable-pipe/angular/injectable_pipe_visitor.d.ts +0 -30
- package/schematics/migrations/injectable-pipe/angular/injectable_pipe_visitor.js +0 -68
- package/schematics/migrations/injectable-pipe/index.d.ts +0 -14
- package/schematics/migrations/injectable-pipe/index.js +0 -85
- package/schematics/migrations/injectable-pipe/util.d.ts +0 -19
- package/schematics/migrations/injectable-pipe/util.js +0 -44
package/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.2.
|
|
2
|
+
* @license Angular v8.2.4
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2174,12 +2174,16 @@ export declare class ErrorHandler {
|
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
2176
2176
|
/**
|
|
2177
|
-
* Use in
|
|
2178
|
-
* or asynchronously, and register handlers for those events
|
|
2179
|
-
* to an instance.
|
|
2177
|
+
* Use in components with the `@Output` directive to emit custom events
|
|
2178
|
+
* synchronously or asynchronously, and register handlers for those events
|
|
2179
|
+
* by subscribing to an instance.
|
|
2180
2180
|
*
|
|
2181
2181
|
* @usageNotes
|
|
2182
2182
|
*
|
|
2183
|
+
* Extends
|
|
2184
|
+
* [RxJS `Subject`](https://rxjs.dev/api/index/class/Subject)
|
|
2185
|
+
* for Angular by adding the `emit()` method.
|
|
2186
|
+
*
|
|
2183
2187
|
* In the following example, a component defines two output properties
|
|
2184
2188
|
* that create event emitters. When the title is clicked, the emitter
|
|
2185
2189
|
* emits an open or close event to toggle the current visibility state.
|
|
@@ -2217,6 +2221,7 @@ export declare class ErrorHandler {
|
|
|
2217
2221
|
* <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
|
|
2218
2222
|
* ```
|
|
2219
2223
|
*
|
|
2224
|
+
* @see [Observables in Angular](guide/observables-in-angular)
|
|
2220
2225
|
* @publicApi
|
|
2221
2226
|
*/
|
|
2222
2227
|
export declare class EventEmitter<T extends any> extends Subject<T> {
|
|
@@ -3208,6 +3213,8 @@ export declare interface InputDecorator {
|
|
|
3208
3213
|
* })
|
|
3209
3214
|
* class App {}
|
|
3210
3215
|
* ```
|
|
3216
|
+
*
|
|
3217
|
+
* @see [Input and Output properties](guide/template-syntax#input-and-output-properties)
|
|
3211
3218
|
*/
|
|
3212
3219
|
(bindingPropertyName?: string): any;
|
|
3213
3220
|
new (bindingPropertyName?: string): any;
|
|
@@ -4484,6 +4491,8 @@ export declare interface OutputDecorator {
|
|
|
4484
4491
|
*
|
|
4485
4492
|
* See `Input` decorator for an example of providing a binding name.
|
|
4486
4493
|
*
|
|
4494
|
+
* @see [Input and Output properties](guide/template-syntax#input-and-output-properties)
|
|
4495
|
+
*
|
|
4487
4496
|
*/
|
|
4488
4497
|
(bindingPropertyName?: string): any;
|
|
4489
4498
|
new (bindingPropertyName?: string): any;
|
|
@@ -4517,7 +4526,8 @@ declare const PARENT = 3;
|
|
|
4517
4526
|
export declare interface Pipe {
|
|
4518
4527
|
/**
|
|
4519
4528
|
* The pipe name to use in template bindings.
|
|
4520
|
-
*
|
|
4529
|
+
* Typically uses [lowerCamelCase](guide/glossary#case-types)
|
|
4530
|
+
* because the name cannot contain hyphens.
|
|
4521
4531
|
*/
|
|
4522
4532
|
name: string;
|
|
4523
4533
|
/**
|
|
@@ -4563,6 +4573,8 @@ export declare interface PipeDecorator {
|
|
|
4563
4573
|
* to a template. To make it a member of an NgModule,
|
|
4564
4574
|
* list it in the `declarations` field of the `NgModule` metadata.
|
|
4565
4575
|
*
|
|
4576
|
+
* @see [Style Guide: Pipe Names](guide/styleguide#02-09)
|
|
4577
|
+
*
|
|
4566
4578
|
*/
|
|
4567
4579
|
(obj: Pipe): TypeDecorator;
|
|
4568
4580
|
/**
|
|
@@ -9408,9 +9420,7 @@ export declare function ɵcrt(values: {
|
|
|
9408
9420
|
export declare type ɵCssSelectorList = CssSelector[];
|
|
9409
9421
|
|
|
9410
9422
|
/**
|
|
9411
|
-
* The locale id that the application is
|
|
9412
|
-
* This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
|
|
9413
|
-
* but is now defined as a global value.
|
|
9423
|
+
* The locale id that the application is using by default (for translations and ICU expressions).
|
|
9414
9424
|
*/
|
|
9415
9425
|
export declare const ɵDEFAULT_LOCALE_ID = "en-US";
|
|
9416
9426
|
|