diff --git a/400-SOURCECODE/.gitignore b/400-SOURCECODE/.gitignore index bddedb0..52c36f8 100644 --- a/400-SOURCECODE/.gitignore +++ b/400-SOURCECODE/.gitignore @@ -31,11 +31,8 @@ AIAHTML5.ADMIN.API/* AIAHTML5.API/* !AIAHTML5.API/Gloabl.asax !AIAHTML5.API/Gloabl.cs -Admin/src/ -Admin/e2e -Admin/Properties -Admin/wwwroot - +Admin/* +!Admin/dist [Rr]elease*/ _ReSharper*/ [Tt]est[Rr]esult* diff --git a/400-SOURCECODE/Admin/.angular-cli.json b/400-SOURCECODE/Admin/.angular-cli.json deleted file mode 100644 index 40ead69..0000000 --- a/400-SOURCECODE/Admin/.angular-cli.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "project": { - "name": "aianew" - }, - "apps": [ - { - "root": "src", - "outDir": "dist", - "assets": [ - "assets", - "favicon.ico" - ], - "index": "index.html", - "main": "main.ts", - "polyfills": "polyfills.ts", - "test": "test.ts", - "tsconfig": "tsconfig.app.json", - "testTsconfig": "tsconfig.spec.json", - "prefix": "app", - "styles": [ - "styles.css" - ], - "scripts": [], - "environmentSource": "environments/environment.ts", - "environments": { - "dev": "environments/environment.ts", - "prod": "environments/environment.prod.ts" - } - } - ], - "e2e": { - "protractor": { - "config": "./protractor.conf.js" - } - }, - "lint": [ - { - "project": "src/tsconfig.app.json", - "exclude": "**/node_modules/**" - }, - { - "project": "src/tsconfig.spec.json", - "exclude": "**/node_modules/**" - }, - { - "project": "e2e/tsconfig.e2e.json", - "exclude": "**/node_modules/**" - } - ], - "test": { - "karma": { - "config": "./karma.conf.js" - } - }, - "defaults": { - "styleExt": "css", - "class": { - "spec": false - }, - "component": {} - } -} diff --git a/400-SOURCECODE/Admin/.editorconfig b/400-SOURCECODE/Admin/.editorconfig deleted file mode 100644 index 6e87a00..0000000 --- a/400-SOURCECODE/Admin/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# Editor configuration, see http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false diff --git a/400-SOURCECODE/Admin/.gitignore b/400-SOURCECODE/Admin/.gitignore deleted file mode 100644 index 54bfd20..0000000 --- a/400-SOURCECODE/Admin/.gitignore +++ /dev/null @@ -1,42 +0,0 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. - -# compiled output -/dist -/tmp -/out-tsc - -# dependencies -/node_modules - -# IDEs and editors -/.idea -.project -.classpath -.c9/ -*.launch -.settings/ -*.sublime-workspace - -# IDE - VSCode -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json - -# misc -/.sass-cache -/connect.lock -/coverage -/libpeerconnection.log -npm-debug.log -testem.log -/typings - -# e2e -/e2e/*.js -/e2e/*.map - -# System Files -.DS_Store -Thumbs.db diff --git a/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj b/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj deleted file mode 100644 index 97e6f61..0000000 --- a/400-SOURCECODE/Admin/AIAHTML5.ADMIN.Web.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - - - - - - - diff --git a/400-SOURCECODE/Admin/Program.cs b/400-SOURCECODE/Admin/Program.cs deleted file mode 100644 index 2cb6361..0000000 --- a/400-SOURCECODE/Admin/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Logging; - -namespace AIAHTML5.ADMIN.Web -{ - public class Program - { - public static void Main(string[] args) - { - BuildWebHost(args).Run(); - } - - public static IWebHost BuildWebHost(string[] args) => - WebHost.CreateDefaultBuilder(args) - .UseStartup() - .Build(); - } -} diff --git a/400-SOURCECODE/Admin/Properties/launchSettings.json b/400-SOURCECODE/Admin/Properties/launchSettings.json deleted file mode 100644 index 4e7a255..0000000 --- a/400-SOURCECODE/Admin/Properties/launchSettings.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:52177/", - "sslPort": 0 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "AIAHTML5.ADMIN.Web": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://localhost:52178/" - } - } -} diff --git a/400-SOURCECODE/Admin/README.md b/400-SOURCECODE/Admin/README.md deleted file mode 100644 index ff6352f..0000000 --- a/400-SOURCECODE/Admin/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# Aianew - -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.4.9. - -## Development server - -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. - -## Code scaffolding - -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. - -## Build - -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. - -## Running unit tests - -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). - -## Running end-to-end tests - -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). - -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/400-SOURCECODE/Admin/Startup.cs b/400-SOURCECODE/Admin/Startup.cs deleted file mode 100644 index a47e514..0000000 --- a/400-SOURCECODE/Admin/Startup.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; - -namespace AIAHTML5.ADMIN.Web -{ - public class Startup - { - // This method gets called by the runtime. Use this method to add services to the container. - // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940 - public void ConfigureServices(IServiceCollection services) - { - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) - { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - - app.Run(async (context) => - { - await context.Response.WriteAsync("Hello World!"); - }); - } - } -} diff --git a/400-SOURCECODE/Admin/dist/3rdpartylicenses.txt b/400-SOURCECODE/Admin/dist/3rdpartylicenses.txt new file mode 100644 index 0000000..c6d740e --- /dev/null +++ b/400-SOURCECODE/Admin/dist/3rdpartylicenses.txt @@ -0,0 +1,131 @@ +core-js@2.5.1 +MIT +Copyright (c) 2014-2017 Denis Pushkarev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +webpack@3.7.1 +MIT +Copyright JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +zone.js@0.8.18 +MIT +The MIT License + +Copyright (c) 2016 Google, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +@angular/core@4.4.6 +MIT +MIT + +ngx-bootstrap@2.0.0-rc.0 +MIT +The MIT License (MIT) + +Copyright (c) 2015-2017 Valor Software +Copyright (c) 2015-2017 Dmitriy Shekhovtsov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +ng2-bs3-modal@0.10.4 +ISC +ISC License (ISC) + +Copyright (c) 2016, Douglas Ludlow + +Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +@angular/router@4.4.6 +MIT +MIT + +@angular/http@4.4.6 +MIT +MIT + +@angular/platform-browser-dynamic@4.4.6 +MIT +MIT + +@angular/common@4.4.6 +MIT +MIT + +@angular/forms@4.4.6 +MIT +MIT + +@angular/platform-browser@4.4.6 +MIT +MIT \ No newline at end of file diff --git a/400-SOURCECODE/Admin/src/assets/img/alertmessage.png b/400-SOURCECODE/Admin/dist/assets/img/alertmessage.png index f5f2786..f5f2786 100644 --- a/400-SOURCECODE/Admin/src/assets/img/alertmessage.png +++ b/400-SOURCECODE/Admin/dist/assets/img/alertmessage.png diff --git a/400-SOURCECODE/Admin/src/assets/img/bg.gif b/400-SOURCECODE/Admin/dist/assets/img/bg.gif index fac668f..fac668f 100644 --- a/400-SOURCECODE/Admin/src/assets/img/bg.gif +++ b/400-SOURCECODE/Admin/dist/assets/img/bg.gif diff --git a/400-SOURCECODE/Admin/src/assets/img/calander.png b/400-SOURCECODE/Admin/dist/assets/img/calander.png index 62ba25c..62ba25c 100644 --- a/400-SOURCECODE/Admin/src/assets/img/calander.png +++ b/400-SOURCECODE/Admin/dist/assets/img/calander.png diff --git a/400-SOURCECODE/Admin/src/assets/img/close-button.png b/400-SOURCECODE/Admin/dist/assets/img/close-button.png index 933272b..933272b 100644 --- a/400-SOURCECODE/Admin/src/assets/img/close-button.png +++ b/400-SOURCECODE/Admin/dist/assets/img/close-button.png diff --git a/400-SOURCECODE/Admin/src/assets/img/doller.png b/400-SOURCECODE/Admin/dist/assets/img/doller.png index 45158b4..45158b4 100644 --- a/400-SOURCECODE/Admin/src/assets/img/doller.png +++ b/400-SOURCECODE/Admin/dist/assets/img/doller.png diff --git a/400-SOURCECODE/Admin/src/assets/img/img1 - Copy.png b/400-SOURCECODE/Admin/dist/assets/img/img1 - Copy.png index 31fa7c1..31fa7c1 100644 --- a/400-SOURCECODE/Admin/src/assets/img/img1 - Copy.png +++ b/400-SOURCECODE/Admin/dist/assets/img/img1 - Copy.png diff --git a/400-SOURCECODE/Admin/src/assets/img/img1-white.png b/400-SOURCECODE/Admin/dist/assets/img/img1-white.png index 63d9609..63d9609 100644 --- a/400-SOURCECODE/Admin/src/assets/img/img1-white.png +++ b/400-SOURCECODE/Admin/dist/assets/img/img1-white.png diff --git a/400-SOURCECODE/Admin/src/assets/img/img1.png b/400-SOURCECODE/Admin/dist/assets/img/img1.png index 406409a..406409a 100644 --- a/400-SOURCECODE/Admin/src/assets/img/img1.png +++ b/400-SOURCECODE/Admin/dist/assets/img/img1.png diff --git a/400-SOURCECODE/Admin/src/assets/img/logo-large.png b/400-SOURCECODE/Admin/dist/assets/img/logo-large.png index 4430baa..4430baa 100644 --- a/400-SOURCECODE/Admin/src/assets/img/logo-large.png +++ b/400-SOURCECODE/Admin/dist/assets/img/logo-large.png diff --git a/400-SOURCECODE/Admin/src/assets/img/logo-main.png b/400-SOURCECODE/Admin/dist/assets/img/logo-main.png index 9b7f27d..9b7f27d 100644 --- a/400-SOURCECODE/Admin/src/assets/img/logo-main.png +++ b/400-SOURCECODE/Admin/dist/assets/img/logo-main.png diff --git a/400-SOURCECODE/Admin/src/assets/img/search.png b/400-SOURCECODE/Admin/dist/assets/img/search.png index e69945d..e69945d 100644 --- a/400-SOURCECODE/Admin/src/assets/img/search.png +++ b/400-SOURCECODE/Admin/dist/assets/img/search.png diff --git a/400-SOURCECODE/Admin/src/assets/scripts/bootstrap-datetimepicker.min.js b/400-SOURCECODE/Admin/dist/assets/scripts/bootstrap-datetimepicker.min.js index a30f776..a30f776 100644 --- a/400-SOURCECODE/Admin/src/assets/scripts/bootstrap-datetimepicker.min.js +++ b/400-SOURCECODE/Admin/dist/assets/scripts/bootstrap-datetimepicker.min.js diff --git a/400-SOURCECODE/Admin/src/assets/scripts/bootstrap.js b/400-SOURCECODE/Admin/dist/assets/scripts/bootstrap.js index 30b701d..30b701d 100644 --- a/400-SOURCECODE/Admin/src/assets/scripts/bootstrap.js +++ b/400-SOURCECODE/Admin/dist/assets/scripts/bootstrap.js diff --git a/400-SOURCECODE/Admin/src/assets/scripts/fixed_table_rc.js b/400-SOURCECODE/Admin/dist/assets/scripts/fixed_table_rc.js index f2c9214..f2c9214 100644 --- a/400-SOURCECODE/Admin/src/assets/scripts/fixed_table_rc.js +++ b/400-SOURCECODE/Admin/dist/assets/scripts/fixed_table_rc.js diff --git a/400-SOURCECODE/Admin/src/assets/scripts/jquery-1.11.3.min.js b/400-SOURCECODE/Admin/dist/assets/scripts/jquery-1.11.3.min.js index 0f60b7b..0f60b7b 100644 --- a/400-SOURCECODE/Admin/src/assets/scripts/jquery-1.11.3.min.js +++ b/400-SOURCECODE/Admin/dist/assets/scripts/jquery-1.11.3.min.js diff --git a/400-SOURCECODE/Admin/src/assets/styles/admin-custom.css b/400-SOURCECODE/Admin/dist/assets/styles/admin-custom.css index df15b65..df15b65 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/admin-custom.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/admin-custom.css diff --git a/400-SOURCECODE/Admin/src/assets/styles/angular-custom.css b/400-SOURCECODE/Admin/dist/assets/styles/angular-custom.css index 475201d..475201d 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/angular-custom.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/angular-custom.css diff --git a/400-SOURCECODE/Admin/src/assets/styles/bootstrap-datetimepicker.min.css b/400-SOURCECODE/Admin/dist/assets/styles/bootstrap-datetimepicker.min.css index d516fbe..d516fbe 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/bootstrap-datetimepicker.min.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/bootstrap-datetimepicker.min.css diff --git a/400-SOURCECODE/Admin/src/assets/styles/bootstrap.css b/400-SOURCECODE/Admin/dist/assets/styles/bootstrap.css index 7b06313..7b06313 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/bootstrap.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/bootstrap.css diff --git a/400-SOURCECODE/Admin/src/assets/styles/fixed_table_rc.css b/400-SOURCECODE/Admin/dist/assets/styles/fixed_table_rc.css index cc9c40c..cc9c40c 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/fixed_table_rc.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/fixed_table_rc.css diff --git a/400-SOURCECODE/Admin/src/app/app.component.css b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.eot index e69de29..e69de29 100644 --- a/400-SOURCECODE/Admin/src/app/app.component.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.eot diff --git a/400-SOURCECODE/Admin/src/assets/styles/fonts/glyphicons-halflings-regular.svg b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.svg index 4469488..4469488 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/fonts/glyphicons-halflings-regular.svg +++ b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.svg diff --git a/400-SOURCECODE/Admin/src/assets/.gitkeep b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.ttf index e69de29..e69de29 100644 --- a/400-SOURCECODE/Admin/src/assets/.gitkeep +++ b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.ttf diff --git a/400-SOURCECODE/Admin/src/assets/styles/fonts/glyphicons-halflings-regular.eot b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.woff index e69de29..e69de29 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/fonts/glyphicons-halflings-regular.eot +++ b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.woff diff --git a/400-SOURCECODE/Admin/src/assets/styles/fonts/glyphicons-halflings-regular.woff2 b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.woff2 index 64539b5..64539b5 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/fonts/glyphicons-halflings-regular.woff2 +++ b/400-SOURCECODE/Admin/dist/assets/styles/fonts/glyphicons-halflings-regular.woff2 diff --git a/400-SOURCECODE/Admin/src/assets/styles/images/asc.gif b/400-SOURCECODE/Admin/dist/assets/styles/images/asc.gif index 3b30b3c..3b30b3c 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/images/asc.gif +++ b/400-SOURCECODE/Admin/dist/assets/styles/images/asc.gif diff --git a/400-SOURCECODE/Admin/src/assets/styles/images/bg.gif b/400-SOURCECODE/Admin/dist/assets/styles/images/bg.gif index fac668f..fac668f 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/images/bg.gif +++ b/400-SOURCECODE/Admin/dist/assets/styles/images/bg.gif diff --git a/400-SOURCECODE/Admin/src/assets/styles/images/desc.gif b/400-SOURCECODE/Admin/dist/assets/styles/images/desc.gif index 7415786..7415786 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/images/desc.gif +++ b/400-SOURCECODE/Admin/dist/assets/styles/images/desc.gif diff --git a/400-SOURCECODE/Admin/src/assets/styles/main.css b/400-SOURCECODE/Admin/dist/assets/styles/main.css index d2ce0c7..d2ce0c7 100644 --- a/400-SOURCECODE/Admin/src/assets/styles/main.css +++ b/400-SOURCECODE/Admin/dist/assets/styles/main.css diff --git a/400-SOURCECODE/Admin/src/favicon.ico b/400-SOURCECODE/Admin/dist/favicon.ico index 8081c7c..8081c7c 100644 --- a/400-SOURCECODE/Admin/src/favicon.ico +++ b/400-SOURCECODE/Admin/dist/favicon.ico diff --git a/400-SOURCECODE/Admin/dist/index.html b/400-SOURCECODE/Admin/dist/index.html new file mode 100644 index 0000000..23f26cb --- /dev/null +++ b/400-SOURCECODE/Admin/dist/index.html @@ -0,0 +1,40 @@ +A.D.A.M. Interactive Anatomy
\ No newline at end of file diff --git a/400-SOURCECODE/Admin/dist/inline.9d77a4c954b77a1ca6d9.bundle.js b/400-SOURCECODE/Admin/dist/inline.9d77a4c954b77a1ca6d9.bundle.js new file mode 100644 index 0000000..4fe5f3c --- /dev/null +++ b/400-SOURCECODE/Admin/dist/inline.9d77a4c954b77a1ca6d9.bundle.js @@ -0,0 +1 @@ +!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var a,i,f,l=0,s=[];l\r\n \x3c!-- main-heading --\x3e\r\n
\r\n

Change User ID

\r\n
\r\n \x3c!-- main-heading --\x3e\r\n \x3c!-- container --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
**To change your user ID fill all the text fields carefully.
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n (Minimum 8 characters)\r\n
Minimum 8 characters is required
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
Confirm userid is required
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \x3c!--cancel-button--\x3e\r\n \x3c!-- /.modal --\x3e\r\n \x3c!--cancel-button--\x3e\r\n \r\n
\r\n\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \x3c!-- container --\x3e\r\n
\r\n
\r\n\r\n\r\n \r\n'},"2Azi":function(t,e){t.exports='
\r\n \x3c!-- main-heading --\x3e\r\n
\r\n

{{Mode}} Discount Code

\r\n
\r\n \x3c!-- main-heading --\x3e\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \x3c!-- container --\x3e\r\n
\r\n
\r\n \r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Discount CodePercentageDiscount Start DateDiscount End DateStatus
{{item.DiscountCode}}{{item.Percentage | number : \'1.2\'}}{{item.StartDate | date: \'MM/dd/yyyy\'}}{{item.EndDate | date: \'MM/dd/yyyy\'}}\r\n Active\r\n Inactive\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n\r\n
\r\n
\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
Discount start date is required
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
Discount end date is required
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
Discount percentage is required
\r\n
Discount percentage must be numeric
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \x3c!--cancel-button--\x3e\r\n \r\n \x3c!-- /.modal --\x3e\r\n \x3c!--cancel-button--\x3e\r\n\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \x3c!-- container --\x3e\r\n
'},"3cDZ":function(t,e){t.exports=' \r\n\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n

\r\n {{message}}\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n

{{message}}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n

\r\n {{message}}\r\n

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n

\r\n {{message}}\r\n

\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n'},"7QTD":function(t,e){t.exports='
\r\n \x3c!-- main-heading --\x3e\r\n
\r\n

Change User Password

\r\n
\r\n \x3c!-- main-heading --\x3e\r\n \x3c!-- container --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
**To change your profile fill all the text fields carefully.
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
Old password is required
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n (Minimum 8 characters)\r\n
New password of minimum 8 characters is required
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
Confirm password is required
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \x3c!--cancel-button--\x3e\r\n \x3c!-- /.modal --\x3e\r\n \x3c!--cancel-button--\x3e\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n'},LWbE:function(t,e){t.exports='
\r\n \x3c!-- main-heading --\x3e\r\n
\r\n

Add User

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n (Minimum 8 characters)\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \x3c!--modal--\x3e\r\n \r\n\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n'},cDNt:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("/oeL"),s=r("Qa4U"),o=r("bm2B"),i=r("fc+i"),a=r("XKz0"),l=r("qbdv"),c=r("CPp0"),d=r("GWzR"),u=(r("GQSG"),r("HT7u"),r("PSNg"),r("ivSB"),r("AP4T")),p=function(){function t(){this.userUrl="",this.resourceBaseUrl="",this.hostURL="",this.LiveURL="",this.UserId=6,this.UserType=1,this.AccountType=0,this.hostURL="http://192.168.84.242:97/",this.LiveURL="http://qa.beta.interactiveanatomy.com/API/Adminapi/",this.resourceBaseUrl=this.LiveURL}return t}(),m=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},f=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},h=function(){function t(t,e){this.http=t,this.commonService=e}return t.prototype.GetUserById=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"User/GetUserProfile/"+this.commonService.UserId).map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.UpdateUserProfileById=function(t){var e=this;return this.http.post(this.commonService.resourceBaseUrl+"User/UpdateProfile",t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.ChangeUserPassword=function(t){var e=this,r={id:t.userId,newPassword:t.newPassword};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"User/ChangeUserPassword",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateUserId=function(t){var e=this;return this.http.post(this.commonService.resourceBaseUrl+"User/UpdateUserId",t).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetUserType=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"User/GetUserType/"+this.commonService.UserType).map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetAccountType=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"User/GetAccountType/"+this.commonService.AccountType).map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetUserList=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"User/Users?firstname="+t.FirstName+"&lastname="+t.LastName+"&emailid="+t.EmailId+"&accountnumber="+t.AccountNumber+"&usertypeid="+t.UserTypeId+"&accounttypeid="+t.AccountTypeId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetUserTypeByLicenseType=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"User/GetUserTypebyLicenseId?UserTypeId="+this.commonService.UserType+"&LicenseId="+t.AccountNumberId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.GetAccountNumber=function(){var t=this;return this.http.get(this.commonService.resourceBaseUrl+"User/GetAccountNumber").map(this.extractData).catch(function(e){return t.handleError(e)})},t.prototype.GetProductEdition=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"User/GetProductEdition?LicenseId="+t.AccountNumberId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.extractData=function(t){return t.json()},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),u.Observable.throw(e)},t}();h=m([Object(n.Injectable)(),f("design:paramtypes",["function"==typeof(v=void 0!==c.b&&c.b)&&v||Object,"function"==typeof(b=void 0!==p&&p)&&b||Object])],h);var v,b,g=r("BkNc"),y=function(){function t(){}return t}(),x=function(){function t(){}return t}(),w=function(){function t(){}return t}(),U=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},C=function(){function t(){}return t}();C=U([Object(n.Injectable)()],C);var P=(r("U6yM"),r("Wi6i"),this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i}),I=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},D=function(){function t(t,e,r,n,s){this.userservice=t,this.router=e,this.fb=r,this.http=n,this._confirmService=s,this.UserId=1,this.indLoading=!1,this.baseUrl="User",this.emailPattern="^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$",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."}}}return t.prototype.ngOnInit=function(){this.user=new y,this.alerts="",this.userFrm=this.fb.group({id:[""],firstName:["",o.f.required],lastName:["",o.f.required],emailId:["",o.f.required]}),this.GetUserById()},t.prototype.redirect=function(){this.router.navigate(["/"])},t.prototype.GetUserById=function(){var t=this;this.userservice.GetUserById().subscribe(function(e){console.log(e),t.bindUsers(e)},function(e){return t.error=e})},t.prototype.UpdateUserProfile=function(){var t=this;this.user=this.userFrm.value;var e=this.user;if(this.userFrm.valid)return this.userservice.UpdateUserProfileById(e).subscribe(function(e){return t.AfterInsertData(e)},function(e){return t.error=e})},t.prototype.AfterInsertData=function(t){if("False"==t.Status)return!1;this.status=!0,this._confirmService.activate("User Profile Updated Successfully.","alertMsg")},t.prototype.bindUsers=function(t){this.user=t[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)},t}();D=P([Object(n.Component)({template:r("xbvx")}),I("design:paramtypes",["function"==typeof(S=void 0!==h&&h)&&S||Object,"function"==typeof(F=void 0!==g.a&&g.a)&&F||Object,"function"==typeof(A=void 0!==o.a&&o.a)&&A||Object,"function"==typeof(R=void 0!==c.b&&c.b)&&R||Object,"function"==typeof(E=void 0!==C&&C)&&E||Object])],D);var S,F,A,R,E,N=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},O=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},j=function(){function t(t,e,r,n){this.changeUserPasswordService=t,this.router=e,this.fb=r,this._confirmService=n}return t.prototype.ngOnInit=function(){this.user=new y,this.alerts="",this.changeUserPasswordFrm=this.fb.group({userId:[""],loginId:["",o.f.required],oldPassword:["",o.f.required],newPassword:["",[o.f.required,o.f.minLength(8)]],confirmPassword:["",o.f.required]}),this.GetUserById()},t.prototype.GetUserById=function(){var t=this;this.changeUserPasswordService.GetUserById().subscribe(function(e){t.BindFormFields(e)},function(e){return t.error=e})},t.prototype.redirect=function(){this.router.navigate(["/"])},t.prototype.onFormSubmit=function(){var t=this;if(this.alerts="",this.user.Password!=this.changeUserPasswordFrm.value.oldPassword&&(this.alerts="Old password is invalid"),this.user.Password==this.changeUserPasswordFrm.value.newPassword&&(this.alerts+="
New password and old password must be different"),this.changeUserPasswordFrm.value.newPassword!=this.changeUserPasswordFrm.value.confirmPassword&&(this.alerts+="
New password and confirm password must be same"),""==this.alerts){var e=this.changeUserPasswordFrm.value;return this.changeUserPasswordService.ChangeUserPassword(e).subscribe(function(e){return t.AfterInsertData(e)},function(e){return t.error=e})}},t.prototype.AfterInsertData=function(t){"false"==t.Status?this.alerts="Password change unsuccessfull":this._confirmService.activate("Password changed successfully.","alertMsg")},t.prototype.BindFormFields=function(t){this.user=t[0],this.changeUserPasswordFrm.controls.userId.setValue(this.user.Id),this.changeUserPasswordFrm.controls.loginId.setValue(this.user.LoginId)},t.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=""},t}();j=N([Object(n.Component)({template:r("7QTD")}),O("design:paramtypes",["function"==typeof(T=void 0!==h&&h)&&T||Object,"function"==typeof(M=void 0!==g.a&&g.a)&&M||Object,"function"==typeof(_=void 0!==o.a&&o.a)&&_||Object,"function"==typeof(k=void 0!==C&&C)&&k||Object])],j);var T,M,_,k,L=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},B=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},V=function(){function t(t,e,r,n,s){this.userservice=t,this.router=e,this.fb=r,this.http=n,this._confirmService=s,this.UserId=1,this.baseUrl="User"}return t.prototype.ngOnInit=function(){this.user=new y,this.alerts="",this.ChangeUserIdFrm=this.fb.group({id:[""],loginid:["",o.f.required],newloginid:["",[o.f.required,o.f.minLength(8)]],confirmloginid:["",o.f.required]}),this.GetUserById()},t.prototype.redirect=function(){this.router.navigate(["/"])},t.prototype.GetUserById=function(){var t=this;this.userservice.GetUserById().subscribe(function(e){console.log(e),t.bindUsers(e)},function(e){return t.error=e})},t.prototype.UpdateUserId=function(){var t=this;if(this.alerts="",this.user.LoginId==this.ChangeUserIdFrm.value.newloginid&&(this.alerts+="
New userid and old userid must be different"),this.ChangeUserIdFrm.value.newloginid!=this.ChangeUserIdFrm.value.confirmloginid&&(this.alerts+="
New userid and confirm userid must be same"),""==this.alerts){this.user=this.ChangeUserIdFrm.value,console.log(this.user);var e=this.user;if(this.ChangeUserIdFrm.valid)return this.userservice.UpdateUserId(e).subscribe(function(e){return t.AfterInsertData(e)},function(e){return t.error=e})}},t.prototype.AfterInsertData=function(t){if("success"!=t)return this.alerts+=""+t+"",!1;this._confirmService.activate("Userid Updated Successfully.","alertMsg")},t.prototype.bindUsers=function(t){this.user=t[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("")},t.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=""},t}();V=L([Object(n.Component)({template:r("1Nhn")}),B("design:paramtypes",["function"==typeof(q=void 0!==h&&h)&&q||Object,"function"==typeof(G=void 0!==g.a&&g.a)&&G||Object,"function"==typeof(z=void 0!==o.a&&o.a)&&z||Object,"function"==typeof(H=void 0!==c.b&&c.b)&&H||Object,"function"==typeof(W=void 0!==C&&C)&&W||Object])],V);var q,G,z,H,W,Y=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},J=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Z=function(){function t(t,e,r,n,s){this.userservice=t,this.router=e,this.fb=r,this.http=n,this._confirmService=s}return t.prototype.ngOnInit=function(){this.alerts="",this.Users=this.fb.group({FirstName:[""],LastName:[""],EmailId:[""],AccountNumber:[""],UserTypeId:[""],AccountTypeId:[""]}),this.GetUserType(),this.GetAccountType()},t.prototype.redirect=function(){this.router.navigate(["/"])},t.prototype.GetUserType=function(){var t=this;this.userservice.GetUserType().subscribe(function(e){t.UserTypeList=e},function(e){return t.error=e})},t.prototype.GetAccountType=function(){var t=this;this.userservice.GetAccountType().subscribe(function(e){t.AccountTypeList=e},function(e){return t.error=e})},t.prototype.GetUserList=function(){},t.prototype.SearchUserList=function(){var t=this;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:null!=this.Users.controls.UserTypeId.value&&""!=this.Users.controls.UserTypeId.value?this.Users.controls.UserTypeId.value:0,AccountTypeId:null!=this.Users.controls.AccountTypeId.value&&""!=this.Users.controls.AccountTypeId.value?this.Users.controls.AccountTypeId.value:0}).subscribe(function(e){t.UserList=e},function(e){return t.error=e})},t.prototype.AfterInsertData=function(t){if("success"!=t)return this.alerts+=""+t+"",!1;this._confirmService.activate("Userid Updated Successfully.","alertMsg")},t.prototype.ResetFormFields=function(){this.alerts=""},t}();Z=Y([Object(n.Component)({template:r("lPoh")}),J("design:paramtypes",["function"==typeof(Q=void 0!==h&&h)&&Q||Object,"function"==typeof($=void 0!==g.a&&g.a)&&$||Object,"function"==typeof(K=void 0!==o.a&&o.a)&&K||Object,"function"==typeof(X=void 0!==c.b&&c.b)&&X||Object,"function"==typeof(tt=void 0!==C&&C)&&tt||Object])],Z);var Q,$,K,X,tt,et=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},rt=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},nt=function(){function t(t,e,r,n,s,o){this.userservice=t,this.router=e,this.fb=r,this.http=n,this._confirmService=s,this.commonService=o,this.baseUrl="User",this.emailPattern="^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$"}return t.prototype.ngOnInit=function(){this.user=new y,this.alerts="",this.adduserFrm=this.fb.group({id:[""],UserName:["",o.f.required],Password:["",o.f.required],ConfirmPassword:["",o.f.required],FirstName:["",o.f.required],LastName:["",o.f.required],EmailId:["",o.f.required],AccountNumberId:["",o.f.required],UserTypeId:["",o.f.required],ProductEditionId:["",o.f.required]}),this.GetUserTypeByLicenseId()},t.prototype.GetUserTypeByLicenseId=function(){var t=this,e=this.adduserFrm.controls.AccountNumberId.value;""==e&&(e=0),this.userservice.GetUserTypeByLicenseType({AccountNumberId:e}).subscribe(function(e){t.UserTypeList=e},function(e){return t.error=e})},t.prototype.GetAccountNumber=function(){var t=this;this.userservice.GetAccountNumber().subscribe(function(e){console.log(e),t.AccountNumberList=e},function(e){return t.error=e})},t.prototype.GetProductEdition=function(){var t=this;this.userservice.GetProductEdition({AccountNumberId:this.adduserFrm.controls.AccountNumberId.value}).subscribe(function(e){console.log(e),t.ProductEditionList=e},function(e){return t.error=e})},t.prototype.UpdateUserProfile=function(){var t=this;this.user=this.adduserFrm.value;var e=this.user;if(this.adduserFrm.valid)return this.userservice.UpdateUserProfileById(e).subscribe(function(e){return t.AfterInsertData(e)},function(e){return t.error=e})},t.prototype.AfterInsertData=function(t){if("False"==t.Status)return!1;this.status=!0,this._confirmService.activate("User Profile Updated Successfully.","alertMsg")},t.prototype.bindUsers=function(t){this.adduserFrm.controls.id.setValue(this.user.Id),this.adduserFrm.controls.FirstName.setValue(this.user.FirstName),this.adduserFrm.controls.LastName.setValue(this.user.LastName),this.adduserFrm.controls.EmailId.setValue(this.user.EmailId),this.adduserFrm.controls.UserName.setValue(this.user.LoginId),this.adduserFrm.controls.Password.setValue(this.user.Password),this.adduserFrm.controls.ConfirmPassword.setValue(this.user.ConfirmPassword),this.adduserFrm.controls.AccountNumberId.setValue(this.user.AccountNumberId),this.adduserFrm.controls.UserTypeId.setValue(this.user.UserTypeId),this.adduserFrm.controls.ProductEditionId.setValue(this.user.ProductEditionId)},t}();nt=et([Object(n.Component)({template:r("LWbE")}),rt("design:paramtypes",["function"==typeof(st=void 0!==h&&h)&&st||Object,"function"==typeof(ot=void 0!==g.a&&g.a)&&ot||Object,"function"==typeof(it=void 0!==o.a&&o.a)&&it||Object,"function"==typeof(at=void 0!==c.b&&c.b)&&at||Object,"function"==typeof(lt=void 0!==C&&C)&<||Object,"function"==typeof(ct=void 0!==p&&p)&&ct||Object])],nt);var st,ot,it,at,lt,ct,dt=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},ut=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},pt=function(){function t(t,e){this.http=t,this.commonService=e}return t.prototype.GetDiscountCodes=function(t){var e=this;return""==t.startDate&&(t.startDate="1/1/1"),""==t.endDate&&(t.endDate="1/1/9999"),this.http.get(this.commonService.resourceBaseUrl+"DiscountCode/GetDiscountCodes?discountCode="+t.discountCode+"&startDate="+t.startDate+"&endDate="+t.endDate).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.InsertDiscountCode=function(t){var e=this,r={id:t.discountId,discountCode:t.discountCode,startDate:t.startDate,endDate:t.endDate,percentage:t.percentage,isActive:t.isActive};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"DiscountCode/InsertDiscountCode",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateDiscountCode=function(t){var e=this,r={id:t.discountId,discountCode:t.discountCode,startDate:t.startDate,endDate:t.endDate,percentage:t.percentage,isActive:t.isActive};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"DiscountCode/UpdateDiscountCode",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.extractData=function(t){return t.json()},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),u.Observable.throw(e)},t}();pt=dt([Object(n.Injectable)(),ut("design:paramtypes",["function"==typeof(mt=void 0!==c.b&&c.b)&&mt||Object,"function"==typeof(ft=void 0!==p&&p)&&ft||Object])],pt);var mt,ft,ht=r("WYiA"),vt=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},bt=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},gt=function(){function t(t,e,r,n){this.manageDiscountCodeService=t,this.router=e,this.fb=r,this.modalService=n,this.Mode="Manage",this.divClass="",this.topPos="2000px",this.selectedRow=0,this.datePipe=new l.DatePipe("en-US"),this.bsValue1=new Date,this.bsValue2=new Date,this.bsValue3=new Date,this.bsValue4=new Date,this.selectedId=0}return t.prototype.ngOnInit=function(){this.divClass="col-sm-12",this.discountCode=new x,this.alerts="",this.manageDiscountCodeFrm=this.fb.group({searchDiscountCode:[""],searchStartDate:[""],searchEndDate:[""],discountCodes:this.fb.array([])}),this.insertUpdateDiscountCodeFrm=this.fb.group({discountId:[""],discountCode:[""],startDate:["",o.f.required],endDate:["",o.f.required],percentage:["",[o.f.required,o.f.pattern("[0-9.]*")]],isActive:[!0]}),this.SearchDiscountCodes()},t.prototype.SetClickedRow=function(t,e){this.selectedRow=t,this.selectedId=e.Id,this.discountCode=e},t.prototype.SearchDiscountCodes=function(){var t=this;this.manageDiscountCodeService.GetDiscountCodes({discountCode:this.manageDiscountCodeFrm.controls.searchDiscountCode.value,startDate:this.manageDiscountCodeFrm.controls.searchStartDate.value,endDate:this.manageDiscountCodeFrm.controls.searchEndDate.value}).subscribe(function(e){t.BindFormFields(e)},function(e){return t.error=e})},t.prototype.openModal=function(t){this.modalRef=this.modalService.show(t)},t.prototype.InsertUpdateDiscountCode=function(t){var e=this;if(console.log("InsertUpdateDiscountCode"),this.alerts="",parseInt(this.insertUpdateDiscountCodeFrm.value.percentage)>100&&(this.alerts="Percentage must be between 0 to 100"),""==this.alerts){var r=this.insertUpdateDiscountCodeFrm.value;return 0==r.discountId?this.manageDiscountCodeService.InsertDiscountCode(r).subscribe(function(r){return e.AfterInsertData(r,t)},function(t){return e.error=t}):this.manageDiscountCodeService.UpdateDiscountCode(r).subscribe(function(r){return e.AfterUpdateData(r,t)},function(t){return e.error=t})}},t.prototype.AfterInsertData=function(t,e){"false"==t.Status?this.alerts="Discount code save unsuccessfull":(this.modalAlerts="

Discount code saved successfully

",this.modalRef=this.modalService.show(e))},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this.alerts="Discount code update unsuccessfull":(this.modalAlerts="

Discount code updated successfully

",this.modalRef=this.modalService.show(e))},t.prototype.BindFormFields=function(t){this.selectedRow=0,this.discountCodes=t,this.discountCode=this.discountCodes[0],this.manageDiscountCodeFrm.setControl("discountCodes",this.fb.array(this.discountCodes))},t.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",this.insertUpdateDiscountCodeFrm.reset(),this.alerts="",this.insertUpdateDiscountCodeFrm.controls.discountId.setValue(0),this.insertUpdateDiscountCodeFrm.controls.discountCode.setValue(""),this.insertUpdateDiscountCodeFrm.controls.startDate.setValue(""),this.insertUpdateDiscountCodeFrm.controls.endDate.setValue(""),this.insertUpdateDiscountCodeFrm.controls.percentage.setValue(""),this.insertUpdateDiscountCodeFrm.controls.isActive.setValue(!0)},t.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",this.alerts="",this.insertUpdateDiscountCodeFrm.controls.discountId.setValue(this.discountCode.Id),this.insertUpdateDiscountCodeFrm.controls.discountCode.setValue(this.discountCode.DiscountCode),this.insertUpdateDiscountCodeFrm.controls.startDate.setValue(this.datePipe.transform(this.discountCode.StartDate,"MM/dd/yyyy")),this.insertUpdateDiscountCodeFrm.controls.endDate.setValue(this.datePipe.transform(this.discountCode.EndDate,"MM/dd/yyyy")),this.insertUpdateDiscountCodeFrm.controls.percentage.setValue(this.discountCode.Percentage),this.insertUpdateDiscountCodeFrm.controls.isActive.setValue(this.discountCode.IsActive)},t.prototype.CancelAddEdit=function(){var t=this;this.Mode="Manage",this.topPos="2000px",this.divClass="col-sm-12",this.SearchDiscountCodes(),this.selectedRow=this.discountCodes.findIndex(function(e){return e.Id==t.selectedId}),this.SetClickedRow(this.selectedRow,this.manageDiscountCodeFrm.controls.discountCodes.value.find(function(e){return e.Id==t.selectedId}))},t}();gt=vt([Object(n.Component)({template:r("2Azi")}),bt("design:paramtypes",["function"==typeof(yt=void 0!==pt&&pt)&&yt||Object,"function"==typeof(xt=void 0!==g.a&&g.a)&&xt||Object,"function"==typeof(wt=void 0!==o.a&&o.a)&&wt||Object,"function"==typeof(Ut=void 0!==ht.a&&ht.a)&&Ut||Object])],gt);var yt,xt,wt,Ut,Ct=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},Pt=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},It=function(){function t(t,e){this.http=t,this.commonService=e}return t.prototype.GetSubscriptionPrices=function(t){var e=this;return this.http.get(this.commonService.resourceBaseUrl+"SubscriptionPrice/GetSubscriptionPrices?editionId="+t.editionId).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.InsertSubscriptionPrice=function(t){var e=this,r={id:t.subscriptionPriceId,title:t.title,price:t.price,duration:t.duration,editionId:t.editionId,isActive:t.isActive};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"SubscriptionPrice/InsertSubscriptionPrice",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.UpdateSubscriptionPrices=function(t){var e=this,r={obj:t};console.log(t);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"SubscriptionPrice/UpdateSubscriptionPrices",JSON.stringify(r),{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.DeleteSubscriptionPrices=function(t){var e=this,r=t;console.log(r);var n=new c.a({"Content-Type":"application/json"});return this.http.post(this.commonService.resourceBaseUrl+"SubscriptionPrice/DeleteSubscriptionPrices",r,{headers:n}).map(this.extractData).catch(function(t){return e.handleError(t)})},t.prototype.extractData=function(t){return t.json()},t.prototype.handleError=function(t){var e=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return console.error(e),u.Observable.throw(e)},t}();It=Ct([Object(n.Injectable)(),Pt("design:paramtypes",["function"==typeof(Dt=void 0!==c.b&&c.b)&&Dt||Object,"function"==typeof(St=void 0!==p&&p)&&St||Object])],It);var Dt,St,Ft=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},At=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Rt=function(){function t(t,e,r,n){this.subscriptionPriceService=t,this.router=e,this.fb=r,this.modalService=n,this.Mode="Search",this.topPos="2000px",this.datePipe=new l.DatePipe("en-US"),this.selectedEditionId=1,this.divClass=""}return t.prototype.ngOnInit=function(){this.divClass="col-sm-12",this.subscriptionPrice=new w,this.alerts="",this.subscriptionPriceFrm=this.fb.group({subscriptionPrices:this.fb.array([])}),this.insertSubscriptionPriceFrm=this.fb.group({subscriptionPriceId:[""],title:["",o.f.required],price:["",[o.f.required,o.f.pattern("[0-9.]*")]],duration:["",[o.f.required,o.f.pattern("[0-9]*")]],editionId:[""],isActive:[!1]}),this.SearchSubscriptionPrices(this.selectedEditionId)},t.prototype.SearchSubscriptionPrices=function(t){var e=this;this.selectedEditionId=t,this.subscriptionPriceService.GetSubscriptionPrices({editionId:this.selectedEditionId}).subscribe(function(t){e.BindFormFields(t)},function(t){return e.error=t})},t.prototype.openModal=function(t){0!=this.checkedRecords.filter(function(t){return t>0}).length&&(this.modalRef=this.modalService.show(t))},t.prototype.onChange=function(t,e,r){this.checkedRecords[t]=r?e:0},t.prototype.AfterDeleteData=function(t,e){"false"==t.Status?this.alerts="Subscription prices delete unsuccessfull":(this.modalAlerts="

Subscription prices deleted successfully

",this.modalRef=this.modalService.show(e),this.SearchSubscriptionPrices(this.selectedEditionId))},t.prototype.AfterInsertData=function(t,e){"false"==t.Status?this.alerts="Subscription price save unsuccessfull":(this.modalAlerts="

Subscription price saved successfully

",this.modalRef=this.modalService.show(e))},t.prototype.AfterUpdateData=function(t,e){"false"==t.Status?this.alerts="Subscription prices update unsuccessfull\n":(this.modalAlerts="

Subscription prices updated successfully

",this.modalRef=this.modalService.show(e))},t.prototype.BindFormFields=function(t){this.subscriptionPrices=t,this.checkedRecords=new Array(this.subscriptionPrices.length),this.subscriptionPriceFrm.setControl("subscriptionPrices",this.fb.array(this.subscriptionPrices))},t.prototype.UpdateSubscriptionPrices=function(t){var e=this;if(console.log(this.subscriptionPriceFrm.value),this.alerts="",""==this.alerts){var r=this.subscriptionPriceFrm.controls.subscriptionPrices.value;this.subscriptionPriceService.UpdateSubscriptionPrices(r).subscribe(function(r){return e.AfterUpdateData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.InsertSubscriptionPrice=function(t){var e=this;if(console.log(this.insertSubscriptionPriceFrm.value),this.alerts="",""==this.alerts){var r=this.insertSubscriptionPriceFrm.value;return this.subscriptionPriceService.InsertSubscriptionPrice(r).subscribe(function(r){return e.AfterInsertData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.DeleteSubscriptionPrices=function(t){var e=this;if(console.log(this.checkedRecords),this.alerts="",""==this.alerts){var r=this.checkedRecords.filter(function(t){return t>0});return this.subscriptionPriceService.DeleteSubscriptionPrices(r).subscribe(function(r){return e.AfterDeleteData(r,t)},function(t){e.error=t,e.alerts=""+e.error+""})}},t.prototype.AddSubscriptionPrice=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",this.insertSubscriptionPriceFrm.reset(),this.alerts="",this.insertSubscriptionPriceFrm.controls.subscriptionPriceId.setValue(0),this.insertSubscriptionPriceFrm.controls.title.setValue(""),this.insertSubscriptionPriceFrm.controls.price.setValue(""),this.insertSubscriptionPriceFrm.controls.duration.setValue(""),this.insertSubscriptionPriceFrm.controls.editionId.setValue(this.selectedEditionId),this.insertSubscriptionPriceFrm.controls.isActive.setValue(!1)},t.prototype.CancelAdd=function(){this.Mode="Search",this.topPos="2000px",this.divClass="col-sm-12",this.insertSubscriptionPriceFrm.reset(),this.alerts="",this.SearchSubscriptionPrices(this.selectedEditionId)},t}();Rt=Ft([Object(n.Component)({template:r("wLgm")}),At("design:paramtypes",["function"==typeof(Et=void 0!==It&&It)&&Et||Object,"function"==typeof(Nt=void 0!==g.a&&g.a)&&Nt||Object,"function"==typeof(Ot=void 0!==o.a&&o.a)&&Ot||Object,"function"==typeof(jt=void 0!==ht.a&&ht.a)&&jt||Object])],Rt);var Et,Nt,Ot,jt,Tt=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},Mt=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_t=function(){function t(t){this.userservice=t}return t.prototype.ngOnInit=function(){},t}();_t=Tt([Object(n.Component)({selector:"app-component",template:r("efyd"),providers:[h,pt,It]}),Mt("design:paramtypes",["function"==typeof(kt=void 0!==h&&h)&&kt||Object])],_t);var kt,Lt=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},Bt=[{path:"updateuserprofile",component:D},{path:"changeuserpassword",component:j},{path:"changeuserid",component:V},{path:"users",component:Z},{path:"managediscountcode",component:gt},{path:"subscriptionprice",component:Rt},{path:"adduser",component:nt}],Vt=function(){function t(){}return t}();Vt=Lt([Object(n.NgModule)({imports:[g.b.forRoot(Bt,{enableTracing:!0})],exports:[g.b]})],Vt);var qt=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},Gt=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},zt=function(){function t(t){this._defaults={type:"reset",message:"Do you want to cancel your changes?",cancelText:"Cancel",okText:"OK"},this.alertshow=!1,t.activate=this.activate.bind(this)}return t.prototype._setLabels=function(t,e){void 0===t&&(t=this._defaults.message),void 0===e&&(e=this._defaults.type),this.type=e,this.message=t,this.okText=this._defaults.okText,this.cancelText=this._defaults.cancelText},t.prototype.activate=function(t,e){var r=this;return void 0===t&&(t=this._defaults.message),void 0===e&&(e=this._defaults.type),this._setLabels(t,e),new Promise(function(t){r._show(t)})},t.prototype._show=function(t){var e=this;document.onkeyup=null;var r=function(e){return t(1)},n=function(e){return t(2)},s=function(e){return t(3)},o=function(e){return t(1)},i=function(e){return t(2)},a=function(e){return t(6)},l=function(e){return t(7)},c=function(e){return t(5)},d=function(e){return t(8)};if(this._cancelButton&&this._okButton)return this._cancelButton.onclick=function(t){t.preventDefault(),s()||e._hideDialog()},this._okButton.onclick=function(t){t.preventDefault(),r()||e._hideDialog()},this._noButton.onclick=function(t){t.preventDefault(),n()||e._hideDialog()},this._noResetButton.onclick=function(t){t.preventDefault(),i()||e._hideDialog()},this._yesResetButton.onclick=function(t){t.preventDefault(),o()||e._hideDialog()},this._noConfirmButton.onclick=function(t){t.preventDefault(),l()||e._hideDialog()},this._yesConfirmButton.onclick=function(t){t.preventDefault(),a()||e._hideDialog()},this._okAlert.onclick=function(t){t.preventDefault(),c()||e._hideDialog()},this._closeAlert.onclick=function(t){t.preventDefault(),d()||e._hideDialog()},"close"==this.type.toString()?void this.closeModal.open("sm"):"reset"==this.type.toString()?void this.resetModal.open("sm"):"confirmModel"==this.type.toString()?void this.confirmModel.open("sm"):"alertMsg"==this.type.toString()?(clearTimeout(this.timer),void(this.timer=setTimeout(function(){e.alertMessageModal.open("sm")},500))):"alertMsg2"==this.type.toString()?void this.alertMessageModal.open("sm"):void(document.onkeyup=function(t){if(27==t.which)return e._hideDialog(),s()})},t.prototype._hideDialog=function(){return"close"==this.type.toString()?void this.closeModal.close():"reset"==this.type.toString()?void this.resetModal.close():"confirmModel"==this.type.toString()?void this.confirmModel.close():"alertMsg"==this.type.toString()?void this.alertMessageModal.close():"alertMsg2"==this.type.toString()?void this.alertMessageModal.close():void 0},t.prototype.ngOnInit=function(){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")},t}();qt([Object(n.ViewChild)("closeModal"),Gt("design:type","function"==typeof(Ht=void 0!==d.ModalComponent&&d.ModalComponent)&&Ht||Object)],zt.prototype,"closeModal",void 0),qt([Object(n.ViewChild)("confirmModel"),Gt("design:type","function"==typeof(Wt=void 0!==d.ModalComponent&&d.ModalComponent)&&Wt||Object)],zt.prototype,"confirmModel",void 0),qt([Object(n.ViewChild)("resetModal"),Gt("design:type","function"==typeof(Yt=void 0!==d.ModalComponent&&d.ModalComponent)&&Yt||Object)],zt.prototype,"resetModal",void 0),qt([Object(n.ViewChild)("alertMessageModal"),Gt("design:type","function"==typeof(Jt=void 0!==d.ModalComponent&&d.ModalComponent)&&Jt||Object)],zt.prototype,"alertMessageModal",void 0),zt=qt([Object(n.Component)({selector:"modal-confirm",template:r("3cDZ")}),Gt("design:paramtypes",["function"==typeof(Zt=void 0!==C&&C)&&Zt||Object])],zt);var Ht,Wt,Yt,Jt,Zt,Qt=r("bqRb"),$t=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},Kt=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Xt=function(){function t(t){this.elRef=t,this.update=new n.EventEmitter}return t.prototype.ngOnChanges=function(t){this._lastViewModel!==t.model.currentValue&&(this._lastViewModel=this.model,this._refreshView())},t.prototype.onBlur=function(){if("checkbox"==this.elRef.nativeElement.type||"radio"==this.elRef.nativeElement.type){var t=this.elRef.nativeElement.checked;this._lastViewModel=t,this.update.emit(t)}else{var t=this.elRef.nativeElement.innerText;this._lastViewModel=t,this.update.emit(t)}},t.prototype._refreshView=function(){"checkbox"==this.elRef.nativeElement.type||"radio"==this.elRef.nativeElement.type?(this.elRef.nativeElement.value=this.model,this.elRef.nativeElement.checked=this.model):this.elRef.nativeElement.innerText=this.model},t}();$t([Object(n.Input)("contenteditableModel"),Kt("design:type",Object)],Xt.prototype,"model",void 0),$t([Object(n.Output)("contenteditableModelChange"),Kt("design:type",Object)],Xt.prototype,"update",void 0),$t([Object(n.HostListener)("blur"),Kt("design:type",Function),Kt("design:paramtypes",[]),Kt("design:returntype",void 0)],Xt.prototype,"onBlur",null),Xt=$t([Object(n.Directive)({selector:"[contenteditableModel]"}),Kt("design:paramtypes",["function"==typeof(te=void 0!==n.ElementRef&&n.ElementRef)&&te||Object])],Xt);var te,ee=this&&this.__decorate||function(t,e,r,n){var s,o=arguments.length,i=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},re=function(){function t(){}return t}();re=ee([Object(n.NgModule)({declarations:[j,V,D,Z,gt,nt,_t,zt,Rt,gt,Xt],imports:[i.a,Vt,a.a,o.b,o.e,c.c,d.Ng2Bs3ModalModule,Qt.a.forRoot(),Qt.b.forRoot()],providers:[p,C,ht.a,{provide:l.APP_BASE_HREF,useValue:"/Admin-UI"}],bootstrap:[_t]})],re),{production:!0}.production&&Object(n.enableProdMode)(),Object(s.a)().bootstrapModule(re)},efyd:function(t,e){t.exports='\r\n\x3c!-- navigation --\x3e\r\n\r\n\r\n\x3c!-- navigation --\x3e\r\n
\r\n
\r\n \r\n \r\n \r\n \x3c!-- main-heading --\x3e\r\n \x3c!--
\r\n

Update Profile

\r\n
--\x3e\r\n \x3c!-- main-heading --\x3e\r\n \x3c!-- container --\x3e\r\n \x3c!--
\r\n
--\x3e\r\n \x3c!-- html of other components --\x3e\r\n\r\n\r\n \x3c!--
\r\n
--\x3e\r\n \x3c!-- container --\x3e\r\n
\r\n'},gFIY:function(t,e){function r(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}r.keys=function(){return[]},r.resolve=r,t.exports=r,r.id="gFIY"},lPoh:function(t,e){t.exports='
\r\n
\r\n

List User

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
 
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n
First NameLast NameUser IDPasswordEmail IDUser TypeCreated DateLast Modified DateAccount NumberProduct EditionStatus
{{UserEntity.FirstName}}{{UserEntity.LastName}}{{UserEntity.LoginId}}{{UserEntity.Password}}{{UserEntity.EmailId}}{{UserEntity.UserTypeTitle}}{{UserEntity.CreationDate| date: \'MM/dd/yyyy\'}}{{UserEntity.ModifiedDate | date: \'MM/dd/yyyy\'}}{{UserEntity.AccountNumber}}{{UserEntity.EditionType}}\r\n {{UserEntity.UserStatus}}\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n'},wLgm:function(t,e){t.exports='
\r\n \x3c!-- main-heading --\x3e\r\n
\r\n

Subscription Price

\r\n
\r\n \x3c!-- main-heading --\x3e\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \x3c!-- container --\x3e\r\n
\r\n\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \x3c!--tab-content--\x3e\r\n
\r\n \x3c!-- Nav tabs --\x3e\r\n \r\n\r\n \x3c!-- Tab panes --\x3e\r\n
\r\n \x3c!--first-table--\x3e\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
SelectSubscription TypeDuration(in Month)PriceActive
\r\n \r\n \r\n \r\n {{item.Title}}{{item.Duration}}{{item.Price | number : \'1.2\'}}\r\n \r\n
\r\n
\r\n
\r\n \x3c!--first-table--\x3e\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \x3c!--tab-content--\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
Subscription title is required
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
Subscription price is required
\r\n
Subscription price must be numeric
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
Subscription duration is required
\r\n
Subscription duration must be numeric
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \x3c!-- form --\x3e\r\n \r\n \x3c!--modal--\x3e\r\n \r\n \x3c!-- /.modal --\x3e\r\n \x3c!--modal--\x3e\r\n \x3c!--modal--\x3e\r\n \r\n \x3c!-- /.modal --\x3e\r\n \x3c!--modal--\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\x3c!-- container --\x3e\r\n
'},xbvx:function(t,e){t.exports='
\r\n \x3c!-- main-heading --\x3e\r\n
\r\n

Update Profile

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
**To update your profile fill all the text fields carefully.
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
First name is required
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
Last name is required
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
Email id is required
\r\n\r\n
\r\n Please enter the correct email.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \x3c!--cancel-button--\x3e\r\n\r\n \x3c!-- /.modal --\x3e\r\n \x3c!--cancel-button--\x3e\r\n \r\n
\r\n\r\n
\r\n
\r\n \x3c!-- form --\x3e\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n'}},[0]); \ No newline at end of file diff --git a/400-SOURCECODE/Admin/dist/polyfills.35726d60cdf25fecc5f1.bundle.js b/400-SOURCECODE/Admin/dist/polyfills.35726d60cdf25fecc5f1.bundle.js new file mode 100644 index 0000000..641e5e3 --- /dev/null +++ b/400-SOURCECODE/Admin/dist/polyfills.35726d60cdf25fecc5f1.bundle.js @@ -0,0 +1 @@ +webpackJsonp([0],{"+GRi":function(e,t,n){var r=n("Wo2w"),o=n("Wy9r");e.exports=function(e){return r(o(e))}},"+Q6C":function(e,t,n){var r=n("CDXM"),o=n("6De9").f,i=n("+pQw");r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},"+iEx":function(e,t,n){n("fHxy"),n("5GJ3"),n("X0O/"),n("HCkn"),n("ncNB"),n("soMw"),n("8sYH"),n("IJ3P"),n("t6ta"),e.exports=n("b4gG").Reflect},"+pQw":function(e,t,n){var r=n("JXkd");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"/XRd":function(e,t,n){var r=n("tose"),o=n("CDXM"),i=n("+pQw"),a=n("A1WY");o(o.S+o.F*n("umMR")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},"/wY1":function(e,t,n){n("rMMT"),n("dlwK"),n("/XRd"),n("+Q6C"),n("dBNB"),n("7Fno"),n("gZpL"),n("dSHT"),n("d+61"),n("V2Dj"),n("wJYt"),n("gdNQ"),n("VsLy"),n("wLW2"),e.exports=n("b4gG").Reflect},1:function(e,t,n){e.exports=n("TU+8")},"2Fuj":function(e,t,n){var r=n("R5c1"),o=n("a/Sk");e.exports=Object.keys||function(e){return r(e,o)}},"3LDD":function(e,t,n){"use strict";var r=n("tose").f,o=n("51pc"),i=n("pBmS"),a=n("pa70"),c=n("Lcie"),u=n("p/bR"),s=n("WsSm"),l=n("w/BM"),f=n("KpXt"),p=n("V+0c"),h=n("xI8H").fastKey,v=n("Y5fy"),d=p?"_s":"size",y=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,s){var l=e(function(e,r){c(e,l,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[d]=0,void 0!=r&&u(r,n,e[s],e)});return i(l.prototype,{clear:function(){for(var e=v(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[d]=0},delete:function(e){var n=v(this,t),r=y(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[d]--}return!!r},forEach:function(e){v(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!y(v(this,t),e)}}),p&&r(l.prototype,"size",{get:function(){return v(this,t)[d]}}),l},def:function(e,t,n){var r,o,i=y(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[d]++,"F"!==o&&(e._i[o]=i)),e},getEntry:y,setStrong:function(e,t,n){s(e,t,function(e,n){this._t=v(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?l(0,n.k):"values"==t?l(0,n.v):l(0,[n.k,n.v]):(e._t=void 0,l(1))},n?"entries":"values",!n,!0),f(t)}}},"3r0D":function(e,t,n){var r=n("Iclu")("wks"),o=n("c09d"),i=n("ptrv").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},"51pc":function(e,t,n){var r=n("+pQw"),o=n("ewdp"),i=n("a/Sk"),a=n("yIWP")("IE_PROTO"),c=function(){},u=function(){var e,t=n("BQSv")("iframe"),r=i.length;for(t.style.display="none",n("Ed9o").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(" - - - - - - - - - - - - diff --git a/400-SOURCECODE/Admin/src/main.ts b/400-SOURCECODE/Admin/src/main.ts deleted file mode 100644 index a9ca1ca..0000000 --- a/400-SOURCECODE/Admin/src/main.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { enableProdMode } from '@angular/core'; -import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - -import { AppModule } from './app/app.module'; -import { environment } from './environments/environment'; - -if (environment.production) { - enableProdMode(); -} - -platformBrowserDynamic().bootstrapModule(AppModule); diff --git a/400-SOURCECODE/Admin/src/polyfills.ts b/400-SOURCECODE/Admin/src/polyfills.ts deleted file mode 100644 index 7831e97..0000000 --- a/400-SOURCECODE/Admin/src/polyfills.ts +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 - */ - -/*************************************************************************************************** - * 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. **/ -import 'core-js/es6/reflect'; -import '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. - */ -import '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'; diff --git a/400-SOURCECODE/Admin/src/styles.css b/400-SOURCECODE/Admin/src/styles.css deleted file mode 100644 index 90d4ee0..0000000 --- a/400-SOURCECODE/Admin/src/styles.css +++ /dev/null @@ -1 +0,0 @@ -/* You can add global styles to this file, and also import other style files */ diff --git a/400-SOURCECODE/Admin/src/test.ts b/400-SOURCECODE/Admin/src/test.ts deleted file mode 100644 index cd612ee..0000000 --- a/400-SOURCECODE/Admin/src/test.ts +++ /dev/null @@ -1,32 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js/dist/long-stack-trace-zone'; -import 'zone.js/dist/proxy.js'; -import 'zone.js/dist/sync-test'; -import 'zone.js/dist/jasmine-patch'; -import 'zone.js/dist/async-test'; -import 'zone.js/dist/fake-async-test'; -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. -declare const __karma__: any; -declare const require: any; - -// Prevent Karma from running prematurely. -__karma__.loaded = function () {}; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); -// Then we find all the tests. -const context = require.context('./', true, /\.spec\.ts$/); -// And load the modules. -context.keys().map(context); -// Finally, start Karma to run the tests. -__karma__.start(); diff --git a/400-SOURCECODE/Admin/src/tsconfig.app.json b/400-SOURCECODE/Admin/src/tsconfig.app.json deleted file mode 100644 index 39ba8db..0000000 --- a/400-SOURCECODE/Admin/src/tsconfig.app.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/app", - "baseUrl": "./", - "module": "es2015", - "types": [] - }, - "exclude": [ - "test.ts", - "**/*.spec.ts" - ] -} diff --git a/400-SOURCECODE/Admin/src/tsconfig.spec.json b/400-SOURCECODE/Admin/src/tsconfig.spec.json deleted file mode 100644 index 63d89ff..0000000 --- a/400-SOURCECODE/Admin/src/tsconfig.spec.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/spec", - "baseUrl": "./", - "module": "commonjs", - "target": "es5", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "test.ts" - ], - "include": [ - "**/*.spec.ts", - "**/*.d.ts" - ] -} diff --git a/400-SOURCECODE/Admin/src/typings.d.ts b/400-SOURCECODE/Admin/src/typings.d.ts deleted file mode 100644 index ef5c7bd..0000000 --- a/400-SOURCECODE/Admin/src/typings.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* SystemJS module definition */ -declare var module: NodeModule; -interface NodeModule { - id: string; -} diff --git a/400-SOURCECODE/Admin/tsconfig.json b/400-SOURCECODE/Admin/tsconfig.json deleted file mode 100644 index a6c016b..0000000 --- a/400-SOURCECODE/Admin/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "outDir": "./dist/out-tsc", - "sourceMap": true, - "declaration": false, - "moduleResolution": "node", - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "target": "es5", - "typeRoots": [ - "node_modules/@types" - ], - "lib": [ - "es2017", - "dom" - ] - } -} diff --git a/400-SOURCECODE/Admin/tslint.json b/400-SOURCECODE/Admin/tslint.json deleted file mode 100644 index c24dc29..0000000 --- a/400-SOURCECODE/Admin/tslint.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "rulesDirectory": [ - "node_modules/codelyzer" - ], - "rules": { - "arrow-return-shorthand": true, - "callable-types": true, - "class-name": true, - "comment-format": [ - true, - "check-space" - ], - "curly": true, - "eofline": true, - "forin": true, - "import-blacklist": [ - true, - "rxjs", - "rxjs/Rx" - ], - "import-spacing": true, - "indent": [ - true, - "spaces" - ], - "interface-over-type-literal": true, - "label-position": true, - "max-line-length": [ - true, - 140 - ], - "member-access": false, - "member-ordering": [ - true, - { - "order": [ - "static-field", - "instance-field", - "static-method", - "instance-method" - ] - } - ], - "no-arg": true, - "no-bitwise": true, - "no-console": [ - true, - "debug", - "info", - "time", - "timeEnd", - "trace" - ], - "no-construct": true, - "no-debugger": true, - "no-duplicate-super": true, - "no-empty": false, - "no-empty-interface": true, - "no-eval": true, - "no-inferrable-types": [ - true, - "ignore-params" - ], - "no-misused-new": true, - "no-non-null-assertion": true, - "no-shadowed-variable": true, - "no-string-literal": false, - "no-string-throw": true, - "no-switch-case-fall-through": true, - "no-trailing-whitespace": true, - "no-unnecessary-initializer": true, - "no-unused-expression": true, - "no-use-before-declare": true, - "no-var-keyword": true, - "object-literal-sort-keys": false, - "one-line": [ - true, - "check-open-brace", - "check-catch", - "check-else", - "check-whitespace" - ], - "prefer-const": true, - "quotemark": [ - true, - "single" - ], - "radix": true, - "semicolon": [ - true, - "always" - ], - "triple-equals": [ - true, - "allow-null-check" - ], - "typedef-whitespace": [ - true, - { - "call-signature": "nospace", - "index-signature": "nospace", - "parameter": "nospace", - "property-declaration": "nospace", - "variable-declaration": "nospace" - } - ], - "typeof-compare": true, - "unified-signatures": true, - "variable-name": false, - "whitespace": [ - true, - "check-branch", - "check-decl", - "check-operator", - "check-separator", - "check-type" - ], - "directive-selector": [ - true, - "attribute", - "app", - "camelCase" - ], - "component-selector": [ - true, - "element", - "app", - "kebab-case" - ], - "use-input-property-decorator": true, - "use-output-property-decorator": true, - "use-host-property-decorator": true, - "no-input-rename": true, - "no-output-rename": true, - "use-life-cycle-interface": true, - "use-pipe-transform-interface": true, - "component-class-suffix": true, - "directive-class-suffix": true, - "invoke-injectable": true - } -} diff --git a/400-SOURCECODE/Admin/wwwroot/HTML/UpdateProfile/updateuserprofile.component.html b/400-SOURCECODE/Admin/wwwroot/HTML/UpdateProfile/updateuserprofile.component.html deleted file mode 100644 index 3d562ac..0000000 --- a/400-SOURCECODE/Admin/wwwroot/HTML/UpdateProfile/updateuserprofile.component.html +++ /dev/null @@ -1,61 +0,0 @@ -
-
-
-
-
**To update your profile fill all the text fields carefully.
-
- -
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - - -
- -
-
- -
-
-
-
-