"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); }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var user_service_1 = require("./UpdateProfile/user.service"); var router_1 = require("@angular/router"); var forms_1 = require("@angular/forms"); //import { Global } from '../../Shared/global'; //import { DBOperation } from 'S'; //import { Observable } from 'rxjs/Observable'; var ChangeUserId = /** @class */ (function () { function ChangeUserId(userservice, router, fb) { this.userservice = userservice; this.router = router; this.fb = fb; this.formErrors = { 'firstName': '', 'lastName': '', 'email': '' }; this.validationMessages = { 'firstName': { 'required': 'First name is required.' }, 'lastName': { 'required': 'Last name is required.' }, 'email': { 'required': 'Email is required.', 'pattern': 'Email pattern is not valid.' } }; } ChangeUserId.prototype.ngOnInit = function () { }; ChangeUserId = __decorate([ core_1.Component({ templateUrl: '../components/changeuserid.component.html' }), __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder]) ], ChangeUserId); return ChangeUserId; }()); exports.ChangeUserId = ChangeUserId; //# sourceMappingURL=changeuserid.component.js.map