@angular/core 8.1.0 → 8.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 +1 -1
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +19 -13
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +2 -2
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +175 -199
- package/core.metadata.json +1 -1
- package/esm2015/src/change_detection/pipe_transform.js +4 -6
- package/esm2015/src/di/index.js +1 -1
- package/esm2015/src/di/injectable.js +1 -1
- package/esm2015/src/di/interface/provider.js +1 -1
- package/esm2015/src/di/metadata.js +1 -1
- package/esm2015/src/event_emitter.js +3 -10
- package/esm2015/src/linker/component_factory.js +9 -3
- package/esm2015/src/linker/component_factory_resolver.js +9 -2
- package/esm2015/src/metadata/di.js +1 -1
- package/esm2015/src/metadata/directives.js +4 -3
- package/esm2015/src/util/decorators.js +1 -1
- package/esm2015/src/version.js +1 -1
- package/esm5/src/change_detection/pipe_transform.js +1 -1
- package/esm5/src/di/index.js +1 -1
- package/esm5/src/di/injectable.js +1 -1
- package/esm5/src/di/interface/provider.js +1 -1
- package/esm5/src/di/metadata.js +1 -1
- package/esm5/src/event_emitter.js +3 -10
- package/esm5/src/linker/component_factory.js +7 -1
- package/esm5/src/linker/component_factory_resolver.js +7 -1
- package/esm5/src/metadata/di.js +1 -1
- package/esm5/src/metadata/directives.js +4 -3
- package/esm5/src/util/decorators.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/core.js +19 -13
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm5/core.js +19 -13
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +64 -79
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/bundles/core.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.1.
|
|
2
|
+
* @license Angular v8.1.1
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -18138,6 +18138,12 @@
|
|
|
18138
18138
|
return ComponentRef;
|
|
18139
18139
|
}());
|
|
18140
18140
|
/**
|
|
18141
|
+
* Base class for a factory that can create a component dynamically.
|
|
18142
|
+
* Instantiate a factory for a given type of component with `resolveComponentFactory()`.
|
|
18143
|
+
* Use the resulting `ComponentFactory.create()` method to create a component of that type.
|
|
18144
|
+
*
|
|
18145
|
+
* @see [Dynamic Components](guide/dynamic-component-loader)
|
|
18146
|
+
*
|
|
18141
18147
|
* @publicApi
|
|
18142
18148
|
*/
|
|
18143
18149
|
var ComponentFactory = /** @class */ (function () {
|
|
@@ -18168,6 +18174,12 @@
|
|
|
18168
18174
|
return _NullComponentFactoryResolver;
|
|
18169
18175
|
}());
|
|
18170
18176
|
/**
|
|
18177
|
+
* A simple registry that maps `Components` to generated `ComponentFactory` classes
|
|
18178
|
+
* that can be used to create instances of components.
|
|
18179
|
+
* Use to obtain the factory for a given component type,
|
|
18180
|
+
* then use the factory's `create()` method to create a component of that type.
|
|
18181
|
+
*
|
|
18182
|
+
* @see [Dynamic Components](guide/dynamic-component-loader)
|
|
18171
18183
|
* @publicApi
|
|
18172
18184
|
*/
|
|
18173
18185
|
var ComponentFactoryResolver = /** @class */ (function () {
|
|
@@ -19063,7 +19075,7 @@
|
|
|
19063
19075
|
/**
|
|
19064
19076
|
* @publicApi
|
|
19065
19077
|
*/
|
|
19066
|
-
var VERSION = new Version('8.1.
|
|
19078
|
+
var VERSION = new Version('8.1.1');
|
|
19067
19079
|
|
|
19068
19080
|
/**
|
|
19069
19081
|
* @license
|
|
@@ -24369,7 +24381,7 @@
|
|
|
24369
24381
|
* that create event emitters. When the title is clicked, the emitter
|
|
24370
24382
|
* emits an open or close event to toggle the current visibility state.
|
|
24371
24383
|
*
|
|
24372
|
-
* ```
|
|
24384
|
+
* ```html
|
|
24373
24385
|
* @Component({
|
|
24374
24386
|
* selector: 'zippy',
|
|
24375
24387
|
* template: `
|
|
@@ -24398,17 +24410,10 @@
|
|
|
24398
24410
|
* Access the event object with the `$event` argument passed to the output event
|
|
24399
24411
|
* handler:
|
|
24400
24412
|
*
|
|
24401
|
-
* ```
|
|
24413
|
+
* ```html
|
|
24402
24414
|
* <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
|
|
24403
24415
|
* ```
|
|
24404
24416
|
*
|
|
24405
|
-
* ### Notes
|
|
24406
|
-
*
|
|
24407
|
-
* Uses Rx.Observable but provides an adapter to make it work as specified here:
|
|
24408
|
-
* https://github.com/jhusain/observable-spec
|
|
24409
|
-
*
|
|
24410
|
-
* Once a reference implementation of the spec is available, switch to it.
|
|
24411
|
-
*
|
|
24412
24417
|
* @publicApi
|
|
24413
24418
|
*/
|
|
24414
24419
|
var EventEmitter = /** @class */ (function (_super) {
|
|
@@ -25972,9 +25977,10 @@
|
|
|
25972
25977
|
var HostBinding = makePropDecorator('HostBinding', ɵ8);
|
|
25973
25978
|
var ɵ9 = function (eventName, args) { return ({ eventName: eventName, args: args }); };
|
|
25974
25979
|
/**
|
|
25975
|
-
*
|
|
25980
|
+
* Decorator that binds a DOM event to a host listener and supplies configuration metadata.
|
|
25976
25981
|
* Angular invokes the supplied handler method when the host element emits the specified event,
|
|
25977
25982
|
* and updates the bound element with the result.
|
|
25983
|
+
*
|
|
25978
25984
|
* If the handler method returns false, applies `preventDefault` on the bound element.
|
|
25979
25985
|
*
|
|
25980
25986
|
* @usageNotes
|
|
@@ -25982,7 +25988,7 @@
|
|
|
25982
25988
|
* The following example declares a directive
|
|
25983
25989
|
* that attaches a click listener to a button and counts clicks.
|
|
25984
25990
|
*
|
|
25985
|
-
* ```
|
|
25991
|
+
* ```ts
|
|
25986
25992
|
* @Directive({selector: 'button[counting]'})
|
|
25987
25993
|
* class CountClicks {
|
|
25988
25994
|
* numberOfClicks = 0;
|