diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..ebabf99 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +nvm use 8.12.0 +time node --max_old_space_size=99999999 node_modules/@angular/cli/bin/ng build --prod --sourcemaps \ No newline at end of file diff --git a/build2.sh b/build2.sh new file mode 100644 index 0000000..f6ed9fb --- /dev/null +++ b/build2.sh @@ -0,0 +1,2 @@ +nvm use 8.12.0 +time node --max_old_space_size=99999 node_modules/@angular/cli/bin/ng build --prod \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..4ccbcc9 --- /dev/null +++ b/run.sh @@ -0,0 +1,2211 @@ +nvm use 8.12.0 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 +node_modules/@angular/cli/bin/ng serve --port 5200 \ No newline at end of file diff --git a/src/README.md b/src/README.md index 91bc915..e69de29 100644 --- a/src/README.md +++ b/src/README.md @@ -1,45 +0,0 @@ -# fSelect -A jQuery select box replacement library ([live demo](https://facetwp.com/wp-content/plugins/facetwp/assets/vendor/fSelect/test.html)) - - - -### Usage - -```javascript -$('.your-select').fSelect(); -``` - -### Available options - -```js -$('.your-select').fSelect({ - placeholder: 'Select some options', - numDisplayed: 3, - overflowText: '{n} selected', - noResultsText: 'No results found', - searchText: 'Search', - showSearch: true -}); -``` - -* **placeholder** (str) - the default placeholder text -* **numDisplayed** (int) - the number of values to show before switching to the `overflowText` -* **overflowText** (str) - the text to show after exceeding the `numDisplayed` limit -* **noResultsText** (str) - the text to show if no choices exist (or an empty string) -* **searchText** (str) - the search box placeholder text -* **showSearch** (bool) - show the search box? - -### Methods - -```js -$('.your-select').fSelect('reload'); -$('.your-select').fSelect('destroy'); -``` - -### Single vs. multi-select - -Add the `multiple` attribute to your ` -``` diff --git a/src/app/account-detail/account-detail.component.html b/src/app/account-detail/account-detail.component.html index 363e3d5..785dfb1 100644 --- a/src/app/account-detail/account-detail.component.html +++ b/src/app/account-detail/account-detail.component.html @@ -1,135 +1,135 @@ -
-
-
{{data_descip}}
-
- - + - - -
- + +
-
+ +
- -
-
- -
-
{{'General Setting' | translate}}
- - + + + + +
+ + + + + + + + + +
+ + +
+ + +
+
+ +
+
{{'General Setting' | translate}}
+ + -
- -
-
-
-
- - -
-
+
+ +
+
+
+
+ + +
+
- -
-
+ +
+
- - {{text}} -
-
- -
+ + {{text}} +
+
+ +
- - - {{text2}} + + + {{text2}}
- - + +
-
- - - - - - {{fuel}} - - +
+ + + + + + {{fuel}} + +
-
- + -
+
- - + +
- +
- +
- +
-
+
-
- - - - {{hours.name}} - - - -
-
-
- - +
+ + + + {{hours.name}} + + + +
+
+
+ + +
-
-
-
- - +
+
+ + +
-
-
-
- - +
+
+ + +
-
-
-
- - +
+
+ + +
-
-
-
- - +
+
+ + +
-
- -
-
- -
-
{{'Trip Setting' | translate}}
-
- -
-
-
-
- - - - - - {{trip.view}} - - - -
- +
+
+ +
+
{{'Trip Setting' | translate}}
+
+ +
+
+
+
+ + + + + + {{trip.view}} + + + +
+ -
- -
- - -
-
- -
-
{{'Language Setting' | translate}}
-
- -
-
-
-
- - - - - - {{language.view}} - - - -
- +
+
+ +
+
{{'Language Setting' | translate}}
+
+ +
+
+
+
+ + + + + + {{language.view}} + + + +
+ -
-
+
- -
- - -
-
- -
-
{{'Currency Setting' | translate}}
-
- -
-
-
-
- - - - - - {{ option.country }} - - - -
-
- -
-
-
-
-
-
-
- -
- - -
-
- -
-
{{'API Setting' | translate}}
-
- -
-
-
-
- -
- - -
-
-
-
-
-
-
-
-
- + +
+ + +
+
+ +
+
{{'Currency Setting' | translate}}
+
+ +
+
+
+
+ + + + + + {{ option.country }} + + + +
+
+ +
+
+
+
+
+
+
+ +
+ + +
+
+ +
+
{{'API Setting' | translate}}
+
+ +
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ +
+
+
{{'Notification Settings' | translate}}
-
- +
+
@@ -446,23 +530,23 @@
-
+
-
+
-
+
-
+
-
+
{{'Priority' | translate}}
@@ -477,26 +561,43 @@ {{'Ignition Notification' | translate}}
- +
- +
- +
- - + + -
+

@@ -550,30 +668,50 @@ {{'Power Notification' | translate}}
- +
- +
- +
-
- - - -
+

@@ -584,32 +722,50 @@ {{'Fuel Notification' | translate}}
- +
- +
- +
-
- - - -
+

@@ -620,32 +776,49 @@ {{'Geo-Fence Notification' | translate}}
- +
- +
- +
-
- - - -
+

@@ -656,35 +829,53 @@ {{'Overspeed Notification' | translate}}
- +
- +
- +
-
- - - -
+

- +
@@ -693,36 +884,54 @@ {{'Route Notification' | translate}}
- +
- - - + + +
- - - + + +
-
- - - -
+

@@ -733,34 +942,51 @@ {{'AC Notification' | translate}}
- +
- - + +
- - + +
-
- - - -
+

@@ -771,34 +997,52 @@ {{'Max-Stoppage Notification' | translate}}
- +
- - + +
- - + +
-
- - - -
+

@@ -809,37 +1053,54 @@ {{'SOS Notification' | translate}}
- +
- - + +
- - + +
-
- - - -
+
- - + +
@@ -850,28 +1111,34 @@
-
-
- - + [(ngModel)]="data.vibration.email_status" + (change)=" tab('vibration','email_status')">
- + [(ngModel)]="data.vibration.sms_status" + (change)=" tab('vibration','sms_status')"> + +
+
+ +
{{'High' | translate}} + style="margin-left: 20px;color: white;width: 70px;height: 17px;cursor:pointer">{{'High' + | translate}} {{'Medium' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Medium' + | translate}} {{'Low' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Low' + | translate}}
@@ -892,7 +1159,7 @@
- +
@@ -903,28 +1170,34 @@
+ [(ngModel)]="data.lowBattery.email_status" + (change)=" tab('lowBattery','email_status')">
- + [(ngModel)]="data.lowBattery.sms_status" + (change)=" tab('lowBattery','sms_status')"> +
- + [(ngModel)]="data.lowBattery.notif_status" + (change)=" tab('lowBattery','notif_status')"> +
{{'High' | translate}} + style="margin-left: 20px;color: white;width: 70px;height: 17px;cursor:pointer">{{'High' + | translate}} {{'Medium' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Medium' + | translate}} {{'Low' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Low' + | translate}}
@@ -958,28 +1231,34 @@
+ [(ngModel)]="data.accAlarm.email_status" + (change)=" tab('accAlarm','email_status')">
- + [(ngModel)]="data.accAlarm.sms_status" + (change)=" tab('accAlarm','sms_status')"> +
- + [(ngModel)]="data.accAlarm.notif_status" + (change)=" tab('accAlarm','notif_status')"> +
{{'High' | translate}} + style="margin-left: 20px;color: white;width: 70px;height: 17px;cursor:pointer">{{'High' + | translate}} {{'Medium' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Medium' + | translate}} {{'Low' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Low' + | translate}}
@@ -1013,28 +1292,34 @@
+ [(ngModel)]="data.toll.email_status" + (change)=" tab('toll','email_status')">
- + [(ngModel)]="data.toll.sms_status" + (change)=" tab('toll','sms_status')"> +
- + [(ngModel)]="data.toll.notif_status" + (change)=" tab('toll','notif_status')"> +
{{'High' | translate}} + style="margin-left: 20px;color: white;width: 70px;height: 17px;cursor:pointer">{{'High' + | translate}} {{'Medium' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Medium' + | translate}} {{'Low' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Low' + | translate}}
@@ -1066,28 +1351,34 @@
+ [(ngModel)]="data.harshBreak.email_status" + (change)=" tab('harshBreak','email_status')">
- + [(ngModel)]="data.harshBreak.sms_status" + (change)=" tab('harshBreak','sms_status')"> +
- + [(ngModel)]="data.harshBreak.notif_status" + (change)=" tab('harshBreak','notif_status')"> +
{{'High' | translate}} + style="margin-left: 20px;color: white;width: 70px;height: 17px;cursor:pointer">{{'High' + | translate}} {{'Medium' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Medium' + | translate}} {{'Low' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Low' + | translate}}
@@ -1119,28 +1410,34 @@
+ [(ngModel)]="data.harshAcceleration.email_status" + (change)=" tab('harshAcceleration','email_status')">
- + [(ngModel)]="data.harshAcceleration.sms_status" + (change)=" tab('harshAcceleration','sms_status')"> +
- + [(ngModel)]="data.harshAcceleration.notif_status" + (change)=" tab('harshAcceleration','notif_status')"> +
{{'High' | translate}} + style="margin-left: 20px;color: white;width: 70px;height: 17px;cursor:pointer">{{'High' + | translate}} {{'Medium' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Medium' + | translate}} {{'Low' | translate}} + style="margin-left: 10px;cursor:pointer;color: white;width: 70px;height: 17px;">{{'Low' + | translate}}
@@ -1163,173 +1460,184 @@

-
-
- -
-
- {{'Over Stopped Notification' | translate}} -
-
- - -
-
- - - -
-
- - - -
- -
-
- - - -
-
- +
+
+ +
+
+ +
+
+ {{'Over Idle Notification' | translate}} +
+
+ + +
+
+ + + +
+
+ + + +
+ +
-
- -
-
- {{'Over Idle Notification' | translate}} -
-
- - -
-
- - - -
-
- - - -
- -
-
- - - -
-
+
+
- -
+ +
+
+
+ +
+
+ {{'Parking Notification' | translate}} +
+
+ + +
+
+ + + +
+
+ + + +
+ +
-
- -
-
- {{'Parking Notification' | translate}} -
-
- - -
-
- - - -
-
- - - -
- -
-
- - - -
-
+
+
@@ -1343,7 +1651,7 @@
-
+
@@ -1353,65 +1661,112 @@
{{'TRANSACTION DETAIL' | translate}}
- +
-
+
- - + +
- - + +
- +
-
-
-
- +
+
+
+
- - - - - - - - - + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + +
{{'Sold By' | translate}}{{'Purchased By' | translate}}{{'Allocation Date' | translate}}{{'Points' | translate}}{{'Rate' | translate}}{{'Total Amount' | translate}}{{'Payment Mode' | translate}}{{'Credit Date' | translate}}{{'Remarks' | translate}} + {{'Sold By' | translate}} + {{'Purchased By' | translate}} + {{'Allocation Date' | translate}} + {{'Points' | translate}} + {{'Rate' | translate}} + {{'Total Amount' | translate}} + {{'Payment Mode' | translate}} + {{'Credit Date' | translate}} + {{'Remarks' | translate}}
{{point.by.first_name?point.by.first_name:''}} {{point.by.last_name?point.by.last_name:''}}{{point.to.first_name?point.to.first_name:''}} {{point.to.last_name?point.to.last_name:''}}{{point.created_date|date:'dd/MM/yyyy , h:mm:ss a'}}{{point.points}}{{point.rate}}{{point.totalAmount}}{{point.Payment_type}}{{point.credit_date?(point.credit_date|date:'dd/MM/yyyy , h:mm:ss a'):''}}{{point.remarks?point.remarks:''}}
+ {{point.by.first_name?point.by.first_name:''}} + {{point.by.last_name?point.by.last_name:''}} + {{point.to.first_name?point.to.first_name:''}} + {{point.to.last_name?point.to.last_name:''}} + {{point.created_date|date:'dd/MM/yyyy , h:mm:ss a'}} + {{point.points}}{{point.rate}} + {{point.totalAmount}} + {{point.Payment_type}} + {{point.credit_date?(point.credit_date|date:'dd/MM/yyyy , h:mm:ss a'):''}} + {{point.remarks?point.remarks:''}}
-
-
-
+
+
+
@@ -1419,168 +1774,175 @@
-
-
- -
-
{{'Announcement' | translate}}
-
- -
-
-
-
- -
- - +
+
+ +
+
{{'Announcement' | translate}}
+
+ +
+
+
+
+ +
+ + +
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- -
-
{{'Support And Services' | translate}}
+
+
+
+ +
+
{{'Support And Services' | translate}}
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
- -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
+
-
- -
+
-
-
-
-
-
+
-
-
- - - -
-
-
-
{{'Recharge Plans' | translate}}
- -
-
-
-
- - - - + + +
@@ -1589,7 +1951,7 @@ - +
@@ -1620,5 +1982,4 @@
-
--> - +
--> \ No newline at end of file diff --git a/src/app/account-detail/account-detail.component.ts b/src/app/account-detail/account-detail.component.ts index 16d7680..f2dd676 100644 --- a/src/app/account-detail/account-detail.component.ts +++ b/src/app/account-detail/account-detail.component.ts @@ -1,90 +1,116 @@ -import { Component, OnInit, Output, EventEmitter, ViewChild } from '@angular/core'; -import { Router } from '@angular/router'; -import { ContactService } from '../contact.service'; -import {Contact} from '../contact'; -import * as moment from 'moment-timezone'; -import { FlashMessagesService } from 'angular2-flash-messages'; -import { MdDialog } from '@angular/material'; -import { NotificationSettingComponent } from '../notification-setting/notification-setting.component'; -import { TranslateService } from 'ng2-translate'; -import { AllMenusComponent } from '../all-menus/all-menus.component'; -import { BsDatepickerConfig } from 'ngx-bootstrap'; -import { AddPlanComponent } from './add-plan/add-plan.component'; +import { + Component, + OnInit, + Output, + EventEmitter, + ViewChild, +} from "@angular/core"; +import { Router } from "@angular/router"; +import { ContactService } from "../contact.service"; +import { Contact } from "../contact"; +import * as moment from "moment-timezone"; +import { FlashMessagesService } from "angular2-flash-messages"; +import { MdDialog } from "@angular/material"; +import { NotificationSettingComponent } from "../notification-setting/notification-setting.component"; +import { TranslateService } from "ng2-translate"; +import { AllMenusComponent } from "../all-menus/all-menus.component"; +import { BsDatepickerConfig } from "ngx-bootstrap"; +import { AddPlanComponent } from "./add-plan/add-plan.component"; declare var swal: any; -declare var $:any; +declare var $: any; @Component({ - selector: 'app-account-detail', - templateUrl: './account-detail.component.html', - styleUrls: ['./account-detail.component.scss'] + selector: "app-account-detail", + templateUrl: "./account-detail.component.html", + styleUrls: ["./account-detail.component.scss"], }) export class AccountDetailComponent implements OnInit { - @ViewChild(AllMenusComponent ) languageChangeDetection: AllMenusComponent ; + @ViewChild(AllMenusComponent) languageChangeDetection: AllMenusComponent; data_descip: string; - phone_number:'numer'; + phone_number: "numer"; final_counter: number; text3: string; - driverManagement:boolean=false; - paymentGateway:boolean=false + driverManagement: boolean = false; + paymentGateway: boolean = false; // relay_timer:boolean=false; - announcement:any; - renewalCharges; - show:boolean=false; - service2 - service1 - support1 + announcement: any; + renewalCharges; + show: boolean = false; + service2; + service1; + support1; support2; - support3 + support3; bsConfig: Partial; - api_key:any; - available_languages = [{ - view : "English", - id : "en" - },{ - view : "Spanish", - id : "sp" - },{ - view : "Persian", - id : "fa" -},{ - view : "Arabic", - id : "ar" -},{ - view : "Portuguese", - id : "pr" -}, -{ - view : "Albanian", - id : "newLan2" -}, -{ - view : "French", - id : "fr" -}, -{ - view : "Indonesian", - id : "bhasa_web" -}]; - fuelunitArr = ['PERCENTAGE', 'LITRE']; - workingHoursArray=[{name:'Digital input1',id:1},{name:'Digital input2',id:2}]; - workingHours=1; - fuelunit = 'LITRE'; - selectedlanguage='en'; - GET_notif:any; - GET_announcememt:any; - showAnnouncementMenu:boolean=false; + api_key: any; + secondary_emails: any = { + flag: false, + data: [], + }; + available_languages = [ + { + view: "English", + id: "en", + }, + { + view: "Spanish", + id: "sp", + }, + { + view: "Persian", + id: "fa", + }, + { + view: "Arabic", + id: "ar", + }, + { + view: "Portuguese", + id: "pr", + }, + { + view: "Albanian", + id: "newLan2", + }, + { + view: "French", + id: "fr", + }, + { + view: "Indonesian", + id: "bhasa_web", + }, + { + view: "Pashto", + id: "pashto", + }, + ]; + fuelunitArr = ["PERCENTAGE", "LITRE"]; + workingHoursArray = [ + { name: "Digital input1", id: 1 }, + { name: "Digital input2", id: 2 }, + ]; + workingHours = 1; + fuelunit = "LITRE"; + selectedlanguage = "en"; + GET_notif: any; + GET_announcememt: any; + showAnnouncementMenu: boolean = false; symbol3: string; - timezone:any = 'Asia/Kolkata'; + timezone: any = "Asia/Kolkata"; final_counter2: number; text2: string; symbol2: string; - timezoneArray=[]; + timezoneArray = []; phone_verfi: boolean; text: string; final_counter1: number; - tripGenerationVal:any; - tripGenerationArr=[{'view': 'Automatic','value':'auto'},{'view' :'Manual', 'value':'manual'}] + tripGenerationVal: any; + tripGenerationArr = [ + { view: "Automatic", value: "auto" }, + { view: "Manual", value: "manual" }, + ]; symbol: string; email_verfi: boolean; logo: any; @@ -95,1302 +121,1351 @@ export class AccountDetailComponent implements OnInit { mb: any; useridd: any; or: any; -fs :any; -ls:any; -cond:Boolean = false; -point : any = 0; -before:any; -emailid:any; -mobile:any; -contacts: Contact[]=[]; -contact: Contact; + fs: any; + ls: any; + cond: Boolean = false; + point: any = 0; + before: any; + emailid: any; + mobile: any; + contacts: Contact[] = []; + contact: Contact; Notification: any[]; data: any = { ign: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, poi: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, power: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, fuel: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, geo: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, overspeed: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, AC: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, route: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, maxstop: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, sos: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, sms: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - vibration: { - sms_status: false, email_status: false, + vibration: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - lowBattery: { - sms_status: false, email_status: false, + lowBattery: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, accAlarm: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, toll: { - sms_status: false, email_status: false, + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - harshBreak:{ - sms_status: false, email_status: false, + harshBreak: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - harshAcceleration:{ - sms_status: false, email_status: false, + harshAcceleration: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - over_stopped:{ - sms_status: false, email_status: false, + over_stopped: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - over_idle:{ - sms_status: false, email_status: false, + over_idle: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - theft:{ - sms_status: false, email_status: false, + theft: { + sms_status: false, + email_status: false, notif_status: false, - priority: 1, emails:[], phones:[] + priority: 1, + emails: [], + phones: [], }, - }; dataOriginal: any; - fData: any = { - - }; + fData: any = {}; Load: boolean; notifType: any; - isAddEmail: boolean =false; + isAddEmail: boolean = false; emailList: any; isAddPhone: boolean = false; phonelist: any; - shownotifdiv: boolean=true; + shownotifdiv: boolean = true; allocatedPoints: any; - colorTheme = 'theme-dark-blue'; + colorTheme = "theme-dark-blue"; optiondefault: any; - labelSetting:boolean=true + labelSetting: boolean = true; - constructor(private router: Router,private contactService: ContactService,public translate: TranslateService,private _flashMessagesService: FlashMessagesService,public dialog: MdDialog) { + constructor( + private router: Router, + private contactService: ContactService, + public translate: TranslateService, + private _flashMessagesService: FlashMessagesService, + public dialog: MdDialog + ) { var script = document.createElement("script"); script.setAttribute("type", "text/javascript"); - script.setAttribute("src", "https://unpkg.com/multiple-select@1.3.1/dist/multiple-select.min.js"); + script.setAttribute( + "src", + "https://unpkg.com/multiple-select@1.3.1/dist/multiple-select.min.js" + ); document.getElementsByTagName("head")[0].appendChild(script); - this.bsConfig = Object.assign({ dateInputFormat: 'DD-MM-YYYY, h:mm:ss a' }, { containerClass: this.colorTheme }); - } - superAdmin:Boolean = false; - from_date= new Date(); + this.bsConfig = Object.assign( + { dateInputFormat: "DD-MM-YYYY, h:mm:ss a" }, + { containerClass: this.colorTheme } + ); + } + superAdmin: Boolean = false; + from_date = new Date(); to_date = new Date(); ngOnInit() { - var timeZones = moment.tz.names(); - console.log('timeZones',timeZones); + console.log("timeZones", timeZones); - var fTime = new Date().setHours(0,0,0,0); + var fTime = new Date().setHours(0, 0, 0, 0); this.from_date = new Date(fTime); - var td = new Date().setHours(23,59,59,999); + var td = new Date().setHours(23, 59, 59, 999); this.to_date = new Date(td); - - - this.timezoneArray=[]; + + this.timezoneArray = []; for (var i in timeZones) { - this.timezoneArray.push({ viewValue: "(GMT" + moment.tz(timeZones[i]).format('Z') + ")" + timeZones[i], value: timeZones[i] }); + this.timezoneArray.push({ + viewValue: + "(GMT" + moment.tz(timeZones[i]).format("Z") + ")" + timeZones[i], + value: timeZones[i], + }); } - setTimeout(() => { - $('#dbselect').multipleSelect({ - width:420, - placeholder: 'Select Timezone', + $("#dbselect").multipleSelect({ + width: 420, + placeholder: "Select Timezone", filter: true, single: true, - selectAll: false - }) + selectAll: false, + }); }, 100); + this.logo = window.localStorage["logo"]; - - this.logo=window.localStorage['logo']; - - this.superAdmin = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).isSuperAdmin; - this.fs = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).fn; - this.ls = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).ln; - this.emailid = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).email; - this.or = JSON.parse(window.atob(window.localStorage.token.split(".")[1]))._orgName; - this.useridd = JSON.parse(window.atob(window.localStorage.token.split('.')[1]))._id; - this.custtype = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).isDealer; - this.mobile = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).phn; - this.email_verfi = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).email_verfi; - this.phone_verfi = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).phone_verfi; - this.GET_notif = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).GET_notif; - this.mb = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).phn; - this.fuelunit = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).fuel_unit + this.superAdmin = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).isSuperAdmin; + this.fs = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).fn; + this.ls = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).ln; + this.emailid = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).email; + this.or = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + )._orgName; + this.useridd = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + )._id; + this.custtype = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).isDealer; + this.mobile = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).phn; + this.email_verfi = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).email_verfi; + this.phone_verfi = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).phone_verfi; + this.GET_notif = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).GET_notif; + this.mb = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).phn; + this.fuelunit = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).fuel_unit; //console.log(this.mobile) email_verfi phone_verfi // console.log(JSON.parse(window.atob(window.localStorage.token.split('.')[1])))\ - var supadm = localStorage.getItem('superadmin'); - console.log("superadmin=>",supadm); - if((supadm == 'ON')||(supadm == 'OFF')||(this.custtype)||(this.superAdmin)){ - + var supadm = localStorage.getItem("superadmin"); + console.log("superadmin=>", supadm); + if (supadm == "ON" || supadm == "OFF" || this.custtype || this.superAdmin) { this.shownotifdiv = false; } - console.log("shownotifVeh=>",this.shownotifdiv); - + console.log("shownotifVeh=>", this.shownotifdiv); + this.getAlert(); - if(this.custtype == true){ + if (this.custtype == true) { this.cust = true; - } - if(this.mb.charAt(0)=="n"){ - this.mb = ' ' + } + if (this.mb.charAt(0) == "n") { + this.mb = " "; } + if (window.localStorage["Custumer"] == "ON") { + this.logoutbut = false; + this.dealer = true; + } else { + this.logoutbut = true; + } - if( window.localStorage['Custumer'] == 'ON'){ - this.logoutbut = false - this.dealer = true - } - else{ - this.logoutbut = true - } - - this.logo=window.localStorage['logo']; - this.text=window.localStorage['text']; + this.logo = window.localStorage["logo"]; + this.text = window.localStorage["text"]; - this.getCurrencies(); - this.getLanguage(); + this.getCurrencies(); + this.getLanguage(); - this.getToken(); - this.getApiKey(); - this.getTransectionDetail(); - if(this.superAdmin) - this.getRechargePlans() - - -} - - -myaccount(){ - - - this.cond = false - this.router.navigateByUrl("accountSettings"); - - - -// let dialogRef = this.dialog.open(MyaccountComponent, { -// width: '903px', -// data: {} -// }); - -// dialogRef.afterClosed().subscribe(result => { - -// if(result == "succ"){ -// console.log("Updated") -// } - -// }); - - -} -tost1(divid){ - if(divid == "nofsls"){ - this.data_descip = "Please Enter Mandatory Fields"; - launch_toast(); + this.getToken(); + this.getApiKey(); + this.getTransectionDetail(); + if (this.superAdmin) this.getRechargePlans(); } - else if(divid == "succ"){ - this.data_descip = "Succesfully Updated"; - launch_toast(); - } - else if(divid == "currset"){ - this.data_descip = "Currency Updated"; - launch_toast(); - } else if(divid == "alertset"){ - this.data_descip = "Alert preference set"; - launch_toast(); - } + + myaccount() { + this.cond = false; + this.router.navigateByUrl("accountSettings"); + + // let dialogRef = this.dialog.open(MyaccountComponent, { + // width: '903px', + // data: {} + // }); + + // dialogRef.afterClosed().subscribe(result => { + + // if(result == "succ"){ + // console.log("Updated") + // } + + // }); + } + tost1(divid) { + if (divid == "nofsls") { + this.data_descip = "Please Enter Mandatory Fields"; + launch_toast(); + } else if (divid == "succ") { + this.data_descip = "Succesfully Updated"; + launch_toast(); + } else if (divid == "currset") { + this.data_descip = "Currency Updated"; + launch_toast(); + } else if (divid == "alertset") { + this.data_descip = "Alert preference set"; + launch_toast(); + } function launch_toast() { - // console.log(divid); - var x = document.getElementById("toast_1") + // console.log(divid); + var x = document.getElementById("toast_1"); //console.log(x); x.className = "show"; - setTimeout(function(){ x.className = x.className.replace("show", ""); }, 1500); + setTimeout(function () { + x.className = x.className.replace("show", ""); + }, 1500); + } } - } - -editAccount(){ - if(this.fs == "" || this.ls == "" || this.fs == " " || this.ls == " " ){ - this.tost1("nofsls") - } - else{ - var tzone = $('#dbselect').multipleSelect('getSelects','value'); - console.log('tzone=>',tzone[0]); - const newContact ={ - fname: this.fs, - lname: this.ls, - org: this.or, - noti: this.GET_notif, - uid:this.useridd, - show_announcement:this.GET_announcememt, - label_setting:this.labelSetting?this.labelSetting:false, - digital_input:this.workingHours, - driverManagement:this.driverManagement, - paymentGateway:this.paymentGateway - // relay_timer:this.relay_timer - } - if(this.renewalCharges!=undefined){ - newContact['renewal_charges']=this.renewalCharges - } - if(tzone != undefined){ - newContact['timezone'] = tzone[0]; - } - - if(this.fuelunit != undefined){ - newContact['fuel_unit'] = this.fuelunit; - } + editAccount() { + if (this.fs == "" || this.ls == "" || this.fs == " " || this.ls == " ") { + this.tost1("nofsls"); + } else { + var tzone = $("#dbselect").multipleSelect("getSelects", "value"); + console.log("tzone=>", tzone[0]); + const newContact = { + fname: this.fs, + lname: this.ls, + org: this.or, + noti: this.GET_notif, + uid: this.useridd, + show_announcement: this.GET_announcememt, + label_setting: this.labelSetting ? this.labelSetting : false, + digital_input: this.workingHours, + driverManagement: this.driverManagement, + paymentGateway: this.paymentGateway, + // relay_timer:this.relay_timer + }; + if (this.renewalCharges != undefined) { + newContact["renewal_charges"] = this.renewalCharges; + } + if (tzone != undefined) { + newContact["timezone"] = tzone[0]; + } - if(this.support1 != undefined){ - newContact['support1'] = this.support1; -} - if(this.support2 != undefined){ - newContact['support2'] = this.support2; -} - if(this.support3 != undefined){ - newContact['support3'] = this.support3; -} - if(this.service1 != undefined){ - newContact['service1'] = this.service1 -} - if(this.service2 != undefined){ - newContact['service2'] = this.service2 -} + if (this.fuelunit != undefined) { + newContact["fuel_unit"] = this.fuelunit; + } + if (this.support1 != undefined) { + newContact["support1"] = this.support1; + } + if (this.support2 != undefined) { + newContact["support2"] = this.support2; + } + if (this.support3 != undefined) { + newContact["support3"] = this.support3; + } + if (this.service1 != undefined) { + newContact["service1"] = this.service1; + } + if (this.service2 != undefined) { + newContact["service2"] = this.service2; + } + if (this.secondary_emails.flag == true) { + newContact["secondary_emails"] = + this.secondary_emails.data.filter(Boolean); + } - - - console.log(newContact); - this.contactService.updateuid(newContact) .subscribe(contact => { + console.log(newContact); + this.contactService.updateuid(newContact).subscribe( + (contact) => { this.contacts.push(contact); this.tost1("succ"); - window.localStorage['token'] = contact.token ; + window.localStorage["token"] = contact.token; this.getToken(); this.ngOnInit(); - } , (err: any) => { - - if(err.status == 500) { - - } - else{ - - + }, + (err: any) => { + if (err.status == 500) { + } else { + } } - } - ); + ); + } } -} - -mydealer(){ - window.localStorage['token'] = window.localStorage['Dealer_token']; - localStorage.removeItem('devices'); - window.localStorage['DataUpdate'] = 'True'; - if(window.localStorage['DataLoaded'] = 'True'){ - window.localStorage['Custumer'] = 'OFF' - this.router.navigateByUrl("add") + mydealer() { + window.localStorage["token"] = window.localStorage["Dealer_token"]; + localStorage.removeItem("devices"); + window.localStorage["DataUpdate"] = "True"; + if ((window.localStorage["DataLoaded"] = "True")) { + window.localStorage["Custumer"] = "OFF"; + this.router.navigateByUrl("add"); + } } -} -verify_email(){ - if(this.email_verfi == true){ - this.symbol = '\u2714'; - this.text = "Email Verified" - this.final_counter1 = 0; - return true + verify_email() { + if (this.email_verfi == true) { + this.symbol = "\u2714"; + this.text = "Email Verified"; + this.final_counter1 = 0; + return true; + } else { + this.symbol = "X"; + this.text = "Email Not Verified"; + this.final_counter1 = 1; + return true; + } } - else{ - this.symbol = 'X' - this.text = "Email Not Verified" - this.final_counter1 = 1; - return true + + verify_phone() { + if (this.phone_verfi == true) { + this.symbol2 = "\u2714"; + this.text2 = "Mobile Verified"; + this.final_counter2 = 0; + return true; + } else { + this.symbol2 = "X"; + this.text2 = "Mobile Not Verified"; + this.final_counter2 = 1; + return true; + } } -} -verify_phone(){ - if(this.phone_verfi == true){ - this.symbol2 = '\u2714'; - this.text2 = "Mobile Verified" - this.final_counter2 = 0; - return true + notifications() { + this.cond = false; + this.router.navigateByUrl("notifications"); } - else{ - this.symbol2 = 'X' - this.text2 = "Mobile Not Verified" - this.final_counter2 =1; - return true + + deal() { + if (this.custtype == true) { + this.symbol3 = "\u2714"; + this.text3 = "Dealer"; + this.final_counter = 0; + return true; + } else { + this.symbol3 = "X"; + this.text3 = "Not a Dealer"; + this.final_counter = 1; + return true; + } } -} -notifications(){ - this.cond = false - this.router.navigateByUrl("notifications"); -} - - - - -deal(){ - if(this.custtype == true){ - this.symbol3 = '\u2714'; - this.text3 = "Dealer" - this.final_counter = 0; - return true - } - else{ - this.symbol3 = 'X' - this.text3 = "Not a Dealer" - this.final_counter =1; - return true - } -} - - - - - a(){ + a() { // console.log(this.point); - if(this.point == 0){ + if (this.point == 0) { this.cond = true; - this.point ++; - } - else if(this.point % 2 == 0){ - this.cond = true; - this.point ++; - } - else{ - this.cond = false - this.point ++; - } - - + this.point++; + } else if (this.point % 2 == 0) { + this.cond = true; + this.point++; + } else { + this.cond = false; + this.point++; + } } - report(){ - this.cond = false + report() { + this.cond = false; this.router.navigateByUrl("device-report"); - } - vehicleRoute(){ + vehicleRoute() { this.router.navigateByUrl("vehicleRoute"); - } - dealerInfo(){ - this.cond = false + dealerInfo() { + this.cond = false; this.router.navigateByUrl("dealerInfo"); } - route_map(){ + route_map() { this.router.navigateByUrl("routeMapping"); - } - - Ddetail(){ + Ddetail() { this.router.navigateByUrl("driverdetail"); } - DModel(){ + DModel() { this.router.navigateByUrl("deviceModel"); } - VType(){ + VType() { this.router.navigateByUrl("VehicleType"); } - - - - report_speed(){ + report_speed() { // console.log("report speed call") - this.cond = false + this.cond = false; this.router.navigateByUrl("device-report/device-speed-report"); } - driverPerformance(){ - this.cond = false + driverPerformance() { + this.cond = false; this.router.navigateByUrl("device-report/Driver-performance"); } - geo(){ + geo() { this.router.navigateByUrl("geofencing"); - } - ideal(){ + ideal() { this.router.navigateByUrl("device-report/ideal-report"); } -run(){ + run() {} + openNav() { + /* document.getElementById("myNav").style.width = "100%"; + */ + this.router.navigateByUrl("location"); + } -} -openNav() { - /* document.getElementById("myNav").style.width = "100%"; -*/ - this.router.navigateByUrl("location"); - -} + logout() { + window.localStorage.clear(); + this.router.navigateByUrl("login"); + } + devi() { + this.router.navigateByUrl("dashboard"); + } + soon() { + this.router.navigateByUrl("const"); + } -logout(){ - window.localStorage.clear(); - this.router.navigateByUrl("login"); -} -devi(){ - this.router.navigateByUrl("dashboard"); + summaryReport() { + this.cond = false; + this.router.navigateByUrl("device-report/summary-report"); + } -} -soon(){ - this.router.navigateByUrl("const"); - -} + geofancingReport() { + this.cond = false; + this.router.navigateByUrl("device-report/geofancing"); + } -summaryReport(){ + overspeed() { + this.cond = false; + this.router.navigateByUrl("device-report/overspeed"); + } + routeViolation() { + this.cond = false; + this.router.navigateByUrl("device-report/routeViolation"); + } - this.cond = false - this.router.navigateByUrl("device-report/summary-report"); -} + stoppage_report() { + this.cond = false; + this.router.navigateByUrl("device-report/stoppage_report"); + } + ignition_report() { + this.cond = false; + this.router.navigateByUrl("device-report/ignition_report"); + } -geofancingReport(){ - this.cond = false - this.router.navigateByUrl("device-report/geofancing"); -} + alert_report() { + this.cond = false; + this.router.navigateByUrl("device-report/alert_report"); + } + trip_report() { + this.cond = false; + this.router.navigateByUrl("device-report/trip_report"); + } -overspeed(){ - this.cond = false - this.router.navigateByUrl("device-report/overspeed"); + group() { + this.cond = false; + this.router.navigateByUrl("group_view"); + } -} -routeViolation(){ - this.cond = false - this.router.navigateByUrl("device-report/routeViolation"); + distance_report() { + this.cond = false; + this.router.navigateByUrl("device-report/distance_report"); + } -} + new() { + this.router.navigateByUrl("new"); + } + addcus() { + this.router.navigateByUrl("add"); + } + selectedFile: File; + imageURL: any; + onFileChanged(event) { + this.selectedFile = event.target.files[0]; + } -stoppage_report(){ - this.cond = false - this.router.navigateByUrl("device-report/stoppage_report"); + onUpload() { + const fd = new FormData(); + fd.append("photo", this.selectedFile, this.selectedFile.name); + console.log("Binaryimage = > ", fd); + this.contactService.imageupload(fd).subscribe( + (res) => { + console.log(res); + if (res) { + var pld = { + _id: this.useridd, + imageDoc: [res["_body"]], + }; -} -ignition_report(){ - this.cond = false - this.router.navigateByUrl("device-report/ignition_report"); - - -} - -alert_report(){ - this.cond = false - this.router.navigateByUrl("device-report/alert_report"); - - -} -trip_report(){ - this.cond = false - this.router.navigateByUrl("device-report/trip_report"); - -} - -group(){ - this.cond = false - this.router.navigateByUrl("group_view"); -} - - -distance_report(){ - this.cond = false - this.router.navigateByUrl("device-report/distance_report"); -} - -new(){ - this.router.navigateByUrl("new"); - -} -addcus(){ - this.router.navigateByUrl("add"); -} -selectedFile: File; -imageURL:any; -onFileChanged(event) { - - this.selectedFile = event.target.files[0]; -} - -onUpload() { - - const fd = new FormData(); - fd.append('photo',this.selectedFile,this.selectedFile.name) - console.log("Binaryimage = > ",fd ); - this.contactService.imageupload(fd) - .subscribe(res=>{ - console.log(res); - if(res){ - var pld = { - _id : this.useridd, - imageDoc : [res['_body']] + this.contactService.updateImage(pld).subscribe((res) => { + console.log(res); + var chkPP = localStorage.getItem("profilePic"); + if (chkPP != null) { + localStorage.removeItem("profilePic"); + } + this.data_descip = "Image Succesfully Shared"; + launch_toast(); + }); } - - this.contactService.updateImage(pld).subscribe(res=>{ - console.log(res); - var chkPP = localStorage.getItem('profilePic'); - if(chkPP != null){ - localStorage.removeItem('profilePic'); - } - this.data_descip = "Image Succesfully Shared"; - launch_toast(); - }) - - } - console.log(res); - },err=>{ - console.log(err); - }) + console.log(res); + }, + (err) => { + console.log(err); + } + ); function launch_toast() { // console.log(divid); - var x = document.getElementById("toast_1") - //console.log(x); - x.className = "show"; - setTimeout(function(){ x.className = x.className.replace("show", ""); }, 1500); - } + var x = document.getElementById("toast_1"); + //console.log(x); + x.className = "show"; + setTimeout(function () { + x.className = x.className.replace("show", ""); + }, 1500); + } + } -} + // https://www.oneqlik.in/users/uploadImage + getAlert() { + this.Load = true; + this.contactService.getcustToken(this.useridd).subscribe( + (resp) => { + console.log(resp); + this.Load = false; + console.log(resp); + if (resp["cust"].alert != undefined) { + console.log("aasas", resp["cust"].alert); + var dummy = resp["cust"].alert; + // this.data = resp['cust'].alert; -// https://www.oneqlik.in/users/uploadImage -getAlert() { - this.Load = true; - this.contactService.getcustToken(this.useridd).subscribe(resp => { - console.log(resp); - this.Load = false; - console.log(resp); - if (resp['cust'].alert != undefined){ - console.log("aasas", resp['cust'].alert); - var dummy=resp['cust'].alert; - // this.data = resp['cust'].alert; - + for (var mData in this.data) { + for (var pData in dummy) { + if (mData === pData) { + console.log(dummy[mData]); + this.data[mData] = dummy[mData]; + } else { + this.data[pData] = dummy[pData]; + } + } + } - for(var mData in this.data){ - for(var pData in dummy){ - if(mData === pData){ - console.log(dummy[mData]); - this.data[mData]=dummy[mData]; - }else{ - this.data[pData]= dummy[pData]; + console.log("kkkk", this.data); + this.dataOriginal = JSON.parse(JSON.stringify(this.data)); } + }, + (err) => { + this.Load = false; + console.log("err", err); } - - } - - console.log("kkkk", this.data); - this.dataOriginal = JSON.parse(JSON.stringify(this.data)); - } - }, err => { - this.Load = false; - console.log("err", err); - }) - -} - -tab(key1, key2) { - if (key1 && key2) - this.data[key1][key2] = !this.data[key1][key2]; - - if (JSON.stringify(this.data) === JSON.stringify(this.dataOriginal)) - return; - - this.fData.contactid = this.useridd; - this.fData.alert = this.data; - this.Load = true; - this.contactService.editDealer(this.fData).subscribe(resp => { - this.Load = false; - this._flashMessagesService.show("Setting Updated", { cssClass: 'alert-success', timeout: 2000 }); - // toastr.success("Setting Updated"); - // this.router.navigateByUrl("/account") - this.dataOriginal = JSON.parse(JSON.stringify(this.data)); - }, err => { - this.Load = false; - this._flashMessagesService.show("Server error , Try after sometime !!!", { cssClass: 'alert-denger', timeout: 2000 }); - console.log("err", err); - }) -} - -tab1(key1, key2, value) { - if (key1 && key2) - if (!value) - this.data[key1][key2] = !this.data[key1][key2]; - else - this.data[key1][key2] = value; - if (JSON.stringify(this.data) === JSON.stringify(this.dataOriginal)) - return; - - this.fData.contactid = this.useridd; - this.fData.alert = this.data; - this.Load = true; - this.contactService.editDealer(this.fData).subscribe(resp => { - // toastr.success("Setting Updated"); - this.Load = false; - this._flashMessagesService.show("Setting Updated", { cssClass: 'alert-success', timeout: 2000 }); - // this.router.navigateByUrl("/account") - this.dataOriginal = JSON.parse(JSON.stringify(this.data)); - }, err => { - this.Load = false; - this._flashMessagesService.show("Server error , Try after sometime !!!", { cssClass: 'alert-denger', timeout: 2000 }); - console.log("err", err); - }) -} - - -onClickAddEmail(noti){ - console.log(this.data); - console.log(noti); - this.notifType=noti; - this.isAddEmail=true; - var data = { - "buttonClick" : 'email', - "notifType" : this.notifType, - "compData" : this.data + ); } - //this.emailList=this.data[noti].emails; - // console.log("in Email",this.emailList); - let dialogRef = this.dialog.open(NotificationSettingComponent, { - data: {"notifData":data} - }); - dialogRef.afterClosed().subscribe(result => { - // console.log(result); - if (result == "close") { - - } - }); -// this.modelService.getModal('myModal').open(); -} -onClickAddPhone(noti){ - console.log(this.data); - this.notifType=noti; - this.isAddPhone=true; - var data = { - buttonClick : 'phone', - "notifType" : this.notifType, - "compData" :this.data - } - // this.phonelist=this.data[noti].phones; -//console.log("in Email",this.phonelist) -// this.modelService.getModal('myModal').open(); -let dialogRef = this.dialog.open(NotificationSettingComponent, { - data: {"notifData":data} -}); -dialogRef.afterClosed().subscribe(result => { - // console.log(result); - if (result == "close") { - - } -}); + tab(key1, key2) { + if (key1 && key2) this.data[key1][key2] = !this.data[key1][key2]; -} + if (JSON.stringify(this.data) === JSON.stringify(this.dataOriginal)) return; - -setPriority(notiType, priority) { - console.log(priority); - console.log(this.data); - switch (notiType) { - case 'ign': - this.data.ign.priority = priority; - return; - case 'geo': - this.data.geo.priority = priority; - return; - case 'poi': - this.data.poi.priority = priority; - return; - case 'route': - this.data.route.priority = priority; - return; - case 'overspeed': - this.data.overspeed.priority = priority; - return; - case 'maxstop': - this.data.maxstop.priority = priority; - return; - case 'fuel': - this.data.fuel.priority = priority; - return; - case 'AC': - this.data.AC.priority = priority; - return; - case 'power': - this.data.power.priority = priority; - return; - case 'sos': - this.data.sos.priority = priority; - return; - default: - return; - }; - - -} - - -changelanguage(){ - console.log("inside function"); - var payload = { - uid: this.useridd, - lang: this.selectedlanguage - } - this.contactService.setlanguage(payload).subscribe(res=>{ - console.log(res); - // this.translate.use(this.selectedlanguage); - if(res.message == 'language updated sucessfully'){ - console.log("language saved"); - localStorage.setItem('appLang',this.selectedlanguage); - this.languageChangeDetection.getLanguage() - // this.getLanguage() - } - // this.translate.setDefaultLang('es'); - },err=>{ - this.selectedlanguage = 'en' ; - }) - -} - -getLanguage(){ - var that = this; -var Var = { uid: this.useridd }; - this.contactService.getLanguages(Var).subscribe(res=>{ - this.selectedlanguage = res.language_code ; - console.log("fdkjjdfj",res); - - if(res.isSuperAdmin) - { - this.showAnnouncementMenu=true - }else{ - this.showAnnouncementMenu=false - } - this.support1=res.support1?res.support1:undefined - this.support2=res.support2?res.support2:undefined - this.support3=res.support3?res.support3:undefined - this.service1=res.service1?res.service1:undefined - this.service2=res.service2?res.service2:undefined - this.announcement=res.announcement?res.announcement:undefined - this.GET_announcememt=res.show_announcement?res.show_announcement:false; - - console.log(res.isSuperAdmin,this.showAnnouncementMenu,this.announcement,this.GET_announcememt); - - this.translate.setDefaultLang(this.selectedlanguage); - - this.translate.use(this.selectedlanguage); - var currencyfiltered = this.currency.filter(d=>{ - if(res.currency_code != undefined){ - if(d.currencyVal === res.currency_code){ - return d.country; + this.fData.contactid = this.useridd; + this.fData.alert = this.data; + this.Load = true; + this.contactService.editDealer(this.fData).subscribe( + (resp) => { + this.Load = false; + this._flashMessagesService.show("Setting Updated", { + cssClass: "alert-success", + timeout: 2000, + }); + // toastr.success("Setting Updated"); + // this.router.navigateByUrl("/account") + this.dataOriginal = JSON.parse(JSON.stringify(this.data)); + }, + (err) => { + this.Load = false; + this._flashMessagesService.show( + "Server error , Try after sometime !!!", + { cssClass: "alert-denger", timeout: 2000 } + ); + console.log("err", err); } - }else{ - if(d.currencyVal === 'INR'){ - return d.country; - } - } - }) - this.optiondefault = currencyfiltered[0].country; - - - },err=>{ - console.log(err); - }) - -} - -getToken(){ - - this.contactService.getUserObj(this.useridd).subscribe(res=>{ - this.timezone = res.timezone; - this.support1=res.support1?res.support1:undefined - this.support2=res.support2?res.support2:undefined - this.support3=res.support3?res.support3:undefined - this.service1=res.service1?res.service1:undefined - this.service2=res.service2?res.service2:undefined; - this.driverManagement=res.driverManagement?res.driverManagement:false; - this.paymentGateway=res.paymentgateway?res.paymentgateway:false; - if(res.digital_input){ - this.workingHours=res.digital_input - } - if(res.renewal_charges){ - this.renewalCharges=res.renewal_charges - } - if(res.tripGeneration != undefined){ - this.tripGenerationVal = res.tripGeneration ; - } - // if(res.relay_timer!=undefined){ - // this.relay_timer=res.relay_timer - // } - if(res.label_setting!=undefined){ - this.labelSetting=res.label_setting - } - console.log("LABLE SETTING", this.labelSetting); - - setTimeout(() => { - $('#dbselect').multipleSelect({ - width: 300, - placeholder: 'Select Timezone', - filter: true, - single: true, - selectAll: false - }) - }, 100); - - }) - -} - - - - -getTransectionDetail(){ - console.log("Inside Transection Detail Page"); - this.allocatedPoints =[]; - if(this.from_date){ - var fd = this.from_date.toISOString(); - } - if(this.to_date){ - var td = this.to_date.toISOString() + ); } - this.contactService.getPointDetails(this.useridd,fd,td).subscribe(res=>{ - console.log('allocatedPoint',res); - this.allocatedPoints = res; - this.show=true; - }) -} + tab1(key1, key2, value) { + if (key1 && key2) + if (!value) this.data[key1][key2] = !this.data[key1][key2]; + else this.data[key1][key2] = value; + if (JSON.stringify(this.data) === JSON.stringify(this.dataOriginal)) return; - -tripGenerationFunc(ev){ - console.log(ev); - var payload = { - uid: this.useridd, - tripGeneration: ev.value + this.fData.contactid = this.useridd; + this.fData.alert = this.data; + this.Load = true; + this.contactService.editDealer(this.fData).subscribe( + (resp) => { + // toastr.success("Setting Updated"); + this.Load = false; + this._flashMessagesService.show("Setting Updated", { + cssClass: "alert-success", + timeout: 2000, + }); + // this.router.navigateByUrl("/account") + this.dataOriginal = JSON.parse(JSON.stringify(this.data)); + }, + (err) => { + this.Load = false; + this._flashMessagesService.show( + "Server error , Try after sometime !!!", + { cssClass: "alert-denger", timeout: 2000 } + ); + console.log("err", err); + } + ); } - this.contactService.setlanguage(payload).subscribe(res=>{ - console.log('res=>',res); - this.getToken() - this.data_descip = "Setting Saved"; - launch_toast(); - }) + onClickAddEmail(noti) { + console.log(this.data); + console.log(noti); + this.notifType = noti; + this.isAddEmail = true; + var data = { + buttonClick: "email", + notifType: this.notifType, + compData: this.data, + }; + //this.emailList=this.data[noti].emails; + // console.log("in Email",this.emailList); + let dialogRef = this.dialog.open(NotificationSettingComponent, { + data: { notifData: data }, + }); + dialogRef.afterClosed().subscribe((result) => { + // console.log(result); + if (result == "close") { + } + }); + // this.modelService.getModal('myModal').open(); + } + onClickAddPhone(noti) { + console.log(this.data); + this.notifType = noti; + this.isAddPhone = true; + var data = { + buttonClick: "phone", + notifType: this.notifType, + compData: this.data, + }; + // this.phonelist=this.data[noti].phones; + //console.log("in Email",this.phonelist) + // this.modelService.getModal('myModal').open(); + let dialogRef = this.dialog.open(NotificationSettingComponent, { + data: { notifData: data }, + }); + dialogRef.afterClosed().subscribe((result) => { + // console.log(result); + if (result == "close") { + } + }); + } - - function launch_toast() { - // console.log(divid); - var x = document.getElementById("toast") - //console.log(x); - x.className = "show"; - setTimeout(function(){ x.className = x.className.replace("show", ""); }, 1500); - } + setPriority(notiType, priority) { + console.log(priority); + console.log(this.data); + switch (notiType) { + case "ign": + this.data.ign.priority = priority; + return; + case "geo": + this.data.geo.priority = priority; + return; + case "poi": + this.data.poi.priority = priority; + return; + case "route": + this.data.route.priority = priority; + return; + case "overspeed": + this.data.overspeed.priority = priority; + return; + case "maxstop": + this.data.maxstop.priority = priority; + return; + case "fuel": + this.data.fuel.priority = priority; + return; + case "AC": + this.data.AC.priority = priority; + return; + case "power": + this.data.power.priority = priority; + return; + case "sos": + this.data.sos.priority = priority; + return; + default: + return; + } + } -} -btnTag:boolean = false; -btnKey= 'Save' -getApiKey(){ - this.contactService.getgoogleApi(this.useridd).subscribe(res=>{ - if(res.message != "api key not found"){ - this.api_key = res.api_key; + changelanguage() { + console.log("inside function"); + var payload = { + uid: this.useridd, + lang: this.selectedlanguage, + }; + this.contactService.setlanguage(payload).subscribe( + (res) => { + console.log(res); + // this.translate.use(this.selectedlanguage); + if (res.message == "language updated sucessfully") { + console.log("language saved"); + localStorage.setItem("appLang", this.selectedlanguage); + this.languageChangeDetection.getLanguage(); + // this.getLanguage() + } + // this.translate.setDefaultLang('es'); + }, + (err) => { + this.selectedlanguage = "en"; + } + ); + } + + getLanguage() { + var that = this; + var Var = { uid: this.useridd }; + this.contactService.getLanguages(Var).subscribe( + (res) => { + this.selectedlanguage = res.language_code; + console.log("fdkjjdfj", res); + + if (res.isSuperAdmin) { + this.showAnnouncementMenu = true; + } else { + this.showAnnouncementMenu = false; + } + this.support1 = res.support1 ? res.support1 : undefined; + this.support2 = res.support2 ? res.support2 : undefined; + this.support3 = res.support3 ? res.support3 : undefined; + this.service1 = res.service1 ? res.service1 : undefined; + this.service2 = res.service2 ? res.service2 : undefined; + this.announcement = res.announcement ? res.announcement : undefined; + this.GET_announcememt = res.show_announcement + ? res.show_announcement + : false; + + console.log( + res.isSuperAdmin, + this.showAnnouncementMenu, + this.announcement, + this.GET_announcememt + ); + + this.translate.setDefaultLang(this.selectedlanguage); + + this.translate.use(this.selectedlanguage); + var currencyfiltered = this.currency.filter((d) => { + if (res.currency_code != undefined) { + if (d.currencyVal === res.currency_code) { + return d.country; + } + } else { + if (d.currencyVal === "INR") { + return d.country; + } + } + }); + this.optiondefault = currencyfiltered[0].country; + }, + (err) => { + console.log(err); + } + ); + } + + getToken() { + this.contactService.getUserObj(this.useridd).subscribe((res) => { + this.timezone = res.timezone; + this.support1 = res.support1 ? res.support1 : undefined; + this.support2 = res.support2 ? res.support2 : undefined; + this.support3 = res.support3 ? res.support3 : undefined; + this.service1 = res.service1 ? res.service1 : undefined; + this.service2 = res.service2 ? res.service2 : undefined; + this.driverManagement = res.driverManagement + ? res.driverManagement + : false; + this.paymentGateway = res.paymentgateway ? res.paymentgateway : false; + if (res.digital_input) { + this.workingHours = res.digital_input; + } + if (res.renewal_charges) { + this.renewalCharges = res.renewal_charges; + } + if (res.tripGeneration != undefined) { + this.tripGenerationVal = res.tripGeneration; + } + // if(res.relay_timer!=undefined){ + // this.relay_timer=res.relay_timer + // } + if (res.label_setting != undefined) { + this.labelSetting = res.label_setting; + } + console.log("LABLE SETTING", this.labelSetting); + + if (res.secondary_emails.length > 0) { + this.secondary_emails.flag = true; + this.secondary_emails.data = res.secondary_emails; + } + setTimeout(() => { + $("#dbselect").multipleSelect({ + width: 300, + placeholder: "Select Timezone", + filter: true, + single: true, + selectAll: false, + }); + }, 100); + }); + } + + getTransectionDetail() { + console.log("Inside Transection Detail Page"); + this.allocatedPoints = []; + if (this.from_date) { + var fd = this.from_date.toISOString(); + } + if (this.to_date) { + var td = this.to_date.toISOString(); + } + + this.contactService + .getPointDetails(this.useridd, fd, td) + .subscribe((res) => { + console.log("allocatedPoint", res); + this.allocatedPoints = res; + this.show = true; + }); + } + + tripGenerationFunc(ev) { + console.log(ev); + var payload = { + uid: this.useridd, + tripGeneration: ev.value, + }; + this.contactService.setlanguage(payload).subscribe((res) => { + console.log("res=>", res); + this.getToken(); + + this.data_descip = "Setting Saved"; + launch_toast(); + }); + + function launch_toast() { + // console.log(divid); + var x = document.getElementById("toast"); + //console.log(x); + x.className = "show"; + setTimeout(function () { + x.className = x.className.replace("show", ""); + }, 1500); + } + } + btnTag: boolean = false; + btnKey = "Save"; + getApiKey() { + this.contactService.getgoogleApi(this.useridd).subscribe((res) => { + if (res.message != "api key not found") { + this.api_key = res.api_key; this.btnTag = true; - this.btnKey= 'Change'; - - }else{ - - console.log('this.api_key',this.api_key); + this.btnKey = "Change"; + } else { + console.log("this.api_key", this.api_key); } - }) -} - -saveApi(){ - if(this.btnKey === 'Change'){ - this.btnTag = false; - this.btnKey = 'Save'; - return; + }); } - if(this.btnKey === 'Save'){ - var pld= { - u_id: this.useridd, - api_key: this.api_key - } - this.contactService.setgoogleApi(pld).subscribe(res=>{ - console.log(res); - this.data_descip = "Google API Key Saved"; - launch_toast(); - - }) - - } - - function launch_toast() { - // console.log(divid); - var x = document.getElementById("toast_1") - //console.log(x); - x.className = "show"; - setTimeout(function(){ x.className = x.className.replace("show", ""); }, 1500); - } -} - -createAnnouncement(){ - console.log("In announcement"); - var payload = { - uid: this.useridd, - announcement: this.announcement - } - this.contactService.setlanguage(payload).subscribe(res=>{ - console.log(res); - // this.translate.use(this.selectedlanguage); - if(res.message == 'announcement updated sucessfully'){ - console.log("announcement saved"); - this.tost1("succ"); - this.getLanguage() + saveApi() { + if (this.btnKey === "Change") { + this.btnTag = false; + this.btnKey = "Save"; + return; } - // this.translate.setDefaultLang('es'); - }) - -} -currency=[]; -getCurrencies(){ - this.currency = []; - // this.contactService.getCurrencies().subscribe(res=>{ - var currencyObj = this.currencyJson; - for(var i in currencyObj){ - if(this.data.currency != undefined){ - var devicecurr = this.data.currency ; - if(i == devicecurr){ - this.optiondefault = i+ '-' + currencyObj[i]; - } + if (this.btnKey === "Save") { + var pld = { + u_id: this.useridd, + api_key: this.api_key, + }; + this.contactService.setgoogleApi(pld).subscribe((res) => { + console.log(res); + this.data_descip = "Google API Key Saved"; + launch_toast(); + }); + } - }else{ - // if(i == 'INR'){ + function launch_toast() { + // console.log(divid); + var x = document.getElementById("toast_1"); + //console.log(x); + x.className = "show"; + setTimeout(function () { + x.className = x.className.replace("show", ""); + }, 1500); + } + } + + createAnnouncement() { + console.log("In announcement"); + var payload = { + uid: this.useridd, + announcement: this.announcement, + }; + this.contactService.setlanguage(payload).subscribe((res) => { + console.log(res); + // this.translate.use(this.selectedlanguage); + if (res.message == "announcement updated sucessfully") { + console.log("announcement saved"); + this.tost1("succ"); + this.getLanguage(); + } + // this.translate.setDefaultLang('es'); + }); + } + + currency = []; + getCurrencies() { + this.currency = []; + // this.contactService.getCurrencies().subscribe(res=>{ + var currencyObj = this.currencyJson; + for (var i in currencyObj) { + if (this.data.currency != undefined) { + var devicecurr = this.data.currency; + if (i == devicecurr) { + this.optiondefault = i + "-" + currencyObj[i]; + } + } else { + // if(i == 'INR'){ // this.optiondefault = i+ '-' + currencyObj[i]; // } } - - var tempObj = { - currencyVal : i, - country : i+ '-' + currencyObj[i] - } + + var tempObj = { + currencyVal: i, + country: i + "-" + currencyObj[i], + }; this.currency.push(tempObj); } - + console.log(this.currency); // this.loadropdown(); - // }) -} + // }) + } -dataSelect=[]; + dataSelect = []; -filterStates(val) { - console.log(val) - // console.log(this.dummyuserData) - if (val) { - const filterValue: any = val; - console.log(this.currency); - this.dataSelect = this.currency.filter(function (d) { - return d.country.toLocaleLowerCase().indexOf(filterValue.toLocaleLowerCase()) > -1; + filterStates(val) { + console.log(val); + // console.log(this.dummyuserData) + if (val) { + const filterValue: any = val; + console.log(this.currency); + this.dataSelect = this.currency.filter(function (d) { + return ( + d.country + .toLocaleLowerCase() + .indexOf(filterValue.toLocaleLowerCase()) > -1 + ); + }); + + return this.dataSelect; + } + } + + currencySet() { + console.log(this.dataSelect); + var pld = { + uid: this.useridd, + currency_code: + this.dataSelect.length != 0 + ? this.dataSelect[0].currencyVal + : this.optiondefault.split("-")[0], + }; + console.log(pld); + this.contactService.setlanguage(pld).subscribe((res) => { + console.log(res); + this.tost1("currset"); }); - - return this.dataSelect; } - -} - -currencySet(){ - console.log(this.dataSelect); - var pld= { - uid : this.useridd, - currency_code : (this.dataSelect.length !=0)? this.dataSelect[0].currencyVal : this.optiondefault.split('-')[0] - } - console.log(pld); - this.contactService.setlanguage(pld).subscribe(res=>{ - console.log(res); - this.tost1('currset'); - }) -} -rechargePlans -getRechargePlans(){ - this.contactService.get('/RechargePlan/get?SupAdmin='+this.useridd).subscribe(res=>{ - console.log(res); - this.rechargePlans=res; - - }) -} - -addNewPlan(){ - -let dialogRef = this.dialog.open(AddPlanComponent, { - width: '600px', - height:'400px', - data: null -}); - -dialogRef.afterClosed().subscribe(result => { - - if(result == "succ"){ - this.getRechargePlans() + rechargePlans; + getRechargePlans() { + this.contactService + .get("/RechargePlan/get?SupAdmin=" + this.useridd) + .subscribe((res) => { + console.log(res); + this.rechargePlans = res; + }); } -}); -} + addNewPlan() { + let dialogRef = this.dialog.open(AddPlanComponent, { + width: "600px", + height: "400px", + data: null, + }); -deletePlan(id){ - this.contactService.get('/RechargePlan/delete?id='+id).subscribe(res=>{ - console.log(res); - this.getRechargePlans() - - }) -} -editPlan(item){ - let dialogRef = this.dialog.open(AddPlanComponent, { - width: '600px', - height:'400px', - data: item -}); - -dialogRef.afterClosed().subscribe(result => { - - if(result == "succ"){ - this.getRechargePlans() + dialogRef.afterClosed().subscribe((result) => { + if (result == "succ") { + this.getRechargePlans(); + } + }); } -}); -} + deletePlan(id) { + this.contactService + .get("/RechargePlan/delete?id=" + id) + .subscribe((res) => { + console.log(res); + this.getRechargePlans(); + }); + } + editPlan(item) { + let dialogRef = this.dialog.open(AddPlanComponent, { + width: "600px", + height: "400px", + data: item, + }); + dialogRef.afterClosed().subscribe((result) => { + if (result == "succ") { + this.getRechargePlans(); + } + }); + } - -currencyJson = { - "AED": "United Arab Emirates Dirham", - "AFN": "Afghan Afghani", - "ALL": "Albanian Lek", - "AMD": "Armenian Dram", - "ANG": "Netherlands Antillean Guilder", - "AOA": "Angolan Kwanza", - "ARS": "Argentine Peso", - "AUD": "Australian Dollar", - "AWG": "Aruban Florin", - "AZN": "Azerbaijani Manat", - "BAM": "Bosnia-Herzegovina Convertible Mark", - "BBD": "Barbadian Dollar", - "BDT": "Bangladeshi Taka", - "BGN": "Bulgarian Lev", - "BHD": "Bahraini Dinar", - "BIF": "Burundian Franc", - "BMD": "Bermudan Dollar", - "BND": "Brunei Dollar", - "BOB": "Bolivian Boliviano", - "BRL": "Brazilian Real", - "BSD": "Bahamian Dollar", - "BTC": "Bitcoin", - "BTN": "Bhutanese Ngultrum", - "BWP": "Botswanan Pula", - "BYN": "Belarusian Ruble", - "BZD": "Belize Dollar", - "CAD": "Canadian Dollar", - "CDF": "Congolese Franc", - "CHF": "Swiss Franc", - "CLF": "Chilean Unit of Account (UF)", - "CLP": "Chilean Peso", - "CNH": "Chinese Yuan (Offshore)", - "CNY": "Chinese Yuan", - "COP": "Colombian Peso", - "CRC": "Costa Rican Colón", - "CUC": "Cuban Convertible Peso", - "CUP": "Cuban Peso", - "CVE": "Cape Verdean Escudo", - "CZK": "Czech Republic Koruna", - "DJF": "Djiboutian Franc", - "DKK": "Danish Krone", - "DOP": "Dominican Peso", - "DZD": "Algerian Dinar", - "EGP": "Egyptian Pound", - "ERN": "Eritrean Nakfa", - "ETB": "Ethiopian Birr", - "EUR": "Euro", - "FJD": "Fijian Dollar", - "FKP": "Falkland Islands Pound", - "GBP": "British Pound Sterling", - "GEL": "Georgian Lari", - "GGP": "Guernsey Pound", - "GHS": "Ghanaian Cedi", - "GIP": "Gibraltar Pound", - "GMD": "Gambian Dalasi", - "GNF": "Guinean Franc", - "GTQ": "Guatemalan Quetzal", - "GYD": "Guyanaese Dollar", - "HKD": "Hong Kong Dollar", - "HNL": "Honduran Lempira", - "HRK": "Croatian Kuna", - "HTG": "Haitian Gourde", - "HUF": "Hungarian Forint", - "IDR": "Indonesian Rupiah", - "ILS": "Israeli New Sheqel", - "IMP": "Manx pound", - "INR": "Indian Rupee", - "IQD": "Iraqi Dinar", - "IRR": "Iranian Rial", - "ISK": "Icelandic Króna", - "JEP": "Jersey Pound", - "JMD": "Jamaican Dollar", - "JOD": "Jordanian Dinar", - "JPY": "Japanese Yen", - "KES": "Kenyan Shilling", - "KGS": "Kyrgystani Som", - "KHR": "Cambodian Riel", - "KMF": "Comorian Franc", - "KPW": "North Korean Won", - "KRW": "South Korean Won", - "KWD": "Kuwaiti Dinar", - "KYD": "Cayman Islands Dollar", - "KZT": "Kazakhstani Tenge", - "LAK": "Laotian Kip", - "LBP": "Lebanese Pound", - "LKR": "Sri Lankan Rupee", - "LRD": "Liberian Dollar", - "LSL": "Lesotho Loti", - "LYD": "Libyan Dinar", - "MAD": "Moroccan Dirham", - "MDL": "Moldovan Leu", - "MGA": "Malagasy Ariary", - "MKD": "Macedonian Denar", - "MMK": "Myanma Kyat", - "MNT": "Mongolian Tugrik", - "MOP": "Macanese Pataca", - "MRO": "Mauritanian Ouguiya (pre-2018)", - "MRU": "Mauritanian Ouguiya", - "MUR": "Mauritian Rupee", - "MVR": "Maldivian Rufiyaa", - "MWK": "Malawian Kwacha", - "MXN": "Mexican Peso", - "MYR": "Malaysian Ringgit", - "MZN": "Mozambican Metical", - "NAD": "Namibian Dollar", - "NGN": "Nigerian Naira", - "NIO": "Nicaraguan Córdoba", - "NOK": "Norwegian Krone", - "NPR": "Nepalese Rupee", - "NZD": "New Zealand Dollar", - "OMR": "Omani Rial", - "PAB": "Panamanian Balboa", - "PEN": "Peruvian Nuevo Sol", - "PGK": "Papua New Guinean Kina", - "PHP": "Philippine Peso", - "PKR": "Pakistani Rupee", - "PLN": "Polish Zloty", - "PYG": "Paraguayan Guarani", - "QAR": "Qatari Rial", - "RON": "Romanian Leu", - "RSD": "Serbian Dinar", - "RUB": "Russian Ruble", - "RWF": "Rwandan Franc", - "SAR": "Saudi Riyal", - "SBD": "Solomon Islands Dollar", - "SCR": "Seychellois Rupee", - "SDG": "Sudanese Pound", - "SEK": "Swedish Krona", - "SGD": "Singapore Dollar", - "SHP": "Saint Helena Pound", - "SLL": "Sierra Leonean Leone", - "SOS": "Somali Shilling", - "SRD": "Surinamese Dollar", - "SSP": "South Sudanese Pound", - "STD": "São Tomé and Príncipe Dobra (pre-2018)", - "STN": "São Tomé and Príncipe Dobra", - "SVC": "Salvadoran Colón", - "SYP": "Syrian Pound", - "SZL": "Swazi Lilangeni", - "THB": "Thai Baht", - "TJS": "Tajikistani Somoni", - "TMT": "Turkmenistani Manat", - "TND": "Tunisian Dinar", - "TOP": "Tongan Pa'anga", - "TRY": "Turkish Lira", - "TTD": "Trinidad and Tobago Dollar", - "TWD": "New Taiwan Dollar", - "TZS": "Tanzanian Shilling", - "UAH": "Ukrainian Hryvnia", - "UGX": "Ugandan Shilling", - "USD": "United States Dollar", - "UYU": "Uruguayan Peso", - "UZS": "Uzbekistan Som", - "VEF": "Venezuelan Bolívar Fuerte (Old)", - "VES": "Venezuelan Bolívar Soberano", - "VND": "Vietnamese Dong", - "VUV": "Vanuatu Vatu", - "WST": "Samoan Tala", - "XAF": "CFA Franc BEAC", - "XAG": "Silver Ounce", - "XAU": "Gold Ounce", - "XCD": "East Caribbean Dollar", - "XDR": "Special Drawing Rights", - "XOF": "CFA Franc BCEAO", - "XPD": "Palladium Ounce", - "XPF": "CFP Franc", - "XPT": "Platinum Ounce", - "YER": "Yemeni Rial", - "ZAR": "South African Rand", - "ZMW": "Zambian Kwacha", - "ZWL": "Zimbabwean Dollar" -} + currencyJson = { + AED: "United Arab Emirates Dirham", + AFN: "Afghan Afghani", + ALL: "Albanian Lek", + AMD: "Armenian Dram", + ANG: "Netherlands Antillean Guilder", + AOA: "Angolan Kwanza", + ARS: "Argentine Peso", + AUD: "Australian Dollar", + AWG: "Aruban Florin", + AZN: "Azerbaijani Manat", + BAM: "Bosnia-Herzegovina Convertible Mark", + BBD: "Barbadian Dollar", + BDT: "Bangladeshi Taka", + BGN: "Bulgarian Lev", + BHD: "Bahraini Dinar", + BIF: "Burundian Franc", + BMD: "Bermudan Dollar", + BND: "Brunei Dollar", + BOB: "Bolivian Boliviano", + BRL: "Brazilian Real", + BSD: "Bahamian Dollar", + BTC: "Bitcoin", + BTN: "Bhutanese Ngultrum", + BWP: "Botswanan Pula", + BYN: "Belarusian Ruble", + BZD: "Belize Dollar", + CAD: "Canadian Dollar", + CDF: "Congolese Franc", + CHF: "Swiss Franc", + CLF: "Chilean Unit of Account (UF)", + CLP: "Chilean Peso", + CNH: "Chinese Yuan (Offshore)", + CNY: "Chinese Yuan", + COP: "Colombian Peso", + CRC: "Costa Rican Colón", + CUC: "Cuban Convertible Peso", + CUP: "Cuban Peso", + CVE: "Cape Verdean Escudo", + CZK: "Czech Republic Koruna", + DJF: "Djiboutian Franc", + DKK: "Danish Krone", + DOP: "Dominican Peso", + DZD: "Algerian Dinar", + EGP: "Egyptian Pound", + ERN: "Eritrean Nakfa", + ETB: "Ethiopian Birr", + EUR: "Euro", + FJD: "Fijian Dollar", + FKP: "Falkland Islands Pound", + GBP: "British Pound Sterling", + GEL: "Georgian Lari", + GGP: "Guernsey Pound", + GHS: "Ghanaian Cedi", + GIP: "Gibraltar Pound", + GMD: "Gambian Dalasi", + GNF: "Guinean Franc", + GTQ: "Guatemalan Quetzal", + GYD: "Guyanaese Dollar", + HKD: "Hong Kong Dollar", + HNL: "Honduran Lempira", + HRK: "Croatian Kuna", + HTG: "Haitian Gourde", + HUF: "Hungarian Forint", + IDR: "Indonesian Rupiah", + ILS: "Israeli New Sheqel", + IMP: "Manx pound", + INR: "Indian Rupee", + IQD: "Iraqi Dinar", + IRR: "Iranian Rial", + ISK: "Icelandic Króna", + JEP: "Jersey Pound", + JMD: "Jamaican Dollar", + JOD: "Jordanian Dinar", + JPY: "Japanese Yen", + KES: "Kenyan Shilling", + KGS: "Kyrgystani Som", + KHR: "Cambodian Riel", + KMF: "Comorian Franc", + KPW: "North Korean Won", + KRW: "South Korean Won", + KWD: "Kuwaiti Dinar", + KYD: "Cayman Islands Dollar", + KZT: "Kazakhstani Tenge", + LAK: "Laotian Kip", + LBP: "Lebanese Pound", + LKR: "Sri Lankan Rupee", + LRD: "Liberian Dollar", + LSL: "Lesotho Loti", + LYD: "Libyan Dinar", + MAD: "Moroccan Dirham", + MDL: "Moldovan Leu", + MGA: "Malagasy Ariary", + MKD: "Macedonian Denar", + MMK: "Myanma Kyat", + MNT: "Mongolian Tugrik", + MOP: "Macanese Pataca", + MRO: "Mauritanian Ouguiya (pre-2018)", + MRU: "Mauritanian Ouguiya", + MUR: "Mauritian Rupee", + MVR: "Maldivian Rufiyaa", + MWK: "Malawian Kwacha", + MXN: "Mexican Peso", + MYR: "Malaysian Ringgit", + MZN: "Mozambican Metical", + NAD: "Namibian Dollar", + NGN: "Nigerian Naira", + NIO: "Nicaraguan Córdoba", + NOK: "Norwegian Krone", + NPR: "Nepalese Rupee", + NZD: "New Zealand Dollar", + OMR: "Omani Rial", + PAB: "Panamanian Balboa", + PEN: "Peruvian Nuevo Sol", + PGK: "Papua New Guinean Kina", + PHP: "Philippine Peso", + PKR: "Pakistani Rupee", + PLN: "Polish Zloty", + PYG: "Paraguayan Guarani", + QAR: "Qatari Rial", + RON: "Romanian Leu", + RSD: "Serbian Dinar", + RUB: "Russian Ruble", + RWF: "Rwandan Franc", + SAR: "Saudi Riyal", + SBD: "Solomon Islands Dollar", + SCR: "Seychellois Rupee", + SDG: "Sudanese Pound", + SEK: "Swedish Krona", + SGD: "Singapore Dollar", + SHP: "Saint Helena Pound", + SLL: "Sierra Leonean Leone", + SOS: "Somali Shilling", + SRD: "Surinamese Dollar", + SSP: "South Sudanese Pound", + STD: "São Tomé and Príncipe Dobra (pre-2018)", + STN: "São Tomé and Príncipe Dobra", + SVC: "Salvadoran Colón", + SYP: "Syrian Pound", + SZL: "Swazi Lilangeni", + THB: "Thai Baht", + TJS: "Tajikistani Somoni", + TMT: "Turkmenistani Manat", + TND: "Tunisian Dinar", + TOP: "Tongan Pa'anga", + TRY: "Turkish Lira", + TTD: "Trinidad and Tobago Dollar", + TWD: "New Taiwan Dollar", + TZS: "Tanzanian Shilling", + UAH: "Ukrainian Hryvnia", + UGX: "Ugandan Shilling", + USD: "United States Dollar", + UYU: "Uruguayan Peso", + UZS: "Uzbekistan Som", + VEF: "Venezuelan Bolívar Fuerte (Old)", + VES: "Venezuelan Bolívar Soberano", + VND: "Vietnamese Dong", + VUV: "Vanuatu Vatu", + WST: "Samoan Tala", + XAF: "CFA Franc BEAC", + XAG: "Silver Ounce", + XAU: "Gold Ounce", + XCD: "East Caribbean Dollar", + XDR: "Special Drawing Rights", + XOF: "CFA Franc BCEAO", + XPD: "Palladium Ounce", + XPF: "CFP Franc", + XPT: "Platinum Ounce", + YER: "Yemeni Rial", + ZAR: "South African Rand", + ZMW: "Zambian Kwacha", + ZWL: "Zimbabwean Dollar", + }; } diff --git a/src/app/add-cust/add-cust.component.html b/src/app/add-cust/add-cust.component.html index b1248f3..c3aadc2 100644 --- a/src/app/add-cust/add-cust.component.html +++ b/src/app/add-cust/add-cust.component.html @@ -7,7 +7,24 @@
+ +
+ +
+
+ + +
+
+ + +
+
+
diff --git a/src/app/add-cust/add-cust.component.ts b/src/app/add-cust/add-cust.component.ts index d3b9570..fc8515a 100644 --- a/src/app/add-cust/add-cust.component.ts +++ b/src/app/add-cust/add-cust.component.ts @@ -1,1449 +1,1599 @@ -import { FormGroup, FormControl, Validators, FormBuilder} from '@angular/forms'; -import {ResponseOptions, Response} from '@angular/http'; -import {Contact} from '../contact'; -import {ContactService} from '../contact.service'; -import {Otp} from '../otp'; +import { + FormGroup, + FormControl, + Validators, + FormBuilder, +} from "@angular/forms"; +import { ResponseOptions, Response } from "@angular/http"; +import { Contact } from "../contact"; +import { ContactService } from "../contact.service"; +import { Otp } from "../otp"; // import {Md5} from 'ts-md5/dist/md5'; -import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; -import { FlashMessagesService } from 'angular2-flash-messages'; -import { AbstractControl, NG_VALIDATORS, Validator, ValidatorFn } from '@angular/forms'; -const EMAIL_REGEX =/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; -import { Component, OnInit,Inject } from '@angular/core'; -import {MdDialog, MdDialogRef, MD_DIALOG_DATA} from '@angular/material'; -import * as moment from 'moment-timezone'; -import { ReportService } from '../report/report.service'; -declare var google :any; +import { + Router, + CanActivate, + ActivatedRouteSnapshot, + RouterStateSnapshot, +} from "@angular/router"; +import { FlashMessagesService } from "angular2-flash-messages"; +import { + AbstractControl, + NG_VALIDATORS, + Validator, + ValidatorFn, +} from "@angular/forms"; +const EMAIL_REGEX = + /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; +import { Component, OnInit, Inject } from "@angular/core"; +import { MdDialog, MdDialogRef, MD_DIALOG_DATA } from "@angular/material"; +import * as moment from "moment-timezone"; +import { ReportService } from "../report/report.service"; +declare var google: any; - -declare var swal: any,$:any; +declare var swal: any, $: any; @Component({ - selector: 'app-add-cust', - templateUrl: './add-cust.component.html', - styleUrls: ['./add-cust.component.scss'], - providers:[ContactService] + selector: "app-add-cust", + templateUrl: "./add-cust.component.html", + styleUrls: ["./add-cust.component.scss"], + providers: [ContactService], }) export class AddCustComponent implements OnInit { superAdmin: any; - role - show1:boolean = false; - show2:boolean = true; - show3:boolean = false; - first_name:any=null; - last_name:any=null; - passwordd:any=null; - org_name:any=null; - emaill:any=null; - timezone:any = 'Asia/Kolkata'; - phone:any=null; - executed:any; - $event2:any; - dealer:any; - contacts: Contact[]=[]; + role; + bussinessType:any = '0'; + show1: boolean = false; + show2: boolean = true; + show3: boolean = false; + first_name: any = null; + last_name: any = null; + passwordd: any = null; + org_name: any = null; + emaill: any = null; + timezone: any = "Asia/Kolkata"; + phone: any = null; + executed: any; + $event2: any; + dealer: any; + contacts: Contact[] = []; contact: Contact; - login1:any; - mess2:any; - mess:any; - otp:any; - userID:any; - address:any; - str:boolean = false; - password2:any=null; - dealerName:any; - isTechnician:boolean=false; - dealerSelect: any=[]; + login1: any; + mess2: any; + mess: any; + otp: any; + userID: any; + address: any; + str: boolean = false; + password2: any = null; + dealerName: any; + isTechnician: boolean = false; + dealerSelect: any = []; imageuploadObject = []; sup_admin: any; countrySelected: {}; timezoneArray: any[]; - emergencyForm:FormGroup; - title="ADD CUSTOMER" - report(){ - this.cond = false + emergencyForm: FormGroup; + title = "ADD CUSTOMER"; + report() { + this.cond = false; this.router.navigateByUrl("device-report"); - } - report_speed(){ + report_speed() { // console.log("report speed call") - this.cond = false + this.cond = false; this.router.navigateByUrl("device-report/device-speed-report"); } - stre(){ - this.str =true; + stre() { + this.str = true; } - stren(){ - this.str =false; + stren() { + this.str = false; } - addcus(){ + addcus() { this.router.navigateByUrl("add"); } - clear(){ - this.first_name=' ' - this.last_name=' ' - this.emaill = null - this.phone = null + clear() { + this.first_name = " "; + this.last_name = " "; + this.emaill = null; + this.phone = null; } - before:any; - emmnerr:any; - Load:any - $event:any; - constructor(private contactService: ContactService,private router: Router,private _flashMessagesService: FlashMessagesService,public dialogRef: MdDialogRef,private fb:FormBuilder,private reportService:ReportService - ,@Inject(MD_DIALOG_DATA) public data: any) { - console.log("DATATATATA",data); - if(data){ - if(data.role=="technitian"){ - this.title="ADD TECHNICIAN"; - this.isTechnician=true; - this.role=data.role - } + before: any; + emmnerr: any; + Load: any; + $event: any; + constructor( + private contactService: ContactService, + private router: Router, + private _flashMessagesService: FlashMessagesService, + public dialogRef: MdDialogRef, + private fb: FormBuilder, + private reportService: ReportService, + @Inject(MD_DIALOG_DATA) public data: any + ) { + console.log("DATATATATA", data); + if (data) { + if (data.role == "technitian") { + this.title = "ADD TECHNICIAN"; + this.isTechnician = true; + this.role = data.role; } - var script = document.createElement("script"); - script.setAttribute("type", "text/javascript"); - script.setAttribute("src", "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.0/js/intlTelInput-jquery.min.js"); - document.getElementsByTagName("head")[0].appendChild(script); - - var initialObj = { - doctype:'', - image:'', - phone:'' - } - this.imageuploadObject.push(initialObj); } + var script = document.createElement("script"); + script.setAttribute("type", "text/javascript"); + script.setAttribute( + "src", + "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.0/js/intlTelInput-jquery.min.js" + ); + document.getElementsByTagName("head")[0].appendChild(script); - addContact2(){ + var initialObj = { + doctype: "", + image: "", + phone: "", + }; + this.imageuploadObject.push(initialObj); + } + + addContact2() { console.log(this.router.url); - var tzone - if(this.router.url=="/add-device"){ + var tzone; + if (this.router.url == "/add-device") { console.log("in"); - tzone=['Asia/Kolkata'] - this.reportService.addCustomerFunction('') - }else{ + tzone = ["Asia/Kolkata"]; + this.reportService.addCustomerFunction(""); + } else { + tzone = $("#dbselect").multipleSelect("getSelects", "value"); + console.log(tzone); + } + // var tzone + console.log("EMERGENCY FORM", this.emergencyForm.value); - tzone = $('#dbselect').multipleSelect('getSelects','value'); - console.log(tzone); - } - // var tzone - console.log("EMERGENCY FORM",this.emergencyForm.value); - var expDate = new Date(); - expDate.setFullYear(expDate.getFullYear()+1); - var countryData = $('#telephone').intlTelInput("getSelectedCountryData"); - console.log(countryData); + expDate.setFullYear(expDate.getFullYear() + 1); + var countryData = $("#telephone").intlTelInput("getSelectedCountryData"); + console.log(countryData); this.countrySelected = { - countryCode : countryData.iso2, - dialcode: countryData.dialCode + countryCode: countryData.iso2, + dialcode: countryData.dialCode, + }; + if ( + this.first_name == null || + this.last_name == null || + this.passwordd == null + ) { + return this._flashMessagesService.show("Please fill all Requied fields", { + cssClass: "alert-danger", + timeout: 3000, + }); } - if(this.first_name==null || this.last_name==null || this.passwordd==null ) - { - return this._flashMessagesService.show('Please fill all Requied fields', { cssClass: 'alert-danger', timeout: 3000 }); - + // else if((this.userID == undefined)||(this.userID.trim() == '')){ + // return this._flashMessagesService.show('User ID is required', { cssClass: 'alert-danger', timeout: 3000 }); + // } + // else if((this.emaill == undefined)||(this.emaill.trim() == '')){ + + // return this._flashMessagesService.show('Email is mandatory', { cssClass: 'alert-danger', timeout: 3000 }); + // } + else if (this.password2 != this.passwordd) { + // this._flashMessagesService.show('Password and Confirm Password do not match', { cssClass: 'alert-danger', timeout: 3000 }); + this.tost1("psdnmtch"); + } else if (this.emaill && this.phone) { + this.Load = true; + var emergencyContact = { + contact1: { + name: this.emergencyForm.value.emg_name1, + cell1: this.emergencyForm.value.emg_cell1, + cell2: this.emergencyForm.value.emg_cell2, + phone1: this.emergencyForm.value.emg_phone1, + phone2: this.emergencyForm.value.emg_phone2, + }, + contact2: { + name: this.emergencyForm.value.emg_name2, + cell1: this.emergencyForm.value.emg_cell3, + cell2: this.emergencyForm.value.emg_cell4, + phone1: this.emergencyForm.value.emg_phone3, + phone2: this.emergencyForm.value.emg_phone4, + }, + }; + if (this.dealerObj) { + this.useridd = this.dealerObj.dealer_id; + // console.log(this.useridd); + } + let newContact2 :any= { + first_name: this.first_name, + last_name: this.last_name, + email: this.emaill, + password: this.passwordd, + phone: this.phone, + supAdmin: this.sup_admin, + isDealer: false, + expdate: new Date(expDate).toISOString(), + Dealer: this.useridd, + custumer: true, + user_id: this.userID, + address: this.address, + emergencyContact: emergencyContact, + }; + console.log("1->", newContact2); + if (this.countrySelected != undefined) { + newContact2["std_code"] = this.countrySelected; + } + if (tzone != undefined) { + newContact2["timezone"] = tzone[0]; + } + if (this.role != undefined) { + newContact2["role"] = this.role; } - // else if((this.userID == undefined)||(this.userID.trim() == '')){ - // return this._flashMessagesService.show('User ID is required', { cssClass: 'alert-danger', timeout: 3000 }); - // } - // else if((this.emaill == undefined)||(this.emaill.trim() == '')){ - - // return this._flashMessagesService.show('Email is mandatory', { cssClass: 'alert-danger', timeout: 3000 }); - // } - else if(this.password2 != this.passwordd){ - // this._flashMessagesService.show('Password and Confirm Password do not match', { cssClass: 'alert-danger', timeout: 3000 }); - this.tost1("psdnmtch") - } - else if (this.emaill && this.phone){ - this.Load=true - var emergencyContact={ - contact1:{ - name:this.emergencyForm.value.emg_name1, - cell1:this.emergencyForm.value.emg_cell1, - cell2:this.emergencyForm.value.emg_cell2, - phone1:this.emergencyForm.value.emg_phone1, - phone2:this.emergencyForm.value.emg_phone2 - - }, - contact2:{ - name:this.emergencyForm.value.emg_name2, - cell1:this.emergencyForm.value.emg_cell3, - cell2:this.emergencyForm.value.emg_cell4, - phone1:this.emergencyForm.value.emg_phone3, - phone2:this.emergencyForm.value.emg_phone4 + if (this.imageuploadObject.length > 0) { + for (var d = 0; d < this.imageuploadObject.length; d++) { + if ( + this.imageuploadObject[d].doctype == "" && + this.imageuploadObject[d].image == "" && + this.imageuploadObject[d].phone == "" + ) { + this.imageuploadObject.splice(d, 1); } } - if(this.dealerObj){ - this.useridd= this.dealerObj.dealer_id; - // console.log(this.useridd); - } - const newContact2 ={ - first_name: this.first_name, - last_name: this.last_name, - email: this.emaill, - password: this.passwordd, - phone: this.phone, - supAdmin:this.sup_admin, - isDealer: false, - expdate : new Date(expDate).toISOString(), - Dealer: this.useridd, - custumer:true, - user_id:this.userID, - address:this.address, - emergencyContact:emergencyContact - } - console.log("1->",newContact2); - if(this.countrySelected != undefined){ - newContact2['std_code']=this.countrySelected; - } - if(tzone != undefined){ - newContact2['timezone'] = tzone[0]; - } - if(this.role != undefined){ - newContact2['role'] = this.role; - } + } + console.log("Final DOC ARRAY", this.imageuploadObject); + newContact2["imageDoc"] = this.imageuploadObject; + console.log(newContact2); - if(this.imageuploadObject.length > 0){ - - for(var d = 0 ;d { - if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "User Duplicate"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Email ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Mobile Number already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this.clear(); - console.log(contact); - // USER_ID already exists - this.Load=false - if(this.router.url!="/add-device"){ - this.onNoClick("succ"); - this.contacts.push(contact); - }else{ - this._flashMessagesService.show(contact.message, { cssClass: 'alert-success', timeout: 3000 }); - } - } - - }, (err: any) => { - // console.log(err.status); - console.log(err); - if(err.status == 500) - { - this.Load=false - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.split(':')[1]; - console.log(this.data_descip); - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // this.data_descip, - // 'error' - // ) - } - else if(err.status==401){ - this.Load=false; - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.message + if(this.sup_admin == '620ca3e45abdcf25b5d866df'){ - this._flashMessagesService.show("Access Denied", { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // 'Internal Server error , Please try after sometime !!!', - // 'error' - // ) - - }else{ - this.Load=false; - this._flashMessagesService.show("Internal Server Error, Please try after sometime !!!", { cssClass: 'alert-danger', timeout: 3000 }); - } - }); - - } - else if(this.phone){ - this.Load=true - if(this.dealerObj){ - this.useridd= this.dealerObj.dealer_id; - } - var emergencyContact={ - contact1:{ - name:this.emergencyForm.value.emg_name1, - cell1:this.emergencyForm.value.emg_cell1, - cell2:this.emergencyForm.value.emg_cell2, - phone1:this.emergencyForm.value.emg_phone1, - phone2:this.emergencyForm.value.emg_phone2 - - }, - contact2:{ - name:this.emergencyForm.value.emg_name2, - cell1:this.emergencyForm.value.emg_cell3, - cell2:this.emergencyForm.value.emg_cell4, - phone1:this.emergencyForm.value.emg_phone3, - phone2:this.emergencyForm.value.emg_phone4 + newContact2.bussinessType = this.bussinessType; + } + this.contactService.addContact(newContact2).subscribe( + (contact) => { + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "User Duplicate") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Email ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Mobile Number already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this.clear(); + console.log(contact); + // USER_ID already exists + this.Load = false; + if (this.router.url != "/add-device") { + this.onNoClick("succ"); + this.contacts.push(contact); + } else { + this._flashMessagesService.show(contact.message, { + cssClass: "alert-success", + timeout: 3000, + }); + } + } + }, + (err: any) => { + // console.log(err.status); + console.log(err); + if (err.status == 500) { + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.split(":")[1]; + console.log(this.data_descip); + this._flashMessagesService.show(this.data_descip, { + cssClass: "alert-danger", + timeout: 3000, + }); + // swal( + // 'Error', + // this.data_descip, + // 'error' + // ) + } else if (err.status == 401) { + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.message; + this._flashMessagesService.show("Access Denied", { + cssClass: "alert-danger", + timeout: 3000, + }); + // swal( + // 'Error', + // 'Internal Server error , Please try after sometime !!!', + // 'error' + // ) + } else { + this.Load = false; + this._flashMessagesService.show( + "Internal Server Error, Please try after sometime !!!", + { cssClass: "alert-danger", timeout: 3000 } + ); } } + ); + } else if (this.phone) { + this.Load = true; + if (this.dealerObj) { + this.useridd = this.dealerObj.dealer_id; + } + var emergencyContact = { + contact1: { + name: this.emergencyForm.value.emg_name1, + cell1: this.emergencyForm.value.emg_cell1, + cell2: this.emergencyForm.value.emg_cell2, + phone1: this.emergencyForm.value.emg_phone1, + phone2: this.emergencyForm.value.emg_phone2, + }, + contact2: { + name: this.emergencyForm.value.emg_name2, + cell1: this.emergencyForm.value.emg_cell3, + cell2: this.emergencyForm.value.emg_cell4, + phone1: this.emergencyForm.value.emg_phone3, + phone2: this.emergencyForm.value.emg_phone4, + }, + }; - // if (!this.executed) { - // this.executed = true; - const newContact2 ={ - first_name: this.first_name, - last_name: this.last_name, - password: this.passwordd, - supAdmin:this.sup_admin, - expdate : new Date(expDate).toISOString(), - phone: this.phone, - isDealer: false, - Dealer: this.useridd, - custumer:true, - user_id:this.userID, - address:this.address, - emergencyContact:emergencyContact - } -console.log("2->",newContact2); + // if (!this.executed) { + // this.executed = true; + const newContact2 = { + first_name: this.first_name, + last_name: this.last_name, + password: this.passwordd, + supAdmin: this.sup_admin, + expdate: new Date(expDate).toISOString(), + phone: this.phone, + isDealer: false, + Dealer: this.useridd, + custumer: true, + user_id: this.userID, + address: this.address, + emergencyContact: emergencyContact, + }; + console.log("2->", newContact2); - - if(this.countrySelected != undefined){ - newContact2['std_code']=this.countrySelected; - } - if(this.role != undefined){ - newContact2['role'] = this.role; - } + if (this.countrySelected != undefined) { + newContact2["std_code"] = this.countrySelected; + } + if (this.role != undefined) { + newContact2["role"] = this.role; + } - if(tzone != undefined){ - newContact2['timezone'] = tzone[0]; - } + if (tzone != undefined) { + newContact2["timezone"] = tzone[0]; + } - if(this.imageuploadObject.length > 0){ - - for(var d = 0 ;d 0) { + for (var d = 0; d < this.imageuploadObject.length; d++) { + if ( + this.imageuploadObject[d].doctype == "" && + this.imageuploadObject[d].image == "" && + this.imageuploadObject[d].phone == "" + ) { + this.imageuploadObject.splice(d, 1); + } } } - } - newContact2['imageDoc'] = this.imageuploadObject; - this.contactService.addContact(newContact2) - .subscribe(contact => { - console.log(contact); - if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "User Duplicate"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Email ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Mobile Number already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this.clear(); - this.Load=false; - if(this.router.url!="/add-device"){ - - this.onNoClick("succ"); - this.contacts.push(contact); - }else{ - this._flashMessagesService.show(contact.message, { cssClass: 'alert-success', timeout: 3000 }); - } - + newContact2["imageDoc"] = this.imageuploadObject; + this.contactService.addContact(newContact2).subscribe( + (contact) => { + console.log(contact); + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "User Duplicate") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Email ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Mobile Number already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this.clear(); + this.Load = false; + if (this.router.url != "/add-device") { + this.onNoClick("succ"); + this.contacts.push(contact); + } else { + this._flashMessagesService.show(contact.message, { + cssClass: "alert-success", + timeout: 3000, + }); + } + } + // USER_ID already exists + }, + (err: any) => { + if (err.status == 500) { + // console.log(err._body); + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.split(":")[1]; + console.log(this.data_descip); + this._flashMessagesService.show(this.data_descip, { + cssClass: "alert-danger", + timeout: 3000, + }); + // swal( + // 'Error', + // this.data_descip, + // 'error' + // ) + } else if (err.status == 401) { + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.message; + // console.log("dadsa"); + this._flashMessagesService.show("Access Denied", { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this._flashMessagesService.show( + "Internal Server Error, Please try after sometime", + { cssClass: "alert-danger", timeout: 3000 } + ); + } } - // USER_ID already exists - - }, (err: any) => { - if(err.status == 500) - { - // console.log(err._body); - this.Load=false - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.split(':')[1]; - console.log(this.data_descip); - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // this.data_descip, - // 'error' - // ) - } - else if(err.status==401){ + ); + } else if (this.emaill || this.userID) { + // if (!this.executed) { + // this.executed = true; + console.log("we are here"); + if (this.dealerObj) { + this.useridd = this.dealerObj.dealer_id; + } + var emergencyContact = { + contact1: { + name: this.emergencyForm.value.emg_name1, + cell1: this.emergencyForm.value.emg_cell1, + cell2: this.emergencyForm.value.emg_cell2, + phone1: this.emergencyForm.value.emg_phone1, + phone2: this.emergencyForm.value.emg_phone2, + }, + contact2: { + name: this.emergencyForm.value.emg_name2, + cell1: this.emergencyForm.value.emg_cell3, + cell2: this.emergencyForm.value.emg_cell4, + phone1: this.emergencyForm.value.emg_phone3, + phone2: this.emergencyForm.value.emg_phone4, + }, + }; + console.log(emergencyContact); - this.Load=false; - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.message - // console.log("dadsa"); - this._flashMessagesService.show("Access Denied", { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this._flashMessagesService.show("Internal Server Error, Please try after sometime", { cssClass: 'alert-danger', timeout: 3000 }); - }})} - else if((this.emaill)||(this.userID)){ - // if (!this.executed) { - // this.executed = true; - console.log("we are here"); - if(this.dealerObj){ - this.useridd= this.dealerObj.dealer_id - - } - var emergencyContact={ - contact1:{ - name:this.emergencyForm.value.emg_name1, - cell1:this.emergencyForm.value.emg_cell1, - cell2:this.emergencyForm.value.emg_cell2, - phone1:this.emergencyForm.value.emg_phone1, - phone2:this.emergencyForm.value.emg_phone2 + const newContact2 = { + first_name: this.first_name, + last_name: this.last_name, + password: this.passwordd, + org_name: this.org_name, + email: this.emaill == null ? "" : this.emaill, + phone: this.phone == null ? "" : this.phone, + expdate: new Date(expDate).toISOString(), + supAdmin: this.sup_admin, + isDealer: false, + Dealer: this.useridd, + custumer: true, + user_id: this.userID, + address: this.address, + emergencyContact: emergencyContact, + }; + console.log("3->", newContact2); - }, - contact2:{ - name:this.emergencyForm.value.emg_name2, - cell1:this.emergencyForm.value.emg_cell3, - cell2:this.emergencyForm.value.emg_cell4, - phone1:this.emergencyForm.value.emg_phone3, - phone2:this.emergencyForm.value.emg_phone4 + if (this.countrySelected != undefined) { + newContact2["std_code"] = this.countrySelected; + } + if (this.role != undefined) { + newContact2["role"] = this.role; + } - } - } - console.log(emergencyContact); - - const newContact2 ={ - first_name: this.first_name, - last_name: this.last_name, - password: this.passwordd, - org_name: this.org_name, - email: this.emaill == null?'':this.emaill, - phone : this.phone == null?'':this.phone, - expdate : new Date(expDate).toISOString(), - supAdmin:this.sup_admin, - isDealer: false, - Dealer: this.useridd, - custumer:true, - user_id:this.userID, - address:this.address, - emergencyContact:emergencyContact + if (tzone != undefined) { + newContact2["timezone"] = tzone[0]; + } -} -console.log("3->",newContact2); + if (this.imageuploadObject.length > 0) { + for (var d = 0; d < this.imageuploadObject.length; d++) { + if ( + this.imageuploadObject[d].doctype == "" && + this.imageuploadObject[d].image == "" && + this.imageuploadObject[d].phone == "" + ) { + this.imageuploadObject.splice(d, 1); + } + } + } + newContact2["imageDoc"] = this.imageuploadObject; + this.contactService.addContact(newContact2).subscribe( + (contact) => { + //this.tost1("succ") + console.log(contact); + // USER_ID already exists + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "User Duplicate") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Email ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Mobile Number already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this.clear(); + this.Load = false; + if (this.router.url != "/add-device") { + this.onNoClick("succ"); + this.contacts.push(contact); + } else { + this._flashMessagesService.show(contact.message, { + cssClass: "alert-success", + timeout: 3000, + }); + } + } + }, + (err: any) => { + console.log(); + if (err.status == 500) { + // console.log(err._body); + this.Load = false; + this.emmnerr = JSON.parse(err._body); -if(this.countrySelected != undefined){ - newContact2['std_code']=this.countrySelected; - - } - if(this.role != undefined){ - newContact2['role'] = this.role; - } - - if(tzone != undefined){ - newContact2['timezone'] = tzone[0]; - } - -if(this.imageuploadObject.length > 0){ - - for(var d = 0 ;d { - //this.tost1("succ") - console.log(contact); - // USER_ID already exists - if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "User Duplicate"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Email ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Mobile Number already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this.clear(); - this.Load=false - if(this.router.url!="/add-device"){ - this.onNoClick("succ"); - this.contacts.push(contact); - }else{ - this._flashMessagesService.show(contact.message, { cssClass: 'alert-success', timeout: 3000 }); - } - - } - -}, (err: any) => { - console.log(); - - if(err.status == 500) - { - // console.log(err._body); - this.Load=false - this.emmnerr=JSON.parse(err._body); - - this.data_descip = this.emmnerr.split(':')[1]; - console.log(this.data_descip); - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // this.data_descip, - // 'error' - // ) - // console.log("error to display",this.emmnerr); - // this.tost1("Error") - } - else if(err.status == 401){ - this.Load=false; - this._flashMessagesService.show("Access Denied", { cssClass: 'alert-danger', timeout: 3000 }); - // this.emmnerr=JSON.parse(err._body); - // swal( - // 'Error', - // this.emmnerr.message, - // 'error' - // ) - }else{ - this.Load=false; - this._flashMessagesService.show("Internal Server Error, Please try again sometime !!", { cssClass: 'alert-danger', timeout: 3000 }); - // this.emmnerr=JSON.parse(err._body); - // swal( - // 'Error', - // this.emmnerr.message, - // 'error' - // ) - } -}); - - - } - - - } - - addContact3(){ - - var tzone - if(this.router.url=="/add-device"){ + addContact3() { + var tzone; + if (this.router.url == "/add-device") { console.log("in"); - tzone=['Asia/Kolkata'] - this.reportService.addCustomerFunction('') - }else{ + tzone = ["Asia/Kolkata"]; + this.reportService.addCustomerFunction(""); + } else { + tzone = $("#dbselect").multipleSelect("getSelects", "value"); + console.log(tzone); + } - tzone = $('#dbselect').multipleSelect('getSelects','value'); - console.log(tzone); - } - - // var tzone = $('#dbselect').multipleSelect('getSelects','value'); + // var tzone = $('#dbselect').multipleSelect('getSelects','value'); // console.log(tzone); - console.log("EMERGENCY FORM",this.emergencyForm.value); - + console.log("EMERGENCY FORM", this.emergencyForm.value); + var expDate = new Date(); - expDate.setFullYear(expDate.getFullYear()+1); - var countryData = $('#telephone').intlTelInput("getSelectedCountryData"); - console.log(countryData); + expDate.setFullYear(expDate.getFullYear() + 1); + var countryData = $("#telephone").intlTelInput("getSelectedCountryData"); + console.log(countryData); this.countrySelected = { - countryCode : countryData.iso2, - dialcode: countryData.dialCode + countryCode: countryData.iso2, + dialcode: countryData.dialCode, + }; + if ( + this.first_name == null || + this.last_name == null || + this.passwordd == null + ) { + return this._flashMessagesService.show("Please fill all Requied fields", { + cssClass: "alert-danger", + timeout: 3000, + }); } - if(this.first_name==null || this.last_name==null || this.passwordd==null ) - { - return this._flashMessagesService.show('Please fill all Requied fields', { cssClass: 'alert-danger', timeout: 3000 }); - + // else if((this.userID == undefined)||(this.userID.trim() == '')){ + // return this._flashMessagesService.show('User ID is required', { cssClass: 'alert-danger', timeout: 3000 }); + // } + // else if((this.emaill == undefined)||(this.emaill.trim() == '')){ + + // return this._flashMessagesService.show('Email is mandatory', { cssClass: 'alert-danger', timeout: 3000 }); + // } + else if (this.password2 != this.passwordd) { + // this._flashMessagesService.show('Password and Confirm Password do not match', { cssClass: 'alert-danger', timeout: 3000 }); + this.tost1("psdnmtch"); + } else if (this.emaill && this.phone) { + this.Load = true; + var emergencyContact = { + contact1: { + name: this.emergencyForm.value.emg_name1, + cell1: this.emergencyForm.value.emg_cell1, + cell2: this.emergencyForm.value.emg_cell2, + phone1: this.emergencyForm.value.emg_phone1, + phone2: this.emergencyForm.value.emg_phone2, + }, + contact2: { + name: this.emergencyForm.value.emg_name2, + cell1: this.emergencyForm.value.emg_cell3, + cell2: this.emergencyForm.value.emg_cell4, + phone1: this.emergencyForm.value.emg_phone3, + phone2: this.emergencyForm.value.emg_phone4, + }, + }; + if (this.dealerObj) { + this.useridd = this.dealerObj.dealer_id; + // console.log(this.useridd); + } + const newContact2 = { + first_name: this.first_name, + last_name: this.last_name, + email: this.emaill, + password: this.passwordd, + phone: this.phone, + supAdmin: this.sup_admin, + isDealer: false, + expdate: new Date(expDate).toISOString(), + Dealer: this.useridd, + custumer: true, + user_id: this.userID, + address: this.address, + emergencyContact: emergencyContact, + }; + console.log("1->", newContact2); + if (this.countrySelected != undefined) { + newContact2["std_code"] = this.countrySelected; + } + if (tzone != undefined) { + newContact2["timezone"] = tzone[0]; + } + if (this.role != undefined) { + newContact2["role"] = this.role; } - // else if((this.userID == undefined)||(this.userID.trim() == '')){ - // return this._flashMessagesService.show('User ID is required', { cssClass: 'alert-danger', timeout: 3000 }); - // } - // else if((this.emaill == undefined)||(this.emaill.trim() == '')){ - - // return this._flashMessagesService.show('Email is mandatory', { cssClass: 'alert-danger', timeout: 3000 }); - // } - else if(this.password2 != this.passwordd){ - // this._flashMessagesService.show('Password and Confirm Password do not match', { cssClass: 'alert-danger', timeout: 3000 }); - this.tost1("psdnmtch") - } - else if (this.emaill && this.phone){ - this.Load=true - var emergencyContact={ - contact1:{ - name:this.emergencyForm.value.emg_name1, - cell1:this.emergencyForm.value.emg_cell1, - cell2:this.emergencyForm.value.emg_cell2, - phone1:this.emergencyForm.value.emg_phone1, - phone2:this.emergencyForm.value.emg_phone2 - - }, - contact2:{ - name:this.emergencyForm.value.emg_name2, - cell1:this.emergencyForm.value.emg_cell3, - cell2:this.emergencyForm.value.emg_cell4, - phone1:this.emergencyForm.value.emg_phone3, - phone2:this.emergencyForm.value.emg_phone4 + if (this.imageuploadObject.length > 0) { + for (var d = 0; d < this.imageuploadObject.length; d++) { + if ( + this.imageuploadObject[d].doctype == "" && + this.imageuploadObject[d].image == "" && + this.imageuploadObject[d].phone == "" + ) { + this.imageuploadObject.splice(d, 1); } } - if(this.dealerObj){ - this.useridd= this.dealerObj.dealer_id; - // console.log(this.useridd); - } - const newContact2 ={ - first_name: this.first_name, - last_name: this.last_name, - email: this.emaill, - password: this.passwordd, - phone: this.phone, - supAdmin:this.sup_admin, - isDealer: false, - expdate : new Date(expDate).toISOString(), - Dealer: this.useridd, - custumer:true, - user_id:this.userID, - address:this.address, - emergencyContact:emergencyContact - } - console.log("1->",newContact2); - if(this.countrySelected != undefined){ - newContact2['std_code']=this.countrySelected; - } - if(tzone != undefined){ - newContact2['timezone'] = tzone[0]; - } - if(this.role != undefined){ - newContact2['role'] = this.role; - } - - if(this.imageuploadObject.length > 0){ - - for(var d = 0 ;d { - if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "User Duplicate"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Email ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Mobile Number already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this.clear(); - console.log(contact); - // USER_ID already exists - this.Load=false - if(this.router.url!="/add-device"){ - - this.onNoClick("succ"); - this.contacts.push(contact); - }else{ - this._flashMessagesService.show(contact.message, { cssClass: 'alert-success', timeout: 3000 }); - } - // this.onNoClick("succ"); - // this.contacts.push(contact); - } - - }, (err: any) => { - // console.log(err.status); - console.log(err); - if(err.status == 500) - { - this.Load=false - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.split(':')[1]; - console.log(this.data_descip); - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // this.data_descip, - // 'error' - // ) - } - else if(err.status==401){ - this.Load=false - this.Load=false - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.message; - this._flashMessagesService.show("Access Denied", { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // 'Internal Server error , Please try after sometime !!!', - // 'error' - // ) - - }else{ - this.Load=false - swal( - 'Error', - 'Internal Server error , Please try after sometime !!!', - 'error' - ) - } - }); - - } - else if(this.phone){ - this.Load=true - if(this.dealerObj){ - this.useridd= this.dealerObj.dealer_id; - } - var emergencyContact={ - contact1:{ - name:this.emergencyForm.value.emg_name1, - cell1:this.emergencyForm.value.emg_cell1, - cell2:this.emergencyForm.value.emg_cell2, - phone1:this.emergencyForm.value.emg_phone1, - phone2:this.emergencyForm.value.emg_phone2 - - }, - contact2:{ - name:this.emergencyForm.value.emg_name2, - cell1:this.emergencyForm.value.emg_cell3, - cell2:this.emergencyForm.value.emg_cell4, - phone1:this.emergencyForm.value.emg_phone3, - phone2:this.emergencyForm.value.emg_phone4 - + } + console.log("Final DOC ARRAY", this.imageuploadObject); + newContact2["imageDoc"] = this.imageuploadObject; + console.log(newContact2); + this.contactService.post("/users/addTechnician", newContact2).subscribe( + (contact: any) => { + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "User Duplicate") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Email ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Mobile Number already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this.clear(); + console.log(contact); + // USER_ID already exists + this.Load = false; + if (this.router.url != "/add-device") { + this.onNoClick("succ"); + this.contacts.push(contact); + } else { + this._flashMessagesService.show(contact.message, { + cssClass: "alert-success", + timeout: 3000, + }); + } + // this.onNoClick("succ"); + // this.contacts.push(contact); + } + }, + (err: any) => { + // console.log(err.status); + console.log(err); + if (err.status == 500) { + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.split(":")[1]; + console.log(this.data_descip); + this._flashMessagesService.show(this.data_descip, { + cssClass: "alert-danger", + timeout: 3000, + }); + // swal( + // 'Error', + // this.data_descip, + // 'error' + // ) + } else if (err.status == 401) { + this.Load = false; + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.message; + this._flashMessagesService.show("Access Denied", { + cssClass: "alert-danger", + timeout: 3000, + }); + // swal( + // 'Error', + // 'Internal Server error , Please try after sometime !!!', + // 'error' + // ) + } else { + this.Load = false; + swal( + "Error", + "Internal Server error , Please try after sometime !!!", + "error" + ); } } + ); + } else if (this.phone) { + this.Load = true; + if (this.dealerObj) { + this.useridd = this.dealerObj.dealer_id; + } + var emergencyContact = { + contact1: { + name: this.emergencyForm.value.emg_name1, + cell1: this.emergencyForm.value.emg_cell1, + cell2: this.emergencyForm.value.emg_cell2, + phone1: this.emergencyForm.value.emg_phone1, + phone2: this.emergencyForm.value.emg_phone2, + }, + contact2: { + name: this.emergencyForm.value.emg_name2, + cell1: this.emergencyForm.value.emg_cell3, + cell2: this.emergencyForm.value.emg_cell4, + phone1: this.emergencyForm.value.emg_phone3, + phone2: this.emergencyForm.value.emg_phone4, + }, + }; - // if (!this.executed) { - // this.executed = true; - const newContact2 ={ - first_name: this.first_name, - last_name: this.last_name, - password: this.passwordd, - supAdmin:this.sup_admin, - expdate : new Date(expDate).toISOString(), - phone: this.phone, - isDealer: false, - Dealer: this.useridd, - custumer:true, - user_id:this.userID, - address:this.address, - emergencyContact:emergencyContact - } -console.log("2->",newContact2); + // if (!this.executed) { + // this.executed = true; + const newContact2 = { + first_name: this.first_name, + last_name: this.last_name, + password: this.passwordd, + supAdmin: this.sup_admin, + expdate: new Date(expDate).toISOString(), + phone: this.phone, + isDealer: false, + Dealer: this.useridd, + custumer: true, + user_id: this.userID, + address: this.address, + emergencyContact: emergencyContact, + }; + console.log("2->", newContact2); - - if(this.countrySelected != undefined){ - newContact2['std_code']=this.countrySelected; - } - if(this.role != undefined){ - newContact2['role'] = this.role; - } + if (this.countrySelected != undefined) { + newContact2["std_code"] = this.countrySelected; + } + if (this.role != undefined) { + newContact2["role"] = this.role; + } - if(tzone != undefined){ - newContact2['timezone'] = tzone[0]; - } + if (tzone != undefined) { + newContact2["timezone"] = tzone[0]; + } - if(this.imageuploadObject.length > 0){ - - for(var d = 0 ;d 0) { + for (var d = 0; d < this.imageuploadObject.length; d++) { + if ( + this.imageuploadObject[d].doctype == "" && + this.imageuploadObject[d].image == "" && + this.imageuploadObject[d].phone == "" + ) { + this.imageuploadObject.splice(d, 1); + } } } - } - newContact2['imageDoc'] = this.imageuploadObject; - this.contactService.post('/users/addTechnician',newContact2) - .subscribe((contact:any) => { - console.log(contact); - if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "User Duplicate"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Email ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Mobile Number already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this.clear(); - this.Load=false; - if(this.router.url!="/add-device"){ - - this.onNoClick("succ"); - this.contacts.push(contact); - }else{ - this._flashMessagesService.show(contact.message, { cssClass: 'alert-success', timeout: 3000 }); - } - // this.onNoClick("succ"); - // this.contacts.push(contact); + newContact2["imageDoc"] = this.imageuploadObject; + this.contactService.post("/users/addTechnician", newContact2).subscribe( + (contact: any) => { + console.log(contact); + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "User Duplicate") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Email ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Mobile Number already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this.clear(); + this.Load = false; + if (this.router.url != "/add-device") { + this.onNoClick("succ"); + this.contacts.push(contact); + } else { + this._flashMessagesService.show(contact.message, { + cssClass: "alert-success", + timeout: 3000, + }); + } + // this.onNoClick("succ"); + // this.contacts.push(contact); + } + // USER_ID already exists + }, + (err: any) => { + if (err.status == 500) { + // console.log(err._body); + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.split(":")[1]; + console.log(this.data_descip); + swal("Error", this.data_descip, "error"); + } else if (err.status == 401) { + this.Load = false; + this.emmnerr = JSON.parse(err._body); + console.log(this.emmnerr); + this.data_descip = this.emmnerr.message; + this._flashMessagesService.show("Access Denied", { + cssClass: "alert-danger", + timeout: 3000, + }); + // swal( + // 'Error', + // 'Internal Server error , Please try after sometime !!!', + // 'error' + // ) + } else { + this.Load = false; + this._flashMessagesService.show( + "Internal Server error , Please try after sometime !!!", + { cssClass: "alert-danger", timeout: 3000 } + ); + } } - // USER_ID already exists - - }, (err: any) => { - if(err.status == 500) - { - // console.log(err._body); - this.Load=false - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.split(':')[1]; - console.log(this.data_descip); - swal( - 'Error', - this.data_descip, - 'error' - ) - } - else if(err.status==401){ - this.Load=false - this.emmnerr=JSON.parse(err._body); - console.log(this.emmnerr); - this.data_descip = this.emmnerr.message; - this._flashMessagesService.show("Access Denied", { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // 'Internal Server error , Please try after sometime !!!', - // 'error' - // ) - }else{ - this.Load=false; - this._flashMessagesService.show('Internal Server error , Please try after sometime !!!', { cssClass: 'alert-danger', timeout: 3000 }); - } - })} - else if((this.emaill)||(this.userID)){ - // if (!this.executed) { - // this.executed = true; - console.log("we are here"); - if(this.dealerObj){ - this.useridd= this.dealerObj.dealer_id - - } - var emergencyContact={ - contact1:{ - name:this.emergencyForm.value.emg_name1, - cell1:this.emergencyForm.value.emg_cell1, - cell2:this.emergencyForm.value.emg_cell2, - phone1:this.emergencyForm.value.emg_phone1, - phone2:this.emergencyForm.value.emg_phone2 + ); + } else if (this.emaill || this.userID) { + // if (!this.executed) { + // this.executed = true; + console.log("we are here"); + if (this.dealerObj) { + this.useridd = this.dealerObj.dealer_id; + } + var emergencyContact = { + contact1: { + name: this.emergencyForm.value.emg_name1, + cell1: this.emergencyForm.value.emg_cell1, + cell2: this.emergencyForm.value.emg_cell2, + phone1: this.emergencyForm.value.emg_phone1, + phone2: this.emergencyForm.value.emg_phone2, + }, + contact2: { + name: this.emergencyForm.value.emg_name2, + cell1: this.emergencyForm.value.emg_cell3, + cell2: this.emergencyForm.value.emg_cell4, + phone1: this.emergencyForm.value.emg_phone3, + phone2: this.emergencyForm.value.emg_phone4, + }, + }; + console.log(emergencyContact); - }, - contact2:{ - name:this.emergencyForm.value.emg_name2, - cell1:this.emergencyForm.value.emg_cell3, - cell2:this.emergencyForm.value.emg_cell4, - phone1:this.emergencyForm.value.emg_phone3, - phone2:this.emergencyForm.value.emg_phone4 + const newContact2 = { + first_name: this.first_name, + last_name: this.last_name, + password: this.passwordd, + org_name: this.org_name, + email: this.emaill, + expdate: new Date(expDate).toISOString(), + supAdmin: this.sup_admin, + isDealer: false, + Dealer: this.useridd, + custumer: true, + user_id: this.userID, + address: this.address, + emergencyContact: emergencyContact, + }; + console.log("3->", newContact2); - } - } - console.log(emergencyContact); - - const newContact2 ={ - first_name: this.first_name, - last_name: this.last_name, - password: this.passwordd, - org_name: this.org_name, - email: this.emaill, - expdate : new Date(expDate).toISOString(), - supAdmin:this.sup_admin, - isDealer: false, - Dealer: this.useridd, - custumer:true, - user_id:this.userID, - address:this.address, - emergencyContact:emergencyContact + if (this.countrySelected != undefined) { + newContact2["std_code"] = this.countrySelected; + } + if (this.role != undefined) { + newContact2["role"] = this.role; + } -} -console.log("3->",newContact2); + if (tzone != undefined) { + newContact2["timezone"] = tzone[0]; + } + if (this.imageuploadObject.length > 0) { + for (var d = 0; d < this.imageuploadObject.length; d++) { + if ( + this.imageuploadObject[d].doctype == "" && + this.imageuploadObject[d].image == "" && + this.imageuploadObject[d].phone == "" + ) { + this.imageuploadObject.splice(d, 1); + } + } + } + newContact2["imageDoc"] = this.imageuploadObject; + this.contactService.post("/users/addTechnician", newContact2).subscribe( + (contact: any) => { + //this.tost1("succ") + console.log(contact); + // USER_ID already exists + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } + if (contact.message == "USER_ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "User Duplicate") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Email ID already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (contact.message == "Mobile Number already exists") { + return this._flashMessagesService.show(contact.message, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else { + this.clear(); + this.Load = false; + if (this.router.url != "/add-device") { + this.onNoClick("succ"); + this.contacts.push(contact); + } else { + this._flashMessagesService.show(contact.message, { + cssClass: "alert-success", + timeout: 3000, + }); + } + // this.onNoClick("succ"); + // this.contacts.push(contact); + } + }, + (err: any) => { + if (err.status == 500) { + // console.log(err._body); + this.Load = false; + this.emmnerr = JSON.parse(err._body); -if(this.countrySelected != undefined){ - newContact2['std_code']=this.countrySelected; - - } - if(this.role != undefined){ - newContact2['role'] = this.role; - } - - if(tzone != undefined){ - newContact2['timezone'] = tzone[0]; - } - -if(this.imageuploadObject.length > 0){ - - for(var d = 0 ;d { - //this.tost1("succ") - console.log(contact); - // USER_ID already exists - if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }if(contact.message == "USER_ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "User Duplicate"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Email ID already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else if(contact.message == "Mobile Number already exists"){ - return this._flashMessagesService.show(contact.message, { cssClass: 'alert-danger', timeout: 3000 }); - }else{ - this.clear(); - this.Load=false; - if(this.router.url!="/add-device"){ - - this.onNoClick("succ"); - this.contacts.push(contact); - }else{ - this._flashMessagesService.show(contact.message, { cssClass: 'alert-success', timeout: 3000 }); - } - // this.onNoClick("succ"); - // this.contacts.push(contact); - } - -}, (err: any) => { - if(err.status == 500) - { - // console.log(err._body); - this.Load=false - this.emmnerr=JSON.parse(err._body); - - this.data_descip = this.emmnerr.split(':')[1]; - console.log(this.data_descip); - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // this.data_descip, - // 'error' - // ) - // console.log("error to display",this.emmnerr); - // this.tost1("Error") - } - else if(err.status==401){ - this.Load=false; - this.emmnerr=JSON.parse(err._body); - this.data_descip = this.emmnerr.message; - this._flashMessagesService.show("Access Denied", { cssClass: 'alert-danger', timeout: 3000 }); - // swal( - // 'Error', - // 'Internal Server error , Please try after sometime !!!', - // 'error' - // ) - }else{ - this.Load=false; - this._flashMessagesService.show( 'Internal Server error , Please try after sometime !!!', { cssClass: 'alert-danger', timeout: 3000 }); - }}); - - - } - - - } - data_descip:any; - onNoClick(a): void { - this.dialogRef.close(a); - } - - closebox(){ - this.dialogRef.close(null); - } - tost1(divid){ - if(divid == "Error"){ - this.data_descip = "User already registerd" - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - } - else if(divid == "succ"){ - this.data_descip = "Custumer Successfully Added" - this._flashMessagesService.show("Custumer Successfully Added", { cssClass: 'alert-success', timeout: 3000 }); - } - else if(divid == "psdnmtch"){ - this.data_descip = "Error: Password and confirm password do not match" - this._flashMessagesService.show(this.data_descip, { cssClass: 'alert-danger', timeout: 3000 }); - } - // function launch_toast() { - // // console.log(divid); - // var x = document.getElementById("toast") - // //console.log(x); - // x.className = "show"; - // setTimeout(function(){ x.className = x.className.replace("show", ""); }, 450000); - // } - } - - valclear(){ - this._flashMessagesService.show("Cleared", { cssClass: 'alert-warning', timeout: 200000 }); - + data_descip: any; + onNoClick(a): void { + this.dialogRef.close(a); } - click1(event){ - this.show2=false; - this.show3=true; - if((event.keyCode >= 48 && event.keyCode <= 57) || event.keyCode == 9 || event.keyCode == 8 || event.keyCode == 46 || event.keyCode == 37 || event.keyCode == 39){ + closebox() { + this.dialogRef.close(null); + } + tost1(divid) { + if (divid == "Error") { + this.data_descip = "User already registerd"; + this._flashMessagesService.show(this.data_descip, { + cssClass: "alert-danger", + timeout: 3000, + }); + } else if (divid == "succ") { + this.data_descip = "Custumer Successfully Added"; + this._flashMessagesService.show("Custumer Successfully Added", { + cssClass: "alert-success", + timeout: 3000, + }); + } else if (divid == "psdnmtch") { + this.data_descip = "Error: Password and confirm password do not match"; + this._flashMessagesService.show(this.data_descip, { + cssClass: "alert-danger", + timeout: 3000, + }); } + // function launch_toast() { + // // console.log(divid); + // var x = document.getElementById("toast") + // //console.log(x); + // x.className = "show"; + // setTimeout(function(){ x.className = x.className.replace("show", ""); }, 450000); + // } + } + + valclear() { + this._flashMessagesService.show("Cleared", { + cssClass: "alert-warning", + timeout: 200000, + }); + } + + click1(event) { + this.show2 = false; + this.show3 = true; + if ( + (event.keyCode >= 48 && event.keyCode <= 57) || + event.keyCode == 9 || + event.keyCode == 8 || + event.keyCode == 46 || + event.keyCode == 37 || + event.keyCode == 39 + ) { + } else event.preventDefault(); /* if(event.keyCode===13){ this.otp_window(); } */ - - else - event.preventDefault(); - } - click2(event2){ - this.show2=true; - this.show3=false; - - } - call(e) { - { - if (e.keyCode == 32) { - e.preventDefault(); - } - } - } - geo(){ - this.router.navigateByUrl("geofencing"); - } - devicess:any; - final:any; - getdev(){ - let foods = [] - this.contactService.getDevice(this.emailid,this.useridd).subscribe( - - data => { - this.devicess = data - + click2(event2) { + this.show2 = true; + this.show3 = false; + } + call(e) { + { + if (e.keyCode == 32) { + e.preventDefault(); + } + } + } + geo() { + this.router.navigateByUrl("geofencing"); + } + devicess: any; + final: any; + getdev() { + let foods = []; + this.contactService + .getDevice(this.emailid, this.useridd) + .subscribe((data) => { + this.devicess = data; + let swap; - for(let g = 0;gthis.devicess.devices[c+1].Device_Name){ - swap = this.devicess.devices[c]; - this.devicess.devices[c] = this.devicess.devices[c+1]; - this.devicess.devices[c+1] = swap; + for (let g = 0; g < this.devicess.devices.length - 1; g++) { + for (let c = 0; c < this.devicess.devices.length - g - 1; c++) { + if ( + this.devicess.devices[c].Device_Name > + this.devicess.devices[c + 1].Device_Name + ) { + swap = this.devicess.devices[c]; + this.devicess.devices[c] = this.devicess.devices[c + 1]; + this.devicess.devices[c + 1] = swap; } } } - - this.final = this.devicess.devices - - for(let i=0;i { + $("#telephone").intlTelInput({ + allowDropdown: true, + autoPlaceholder: "Enter Mobile Number", + initialCountry: "in", + preferredCountries: ["in", "us"], + separateDialCode: true, + }); + }, 300); - this.emergencyForm=this.fb.group({ - emg_name1:[''], - emg_name2:[''], - emg_cell1:[''], - emg_cell2:[''], - emg_cell3:[''], - emg_cell4:[''], - emg_phone1:[''], - emg_phone2:[''], - emg_phone3:[''], - emg_phone4:[''] - - }) - setTimeout(() => { - $("#telephone").intlTelInput({ - allowDropdown:true, - autoPlaceholder:"Enter Mobile Number", - initialCountry:"in", - preferredCountries: ["in","us" ], - separateDialCode:true, - }); - }, 300); - - this.superAdmin = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).isSuperAdmin; + this.superAdmin = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).isSuperAdmin; // console.log(this.superAdmin) - this.fs = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).fn; - this.ls = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).ln; - if(!this.superAdmin){ - this.dealerName = this.fs + this.fs = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).fn; + this.ls = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).ln; + if (!this.superAdmin) { + this.dealerName = this.fs; } - this.emailid = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).email; - this.or = JSON.parse(window.atob(window.localStorage.token.split(".")[1]))._orgName; - this.useridd = JSON.parse(window.atob(window.localStorage.token.split('.')[1]))._id; - this.mb = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).phn; + this.emailid = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).email; + this.or = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + )._orgName; + this.useridd = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + )._id; + this.mb = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).phn; - this.custtype = JSON.parse(window.atob(window.localStorage.token.split('.')[1])).isDealer; + this.custtype = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).isDealer; - this.sup_admin = JSON.parse(window.atob(window.localStorage.token.split(".")[1])).supAdmin; - console.log("superAdmin=>",this.sup_admin); + this.sup_admin = JSON.parse( + window.atob(window.localStorage.token.split(".")[1]) + ).supAdmin; + console.log("superAdmin=>", this.sup_admin); - if(this.superAdmin){ + if (this.superAdmin) { this.sup_admin = this.useridd; } - // this.getdev(); - if(this.mb.charAt(0)=="n"){ - this.mb = ' ' - } - if(this.custtype == true){ - this.cust = true; - } - - this.logo=window.localStorage['logo']; - this.text=window.localStorage['text']; - this.dealerDetail(); - - var Phoneinput = document.getElementById('telephone'); - var that = this; - Phoneinput.addEventListener("countrychange",function(p) { - console.log("Inside Function"); - var countryData = $('#telephone').intlTelInput("getSelectedCountryData"); - console.log(countryData); - that.countrySelected = { - countryCode : countryData.iso2, - dialcode: countryData.dialCode + // this.getdev(); + if (this.mb.charAt(0) == "n") { + this.mb = " "; } + if (this.custtype == true) { + this.cust = true; + } + + this.logo = window.localStorage["logo"]; + this.text = window.localStorage["text"]; + this.dealerDetail(); + + var Phoneinput = document.getElementById("telephone"); + var that = this; + Phoneinput.addEventListener("countrychange", function (p) { + console.log("Inside Function"); + var countryData = $("#telephone").intlTelInput("getSelectedCountryData"); + console.log(countryData); + that.countrySelected = { + countryCode: countryData.iso2, + dialcode: countryData.dialCode, + }; }); - var timeZn = moment.tz.guess(); - if(timeZn != 'Asia/Calcutta'){ + var timeZn = moment.tz.guess(); + if (timeZn != "Asia/Calcutta") { this.timezone = timeZn; } console.log(this.timezone); + var timeZones = moment.tz.names(); + console.log(timeZones); + this.timezoneArray = []; + for (var i in timeZones) { + this.timezoneArray.push({ + viewValue: + "(GMT" + moment.tz(timeZones[i]).format("Z") + ")" + timeZones[i], + value: timeZones[i], + }); + } - var timeZones = moment.tz.names(); - console.log(timeZones); - this.timezoneArray=[]; - for (var i in timeZones) { - this.timezoneArray.push({ viewValue: "(GMT" + moment.tz(timeZones[i]).format('Z') + ")" + timeZones[i], value: timeZones[i] }); - } - + setTimeout(() => { + $("#dbselect").multipleSelect({ + width: 300, + placeholder: "Select Timezone", + filter: true, + single: true, + selectAll: false, + }); + console.log("INBDKJNDKJNDKJFNKJFBKHJbnkjh"); + }, 100); - setTimeout(() => { - $('#dbselect').multipleSelect({ - width: 300, - placeholder: 'Select Timezone', - filter: true, - single: true, - selectAll: false - }) - console.log("INBDKJNDKJNDKJFNKJFBKHJbnkjh"); - - }, 100); - - this.latLongDetail(); + this.latLongDetail(); } - dealers_info=[]; + dealers_info = []; - dealerDetail(){ + dealerDetail() { // this.dealers_info=[]; - var super_admin = ((this.superAdmin==true)||(this.superAdmin==undefined)) ? this.useridd : this.sup_admin ; - this.contactService.dealer_Info_dealer_list(super_admin) - .subscribe(res=>{ - console.log("Response=>",res); - this.dealers_info=res; - }) - - + var super_admin = + this.superAdmin == true || this.superAdmin == undefined + ? this.useridd + : this.sup_admin; + this.contactService + .dealer_Info_dealer_list(super_admin) + .subscribe((res) => { + console.log("Response=>", res); + this.dealers_info = res; + }); } - filterDealerStates(dlr) { - // console.log(dlr); if (dlr) { + const filterdealerValue: any = dlr; + this.dealerSelect = []; + this.dealerSelect = this.dealers_info.filter(function (p) { + var t = p.dealer_firstname + .toLocaleLowerCase() + .indexOf(filterdealerValue.toLocaleLowerCase()); + // this.option = this.options[i]; - const filterdealerValue:any = dlr; - this.dealerSelect=[]; - this.dealerSelect = this.dealers_info.filter(function(p){ - var t = p.dealer_firstname.toLocaleLowerCase().indexOf(filterdealerValue.toLocaleLowerCase()); - // this.option = this.options[i]; - - - return t > -1; + return t > -1; }); - - return this.dealerSelect; + + return this.dealerSelect; } - } - dealerObj:any; - dealerFinalVal(dlrr){ - - - this.dealerObj=dlrr; + dealerObj: any; + dealerFinalVal(dlrr) { + this.dealerObj = dlrr; // console.log(this.dealerObj); // this.dealerSelect = dlrr; // console.log(this.dealerSelect); - } - documentDetail:any; - imageURL:any; + documentDetail: any; + imageURL: any; documentList = [ { - "docId": "Adhar", - "docName": "Adhar Card" + docId: "Adhar", + docName: "Adhar Card", }, { - "docId": "voterCard", - "docName": "Voter Id" + docId: "voterCard", + docName: "Voter Id", }, { - "docId": "PAN", - "docName": "Pan Card" + docId: "PAN", + docName: "Pan Card", }, { - "docId": "DL", - "docName": "Driving License" + docId: "DL", + docName: "Driving License", }, { - "docId": "Nepali Citizenship", - "docName": "Nepali Citizenship" - } - + docId: "Nepali Citizenship", + docName: "Nepali Citizenship", + }, ]; - documentType(docType){ - console.log("doctypeObject=>",docType); - + documentType(docType) { + console.log("doctypeObject=>", docType); } selectedFile: File; - onFileChanged(event) { + onFileChanged(event) { this.selectedFile = event.target.files[0]; - console.log(this.selectedFile); + console.log(this.selectedFile); } onUpload(imgIndex) { console.log(imgIndex); console.log(this.imageuploadObject); const fd = new FormData(); - console.log("selected file name =>",this.selectedFile.name); - if(this.selectedFile.name == " "){ + console.log("selected file name =>", this.selectedFile.name); + if (this.selectedFile.name == " ") { swal( - 'Upload Error', - 'Please select document type before upload !!!', - 'error' - ) - }else{ - fd.append('photo',this.selectedFile,this.selectedFile.name) - console.log("imgURL=>",fd) ; - this.contactService.imageupload(fd) - .subscribe(res=>{ - console.log(res); - var resImage =''; - resImage = res['_body']; - console.log(res['_body']); - this.imageuploadObject[imgIndex].image = resImage; - console.log(this.imageuploadObject); - // console.log(res); - },err=>{ - swal( - 'Server Error', - 'Internal Server Error , plaese try after sometime !!!', - 'error' - ) - }) + "Upload Error", + "Please select document type before upload !!!", + "error" + ); + } else { + fd.append("photo", this.selectedFile, this.selectedFile.name); + console.log("imgURL=>", fd); + this.contactService.imageupload(fd).subscribe( + (res) => { + console.log(res); + var resImage = ""; + resImage = res["_body"]; + console.log(res["_body"]); + this.imageuploadObject[imgIndex].image = resImage; + console.log(this.imageuploadObject); + // console.log(res); + }, + (err) => { + swal( + "Server Error", + "Internal Server Error , plaese try after sometime !!!", + "error" + ); + } + ); } - } - - docRow:boolean=false;; - AddDocumentsField(addedRow){ - if(addedRow){ - this.docRow = true; - } - var obj={doctype:'',image:'',phone:''}; - this.imageuploadObject.push(obj); - console.log(this.imageuploadObject); - // console.log("ImageuploadObject=>",this.imageuploadObject); } - DeleteDocumentsField(index){ + docRow: boolean = false; + AddDocumentsField(addedRow) { + if (addedRow) { + this.docRow = true; + } + var obj = { doctype: "", image: "", phone: "" }; + this.imageuploadObject.push(obj); + console.log(this.imageuploadObject); + // console.log("ImageuploadObject=>",this.imageuploadObject); + } + + DeleteDocumentsField(index) { console.log(this.imageuploadObject.length); - if(this.imageuploadObject.length == 1){ + if (this.imageuploadObject.length == 1) { this.docRow = false; } this.imageuploadObject.splice(index, 1); - } - passwordtype:any= 'password'; - passwordtype_1:any= 'password'; - passwordIcon:any='visibility_off'; - passwordIcon_1:any='visibility_off'; + passwordtype: any = "password"; + passwordtype_1: any = "password"; + passwordIcon: any = "visibility_off"; + passwordIcon_1: any = "visibility_off"; - showpassword(p:any){ - console.log('inside function'); - - if((p == 'p1')&&(this.passwordtype == "password")){ - this.passwordtype = 'text'; - this.passwordIcon = 'visibility'; - return - - } - - if((p == 'p1')&&(this.passwordtype == "text")){ - this.passwordtype = 'password'; - this.passwordIcon = 'visibility_off'; + showpassword(p: any) { + console.log("inside function"); + + if (p == "p1" && this.passwordtype == "password") { + this.passwordtype = "text"; + this.passwordIcon = "visibility"; return; } - - if((p == 'p2')&&(this.passwordtype_1 == "password")){ - this.passwordtype_1 = 'text'; - this.passwordIcon_1 = 'visibility'; - return; - - } - - if((p == 'p2')&&(this.passwordtype_1 == "text")){ - this.passwordtype_1 = 'password'; - this.passwordIcon_1 = 'visibility_off'; - return; - } - - } - - latLongDetail(){ - var that =this; + if (p == "p1" && this.passwordtype == "text") { + this.passwordtype = "password"; + this.passwordIcon = "visibility_off"; + return; + } + + if (p == "p2" && this.passwordtype_1 == "password") { + this.passwordtype_1 = "text"; + this.passwordIcon_1 = "visibility"; + return; + } + + if (p == "p2" && this.passwordtype_1 == "text") { + this.passwordtype_1 = "password"; + this.passwordIcon_1 = "visibility_off"; + return; + } + } + + latLongDetail() { + var that = this; console.log("Inside Latlong Function"); - if (navigator.geolocation) { - - if(location.protocol != 'https:'){ - this.contactService.getlatLong().subscribe(res=>{ - console.log(res); - let t_latlng = new google.maps.LatLng(res.lat, res.lon); - let request = { - latLng: t_latlng - }; + if (navigator.geolocation) { + if (location.protocol != "https:") { + this.contactService.getlatLong().subscribe((res) => { + console.log(res); + let t_latlng = new google.maps.LatLng(res.lat, res.lon); + let request = { + latLng: t_latlng, + }; this.getAddress(request); - }) - }else{ - navigator.geolocation.getCurrentPosition(function(position) { - var d_lat= position.coords.latitude; - var d_lng=position.coords.longitude; + }); + } else { + navigator.geolocation.getCurrentPosition(function (position) { + var d_lat = position.coords.latitude; + var d_lng = position.coords.longitude; let t_latlng = new google.maps.LatLng(d_lat, d_lng); let request = { - latLng: t_latlng + latLng: t_latlng, }; that.getAddress(request); - }) - - }} + }); + } + } } - getAddress(request){ - let geocoder = new google.maps.Geocoder(); + getAddress(request) { + let geocoder = new google.maps.Geocoder(); geocoder.geocode(request, function (data, status) { - console.log("Inside geocoder function"); + console.log("Inside geocoder function"); var userCountry; if (status == google.maps.GeocoderStatus.OK) { if (data[0] != null) { var address_show = data[0]; - console.log('var=>' ,address_show); + console.log("var=>", address_show); for (var ac = 0; ac < data[0].address_components.length; ac++) { var component = data[0].address_components[ac]; - switch(component.types[0]) { - case 'country': - userCountry = component.short_name; - console.log(userCountry); - break; + switch (component.types[0]) { + case "country": + userCountry = component.short_name; + console.log(userCountry); + break; } - }; - - var aaa = $('#telephone').intlTelInput("setCountry",userCountry); + } + + var aaa = $("#telephone").intlTelInput("setCountry", userCountry); } else { - userCountry = 'in'; + userCountry = "in"; } + } else { + console.log("Inside Error function"); + userCountry = "in"; } - else { - console.log("Inside Error function"); - userCountry = 'in'; - } - }) + }); } } diff --git a/src/app/add-dealer/add-dealer.component.html b/src/app/add-dealer/add-dealer.component.html index e553aff..18d8176 100644 --- a/src/app/add-dealer/add-dealer.component.html +++ b/src/app/add-dealer/add-dealer.component.html @@ -74,6 +74,7 @@
+
Inventory @@ -85,7 +86,29 @@
-
+
+
+
+ * + + Normal + Kyc Approval + Tag + +
+
+ + + All + + {{ item }} + + +
+
+
{{'Upload Documents' | translate}} :