System.register(["@angular/core"], function (exports_1, context_1) {
    "use strict";
    var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
        var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
        if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
        else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
        return c > 3 && r && Object.defineProperty(target, key, r), r;
    };
    var __metadata = (this && this.__metadata) || function (k, v) {
        if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
    };
    var __moduleName = context_1 && context_1.id;
    var core_1, DisplayCustomersDirective;
    return {
        setters: [
            function (core_1_1) {
                core_1 = core_1_1;
            }
        ],
        execute: function () {
            DisplayCustomersDirective = (function () {
                function DisplayCustomersDirective(elm, rnd) {
                    this.elm = elm;
                    this.rnd = rnd;
                    this.selected = new core_1.EventEmitter();
                }
                DisplayCustomersDirective.prototype.ngOnInit = function () {
                    this.rnd.setElementProperty(this.elm.nativeElement, 'innerHTML', "Hello, World " + this.selectionType);
                };
                DisplayCustomersDirective.prototype.SelectedItem = function () {
                    this.selected.emit(this.custLength);
                };
                return DisplayCustomersDirective;
            }());
            __decorate([
                core_1.Input(),
                __metadata("design:type", String)
            ], DisplayCustomersDirective.prototype, "selectionType", void 0);
            __decorate([
                core_1.Input("phvisDisplayCustomers"),
                __metadata("design:type", Number)
            ], DisplayCustomersDirective.prototype, "custLength", void 0);
            __decorate([
                core_1.Output(),
                __metadata("design:type", Object)
            ], DisplayCustomersDirective.prototype, "selected", void 0);
            __decorate([
                core_1.HostListener('click'),
                __metadata("design:type", Function),
                __metadata("design:paramtypes", []),
                __metadata("design:returntype", void 0)
            ], DisplayCustomersDirective.prototype, "SelectedItem", null);
            DisplayCustomersDirective = __decorate([
                core_1.Directive({ selector: '[phvisDisplayCustomers]' }),
                __metadata("design:paramtypes", [core_1.ElementRef, core_1.Renderer])
            ], DisplayCustomersDirective);
            exports_1("DisplayCustomersDirective", DisplayCustomersDirective);
        }
    };
});
//# sourceMappingURL=DisplayCustomers.directive.js.map