-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js.map
1 lines (1 loc) · 25.4 KB
/
main.js.map
1
{"version":3,"sources":["./src/environments/environment.ts","./src/app/chart/chart.component.ts","./src/app/chart/chart.component.html","./src/app/worldwide/worldwide.service.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/map/map.component.ts","./src/app/map/map.component.html","./src/app/worldwide/worldwide.component.ts","./src/app/worldwide/worldwide.component.html","./src/app/regional/regional.service.ts","./src/app/regional/regional.component.ts","./src/app/regional/regional.component.html","./src/app/app-routing.module.ts","./src/app/chart/chart.service.ts","./src/main.ts","./$_lazy_route_resource lazy namespace object"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AAEzD,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;ACfnE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmE;;;;;;;ICAnE,4EACE;IAAA,sFAawB;IAC1B,4DAAM;;;;IAbF,0DAAuE;IAAvE,gLAAuE;;ADOpE,MAAM,cAAc;IAyBzB,YAAoB,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;QAvB9C,SAAI,GAAG,IAAI,CAAC;QACZ,aAAQ,GAAG,KAAK,CAAC;QAEjB,SAAI,GAAG,EAAE,CAAC;QAEV,SAAI,GAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QAEzB,UAAU;QACV,gBAAW,GAAG,EAAE,CAAC;QACjB,WAAM,GAAG,IAAI,CAAC;QACd,eAAU,GAAG,IAAI,CAAC;QAClB,eAAU,GAAG,IAAI,CAAC;QAClB,UAAK,GAAG,IAAI,CAAC;QACb,UAAK,GAAG,IAAI,CAAC;QACb,mBAAc,GAAG,IAAI,CAAC;QACtB,mBAAc,GAAG,IAAI,CAAC;QACtB,aAAQ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C1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,gBAAgB,CAAC,0DAAU;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;;;;;;;;;;;;ACXpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,qC","file":"main.js","sourcesContent":["// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { Component, OnInit, NgModule, Input } from '@angular/core';\nimport { NgxChartsModule } from '@swimlane/ngx-charts';\nimport { ChartService } from './chart.service';\n\n@Component({\n selector: 'app-chart',\n templateUrl: './chart.component.html',\n styleUrls: ['./chart.component.scss'],\n})\nexport class ChartComponent implements OnInit {\n data;\n init = true;\n haveData = false;\n\n test = [];\n multi: any[];\n view: any[] = [550, 350];\n\n // options\n legendTitle = '';\n legend = true;\n showLabels = true;\n animations = true;\n xAxis = true;\n yAxis = true;\n showYAxisLabel = true;\n showXAxisLabel = true;\n timeline = true;\n legendPosition = 'below';\n\n colorScheme = {\n domain: ['#5746a7', '#c6405d', '#2f7a68'],\n };\n\n constructor(private chartService: ChartService) {}\n change(chosenCountry) {\n if (this.init) {\n this.init = false;\n this.chartService.getData().subscribe((data) => {\n this.data = [...data];\n this.testObject(data[chosenCountry.index].timeseries);\n });\n } else {\n this.testObject(this.data[chosenCountry.index].timeseries);\n }\n }\n ngOnInit(): void {}\n\n testObject(data): void {\n let chartData = [\n {\n name: 'Confirmed',\n series: [],\n },\n {\n name: 'Deaths',\n series: [],\n },\n {\n name: 'Recovered',\n series: [],\n },\n ];\n for (const i in data) {\n if (data.hasOwnProperty(i)) {\n if (data[i].confirmed > -1) {\n chartData[0].series.push({ name: i, value: data[i].confirmed });\n }\n if (data[i].deaths > -1) {\n chartData[1].series.push({ name: i, value: data[i].deaths });\n }\n if (data[i].recovered > -1) {\n chartData[2].series.push({ name: i, value: data[i].recovered });\n }\n }\n }\n this.haveData = true;\n this.test = [...chartData];\n }\n}\n","<div *ngIf=\"haveData\" #chartcontainer class=\"chartcontainer\">\n <ngx-charts-line-chart\n [view]=\"[chartcontainer.offsetWidth, chartcontainer.offsetHeight - 32]\"\n [scheme]=\"colorScheme\"\n [legend]=\"legend\"\n [showXAxisLabel]=\"showXAxisLabel\"\n [showYAxisLabel]=\"showYAxisLabel\"\n [xAxis]=\"xAxis\"\n [yAxis]=\"yAxis\"\n [timeline]=\"timeline\"\n [results]=\"test\"\n [legendPosition]=\"legendPosition\"\n [legendTitle]=\"legendTitle\"\n >\n </ngx-charts-line-chart>\n</div>\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class WorldwideService {\n constructor(private http: HttpClient) {}\n getWorldWideData(): any {\n return this.http.get(\n 'https://master-covid-19-api-laeyoung.endpoint.ainize.ai/jhu-edu/brief'\n );\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.scss'],\n})\nexport class AppComponent {\n title = 'covidmock1';\n chosenCountry = {};\n childEvent(event): void {\n this.chosenCountry = { ...event };\n }\n}\n","<app-worldwide></app-worldwide>\n<app-regional\n (eventChange)=\"childEvent($event); chart.change(chosenCountry)\"\n></app-regional>\n<div class=\"container\">\n <div class=\"row\">\n <div class=\"col-12 col-md-6\"><app-map></app-map></div>\n <div class=\"col-12 col-md-6\">\n <app-chart #chart></app-chart>\n </div>\n </div>\n</div>\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { WorldwideComponent } from './worldwide/worldwide.component';\nimport { HttpClientModule } from '@angular/common/http';\nimport { RegionalComponent } from './regional/regional.component';\nimport { MapComponent } from './map/map.component';\nimport { LeafletModule } from '@asymmetrik/ngx-leaflet';\nimport { ChartComponent } from './chart/chart.component';\nimport { NgxChartsModule } from '@swimlane/ngx-charts';\n// import { NgxGraphModule } from '@swimlane/ngx-graph';\nimport { FormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [\n AppComponent,\n WorldwideComponent,\n RegionalComponent,\n MapComponent,\n ChartComponent,\n ],\n imports: [\n BrowserModule,\n AppRoutingModule,\n HttpClientModule,\n LeafletModule,\n FormsModule,\n NgxChartsModule,\n BrowserAnimationsModule,\n ],\n providers: [],\n bootstrap: [AppComponent],\n})\nexport class AppModule {}\n","import { WorldwideService } from './../worldwide/worldwide.service';\nimport { Component, OnInit } from '@angular/core';\nimport * as L from 'leaflet';\nimport 'leaflet.heat/dist/leaflet-heat.js';\nimport { RegionalService } from '../regional/regional.service';\n@Component({\n selector: 'app-map',\n templateUrl: './map.component.html',\n styleUrls: ['./map.component.scss'],\n})\nexport class MapComponent implements OnInit {\n addressPoints = [];\n options = {\n layers: [\n L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\n maxZoom: 18,\n }),\n ],\n zoom: 5,\n center: L.latLng(21.0278, 105.8342),\n worldCopyJump: true,\n };\n layers = [];\n confirmed;\n constructor(\n private regionService: RegionalService,\n private wwService: WorldwideService\n ) {}\n\n ngOnInit(): void {\n this.wwService.getWorldWideData().subscribe((data) => {\n this.confirmed = data.confirmed;\n });\n if (this.regionService.getData()) {\n this.regionService.getData().subscribe((data) => {\n let limit = 500000;\n data.forEach((country) => {\n if (country.confirmed)\n this.layers.push(\n L.circle([country.location.lat, country.location.lng], {\n radius:\n country.confirmed > limit\n ? limit\n : country.confirmed < 50000\n ? 50000\n : country.confirmed,\n color: 'red',\n stroke: false,\n })\n );\n });\n });\n }\n }\n}\n","<div\n style=\"height: 50vh\"\n leaflet\n [leafletOptions]=\"options\"\n [leafletLayers]=\"layers\"\n></div>\n","import { WorldwideService } from './worldwide.service';\nimport { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-worldwide',\n templateUrl: './worldwide.component.html',\n styleUrls: ['./worldwide.component.scss'],\n})\nexport class WorldwideComponent implements OnInit {\n constructor(private wwService: WorldwideService) {}\n wwData = { rate: 0, recovered: 0, deaths: 0, confirmed: 0 };\n ngOnInit(): void {\n this.wwService.getWorldWideData().subscribe((data) => {\n this.wwData = { ...data };\n this.wwData['rate'] = (this.wwData.deaths / this.wwData.confirmed) * 100;\n });\n }\n}\n","<div class=\"container mt-5\">\n <div class=\"row\">\n <div class=\"col-12\"><h3>World Wide</h3></div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white confirmed mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\">\n <i class=\"fas fa-user-alt\"> </i>Confirmed\n </div>\n <h5 class=\"card-title m-0\">{{ wwData.confirmed | number: \"1.\" }}</h5>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white recovered mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\">\n <i class=\"fas fa-plus-square\"> </i>Recovered\n </div>\n <h5 class=\"card-title m-0\">{{ wwData.recovered | number: \"1.\" }}</h5>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white deaths mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\"><i class=\"fas fa-bed\"> </i>Deaths</div>\n <h5 class=\"card-title m-0\">{{ wwData.deaths | number: \"1.\" }}</h5>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white rate mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\">\n <i class=\"fas fa-exclamation-circle\"> </i>Fatality rate\n </div>\n <h5 class=\"card-title m-0\">{{ wwData.rate | number: \"1.0-2\" }}%</h5>\n </div>\n </div>\n </div>\n </div>\n</div>\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class RegionalService {\n constructor(private http: HttpClient) {}\n getData(): any {\n return this.http.get(\n 'https://master-covid-19-api-laeyoung.endpoint.ainize.ai/jhu-edu/latest'\n );\n }\n}\n","import { Component, EventEmitter, OnInit, Output } from '@angular/core';\nimport { RegionalService } from './regional.service';\n\n@Component({\n selector: 'app-regional',\n templateUrl: './regional.component.html',\n styleUrls: ['./regional.component.scss'],\n})\nexport class RegionalComponent implements OnInit {\n @Output() eventChange = new EventEmitter<any>();\n constructor(private regionService: RegionalService) {}\n countryArray = [];\n chosenCountry = {};\n ngOnInit(): void {\n this.regionService.getData().subscribe((data) => {\n this.countryArray = [...data];\n let index = data.findIndex(\n (country) => country.countryregion === 'Vietnam'\n );\n this.chosenCountry = data[index];\n this.chosenCountry['index'] = index;\n data[index]['index'] = index;\n this.eventChange.emit(data[index]);\n });\n }\n setRegion(i) {\n this.chosenCountry = { ...this.countryArray[i] };\n this.chosenCountry['index'] = i;\n }\n onChange() {\n this.eventChange.emit(this.chosenCountry);\n }\n}\n","<div class=\"container\">\n <div class=\"row\">\n <div class=\"col-12 col-md-3\"><h3>Regional</h3></div>\n <div class=\"col-12 col-md-3\">\n <select\n class=\"form-control\"\n (change)=\"setRegion($event.target.value); onChange()\"\n >\n <option\n *ngFor=\"let country of countryArray; let i = index\"\n value=\"{{ i }}\"\n [selected]=\"chosenCountry.index === i\"\n >\n {{\n country.provincestate\n ? country.countryregion + \" (\" + country.provincestate + \")\"\n : country.countryregion\n }}\n </option>\n </select>\n </div>\n </div>\n <div class=\"row mt-3\" *ngIf=\"chosenCountry\">\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white confirmed mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\">\n <i class=\"fas fa-user-alt\"> </i>Confirmed\n </div>\n <h5 class=\"card-title m-0\">\n {{ chosenCountry.confirmed | number: \"1.\" }}\n </h5>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white recovered mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\">\n <i class=\"fas fa-plus-square\"> </i>Recovered\n </div>\n <h5 class=\"card-title m-0\">\n {{ chosenCountry.recovered | number: \"1.\" }}\n </h5>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white deaths mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\"><i class=\"fas fa-bed\"> </i>Deaths</div>\n <h5 class=\"card-title m-0\">\n {{ chosenCountry.deaths | number: \"1.\" }}\n </h5>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3\">\n <div class=\"card text-white rate mb-3\">\n <div class=\"card-body\">\n <div class=\"card-text\">\n <i class=\"fas fa-exclamation-circle\"> </i>Fatality rate\n </div>\n <h5 class=\"card-title m-0\">\n {{\n (chosenCountry.deaths / chosenCountry.confirmed) * 100\n | number: \"1.0-2\"\n }}%\n </h5>\n </div>\n </div>\n </div>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nconst routes: Routes = [];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes)],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ChartService {\n constructor(private http: HttpClient) {}\n getData(): any {\n return this.http.get<any[]>(\n 'https://master-covid-19-api-laeyoung.endpoint.ainize.ai/jhu-edu/timeseries'\n );\n }\n}\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";"],"sourceRoot":"webpack:///"}