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;;;ACxBvB;AAGF;AACY;AAEzD,IAAI,uEAAgB,KAAI,YAAY,EAAE;IACpC,6DAAc,EAAE,CAAC;IAEjB,wDAAwD;IACxD,gFAAgF;IAChF,IAAG,MAAM,EAAC;QACR,MAAM,CAAC,OAAO,CAAC,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,GAAG;YAC/D,sBAAsB;QACxB,CAAC,CAAC;KACH;CACF;AAED,wEAAwB,CAAC,eAAe,CAAC,sDAAS,CAAC;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/common/components/time-popup/time-popup.component.ts","./src/app/common/components/time-popup/time-popup.component.html","./src/app/core/app.initializer.ts","./src/app/core/auth.interceptor.ts","./src/app/header/header.component.ts","./src/app/header/header.component.html","./src/app/material-module.ts","./src/app/modules/auth/services/auth.service.ts","./src/app/modules/self-service/services/self-service.service.ts","./src/app/store/actions/logout.action.ts","./src/app/store/reducers/index.ts","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { HeaderComponent } from './header/header.component';\n\nconst routes: Routes = [\n {\n path: 'header',\n component: HeaderComponent\n },\n {\n path: \"customer\",\n loadChildren: () =>\n import(\"../app/modules/customers/customers.module\").then((m) => m.CustomersModule),\n },\n { \n path: 'auth', \n loadChildren: () => import('./modules/auth/auth.module').then(m => m.AuthModule) \n },\n {\n path: \"self-service\",\n loadChildren: () =>\n import(\"../app/modules/self-service/self-service.module\").then((m) => m.SelfServiceModule),\n },\n { path: 'shared', loadChildren: () => import('./modules/shared/shared.module').then(m => m.SharedModule) },\n { \n path: \"**\", \n redirectTo: \"/auth/login\" \n },\n];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes)],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","import { Component } from '@angular/core';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { MatDialog } from '@angular/material/dialog';\nimport { Subscription, fromEvent } from 'rxjs';\nimport { UserIdleService } from 'angular-user-idle';\nimport { TimePopupComponent } from './common/components/time-popup/time-popup.component';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.scss'],\n})\nexport class AppComponent {\n title = 'crm';\n\n isIdleTimerRequired = false;\n subscription!: Subscription;\n dialogRef: any;\n\n constructor(\n private router: Router,\n private userIdle: UserIdleService,\n public dialog: MatDialog,\n ) {\n this.router.events.subscribe((event: any) => {\n if (event instanceof NavigationEnd) {\n /* \n auth/recovery-password\n /self-service\n /self-service/company (if local storage has userinfo add timer for logout)\n */\n this.isIdleTimerRequired =\n event.url == '/auth/login' ||\n event.url == '/self-service' ||\n event.url == '/auth/recovery-password' ||\n event.url == '/self-service/company';\n\n if (!this.isIdleTimerRequired) {\n this.clearSubscription();\n const down$ = fromEvent(document, 'mousedown');\n this.subscription = down$.subscribe((e: any) => {\n this.restart();\n });\n this.restart();\n this.startWatching();\n } else {\n this.stop();\n this.stopWatching();\n this.clearSubscription();\n }\n }\n });\n }\n\n ngOnInit() {\n // Start watching when user idle is starting.\n this.userIdle.onTimerStart().subscribe((count: any) => {\n console.log('onTimerStart');\n this.showTimerPopup(count);\n });\n // Start watch when time is up.\n this.userIdle.onTimeout().subscribe(() => {\n this.stop();\n this.stopWatching();\n this.showAlertPopup();\n });\n }\n\n showTimerPopup(count: any) {\n if (count != null && this.dialogRef === undefined) {\n this.dialogRef = this.dialog.open(TimePopupComponent, {\n width: '450px',\n data: {\n title: 'Timeout',\n message: '',\n type: 'popup',\n disableCancelBtn: false,\n disableOkBtn: false,\n },\n disableClose: true,\n backdropClass: 'loader-backfrop',\n panelClass: 'custom_popup',\n });\n }\n if (\n count != null &&\n this.dialogRef !== undefined &&\n this.dialogRef.componentInstance\n ) {\n let configValue: any = this.userIdle.getConfigValue();\n this.dialogRef.componentInstance.count = configValue.timeout - count;\n this.dialogRef.afterClosed().subscribe((result: any) => {\n if (result && result.clickedCancel) {\n this.dialogRef = undefined;\n }\n });\n }\n }\n\n // Clear storage and navigate to login page\n showAlertPopup() {\n this.dialogRef.close();\n this.dialogRef.afterClosed().subscribe((result: any) => {\n //if (result && result.clickedOkay) {\n localStorage.clear();\n this.router.navigateByUrl('/auth/login');\n this.dialogRef = undefined;\n // }\n });\n }\n stop() {\n this.userIdle.stopTimer();\n }\n\n stopWatching() {\n this.userIdle.stopWatching();\n }\n\n startWatching() {\n this.userIdle.startWatching();\n }\n\n restart() {\n this.userIdle.resetTimer();\n }\n\n clearSubscription() {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n}\n","\n\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { AllMaterialModule } from './material-module';\nimport { HeaderComponent } from './header/header.component';\nimport { StoreModule } from '@ngrx/store';\nimport { EffectsModule } from '@ngrx/effects';\nimport { reducers, metaReducers } from 'src/app/store/reducers';\nimport { StoreDevtoolsModule } from '@ngrx/store-devtools';\nimport { environment } from 'src/environments/environment';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthService } from 'src/app/modules/auth/services/auth.service';\nimport { AuthInterceptor } from 'src/app/core/auth.interceptor';\nimport { appInitializer } from 'src/app/core/app.initializer';\nimport { ToastrModule } from 'ngx-toastr';\nimport { TimePopupComponent } from './common/components/time-popup/time-popup.component';\nimport { UserIdleModule } from 'angular-user-idle';\n@NgModule({\n declarations: [AppComponent, HeaderComponent, TimePopupComponent],\n imports: [\n BrowserModule,\n AppRoutingModule,\n HttpClientModule,\n BrowserAnimationsModule,\n AllMaterialModule,\n ToastrModule.forRoot({\n positionClass: 'toast-bottom-right',\n preventDuplicates: true,\n }),\n StoreModule.forRoot(reducers, {\n metaReducers,\n }),\n EffectsModule.forRoot([]),\n StoreDevtoolsModule.instrument({\n maxAge: 25,\n logOnly: environment.production,\n }),\n UserIdleModule.forRoot({\n idle: environment.idleTime,\n timeout: environment.timeout,\n ping: 200,\n }),\n ],\n providers: [\n {\n provide: APP_INITIALIZER,\n useFactory: appInitializer,\n multi: true,\n deps: [AuthService],\n },\n {\n provide: HTTP_INTERCEPTORS,\n useClass: AuthInterceptor,\n multi: true,\n deps: [AuthService],\n },\n ],\n bootstrap: [AppComponent],\n})\nexport class AppModule {}\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-time-popup',\r\n templateUrl: './time-popup.component.html',\r\n styleUrls: ['./time-popup.component.scss']\r\n})\r\nexport class TimePopupComponent implements OnInit {\r\n count:any;\r\n constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) {\r\n data.cancelButtonName = data.cancelButtonName ? data.cancelButtonName : \"Cancel\";\r\n\r\n }\r\n ngOnInit() {\r\n }\r\n \r\n cancelClickHandle(event : any) {\r\n // this.dialogRef.close();\r\n this.dialogRef.close({ clickedCancel: true });\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n \r\n

\r\n There has been no activity for a long time.
\r\n In seconds, your session will end and\r\n you will be logged out\r\n

\r\n
\r\n
\r\n\r\n Keep me logged in\r\n \r\n
\r\n
\r\n\r\n","\nimport { Observable } from 'rxjs';\nimport { Router } from '@angular/router';\nimport { AuthService } from 'src/app/modules/auth/services/auth.service';\nexport function appInitializer(authService: AuthService)\n{\n const refresh_token: any = localStorage.getItem('refresh_token');\n const id: any = localStorage.getItem('id');\n console.log(window.location.href);\n const url: any = window.location.href;\n return ()=> new Promise((resolve : any) =>{\n\n if (refresh_token && refresh_token != '' && refresh_token != 'undefined') {\n authService.getTokens(refresh_token,id).subscribe((response:any) => {\n // const token = {\n // IdToken: response.id_token,\n // refresh_token: response.refresh_token\n // }\n authService.setTokens(response);\n authService.startTokenUpdateTimer((response.expires_in / 60) - 5);\n if (url) {\n resolve(true);\n }\n\n }).add(resolve);\n } else{\n setTimeout(() => {\n resolve('foo');\n }, 300);\n }\n });\n\n\n}\n","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpErrorResponse,\n} from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { AuthService } from 'src/app/modules/auth/services/auth.service';\nimport { catchError } from 'rxjs/internal/operators/catchError';\nimport { tap } from 'rxjs/internal/operators/tap';\n\n@Injectable()\nexport class AuthInterceptor implements HttpInterceptor {\n constructor(private authService: AuthService) {}\n\n intercept(\n request: HttpRequest,\n next: HttpHandler\n ): Observable> {\n if (!this.requestToExclude(request.url)) {\n if (!this.authService.token) {\n const refresh_token: any = localStorage.getItem('refresh_token');\n const id: any = localStorage.getItem('id');\n if (refresh_token) {\n this.authService.getTokens(refresh_token,id).subscribe((response) => {\n this.authService.setTokens(response);\n });\n }\n }\n\n const token = this.authService.token;\n\n if (token) {\n // If we have a token, we set it to the header\n request = request.clone({\n setHeaders: { Authorization: `${token}` },\n });\n }\n\n return next.handle(request).pipe(\n tap(\n () => {},\n (err: any) => {\n if (err instanceof HttpErrorResponse) {\n if (err.status !== 401) {\n return;\n }\n //this.showAlertPopup();\n }\n }\n )\n );\n } else if (\n request.url.indexOf('verifyrecoverycode') > 0 ||\n request.url.indexOf('completerecovery') > 0\n ) {\n request = request.clone({\n withCredentials: true,\n });\n }\n return next.handle(request);\n }\n\n requestToExclude(resquestedUrl: any) {\n if (\n resquestedUrl.indexOf('fetchtokens') > 0 ||\n resquestedUrl.indexOf('login') > 0 ||\n resquestedUrl.indexOf('completerecovery') > 0 ||\n resquestedUrl.indexOf('verifyrecoverycode') > 0\n ) {\n return true;\n } else {\n return false;\n }\n }\n\n // showAlertPopup() {\n // if (this.dialogRef === undefined) {\n // this.dialogRef = this.dialogService.showInfoPopup(Messages.ERROR_TITLE,Messages.SESSION_TIMEOUT);\n\n // this.dialogRef.afterClosed().subscribe(result => {\n // if (result && result.clickedOkay) {\n // this.localStorageService.clearAll();\n // this.router.navigateByUrl('login');\n // this.dialogRef = undefined;\n\n // }\n // });\n // }\n //}\n}\n","import { Component, OnInit } from '@angular/core';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { AuthService } from 'src/app/modules/auth/services/auth.service';\nimport { Logout } from 'src/app/store/actions/logout.action';\nimport { Store } from '@ngrx/store';\nimport { SelfServiceService } from '../modules/self-service/services/self-service.service';\n\n@Component({\n selector: 'app-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.scss'],\n})\nexport class HeaderComponent implements OnInit {\n hideElement = false;\n isService: boolean = false;\n logginUser: string = '';\n constructor(\n private router: Router,\n private authService: AuthService,\n private store: Store,\n public selfService: SelfServiceService\n ) {\n this.router.events.subscribe((event) => {\n let routes = [\n '/',\n '/login',\n '/auth/login',\n '/auth',\n '',\n '/auth/recovery-password',\n '/recovery-password',\n ];\n if (event instanceof NavigationEnd) {\n this.hideElement = routes.includes(event.url) ? true : false;\n console.log(event.url);\n if (\n event.url == '/self-service/company' ||\n event.url == '/self-service/gst' ||\n event.url == '/self-service/bank' ||\n event.url == '/self-service/other' ||\n event.url == '/self-service'\n ) {\n this.isService = true;\n } else {\n this.isService = false;\n }\n }\n });\n }\n\n ngOnInit(): void {\n this.authService.onUserUpdate.subscribe((data) => {\n console.log(data)\n this.logginUser = `${data.attributes.first_name} ${data.attributes.last_name}`;\n this.selfService.showLogOut = true;\n });\n\n if (!this.logginUser) {\n const storageUser: any = localStorage.getItem('user');\n const user = JSON.parse(storageUser);\n\n if (user) {\n if (user.attributes.role === 'customer') {\n this.selfService.showLogOut = true;\n }\n this.logginUser = `${user.attributes.first_name} ${user.attributes.last_name}`;\n }\n } else {\n console.log(this.router.url);\n if (this.router.url === '/self-service') {\n this.selfService.showLogOut = false;\n } else {\n this.selfService.showLogOut = true;\n }\n }\n }\n\n onLogout(): void {\n const refresh_token: any = localStorage.getItem('refresh_token');\n const id: any = localStorage.getItem('id');\n this.authService.getTokens(refresh_token,id).subscribe((response: any) => {\n this.authService.setTokens(response);\n this.authService.logoutUser().subscribe((res: any) => {\n localStorage.clear();\n this.store.dispatch(new Logout());\n this.router.navigateByUrl('/auth/login');\n });\n });\n\n localStorage.clear();\n this.router.navigateByUrl('/auth/login');\n }\n check() {\n this.selfService.showLogOut = false;\n this.onLogout();\n this.selfService.showCheckList = false;\n // this.router.navigateByUrl('/self-service');\n // localStorage.clear();\n // console.log('log off');\n }\n goTo() {\n let userRole = JSON.parse(localStorage.getItem('user') || '{}').attributes;\n if (userRole?.role === 'customer') {\n this.router.navigateByUrl('/self-service');\n return;\n }\n if (userRole?.role === 'employee') {\n this.router.navigateByUrl('/customer/dashboard');\n return;\n }\n this.router.navigateByUrl('/');\n }\n changePass() {\n this.router.navigateByUrl('/auth/change-password');\n }\n}\n","
\n \n \n \"\"\n
\n \n
\n
\n
\n \n
\n\n
\n \n \n \n \n \n
\n
\n \n
\n \n
\n
\n
\n \n
\n\n
\n \n \n \n \n
\n
\n
\n \n \n\n","import { NgModule } from '@angular/core';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { CdkTableModule } from '@angular/cdk/table';\nimport { CdkTreeModule } from '@angular/cdk/tree';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { MatBadgeModule } from '@angular/material/badge';\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatStepperModule } from '@angular/material/stepper';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatGridListModule } from '@angular/material/grid-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatListModule } from '@angular/material/list';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatNativeDateModule, MatRippleModule } from '@angular/material/core';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatSidenavModule } from '@angular/material/sidenav';\nimport { MatSliderModule } from '@angular/material/slider';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatSortModule } from '@angular/material/sort';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatTreeModule } from '@angular/material/tree';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { CdkAccordionModule } from '@angular/cdk/accordion';\n\n@NgModule({\n exports: [\n A11yModule,\n ClipboardModule,\n CdkStepperModule,\n CdkTableModule,\n CdkTreeModule,\n DragDropModule,\n MatAutocompleteModule,\n MatBadgeModule,\n MatBottomSheetModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatStepperModule,\n MatDatepickerModule,\n MatDialogModule,\n MatDividerModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatFormFieldModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatTreeModule,\n OverlayModule,\n PortalModule,\n ScrollingModule,\n FormsModule,\n ReactiveFormsModule,\n CdkAccordionModule,\n MatInputModule,\n ],\n})\nexport class AllMaterialModule {}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { of } from 'rxjs';\nimport { environment } from 'src/environments/environment';\nimport { Observable } from 'rxjs';\nimport { interval } from 'rxjs';\nimport { Subject } from 'rxjs/internal/Subject';\nimport { Subscriber } from 'rxjs/internal/Subscriber';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AuthService {\n private LOGIN = 'artfine/eru/login';\n private USER_INFO = 'artfine/eru/userinfo';\n private FETCH_TOKEN = 'artfine/eru/fetchtokens';\n private LOGOUT = 'artfine/eru/logout';\n\n private Token: string = '';\n private Access_Token: string = '';\n private readonly REFRESH_TOKEN: string = 'refresh_token';\n private User: any;\n onUserUpdate: Subject = new Subject();\n\n constructor(private http: HttpClient) {}\n\n loginUser(email: string, password: string) {\n const data = {\n username: email,\n password: password,\n };\n return this.http.post(environment.base_eru_auth_url + this.LOGIN, data);\n }\n\n fetchUser(access_token: string, id_token: any) {\n const headers = { Authorization: id_token };\n const data = {\n access_token: access_token,\n };\n return this.http.post(\n `${environment.base_eru_auth_url}${this.USER_INFO}`,\n data,\n { headers }\n );\n }\n\n public get user() {\n return this.User;\n }\n\n public setUser(user: any) {\n this.User = user;\n this.onUserUpdate.next(user);\n }\n\n public get token() {\n return this.Token;\n }\n\n public setTokens(data: any) {\n // console.log('setTokens == > ', data);\n //const refresh_token = data.RefreshToken;\n // localStorage.setItem(this.REFRESH_TOKEN, refresh_token);\n // console.log('setTokens data', data);\n this.Token = data.id_token;\n this.Access_Token = data.access_token;\n localStorage.setItem('refresh_token', data.refresh_token);\n localStorage.setItem('id', data.id);\n // console.log(' this.Token == > ', this.Token);\n }\n\n getTokens(refresh_token: string,id:any): Observable {\n const data = {\n refresh_token: refresh_token,\n id:id\n };\n return this.http.post(\n environment.base_eru_auth_url + this.FETCH_TOKEN,\n data\n );\n }\n\n public refresh_token(minutes: number) {\n return new Observable((subscriber: Subscriber) => {\n interval(1000 * 60 * minutes).subscribe((x: any) => {\n const refresh_token: any = localStorage.getItem(this.REFRESH_TOKEN);\n const id: any = localStorage.getItem('id');\n // console.log('refresh_tok en ==', refresh_token);\n this.getTokens(refresh_token,id).subscribe((response: any) => {\n subscriber.next(response);\n });\n });\n });\n }\n\n public startTokenUpdateTimer(time: number) {\n this.refresh_token(time).subscribe((data: any) => {\n // const token = {\n // id_token: data.id_token,\n // RefreshToken: data.RefreshToken\n // }\n // console.log('startTokenUpdateTimer', token);\n this.setTokens(data);\n });\n }\n\n logoutUser() {\n const refresh_token: any = localStorage.getItem('refresh_token');\n const data = {\n refresh_token: refresh_token,\n };\n const headers = { Authorization: this.Token };\n return this.http.delete(`${environment.base_eru_auth_url}${this.LOGOUT}`, {\n headers: headers,\n body: data,\n });\n }\n changePassword(data: any) {\n return this.http.post(\n environment.base_eru_auth_url + 'artfine/eru/changepassword',\n data\n );\n }\n getRecoveryCode(data: any) {\n return this.http.post(\n environment.base_eru_auth_url + `artfine/eru/getrecoverycode${environment.type==\"DEVELOPMENT\"?'?silent=true':''}`,\n data\n );\n }\n verifyRecoveryCode(data: any) {\n return this.http.post(\n environment.base_eru_auth_url + 'artfine/eru/verifyrecoverycode',\n data\n );\n }\n completeRecovery(data: any) {\n return this.http.post(\n environment.base_eru_auth_url + 'artfine/eru/completerecovery',\n data\n );\n }\n}\n","import { AuthService } from './../../auth/services/auth.service';\nimport { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { environment } from '../../../../environments/environment';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SelfServiceService {\n showLogOut: boolean = false;\n constructor(private http: HttpClient, private authService: AuthService) {}\n\n refreshCustomer(payload: any) {\n return this.http.post(\n environment.base_eru_routes_url + 'artfine/func/refresh_customer/',\n payload\n );\n }\n fetchCustomer(payLoad: any) {\n return this.http.post(\n environment.base_eru_url +\n 'store/artfine/myquery/execute/fetch_customer_basic',\n payLoad\n );\n }\n fetchCustomerGSTIN(payLoad: any) {\n return this.http.post(\n environment.base_eru_url +\n 'store/artfine/myquery/execute/fetch_customer_gstins_basic',\n payLoad\n );\n }\n generategstotp(payLoad: any) {\n return this.http.post(\n environment.base_eru_routes_url + 'artfine/func/generategstotp',\n {\n otpdata: payLoad,\n }\n );\n }\n generategstsession(payLoad: any) {\n return this.http.post(\n environment.base_eru_routes_url + 'artfine/func/generategstsession',\n {\n otpdata: payLoad,\n }\n );\n }\n save_customer_gst_consent(payload: any) {\n return this.http.post(\n environment.base_eru_url +\n 'store/artfine/myquery/execute/save_customer_gst_consent',\n {\n ...payload,\n }\n );\n }\n upload(data: any) {\n //{{base_eru_files_url}}/files/artfine/co_docs/upload\n return this.http.post(\n environment.base_eru_files_url + 'files/artfine/co_docs/upload',\n data\n );\n }\n save_customer_bank_st(payload: any) {\n return this.http.post(\n environment.base_eru_routes_url +\n 'artfine/func/cygnet_bankst_save_upld',\n payload\n );\n }\n registerCutsomer(payLoad: any) {\n return (\n this,\n this.http.post(\n environment.base_eru_routes_url + 'artfine/func/register_customer',\n payLoad\n )\n );\n }\n fetch_docTypes(payload: any) {\n return this.http.post(\n environment.base_eru_url +\n 'store/artfine/myquery/execute/fetch_doc_types',\n payload\n );\n }\n\n setToken(token: any) {\n console.log(token);\n this.authService.setTokens(token);\n this.authService\n .fetchUser(token.access_token, token.id_token)\n .subscribe((res: any) => {\n localStorage.setItem('user', JSON.stringify(res));\n this.authService.setUser(res);\n });\n }\n\n save_customer_docs(payload: any) {\n return this.http.post(\n environment.base_eru_url +\n 'store/artfine/myquery/execute/save_customer_docs',\n payload\n );\n }\n fetchBankStatement(payload: any) {\n return this.http.post(\n environment.base_eru_url + 'store/artfine/myquery/execute/fetch_bank_st',\n payload\n );\n }\n checkCustomerExists(payload: any) {\n return this.http.post(\n environment.base_eru_url + 'store/artfine/myquery/execute/check_customer',\n payload\n );\n }\n showCheckList = false;\n routeEnabled = false;\n selfServiceRoutes: any[] = [\n {\n path: '/self-service',\n index: 0,\n label: 'Checklist',\n show: this.showCheckList,\n enabled: true,\n },\n {\n path: '/self-service/company',\n index: 1,\n label: 'Company Details',\n show: true,\n enabled: true,\n },\n {\n path: '/self-service/gst',\n index: 2,\n label: 'GST Details',\n show: true,\n enabled: false,\n },\n {\n path: '/self-service/bank',\n index: 3,\n label: 'Bank Details',\n\n show: true,\n enabled: false,\n },\n {\n path: '/self-service/other',\n index: 4,\n label: 'Other Documents',\n show: true,\n enabled: false,\n },\n ];\n\n downloadb64(payload: any) {\n return this.http.post(\n environment.base_eru_files_url + 'files/artfine/co_docs/downloadb64',\n payload\n );\n }\n}\n","import { Action } from \"@ngrx/store\";\nexport class AppActionTypes {\n static LOGOUT = \"[App] logout\";\n }\n\nexport class Logout implements Action {\n readonly type = AppActionTypes.LOGOUT;\n}\n\nexport type All = Logout;","import {\n ActionReducer,\n ActionReducerMap,\n createFeatureSelector,\n createSelector,\n MetaReducer\n} from '@ngrx/store';\nimport { environment } from '../../../environments/environment';\nimport { AppActionTypes } from \"../actions/logout.action\";\n\nexport interface IAppState { }\n\nexport const reducers: ActionReducerMap = {\n\n};\nexport function clearState(reducer : ActionReducer) {\n return function (state : any, action : any) {\n\n if (action.type === AppActionTypes.LOGOUT) {\n state = undefined;\n }\n\n return reducer(state, action);\n };\n}\n\nexport const metaReducers: MetaReducer[] = !environment.production\n ? [clearState]\n : [clearState];\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n type: 'PRODUCTION',\n appVersion: require('../../package.json').version,\n production: true,\n idleTime: 600,\n timeout: 30,\n base_eru_routes_url: 'https://erufunc.api.artfine.in/',\n base_eru_url: 'https://eruql.api.artfine.in/',\n base_eru_auth_url: 'https://eruauth.api.artfine.in/',\n base_eru_files_url: 'https://erufiles.api.artfine.in/',\n\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/plugins/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.type ==='PRODUCTION') {\n enableProdMode();\n\n // HACK: Don't log to console in production environment.\n // TODO: This can be done in better way using logger service and logger factory.\n if(window){\n window.console.log = window.console.warn = window.console.info = function(){\n // Don't log anything.\n };\n }\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n"],"names":[],"sourceRoot":"webpack:///","x_google_ignoreList":[]}