{"version":3,"sources":["./$_lazy_route_resource lazy namespace object","./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/full-chart/full-chart.component.ts","./src/app/full-chart/full-chart.component.html","./src/app/sensor-details/sensor-details.component.ts","./src/app/sensor-details/sensor-details.component.html","./src/app/sensor-list/sensor-list.component.ts","./src/app/sensor-list/sensor-list.component.html","./src/app/services/sensor-service.service.ts","./src/app/services/user.service.ts","./src/app/small-chart/small-chart.component.ts","./src/app/small-chart/small-chart.component.html","./src/app/user-account/user-account.component.ts","./src/app/user-account/user-account.component.html","./src/environments/environment.ts","./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,wE;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyC;AACc;AACmB;AACS;AACN;;;AAG7E,MAAM,MAAM,GAAW;IACrB,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,sFAAmB,EAAC;IAC3C,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,yFAAoB,EAAC;IAChD,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,+FAAsB,EAAC;CAC1D,CAAC;AAMK,MAAM,gBAAgB;;+FAAhB,gBAAgB;0JAAhB,gBAAgB,kBAHlB,CAAC,4DAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7B,4DAAY;mIAEX,gBAAgB,uFAFjB,4DAAY;6FAEX,gBAAgB;cAJ5B,sDAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,4DAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBACvC,OAAO,EAAE,CAAC,4DAAY,CAAC;aACxB;;;;;;;;;;;;;;AChBD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0C;;;;;;;;;ICK1C,yEAA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EPD;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;AAA+C;AAIU;;;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,gBAAgB,CAAC,0DAAU;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC","file":"main-es2015.js","sourcesContent":["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 = \"./$$_lazy_route_resource lazy recursive\";","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { SensorListComponent } from './sensor-list/sensor-list.component';\nimport { SensorDetailsComponent } from './sensor-details/sensor-details.component';\nimport { UserAccountComponent } from './user-account/user-account.component';\n\n\nconst routes: Routes = [\n { path: '', component: SensorListComponent},\n { path: 'user', component: UserAccountComponent},\n { path: 'details/:id', component: SensorDetailsComponent},\n];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes)],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","import { Component } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\nimport { UserService } from './services/user.service';\nimport { CookieService } from 'ngx-cookie-service';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'POWAFA Vannføring';\n\n public currentUser: any;\n public loaded = false;\n\n public constructor(private cookieService: CookieService, public userService: UserService, private titleService: Title ) {\n\n let userid = cookieService.get(\"powafauserid\");\n console.log(userid);\n if (userid !== \"\") {\n let userCredentials = {userId: userid, email: \"\", name: \"\"};\n this.getUser(userCredentials);\n } \n else {\n userService.getUserCredentials().subscribe((data: any[]) => {\n let userCredentials = {userId: \"\", email: \"\", name: \"\"};\n userCredentials.userId = data[0].user_id;\n data[0].user_claims.map(claim => {\n if (claim.typ === \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\") {\n userCredentials.email = claim.val;\n } else if (claim.typ === \"name\") {\n userCredentials.name = claim.val;\n }\n })\n let cookieExpirationDate = new Date();\n cookieExpirationDate.setDate(cookieExpirationDate.getDate() +14);\n cookieService.set(\"powafauserid\", userCredentials.userId, cookieExpirationDate);\n console.log(userCredentials);\n this.currentUser = userCredentials;\n this.getUser(userCredentials);\n \n }, error => {\n userService.authenticated = false;\n })\n }\n }\n\n private getUser(userCredentials: any) {\n this.userService.getUser(userCredentials).subscribe(user => {\n this.userService.currentUser = user;\n console.log(user);\n this.userService.expired = (new Date(this.userService.currentUser.expiration) < new Date());\n let expirationDate = new Date(this.userService.currentUser.expiration);\n expirationDate.setDate(expirationDate.getDate() -7);\n this.userService.expireWarning = (expirationDate < new Date());\n\n\n this.loaded = !this.userService.expired;\n this.userService.authenticated = true;\n });\n }\n\n public setTitle( newTitle: string) {\n this.titleService.setTitle( newTitle );\n }\n}\n","\n
\n
\n Powafa\n
\n
Abonnementet ditt utløper snart. Se opplysninger om ditt abonnement.
\n
\n

Du må logge inn for å bruke denne appen

\n

Logg inn med Google konto

\n
\n\n\n\n\n\n
\n

Levert av Powafa.com

\n\nOpplysninger om ditt abonnement\n
","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { HttpClientModule } from '@angular/common/http';\nimport { NgxChartsModule } from '@swimlane/ngx-charts';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { SensorListComponent } from './sensor-list/sensor-list.component';\nimport { SmallChartComponent } from './small-chart/small-chart.component';\nimport { SensorDetailsComponent } from './sensor-details/sensor-details.component';\nimport { FullChartComponent } from './full-chart/full-chart.component';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { FormsModule } from '@angular/forms';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { OrderModule } from 'ngx-order-pipe';\nimport { UserAccountComponent } from './user-account/user-account.component';\nimport { CookieService } from 'ngx-cookie-service';\n\n\n@NgModule({\n declarations: [\n AppComponent,\n SensorListComponent,\n SmallChartComponent,\n SensorDetailsComponent,\n FullChartComponent,\n UserAccountComponent\n ],\n imports: [\n BrowserModule,\n AppRoutingModule,\n NgxChartsModule,\n HttpClientModule,\n BrowserAnimationsModule,\n MatTabsModule,\n FormsModule,\n OrderModule,\n ],\n providers: [CookieService],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","import { Component, NgModule, Input, OnInit } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgxChartsModule, } from '@swimlane/ngx-charts';\n\n@Component({\n selector: 'app-full-chart',\n templateUrl: './full-chart.component.html',\n styleUrls: ['./full-chart.component.css']\n})\nexport class FullChartComponent implements OnInit {\n @Input() dataValues: any[];\n @Input() yScaleMin: any = null;\n @Input() autoScale: boolean = false;\n view: any[] = [800, 400];\n\n // options\n legend: boolean = false;\n showLabels: boolean = false;\n animations: boolean = false;\n xAxis: boolean = true;\n yAxis: boolean = true;\n showYAxisLabel: boolean = false;\n showXAxisLabel: boolean = false;\n xAxisLabel: string = 'Vannstand';\n yAxisLabel: string = 'Tidspunkt';\n timeline: boolean = true;\n yScaleMinimum: any;\n\n xAxisTicks = [new Date(\"2020-05-30\"),new Date(\"2020-05-31\"),new Date(\"2020-06-01\"),new Date(\"2020-06-02\"),new Date(\"2020-06-03\"),new Date(\"2020-06-04\")]\n\n\n colorScheme = {\n domain: ['#5AA454', '#E44D25', '#CFC0BB', '#7aa3e5', '#a8385d', '#aae3f5']\n };\n \n public innerWidth: any;\n\n constructor() {\n\n }\n \n ngOnInit() {\n this.innerWidth = window.innerWidth;\n /*if (this.innerWidth < 500)\n this.view = [400,400];\n else */\n this.view = [this.innerWidth - 50, 400];\n\n if (this.autoScale) {\n this.yScaleMinimum = null;\n }\n else {\n this.yScaleMinimum = this.yScaleMin;\n }\n }\n\n onSelect(data): void {\n console.log('Item clicked', JSON.parse(JSON.stringify(data)));\n }\n\n onActivate(data): void {\n console.log('Activate', JSON.parse(JSON.stringify(data)));\n }\n\n onDeactivate(data): void {\n console.log('Deactivate', JSON.parse(JSON.stringify(data)));\n }\n\n formatDate(val) {\n let date = new Date(val);\n return date.toLocaleDateString( \"no-NB\", { year: \"2-digit\", month: \"2-digit\", day: \"2-digit\" }) + \" \" + date.toLocaleTimeString(\"no-NB\", { hour: \"2-digit\", minute: \"2-digit\"});\n \n // return 123;\n }\n}","\n\n","import { Component, OnInit } from '@angular/core';\nimport { Router, ActivatedRoute, ParamMap } from '@angular/router';\nimport { switchMap } from 'rxjs/operators';\nimport { SensorServiceService } from '../services/sensor-service.service';\nimport { AppComponent } from '../app.component';\n\n\n\n@Component({\n selector: 'app-sensor-details',\n templateUrl: './sensor-details.component.html',\n styleUrls: ['./sensor-details.component.css']\n})\nexport class SensorDetailsComponent implements OnInit {\n\n sensorField: any;\n autoScale: boolean = false;\n sensorId = 0;\n\n constructor(private route: ActivatedRoute, private sensorService: SensorServiceService, private app: AppComponent) {\n\n }\n\n\n ngOnInit() {\n this.app.setTitle( \"Sensor Details - POWAVA Vannføring\")\n\n this.sensorId = (Number)(this.route.snapshot.paramMap.get('id'));\n this.sensorService.getSensorData(this.sensorId).subscribe((data: any) => {\n console.log(data);\n this.sensorField = data;\n this.app.setTitle(data?.name + \" - POWAVA Vannføring\");\n })\n\n\n }\n\n\n\n}\n","\n
\n
\n

{{sensorField.name}}

\n

Sist Oppdatert: {{sensorField.lastData?.time | date:'dd.MM.yy HH:mm'}}

\n

\n Siste verdi: {{sensorField.lastData?.value }} {{sensorField.unit}}\n {{sensorField.lastData?.value2 | number:'1.2-2'}} kbm/s\n

\n

\n Endring siste time: = 0)\">+{{sensorField.change }} {{sensorField.unit}}\n (= 0)\">+{{sensorField.changeM3s | number:'1.2-2'}} kbm/s)\n

\n
\n
\n \n \n
\n \n
\n\n
\n \n
\n \n \n \n \n \n \n \n
TidspunktNivåkbm/s
{{value.time | date:'dd.MM.yy HH:mm'}}{{value.value1 | number:'1.2-2'}} {{sensorField.unit}}{{value.value2 | number:'1.2-2'}}
\n
\n
\n
\n
\n\n
\n","import { Component, OnInit } from '@angular/core';\nimport { SensorServiceService } from '../services/sensor-service.service'\nimport { ActivatedRoute } from '@angular/router';\nimport { AppComponent } from '../app.component';\nimport { UserService } from '../services/user.service';\n\n@Component({\n selector: 'app-sensor-list',\n templateUrl: './sensor-list.component.html',\n styleUrls: ['./sensor-list.component.css']\n})\nexport class SensorListComponent implements OnInit {\n\n sensorFields = [];\n\n constructor(private userService: UserService, private sensorService: SensorServiceService, private route: ActivatedRoute, private app: AppComponent) {\n let test = 0;\n }\n\n ngOnInit(): void {\n let groupName = this.route.snapshot.queryParamMap.get('collection');\n groupName = groupName !== null ? groupName : this.userService.currentUser.subscriptionGroup;\n this.app.setTitle(\"Sensor liste - POWAVA Vannføring\")\n\n if (groupName === 'all') {\n this.sensorService.getAllSensors().subscribe((data: any[]) => {\n console.log(data);\n this.sensorFields = data;\n })\n } \n else {\n this.sensorService.getSensors(groupName).subscribe((data: any[]) => {\n console.log(data);\n this.sensorFields = data;\n })\n }\n }\n\n}\n","\n
\n
\n\n
\n
\n

{{ sensorField?.name }}

\n
{{sensorField?.lastData?.time | date:'dd.MM.yy HH:mm'}}
\n
\n
{{sensorField?.lastData?.value}} {{sensorField?.unit}}
\n
= 0)\">+{{sensorField?.change}} {{sensorField?.unit}} siste time
\n
\n
\n
{{sensorField?.lastData?.value2 | number:'1.2-2'}} kbm/s
\n
= 0)\">+{{sensorField?.changeM3s | number:'1.2-2'}} kbm/s siste time
\n
\n\n
\n
\n \n
\n
\n
\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SensorServiceService {\n private SERVER_URL = \"/api\";\n constructor(private httpClient: HttpClient) { }\n\n public getAllSensors(){\n return this.httpClient.get(`${this.SERVER_URL}/SensorField`);\n }\n\n public getSensors(groupName: string) {\n return this.httpClient.get(`${this.SERVER_URL}/SensorField/GetByGroup/${groupName}`);\n }\n\n public getSensorData(sensorId: number) {\n return this.httpClient.get(`${this.SERVER_URL}/SensorField/${sensorId}`);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class UserService {\n private SERVER_URL = \"/api\";\n public currentUser: any = null;\n public expired: boolean = false;\n public expireWarning: boolean = false;\n public authenticated: boolean = true; \n constructor(private httpClient: HttpClient) { }\n\n public getUserCredentials() {\n return this.httpClient.get(`/.auth/me` );\n }\n\n public getUser(user: any) {\n return this.httpClient.post(`${this.SERVER_URL}/User`, user);\n }\n}\n","import { Component, NgModule, Input, OnInit } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgxChartsModule, } from '@swimlane/ngx-charts';\n\n@Component({\n selector: 'app-small-chart',\n templateUrl: './small-chart.component.html',\n styleUrls: ['./small-chart.component.css']\n})\nexport class SmallChartComponent implements OnInit {\n @Input() multi: any[];\n @Input() yScaleMin: number;\n view: any[] = [400, 200];\n\n // options\n legend: boolean = false;\n showLabels: boolean = false;\n animations: boolean = false;\n xAxis: boolean = false;\n yAxis: boolean = true;\n showYAxisLabel: boolean = false;\n showXAxisLabel: boolean = false;\n xAxisLabel: string = 'Vannstand';\n yAxisLabel: string = 'Tidspunkt';\n timeline: boolean = true;\n\n colorScheme = {\n domain: ['#5AA454', '#E44D25', '#CFC0BB', '#7aa3e5', '#a8385d', '#aae3f5']\n };\n \n public innerWidth: any;\n\n constructor() {\n\n }\n \n ngOnInit() {\n this.innerWidth = window.innerWidth;\n if (this.innerWidth < 500)\n this.view = [300,200];\n else \n this.view = [this.innerWidth - 350, 200];\n }\n\n onSelect(data): void {\n console.log('Item clicked', JSON.parse(JSON.stringify(data)));\n }\n\n onActivate(data): void {\n console.log('Activate', JSON.parse(JSON.stringify(data)));\n }\n\n onDeactivate(data): void {\n console.log('Deactivate', JSON.parse(JSON.stringify(data)));\n }\n}","\n\n","import { Component, OnInit } from '@angular/core';\nimport { UserService } from '../services/user.service';\n\n@Component({\n selector: 'app-user-account',\n templateUrl: './user-account.component.html',\n styleUrls: ['./user-account.component.css']\n})\nexport class UserAccountComponent implements OnInit {\n\n public user: any;\n public currentDate = new Date();\n public expired: boolean;\n\n constructor(private userService: UserService) { \n this.user = userService.currentUser;\n this.expired = userService.expired;\n }\n\n\n\n ngOnInit(): void {\n }\n\n}\n","
\n
\n
\n

Ditt Powafa abonnement

\n

Ditt Powafa abonnement har utløpt

\n\n

Navn: {{user.name}}

\n

Email: {{user.email}}

\n

Google User Id: {{user.userId}}

\n\n

Abonnementstype: {{user.subscriptionGroup}}

\n

Abonnementet ditt er gyldig til {{user.expiration | date:'dd.MM.yyyy hh:mm'}}

\n\n

\n Du har nå et prøveabonnement på Powafa vannføringsensorer som er gyldig i 3 dager fram til {{user.expiration | date:'dd.MM.yy'}}\n

\n\n

Du kan bestille nytt abonnement eller fornye eksisterende ved å betale med Vipps til Powafa AS (Vipps nummer: 611717). Ved betaling må Google konto oppgis på sms til 917 06 200 siden pålogging skjer med autentisering av den Google-kontoen du velger å oppgi til Powafa. Det kan ta opptil 24 timer å registrere nytt abonnement etter at betaling er gjennomført, det er derfor lurt å fornye abonnementet senest 24 timer før utløpsdato hvis man ikke vil miste tilgang.\n

\n

For mer informasjon se https://www.powafa.no/powafa-abonnement

\n\n

Tilbake til forsiden

\n\n
","// 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 { 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"],"sourceRoot":"webpack:///"}