diff --git a/150-DOCUMENTATION/002-DBScripts/Admin/Store Procedure/usp_DeleteSubscriptionPlan.sql b/150-DOCUMENTATION/002-DBScripts/Admin/Store Procedure/usp_DeleteSubscriptionPlan.sql
new file mode 100644
index 0000000..57df976
--- /dev/null
+++ b/150-DOCUMENTATION/002-DBScripts/Admin/Store Procedure/usp_DeleteSubscriptionPlan.sql
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/AIAHTML5.ADMIN.API.csproj b/400-SOURCECODE/AIAHTML5.ADMIN.API/AIAHTML5.ADMIN.API.csproj
index 8ed5690..2fb41ca 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/AIAHTML5.ADMIN.API.csproj
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/AIAHTML5.ADMIN.API.csproj
@@ -165,6 +165,7 @@
+
AIADBEntity.tt
@@ -718,6 +719,9 @@
AIADBEntity.tt
+
+ AIADBEntity.tt
+
AIADBEntity.tt
@@ -752,6 +756,7 @@
+
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/DiscountCodeController.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/DiscountCodeController.cs
index 1d3440b..721a25b 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/DiscountCodeController.cs
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/DiscountCodeController.cs
@@ -23,7 +23,7 @@ namespace AIAHTML5.ADMIN.API.Controllers
{
AIADatabaseV5Entities dbContext = new AIADatabaseV5Entities();
- [Route("Api/GetDiscountCodes")]
+ [Route("GetDiscountCodes")]
[HttpGet]
public HttpResponseMessage GetDiscountCodes(string discountCode, DateTime startDate, DateTime endDate)
{
@@ -39,8 +39,8 @@ namespace AIAHTML5.ADMIN.API.Controllers
return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
}
}
-
- [Route("Api/InsertDiscountCode")]
+
+ [Route("InsertDiscountCode")]
[HttpPost]
public HttpResponseMessage InsertDiscountCode(JObject jsonData)
{
@@ -71,7 +71,7 @@ namespace AIAHTML5.ADMIN.API.Controllers
}
}
- [Route("Api/UpdateDiscountCode")]
+ [Route("UpdateDiscountCode")]
[HttpPost]
public HttpResponseMessage UpdateDiscountCode(JObject jsonData)
{
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/SubscriptionPriceController.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/SubscriptionPriceController.cs
new file mode 100644
index 0000000..7a63fc9
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/SubscriptionPriceController.cs
@@ -0,0 +1,143 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Net.Http;
+using System.Web.Http;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+using AIAHTML5.ADMIN.API.Models;
+using System.Web.Http.Cors;
+using System.Web.Cors;
+using AIAHTML5.Server.Constants;
+using log4net;
+using System.Text;
+using AIAHTML5.ADMIN.API.Entity;
+
+namespace AIAHTML5.ADMIN.API.Controllers
+{
+
+ [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")]
+ [RoutePrefix("SubscriptionPrice")]
+ public class SubscriptionPriceController : ApiController
+ {
+ AIADatabaseV5Entities dbContext = new AIADatabaseV5Entities();
+
+ [Route("GetSubscriptionPrices")]
+ [HttpGet]
+ public HttpResponseMessage GetSubscriptionPrices(int editionId)
+ {
+ List SubscriptionPriceList = new List();
+ try
+ {
+ SubscriptionPriceList = SubscriptionPriceModel.GetSubscriptionPrices(dbContext, editionId);
+ return Request.CreateResponse(HttpStatusCode.OK, SubscriptionPriceList);
+ }
+ catch (Exception ex)
+ {
+ // Log exception code goes here
+ return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
+ }
+ }
+
+ [Route("InsertSubscriptionPrice")]
+ [HttpPost]
+ public HttpResponseMessage InsertSubscriptionPrice(JObject jsonData)
+ {
+ bool Status = false;
+ SubscriptionPriceModel subscriptionPriceModel = new SubscriptionPriceModel();
+ subscriptionPriceModel.Id = jsonData["id"].Value();
+ subscriptionPriceModel.Title = jsonData["title"].Value();
+ subscriptionPriceModel.Price = jsonData["price"].Value();
+ subscriptionPriceModel.Duration = jsonData["duration"].Value();
+ subscriptionPriceModel.EditionId = jsonData["editionId"].Value();
+ subscriptionPriceModel.IsActive = jsonData["isActive"].Value();
+ try
+ {
+ Status = SubscriptionPriceModel.InsertSubscriptionPrice(dbContext, subscriptionPriceModel);
+ if (Status)
+ {
+ return Request.CreateResponse(HttpStatusCode.OK, Status.ToString());
+ }
+ else
+ {
+ return Request.CreateErrorResponse(HttpStatusCode.BadRequest, Status.ToString());
+ }
+ }
+ catch (Exception ex)
+ {
+ // Log exception code goes here
+ return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
+ }
+ }
+
+ [Route("UpdateSubscriptionPrices")]
+ [HttpPost]
+ public HttpResponseMessage UpdateSubscriptionPrices(JObject jsonData)
+ {
+ bool Status = false;
+ List subscriptionPriceList = new List();
+ SubscriptionPriceModel subscriptionPriceModel = new SubscriptionPriceModel();
+ for (int i = 0; i < jsonData["obj"].Count(); i++)
+ {
+ subscriptionPriceModel = new SubscriptionPriceModel();
+ subscriptionPriceModel.Id = ((Newtonsoft.Json.Linq.JValue)(jsonData["obj"][i]["Id"])).Value();
+ subscriptionPriceModel.Title = ((Newtonsoft.Json.Linq.JValue)(jsonData["obj"][i]["Title"])).Value();
+ subscriptionPriceModel.Price = ((Newtonsoft.Json.Linq.JValue)(jsonData["obj"][i]["Price"])).Value();
+ subscriptionPriceModel.Duration = ((Newtonsoft.Json.Linq.JValue)(jsonData["obj"][i]["Duration"])).Value();
+ subscriptionPriceModel.EditionId = ((Newtonsoft.Json.Linq.JValue)(jsonData["obj"][i]["EditionId"])).Value();
+ subscriptionPriceModel.IsActive = ((Newtonsoft.Json.Linq.JValue)(jsonData["obj"][i]["IsActive"])).Value();
+ subscriptionPriceList.Add(subscriptionPriceModel);
+ }
+ try
+ {
+ Status = SubscriptionPriceModel.UpdateSubscriptionPrices(dbContext, subscriptionPriceList);
+ if (Status)
+ {
+ return Request.CreateResponse(HttpStatusCode.OK, Status.ToString());
+ }
+ else
+ {
+ return Request.CreateErrorResponse(HttpStatusCode.BadRequest, Status.ToString());
+ }
+ }
+ catch (Exception ex)
+ {
+ // Log exception code goes here
+ return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
+ }
+ }
+
+ [Route("DeleteSubscriptionPrices")]
+ [HttpPost]
+ public HttpResponseMessage DeleteSubscriptionPrices(List subscriptionPriceIds)
+ {
+ bool Status = false;
+ try
+ {
+ Status = SubscriptionPriceModel.DeleteSubscriptionPrices(dbContext, subscriptionPriceIds);
+ if (Status)
+ {
+ return Request.CreateResponse(HttpStatusCode.OK, Status.ToString());
+ }
+ else
+ {
+ return Request.CreateErrorResponse(HttpStatusCode.BadRequest, Status.ToString());
+ }
+ }
+ catch (Exception ex)
+ {
+ // Log exception code goes here
+ return Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message);
+ }
+ }
+
+ protected HttpResponseMessage ToJson(dynamic obj)
+ {
+ var response = Request.CreateResponse(HttpStatusCode.OK);
+ response.Content = new StringContent(JsonConvert.SerializeObject(obj), Encoding.UTF8, "application/jsonP");
+ return response;
+ }
+
+ }
+}
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/UserController.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/UserController.cs
index 6d44961..fb7d917 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/UserController.cs
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/UserController.cs
@@ -16,7 +16,7 @@ using AIAHTML5.ADMIN.API.Entity;
namespace AIAHTML5.ADMIN.API.Controllers
{
- // [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")]
+ [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")]
[RoutePrefix("User")]
public class UserController : ApiController
{
@@ -154,11 +154,12 @@ namespace AIAHTML5.ADMIN.API.Controllers
#region Add User
[Route("GetUserTypebyLicenseId")]
[HttpGet]
- public IHttpActionResult GetUserTypebyLicenseId(short UserTypeId, int LicenseId)
+ public IHttpActionResult GetUserTypebyLicenseId(int UserTypeId, int LicenseId)
{
+ short UserType = (short)UserTypeId;
dbContext.Configuration.ProxyCreationEnabled = false;
List userTypelist = new List();
- var userTypeEntity = dbContext.GetUserTyeByAccountNumber((byte)UserTypeId, LicenseId).ToList();
+ var userTypeEntity = dbContext.GetUserTyeByAccountNumber((byte)UserType, LicenseId).ToList();
userTypelist = userTypeEntity.Select(l => new GetUserTyeByAccountNumber_Result() { Id = l.Id, Title = l.Title }).ToList();
//userTypelist.Insert(0, new UserType { Id = 0, Title = "All" });
return Ok(userTypelist);
@@ -176,7 +177,7 @@ namespace AIAHTML5.ADMIN.API.Controllers
return Ok(AccountNumberList);
}
- [Route("GetAccountNumber")]
+ [Route("GetProductEdition")]
[HttpGet]
public IHttpActionResult GetProductEditionByLicense(int LicenseId)
{
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.Context.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.Context.cs
index 6cbdeac..856bb93 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.Context.cs
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.Context.cs
@@ -2936,5 +2936,81 @@ namespace AIAHTML5.ADMIN.API.Entity
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("usp_GetProductEditionByLicense", iLicenseIdParameter);
}
+
+ public virtual int usp_DeleteSubscriptionPlan(Nullable id, ObjectParameter status)
+ {
+ var idParameter = id.HasValue ?
+ new ObjectParameter("Id", id) :
+ new ObjectParameter("Id", typeof(byte));
+
+ return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("usp_DeleteSubscriptionPlan", idParameter, status);
+ }
+
+ public virtual ObjectResult usp_GetSubscriptionPlans(Nullable iEditionId)
+ {
+ var iEditionIdParameter = iEditionId.HasValue ?
+ new ObjectParameter("iEditionId", iEditionId) :
+ new ObjectParameter("iEditionId", typeof(byte));
+
+ return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("usp_GetSubscriptionPlans", iEditionIdParameter);
+ }
+
+ public virtual int usp_InsertSubscriptionPlan(Nullable id, string title, Nullable price, Nullable duration, Nullable editionId, Nullable isActive, ObjectParameter status)
+ {
+ var idParameter = id.HasValue ?
+ new ObjectParameter("Id", id) :
+ new ObjectParameter("Id", typeof(byte));
+
+ var titleParameter = title != null ?
+ new ObjectParameter("Title", title) :
+ new ObjectParameter("Title", typeof(string));
+
+ var priceParameter = price.HasValue ?
+ new ObjectParameter("Price", price) :
+ new ObjectParameter("Price", typeof(decimal));
+
+ var durationParameter = duration.HasValue ?
+ new ObjectParameter("Duration", duration) :
+ new ObjectParameter("Duration", typeof(byte));
+
+ var editionIdParameter = editionId.HasValue ?
+ new ObjectParameter("EditionId", editionId) :
+ new ObjectParameter("EditionId", typeof(byte));
+
+ var isActiveParameter = isActive.HasValue ?
+ new ObjectParameter("IsActive", isActive) :
+ new ObjectParameter("IsActive", typeof(bool));
+
+ return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("usp_InsertSubscriptionPlan", idParameter, titleParameter, priceParameter, durationParameter, editionIdParameter, isActiveParameter, status);
+ }
+
+ public virtual int usp_UpdateSubscriptionPlan(Nullable id, string title, Nullable price, Nullable duration, Nullable editionId, Nullable isActive, ObjectParameter status)
+ {
+ var idParameter = id.HasValue ?
+ new ObjectParameter("Id", id) :
+ new ObjectParameter("Id", typeof(byte));
+
+ var titleParameter = title != null ?
+ new ObjectParameter("Title", title) :
+ new ObjectParameter("Title", typeof(string));
+
+ var priceParameter = price.HasValue ?
+ new ObjectParameter("Price", price) :
+ new ObjectParameter("Price", typeof(decimal));
+
+ var durationParameter = duration.HasValue ?
+ new ObjectParameter("Duration", duration) :
+ new ObjectParameter("Duration", typeof(byte));
+
+ var editionIdParameter = editionId.HasValue ?
+ new ObjectParameter("EditionId", editionId) :
+ new ObjectParameter("EditionId", typeof(byte));
+
+ var isActiveParameter = isActive.HasValue ?
+ new ObjectParameter("IsActive", isActive) :
+ new ObjectParameter("IsActive", typeof(bool));
+
+ return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("usp_UpdateSubscriptionPlan", idParameter, titleParameter, priceParameter, durationParameter, editionIdParameter, isActiveParameter, status);
+ }
}
}
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.edmx b/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.edmx
index c3dee0b..e3c150c 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.edmx
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/AIADBEntity.edmx
@@ -2615,6 +2615,10 @@ warning 6002: The table/view 'AIADatabaseV5.dbo.VocabTermNumberToSystemMap' does
+
+
+
+
@@ -2622,9 +2626,30 @@ warning 6002: The table/view 'AIADatabaseV5.dbo.VocabTermNumberToSystemMap' does
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6069,7 +6094,32 @@ FROM [dbo].[VocabTermNumberToSystemMap] AS [VocabTermNumberToSystemMap]
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -6888,6 +6938,14 @@ FROM [dbo].[VocabTermNumberToSystemMap] AS [VocabTermNumberToSystemMap]
+
+
+
+
+
+
+
+
@@ -9212,6 +9270,21 @@ FROM [dbo].[VocabTermNumberToSystemMap] AS [VocabTermNumberToSystemMap]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/usp_GetSubscriptionPlans_Result.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/usp_GetSubscriptionPlans_Result.cs
new file mode 100644
index 0000000..6bc11dd
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Entity/usp_GetSubscriptionPlans_Result.cs
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated from a template.
+//
+// Manual changes to this file may cause unexpected behavior in your application.
+// Manual changes to this file will be overwritten if the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace AIAHTML5.ADMIN.API.Entity
+{
+ using System;
+
+ public partial class usp_GetSubscriptionPlans_Result
+ {
+ public Nullable price { get; set; }
+ public string title { get; set; }
+ public short Id { get; set; }
+ public byte EditionId { get; set; }
+ public byte Duration { get; set; }
+ public bool IsActive { get; set; }
+ }
+}
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/DiscountCodeModel.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/DiscountCodeModel.cs
index b4ea476..a677a03 100644
--- a/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/DiscountCodeModel.cs
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/DiscountCodeModel.cs
@@ -45,8 +45,8 @@ namespace AIAHTML5.ADMIN.API.Models
{
try
{
- var result = dbContext.InsertNewDiscount(discountCodeModel.Percentage, discountCodeModel.StartDate.ToString(),
- discountCodeModel.EndDate.ToString(), discountCodeModel.DiscountCode);
+ var result = dbContext.InsertNewDiscount(discountCodeModel.Percentage, discountCodeModel.StartDate.ToString("MM/dd/yyyy"),
+ discountCodeModel.EndDate.ToString("MM/dd/yyyy"), discountCodeModel.DiscountCode);
if (result.Count() > 0)
{
return true;
@@ -66,8 +66,8 @@ namespace AIAHTML5.ADMIN.API.Models
{
try
{
- var result = dbContext.UpdateDiscount(discountCodeModel.Id, discountCodeModel.Percentage, discountCodeModel.StartDate.ToString(),
- discountCodeModel.EndDate.ToString(), (byte?)(discountCodeModel.IsActive == true ? 1 : 0), discountCodeModel.DiscountCode);
+ var result = dbContext.UpdateDiscount(discountCodeModel.Id, discountCodeModel.Percentage, discountCodeModel.StartDate.ToString("MM/dd/yyyy"),
+ discountCodeModel.EndDate.ToString("MM/dd/yyyy"), (byte?)(discountCodeModel.IsActive == true ? 1 : 0), discountCodeModel.DiscountCode);
if (result.Count() > 0)
{
return true;
diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/SubscriptionPriceModel.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/SubscriptionPriceModel.cs
new file mode 100644
index 0000000..f0f9098
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/Models/SubscriptionPriceModel.cs
@@ -0,0 +1,96 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using AIAHTML5.ADMIN.API.Entity;
+
+namespace AIAHTML5.ADMIN.API.Models
+{
+ public class SubscriptionPriceModel
+ {
+ public int Id { get; set; }
+ public string Title { get; set; }
+ public decimal Price { get; set; }
+ public int Duration { get; set; }
+ public int EditionId { get; set; }
+ public bool IsActive { get; set; }
+
+ public static List GetSubscriptionPrices(AIADatabaseV5Entities dbContext, int editionId)
+ {
+ List SubscriptionPriceList = new List();
+ SubscriptionPriceModel SubscriptionPriceObj = new SubscriptionPriceModel();
+ try
+ {
+ var result = dbContext.usp_GetSubscriptionPlans((byte?)editionId).ToList();
+ if (result.Count > 0)
+ {
+ foreach (var item in result)
+ {
+ SubscriptionPriceObj = new SubscriptionPriceModel();
+ SubscriptionPriceObj.Id = item.Id;
+ SubscriptionPriceObj.Title = item.title;
+ SubscriptionPriceObj.Price = item.price.Value;
+ SubscriptionPriceObj.Duration = item.Duration;
+ SubscriptionPriceObj.EditionId = item.EditionId;
+ SubscriptionPriceObj.IsActive = item.IsActive;
+ SubscriptionPriceList.Add(SubscriptionPriceObj);
+ }
+ }
+ }
+ catch (Exception ex) { }
+ return SubscriptionPriceList;
+ }
+
+ public static bool InsertSubscriptionPrice(AIADatabaseV5Entities dbContext, SubscriptionPriceModel subscriptionPriceModel)
+ {
+ var spStatus = new System.Data.Objects.ObjectParameter("Status", 0);
+ try
+ {
+ dbContext.usp_InsertSubscriptionPlan((byte?)subscriptionPriceModel.Id, subscriptionPriceModel.Title, (decimal?)subscriptionPriceModel.Price,
+ (byte?)subscriptionPriceModel.Duration, (byte?)subscriptionPriceModel.EditionId, subscriptionPriceModel.IsActive, spStatus);
+ return (bool)spStatus.Value;
+ }
+ catch (Exception ex)
+ {
+ return false;
+ }
+ }
+
+ public static bool UpdateSubscriptionPrices(AIADatabaseV5Entities dbContext, List subscriptionPriceList)
+ {
+ var spStatus = new System.Data.Objects.ObjectParameter("Status", 0);
+ try
+ {
+ foreach (var item in subscriptionPriceList)
+ {
+ dbContext.usp_UpdateSubscriptionPlan((byte?)item.Id, item.Title, item.Price, (byte?)item.Duration, (byte?)item.EditionId,
+ item.IsActive, spStatus);
+ if (!(bool)spStatus.Value) break;
+ }
+ return (bool)spStatus.Value;
+ }
+ catch (Exception ex)
+ {
+ return false;
+ }
+ }
+
+ public static bool DeleteSubscriptionPrices(AIADatabaseV5Entities dbContext, List subscriptionPriceIds)
+ {
+ var spStatus = new System.Data.Objects.ObjectParameter("Status", 0);
+ try
+ {
+ foreach (var item in subscriptionPriceIds)
+ {
+ dbContext.usp_DeleteSubscriptionPlan((byte?)item, spStatus);
+ if (!(bool)spStatus.Value) break;
+ }
+ return (bool)spStatus.Value;
+ }
+ catch (Exception ex)
+ {
+ return false;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj b/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj
index 199f5c9..97e6f61 100644
--- a/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj
+++ b/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj
@@ -14,22 +14,14 @@
-
-
-
- PreserveNewest
-
-
- PreserveNewest
-
PreserveNewest
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.e2e-spec.js b/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.e2e-spec.js
deleted file mode 100644
index 27d9da5..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.e2e-spec.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var app_po_1 = require("./app.po");
-describe('aianew App', function () {
- var page;
- beforeEach(function () {
- page = new app_po_1.AppPage();
- });
- it('should display welcome message', function () {
- page.navigateTo();
- expect(page.getParagraphText()).toEqual('Welcome to app!');
- });
-});
-//# sourceMappingURL=app.e2e-spec.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.e2e-spec.js.map b/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.e2e-spec.js.map
deleted file mode 100644
index 356d1f3..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.e2e-spec.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"app.e2e-spec.js","sourceRoot":"","sources":["../../../e2e/app.e2e-spec.ts"],"names":[],"mappings":";;AAAA,mCAAmC;AAEnC,QAAQ,CAAC,YAAY,EAAE;IACrB,IAAI,IAAa,CAAC;IAElB,UAAU,CAAC;QACT,IAAI,GAAG,IAAI,gBAAO,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE;QACnC,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,MAAM,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.po.js b/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.po.js
deleted file mode 100644
index 57c84ba..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.po.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var protractor_1 = require("protractor");
-var AppPage = /** @class */ (function () {
- function AppPage() {
- }
- AppPage.prototype.navigateTo = function () {
- return protractor_1.browser.get('/');
- };
- AppPage.prototype.getParagraphText = function () {
- return protractor_1.element(protractor_1.by.css('app-root h1')).getText();
- };
- return AppPage;
-}());
-exports.AppPage = AppPage;
-//# sourceMappingURL=app.po.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.po.js.map b/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.po.js.map
deleted file mode 100644
index 9542b80..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/e2e/app.po.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"app.po.js","sourceRoot":"","sources":["../../../e2e/app.po.ts"],"names":[],"mappings":";;AAAA,yCAAkD;AAElD;IAAA;IAQA,CAAC;IAPC,4BAAU,GAAV;QACE,MAAM,CAAC,oBAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,kCAAgB,GAAhB;QACE,MAAM,CAAC,oBAAO,CAAC,eAAE,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAClD,CAAC;IACH,cAAC;AAAD,CAAC,AARD,IAQC;AARY,0BAAO"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.component.js
deleted file mode 100644
index ced725a..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.component.js
+++ /dev/null
@@ -1,204 +0,0 @@
-"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 confirm_service_1 = require("./confirm.service");
-var ng2_bs3_modal_1 = require("ng2-bs3-modal/ng2-bs3-modal");
-var KEY_ESC = 27;
-var ConfirmComponent = /** @class */ (function () {
- function ConfirmComponent(confirmService) {
- this._defaults = {
- type: 'reset',
- message: 'Do you want to cancel your changes?',
- cancelText: 'Cancel',
- okText: 'OK'
- };
- this.alertshow = false;
- confirmService.activate = this.activate.bind(this);
- }
- ConfirmComponent.prototype._setLabels = function (message, type) {
- if (message === void 0) { message = this._defaults.message; }
- if (type === void 0) { type = this._defaults.type; }
- // this.modalType = type;
- this.type = type;
- //this.alertshow = type == 'reset' ? true : false;
- this.message = message;
- this.okText = this._defaults.okText;
- this.cancelText = this._defaults.cancelText;
- };
- ConfirmComponent.prototype.activate = function (message, type) {
- var _this = this;
- if (message === void 0) { message = this._defaults.message; }
- if (type === void 0) { type = this._defaults.type; }
- this._setLabels(message, type);
- var promise = new Promise(function (resolve) {
- _this._show(resolve);
- });
- return promise;
- };
- ConfirmComponent.prototype._show = function (resolve) {
- var _this = this;
- document.onkeyup = null;
- var yesOnClick = function (e) { return resolve(1); }; // 1 for yes
- var noOnClick = function (e) { return resolve(2); }; // 2 for no
- var cancelOnClick = function (e) { return resolve(3); }; // 3 for cancel
- var yesResetClick = function (e) { return resolve(1); };
- var noResetClick = function (e) { return resolve(2); };
- var yesConfirmClick = function (e) { return resolve(6); }; // yes
- var noConfirmClick = function (e) { return resolve(7); }; // NO
- var okAlertClick = function (e) { return resolve(5); }; // for alert message
- var closeAlertClick = function (e) { return resolve(8); }; // for alert message
- if (!this._cancelButton || !this._okButton)
- return;
- //this._confirmElement.style.opacity = 0;
- //this._confirmElement.style.zIndex = 9999;
- this._cancelButton.onclick = (function (e) {
- e.preventDefault();
- if (!cancelOnClick(e))
- _this._hideDialog();
- });
- this._okButton.onclick = (function (e) {
- e.preventDefault();
- if (!yesOnClick(e))
- _this._hideDialog();
- });
- this._noButton.onclick = (function (e) {
- e.preventDefault();
- if (!noOnClick(e))
- _this._hideDialog();
- });
- this._noResetButton.onclick = (function (e) {
- e.preventDefault();
- if (!noResetClick(e))
- _this._hideDialog();
- });
- this._yesResetButton.onclick = (function (e) {
- e.preventDefault();
- if (!yesResetClick(e))
- _this._hideDialog();
- });
- this._noConfirmButton.onclick = (function (e) {
- e.preventDefault();
- if (!noConfirmClick(e))
- _this._hideDialog();
- });
- this._yesConfirmButton.onclick = (function (e) {
- e.preventDefault();
- if (!yesConfirmClick(e))
- _this._hideDialog();
- });
- this._okAlert.onclick = (function (e) {
- e.preventDefault();
- if (!okAlertClick(e))
- _this._hideDialog();
- });
- this._closeAlert.onclick = (function (e) {
- e.preventDefault();
- if (!closeAlertClick(e))
- _this._hideDialog();
- });
- //this._confirmelement.onclick = () => {
- // this._hidedialog();
- // return negativeonclick(null);
- //};
- if (this.type.toString() == "close") {
- this.closeModal.open('sm');
- return;
- }
- if (this.type.toString() == "reset") {
- this.resetModal.open('sm');
- return;
- }
- if (this.type.toString() == "confirmModel") {
- this.confirmModel.open('sm');
- return;
- }
- if (this.type.toString() == "alertMsg") {
- //setTimeout(this.alertMessageModal.open('sm'), 60000);
- clearTimeout(this.timer);
- this.timer = setTimeout(function () {
- _this.alertMessageModal.open('sm');
- }, 500);
- return;
- }
- if (this.type.toString() == "alertMsg2") {
- this.alertMessageModal.open('sm');
- return;
- }
- document.onkeyup = function (e) {
- if (e.which == KEY_ESC) {
- _this._hideDialog();
- return cancelOnClick(null);
- }
- };
- //this._confirmElement.style.opacity = 1;
- };
- ConfirmComponent.prototype._hideDialog = function () {
- if (this.type.toString() == "close") {
- this.closeModal.close();
- return;
- }
- if (this.type.toString() == "reset") {
- this.resetModal.close();
- return;
- }
- if (this.type.toString() == "confirmModel") {
- this.confirmModel.close();
- return;
- }
- if (this.type.toString() == "alertMsg") {
- this.alertMessageModal.close();
- return;
- }
- if (this.type.toString() == "alertMsg2") {
- this.alertMessageModal.close();
- return;
- }
- };
- ConfirmComponent.prototype.ngOnInit = function () {
- //this._confirmElement = document.getElementById('confirmationModal');
- this._cancelButton = document.getElementById('cancelButton');
- this._okButton = document.getElementById('okButton');
- this._noButton = document.getElementById('noButton');
- this._yesResetButton = document.getElementById('yesResetButton');
- this._noResetButton = document.getElementById('noResetButton');
- this._yesConfirmButton = document.getElementById('yesConfirmButton');
- this._noConfirmButton = document.getElementById('noConfirmButton');
- this._okAlert = document.getElementById('okAlert');
- this._closeAlert = document.getElementById('closeAlert');
- };
- __decorate([
- core_1.ViewChild("closeModal"),
- __metadata("design:type", ng2_bs3_modal_1.ModalComponent)
- ], ConfirmComponent.prototype, "closeModal", void 0);
- __decorate([
- core_1.ViewChild("confirmModel"),
- __metadata("design:type", ng2_bs3_modal_1.ModalComponent)
- ], ConfirmComponent.prototype, "confirmModel", void 0);
- __decorate([
- core_1.ViewChild("resetModal"),
- __metadata("design:type", ng2_bs3_modal_1.ModalComponent)
- ], ConfirmComponent.prototype, "resetModal", void 0);
- __decorate([
- core_1.ViewChild("alertMessageModal"),
- __metadata("design:type", ng2_bs3_modal_1.ModalComponent)
- ], ConfirmComponent.prototype, "alertMessageModal", void 0);
- ConfirmComponent = __decorate([
- core_1.Component({
- selector: 'modal-confirm',
- templateUrl: './confirm.component.html',
- }),
- __metadata("design:paramtypes", [confirm_service_1.ConfirmService])
- ], ConfirmComponent);
- return ConfirmComponent;
-}());
-exports.ConfirmComponent = ConfirmComponent;
-//# sourceMappingURL=confirm.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.component.js.map
deleted file mode 100644
index ac6659d..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"confirm.component.js","sourceRoot":"","sources":["../../../../../../src/app/Shared/Confirm/confirm.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAC,sCAAsG;AACvG,qDAAiD;AACjD,6DAA6D;AAC7D,IAAM,OAAO,GAAG,EAAE,CAAC;AAMnB;IAkCI,0BAAY,cAA6B;QAhCjC,cAAS,GAAG;YAChB,IAAI,EAAE,OAAO;YACb,OAAO,EAAE,qCAAqC;YAC9C,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,IAAI;SACf,CAAC;QAGF,cAAS,GAAS,KAAK,CAAC;QAyBpB,cAAc,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAED,qCAAU,GAAV,UAAW,OAAgC,EAAE,IAA0B;QAA5D,wBAAA,EAAA,UAAU,IAAI,CAAC,SAAS,CAAC,OAAO;QAAE,qBAAA,EAAA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI;QACpE,yBAAyB;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAClB,mDAAmD;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;IAChD,CAAC;IAED,mCAAQ,GAAR,UAAS,OAAgC,EAAE,IAA0B;QAArE,iBAMC;QANQ,wBAAA,EAAA,UAAU,IAAI,CAAC,SAAS,CAAC,OAAO;QAAE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AC,iBAAiB,CAAC,CAAC;QACnE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IAE7D,CAAC;IAhLD;QADC,gBAAS,CAAC,YAAY,CAAC;kCACZ,8BAAc;wDAAC;IAE3B;QADC,gBAAS,CAAC,cAAc,CAAC;kCACZ,8BAAc;0DAAC;IAE7B;QADC,gBAAS,CAAC,YAAY,CAAC;kCACZ,8BAAc;wDAAC;IAE3B;QADC,gBAAS,CAAC,mBAAmB,CAAC;kCACZ,8BAAc;+DAAC;IAtBzB,gBAAgB;QAJ5B,gBAAS,CAAC;YACP,QAAQ,EAAE,eAAe;YACzB,WAAW,EAAE,0BAA0B;SAC1C,CAAC;yCAmC6B,gCAAc;OAlChC,gBAAgB,CAiM5B;IAAD,uBAAC;CAAA,AAjMD,IAiMC;AAjMY,4CAAgB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.service.js
deleted file mode 100644
index d29965d..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.service.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"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;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var ConfirmService = /** @class */ (function () {
- function ConfirmService() {
- }
- ConfirmService = __decorate([
- core_1.Injectable()
- ], ConfirmService);
- return ConfirmService;
-}());
-exports.ConfirmService = ConfirmService;
-//# sourceMappingURL=confirm.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.service.js.map
deleted file mode 100644
index 249bd44..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/Confirm/confirm.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"confirm.service.js","sourceRoot":"","sources":["../../../../../../src/app/Shared/Confirm/confirm.service.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAAyC;AAGzC;IAAA;IAEA,CAAC;IAFY,cAAc;QAD1B,iBAAU,EAAE;OACA,cAAc,CAE1B;IAAD,qBAAC;CAAA,AAFD,IAEC;AAFY,wCAAc"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/enum.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/enum.js
deleted file mode 100644
index 421ac4c..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/enum.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var DBOperation;
-(function (DBOperation) {
- DBOperation[DBOperation["create"] = 1] = "create";
- DBOperation[DBOperation["update"] = 2] = "update";
- DBOperation[DBOperation["delete"] = 3] = "delete";
-})(DBOperation = exports.DBOperation || (exports.DBOperation = {}));
-//# sourceMappingURL=enum.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/enum.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/enum.js.map
deleted file mode 100644
index 4606582..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/enum.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../../../../src/app/shared/enum.ts"],"names":[],"mappings":";;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,iDAAU,CAAA;IACV,iDAAU,CAAA;IACV,iDAAS,CAAA;AACb,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/global.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/global.js
deleted file mode 100644
index 3da04dd..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/global.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var GlobalService = /** @class */ (function () {
- function GlobalService() {
- this.resourceBaseUrl = "";
- this.hostURL = "";
- this.UserId = 6;
- this.UserType = 0;
- this.AccountType = 0;
- this.hostURL = window.location.hostname;
- this.resourceBaseUrl = "http://192.168.84.242:97/User";
- }
- return GlobalService;
-}());
-exports.GlobalService = GlobalService;
-//# sourceMappingURL=global.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/global.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/global.js.map
deleted file mode 100644
index 0d0a5c5..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/Shared/global.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"global.js","sourceRoot":"","sources":["../../../../../src/app/Shared/global.ts"],"names":[],"mappings":";;AAAA;IAME;QALA,oBAAe,GAAW,EAAE,CAAC;QAC7B,YAAO,GAAW,EAAE,CAAC;QACrB,WAAM,GAAW,CAAC,CAAC;QACnB,aAAQ,GAAW,CAAC,CAAC;QACrB,gBAAW,GAAW,CAAC,CAAC;QAEtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACxC,IAAI,CAAC,eAAe,GAAG,+BAA+B,CAAC;IACzD,CAAC;IACH,oBAAC;AAAD,CAAC,AAVD,IAUC;AAVY,sCAAa"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.js
deleted file mode 100644
index c469e2c..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.js
+++ /dev/null
@@ -1,31 +0,0 @@
-"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("./components/UserEntity/user.service");
-var managediscountcode_service_1 = require("./components/ManageDiscountCode/managediscountcode.service");
-var AppComponent = /** @class */ (function () {
- function AppComponent(userservice) {
- this.userservice = userservice;
- }
- AppComponent.prototype.ngOnInit = function () { };
- AppComponent = __decorate([
- core_1.Component({
- selector: 'app-component',
- templateUrl: '../app/app.component.html',
- providers: [user_service_1.UserService, managediscountcode_service_1.ManageDiscountCodeService]
- }),
- __metadata("design:paramtypes", [user_service_1.UserService])
- ], AppComponent);
- return AppComponent;
-}());
-exports.AppComponent = AppComponent;
-//# sourceMappingURL=app.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.js.map
deleted file mode 100644
index 70610ad..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"app.component.js","sourceRoot":"","sources":["../../../../src/app/app.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkD;AAClD,qEAAmE;AACnE,yGAAuG;AAOvG;IAEE,sBAAoB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAI,CAAC;IAEjD,+BAAQ,GAAR,cAAmB,CAAC;IAJT,YAAY;QANxB,gBAAS,CAAC;YACT,QAAQ,EAAE,eAAe;YACzB,WAAW,EAAE,2BAA2B;YACxC,SAAS,EAAE,CAAC,0BAAW,EAAE,sDAAyB,CAAC;SACpD,CAAC;yCAIiC,0BAAW;OAFjC,YAAY,CAMxB;IAAD,mBAAC;CAAA,AAND,IAMC;AANY,oCAAY"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.spec.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.spec.js
deleted file mode 100644
index 9b4f04a..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.spec.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var testing_1 = require("@angular/core/testing");
-var app_component_1 = require("./app.component");
-describe('AppComponent', function () {
- beforeEach(testing_1.async(function () {
- testing_1.TestBed.configureTestingModule({
- declarations: [
- app_component_1.AppComponent
- ],
- }).compileComponents();
- }));
- it('should create the app', testing_1.async(function () {
- var fixture = testing_1.TestBed.createComponent(app_component_1.AppComponent);
- var app = fixture.debugElement.componentInstance;
- expect(app).toBeTruthy();
- }));
- it("should have as title 'app'", testing_1.async(function () {
- var fixture = testing_1.TestBed.createComponent(app_component_1.AppComponent);
- var app = fixture.debugElement.componentInstance;
- expect(app.title).toEqual('app');
- }));
- it('should render title in a h1 tag', testing_1.async(function () {
- var fixture = testing_1.TestBed.createComponent(app_component_1.AppComponent);
- fixture.detectChanges();
- var compiled = fixture.debugElement.nativeElement;
- expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!');
- }));
-});
-//# sourceMappingURL=app.component.spec.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.spec.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.spec.js.map
deleted file mode 100644
index 81d8e18..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.component.spec.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"app.component.spec.js","sourceRoot":"","sources":["../../../../src/app/app.component.spec.ts"],"names":[],"mappings":";;AAAA,iDAAuD;AAEvD,iDAA+C;AAE/C,QAAQ,CAAC,cAAc,EAAE;IACvB,UAAU,CAAC,eAAK,CAAC;QACf,iBAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE;gBACZ,4BAAY;aACb;SACF,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACzB,CAAC,CAAC,CAAC,CAAC;IAEJ,EAAE,CAAC,uBAAuB,EAAE,eAAK,CAAC;QAChC,IAAM,OAAO,GAAG,iBAAO,CAAC,eAAe,CAAC,4BAAY,CAAC,CAAC;QACtD,IAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;QACnD,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC,CAAC;IAEJ,EAAE,CAAC,4BAA4B,EAAE,eAAK,CAAC;QACrC,IAAM,OAAO,GAAG,iBAAO,CAAC,eAAe,CAAC,4BAAY,CAAC,CAAC;QACtD,IAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;QACnD,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC,CAAC;IAEJ,EAAE,CAAC,iCAAiC,EAAE,eAAK,CAAC;QAC1C,IAAM,OAAO,GAAG,iBAAO,CAAC,eAAe,CAAC,4BAAY,CAAC,CAAC;QACtD,OAAO,CAAC,aAAa,EAAE,CAAC;QACxB,IAAM,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC;QACpD,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAChF,CAAC,CAAC,CAAC,CAAC;AACN,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.module.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.module.js
deleted file mode 100644
index d4a8229..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.module.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"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;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var forms_1 = require("@angular/forms");
-var platform_browser_1 = require("@angular/platform-browser");
-var core_1 = require("@angular/core");
-var http_1 = require("@angular/common/http");
-var common_1 = require("@angular/common");
-var http_2 = require("@angular/http");
-var ng2_bs3_modal_1 = require("ng2-bs3-modal/ng2-bs3-modal");
-//import { ModalModule } from 'ngx-bootstrap/modal';
-var updateuserprofile_component_1 = require("./components/UserEntity/updateuserprofile.component");
-var changeuserpassword_component_1 = require("./components/UserEntity/changeuserpassword.component");
-var changeuserid_component_1 = require("./components/UserEntity/changeuserid.component");
-var users_component_1 = require("./components/UserEntity/users.component");
-var managediscountcode_component_1 = require("./components/ManageDiscountCode/managediscountcode.component");
-var app_component_1 = require("./app.component");
-var app_routing_module_1 = require("./app.routing.module");
-//import { AuthGuard } from '../app/authguard.service';
-//import { AuthService } from '../app/auth.service';
-//import { MyInterceptor } from '../app/token.interceptor';
-var global_1 = require("./Shared/global");
-var confirm_service_1 = require("./Shared/Confirm/confirm.service");
-var confirm_component_1 = require("./Shared/Confirm/confirm.component");
-var AppModule = /** @class */ (function () {
- function AppModule() {
- }
- AppModule = __decorate([
- core_1.NgModule({
- declarations: [
- changeuserpassword_component_1.ChangeUserPassword, changeuserid_component_1.ChangeUserID,
- updateuserprofile_component_1.UpdateUserProfile, users_component_1.UsersList,
- managediscountcode_component_1.ManageDiscountCode,
- app_component_1.AppComponent, confirm_component_1.ConfirmComponent
- ],
- imports: [
- platform_browser_1.BrowserModule, app_routing_module_1.AppRoutingModule, http_1.HttpClientModule, forms_1.FormsModule, forms_1.ReactiveFormsModule, http_2.HttpModule, ng2_bs3_modal_1.Ng2Bs3ModalModule //ModalModule.forRoot()
- ],
- providers: [global_1.GlobalService, confirm_service_1.ConfirmService,
- //AuthService,
- //AuthGuard,
- //{
- // provide: HTTP_INTERCEPTORS,
- // useClass: MyInterceptor,
- // multi: true
- //}
- { provide: common_1.APP_BASE_HREF, useValue: '/' }
- ],
- bootstrap: [app_component_1.AppComponent]
- })
- ], AppModule);
- return AppModule;
-}());
-exports.AppModule = AppModule;
-//# sourceMappingURL=app.module.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.module.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.module.js.map
deleted file mode 100644
index d1c678b..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.module.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../../../src/app/app.module.ts"],"names":[],"mappings":";;;;;;;;AAEA,wCAAkE;AAClE,8DAA0D;AAC1D,sCAAyC;AAEzC,6CAA2E;AAC3E,0CAAgD;AAChD,sCAA2C;AAC3C,6DAAgE;AAEhE,oDAAoD;AACpD,mGAAwF;AACxF,qGAA0F;AAC1F,yFAA8E;AAC9E,2EAAoE;AACpE,6GAAkG;AAClG,iDAA+C;AAC/C,2DAAwD;AACxD,uDAAuD;AACvD,oDAAoD;AACpD,2DAA2D;AAC3D,0CAAgD;AAChD,oEAAkE;AAClE,wEAAqE;AAyBrE;IAAA;IAAyB,CAAC;IAAb,SAAS;QAxBrB,eAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,iDAAkB,EAAE,qCAAY;gBAChC,+CAAiB,EAAE,2BAAS;gBAC5B,iDAAkB;gBAClB,4BAAY,EAAE,oCAAgB;aAC/B;YACD,OAAO,EAAE;gBACP,gCAAa,EAAE,qCAAgB,EAAE,uBAAgB,EAAE,mBAAW,EAAE,2BAAmB,EAAE,iBAAU,EAAE,iCAAiB,CAAC,uBAAuB;aAC3I;YACD,SAAS,EAAE,CAAC,sBAAa,EAAE,gCAAc;gBACvC,cAAc;gBACd,YAAY;gBACZ,GAAG;gBACH,+BAA+B;gBAC/B,4BAA4B;gBAC5B,eAAe;gBACf,GAAG;gBACH,EAAE,OAAO,EAAE,sBAAa,EAAE,QAAQ,EAAE,GAAG,EAAE;aAE1C;YACD,SAAS,EAAE,CAAC,4BAAY,CAAC;SAC1B,CAAC;OAEW,SAAS,CAAI;IAAD,gBAAC;CAAA,AAA1B,IAA0B;AAAb,8BAAS"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.routing.module.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.routing.module.js
deleted file mode 100644
index 20b14d0..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.routing.module.js
+++ /dev/null
@@ -1,41 +0,0 @@
-"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;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var router_1 = require("@angular/router");
-var updateuserprofile_component_1 = require("./components/UserEntity/updateuserprofile.component");
-var changeuserpassword_component_1 = require("./components/UserEntity/changeuserpassword.component");
-var changeuserid_component_1 = require("./components/UserEntity/changeuserid.component");
-var users_component_1 = require("./components/UserEntity/users.component");
-var managediscountcode_component_1 = require("./components/ManageDiscountCode/managediscountcode.component");
-//import { AuthGuard } from './authguard.service';
-var appRoutes = [
- //{ path: '', redirectTo:'updateuserprofile',pathMatch }
- { path: 'updateuserprofile', component: updateuserprofile_component_1.UpdateUserProfile },
- { path: 'changeuserpassword', component: changeuserpassword_component_1.ChangeUserPassword },
- { path: 'changeuserid', component: changeuserid_component_1.ChangeUserID },
- { path: 'users', component: users_component_1.UsersList },
- { path: 'managediscountcode', component: managediscountcode_component_1.ManageDiscountCode },
-];
-var AppRoutingModule = /** @class */ (function () {
- function AppRoutingModule() {
- }
- AppRoutingModule = __decorate([
- core_1.NgModule({
- imports: [
- router_1.RouterModule.forRoot(appRoutes, { enableTracing: true }) // <-- debugging purposes only
- ],
- exports: [
- router_1.RouterModule
- ]
- })
- ], AppRoutingModule);
- return AppRoutingModule;
-}());
-exports.AppRoutingModule = AppRoutingModule;
-//# sourceMappingURL=app.routing.module.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.routing.module.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.routing.module.js.map
deleted file mode 100644
index fdaa4c2..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/app.routing.module.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"app.routing.module.js","sourceRoot":"","sources":["../../../../src/app/app.routing.module.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAAyC;AACzC,0CAAuD;AACvD,mGAAwF;AACxF,qGAA0F;AAC1F,yFAA8E;AAC9E,2EAAoE;AACpE,6GAAkG;AAClG,kDAAkD;AAElD,IAAM,SAAS,GAAW;IACxB,yDAAyD;IACzD,EAAE,IAAI,EAAE,mBAAmB,EAAE,SAAS,EAAE,+CAAiB,EAAE;IAC3D,EAAE,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAE,iDAAkB,EAAE;IAC7D,EAAE,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,qCAAY,EAAE;IACjD,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,2BAAS,EAAE;IACvC,EAAE,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAE,iDAAkB,EAAE;CAC9D,CAAC;AAWF;IAAA;IAAgC,CAAC;IAApB,gBAAgB;QAT5B,eAAQ,CAAC;YACR,OAAO,EAAE;gBACP,qBAAY,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,8BAA8B;aACxF;YACD,OAAO,EAAE;gBACP,qBAAY;aACb;SACF,CAAC;OAEW,gBAAgB,CAAI;IAAD,uBAAC;CAAA,AAAjC,IAAiC;AAApB,4CAAgB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.component.js
deleted file mode 100644
index daf6789..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.component.js
+++ /dev/null
@@ -1,86 +0,0 @@
-"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 changeuserpassword_service_1 = require("./changeuserpassword.service");
-var router_1 = require("@angular/router");
-var forms_1 = require("@angular/forms");
-var datamodel_1 = require("../UpdateProfile/datamodel");
-//import { Global } from '../../Shared/global';
-//import { DBOperation } from 'S';
-//import { Observable } from 'rxjs/Observable';
-var ChangeUserPassword = /** @class */ (function () {
- function ChangeUserPassword(changeUserPasswordService, router, fb) {
- this.changeUserPasswordService = changeUserPasswordService;
- this.router = router;
- this.fb = fb;
- }
- ChangeUserPassword.prototype.ngOnInit = function () {
- this.user = new datamodel_1.User();
- this.alerts = '';
- this.changeUserPasswordFrm = this.fb.group({
- loginId: ['', forms_1.Validators.required],
- oldPassword: ['', forms_1.Validators.required],
- newPassword: ['', [forms_1.Validators.required, forms_1.Validators.minLength(8)]],
- confirmPassword: ['', forms_1.Validators.required]
- });
- this.GetUserById();
- };
- ChangeUserPassword.prototype.GetUserById = function () {
- var _this = this;
- this.changeUserPasswordService.GetUserById()
- .subscribe(function (x) { _this.BindFormFields(x); }, function (error) { return _this.error = error; });
- };
- ChangeUserPassword.prototype.onFormSubmit = function () {
- var _this = this;
- if (this.user.Password != this.changeUserPasswordFrm.value.oldPassword) {
- this.alerts = 'Old password is invalid';
- }
- if (this.changeUserPasswordFrm.value.newPassword != this.changeUserPasswordFrm.value.confirmPassword) {
- this.alerts += 'New password and confirm password must be same';
- }
- if (this.alerts != '') {
- this.user = this.changeUserPasswordFrm.value;
- var obj = this.user;
- return this.changeUserPasswordService.ChangeUserPassword(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- };
- ChangeUserPassword.prototype.AfterInsertData = function (data) {
- if (data.Status == "false") {
- this.alerts = "Password change unsuccessfull";
- }
- else {
- this.alerts = "Password changed successfully";
- }
- };
- ChangeUserPassword.prototype.BindFormFields = function (data) {
- this.user = data[0];
- this.changeUserPasswordFrm.controls['loginId'].setValue(this.user.LoginId);
- };
- ChangeUserPassword.prototype.ResetFormFields = function () {
- this.changeUserPasswordFrm.reset();
- this.changeUserPasswordFrm.controls['loginId'].setValue(this.user.LoginId);
- this.changeUserPasswordFrm.controls['oldPassword'].setValue('');
- this.changeUserPasswordFrm.controls['newPassword'].setValue('');
- this.changeUserPasswordFrm.controls['confirmPassword'].setValue('');
- this.alerts = '';
- };
- ChangeUserPassword = __decorate([
- core_1.Component({
- templateUrl: './changeuserpassword.component.html'
- }),
- __metadata("design:paramtypes", [changeuserpassword_service_1.ChangeUserPasswordService, router_1.Router, forms_1.FormBuilder])
- ], ChangeUserPassword);
- return ChangeUserPassword;
-}());
-exports.ChangeUserPassword = ChangeUserPassword;
-//# sourceMappingURL=changeuserpassword.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.component.js.map
deleted file mode 100644
index b346a5d..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserpassword.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/ChangePassword/changeuserpassword.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAiE;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GAAf;QACI,IAAI,CAAC,qBAAqB,CAAC,KAAK,EAAE,CAAA;QAClC,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3E,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAChE,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAChE,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACrB,CAAC;IA/DQ,kBAAkB;QAJ9B,gBAAS,CAAC;YACP,WAAW,EAAE,qCAAqC;SACrD,CAAC;yCAS6C,sDAAyB,EAAkB,eAAM,EAAc,mBAAW;OAP5G,kBAAkB,CAiE9B;IAAD,yBAAC;CAAA,AAjED,IAiEC;AAjEY,gDAAkB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.service.js
deleted file mode 100644
index d591134..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.service.js
+++ /dev/null
@@ -1,78 +0,0 @@
-"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");
-//import { HttpClient, HttpParams, HttpRequest} from "@angular/common/http";
-var http_1 = require("@angular/http");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-require("rxjs/add/observable/throw");
-require("rxjs/add/operator/do");
-var Observable_1 = require("rxjs/Observable");
-var global_1 = require("../../Shared/global");
-var ChangeUserPasswordService = /** @class */ (function () {
- function ChangeUserPasswordService(http, commonService) {
- this.http = http;
- this.commonService = commonService;
- }
- //public GetUserById(Id: any): Observable {
- // return this.http.request(
- // 'GET',
- // 'http://192.168.86.13:92/API/Api/Users/' + Id);
- //}
- //GetUserByLoginIdPassword(LoginId: string, Password: string): Observable {
- // return this.http.request(
- // 'GET',
- // 'http://192.168.86.13:92/API/Api/Users/{LoginId=' + LoginId + '&Password=' + Password + '}');
- //}
- //UpdateProfile(UserObj: User): Observable {
- // return this.http.request(
- // 'POST',
- // 'http://192.168.86.13:92/API/Api/Users/UpdateProfile',
- // {
- // body: UserObj
- // });
- //}
- ChangeUserPasswordService.prototype.GetUserById = function () {
- var _this = this;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetUserProfile/1")
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- ;
- };
- ChangeUserPasswordService.prototype.ChangeUserPassword = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/ChangeUserPassword", obj)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- ChangeUserPasswordService.prototype.extractData = function (res) {
- //debugger;
- var body = res.json();
- return body;
- };
- ChangeUserPasswordService.prototype.handleError = function (error) {
- // In a real world app, we might use a remote logging infrastructure
- // We'd also dig deeper into the error to get a better message
- var errMsg = (error.message) ? error.message :
- error.status ? error.status + " - " + error.statusText : 'Server error';
- console.error(errMsg); // log to console instead
- return Observable_1.Observable.throw(errMsg);
- };
- ChangeUserPasswordService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, global_1.GlobalService])
- ], ChangeUserPasswordService);
- return ChangeUserPasswordService;
-}());
-exports.ChangeUserPasswordService = ChangeUserPasswordService;
-//# sourceMappingURL=changeuserpassword.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.service.js.map
deleted file mode 100644
index bce2d2e..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangePassword/changeuserpassword.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserpassword.service.js","sourceRoot":"","sources":["../../../../../../src/app/components/ChangePassword/changeuserpassword.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAmD;AACnD,4EAA4E;AAC5E,sCAAoF;AACpF,iCAA+B;AAC/B,mCAAiC;AACjC,qCAAmC;AAEnC,gCAA8B;AAC9B,8CAA6C;AAC7C,8CAAoD;AAGpD;IAEE,mCAAoB,IAAU,EAAU,aAA4B;QAAhD,SAAI,GAAJ,IAAI,CAAM;QAAU,kBAAa,GAAb,aAAa,CAAe;IAAK,CAAC;IAExE,iDAAiD;IACjD,mCAAmC;IACnC,YAAY;IACZ,qDAAqD;IACrD,GAAG;IAEH,iFAAiF;IACjF,mCAAmC;IACnC,YAAY;IACZ,mGAAmG;IACnG,GAAG;IAEH,iDAAiD;IACjD,kCAAkC;IAClC,eAAe;IACf,8DAA8D;IAC9D,SAAS;IACT,uBAAuB;IACvB,WAAW;IACX,GAAG;IAEL,+CAAW,GAAX;QAAA,iBAIC;QAHC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CA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AAjEY,8DAAyB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/UserInfo.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/UserInfo.js
deleted file mode 100644
index c5b649b..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/UserInfo.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var UserInfo = /** @class */ (function () {
- function UserInfo() {
- }
- return UserInfo;
-}());
-exports.UserInfo = UserInfo;
-//# sourceMappingURL=UserInfo.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/UserInfo.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/UserInfo.js.map
deleted file mode 100644
index 25f0536..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/UserInfo.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"UserInfo.js","sourceRoot":"","sources":["../../../../../../src/app/components/ChangeUserID/UserInfo.ts"],"names":[],"mappings":";;AAAA;IAAA;IAKA,CAAC;IAAD,eAAC;AAAD,CAAC,AALD,IAKC;AALY,4BAAQ"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.component.js
deleted file mode 100644
index 8707dca..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.component.js
+++ /dev/null
@@ -1,166 +0,0 @@
-"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");
-var UserInfo_1 = require("../ChangeUserID/UserInfo");
-var http_1 = require("@angular/http");
-var confirm_service_1 = require("../../Shared/Confirm/confirm.service");
-require("rxjs/Rx");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/filter");
-var ChangeUserID = /** @class */ (function () {
- //@ViewChild("profileModal")
- //profileModal: ModalComponent;
- //errorMessage: any;
- function ChangeUserID(userservice, router, fb, http, _confirmService) {
- this.userservice = userservice;
- this.router = router;
- this.fb = fb;
- this.http = http;
- this._confirmService = _confirmService;
- this.UserId = 1;
- this.baseUrl = "User";
- this.emailPattern = "^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$";
- //extractData(res: Response) {
- // //debugger;
- // let body = res.json();
- // return body;
- //}
- //handleError(error: any) {
- // // In a real world app, we might use a remote logging infrastructure
- // // We'd also dig deeper into the error to get a better message
- // let errMsg = (error.message) ? error.message :
- // error.status ? `${error.status} - ${error.statusText}` : 'Server error';
- // console.error(errMsg); // log to console instead
- // return Observable.throw(errMsg);
- //}
- 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 () {
- this.user = new UserInfo_1.UserInfo();
- this.alerts = '';
- //this.userservice.GetUserById(this.UserId);
- this.ChangeUserIdFrm = this.fb.group({
- id: [''],
- loginid: ['', forms_1.Validators.required],
- newloginid: ['', forms_1.Validators.required],
- confirmloginid: ['', forms_1.Validators.required]
- // LastName: [''],
- // Gender: ['', Validators.required],
- // Email: ['']
- });
- this.GetUserById();
- };
- //ngAfterviewint() {
- // this.LoadUsers();
- //}
- //getCustomerById(UserId) {
- // return this.userservice.GetUserById(UserId)
- // .map((response: Response) => response.json())
- // .catch(this._errorHandler)
- //}
- //formErrors = {
- // 'firstName': '',
- // 'lastName': '',
- // 'email': ''
- //};
- ChangeUserID.prototype.GetUserById = function () {
- var _this = this;
- this.userservice.GetUserById()
- .subscribe(function (x) { console.log(x); _this.bindUsers(x); }, function (error) { return _this.error = error; });
- };
- ChangeUserID.prototype.UpdateUserProfile = function () {
- var _this = this;
- // debugger;
- this.user = this.ChangeUserIdFrm.value;
- //if(this.user.)
- console.log(this.user);
- var obj = this.user;
- if (this.ChangeUserIdFrm.valid) {
- return this.userservice.UpdateUserProfileById(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- };
- ChangeUserID.prototype.AfterInsertData = function (data) {
- //debugger;
- if (data.Status == "False") {
- // this._confirmService.activate(data.ResponseMessage, "alertMsg");
- //setTimeout(() => this.amCode.nativeElement.focus(), 0);
- // this.closeflag = false;
- return false;
- }
- else {
- this.status = true;
- debugger;
- this._confirmService.activate("User Profile Updated Successfully.", "alertMsg");
- //this.profileModal.open();
- // this.submitted = false;
- // this.GetAllAcctMgr();
- // this.DisableAllControls();
- // this.AccountManagerID.enable();
- // let accountManagerID: string = data.Id == null ? "" : data.Id.toString();
- // console.log(accountManagerID);
- // this.GetAcctMgr(Number(accountManagerID));
- //this.GetAccountManagerListOptions(false);
- // this.defautValue = data.id;
- // this.BtnReset = true;
- // this.BtnSave = true;
- // this.BtnEdit = false;
- // this.BtnNew = false;
- // this.BtnDelete = false;
- // this.Abbrevtion = this.Abbrev.value;
- // setTimeout(() => this.AMform.controls["AccountManagerID"].setValue(accountManagerID.toString()), 1000);
- // setTimeout(() => this.AMform.markAsPristine(), 2000);
- }
- //if (this.closeflag) {
- // this.close.emit(null);
- //}
- //else {
- //}
- };
- ChangeUserID.prototype.bindUsers = function (data) {
- debugger;
- //console.log(data);
- //alert(JSON.stringify(data));
- this.user = data[0];
- console.log(this.user);
- this.ChangeUserIdFrm.controls['id'].setValue(this.user.Id);
- this.ChangeUserIdFrm.controls['loginid'].setValue(this.user.LoginId);
- this.ChangeUserIdFrm.controls['newloginid'].setValue('');
- this.ChangeUserIdFrm.controls['confirmloginid'].setValue('');
- // this.GetClientListOptions(false);
- // this.GetCrossRefClientListOptions(false);
- };
- ChangeUserID = __decorate([
- core_1.Component({
- templateUrl: './changeuserid.component.html' // '../../../../../wwwroot/html/UpdateProfile/updateuserprofile.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder, http_1.Http,
- confirm_service_1.ConfirmService])
- ], ChangeUserID);
- return ChangeUserID;
-}());
-exports.ChangeUserID = ChangeUserID;
-//# sourceMappingURL=changeuserid.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.component.js.map
deleted file mode 100644
index ef338d0..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserid.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/ChangeUserID/changeuserid.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA2E;AAE3E,8DAA4D;AAC5D,0CAAyC;AACzC,wCAAiF;AAEjF,qDAAoD;AACpD,sCAA+C;AAI/C,wEAAsE;AACtE,mBAAiB;AACjB,iCAA+B;AAC/B,oCAAkC;AAOlC;IAgBE,4BAA4B;IAC5B,+BAA+B;IA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AAE,CAAC,CAAA;QAC7D,oCAAoC;QACpC,4CAA4C;IAC7C,CAAC;IA3HU,YAAY;QAJxB,gBAAS,CAAC;YACT,WAAW,EAAC,+BAA+B,CAAC,+EAA+E;SAC5H,CAAC;yCAqBiC,0BAAW,EAAkB,eAAM,EAAc,mBAAW,EAAgB,WAAI;YACtF,gCAAc;OApB9B,YAAY,CAuJxB;IAAD,mBAAC;CAAA,AAvJD,IAuJC;AAvJY,oCAAY"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.service.js
deleted file mode 100644
index 61a6809..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.service.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"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");
-//import { HttpClient, HttpParams, HttpRequest} from "@angular/common/http";
-var http_1 = require("@angular/http");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-require("rxjs/add/observable/throw");
-require("rxjs/add/operator/do");
-var Observable_1 = require("rxjs/Observable");
-var global_1 = require("../../Shared/global");
-var ChangeUserIDService = /** @class */ (function () {
- function ChangeUserIDService(http, commonService) {
- this.http = http;
- this.commonService = commonService;
- }
- ChangeUserIDService.prototype.GetUserById = function () {
- var _this = this;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetUserProfile/1")
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- ;
- };
- ChangeUserIDService.prototype.UpdateUserProfileById = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/UpdateProfile", obj)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- ChangeUserIDService.prototype.extractData = function (res) {
- //debugger;
- var body = res.json();
- return body;
- };
- ChangeUserIDService.prototype.handleError = function (error) {
- // In a real world app, we might use a remote logging infrastructure
- // We'd also dig deeper into the error to get a better message
- var errMsg = (error.message) ? error.message :
- error.status ? error.status + " - " + error.statusText : 'Server error';
- console.error(errMsg); // log to console instead
- return Observable_1.Observable.throw(errMsg);
- };
- ChangeUserIDService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, global_1.GlobalService])
- ], ChangeUserIDService);
- return ChangeUserIDService;
-}());
-exports.ChangeUserIDService = ChangeUserIDService;
-//# sourceMappingURL=changeuserid.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.service.js.map
deleted file mode 100644
index 0bc008a..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ChangeUserID/changeuserid.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserid.service.js","sourceRoot":"","sources":["../../../../../../src/app/components/ChangeUserID/changeuserid.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAmD;AACnD,4EAA4E;AAC5E,sCAAoF;AACpF,iCAA+B;AAC/B,mCAAiC;AACjC,qCAAmC;AAEnC,gCAA8B;AAC9B,8CAA6C;AAC7C,8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AC,CAAC,yBAAyB;QAChD,MAAM,CAAC,uBAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IA/BU,mBAAmB;QAD/B,iBAAU,EAAE;yCAGe,WAAI,EAAyB,sBAAa;OAFzD,mBAAmB,CA4C/B;IAAD,0BAAC;CAAA,AA5CD,IA4CC;AA5CY,kDAAmB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.component.js
deleted file mode 100644
index 703f4ae..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.component.js
+++ /dev/null
@@ -1,116 +0,0 @@
-"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 managediscountcode_service_1 = require("./managediscountcode.service");
-var router_1 = require("@angular/router");
-var forms_1 = require("@angular/forms");
-var datamodel_1 = require("../UserEntity/datamodel");
-//import { Global } from '../../Shared/global';
-//import { DBOperation } from 'S';
-//import { Observable } from 'rxjs/Observable';
-var ManageDiscountCode = /** @class */ (function () {
- function ManageDiscountCode(manageDiscountCodeService, router, fb) {
- this.manageDiscountCodeService = manageDiscountCodeService;
- this.router = router;
- this.fb = fb;
- this.Mode = 'Manage';
- this.divClass = '';
- this.topPos = '2000px';
- this.bsValue = new Date();
- }
- ManageDiscountCode.prototype.ngOnInit = function () {
- this.divClass = 'col-sm-12';
- this.discountCode = new datamodel_1.DiscountCode();
- this.alerts = '';
- this.manageDiscountCodeFrm = this.fb.group({
- searchDiscountCode: [''],
- searchStartDate: [''],
- searchEndDate: [''],
- discountCodes: this.fb.array([])
- });
- this.insertUpdateDiscountCodeFrm = this.fb.group({
- discountId: [''],
- discountCode: ['', forms_1.Validators.required],
- startDate: ['', forms_1.Validators.required],
- endDate: ['', forms_1.Validators.required],
- percentage: ['', forms_1.Validators.required],
- isActive: ['']
- });
- this.SearchDiscountCodes();
- };
- ManageDiscountCode.prototype.SearchDiscountCodes = function () {
- var _this = this;
- console.log(this.manageDiscountCodeFrm.controls['searchDiscountCode'].value + ', ' +
- this.manageDiscountCodeFrm.controls['searchStartDate'].value + ', ' +
- this.manageDiscountCodeFrm.controls['searchEndDate'].value);
- this.manageDiscountCodeService.GetDiscountCodes({
- discountCode: this.manageDiscountCodeFrm.controls['searchDiscountCode'].value,
- startDate: this.manageDiscountCodeFrm.controls['searchStartDate'].value,
- endDate: this.manageDiscountCodeFrm.controls['searchEndDate'].value
- })
- .subscribe(function (x) { _this.BindFormFields(x); }, function (error) { return _this.error = error; });
- };
- ManageDiscountCode.prototype.InsertUpdateDiscountCode = function () {
- var _this = this;
- console.log('InsertUpdateDiscountCode');
- this.alerts = '';
- if (this.alerts == '') {
- var obj = this.insertUpdateDiscountCodeFrm.value;
- return this.manageDiscountCodeService.InsertDiscountCode(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- };
- ManageDiscountCode.prototype.AfterInsertData = function (data) {
- if (data.Status == "false") {
- this.alerts = "Password change unsuccessfully";
- }
- else {
- this.alerts = "Password changed successfully";
- }
- };
- ManageDiscountCode.prototype.BindFormFields = function (data) {
- this.discountCodes = data;
- this.manageDiscountCodeFrm.setControl('discountCodes', this.fb.array(this.discountCodes));
- };
- ManageDiscountCode.prototype.ResetFormFields = function () {
- this.manageDiscountCodeFrm.reset();
- //this.manageDiscountCodeFrm.controls['loginId'].setValue(this.user.LoginId);
- //this.manageDiscountCodeFrm.controls['oldPassword'].setValue('');
- //this.manageDiscountCodeFrm.controls['newPassword'].setValue('');
- //this.manageDiscountCodeFrm.controls['confirmPassword'].setValue('');
- this.alerts = '';
- };
- ManageDiscountCode.prototype.AddDiscountCode = function () {
- this.Mode = 'Add';
- this.topPos = '100px';
- this.divClass = 'col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3';
- };
- ManageDiscountCode.prototype.EditDiscountCode = function () {
- this.Mode = 'Edit';
- this.topPos = '100px';
- this.divClass = 'col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3';
- };
- ManageDiscountCode.prototype.CancelAddEdit = function () {
- this.Mode = 'Manage';
- this.topPos = '2000px';
- this.divClass = 'col-sm-12';
- };
- ManageDiscountCode = __decorate([
- core_1.Component({
- templateUrl: './managediscountcode.component.html'
- }),
- __metadata("design:paramtypes", [managediscountcode_service_1.ManageDiscountCodeService, router_1.Router, forms_1.FormBuilder])
- ], ManageDiscountCode);
- return ManageDiscountCode;
-}());
-exports.ManageDiscountCode = ManageDiscountCode;
-//# sourceMappingURL=managediscountcode.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.component.js.map
deleted file mode 100644
index 63a6e6d..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"managediscountcode.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/ManageDiscountCode/managediscountcode.component.ts"],"names":[],"mappings":";;;;;;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Q,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC;IAChC,CAAC;IApGQ,kBAAkB;QAJ9B,gBAAS,CAAC;YACP,WAAW,EAAE,qCAAqC;SACrD,CAAC;yCAe6C,sDAAyB,EAAkB,eAAM,EAAc,mBAAW;OAb5G,kBAAkB,CAqG9B;IAAD,yBAAC;CAAA,AArGD,IAqGC;AArGY,gDAAkB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.service.js
deleted file mode 100644
index e2ea7b7..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.service.js
+++ /dev/null
@@ -1,101 +0,0 @@
-"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");
-//import { HttpClient, HttpParams, HttpRequest} from "@angular/common/http";
-var http_1 = require("@angular/http");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-require("rxjs/add/observable/throw");
-require("rxjs/add/operator/do");
-var Observable_1 = require("rxjs/Observable");
-var global_1 = require("../../Shared/global");
-var ManageDiscountCodeService = /** @class */ (function () {
- function ManageDiscountCodeService(http, commonService) {
- this.http = http;
- this.commonService = commonService;
- }
- //public GetUserById(Id: any): Observable {
- // return this.http.request(
- // 'GET',
- // 'http://192.168.86.13:92/API/Api/Users/' + Id);
- //}
- //GetUserByLoginIdPassword(LoginId: string, Password: string): Observable {
- // return this.http.request(
- // 'GET',
- // 'http://192.168.86.13:92/API/Api/Users/{LoginId=' + LoginId + '&Password=' + Password + '}');
- //}
- //UpdateProfile(UserObj: User): Observable {
- // return this.http.request(
- // 'POST',
- // 'http://192.168.86.13:92/API/Api/Users/UpdateProfile',
- // {
- // body: UserObj
- // });
- //}
- ManageDiscountCodeService.prototype.GetDiscountCodes = function (obj) {
- var _this = this;
- if (obj.startDate == '') {
- obj.startDate = '1/1/1';
- }
- if (obj.endDate == '') {
- obj.endDate = '1/1/9999';
- }
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetDiscountCodes?discountCode="
- + obj.discountCode + "&startDate=" + obj.startDate + "&endDate=" + obj.endDate)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- ManageDiscountCodeService.prototype.InsertDiscountCode = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- var jsonData = { 'id': obj.userId, 'newPassword': obj.newPassword };
- console.log(obj);
- var headers = new http_1.Headers({
- 'Content-Type': 'application/json'
- });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/ChangeUserPassword", JSON.stringify(jsonData), { headers: headers })
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- ManageDiscountCodeService.prototype.UpdateDiscountCode = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- var jsonData = { 'id': obj.userId, 'newPassword': obj.newPassword };
- console.log(obj);
- var headers = new http_1.Headers({
- 'Content-Type': 'application/json'
- });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/ChangeUserPassword", JSON.stringify(jsonData), { headers: headers })
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- ManageDiscountCodeService.prototype.extractData = function (res) {
- //debugger;
- var body = res.json();
- return body;
- };
- ManageDiscountCodeService.prototype.handleError = function (error) {
- // In a real world app, we might use a remote logging infrastructure
- // We'd also dig deeper into the error to get a better message
- var errMsg = (error.message) ? error.message :
- error.status ? error.status + " - " + error.statusText : 'Server error';
- console.error(errMsg); // log to console instead
- return Observable_1.Observable.throw(errMsg);
- };
- ManageDiscountCodeService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, global_1.GlobalService])
- ], ManageDiscountCodeService);
- return ManageDiscountCodeService;
-}());
-exports.ManageDiscountCodeService = ManageDiscountCodeService;
-//# sourceMappingURL=managediscountcode.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.service.js.map
deleted file mode 100644
index 974cd4c..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/ManageDiscountCode/managediscountcode.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"managediscountcode.service.js","sourceRoot":"","sources":["../../../../../../src/app/components/ManageDiscountCode/managediscountcode.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAmD;AACnD,4EAA4E;AAC5E,sCAAoF;AACpF,iCAA+B;AAC/B,mCAAiC;AACjC,qCAAmC;AACnC,gCAA8B;AAC9B,8CAA6C;AAC7C,8CAAoD;AAGpD;IAEE,mCAAoB,IAAU,EAAU,aAA4B;QAAhD,SAAI,GAAJ,IAAI,CAAM;QAAU,kBAAa,GAAb,aAAa,CAAe;IAAK,CAAC;IAExE,iDAAiD;IACjD,mCAAmC;IACnC,YAAY;IACZ,qDAAqD;IACrD,GAAG;IAEH,iFAAiF;IACjF,mCAAmC;IACnC,YAAY;IACZ,mGAAmG;IACnG,GAAG;IAEH,iDAAiD;IACjD,kCAAkC;IAClC,eAAe;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AAK,CAAC,MAAM,CAAC,CAAC,CAAC,yBAAyB;QAChD,MAAM,CAAC,uBAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IA7EU,yBAAyB;QADrC,iBAAU,EAAE;yCAGe,WAAI,EAAyB,sBAAa;OAFzD,yBAAyB,CA2FrC;IAAD,gCAAC;CAAA,AA3FD,IA2FC;AA3FY,8DAAyB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/datamodel.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/datamodel.js
deleted file mode 100644
index 5731abd..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/datamodel.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var User = /** @class */ (function () {
- function User() {
- }
- return User;
-}());
-exports.User = User;
-//# sourceMappingURL=datamodel.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/datamodel.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/datamodel.js.map
deleted file mode 100644
index 1af20e2..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/datamodel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"datamodel.js","sourceRoot":"","sources":["../../../../../../src/app/components/UpdateProfile/datamodel.ts"],"names":[],"mappings":";;AAAA;IAAA;IAOA,CAAC;IAAD,WAAC;AAAD,CAAC,AAPD,IAOC;AAPY,oBAAI"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/updateuserprofile.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/updateuserprofile.component.js
deleted file mode 100644
index 4b00240..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/updateuserprofile.component.js
+++ /dev/null
@@ -1,167 +0,0 @@
-"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");
-var datamodel_1 = require("../UpdateProfile/datamodel");
-var http_1 = require("@angular/http");
-var confirm_service_1 = require("../../Shared/Confirm/confirm.service");
-require("rxjs/Rx");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/filter");
-var UpdateUserProfile = /** @class */ (function () {
- //@ViewChild("profileModal")
- //profileModal: ModalComponent;
- //errorMessage: any;
- function UpdateUserProfile(userservice, router, fb, http, _confirmService) {
- this.userservice = userservice;
- this.router = router;
- this.fb = fb;
- this.http = http;
- this._confirmService = _confirmService;
- this.UserId = 1;
- this.indLoading = false;
- this.baseUrl = "User";
- this.emailPattern = "^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$";
- //extractData(res: Response) {
- // //debugger;
- // let body = res.json();
- // return body;
- //}
- //handleError(error: any) {
- // // In a real world app, we might use a remote logging infrastructure
- // // We'd also dig deeper into the error to get a better message
- // let errMsg = (error.message) ? error.message :
- // error.status ? `${error.status} - ${error.statusText}` : 'Server error';
- // console.error(errMsg); // log to console instead
- // return Observable.throw(errMsg);
- //}
- 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.'
- }
- };
- }
- UpdateUserProfile.prototype.ngOnInit = function () {
- this.user = new datamodel_1.User();
- this.alerts = '';
- //this.userservice.GetUserById(this.UserId);
- this.userFrm = this.fb.group({
- id: [''],
- firstName: ['', forms_1.Validators.required],
- lastName: ['', forms_1.Validators.required],
- emailId: ['', forms_1.Validators.required]
- // LastName: [''],
- // Gender: ['', Validators.required],
- // Email: ['']
- });
- this.GetUserById();
- };
- //ngAfterviewint() {
- // this.LoadUsers();
- //}
- //getCustomerById(UserId) {
- // return this.userservice.GetUserById(UserId)
- // .map((response: Response) => response.json())
- // .catch(this._errorHandler)
- //}
- //formErrors = {
- // 'firstName': '',
- // 'lastName': '',
- // 'email': ''
- //};
- UpdateUserProfile.prototype.GetUserById = function () {
- var _this = this;
- this.userservice.GetUserById()
- .subscribe(function (x) { console.log(x); _this.bindUsers(x); }, function (error) { return _this.error = error; });
- };
- UpdateUserProfile.prototype.UpdateUserProfile = function () {
- var _this = this;
- // debugger;
- this.user = this.userFrm.value;
- //if(this.user.)
- console.log(this.user);
- var obj = this.user;
- if (this.userFrm.valid) {
- return this.userservice.UpdateUserProfileById(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- };
- UpdateUserProfile.prototype.AfterInsertData = function (data) {
- //debugger;
- if (data.Status == "False") {
- // this._confirmService.activate(data.ResponseMessage, "alertMsg");
- //setTimeout(() => this.amCode.nativeElement.focus(), 0);
- // this.closeflag = false;
- return false;
- }
- else {
- this.status = true;
- debugger;
- this._confirmService.activate("User Profile Updated Successfully.", "alertMsg");
- //this.profileModal.open();
- // this.submitted = false;
- // this.GetAllAcctMgr();
- // this.DisableAllControls();
- // this.AccountManagerID.enable();
- // let accountManagerID: string = data.Id == null ? "" : data.Id.toString();
- // console.log(accountManagerID);
- // this.GetAcctMgr(Number(accountManagerID));
- //this.GetAccountManagerListOptions(false);
- // this.defautValue = data.id;
- // this.BtnReset = true;
- // this.BtnSave = true;
- // this.BtnEdit = false;
- // this.BtnNew = false;
- // this.BtnDelete = false;
- // this.Abbrevtion = this.Abbrev.value;
- // setTimeout(() => this.AMform.controls["AccountManagerID"].setValue(accountManagerID.toString()), 1000);
- // setTimeout(() => this.AMform.markAsPristine(), 2000);
- }
- //if (this.closeflag) {
- // this.close.emit(null);
- //}
- //else {
- //}
- };
- UpdateUserProfile.prototype.bindUsers = function (data) {
- debugger;
- //console.log(data);
- //alert(JSON.stringify(data));
- this.user = data[0];
- console.log(this.user);
- this.userFrm.controls['id'].setValue(this.user.Id);
- this.userFrm.controls['firstName'].setValue(this.user.FirstName);
- this.userFrm.controls['lastName'].setValue(this.user.LastName);
- this.userFrm.controls['emailId'].setValue(this.user.EmailId);
- // this.GetClientListOptions(false);
- // this.GetCrossRefClientListOptions(false);
- };
- UpdateUserProfile = __decorate([
- core_1.Component({
- templateUrl: './updateuserprofile.component.html' // '../../../../../wwwroot/html/UpdateProfile/updateuserprofile.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder, http_1.Http,
- confirm_service_1.ConfirmService])
- ], UpdateUserProfile);
- return UpdateUserProfile;
-}());
-exports.UpdateUserProfile = UpdateUserProfile;
-//# sourceMappingURL=updateuserprofile.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/updateuserprofile.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/updateuserprofile.component.js.map
deleted file mode 100644
index 8a7c764..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/updateuserprofile.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"updateuserprofile.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/UpdateProfile/updateuserprofile.component.ts"],"names":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AW,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAChE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAC9D,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC7D,oCAAoC;QACpC,4CAA4C;IAC7C,CAAC;IA3HU,iBAAiB;QAJ7B,gBAAS,CAAC;YACT,WAAW,EAAC,oCAAoC,CAAC,+EAA+E;SACjI,CAAC;yCAqBiC,0BAAW,EAAkB,eAAM,EAAc,mBAAW,EAAgB,WAAI;YACtF,gCAAc;OApB9B,iBAAiB,CAuJ7B;IAAD,wBAAC;CAAA,AAvJD,IAuJC;AAvJY,8CAAiB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/user.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/user.service.js
deleted file mode 100644
index 9d1b749..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/user.service.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"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");
-//import { HttpClient, HttpParams, HttpRequest} from "@angular/common/http";
-var http_1 = require("@angular/http");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-require("rxjs/add/observable/throw");
-require("rxjs/add/operator/do");
-var Observable_1 = require("rxjs/Observable");
-var global_1 = require("../../Shared/global");
-var UserService = /** @class */ (function () {
- function UserService(http, commonService) {
- this.http = http;
- this.commonService = commonService;
- }
- UserService.prototype.GetUserById = function () {
- var _this = this;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetUserProfile/1")
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- ;
- };
- UserService.prototype.UpdateUserProfileById = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/UpdateProfile", obj)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- UserService.prototype.extractData = function (res) {
- //debugger;
- var body = res.json();
- return body;
- };
- UserService.prototype.handleError = function (error) {
- // In a real world app, we might use a remote logging infrastructure
- // We'd also dig deeper into the error to get a better message
- var errMsg = (error.message) ? error.message :
- error.status ? error.status + " - " + error.statusText : 'Server error';
- console.error(errMsg); // log to console instead
- return Observable_1.Observable.throw(errMsg);
- };
- UserService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, global_1.GlobalService])
- ], UserService);
- return UserService;
-}());
-exports.UserService = UserService;
-//# sourceMappingURL=user.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/user.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/user.service.js.map
deleted file mode 100644
index eb5e81f..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UpdateProfile/user.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"user.service.js","sourceRoot":"","sources":["../../../../../../src/app/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O,CAAC,CAAC;YAC5C,KAAK,CAAC,MAAM,CAAC,CAAC,CAAI,KAAK,CAAC,MAAM,WAAM,KAAK,CAAC,UAAY,CAAC,CAAC,CAAC,cAAc,CAAC;QAC1E,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,yBAAyB;QAChD,MAAM,CAAC,uBAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IA/BU,WAAW;QADvB,iBAAU,EAAE;yCAGe,WAAI,EAAyB,sBAAa;OAFzD,WAAW,CA4CvB;IAAD,kBAAC;CAAA,AA5CD,IA4CC;AA5CY,kCAAW"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserid.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserid.component.js
deleted file mode 100644
index b1ccc38..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserid.component.js
+++ /dev/null
@@ -1,118 +0,0 @@
-"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("./user.service");
-var router_1 = require("@angular/router");
-var forms_1 = require("@angular/forms");
-var datamodel_1 = require("../UserEntity/datamodel");
-var http_1 = require("@angular/http");
-var confirm_service_1 = require("../../Shared/Confirm/confirm.service");
-require("rxjs/Rx");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/filter");
-var ChangeUserID = /** @class */ (function () {
- //@ViewChild("profileModal")
- //profileModal: ModalComponent;
- //errorMessage: any;
- function ChangeUserID(userservice, router, fb, http, _confirmService) {
- this.userservice = userservice;
- this.router = router;
- this.fb = fb;
- this.http = http;
- this._confirmService = _confirmService;
- this.UserId = 1;
- this.baseUrl = "User";
- }
- ChangeUserID.prototype.ngOnInit = function () {
- this.user = new datamodel_1.User();
- this.alerts = '';
- //this.userservice.GetUserById(this.UserId);
- this.ChangeUserIdFrm = this.fb.group({
- id: [''],
- loginid: ['', forms_1.Validators.required],
- newloginid: ['', [forms_1.Validators.required, forms_1.Validators.minLength(8)]],
- confirmloginid: ['', forms_1.Validators.required]
- // LastName: [''],
- // Gender: ['', Validators.required],
- // Email: ['']
- });
- this.GetUserById();
- };
- ChangeUserID.prototype.GetUserById = function () {
- var _this = this;
- this.userservice.GetUserById()
- .subscribe(function (x) { console.log(x); _this.bindUsers(x); }, function (error) { return _this.error = error; });
- };
- ChangeUserID.prototype.UpdateUserId = function () {
- var _this = this;
- // debugger;
- this.alerts = '';
- if (this.user.LoginId == this.ChangeUserIdFrm.value.newloginid) {
- this.alerts += 'New userid and old userid must be different';
- }
- if (this.ChangeUserIdFrm.value.newloginid != this.ChangeUserIdFrm.value.confirmloginid) {
- this.alerts += 'New userid and confirm userid must be same';
- }
- if (this.alerts == '') {
- this.user = this.ChangeUserIdFrm.value;
- //if(this.user.)
- console.log(this.user);
- var obj = this.user;
- if (this.ChangeUserIdFrm.valid) {
- return this.userservice.UpdateUserId(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- }
- };
- ChangeUserID.prototype.AfterInsertData = function (data) {
- if (data == "success") {
- this._confirmService.activate("Userid Updated Successfully.", "alertMsg");
- }
- else {
- this.alerts += '' + data + '';
- return false;
- }
- //if (this.closeflag) {
- // this.close.emit(null);
- //}
- //else {
- //}
- };
- ChangeUserID.prototype.bindUsers = function (data) {
- //console.log(data);
- //alert(JSON.stringify(data));
- this.user = data[0];
- console.log(this.user);
- this.ChangeUserIdFrm.controls['id'].setValue(this.user.Id);
- this.ChangeUserIdFrm.controls['loginid'].setValue(this.user.LoginId);
- this.ChangeUserIdFrm.controls['newloginid'].setValue(this.user.NewLoginId);
- this.ChangeUserIdFrm.controls['confirmloginid'].setValue('');
- };
- ChangeUserID.prototype.ResetFormFields = function () {
- this.ChangeUserIdFrm.reset();
- this.ChangeUserIdFrm.controls['id'].setValue(this.user.Id);
- this.ChangeUserIdFrm.controls['loginid'].setValue(this.user.LoginId);
- this.ChangeUserIdFrm.controls['newloginid'].setValue('');
- this.ChangeUserIdFrm.controls['confirmloginid'].setValue('');
- this.alerts = '';
- };
- ChangeUserID = __decorate([
- core_1.Component({
- templateUrl: './changeuserid.component.html' // '../../../../../wwwroot/html/UpdateProfile/updateuserprofile.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder, http_1.Http,
- confirm_service_1.ConfirmService])
- ], ChangeUserID);
- return ChangeUserID;
-}());
-exports.ChangeUserID = ChangeUserID;
-//# sourceMappingURL=changeuserid.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserid.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserid.component.js.map
deleted file mode 100644
index a7f7334..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserid.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserid.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/UserEntity/changeuserid.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA2E;AAC3E,+CAA6C;AAC7C,0CAAyC;AACzC,wCAAiF;AAEjF,qDAA+C;AAC/C,sCAA+C;AAI/C,wEAAsE;AACt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,CAAC,CAAA;QACpE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;QACxD,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;QAC5D,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACnB,CAAC;IAlGU,YAAY;QAJxB,gBAAS,CAAC;YACT,WAAW,EAAC,+BAA+B,CAAC,+EAA+E;SAC5H,CAAC;yCAgBiC,0BAAW,EAAkB,eAAM,EAAc,mBAAW,EAAgB,WAAI;YACtF,gCAAc;OAf9B,YAAY,CAoGxB;IAAD,mBAAC;CAAA,AApGD,IAoGC;AApGY,oCAAY"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserpassword.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserpassword.component.js
deleted file mode 100644
index dfdd9a0..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserpassword.component.js
+++ /dev/null
@@ -1,95 +0,0 @@
-"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("./user.service");
-//import { ChangeUserPasswordService } from '../ChangePassword/changeuserpassword.service';
-var router_1 = require("@angular/router");
-var forms_1 = require("@angular/forms");
-var datamodel_1 = require("../UserEntity/datamodel");
-var confirm_service_1 = require("../../Shared/Confirm/confirm.service");
-require("rxjs/Rx");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/filter");
-var ChangeUserPassword = /** @class */ (function () {
- function ChangeUserPassword(changeUserPasswordService, router, fb, _confirmService) {
- this.changeUserPasswordService = changeUserPasswordService;
- this.router = router;
- this.fb = fb;
- this._confirmService = _confirmService;
- }
- ChangeUserPassword.prototype.ngOnInit = function () {
- this.user = new datamodel_1.User();
- this.alerts = '';
- this.changeUserPasswordFrm = this.fb.group({
- userId: [''],
- loginId: ['', forms_1.Validators.required],
- oldPassword: ['', forms_1.Validators.required],
- newPassword: ['', [forms_1.Validators.required, forms_1.Validators.minLength(8)]],
- confirmPassword: ['', forms_1.Validators.required]
- });
- this.GetUserById();
- };
- ChangeUserPassword.prototype.GetUserById = function () {
- var _this = this;
- this.changeUserPasswordService.GetUserById()
- .subscribe(function (x) { _this.BindFormFields(x); }, function (error) { return _this.error = error; });
- };
- ChangeUserPassword.prototype.onFormSubmit = function () {
- var _this = this;
- this.alerts = '';
- if (this.user.Password != this.changeUserPasswordFrm.value.oldPassword) {
- this.alerts = 'Old password is invalid';
- }
- if (this.user.Password == this.changeUserPasswordFrm.value.newPassword) {
- this.alerts += 'New password and old password must be different';
- }
- if (this.changeUserPasswordFrm.value.newPassword != this.changeUserPasswordFrm.value.confirmPassword) {
- this.alerts += 'New password and confirm password must be same';
- }
- if (this.alerts == '') {
- var obj = this.changeUserPasswordFrm.value;
- return this.changeUserPasswordService.ChangeUserPassword(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- };
- ChangeUserPassword.prototype.AfterInsertData = function (data) {
- if (data.Status == "false") {
- this.alerts = "Password change unsuccessfull";
- }
- else {
- this._confirmService.activate("Password changed successfully.", "alertMsg");
- //this.alerts = "Password changed successfully";
- }
- };
- ChangeUserPassword.prototype.BindFormFields = function (data) {
- this.user = data[0];
- this.changeUserPasswordFrm.controls['userId'].setValue(this.user.Id);
- this.changeUserPasswordFrm.controls['loginId'].setValue(this.user.LoginId);
- };
- ChangeUserPassword.prototype.ResetFormFields = function () {
- this.changeUserPasswordFrm.reset();
- this.changeUserPasswordFrm.controls['loginId'].setValue(this.user.LoginId);
- this.changeUserPasswordFrm.controls['oldPassword'].setValue('');
- this.changeUserPasswordFrm.controls['newPassword'].setValue('');
- this.changeUserPasswordFrm.controls['confirmPassword'].setValue('');
- this.alerts = '';
- };
- ChangeUserPassword = __decorate([
- core_1.Component({
- templateUrl: './changeuserpassword.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder, confirm_service_1.ConfirmService])
- ], ChangeUserPassword);
- return ChangeUserPassword;
-}());
-exports.ChangeUserPassword = ChangeUserPassword;
-//# sourceMappingURL=changeuserpassword.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserpassword.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserpassword.component.js.map
deleted file mode 100644
index e795b07..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/changeuserpassword.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserpassword.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/UserEntity/changeuserpassword.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA4E;AAC5E,+CAA6C;AAC7C,2FAA2F;AAC3F,0CAAyC;AACzC,wCAAiF;AACjF,qDAA+C;AAM/C,wEAAsE;AACtE,mBAAiB;AACjB,iCAA+B;AAC/B,oCAAkC;AAMlC;IAOA,4BAAoB,yBAAsC,EAAU,MAAc,EAAU,EAAe,EAAU,eAA+B;QAAhI,8BAAyB,GAAzB,yBAAyB,CAAa;QAAU,WAAM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,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACpE,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAE9E,CAAC;IAED,4CAAe,GAAf;QACI,IAAI,CAAC,qBAAqB,CAAC,KAAK,EAAE,CAAA;QAClC,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3E,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAChE,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAChE,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACrB,CAAC;IAxEQ,kBAAkB;QAJ9B,gBAAS,CAAC;YACP,WAAW,EAAE,qCAAqC;SACrD,CAAC;yCAS6C,0BAAW,EAAkB,eAAM,EAAc,mBAAW,EAA2B,gCAAc;OAPvI,kBAAkB,CA0E9B;IAAD,yBAAC;CAAA,AA1ED,IA0EC;AA1EY,gDAAkB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/datamodel.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/datamodel.js
deleted file mode 100644
index 665910b..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/datamodel.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var User = /** @class */ (function () {
- function User() {
- }
- return User;
-}());
-exports.User = User;
-var DiscountCode = /** @class */ (function () {
- function DiscountCode() {
- }
- return DiscountCode;
-}());
-exports.DiscountCode = DiscountCode;
-//# sourceMappingURL=datamodel.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/datamodel.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/datamodel.js.map
deleted file mode 100644
index 6513a29..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/datamodel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"datamodel.js","sourceRoot":"","sources":["../../../../../../src/app/components/UserEntity/datamodel.ts"],"names":[],"mappings":";;AAAA;IAAA;IAQA,CAAC;IAAD,WAAC;AAAD,CAAC,AARD,IAQC;AARY,oBAAI;AASjB;IAAA;IAOA,CAAC;IAAD,mBAAC;AAAD,CAAC,AAPD,IAOC;AAPY,oCAAY"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/updateuserprofile.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/updateuserprofile.component.js
deleted file mode 100644
index c6f18a6..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/updateuserprofile.component.js
+++ /dev/null
@@ -1,165 +0,0 @@
-"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("../UserEntity/user.service");
-var router_1 = require("@angular/router");
-var forms_1 = require("@angular/forms");
-var datamodel_1 = require("../UserEntity/datamodel");
-var http_1 = require("@angular/http");
-var confirm_service_1 = require("../../Shared/Confirm/confirm.service");
-require("rxjs/Rx");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/filter");
-var UpdateUserProfile = /** @class */ (function () {
- //@ViewChild("profileModal")
- //profileModal: ModalComponent;
- //errorMessage: any;
- function UpdateUserProfile(userservice, router, fb, http, _confirmService) {
- this.userservice = userservice;
- this.router = router;
- this.fb = fb;
- this.http = http;
- this._confirmService = _confirmService;
- this.UserId = 1;
- this.indLoading = false;
- this.baseUrl = "User";
- this.emailPattern = "^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$";
- //extractData(res: Response) {
- // //debugger;
- // let body = res.json();
- // return body;
- //}
- //handleError(error: any) {
- // // In a real world app, we might use a remote logging infrastructure
- // // We'd also dig deeper into the error to get a better message
- // let errMsg = (error.message) ? error.message :
- // error.status ? `${error.status} - ${error.statusText}` : 'Server error';
- // console.error(errMsg); // log to console instead
- // return Observable.throw(errMsg);
- //}
- 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.'
- }
- };
- }
- UpdateUserProfile.prototype.ngOnInit = function () {
- this.user = new datamodel_1.User();
- this.alerts = '';
- //this.userservice.GetUserById(this.UserId);
- this.userFrm = this.fb.group({
- id: [''],
- firstName: ['', forms_1.Validators.required],
- lastName: ['', forms_1.Validators.required],
- emailId: ['', forms_1.Validators.required]
- // LastName: [''],
- // Gender: ['', Validators.required],
- // Email: ['']
- });
- this.GetUserById();
- };
- //ngAfterviewint() {
- // this.LoadUsers();
- //}
- //getCustomerById(UserId) {
- // return this.userservice.GetUserById(UserId)
- // .map((response: Response) => response.json())
- // .catch(this._errorHandler)
- //}
- //formErrors = {
- // 'firstName': '',
- // 'lastName': '',
- // 'email': ''
- //};
- UpdateUserProfile.prototype.GetUserById = function () {
- var _this = this;
- this.userservice.GetUserById()
- .subscribe(function (x) { console.log(x); _this.bindUsers(x); }, function (error) { return _this.error = error; });
- };
- UpdateUserProfile.prototype.UpdateUserProfile = function () {
- var _this = this;
- // debugger;
- this.user = this.userFrm.value;
- //if(this.user.)
- //console.log(this.user);
- var obj = this.user;
- if (this.userFrm.valid) {
- return this.userservice.UpdateUserProfileById(obj)
- .subscribe(function (n) { return (_this.AfterInsertData(n)); }, function (error) { return _this.error = error; });
- }
- };
- UpdateUserProfile.prototype.AfterInsertData = function (data) {
- //debugger;
- if (data.Status == "False") {
- // this._confirmService.activate(data.ResponseMessage, "alertMsg");
- //setTimeout(() => this.amCode.nativeElement.focus(), 0);
- // this.closeflag = false;
- return false;
- }
- else {
- this.status = true;
- this._confirmService.activate("User Profile Updated Successfully.", "alertMsg");
- //this.profileModal.open();
- // this.submitted = false;
- // this.GetAllAcctMgr();
- // this.DisableAllControls();
- // this.AccountManagerID.enable();
- // let accountManagerID: string = data.Id == null ? "" : data.Id.toString();
- // console.log(accountManagerID);
- // this.GetAcctMgr(Number(accountManagerID));
- //this.GetAccountManagerListOptions(false);
- // this.defautValue = data.id;
- // this.BtnReset = true;
- // this.BtnSave = true;
- // this.BtnEdit = false;
- // this.BtnNew = false;
- // this.BtnDelete = false;
- // this.Abbrevtion = this.Abbrev.value;
- // setTimeout(() => this.AMform.controls["AccountManagerID"].setValue(accountManagerID.toString()), 1000);
- // setTimeout(() => this.AMform.markAsPristine(), 2000);
- }
- //if (this.closeflag) {
- // this.close.emit(null);
- //}
- //else {
- //}
- };
- UpdateUserProfile.prototype.bindUsers = function (data) {
- //console.log(data);
- //alert(JSON.stringify(data));
- this.user = data[0];
- console.log(this.user);
- this.userFrm.controls['id'].setValue(this.user.Id);
- this.userFrm.controls['firstName'].setValue(this.user.FirstName);
- this.userFrm.controls['lastName'].setValue(this.user.LastName);
- this.userFrm.controls['emailId'].setValue(this.user.EmailId);
- // this.GetClientListOptions(false);
- // this.GetCrossRefClientListOptions(false);
- };
- UpdateUserProfile = __decorate([
- core_1.Component({
- templateUrl: './updateuserprofile.component.html' // '../../../../../wwwroot/html/UpdateProfile/updateuserprofile.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder, http_1.Http,
- confirm_service_1.ConfirmService])
- ], UpdateUserProfile);
- return UpdateUserProfile;
-}());
-exports.UpdateUserProfile = UpdateUserProfile;
-//# sourceMappingURL=updateuserprofile.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/updateuserprofile.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/updateuserprofile.component.js.map
deleted file mode 100644
index 81dadd9..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/updateuserprofile.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"updateuserprofile.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/UserEntity/updateuserprofile.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA2E;AAC3E,2DAAyD;AACzD,0CAAyC;AACzC,wCAAiF;AAEjF,qDAA+C;AAC/C,sCAA+C;AAI/C,wEAAsE;AACtE,mBAAiB;AACjB,iCAA+B;AAC/B,oCAAkC;AAOlC;IAgBE,4BAA4B;IAC5B,+BAA+B;IAC/B,oBAAoB;IACpB,2BAAoB,WAAwB,EAAU,MAAc,EAAU,EAAe,EAAU,IAAU,EACvG,eAA+B;QADrB,gBAAW,GAAX,WAAW,CAAa;QAAU,WAAM,GAAN,MAAM,CAAQ;QAAU,OAAE,GAAF,EAAE,CAAa;QAAU,SAAI,GAAJ,IAAI,CAAM;QACvG,oBAAe,GAAf,eAAe,CAAgB;QAnBzC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wBAAC;CAAA,AAvJD,IAuJC;AAvJY,8CAAiB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/user.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/user.service.js
deleted file mode 100644
index 0ab8006..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/user.service.js
+++ /dev/null
@@ -1,110 +0,0 @@
-"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");
-//import { HttpClient, HttpParams, HttpRequest} from "@angular/common/http";
-var http_1 = require("@angular/http");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-require("rxjs/add/observable/throw");
-require("rxjs/add/operator/do");
-var Observable_1 = require("rxjs/Observable");
-var global_1 = require("../../Shared/global");
-var UserService = /** @class */ (function () {
- function UserService(http, commonService) {
- this.http = http;
- this.commonService = commonService;
- }
- //////////Get User Detail///////////////
- UserService.prototype.GetUserById = function () {
- var _this = this;
- debugger;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetUserProfile/" + this.commonService.UserId)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- ;
- };
- //////////Update User Detail///////////////
- UserService.prototype.UpdateUserProfileById = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/UpdateProfile", obj)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- //////////Update User Password///////////////
- UserService.prototype.ChangeUserPassword = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- var jsonData = { 'id': obj.userId, 'newPassword': obj.newPassword };
- console.log(obj);
- var headers = new http_1.Headers({
- 'Content-Type': 'application/json'
- });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/ChangeUserPassword", JSON.stringify(jsonData), { headers: headers })
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- //////////Update User Userid///////////////
- UserService.prototype.UpdateUserId = function (obj) {
- var _this = this;
- //let options = new RequestOptions({ headers: this.headers });
- return this.http.post(this.commonService.resourceBaseUrl + "/api/UpdateUserId", obj)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- /// Users Form///////
- UserService.prototype.GetUserType = function () {
- var _this = this;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetUserType/" + this.commonService.UserType)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- UserService.prototype.GetAccountType = function () {
- var _this = this;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/GetAccountType/" + this.commonService.AccountType)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- UserService.prototype.GetUserList = function (obj) {
- var _this = this;
- return this.http.get(this.commonService.resourceBaseUrl + "/api/Users?firstname=" + obj.FirstName +
- "&lastname=" + obj.LastName +
- "&emailid=" + obj.EmailId +
- "&accountnumber=" + obj.AccountNumber +
- "&usertypeid=" + obj.UserTypeId +
- "&accounttypeid=" + obj.AccountTypeId)
- .map(this.extractData)
- .catch(function (res) { return _this.handleError(res); });
- };
- /// End Users /////
- UserService.prototype.extractData = function (res) {
- debugger;
- var body = res.json();
- return body;
- };
- UserService.prototype.handleError = function (error) {
- debugger;
- // In a real world app, we might use a remote logging infrastructure
- // We'd also dig deeper into the error to get a better message
- var errMsg = (error.message) ? error.message :
- error.status ? error.status + " - " + error.statusText : 'Server error';
- console.error(errMsg); // log to console instead
- return Observable_1.Observable.throw(errMsg);
- };
- UserService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, global_1.GlobalService])
- ], UserService);
- return UserService;
-}());
-exports.UserService = UserService;
-//# sourceMappingURL=user.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/user.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/user.service.js.map
deleted file mode 100644
index 2ef9d6f..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/user.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"user.service.js","sourceRoot":"","sources":["../../../../../../src/app/components/UserEntity/user.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAmD;AACnD,4EAA4E;AAC5E,sCAAoF;AACpF,iCAA+B;AAC/B,mCAAiC;AACjC,qCAAmC;AAEnC,gCAA8B;AAC9B,8CAA6C;AAC7C,8CAAoD;AAEpD;IAEE,qBAAoB,IAAU,EAAU,aAA4B;QAAhD,SAAI,GAAJ,IAAI,CAAM;QAAU,kBAAa,GAAb,aAAa,CAAe;IAAK,CAAC;IAC1E,wCAAwC;IACxC,iCAAW,GAAX;QAAA,iBAMC;QALC,QAAQ,CAAC;QACT,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,GAAG,sBAAsB,GAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;aACxG,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;aACrB,KAAK,CAAC,UAAC,GAAa,IAAK,OAAA,KAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAArB,CAAqB,CAAC,CAAC;QAAA,CAAC;IAEtD,CAAC;IACD,2CAA2C;IAC3C,2CAAqB,GA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I,CAAC,WAAW,CAAC,GAAG,CAAC,EAArB,CAAqB,CAAC,CAAC;IACrD,CAAC;IACD,mBAAmB;IAEnB,iCAAW,GAAX,UAAY,GAAa;QACvB,QAAQ,CAAC;QAET,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IACD,iCAAW,GAAX,UAAY,KAAU;QACpB,QAAQ,CAAC;QACT,oEAAoE;QACpE,8DAA8D;QAC9D,IAAI,MAAM,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC5C,KAAK,CAAC,MAAM,CAAC,CAAC,CAAI,KAAK,CAAC,MAAM,WAAM,KAAK,CAAC,UAAY,CAAC,CAAC,CAAC,cAAc,CAAC;QAC1E,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,yBAAyB;QAChD,MAAM,CAAC,uBAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IA7EU,WAAW;QADvB,iBAAU,EAAE;yCAGe,WAAI,EAAyB,sBAAa;OAFzD,WAAW,CAgFvB;IAAD,kBAAC;CAAA,AAhFD,IAgFC;AAhFY,kCAAW"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/users.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/users.component.js
deleted file mode 100644
index 4cc35f4..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/users.component.js
+++ /dev/null
@@ -1,105 +0,0 @@
-"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("./user.service");
-var router_1 = require("@angular/router");
-var forms_1 = require("@angular/forms");
-var http_1 = require("@angular/http");
-var confirm_service_1 = require("../../Shared/Confirm/confirm.service");
-require("rxjs/Rx");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/filter");
-var UsersList = /** @class */ (function () {
- //@ViewChild("profileModal")
- //profileModal: ModalComponent;
- //errorMessage: any;
- function UsersList(userservice, router, fb, http, _confirmService) {
- this.userservice = userservice;
- this.router = router;
- this.fb = fb;
- this.http = http;
- this._confirmService = _confirmService;
- }
- UsersList.prototype.ngOnInit = function () {
- this.alerts = '';
- //this.userservice.GetUserById(this.UserId);
- this.Users = this.fb.group({
- FirstName: [''],
- LastName: [''],
- EmailId: [''],
- AccountNumber: [''],
- UserTypeId: [''],
- AccountTypeId: ['']
- // Gender: ['', Validators.required],
- // Email: ['']
- });
- this.GetUserType();
- this.GetAccountType();
- //this.GetUserList();
- };
- UsersList.prototype.GetUserType = function () {
- var _this = this;
- this.userservice.GetUserType().subscribe(function (x) { _this.UserTypeList = x; }, function (error) { return _this.error = error; });
- };
- UsersList.prototype.GetAccountType = function () {
- var _this = this;
- this.userservice.GetAccountType().subscribe(function (x) { _this.AccountTypeList = x; }, function (error) { return _this.error = error; });
- };
- UsersList.prototype.GetUserList = function () {
- //this.userservice.GetUserList().subscribe(x => { this.UserList = x; }, error => this.error = error);
- };
- UsersList.prototype.SearchUserList = function () {
- var _this = this;
- var UserFilterControl = this.Users.value;
- this.userservice.GetUserList({
- FirstName: this.Users.controls['FirstName'].value,
- LastName: this.Users.controls['LastName'].value,
- EmailId: this.Users.controls['EmailId'].value,
- AccountNumber: this.Users.controls['AccountNumber'].value,
- UserTypeId: (this.Users.controls['UserTypeId'].value != null && this.Users.controls['UserTypeId'].value != '' ? this.Users.controls['UserTypeId'].value : 0),
- AccountTypeId: (this.Users.controls['AccountTypeId'].value != null && this.Users.controls['AccountTypeId'].value != '' ? this.Users.controls['AccountTypeId'].value : 0),
- })
- .subscribe(function (x) { _this.UserList = x; }, function (error) { return _this.error = error; });
- };
- UsersList.prototype.AfterInsertData = function (data) {
- if (data == "success") {
- this._confirmService.activate("Userid Updated Successfully.", "alertMsg");
- }
- else {
- this.alerts += '' + data + '';
- return false;
- }
- //if (this.closeflag) {
- // this.close.emit(null);
- //}
- //else {
- //}
- };
- UsersList.prototype.ResetFormFields = function () {
- //this.ChangeUserIdFrm.reset()
- //this.ChangeUserIdFrm.controls['id'].setValue(this.user.Id)
- //this.ChangeUserIdFrm.controls['loginid'].setValue(this.user.LoginId)
- //this.ChangeUserIdFrm.controls['newloginid'].setValue('')
- //this.ChangeUserIdFrm.controls['confirmloginid'].setValue('')
- this.alerts = '';
- };
- UsersList = __decorate([
- core_1.Component({
- templateUrl: './users.component.html' // '../../../../../wwwroot/html/UpdateProfile/updateuserprofile.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder, http_1.Http,
- confirm_service_1.ConfirmService])
- ], UsersList);
- return UsersList;
-}());
-exports.UsersList = UsersList;
-//# sourceMappingURL=users.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/users.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/users.component.js.map
deleted file mode 100644
index e3d2603..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/UserEntity/users.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"users.component.js","sourceRoot":"","sources":["../../../../../../src/app/components/UserEntity/users.component.ts"],"names":[],"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AAC,QAAQ,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAGxK,CAAC;aAED,SAAS,CAAC,UAAA,CAAC,IAAM,KAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,UAAA,KAAK,IAAI,OAAA,KAAI,CAAC,KAAK,GAAQ,KAAK,EAAvB,CAAuB,CAAC,CAAC;IAC9E,CAAC;IACD,mCAAe,GAAf,UAAgB,IAAI;QAElB,EAAE,CAAC,CAAC,IAAI,IAAI,SAAS,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,8BAA8B,EAAE,UAAU,CAAC,CAAC;QAE5E,CAAC;QAAC,IAAI,CAAE,CAAC;YACP,IAAI,CAAC,MAAM,IAAI,QAAQ,GAAG,IAAI,GAAC,SAAS,CAAC;YACzC,MAAM,CAAC,KAAK,CAAC;QAGf,CAAC;QACD,uBAAuB;QACvB,0BAA0B;QAC1B,GAAG;QACH,QAAQ;QACR,GAAG;IACL,CAAC;IAED,mCAAe,GAAf;QACE,8BAA8B;QAC9B,4DAA4D;QAC5D,sEAAsE;QACtE,0DAA0D;QAC1D,8DAA8D;QAC9D,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACnB,CAAC;IAtFU,SAAS;QAJrB,gBAAS,CAAC;YACT,WAAW,EAAC,wBAAwB,CAAC,+EAA+E;SACrH,CAAC;yCAciC,0BAAW,EAAkB,eAAM,EAAc,mBAAW,EAAgB,WAAI;YACtF,gCAAc;OAb9B,SAAS,CAwFrB;IAAD,gBAAC;CAAA,AAxFD,IAwFC;AAxFY,8BAAS"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserid.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserid.component.js
deleted file mode 100644
index 75a34b7..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserid.component.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"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
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserid.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserid.component.js.map
deleted file mode 100644
index 504c3a2..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserid.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserid.component.js","sourceRoot":"","sources":["../../../../../src/app/components/changeuserid.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkD;AAClD,6DAA2D;AAC3D,0CAAyC;AACzC,wCAAoE;AAGpE,+CAA+C;AAC/C,kCAAkC;AAClC,+CAA+C;AAM/C;IAEE,sBAAoB,WAAwB,EAAU,MAAc,EAAU,EAAe;QAAzE,gBAAW,GAAX,WAAW,CAAa;QAAU,WAAM,GAAN,MAAM,CAAQ;QAAU,OAAE,GAAF,EAAE,CAAa;QAI3F,eAAU,GAAG;YACT,WAAW,EAAE,EAAE;YACf,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,EAAE;SACd,CAAC;QAEF,uBAAkB,GAAG;YACjB,WAAW,EAAE;gBACT,UAAU,EAAE,yBAAyB;aACxC;YACD,UAAU,EAAE;gBACR,UAAU,EAAE,wBAAwB;aACvC;YACD,OAAO,EAAE;gBACL,UAAU,EAAE,oBAAoB;gBAChC,SAAS,EAAE,6BAA6B;aAC3C;SACJ,CAAA;IArB+F,CAAC;IAEjG,+BAAQ,GAAR,cAAmB,CAAC;IAJX,YAAY;QAJxB,gBAAS,CAAC;YACP,WAAW,EAAE,2CAA2C;SAC3D,CAAC;yCAIiC,0BAAW,EAAkB,eAAM,EAAc,mBAAW;OAFlF,YAAY,CAyBxB;IAAD,mBAAC;CAAA,AAzBD,IAyBC;AAzBY,oCAAY"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserpassword.component.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserpassword.component.js
deleted file mode 100644
index b0678e0..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserpassword.component.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"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 ChangeUserPassword = /** @class */ (function () {
- function ChangeUserPassword(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.'
- }
- };
- }
- ChangeUserPassword.prototype.ngOnInit = function () { };
- ChangeUserPassword = __decorate([
- core_1.Component({
- templateUrl: '../components/changeuserpassword.component.html'
- }),
- __metadata("design:paramtypes", [user_service_1.UserService, router_1.Router, forms_1.FormBuilder])
- ], ChangeUserPassword);
- return ChangeUserPassword;
-}());
-exports.ChangeUserPassword = ChangeUserPassword;
-//# sourceMappingURL=changeuserpassword.component.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserpassword.component.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserpassword.component.js.map
deleted file mode 100644
index a9c9d38..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/components/changeuserpassword.component.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"changeuserpassword.component.js","sourceRoot":"","sources":["../../../../../src/app/components/changeuserpassword.component.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkD;AAClD,6DAA2D;AAC3D,0CAAyC;AACzC,wCAAoE;AAGpE,+CAA+C;AAC/C,kCAAkC;AAClC,+CAA+C;AAM/C;IAEE,4BAAoB,WAAwB,EAAU,MAAc,EAAU,EAAe;QAAzE,gBAAW,GAAX,WAAW,CAAa;QAAU,WAAM,GAAN,MAAM,CAAQ;QAAU,OAAE,GAAF,EAAE,CAAa;QAI3F,eAAU,GAAG;YACT,WAAW,EAAE,EAAE;YACf,UAAU,EAAE,EAAE;YACd,OAAO,EAAE,EAAE;SACd,CAAC;QAEF,uBAAkB,GAAG;YACjB,WAAW,EAAE;gBACT,UAAU,EAAE,yBAAyB;aACxC;YACD,UAAU,EAAE;gBACR,UAAU,EAAE,wBAAwB;aACvC;YACD,OAAO,EAAE;gBACL,UAAU,EAAE,oBAAoB;gBAChC,SAAS,EAAE,6BAA6B;aAC3C;SACJ,CAAA;IArB8F,CAAC;IAEhG,qCAAQ,GAAR,cAAmB,CAAC;IAJX,kBAAkB;QAJ9B,gBAAS,CAAC;YACP,WAAW,EAAE,iDAAiD;SACjE,CAAC;yCAIiC,0BAAW,EAAkB,eAAM,EAAc,mBAAW;OAFlF,kBAAkB,CAyB9B;IAAD,yBAAC;CAAA,AAzBD,IAyBC;AAzBY,gDAAkB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/add-user.interface.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/add-user.interface.js
deleted file mode 100644
index 6ab5f98..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/add-user.interface.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=add-user.interface.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/add-user.interface.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/add-user.interface.js.map
deleted file mode 100644
index 08e2902..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/add-user.interface.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"add-user.interface.js","sourceRoot":"","sources":["../../../../../src/app/model/add-user.interface.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/data-model.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/data-model.js
deleted file mode 100644
index 1846896..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/data-model.js
+++ /dev/null
@@ -1,83 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var AppSettings = /** @class */ (function () {
- function AppSettings() {
- }
- return AppSettings;
-}());
-exports.AppSettings = AppSettings;
-var Menu = /** @class */ (function () {
- function Menu() {
- }
- return Menu;
-}());
-exports.Menu = Menu;
-var MenuItem = /** @class */ (function () {
- function MenuItem() {
- }
- return MenuItem;
-}());
-exports.MenuItem = MenuItem;
-var Footer = /** @class */ (function () {
- function Footer() {
- }
- return Footer;
-}());
-exports.Footer = Footer;
-var FooterColumn = /** @class */ (function () {
- function FooterColumn() {
- }
- return FooterColumn;
-}());
-exports.FooterColumn = FooterColumn;
-var FooterItem = /** @class */ (function () {
- function FooterItem() {
- }
- return FooterItem;
-}());
-exports.FooterItem = FooterItem;
-var BannerItem = /** @class */ (function () {
- function BannerItem() {
- }
- return BannerItem;
-}());
-exports.BannerItem = BannerItem;
-var BannerSettings = /** @class */ (function () {
- function BannerSettings() {
- }
- return BannerSettings;
-}());
-exports.BannerSettings = BannerSettings;
-var ContentItem = /** @class */ (function () {
- function ContentItem() {
- }
- return ContentItem;
-}());
-exports.ContentItem = ContentItem;
-var User = /** @class */ (function () {
- function User(appName) {
- this.apps = new Array();
- this.apps.push(appName);
- }
- return User;
-}());
-exports.User = User;
-var Address = /** @class */ (function () {
- function Address() {
- }
- return Address;
-}());
-exports.Address = Address;
-var UserProfile = /** @class */ (function () {
- function UserProfile() {
- }
- return UserProfile;
-}());
-exports.UserProfile = UserProfile;
-var AdminUser = /** @class */ (function () {
- function AdminUser() {
- }
- return AdminUser;
-}());
-exports.AdminUser = AdminUser;
-//# sourceMappingURL=data-model.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/data-model.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/data-model.js.map
deleted file mode 100644
index 22e8ec5..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/data-model.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"data-model.js","sourceRoot":"","sources":["../../../../../src/app/model/data-model.ts"],"names":[],"mappings":";;AAAA;IAAA;IAGA,CAAC;IAAD,kBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,kCAAW;AAKxB;IAAA;IAGA,CAAC;IAAD,WAAC;AAAD,CAAC,AAHD,IAGC;AAHY,oBAAI;AAKjB;IAAA;IAIA,CAAC;IAAD,eAAC;AAAD,CAAC,AAJD,IAIC;AAJY,4BAAQ;AAMrB;IAAA;IAGA,CAAC;IAAD,aAAC;AAAD,CAAC,AAHD,IAGC;AAHY,wBAAM;AAKnB;IAAA;IAIA,CAAC;IAAD,mBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,oCAAY;AAMzB;IAAA;IAGA,CAAC;IAAD,iBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,gCAAU;AAKvB;IAAA;IAKA,CAAC;IAAD,iBAAC;AAAD,CAAC,AALD,IAKC;AALY,gCAAU;AAOvB;IAAA;IAGA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,wCAAc;AAK3B;IAAA;IAQA,CAAC;IAAD,kBAAC;AAAD,CAAC,AARD,IAQC;AARY,kCAAW;AAWxB;IASI,cAAY,OAAe;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,EAAU,CAAC;QAChC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;IACL,WAAC;AAAD,CAAC,AAbD,IAaC;AAbY,oBAAI;AAgBjB;IAAA;IASA,CAAC;IAAD,cAAC;AAAD,CAAC,AATD,IASC;AATY,0BAAO;AAWpB;IAAA;IASA,CAAC;IAAD,kBAAC;AAAD,CAAC,AATD,IASC;AATY,kCAAW;AAWxB;IAAA;IAgBA,CAAC;IAAD,gBAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,8BAAS"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/db-tables.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/db-tables.js
deleted file mode 100644
index 4b9b582..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/db-tables.js
+++ /dev/null
@@ -1,54 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var State = /** @class */ (function () {
- function State(Id, StateName) {
- this.Id = Id;
- this.StateName = StateName;
- }
- return State;
-}());
-exports.State = State;
-var Country = /** @class */ (function () {
- function Country(Id, Name) {
- this.Id = Id;
- this.Name = Name;
- }
- return Country;
-}());
-exports.Country = Country;
-var AccountType = /** @class */ (function () {
- function AccountType(Id, Title) {
- this.Id = Id;
- this.Title = Title;
- }
- AccountType.createEmptyAccountType = function () {
- return new AccountType(0, "");
- };
- return AccountType;
-}());
-exports.AccountType = AccountType;
-var SecurityQuestions = /** @class */ (function () {
- function SecurityQuestions(Id, Title) {
- this.Id = Id;
- this.Title = Title;
- }
- return SecurityQuestions;
-}());
-exports.SecurityQuestions = SecurityQuestions;
-var LicenseType = /** @class */ (function () {
- function LicenseType(Id, Title) {
- this.Id = Id;
- this.Title = Title;
- }
- return LicenseType;
-}());
-exports.LicenseType = LicenseType;
-var UserType = /** @class */ (function () {
- function UserType(Id, Title) {
- this.Id = Id;
- this.Title = Title;
- }
- return UserType;
-}());
-exports.UserType = UserType;
-//# sourceMappingURL=db-tables.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/db-tables.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/db-tables.js.map
deleted file mode 100644
index 50c2405..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/model/db-tables.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"db-tables.js","sourceRoot":"","sources":["../../../../../src/app/model/db-tables.ts"],"names":[],"mappings":";;AAAA;IACI,eACW,EAAU,EACV,SAAiB;QADjB,OAAE,GAAF,EAAE,CAAQ;QACV,cAAS,GAAT,SAAS,CAAQ;IACxB,CAAC;IACT,YAAC;AAAD,CAAC,AALD,IAKC;AALY,sBAAK;AAOlB;IACI,iBACW,EAAU,EACV,IAAY;QADZ,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;IACnB,CAAC;IACT,cAAC;AAAD,CAAC,AALD,IAKC;AALY,0BAAO;AAOpB;IACI,qBACW,EAAU,EACV,KAAa;QADb,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAQ;IACpB,CAAC;IAES,kCAAsB,GAApC;QACI,MAAM,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClC,CAAC;IACL,kBAAC;AAAD,CAAC,AATD,IASC;AATY,kCAAW;AAWxB;IACI,2BACW,EAAU,EACV,KAAa;QADb,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAQ;IACpB,CAAC;IACT,wBAAC;AAAD,CAAC,AALD,IAKC;AALY,8CAAiB;AAO9B;IACI,qBACW,EAAU,EACV,KAAa;QADb,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAQ;IACpB,CAAC;IACT,kBAAC;AAAD,CAAC,AALD,IAKC;AALY,kCAAW;AAOxB;IACI,kBACW,EAAU,EACV,KAAa;QADb,OAAE,GAAF,EAAE,CAAQ;QACV,UAAK,GAAL,KAAK,CAAQ;IACpB,CAAC;IACT,eAAC;AAAD,CAAC,AALD,IAKC;AALY,4BAAQ"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/application.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/application.service.js
deleted file mode 100644
index 8e4d8d5..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/application.service.js
+++ /dev/null
@@ -1,216 +0,0 @@
-"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 http_1 = require("@angular/http");
-var router_1 = require("@angular/router");
-var Observable_1 = require("rxjs/Observable");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-var ApplicationService = /** @class */ (function () {
- function ApplicationService(http, router) {
- this.http = http;
- this.router = router;
- if (this.currentUser == null) {
- var user = localStorage.getItem("currentUser");
- if (user != null) {
- this.currentUser = JSON.parse(user);
- this.loggedIn = true;
- }
- }
- this.userId = 0;
- this.firstName = "";
- this.lastName = "";
- this.emailId = "";
- }
- ApplicationService.prototype.getAppSettings = function (applicationName) {
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- var params = new http_1.URLSearchParams();
- params.set("applicationName", applicationName);
- params.set("userId", this.currentUser._id);
- return this.http.get('DentalDecks.Server/api/AppSettings', { headers: headers, search: params })
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.getMenuItemsWithNoChildren = function (menuItems) {
- if (this.appSettingsLoaded) {
- var menuItemsSubset = new Array();
- for (var i = 0; i < menuItems.length; i++) {
- if (menuItems[i].menuItems == null) {
- for (var j = 0; j < menuItems[i].roles.length; j++) {
- if (menuItems[i].roles[j] == this.currentUser.role) {
- menuItemsSubset.push(menuItems[i]);
- break;
- }
- }
- }
- }
- return menuItemsSubset;
- }
- };
- ApplicationService.prototype.getMenuItemsWithChildren = function (menuItems) {
- if (this.appSettingsLoaded) {
- var menuItemsSubset = new Array();
- for (var i = 0; i < menuItems.length; i++) {
- if (menuItems[i].menuItems != null) {
- for (var j = 0; j < menuItems[i].roles.length; j++) {
- if (menuItems[i].roles[j] == this.currentUser.role) {
- menuItemsSubset.push(menuItems[i]);
- break;
- }
- }
- }
- }
- return menuItemsSubset;
- }
- };
- ApplicationService.prototype.login = function (applicationName, username, password) {
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- var params = new http_1.URLSearchParams();
- params.set("applicationName", applicationName);
- params.set("username", username);
- params.set("password", password);
- return this.http.get('DentalDecks.Server/api/Authenticate', { headers: headers, search: params })
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.logout = function () {
- this.currentUser = null;
- localStorage.removeItem("currentUser");
- this.router.navigate(['/login']);
- };
- ApplicationService.prototype.resetPassword = function (username) {
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- var user = new Object();
- user.emailAddress = username;
- return this.http.post('DentalDecks.Server/api/Password', JSON.stringify(user), { headers: headers })
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.updatePassword = function (userId, password) {
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- var user = new Object();
- user.userId = userId;
- user.password = password;
- return this.http.post('DentalDecks.Server/api/UpdatePassword', JSON.stringify(user), { headers: headers })
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.isResetPasswordExpired = function (userId) {
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- var params = new http_1.URLSearchParams();
- params.set("userId", userId);
- return this.http.get('DentalDecks.Server/api/Password', { headers: headers, search: params })
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.getLongDate = function (date) {
- var returnValue = new Date(date);
- return returnValue.toLocaleDateString();
- };
- ApplicationService.prototype.getDateTime = function (date) {
- var orderDate = "";
- if (date != null && date != "")
- orderDate = new Date(date).toLocaleDateString() + " " + new Date(date).toLocaleTimeString();
- return orderDate;
- };
- ApplicationService.prototype.getRelativeDate = function (date) {
- if (date != null) {
- date = new Date(date);
- var delta = Math.round((+new Date - date) / 1000);
- var minute = 60, hour = minute * 60, day = hour * 24, week = day * 7;
- var fuzzy;
- if (delta < 30) {
- fuzzy = 'just now.';
- }
- else if (delta < minute) {
- fuzzy = delta + ' seconds ago.';
- }
- else if (delta < 2 * minute) {
- fuzzy = 'a minute ago.';
- }
- else if (delta < hour) {
- fuzzy = Math.floor(delta / minute) + ' minutes ago.';
- }
- else if (Math.floor(delta / hour) == 1) {
- fuzzy = '1 hour ago.';
- }
- else if (delta < day) {
- fuzzy = Math.floor(delta / hour) + ' hours ago.';
- }
- else if (delta < day * 2 && delta > day) {
- fuzzy = 'yesterday';
- }
- else {
- fuzzy = Math.floor(delta / (60 * 60 * 24)) + ' days ago';
- }
- return fuzzy;
- }
- else {
- return "";
- }
- };
- ApplicationService.prototype.extractData = function (res) {
- var body = res.json();
- return body || {};
- };
- ApplicationService.prototype.handleError = function (error) {
- // In a real world app, we might use a remote logging infrastructure
- var errMsg;
- if (error instanceof http_1.Response) {
- var body = error.json() || '';
- var err = body.error || JSON.stringify(body);
- errMsg = error.status + " - " + (error.statusText || '') + " " + err;
- }
- else {
- errMsg = error.message ? error.message : error.toString();
- }
- console.error(errMsg);
- return Observable_1.Observable.throw(errMsg);
- };
- ApplicationService.prototype.getAccountTypes = function () {
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/accounttype')
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.getStates = function () {
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/state')
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.getCountries = function () {
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/country')
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.getSecurityQuestions = function () {
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/securityquestionlist')
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService.prototype.getLicenseTypes = function () {
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/licensetype')
- .map(this.extractData)
- .catch(this.handleError);
- };
- ApplicationService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, router_1.Router])
- ], ApplicationService);
- return ApplicationService;
-}());
-exports.ApplicationService = ApplicationService;
-//# sourceMappingURL=application.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/application.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/application.service.js.map
deleted file mode 100644
index 9ac2543..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/application.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"application.service.js","sourceRoot":"","sources":["../../../../../src/app/services/application.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAyC;AACzC,sCAAyF;AACzF,0CAA2C;AAE3C,8CAA6C;AAC7C,iCAA+B;AAC/B,mCAAiC;AAWjC;IAcI,4BAAoB,IAAU,EAAU,MAAc;QA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,CAAC,iDAAiD,CAAC;aAClE,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;aACrB,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACjC,CAAC;IAEM,iDAAoB,GAA3B;QACI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,8DAA8D,CAAC;aAC/E,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;aACrB,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACjC,CAAC;IAEM,4CAAe,GAAtB;QACI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,qDAAqD,CAAC;aACtE,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;aACrB,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACjC,CAAC;IAvOQ,kBAAkB;QAD9B,iBAAU,EAAE;yCAeiB,WAAI,EAAkB,eAAM;OAd7C,kBAAkB,CAwO9B;IAAD,yBAAC;CAAA,AAxOD,IAwOC;AAxOY,gDAAkB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/update-user.service.js b/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/update-user.service.js
deleted file mode 100644
index 4533255..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/update-user.service.js
+++ /dev/null
@@ -1,138 +0,0 @@
-"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 http_1 = require("@angular/http");
-var router_1 = require("@angular/router");
-var Observable_1 = require("rxjs/Observable");
-require("rxjs/add/operator/map");
-require("rxjs/add/operator/catch");
-//import { AppSettings, User } from '../model/data-model';
-var UpdateUserService = /** @class */ (function () {
- function UpdateUserService(http, router) {
- //if (this.currentUser == null) {
- // var user = localStorage.getItem("currentUser");
- this.http = http;
- this.router = router;
- // if (user != null) {
- // this.currentUser = JSON.parse(user);
- // this.loggedIn = true;
- // }
- //}
- this.userId = 0;
- this.firstName = "";
- this.lastName = "";
- this.emailId = "";
- }
- UpdateUserService.prototype.extractData = function (res) {
- var body = res.json();
- return body || {};
- };
- UpdateUserService.prototype.handleError = function (error) {
- // In a real world app, we might use a remote logging infrastructure
- var errMsg;
- if (error instanceof http_1.Response) {
- var body = error.json() || '';
- var err = body.error || JSON.stringify(body);
- errMsg = error.status + " - " + (error.statusText || '') + " " + err;
- }
- else {
- errMsg = error.message ? error.message : error.toString();
- }
- console.error(errMsg);
- return Observable_1.Observable.throw(errMsg);
- };
- UpdateUserService.prototype.UpdateUserProfile = function (applicationName, strFirstName, strLastName, strEmailID) {
- console.log('inside update-user service -2');
- var usrID;
- usrID = 1;
- //let headers = new Headers({ 'Content-Type': 'application/json' });
- var headers = new http_1.Headers();
- headers.append('Content-type', 'application/x-www-form-urlencoded');
- var options = new http_1.RequestOptions({ headers: headers });
- var body = 'userId=' + usrID + '&emailId=' + strEmailID + '&firstName=' + strFirstName + '&lastName=' + strLastName;
- console.log(body);
- var urlSearchParams = new http_1.URLSearchParams();
- urlSearchParams.append('userId', usrID.toString());
- urlSearchParams.append('firstName', strFirstName);
- urlSearchParams.append('lastName', strLastName);
- urlSearchParams.append('emailId', strEmailID);
- var body2 = urlSearchParams.toString();
- return this.http.post('http://localhost:85/AIAHTML5.Server/api/updateprofile', body, options)
- .map(function (response) {
- console.log(response);
- var body = response.json();
- console.log(body);
- })
- .catch(this.handleError);
- };
- UpdateUserService.prototype.GetUserDetailsByIdandLoginId = function (id, loginId) {
- console.log('inside user-service getUserDetailsById');
- debugger;
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- //headers.append('Content-type', 'application/x-www-form-urlencoded');
- var options = new http_1.RequestOptions({ headers: headers });
- var params = new http_1.URLSearchParams();
- params.append('iUserId', id.toString());
- params.append('sLoginId', loginId);
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/changeuserid', { headers: headers, search: params })
- .map(this.extractData)
- .catch(this.handleError);
- };
- UpdateUserService.prototype.UpdateUserId = function (id, newLoginId) {
- console.log('inside user-service updateUserId');
- var headers = new http_1.Headers();
- headers.append('Content-type', 'application/x-www-form-urlencoded');
- var options = new http_1.RequestOptions({ headers: headers });
- var params = new http_1.URLSearchParams();
- params.append('iUserId', id.toString());
- params.append('newLoginId', newLoginId);
- var body = params.toString();
- return this.http.post('http://localhost:85/AIAHTML5.Server/api/changeuserid', body, options)
- .map(this.extractData)
- .catch(this.handleError);
- };
- UpdateUserService.prototype.GetUserDetailsByLoginIdandPassword = function (loginId, password) {
- console.log('inside user-service getUserDetailsByLoginIdandPassword');
- debugger;
- var headers = new http_1.Headers();
- headers.append('Content-Type', 'application/json');
- //headers.append('Content-type', 'application/x-www-form-urlencoded');
- var options = new http_1.RequestOptions({ headers: headers });
- var params = new http_1.URLSearchParams();
- params.append('sLoginId', loginId);
- params.append('sPassword', password);
- return this.http.get('http://localhost:85/AIAHTML5.Server/api/changeuserpassword', { headers: headers, search: params })
- .map(this.extractData)
- .catch(this.handleError);
- };
- UpdateUserService.prototype.UpdateUserPassword = function (id, newPassword) {
- console.log('inside user-service UpdateUserPassword');
- var headers = new http_1.Headers();
- headers.append('Content-type', 'application/x-www-form-urlencoded');
- var options = new http_1.RequestOptions({ headers: headers });
- var params = new http_1.URLSearchParams();
- params.append('iUserId', id.toString());
- params.append('newPassword', newPassword);
- var body = params.toString();
- return this.http.post('http://localhost:85/AIAHTML5.Server/api/changeuserpassword', body, options)
- .map(this.extractData)
- .catch(this.handleError);
- };
- UpdateUserService = __decorate([
- core_1.Injectable(),
- __metadata("design:paramtypes", [http_1.Http, router_1.Router])
- ], UpdateUserService);
- return UpdateUserService;
-}());
-exports.UpdateUserService = UpdateUserService;
-//# sourceMappingURL=update-user.service.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/update-user.service.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/update-user.service.js.map
deleted file mode 100644
index f60726d..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/app/services/update-user.service.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"update-user.service.js","sourceRoot":"","sources":["../../../../../src/app/services/update-user.service.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA2C;AAC3C,sCAAyF;AACzF,0CAAyC;AAEzC,8CAA6C;AAC7C,iCAA+B;AAC/B,mCAAiC;AAGjC,0DAA0D;AAG1D;IAaI,2BAAoB,IAAU,EAAU,MAAc;QAClD,iCAAiC;QACjC,qDAAqD;QAFrC,SAAI,GAAJ,IAAI,CAAM;QAAU,WAAM,GAAN,MAAM,CAAQ;QAIlD,yBAAyB;QACzB,8CAA8C;QAC9C,+BAA+B;QAC/B,OAAO;QACP,GAAG;QACH,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IAEtB,CAAC;IAEO,uCAAW,GAAnB,UAAoB,GAAa;QAC7B,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACtB,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;IACtB,CAAC;IACO,uCAAW,GAAnB,UAAoB,KAAqB;QACrC,oEAAoE;QACpE,IAAI,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M;OAb7C,iBAAiB,CA8I7B;IAAD,wBAAC;CAAA,AA9ID,IA8IC;AA9IY,8CAAiB"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.js b/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.js
deleted file mode 100644
index 45b2d89..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.js
+++ /dev/null
@@ -1,10 +0,0 @@
-"use strict";
-// The file contents for the current environment will overwrite these during build.
-// The build system defaults to the dev environment which uses `environment.ts`, but if you do
-// `ng build --env=prod` then `environment.prod.ts` will be used instead.
-// The list of which env maps to which file can be found in `.angular-cli.json`.
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.environment = {
- production: false
-};
-//# sourceMappingURL=environment.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.js.map
deleted file mode 100644
index b63dc4c..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../../src/environments/environment.ts"],"names":[],"mappings":";AAAA,mFAAmF;AACnF,8FAA8F;AAC9F,yEAAyE;AACzE,gFAAgF;;AAEnE,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.prod.js b/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.prod.js
deleted file mode 100644
index 90e2a77..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.prod.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.environment = {
- production: true
-};
-//# sourceMappingURL=environment.prod.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.prod.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.prod.js.map
deleted file mode 100644
index 7e0fb91..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/environments/environment.prod.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"environment.prod.js","sourceRoot":"","sources":["../../../../src/environments/environment.prod.ts"],"names":[],"mappings":";;AAAa,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,IAAI;CACjB,CAAC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/main.js b/400-SOURCECODE/Admin/dist/out-tsc/src/main.js
deleted file mode 100644
index 3c9876f..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/main.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var platform_browser_dynamic_1 = require("@angular/platform-browser-dynamic");
-var app_module_1 = require("./app/app.module");
-var environment_1 = require("./environments/environment");
-if (environment_1.environment.production) {
- core_1.enableProdMode();
-}
-platform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(app_module_1.AppModule);
-//# sourceMappingURL=main.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/main.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/main.js.map
deleted file mode 100644
index 91af59a..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/main.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/main.ts"],"names":[],"mappings":";;AAAA,sCAA+C;AAC/C,8EAA2E;AAE3E,+CAA6C;AAC7C,0DAAyD;AAEzD,EAAE,CAAC,CAAC,yBAAW,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3B,qBAAc,EAAE,CAAC;AACnB,CAAC;AAED,iDAAsB,EAAE,CAAC,eAAe,CAAC,sBAAS,CAAC,CAAC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/polyfills.js b/400-SOURCECODE/Admin/dist/out-tsc/src/polyfills.js
deleted file mode 100644
index 3fd40c4..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/polyfills.js
+++ /dev/null
@@ -1,62 +0,0 @@
-"use strict";
-/**
- * This file includes polyfills needed by Angular and is loaded before the app.
- * You can add your own extra polyfills to this file.
- *
- * This file is divided into 2 sections:
- * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
- * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
- * file.
- *
- * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
- * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
- * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
- *
- * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-/***************************************************************************************************
- * BROWSER POLYFILLS
- */
-/** IE9, IE10 and IE11 requires all of the following polyfills. **/
-// import 'core-js/es6/symbol';
-// import 'core-js/es6/object';
-// import 'core-js/es6/function';
-// import 'core-js/es6/parse-int';
-// import 'core-js/es6/parse-float';
-// import 'core-js/es6/number';
-// import 'core-js/es6/math';
-// import 'core-js/es6/string';
-// import 'core-js/es6/date';
-// import 'core-js/es6/array';
-// import 'core-js/es6/regexp';
-// import 'core-js/es6/map';
-// import 'core-js/es6/weak-map';
-// import 'core-js/es6/set';
-/** IE10 and IE11 requires the following for NgClass support on SVG elements */
-// import 'classlist.js'; // Run `npm install --save classlist.js`.
-/** Evergreen browsers require these. **/
-require("core-js/es6/reflect");
-require("core-js/es7/reflect");
-/**
- * Required to support Web Animations `@angular/animation`.
- * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
- **/
-// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
-/***************************************************************************************************
- * Zone JS is required by Angular itself.
- */
-require("zone.js/dist/zone"); // Included with Angular CLI.
-/***************************************************************************************************
- * APPLICATION IMPORTS
- */
-/**
- * Date, currency, decimal and percent pipes.
- * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
- */
-// import 'intl'; // Run `npm install --save intl`.
-/**
- * Need to import at least one locale-data with intl.
- */
-// import 'intl/locale-data/jsonp/en';
-//# sourceMappingURL=polyfills.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/polyfills.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/polyfills.js.map
deleted file mode 100644
index b6ca4d7..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/polyfills.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"polyfills.js","sourceRoot":"","sources":["../../../src/polyfills.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH;;GAEG;AAEH,mEAAmE;AACnE,+BAA+B;AAC/B,+BAA+B;AAC/B,iCAAiC;AACjC,kCAAkC;AAClC,oCAAoC;AACpC,+BAA+B;AAC/B,6BAA6B;AAC7B,+BAA+B;AAC/B,6BAA6B;AAC7B,8BAA8B;AAC9B,+BAA+B;AAC/B,4BAA4B;AAC5B,iCAAiC;AACjC,4BAA4B;AAE5B,+EAA+E;AAC/E,oEAAoE;AAEpE,yCAAyC;AACzC,+BAA6B;AAC7B,+BAA6B;AAG7B;;;IAGI;AACJ,8EAA8E;AAI9E;;GAEG;AACH,6BAA2B,CAAE,6BAA6B;AAI1D;;GAEG;AAEH;;;GAGG;AACH,oDAAoD;AACpD;;GAEG;AACH,sCAAsC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/test.js b/400-SOURCECODE/Admin/dist/out-tsc/src/test.js
deleted file mode 100644
index 6bf1759..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/test.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-// This file is required by karma.conf.js and loads recursively all the .spec and framework files
-Object.defineProperty(exports, "__esModule", { value: true });
-require("zone.js/dist/long-stack-trace-zone");
-require("zone.js/dist/proxy.js");
-require("zone.js/dist/sync-test");
-require("zone.js/dist/jasmine-patch");
-require("zone.js/dist/async-test");
-require("zone.js/dist/fake-async-test");
-var testing_1 = require("@angular/core/testing");
-var testing_2 = require("@angular/platform-browser-dynamic/testing");
-// Prevent Karma from running prematurely.
-__karma__.loaded = function () { };
-// First, initialize the Angular testing environment.
-testing_1.getTestBed().initTestEnvironment(testing_2.BrowserDynamicTestingModule, testing_2.platformBrowserDynamicTesting());
-// Then we find all the tests.
-var context = require.context('./', true, /\.spec\.ts$/);
-// And load the modules.
-context.keys().map(context);
-// Finally, start Karma to run the tests.
-__karma__.start();
-//# sourceMappingURL=test.js.map
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/dist/out-tsc/src/test.js.map b/400-SOURCECODE/Admin/dist/out-tsc/src/test.js.map
deleted file mode 100644
index 17cdc4c..0000000
--- a/400-SOURCECODE/Admin/dist/out-tsc/src/test.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../src/test.ts"],"names":[],"mappings":";AAAA,iGAAiG;;AAEjG,8CAA4C;AAC5C,iCAA+B;AAC/B,kCAAgC;AAChC,sCAAoC;AACpC,mCAAiC;AACjC,wCAAsC;AACtC,iDAAmD;AACnD,qEAGmD;AAMnD,0CAA0C;AAC1C,SAAS,CAAC,MAAM,GAAG,cAAa,CAAC,CAAC;AAElC,qDAAqD;AACrD,oBAAU,EAAE,CAAC,mBAAmB,CAC9B,qCAA2B,EAC3B,uCAA6B,EAAE,CAChC,CAAC;AACF,8BAA8B;AAC9B,IAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;AAC3D,wBAAwB;AACxB,OAAO,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAC5B,yCAAyC;AACzC,SAAS,CAAC,KAAK,EAAE,CAAC"}
\ No newline at end of file
diff --git a/400-SOURCECODE/Admin/package.json b/400-SOURCECODE/Admin/package.json
index 3403df8..0eb7247 100644
--- a/400-SOURCECODE/Admin/package.json
+++ b/400-SOURCECODE/Admin/package.json
@@ -27,7 +27,8 @@
"ng2-modal": "0.0.25",
"ng2-select2": "1.0.0-beta.10",
"rxjs": "^5.4.2",
- "zone.js": "^0.8.14"
+ "zone.js": "^0.8.14",
+ "ngx-bootstrap": "^2.0.0-rc.0"
},
"devDependencies": {
"@angular/cli": "1.4.9",
diff --git a/400-SOURCECODE/Admin/src/app/app.component.html b/400-SOURCECODE/Admin/src/app/app.component.html
index 65db480..17a5229 100644
--- a/400-SOURCECODE/Admin/src/app/app.component.html
+++ b/400-SOURCECODE/Admin/src/app/app.component.html
@@ -3,7 +3,7 @@