"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 core_1 = require("@angular/core");
var rxjs_1 = require("rxjs");
var PopupBootstrapper = (function () {
    function PopupBootstrapper() {
        var _this = this;
        this.content = 'Some content';
        this.options = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
        this.getOptions = function () { return rxjs_1.Observable.of(_this.options); };
        this.save = function (data) {
            console.log(data);
        };
        this.create = function (x) { return x; };
        this.onClosing = function () {
            console.log('Trying to close...');
            return false;
        };
    }
    PopupBootstrapper.prototype.yes = function () {
        console.log('Yes');
    };
    PopupBootstrapper.prototype.no = function () {
        console.log('No');
    };
    return PopupBootstrapper;
}());
PopupBootstrapper = __decorate([
    core_1.Component({
        selector: 'tsPopupBootstrapper',
        template: require('./popupNg2.html'),
    }),
    __metadata("design:paramtypes", [])
], PopupBootstrapper);
exports.PopupBootstrapper = PopupBootstrapper;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXBOZzJCb290c3RyYXBwZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJwb3B1cE5nMkJvb3RzdHJhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsc0NBQTBDO0FBQzFDLDZCQUFrQztBQVFsQyxJQUFhLGlCQUFpQjtJQU03QjtRQUFB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