@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.
Files changed (43) hide show
  1. package/bundles/core-testing.umd.js +1 -1
  2. package/bundles/core-testing.umd.min.js +1 -1
  3. package/bundles/core-testing.umd.min.js.map +1 -1
  4. package/bundles/core.umd.js +19 -13
  5. package/bundles/core.umd.js.map +1 -1
  6. package/bundles/core.umd.min.js +2 -2
  7. package/bundles/core.umd.min.js.map +1 -1
  8. package/core.d.ts +175 -199
  9. package/core.metadata.json +1 -1
  10. package/esm2015/src/change_detection/pipe_transform.js +4 -6
  11. package/esm2015/src/di/index.js +1 -1
  12. package/esm2015/src/di/injectable.js +1 -1
  13. package/esm2015/src/di/interface/provider.js +1 -1
  14. package/esm2015/src/di/metadata.js +1 -1
  15. package/esm2015/src/event_emitter.js +3 -10
  16. package/esm2015/src/linker/component_factory.js +9 -3
  17. package/esm2015/src/linker/component_factory_resolver.js +9 -2
  18. package/esm2015/src/metadata/di.js +1 -1
  19. package/esm2015/src/metadata/directives.js +4 -3
  20. package/esm2015/src/util/decorators.js +1 -1
  21. package/esm2015/src/version.js +1 -1
  22. package/esm5/src/change_detection/pipe_transform.js +1 -1
  23. package/esm5/src/di/index.js +1 -1
  24. package/esm5/src/di/injectable.js +1 -1
  25. package/esm5/src/di/interface/provider.js +1 -1
  26. package/esm5/src/di/metadata.js +1 -1
  27. package/esm5/src/event_emitter.js +3 -10
  28. package/esm5/src/linker/component_factory.js +7 -1
  29. package/esm5/src/linker/component_factory_resolver.js +7 -1
  30. package/esm5/src/metadata/di.js +1 -1
  31. package/esm5/src/metadata/directives.js +4 -3
  32. package/esm5/src/util/decorators.js +1 -1
  33. package/esm5/src/version.js +1 -1
  34. package/fesm2015/core.js +19 -13
  35. package/fesm2015/core.js.map +1 -1
  36. package/fesm2015/testing.js +1 -1
  37. package/fesm5/core.js +19 -13
  38. package/fesm5/core.js.map +1 -1
  39. package/fesm5/testing.js +1 -1
  40. package/package.json +1 -1
  41. package/src/r3_symbols.d.ts +64 -79
  42. package/testing/testing.d.ts +1 -1
  43. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.1.0
2
+ * @license Angular v8.1.1
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm5/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.1.0
2
+ * @license Angular v8.1.1
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -18088,6 +18088,12 @@ var ComponentRef = /** @class */ (function () {
18088
18088
  return ComponentRef;
18089
18089
  }());
18090
18090
  /**
18091
+ * Base class for a factory that can create a component dynamically.
18092
+ * Instantiate a factory for a given type of component with `resolveComponentFactory()`.
18093
+ * Use the resulting `ComponentFactory.create()` method to create a component of that type.
18094
+ *
18095
+ * @see [Dynamic Components](guide/dynamic-component-loader)
18096
+ *
18091
18097
  * @publicApi
18092
18098
  */
18093
18099
  var ComponentFactory = /** @class */ (function () {
@@ -18118,6 +18124,12 @@ var _NullComponentFactoryResolver = /** @class */ (function () {
18118
18124
  return _NullComponentFactoryResolver;
18119
18125
  }());
18120
18126
  /**
18127
+ * A simple registry that maps `Components` to generated `ComponentFactory` classes
18128
+ * that can be used to create instances of components.
18129
+ * Use to obtain the factory for a given component type,
18130
+ * then use the factory's `create()` method to create a component of that type.
18131
+ *
18132
+ * @see [Dynamic Components](guide/dynamic-component-loader)
18121
18133
  * @publicApi
18122
18134
  */
18123
18135
  var ComponentFactoryResolver = /** @class */ (function () {
@@ -19018,7 +19030,7 @@ var Version = /** @class */ (function () {
19018
19030
  /**
19019
19031
  * @publicApi
19020
19032
  */
19021
- var VERSION = new Version('8.1.0');
19033
+ var VERSION = new Version('8.1.1');
19022
19034
 
19023
19035
  /**
19024
19036
  * @license
@@ -24328,7 +24340,7 @@ function unwrapValue$1(newValue) {
24328
24340
  * that create event emitters. When the title is clicked, the emitter
24329
24341
  * emits an open or close event to toggle the current visibility state.
24330
24342
  *
24331
- * ```
24343
+ * ```html
24332
24344
  * @Component({
24333
24345
  * selector: 'zippy',
24334
24346
  * template: `
@@ -24357,17 +24369,10 @@ function unwrapValue$1(newValue) {
24357
24369
  * Access the event object with the `$event` argument passed to the output event
24358
24370
  * handler:
24359
24371
  *
24360
- * ```
24372
+ * ```html
24361
24373
  * <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
24362
24374
  * ```
24363
24375
  *
24364
- * ### Notes
24365
- *
24366
- * Uses Rx.Observable but provides an adapter to make it work as specified here:
24367
- * https://github.com/jhusain/observable-spec
24368
- *
24369
- * Once a reference implementation of the spec is available, switch to it.
24370
- *
24371
24376
  * @publicApi
24372
24377
  */
24373
24378
  var EventEmitter = /** @class */ (function (_super) {
@@ -25931,9 +25936,10 @@ var ɵ8 = function (hostPropertyName) { return ({ hostPropertyName: hostProperty
25931
25936
  var HostBinding = makePropDecorator('HostBinding', ɵ8);
25932
25937
  var ɵ9 = function (eventName, args) { return ({ eventName: eventName, args: args }); };
25933
25938
  /**
25934
- * Binds a DOM event to a host listener and supplies configuration metadata.
25939
+ * Decorator that binds a DOM event to a host listener and supplies configuration metadata.
25935
25940
  * Angular invokes the supplied handler method when the host element emits the specified event,
25936
25941
  * and updates the bound element with the result.
25942
+ *
25937
25943
  * If the handler method returns false, applies `preventDefault` on the bound element.
25938
25944
  *
25939
25945
  * @usageNotes
@@ -25941,7 +25947,7 @@ var ɵ9 = function (eventName, args) { return ({ eventName: eventName, args: arg
25941
25947
  * The following example declares a directive
25942
25948
  * that attaches a click listener to a button and counts clicks.
25943
25949
  *
25944
- * ```
25950
+ * ```ts
25945
25951
  * @Directive({selector: 'button[counting]'})
25946
25952
  * class CountClicks {
25947
25953
  * numberOfClicks = 0;