1 | import { Component, ViewContainerRef, forwardRef, Inject } from '@angular/core';
|
2 | import { MdlDialogOutletService } from './mdl-dialog-outlet.service';
|
3 |
|
4 |
|
5 |
|
6 | export var MdlDialogOutletComponent = (function () {
|
7 | function MdlDialogOutletComponent(vCRef) {
|
8 | this.vCRef = vCRef;
|
9 | }
|
10 | Object.defineProperty(MdlDialogOutletComponent.prototype, "viewContainerRef", {
|
11 | get: function () {
|
12 | return this.vCRef;
|
13 | },
|
14 | enumerable: true,
|
15 | configurable: true
|
16 | });
|
17 | MdlDialogOutletComponent.decorators = [
|
18 | { type: Component, args: [{
|
19 | selector: 'dialog-outlet',
|
20 | template: ''
|
21 | },] },
|
22 | ];
|
23 |
|
24 | MdlDialogOutletComponent.ctorParameters = function () { return [
|
25 | { type: ViewContainerRef, },
|
26 | ]; };
|
27 | return MdlDialogOutletComponent;
|
28 | }());
|
29 |
|
30 |
|
31 | export var MdlDialogInnerOutletComponent = (function () {
|
32 | function MdlDialogInnerOutletComponent(vCRef, service) {
|
33 | this.vCRef = vCRef;
|
34 | service.setDefaultViewContainerRef(vCRef);
|
35 | }
|
36 | MdlDialogInnerOutletComponent.decorators = [
|
37 | { type: Component, args: [{
|
38 | selector: 'dialog-outlet',
|
39 | template: ''
|
40 | },] },
|
41 | ];
|
42 |
|
43 | MdlDialogInnerOutletComponent.ctorParameters = function () { return [
|
44 | { type: ViewContainerRef, },
|
45 | { type: MdlDialogOutletService, decorators: [{ type: Inject, args: [forwardRef(function () { return MdlDialogOutletService; }),] },] },
|
46 | ]; };
|
47 | return MdlDialogInnerOutletComponent;
|
48 | }());
|
49 |
|
\ | No newline at end of file |