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AAa,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,4CAA4C,CAAC;IAC/FC,aAAa,EAAE,+DAA+D;IAC9EC,uBAAuB,EAAE,CAAC,WAAW;GACtC;EACDxT,IAAI,EAAE,EAAE;EACRyT,KAAK,EAAE;CACR;AAED;;;;;;;;;;;;;;;;;;;;;;;;AC3B+C;AAGF;AACY;AACzC;AAEhB,IAAI5iB,6EAAsB,EAAE;EAC1B6iB,6DAAc,EAAE;;AAGlBC,sEAAAA,EAAwB,CAACC,eAAe,CAAC/E,sDAAS,CAAC,CAChDgF,KAAK,CAACtJ,GAAG,IAAIkD,OAAO,CAACH,KAAK,CAAC/C,GAAG,CAAC,CAAC","sources":["./projects/Shared/BusinessEntities/cart-total-count-view-model.ts","./projects/Shared/BusinessServices/cart-details.service.ts","./projects/Shared/BusinessServices/common-data-filter.service.ts","./projects/Shared/BusinessServices/package-details.service.ts","./projects/Shared/BusinessServices/package-portal-dashboard.service.ts","./projects/Shared/BusinessServices/support.service.ts","./projects/Shared/DataServices/cart-details-data.service.ts","./projects/Shared/DataServices/package-details-data.service.ts","./projects/Shared/DataServices/package-portal-dashboard.service.ts","./projects/Shared/DataServices/support-data.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Af-bos-enums.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Constant/global.constant.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Constant/route.constant.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Components/af-loader-component/af-loader.component.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Components/af-loader-component/af-loader.component.html","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Directives/af-textCopyIcon.directive.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Pipes/custom-date-pipe/af-number.pipe.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Auth-Guard/auth-guard.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Encryption/encryption.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/Af-Logging/af-logging.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/Authentication/authentication.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/base-service/base.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/user-service/user-data.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/user-service/user.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Utility/Af-Helper/af-helper.service.ts","./projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Utility/Interceptor/error.interceptor.ts","./projects/autofacets-infrastructure/src/app/app.component.ts","./projects/autofacets-infrastructure/src/app/app.component.html","./projects/autofacets-infrastructure/src/app/app.module.ts","./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/auth.service.ts","./src/app/shared.service.ts","./src/environments/environment.prod.ts","./src/main.ts"],"sourcesContent":["export class CartTotalCountViewModel{\n totalCount:number = 0;\n totalPrice:number = 0;\n vatPercent:number = 0;\n}\nexport class ExportToDarsParamModel{\n vin:string;\n serialNo:string;\n licencePlate:string;\n dealerNo:string;\n isCarCheck:boolean;\n}\nexport class PackageIdList{\n id : number;\n modelBrandDescription : string;\n modelFamily : string;\n}","import { Injectable } from \"@angular/core\";\nimport { ExportToDarsParamModel } from \"../BusinessEntities/cart-total-count-view-model\";\nimport { PackageCartRequestViewModel } from \"../BusinessEntities/package-cart-view-model\";\nimport { PartsOrderRequestModel } from \"../BusinessEntities/parts-order-request-model\";\nimport { PartsOrderUpdateViewModel } from \"../BusinessEntities/parts-order-update-view-model\";\nimport { CartDetailsDataService } from \"../DataServices/cart-details-data.service\";\nimport { PhoneNoViewModel } from \"../BusinessEntities/phone-no-view-model\";\nimport { ExternalUserDetailsViewModel } from \"../BusinessEntities/external-user-details-view-model\";\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CartDetailsService {\n constructor(private cartDetailsDataService: CartDetailsDataService) {\n\n }\n async AddUpdateCartDetails(packageCartRequestModel: PackageCartRequestViewModel) {\n return await this.cartDetailsDataService.AddUpdateCartDetails(packageCartRequestModel);\n }\n async CreatePartsOrder(partsOrderRequestModel: PartsOrderRequestModel) {\n return await this.cartDetailsDataService.CreatePartsOrder(partsOrderRequestModel);\n }\n async UpdatePartsOrder(partsOrderUpdateModel: PartsOrderUpdateViewModel) {\n return await this.cartDetailsDataService.UpdatePartsOrder(partsOrderUpdateModel);\n }\n async GetWorkOrderById(workOrderId: string) {\n return await this.cartDetailsDataService.GetWorkOrderById(workOrderId);\n }\n async GetPackageCartDetails() {\n return await this.cartDetailsDataService.GetPackageCartDetails();\n }\n async GetPackagesForUpdate() {\n return await this.cartDetailsDataService.GetPackagesForUpdate();\n }\n async GetCartTotalCount() {\n return await this.cartDetailsDataService.GetCartTotalCount();\n }\n async GetAllSk2022Dealers() {\n return await this.cartDetailsDataService.GetAllSk2022Dealers();\n }\n async DeletePackageFromCart(packageId: number, isWholePackageRemove: boolean, isOnlyMaterial: boolean) {\n return await this.cartDetailsDataService.DeletePackageFromCart(packageId, isWholePackageRemove, isOnlyMaterial);\n }\n async DeleteAllPackageFromCart() {\n return await this.cartDetailsDataService.DeleteAllPackageFromCart();\n }\n async UpdateWorkOrderNumber(workOrderNumber: string) {\n return await this.cartDetailsDataService.UpdateWorkOrderNumber(workOrderNumber);\n }\n async ExportToDars(exportToDarsParam: ExportToDarsParamModel) {\n return await this.cartDetailsDataService.ExportToDars(exportToDarsParam);\n }\n async GetGroupById(id: number) {\n return await this.cartDetailsDataService.GetGroupById(id);\n }\n async GetCartPackages(packageCartRequestViewModels: PackageCartRequestViewModel[]) {\n return await this.cartDetailsDataService.GetCartPackages(packageCartRequestViewModels);\n }\n async SendOTP(phoneNoViewModel: PhoneNoViewModel) {\n return await this.cartDetailsDataService.SendOTP(phoneNoViewModel);\n }\n async ValidateOtpCode(mobileNo: string, otpCode: string) {\n return await this.cartDetailsDataService.ValidateOtpCode(mobileNo, otpCode);\n }\n async GetCustomerDetails(mobileNo: string) {\n return await this.cartDetailsDataService.GetCustomerDetails(mobileNo);\n }\n async SendExternalCartEmail(externalUserDetailsViewModel : ExternalUserDetailsViewModel) {\n return await this.cartDetailsDataService.SendExternalCartEmail(externalUserDetailsViewModel);\n }\n async GetExternalCartDetails(externalCartId : number) {\n if (isNaN(externalCartId)){\n return null;\n }\n return await this.cartDetailsDataService.GetExternalCartDetails(externalCartId);\n }\n async GetPreferredDealer(searchText : string) {\n return await this.cartDetailsDataService.GetPreferredDealer(searchText);\n }\n async AddSoldCount(packageId : number) {\n return await this.cartDetailsDataService.AddSoldCount(packageId)\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { EncryptionService } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Encryption/encryption.service\";\nimport { BehaviorSubject, Observable } from \"rxjs\";\nimport { PackageDetailsService } from \"./package-details.service\";\nimport { SharedService } from \"src/app/shared.service\";\n\n@Injectable({\n providedIn: 'root',\n})\n\nexport class CommmonDataFilterService {\n selectedBrandId: number = 0;\n selectedBrandName: string = '';\n selectedModelFamily: string = '';\n selectedGroupIds: number[] = [];\n selectedTyreType: number = -1;\n isTPMS: boolean = false;\n isIncVat: boolean = true;\n isOnlyMaterial: boolean = false;\n searchString: string = '';\n freeSearchString:string = '';\n themeAdded:boolean = false;\n themePosition:number = 0;\n vatPercent:number = 0;\n chassisType:number = -1;\n private vehicleDataBehaviour = new BehaviorSubject({\n VehicleBrandId:-1,\n VehicleModelFamily:'-1'\n });\n\n constructor(\n private encryptionService: EncryptionService,\n private packageDetailsService: PackageDetailsService,\n private sharedService: SharedService\n ) {}\n\n getVehicleData(): Observable {\n return this.vehicleDataBehaviour.asObservable();\n }\n\n setVehicleData(currentData: any) {\n this.vehicleDataBehaviour.next(currentData);\n }\n\n manageSessionStorage(){\n if (sessionStorage.getItem(this.encryptionService.encryptText('modelFamily')) && (this.packageDetailsService.selectedModelFamily == undefined)) {\n this.packageDetailsService.selectedModelFamily = sessionStorage.getItem(this.encryptionService.encryptText('modelFamily'))\n this.selectedModelFamily = this.packageDetailsService.selectedModelFamily;\n }\n\n if (sessionStorage.getItem(this.encryptionService.encryptText('groups')) && (this.selectedGroupIds.length == 0)) {\n this.selectedGroupIds = sessionStorage.getItem(this.encryptionService.encryptText('groups')).split(',').map(Number)\n }\n\n if (sessionStorage.getItem(this.encryptionService.encryptText('tyreType')) && (this.selectedTyreType == -1)) {\n this.selectedTyreType = Number(sessionStorage.getItem(this.encryptionService.encryptText('tyreType')))\n }\n\n if (sessionStorage.getItem(this.encryptionService.encryptText('isTPMS')) && (!this.isTPMS)) {\n this.isTPMS = Boolean(sessionStorage.getItem(this.encryptionService.encryptText('isTPMS')))\n }\n\n if (sessionStorage.getItem(this.encryptionService.encryptText('chassisType')) && (this.chassisType == -1)) {\n this.chassisType = Number(sessionStorage.getItem(this.encryptionService.encryptText('chassisType')))\n }\n\n if (sessionStorage.getItem(this.encryptionService.encryptText('searchString')) && (this.searchString == '')) {\n this.searchString = sessionStorage.getItem(this.encryptionService.encryptText('searchString'))\n }\n\n this.initialSetup();\n }\n\n initialSetup(){\n\n sessionStorage.setItem(this.encryptionService.encryptText('brandId'), this.encryptionService.encryptText((this.selectedBrandId).toString()));\n\n if (this.packageDetailsService.selectedModelFamily != '' && this.packageDetailsService.selectedModelFamily != undefined) {\n sessionStorage.setItem(this.encryptionService.encryptText('modelFamily'), (this.packageDetailsService.selectedModelFamily).toString());\n }\n\n if (this.selectedGroupIds.length > 0) {\n sessionStorage.setItem(this.encryptionService.encryptText('groups'), (this.selectedGroupIds).toString());\n }\n\n if (this.selectedTyreType != -1) {\n sessionStorage.setItem(this.encryptionService.encryptText('tyreType'), (this.selectedTyreType).toString());\n }\n\n if (this.isTPMS) {\n sessionStorage.setItem(this.encryptionService.encryptText('isTPMS'), (this.isTPMS).toString());\n }\n\n if (this.chassisType != -1) {\n sessionStorage.setItem(this.encryptionService.encryptText('chassisType'), (this.chassisType).toString());\n }\n\n if (this.searchString != '') {\n sessionStorage.setItem(this.encryptionService.encryptText('searchString'), (this.searchString).toString());\n }\n }\n\n manageTruckUser() {\n if (sessionStorage.getItem(this.encryptionService.encryptText('isTruckUser'))) {\n if ((sessionStorage.getItem(this.encryptionService.encryptText('isTruckUser'))) == 'true'){\n this.sharedService.isTruckUser = true;\n }\n else {\n this.sharedService.isTruckUser = false;\n }\n }\n\n sessionStorage.setItem(this.encryptionService.encryptText('isTruckUser'), (this.sharedService.isTruckUser).toString());\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { PackageDetailsDataService } from \"../DataServices/package-details-data.service\";\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PackageDetailsService {\n selectedModelFamily:string;\n constructor(private packageDetailsDataService:PackageDetailsDataService){\n\n }\n async GetPackageDataById(id:number){\n return await this.packageDetailsDataService.GetPackageDataById(id);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { PackageGroupListRequestModel } from '../BusinessEntities/group-list-request-model';\nimport { PackageViewRecord } from '../BusinessEntities/package-view-record';\nimport { PackagePortalDashboardDataService } from '../DataServices/package-portal-dashboard.service';\nimport { PackagePortalGridParamatersViewModel } from '../BusinessEntities/package-portal-grid-paramaters-view-model';\n\n@Injectable({ providedIn: 'root' })\nexport class PackagePortalDashboardService {\n\n constructor(\n private dataService: PackagePortalDashboardDataService\n ) { }\n\n\n async GetPackagePortalDashboardData(dealerId: string) {\n return this.dataService.GetPackagePortalDashboardData(dealerId);\n }\n async GetGroupList(packgeGroupModel: PackageGroupListRequestModel) {\n return this.dataService.GetGroupList(packgeGroupModel);\n }\n async GetPackages(packagePortalGridParamatersViewModel: PackagePortalGridParamatersViewModel) {\n return this.dataService.GetPackages(packagePortalGridParamatersViewModel);\n }\n AddVisitRecord(packageViewRecord: PackageViewRecord) {\n return this.dataService.AddVisitRecord(packageViewRecord);\n }\n async GetDefaultTag() {\n return this.dataService.GetDefaultTag();\n }\n GetTyreTypeDataForPackagePortal() {\n return this.dataService.GetTyreTypeDataForPackagePortal();\n }\n async GetChassisTypes(modelFamily: string) {\n return await this.dataService.GetChassisTypes(modelFamily);\n }\n\n async GetVehicleCode(globalSearchString: string) {\n return await this.dataService.GetVehicleCode(globalSearchString);\n }\n \n async GetTruckBrands() {\n return await this.dataService.GetTruckBrands();\n }\n}\n","import { Injectable } from '@angular/core';\nimport { SupportDataService } from '../DataServices/support-data.service';\n\n@Injectable({ providedIn: 'root' })\nexport class SupportService {\n constructor(\n private dataService: SupportDataService\n ) { }\n\n GetSupportPageDetails() {\n return this.dataService.GetSupportPageDetails();\n }\n\n UpdateUserResponse(response: boolean) {\n return this.dataService.UpdateUserResponse(response);\n }\n\n}\n","import { Injectable } from \"@angular/core\";\nimport { GenericResponse } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Generic/af-generic-response/af-genericResponse\";\nimport { EncryptionService } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Encryption/encryption.service\";\nimport { DataService } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service\";\nimport { environment } from \"src/environments/environment\";\nimport { CartTotalCountViewModel, ExportToDarsParamModel, PackageIdList } from \"../BusinessEntities/cart-total-count-view-model\";\nimport { DealerViewModel } from \"../BusinessEntities/dealer-view-model\";\nimport { PackageCartRequestViewModel } from \"../BusinessEntities/package-cart-view-model\";\nimport { PartsOrderRequestModel } from \"../BusinessEntities/parts-order-request-model\";\nimport { PartsOrderUpdateViewModel } from \"../BusinessEntities/parts-order-update-view-model\";\nimport { UserCartDetailsViewModel } from \"../BusinessEntities/user-cart-details-view-model\";\nimport { PhoneNoViewModel } from \"../BusinessEntities/phone-no-view-model\";\nimport { IfsVehicleCustomer } from \"../BusinessEntities/ifs-vehicle-view-model\";\nimport { ExternalUserDetailsViewModel } from \"../BusinessEntities/external-user-details-view-model\";\nimport { SharedService } from 'src/app/shared.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CartDetailsDataService {\n baseURL = environment.packageToolApiUrl;\n controllerName=\"\";\n constructor(private dataProvider: DataService, private encryptionService: EncryptionService, private sharedService: SharedService) {\n\n }\n\n assignControllerName(){\n if(this.sharedService.isExternalUser) {\n this.controllerName = \"PackagePortalExternal\";\n } else{\n this.controllerName = \"PackagePortalInternal\";\n }\n }\n AddUpdateCartDetails(packageCartRequestModel: PackageCartRequestViewModel) {\n return this.dataProvider.Post>(\n this.baseURL + 'PackagePortal/AddUpdateCartDetails',\n packageCartRequestModel\n ).toPromise();\n\n }\n CreatePartsOrder(partsOrderRequestModel: PartsOrderRequestModel) {\n return this.dataProvider.Post(\n this.baseURL + 'PackageToolWorkOrder/CreateWorkOrder',\n partsOrderRequestModel\n ).toPromise();\n\n }\n UpdatePartsOrder(updatePartsOrderRequestModel: PartsOrderUpdateViewModel) {\n return this.dataProvider.Post(\n this.baseURL + 'PackageToolWorkOrder/UpdateWorkOrder',\n updatePartsOrderRequestModel\n ).toPromise();\n }\n\n GetWorkOrderById(workOrderId: string) {\n return this.dataProvider.Get(\n this.baseURL + 'PackageToolWorkOrder/GetWorkOrderById',\n workOrderId\n ).toPromise();\n }\n\n GetPackageCartDetails() {\n return this.dataProvider\n .Get>(\n this.baseURL + 'PackagePortal/GetPackageCartDetails',\n this.sharedService.userDetails.defaultDealerId).toPromise();\n }\n GetAllSk2022Dealers() {\n this.assignControllerName();\n return this.dataProvider\n .Get>>(\n this.baseURL + this.controllerName +'/GetAllSk2022Dealers').toPromise();\n }\n GetPackagesForUpdate() {\n return this.dataProvider\n .Get>(\n this.baseURL + 'PackagePortal/GetPackagesForUpdate').toPromise();\n }\n DeletePackageFromCart(packageId: number, isWholePackageRemove: boolean, isOnlyMaterial: boolean) {\n return this.dataProvider\n .Delete>(\n this.baseURL + 'PackagePortal/DeletePackageFromCart/' +\n encodeURIComponent(\n this.encryptionService.encryptText(packageId.toString())\n ).replace(/%/g, '!') + '/' + encodeURIComponent(this.encryptionService.encryptText(isOnlyMaterial.toString())).replace(/%/g, '!'), isWholePackageRemove,).toPromise();\n }\n DeleteAllPackageFromCart() {\n return this.dataProvider\n .Get>(\n this.baseURL + 'PackagePortal/DeleteAllPackageFromCart').toPromise();\n }\n UpdateWorkOrderNumber(workOrderNumber: string) {\n return this.dataProvider\n .Post>(\n this.baseURL + 'PackagePortal/UpdateWorkOrderNumber/' + this.encryptionService.encryptURLParameters(workOrderNumber), null).toPromise();\n }\n GetCartTotalCount() {\n return this.dataProvider\n .Get>(\n this.baseURL + 'PackagePortal/GetCartTotalCount').toPromise();\n }\n ExportToDars(exportToDarsParam: ExportToDarsParamModel) {\n return this.dataProvider\n .Post>>(\n this.baseURL + 'PackagePortal/PackageExportCheck', exportToDarsParam).toPromise();\n }\n GetGroupById(id: number) {\n this.assignControllerName();\n return this.dataProvider.Get>(\n this.baseURL + this.controllerName +'/GetGroupById/' + this.encryptionService.encryptURLParameters(id.toString())).toPromise();\n }\n GetCartPackages(packageCartRequestViewModels: PackageCartRequestViewModel[]) {\n this.assignControllerName();\n return this.dataProvider.Post(\n this.baseURL + this.controllerName +'/GetCartPackages', packageCartRequestViewModels\n ).toPromise();\n }\n SendOTP(phoneNoViewModel: PhoneNoViewModel) {\n this.assignControllerName();\n return this.dataProvider.Post(\n this.baseURL + this.controllerName +'/SendOTP', phoneNoViewModel\n ).toPromise();\n }\n ValidateOtpCode(mobileNo: string, otpCode: string) {\n this.assignControllerName();\n return this.dataProvider.Get(\n this.baseURL + this.controllerName +'/ValidateOtpCode/' + this.encryptionService.encryptURLParameters(mobileNo) + '/' + this.encryptionService.encryptURLParameters(otpCode)).toPromise();\n }\n GetCustomerDetails(mobileNo: string) {\n this.assignControllerName();\n return this.dataProvider.Get(\n this.baseURL + this.controllerName +'/GetCustomerDetails/' + this.encryptionService.encryptURLParameters(mobileNo)\n ).toPromise();\n }\n SendExternalCartEmail(externalUserDetailsViewModel: ExternalUserDetailsViewModel) {\n this.assignControllerName();\n return this.dataProvider.Post(\n this.baseURL + this.controllerName +'/SendExternalCartEmail/', externalUserDetailsViewModel\n ).toPromise();\n }\n GetExternalCartDetails(externalCartId: number) {\n return this.dataProvider.Get(\n this.baseURL + 'PackagePortal/GetExternalCartDetails/' + this.encryptionService.encryptURLParameters(externalCartId.toString())\n ).toPromise();\n }\n GetPreferredDealer(searchText: string) {\n this.assignControllerName();\n return this.dataProvider.Get(\n this.baseURL + this.controllerName +'/GetPreferredDealer/' + this.encryptionService.encryptURLParameters(searchText)\n ).toPromise();\n }\n AddSoldCount(packageId: number) {\n this.assignControllerName();\n return this.dataProvider.Post(\n this.baseURL + this.controllerName +'/AddSoldCount', packageId\n ).toPromise();\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { GenericResponse } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Generic/af-generic-response/af-genericResponse\";\nimport { EncryptionService } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Encryption/encryption.service\";\nimport { DataService } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service\";\nimport { environment } from \"src/environments/environment\";\nimport { PackageDataViewModel } from \"../BusinessEntities/package-data-view-model\";\nimport { SharedService } from 'src/app/shared.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PackageDetailsDataService {\n baseURL = environment.packageToolApiUrl;\n controllerName=\"\";\n constructor(private dataProvider: DataService, private sharedService: SharedService, private encryptionService: EncryptionService) {\n\n }\n\n assignControllerName(){\n if(this.sharedService.isExternalUser) {\n this.controllerName = \"PackagePortalExternal\";\n } else{\n this.controllerName = \"PackagePortalInternal\";\n }\n }\n\n GetPackageDataById(id: number) {\n this.assignControllerName();\n return this.dataProvider\n .Get>(\n this.baseURL + this.controllerName +'/GetPackageDetailById/' + this.encryptionService.encryptURLParameters(id.toString()), !this.sharedService.isExternalUser && this.sharedService.userDetails.defaultDealerId ? this.sharedService.userDetails.defaultDealerId : '764').toPromise();\n }\n}\n","import { SharedService } from 'src/app/shared.service';\nimport { Injectable } from '@angular/core';\nimport { GenericResponse } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Generic/af-generic-response/af-genericResponse';\nimport { EncryptionService } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Encryption/encryption.service';\nimport { DataService } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service';\nimport { environment } from 'src/environments/environment';\nimport { EquipmentTypeViewModel } from '../BusinessEntities/equipment-type-view-model';\nimport { PackageGroupListRequestModel } from '../BusinessEntities/group-list-request-model';\nimport { PackageListViewModel } from '../BusinessEntities/package-list-view-model';\nimport { PackagePortalDashboardDataViewModel } from '../BusinessEntities/package-portal-dashboard-data-view-model copy';\nimport { PackageTagsMasterViewModel } from '../BusinessEntities/package-tags-master-view-model';\nimport { PackageViewRecord } from '../BusinessEntities/package-view-record';\nimport { TyreTypesViewModel } from '../BusinessEntities/tyre-type-view-model';\nimport { ChassisTypeModel } from '../BusinessEntities/chassis-type-view-model';\nimport { PackagePortalGridParamatersViewModel } from '../BusinessEntities/package-portal-grid-paramaters-view-model';\n\n@Injectable({ providedIn: 'root' })\nexport class PackagePortalDashboardDataService {\n\n baseURL = environment.packageToolApiUrl;\n controllerName=\"\";\n constructor(\n private dataProvider: DataService,\n private encryptionService: EncryptionService,\n private sharedService:SharedService\n ) { }\n\n assignControllerName(){\n if(this.sharedService.isExternalUser) {\n this.controllerName = \"PackagePortalExternal\";\n } else{\n this.controllerName = \"PackagePortalInternal\";\n }\n }\n\n GetPackagePortalDashboardData(dealerId: string) {\n this.assignControllerName();\n return this.dataProvider\n .Get>(\n this.baseURL + this.controllerName + '/GetPackagePortalDashboardData/' + this.encryptionService.encryptURLParameters(dealerId.toString())).toPromise();\n }\n\n GetPackages(packagePortalGridParamatersViewModel: PackagePortalGridParamatersViewModel) {\n this.assignControllerName();\n return this.dataProvider\n .GetAllwithHeaders>(\n this.baseURL + this.controllerName + '/GetPackageList', packagePortalGridParamatersViewModel).toPromise();\n }\n GetGroupList(packgeGroupModel: PackageGroupListRequestModel) {\n this.assignControllerName();\n return this.dataProvider\n .Post>(\n this.baseURL + this.controllerName + '/GetGroupList/', packgeGroupModel).toPromise();\n }\n AddVisitRecord(packageViewRecord: PackageViewRecord) {\n this.assignControllerName();\n return this.dataProvider.Post(\n this.baseURL + this.controllerName + '/AddVisitRecord',\n packageViewRecord\n ).toPromise();\n }\n\n public async GetDefaultTag() {\n this.assignControllerName();\n return await this.dataProvider.GetAll>(this.baseURL + this.controllerName + '/GetDefaultTag').toPromise();\n }\n\n GetTyreTypeDataForPackagePortal() {\n this.assignControllerName();\n return this.dataProvider\n .Get>(\n this.baseURL + this.controllerName + '/GetTyreTypeDataForPackagePortal').toPromise();\n }\n\n public async GetChassisTypes(modelFamily: string) {\n this.assignControllerName();\n return this.dataProvider\n .Get>(\n this.baseURL + this.controllerName + '/GetChassisTypes/' + this.encryptionService.encryptURLParameters(modelFamily)\n ).toPromise();\n }\n\n public async GetVehicleCode(globalSearchString: string) {\n this.assignControllerName();\n return this.dataProvider\n .Get(\n this.baseURL + this.controllerName + '/GetVehicleCode/' + this.encryptionService.encryptURLParameters(globalSearchString)\n ).toPromise();\n }\n\n public async GetTruckBrands() {\n this.assignControllerName();\n return this.dataProvider\n .Get>(\n this.baseURL + this.controllerName + '/GetTruckBrands'\n ).toPromise();\n }\n}\n","import { DataService } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service';\nimport { Injectable } from '@angular/core';\nimport { environment } from 'src/environments/environment';\nimport { GenericResponse } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Generic/af-generic-response/af-genericResponse';\nimport { SupportPageDetailsViewModel } from '../BusinessEntities/support-page-details-view.model';\n\n@Injectable({ providedIn: 'root' })\nexport class SupportDataService {\n\n baseUrl = environment.packageToolApiUrl;\n\n constructor(\n private dataProvider: DataService\n ) { }\n\n GetSupportPageDetails() {\n return this.dataProvider.Get>(\n this.baseUrl + 'Support/GetSupportPageDetails'\n ).toPromise();\n }\n\n UpdateUserResponse(response: boolean) {\n return this.dataProvider.Put>(\n this.baseUrl + 'Support/UpdateUserResponse',\n response\n ).toPromise();\n }\n}\n","export enum GroupRoleType {\n\n /**\n * The unknown user\n */\n UnKnownUser = 0,\n\n /**\n * The admin\n */\n Admin = 1,\n\n /**\n * The dealer\n */\n Dealer = 2,\n\n /**\n * The call center\n */\n CallCenter = 3,\n\n /**\n * The importer\n */\n Importer = 4,\n\n /**\n * The external call center\n */\n ExternalCallCenter = 5,\n\n /**\n * The BOS owned\n */\n BOSOwned = 8,\n\n /**\n * The mechanic\n */\n Mechanic = 9,\n\n /**\n * The customer advisor\n */\n CustomerAdvisor = 10,\n\n /**\n * The part manager\n */\n PartManager = 11,\n\n /**\n * The external company user\n */\n ExternalCompanyUser = 12,\n\n /**\n * The invoice receiver\n */\n InvoiceReceiver = 13,\n ExtKLAR = 14\n}\n\nexport enum BosMenuName {\n /**\n * The alert configuration\n */\n AlertConfiguration,\n\n /**\n * The appointment\n */\n Appointment,\n\n /**\n * The appointment warning report\n */\n AppointmentWarningReport,\n\n /**\n * The body repair category\n */\n BodyRepairCategory,\n\n /**\n * The body repair damage type\n */\n BodyRepairDamageType,\n\n /**\n * The body repair insurance company\n */\n BodyRepairInsuranceCompany,\n\n /**\n * The body repair request\n */\n BodyRepairRequest,\n\n /**\n * The brand\n */\n Brand,\n\n /**\n * The campaign admin\n */\n CampaignAdmin,\n\n /**\n * The campaign cause\n */\n CampaignCause,\n\n /**\n * The campaign cause report\n */\n CampaignCauseReport,\n\n /**\n * The campaign customer\n */\n CampaignCustomer,\n\n /**\n * The campaign external call center report\n */\n CampaignExternalCallCenterReport,\n\n /**\n * The campaign status\n */\n CampaignStatus,\n\n /**\n * The campaign summary report\n */\n CampaignSummaryReport,\n\n /**\n * The car body type\n */\n CarBodyType,\n\n /**\n * The CDSS agent details report\n */\n CdssAgentDetailsReport,\n\n /**\n * The CDSS agent call detail report\n */\n CdssAgentCallDetailsReport,\n\n /**\n * The color\n */\n Color,\n\n /**\n * The competence\n */\n Competence,\n\n /**\n * The connect offer\n */\n ConnectOffer,\n\n /**\n * The customer receptionist\n */\n CustomerReceptionist,\n\n /**\n * The dashboard\n */\n Dashboard,\n\n /**\n * The dealer\n */\n Dealer,\n\n /**\n * The dealer appointment report\n */\n DealerAppointmentReport,\n\n /**\n * The dealer utilization report\n */\n DealerUtilizationReport,\n\n /**\n * The demo car\n */\n DemoCar,\n\n /**\n * The demo car appointment report\n */\n DemoCarAppointmentReport,\n\n /**\n * The demo car category\n */\n DemoCarCategory,\n\n /**\n * The demo car color\n */\n DemoCarColor,\n\n /**\n * The demo car employee report\n */\n DemoCarEmployeeReport,\n\n /**\n * The demo car hq dashboard\n */\n DemoCarHqDashboard,\n\n /**\n * The demo car model\n */\n DemoCarModel,\n\n /**\n * The democar system configuration\n */\n DemocarSystemConfig,\n\n /**\n * The device\n */\n Device,\n\n /**\n * The device import\n */\n DeviceImport,\n\n /**\n * The distribute device\n */\n DistributeDevice,\n\n /**\n * The DMS account\n */\n DmsAccount,\n\n /**\n * The driver\n */\n Driver,\n\n /**\n * The DTC code\n */\n DtcCode,\n\n /**\n * The facility\n */\n Facility,\n\n /**\n * The fuel type\n */\n FuelType,\n\n /**\n * The holiday\n */\n Holiday,\n\n /**\n * The dealer holiday\n */\n DealerHoliday,\n\n /**\n * The ifs customer\n */\n IfsCustomer,\n\n /**\n * The ifs vehicle\n */\n IfsVehicle,\n\n /**\n * The lend to dealer report\n */\n LendToDealerReport,\n\n /**\n * The mechanic\n */\n Mechanic,\n\n /**\n * The mechanics information report\n */\n MechanicsInfoReport,\n\n /**\n * The model\n */\n Model,\n\n /**\n * My dealer\n */\n MyDealer,\n\n /**\n * The notification settings\n */\n NotificationSettings,\n\n /**\n * The patch note\n */\n PatchNote,\n\n /**\n * The PDF scapper accounts\n */\n PdfScapperAccounts,\n\n /**\n * The planner\n */\n Planner,\n\n /**\n * The press group appointment report\n */\n PressGroupAppointmentReport,\n\n /**\n * The press group customer\n */\n PressGroupCustomer,\n\n /**\n * The press group planner report\n */\n PressGroupPlannerReport,\n\n /**\n * The rental car company booking\n */\n RentalCarCompanyBooking,\n\n /**\n * The rental car company category\n */\n RentalCarCompanyCategory,\n\n /**\n * The rental car company category price\n */\n RentalCarCompanyCategoryPrice,\n\n /**\n * The rental car company contact\n */\n RentalCarCompanyContact,\n\n /**\n * The rental car company\n */\n RentalCarCompany,\n\n /**\n * The reserve car\n */\n ReserveCar,\n\n /**\n * The reserve car email configuration\n */\n ReserveCarEmailConfiguration,\n\n /**\n * The road side assistance\n */\n RoadSideAssistance,\n\n /**\n * The robot process log\n */\n RobotProcessLog,\n\n /**\n * The roles\n */\n Roles,\n\n /**\n * The schedule\n */\n Schedule,\n\n /**\n * The service\n */\n Service,\n\n /**\n * The service data report\n */\n ServiceDataReport,\n\n /**\n * The SMS templates\n */\n SmsTemplates,\n\n /**\n * The sos category\n */\n SosCategory,\n\n /**\n * The system configuration\n */\n SystemConfig,\n\n /**\n * The test drive appointment\n */\n TestDriveAppointment,\n\n /**\n * The test drive contact form\n */\n TestDriveContactForm,\n\n /**\n * The test drive offer\n */\n TestDriveOffer,\n\n /**\n * The tracker user log report\n */\n TrackerUserLogReport,\n\n /**\n * The user role\n */\n UserRole,\n\n /**\n * The vehicle\n */\n Vehicle,\n\n /**\n * The zisson dealer\n */\n ZissonDealer,\n\n /**\n * The dealer service\n */\n DealerService,\n\n /**\n * The SPPS part mapping\n */\n SppsPartMapping,\n\n /**\n * The price engine admin\n */\n PriceEngineAdmin,\n\n /**\n * The competence linked to operation\n */\n CompetenceLinkedToOperation,\n\n /**\n * The user manual\n */\n UserManual,\n\n /**\n * the demo car user manual\n */\n DemoCarUserManual,\n\n /**\n * The campaign user manual\n */\n CampaignUserManual,\n\n /**\n * The minbil user manual\n */\n MinbilUserManual,\n\n /**\n * The PDF scrapper user manual\n */\n PdfScrapperUserManual,\n\n /**\n * The reserve car user manual\n */\n ReserveCarUserManual,\n\n /**\n * The price cause\n */\n PriceCause,\n\n /**\n * The user configuration\n */\n UserConfiguration,\n /**\n * The comm user filter configuration\n */\n CommUserFilterConfiguration,\n /**\n * Car Pool\n */\n DemoCarPool,\n\n /**\n * The price cause report\n */\n PriceCauseReport,\n\n /**\n * New Letter Signup Report\n */\n NewsletterSignupReport,\n\n /**\n * The check list management\n */\n CheckListManagement,\n\n /**\n * The diagnose check list\n */\n DiagnoseCheckList,\n\n /**\n * The diagnose templates\n */\n DiagnoseTemplates,\n\n /**\n * The settings\n */\n Settings,\n\n /**\n * The technical manual\n */\n TechnicalManual,\n\n /**\n * The upload parking picture\n */\n UploadParkingPicture,\n\n /**\n * The demo car dealer configuration\n */\n DemoCarDealerConfiguration,\n\n /**\n * The template\n */\n Template,\n\n /**\n * The notification configuration\n */\n NotificationConfiguration,\n\n /**\n * The tyre hotel booking cars report\n */\n TyreHotelBookingCarsReport,\n\n /**\n * The campaign manager work order report\n */\n CampaignManagerWorkOrderReport,\n\n /**\n * The dealer information\n */\n DealerInformation,\n\n /**\n * The dealer prices\n */\n DealerPrices,\n\n /**\n * The dealer contact information\n */\n DealerContactInfo,\n\n /**\n * The sundry mapping\n */\n SundryMapping,\n\n /**\n * The dealer todays message\n */\n DealerTodaysMessage,\n\n /**\n * The dealer facilities\n */\n DealerFacilities,\n\n /**\n * The dealer attention message\n */\n DealerAttentionMessage,\n\n /**\n * The SSM account\n */\n SsmAccount,\n\n /**\n * The CDSS\n */\n CDSS,\n\n /**\n * The block notification\n */\n BlockCustomerNotification,\n\n /**\n * The customer order tracker\n */\n CustomerOrderTracker,\n\n /**\n * The key drop location\n */\n KeyDropLocation,\n\n /**\n * The part issues\n */\n PartIssues,\n\n /**\n * The dashboard to do list\n */\n DashboardToDoList,\n\n /**\n * The dealer part price\n */\n DealerPartPrice,\n\n /**\n * The workshop messages\n */\n WorkshopMessage,\n\n /**\n * The communication role\n */\n CommSectionRoles,\n\n /**\n * The key position\n */\n KeyPosition,\n\n /**\n * The dealer key position\n */\n DealerKeyPosition,\n\n /**\n * The reserve car refund\n */\n ReserveCarRefund,\n\n /**\n * The event trigger\n */\n EventTrigger,\n\n /**\n * The parts order\n */\n PartsOrder,\n\n /**\n * The parts sales customer\n */\n PartsSalesCustomer,\n\n /**\n * The CDSS region\n */\n CdssRegion,\n\n /**\n * The CDSS dealer region\n */\n CdssDealerRelation,\n\n /**\n * The warranty claim\n */\n WarrantyClaim,\n\n /**\n * The notification configuration flag\n */\n NotificationConfigurationFlag,\n\n /**\n * The service category\n */\n ServiceCategory,\n\n /**\n * The warning light\n */\n WarningLight,\n\n /**\n * The price example report\n */\n PriceExampleReport,\n\n /**\n * The price example\n */\n PriceExample,\n\n /**\n * The external rental car booking\n */\n ExternalRentalCarBooking,\n\n\n /**\n * The external demo car\n */\n ExternalDemoCar,\n\n /**\n * The external rental car dashboard\n */\n ExternalRentalCarDashboard,\n\n /**\n * The special tool\n */\n SpecialTool,\n // ExternalRentalCarDashboard,\n\n /**\n * The dealer special tool\n */\n DealerSpecialTool,\n\n /**\n * To do dashboard section\n */\n ToDoDashboardSection,\n\n /**\n * The mechanic service report\n */\n MechanicServiceReport,\n\n /**\n * The external company customer\n */\n ExternalCompanyCustomer,\n\n /**\n * The external company wo history\n */\n ExternalCompanyWoHistory,\n\n /**\n * The damage row type\n */\n DamageRowType,\n\n /**\n * The damage workshop department\n */\n DamageWorkshopDepartment,\n\n /**\n * The mechanic time code\n */\n MechanicTimeCode,\n\n /**\n * The insurance company\n */\n InsuranceCompany,\n\n /**\n * The body repair\n */\n BodyRepair,\n\n /**\n * The dealer DMS account\n */\n DealerDmsAccount,\n\n /**\n * The Alternate OE Part\n */\n AlternateOePart,\n\n /**\n * The part order priorities\n */\n PartOrderPriorities,\n\n /**\n * The compilator\n */\n DealerMechanicCompilator,\n\n /**\n * The Stamp In/Out\n */\n StampInOut,\n\n /**\n * The automatic key\n */\n AutoKey,\n\n /**\n * PartsSorting Menu\n */\n PartsSorting,\n\n /**\n * The action type monitor\n */\n ActionTypeMonitor,\n\n RackManagement\n}\n\nexport enum RoleModule {\n /**\n * The olp module\n */\n OlpModule = 1,\n\n /**\n * The demo car\n */\n DemoCar = 2,\n\n /**\n * The campaign\n */\n Campaign = 3,\n\n /**\n * The bos connect\n */\n BosConnect = 4,\n\n /**\n * The PDF scrapper\n */\n PdfScrapper = 5,\n\n /**\n * The reserve car\n */\n ReserveCar = 6,\n\n /**\n * The dwo\n */\n Dwo = 7,\n\n /**\n * The communication\n */\n Communication = 8,\n\n /**\n * PartsSorting Module\n */\n PartsSorting = 9,\n DARSAdmin = 10,\n DARSCDSS = 11,\n DARS = 12,\n DARSImporter = 13,\n DARSRoleRight = 14,\n ServiceContract = 15\n}\n\nexport enum ResponseCode {\n Success = 200,\n UnAuthorized = 401,\n Forbidden = 403,\n NotFound = 404,\n InterrnalError = 500,\n ValidationFailure = 1\n}\n\n\nexport enum PageType {\n Add = \"Add\",\n Edit = \"Edit\",\n View = \"View\",\n Delete = \"Delete\"\n\n}\n\nexport enum ErrorType {\n Unauthorized = \"Unauthorized\",\n Unknownuser = \"Unknownuser\",\n Unknownerror = \"Unknownerror\"\n}\n\nexport enum Culture {\n English = 'en-US',\n Norwegian = 'nb-NO'\n}\n\nexport enum CallReportFieldType {\n IncomingCalls = \"1\",\n Answered = \"2\",\n Lost = \"3\",\n AnsweredPer = \"4\",\n LostPer = \"5\",\n AnsweredWithin60Sec = \"6\",\n AnsweredWithin30Sec = \"7\",\n AnsweredWithin60SecPer = \"8\",\n AnsweredWithin30SecPer = \"9\",\n AvgAnsweredCallQueueTime = \"10\",\n AvgLostCallQueueTime = \"11\"\n}\nexport enum AppointmentWorkType {\n NOS = '1',\n DELER = '2',\n KLAR = '3'\n}\n\nexport enum Source {\n OLP = '1',\n IFS = '2',\n Widget = '3',\n Connect = '4',\n Save = '5',\n Peugeot = '6',\n Mercedes = '7',\n PdfScrapper = '8',\n Citroen = '9',\n Ds = '10',\n Incadea = '11',\n Dwo = '12',\n DemoCar = '13',\n Kiosk = '14',\n Dbs = '15',\n Overflow = '16',\n Kia = '17',\n PartsSorting = '18',\n VH = '19',\n Rental = '20',\n DSD = '21',\n DARS = '22',\n Next = '23'\n}\nexport enum PriceCauseType {\n ChangeFixedPriceCause = 1,\n DeleteDemandCause = 2,\n DeleteJobCause = 3,\n DeleteJobDetailCause = 4,\n DeleteAppointmentCause = 5,\n ChangeDemandFixedPriceCause = 6\n}\n\nexport enum DemoCarAppointmentType {\n TestDrive = 1,\n CarMaintenance = 2,\n Internal = 3,\n Workshop = 4,\n PressGroup = 5,\n LendToDealer = 6,\n BodyShop = 7,\n Rental = 8\n}\nexport enum OlpWorkType {\n Appointment = 1,\n PartsOrder = 2,\n BodyRepair = 3,\n KLAR = 4\n}\n\nexport enum CostType {\n Material = 'Material',\n Personnel = 'Personnel',\n External = 'External'\n}\nexport enum CauseCategoryEnum {\n Delete = '1',\n PriceChange = '2',\n WorkOrderCancel = '3'\n}\nexport enum SalesPart {\n RentalCarDefaultSalesPart = 'LBL0',\n RentalCarExternalSalesPart = 'LBLT',\n RentalCarExternalTollRoad = 'LBLTUM'\n}\n\nexport enum XentryPackageType {\n ServiceMeasureCollection = '1',\n\n AdditionalOperation = '2',\n\n Complaint = '3',\n\n Maintenance = '4',\n\n Request = '5',\n\n Unassigned = '6'\n}\n\nexport enum WorkOrderStatus {\n WorkRequest = '1',\n Prepared = '2',\n Started = '3',\n WorkDone = '4',\n Reported = '5',\n Finished = '6',\n Released = '7',\n Cancelled = '8',\n MechanicDone = '9'\n}\n\nexport enum ChangePartStatus {\n /// \n /// The working by spare part dept\n /// \n WorkingBySparePartDept = 1,\n\n /// \n /// To be cancelled\n /// \n ToBeCancelled = 2,\n\n /// \n /// To warehouse\n /// \n ToWarehouse = 3,\n\n /// \n /// The purchased from factory\n /// \n PurchasedFromFactory = 4,\n\n /// \n /// The warehouse fjeldbo\n /// \n WarehouseFjeldbo = 5,\n\n /// \n /// The spare part ok\n /// \n SparePartOk = 6,\n\n /// \n /// The awaiting picking\n /// \n AwaitingPicking = 7,\n\n /// \n /// To garage\n /// \n ToGarage = 8,\n\n /// \n /// The remove status\n /// \n RemoveStatus = 9,\n\n /// \n /// For stock\n /// \n ForStock = 11,\n\n /// \n /// The sharing ok\n /// \n SharingOk = 12,\n\n /// \n /// To the work shop\n /// \n ToTheWorkShop = 13,\n\n /// \n /// The ordered factory\n /// \n OrderedFactory = 14,\n\n /// \n /// The waiting for picking\n /// \n WaitingForPicking = 15,\n\n /// \n /// The direct order\n /// \n DirectOrder = 16\n}\n\nexport enum TemplateType {\n /// \n /// The all\n /// \n All = 0,\n\n /// \n /// The email\n /// \n Email = 1,\n\n /// \n /// The SMS\n /// \n Sms = 2,\n\n /// \n /// The push notification\n /// \n PushNotification = 3,\n\n /// \n /// The notification\n /// \n Notification = 4\n}\nexport enum GroupRoleTypes {\n UnKnownUser = 0,\n Admin = 1,\n Dealer = 2,\n CallCenter = 3,\n Importer = 4,\n ExternalCallCenter = 5,\n BOSOwned = 8,\n Mechanic = 9,\n CustomerAdvisor = 10,\n PartManager = 11,\n ExternalCompanyUser = 12,\n InvoiceReceiver = 13,\n ExtKLAR = 14\n}\n\nexport enum SupplyCodes {\n InventOrder = 'INVENT_ORDER',\n PurchaseOrder = 'PURCHASE_ORDER'\n}\n\nexport enum ReleaseStatus {\n DO = 1,\n SO = 2\n}\n\nexport enum DemoCarAppointmentStatus {\n Confirmed = 1,\n Cancelled = 2,\n Completed = 3,\n Pending = 4,\n Invoiced = 5\n}\n\nexport enum AdditionalHoursPlanner {\n AdditionalHoursColor = '#FFB6C1'\n //AdditionalHoursColor = 'rgb(153,50,204)'\n\n // //AdditionalHoursColor = 'rgb(75,0,130)'\n // //AdditionalHoursColor = 'rgb(138,43,226)'\n}\n\nexport enum WorkeDonePlanner {\n WorkDone = '3px solid green'\n}\n\nexport enum WorkOrderWorkType {\n Bbgar = 'BBGAR',\n Dekkhotell = 'DEKKHOTELL',\n Deler = 'DELER',\n Demo = 'DEMO',\n Drdem = 'DRDEM',\n Gar = 'GAR',\n Klar = 'KLAR',\n Ko = 'KO',\n Kosklar = 'KOSKLAR',\n Kul = 'KUL',\n Nos = 'NOS',\n Omarb = 'OMARB',\n Pakost = 'PÅKOST',\n Pakostbrukt = 'PÅKOST BRUKT',\n Repvedl = 'REP/VEDL',\n Ser = 'SER',\n Takst = 'TAKST',\n}\n\nexport enum InvoiceEdit {\n ReferenceNo = 1,\n Notes = 2\n}\n\nexport enum PlanningTime {\n DeafultPlanningTime = 15\n}\n\nexport enum DiagnoseCheckList {\n DiagnoseCheckList = 2,\n CheckList = 1\n}\n\nexport enum DemoCarPlannerStatus {\n Scheduled = '#00b0a9',\n Delivered = '#eb5b4f',\n Submitted = '#0000FF',\n Completed = '#808080',\n DelayedDelivery = '#fab82d',\n DelayedSubmission = '',\n Invoiced = '#8d519b'\n}\n\nexport enum DemoCarPlannerStatusType {\n Scheduled = 'Scheduled',\n Delivered = 'Delivered',\n Submitted = 'Submitted',\n Completed = 'Completed',\n DelayedDelivery = 'DelayedDelivery',\n DelayedSubmission = 'DelayedSubmission',\n Invoiced = 'Invoiced'\n}\n\nexport enum ContractStatus {\n Draft = 1,\n Offer = 2,\n Contract = 3,\n Active = 18,\n SentForSigning = 20,\n Signed = 8,\n ForApproval = 21,\n AwaitingDelivery= 23\n}\n\nexport enum PayerSelection{\n SameASCustomer = 1,\n OwnDealer = 2,\n LeasingCompany = 3,\n Other = 4\n}\n","export const GlobalConstant = {\n Grid: {\n PageSize: 25,\n StartRecordNo: 1\n },\n Toastr: {\n ExtendedTimeOut: 500,\n TimeOut: 2500,\n PositionClass: 'toast-top-right'\n },\n Dash: ' - ',\n Zero: '0',\n Space: ' ',\n OpenBracket: '(',\n ClosedBracket: ')',\n Colon: ' : ',\n Slash: '/',\n DateFormat: {\n Default: 'dd.MM.yyyy',\n UnderScoreSeparator: 'dd_MM_yyyy',\n Iso: 'yyyy-MM-dd',\n Slash: 'yyyy/MM/dd'\n },\n DateTimeFormat: {\n HypenSeparator: 'yyyy-MM-ddTHH.mm.ss',\n ZeroTimeStamp: 'yyyy-MM-ddT00:00:00',\n Colon: 'yyyy-MM-ddTHH:mm:ss',\n Default: 'dd.MM.yyyy HH:mm'\n },\n LocalStorage: {\n UserDetail: 'userDetail',\n CampaignUserManual: 'campaignUserManual',\n ReserveCarUserManualPath: 'reserveCarUserManualPath',\n OlpUserManualPath: 'olpUserManualPath',\n ToolTip: 'toolTip',\n AvailableRefreshTime: 1500,\n NotAvailableTime: 0\n },\n CommonSupplierNo: '9000300',\n AppointmentReleased: \"AppointmentReleased\",\n DefaultSppsPackageBrand: \"MER,SMA,AMG\"\n};\n\nexport default GlobalConstant;\n\nexport const WeekNameConstant = {\n MondayEnglish: \"Monday\",\n MondayNorway: \"Mandag\",\n TuesdayEnglish: \"Tuesday\",\n TuesdayNorway: \"Tirsdag\",\n WednesdayEnglish: \"Wednesday\",\n WednesdayNorway: \"Onsdag\",\n ThursdayEnglish: \"Thursday\",\n ThursdayNorway: \"Torsdag\",\n FridayEnglish: \"Friday\",\n FridayNorway: \"Fredag\",\n SaturdayEnglish: \"Saturday\",\n SaturdayNorway: \"Lørdag\",\n SundayEnglish: \"Sunday\",\n SundayNorway: \"Søndag\"\n}\n\nexport const FileFormat = {\n Extension: {\n Pdf: \".pdf\",\n Excel: \".xlsx\",\n Csv: \".csv\",\n Xml:\".xml\"\n },\n ContentType: {\n Excel: \"application/ms-excel\",\n Pdf: \"application/pdf\",\n Csv: \"text/csv\"\n }\n}\n\nexport const RackManagementConstant = {\n NormalArea: \"DO Overflow Area\",\n IntermediateArea: \"Future Area\",\n WarrantyArea: \"Warranty Area\",\n MechanicBayArea: \"Mechanic Bay\",\n CounterArea: \"Counter Area\",\n MaxNoOfBins: 12\n}\n\nexport const WorkOrderStatusConstant = {\n WorkRequest: \"WorkRequest\",\n Prepared: \"Prepared\",\n Started: \"Started\",\n WorkDone: \"WorkDone\",\n Reported: \"Reported\",\n Finished: \"Finished\",\n Released: \"Released\",\n Cancelled: \"Cancelled\",\n MechanicDone: \"MechanicDone\"\n}\n\nexport const ApplicationSourceConstant = {\n OLP: 1,\n IFS: 2,\n DARS: 22\n}\n\nexport const CostType = {\n Personnel: 'Personnel',\n Material: 'Material',\n External: 'External'\n};\n\nexport const CreateCustomerChannelTypeIfs = {\n Email: 'inf.001',\n Phone: 'inf.002',\n SMS: 'inf.003',\n Letter: 'inf.004'\n};\n\nexport const CreateCustomerConsentsIfs = {\n Yes: 'YES',\n No: 'NO',\n NotReplied: 'NOT REPLIED'\n};\n\nexport const PackageSource = {\n IFS: 1,\n SPPS: 2,\n DARS: 3\n}\n\nexport const PSABrandCodes: string[] = [ 'PEU', 'CIT', 'DS' ]\n\nexport const DefaultConfigurationValues = {\n Year: 5,\n Mileage: 15000,\n UsageFactorPercentages: 0,\n PaymentPeriodMonths: 1 // -1 -> Full\n}\n\nexport const SecurityKeyConst = {\n authApplicationSource : 'PackagePortal',\n intervalTimeForToken : 3300000 // Info: 1000ms (1 second) = 55 minutes\n}\n\nexport const OutletPackage = {\n OutletBrandId:-2\n}\n","export const RouteConstants = {\n PackagePortal: 'PCLCV',\n PackagePortalTruck: 'TRUCK',\n PackagePortalExternal: 'EXT/PCLCV',\n PackageDashboard: 'package-dashboard',\n PackageDetails: `package-details/:id`,\n PackageDetailsRoute: `package-details`,\n CartDetails: 'cart-details/:cartId',\n CartDetailsDefault: 'cart-details',\n Support: 'support',\n Landing: ':brandCode',\n LandingDefault: 'PCLCV/NONE',\n LandingTruck: 'TRUCK',\n LandingTruckExt: 'EXT/TRUCK',\n}\n\nexport const ChildRoutes = {\n PackageDetailsPage: `/${RouteConstants.PackagePortal}/${RouteConstants.PackageDetailsRoute}`,\n PackageDetailsTruckPage: `/${RouteConstants.PackagePortalTruck}/${RouteConstants.PackageDetailsRoute}`,\n CartPage: `/${RouteConstants.PackagePortal}/${RouteConstants.CartDetails}`,\n CartPageDefault: `/${RouteConstants.PackagePortal}/${RouteConstants.CartDetailsDefault}`,\n MainRoute:`/${RouteConstants.PackagePortal}/${RouteConstants.PackageDashboard}`,\n TruckMainRoute:`/${RouteConstants.PackagePortalTruck}/${RouteConstants.PackageDashboard}`,\n LandingRoute:`/${RouteConstants.PackagePortal}/${RouteConstants.Landing}`,\n LandingDefaultRoute:`/${RouteConstants.PackagePortal}`,\n LandingTruckRoute:`/${RouteConstants.LandingTruck}`\n}\n\nexport const ChildRoutesExternal = {\n PackageDetailsPage: `/${RouteConstants.PackagePortalExternal}/${RouteConstants.PackageDetailsRoute}`,\n PackageDetailsPageForTruck: `/${RouteConstants.LandingTruckExt}/${RouteConstants.PackageDetailsRoute}`,\n CartPage: `/${RouteConstants.PackagePortalExternal}/${RouteConstants.CartDetails}`,\n CartPageDefault: `/${RouteConstants.PackagePortal}/${RouteConstants.CartDetailsDefault}`,\n MainRoute:`/${RouteConstants.PackagePortalExternal}/${RouteConstants.PackageDashboard}`,\n TruckMainRoute:`/${RouteConstants.LandingTruckExt}/${RouteConstants.PackageDashboard}`,\n LandingRoute:`/${RouteConstants.PackagePortalExternal}/${RouteConstants.Landing}`,\n LandingDefaultRoute:`/${RouteConstants.PackagePortalExternal}`,\n LandingTruckRoute:`/${RouteConstants.LandingTruckExt}`\n}\n","import { Component } from '@angular/core';\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\n\n@Component({\n selector: 'af-loader',\n templateUrl: './af-loader.component.html',\n styleUrls: ['./af-loader.component.css']\n})\nexport class AfLoaderComponent {\n constructor(public loaderModal: NgbActiveModal) { }\n\n closeModal() {\n this.loaderModal.close();\n }\n\n}\n\n","
\n \n
","import { Directive, Input, HostListener } from '@angular/core';\nimport { ClipboardService } from 'ngx-clipboard';\n\ndeclare let $: any;\n@Directive({\n selector: '[appCopyText]',\n})\nexport class AfTextCopyIconDirective {\n\n @Input() text: string;\n @Input() icon: string;\n\n @HostListener('click', ['$event'])\n onClick(event) {\n if(this.text != null || this.text != undefined){\n this.clipboardService.copyFromContent(this.text);\n if($(event.srcElement).find(\"span\").length <= 0){\n setTimeout( _ => {\n event.srcElement.className = this.icon;\n }, 1000);\n if(this.icon==\"ico-16 copy-white-icon\"){\n event.srcElement.className = \"ico-16 copy-success-icon-tooltip\";\n }else if(this.icon==\"ico-16 copy-icon\") {\n event.srcElement.className = \"ico-16 copy-success-icon-blue\";\n }else{\n event.srcElement.className = \"mr-1 ico-16 copy-success-icon-button\";\n }\n }else{\n $(event.srcElement).find(\"span\").removeClass(\"mdi-content-save left\");\n $(event.srcElement).find(\"span\").addClass(\"mr-1 ico-16 copy-success-icon-button\");\n setTimeout(_ =>{\n $(event.srcElement).find(\"span\").removeClass(\"mr-1 ico-16 copy-success-icon-button\");\n $(event.srcElement).find(\"span\").addClass(\"mdi-content-save left\");\n },1000);\n }\n }\n }\n\n\n constructor(private readonly clipboardService: ClipboardService) {}\n}\n\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\n@Pipe({\n name: 'afNumberPipe'\n})\n@Injectable({\n providedIn: 'root'\n})\n\n// export class Constants {\n// static readonly DATE_FMT = 'dd.MM.yyyy';\n// static readonly DATE_TIME_FMT = `${Constants.DATE_FMT} HH:mm:ss`;\n// }\n\nexport class AfNumberPipe implements PipeTransform {\n\n transform(value: string, args: string[]): string {\n let newValue= value ? value.replace(/,/g, ' ') : value;\n newValue = newValue.toString().replace(\".\",\",\");\n return newValue;\n }\n\n}\n\n","import { BaseService } from './../../Autofacets.Infrastructure.Services/base-service/base.service';\nimport { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild, UrlTree, CanActivate } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { UserDetails } from '../../Autofacets.Infrastructure.Common/Model/UserDetails';\nimport { MsalService } from '@azure/msal-angular';\n@Injectable({\n providedIn: 'root'\n})\nexport class AuthGuardService implements CanActivateChild, CanActivate {\n\n constructor(\n private baseService: BaseService,\n private msalService: MsalService) { }\n\n canActivate(\n route: ActivatedRouteSnapshot, state: RouterStateSnapshot)\n : boolean | UrlTree | Observable | Promise {\n const url = route.url;\n const lang = route.parent.url[0].path;\n if (!this.baseService.userDetails) {\n return this.baseService.getUserMenudetails().then(\n (response: UserDetails) => {\n this.baseService.userDetails = response;\n if (this.baseService.isMenuAccessible(url)) {\n return true;\n } else {\n return this.baseService.routeUnAuthorizedAccess(lang);\n }\n });\n }\n else if (this.baseService.isMenuAccessible(url)) {\n return true;\n }\n else {\n return this.baseService.routeUnAuthorizedAccess(lang);\n }\n }\n\n canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot)\n : boolean | UrlTree | Observable | Promise {\n const url = childRoute.url;\n const lang = childRoute.parent.url[0].path;\n if (!this.baseService.userDetails) {\n return this.baseService.getUserMenudetails().then(\n (response: UserDetails) => {\n this.baseService.userDetails = response;\n if (this.baseService.isMenuAccessible(url)) {\n return true;\n\n } else {\n return this.baseService.routeOfUnAuthorizedAccess(lang);\n }\n });\n }\n else if (this.baseService.isMenuAccessible(url)) {\n return true;\n }\n else {\n return this.baseService.routeUnAuthorizedAccess(lang);\n }\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport * as CryptoJS from \"crypto-js\";\nimport { environment } from \"src/environments/environment\";\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class EncryptionService {\n encryptText(plainText: string) {\n const key = CryptoJS.enc.Utf8.parse(environment.cKey.trim());\n const iv = CryptoJS.enc.Utf8.parse(\n environment.cKey.substring(0, 16).trim()\n );\n\n return CryptoJS.AES.encrypt(plainText.trim(), key, {\n iv,\n mode: CryptoJS.mode.CBC\n }).toString();\n }\n\n encryptURLParameters(plainText: string) {\n return encodeURIComponent(this.encryptText(plainText)).replace(/%/g, \"!\");\n }\n decrypt(cypherText: string): T {\n let crypttext = cypherText.replace(/!/g, \"%\");\n const key = CryptoJS.enc.Utf8.parse(environment.cKey.trim());\n const iv = CryptoJS.enc.Utf8.parse(\n environment.cKey.substring(0, 16).trim()\n );\n let plaintextArray = CryptoJS.AES.decrypt(\n crypttext.trim(),\n key,\n {\n iv,\n mode: CryptoJS.mode.CBC\n }\n );\n let decrypted = CryptoJS.enc.Latin1.stringify(plaintextArray)\n return JSON.parse(decrypted);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ApplicationInsights, ITraceTelemetry } from '@microsoft/applicationinsights-web';\nimport { ActivatedRouteSnapshot, ResolveEnd, Router } from '@angular/router';\nimport { Subscription } from 'rxjs';\nimport { filter } from 'rxjs/internal/operators/filter';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AfLoggingService {\n private routerSubscription: Subscription;\n\n private appInsights = new ApplicationInsights({\n config: {\n instrumentationKey: '71deec09-be47-4e24-bcce-7c0738ba0727',\n enableDebug: true\n }\n });\n\n constructor(private router: Router) {\n this.appInsights.loadAppInsights();\n this.routerSubscription = this.router.events.pipe(filter(event => event instanceof ResolveEnd)).subscribe((event: ResolveEnd) => {\n const activatedComponent = this.getActivatedComponent(event.state.root);\n if (activatedComponent) {\n this.logPageView(`${activatedComponent.name} ${this.getRouteTemplate(event.state.root)}`, event.urlAfterRedirects);\n }\n });\n }\n\n setUserId(userId: string) {\n this.appInsights.setAuthenticatedUserContext(userId);\n }\n\n clearUserId() {\n this.appInsights.clearAuthenticatedUserContext();\n }\n\n logPageView(name?: string, uri?: string) {\n this.appInsights.trackPageView({ name, uri });\n }\n\n LogError(ex: ITraceTelemetry) {\n this.appInsights.trackTrace({message: ex.message});\n }\n\n\n\n private getActivatedComponent(snapshot: ActivatedRouteSnapshot): any {\n if (snapshot.firstChild) {\n return this.getActivatedComponent(snapshot.firstChild);\n }\n\n return snapshot.component;\n }\n\n private getRouteTemplate(snapshot: ActivatedRouteSnapshot): string {\n let path = '';\n if (snapshot.routeConfig) {\n path += snapshot.routeConfig.path;\n }\n\n if (snapshot.firstChild) {\n return path + this.getRouteTemplate(snapshot.firstChild);\n }\n\n return path;\n }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AuthenticationService {\nloggedIn = false;\n\nisAuthenticated() {\n const promise = new Promise(\n (resolve, reject) => {\n setTimeout(() => {\n resolve(this.loggedIn);\n }, 800);\n }\n );\n return promise;\n}\nlogin() {\n this.loggedIn = true;\n}\n\nlogout() {\n this.loggedIn = false;\n}\n\n}\n","import { ResponseCode, Culture, PageType, ErrorType } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Af-bos-enums';\nimport { Injectable } from '@angular/core';\nimport { NgbModal, NgbModalRef, NgbModalConfig } from '@ng-bootstrap/ng-bootstrap';\nimport { Router, UrlSegment, NavigationStart } from '@angular/router';\nimport { UserMenuRightsViewModel } from '../../Autofacets.Infrastructure.Common/view-model/UserMenuRightsViewModel';\nimport { UserDetails } from '../../Autofacets.Infrastructure.Common/Model/UserDetails';\nimport { GenericResponse } from '../../Autofacets.Infrastructure.Generic/af-generic-response/af-genericResponse';\nimport { UserService } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/user-service/user.service';\nimport { AfLoaderComponent } from '../../Autofacets.Infrastructure.Components/af-loader-component/af-loader.component';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AfHelper } from '../../Autofacets.Infrastructure.Utility/Af-Helper/af-helper.service';\nimport { UserRoleMenu } from '../../Autofacets.Infrastructure.Common/Model/UserRoleMenu';\nimport { ToastrService } from 'ngx-toastr';\nimport { ChildRoutes, ChildRoutesExternal } from '../../Autofacets.Infrastructure.Common/Constant/route.constant';\nimport { SharedService } from 'src/app/shared.service';\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BaseService {\n loaderRef: NgbModalRef;\n isLoading: boolean;\n userName: string;\n defaultMenu: UserRoleMenu;\n userDataTimeStamp: Date;\n isReload: boolean = false;\n currentLang: string;\n constructor(\n public modalService: NgbModal,\n public toastr: ToastrService,\n public router: Router,\n private userService: UserService,\n private sharedModule: SharedService,\n private config: NgbModalConfig,\n private translate: TranslateService,\n private afHelper: AfHelper\n\n ) {\n config.backdrop = 'static';\n config.keyboard = true;\n this.ManageNavigation();\n }\n\n userDetails: UserDetails;\n async getUserMenudetails() {\n\n await this.userService.GetUserDetails()\n .then((res: GenericResponse) => {\n if (res.responseCode === ResponseCode.Success) {\n this.userDetails = res.responseObject;\n }\n }\n );\n return this.userDetails;\n }\n getCurrentUrlAccess(lang: string) {\n const urls = this.getCurrentUrlPaths(lang);\n return this.getCurrentMenuAccess(urls[0], urls[1]);\n }\n\n getPageType(lang: string) {\n const urls = this.getCurrentUrlPaths(lang);\n return PageType[Object.keys(PageType).find(key => key.toLowerCase() === urls[2].toLowerCase())];\n\n }\n getErrorType() {\n const urls = this.getCurrentUrlPaths();\n return ErrorType[Object.keys(ErrorType).find(key => key.toLowerCase() === urls[1].toLowerCase())];\n }\n\n actionExecutable(canAdd: boolean, canEdit: boolean, lang: string) {\n if (canAdd || canEdit) {\n return true;\n } else {\n this.routeUnAuthorizedAccess(lang);\n }\n }\n\n isModuleAccessible(module: string) {\n return this.userDetails.userModuleAccess.some(x => x.moduleName.toLocaleLowerCase() === module.toLocaleLowerCase());\n }\n\n isMenuAccessible(url: UrlSegment[]) {\n const actionType = url[2].path.toLowerCase();\n const currentUserMenuRights = this.getCurrentMenuAccess(url[0].path, url[1].path);\n let isAccessible = false;\n switch (actionType) {\n case 'add':\n isAccessible = currentUserMenuRights.canAdd;\n break;\n case 'edit':\n isAccessible = currentUserMenuRights.canEdit;\n break;\n case 'delete':\n isAccessible = currentUserMenuRights.canDelete;\n break;\n case 'edit-wo-olp':\n case 'edit-wo':\n case 'view-wo':\n case 'view':\n case 'list':\n case 'index':\n case 'usermanualindex':\n case 'reservecarrefund':\n case 'configuration':\n case 'dashboard':\n case 'scheduler':\n isAccessible = currentUserMenuRights.canView;\n break;\n case 'seperator':\n isAccessible = (currentUserMenuRights.canDelete);\n break;\n case 'viewonly':\n isAccessible = (currentUserMenuRights.canEdit || currentUserMenuRights.canAdd);\n break;\n case 'save':\n isAccessible = (currentUserMenuRights.canEdit || currentUserMenuRights.canAdd);\n break;\n case 'readonly':\n isAccessible = (currentUserMenuRights.canEdit || currentUserMenuRights.canAdd);\n break;\n case 'editdelete':\n isAccessible = (currentUserMenuRights.canEdit || currentUserMenuRights.canDelete);\n break;\n }\n return isAccessible;\n }\n public routeUnAuthorizedAccess(lang: string) {\n return this.router.navigate([lang, 'Error', 'UnAuthorized']);\n }\n public routeOfUnAuthorizedAccess(lang: string) {\n return this.router.parseUrl('/' + lang + '/Error/UnAuthorized');\n }\n public getCurrentUrlPaths(lang: string = null) {\n const url = this.router.routerState.snapshot.url.toLocaleLowerCase();\n const urls = url.replace('/en-us/', '')\n .replace('/nb-no/', '').split('/');\n return urls;\n }\n\n private getCurrentMenuAccess(areaName: string, menuName: string) {\n return this.getMenuRights(areaName.toLowerCase(), menuName.toLowerCase());\n }\n\n private getMenuRights(areaName: string, menu: string) {\n let menuRights: UserMenuRightsViewModel = {\n menuName: menu,\n canAdd: false,\n canEdit: false,\n canView: false,\n canDelete: false\n };\n\n if (this.userDetails\n .userRoleMenu\n .some(m => m.menuName.toLowerCase() === menu && m.areaName.toLowerCase() === areaName)) {\n menuRights = this.userDetails\n .userRoleMenu\n .filter(m => m.menuName.toLowerCase() === menu && m.areaName.toLowerCase() === areaName)[0];\n }\n let roledata = this.userDetails.userRoleMenu.filter(x => x.menuName.toLowerCase() == menu && x.areaName.toLowerCase() == areaName);\n if (roledata.length > 0) {\n menuRights.moduleName = roledata[0].moduleName\n menuRights.sectionType = roledata[0].sectionType\n }\n return menuRights;\n }\n\n showLoader(show: boolean) {\n if (show && !this.isLoading) {\n this.loaderRef = this.modalService.open(AfLoaderComponent, {\n windowClass: 'override-z-index-five'\n });\n this.isLoading = show;\n } else if (this.loaderRef && !show) {\n this.loaderRef.dismiss();\n this.isLoading = show;\n }\n }\n\n GetCurrentLanguage() {\n let url = window.location.href;\n if (url.indexOf('nb-NO') === -1 && url.indexOf('en-US') === -1) {\n return Culture.Norwegian;\n }\n return url.indexOf('nb-NO') !== -1 ? Culture.Norwegian : Culture.English;\n }\n\n DownLoadFile(data: any, extension: string, name: string) {\n let type: string;\n type = this.GetContentTypeDownload(extension);\n const blob = new Blob([data], { type });\n const url = window.URL.createObjectURL(blob);\n const fileLink = document.createElement('a');\n fileLink.href = url;\n fileLink.download = name;\n fileLink.click();\n }\n\n DownLoadFileWithContentType(data: any, type: string, name: string) {\n const blob = new Blob([data], { type });\n const url = window.URL.createObjectURL(blob);\n const fileLink = document.createElement('a');\n fileLink.href = url;\n fileLink.download = name;\n fileLink.click();\n }\n\n\n\n private GetContentTypeDownload(extension: string) {\n let contentType: string;\n if (extension === '.xlsx') {\n contentType = 'application/ms-excel';\n } else if (extension === '.pdf') {\n contentType = 'application/pdf';\n } else if (extension === '.csv') {\n contentType = 'text/csv';\n }\n return contentType;\n }\n\n SetBreadCrumbOnHardRefress(urls: UrlSegment[]) {\n if (urls[0] && urls[1]) {\n let userAccess = this.getCurrentMenuAccess(urls[0].toString(), urls[1].toString());\n if (userAccess) {\n this.translate.get([userAccess.menuName, userAccess.moduleName, userAccess.sectionType])\n }\n }\n }\n\n GetReportTitle(lang: string) {\n const urls = this.getCurrentUrlPaths(lang);\n let fileName = '';\n if (urls[0] && urls[1]) {\n let userAccess = this.getCurrentMenuAccess(urls[0].toString(), urls[1].toString());\n if (userAccess) {\n this.translate.get([userAccess.menuName, userAccess.moduleName, userAccess.sectionType])\n .subscribe(translations => {\n fileName = translations[userAccess.menuName];\n });\n }\n }\n return fileName;\n }\n\n private ManageNavigation() {\n this.router.events\n .pipe()\n .subscribe(async (event) => {\n if (event instanceof NavigationStart) {\n if (event.url === '' || event.url === '/' || event.url.includes('id_token')) {\n this.NavigateToDefaultPage();\n } else {\n this.isReload = true;\n }\n }\n });\n }\n\n private NavigateToDefaultPage() {\n if (!this.sharedModule.isExternalUser) {\n this.router.navigate([ChildRoutes.LandingDefaultRoute]);\n } else {\n this.router.navigate([ChildRoutesExternal.LandingDefaultRoute]);\n }\n }\n}\n","import { HttpHeaders, HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { SharedService } from 'src/app/shared.service';\nimport { EncryptionService } from '../../Autofacets.Infrastructure.Security/Encryption/encryption.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DataService {\n public accessToken: string = '';\n public isSetOAuthToken: boolean = false;\n constructor(\n private readonly encryptionService: EncryptionService,\n private http: HttpClient,\n private sharedService:SharedService\n ) { }\n\n private prepareOptions(\n isContentTypeEnabled: boolean = true,\n params: any = null\n ): any {\n let headers = new HttpHeaders();\n\n if(this.sharedService.isSetOAuthToken) {\n headers = headers\n .set('Accept', 'application/json')\n .set('Authorization', `Bearer ` + this.sharedService.accessToken);\n\n } else{\n headers = headers\n .set('Accept', 'application/json');\n }\n\n if (isContentTypeEnabled) {\n headers = headers.set('Content-Type', 'application/json');\n }\n if (params != null) {\n headers = headers.set(\n 'Payload',\n this.encryptionService.encryptText(JSON.stringify(params))\n );\n }\n\n return { headers };\n }\n\n GetWithBasicAuth(uri: string, ...params: any[]) {\n let headers = new HttpHeaders();\n const encryptedParamsString: string = params.map(param => encodeURIComponent(param.toString()))\n .join('/')\n return this.http.get(`${uri}/${encryptedParamsString}`, { headers }).pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n private getToken() {\n if (window.location.href.split('/')[3] == 'EXT'){\n return (localStorage.getItem(\"token_external\"))\n }\n else {\n return (localStorage.getItem(\"token\"))\n }\n }\n\n GetAll(uri: string) {\n const options = this.prepareOptions();\n return this.http.get(`${uri}`, options).pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n GetAllwithHeaders(uri: string, params: any) {\n const options = this.prepareOptions(true, params);\n return this.http.get(`${uri}`, options).pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n Get(uri: string, ...params: any[]) {\n const options = this.prepareOptions();\n const encryptedParamsString: string = params\n .map(param =>\n encodeURIComponent(this.encryptionService.encryptText(param.toString()))\n )\n .join('/')\n .replace(/%/g, '!');\n return this.http.get(`${uri}/${encryptedParamsString}`, options).pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n GetWithoutEncryption(uri: string, httpOptions?: any) {\n const options = this.prepareOptions();\n if (httpOptions?.responseType) {\n options.responseType = httpOptions.responseType;\n }\n return this.http.get(uri, options).pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n PostWithHeaders(uri: string, params: any, httpOptions?: any) {\n const options = this.prepareOptions();\n if (httpOptions?.responseType) {\n options.responseType = httpOptions.responseType;\n }\n return this.http\n .post(\n uri,\n this.encryptionService.encryptText(JSON.stringify(params)),\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n PostWithHeadersWithToken(uri: string, params: any, httpOptions?: any) {\n let options = this.prepareOptions();\n options.headers = options.headers.set('Authorization', `Bearer ${this.getToken()}`);\n if (httpOptions?.responseType) {\n options.responseType = httpOptions.responseType;\n }\n return this.http\n .post(\n uri,\n this.encryptionService.encryptText(JSON.stringify(params)),\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n Post(uri: string, params: any) {\n const options = this.prepareOptions();\n return this.http\n .post(\n uri,\n this.encryptionService.encryptText(JSON.stringify(params)),\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n PostWithoutEncryption(uri: string, params: any) {\n const options = this.prepareOptions();\n return this.http\n .post(\n uri,\n JSON.stringify(params),\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n PostForm(uri: string, params: any) {\n const options = this.prepareOptions(false);\n return this.http.post(uri, params, options).pipe(\n\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n\n\n PostFormWithHeaders(uri: string, params: any, httpOptions?: any) {\n let options = this.prepareOptions(false);\n\n if (httpOptions?.responseType) {\n options = options.headers.set('Content-Type', 'multipart/form-data');\n options.responseType = httpOptions.responseType;\n }\n\n return this.http.post(uri, params, options).pipe(\n\n catchError(err => {\n\n return err;\n }),\n map((response: T) => {\n\n return response;\n })\n );\n }\n\n Put(uri: string, params: any) {\n const options = this.prepareOptions();\n return this.http\n .put(\n uri,\n this.encryptionService.encryptText(JSON.stringify(params)),\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n PutForm(uri: string, params: any) {\n const options = this.prepareOptions(false);\n return this.http\n .put(\n uri,\n params,\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n Patch(uri: string, params: any) {\n const options = this.prepareOptions();\n return this.http\n .patch(\n uri,\n this.encryptionService.encryptText(JSON.stringify(params)),\n options\n )\n .pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n Delete(uri: string, params: any) {\n const options = this.prepareOptions();\n let encryptedUrl = '';\n if (params != null) {\n encryptedUrl = encodeURIComponent(\n this.encryptionService.encryptText(params.toString())\n ).replace(/%/g, '!');\n }\n return this.http.delete(`${uri}/${encryptedUrl}`, options).pipe(\n catchError(err => {\n return err;\n }),\n map((response: T) => {\n return response;\n })\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { environment } from 'src/environments/environment';\nimport { DataService } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service';\nimport { GenericResponse } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Generic/af-generic-response/af-genericResponse';\nimport { UserDetails } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Model/UserDetails';\n\n@Injectable({ providedIn: 'root' })\nexport class UserDataService {\n private baseURL = environment.packageToolApiUrl;\n\n constructor(\n private dataService: DataService\n ) { }\n\n public GetUserDetails() {\n return this.dataService\n .GetAll>(this.baseURL + 'PackagePortal/GetLoggedInUserDetails')\n .toPromise();\n }\n\n public GetToken() {\n return this.dataService\n .Get(this.baseURL + 'Token/GetToken')\n .toPromise();\n }\n}\n","import { Injectable } from '@angular/core';\nimport { UserDataService } from './user-data.service';\n@Injectable({ providedIn: 'root' })\nexport class UserService {\n constructor(private readonly userDataService: UserDataService) { }\n\n public async GetUserDetails() {\n return await this.userDataService.GetUserDetails();\n }\n\n public GetToken() {\n return this.userDataService.GetToken();\n }\n}\n","\nimport { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\n\ndeclare let $: any;\n@Injectable({\n providedIn: 'root'\n})\nexport class AfHelper {\n cartTotalCountAndPrice = new Subject();\n\n public GetCartTotalCountAndPrice(): Observable {\n return this.cartTotalCountAndPrice.asObservable();\n }\n public SetCartTotalCountAndPrice(status: boolean) {\n return this.cartTotalCountAndPrice.next(status);\n }\n\n public IsNotNullEmptyOrUndefined(value: any) {\n return !this.isNullOrUndefined(value) && value;\n }\n public isNullOrUndefined(value: any) {\n return (value === null || value === undefined);\n }\n public IsNullEmptyOrUndefined(value: any) {\n return this.isNullOrUndefined(value) || value === '';\n }\n\n public IsNumeric(event) {\n const keyCode = (event.which) ? event.which : event.keyCode;\n // Allow: backspace, delete, tab, escape, and enter (do not allow dot)\n //// Allow: backspace, delete, tab, escape, enter and .\n if ($.inArray(keyCode, [8, 9, 27, 13, 190, 44, 45, 46]) !== -1 ||\n // Allow: Ctrl+A, Command+A\n (keyCode == 65 && (event.ctrlKey === true || event.metaKey === true))) {\n // let it happen, don't do anything\n return;\n }\n // Ensure that it is a number and stop the keypress\n if ((event.shiftKey || (keyCode < 48 || keyCode > 57))) {\n event.preventDefault();\n }\n }\n\n CloneObject(data) {\n return JSON.parse(JSON.stringify(data));\n }\n\n\n\n\n}\n","import { AfLoggingService } from '../../Autofacets.Infrastructure.Services/Af-Logging/af-logging.service';\nimport { environment } from 'src/environments/environment';\nimport { Injectable, ErrorHandler, Injector } from '@angular/core';\nimport { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpErrorResponse } from '@angular/common/http';\nimport { Observable, throwError } from 'rxjs';\nimport { catchError } from 'rxjs/operators';\nimport { BaseService } from '../../Autofacets.Infrastructure.Services/base-service/base.service';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ErrorInterceptor implements ErrorHandler, HttpInterceptor {\n\n loggingService: AfLoggingService;\n baseService: BaseService;\n translateService: TranslateService;\n constructor(private injector?: Injector) {\n }\n\n error: any;\n handleError(error: any) {\n this.loggingService = this.injector.get(AfLoggingService);\n this.loggingService.LogError(error);\n if (!environment.production) {\n console.error(error);\n return throwError(error);\n }\n }\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\n return next.handle(req)\n .pipe(\n catchError((error: any) => {\n if (error instanceof HttpErrorResponse) {\n this.baseService = this.injector.get(BaseService);\n this.translateService = this.injector.get(TranslateService);\n if (this.baseService.modalService.hasOpenModals()) {\n this.baseService.modalService.dismissAll();\n }\n if (this.baseService.toastr.toasts.length === 0) {\n if (error.status === 403) {\n this.baseService.toastr.warning(this.translateService.instant('UnknownUserMessage'));\n } else if (error.status === 404) {\n this.baseService.toastr.warning(this.translateService.instant('NotFoundUrlError'));\n } else if (error.headers.get('moduleifserror') != null){\n // for status code 500\n this.baseService.toastr.error(this.translateService.instant('IFSApiError'));\n }\n }\n this.baseService.toastr.toastrConfig.timeOut = 5000;\n return this.handleError(error);\n }\n })\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.css']\n})\nexport class AppComponent {\n title = 'autofacets-infrastructure';\n}\n","

\n AutofacetsInfrastructure\n

","import { CommonModule, DatePipe } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgbModalModule } from '@ng-bootstrap/ng-bootstrap';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { AfLoaderComponent } from '../Autofacets.Infrastructure.Components/af-loader-component/af-loader.component';\nimport { AfTextCopyIconDirective } from '../Autofacets.Infrastructure.Directives/af-textCopyIcon.directive';\nimport { AfNumberPipe } from '../Autofacets.Infrastructure.Pipes/custom-date-pipe/af-number.pipe';\nimport { AuthGuardService } from '../Autofacets.Infrastructure.Security/Auth-Guard/auth-guard.service';\nimport { AuthenticationService } from '../Autofacets.Infrastructure.Services/Authentication/authentication.service';\nimport { BaseService } from '../Autofacets.Infrastructure.Services/base-service/base.service';\nimport { DataService } from '../Autofacets.Infrastructure.Services/data-service/data.service';\nimport { AppComponent } from './app.component';\nimport { UserService } from '../Autofacets.Infrastructure.Services/user-service/user.service';\nimport { UserDataService } from '../Autofacets.Infrastructure.Services/user-service/user-data.service';\nimport { CartDetailsDataService } from 'projects/Shared/DataServices/cart-details-data.service';\nimport { CartDetailsService } from 'projects/Shared/BusinessServices/cart-details.service';\nimport { SupportService } from 'projects/Shared/BusinessServices/support.service';\nimport { SupportDataService } from 'projects/Shared/DataServices/support-data.service';\nimport { PackageDetailsService } from 'projects/Shared/BusinessServices/package-details.service';\nimport { PackageDetailsDataService } from 'projects/Shared/DataServices/package-details-data.service';\nimport { PackagePortalDashboardService } from 'projects/Shared/BusinessServices/package-portal-dashboard.service';\nimport { PackagePortalDashboardDataService } from 'projects/Shared/DataServices/package-portal-dashboard.service';\n\n@NgModule({\n declarations: [\n AppComponent,\n AfLoaderComponent,\n AfNumberPipe,\n AfTextCopyIconDirective\n\n ],\n imports: [\n CommonModule,\n HttpClientModule,\n NgbModalModule,\n FormsModule,\n TranslateModule.forRoot()\n ],\n providers: [\n DatePipe\n ],\n exports: [AfLoaderComponent, AfNumberPipe, AfTextCopyIconDirective],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n\nNgModule({\n exports: [\n // ValidateFieldDirective\n ]\n})\nexport class AutofacetsInfrastructureModule {\n static forRoot(): ModuleWithProviders {\n return {\n ngModule: AppModule,\n providers: [\n AuthenticationService,\n AuthGuardService,\n BaseService,\n DataService,\n UserService,\n UserDataService,\n CartDetailsService,\n CartDetailsDataService,\n SupportService,\n SupportDataService,\n PackageDetailsService,\n PackageDetailsDataService,\n PackagePortalDashboardService,\n PackagePortalDashboardDataService\n ]\n };\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nconst appRoute: Routes = [\n { path: '', redirectTo: 'PCLCV', pathMatch: 'full' },\n {\n path: 'EXT/PCLCV',\n loadChildren: () => import('projects/package-portal-ext/src/app/app.module').then(m => m.AppModule)\n },\n {\n path: 'PCLCV',\n loadChildren: () => import('projects/package-portal/src/app/app.module').then(m => m.AppModule)\n },\n {\n path: 'EXT/TRUCK',\n loadChildren: () => import('projects/package-portal-ext/src/app/app.module').then(m => m.AppModule)\n },\n {\n path: 'TRUCK',\n loadChildren: () => import('projects/package-portal/src/app/app.module').then(m => m.AppModule)\n }\n];\n\nconst isIframe = window !== window.parent && !window.opener;\n\n@NgModule({\n imports: [RouterModule.forRoot(appRoute, {\n initialNavigation: !isIframe ? 'enabledNonBlocking' : 'disabled' // Don't perform initial navigation in iframes\n })],\n exports: [RouterModule]\n})\nexport class AppRoutingModule {\n}\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { environment } from 'src/environments/environment';\nimport { interval, Subject, Subscription } from 'rxjs';\nimport { SharedService } from './shared.service';\nimport {UserCartDetailsViewModel} from \"../../projects/Shared/BusinessEntities/user-cart-details-view-model\";\nimport {CommmonDataFilterService} from \"../../projects/Shared/BusinessServices/common-data-filter.service\";\nimport { AuthService } from './auth.service';\nimport { SecurityKeyConst } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Constant/global.constant';\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent implements OnInit, OnDestroy {\n isIframe = true;\n loginDisplay = false;\n isShowMainHeader = true;\n private readonly _destroying$ = new Subject();\n isDashboardActive = false;\n redirectCount = 0;\n PackagePortalAccessText: string = '';\n displayedBrandName: string = '';\n userCartDetails: UserCartDetailsViewModel;\n private intervalSubscription: Subscription;\n isTokenAvailable: boolean = false;\n constructor(\n public sharedService: SharedService,\n private commonDataFilterService: CommmonDataFilterService,\n private authService:AuthService\n ) {\n this.sharedService.isExternalUser = window.location.href.split('/')[3] == 'EXT';\n this.setAppConfiguration();\n }\n\n get brandName(): string {\n if (this.commonDataFilterService.selectedBrandName != this.displayedBrandName) {\n if (this.commonDataFilterService.themeAdded) {\n let last = document.getElementsByTagName('head')[0].childNodes[this.commonDataFilterService.themePosition];\n last.parentNode.removeChild(last);\n }\n this.commonDataFilterService.themePosition = document.getElementsByTagName('head')[0].childNodes.length;\n this.displayedBrandName = this.commonDataFilterService.selectedBrandName;\n switch (this.commonDataFilterService.selectedBrandName) {\n case \"Peugeot\": {\n this.setLoadCssFile(\"../../../assets/css/theme-peu.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Mercedes-Benz\": {\n this.setLoadCssFile(\"../../../assets/css/theme-mer.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"smart\": {\n this.setLoadCssFile(\"../../../assets/css/theme-smart.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Opel\": {\n this.setLoadCssFile(\"../../../assets/css/theme-opel.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Kia\": {\n this.setLoadCssFile(\"../../../assets/css/theme-kia.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Jeep\": {\n this.setLoadCssFile(\"../../../assets/css/theme-jeep.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Fiat\": {\n this.setLoadCssFile(\"../../../assets/css/theme-fiat.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Fiat Professional\": {\n this.setLoadCssFile(\"../../../assets/css/theme-fiat-prof.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"DS\": {\n this.setLoadCssFile(\"../../../assets/css/theme-ds.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Citroën\": {\n this.setLoadCssFile(\"../../../assets/css/theme-cit.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n case \"Alfa Romeo\": {\n this.setLoadCssFile(\"../../../assets/css/theme-alf.css\");\n this.commonDataFilterService.themeAdded = true;\n break;\n }\n default: {\n this.commonDataFilterService.themeAdded = false;\n break;\n }\n }\n }\n\n return this.commonDataFilterService.selectedBrandName;\n }\n\n async ngOnInit() {\n if(this.sharedService.isExternalUser) {\n //Set interval to 1000ms (1 second), change as needed\n const intervalTime = SecurityKeyConst.intervalTimeForToken;\n //Subscribe to the interval observable\n this.intervalSubscription = interval(intervalTime).subscribe(async () => {\n //Perform your desired action here\n await this.authService.authenticate();\n });\n //Get Authentication Token\n await this.authService.authenticate();\n } else{\n this.isIframe = window !== window.parent && !window.opener;\n }\n }\n\n setLoadCssFile(fileName: string): void {\n const cssfileref = document.createElement('link');\n cssfileref.setAttribute('rel', 'stylesheet');\n cssfileref.setAttribute('type', 'text/css');\n cssfileref.setAttribute('href', fileName);\n document.getElementsByTagName('head')[0].appendChild(cssfileref);\n }\n\n logout() {\n this.sharedService.logoutEvent.next(true);\n }\n\n\n ngOnDestroy(): void {\n this._destroying$.next(undefined);\n this._destroying$.complete();\n }\n\n\n setAppConfiguration() {\n environment.cKey = \"letreb-O-neets-NewArch-1901-2020\";\n }\n}\n","\r\n\r\n \r\n\r\n\r\n","import { ErrorHandler, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { AppComponent } from './app.component';\nimport { AppRoutingModule } from './app-routing.module';\nimport { AutofacetsInfrastructureModule } from 'projects/autofacets-infrastructure/src/app/app.module';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\nimport { HttpClientModule } from '@angular/common/http';\nimport { AuthGuardService } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Security/Auth-Guard/auth-guard.service';\nimport { ErrorInterceptor } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Utility/Interceptor/error.interceptor';\nimport { ToastrModule } from 'ngx-toastr';\n\n@NgModule({\n declarations: [\n AppComponent\n ],\n imports: [\n BrowserModule,\n BrowserAnimationsModule,\n AppRoutingModule,\n NgbDropdownModule,\n HttpClientModule,\n ToastrModule.forRoot(),\n AutofacetsInfrastructureModule.forRoot(),\n ],\n providers: [\n { provide: ErrorHandler, useClass: ErrorInterceptor },\n AuthGuardService\n ],\n bootstrap: [AppComponent]\n\n})\nexport class AppModule { }\n","import { Injectable } from \"@angular/core\";\nimport { SecurityKeyConst } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Constant/global.constant\";\nimport { DataService } from \"projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Services/data-service/data.service\";\nimport { environment } from \"src/environments/environment\";\nimport { SharedService } from \"./shared.service\";\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AuthService {\n baseCoreApiURI = environment.genericApiURL;\n constructor(private dataProvider: DataService, private sharedService:SharedService) { }\n async authenticate() {\n try {\n let tokenInfo = await this.dataProvider.GetWithBasicAuth(this.baseCoreApiURI + 'ClientToken/GetAuthToken', SecurityKeyConst.authApplicationSource).toPromise();\n if (tokenInfo) {\n this.sharedService.accessToken = tokenInfo.responseObject.accessToken;\n this.sharedService.isSetOAuthToken = true;\n return true;\n }\n return false;\n } catch (err) {\n console.error(err);\n return false;\n }\n }\n}\n","import { Injectable } from '@angular/core';\nimport { UserDetails } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Model/UserDetails';\nimport { Subject } from 'rxjs';\nimport {PackageCartRequestViewModel} from \"../../projects/Shared/BusinessEntities/package-cart-view-model\";\nimport {CartTotalCountViewModel} from \"../../projects/Shared/BusinessEntities/cart-total-count-view-model\";\nimport { ChildRoutes, ChildRoutesExternal } from 'projects/autofacets-infrastructure/src/Autofacets.Infrastructure.Common/Constant/route.constant';\nimport { Router } from '@angular/router';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SharedService {\n public cartTotalCountAndPrice: CartTotalCountViewModel = new CartTotalCountViewModel;\n public loggedInUsername: string;\n public userDetails: UserDetails;\n public loggedIn: boolean = false;\n public isExternalUser: boolean = false;\n public isCartFull: boolean = false;\n public cartPackagesList: PackageCartRequestViewModel[] = [];\n logoutEvent = new Subject();\n public isTruckUser: boolean = false;\n public accessToken: string=\"\";\n public isSetOAuthToken: boolean = false;\n\n constructor(private router: Router,){\n }\n\n redirectUrlBasedOnBrand(){\n if(this.isTruckUser) {\n this.router.navigate([ChildRoutes.TruckMainRoute]);\n } else{\n this.router.navigate([ChildRoutes.MainRoute]);\n }\n }\n\n redirectUrlBasedOnBrandForExternal(){\n if(this.isTruckUser) {\n this.router.navigate([ChildRoutesExternal.TruckMainRoute]);\n } else{\n this.router.navigate([ChildRoutesExternal.MainRoute]);\n }\n }\n\n\n redirectPackageDetailTruck(encryptedPackageId: string){\n if(this.isTruckUser) {\n this.router.navigate([ChildRoutes.PackageDetailsTruckPage, encryptedPackageId], { state: { example: true } });\n } else{\n this.router.navigate([ChildRoutes.PackageDetailsPage, encryptedPackageId], { state: { example: true } });\n }\n }\n\n redirectPackageDetailTruckforExternal(encryptedPackageId: string){\n if(this.isTruckUser) {\n this.router.navigate([ChildRoutesExternal.PackageDetailsPageForTruck, encryptedPackageId], { state: { example: true } });\n } else{\n this.router.navigate([ChildRoutesExternal.PackageDetailsPage, encryptedPackageId], { state: { example: true } });\n }\n }\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: true,\n genericApiURL: 'https://wapbolpcore01.azurewebsites.net/api/',\n packageToolApiUrl: 'https://wapbolppt03.azurewebsites.net/api/',\n language: 'en-US',\n envName: 'PROD',\n msalConfig: {\n clientID: '15fc91d5-a009-41ac-aa97-093a949635e0',\n authority: 'https://login.microsoftonline.com/bertelosteen.onmicrosoft.com/',\n cacheLocation: 'localStorage',\n redirectUri: 'https://tilbehor.bos.no/',\n postLogoutRedirectUri: 'https://tilbehor.bos.no/',\n validateAuthority: true,\n navigateToLoginRequestUrl: true,\n popUp: false,\n consentScopes: ['user.read', 'openid', 'profile', 'api://15fc91d5-a009-41ac-aa97-093a949635e0'],\n resourceScope: \"api://15fc91d5-a009-41ac-aa97-093a949635e0/user_impersonation\",\n protectedResourceScopes: ['user.read']\n },\n cKey: '',\n ModId: ''\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 { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\nimport 'zone.js'\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n"],"names":["CartTotalCountViewModel","constructor","ExportToDarsParamModel","PackageIdList","CartDetailsService","cartDetailsDataService","AddUpdateCartDetails","packageCartRequestModel","CreatePartsOrder","partsOrderRequestModel","UpdatePartsOrder","partsOrderUpdateModel","GetWorkOrderById","workOrderId","GetPackageCartDetails","GetPackagesForUpdate","GetCartTotalCount","GetAllSk2022Dealers","DeletePackageFromCart","packageId","isWholePackageRemove","isOnlyMaterial","DeleteAllPackageFromCart","UpdateWorkOrderNumber","workOrderNumber","ExportToDars","exportToDarsParam","GetGroupById","id","GetCartPackages","packageCartRequestViewModels","SendOTP","phoneNoViewModel","ValidateOtpCode","mobileNo","otpCode","GetCustomerDetails","SendExternalCartEmail","externalUserDetailsViewModel","GetExternalCartDetails","externalCartId","isNaN","GetPreferredDealer","searchText","AddSoldCount","factory","providedIn","BehaviorSubject","CommmonDataFilterService","encryptionService","packageDetailsService","sharedService","VehicleBrandId","VehicleModelFamily","getVehicleData","vehicleDataBehaviour","asObservable","setVehicleData","currentData","next","manageSessionStorage","sessionStorage","getItem","encryptText","selectedModelFamily","undefined","selectedGroupIds","length","split","map","Number","selectedTyreType","isTPMS","Boolean","chassisType","searchString","initialSetup","setItem","selectedBrandId","toString","manageTruckUser","isTruckUser","PackageDetailsService","packageDetailsDataService","GetPackageDataById","PackagePortalDashboardService","dataService","GetPackagePortalDashboardData","dealerId","GetGroupList","packgeGroupModel","GetPackages","packagePortalGridParamatersViewModel","AddVisitRecord","packageViewRecord","GetDefaultTag","GetTyreTypeDataForPackagePortal","GetChassisTypes","modelFamily","GetVehicleCode","globalSearchString","GetTruckBrands","SupportService","GetSupportPageDetails","UpdateUserResponse","response","environment","CartDetailsDataService","dataProvider","packageToolApiUrl","assignControllerName","isExternalUser","controllerName","Post","baseURL","toPromise","updatePartsOrderRequestModel","Get","userDetails","defaultDealerId","Delete","encodeURIComponent","replace","encryptURLParameters","PackageDetailsDataService","PackagePortalDashboardDataService","GetAllwithHeaders","GetAll","SupportDataService","baseUrl","Put","GroupRoleType","BosMenuName","RoleModule","ResponseCode","PageType","ErrorType","Culture","CallReportFieldType","AppointmentWorkType","Source","PriceCauseType","DemoCarAppointmentType","OlpWorkType","CostType","CauseCategoryEnum","SalesPart","XentryPackageType","WorkOrderStatus","ChangePartStatus","TemplateType","GroupRoleTypes","SupplyCodes","ReleaseStatus","DemoCarAppointmentStatus","AdditionalHoursPlanner","WorkeDonePlanner","WorkOrderWorkType","InvoiceEdit","PlanningTime","DiagnoseCheckList","DemoCarPlannerStatus","DemoCarPlannerStatusType","ContractStatus","PayerSelection","GlobalConstant","Grid","PageSize","StartRecordNo","Toastr","ExtendedTimeOut","TimeOut","PositionClass","Dash","Zero","Space","OpenBracket","ClosedBracket","Colon","Slash","DateFormat","Default","UnderScoreSeparator","Iso","DateTimeFormat","HypenSeparator","ZeroTimeStamp","LocalStorage","UserDetail","CampaignUserManual","ReserveCarUserManualPath","OlpUserManualPath","ToolTip","AvailableRefreshTime","NotAvailableTime","CommonSupplierNo","AppointmentReleased","DefaultSppsPackageBrand","WeekNameConstant","MondayEnglish","MondayNorway","TuesdayEnglish","TuesdayNorway","WednesdayEnglish","WednesdayNorway","ThursdayEnglish","ThursdayNorway","FridayEnglish","FridayNorway","SaturdayEnglish","SaturdayNorway","SundayEnglish","SundayNorway","FileFormat","Extension","Pdf","Excel","Csv","Xml","ContentType","RackManagementConstant","NormalArea","IntermediateArea","WarrantyArea","MechanicBayArea","CounterArea","MaxNoOfBins","WorkOrderStatusConstant","WorkRequest","Prepared","Started","WorkDone","Reported","Finished","Released","Cancelled","MechanicDone","ApplicationSourceConstant","OLP","IFS","DARS","Personnel","Material","External","CreateCustomerChannelTypeIfs","Email","Phone","SMS","Letter","CreateCustomerConsentsIfs","Yes","No","NotReplied","PackageSource","SPPS","PSABrandCodes","DefaultConfigurationValues","Year","Mileage","UsageFactorPercentages","PaymentPeriodMonths","SecurityKeyConst","authApplicationSource","intervalTimeForToken","OutletPackage","OutletBrandId","RouteConstants","PackagePortal","PackagePortalTruck","PackagePortalExternal","PackageDashboard","PackageDetails","PackageDetailsRoute","CartDetails","CartDetailsDefault","Support","Landing","LandingDefault","LandingTruck","LandingTruckExt","ChildRoutes","PackageDetailsPage","PackageDetailsTruckPage","CartPage","CartPageDefault","MainRoute","TruckMainRoute","LandingRoute","LandingDefaultRoute","LandingTruckRoute","ChildRoutesExternal","PackageDetailsPageForTruck","AfLoaderComponent","loaderModal","closeModal","close","selectors","decls","vars","consts","template","i0","AfTextCopyIconDirective","clipboardService","onClick","event","text","copyFromContent","$","srcElement","find","setTimeout","_","className","icon","removeClass","addClass","hostBindings","ctx","AfNumberPipe","transform","value","args","newValue","pure","AuthGuardService","baseService","msalService","canActivate","route","state","url","lang","parent","path","getUserMenudetails","then","isMenuAccessible","routeUnAuthorizedAccess","canActivateChild","childRoute","routeOfUnAuthorizedAccess","CryptoJS","EncryptionService","plainText","key","enc","Utf8","parse","cKey","trim","iv","substring","AES","encrypt","mode","CBC","decrypt","cypherText","crypttext","plaintextArray","decrypted","Latin1","stringify","JSON","ApplicationInsights","ResolveEnd","filter","AfLoggingService","router","config","instrumentationKey","enableDebug","appInsights","loadAppInsights","routerSubscription","events","pipe","subscribe","activatedComponent","getActivatedComponent","root","logPageView","name","getRouteTemplate","urlAfterRedirects","setUserId","userId","setAuthenticatedUserContext","clearUserId","clearAuthenticatedUserContext","uri","trackPageView","LogError","ex","trackTrace","message","snapshot","firstChild","component","routeConfig","AuthenticationService","isAuthenticated","promise","Promise","resolve","reject","loggedIn","login","logout","NavigationStart","BaseService","modalService","toastr","userService","sharedModule","translate","afHelper","backdrop","keyboard","ManageNavigation","GetUserDetails","res","responseCode","Success","responseObject","getCurrentUrlAccess","urls","getCurrentUrlPaths","getCurrentMenuAccess","getPageType","Object","keys","toLowerCase","getErrorType","actionExecutable","canAdd","canEdit","isModuleAccessible","module","userModuleAccess","some","x","moduleName","toLocaleLowerCase","actionType","currentUserMenuRights","isAccessible","canDelete","canView","navigate","parseUrl","routerState","areaName","menuName","getMenuRights","menu","menuRights","userRoleMenu","m","roledata","sectionType","showLoader","show","isLoading","loaderRef","open","windowClass","dismiss","GetCurrentLanguage","window","location","href","indexOf","Norwegian","English","DownLoadFile","data","extension","type","GetContentTypeDownload","blob","Blob","URL","createObjectURL","fileLink","document","createElement","download","click","DownLoadFileWithContentType","contentType","SetBreadCrumbOnHardRefress","userAccess","get","GetReportTitle","fileName","translations","includes","NavigateToDefaultPage","isReload","HttpHeaders","catchError","DataService","http","prepareOptions","isContentTypeEnabled","params","headers","isSetOAuthToken","set","accessToken","GetWithBasicAuth","encryptedParamsString","param","join","err","getToken","localStorage","options","GetWithoutEncryption","httpOptions","responseType","PostWithHeaders","post","PostWithHeadersWithToken","PostWithoutEncryption","PostForm","PostFormWithHeaders","put","PutForm","Patch","patch","encryptedUrl","delete","UserDataService","GetToken","UserService","userDataService","Subject","AfHelper","GetCartTotalCountAndPrice","cartTotalCountAndPrice","SetCartTotalCountAndPrice","status","IsNotNullEmptyOrUndefined","isNullOrUndefined","IsNullEmptyOrUndefined","IsNumeric","keyCode","which","inArray","ctrlKey","metaKey","shiftKey","preventDefault","CloneObject","HttpErrorResponse","throwError","TranslateService","ErrorInterceptor","injector","handleError","error","loggingService","production","console","intercept","req","handle","translateService","hasOpenModals","dismissAll","toasts","warning","instant","toastrConfig","timeOut","AppComponent","CommonModule","DatePipe","HttpClientModule","NgModule","FormsModule","NgbModalModule","TranslateModule","AppModule","bootstrap","imports","forRoot","declarations","exports","AutofacetsInfrastructureModule","ngModule","providers","RouterModule","appRoute","redirectTo","pathMatch","loadChildren","isIframe","opener","AppRoutingModule","initialNavigation","interval","commonDataFilterService","authService","setAppConfiguration","brandName","selectedBrandName","displayedBrandName","themeAdded","last","getElementsByTagName","childNodes","themePosition","parentNode","removeChild","setLoadCssFile","ngOnInit","intervalTime","intervalSubscription","authenticate","cssfileref","setAttribute","appendChild","logoutEvent","ngOnDestroy","_destroying$","complete","ErrorHandler","BrowserModule","BrowserAnimationsModule","NgbDropdownModule","ToastrModule","provide","useClass","AuthService","genericApiURL","tokenInfo","baseCoreApiURI","SharedService","redirectUrlBasedOnBrand","redirectUrlBasedOnBrandForExternal","redirectPackageDetailTruck","encryptedPackageId","example","redirectPackageDetailTruckforExternal","language","envName","msalConfig","clientID","authority","cacheLocation","redirectUri","postLogoutRedirectUri","validateAuthority","navigateToLoginRequestUrl","popUp","consentScopes","resourceScope","protectedResourceScopes","ModId","enableProdMode","__NgCli_bootstrap_1","bootstrapModule","catch"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}