"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 MsiBootstrapperComponent = (function () {
    function MsiBootstrapperComponent() {
        this.numbered = false;
        this.checked = true;
    }
    MsiBootstrapperComponent.prototype.ngOnInit = function () {
        this.steps = [
            {
                title: 'Step 1',
                routerLink: ['/msi/ng1'],
                subtitle: 'Angular 1',
            },
            {
                title: 'Step 2',
                routerLink: ['/msi/ng2'],
                subtitle: 'Angular 2',
            },
            {
                title: 'Step 3',
                subtitle: 'Do more work',
                onClick: function () {
                    return rxjs_1.Observable.of(null)
                        .do(function () { return console.log('Processing step 3'); })
                        .delay(1000)
                        .do(function () { return console.log('Step 3 processed'); });
                },
            },
        ];
    };
    return MsiBootstrapperComponent;
}());
MsiBootstrapperComponent = __decorate([
    core_1.Component({
        selector: 'tsMsiBootstrapper',
        template: require('./msi.ng2.html'),
    }),
    __metadata("design:paramtypes", [])
], MsiBootstrapperComponent);
exports.MsiBootstrapperComponent = MsiBootstrapperComponent;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXNpQm9vdHN0cmFwcGVyLm5nMi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm1zaUJvb3RzdHJhcHBlci5uZzIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztB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