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EA,4DACFA,QACFA,+BACFA,6BACFA,2BACJA,8kBDVaM,CAAqB,KDQhCD,MAAO,qBAET,CACEH,KAAM,gBACNC,UAAW,OACXC,UGbiC,MAA7B,MAAOQ,YAAsB,oCAAtBA,EAAsB,EAAtBA,EAAsB,sBAAtBA,EAAsBb,mNCRnCC,iBACEA,iCACEA,gCAAIA,+BAAmBA,QACvBA,+BAAGA,+DAAmDA,QACtDA,oCACIA,uCAAwEA,yBAAYA,QACxFA,2BACFA,yBACFA,yfDAaY,CAAsB,KHcjCP,MAAO,mBAQF,IAAMQ,EAAgC,MAAvC,MAAOA,YAAgC,oCAAhCA,EAAgC,EAAhCA,EAAgC,sBAAhCA,MAAgC,0BAHjCC,cAAsBb,GACtBa,QAECD,CAAgC,mBKNtC,IAAME,EAAyB,MAAhC,MAAOA,YAAyB,oCAAzBA,EAAyB,EAAzBA,EAAyB,sBAAzBA,MAAyB,0BANlCC,KACAH,EACAI,mBACAC,QAGSH,CAAyB","names":["QuestionIds","QuestionIdsSL","FitDataService","constructor","http","loadData","form","data","Object","keys","forEach","id","v","push","questionId","parseInt","answers","Array","isArray","submitForm","this","post","submitPublicForm","corrId","contactInfo","fitSearchQuestions","PUBLIC_ENDPOINTS","updateServiceListingForm","clientId","clientServiceId","put","submitServiceListingForm","getSearchResult","searchId","get","params","getPublicSearchResult","downloadResults","observe","responseType","downloadPublicSearchResponses","contactSuppliers","supplierIds","contactPublicSearchSuppliers","getFitSearchHistory","checkSearchExpiry","_angular_core__WEBPACK_IMPORTED_MODULE_1__","factory","PublicSearchResultsComponent","selectors","i0","routes","path","pathMatch","component","title","FitNextStepsComponent","router","ngOnInit","onSearchAgain","navigateByUrl","core","SearchExpiredComponent","PublicSearchResultsRoutingModule","RouterModule","PublicSearchResultsModule","CommonModule","FitResultsModule","MatButtonModule"],"sourceRoot":"webpack:///","sources":["./src/app/fit-wizard/models/question.model.ts","./src/app/fit-wizard/services/fit-data/fit-data.service.ts","./src/app/public-search-results/public-search-results/public-search-results.component.ts","./src/app/public-search-results/public-search-results/public-search-results.component.html","./src/app/public-search-results/public-search-results-routing.module.ts","./src/app/public-search-results/fit-next-steps/fit-next-steps.component.ts","./src/app/public-search-results/fit-next-steps/fit-next-steps.component.html","./src/app/public-search-results/search-expired/search-expired.component.ts","./src/app/public-search-results/search-expired/search-expired.component.html","./src/app/public-search-results/public-search-results.module.ts"],"sourcesContent":["import { IResponseOption, ISelectedAnswerOption, ResponseTypes } from '../services/fit-questions/fit-questions.service';\r\n\r\nexport interface IBaseQuestionConfig {\r\n order: number;\r\n question: string;\r\n questionId: number;\r\n display: boolean;\r\n choiceId?: number;\r\n selectedAnswer?: ISelectedAnswerOption[];\r\n responseOptions: IResponseOption[];\r\n}\r\n\r\nexport interface IRadioQuestion extends IBaseQuestionConfig {\r\n responseType: ResponseTypes.single;\r\n}\r\n\r\nexport interface ITextQuestion extends IBaseQuestionConfig {\r\n responseType: ResponseTypes.text;\r\n}\r\nexport interface IRankedQuestion extends IBaseQuestionConfig {\r\n responseType: ResponseTypes.ranked;\r\n}\r\nexport interface IMultipleQuestion extends IBaseQuestionConfig {\r\n responseType: ResponseTypes.multiple;\r\n}\r\n\r\nexport type QuestionTypes = IRadioQuestion | ITextQuestion | IRankedQuestion | IMultipleQuestion;\r\n\r\nexport enum QuestionIds {\r\n serviceType = 68,\r\n technologySolution=69,\r\n numberEmployees = 70,\r\n serviceLocation=71,\r\n primaryService = 79,\r\n hasIntegrations = 88,\r\n importantIntegrations = 98,\r\n makePayments = 101,\r\n paymentPreference = 102,\r\n whichIntegrations = 174,\r\n}\r\n\r\n\r\nexport enum QuestionIdsSL {\r\n serviceType = 106,\r\n technologyServices = 107,\r\n handleService = 110,\r\n handlesCash = 116,\r\n dataGov = 130,\r\n respManagement = 132,\r\n disasterPlan = 133,\r\n mobileAppTeam = 144,\r\n mobileAppEmployee = 145,\r\n whichIntegrations = 152,\r\n techProprietary = 175,\r\n useTech = 178,\r\n appName = 192,\r\n email = 194,\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { AnswerTypes } from '../../models/answer.model';\r\nimport { IFitSearch } from '../../models/search-history.model';\r\nimport { PUBLIC_ENDPOINTS } from '@shared';\r\nimport { IContactInfo, IPublicQuestionsWithContactInfo } from '../../models/contact-info.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FitDataService {\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n private loadData(form: { [id: string]: AnswerTypes | AnswerTypes[] }) {\r\n const data: IFitSearchQuestionDto[] = [];\r\n Object.keys(form).forEach((id) => {\r\n const v = form[id];\r\n data.push({\r\n questionId: parseInt(id, 10),\r\n answers: Array.isArray(v) ? v : [v]\r\n })\r\n });\r\n\r\n return data;\r\n }\r\n\r\n submitForm(form: { [id: string]: AnswerTypes | AnswerTypes[] }) {\r\n return this.http.post('fit/search', this.loadData(form));\r\n }\r\n\r\n submitPublicForm(form: { [id: string]: AnswerTypes | AnswerTypes[] }, corrId: string, contactInfo: IContactInfo) {\r\n const data: IPublicQuestionsWithContactInfo = {\r\n corrId: corrId,\r\n contactInfo: contactInfo,\r\n fitSearchQuestions: this.loadData(form)\r\n };\r\n return this.http.post(`${PUBLIC_ENDPOINTS.submitPublicFitSearch}`, data);\r\n }\r\n\r\n updateServiceListingForm(\r\n clientId: string,\r\n form: { [id: number]: AnswerTypes | AnswerTypes[] },\r\n clientServiceId: number\r\n ) {\r\n return this.http.put(\r\n `clients/${clientId}/servicelisting?clientServiceId=${clientServiceId}`,\r\n this.loadData(form)\r\n );\r\n }\r\n\r\n submitServiceListingForm(clientId: string, form: { [id: number]: AnswerTypes | AnswerTypes[] }) {\r\n return this.http.post(`clients/${clientId}/servicelisting`, this.loadData(form));\r\n }\r\n\r\n getSearchResult(searchId: number) {\r\n return this.http.get('fit/fitsearchresult', { params: { searchId } })\r\n }\r\n\r\n getPublicSearchResult(searchId: number, corrId: string) {\r\n return this.http.get(PUBLIC_ENDPOINTS.loadPublicFitResults, { params: { searchId, corrId } })\r\n }\r\n\r\n downloadResults(clientId: string, searchId: number) {\r\n return this.http.get(`profiles/${clientId}/employer/downloadresponses/${searchId}`, {\r\n observe: 'response',\r\n responseType: 'blob'\r\n });\r\n }\r\n\r\n downloadPublicSearchResponses(corrId: string) {\r\n return this.http.get(`${PUBLIC_ENDPOINTS.downloadPublicSearchResponses}/${corrId}`, {\r\n observe: 'response',\r\n responseType: 'blob'\r\n });\r\n }\r\n\r\n contactSuppliers(supplierIds: string[], searchId: number) {\r\n return this.http.post(`fit/contactsuppliers`, { searchId, supplierIds })\r\n }\r\n\r\n contactPublicSearchSuppliers(supplierIds: string[], corrId: string) {\r\n return this.http.post(PUBLIC_ENDPOINTS.contactPublicSearchSuppliers, { corrId, supplierIds })\r\n }\r\n\r\n getFitSearchHistory() {\r\n return this.http.get(`/fit/searchhistory`)\r\n }\r\n\r\n checkSearchExpiry(corrId: string) {\r\n return this.http.get(PUBLIC_ENDPOINTS.checkSearchExpiry, { params: { corrId } })\r\n }\r\n}\r\n\r\nexport interface ProfileIntegrationsDTO {\r\n hris: string;\r\n payroll: string;\r\n rmc: string;\r\n expense: string;\r\n travel: string;\r\n costOfLiving: string;\r\n immigration: string;\r\n tax: string;\r\n stockPlan: string;\r\n}\r\n\r\nexport interface IFitSearchQuestionDto {\r\n questionId: number;\r\n answers: AnswerTypes[];\r\n}\r\n\r\nexport interface FitResultSupplier {\r\n supplierName: string;\r\n fitResult: number;\r\n quality: number;\r\n value: number;\r\n technology: number;\r\n capability: number;\r\n serviceDelivery: number;\r\n supplierId: string;\r\n email: string;\r\n selected: boolean;\r\n websiteUrl: string;\r\n linkedInUrl: string;\r\n}\r\n\r\nexport interface FitResultDto {\r\n criteria: string[],\r\n suppliers: FitResultSupplier[],\r\n}\r\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'maas-public-search-results',\r\n templateUrl: './public-search-results.component.html',\r\n styleUrls: ['./public-search-results.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PublicSearchResultsComponent {\r\n}\r\n","
\r\n \r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { PublicSearchResultsComponent } from './public-search-results/public-search-results.component';\r\nimport { FitNextStepsComponent } from './fit-next-steps/fit-next-steps.component';\r\nimport { SearchExpiredComponent } from './search-expired/search-expired.component';\r\n\r\nconst routes: Routes = [{\r\n path: 'fitresults/:searchId',\r\n pathMatch: 'full',\r\n component: PublicSearchResultsComponent,\r\n title: 'search'\r\n},\r\n{\r\n path: 'next-steps',\r\n pathMatch: 'full',\r\n component: FitNextStepsComponent,\r\n title: 'search next steps'\r\n},\r\n{\r\n path: 'searchexpired',\r\n pathMatch: 'full',\r\n component: SearchExpiredComponent,\r\n title: 'search expired'\r\n}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class PublicSearchResultsRoutingModule { }\r\n","import { Component } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'maas-fit-next-steps',\r\n templateUrl: './fit-next-steps.component.html',\r\n styleUrls: ['./fit-next-steps.component.scss']\r\n})\r\nexport class FitNextStepsComponent {\r\n constructor(private router: Router) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n onSearchAgain() {\r\n this.router.navigateByUrl('public/home')\r\n }\r\n\r\n}\r\n","
\r\n
\r\n

your chosen supplier(s) will be notified shortly!

\r\n

\r\n thank you for being a part of the Dot to Dot Marketplace. while you wait to hear back, feel free to search again!\r\n
\r\n\r\n

\r\n
\r\n search again\r\n \r\n want to get a head start on the rfp process? download our rfp template here:\r\n \r\n \r\n
\r\n
\r\n
","import { ChangeDetectionStrategy, Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'maas-search-expired',\r\n templateUrl: './search-expired.component.html',\r\n styleUrls: ['./search-expired.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SearchExpiredComponent {\r\n}\r\n","
\r\n
\r\n

your search expired

\r\n

you can always return to home page and search again

\r\n
\r\n search again\r\n
\r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { PublicSearchResultsRoutingModule } from './public-search-results-routing.module';\r\nimport { PublicSearchResultsComponent } from './public-search-results/public-search-results.component';\r\nimport { FitResultsModule } from '../pages/fit-results/fit-results.module';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { FitNextStepsComponent } from './fit-next-steps/fit-next-steps.component';\r\nimport { SearchExpiredComponent } from './search-expired/search-expired.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n PublicSearchResultsComponent,\r\n FitNextStepsComponent,\r\n SearchExpiredComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n PublicSearchResultsRoutingModule,\r\n FitResultsModule,\r\n MatButtonModule,\r\n ]\r\n})\r\nexport class PublicSearchResultsModule { }\r\n"],"x_google_ignoreList":[]}