{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/models/enums/buyerRequestState.ts","webpack:///./src/views/buyerRequests/RequestsManage.vue?a27b","webpack:///./src/store/auth/index.ts","webpack:///./src/store/index.ts","webpack:///./src/api/items.api.ts","webpack:///./src/api/contacts.api.ts","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep1.vue?e41a","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesResponses.vue?6de7","webpack:///./src/components/CategoryForm.vue?b008","webpack:///./src/components/Logo.vue?9e34","webpack:///./src/api/category.api.ts","webpack:///./src/components/ApprovalRequestStateChip.vue?fd7f","webpack:///./src/components/ApprovalRequestStateChip.vue","webpack:///./src/components/ApprovalRequestStateChip.vue?e854","webpack:///./src/components/ApprovalRequestStateChip.vue?ed55","webpack:///./src/components/Logo.vue?75ca","webpack:///./src/components/Logo.vue","webpack:///./src/components/Logo.vue?014e","webpack:///./src/components/Logo.vue?6d38","webpack:///./src/views/buyerRequests/quickQuotes/DoughnutChart.vue?cddf","webpack:///./src/plugins/msal-plugin.ts","webpack:///./src/components/ApprovalRequestStateChip.vue?4dce","webpack:///./src/components/ConfirmDialog.vue?c1a8","webpack:///./src/models/enums/approvalRequestState.ts","webpack:///./src/api/contracts.api.ts","webpack:///./src/components/ContractBaseStatusChip.vue?85f3","webpack:///./src/models/enums/approvalRequestBaseStatus.ts","webpack:///./src/components/ApprovalRequestBaseStatusChip.vue?754f","webpack:///./src/components/ApprovalRequestBaseStatusChip.vue","webpack:///./src/components/ApprovalRequestBaseStatusChip.vue?c67a","webpack:///./src/components/ApprovalRequestBaseStatusChip.vue?8f85","webpack:///./src/components/LinkedContractEditForm.vue?0854","webpack:///./src/components/ApproverResponseChip.vue?a85d","webpack:///./src/api/team.api.ts","webpack:///./src/views/legal/Terms.vue?b843","webpack:///./src/api/apibase.ts","webpack:///./src/api/approvalRequests.api.ts","webpack:///./src/views/contracts/RequestsManage.vue?bd25","webpack:///./src/store/auth/actions.ts","webpack:///./src/components/ContractBaseStatusChip.vue?54e1","webpack:///./src/components/ContractBaseStatusChip.vue","webpack:///./src/components/ContractBaseStatusChip.vue?2802","webpack:///./src/components/ContractBaseStatusChip.vue?1325","webpack:///./src/components/PersonForm.vue?e850","webpack:///./src/components/PersonForm.vue","webpack:///./src/components/PersonForm.vue?7e6d","webpack:///./src/components/PersonForm.vue?c8a9","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotePreview.vue?9e43","webpack:///./src/components/QuotationStateChip.vue?9bda","webpack:///./src/components/QuotationStateChip.vue","webpack:///./src/components/QuotationStateChip.vue?be81","webpack:///./src/components/QuotationStateChip.vue?6c92","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotePreview.vue","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotePreview.vue?e73f","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotePreview.vue?863f","webpack:///./src/services/authRedirect.service.ts","webpack:///./src/api/buyers.api.ts","webpack:///./src/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue?1d29","webpack:///./src/views/superAdmin/buyers/buyerDetails/buyerDetailsResponse.vue?a3af","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep2.vue?263e","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesResponses.vue?cf01","webpack:///./src/components/HomeNavCard.vue?821c","webpack:///./src/views/superAdmin/quickQuotes/RequestsManage.vue?a74e","webpack:///./src/components/ApproverStateChip.vue?c2a0","webpack:///./src/services/toast.service.ts","webpack:///./src/views/buyerRequests/quickQuotes/HorizontalBarChart.vue?fbc2","webpack:///./src/models/enums/teamMemberRole.ts","webpack:///./src/views/contracts/requestManage/CreateContractPage.vue?69b9","webpack:///./src/api/settings.api.ts","webpack:///./src/App.vue?ce1f","webpack:///./src/components/ApproverForm.vue?410e","webpack:///./src/views/contracts/requestManage/CreateContractPage.vue?3954","webpack:///./src/components/ConfirmDialog.vue?f3ab","webpack:///./src/components/ConfirmDialog.vue","webpack:///./src/components/ConfirmDialog.vue?3042","webpack:///./src/components/ConfirmDialog.vue?e2d0","webpack:///./src/services/taxType.service.ts","webpack:///./src/store/auth/getters.ts","webpack:///./src/components/PolicyDisplay.vue?51c5","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotePreview.vue?37bd","webpack:///./src/models/enums/categoryType.ts","webpack:///./src/components/PolicyDisplay.vue?1661","webpack:///./src/components/PolicyDisplay.vue","webpack:///./src/components/PolicyDisplay.vue?efbf","webpack:///./src/components/PolicyDisplay.vue?6040","webpack:///./src/components/PersonForm.vue?c1f0","webpack:///./src/models/enums/contractBaseStatus.ts","webpack:///./src/models/enums/taxType.ts","webpack:///./src/views/Home.vue?9878","webpack:///./src/App.vue?19be","webpack:///./src/App.vue","webpack:///./src/App.vue?4dbd","webpack:///./src/App.vue?4195","webpack:///./src/aws-exports.js","webpack:///./src/plugins/vuetify.ts","webpack:///./src/registerServiceWorker.ts","webpack:///./src/main.ts","webpack:///./src/services/date.service.ts","webpack:///./src/assets/logo.png","webpack:///./src/views/buyerRequests/quickQuotes/BarChart.vue?f922","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteForm.vue?78b5","webpack:///./src/components/ApprovalRequestBaseStatusChip.vue?a858","webpack:///./src/components/LoadingSpinner.vue?1e22","webpack:///./src/components/LoadingSpinner.vue","webpack:///./src/components/LoadingSpinner.vue?6fd9","webpack:///./src/components/LoadingSpinner.vue?f352","webpack:///./src/views/contracts/requestDetails/RequestResponses.vue?2a37","webpack:///./src/views/approvalRequests/requestDetails/RequestResponses.vue?4064","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesDetails.vue?1835","webpack:///./src/components/BuyerRequestStateChip.vue?e49d","webpack:///./src/components/BuyerRequestStateChip.vue","webpack:///./src/components/BuyerRequestStateChip.vue?735a","webpack:///./src/components/BuyerRequestStateChip.vue?8ff7","webpack:///./src/components/QuotationStateChip.vue?acd2","webpack:///./src/components/BuyerRequestStateChip.vue?3b91","webpack:///./src/api/buyerRequests.api.ts","webpack:///./src/views/superAdmin/buyers/BuyersManage.vue?f33d","webpack:///./src/api/quotations.api.ts","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesDetails.vue?dd3c","webpack:///./src/views/superAdmin/quickQuotes/RequestsManage.vue?f36d","webpack:///./src/views/superAdmin/quickQuotes/RequestsManage.vue","webpack:///./src/views/superAdmin/quickQuotes/RequestsManage.vue?f8bc","webpack:///./src/views/superAdmin/quickQuotes/RequestsManage.vue?4c49","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesDetails.vue?6031","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesDetails.vue","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesDetails.vue?5011","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesDetails.vue?9ec2","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesResponses.vue?08b5","webpack:///./src/views/buyerRequests/quickQuotes/DoughnutChart.vue?d42a","webpack:///./src/views/buyerRequests/quickQuotes/DoughnutChart.vue","webpack:///./src/views/buyerRequests/quickQuotes/DoughnutChart.vue?a13e","webpack:///./src/views/buyerRequests/quickQuotes/DoughnutChart.vue?f9af","webpack:///./src/views/buyerRequests/quickQuotes/BarChart.vue?d2f2","webpack:///./src/views/buyerRequests/quickQuotes/BarChart.vue","webpack:///./src/views/buyerRequests/quickQuotes/BarChart.vue?369d","webpack:///./src/views/buyerRequests/quickQuotes/BarChart.vue?ff28","webpack:///./src/views/buyerRequests/quickQuotes/HorizontalBarChart.vue?6ffb","webpack:///./src/views/buyerRequests/quickQuotes/HorizontalBarChart.vue","webpack:///./src/views/buyerRequests/quickQuotes/HorizontalBarChart.vue?b2b7","webpack:///./src/views/buyerRequests/quickQuotes/HorizontalBarChart.vue?e238","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesResponses.vue","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesResponses.vue?142f","webpack:///./src/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesResponses.vue?2d86","webpack:///./src/views/superAdmin/quickQuotes/router.ts","webpack:///./src/views/superAdmin/buyers/BuyersManage.vue?4cf8","webpack:///./src/views/superAdmin/buyers/BuyersManage.vue","webpack:///./src/views/superAdmin/buyers/BuyersManage.vue?022d","webpack:///./src/views/superAdmin/buyers/BuyersManage.vue?2ab1","webpack:///./src/views/superAdmin/buyers/buyerDetails/buyerDetailsResponse.vue?95c3","webpack:///./src/views/superAdmin/buyers/buyerDetails/buyerDetailsResponse.vue","webpack:///./src/views/superAdmin/buyers/buyerDetails/buyerDetailsResponse.vue?5d14","webpack:///./src/views/superAdmin/buyers/buyerDetails/buyerDetailsResponse.vue?8ef9","webpack:///./src/views/superAdmin/buyers/router.ts","webpack:///./src/views/approvalRequests/requestDetails/RequestResponses.vue?fd69","webpack:///./src/components/ApproverStateChip.vue?ab7d","webpack:///./src/components/ApproverStateChip.vue","webpack:///./src/components/ApproverStateChip.vue?f8f1","webpack:///./src/components/ApproverStateChip.vue?9173","webpack:///./src/components/ApproverResponseChip.vue?4f6b","webpack:///./src/models/enums/approvalRequestResponseState.ts","webpack:///./src/components/ApproverResponseChip.vue","webpack:///./src/components/ApproverResponseChip.vue?8d91","webpack:///./src/components/ApproverResponseChip.vue?c4e3","webpack:///./src/views/approvalRequests/requestDetails/RequestResponses.vue","webpack:///./src/views/approvalRequests/requestDetails/RequestResponses.vue?e364","webpack:///./src/views/approvalRequests/requestDetails/RequestResponses.vue?51bd","webpack:///./src/views/approvalRequests/RequestsManage.vue?54a7","webpack:///./src/views/approvalRequests/RequestsManage.vue","webpack:///./src/views/approvalRequests/RequestsManage.vue?fba0","webpack:///./src/views/approvalRequests/RequestsManage.vue?bca3","webpack:///./src/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue?6941","webpack:///./src/components/ApproverForm.vue?234d","webpack:///./src/components/ApproverForm.vue","webpack:///./src/components/ApproverForm.vue?62d0","webpack:///./src/components/ApproverForm.vue?b536","webpack:///./src/components/CategoryForm.vue?e822","webpack:///./src/components/CategoryForm.vue","webpack:///./src/components/CategoryForm.vue?4892","webpack:///./src/components/CategoryForm.vue?f28b","webpack:///./src/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue","webpack:///./src/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue?c451","webpack:///./src/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue?cdda","webpack:///./src/views/approvalRequests/router.ts","webpack:///./src/views/approverResponse/router.ts","webpack:///./src/views/auth/router.ts","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesDetails.vue?1d55","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesDetails.vue","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesDetails.vue?104d","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesDetails.vue?f8d5","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesResponses.vue?fb09","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesResponses.vue","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesResponses.vue?71fb","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuotesResponses.vue?7aa2","webpack:///./src/views/buyerRequests/RequestsManage.vue?5dd5","webpack:///./src/views/buyerRequests/RequestsManage.vue","webpack:///./src/views/buyerRequests/RequestsManage.vue?7681","webpack:///./src/views/buyerRequests/RequestsManage.vue?a5d6","webpack:///./src/views/buyerRequests/router.ts","webpack:///./src/views/contacts/router.ts","webpack:///./src/views/items/router.ts","webpack:///./src/views/rfp/router.ts","webpack:///./src/views/legal/Privacy.vue?4555","webpack:///./src/views/legal/Privacy.vue","webpack:///./src/views/legal/Terms.vue?5ae0","webpack:///./src/views/legal/Terms.vue?c2c2","webpack:///./src/views/quotes/router.ts","webpack:///./src/views/settings/router.ts","webpack:///./src/views/team/router.ts","webpack:///./src/views/contracts/requestDetails/RequestResponses.vue?56e9","webpack:///./src/components/LinkedContractEditForm.vue?3f19","webpack:///./src/components/LinkedContractEditForm.vue","webpack:///./src/components/LinkedContractEditForm.vue?8ddd","webpack:///./src/components/LinkedContractEditForm.vue?2f1c","webpack:///./src/views/contracts/requestDetails/RequestResponses.vue","webpack:///./src/views/contracts/requestDetails/RequestResponses.vue?9757","webpack:///./src/views/contracts/requestDetails/RequestResponses.vue?e252","webpack:///./src/views/contracts/RequestsManage.vue?b885","webpack:///./src/views/contracts/RequestsManage.vue","webpack:///./src/views/contracts/RequestsManage.vue?d2d9","webpack:///./src/views/contracts/RequestsManage.vue?2c8d","webpack:///./src/views/contracts/requestManage/CreateContractPage.vue?eea9","webpack:///./src/views/contracts/requestManage/CreateContractPage.vue","webpack:///./src/views/contracts/requestManage/CreateContractPage.vue?062b","webpack:///./src/views/contracts/requestManage/CreateContractPage.vue?653f","webpack:///./src/views/contracts/router.ts","webpack:///./src/views/category/router.ts","webpack:///./src/views/Home.vue?45f0","webpack:///./src/models/enums/homeNavCardLabels.ts","webpack:///./src/components/HomeNavCard.vue?6fb0","webpack:///./src/components/HomeNavCard.vue","webpack:///./src/components/HomeNavCard.vue?4627","webpack:///./src/components/HomeNavCard.vue?5351","webpack:///./src/views/Home.vue","webpack:///./src/views/Home.vue?2823","webpack:///./src/views/Home.vue?1e69","webpack:///./src/views/router.ts","webpack:///./src/api/noAuthApiBase.ts","webpack:///./src/services/appConfig.ts","webpack:///./src/views/approvalRequests/RequestsManage.vue?dc90","webpack:///./src/components/LoadingSpinner.vue?b2f1","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteForm.vue?5f81","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep1.vue?bb03","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep1.vue","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep1.vue?cb58","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep1.vue?2a68","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep2.vue?ca10","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep2.vue","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep2.vue?9fd6","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteFormStep2.vue?4648","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteForm.vue","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteForm.vue?e67b","webpack:///./src/views/buyerRequests/quickQuotes/QuickQuoteForm.vue?d413","webpack:///./src/store/auth/mutations.ts","webpack:///./src/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue?a58a","webpack:///./src/models/enums/quotationState.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","BuyerRequestState","state","authed","isBuyerSubscribed","email","firstName","surname","userId","buyerName","buyerId","roles","TeamMemberRole","Buyer","isSuperAdmin","buyerLogoUrl","namespaced","actions","getters","mutations","Vue","use","Vuex","store","version","auth","Store","ItemsApiService","ApiBase","post","this","baseUrl","itemId","put","delete","searchTerm","items","AppConfig","baseApiUrl","ContactsApiService","companyId","people","personId","groupId","CategoryApiService","category","searchText","categoryId","render","_vm","_h","$createElement","_c","_self","attrs","getStateColor","_v","_s","getStateIcon","getStateText","staticRenderFns","ApprovalRequestStateChip","accepted","total","rejected","__decorate","Prop","Component","component","VChip","VIcon","staticClass","class","size","staticStyle","buyer_logo","on","$event","goHome","namespace","Logo","constructor","showCustomeLogo","logo","$router","Getter","BUYER_LOGO","msalInstance","msalPluginInstance","MsalPlugin","pluginOptions","clientId","loginAuthority","passwordAuthority","knownAuthority","isAuthenticated","GetCurrentSessionPayload","token","localStorage","getItem","decodedPayload","jwt","decode","install","vue","options","initialize","$msal","observable","msalConfig","authority","knownAuthorities","system","loggerOptions","loggerCallback","level","containsPii","msal","Info","info","Verbose","debug","Warning","warn","piiLoggingEnabled","logLevel","getIsAuthenticated","loginRequest","scopes","loginResponse","loginPopup","account","errorMessage","indexOf","passwordResetResponse","passwordResetError","logout","sessionStorage","clear","getAllAccounts","response","acquireTokenSilent","setItem","accessToken","acquireTokenPopup","catch","popupError","accounts","ApprovalRequestState","ContractsApiService","contractStatus","month","year","contractId","id","formData","FormData","attachedFiles","file","append","set","Title","toString","Summary","StartDate","toDateString","ExpirationDate","ReminderDate","JSON","stringify","Category","Company","Owner","contractValue","Id","ContractValue","filePath","ownerId","supplierId","ApprovalRequestBaseStatus","ApprovalRequestBaseStatusChip","InProgress","Completed","Cancelled","Expired","TeamApiService","teamMemberId","client","axios","interceptors","async","config","headers","Authorization","log","includes","signOut","status","errors","join","path","patch","payload","method","url","responseType","ApprovalRequestsApiService","approvalRequestId","Description","Approvers","NoAuthApiBase","approverRequestId","SIGN_IN","commit","SET_ATTRIBUTES","role","SET_AUTHED","SIGN_UP","SIGN_OUT","RESEND_SIGN_UP","username","CHECK_AUTHED","emails","sub","given_name","family_name","acquireToken","RESET_ATTRIBUTES","INITIALIZE_USER_SETTINGS","SettingsApiService","getUserSettings","res","SET_USER_SETTINGS","billingActionRequired","IS_SUPER_ADMIN","IS_ACCOUNT_SUPER_ADMIN","CHECK_IS_SUBSCRIBED","IS_BUYER_SUBSCRIBED","ContractBaseStatusChip","ContractBaseStatus","Renewel","Live","Archive","Upcoming","person","_e","$t","companies","companiesLoading","companySearchText","scopedSlots","_u","fn","ref","_g","_b","model","callback","$$v","addCompanyMenu","expression","companyName","companyAddress","addingCompany","createCompany","proxy","selectedCompany","emailErrors","phoneNumber","Clear","creating","updating","save","PersonForm","timerId","searchCompanies","getCompanies","map","text","finally","created","resetPerson","Toast","success","$refs","companyContactNameEl","$el","click","updatePerson","createPerson","personName","personEmail","personPhoneNumber","onSaved","cancel","validateEmail","emailRegex","test","default","Watch","components","ConfirmDialog","VAutocomplete","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCol","VMenu","VRow","VSpacer","VTextField","VTextarea","quickQuote","formattedStartDate","formattedEndDate","itemHeaders","disablePagination","disableItemsPerPage","buyerRequestItems","questionHeaders","questions","terms","termsLink","usePolicyLinks","supplierHeaders","buyerRequestPersonContacts","item","quotationState","AwaitingResponses","QuotationState","Submitted","Declined","openSendReminderToSupplier","personContactId","openUnlockBuyerRequest","readonly","back","sendReminderDialog","sendReminderToSupplier","unlockBuyerRequestDialog","unlockBuyerRequestForSupplier","QuotationStateChip","Sent","Opened","QuickQuotePreview","selectedSupplierId","suppliers","align","width","filterable","sortable","DateService","formatDateString","startDate","endDate","$emit","BuyerRequestsApiService","sendReminderToSuppliers","personContactIds","forEach","x","$forceUpdate","PolicyDisplay","VDataTable","VDialog","VDivider","AuthRedirectService","isSubscribed","handleSupplierRedirect","isSupplier","teamInviteToken","router","replace","BuyersApiService","Toasted","position","duration","toasted","values","Map","Admin","Approver","parse","val","getValues","Array","from","getKeys","keys","attachedFile","header","cancelText","color","actionLoading","performAction","actionText","cancelAction","action","onActionComplete","TaxTypeService","TaxType","GST","VAT","AUTHED","USER_ID","NAME","IS_ACCOUNT_ADMIN","IS_ACCOUNT_APPROVER","IS_ACCOUNT_ATLEAST_BUYER","CategoryType","Contract","ApprovalRequest","VExpansionPanel","VExpansionPanelContent","VExpansionPanelHeader","VExpansionPanels","userSettingsLoading","drawer","_l","children","route","icon","child","disabled","domProps","becomeBuyer","isAccountAtleastBuyer","IsNearStorageLimit","IsStorageLimitReached","App","middleItems","bottomItems","oldVal","initUserSettings","removeItem","isAccountApprover","updateSidebarItems","onIsBuyerSubscribedChanged","onIsAccountApproverChanged","isAccountSuperAdmin","isAdmin","initializeUserSettings","handleAuthRouteRedirect","getBuyerDetails","isStorageLimitReached","isNearStorageLimit","Action","VApp","VAppBarNavIcon","VFooter","VList","VListGroup","VListItem","VListItemContent","VListItemIcon","VListItemTitle","VMain","VNavigationDrawer","VOverlay","VProgressCircular","awsconfig","Auth","region","userPoolId","userPoolWebClientId","mandatorySignIn","Vuetify","theme","customProperties","themes","light","primary","secondary","accent","warning","register","ready","registered","cached","updatefound","updated","offline","DatetimePicker","productionTip","cognitoRegion","cognitoUserPoolId","cognitoUserPoolWebClientId","VueApexCharts","VueI18n","defaultLocale","locale","i18n","fallbackLocale","messages","en","require","fr","ar","vuetify","h","$mount","dateString","date","parseJSON","format","LoadingSpinner","BuyerRequestStateChip","Ended","AwaitingApproval","Approved","Rejected","AwaitingRecommendation","quickQuoteId","buyerRequestId","isApproved","QuotationsApiService","quotationId","isAuthed","quotationLetter","vatPercentage","termsAccepted","comments","itemQuotes","answers","listBuyerRequests","buyerRequestHeaders","buyerRequests","buyerRequestsLoading","goToRequest","closeEditRequestDialog","editRequestDialog","selectedBuyerRequest","RequestsManage","row","getAllBuyerRequests","formatTableDateString","QuickQuoteForm","buyerDetails","SuperAdminQuickQuotesDetails","getQuickQuote","buyerRequest","getTaxTypeText","currency","lowestTotalCost","totalPrice","toFixed","companyContact","downloadResponsesPdf","responseFunnelLoading","responseFunnelSeries","responseFunnelLabels","totalPricesLoading","totalPriceSeries","totalPriceLabels","itemPrice","description","getItemPriceChartSeries","getItemPriceChartLabels","totalItemPrices","index","style","a","quantity","unitPrice","totalPriceExVat","generateQuotationLetterLink","hasFile","questionAnswers","answersLoading","question","answer","selectedQuestion","selectedAnswer","answerDialog","selectedComment","commentDialog","series","DoughnutChart","chart","height","toolbar","show","responsive","breakpoint","labels","dataLabels","enabled","formatter","opts","w","seriesIndex","textAnchor","background","foreColor","padding","borderRadius","opacity","dropShadow","fontSize","colors","plotOptions","pie","offsetY","donut","legend","floating","apexchart","BarChart","zoom","selection","bar","horizontal","columnWidth","fill","offsetX","stroke","xaxis","categories","onLabelChange","newVal","HorizontalBarChart","rotate","rotateAlways","hideOverlappingLabels","SuperAdminQuickQuotesResponses","totalPricesBySupplier","commentsRow","companyHeaders","answerHeaders","totalPrices","totalVatPrices","loadResponseFunnel","loadAnswers","loadResponses","loadTotalPricesBySupplier","getQuotationLetterDownloadLink","filesUrls","open","print","companyContactName","getItemPriceChartData","substring","getText","taxType","getTotalPricesBySupplier","vatPrice","reduce","obj","getResponses","getAnswers","getResponseFunnel","notOpenedCount","openedCount","submittedCount","declinedCount","superAdminQuickQuotesRoutes","meta","requiresAuth","requiresSuperAdmin","beforeEnter","to","next","SuperAdminManage","params","listOfBuyers","buyersHeaders","buyers","SuperAdminBuyersManage","getAllBuyers","loading","addressLine1","addressLine2","town","postcode","country","selectedTaxType","currencies","currenciesLoading","selectedCurrency","BuyerDetailsReponse","saving","$route","getBuyerDetailsbyId","getCurrencies","saveBuyerDetails","currencyCode","VSelect","superAdminBuyersRoutes","SuperAdminBuyerDetails","getTheColor","getTheText","approvalRequest","DownloadFile","attachedFilePath","approverDetailsHeaders","approverDetails","approvalRequestsLoading","showApproverDetails","reason","reasonDialog","selectedReason","ApproverStateChip","ApprovalRequestResponseState","ApproverResponseChip","NotOpened","Responded","RequestResponses","prepareApproverDetails","approvedCount","totalCount","rejectedCount","getDocument","filesPaths","approvalRequestStatuses","element","approver","title","approvalRequestStatusId","acceptedCount","listApprovalRequests","approvalRequests","createdDate","expirationDate","directives","rawName","$$selectedVal","filter","selected","_value","selectedLang","multiple","changeLang","lang","outlined","rounded","min","minimumDate","toISOString","selectedCategory","openAddCategoryDialog","closeAddCategoryDialog","addCategoryDialog","onCategorySaved","categoryType","handleFileChange","openFileSelection","addMoreFiles","files","approvers","removeApprover","openAddApproverDialog","closeAddApproverDialog","addApproverDialog","createRequest","ApproverForm","createApprover","CategoryForm","createNewCategory","createCategory","Name","Type","CreateApprovalRequestPage","approverString","createApproverDialog","categoriesLoading","Date","locales","minDate","getAllCategories","openCreateItemDialog","location","reload","selectedApprover","findIndex","approverEmail","today","tomorrow","setDate","getDate","newFiles","fileInput","VFileInput","approvalRequestsRoutes","requiresBuyer","ApprovalRequestsManage","CreateApprovalRequests","approverRequestDetailsRoutes","authRoutes","guestOnly","QuickQuotesDetails","QuickQuotesResponses","buyerRequestsRoutes","contactsRoutes","redirect","itemsRoutes","rfpRoutes","_m","quotesRoutes","settingsRoutes","teamRoutes","getTheStatus","contract","latestLinkedContract","summary","supplier","linkedContractsHeaders","linkedContracts","linkedContractsLoading","ContractStatusEnum","openLinkedContractDialog","closeLinkedContractDialog","linkedContractDialog","SelectLinkedContract","team","selectedOwner","reminderDate","LinkedContractEditForm","teamFoundAutocomplete","linkedContract","renewContract","teamLoading","linkedContractLoading","getTeam","editLinkedContractRequest","ContractApiService","Number","getLinkedContract","find","owner","documnetLoading","enumKey","getKeyByValue","indexOfS","listContracts","contracts","ContractRequestsManage","CreateContractPage","selectedFiles","contractsRoutes","categoriesRoutes","homeNavCardLabels","HomeNavCardEnums","Quotation","Team","Settings","backgroundColor","getCardColor","borderColor","getCardLabelIcon","getCardLabelText","getCardDescription","navigateToRoute","HomeNavCard","cardLabel","Categories","Suppliers","Items","routeName","Home","VueRouter","routes","dispatch","Terms","Privacy","base","process","beforeEach","requestInviteToken","query","jwtDecode","approverInviteToken","matched","some","record","stripePublishableKey","basicPriceId","loadingDetails","step","loadingQuickQuote","onStep1Next","onStep2Next","onStep2Back","onStep3Back","finalStep","sending","sendToSuppliers","itemsFoundAutocomplete","itemsLoading","itemSearchText","onItemChange","addItemDialog","selectedItem","selectedItems","$set","addQuestion","order","removeQuestion","useLinks","saveAndNext","itemDescription","addingItem","createItem","QuickQuoteFormStep1","itemsFound","questionTimerId","onItemSearchTextChanged","getItems","found","y","trim","recalculateQuestionNumbers","saveQuickQuoteDetails","createQuickQuote","selectedItemId","address","generateAddress","clearAutocomplete","deliveryLocation","q","VSwitch","groupsFoundAutocomplete","groupsLoading","groupSearchText","onGroupSelected","selectedGroup","suppliersFoundAutocomplete","suppliersLoading","supplierSearchText","onSupplierSelected","addSupplierMenu","selectedSupplier","closePersonFormDialog","onPersonSave","selectedSuppliers","removeSupplier","QuickQuoteFormStep2","suppliersFound","groupsFound","searchCompaniesForPeople","onGroupSearchTextChanged","getGroups","groups","clearSupplierAutocomplete","clearGroupAutocomplete","getGroup","newSuppliers","group","contacts","suppliersToAdd","saveSuppliers","VListItemSubtitle","qid","VStepper","VStepperContent","VStepperStep","names","settings","SET_BUYER_LOGO"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EA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MArGL/yB,gBAAtBC,eAAK,CAAEwO,QAAS,MAAK,mCACdzO,gBAAPC,kBAAM,6BAFawd,EAAc,gBATlCvd,eAAU,CACVyO,WAAY,CACXC,qBACA2lB,sBACAiC,sBACA/kB,yBACAiK,0BAGmB+B,WC1GwZ,I,mDCQza,GAAY,eACd,EACA1e,EACAY,GACA,EACA,KACA,WACA,MAIa,UAAiB,QAYhC,IAAkB,GAAW,CAACmP,OAAA,KAAKC,QAAA,KAAMC,aAAA,OAAaC,UAAA,OAAUK,UAAA,KAAQmoB,YAAA,KAASC,mBAAA,KAAgBC,gBAAA,Q,kCC3BjG,wIAAO,MAAMz6B,EAAqC,CACjDqM,WAAWtN,EAAOqgB,GACjBrgB,EAAMC,OAASogB,GAKhBjT,eACCpN,EACA27B,GAOA37B,EAAMG,MAAQw7B,EAAMx7B,MACpBH,EAAMM,OAASq7B,EAAMr7B,OACrBN,EAAMI,UAAYu7B,EAAMv7B,UACxBJ,EAAMK,QAAUs7B,EAAMt7B,SAEvBiO,kBACCtO,EACA47B,GASA57B,EAAMQ,QAAUo7B,EAASp7B,QACzBR,EAAMO,UAAYq7B,EAASr7B,UAC3BP,EAAMS,MAAQm7B,EAASn7B,MACvBT,EAAME,kBAAoB07B,EAAS17B,kBACnCF,EAAMY,aAAeg7B,EAASh7B,aAC9BZ,EAAMa,aAAa+6B,EAAS/6B,cAE7Bg7B,eACC77B,EACAiF,GAEAjF,EAAMa,aAAaoE,IAIRqI,EAAa,aACbgB,EAAoB,oBAEpBlB,EAAiB,kB,+1xBCtD9B,yBAA4hB,EAAG,G,yDCAxhB,IAAKqH,EAAZ,2CAAYA,GACXA,sBACAA,0BACAA,gCACAA,8BAJD,CAAYA,MAAc","file":"js/app.65f0d620.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"become-buyer~settings-billing\":\"become-buyer~settings-billing\",\"become-buyer\":\"become-buyer\",\"settings-billing\":\"settings-billing\",\"contacts-companies\":\"contacts-companies\",\"contacts-company-groups\":\"contacts-company-groups\",\"contacts-people\":\"contacts-people\",\"items-manage\":\"items-manage\",\"new-user\":\"new-user\",\"quote-details\":\"quote-details\",\"request\":\"request\",\"requests\":\"requests\",\"settings\":\"settings\",\"settings-account\":\"settings-account\",\"settings-buyer\":\"settings-buyer\",\"sign-in\":\"sign-in\",\"sign-up\":\"sign-up\",\"team-invite\":\"team-invite\",\"team-manage\":\"team-manage\"}[chunkId]||chunkId) + \".\" + {\"become-buyer~settings-billing\":\"1eef9252\",\"become-buyer\":\"d79c3815\",\"settings-billing\":\"266b133f\",\"chunk-81819b82\":\"55ea4de0\",\"contacts-companies\":\"9b626581\",\"contacts-company-groups\":\"f29129fa\",\"contacts-people\":\"e397d901\",\"items-manage\":\"22e95ec1\",\"new-user\":\"72f6151c\",\"quote-details\":\"8e4539a3\",\"request\":\"dfb5f57f\",\"requests\":\"8f4ea838\",\"settings\":\"d12f447a\",\"settings-account\":\"37489e41\",\"settings-buyer\":\"fdd40cba\",\"sign-in\":\"4e669cad\",\"sign-up\":\"dba2ecf0\",\"team-invite\":\"8237f9fa\",\"team-manage\":\"32375305\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"become-buyer~settings-billing\":1,\"become-buyer\":1,\"settings-billing\":1,\"chunk-81819b82\":1,\"contacts-companies\":1,\"contacts-company-groups\":1,\"contacts-people\":1,\"items-manage\":1,\"new-user\":1,\"quote-details\":1,\"request\":1,\"requests\":1,\"settings\":1,\"settings-account\":1,\"settings-buyer\":1,\"sign-in\":1,\"sign-up\":1,\"team-invite\":1,\"team-manage\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"become-buyer~settings-billing\":\"become-buyer~settings-billing\",\"become-buyer\":\"become-buyer\",\"settings-billing\":\"settings-billing\",\"contacts-companies\":\"contacts-companies\",\"contacts-company-groups\":\"contacts-company-groups\",\"contacts-people\":\"contacts-people\",\"items-manage\":\"items-manage\",\"new-user\":\"new-user\",\"quote-details\":\"quote-details\",\"request\":\"request\",\"requests\":\"requests\",\"settings\":\"settings\",\"settings-account\":\"settings-account\",\"settings-buyer\":\"settings-buyer\",\"sign-in\":\"sign-in\",\"sign-up\":\"sign-up\",\"team-invite\":\"team-invite\",\"team-manage\":\"team-manage\"}[chunkId]||chunkId) + \".\" + {\"become-buyer~settings-billing\":\"12e1c981\",\"become-buyer\":\"80b3ca20\",\"settings-billing\":\"6edee371\",\"chunk-81819b82\":\"5f324eef\",\"contacts-companies\":\"8b5fefc0\",\"contacts-company-groups\":\"f198a121\",\"contacts-people\":\"8b5fefc0\",\"items-manage\":\"049ad120\",\"new-user\":\"02de3850\",\"quote-details\":\"31f554b3\",\"request\":\"21ca07f4\",\"requests\":\"3b8ca4b3\",\"settings\":\"8b5fefc0\",\"settings-account\":\"0e433876\",\"settings-buyer\":\"0e433876\",\"sign-in\":\"6d2dfaab\",\"sign-up\":\"c8467209\",\"team-invite\":\"fd4af3fa\",\"team-manage\":\"8b5fefc0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export enum BuyerRequestState {\r\n\tInProgress = 0,\r\n\tEnded = 1,\r\n\tAwaitingResponses = 2,\r\n\tAwaitingRecommendation = 3,\r\n\tAwaitingApproval = 4,\r\n\tApproved = 5,\r\n Rejected = 6\r\n\t\r\n}\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=2af6f170&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=2af6f170&lang=scss&scoped=true&\"","import { TeamMemberRole } from '@/models/enums/teamMemberRole';\r\nimport { actions } from './actions';\r\nimport { getters } from './getters';\r\nimport { mutations } from './mutations';\r\n\r\nexport interface AuthState {\r\n\tauthed: boolean;\r\n\temail: string;\r\n\tfirstName: string;\r\n\tsurname: string;\r\n\tuserId: string;\r\n\tbuyerId: string;\r\n\troles: TeamMemberRole[];\r\n\tbuyerName: string;\r\n\tisBuyerSubscribed: boolean;\r\n\tisSuperAdmin: boolean;\r\n\tbuyerLogoUrl: string;\r\n}\r\n\r\nconst state: AuthState = {\r\n\tauthed: false,\r\n\tisBuyerSubscribed: false,\r\n\temail: '',\r\n\tfirstName: '',\r\n\tsurname: '',\r\n\tuserId: '',\r\n\tbuyerName: '',\r\n\tbuyerId: '',\r\n\troles: [TeamMemberRole.Buyer],\r\n\tisSuperAdmin : false,\r\n\tbuyerLogoUrl:''\r\n};\r\n\r\nexport default {\r\n\tnamespaced: true,\r\n\tstate,\r\n\tactions,\r\n\tgetters,\r\n\tmutations\r\n};\r\n","import Vue from 'vue';\r\nimport Vuex, { StoreOptions } from 'vuex';\r\nimport auth from './auth/index';\r\n\r\nVue.use(Vuex);\r\n\r\nexport interface RootState {\r\n\tversion: string;\r\n}\r\n\r\nconst store: StoreOptions<RootState> = {\r\n\tstate: {\r\n\t\tversion: '1.0.0' // a simple property\r\n\t},\r\n\tmodules: {\r\n\t\tauth\r\n\t}\r\n};\r\n\r\nexport default new Vuex.Store<RootState>(store);\r\n","import { Item } from '@/models/item';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\n\r\nexport default class ItemsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/items`;\r\n\r\n\tpublic static async createItem(\r\n\t\trequest: CreateItemRequest\r\n\t): Promise<CreateItemResponse> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}`, request);\r\n\t}\r\n\r\n\tpublic static async updateItem(\r\n\t\titemId: string,\r\n\t\trequest: UpdateItemRequest\r\n\t): Promise<CreateItemResponse> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/${itemId}`, request);\r\n\t}\r\n\r\n\tpublic static async deleteItem(itemId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/${itemId}`);\r\n\t}\r\n\r\n\tpublic static async getItems(searchTerm?: string): Promise<GetItemsResponse> {\r\n\t\tif (searchTerm && searchTerm.length < 3) return { items: [] };\r\n\t\treturn ApiBase.get(`${this.baseUrl}?search=${searchTerm}`);\r\n\t}\r\n}\r\n\r\nexport interface CreateItemResponse {\r\n\titemId: string;\r\n\titemDescription: string;\r\n}\r\n\r\nexport interface GetItemsResponse {\r\n\titems: Item[];\r\n}\r\n\r\nexport interface CreateItemRequest {\r\n\titemDescription: string;\r\n}\r\n\r\nexport interface UpdateItemRequest {\r\n\titemId: string;\r\n\titemDescription: string;\r\n}\r\n","import { Company } from '@/models/company';\r\nimport { PersonContact } from '@/models/personContact';\r\nimport AppConfig from '@/services/appConfig';\r\nimport { CompanyGroup } from './../models/companyGroup';\r\nimport ApiBase from './apibase';\r\n\r\nexport default class ContactsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/contacts`;\r\n\r\n\tpublic static async createCompany(\r\n\t\trequest: CreateCompanyRequest\r\n\t): Promise<CreateCompanyResponse> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/companies`, request);\r\n\t}\r\n\r\n\tpublic static async updateCompany(\r\n\t\tcompanyId: string,\r\n\t\trequest: UpdateCompanyRequest\r\n\t): Promise<CreateCompanyResponse> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/companies/${companyId}`, request);\r\n\t}\r\n\r\n\tpublic static async deleteCompany(companyId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/companies/${companyId}`);\r\n\t}\r\n\r\n\tpublic static async getCompanies(\r\n\t\tsearchTerm?: string\r\n\t): Promise<GetCompaniesResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/companies?search=${searchTerm}`);\r\n\t}\r\n\r\n\tpublic static async searchCompaniesForPeople(\r\n\t\tsearchTerm?: string\r\n\t): Promise<SearchCompaniesForPeopleResponse> {\r\n\t\tif (!searchTerm || searchTerm.length < 3) return { people: [] };\r\n\t\treturn ApiBase.get(`${this.baseUrl}/companies/people?search=${searchTerm}`);\r\n\t}\r\n\r\n\tpublic static async createPerson(\r\n\t\trequest: CreatePersonRequest\r\n\t): Promise<CreatePersonResponse> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/people`, request);\r\n\t}\r\n\r\n\tpublic static async updatePerson(\r\n\t\tpersonId: string,\r\n\t\trequest: UpdatePersonRequest\r\n\t): Promise<CreatePersonResponse> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/people/${personId}`, request);\r\n\t}\r\n\r\n\tpublic static async deletePerson(personId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/people/${personId}`);\r\n\t}\r\n\r\n\tpublic static async getPeople(): Promise<GetPeopleResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/people`);\r\n\t}\r\n\r\n\tpublic static async getGroups(searchTerm = ''): Promise<GetGroupsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/groups?search=${searchTerm}`);\r\n\t}\r\n\r\n\tpublic static async getGroup(groupId): Promise<GroupResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/groups/${groupId}`);\r\n\t}\r\n\r\n\tpublic static async updateGroup(\r\n\t\tgroupId: string,\r\n\t\trequest: UpdateGroupRequest\r\n\t): Promise<GroupResponse> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/groups/${groupId}`, request);\r\n\t}\r\n\tpublic static async createGroup(\r\n\t\trequest: CreateGroupRequest\r\n\t): Promise<GroupResponse> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/groups`, request);\r\n\t}\r\n\tpublic static async deleteGroup(groupId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/groups/${groupId}`);\r\n\t}\r\n\tpublic static async getCompanyContacts(companyId: string): Promise<GetPeopleResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/company-contacts/${companyId}`);\r\n\t}\r\n\t\r\n}\r\n\r\nexport interface GetGroupsResponse {\r\n\tgroups: CompanyGroup[];\r\n}\r\n\r\nexport interface UpdateGroupRequest {\r\n\tgroupName: string;\r\n\tpersonContactIds: string[];\r\n}\r\n\r\nexport interface GroupResponse {\r\n\tgroup: CompanyGroup;\r\n}\r\n\r\nexport interface CreateGroupRequest {\r\n\tname: string;\r\n\tpersonContactIds: string[];\r\n}\r\n\r\nexport interface CreateCompanyResponse {\r\n\tcompanyId: string;\r\n\tcompanyName: string;\r\n\tcompanyAddress: string;\r\n}\r\n\r\nexport interface GetCompaniesResponse {\r\n\tcompanies: Company[];\r\n}\r\n\r\nexport interface SearchCompaniesForPeopleResponse {\r\n\tpeople: PersonContact[];\r\n}\r\n\r\nexport interface CreateCompanyRequest {\r\n\tcompanyName: string;\r\n\tcompanyAddress: string;\r\n}\r\n\r\nexport interface UpdateCompanyRequest {\r\n\tcompanyName: string;\r\n\tcompanyAddress: string;\r\n}\r\n\r\nexport interface CreatePersonResponse {\r\n\tpersonId: string;\r\n\tpersonName: string;\r\n\tpersonEmail: string;\r\n\tpersonPhoneNumber: string;\r\n\tcompanyId: string;\r\n\tcompanyName: string;\r\n\tcompanyAddress: string;\r\n}\r\n\r\nexport interface GetPeopleResponse {\r\n\tpeople: PersonContact[];\r\n}\r\n\r\nexport interface CreatePersonRequest {\r\n\tpersonName: string;\r\n\tpersonEmail: string;\r\n\tpersonPhoneNumber: string;\r\n\tcompanyId: string;\r\n}\r\n\r\nexport interface UpdatePersonRequest {\r\n\tpersonName: string;\r\n\tpersonEmail: string;\r\n\tpersonPhoneNumber: string;\r\n\tcompanyId: string;\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep1.vue?vue&type=style&index=0&id=9dfc6b4c&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep1.vue?vue&type=style&index=0&id=9dfc6b4c&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesResponses.vue?vue&type=style&index=0&id=1eaf67b9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesResponses.vue?vue&type=style&index=0&id=1eaf67b9&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryForm.vue?vue&type=style&index=0&id=c92292ce&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryForm.vue?vue&type=style&index=0&id=c92292ce&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=style&index=0&id=c24c8edc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=style&index=0&id=c24c8edc&lang=scss&scoped=true&\"","import { CategoryType } from '@/models/enums/categoryType';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\nimport { Category,EditCategory } from '@/models/category';\r\n\r\nexport default class CategoryApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/category`;\r\n\r\n\tpublic static async createCategory(category: CreateCategory): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}`, category);\r\n\t}\r\n\tpublic static async getAllCategories(\r\n\t\ttype,\r\n\t\tsearchText = ''\r\n\t): Promise<AllCategories> {\r\n\t\treturn ApiBase.get(\r\n\t\t\t`${this.baseUrl}/getAllCategories?type=${type}&searchText=${searchText}`\r\n\t\t);\r\n\t}\r\n\tpublic static async getCategory(categoryId: string): Promise<Category> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getCategory/${categoryId}`);\r\n\t}\r\n\tpublic static async editCategory(request: EditCategory): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/editCategory`, request);\r\n\t}\r\n\tpublic static async deleteCategory(categoryId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/deleteCategory/${categoryId}`);\r\n\t}\r\n}\r\nexport interface CreateCategory {\r\n\tName: string;\r\n\tType: CategoryType;\r\n}\r\nexport interface AllCategories {\r\n\tcategories: Category[];\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class ApprovalRequestStateChip extends Vue {\r\n\t@Prop() public accepted!: number;\r\n\t@Prop() public rejected!: number;\r\n\t@Prop() public total!: number;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tif(this.accepted==this.total){\r\n\t\t\treturn 'mdi-check';\r\n\t\t}\r\n\t\telse if(this.rejected>0){\r\n\t\t\treturn 'mdi-close';\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn 'ri-time-line';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tif(this.accepted==this.total){\r\n\t\t\treturn 'Accepted'\r\n\t\t}\r\n\t\telse if(this.rejected>0){\r\n\t\t\treturn 'Rejected';\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn this.accepted + '/' + this.total + ' Accepted'\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tif(this.accepted==this.total){\r\n\t\t\treturn 'primary';\r\n\t\t}\r\n\t\telse if(this.rejected>0){\r\n\t\t\treturn 'red';\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn '#f4c51e';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestStateChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestStateChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApprovalRequestStateChip.vue?vue&type=template&id=9df66904&scoped=true&\"\nimport script from \"./ApprovalRequestStateChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApprovalRequestStateChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApprovalRequestStateChip.vue?vue&type=style&index=0&id=9df66904&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9df66904\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{staticClass:\"logo\",class:_vm.size,staticStyle:{\"max-width\":\"-webkit-fill-available\"},attrs:{\"src\":_vm.buyer_logo?_vm.buyer_logo:require('@/assets/logo.png')},on:{\"click\":function($event){return _vm.goHome()}}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport SettingsApiService, { UserSettingsResponse } from '@/api/settings.api';\r\nimport { namespace } from 'vuex-class';\r\nimport {\r\n\tBUYER_LOGO\r\n} from '@/store/auth/getters';\r\nconst streams = namespace('streams');\r\nconst auth = namespace('auth');\r\n@Component({})\r\nexport default class Logo extends Vue {\r\n\t@auth.Getter(BUYER_LOGO) public buyer_logo!: any;;\r\n\tpublic showCustomeLogo=false;\r\n\tpublic logo='';\r\n\t@Prop() public size!: string;\r\n\r\n\tpublic goHome() {\r\n\t\tthis.$router.push('/');\r\n\t}\r\n\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Logo.vue?vue&type=template&id=c24c8edc&scoped=true&\"\nimport script from \"./Logo.vue?vue&type=script&lang=ts&\"\nexport * from \"./Logo.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Logo.vue?vue&type=style&index=0&id=c24c8edc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c24c8edc\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=style&index=0&id=28137eb8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=style&index=0&id=28137eb8&lang=scss&scoped=true&\"","import * as msal from \"@azure/msal-browser\";\r\nimport Vue, { PluginObject, VueConstructor } from \"vue\";\r\nimport jwt from 'jsonwebtoken';\r\n\r\ndeclare module \"vue/types/vue\" {\r\n interface Vue {\r\n $msal: MsalPlugin;\r\n }\r\n}\r\n\r\nexport interface MsalPluginOptions {\r\n clientId: string;\r\n loginAuthority: string;\r\n passwordAuthority: string;\r\n knownAuthority: string;\r\n}\r\n\r\nlet msalInstance: msal.PublicClientApplication;\r\n\r\nexport let msalPluginInstance: MsalPlugin;\r\n\r\nexport class MsalPlugin implements PluginObject<MsalPluginOptions> {\r\n\r\n private pluginOptions: MsalPluginOptions = {\r\n clientId: \"d9df2802-9a0f-4e32-b90e-78331083cbb3\",\r\n loginAuthority: \"https://procuretool.b2clogin.com/procuretool.onmicrosoft.com/B2C_1_SUSI/\",\r\n passwordAuthority: \"\",\r\n knownAuthority: \"procuretool.b2clogin.com\"\r\n };\r\n\r\n public isAuthenticated = false;\r\n\r\npublic GetCurrentSessionPayload():any{\r\n const token=localStorage.getItem('bearer-token');\r\n if(token && msalPluginInstance.isAuthenticated)\r\n {\r\n const decodedPayload = jwt.decode(token);\r\n return decodedPayload;\r\n }\r\n}\r\n public install(vue: VueConstructor<Vue>, options?: MsalPluginOptions): void {\r\n if (!options) {\r\n throw new Error(\"MsalPluginOptions must be specified\");\r\n }\r\n this.pluginOptions = options;\r\n this.initialize(options);\r\n msalPluginInstance = this;\r\n vue.prototype.$msal = Vue.observable(msalPluginInstance);\r\n }\r\n\r\n private initialize(options: MsalPluginOptions) {\r\n const msalConfig: msal.Configuration = {\r\n auth: {\r\n clientId: options.clientId,\r\n authority: options.loginAuthority,\r\n knownAuthorities: [options.knownAuthority]\r\n },\r\n system: {\r\n loggerOptions: {\r\n loggerCallback: (level: msal.LogLevel, message: string, containsPii: boolean): void => {\r\n if (containsPii) {\r\n return;\r\n }\r\n switch (level) {\r\n case msal.LogLevel.Error:\r\n console.error(message);\r\n return;\r\n case msal.LogLevel.Info:\r\n console.info(message);\r\n return;\r\n case msal.LogLevel.Verbose:\r\n console.debug(message);\r\n return;\r\n case msal.LogLevel.Warning:\r\n console.warn(message);\r\n return;\r\n }\r\n },\r\n piiLoggingEnabled: false,\r\n logLevel: msal.LogLevel.Verbose\r\n }\r\n }\r\n };\r\n msalInstance = new msal.PublicClientApplication(msalConfig);\r\n this.isAuthenticated = this.getIsAuthenticated();\r\n }\r\n\r\n\r\n public async signIn() {\r\n try {\r\n const loginRequest: msal.PopupRequest = {\r\n scopes: [\"openid\",\"email\", \"profile\", \"offline_access\", \"https://procuretool.onmicrosoft.com/d9df2802-9a0f-4e32-b90e-78331083cbb3/user.read\"],\r\n };\r\n const loginResponse: msal.AuthenticationResult = await msalInstance.loginPopup(loginRequest);\r\n this.isAuthenticated = !!loginResponse.account;\r\n // do something with this?\r\n } catch (err) {\r\n // handle error\r\n if (err.errorMessage && err.errorMessage.indexOf(\"AADB2C90118\") > -1) {\r\n try {\r\n const passwordResetResponse: msal.AuthenticationResult = await msalInstance.loginPopup({\r\n scopes: [\"openid\",\"email\", \"profile\", \"offline_access\", \"https://procuretool.onmicrosoft.com/d9df2802-9a0f-4e32-b90e-78331083cbb3user.read\"],\r\n authority: this.pluginOptions.passwordAuthority\r\n });\r\n this.isAuthenticated = !!passwordResetResponse.account;\r\n } catch (passwordResetError) {\r\n console.error(passwordResetError);\r\n }\r\n } else {\r\n this.isAuthenticated = false;\r\n }\r\n\r\n }\r\n }\r\n\r\n public async signOut() {\r\n await msalInstance.logout();\r\n this.isAuthenticated = false;\r\n sessionStorage.clear();\r\n }\r\n\r\n public async acquireToken() {\r\n const request = {\r\n account: msalInstance.getAllAccounts()[0],\r\n scopes: [\"openid\",\"email\", \"profile\", \"offline_access\", \"https://procuretool.onmicrosoft.com/d9df2802-9a0f-4e32-b90e-78331083cbb3/user.read\"]\r\n };\r\n try {\r\n const response = await msalInstance.acquireTokenSilent(request);\r\n localStorage.setItem('bearer-token', response.accessToken);\r\n return response.accessToken; \r\n } catch (error) {\r\n if (error instanceof msal.InteractionRequiredAuthError) {\r\n return msalInstance.acquireTokenPopup(request).catch((popupError) => {\r\n console.error(popupError);\r\n });\r\n }\r\n return false;\r\n }\r\n }\r\n\r\n private getIsAuthenticated(): boolean {\r\n const accounts: msal.AccountInfo[] = msalInstance.getAllAccounts();\r\n return accounts && accounts.length > 0;\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestStateChip.vue?vue&type=style&index=0&id=9df66904&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestStateChip.vue?vue&type=style&index=0&id=9df66904&scoped=true&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmDialog.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmDialog.vue?vue&type=style&index=0&lang=scss&\"","export enum ApprovalRequestState {\r\n\tAwaitingApproval = 0,\r\n Approved = 1,\r\n Rejected = 2\r\n}\r\n","import {\r\n\tContractVM,\r\n\tGetBuyerContractOutput,\r\n\tLinkedContractsVM\r\n} from '@/models/contract';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\nimport { Category } from '@/models/category';\r\nimport { Company } from '@/models/company';\r\nimport { TeamMember } from '@/models/teamMember';\r\nimport { Currency } from '@/models/currency';\r\nimport { ContractBaseStatus } from '@/models/enums/contractBaseStatus';\r\n\r\nexport default class ContractsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/contracts`;\r\n\r\n\tpublic static async listContracts(\r\n\t\tsearchText = '',\r\n\t\tcontractStatus = '',\r\n\t\tmonth = 0,\r\n\t\tyear = 0\r\n\t): Promise<ListContractsResponse> {\r\n\t\treturn ApiBase.get(\r\n\t\t\t`${this.baseUrl}/getContracts?searchText=${searchText}&contractBaseStatus=${contractStatus}&month=${month}&year=${year}`\r\n\t\t);\r\n\t}\r\n\tpublic static async getContract(\r\n\t\tcontractId: string\r\n\t): Promise<GetBuyerContractOutput> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getContract/${contractId}`);\r\n\t}\r\n\tpublic static async getLinkedContract(id: string): Promise<LinkedContractsVM> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getLinkedContract/${id}`);\r\n\t}\r\n\tpublic static async createRequest(\r\n\t\trequest: CreateContract\r\n\t): Promise<GetBuyerContractOutput> {\r\n\t\tconst formData = new FormData();\r\n\t\tif (request.attachedFiles) {\r\n\t\t\t// 100 mb limit\r\n\t\t\tfor (const file of request.attachedFiles) {\r\n\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t}\r\n\t\t\t\tformData.append('attachedFile', file, file.name);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tformData.set('title', request.Title.toString());\r\n\t\tformData.set('summary', request.Summary.toString());\r\n\t\tformData.set('startDate', request.StartDate.toDateString());\r\n\t\tformData.set('expirationDate', request.ExpirationDate.toDateString());\r\n\t\tformData.set('reminderDate', request.ReminderDate.toDateString());\r\n\t\tformData.set('categoryString', JSON.stringify(request.Category));\r\n\t\tformData.set('companyString', JSON.stringify(request.Company));\r\n\t\tformData.set('ownerString', JSON.stringify(request.Owner));\r\n\t\tformData.set('contractValue', request.contractValue.toString());\r\n\r\n\t\treturn ApiBase.post(`${this.baseUrl}`, formData);\r\n\t}\r\n\tpublic static async renewContract(\r\n\t\trequest: RenewContract\r\n\t): Promise<GetBuyerContractOutput> {\r\n\t\tconst formData = new FormData();\r\n\r\n\t\tif (request.attachedFiles) {\r\n\t\t\t// 100 mb limit\r\n\t\t\tfor (const file of request.attachedFiles) {\r\n\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t}\r\n\t\t\t\tformData.append('attachedFile', file, file.name);\r\n\t\t\t}\r\n\t\t}\r\n\t\tformData.set('id', request.Id);\r\n\t\tformData.set('startDate', request.StartDate.toDateString());\r\n\t\tformData.set('expirationDate', request.ExpirationDate.toDateString());\r\n\t\tformData.set('reminderDate', request.ReminderDate.toDateString());\r\n\t\tformData.set('ownerString', JSON.stringify(request.Owner));\r\n\t\tformData.set('contractValue', request.ContractValue.toString());\r\n\r\n\t\treturn ApiBase.post(`${this.baseUrl}/renewContract`, formData);\r\n\t}\r\n\tpublic static async editContract(request: EditContract): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/editContract`, request);\r\n\t}\r\n\tpublic static async deleteContract(contractId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/${contractId}`);\r\n\t}\r\n\tpublic static async archiveContract(contractId: string): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/archiveContract?contractId=${contractId}`);\r\n\t}\r\n\tpublic static async unarchiveContract(contractId: string): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/unarchiveContract?contractId=${contractId}`);\r\n\t}\r\n\tpublic static async getDocument(filePath = ''): Promise<DocumentFile> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getDocument?filePath=${filePath}`);\r\n\t}\r\n\tpublic static async getResponseFunnel(): Promise<\r\n\t\tGetContractStatusFunnelResponse\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/response-funnel`);\r\n\t}\r\n\tpublic static async editLinkedContractRequest(\r\n\t\trequest: EditLinkedContract\r\n\t): Promise<void> {\r\n\t\tconst formData = new FormData();\r\n\t\tif (request.attachedFiles) {\r\n\t\t\t// 100 mb limit\r\n\t\t\tfor (const file of request.attachedFiles) {\r\n\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t}\r\n\t\t\t\tformData.append('attachedFile', file, file.name);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tformData.set('id', request.Id.toString());\r\n\t\tformData.set('startDate', request.StartDate.toDateString());\r\n\t\tformData.set('expirationDate', request.ExpirationDate.toDateString());\r\n\t\tformData.set('reminderDate', request.ReminderDate.toDateString());\r\n\t\tformData.set('ownerString', JSON.stringify(request.Owner));\r\n\t\tformData.set('contractValue', request.ContractValue.toString());\r\n\r\n\t\treturn ApiBase.post(`${this.baseUrl}/editLinkedContract`, formData);\r\n\t}\r\n\tpublic static async getMonthlyContractsCount(year = 0): Promise<\r\n\tListMonthlyContractCount\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-count?year=${year}`);\r\n\t}\r\n\tpublic static async getContractsCountByOwner(): Promise<\r\n\tListContractCountByOwner\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-count-by-owners`);\r\n\t}\r\n\tpublic static async getContractsValueByOwner(): Promise<\r\n\tListContractValueByOwner\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-value-by-owners`);\r\n\t}\r\n\tpublic static async getContractsByOwnerId(ownerId): Promise<\r\n\tListContractsResponse\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-by-owner-id/${ownerId}`);\r\n\t}\r\n\tpublic static async getContractsCountBySupplier(): Promise<\r\n\tListContractCountBySupplier\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-count-by-suppliers`);\r\n\t}\r\n\tpublic static async getContractsValueBySupplier(): Promise<\r\n\tListContractValueBySupplier\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-value-by-suppliers`);\r\n\t}\r\n\tpublic static async getContractsBySupplierId(supplierId): Promise<\r\n\tListContractsResponse\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-by-supplier-id/${supplierId}`);\r\n\t}\r\n\tpublic static async getContractsCountByCategory(): Promise<\r\n\tListContractCountByCategory\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-count-by-categories`);\r\n\t}\r\n\tpublic static async getContractsValueByCategory(): Promise<\r\n\tListContractValueByCategory\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-value-by-categories`);\r\n\t}\r\n\tpublic static async getContractsByCategoryId(categoryId): Promise<\r\n\tListContractsResponse\r\n\t> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/contracts-by-category-id/${categoryId}`);\r\n\t}\r\n\tpublic static async getCurrency(): Promise<CurrencyResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getCurrency`);\r\n\t}\r\n}\r\n\r\nexport interface CurrencyResponse {\r\n\tcurrency: Currency;\r\n}\r\nexport interface ListContractsResponse {\r\n\tcontracts: ContractVM[];\r\n\tisArchivedContractsOnly: boolean;\r\n}\r\nexport interface CreateContract {\r\n\tTitle: string;\r\n\tSummary: string;\r\n\tExpirationDate: Date;\r\n\tStartDate: Date;\r\n\tReminderDate: Date;\r\n\tattachedFiles: File[];\r\n\tcontractValue: number;\r\n\tCategory: Category;\r\n\tOwner: TeamMember;\r\n\tCompany: Company;\r\n}\r\nexport interface RenewContract {\r\n\tId: string;\r\n\tExpirationDate: Date;\r\n\tStartDate: Date;\r\n\tReminderDate: Date;\r\n\tattachedFiles: File[];\r\n\tOwner: TeamMember;\r\n\tContractValue: number;\r\n}\r\nexport interface EditContract {\r\n\tId: string;\r\n\tTitle: string;\r\n\tSummary: string;\r\n\tCategory: Category;\r\n\tCompany: Company;\r\n}\r\nexport interface DocumentFile {\r\n\tfilePath: string;\r\n\tfilesPaths : string[];\r\n}\r\nexport interface GetContractStatusFunnelResponse {\r\n\tliveCount: number;\r\n\ttoBeExpiredCount: number;\r\n\texpiredCount: number;\r\n}\r\nexport interface EditLinkedContract {\r\n\tId: string;\r\n\tExpirationDate: Date;\r\n\tStartDate: Date;\r\n\tReminderDate: Date;\r\n\tattachedFiles: File[];\r\n\tOwner: TeamMember;\r\n\tContractValue: number;\r\n}\r\nexport interface MonthlyContractCount{\r\n\tYear: number;\r\n\tMonth: number;\r\n\tContractCount: number;\r\n}\r\nexport interface ListMonthlyContractCount {\r\n\tcontractsCountByMonth: MonthlyContractCount[];\r\n}\r\n\r\nexport interface OwnerContractCount{\r\n\tOwnerId: string;\r\n\tOwner: string;\r\n\tContractCount: number;\r\n\tContractCountPercentage: number;\r\n}\r\nexport interface ListContractCountByOwner {\r\n\tcontractsCountByOwner: OwnerContractCount[];\r\n}\r\n\r\nexport interface OwnerContractValue{\r\n\tOwnerId: string;\r\n\tOwner: string;\r\n\tOwnerContractsValue: number;\r\n\tOwnerContractsValuePercentage: number;\r\n}\r\nexport interface ListContractValueByOwner {\r\n\tcontractsValueByOwner: OwnerContractValue[];\r\n}\r\n\r\nexport interface SupplierContractCount{\r\n\tSupplierId: string;\r\n\tSupplier: string;\r\n\tContractCount: number;\r\n\tContractCountPercentage: number;\r\n}\r\nexport interface ListContractCountBySupplier {\r\n\tcontractsCountBySupplier: SupplierContractCount[];\r\n}\r\nexport interface SupplierContractValue{\r\n\tSupplierId: string;\r\n\tSupplier: string;\r\n\tContractsValue: number;\r\n\tContractsValuePercentage: number;\r\n}\r\nexport interface ListContractValueBySupplier {\r\n\tcontractsValueBySupplier: SupplierContractValue[];\r\n}\r\n\r\nexport interface CategoryContractCount{\r\n\tCategoryId: string;\r\n\tCategory: string;\r\n\tContractCount: number;\r\n\tContractCountPercentage: number;\r\n}\r\nexport interface ListContractCountByCategory {\r\n\tcontractsCountByCategory: CategoryContractCount[];\r\n}\r\n\r\nexport interface CategoryContractValue {\r\n\tCategoryId: string;\r\n\tCategory: string;\r\n\tContractsValue: number;\r\n\tContractsValuePercentage: number;\r\n}\r\nexport interface ListContractValueByCategory {\r\n\tcontractsValueByCategory: CategoryContractValue[];\r\n}","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractBaseStatusChip.vue?vue&type=style&index=0&id=23ef2ab2&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractBaseStatusChip.vue?vue&type=style&index=0&id=23ef2ab2&scoped=true&lang=scss&\"","export enum ApprovalRequestBaseStatus {\r\n\tInProgress = 0,\r\n Completed = 1,\r\n Expired = 2,\r\n Cancelled = 3\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { ApprovalRequestBaseStatus } from '@/models/enums/approvalRequestBaseStatus';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class ApprovalRequestBaseStatusChip extends Vue {\r\n\t@Prop() public state!: ApprovalRequestBaseStatus;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestBaseStatus.InProgress:\r\n\t\t\t\treturn 'ri-time-line';\r\n\t\t\tcase ApprovalRequestBaseStatus.Completed:\r\n\t\t\t\treturn 'mdi-check';\r\n\t\t\tcase ApprovalRequestBaseStatus.Cancelled:\r\n\t\t\t\treturn 'mdi-close';\r\n\t\t\tcase ApprovalRequestBaseStatus.Expired:\r\n\t\t\t\treturn 'mdi-timetable';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestBaseStatus.InProgress:\r\n\t\t\t\treturn 'In Progress';\r\n\t\t\tcase ApprovalRequestBaseStatus.Completed:\r\n\t\t\t\treturn 'Completed';\r\n\t\t\tcase ApprovalRequestBaseStatus.Cancelled:\r\n\t\t\t\treturn 'Cancelled';\r\n\t\t\tcase ApprovalRequestBaseStatus.Expired:\r\n\t\t\t\treturn 'Expired';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestBaseStatus.InProgress:\r\n\t\t\t\treturn '#f4c51e';\r\n\t\t\tcase ApprovalRequestBaseStatus.Completed:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tcase ApprovalRequestBaseStatus.Cancelled:\r\n\t\t\t\treturn 'red';\r\n\t\t\tcase ApprovalRequestBaseStatus.Expired:\r\n\t\t\t\treturn '#d536f4';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestBaseStatusChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestBaseStatusChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApprovalRequestBaseStatusChip.vue?vue&type=template&id=1f157b4a&scoped=true&\"\nimport script from \"./ApprovalRequestBaseStatusChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApprovalRequestBaseStatusChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApprovalRequestBaseStatusChip.vue?vue&type=style&index=0&id=1f157b4a&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f157b4a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedContractEditForm.vue?vue&type=style&index=0&id=6e5fbd83&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedContractEditForm.vue?vue&type=style&index=0&id=6e5fbd83&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverResponseChip.vue?vue&type=style&index=0&id=1a886475&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverResponseChip.vue?vue&type=style&index=0&id=1a886475&scoped=true&lang=scss&\"","import AppConfig from '@/services/appConfig';\r\nimport { TeamMemberRole } from './../models/enums/teamMemberRole';\r\nimport { TeamMember } from './../models/teamMember';\r\nimport ApiBase from './apibase';\r\n\r\nexport default class TeamApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/team`;\r\n\r\n\tpublic static async sendInvite(request: SendInviteRequest): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}`, request);\r\n\t}\r\n\r\n\tpublic static async getTeam(): Promise<GetTeamResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}`);\r\n\t}\r\n\r\n\tpublic static async getInviteDetails(\r\n\t\ttoken: string\r\n\t): Promise<GetInviteDetailsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/invite?token=${token}`);\r\n\t}\r\n\r\n\tpublic static async acceptInvitation(\r\n\t\trequest: AcceptInvitationRequest\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/invite/accept`, request);\r\n\t}\r\n\r\n\tpublic static async saveRoles(request: SaveRolesRequest): Promise<void> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/roles`, request);\r\n\t}\r\n\r\n\tpublic static async deleteTeamMember(teamMemberId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/${teamMemberId}`);\r\n\t}\r\n}\r\n\r\nexport interface GetTeamResponse {\r\n\tteam: TeamMember[];\r\n}\r\n\r\nexport interface SendInviteRequest {\r\n\tteamMembers: SendInviteTeamMemberRequest[];\r\n}\r\n\r\nexport interface SaveRolesRequest {\r\n\tteamMembers: SaveRolesTeamMemberRequest[];\r\n}\r\n\r\nexport interface SaveRolesTeamMemberRequest {\r\n\tteamMemberId: string;\r\n\troles: TeamMemberRole[];\r\n}\r\n\r\nexport interface SendInviteTeamMemberRequest {\r\n\temail: string;\r\n\troles: TeamMemberRole[];\r\n}\r\n\r\nexport interface GetInviteDetailsResponse {\r\n\tbuyerName: string;\r\n\tshouldShowPasswordField: boolean;\r\n}\r\n\r\nexport interface AcceptInvitationRequest {\r\n\ttoken: string;\r\n\tfirstName: string;\r\n\tsurname: string;\r\n\ttermsAgreed: boolean;\r\n\tpassword: string;\r\n}\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Terms.vue?vue&type=style&index=0&id=4df21e8e&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Terms.vue?vue&type=style&index=0&id=4df21e8e&scoped=true&lang=scss&\"","import axios, { AxiosInstance } from 'axios';\r\nimport router from '@/views/router';\r\nimport AuthRedirectService from '@/services/authRedirect.service';\r\nimport { msalPluginInstance } from \"@/plugins/msal-plugin\";\r\n\r\nclass ApiBase {\r\n\tprivate client: AxiosInstance;\r\n\r\n\tconstructor() {\r\n\t\tconst client = axios.create({\r\n\t\t\tdata: {}\r\n\t\t});\r\n\r\n\t\tclient.interceptors.request.use(\r\n\t\t\tasync config => {\r\n\t\t\t\tconst token = localStorage.getItem('bearer-token');\r\n\t\t\t\tconfig.headers.Authorization = `Bearer ${token}`;\r\n\t\t\t\tconfig.headers['Content-Type'] = 'application/json';\r\n\t\t\t\t// config.headers['Accept-Encoding'] = 'gzip';\r\n\t\t\t\treturn config;\r\n\t\t\t\t// const currentSession = await Auth.currentSession().catch(err => {\r\n\t\t\t\t// \treturn Promise.resolve(null);\r\n\t\t\t\t// });\r\n\r\n\t\t\t\t// let token;\r\n\t\t\t\t// if (!currentSession) {\r\n\t\t\t\t// \ttoken = '';\r\n\t\t\t\t// } else {\r\n\t\t\t\t// \ttoken = currentSession.getIdToken().getJwtToken();\r\n\t\t\t\t// }\r\n\r\n\t\t\t\t// config.headers.Authorization = `Bearer ${token}`;\r\n\t\t\t\t// config.headers['Content-Type'] = 'application/json';\r\n\t\t\t\t// // config.headers['Accept-Encoding'] = 'gzip';\r\n\t\t\t\t// return config;\r\n\t\t\t},\r\n\t\t\terror => {\r\n\t\t\t\t// Do something with request error\r\n\t\t\t\treturn Promise.reject(error);\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\t// Add a response interceptor\r\n\t\tclient.interceptors.response.use(\r\n\t\t\tresponse => response,\r\n\t\t\terror => {\r\n\t\t\t\t\r\n\t\t\t\tif (!error.response) {\r\n\t\t\t\t\tconsole.log(error);\r\n\t\t\t\t\tif(error.message.includes('Network Error'))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t msalPluginInstance.signOut();\r\n\t\t\t\t\t\treturn Promise.reject();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse{\r\n\t\t\t\t\t\treturn Promise.reject('There was an unexpected error');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (error.response.status >= 400) {\r\n\t\t\t\t\tif(error.response.status==401 ||error.response.status==403){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t msalPluginInstance.signOut();\r\n\t\t\t\t\t\treturn Promise.reject('Unauthorized');\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (error.response.data && error.response.data.message) {\r\n\t\t\t\t\t\treturn Promise.reject(error.response.data.message);\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\terror.response.data &&\r\n\t\t\t\t\t\terror.response.data.errors &&\r\n\t\t\t\t\t\terror.response.data.errors.length\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tconst errors = error.response.data.errors.join('\\n');\r\n\t\t\t\t\t\treturn Promise.reject(errors);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn Promise.reject('There was an unexpected error');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tthis.client = client;\r\n\t}\r\n\r\n\tpublic get<T>(path: string, config?: any) {\r\n\t\treturn this.client\r\n\t\t\t.get(path, config)\r\n\t\t\t.then(response => response.data.data as T);\r\n\t\t\t\r\n\t}\r\n\r\n\tpublic patch(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'PATCH',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n\r\n\tpublic put(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'PUT',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n\r\n\tpublic post(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t\t// headers: headers\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n\r\n\tpublic delete(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'DELETE',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n}\r\n\r\nexport default new ApiBase();\r\n","import { Category } from '@/models/category';\r\nimport { ApprovalRequest } from '@/models/approvalRequest';\r\nimport { ApprovalRequestResponse } from '@/models/approvalRequest';\r\nimport { ApproverResponseRequest } from '@/models/approvalRequest';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\nimport NoAuthApiBase from './noAuthApiBase';\r\n\r\nexport default class ApprovalRequestsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/approvalRequests`;\r\n\r\n\r\n\tpublic static async listApprovalRequests(searchText=\"\"): Promise<ListApprovalRequestsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getApprovalRequests?searchText=${searchText}`);\r\n\t}\r\n\tpublic static async getApprovalRequest(\r\n\t\tapprovalRequestId: string\r\n\t): Promise<ApprovalRequestResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getApprovalRequest/${approvalRequestId}`);\r\n\t}\r\n\tpublic static async getResponseFunnel(\r\n\t\tapprovalRequestId: string\r\n\t): Promise<GetApprovalResponseFunnelResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/${approvalRequestId}/response-funnel`);\r\n\t}\r\n\tpublic static async getDocument(filePath = ''): Promise<DocumentFile> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getDocument?filePath=${filePath}`);\r\n\t}\r\n\tpublic static async createRequest(\r\n\t\trequest: CreateApprovalRequest\r\n\t): Promise<ApprovalRequestResponse> {\r\n\r\n\t\tconst formData = new FormData();\r\n\r\n\t\t\tfor (const file of request.attachedFiles) {\r\n\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t}\r\n\t\t\t\tformData.append('attachedFiles', file, file.name);\r\n\t\t\t}\r\n\t\t\r\n\t\t\t\tformData.set('title', request.Title.toString());\r\n\t\t\t\tformData.set('description', request.Description.toString());\r\n\t\t\t\tformData.set('expirationDate', request.ExpirationDate.toDateString());\r\n\t\t\t\tformData.set('categoryString', JSON.stringify(request.Category));\r\n\t\t\t\tformData.set('approversString', JSON.stringify(request.Approvers));\r\n\t\t\t\t\r\n\r\n\t\treturn ApiBase.post(`${this.baseUrl}`, formData);\r\n\t}\r\n\tpublic static async getApprovalRequestForApprover(\r\n\t\ttoken: string\r\n\t): Promise<ApprovalRequestResponse> {\r\n\t\treturn NoAuthApiBase.get(\r\n\t\t\t`${this.baseUrl}/approvalRequestForApprover?token=${token}`\r\n\t\t);\r\n\t}\r\n\tpublic static async saveApproverResponse(\r\n\t\trequest: ApproverResponseRequest\r\n\t): Promise<ApprovalRequestResponse> {\r\n\t\treturn NoAuthApiBase.post(`${this.baseUrl}/saveApproverResponse`, request);\r\n\t}\r\n\tpublic static async sendReminderToApprovers(\r\n\t\tapproverRequestId: string\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(\r\n\t\t\t`${this.baseUrl}/${approverRequestId}/approvers/reminder`\r\n\t\t);\r\n\t}\r\n\tpublic static async cancelApprovalRequest(\r\n\t\tapproverRequestId: string\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(\r\n\t\t\t`${this.baseUrl}/${approverRequestId}/cancelApprovalRequest`\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\nexport interface DocumentFile {\r\n\tfilePath: string;\r\n\tfilesPaths : string[];\r\n}\r\nexport interface ListApprovalRequestsResponse {\r\n\tapprovalRequests: ApprovalRequest[];\r\n}\r\n\r\nexport interface GetApprovalResponseFunnelResponse {\r\n\tnotOpenedCount: number;\r\n\topenedCount: number;\r\n\tacceptedCount: number;\r\n\tdeclinedCount: number;\r\n}\r\nexport interface CreateApprovalRequest {\r\n\tTitle: string;\r\n\tDescription: string;\r\n\tExpirationDate: Date;\r\n\tattachedFiles: File[];\r\n\tCategory: Category;\r\n\tApprovers: CreateApproversRequest[];\r\n}\r\nexport interface CreateApproversRequest {\r\n\tName: string;\r\n\tEmail: string;\r\n\tTitle: string;\r\n}","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=5dd23631&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=5dd23631&lang=scss&scoped=true&\"","import SettingsApiService, { UserSettingsResponse } from '@/api/settings.api';\r\nimport Toast from '@/services/toast.service';\r\nimport { ActionTree } from 'vuex';\r\nimport { RootState } from '..';\r\nimport { IS_ACCOUNT_SUPER_ADMIN, IS_BUYER_SUBSCRIBED } from './getters';\r\nimport { AuthState } from './index';\r\nimport { msalPluginInstance } from \"@/plugins/msal-plugin\";\r\nimport { SET_ATTRIBUTES, SET_AUTHED, SET_USER_SETTINGS } from './mutations';\r\nimport jwt from 'jsonwebtoken';\r\n\r\nexport const actions: ActionTree<AuthState, RootState> = {\r\n\tSIGN_IN(\r\n\t\t{ commit },\r\n\t\tpayload: { username: string; password: string }\r\n\t): Promise<void> {\r\n\t\tcommit(SET_ATTRIBUTES, {\r\n\t\t\temail: 'Shahab',\r\n\t\t\trole: 'Buyer',\r\n\t\t\tfirstName: 'Shahab',\r\n\t\t\tsurname: 'Lodhi',\r\n\t\t\tuserId: '12345'\r\n\t\t});\r\n\t\tcommit(SET_AUTHED, true);\r\n\r\n\r\n\t\t\r\n\t\treturn Promise.resolve();\r\n\t\t;\r\n\t},\r\n\tSIGN_UP({ commit }, payload: any) {\r\nPromise.resolve();\r\n\t},\r\n\tSIGN_OUT(\r\n\t\t{ commit },\r\n\t\tpayload: { username: string; password: string }\r\n\t): Promise<void> {\r\n\t\t// commit(SET_USER, null);\r\n\t\tcommit(SET_AUTHED, false);\r\n\t\treturn Promise.resolve();\r\n\t},\r\n\tRESEND_SIGN_UP({ commit }, username: string): Promise<string> {\r\n\r\n\t\treturn Promise.reject(\"\");\r\n\t},\r\n\tCHECK_AUTHED({ commit }): Promise<boolean> {\r\n\t\tconst token=localStorage.getItem('bearer-token');\r\n\t\tif(token && msalPluginInstance.isAuthenticated)\r\n\t\t{\r\n\t\t\tconst decodedPayload = jwt.decode(token);\r\n\t\t\t\tconst email = decodedPayload.emails[0];\r\n\t\t\t\tconst userId = decodedPayload.sub;\r\n\t\t\t\tconst firstName = decodedPayload.given_name;\r\n\t\t\t\tconst surname = decodedPayload.family_name;\r\n\t\t\tcommit(SET_ATTRIBUTES, {\r\n\t\t\t\t\temail: email ? email : '',\r\n\t\t\t\t\tuserId,\r\n\t\t\t\t\tfirstName,\r\n\t\t\t\t\tsurname\r\n\t\t\t\t});\r\n\t\t\tcommit(SET_AUTHED, true);\r\n\t\t\treturn Promise.resolve(true);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tif(token && !msalPluginInstance.isAuthenticated)\r\n\t\t\t{\r\n\t\t\t\tmsalPluginInstance.acquireToken();\r\n\t\t\t}\r\n\t\t\tsessionStorage.clear();\r\n\t\t\tcommit(SET_AUTHED, false);\r\n\t\t\treturn Promise.resolve(false);\r\n\t\t}\r\n\r\n\r\n\t},\r\n\t\r\n\tRESET_ATTRIBUTES({ commit }): Promise<void> {\r\n \tcommit(SET_AUTHED, true);\r\n\t\treturn Promise.resolve();\r\n\t},\r\n\tINITIALIZE_USER_SETTINGS({ commit }): Promise<UserSettingsResponse> {\r\n\t\treturn SettingsApiService.getUserSettings().then(res => {\r\n\t\t\tif (res) {\r\n\t\t\t\tcommit(SET_USER_SETTINGS, {\r\n\t\t\t\t\tbuyerName: res.buyerName,\r\n\t\t\t\t\tbuyerId: res.buyerId,\r\n\t\t\t\t\troles: res.roles,\r\n\t\t\t\t\tisBuyerSubscribed: res.isBuyerSubscribed,\r\n\t\t\t\t\tbillingActionRequired: res.billingActionRequired,\r\n\t\t\t\t\tisSuperAdmin: res.isSuperAdmin,\r\n\t\t\t\t\tbuyerLogoUrl:res.buyerLogoUrl\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\treturn Promise.resolve(res);\r\n\t\t});\r\n\t},\r\n\tIS_SUPER_ADMIN({ commit }): Promise<boolean> {\r\n\t\treturn SettingsApiService.getUserSettings().then(res => {\r\n\t\t\tif (res) {\r\n\t\t\t\tcommit(IS_ACCOUNT_SUPER_ADMIN,res);\r\n\t\t\t}\r\n\t\t\treturn Promise.resolve(false);\r\n\t\t});\r\n\t},\r\n\tCHECK_IS_SUBSCRIBED(state): Promise<UserSettingsResponse> {\r\n\t\treturn Promise.resolve(state.getters[IS_BUYER_SUBSCRIBED]);\r\n\t}\r\n\t\r\n};\r\n\r\nexport const SIGN_IN = 'SIGN_IN';\r\nexport const SIGN_UP = 'SIGN_UP';\r\nexport const SIGN_OUT = 'SIGN_OUT';\r\nexport const RESEND_SIGN_UP = 'RESEND_SIGN_UP';\r\nexport const CHECK_AUTHED = 'CHECK_AUTHED';\r\nexport const SET_USER = 'SET_USER';\r\nexport const RESET_ATTRIBUTES = 'RESET_ATTRIBUTES';\r\nexport const INITIALIZE_USER_SETTINGS = 'INITIALIZE_USER_SETTINGS';\r\nexport const CHECK_IS_SUBSCRIBED = 'CHECK_IS_SUBSCRIBED';\r\nexport const IS_SUPER_ADMIN = 'IS_SUPER_ADMIN';\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { ContractBaseStatus } from '@/models/enums/contractBaseStatus';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class ContractBaseStatusChip extends Vue {\r\n\t@Prop() public state!: ContractBaseStatus;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ContractBaseStatus.Renewel:\r\n\t\t\t\treturn 'ri-time-line';\r\n\t\t\tcase ContractBaseStatus.Live:\r\n\t\t\t\treturn 'mdi-check';\r\n\t\t\tcase ContractBaseStatus.Archive:\r\n\t\t\t\treturn 'mdi-timetable';\r\n\t\t\tcase ContractBaseStatus.Upcoming:\r\n\t\t\t\treturn 'ri-notification-4-line';\r\n\t\t\tcase ContractBaseStatus.Expired:\r\n\t\t\t\treturn 'mdi-timetable';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ContractBaseStatus.Renewel:\r\n\t\t\t\treturn 'Renewel';\r\n\t\t\tcase ContractBaseStatus.Live:\r\n\t\t\t\treturn 'Live';\r\n\t\t\tcase ContractBaseStatus.Archive:\r\n\t\t\t\treturn 'Archive';\r\n\t\t\tcase ContractBaseStatus.Upcoming:\r\n\t\t\t\treturn 'Upcoming';\r\n\t\t\tcase ContractBaseStatus.Expired:\r\n\t\t\t\treturn 'Expired';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ContractBaseStatus.Upcoming:\r\n\t\t\t\treturn '#f4c51e';\r\n\t\t\tcase ContractBaseStatus.Live:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tcase ContractBaseStatus.Archive:\r\n\t\t\t\treturn '#f4c51e';\r\n\t\t\tcase ContractBaseStatus.Renewel:\r\n\t\t\t\treturn 'red';\r\n\t\t\tcase ContractBaseStatus.Expired:\r\n\t\t\t\treturn '#d536f4';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractBaseStatusChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractBaseStatusChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractBaseStatusChip.vue?vue&type=template&id=23ef2ab2&scoped=true&\"\nimport script from \"./ContractBaseStatusChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractBaseStatusChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ContractBaseStatusChip.vue?vue&type=style&index=0&id=23ef2ab2&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23ef2ab2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[(!_vm.person)?_c('h2',[_vm._v(_vm._s(_vm.$t('CompanyContacts.addCompanyContact')))]):_vm._e(),(_vm.person)?_c('h2',[_vm._v(_vm._s(_vm.$t('CompanyContacts.editCompanyContact')))]):_vm._e()]),_c('v-card-text',[_c('v-autocomplete',{attrs:{\"items\":_vm.companies,\"loading\":_vm.companiesLoading,\"search-input\":_vm.companySearchText,\"hide-selected\":\"\",\"outlined\":\"\",\"rounded\":\"\",\"autocomplete\":\"new\",\"label\":_vm.$t('PersonForm.companyLabel'),\"placeholder\":_vm.$t('PersonForm.companyPlaceholder')},on:{\"update:searchInput\":function($event){_vm.companySearchText=$event},\"update:search-input\":function($event){_vm.companySearchText=$event}},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"close-on-click\":false,\"nudge-width\":200,\"offset-x\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"rounded\":\"\",\"outlined\":\"\"}},'v-btn',attrs,false),on),[_vm._v(\" \"+_vm._s(_vm.$t('PersonForm.addCompanyButton'))+\" \")])]}}]),model:{value:(_vm.addCompanyMenu),callback:function ($$v) {_vm.addCompanyMenu=$$v},expression:\"addCompanyMenu\"}},[_c('v-card',[_c('v-card-text',{staticClass:\"pb-4\"},[_c('v-text-field',{attrs:{\"id\":\"companyName\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('PersonForm.companyNamePlaceholder'),\"label\":_vm.$t('PersonForm.companyNameLabel')},model:{value:(_vm.companyName),callback:function ($$v) {_vm.companyName=$$v},expression:\"companyName\"}}),_c('v-textarea',{attrs:{\"id\":\"companyAddress\",\"outlined\":\"\",\"autocomplete\":\"new\",\"rounded\":\"\",\"hide-details\":\"\",\"placeholder\":_vm.$t('PersonForm.companyAddressPlaceholder'),\"label\":_vm.$t('PersonForm.companyAddressLabel')},model:{value:(_vm.companyAddress),callback:function ($$v) {_vm.companyAddress=$$v},expression:\"companyAddress\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.addCompanyMenu = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('PersonForm.cancelButton'))+\" \")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\",\"loading\":_vm.addingCompany,\"rounded\":\"\"},on:{\"click\":function($event){return _vm.createCompany()}}},[_vm._v(\" \"+_vm._s(_vm.$t('PersonForm.addButton'))+\" \")])],1)],1)],1)],1)],1)]},proxy:true}]),model:{value:(_vm.selectedCompany),callback:function ($$v) {_vm.selectedCompany=$$v},expression:\"selectedCompany\"}}),_c('v-text-field',{ref:\"companyContactNameEl\",attrs:{\"id\":\"name\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('PersonForm.namePlaceholder'),\"label\":_vm.$t('PersonForm.nameLabel')},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}}),_c('v-text-field',{attrs:{\"id\":\"email\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"email\",\"error-messages\":_vm.emailErrors,\"placeholder\":_vm.$t('PersonForm.emailPlaceholder'),\"label\":_vm.$t('PersonForm.emailLabel')},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('v-text-field',{attrs:{\"id\":\"phoneNumber\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"tel\",\"placeholder\":_vm.$t('PersonForm.phoneNumberPlaceholder'),\"label\":_vm.$t('PersonForm.phoneNumberLabel')},model:{value:(_vm.phoneNumber),callback:function ($$v) {_vm.phoneNumber=$$v},expression:\"phoneNumber\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":_vm.Clear}},[_vm._v(_vm._s(_vm.$t('PersonForm.cancelButton')))]),_c('v-spacer'),_c('v-btn',{attrs:{\"loading\":_vm.creating || _vm.updating,\"color\":\"primary\",\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(_vm._s(_vm.$t('PersonForm.saveButton')))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport ContactsApiService from '@/api/contacts.api';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport { PersonContact } from '@/models/personContact';\r\nimport { Company } from '@/models/company';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog }\r\n})\r\nexport default class PersonForm extends Vue {\r\n\t@Prop({ default: null }) public person!: PersonContact;\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public onSaved!: any;\r\n\tpublic name = '';\r\n\tpublic email = '';\r\n\tpublic companyName = '';\r\n\tpublic companyAddress = '';\r\n\tpublic phoneNumber = '';\r\n\tpublic companySearchText = '';\r\n\r\n\tpublic creating = false;\r\n\tpublic updating = false;\r\n\r\n\tpublic addCompanyMenu = false;\r\n\tpublic addingCompany = false;\r\n\tpublic companiesLoading = false;\r\n\tpublic companies: any[] = [];\r\n\tpublic selectedCompany: any = null;\r\n\r\n\tpublic emailErrors: string[] = [];\r\n\r\n\tpublic timerId = 0;\r\n\r\n\t@Watch('companySearchText') public searchCompanies(searchTerm: string) {\r\n\t\tif (!searchTerm || searchTerm.length < 3) return;\r\n\t\tthis.companyName = searchTerm;\r\n\t\tthis.companiesLoading = true;\r\n\r\n\t\tclearTimeout(this.timerId);\r\n\r\n\t\t// delay new call 500ms\r\n\t\tthis.timerId = window.setTimeout(() => {\r\n\t\t\tContactsApiService.getCompanies(searchTerm)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.companies = res.companies.map(c => {\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: c.name,\r\n\t\t\t\t\t\t\tvalue: c.id\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.companiesLoading = false));\r\n\t\t}, 500);\r\n\t}\r\n\r\n\tcreated() {\r\n\t\tthis.resetPerson();\r\n\t}\r\n\r\n\tpublic createCompany() {\r\n\t\tthis.addingCompany = true;\r\n\t\tContactsApiService.createCompany({\r\n\t\t\tcompanyName: this.companyName,\r\n\t\t\tcompanyAddress: this.companyAddress\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t('PersonForm.success.companyCreated').toString());\r\n\t\t\t\tthis.addCompanyMenu = false;\r\n\t\t\t\tthis.companies.push({\r\n\t\t\t\t\ttext: res.companyName,\r\n\t\t\t\t\tvalue: res.companyId\r\n\t\t\t\t});\r\n\t\t\t\tthis.selectedCompany = res.companyId;\r\n\t\t\t\tif (this.name && this.email && this.phoneNumber && !(this.emailErrors.length > 0)) \r\n\t\t\t\t{\r\n\t\t\t\t\tthis.create();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t(this.$refs.companyContactNameEl as any).$el.click();\r\n\t\t\t\tthis.companyName = '';\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.addingCompany = false));\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tif (!(this.emailErrors.length > 0)) {\r\n\t\t\tif (this.person) {\r\n\t\t\t\tthis.updatePerson();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tthis.create();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic create() {\r\n\t\tif (!this.selectedCompany) {\r\n\t\t\tToast.error(this.$t('PersonForm.info.companySelect').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.creating = true;\r\n\t\tContactsApiService.createPerson({\r\n\t\t\tpersonName: this.name,\r\n\t\t\tpersonEmail: this.email,\r\n\t\t\tcompanyId: this.selectedCompany,\r\n\t\t\tpersonPhoneNumber: this.phoneNumber\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t('PersonForm.success.personCreated').toString());\r\n\t\t\t\tthis.Clear();\r\n\t\t\t\tthis.onSaved({\r\n\t\t\t\t\tid: res.personId,\r\n\t\t\t\t\tname: res.personName,\r\n\t\t\t\t\temail: res.personEmail,\r\n\t\t\t\t\tphoneNumber: res.personPhoneNumber,\r\n\t\t\t\t\tcompanyId: res.companyId,\r\n\t\t\t\t\tcompanyName: res.companyName,\r\n\t\t\t\t\tcompanyAddress: res.companyAddress\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.creating = false));\r\n\t}\r\n\r\n\tpublic updatePerson() {\r\n\t\tif (!this.person) return;\r\n\t\tif (!this.selectedCompany) return;\r\n\r\n\t\tthis.updating = true;\r\n\t\tContactsApiService.updatePerson(this.person.id, {\r\n\t\t\tpersonName: this.name,\r\n\t\t\tpersonEmail: this.email,\r\n\t\t\tcompanyId: this.selectedCompany,\r\n\t\t\tpersonPhoneNumber: this.phoneNumber\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t('PersonForm.success.personSaved').toString());\r\n\t\t\t\tthis.cancel();\r\n\t\t\t\tthis.onSaved();\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.updating = false));\r\n\t}\r\n\r\n\tprivate resetPerson() {\r\n\t\tif (this.person) {\r\n\t\t\tthis.name = this.person.name;\r\n\t\t\tthis.email = this.person.email;\r\n\t\t\tthis.phoneNumber = this.person.phoneNumber;\r\n\t\t\tthis.companyName = this.person.companyName;\r\n\t\t\tthis.companyAddress = this.person.companyAddress;\r\n\t\t\tthis.companies = [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.person.companyName,\r\n\t\t\t\t\tvalue: this.person.companyId\r\n\t\t\t\t}\r\n\t\t\t];\r\n\t\t\tthis.selectedCompany = this.person.companyId;\r\n\t\t\tthis.emailErrors = [];\r\n\t\t}\r\n\t}\r\n\r\n\tpublic Clear() {\r\n\t\tthis.selectedCompany = null;\r\n\t\tthis.name = '';\r\n\t\tthis.emailErrors = [];\r\n\t\tthis.phoneNumber = '';\r\n\t\tthis.email = '';\r\n\t\tthis.companyName = '';\r\n\t\tthis.companyAddress = '';\r\n\t\tthis.cancel();\r\n\t}\r\n\r\n\t@Watch('email')\r\n\tprivate validateEmail() {\r\n\t\tif (this.email) {\r\n\t\t\tconst emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\r\n\t\t\tthis.emailErrors = [];\r\n\t\t\tif (!emailRegex.test(this.email)) {\r\n\t\t\t\tthis.emailErrors.push('Invalid email');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PersonForm.vue?vue&type=template&id=552231fc&scoped=true&\"\nimport script from \"./PersonForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./PersonForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PersonForm.vue?vue&type=style&index=0&id=552231fc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"552231fc\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VMenu,VRow,VSpacer,VTextField,VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[(_vm.quickQuote.state === _vm.BuyerRequestState.InProgress)?[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuotePreview.Details'))+\" \")])])],1),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.QuotationName')))]),_c('div',{},[_vm._v(_vm._s(_vm.quickQuote.name))])])],1),_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-start\"},[_c('div',{staticClass:\"pr-8\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.QuotationStartDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.formattedStartDate))])]),_c('div',[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.QuotationEndDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.formattedEndDate))])])])],1),_c('v-divider',{staticClass:\"my-4\"})]:_vm._e(),_c('v-row',{class:{ 'mt-8': _vm.quickQuote.state === _vm.BuyerRequestState.InProgress }},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.Items')))])])],1),_c('v-data-table',{attrs:{\"headers\":_vm.itemHeaders,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.quickQuote.buyerRequestItems,\"no-data-text\":_vm.$t('QuickQuoteForm1.NoDataText')}}),_c('v-row',{staticClass:\"mt-8\"},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.QuestionForSuppliers')))])])],1),_c('v-data-table',{attrs:{\"headers\":_vm.questionHeaders,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.quickQuote.questions,\"no-data-text\":_vm.$t('QuickQuoteForm1.NoQuestionText')}}),_c('v-row',{staticClass:\"mt-8\"},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.TermsAndCondition')))])])],1),_c('PolicyDisplay',{attrs:{\"terms\":_vm.quickQuote.terms,\"termsLink\":_vm.quickQuote.termsLink,\"usePolicyLinks\":_vm.quickQuote.usePolicyLinks}}),_c('v-row',{staticClass:\"mt-8\"},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm2.Suppliers')))])])],1),_c('v-data-table',{attrs:{\"headers\":_vm.supplierHeaders,\"items\":_vm.quickQuote.buyerRequestPersonContacts,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"no-data-text\":_vm.$t('QuickQuoteForm2.NoSupplierAdded')},scopedSlots:_vm._u([{key:\"item.quotationState\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('QuotationStateChip',{attrs:{\"state\":item.quotationState}})]}},(_vm.quickQuote.state === _vm.BuyerRequestState.AwaitingResponses)?{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [(\n\t\t\t\t\titem.quotationState !== _vm.QuotationState.Submitted &&\n\t\t\t\t\t\titem.quotationState !== _vm.QuotationState.Declined\n\t\t\t\t)?_c('v-btn',{attrs:{\"title\":_vm.$t('QuickQuotePreview.SendReminder'),\"icon\":\"\"},on:{\"click\":function($event){return _vm.openSendReminderToSupplier(item.personContactId)}}},[_c('v-icon',[_vm._v(\"ri-mail-send-line\")])],1):_vm._e(),(item.quotationState === _vm.QuotationState.Declined)?_c('v-btn',{attrs:{\"title\":_vm.$t('QuickQuotePreview.UnlockBuyerRequest'),\"icon\":\"\"},on:{\"click\":function($event){return _vm.openUnlockBuyerRequest(item.personContactId)}}},[_c('v-icon',[_vm._v(\"ri-lock-unlock-line\")])],1):_vm._e()]}}:null],null,true)}),(_vm.quickQuote.state === _vm.BuyerRequestState.InProgress && !_vm.readonly)?_c('v-btn',{staticClass:\"my-4 mr-4\",attrs:{\"rounded\":\"\",\"large\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.back()}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuotePreview.Back'))+\" \")]):_vm._e(),_c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.sendReminderDialog),callback:function ($$v) {_vm.sendReminderDialog=$$v},expression:\"sendReminderDialog\"}},[_c('ConfirmDialog',{attrs:{\"actionText\":_vm.$t('QuickQuotePreview.Send'),\"color\":'primary',\"header\":_vm.$t('QuickQuotePreview.SendReminder'),\"onActionComplete\":function () {\n\t\t\t\t\t/* */\n\t\t\t\t},\"cancelText\":_vm.$t('QuickQuotePreview.Cancel'),\"action\":function () { return _vm.sendReminderToSupplier(); },\"message\":_vm.$t('QuickQuotePreview.ConfirmText'),\"cancelAction\":function () { return (_vm.sendReminderDialog = false); }}})],1),_c('v-dialog',{attrs:{\"width\":\"800\"},model:{value:(_vm.unlockBuyerRequestDialog),callback:function ($$v) {_vm.unlockBuyerRequestDialog=$$v},expression:\"unlockBuyerRequestDialog\"}},[_c('ConfirmDialog',{attrs:{\"actionText\":_vm.$t('QuickQuotePreview.UnlockAndResend'),\"color\":'primary',\"header\":_vm.$t('QuickQuotePreview.UnlockAndResendHeader'),\"onActionComplete\":function () {\n\t\t\t\t\t/* */\n\t\t\t\t},\"cancelText\":_vm.$t('QuickQuotePreview.Cancel'),\"action\":function () { return _vm.unlockBuyerRequestForSupplier(); },\"message\":_vm.$t('QuickQuotePreview.CancelQuotationMessage'),\"cancelAction\":function () { return (_vm.unlockBuyerRequestDialog = false); }}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport { QuotationState } from '@/models/enums/quotationState';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class QuotationStateChip extends Vue {\r\n\t@Prop() public state!: QuotationState;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase QuotationState.Sent:\r\n\t\t\tcase QuotationState.Opened:\r\n\t\t\t\treturn 'ri-radio-button-line';\r\n\t\t\tcase QuotationState.Submitted:\r\n\t\t\t\treturn 'ri-check-line';\r\n\t\t\tcase QuotationState.Declined:\r\n\t\t\t\treturn 'ri-close-circle-line';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase QuotationState.Sent:\r\n\t\t\t\treturn 'Sent';\r\n\t\t\tcase QuotationState.Opened:\r\n\t\t\t\treturn 'Opened';\r\n\t\t\tcase QuotationState.Submitted:\r\n\t\t\t\treturn 'Submitted';\r\n\t\t\tcase QuotationState.Declined:\r\n\t\t\t\treturn 'Declined';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase QuotationState.Sent:\r\n\t\t\t\treturn 'accent';\r\n\t\t\tcase QuotationState.Opened:\r\n\t\t\t\treturn 'secondary';\r\n\t\t\tcase QuotationState.Submitted:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tcase QuotationState.Declined:\r\n\t\t\t\treturn 'error';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotationStateChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotationStateChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuotationStateChip.vue?vue&type=template&id=394e9228&scoped=true&\"\nimport script from \"./QuotationStateChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuotationStateChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuotationStateChip.vue?vue&type=style&index=0&id=394e9228&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"394e9228\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport { QuickQuote } from '@/models/quickQuote';\r\nimport PolicyDisplay from '@/components/PolicyDisplay.vue';\r\nimport QuotationStateChip from '@/components/QuotationStateChip.vue';\r\nimport DateService from '@/services/date.service';\r\nimport { Item } from '@/models/item';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { QuotationState } from '@/models/enums/quotationState';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, PolicyDisplay, QuotationStateChip }\r\n})\r\nexport default class QuickQuotePreview extends Vue {\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic QuotationState = QuotationState;\r\n\t@Prop() public buyerDetails!: BuyerDetails;\r\n\t@Prop() public quickQuote!: QuickQuote;\r\n\t@Prop({ default: false }) public readonly!: boolean;\r\n\tpublic name = '';\r\n\tpublic items: Item[] = [];\r\n\tpublic questions: any[] = [];\r\n\tpublic formattedStartDate = '';\r\n\tpublic formattedEndDate = '';\r\n\tpublic sendReminderDialog = false;\r\n\tpublic unlockBuyerRequestDialog = false;\r\n\tpublic selectedSupplierId = '';\r\n\r\n\tpublic suppliers: any[] = [];\r\n\r\n\tpublic itemHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.Quantity'),\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'quantity',\r\n\t\t\twidth: '140px'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.ProductDescription'),\r\n\t\t\talign: 'start',\r\n\t\t\tfilterable: true,\r\n\t\t\tvalue: 'description'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.DeliveryLocation'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'deliveryLocation'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic questionHeaders = [\r\n\t\t{\r\n\t\t\ttext: '#',\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'order',\r\n\t\t\tsortable: false,\r\n\t\t\twidth: '60px'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.Question'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'text'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic supplierHeaders: any[] = [];\r\n\r\n\tcreated() {\r\n\t\tthis.supplierHeaders = [];\r\n\t\tthis.supplierHeaders.push(\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm2.Name'),\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tvalue: 'name'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm2.CompanyName'),\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tvalue: 'companyName'\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tif (this.quickQuote.state !== BuyerRequestState.InProgress) {\r\n\t\t\tthis.supplierHeaders.push({\r\n\t\t\t\ttext: this.$t('QuickQuoteForm2.Status'),\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tvalue: 'quotationState'\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tthis.supplierHeaders.push(\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm2.CompanyAddress'),\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tvalue: 'companyAddress'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm2.Email'),\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tvalue: 'email'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: '',\r\n\t\t\t\talign: 'end',\r\n\t\t\t\tvalue: 'actions'\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tthis.formattedStartDate = DateService.formatDateString(\r\n\t\t\tthis.quickQuote.startDate\r\n\t\t);\r\n\t\tthis.formattedEndDate = DateService.formatDateString(this.quickQuote.endDate);\r\n\t}\r\n\r\n\tpublic back() {\r\n\t\tthis.$emit('onStep3Back');\r\n\t}\r\n\r\n\tpublic openSendReminderToSupplier(personContactId: string) {\r\n\t\tthis.selectedSupplierId = personContactId;\r\n\t\tthis.sendReminderDialog = true;\r\n\t}\r\n\r\n\tpublic openUnlockBuyerRequest(personContactId: string) {\r\n\t\tthis.selectedSupplierId = personContactId;\r\n\t\tthis.unlockBuyerRequestDialog = true;\r\n\t}\r\n\r\n\tpublic sendReminderToSupplier() {\r\n\t\treturn BuyerRequestsApiService.sendReminderToSuppliers(this.quickQuote.id, {\r\n\t\t\tpersonContactIds: [this.selectedSupplierId]\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t(\"QuickQuotePreview.ReminderSent\").toString());\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic unlockBuyerRequestForSupplier() {\r\n\t\treturn BuyerRequestsApiService.unlockBuyerRequestForSupplier(\r\n\t\t\tthis.quickQuote.id,\r\n\t\t\tthis.selectedSupplierId\r\n\t\t)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.quickQuote.buyerRequestPersonContacts.forEach(x => {\r\n\t\t\t\t\tif (x.personContactId === this.selectedSupplierId) {\r\n\t\t\t\t\t\tx.quotationState = QuotationState.Opened;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\tthis.quickQuote.buyerRequestPersonContacts = [\r\n\t\t\t\t\t...this.quickQuote.buyerRequestPersonContacts\r\n\t\t\t\t];\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t\tToast.success('Quotation unlocked and reminder sent');\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotePreview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotePreview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickQuotePreview.vue?vue&type=template&id=d324b0ec&scoped=true&\"\nimport script from \"./QuickQuotePreview.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickQuotePreview.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuickQuotePreview.vue?vue&type=style&index=0&id=d324b0ec&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d324b0ec\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VDataTable,VDialog,VDivider,VIcon,VRow})\n","import router from '@/views/router';\r\n\r\nexport default class AuthRedirectService {\r\n\tpublic static handleAuthRouteRedirect(\r\n\t\tisSubscribed: boolean\r\n\t): Promise<boolean> {\r\n\t\tif (isSubscribed) {\r\n\t\t\treturn Promise.resolve(false);\r\n\t\t}\r\n\r\n\t\treturn this.handleSupplierRedirect();\r\n\t}\r\n\r\n\tpublic static handleSupplierRedirect(): Promise<boolean> {\r\n\t\tconst isSupplier = localStorage.getItem('supplier') === 'true';\r\n\r\n\t\tconst teamInviteToken = localStorage.getItem('invite-token');\r\n\t\tif (teamInviteToken) {\r\n\t\t\trouter.replace('/team/invite').catch();\r\n\t\t\treturn Promise.resolve(true);\r\n\t\t}\r\n\r\n\t\tif (isSupplier) {\r\n\t\t\trouter.replace('/quotes').catch();\r\n\t\t\treturn Promise.resolve(true);\r\n\t\t}\r\n\r\n\t\tif (!isSupplier) {\r\n\t\t\t// router.replace('/new').catch(); // to bypass the new buyer supplier screen\r\n\t\t\trouter.replace('/newbuyer').catch();\r\n\t\t\treturn Promise.resolve(true);\r\n\t\t}\r\n\t\treturn Promise.resolve(false);\r\n\t}\r\n}\r\n","import { Currency } from '@/models/currency';\r\nimport { TaxType } from '@/models/enums/taxType';\r\nimport { PlanType } from '@/models/enums/planType';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\n\r\nexport default class BuyersApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/buyers`;\r\n\r\n\tpublic static async registerBuyer(\r\n\t\trequest: RegisterBuyerRequest\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}`, request);\r\n\t}\r\n\r\n\tpublic static async getBuyerDetails(): Promise<BuyerDetailsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/me`);\r\n\t}\r\n\tpublic static async getBuyerDetailsbyId(buyerId): Promise<BuyerDetailsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getBuyerDetailsbyId/${buyerId}`);\r\n\t}\r\n\r\n\tpublic static async getCurrencies(): Promise<GetCurrenciesResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/me/currencies`);\r\n\t}\r\n\r\n\tpublic static async saveBuyerDetails(\r\n\t\tbuyerId: string,\r\n\t\trequest: SaveBuyerDetailsRequest\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/${buyerId}`, request);\r\n\t}\r\n\tpublic static async isApproverExist(buyerId: string): Promise<IsApproverExistResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/isApproverExist/${buyerId}`);\r\n\t}\r\n\tpublic static async getAllBuyers(searchText): Promise<BuyerDetailsResponse[]> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getAllBuyers?searchText=${searchText}`);\r\n\t}\r\n}\r\n\r\nexport interface BuyerDetailsResponse {\r\n\tbuyerId: string;\r\n\tbuyerName: string;\r\n\taddressLine1: string;\r\n\taddressLine2: string;\r\n\ttown: string;\r\n\tpostcode: string;\r\n\tcountry: string;\r\n\ttermsLink: string;\r\n\tcurrency: Currency;\r\n\ttaxType: TaxType;\r\n\t// privacyPolicyLink: string;\r\n\tpaid: boolean;\r\n\tisStorageLimitReached : boolean;\r\n\tisNearStorageLimit : boolean;\r\n}\r\n\r\nexport interface RegisterBuyerRequest {\r\n\tbuyerName: string;\r\n\taddressLine1: string;\r\n\taddressLine2: string;\r\n\ttown: string;\r\n\tpostcode: string;\r\n\tcountry: string;\r\n\ttermsLink: string;\r\n\tprocurePlan: PlanType;\r\n\t// privacyPolicyLink: string;\r\n\tpriceId: string;\r\n\tseatQuantity: number;\r\n\tpaymentMethodId: string;\r\n}\r\n\r\nexport interface SaveBuyerDetailsRequest {\r\n\tbuyerName: string;\r\n\taddressLine1: string;\r\n\taddressLine2: string;\r\n\ttown: string;\r\n\tpostcode: string;\r\n\tcountry: string;\r\n\tcurrencyCode: string;\r\n\ttaxType: TaxType;\r\n\t// privacyPolicyLink: string;\r\n\ttermsLink: string;\r\n}\r\n\r\nexport interface GetCurrenciesResponse {\r\n\tcurrencies: Currency[];\r\n}\r\nexport interface IsApproverExistResponse {\r\n\tisApproverExist: boolean;\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateApprovalRequestPage.vue?vue&type=style&index=0&id=12162fe4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateApprovalRequestPage.vue?vue&type=style&index=0&id=12162fe4&lang=scss&scoped=true&\"","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./buyerDetailsResponse.vue?vue&type=style&index=0&id=98fe8be2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./buyerDetailsResponse.vue?vue&type=style&index=0&id=98fe8be2&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep2.vue?vue&type=style&index=0&id=5aa3de94&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep2.vue?vue&type=style&index=0&id=5aa3de94&lang=scss&scoped=true&\"","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesResponses.vue?vue&type=style&index=0&id=6b243120&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesResponses.vue?vue&type=style&index=0&id=6b243120&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeNavCard.vue?vue&type=style&index=0&id=888accd0&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeNavCard.vue?vue&type=style&index=0&id=888accd0&scoped=true&lang=scss&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=291eb2bd&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=291eb2bd&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverStateChip.vue?vue&type=style&index=0&id=53691f3b&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverStateChip.vue?vue&type=style&index=0&id=53691f3b&scoped=true&lang=scss&\"","import Toasted, { ToastOptions } from 'vue-toasted';\r\nimport Vue from 'vue';\r\n\r\nVue.use(Toasted, {\r\n\tposition: 'bottom-center',\r\n\tduration: 4000\r\n});\r\n\r\n// export interface CustomToastOptions extends ToastOptions {}\r\n\r\nexport default class Toast {\r\n\tpublic static success(message: string, options?: ToastOptions): void {\r\n\t\tVue.toasted.success(message);\r\n\t}\r\n\r\n\tpublic static error(message: string, options?: ToastOptions): void {\r\n\t\tVue.toasted.error(message, options);\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=style&index=0&id=52fc78b8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=style&index=0&id=52fc78b8&lang=scss&scoped=true&\"","/* eslint-disable no-inner-declarations */\r\n/* eslint-disable @typescript-eslint/no-namespace */\r\nexport enum TeamMemberRole {\r\n\tAdmin = 0,\r\n\tBuyer = 1,\r\n\t// Scorer = 2,\r\n\tApprover = 3\r\n}\r\n\r\nconst values = new Map([\r\n\t[TeamMemberRole.Admin, `Admin`],\r\n\t[TeamMemberRole.Buyer, `Buyer`],\r\n\t// [TeamMemberRole.Scorer, `Scorer`],\r\n\t[TeamMemberRole.Approver, `Approver`]\r\n]);\r\n\r\nexport namespace TeamMemberRole {\r\n\texport function toString(key: TeamMemberRole): string {\r\n\t\treturn values.get(key) as string;\r\n\t}\r\n\r\n\texport function parse(value: string): TeamMemberRole {\r\n\t\tfor (const [key, val] of values) {\r\n\t\t\tif (value === val) {\r\n\t\t\t\treturn key;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 0;\r\n\t}\r\n\r\n\texport function getValues(): string[] {\r\n\t\treturn Array.from(values.values());\r\n\t}\r\n\r\n\texport function getKeys(): TeamMemberRole[] {\r\n\t\treturn Array.from(values.keys());\r\n\t}\r\n}\r\n\r\nexport default TeamMemberRole;\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateContractPage.vue?vue&type=style&index=1&id=41f8c67c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateContractPage.vue?vue&type=style&index=1&id=41f8c67c&scoped=true&lang=css&\"","import { TeamMemberRole } from '@/models/enums/teamMemberRole';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\n\r\nexport default class SettingsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/settings`;\r\n\r\n\tpublic static async saveUserInfo(\r\n\t\trequest: SaveUserInformationRequest\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/account/general`, request);\r\n\t}\r\n\r\n\tpublic static async saveBuyerLogo(\r\n\t\trequest: SaveBuyerLogoRequest\r\n\t): Promise<void> {\r\n\r\n\r\n\t\tconst formData = new FormData();\r\n\r\n\t\tif (request.attachedFile) {\r\n\t\t\t// 100 mb limit\r\n\t\t\tif (request.attachedFile.size > 20000000) {\r\n\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t}\r\n\t\t\r\n\t\t\tformData.append(\r\n\t\t\t\t'attachedFile',\r\n\t\t\t\trequest.attachedFile,\r\n\t\t\t\trequest.attachedFile.name\r\n\t\t\t);\r\n\t\t}\r\n\t\tformData.set('buyerId', request.buyerId.toString());\r\n\r\n\r\n\r\n\t\treturn ApiBase.post(`${this.baseUrl}/account/buyer-logo`, formData);\r\n\t}\r\n\r\n\tpublic static async getUserSettings(): Promise<UserSettingsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/me`);\r\n\t}\r\n\r\n\tpublic static async saveUserAddress(\r\n\t\trequest: SaveUserAddressRequest\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/account/address`, request);\r\n\t}\r\n}\r\n\r\nexport interface UserSettingsResponse {\r\n\tbuyerId: string;\r\n\tbuyerName: string;\r\n\troles: TeamMemberRole[];\r\n\tisBuyerSubscribed: boolean;\r\n\tbillingActionRequired: boolean;\r\n\tisSuperAdmin: boolean;\r\n\tbuyerLogoUrl: string;\r\n}\r\n\r\nexport interface SaveUserInformationRequest {\r\n\tfirstName: string;\r\n\tsurname: string;\r\n}\r\n\r\nexport interface SaveBuyerLogoRequest {\r\n\tbuyerId: string;\r\n\tattachedFile: File | null;\r\n}\r\n\r\nexport interface SaveUserAddressRequest {\r\n\tstreetAddress: string;\r\n\tlocality: string;\r\n\tregion: string;\r\n\tpostalCode: string;\r\n\tcountry: string;\r\n}\r\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=7ee919f4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=7ee919f4&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverForm.vue?vue&type=style&index=0&id=639b0bcc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverForm.vue?vue&type=style&index=0&id=639b0bcc&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateContractPage.vue?vue&type=style&index=0&id=41f8c67c&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateContractPage.vue?vue&type=style&index=0&id=41f8c67c&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[_c('h2',[_vm._v(_vm._s(_vm.header))])]),_c('v-card-text',[_vm._v(_vm._s(_vm.message))]),_c('v-card-actions',{staticClass:\"py-1 px-2\",staticStyle:{\"width\":\"100%\"}},[_c('v-btn',{staticClass:\"ma-2\",attrs:{\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.cancelText))]),_c('v-spacer'),_c('v-btn',{staticClass:\"ma-2\",attrs:{\"color\":_vm.color,\"loading\":_vm.actionLoading,\"rounded\":\"\",\"depressed\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.performAction()}}},[_vm._v(_vm._s(_vm.actionText))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class ConfirmDialog extends Vue {\r\n\t@Prop({ default: 'Yes' }) public actionText!: string;\r\n\t@Prop() public cancelAction!: () => any;\r\n\t@Prop({ default: 'No' }) public cancelText!: string;\r\n\t@Prop() public action!: () => any;\r\n\t@Prop() public onActionComplete!: () => any;\r\n\t@Prop() public color!: string;\r\n\t@Prop() public header!: string;\r\n\t@Prop() public message!: string;\r\n\r\n\tpublic actionLoading = false;\r\n\r\n\tpublic cancel() {\r\n\t\tif (this.cancelAction) this.cancelAction();\r\n\t}\r\n\r\n\tpublic performAction() {\r\n\t\tthis.actionLoading = true;\r\n\t\tthis.action()\r\n\t\t\t.then(() => {\r\n\t\t\t\tif (this.onActionComplete) {\r\n\t\t\t\t\tthis.onActionComplete();\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.cancelAction();\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.actionLoading = false;\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConfirmDialog.vue?vue&type=template&id=22d70962&\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ConfirmDialog.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VSpacer})\n","import { TaxType } from '@/models/enums/taxType';\r\n\r\nexport default class TaxTypeService {\r\n\tpublic static getText(type: TaxType): string {\r\n\t\tswitch (type) {\r\n\t\t\tcase TaxType.GST:\r\n\t\t\t\treturn 'GST';\r\n\t\t\tcase TaxType.VAT:\r\n\t\t\t\treturn 'VAT';\r\n\t\t\tdefault:\r\n\t\t\t\treturn 'VAT';\r\n\t\t}\r\n\t}\r\n}\r\n","import { TeamMemberRole } from '@/models/enums/teamMemberRole';\r\nimport { GetterTree } from 'vuex';\r\nimport { AuthState } from '.';\r\nimport { RootState } from '..';\r\n// import { BillingPlan } from '@/models/consts/billingPlans';\r\n\r\nexport const getters: GetterTree<AuthState, RootState> = {\r\n\tAUTHED(state): boolean {\r\n\t\treturn state.authed;\r\n\t},\r\n\tUSER_ID(state): string {\r\n\t\treturn state.userId;\r\n\t},\r\n\tNAME(state): string {\r\n\t\treturn `${state.firstName} ${state.surname}`;\r\n\t},\r\n\tIS_ACCOUNT_ADMIN(state): boolean {\r\n\t\treturn state.roles.includes(TeamMemberRole.Admin);\r\n\t},\r\n\tIS_BUYER_SUBSCRIBED(state): boolean {\r\n\t\treturn state.isBuyerSubscribed;\r\n\t},\r\n\tIS_ACCOUNT_APPROVER(state): boolean {\r\n\t\treturn state.roles.includes(TeamMemberRole.Approver);\r\n\t},\r\n\tIS_ACCOUNT_ATLEAST_BUYER(state): boolean {\r\n\t\treturn (\r\n\t\t\tstate.roles.includes(TeamMemberRole.Admin) ||\r\n\t\t\tstate.roles.includes(TeamMemberRole.Buyer)\r\n\t\t);\r\n\t},\r\n\tIS_ACCOUNT_SUPER_ADMIN(state): boolean {\r\n\t\treturn state.isSuperAdmin;\r\n\t},\r\n\tBUYER_LOGO(state): string {\r\n\t\treturn state.buyerLogoUrl;\r\n\t},\r\n};\r\n\r\nexport const AUTHED = 'AUTHED';\r\nexport const CUSTOMER_ID = 'CUSTOMER_ID';\r\nexport const CURRENT_PLAN = 'CURRENT_PLAN';\r\nexport const HAS_ATLEAST_BASIC_PLAN = 'HAS_ATLEAST_BASIC_PLAN';\r\nexport const USER_ID = 'USER_ID';\r\nexport const NAME = 'NAME';\r\nexport const IS_ACCOUNT_ADMIN = 'IS_ACCOUNT_ADMIN';\r\nexport const IS_ACCOUNT_ATLEAST_BUYER = 'IS_ACCOUNT_ATLEAST_BUYER';\r\nexport const IS_BUYER_SUBSCRIBED = 'IS_BUYER_SUBSCRIBED';\r\nexport const IS_ACCOUNT_APPROVER = 'IS_ACCOUNT_APPROVER';\r\nexport const IS_ACCOUNT_SUPER_ADMIN = 'IS_ACCOUNT_SUPER_ADMIN';\r\nexport const BUYER_LOGO = 'BUYER_LOGO';\r\n\r\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolicyDisplay.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolicyDisplay.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotePreview.vue?vue&type=style&index=0&id=d324b0ec&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotePreview.vue?vue&type=style&index=0&id=d324b0ec&lang=scss&scoped=true&\"","/* eslint-disable no-inner-declarations */\r\n/* eslint-disable @typescript-eslint/no-namespace */\r\nexport enum CategoryType {\r\n\tApprovalRequest = 0,\r\n\tContract = 1,\r\n\tAll = 100\r\n}\r\n\r\nconst values = new Map([\r\n\t[CategoryType.Contract, `Contract`],\r\n\t[CategoryType.ApprovalRequest, `Approval Request`],\r\n\t//[CategoryType.All, `All`]\r\n]);\r\n\r\nexport namespace CategoryType {\r\n\texport function toString(key: CategoryType): string {\r\n\t\treturn values.get(key) as string;\r\n\t}\r\n\r\n\texport function parse(value: string): CategoryType {\r\n\t\tfor (const [key, val] of values) {\r\n\t\t\tif (value === val) {\r\n\t\t\t\treturn key;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 0;\r\n\t}\r\n\r\n\texport function getValues(): string[] {\r\n\t\treturn Array.from(values.values());\r\n\t}\r\n\r\n\texport function getKeys(): CategoryType[] {\r\n\t\treturn Array.from(values.keys());\r\n\t}\r\n}\r\n\r\nexport default CategoryType;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"\\n\"},[(!_vm.usePolicyLinks)?_c('v-expansion-panels',{attrs:{\"accordion\":\"\",\"flat\":\"\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',[_vm._v(_vm._s(_vm.$t('PolicyDisplay.TermsAndCondition')))]),_c('v-expansion-panel-content',[_vm._v(\" \"+_vm._s(_vm.terms)+\" \")])],1)],1):_vm._e(),(_vm.usePolicyLinks)?_c('div',{staticClass:\"d-flex flex-column\"},[_c('a',{attrs:{\"href\":_vm.termsLink,\"target\":\"_blank\"}},[_vm._v(\" \"+_vm._s(_vm.$t('PolicyDisplay.TermsAndCondition'))+\" \"),_c('v-icon',{attrs:{\"small\":\"\",\"color\":\"primary\"}},[_vm._v(\"ri-external-link-line\")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class PolicyDisplay extends Vue {\r\n\t// @Prop({ default: '' }) public privacyPolicy!: string;\r\n\t@Prop({ default: '' }) public terms!: string;\r\n\t// @Prop({ default: '' }) public privacyPolicyLink!: string;\r\n\t@Prop({ default: '' }) public termsLink!: string;\r\n\t@Prop() public usePolicyLinks!: boolean;\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolicyDisplay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolicyDisplay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PolicyDisplay.vue?vue&type=template&id=e67a85d4&\"\nimport script from \"./PolicyDisplay.vue?vue&type=script&lang=ts&\"\nexport * from \"./PolicyDisplay.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PolicyDisplay.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VExpansionPanel,VExpansionPanelContent,VExpansionPanelHeader,VExpansionPanels,VIcon})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonForm.vue?vue&type=style&index=0&id=552231fc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonForm.vue?vue&type=style&index=0&id=552231fc&lang=scss&scoped=true&\"","export enum ContractBaseStatus {\r\n\tLive = 0,\r\n Archive= 1,\r\n Renewel = 2,\r\n Upcoming = 3,\r\n Expired = 4,\r\n All = 100\r\n}\r\n\r\n","export enum TaxType {\r\n\tVAT = 0,\r\n\tGST = 1\r\n}\r\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',[_c('v-overlay',{attrs:{\"value\":_vm.userSettingsLoading,\"absolute\":\"\",\"opacity\":\"1\",\"color\":\"white\",\"z-index\":\"1000\"}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":70,\"width\":7,\"color\":\"primary\"}})],1),(_vm.$msal.isAuthenticated)?_c('v-app-bar-nav-icon',{staticClass:\"d-xs-flex d-lg-none pl-4 pt-4 d-print-none\",on:{\"click\":function($event){_vm.drawer = !_vm.drawer}}}):_vm._e(),(_vm.$msal.isAuthenticated)?_c('v-navigation-drawer',{staticClass:\"d-print-none\",attrs:{\"width\":\"300\",\"app\":\"\"},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_c('div',{},[_c('div',{staticClass:\"pa-4 d-flex justify-center\"},[_c('Logo',{attrs:{\"size\":'sm'}})],1),_c('v-list',{attrs:{\"nav\":\"\",\"flat\":\"\",\"rounded\":\"\"}},[_vm._l((_vm.middleItems),function(item){return [(!item.children)?_c('v-list-item',{key:item.id,attrs:{\"link\":\"\",\"to\":item.route}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1):_vm._e(),(item.children)?_c('v-list-group',{key:item.id,attrs:{\"no-action\":\"\",\"value\":true,\"expand\":\"\",\"to\":item.route},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-title',[_vm._v(_vm._s(item.text))])]},proxy:true}],null,true)},_vm._l((item.children),function(child){return _c('v-list-item',{key:child.id,attrs:{\"to\":child.route,\"disabled\":child.disabled}},[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(child.text)}})],1)],1)}),1):_vm._e()]})],2)],1),_c('v-list',{attrs:{\"nav\":\"\",\"flat\":\"\",\"rounded\":\"\"}},[_vm._l((_vm.bottomItems),function(item){return [(!item.children)?_c('v-list-item',{key:item.id,attrs:{\"link\":\"\",\"to\":item.route}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1):_vm._e(),(item.children)?_c('v-list-group',{key:item.id,attrs:{\"no-action\":\"\",\"value\":true,\"to\":item.route},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-title',[_vm._v(_vm._s(item.text))])]},proxy:true}],null,true)},_vm._l((item.children),function(child){return _c('v-list-item',{key:child.id,attrs:{\"to\":child.route,\"disabled\":child.disabled}},[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(child.text)}})],1)],1)}),1):_vm._e()]}),(_vm.$msal.isAuthenticated && _vm.isSupplier)?_c('v-btn',{staticClass:\"mb-4\",attrs:{\"rounded\":\"\",\"large\":\"\",\"block\":\"\",\"depressed\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.becomeBuyer()}}},[_vm._v(\"Become a Buyer\")]):_vm._e(),(_vm.$msal.isAuthenticated)?_c('v-list-item',{attrs:{\"link\":\"\"},on:{\"click\":function($event){return _vm.logout()}}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(\"ri-logout-box-line\")])],1),_c('v-list-item-title',[_vm._v(_vm._s(_vm.$t('SideNav.SignOut')))])],1):_vm._e()],2)],1):_vm._e(),_c('v-main',[(_vm.authed && _vm.isBuyerSubscribed && _vm.isAccountAtleastBuyer && (_vm.IsNearStorageLimit || _vm.IsStorageLimitReached))?_c('div',[(_vm.IsNearStorageLimit)?_c('div',{staticClass:\"Banner NearLimitBanner\"},[_c('div',{staticClass:\"Center\"},[_c('i',{staticClass:\"ri-alert-line BannerAlertIcon\"}),_vm._v(\" \"+_vm._s(_vm.$t('StorageAlertBanner.NearLimitBannerMessage'))+\" \"),_c('a',{attrs:{\"href\":\"/settings/billing\"}},[_vm._v(_vm._s(_vm.$t('StorageAlertBanner.NearLimitBannerLink')))])])]):_vm._e(),(_vm.IsStorageLimitReached)?_c('div',{staticClass:\"Banner LimitReachedBanner\"},[_c('div',{staticClass:\"Center\"},[_c('i',{staticClass:\"ri-alert-line BannerAlertIcon\"}),_vm._v(\" \"+_vm._s(_vm.$t('StorageAlertBanner.LimitReachedBannerMessage'))+\" \"),_c('a',{attrs:{\"href\":\"/settings/billing\"}},[_vm._v(_vm._s(_vm.$t('StorageAlertBanner.LimitReachedBannerLink')))])])]):_vm._e()]):_vm._e(),_c('router-view')],1),_c('v-footer',{attrs:{\"app\":\"\",\"inset\":\"\",\"tile\":\"\",\"absolute\":\"\",\"color\":\"white\"}},[_c('div',{staticClass:\"sitemap-links\"},[_c('a',{attrs:{\"href\":\"/terms\",\"target\":\"_blank\"}},[_vm._v(\"Terms & Conditions\")]),_c('a',{attrs:{\"href\":\"/privacy\",\"target\":\"_blank\"}},[_vm._v(\"Privacy Policy\")])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { namespace } from 'vuex-class';\r\nimport Vue from 'vue';\r\nimport {\r\n\tAUTHED,\r\n\tIS_BUYER_SUBSCRIBED,\r\n\tIS_ACCOUNT_ATLEAST_BUYER,\r\n\tIS_ACCOUNT_ADMIN,\r\n\tIS_ACCOUNT_APPROVER,\r\n\tIS_ACCOUNT_SUPER_ADMIN\r\n} from './store/auth/getters';\r\nimport Component from 'vue-class-component';\r\nimport { Watch } from 'vue-property-decorator';\r\nimport { INITIALIZE_USER_SETTINGS, IS_SUPER_ADMIN, SIGN_OUT } from './store/auth/actions';\r\nimport BuyersApiService from '@/api/buyers.api';\r\n// import BecomeBuyer from '@/components/BecomeBuyer.vue';\r\nimport Logo from '@/components/Logo.vue';\r\nimport BillingApiService from '@/api/billing.api';\r\nimport AuthRedirectService from '@/services/authRedirect.service';\r\nimport Toast from './services/toast.service';\r\nimport jwtDecode from 'jwt-decode';\r\n\r\nconst auth = namespace('auth');\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({ components: { Logo } })\r\nexport default class App extends Vue {\r\n\t@auth.Getter(AUTHED) public authed!: boolean;\r\n\t@auth.Getter(IS_BUYER_SUBSCRIBED) public isBuyerSubscribed!: any;\r\n\t@auth.Getter(IS_ACCOUNT_ATLEAST_BUYER) public isAccountAtleastBuyer!: any;\r\n\t@auth.Getter(IS_ACCOUNT_APPROVER) public isAccountApprover!: any;\r\n\t@auth.Getter(IS_ACCOUNT_ADMIN) public isAdmin!: any;\r\n\t@auth.Getter(IS_ACCOUNT_SUPER_ADMIN) public isAccountSuperAdmin!: any;\r\n\t@auth.Action(SIGN_OUT) public signOut!: any;\r\n\t@auth.Action(INITIALIZE_USER_SETTINGS) public initializeUserSettings!: any;\r\n\r\n\tpublic middleItems: any[] = [];\r\n\tpublic bottomItems: any[] = [];\r\n\tpublic drawer = true;\r\n\tpublic userSettingsLoading = true;\r\n\tpublic isSupplier = localStorage.getItem('supplier') === 'true';\r\n\tpublic IsStorageLimitReached = false;\r\n\tpublic IsNearStorageLimit = false;\r\n\r\n\t@Watch('authed')\r\n\tasync onAuthedChanged(val: string, oldVal: string) {\r\n\t\tthis.userSettingsLoading = true;\r\n\t\tif (val) {\r\n\t\t\tawait this.initUserSettings();\r\n\t\t} else {\r\n\t\t\tthis.userSettingsLoading = false;\r\n\t\t}\r\n\r\n\t\tif (this.isBuyerSubscribed) {\r\n\t\t\tthis.isSupplier = false;\r\n\t\t\tlocalStorage.removeItem('supplier');\r\n\t\t}\r\n\t\tif (this.isAccountApprover) {\r\n\t\t\tthis.isSupplier = false;\r\n\t\t\tlocalStorage.removeItem('supplier');\r\n\t\t}\r\n\t\tthis.updateSidebarItems();\r\n\t}\r\n\r\n\t@Watch('isBuyerSubscribed')\r\n\tonIsBuyerSubscribedChanged(val: boolean, oldVal: boolean) {\r\n\t\tif (val) {\r\n\t\t\tthis.isSupplier = false;\r\n\t\t\tlocalStorage.removeItem('supplier');\r\n\t\t}\r\n\t\tthis.updateSidebarItems();\r\n\t}\r\n\t@Watch('isAccountApprover')\r\n\tonIsAccountApproverChanged(val: boolean, oldVal: boolean) {\r\n\t\tif (val) {\r\n\t\t\tthis.isSupplier = false;\r\n\t\t\tlocalStorage.removeItem('supplier');\r\n\t\t}\r\n\t\tthis.updateSidebarItems();\r\n\t}\r\n\t\r\n\r\n\tasync created() {\r\n\t\tif (this.authed) {\r\n\t\t\tawait this.initUserSettings();\r\n\t\t} else {\r\n\t\t\tthis.userSettingsLoading = false;\r\n\t\t}\r\n\t\t// this.resetAttributes();\r\n\t\tthis.updateSidebarItems();\r\n\t}\r\n\r\n\tpublic becomeBuyer() {\r\n\t\tthis.$router.replace('/newbuyer');\r\n\t}\r\n\r\n\tpublic updateSidebarItems() {\r\n\t\tthis.middleItems = [];\r\n\t\tthis.bottomItems = [];\r\n\t\t\r\n\t\tif(this.authed && this.isBuyerSubscribed && this.isAccountAtleastBuyer)\r\n\t\t{\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 0,\r\n\t\t\t\ttext: this.$t('SideNav.Home'),\r\n\t\t\t\ticon: 'ri-home-4-line',\r\n\t\t\t\troute: `/`\r\n\t\t\t});\r\n\t\t}\r\n\t\t\r\n\t\tif(this.isAccountSuperAdmin){\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 1,\r\n\t\t\t\ttext: 'Buyers Requests',\r\n\t\t\t\ticon: 'ri-award-fill',\r\n\t\t\t\troute: `/superAdmin/quickQuotes`\r\n\t\t\t});\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 1,\r\n\t\t\t\ttext: 'Buyers',\r\n\t\t\t\ticon: 'ri-user-2-fill',\r\n\t\t\t\troute: `/superAdmin/buyers`\r\n\t\t\t});\r\n\t\t}\r\n\t\telse if (this.authed && this.isBuyerSubscribed && this.isAccountAtleastBuyer) {\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 1,\r\n\t\t\t\ttext: this.$t('SideNav.MyRequests'),\r\n\t\t\t\ticon: 'ri-todo-line',\r\n\t\t\t\troute: `/requests`\r\n\t\t\t});\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 5,\r\n\t\t\t\ttext: this.$t('SideNav.MyApprovalRequests'),\r\n\t\t\t\ticon: 'ri-admin-line',\r\n\t\t\t\troute: `/approvalrequests`\r\n\t\t\t});\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 6,\r\n\t\t\t\ttext: this.$t('SideNav.Contracts'),\r\n\t\t\t\ticon: 'ri-secure-payment-line',\r\n\t\t\t\tchildren: [\r\n\t\t\t\t\t// { id: 20, text:this.$t('SideNav.CompanyContacts'), route: `/contacts/people` },\r\n\t\t\t\t\t{ id: 23, text: this.$t('SideNav.MyContracts'), route: `/contracts` },\r\n\t\t\t\t\t{ id: 24, text: this.$t('SideNav.Analytics'), route: `/contracts/analytics` }\r\n\t\t\t\t]\r\n\t\t\t});\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 7,\r\n\t\t\t\ttext: this.$t('SideNav.Categories'),\r\n\t\t\t\ticon: 'ri-list-settings-line',\r\n\t\t\t\troute: `/categories`\r\n\t\t\t});\r\n\t\t\t// this.middleItems.push({\r\n\t\t\t// \tid: 5,\r\n\t\t\t// \ttext: 'RFP',\r\n\t\t\t// \ticon: 'ri-article-line',\r\n\t\t\t// \troute: `/rfp`\r\n\t\t\t// });\r\n\t\t\t// this.middleItems.push({\r\n\t\t\t// \tid: 2,\r\n\t\t\t// \ttext: 'My Quotes',\r\n\t\t\t// \ticon: 'ri-article-line',\r\n\t\t\t// \troute: `/quotes`\r\n\t\t\t// });\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 2,\r\n\t\t\t\ttext: this.$t('SideNav.Suppliers'),\r\n\t\t\t\ticon: 'ri-contacts-book-line',\r\n\t\t\t\troute: `/contacts`,\r\n\t\t\t\tchildren: [\r\n\t\t\t\t\t// { id: 20, text:this.$t('SideNav.CompanyContacts'), route: `/contacts/people` },\r\n\t\t\t\t\t{ id: 21, text: this.$t('SideNav.Companies'), route: `/contacts/companies` },\r\n\t\t\t\t\t{ id: 22, text: this.$t('SideNav.CompanyGroups'), route: `/contacts/groups` }\r\n\t\t\t\t]\r\n\t\t\t});\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 3,\r\n\t\t\t\ttext: this.$t('SideNav.Items'),\r\n\t\t\t\ticon: 'ri-function-line',\r\n\t\t\t\troute: `/items`\r\n\t\t\t});\r\n\r\n\t\t\tif (this.isAdmin) {\r\n\t\t\t\tthis.middleItems.push({\r\n\t\t\t\t\tid: 4,\r\n\t\t\t\t\ttext: this.$t('SideNav.Team'),\r\n\t\t\t\t\ticon: 'ri-group-line',\r\n\t\t\t\t\troute: `/team`\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// if (this.authed) {\r\n\t\t\tthis.bottomItems.push({\r\n\t\t\t\tid: 50,\r\n\t\t\t\ttext: this.$t('SideNav.Settings'),\r\n\t\t\t\ticon: 'ri-settings-line',\r\n\t\t\t\troute: '/settings'\r\n\t\t\t});\r\n\t\t\t// }\r\n\t\t}\r\n\t\telse if (this.authed && this.isAccountApprover) {\r\n\t\t\tthis.middleItems.push({\r\n\t\t\t\tid: 1,\r\n\t\t\t\ttext: this.$t('SideNav.ReviewRequests'),\r\n\t\t\t\ticon: 'ri-todo-line',\r\n\t\t\t\troute: `/requests`\r\n\t\t\t});\r\n\t\t\tthis.bottomItems.push({\r\n\t\t\t\tid: 50,\r\n\t\t\t\ttext: this.$t('SideNav.Settings'),\r\n\t\t\t\ticon: 'ri-settings-line',\r\n\t\t\t\troute: '/settings'\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async logout() {\r\n\t\t// this.signOut().then(() => {\r\n\t\t// \tthis.$router.replace('/');\r\n\t\t// \t// location.reload();\r\n\t\t// });\r\n\t\t\r\n\t localStorage.removeItem('bearer-token');\r\n\t localStorage.removeItem('buyer-logo');\r\n\r\n await this.$msal.signOut();\r\n\t \r\n \r\n\t}\r\n\tprivate initUserSettings() {\r\n\t\treturn this.initializeUserSettings()\r\n\t\t\t.then(() => {\r\n\t\t\t\tAuthRedirectService.handleAuthRouteRedirect(this.isBuyerSubscribed);\r\n\t\t\t\tif(this.authed)\r\n\t\t\t\t{\r\n\t\t\t\t\tBuyersApiService.getBuyerDetails()\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tif(res.isStorageLimitReached)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tthis.IsStorageLimitReached = res.isStorageLimitReached;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if(res.isNearStorageLimit)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tthis.IsNearStorageLimit = res.isNearStorageLimit;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.userSettingsLoading = false;\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7ee919f4&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=7ee919f4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ee919f4\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VAppBarNavIcon } from 'vuetify/lib/components/VAppBar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VFooter } from 'vuetify/lib/components/VFooter';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListGroup } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMain } from 'vuetify/lib/components/VMain';\nimport { VNavigationDrawer } from 'vuetify/lib/components/VNavigationDrawer';\nimport { VOverlay } from 'vuetify/lib/components/VOverlay';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VApp,VAppBarNavIcon,VBtn,VFooter,VIcon,VList,VListGroup,VListItem,VListItemContent,VListItemIcon,VListItemTitle,VMain,VNavigationDrawer,VOverlay,VProgressCircular})\n","const awsconfig = {\r\n\tAuth: {\r\n\t\t// REQUIRED only for Federated Authentication - Amazon Cognito Identity Pool ID\r\n\t\t// identityPoolId: 'eu-west-2:64fdaf73-7118-471d-ab4e-982aad269c47',\r\n\r\n\t\t// REQUIRED - Amazon Cognito Region\r\n\t\tregion: 'blank',\r\n\r\n\t\t// OPTIONAL - Amazon Cognito Federated Identity Pool Region\r\n\t\t// Required only if it's different from Amazon Cognito Region\r\n\t\t// identityPoolRegion: 'eu-west-2',\r\n\r\n\t\t// OPTIONAL - Amazon Cognito User Pool ID\r\n\t\tuserPoolId: 'blank',\r\n\r\n\t\t// OPTIONAL - Amazon Cognito Web Client ID (26-char alphanumeric string)\r\n\t\tuserPoolWebClientId:'blank',\r\n\r\n\t\t// OPTIONAL - Enforce user authentication prior to accessing AWS resources or not\r\n\t\tmandatorySignIn: false\r\n\r\n\t\t// OPTIONAL - Manually set the authentication flow type. Default is 'USER_SRP_AUTH'\r\n\t\t// authenticationFlowType: 'USER_PASSWORD_AUTH'\r\n\t}\r\n};\r\n\r\nexport default awsconfig;\r\n","import Vue from 'vue';\r\nimport Vuetify from 'vuetify/lib';\r\n\r\nVue.use(Vuetify);\r\n\r\nexport default new Vuetify({\r\n\ttheme: {\r\n\t\toptions: {\r\n\t\t\tcustomProperties: true\r\n\t\t},\r\n\t\tthemes: {\r\n\t\t\tlight: {\r\n\t\t\t\tprimary: '#00C853',\r\n\t\t\t\tsecondary: '#D602EE',\r\n\t\t\t\taccent: '#4A26FD',\r\n\t\t\t\terror: '#D50000',\r\n\t\t\t\tinfo: '#2196F3',\r\n\t\t\t\tsuccess: '#00C853',\r\n\t\t\t\twarning: '#F4511E'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n","/* eslint-disable no-console */\r\n\r\nimport { register } from \"register-service-worker\";\r\n\r\nif (process.env.NODE_ENV === \"production\") {\r\n register(`${process.env.BASE_URL}service-worker.js`, {\r\n ready() {\r\n console.log(\r\n \"App is being served from cache by a service worker.\\n\" +\r\n \"For more details, visit https://goo.gl/AFskqB\"\r\n );\r\n },\r\n registered() {\r\n console.log(\"Service worker has been registered.\");\r\n },\r\n cached() {\r\n console.log(\"Content has been cached for offline use.\");\r\n },\r\n updatefound() {\r\n console.log(\"New content is downloading.\");\r\n },\r\n updated() {\r\n console.log(\"New content is available; please refresh.\");\r\n },\r\n offline() {\r\n console.log(\r\n \"No internet connection found. App is running in offline mode.\"\r\n );\r\n },\r\n error(error) {\r\n console.error(\"Error during service worker registration:\", error);\r\n }\r\n });\r\n}\r\n","import '@/styles/main.scss';\r\nimport 'remixicon/fonts/remixicon.css';\r\nimport Vue from 'vue';\r\nimport VueApexCharts from 'vue-apexcharts';\r\nimport DatetimePicker from 'vuetify-datetime-picker';\r\nimport App from './App.vue';\r\nimport awsconfig from './aws-exports';\r\nimport vuetify from './plugins/vuetify';\r\nimport './registerServiceWorker';\r\nimport AppConfig from './services/appConfig';\r\nimport store from './store';\r\nimport router from './views/router';\r\nimport { MsalPlugin, MsalPluginOptions } from './plugins/msal-plugin';\r\n\r\n\r\n// const options: MsalPluginOptions = {\r\n// \tclientId: process.env.VUE_APP_MSAL_CLIENT_ID,\r\n// \tloginAuthority: process.env.VUE_APP_MSAL_LOGIN_AUTHORITY,\r\n// \tpasswordAuthority: process.env.VUE_APP_MSAL_PASSWORD_RESET_AUTHORITY,\r\n// \tknownAuthority: process.env.VUE_APP_MSAL_KNOWN_AUTHORITY\r\n// };\r\nimport VueI18n from 'vue-i18n'\r\n\r\n const options: MsalPluginOptions = {\r\n\tclientId: \"d9df2802-9a0f-4e32-b90e-78331083cbb3\",\r\n\tloginAuthority: \"https://procuretool.b2clogin.com/procuretool.onmicrosoft.com/B2C_1_SUSI/\",\r\n\tpasswordAuthority: \"https://procuretool.b2clogin.com/procuretool.onmicrosoft.com/B2C_1_Password_reset/\",\r\n\tknownAuthority: \"procuretool.b2clogin.com\"\r\n };\r\nVue.use(DatetimePicker);\r\n\r\nVue.config.productionTip = false;\r\n\r\nawsconfig.Auth.region = AppConfig.cognitoRegion;\r\nawsconfig.Auth.userPoolId = AppConfig.cognitoUserPoolId;\r\nawsconfig.Auth.userPoolWebClientId = AppConfig.cognitoUserPoolWebClientId;\r\n\r\n\r\nVue.use(VueApexCharts);\r\n\r\nVue.use(VueI18n);\r\n\r\nconst defaultLocale = 'en'\r\n\r\n\r\n// get the last selected locale from localStorage\r\nconst locale = localStorage.getItem('locale') || defaultLocale\r\n\r\nconst i18n = new VueI18n({\r\n locale: locale,\r\n fallbackLocale: 'en',\r\n messages: {\r\n en: require('./locales/en.json'),\r\n fr: require('./locales/fr.json'),\r\n ar: require('./locales/ar.json'),\r\n },\r\n})\r\n\r\n// window.addEventListener('storage', () => {\r\n \r\n// const lang = localStorage.getItem('locale');\r\n// if (lang) {\r\n// i18n.locale = lang;\r\n// }\r\n// });\r\n\r\nVue.use(new MsalPlugin(), options);\r\nnew Vue({\r\n\ti18n,\r\n\tstore,\r\n\trouter,\r\n\tvuetify,\r\n\trender: h => h(App)\r\n}).$mount('#app');\r\n","import { format, parseJSON } from 'date-fns';\r\n\r\nexport default class DateService {\r\n\tpublic static formatDateString(dateString: string): string {\r\n\t\tconst date = parseJSON(dateString);\r\n\r\n\t\treturn format(date, 'dd/MM/yyyy, HH:mm, O');\r\n\t}\r\n\r\n\tpublic static formatTableDateString(dateString: string): string {\r\n\t\tconst date = parseJSON(dateString);\r\n\r\n\t\treturn format(date, 'dd/MM/yyyy, HH:mm');\r\n\t}\r\n\r\n\tpublic static formatDate(date: Date): string {\r\n\t\treturn format(date, 'dd/MM/yyyy, HH:mm, O');\r\n\t}\r\n}\r\n","module.exports = __webpack_public_path__ + \"img/logo.940f1770.png\";","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=style&index=0&id=11110c2a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=style&index=0&id=11110c2a&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteForm.vue?vue&type=style&index=0&id=d1efd138&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteForm.vue?vue&type=style&index=0&id=d1efd138&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestBaseStatusChip.vue?vue&type=style&index=0&id=1f157b4a&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApprovalRequestBaseStatusChip.vue?vue&type=style&index=0&id=1f157b4a&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-overlay',{attrs:{\"absolute\":\"\",\"color\":\"white\"}},[_c('div',{staticClass:\"pa-16\",staticStyle:{\"height\":\"100%\",\"wdith\":\"100%\"},attrs:{\"fill-height\":\"\"}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":30,\"width\":3,\"color\":\"primary\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class LoadingSpinner extends Vue {}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoadingSpinner.vue?vue&type=template&id=008b5d16&scoped=true&\"\nimport script from \"./LoadingSpinner.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoadingSpinner.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LoadingSpinner.vue?vue&type=style&index=0&id=008b5d16&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"008b5d16\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VOverlay } from 'vuetify/lib/components/VOverlay';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VOverlay,VProgressCircular})\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=style&index=0&id=294b52b2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=style&index=0&id=294b52b2&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=style&index=0&id=61227634&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=style&index=0&id=61227634&lang=scss&scoped=true&\"","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesDetails.vue?vue&type=style&index=0&id=5abb7459&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesDetails.vue?vue&type=style&index=0&id=5abb7459&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class BuyerRequestStateChip extends Vue {\r\n\t@Prop() public state!: BuyerRequestState;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase BuyerRequestState.InProgress:\r\n\t\t\tcase BuyerRequestState.AwaitingResponses:\r\n\t\t\t\treturn 'ri-radio-button-line';\r\n\t\t\tcase BuyerRequestState.Ended:\r\n\t\t\t\treturn 'ri-check-line';\r\n\t\t\tcase BuyerRequestState.AwaitingApproval:\r\n\t\t\t\treturn 'ri-time-line';\r\n\t\t\tcase BuyerRequestState.Approved:\r\n\t\t\t\treturn 'mdi-check';\r\n\t\t\tcase BuyerRequestState.Rejected:\r\n\t\t\t\treturn 'mdi-close';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase BuyerRequestState.InProgress:\r\n\t\t\t\treturn 'Incomplete';\r\n\t\t\tcase BuyerRequestState.AwaitingResponses:\r\n\t\t\t\treturn 'Awaiting Responses';\r\n\t\t\tcase BuyerRequestState.AwaitingRecommendation:\r\n\t\t\t\treturn 'Awaiting Recommendation';\r\n\t\t\tcase BuyerRequestState.AwaitingApproval:\r\n\t\t\t\treturn 'Awaiting Approval';\r\n\t\t\tcase BuyerRequestState.Approved:\r\n\t\t\t\treturn 'Approved';\r\n\t\t\tcase BuyerRequestState.Rejected:\r\n\t\t\t\treturn 'Rejected';\r\n\t\t\tcase BuyerRequestState.Ended:\r\n\t\t\t\treturn 'Ended';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase BuyerRequestState.InProgress:\r\n\t\t\t\treturn 'warning';\r\n\t\t\tcase BuyerRequestState.AwaitingResponses:\r\n\t\t\t\treturn 'accent';\r\n\t\t\tcase BuyerRequestState.AwaitingApproval:\r\n\t\t\t\treturn '#f4c51e';\r\n\t\t\tcase BuyerRequestState.Approved:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tcase BuyerRequestState.Rejected:\r\n\t\t\t\treturn 'red';\r\n\t\t\tcase BuyerRequestState.Ended:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyerRequestStateChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyerRequestStateChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BuyerRequestStateChip.vue?vue&type=template&id=4e919022&scoped=true&\"\nimport script from \"./BuyerRequestStateChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./BuyerRequestStateChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BuyerRequestStateChip.vue?vue&type=style&index=0&id=4e919022&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4e919022\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotationStateChip.vue?vue&type=style&index=0&id=394e9228&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuotationStateChip.vue?vue&type=style&index=0&id=394e9228&scoped=true&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyerRequestStateChip.vue?vue&type=style&index=0&id=4e919022&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyerRequestStateChip.vue?vue&type=style&index=0&id=4e919022&scoped=true&lang=scss&\"","import { BuyerRequest } from '@/models/buyerRequest';\r\nimport { BuyerRequestQuestion } from '@/models/buyerRequestQuestion';\r\nimport { Company } from '@/models/company';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport { QuotationState } from '@/models/enums/quotationState';\r\nimport { RequestItem } from '@/models/requestItem';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\n\r\nexport default class BuyerRequestsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/buyerRequests`;\r\n\r\n\tpublic static async createQuickQuote(\r\n\t\trequest: CreateQuickQuoteRequest\r\n\t): Promise<CreateQuickQuoteResponse> {\r\n\r\n\t\t\t\tconst formData = new FormData();\r\n\r\n\t\t\t\tif (request.attachedFiles) {\r\n\t\t\t\t\tfor (const file of request.attachedFiles) {\r\n\t\t\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tformData.append('attachedFile', file, file.name);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\r\n\t\t\t\tformData.set('name', request.name.toString());\r\n\t\t\t\tformData.set('startDate', request.startDate.toDateString());\r\n\t\t\t\tformData.set('endDate', request.endDate.toDateString());\r\n\t\t\t\tformData.set('usePolicyLinks', request.usePolicyLinks.toString());\r\n\t\t\t\tformData.set('terms', request.terms!.toString());\r\n\t\t\t\tformData.set('buyerRequestItemsString', JSON.stringify(request.buyerRequestItems));\r\n\t\t\t\tformData.set('questionsString', JSON.stringify(request.questions));\r\n\t\t\r\n\t\t\t\treturn ApiBase.post(`${this.baseUrl}/quickquotes`, formData);\r\n\t\r\n\t\t// return ApiBase.post(`${this.baseUrl}/quickquotes`, request);\r\n\t}\r\n\r\n\tpublic static async sendToSuppliers(\r\n\t\tquickQuoteId: string\r\n\t): Promise<CreateQuickQuoteResponse> {\r\n\t\treturn ApiBase.post(`${this.baseUrl}/quickquotes/${quickQuoteId}`, {});\r\n\t}\r\n\r\n\tpublic static async saveQuickQuoteDetails(\r\n\t\tquickQuoteId: string,\r\n\t\trequest: CreateQuickQuoteRequest\r\n\t): Promise<CreateQuickQuoteResponse> {\r\n\r\n\t\t///\r\n\r\n\t\tconst formData = new FormData();\r\n\r\n\t\tif (request.attachedFiles) {\r\n\t\t\tfor (const file of request.attachedFiles) {\r\n\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t}\r\n\t\t\t\tformData.append('attachedFile', file, file.name);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tformData.set('name', request.name.toString());\r\n\t\tformData.set('startDate', request.startDate.toDateString());\r\n\t\tformData.set('endDate', request.endDate.toDateString());\r\n\t\tformData.set('usePolicyLinks', request.usePolicyLinks.toString());\r\n\t\tformData.set('terms', request.terms!.toString());\r\n\t\tformData.set('buyerRequestItemsString', JSON.stringify(request.buyerRequestItems));\r\n\t\tformData.set('questionsString', JSON.stringify(request.questions));\r\n\r\n\t\treturn ApiBase.put(`${this.baseUrl}/quickquotes/${quickQuoteId}`, formData);\r\n\t\t// if (isAuthed) {\r\n\t\t// \treturn ApiBase.post(`${this.baseUrl}/${quotationId}/auth-submit`, formData);\r\n\t\t// } else {\r\n\t\t// \treturn NoAuthApiBase.post(`${this.baseUrl}/${quotationId}/submit`, formData);\r\n\t\t// }\r\n\t\t///\r\n\t\t\r\n\t}\r\n\r\n\tpublic static async saveSuppliers(\r\n\t\tbuyerRequestId: string,\r\n\t\trequest: SaveBuyerRequestSuppliersRequest\r\n\t): Promise<SaveBuyerRequestSuppliersResponse> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/${buyerRequestId}/suppliers`, request);\r\n\t}\r\n\r\n\tpublic static async sendReminderToSuppliers(\r\n\t\tbuyerRequestId: string,\r\n\t\trequest: SendReminderToSuppliersRequest\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.post(\r\n\t\t\t`${this.baseUrl}/${buyerRequestId}/suppliers/reminder`,\r\n\t\t\trequest\r\n\t\t);\r\n\t}\r\n\r\n\tpublic static async unlockBuyerRequestForSupplier(\r\n\t\tbuyerRequestId: string,\r\n\t\tpersonContactId\r\n\t): Promise<void> {\r\n\t\treturn ApiBase.put(\r\n\t\t\t`${this.baseUrl}/${buyerRequestId}/unlock/${personContactId}`,\r\n\t\t\tnull\r\n\t\t);\r\n\t}\r\n\r\n\tpublic static async listBuyerRequests(searchText=\"\"): Promise<ListBuyerRequestsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}?searchText=${searchText}`);\r\n\t}\r\n\r\n\tpublic static async getAllBuyerRequests(searchText=\"\"): Promise<ListBuyerRequestsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getAllQuickQuotes?searchText=${searchText}`);\r\n\t}\r\n\r\n\tpublic static async getQuickQuote(\r\n\t\tquickQuoteId: string\r\n\t): Promise<GetQuickQuoteResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/quickquotes/${quickQuoteId}`);\r\n\t}\r\n\tpublic static async deleteBuyerRequest(buyerRequestId: string): Promise<void> {\r\n\t\treturn ApiBase.delete(`${this.baseUrl}/${buyerRequestId}`);\r\n\t}\r\n\r\n\tpublic static async endBuyerRequest(buyerRequestId: string): Promise<void> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/${buyerRequestId}/end`);\r\n\t}\r\n\tpublic static async awaitingApprovalBuyerRequest(buyerRequestId: string): Promise<void> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/${buyerRequestId}/RequestToApprove`);\r\n\t}\r\n\tpublic static async approveOrRejectBuyerRequest(buyerRequestId: string, isApproved: boolean): Promise<void> {\r\n\t\treturn ApiBase.put(`${this.baseUrl}/${buyerRequestId}/approvalRequest/${isApproved}`);\r\n\t}\r\n\r\n\tpublic static async getResponses(buyerRequestId: string): Promise<any> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/quickquotes/${buyerRequestId}/responses`);\r\n\t}\r\n\r\n\tpublic static async getResponseFunnel(\r\n\t\tbuyerRequestId: string\r\n\t): Promise<GetResponseFunnelResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/${buyerRequestId}/response-funnel`);\r\n\t}\r\n\r\n\tpublic static async getTotalPricesBySupplier(\r\n\t\tbuyerRequestId: string\r\n\t): Promise<any> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/${buyerRequestId}/supplier-total-prices`);\r\n\t}\r\n\r\n\tpublic static async getAnswers(buyerRequestId: string): Promise<any> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/${buyerRequestId}/answers`);\r\n\t}\r\n}\r\n\r\nexport interface GetResponseFunnelResponse {\r\n\tnotOpenedCount: number;\r\n\topenedCount: number;\r\n\tsubmittedCount: number;\r\n\tdeclinedCount: number;\r\n}\r\n\r\nexport interface GetLowestQuoteResponse {\r\n\tcompanyContact: Company;\r\n\ttotalCost: number;\r\n}\r\n\r\nexport interface ListBuyerRequestsResponse {\r\n\tbuyerRequests: BuyerRequest[];\r\n}\r\n\r\nexport interface SendReminderToSuppliersRequest {\r\n\tpersonContactIds: string[];\r\n\tsendToAll?: boolean;\r\n}\r\n\r\nexport interface CreateQuickQuoteRequest {\r\n\tname: string;\r\n\tstartDate: Date;\r\n\tendDate: Date;\r\n\tbuyerRequestItems: RequestItem[];\r\n\tquestions: BuyerRequestQuestion[];\r\n\tusePolicyLinks: boolean;\r\n\tterms?: string;\r\n\tattachedFiles: File[];\r\n\t// privacyPolicy?: string;\r\n}\r\n\r\nexport interface CreateQuickQuoteResponse {\r\n\tid: string;\r\n\tstate: BuyerRequestState;\r\n\tname: string;\r\n\tstartDate: string;\r\n\tendDate: string;\r\n\tbuyerRequestItems: RequestItem;\r\n\tquestions: BuyerRequestQuestion;\r\n\tusePolicyLinks: boolean;\r\n\tterms?: string;\r\n\t// privacyPolicy?: string;\r\n}\r\n\r\nexport interface SaveBuyerRequestSuppliersRequest {\r\n\tbuyerRequestPersonContacts: BuyerRequestPersonContact[];\r\n}\r\n\r\nexport interface SaveBuyerRequestSuppliersResponse {\r\n\tbuyerRequestId: string;\r\n\tbuyerRequestPersonContacts: BuyerRequestPersonContact[];\r\n}\r\n\r\nexport interface GetQuickQuoteResponse {\r\n\tid: string;\r\n\tstate: BuyerRequestState;\r\n\tname: string;\r\n\tstartDate: string;\r\n\tendDate: string;\r\n\tbuyerRequestItems: RequestItem[];\r\n\tquestions: BuyerRequestQuestion[];\r\n\tbuyerRequestPersonContacts: BuyerRequestPersonContact[];\r\n\tusePolicyLinks: boolean;\r\n\tterms?: string;\r\n\tattachedFiles: File[];\r\n\t// privacyPolicy?: string;\r\n}\r\n\r\nexport interface BuyerRequestPersonContact {\r\n\tname: string;\r\n\temail: string;\r\n\tpersonContactId: string;\r\n\tcompanyId: string;\r\n\tcompanyName: string;\r\n\tquotationState: QuotationState;\r\n\tcompanyAddress: string;\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyersManage.vue?vue&type=style&index=0&id=6286610b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyersManage.vue?vue&type=style&index=0&id=6286610b&lang=scss&scoped=true&\"","import { TaxType } from '@/models/enums/taxType';\r\nimport { Quotation } from '@/models/quotation';\r\nimport AppConfig from '@/services/appConfig';\r\nimport ApiBase from './apibase';\r\nimport NoAuthApiBase from './noAuthApiBase';\r\n\r\nexport default class QuotationsApiService {\r\n\tpublic static readonly baseUrl = `${AppConfig.baseApiUrl}/api/quotations`;\r\n\r\n\tpublic static async getQuotationLetterDownloadLink(\r\n\t\tquotationId: string\r\n\t): Promise<GetQuotationLetterDownloadLinkResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/${quotationId}/letter`);\r\n\t}\r\n\r\n\tpublic static async getMyQuotations(): Promise<GetQuotationsResponse> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}`);\r\n\t}\r\n\r\n\tpublic static async getQuotationsForSupplier(\r\n\t\tbuyerRequestId: string,\r\n\t\ttoken: string\r\n\t): Promise<GetQuotationsForSupplierResponse> {\r\n\t\treturn NoAuthApiBase.get(\r\n\t\t\t`${this.baseUrl}/buyerRequests/${buyerRequestId}?token=${token}`\r\n\t\t);\r\n\t}\r\n\r\n\tpublic static async submitQuotation(\r\n\t\tquotationId: string,\r\n\t\trequest: SubmitQuotationRequest,\r\n\t\tisAuthed: boolean\r\n\t): Promise<void> {\r\n\t\tconst formData = new FormData();\r\n\r\n\t\tif (request.quotationLetter) {\r\n\t\t\tfor (const file of request.quotationLetter) {\r\n\t\t\t\tif (file.size > 20000000) {\r\n\t\t\t\t\treturn Promise.reject('File cannot be larger than 20 MB');\r\n\t\t\t\t}\r\n\t\t\t\tformData.append('quotationLetter', file, file.name);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\tformData.set('vatPercentage', request.vatPercentage.toString());\r\n\t\tformData.set('termsAccepted', request.termsAccepted.toString());\r\n\t\tformData.set('comments', request.comments);\r\n\t\tformData.set('token', request.token);\r\n\t\tformData.set('itemQuotes', JSON.stringify(request.itemQuotes));\r\n\t\tformData.set('answers', JSON.stringify(request.answers));\r\n\r\n\t\tif (isAuthed) {\r\n\t\t\treturn ApiBase.post(`${this.baseUrl}/${quotationId}/auth-submit`, formData);\r\n\t\t} else {\r\n\t\t\treturn NoAuthApiBase.post(`${this.baseUrl}/${quotationId}/submit`, formData);\r\n\t\t}\r\n\t}\r\n\t\r\n\tpublic static async declineQuotation(\r\n\t\tquotationId: string,\r\n\t\trequest: DeclineQuotationRequest\r\n\t): Promise<void> {\r\n\t\treturn NoAuthApiBase.post(`${this.baseUrl}/${quotationId}/decline`, request);\r\n\t}\r\n\r\n\tpublic static async getDocument(filePath = ''): Promise<DocumentFile> {\r\n\t\treturn ApiBase.get(`${this.baseUrl}/getDocument?filePath=${filePath}`);\r\n\t}\r\n}\r\n\r\nexport interface GetQuotationLetterDownloadLinkResponse {\r\n\tfilesUrls: string[];\r\n}\r\n\r\nexport interface GetQuotationsForSupplierResponse {\r\n\tbuyerRequestId: string;\r\n\tbuyerRequestName: string;\r\n\tstartDate: string;\r\n\tendDate: string;\r\n\tquestions: any[];\r\n\ttermsLink: boolean;\r\n\tpolicyLink: boolean;\r\n\tterms: string;\r\n\tcurrencyCode: string;\r\n\ttaxType: TaxType;\r\n\tattachedFilePath?:string;\r\n\t// privacyPolicy: string;\r\n\tusePolicyLinks: boolean;\r\n\titems: any[];\r\n\tquotationId: string;\r\n}\r\n\r\nexport interface GetQuotationsResponse {\r\n\tquotations: Quotation[];\r\n}\r\n\r\nexport interface SubmitQuotationRequest {\r\n\tanswers: QuestionAnswersRequest[];\r\n\ttermsAccepted: boolean;\r\n\titemQuotes: ItemQuotesRequest[];\r\n\tcomments: string;\r\n\tquotationLetter: File[];\r\n\ttoken: string;\r\n\tvatPercentage: number;\r\n}\r\n\r\nexport interface DeclineQuotationRequest {\r\n\ttoken: string;\r\n}\r\n\r\nexport interface DocumentFile {\r\n\tfilesPaths : string[];\r\n}\r\n\r\nexport interface QuestionAnswersRequest {\r\n\tquestionId: string;\r\n\torder: number;\r\n\tanswer: string;\r\n}\r\n\r\nexport interface ItemQuotesRequest {\r\n\titemId: string;\r\n\tinitPrice: number;\r\n}\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesDetails.vue?vue&type=style&index=0&id=d335421e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesDetails.vue?vue&type=style&index=0&id=d335421e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"id\":\"searchText\",\"autocomplete\":\"new\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":\"Enter a name for any request...\",\"label\":\"Search Requests\"},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}})],1),_c('v-col',[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.listBuyerRequests()}}},[_vm._v(\" Search \")])],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.buyerRequestHeaders,\"items\":_vm.buyerRequests,\"loading\":_vm.buyerRequestsLoading,\"no-data-text\":\"You haven't created any requests yet\"},on:{\"click:row\":_vm.goToRequest},scopedSlots:_vm._u([{key:\"item.state\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('BuyerRequestStateChip',{attrs:{\"state\":item.state}})]}}])}),(_vm.selectedBuyerRequest)?_c('v-dialog',{attrs:{\"fullscreen\":\"\",\"persistent\":\"\"},on:{\"click:outside\":function($event){return _vm.closeEditRequestDialog()}},model:{value:(_vm.editRequestDialog),callback:function ($$v) {_vm.editRequestDialog=$$v},expression:\"editRequestDialog\"}},[_c('QuickQuoteForm',{attrs:{\"quickQuoteId\":_vm.selectedBuyerRequest.id,\"cancel\":_vm.closeEditRequestDialog,\"onSaved\":_vm.listBuyerRequests}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport QuickQuoteForm from '@/views/buyerRequests/quickQuotes/QuickQuoteForm.vue';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport BuyerRequestStateChip from '@/components/BuyerRequestStateChip.vue';\r\nimport DateService from '@/services/date.service';\r\nimport AuthRedirectService from '@/services/authRedirect.service';\r\nimport {\r\n\tIS_ACCOUNT_SUPER_ADMIN,\r\n} from '@/store/auth/getters';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, QuickQuoteForm, BuyerRequestStateChip }\r\n})\r\nexport default class RequestsManage extends Vue {\r\n\t@auth.Getter(IS_ACCOUNT_SUPER_ADMIN) public isSuperAdmin!: boolean;\r\n\tpublic buyerRequests: BuyerRequest[] = [];\r\n\tpublic selectedBuyerRequest: BuyerRequest | null = null;\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic buyerRequestsLoading = false;\r\n\tpublic editRequestDialog = false;\r\n\tpublic searchText = '';\r\n\t// public deleteRequestDialog = false;\r\n\tpublic buyerRequestHeaders = [\r\n\t\t{\r\n\t\t\ttext: 'State',\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'state',\r\n\t\t\tsortable: false,\r\n\t\t\twidth: '100px'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: 'Name',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'name'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: 'Start Date',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'startDate'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: 'End Date',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'endDate'\r\n\t\t}\r\n\t\t// {\r\n\t\t// \ttext: '',\r\n\t\t// \talign: 'end',\r\n\t\t// \tvalue: 'actions'\r\n\t\t// }\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.listBuyerRequests();\r\n\t}\r\n\r\n\tpublic goToRequest(item: BuyerRequest, row: any) {\r\n\t\tthis.selectedBuyerRequest = item;\r\n\r\n\t\t// if (item.state === BuyerRequestState.InProgress) {\r\n\t\t// \tthis.$router.push(`/requests/${item.id}/details`);\r\n\t\t// } else {\r\n\t\t\tthis.$router.push(`/superAdmin/quickQuotes/${item.id}/responses`);\r\n\t\t// }\r\n\t}\r\n\r\n\tpublic closeEditRequestDialog() {\r\n\t\tthis.editRequestDialog = false;\r\n\t\tthis.selectedBuyerRequest = null;\r\n\t}\r\n\r\n\tpublic listBuyerRequests() {\r\n\t\tthis.buyerRequestsLoading = true;\r\n\t\tBuyerRequestsApiService.getAllBuyerRequests(this.searchText)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyerRequests = res.buyerRequests.map(x => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\tstartDate: DateService.formatTableDateString(x.startDate),\r\n\t\t\t\t\t\tendDate: DateService.formatTableDateString(x.endDate)\r\n\t\t\t\t\t};\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.buyerRequestsLoading = false;\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestsManage.vue?vue&type=template&id=291eb2bd&scoped=true&\"\nimport script from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RequestsManage.vue?vue&type=style&index=0&id=291eb2bd&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"291eb2bd\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDataTable,VDialog,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[(!_vm.buyerDetails || !_vm.quickQuote)?_c('LoadingSpinner'):_vm._e(),(_vm.buyerDetails && _vm.quickQuote)?_c('QuickQuotePreview',{attrs:{\"readonly\":true,\"quickQuote\":_vm.quickQuote,\"buyerDetails\":_vm.buyerDetails}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport QuickQuotePreview from '@/views/buyerRequests/quickQuotes/QuickQuotePreview.vue';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport BuyersApiService from '@/api/buyers.api';\r\nimport Toast from '@/services/toast.service';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { QuickQuote } from '@/models/quickQuote';\r\n\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, QuickQuotePreview }\r\n})\r\nexport default class SuperAdminQuickQuotesDetails extends Vue {\r\n\t@Prop() public buyerRequest!: BuyerRequest;\r\n\tpublic quickQuote: QuickQuote | null = null;\r\n\tpublic buyerDetails: BuyerDetails | null = null;\r\n\r\n\tcreated() {\r\n\t\tBuyerRequestsApiService.getQuickQuote(this.buyerRequest.id).then(res => {\r\n\t\t\tthis.quickQuote = res;\r\n\t\t});\r\n\r\n\t\tBuyersApiService.getBuyerDetails()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyerDetails = { ...res };\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t\tthis.$router.back();\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SuperAdminQuickQuotesDetails.vue?vue&type=template&id=5abb7459&scoped=true&\"\nimport script from \"./SuperAdminQuickQuotesDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./SuperAdminQuickQuotesDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SuperAdminQuickQuotesDetails.vue?vue&type=style&index=0&id=5abb7459&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5abb7459\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('v-row',[_c('v-col',{attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"3\"}},[_c('div',{staticClass:\"current-lowest-quote print-group\"},[_c('h3',[_vm._v(\" Lowest Quote + \"+_vm._s(_vm.getTaxTypeText())+\" (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")]),_c('div',{staticClass:\"quote-container\"},[(_vm.lowestTotalCost)?_c('div',{staticClass:\"quote-text\"},[_vm._v(\" \"+_vm._s(_vm.lowestTotalCost.totalPrice.toFixed(2))+\" \")]):_vm._e(),(!_vm.lowestTotalCost)?_c('div',{staticClass:\"quote-text\"},[_vm._v(\"-\")]):_vm._e(),(_vm.lowestTotalCost)?_c('div',{staticClass:\"supplier-text\"},[_vm._v(\" \"+_vm._s(_vm.lowestTotalCost.companyContact.name)+\" \")]):_vm._e(),(!_vm.lowestTotalCost)?_c('div',{staticClass:\"supplier-text\"},[_vm._v(\" - \")]):_vm._e()])])]),_c('v-spacer'),_c('v-btn',{staticClass:\"d-print-none\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"depressed\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.downloadResponsesPdf()}}},[_c('v-icon',[_vm._v(\"ri-download-line\")]),_vm._v(\" Download Responses \")],1)],1),_c('v-row',[_c('v-col',{staticClass:\"print-group\",attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"3\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\"Response Funnel\")])])],1),(_vm.responseFunnelLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.responseFunnelLoading)?_c('DoughnutChart',{staticClass:\"max-pie-chart-height\",attrs:{\"series\":_vm.responseFunnelSeries,\"labels\":_vm.responseFunnelLabels}}):_vm._e()],1),_c('v-col',{attrs:{\"xs\":\"12\",\"md\":\"8\",\"lg\":\"9\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" Price by Supplier (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")])])],1),(_vm.totalPricesLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.totalPricesLoading)?_c('BarChart',{staticClass:\"max-bar-chart-height\",attrs:{\"series\":_vm.totalPriceSeries,\"labels\":_vm.totalPriceLabels}}):_vm._e()],1)],1),_c('div',{staticClass:\"print-group\"},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" Product Prices by Supplier Ex. \"+_vm._s(_vm.getTaxTypeText())+\" (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")])])],1),_c('v-row',_vm._l((_vm.totalItemPrices),function(itemPrice){return _c('v-col',{key:itemPrice.id,attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('h4',[_vm._v(\" \"+_vm._s(itemPrice.item.description)+\" \")]),(!_vm.totalPricesLoading)?_c('HorizontalBarChart',{staticClass:\"max-chart-height\",staticStyle:{},attrs:{\"series\":_vm.getItemPriceChartSeries(itemPrice.itemQuotes),\"labels\":_vm.getItemPriceChartLabels(itemPrice.itemQuotes)}}):_vm._e()],1)}),1)],1),_c('v-row',{staticClass:\"mt-6 d-print-none\"},[_c('v-col',[_c('h3',[_vm._v(\" Total Prices Per Product (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")])])],1),_c('v-data-table',{staticClass:\"d-print-none\",attrs:{\"hide-default-header\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.totalItemPrices},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('thead',[_c('tr',_vm._l((_vm.companyHeaders),function(h,index){return _c('th',{key:index,staticStyle:{\"max-width\":\"60px\",\"width\":\"60px\"},style:({ 'text-align': index === 0 ? '' : 'center' })},[_vm._v(\" \"+_vm._s(h)+\" \")])}),0)])]},proxy:true},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('tr',[_c('th',{staticClass:\"row-header\",staticStyle:{\"max-width\":\"400px\",\"width\":\"400px\"}},[_vm._v(\" \"+_vm._s(item.item.description)+\" \")]),_vm._l((item.itemQuotes),function(a){return _c('td',{key:a.id,staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s((item.item.quantity * a.unitPrice).toFixed(2))+\" \")])})],2)]}},{key:\"body.append\",fn:function(){return [_c('tr',[_c('th',{staticStyle:{\"max-width\":\"400px\",\"width\":\"400px\"}},[_vm._v(\" Total Price \")]),_vm._l((_vm.totalPrices),function(a,index){return _c('td',{key:index,staticClass:\"font-weight-bold\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(a.totalPriceExVat.toFixed(2))+\" \")])})],2),_c('tr',[_c('th',[_vm._v(\"Total \"+_vm._s(_vm.getTaxTypeText()))]),_vm._l((_vm.totalVatPrices),function(a,index){return _c('td',{key:index,staticClass:\"font-weight-bold\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(a)+\" \")])})],2),_c('tr',[_c('th',[_vm._v(\"Total Price + \"+_vm._s(_vm.getTaxTypeText()))]),_vm._l((_vm.totalPrices),function(a,index){return _c('td',{key:index,staticClass:\"font-weight-bold\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(a.totalPrice.toFixed(2))+\" \")])})],2),_c('tr',[_c('th',[_vm._v(\" Files \")]),_vm._l((_vm.totalPrices),function(a,index){return _c('td',{key:index,staticStyle:{\"text-align\":\"center\"}},[(a.hasFile)?_c('v-btn',{attrs:{\"icon\":\"\",\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.generateQuotationLetterLink(a.quotationId)}}},[_c('v-icon',[_vm._v(\"ri-file-text-line\")])],1):_vm._e(),(!a.hasFile)?_c('div',[_vm._v(\" - \")]):_vm._e()],1)})],2)]},proxy:true}])}),_c('v-row',{staticClass:\"mt-6 d-print-none\"},[_c('v-col',[_c('h3',[_vm._v(\"Answers By Supplier\")])])],1),_c('v-data-table',{staticClass:\"d-print-none\",attrs:{\"hide-default-header\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.questionAnswers,\"loading\":_vm.answersLoading},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('thead',[_c('tr',_vm._l((_vm.answerHeaders),function(h,index){return _c('th',{key:index,staticStyle:{\"text-center\":\"center\"},style:({\n\t\t\t\t\t\t\t'text-center': index === 0 ? 'left' : 'center',\n\t\t\t\t\t\t\t'max-width': index === 0 ? '400px' : '60px',\n\t\t\t\t\t\t\twidth: index === 0 ? '400px' : '60px'\n\t\t\t\t\t\t})},[_vm._v(\" \"+_vm._s(h)+\" \")])}),0)])]},proxy:true},{key:\"item\",fn:function(ref){\n\t\t\t\t\t\tvar item = ref.item;\nreturn [_c('tr',[_c('th',{staticClass:\"row-header\",staticStyle:{\"max-width\":\"400px\",\"width\":\"400px\"}},[_vm._v(\" \"+_vm._s(item.question.text)+\" \")]),_vm._l((item.answers),function(a){return _c('td',{key:a.id},[(a.answer && a.answer.length > 20)?_c('div',{staticClass:\"preview-button\",on:{\"click\":function () {\n\t\t\t\t\t\t\t\t_vm.selectedQuestion = item.question.text;\n\t\t\t\t\t\t\t\t_vm.selectedAnswer = a.answer;\n\t\t\t\t\t\t\t\t_vm.answerDialog = true;\n\t\t\t\t\t\t\t}}},[_c('div',{},[_vm._v(_vm._s(a.answer.slice(0, 20))+\"...\")]),_c('v-icon',[_vm._v(\"ri-eye-line\")])],1):_vm._e(),(a.answer.length <= 20)?_c('div',[_vm._v(\" \"+_vm._s(a.answer)+\" \")]):_vm._e()])})],2)]}},{key:\"body.append\",fn:function(){return [_c('tr',[_c('th',{staticClass:\"row-header\",staticStyle:{\"max-width\":\"300px\",\"min-width\":\"300px\"}},[_vm._v(\" Additional Comments \")]),_vm._l((_vm.commentsRow),function(c,index){return _c('td',{key:index},[(c.length > 20)?_c('div',{staticClass:\"preview-button\",on:{\"click\":function () {\n\t\t\t\t\t\t\t\t_vm.selectedComment = c;\n\t\t\t\t\t\t\t\t_vm.commentDialog = true;\n\t\t\t\t\t\t\t}}},[_c('div',{},[_vm._v(_vm._s(c.slice(0, 20))+\"...\")]),_c('v-icon',[_vm._v(\"ri-eye-line\")])],1):_vm._e(),(c.length <= 20)?_c('div',[_vm._v(\" \"+_vm._s(c)+\" \")]):_vm._e()])})],2)]},proxy:true}])}),_c('v-dialog',{attrs:{\"width\":\"600px\"},model:{value:(_vm.answerDialog),callback:function ($$v) {_vm.answerDialog=$$v},expression:\"answerDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.selectedQuestion))]),_c('v-card-text',[_vm._v(_vm._s(_vm.selectedAnswer))]),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.answerDialog = false}}},[_vm._v(\" Close \")])],1)],1)],1),_c('v-dialog',{attrs:{\"width\":\"600px\"},model:{value:(_vm.commentDialog),callback:function ($$v) {_vm.commentDialog=$$v},expression:\"commentDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(\"Additional Comments\")]),_c('v-card-text',[_vm._v(_vm._s(_vm.selectedComment))]),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.commentDialog = false}}},[_vm._v(\" Close \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('apexchart',{attrs:{\"type\":\"donut\",\"height\":\"300\",\"options\":_vm.options,\"series\":_vm.series}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class DoughnutChart extends Vue {\r\n\t@Prop() public series!: any[];\r\n\t@Prop() public labels!: any[];\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'donut',\r\n\t\t\theight: 300,\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tresponsive: [\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1600,\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tchart: {\r\n\t\t\t\t\t\theight: 250\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t],\r\n\t\tlabels: this.labels,\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\tformatter: function(val, opts) {\r\n\t\t\t\treturn opts.w.config.series[opts.seriesIndex];\r\n\t\t\t},\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#4a26fd', '#d602ee', '#00c853', '#d50000'],\r\n\t\tplotOptions: {\r\n\t\t\tpie: {\r\n\t\t\t\toffsetY: 40,\r\n\t\t\t\tdonut: {\r\n\t\t\t\t\tsize: '40%'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tlegend: {\r\n\t\t\tfloating: true,\r\n\t\t\tposition: 'top'\r\n\t\t}\r\n\t\t// responsive: [\r\n\t\t// \t{\r\n\t\t// \t\tbreakpoint: 480,\r\n\t\t// \t\toptions: {\r\n\t\t// \t\t\tchart: {\r\n\t\t// \t\t\t\twidth: 200\r\n\t\t// \t\t\t},\r\n\t\t// \t\t\tlegend: {\r\n\t\t// \t\t\t\tshow: false\r\n\t\t// \t\t\t}\r\n\t\t// \t\t}\r\n\t\t// \t}\r\n\t\t// ]\r\n\t};\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DoughnutChart.vue?vue&type=template&id=28137eb8&scoped=true&\"\nimport script from \"./DoughnutChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./DoughnutChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DoughnutChart.vue?vue&type=style&index=0&id=28137eb8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"28137eb8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"chart\"}},[_c('apexchart',{attrs:{\"type\":\"bar\",\"height\":\"300\",\"options\":_vm.options,\"series\":_vm.series}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class BarChart extends Vue {\r\n\t@Prop({\r\n\t\tdefault: [\r\n\t\t\t{\r\n\t\t\t\tdata: []\r\n\t\t\t}\r\n\t\t]\r\n\t})\r\n\tpublic series!: any[];\r\n\t@Prop({\r\n\t\tdefault: []\r\n\t})\r\n\tpublic labels!: string[];\r\n\r\n\t@Watch('labels') onLabelChange(newVal) {\r\n\t\tthis.options.xaxis.categories = newVal;\r\n\t}\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'bar',\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t},\r\n\t\t\tzoom: {\r\n\t\t\t\tenabled: false\r\n\t\t\t},\r\n\t\t\tselection: {\r\n\t\t\t\tenabled: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#00c853'],\r\n\t\tplotOptions: {\r\n\t\t\tbar: {\r\n\t\t\t\thorizontal: false,\r\n\t\t\t\tcolumnWidth: '55%',\r\n\t\t\t\tdataLabels: {\r\n\t\t\t\t\tposition: 'top'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tfill: {\r\n\t\t\topacity: 1\r\n\t\t},\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\toffsetX: -6,\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tstroke: {\r\n\t\t\tshow: false\r\n\t\t},\r\n\t\txaxis: {\r\n\t\t\tcategories: this.labels\r\n\t\t}\r\n\t};\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BarChart.vue?vue&type=template&id=11110c2a&scoped=true&\"\nimport script from \"./BarChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./BarChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BarChart.vue?vue&type=style&index=0&id=11110c2a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11110c2a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"chart\"}},[_c('apexchart',{attrs:{\"type\":\"bar\",\"height\":\"200\",\"options\":_vm.options,\"series\":_vm.series}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class HorizontalBarChart extends Vue {\r\n\t@Prop({\r\n\t\tdefault: [\r\n\t\t\t{\r\n\t\t\t\tdata: []\r\n\t\t\t}\r\n\t\t]\r\n\t})\r\n\tpublic series!: any[];\r\n\t@Prop({\r\n\t\tdefault: []\r\n\t})\r\n\tpublic labels!: string[];\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'bar',\r\n\t\t\theight: 200,\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#00c853'],\r\n\t\tplotOptions: {\r\n\t\t\tbar: {\r\n\t\t\t\thorizontal: true,\r\n\t\t\t\tdataLabels: {\r\n\t\t\t\t\tposition: 'top'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\toffsetX: -6,\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tstroke: {\r\n\t\t\tshow: false\r\n\t\t},\r\n\t\txaxis: {\r\n\t\t\tlabels: {\r\n\t\t\t\trotate: -45,\r\n\t\t\t\trotateAlways: false,\r\n\t\t\t\thideOverlappingLabels: true\r\n\t\t\t},\r\n\t\t\tcategories: this.labels\r\n\t\t}\r\n\t};\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HorizontalBarChart.vue?vue&type=template&id=52fc78b8&scoped=true&\"\nimport script from \"./HorizontalBarChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./HorizontalBarChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HorizontalBarChart.vue?vue&type=style&index=0&id=52fc78b8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"52fc78b8\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter, namespace } from 'vuex-class';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport Toast from '@/services/toast.service';\r\nimport DoughnutChart from '@/views/buyerRequests/quickQuotes/DoughnutChart.vue';\r\nimport BarChart from '@/views/buyerRequests/quickQuotes/BarChart.vue';\r\nimport HorizontalBarChart from '@/views/buyerRequests/quickQuotes/HorizontalBarChart.vue';\r\nimport QuotationsApiService from '@/api/quotations.api';\r\nimport TaxTypeService from '@/services/taxType.service';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\n\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, DoughnutChart, BarChart, HorizontalBarChart }\r\n})\r\nexport default class SuperAdminQuickQuotesResponses extends Vue {\r\n\t@Prop() public buyerRequest!: BuyerRequest;\r\n\t@Prop() public buyerDetails!: BuyerDetails;\r\n\tpublic lowestTotalCost: any = null;\r\n\tpublic responseFunnelSeries: any[] = [];\r\n\tpublic responseFunnelLabels: any[] = [];\r\n\tpublic totalPriceSeries: any[] = [];\r\n\tpublic totalPriceLabels: string[] = [];\r\n\tpublic answersLoading = false;\r\n\tpublic responseFunnelLoading = false;\r\n\tpublic totalPricesLoading = false;\r\n\tpublic totalPricesBySupplier = false;\r\n\tpublic totalItemPrices: any[] = [];\r\n\tpublic questionAnswers: any[] = [];\r\n\tpublic commentsRow: string[] = [];\r\n\tpublic companyHeaders: string[] = [];\r\n\tpublic answerHeaders: string[] = [];\r\n\tpublic totalPrices: any[] = [];\r\n\tpublic totalVatPrices: string[] = [];\r\n\tpublic answerDialog = false;\r\n\tpublic commentDialog = false;\r\n\tpublic selectedComment = '';\r\n\tpublic selectedAnswer = '';\r\n\tpublic selectedQuestion = '';\r\n\r\n\tcreated() {\r\n\t\tthis.loadResponseFunnel();\r\n\t\tthis.loadAnswers();\r\n\t\tthis.loadResponses();\r\n\t\tthis.loadTotalPricesBySupplier();\r\n\t}\r\n\r\n\tpublic generateQuotationLetterLink(quotationId: string) {\r\n\t\tQuotationsApiService.getQuotationLetterDownloadLink(quotationId)\r\n\t\t\t.then(res => {\r\n\t\t\t\tres.filesUrls.forEach(url => {\r\n\t\t\t\t\twindow.open(url, '_blank');\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err));\r\n\t}\r\n\r\n\tpublic downloadResponsesPdf() {\r\n\t\twindow.print();\r\n\t}\r\n\r\n\tpublic getItemPriceChartSeries(itemQuotes) {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\tname: 'Price',\r\n\t\t\t\tdata: itemQuotes.map(x => (x.quantity * x.unitPrice).toFixed(2))\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tpublic getItemPriceChartLabels(itemQuotes) {\r\n\t\treturn itemQuotes.map(x => x.companyContactName);\r\n\t}\r\n\r\n\tpublic getItemPriceChartData(itemQuotes: any[]) {\r\n\t\treturn {\r\n\t\t\tlabels: itemQuotes.map(x =>\r\n\t\t\t\tx.companyContactName.length > 30\r\n\t\t\t\t\t? x.companyContactName.substring(0, 30) + '...'\r\n\t\t\t\t\t: x.companyContactName\r\n\t\t\t),\r\n\t\t\tdata: itemQuotes.map(x => (x.quantity * x.unitPrice).toFixed(2))\r\n\t\t};\r\n\t}\r\n\r\n\tpublic getTaxTypeText() {\r\n\t\treturn TaxTypeService.getText(this.buyerDetails.taxType);\r\n\t}\r\n\r\n\tprivate loadTotalPricesBySupplier() {\r\n\t\tthis.totalPricesBySupplier = true;\r\n\t\tBuyerRequestsApiService.getTotalPricesBySupplier(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.totalPrices = res.totalPrices;\r\n\r\n\t\t\t\tthis.totalVatPrices = res.totalPrices.map(x => x.vatPrice.toFixed(2));\r\n\r\n\t\t\t\tthis.totalPriceSeries = [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: 'Price',\r\n\t\t\t\t\t\tdata: this.totalPrices.map(x => x.totalPrice.toFixed(2))\r\n\t\t\t\t\t}\r\n\t\t\t\t];\r\n\r\n\t\t\t\tthis.totalPriceLabels = this.totalPrices.map(x => x.companyContact.name);\r\n\t\t\t\tif (res.totalPrices && res.totalPrices.length) {\r\n\t\t\t\t\tthis.lowestTotalCost = res.totalPrices.reduce((x, obj) => {\r\n\t\t\t\t\t\treturn obj.totalPrice < x.totalPrice ? obj : x;\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.totalPricesBySupplier = true));\r\n\t}\r\n\r\n\tprivate loadResponses() {\r\n\t\tthis.totalPricesLoading = true;\r\n\t\tBuyerRequestsApiService.getResponses(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.totalItemPrices = res.totalItemPrices;\r\n\r\n\t\t\t\tthis.companyHeaders = ['Items', ...res.headers];\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.totalPricesLoading = false));\r\n\t}\r\n\r\n\tprivate loadAnswers() {\r\n\t\tthis.answersLoading = true;\r\n\t\tBuyerRequestsApiService.getAnswers(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.questionAnswers = res.questionAnswers;\r\n\t\t\t\tthis.answerHeaders = ['Question', ...res.headers];\r\n\t\t\t\tthis.commentsRow = res.comments ? res.comments : [];\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.answersLoading = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate loadResponseFunnel() {\r\n\t\tthis.responseFunnelLoading = true;\r\n\t\tBuyerRequestsApiService.getResponseFunnel(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.responseFunnelSeries = [\r\n\t\t\t\t\tres.notOpenedCount,\r\n\t\t\t\t\tres.openedCount,\r\n\t\t\t\t\tres.submittedCount,\r\n\t\t\t\t\tres.declinedCount\r\n\t\t\t\t];\r\n\t\t\t\tthis.responseFunnelLabels = [\r\n\t\t\t\t\t'Not Opened',\r\n\t\t\t\t\t'Opened',\r\n\t\t\t\t\t'Responded',\r\n\t\t\t\t\t'Declined'\r\n\t\t\t\t];\r\n\t\t\t\t// this.responseFunnelData = {\r\n\t\t\t\t// \tlabels: ['Not Opened', 'Opened', 'Responded', 'Declined'],\r\n\t\t\t\t// \tdatasets: [\r\n\t\t\t\t// \t\t{\r\n\t\t\t\t// \t\t\tborderWidth: 0,\r\n\t\t\t\t// \t\t\tbackgroundColor: ['#4a26fd', '#d602ee', '#00c853', '#d50000'],\r\n\t\t\t\t// \t\t\tdata:\r\n\t\t\t\t// \t\t}\r\n\t\t\t\t// \t]\r\n\t\t\t\t// };\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.responseFunnelLoading = false));\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesResponses.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuperAdminQuickQuotesResponses.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SuperAdminQuickQuotesResponses.vue?vue&type=template&id=6b243120&scoped=true&\"\nimport script from \"./SuperAdminQuickQuotesResponses.vue?vue&type=script&lang=ts&\"\nexport * from \"./SuperAdminQuickQuotesResponses.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SuperAdminQuickQuotesResponses.vue?vue&type=style&index=0&id=6b243120&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b243120\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDataTable,VDialog,VIcon,VRow,VSpacer})\n","import SuperAdminManage from '@/views/superAdmin/quickQuotes/RequestsManage.vue';\r\nimport SuperAdminBuyersManage from '@/views/superAdmin/buyers/BuyersManage.vue';\r\nimport SuperAdminQuickQuotes from '@/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotes.vue';\r\nimport SuperAdminQuickQuotesDetails from '@/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesDetails.vue';\r\nimport SuperAdminQuickQuotesResponses from '@/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotesResponses.vue';\r\nimport { RouteConfig } from 'vue-router';\r\n\r\nexport const superAdminQuickQuotesRoutes = [\r\n\t{\r\n\t\tpath: '/superAdmin/quickQuotes',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresSuperAdmin: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"requests\" */ '@/views/superAdmin/quickQuotes/Requests.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/quickQuotes',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next(`/superAdmin/quickQuotes/manage`);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/quickQuotes/manage',\r\n\t\t\t\tname: 'superAdmin-requests-manage',\r\n\t\t\t\tcomponent: SuperAdminManage\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/superAdmin/quickQuotes/:buyerRequestId',\r\n\t\tname: 'superAdminRequest',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresSuperAdmin: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"request\" */ '@/views/superAdmin/quickQuotes/quickQuotesDetails/SuperAdminQuickQuotes.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/quickQuotes/:buyerRequestId',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next({\r\n\t\t\t\t\t\tpath: `/superAdmin/quickQuotes/${to.params.buyerRequestId}/details`,\r\n\t\t\t\t\t\tparams: to.params\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/quickQuotes/:buyerRequestId/details',\r\n\t\t\t\tname: 'superAdmin-request-details',\r\n\t\t\t\tcomponent: SuperAdminQuickQuotesDetails\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/quickQuotes/:buyerRequestId/responses',\r\n\t\t\t\tname: 'superAdmin-request-responses',\r\n\t\t\t\tcomponent: SuperAdminQuickQuotesResponses\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n] as RouteConfig[];\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"id\":\"searchText\",\"autocomplete\":\"new\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":\"Enter a name for any buyer...\",\"label\":\"Search Buyers\"},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}})],1),_c('v-col',[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.listOfBuyers()}}},[_vm._v(\" Search \")])],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.buyersHeaders,\"items\":_vm.buyers,\"loading\":_vm.buyerRequestsLoading,\"no-data-text\":\"No buyers found\"},on:{\"click:row\":_vm.goToRequest},scopedSlots:_vm._u([{key:\"item.state\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('BuyerRequestStateChip',{attrs:{\"state\":item.state}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport BuyersApiService from '@/api/buyers.api';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport QuickQuoteForm from '@/views/buyerRequests/quickQuotes/QuickQuoteForm.vue';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport BuyerRequestStateChip from '@/components/BuyerRequestStateChip.vue';\r\nimport DateService from '@/services/date.service';\r\nimport AuthRedirectService from '@/services/authRedirect.service';\r\nimport {\r\n\tIS_ACCOUNT_SUPER_ADMIN,\r\n} from '@/store/auth/getters';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, QuickQuoteForm, BuyerRequestStateChip }\r\n})\r\nexport default class SuperAdminBuyersManage extends Vue {\r\n\t@auth.Getter(IS_ACCOUNT_SUPER_ADMIN) public isSuperAdmin!: boolean;\r\n\tpublic buyers: BuyerDetails[] = [];\r\n\t//public selectedBuyerRequest: BuyerRequest | null = null;\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic buyerRequestsLoading = false;\r\n\tpublic editRequestDialog = false;\r\n\tpublic searchText = '';\r\n\t// public deleteRequestDialog = false;\r\n\tpublic buyersHeaders = [\r\n\t\t\r\n\t\t{\r\n\t\t\ttext: 'Buyer Name',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'buyerName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: 'Buyer Country',\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'country',\r\n\t\t\tsortable: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: 'Currency',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'currency.name'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: 'Address line 1',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'addressLine1'\r\n\t\t}\r\n\t\t// {\r\n\t\t// \ttext: '',\r\n\t\t// \talign: 'end',\r\n\t\t// \tvalue: 'actions'\r\n\t\t// }\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.listOfBuyers();\r\n\t}\r\n\r\n\tpublic goToRequest(item: BuyerDetails, row: any) {\r\n\t\tthis.$router.push(`/superAdmin/buyer/${item.buyerId}/details`);\r\n\t}\r\n\r\n\r\n\tpublic listOfBuyers() {\r\n\t\tthis.buyerRequestsLoading = true;\r\n\t\tBuyersApiService.getAllBuyers(this.searchText)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyers = res.map(x => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\t...x\r\n\t\t\t\t\t};\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.buyerRequestsLoading = false;\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyersManage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BuyersManage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BuyersManage.vue?vue&type=template&id=6286610b&scoped=true&\"\nimport script from \"./BuyersManage.vue?vue&type=script&lang=ts&\"\nexport * from \"./BuyersManage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BuyersManage.vue?vue&type=style&index=0&id=6286610b&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6286610b\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDataTable,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticStyle:{\"position\":\"relative\"}},[_c('v-col',{attrs:{\"md\":\"6\"}},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?[_c('v-text-field',{attrs:{\"id\":\"buyerName\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your company's name...\",\"label\":\"Company Name\",\"disabled\":\"\"},model:{value:(_vm.buyerName),callback:function ($$v) {_vm.buyerName=$$v},expression:\"buyerName\"}}),_c('v-text-field',{attrs:{\"id\":\"addressLine1\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your company's address...\",\"label\":\"Company Address Line 1\",\"disabled\":\"\"},model:{value:(_vm.addressLine1),callback:function ($$v) {_vm.addressLine1=$$v},expression:\"addressLine1\"}}),_c('v-text-field',{attrs:{\"id\":\"addressLine2\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your company's address...\",\"label\":\"Company Address Line 2\",\"disabled\":\"\"},model:{value:(_vm.addressLine2),callback:function ($$v) {_vm.addressLine2=$$v},expression:\"addressLine2\"}}),_c('v-text-field',{attrs:{\"id\":\"town\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your company's town...\",\"label\":\"Company Town\",\"disabled\":\"\"},model:{value:(_vm.town),callback:function ($$v) {_vm.town=$$v},expression:\"town\"}}),_c('v-text-field',{attrs:{\"id\":\"postcode\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your company's postcode...\",\"label\":\"Company Postcode\",\"disabled\":\"\"},model:{value:(_vm.postcode),callback:function ($$v) {_vm.postcode=$$v},expression:\"postcode\"}}),_c('v-text-field',{attrs:{\"id\":\"country\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your company's country...\",\"label\":\"Company Country\",\"disabled\":\"\"},model:{value:(_vm.country),callback:function ($$v) {_vm.country=$$v},expression:\"country\"}}),_c('v-text-field',{attrs:{\"id\":\"termsLink\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter a link to your Terms and Conditions of Sales...\",\"label\":\"Terms and Conditions of Sales Link\",\"disabled\":\"\"},model:{value:(_vm.termsLink),callback:function ($$v) {_vm.termsLink=$$v},expression:\"termsLink\"}}),_c('v-select',{attrs:{\"items\":[\n\t\t\t\t\t{ value: _vm.TaxType.VAT, text: _vm.TaxType[_vm.TaxType.VAT] },\n\t\t\t\t\t{ value: _vm.TaxType.GST, text: _vm.TaxType[_vm.TaxType.GST] }\n\t\t\t\t],\"item-text\":\"text\",\"item-value\":\"value\",\"label\":\"Tax Type\",\"outlined\":\"\",\"rounded\":\"\",\"return-object\":\"\",\"disabled\":\"\"},model:{value:(_vm.selectedTaxType),callback:function ($$v) {_vm.selectedTaxType=$$v},expression:\"selectedTaxType\"}}),_c('v-select',{attrs:{\"items\":_vm.currencies,\"item-text\":\"text\",\"item-value\":\"value\",\"loading\":_vm.currenciesLoading,\"label\":\"Currency\",\"outlined\":\"\",\"rounded\":\"\",\"return-object\":\"\",\"disabled\":\"\"},model:{value:(_vm.selectedCurrency),callback:function ($$v) {_vm.selectedCurrency=$$v},expression:\"selectedCurrency\"}})]:_vm._e()],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport BuyersApiService from '@/api/buyers.api';\r\nimport Toast from '@/services/toast.service';\r\nimport TaxTypeService from '@/services/taxType.service';\r\nimport { namespace } from 'vuex-class';\r\nimport { TaxType } from '@/models/enums/taxType';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner }\r\n})\r\nexport default class BuyerDetailsReponse extends Vue {\r\n\tpublic TaxType = TaxType;\r\n\tpublic buyerName = '';\r\n\tpublic addressLine1 = '';\r\n\tpublic addressLine2 = '';\r\n\tpublic town = '';\r\n\tpublic postcode = '';\r\n\tpublic country = '';\r\n\tpublic buyerId = '';\r\n\t// public privacyPolicyLink = '';\r\n\tpublic termsLink = '';\r\n\tpublic selectedCurrency = {\r\n\t\ttext: '(GBP) Pound Sterling',\r\n\t\tvalue: 'GBP'\r\n\t};\r\n\tpublic currencies: any[] = [];\r\n\tpublic selectedTaxType = { value: TaxType.VAT, text: TaxType[TaxType.VAT] };\r\n\tpublic currenciesLoading = false;\r\n\tpublic saving = false;\r\n\tpublic loading = false;\r\n\r\n\tcreated() {\r\n\t\tthis.buyerId = this.$route.params['buyerId'];\r\n\t\tthis.loading = true;\r\n\t\tBuyersApiService.getBuyerDetailsbyId(this.buyerId)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyerId = res.buyerId;\r\n\t\t\t\tthis.buyerName = res.buyerName;\r\n\t\t\t\tthis.addressLine1 = res.addressLine1;\r\n\t\t\t\tthis.addressLine2 = res.addressLine2;\r\n\t\t\t\tthis.town = res.town;\r\n\t\t\t\tthis.postcode = res.postcode;\r\n\t\t\t\tthis.country = res.country;\r\n\t\t\t\tthis.termsLink = res.termsLink;\r\n\t\t\t\tthis.selectedTaxType = {\r\n\t\t\t\t\ttext: TaxTypeService.getText(res.taxType),\r\n\t\t\t\t\tvalue: res.taxType\r\n\t\t\t\t};\r\n\r\n\t\t\t\tif (res.currency) {\r\n\t\t\t\t\tthis.selectedCurrency = {\r\n\t\t\t\t\t\ttext: `(${res.currency.code}) ${res.currency.name}`,\r\n\t\t\t\t\t\tvalue: res.currency.code\r\n\t\t\t\t\t};\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.selectedCurrency = {\r\n\t\t\t\t\t\ttext: `(GBP) Pound Sterling`,\r\n\t\t\t\t\t\tvalue: 'GBP'\r\n\t\t\t\t\t};\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// this.privacyPolicyLink = res.privacyPolicyLink;\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.loading = false;\r\n\t\t\t});\r\n\r\n\t\tthis.currenciesLoading = true;\r\n\t\tBuyersApiService.getCurrencies()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.currencies = res.currencies.map(x => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\ttext: `(${x.code}) ${x.name}`,\r\n\t\t\t\t\t\tvalue: x.code\r\n\t\t\t\t\t};\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.currenciesLoading = false));\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tthis.saving = true;\r\n\t\tBuyersApiService.saveBuyerDetails(this.buyerId, {\r\n\t\t\tbuyerName: this.buyerName,\r\n\t\t\taddressLine1: this.addressLine1,\r\n\t\t\taddressLine2: this.addressLine2,\r\n\t\t\ttown: this.town,\r\n\t\t\tpostcode: this.postcode,\r\n\t\t\tcountry: this.country,\r\n\t\t\ttaxType: this.selectedTaxType.value,\r\n\t\t\tcurrencyCode: this.selectedCurrency.value,\r\n\t\t\t// privacyPolicyLink: this.privacyPolicyLink,\r\n\t\t\ttermsLink: this.termsLink\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success('Saved');\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.saving = false;\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./buyerDetailsResponse.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./buyerDetailsResponse.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./buyerDetailsResponse.vue?vue&type=template&id=98fe8be2&scoped=true&\"\nimport script from \"./buyerDetailsResponse.vue?vue&type=script&lang=ts&\"\nexport * from \"./buyerDetailsResponse.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./buyerDetailsResponse.vue?vue&type=style&index=0&id=98fe8be2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"98fe8be2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCol,VRow,VSelect,VTextField})\n","import SuperAdminBuyersManage from '@/views/superAdmin/buyers/BuyersManage.vue';\r\nimport SuperAdminBuyerDetails from '@/views/superAdmin/buyers/buyerDetails/buyerDetailsResponse.vue';\r\nimport { RouteConfig } from 'vue-router';\r\n\r\nexport const superAdminBuyersRoutes = [\r\n\t{\r\n\t\tpath: '/superAdmin/buyers',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresSuperAdmin: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"requests\" */ '@/views/superAdmin/buyers/Buyers.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/buyers',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next(`/superAdmin/buyers/manage`);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/buyers/manage',\r\n\t\t\t\tname: 'superAdmin-requests-manage',\r\n\t\t\t\tcomponent: SuperAdminBuyersManage\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/superAdmin/buyers/:buyerId',\r\n\t\tname: 'superAdminBuyer',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresSuperAdmin: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"request\" */ '@/views/superAdmin/buyers/buyerDetails/buyerDetails.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/superAdmin/buyer/:buyerId/details',\r\n\t\t\t\tname: 'superAdmin-buyer-details',\r\n\t\t\t\tcomponent: SuperAdminBuyerDetails\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n] as RouteConfig[];\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('v-expansion-panels',[_c('v-expansion-panel',{attrs:{\"title\":\"Title\",\"text\":\"Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus! Eaque cupiditate minima\"}})],1),_c('v-row',[_c('v-col',{attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"5\"}},[_c('div',{staticClass:\"current-lowest-quote print-group\"},[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.finalResult'))+\" \")]),_c('div',{staticClass:\"quote-container\"},[_c('div',{staticClass:\"quote-text\",class:_vm.getTheColor()},[_vm._v(\" \"+_vm._s(_vm.getTheText())+\" \")])])])]),_c('v-spacer'),_c('v-btn',{staticClass:\"d-print-none\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"depressed\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.downloadResponsesPdf()}}},[_c('v-icon',[_vm._v(\"ri-download-line\")]),_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.downloadResponses'))+\" \")],1)],1),_c('v-row',[_c('v-col',{staticClass:\"print-group\",attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"3\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('ApprovalResponses.responseFunnel')))])])],1),(_vm.responseFunnelLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.responseFunnelLoading)?_c('DoughnutChart',{staticClass:\"max-pie-chart-height\",attrs:{\"series\":_vm.responseFunnelSeries,\"labels\":_vm.responseFunnelLabels}}):_vm._e()],1),_c('v-col',{staticClass:\"print-group description-box\",attrs:{\"xs\":\"12\",\"md\":\"9\",\"lg\":\"8\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.description'))+\" \")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.approvalRequest.description)}})])],1)],1)],1),(_vm.approvalRequest.attachedFilePath)?_c('div',[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('ApprovalResponses.AttachedFile')))])])],1),_c('v-row',[_c('v-col',[_c('span',{staticClass:\"mdi mdi-36px mdi-file-document-outline\"}),_c('a',{staticStyle:{\"font-size\":\"large\"},on:{\"click\":function($event){return _vm.DownloadFile(_vm.approvalRequest.attachedFilePath)}}},[_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.ClickHere'))+\" \")]),_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.ToDownload'))+\" \")])],1)],1):_vm._e(),_c('div',{staticClass:\"print-group\"},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.approvers'))+\" \")])])],1),_c('v-data-table',{attrs:{\"hide-default-footer\":\"\",\"headers\":_vm.approverDetailsHeaders,\"items\":_vm.approverDetails,\"loading\":_vm.approvalRequestsLoading,\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"no-data-text\":_vm.$t('ApprovalResponses.noDataText')},on:{\"click:row\":_vm.showApproverDetails},scopedSlots:_vm._u([{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ApproverStateChip',{attrs:{\"state\":item.status}})]}},{key:\"item.state\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ApproverResponseChip',{attrs:{\"state\":item.state}})]}},{key:\"item.reason\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"truncate\"},[_vm._v(_vm._s(item.reason))])]}}])})],1),_c('v-dialog',{attrs:{\"width\":\"600px\"},model:{value:(_vm.reasonDialog),callback:function ($$v) {_vm.reasonDialog=$$v},expression:\"reasonDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.$t('ApprovalResponses.reason')))]),_c('v-card-text',[_vm._v(_vm._s(_vm.selectedReason))]),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.reasonDialog = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('ApprovalResponses.close'))+\" \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { ApprovalRequestState } from '@/models/enums/approvalRequestState';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class ApproverStateChip extends Vue {\r\n\t@Prop() public state!: ApprovalRequestState;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestState.AwaitingApproval:\r\n\t\t\t\treturn 'ri-time-line';\r\n\t\t\tcase ApprovalRequestState.Approved:\r\n\t\t\t\treturn 'mdi-check';\r\n\t\t\tcase ApprovalRequestState.Rejected:\r\n\t\t\t\treturn 'mdi-close';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestState.AwaitingApproval:\r\n\t\t\t\treturn 'Awaiting Response';\r\n\t\t\tcase ApprovalRequestState.Approved:\r\n\t\t\t\treturn 'Approved';\r\n\t\t\tcase ApprovalRequestState.Rejected:\r\n\t\t\t\treturn 'Rejected';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestState.AwaitingApproval:\r\n\t\t\t\treturn '#f4c51e';\r\n\t\t\tcase ApprovalRequestState.Approved:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tcase ApprovalRequestState.Rejected:\r\n\t\t\t\treturn 'red';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverStateChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverStateChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApproverStateChip.vue?vue&type=template&id=53691f3b&scoped=true&\"\nimport script from \"./ApproverStateChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApproverStateChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApproverStateChip.vue?vue&type=style&index=0&id=53691f3b&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53691f3b\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{attrs:{\"color\":_vm.getStateColor(),\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.getStateIcon())+\" \")]),_vm._v(\" \"+_vm._s(_vm.getStateText())+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum ApprovalRequestResponseState {\r\n\tNotOpened = 0,\r\n Opened = 1,\r\n Responded = 2\r\n}\r\n","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport {ApprovalRequestResponseState} from '@/models/enums/approvalRequestResponseState';\r\n\r\n@Component\r\nexport default class ApproverResponseChip extends Vue {\r\n\t@Prop() public state!: ApprovalRequestResponseState;\r\n\r\n\tpublic getStateIcon() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestResponseState.NotOpened:\r\n\t\t\t\treturn 'mdi-circle-opacity';\r\n\t\t\tcase ApprovalRequestResponseState.Opened:\r\n\t\t\t\treturn 'mdi-circle-double';\r\n\t\t\tcase ApprovalRequestResponseState.Responded:\r\n\t\t\t\treturn 'mdi-account-check';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateText() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestResponseState.NotOpened:\r\n\t\t\t\treturn 'Not Opened';\r\n\t\t\tcase ApprovalRequestResponseState.Opened:\r\n\t\t\t\treturn 'Opened';\r\n\t\t\tcase ApprovalRequestResponseState.Responded:\r\n\t\t\t\treturn 'Responded';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getStateColor() {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ApprovalRequestResponseState.NotOpened:\r\n\t\t\t\treturn '#f4c51e';\r\n\t\t\tcase ApprovalRequestResponseState.Opened:\r\n\t\t\t\treturn 'blue';\r\n\t\t\tcase ApprovalRequestResponseState.Responded:\r\n\t\t\t\treturn 'primary';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverResponseChip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverResponseChip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApproverResponseChip.vue?vue&type=template&id=1a886475&scoped=true&\"\nimport script from \"./ApproverResponseChip.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApproverResponseChip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApproverResponseChip.vue?vue&type=style&index=0&id=1a886475&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1a886475\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VChip,VIcon})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter, namespace } from 'vuex-class';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { ApprovalRequest } from '@/models/approvalRequest';\r\nimport { ApprovalRequestResponse } from '@/models/approvalRequest';\r\nimport { ApprovalRequestApproverDetails } from '@/models/approvalRequest';\r\nimport { ApprovalRequestStatus } from '@/models/approvalRequest';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport Toast from '@/services/toast.service';\r\nimport DoughnutChart from '@/views/buyerRequests/quickQuotes/DoughnutChart.vue';\r\nimport BarChart from '@/views/buyerRequests/quickQuotes/BarChart.vue';\r\nimport HorizontalBarChart from '@/views/buyerRequests/quickQuotes/HorizontalBarChart.vue';\r\nimport QuotationsApiService from '@/api/quotations.api';\r\nimport TaxTypeService from '@/services/taxType.service';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport ApprovalRequestsApiService from '@/api/approvalRequests.api';\r\nimport ApproverStateChip from '@/components/ApproverStateChip.vue';\r\nimport ApproverResponseChip from '@/components/ApproverResponseChip.vue';\r\nimport { el, tr } from 'date-fns/locale';\r\n\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, DoughnutChart, BarChart, HorizontalBarChart, ApproverStateChip,ApproverResponseChip }\r\n})\r\nexport default class RequestResponses extends Vue {\r\n\t@Prop() public approvalRequest!: ApprovalRequestResponse;\r\n\t@Prop() public approvalDetails!: ApprovalRequest;\r\n\tpublic approverDetails:ApprovalRequestApproverDetails[] = []\r\n\tpublic responseFunnelSeries: any[] = [];\r\n\tpublic responseFunnelLabels: any[] = [];\r\n\tpublic responseFunnelLoading = false;\r\n\tpublic approvalRequestsLoading = false;\r\n\tpublic reasonDialog = false;\r\n\tpublic selectedReason = '';\r\n\tpublic approverDetailsHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalResponses.name'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'name',\r\n\t\t\tsortable: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalResponses.email'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'email'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalResponses.title'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'title'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalResponses.status'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'status'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalResponses.state'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'state',\r\n\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalResponses.reason'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'reason',\r\n\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.loadResponseFunnel();\r\n\t\tthis.prepareApproverDetails();\r\n\t}\r\n\r\n\tpublic getTheColor() {\r\n\t\tif(this.approvalRequest.approvedCount==this.approvalRequest.totalCount){\r\n\t\t\treturn 'Accepted';\r\n\t\t}\r\n\t\telse if(this.approvalRequest.rejectedCount>0){\r\n\t\t\treturn 'Rejected';\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn 'AwaitngResponse';\r\n\t\t}\r\n\t}\r\n\tpublic getTheText() {\r\n\t\tif(this.approvalRequest.approvedCount==this.approvalRequest.totalCount){\r\n\t\t\treturn 'Accepted';\r\n\t\t}\r\n\t\telse if(this.approvalRequest.rejectedCount>0){\r\n\t\t\treturn 'Rejected';\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn 'Awaitng Response';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic DownloadFile(filePath) {\r\n\t\tApprovalRequestsApiService.getDocument(filePath)\r\n\t\t\t.then(res => {\r\n\t\t\t\tres.filesPaths.forEach(url => {\r\n\t\t\t\t\twindow.open(url);\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t}\r\n\r\n\tpublic prepareApproverDetails(){\r\n\t\tthis.approvalRequest.approvalRequestStatuses.forEach(element => {\r\n\t\t\tthis.approverDetails.push({\r\n\t\t\t\tid : element.approver.id,\r\n\t\t\t\temail: element.approver.email,\r\n\t\t\t\tname: element.approver.name,\r\n\t\t\t\ttitle: element.approver.title,\r\n\t\t\t\tapprovalRequestId: this.approvalRequest.id,\r\n\t\t\t\tapprovalRequestStatusId : element.id,\r\n\t\t\t\treason : element.reason,\r\n\t\t\t\tstatus : element.status,\r\n\t\t\t\tstate : element.state\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tpublic downloadResponsesPdf() {\r\n\t\twindow.print();\r\n\t}\r\n\r\n\tprivate loadResponseFunnel() {\r\n\t\tthis.responseFunnelLoading = true;\r\n\t\tApprovalRequestsApiService.getResponseFunnel(this.approvalRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.responseFunnelSeries = [\r\n\t\t\t\t\tres.notOpenedCount,\r\n\t\t\t\t\tres.openedCount,\r\n\t\t\t\t\tres.acceptedCount,\r\n\t\t\t\t\tres.declinedCount\r\n\t\t\t\t];\r\n\t\t\t\tthis.responseFunnelLabels = [\r\n\t\t\t\t\t'Not Opened',\r\n\t\t\t\t\t'Opened',\r\n\t\t\t\t\t'Accepted',\r\n\t\t\t\t\t'Rejected'\r\n\t\t\t\t];\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.responseFunnelLoading = false));\r\n\t}\r\n\tpublic showApproverDetails(item: ApprovalRequestApproverDetails, row: any){\r\n\t\tif(item.reason==null || item.reason==undefined|| item.reason=='')\r\n\t\t{\r\n\t\t\tthis.selectedReason = 'No reason available'\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthis.selectedReason = item.reason;\r\n\t\t}\r\n\t\tthis.reasonDialog = true;\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestResponses.vue?vue&type=template&id=61227634&scoped=true&\"\nimport script from \"./RequestResponses.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestResponses.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RequestResponses.vue?vue&type=style&index=0&id=61227634&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61227634\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDataTable,VDialog,VExpansionPanel,VExpansionPanels,VIcon,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4\"},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"id\":\"searchText\",\"autocomplete\":\"new\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('ApprovalRequests.searchApprovalPlaceholder'),\"label\":_vm.$t('ApprovalRequests.searchApprovalRequests')},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}})],1),_c('v-col',[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.listApprovalRequests()}}},[_vm._v(\" \"+_vm._s(_vm.$t('ApprovalRequests.searchApproval'))+\" \")])],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.buyerRequestHeaders,\"items\":_vm.approvalRequests,\"loading\":_vm.approvalRequestsLoading,\"no-data-text\":_vm.$t('ApprovalRequests.noDataText')},on:{\"click:row\":_vm.goToRequest},scopedSlots:_vm._u([{key:\"item.state\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ApprovalRequestStateChip',{attrs:{\"accepted\":item.approvedCount,\"rejected\":item.rejectedCount,\"total\":item.totalCount}})]}},{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ApprovalRequestBaseStatusChip',{attrs:{\"state\":item.status}})]}}])}),(_vm.selectedBuyerRequest)?_c('v-dialog',{attrs:{\"fullscreen\":\"\",\"persistent\":\"\"},on:{\"click:outside\":function($event){return _vm.closeEditRequestDialog()}},model:{value:(_vm.editRequestDialog),callback:function ($$v) {_vm.editRequestDialog=$$v},expression:\"editRequestDialog\"}},[_c('QuickQuoteForm',{attrs:{\"quickQuoteId\":_vm.selectedBuyerRequest.id,\"cancel\":_vm.closeEditRequestDialog,\"onSaved\":_vm.listApprovalRequests}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport { ApprovalRequest } from '@/models/approvalRequest';\r\nimport ApprovalRequestsApiService from '@/api/approvalRequests.api';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport QuickQuoteForm from '@/views/buyerRequests/quickQuotes/QuickQuoteForm.vue';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport ApprovalRequestStateChip from '@/components/ApprovalRequestStateChip.vue';\r\nimport ApprovalRequestBaseStatusChip from '@/components/ApprovalRequestBaseStatusChip.vue';\r\nimport DateService from '@/services/date.service';\r\nimport AuthRedirectService from '@/services/authRedirect.service';\r\nimport {\r\n\tIS_BUYER_SUBSCRIBED,\r\n\tIS_ACCOUNT_APPROVER,\r\n\tIS_ACCOUNT_ATLEAST_BUYER,\r\n} from '@/store/auth/getters';\r\nimport { ApprovalRequestState } from '@/models/enums/approvalRequestState';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, QuickQuoteForm, ApprovalRequestStateChip,ApprovalRequestBaseStatusChip }\r\n})\r\nexport default class RequestsManage extends Vue {\r\n\t@auth.Getter(IS_BUYER_SUBSCRIBED) public isBuyerSubscribed!: boolean;\r\n\t@auth.Getter(IS_ACCOUNT_APPROVER) public isAccountApprover!: boolean;\r\n\t@auth.Getter(IS_ACCOUNT_ATLEAST_BUYER) public isAccountAtleastBuyer!: boolean;\r\n\tpublic approvalRequests: ApprovalRequest[] = [];\r\n\tpublic selectedBuyerRequest: ApprovalRequest | null = null;\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic approvalRequestsLoading = false;\r\n\tpublic editRequestDialog = false;\r\n\tpublic searchText = '';\r\n\tpublic buyerRequestHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalRequestsPage.Status'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'state',\r\n\t\t\tsortable: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalRequestsPage.Title'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'title'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalRequestsPage.RequestStatus'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'status'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalRequestsPage.Category'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'category.name'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalRequestsPage.CreatedDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'createdDate'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('ApprovalRequestsPage.ExpirationDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'expirationDate'\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.listApprovalRequests();\r\n\t}\r\n\r\n\tpublic goToRequest(item: ApprovalRequest, row: any) {\r\n\t\tthis.selectedBuyerRequest = item;\r\n\t\tthis.$router.push(`/approvalRequests/${item.id}/responses`);\r\n\t}\r\n\r\n\tpublic closeEditRequestDialog() {\r\n\t\tthis.editRequestDialog = false;\r\n\t\tthis.selectedBuyerRequest = null;\r\n\t}\r\n\r\n\r\n\tpublic listApprovalRequests() {\r\n\t\tthis.approvalRequestsLoading = true;\r\n\t\tApprovalRequestsApiService.listApprovalRequests(this.searchText)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.approvalRequests = res.approvalRequests.map(x => {\r\n\t\t\t\t\t\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\tcreatedDate: DateService.formatTableDateString(x.createdDate),\r\n\t\t\t\t\t\texpirationDate: x.expirationDate==null || x.expirationDate == undefined? '--' :DateService.formatTableDateString(x.expirationDate)\r\n\t\t\t\t\t\t// endDate: DateService.formatTableDateString(x.endDate)\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.approvalRequestsLoading = false;\r\n\t\t\t});\r\n\t}\r\n\t\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestsManage.vue?vue&type=template&id=75ce2c4d&scoped=true&\"\nimport script from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RequestsManage.vue?vue&type=style&index=0&id=75ce2c4d&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"75ce2c4d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDataTable,VDialog,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticStyle:{\"float\":\"right\"}},[_c('label',{staticStyle:{\"padding-right\":\"0.5rem\"},attrs:{\"for\":\"language-select\"}},[_vm._v(_vm._s(_vm.$t('Languages')))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLang),expression:\"selectedLang\"}],staticStyle:{\"border-radius\":\"25px 25px\",\"text-align\":\"center\"},attrs:{\"id\":\"language-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedLang=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.changeLang]}},_vm._l((_vm.locales),function(lang){return _c('option',{key:lang.code,domProps:{\"value\":lang.code}},[_vm._v(_vm._s(lang.name))])}),0)]),_c('div',[_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\"}},[_c('h1',[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.CreateApprovalRequest')))])])],1)],1),_c('div',{staticClass:\"header-divider\"}),_c('v-row',{staticStyle:{\"position\":\"relative\"}},[_c('v-col',{staticClass:\"CreateApprovalRequestForm\",attrs:{\"md\":\"8\"}},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?[_c('v-row',[_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"id\":\"title\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":_vm.$t('CreateApprovalRequestPage.EnterTitle'),\"label\":_vm.$t('CreateApprovalRequestPage.Title')},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}})],1),_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-datetime-picker',{attrs:{\"id\":\"expirationDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('CreateApprovalRequestPage.SelectExpirationDate'),\"label\":_vm.$t('CreateApprovalRequestPage.ExpirationDate'),\"datePickerProps\":{\n\t\t\t\t\t\t\t\t\tmin: _vm.minimumDate.toISOString()\n\t\t\t\t\t\t\t\t},\"timePickerProps\":{\n\t\t\t\t\t\t\t\t\tformat: '24hr'\n\t\t\t\t\t\t\t\t}},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}],null,false,2180989327),model:{value:(_vm.expirationDate),callback:function ($$v) {_vm.expirationDate=$$v},expression:\"expirationDate\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"10\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.categories,\"placeholder\":_vm.$t('CreateApprovalRequestPage.EnterCategory'),\"label\":_vm.$t('CreateApprovalRequestPage.Category'),\"outlined\":\"\",\"clearable\":\"\",\"rounded\":\"\",\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"hide-no-data\":\"\"},model:{value:(_vm.selectedCategory),callback:function ($$v) {_vm.selectedCategory=$$v},expression:\"selectedCategory\"}})],1),_c('v-col',{attrs:{\"md\":\"2\"}},[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\",\"id\":\"addCategoryBtn\"},on:{\"click\":function($event){return _vm.openAddCategoryDialog()}}},[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.AddCategory'))+\" \")]),_c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"click:outside\":function($event){return _vm.closeAddCategoryDialog()}},model:{value:(_vm.addCategoryDialog),callback:function ($$v) {_vm.addCategoryDialog=$$v},expression:\"addCategoryDialog\"}},[_c('CategoryForm',{attrs:{\"cancel\":_vm.closeAddCategoryDialog,\"onSaved\":_vm.onCategorySaved,\"type\":_vm.categoryType.ApprovalRequest}})],1)],1)],1),_c('v-row',{staticStyle:{\"margin-top\":\"-2rem\"}},[_c('v-col',[_c('v-row',[_c('v-col',[_c('h5',{staticClass:\"grey--text\"},[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.AttachFile')))])])],1),_c('v-file-input',{attrs:{\"label\":\"Files\",\"outlined\":\"\",\"rounded\":\"\",\"show-size\":\"\",\"accept\":'.txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif',\"prepend-icon\":\"ri-attachment-line\",\"multiple\":\"\"},on:{\"change\":_vm.handleFileChange},model:{value:(_vm.attachedFiles),callback:function ($$v) {_vm.attachedFiles=$$v},expression:\"attachedFiles\"}})],1),_c('v-col',{staticClass:\"align-center\"},[_c('v-btn',{staticStyle:{\"margin-bottom\":\"15px\"},attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\"},on:{\"click\":_vm.openFileSelection}},[_vm._v(\" \"+_vm._s(_vm.$t('CreateApprovalRequestPage.AddMoreFiles'))+\" \")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":\".txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif\",\"multiple\":\"\"},on:{\"change\":function($event){return _vm.addMoreFiles($event.target.files)}}})],1)],1),_c('v-textarea',{attrs:{\"id\":\"description\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":_vm.$t('CreateApprovalRequestPage.EnterDescription'),\"label\":_vm.$t('CreateApprovalRequestPage.Description')},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}}),_c('v-row',[_c('v-col',{attrs:{\"md\":\"10\"}},[_c('v-card',{staticStyle:{\"margin-bottom\":\"2rem\",\"min-height\":\"3rem\",\"border-radius\":\"1.5rem !important\"},attrs:{\"outlined\":\"\",\"rounded\":\"\"}},[(_vm.approvers.length<1)?_c('h5',{staticStyle:{\"opacity\":\"0.5\",\"margin\":\"1rem\"}},[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.NoApproversAdded')))]):_vm._e(),_vm._l((_vm.approvers),function(approver){return _c('v-chip',{key:approver.email,staticStyle:{\"margin\":\"0.6rem\"},attrs:{\"color\":\"#327fcc\",\"outlined\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-account-circle \")]),_vm._v(\" \"+_vm._s(approver.email)+\" \"),_c('v-icon',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"right\":\"\",\"color\":\"red\"},on:{\"click\":function($event){return _vm.removeApprover(approver.email)}}},[_vm._v(\" mdi-close-circle \")])],1)})],2)],1),_c('v-col',{attrs:{\"md\":\"2\"}},[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\",\"id\":\"addApproverBtn\"},on:{\"click\":function($event){return _vm.openAddApproverDialog()}}},[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.AddApprover'))+\" \")]),_c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"click:outside\":function($event){return _vm.closeAddApproverDialog()}},model:{value:(_vm.addApproverDialog),callback:function ($$v) {_vm.addApproverDialog=$$v},expression:\"addApproverDialog\"}},[_c('ApproverForm',{attrs:{\"cancel\":_vm.closeAddApproverDialog,\"onSaved\":_vm.onSaved}})],1)],1)],1),_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\",\"id\":\"createBtn\"},on:{\"click\":function($event){return _vm.createRequest()}}},[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.Create')))]),_c('v-btn',{attrs:{\"type\":\"button\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\",\"id\":\"cancelBtn\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('CreateApprovalRequestPage.Cancel')))])]:_vm._e()],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[_c('h2',[_vm._v(_vm._s(_vm.$t('ApproverForm.AddApprover')))])]),_c('v-card-text',[_c('v-text-field',{attrs:{\"id\":\"name\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('ApproverForm.EnterName'),\"label\":_vm.$t('ApproverForm.Name')},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}}),_c('v-text-field',{attrs:{\"id\":\"email\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"email\",\"placeholder\":_vm.$t('ApproverForm.EnterEmail'),\"label\":_vm.$t('ApproverForm.Email')},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('v-text-field',{attrs:{\"id\":\"title\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('ApproverForm.EnterTitle'),\"label\":_vm.$t('ApproverForm.Title')},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('ApproverForm.Cancel')))]),_c('v-spacer'),_c('v-btn',{attrs:{\"loading\":_vm.saving,\"color\":\"primary\",\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(_vm._s(_vm.$t('ApproverForm.Save')))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport ItemsApiService from '@/api/items.api';\r\nimport { ApprovalRequestApprover } from '@/models/approvalRequest';\r\nimport { th } from 'date-fns/locale';\r\nimport { ApprovalRequestState } from '@/models/enums/approvalRequestState';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog }\r\n})\r\nexport default class ApproverForm extends Vue {\r\n\t\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public onSaved!: any;\r\n\r\n\tpublic name = '';\r\n\tpublic email = '';\r\n\tpublic title = '';\r\n\tpublic approver = {\r\n\t\tname : '',\r\n\t\temail:'',\r\n\t\ttitle:''\r\n\t};\r\n\r\n\tpublic saving = false;\r\n\r\n\r\n\tpublic createApprover() {\r\n\t\tthis.approver.name = this.name\r\n\t\tthis.approver.email = this.email;\r\n\t\tthis.approver.title = this.title;\r\n\t\tif(this.approver.name==undefined || this.approver.name == ''){\r\n\t\t\tToast.error(this.$t('ApproverForm.NameisMust').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif(this.approver.email==undefined || this.approver.email == ''){\r\n\t\t\tToast.error(this.$t('ApproverForm.EmailisMust').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tlocalStorage.setItem(\"addedApprover\", JSON.stringify(this.approver));\r\n\t\tthis.name = '';\r\n\t\tthis.email = '';\r\n\t\tthis.title = '';\r\n\t\tthis.cancel();\r\n\t\tthis.onSaved();\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tthis.createApprover();\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApproverForm.vue?vue&type=template&id=639b0bcc&scoped=true&\"\nimport script from \"./ApproverForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApproverForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApproverForm.vue?vue&type=style&index=0&id=639b0bcc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"639b0bcc\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[_c('h2',[_vm._v(_vm._s(_vm.$t('CategoryForm.AddCategory')))])]),_c('v-card-text',[_c('v-text-field',{attrs:{\"id\":\"name\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('CategoryForm.EnterName'),\"label\":_vm.$t('CategoryForm.Name')},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('CategoryForm.Cancel')))]),_c('v-spacer'),_c('v-btn',{attrs:{\"loading\":_vm.saving,\"color\":\"primary\",\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(_vm._s(_vm.$t('CategoryForm.Save')))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport CategoryApiService from '@/api/category.api';\r\nimport { roundToNearestMinutesWithOptions } from 'date-fns/fp';\r\nimport { CategoryType } from '@/models/enums/categoryType';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog }\r\n})\r\nexport default class CategoryForm extends Vue {\r\n\t\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public onSaved!: any;\r\n\t@Prop() public type!: CategoryType;\r\n\r\n\tpublic name = '';\r\n\tpublic category = {\r\n\t\tname : ''\r\n\t};\r\n\r\n\tpublic saving = false;\r\n\r\n\r\n\tpublic createNewCategory() {\r\n\t\tthis.category.name = this.name\r\n\t\tif(this.category.name==undefined || this.category.name == ''){\r\n\t\t\tToast.error(this.$t('CategoryForm.NameisMust').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tCategoryApiService.createCategory({\r\n\t\t\tName: this.name,\r\n\t\t\tType: this.type\r\n\t\t})\r\n\t\t\t.then(() => {\r\n Toast.success(this.$t('CategoryForm.CategoryCreated').toString());\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.saving = false;\r\n\t\t\t\tthis.name ='';\r\n\t\t\t\tthis.cancel();\r\n\t\t\t\tthis.onSaved();\r\n\t\t\t});\r\n\t\t\r\n\t}\r\n\r\n\tpublic save() {\r\n\t\tthis.createNewCategory();\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CategoryForm.vue?vue&type=template&id=c92292ce&scoped=true&\"\nimport script from \"./CategoryForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./CategoryForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CategoryForm.vue?vue&type=style&index=0&id=c92292ce&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c92292ce\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VSpacer,VTextField})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport ApprovalRequestsApiService from '@/api/approvalRequests.api';\r\nimport Toast from '@/services/toast.service';\r\nimport { namespace } from 'vuex-class';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport ApproverForm from '@/components/ApproverForm.vue';\r\nimport CategoryForm from '@/components/CategoryForm.vue';\r\nimport { ApprovalRequestApprover } from '@/models/approvalRequest';\r\nimport { Category } from '@/models/category';\r\nimport { th } from 'date-fns/locale';\r\nimport { CategoryType } from '@/models/enums/categoryType';\r\nimport CategoryApiService from '@/api/category.api';\r\nimport DateService from '@/services/date.service';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner , ApproverForm, CategoryForm}\r\n})\r\nexport default class CreateApprovalRequestPage extends Vue {\r\n\t\r\n\tpublic approver!: ApprovalRequestApprover;\r\n\tpublic buyerId = '';\r\n\tpublic saving = false;\r\n\tpublic loading = false;\r\n public title = '';\r\n\tpublic selectedCategory!: Category;\r\n public description = '';\r\n public approvers : any[] = [];\r\n public approverString = '';\r\n public createApproverDialog = false;\r\n\tpublic selectedLang='';\r\n\tpublic addApproverDialog = false;\r\n\tpublic addCategoryDialog = false;\r\n\tpublic selectedApprover: any;\r\n\tpublic categoriesLoading = false;\r\n\tpublic searchText = '';\r\n\tpublic categories: Category[] = [];\r\n\tpublic categoryType = CategoryType;\r\n\tpublic attachedFiles: File[] = [];\r\n\tpublic expirationDate: Date | null = null;\r\n\tpublic minimumDate : Date = new Date();;\r\n\tpublic locales= [\r\n { code: 'en', name: 'English' },\r\n { code: 'fr', name: 'Français' },\r\n { code: 'ar', name: 'العربية' },\r\n ]\r\n\r\n\tpublic created(){\r\n\t\tthis.selectedLang=localStorage.getItem('locale') || 'en';\r\n\t\tthis.minDate();\r\n\t\tthis.getAllCategories();\r\n\t}\r\n public createRequest() {\r\n\t\tif (!this.title) \r\n\t\t{\r\n\t\t\tToast.error(this.$t('CreateApprovalRequestPage.TitleMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif(this.approvers.length<1){\r\n\t\t\tToast.error(this.$t('CreateApprovalRequestPage.MustApprover').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.selectedCategory) \r\n\t\t{\r\n\t\t\tToast.error(this.$t('CreateApprovalRequestPage.CategoryMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.expirationDate) \r\n\t\t{\r\n\t\t\tToast.error(this.$t('CreateApprovalRequestPage.ExpirationDateMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.saving = true;\r\n\t\tApprovalRequestsApiService.createRequest({\r\n\t\t\tTitle : this.title,\r\n\t\t\tExpirationDate: this.expirationDate,\r\n\t\t\tCategory: this.selectedCategory,\r\n\t\t\tattachedFiles: this.attachedFiles as File[],\r\n Description : this.description,\r\n Approvers: this.approvers\r\n\t\t})\r\n\t\t\t.then(() => {\r\n\t\t\t\t// Toast.success(this.$t('ItemForm.ItemCreated').toString());\r\n Toast.success(this.$t('CreateApprovalRequestPage.RequestCreated').toString());\r\n\t\t\t\tthis.$router.push(`/approvalRequests`);\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.saving = false;\r\n\t\t\t});\r\n\t}\r\n public openCreateItemDialog() {\r\n\t\tthis.createApproverDialog = true;\r\n\t}\r\n\tpublic changeLang() {\r\n localStorage.setItem('locale', this.selectedLang);\r\n\t location.reload();\r\n }\r\n\tpublic openAddApproverDialog() {\r\n\t\tthis.selectedApprover = null;\r\n\t\tthis.addApproverDialog = true;\r\n\t}\r\n\tpublic closeAddApproverDialog() {\r\n\t\tthis.addApproverDialog = false;\r\n\t\tthis.selectedApprover = null;\r\n\t}\r\n\r\n\tpublic openAddCategoryDialog() {\r\n\t\tthis.addCategoryDialog = true;\r\n\t}\r\n\tpublic closeAddCategoryDialog() {\r\n\t\tthis.addCategoryDialog = false;\r\n\t}\r\n\r\n\tpublic onSaved() {\r\n\t\tconst data = localStorage.getItem(\"addedApprover\");\r\n\t\tif (data !== null) {\r\n\t\t\tthis.approver = JSON.parse(data);\r\n\t\t\tconst index = this.approvers.findIndex(approver => approver.email == this.approver.email);\r\n\t\t\tif (index !== -1) {\r\n\t\t\t\tToast.error(this.$t('CreateApprovalRequestPage.ApproverAlreadyExist').toString());\r\n\t\t\t}else{\r\n\t\t\t\tthis.approvers.push(this.approver);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tpublic removeApprover(approverEmail){\r\n\t\tconst index = this.approvers.findIndex(approver => approver.email == approverEmail);\r\n\t\tif (index !== -1) {\r\n\t\t\tthis.approvers.splice(index, 1);\r\n\t\t}\r\n\t}\r\n\tpublic cancel(){\r\n\t\tthis.$router.push(`/approvalRequests`);\r\n\t}\r\n\tpublic getAllCategories() {\r\n\t\tthis.categoriesLoading = true;\r\n\t\tCategoryApiService.getAllCategories( CategoryType.ApprovalRequest,this.searchText)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.categories = res.categories.map(x => {\r\n\t\t\t\t\t\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t\tthis.selectedCategory = this.categories[0];\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.categoriesLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic onCategorySaved() {\r\n\t\tthis.getAllCategories();\r\n\t}\r\n\tpublic minDate(){\r\n\t\tconst today = new Date();\r\n \tconst tomorrow = new Date(today);\r\n \ttomorrow.setDate(tomorrow.getDate() + 1);\r\n\t\tthis.expirationDate = tomorrow;\r\n\t\tthis.minimumDate.setDate(tomorrow.getDate() + 1);\r\n\t}\r\n\r\n\tpublic handleFileChange(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files).filter(file => !this.attachedFiles.includes(file));\r\n \t this.attachedFiles.push(...newFiles);\r\n \t}\r\n\t}\r\n\tpublic openFileSelection() {\r\n \t// Programmatically trigger file input click\r\n \tconst fileInput = this.$refs.fileInput as HTMLInputElement | undefined;\r\n \tif (fileInput) {\r\n \t fileInput.click();\r\n \t}\r\n\t}\r\n\r\n\tpublic addMoreFiles(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files);\r\n \t this.attachedFiles = [...this.attachedFiles, ...newFiles];\r\n \t}\r\n\t}\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateApprovalRequestPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateApprovalRequestPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateApprovalRequestPage.vue?vue&type=template&id=12162fe4&scoped=true&\"\nimport script from \"./CreateApprovalRequestPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateApprovalRequestPage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CreateApprovalRequestPage.vue?vue&type=style&index=0&id=12162fe4&lang=scss&scoped=true&\"\nimport style1 from \"./CreateApprovalRequestPage.vue?vue&type=style&index=1&id=12162fe4&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"12162fe4\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VChip,VCol,VDialog,VFileInput,VIcon,VRow,VTextField,VTextarea})\n","import RequestResponses from '@/views/approvalRequests/requestDetails/RequestResponses.vue';\r\nimport ApprovalRequestsManage from '@/views/approvalRequests/RequestsManage.vue';\r\nimport CreateApprovalRequests from '@/views/approvalRequests/requestManage/CreateApprovalRequestPage.vue';\r\nimport { RouteConfig } from 'vue-router';\r\n\r\nexport const approvalRequestsRoutes = [\r\n\t{\r\n\t\tpath: '/approvalRequests',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"requests\" */ '@/views/approvalRequests/Requests.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/approvalRequests',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next(`/approvalRequests/manage`);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/approvalRequests/manage',\r\n\t\t\t\tname: 'approval-requests-manage',\r\n\t\t\t\tcomponent: ApprovalRequestsManage\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/approvalRequests/:approvalRequestId',\r\n\t\tname: 'approvalRequest',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"request\" */ '@/views/approvalRequests/requestDetails/RequestsBase.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/approvalRequests/:approvalRequestId',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next({\r\n\t\t\t\t\t\tpath: `/requests/${to.params.approvalRequestId}/details`,\r\n\t\t\t\t\t\tparams: to.params\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/approvalRequests/:approvalRequestId/responses',\r\n\t\t\t\tname: 'approvalRequest-responses',\r\n\t\t\t\tcomponent: RequestResponses\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/approvalRequests/manage/create',\r\n\t\tname: 'create-approval-request',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true\r\n\t\t},\r\n\t\tcomponent: CreateApprovalRequests\r\n\t}\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const approverRequestDetailsRoutes = [\r\n\t{\r\n\t\tpath: '/approverRequestDetails',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: false\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"quote-details\" */ '@/views/approverResponse/ApproverRequestDetails.vue'\r\n\t\t\t)\r\n\t}\r\n\t// {\r\n\t// \tpath: '/quotes',\r\n\t// \tmeta: {\r\n\t// \t\trequiresAuth: true\r\n\t// \t},\r\n\t// \tcomponent: () =>\r\n\t// \t\timport(/* webpackChunkName: \"quotes\" */ '@/views/quotes/Quotes.vue')\r\n\t// }\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const authRoutes = [\r\n\t{\r\n\t\tpath: '/signin',\r\n\t\tname: 'sign-in',\r\n\t\tmeta: {\r\n\t\t\tguestOnly: true\r\n\t\t},\r\n\t\tcomponent: () => import(/* webpackChunkName: \"sign-in\" */ './SignIn.vue')\r\n\t},\r\n\t{\r\n\t\tpath: '/signup',\r\n\t\tname: 'sign-up',\r\n\t\tmeta: {\r\n\t\t\tguestOnly: true\r\n\t\t},\r\n\t\tcomponent: () => import(/* webpackChunkName: \"sign-up\" */ './SignUp.vue')\r\n\t}\r\n] as RouteConfig[];\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[(!_vm.buyerDetails || !_vm.quickQuote)?_c('LoadingSpinner'):_vm._e(),(_vm.buyerDetails && _vm.quickQuote)?_c('QuickQuotePreview',{attrs:{\"readonly\":true,\"quickQuote\":_vm.quickQuote,\"buyerDetails\":_vm.buyerDetails}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport QuickQuotePreview from '@/views/buyerRequests/quickQuotes/QuickQuotePreview.vue';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport BuyersApiService from '@/api/buyers.api';\r\nimport Toast from '@/services/toast.service';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { QuickQuote } from '@/models/quickQuote';\r\n\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, QuickQuotePreview }\r\n})\r\nexport default class QuickQuotesDetails extends Vue {\r\n\t@Prop() public buyerRequest!: BuyerRequest;\r\n\tpublic quickQuote: QuickQuote | null = null;\r\n\tpublic buyerDetails: BuyerDetails | null = null;\r\n\r\n\tcreated() {\r\n\t\tBuyerRequestsApiService.getQuickQuote(this.buyerRequest.id).then(res => {\r\n\t\t\tthis.quickQuote = res;\r\n\t\t});\r\n\r\n\t\tBuyersApiService.getBuyerDetails()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyerDetails = { ...res };\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t\tthis.$router.back();\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickQuotesDetails.vue?vue&type=template&id=d335421e&scoped=true&\"\nimport script from \"./QuickQuotesDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickQuotesDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuickQuotesDetails.vue?vue&type=style&index=0&id=d335421e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d335421e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('v-row',[_c('v-col',{attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"3\"}},[_c('div',{staticClass:\"current-lowest-quote print-group\"},[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.lowestQuote'))+\" + \"+_vm._s(_vm.getTaxTypeText())+\" (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")]),_c('div',{staticClass:\"quote-container\"},[(_vm.lowestTotalCost)?_c('div',{staticClass:\"quote-text\"},[_vm._v(\" \"+_vm._s(_vm.lowestTotalCost.totalPrice.toFixed(2))+\" \")]):_vm._e(),(!_vm.lowestTotalCost)?_c('div',{staticClass:\"quote-text\"},[_vm._v(\"-\")]):_vm._e(),(_vm.lowestTotalCost)?_c('div',{staticClass:\"supplier-text\"},[_vm._v(\" \"+_vm._s(_vm.lowestTotalCost.companyContact.name)+\" \")]):_vm._e(),(!_vm.lowestTotalCost)?_c('div',{staticClass:\"supplier-text\"},[_vm._v(\" - \")]):_vm._e()])])]),_c('v-spacer'),_c('v-btn',{staticClass:\"d-print-none\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"depressed\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.downloadResponsesPdf()}}},[_c('v-icon',[_vm._v(\"ri-download-line\")]),_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.downloadResponses'))+\" \")],1)],1),_c('v-row',[_c('v-col',{staticClass:\"print-group\",attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"3\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuoteResponses.responseFunnel')))])])],1),(_vm.responseFunnelLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.responseFunnelLoading)?_c('DoughnutChart',{staticClass:\"max-pie-chart-height\",attrs:{\"series\":_vm.responseFunnelSeries,\"labels\":_vm.responseFunnelLabels}}):_vm._e()],1),_c('v-col',{attrs:{\"xs\":\"12\",\"md\":\"8\",\"lg\":\"9\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.pricebySupplier'))+\"(\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")])])],1),(_vm.totalPricesLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.totalPricesLoading)?_c('BarChart',{staticClass:\"max-bar-chart-height\",attrs:{\"series\":_vm.totalPriceSeries,\"labels\":_vm.totalPriceLabels}}):_vm._e()],1)],1),_c('div',{staticClass:\"print-group\"},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.productPriceSupplier'))+\" \"+_vm._s(_vm.getTaxTypeText())+\" (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")])])],1),_c('v-row',_vm._l((_vm.totalItemPrices),function(itemPrice){return _c('v-col',{key:itemPrice.id,attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('h4',[_vm._v(\" \"+_vm._s(itemPrice.item.description)+\" \")]),(!_vm.totalPricesLoading)?_c('HorizontalBarChart',{staticClass:\"max-chart-height\",staticStyle:{},attrs:{\"series\":_vm.getItemPriceChartSeries(itemPrice.itemQuotes),\"labels\":_vm.getItemPriceChartLabels(itemPrice.itemQuotes)}}):_vm._e()],1)}),1)],1),_c('v-row',{staticClass:\"mt-6 d-print-none\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.totalPricesPerProduct'))+\" (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\") \")])])],1),_c('v-data-table',{staticClass:\"d-print-none\",attrs:{\"hide-default-header\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.totalItemPrices},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('thead',[_c('tr',_vm._l((_vm.companyHeaders),function(h,index){return _c('th',{key:index,staticStyle:{\"max-width\":\"60px\",\"width\":\"60px\"},style:({ 'text-align': index === 0 ? '' : 'center' })},[_vm._v(\" \"+_vm._s(h)+\" \")])}),0)])]},proxy:true},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('tr',[_c('th',{staticClass:\"row-header\",staticStyle:{\"max-width\":\"400px\",\"width\":\"400px\"}},[_vm._v(\" \"+_vm._s(item.item.description)+\" \")]),_vm._l((item.itemQuotes),function(a){return _c('td',{key:a.id,staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s((item.item.quantity * a.unitPrice).toFixed(2))+\" \")])})],2)]}},{key:\"body.append\",fn:function(){return [_c('tr',[_c('th',{staticStyle:{\"max-width\":\"400px\",\"width\":\"400px\"}},[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.totalPrice'))+\" \")]),_vm._l((_vm.totalPrices),function(a,index){return _c('td',{key:index,staticClass:\"font-weight-bold\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(a.totalPriceExVat.toFixed(2))+\" \")])})],2),_c('tr',[_c('th',[_vm._v(\"Total \"+_vm._s(_vm.getTaxTypeText()))]),_vm._l((_vm.totalVatPrices),function(a,index){return _c('td',{key:index,staticClass:\"font-weight-bold\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(a)+\" \")])})],2),_c('tr',[_c('th',[_vm._v(_vm._s(_vm.$t('QuoteResponses.totalPrice'))+\" + \"+_vm._s(_vm.getTaxTypeText()))]),_vm._l((_vm.totalPrices),function(a,index){return _c('td',{key:index,staticClass:\"font-weight-bold\",staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(a.totalPrice.toFixed(2))+\" \")])})],2),_c('tr',[_c('th',[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.files'))+\" \")]),_vm._l((_vm.totalPrices),function(a,index){return _c('td',{key:index,staticStyle:{\"text-align\":\"center\"}},[(a.hasFile)?_c('v-btn',{attrs:{\"icon\":\"\",\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.generateQuotationLetterLink(a.quotationId)}}},[_c('v-icon',[_vm._v(\"ri-file-text-line\")])],1):_vm._e(),(!a.hasFile)?_c('div',[_vm._v(\" - \")]):_vm._e()],1)})],2)]},proxy:true}])}),_c('v-row',{staticClass:\"mt-6 d-print-none\"},[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuoteResponses.answersBySupplier')))])])],1),_c('v-data-table',{staticClass:\"d-print-none\",attrs:{\"hide-default-header\":\"\",\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.questionAnswers,\"loading\":_vm.answersLoading},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('thead',[_c('tr',_vm._l((_vm.answerHeaders),function(h,index){return _c('th',{key:index,staticStyle:{\"text-center\":\"center\"},style:({\n\t\t\t\t\t\t\t'text-center': index === 0 ? 'left' : 'center',\n\t\t\t\t\t\t\t'max-width': index === 0 ? '400px' : '60px',\n\t\t\t\t\t\t\twidth: index === 0 ? '400px' : '60px'\n\t\t\t\t\t\t})},[_vm._v(\" \"+_vm._s(h)+\" \")])}),0)])]},proxy:true},{key:\"item\",fn:function(ref){\n\t\t\t\t\t\tvar item = ref.item;\nreturn [_c('tr',[_c('th',{staticClass:\"row-header\",staticStyle:{\"max-width\":\"400px\",\"width\":\"400px\"}},[_vm._v(\" \"+_vm._s(item.question.text)+\" \")]),_vm._l((item.answers),function(a){return _c('td',{key:a.id},[(a.answer && a.answer.length > 20)?_c('div',{staticClass:\"preview-button\",on:{\"click\":function () {\n\t\t\t\t\t\t\t\t_vm.selectedQuestion = item.question.text;\n\t\t\t\t\t\t\t\t_vm.selectedAnswer = a.answer;\n\t\t\t\t\t\t\t\t_vm.answerDialog = true;\n\t\t\t\t\t\t\t}}},[_c('div',{},[_vm._v(_vm._s(a.answer.slice(0, 20))+\"...\")]),_c('v-icon',[_vm._v(\"ri-eye-line\")])],1):_vm._e(),(a.answer.length <= 20)?_c('div',[_vm._v(\" \"+_vm._s(a.answer)+\" \")]):_vm._e()])})],2)]}},{key:\"body.append\",fn:function(){return [_c('tr',[_c('th',{staticClass:\"row-header\",staticStyle:{\"max-width\":\"300px\",\"min-width\":\"300px\"}},[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.additionalComments'))+\" \")]),_vm._l((_vm.commentsRow),function(c,index){return _c('td',{key:index},[(c.length > 20)?_c('div',{staticClass:\"preview-button\",on:{\"click\":function () {\n\t\t\t\t\t\t\t\t_vm.selectedComment = c;\n\t\t\t\t\t\t\t\t_vm.commentDialog = true;\n\t\t\t\t\t\t\t}}},[_c('div',{},[_vm._v(_vm._s(c.slice(0, 20))+\"...\")]),_c('v-icon',[_vm._v(\"ri-eye-line\")])],1):_vm._e(),(c.length <= 20)?_c('div',[_vm._v(\" \"+_vm._s(c)+\" \")]):_vm._e()])})],2)]},proxy:true}])}),_c('v-dialog',{attrs:{\"width\":\"600px\"},model:{value:(_vm.answerDialog),callback:function ($$v) {_vm.answerDialog=$$v},expression:\"answerDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.selectedQuestion))]),_c('v-card-text',[_vm._v(_vm._s(_vm.selectedAnswer))]),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.answerDialog = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.close'))+\" \")])],1)],1)],1),_c('v-dialog',{attrs:{\"width\":\"600px\"},model:{value:(_vm.commentDialog),callback:function ($$v) {_vm.commentDialog=$$v},expression:\"commentDialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.$t('QuoteResponses.additionalComments')))]),_c('v-card-text',[_vm._v(_vm._s(_vm.selectedComment))]),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.commentDialog = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuoteResponses.close'))+\" \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter, namespace } from 'vuex-class';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport Toast from '@/services/toast.service';\r\nimport DoughnutChart from '@/views/buyerRequests/quickQuotes/DoughnutChart.vue';\r\nimport BarChart from '@/views/buyerRequests/quickQuotes/BarChart.vue';\r\nimport HorizontalBarChart from '@/views/buyerRequests/quickQuotes/HorizontalBarChart.vue';\r\nimport QuotationsApiService from '@/api/quotations.api';\r\nimport TaxTypeService from '@/services/taxType.service';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\n\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, DoughnutChart, BarChart, HorizontalBarChart }\r\n})\r\nexport default class QuickQuotesResponses extends Vue {\r\n\t@Prop() public buyerRequest!: BuyerRequest;\r\n\t@Prop() public buyerDetails!: BuyerDetails;\r\n\tpublic lowestTotalCost: any = null;\r\n\tpublic responseFunnelSeries: any[] = [];\r\n\tpublic responseFunnelLabels: any[] = [];\r\n\tpublic totalPriceSeries: any[] = [];\r\n\tpublic totalPriceLabels: string[] = [];\r\n\tpublic answersLoading = false;\r\n\tpublic responseFunnelLoading = false;\r\n\tpublic totalPricesLoading = false;\r\n\tpublic totalPricesBySupplier = false;\r\n\tpublic totalItemPrices: any[] = [];\r\n\tpublic questionAnswers: any[] = [];\r\n\tpublic commentsRow: string[] = [];\r\n\tpublic companyHeaders: string[] = [];\r\n\tpublic answerHeaders: string[] = [];\r\n\tpublic totalPrices: any[] = [];\r\n\tpublic totalVatPrices: string[] = [];\r\n\tpublic answerDialog = false;\r\n\tpublic commentDialog = false;\r\n\tpublic selectedComment = '';\r\n\tpublic selectedAnswer = '';\r\n\tpublic selectedQuestion = '';\r\n\r\n\tcreated() {\r\n\t\tthis.loadResponseFunnel();\r\n\t\tthis.loadAnswers();\r\n\t\tthis.loadResponses();\r\n\t\tthis.loadTotalPricesBySupplier();\r\n\t}\r\n\r\n\tpublic generateQuotationLetterLink(quotationId: string) {\r\n\t\tQuotationsApiService.getQuotationLetterDownloadLink(quotationId)\r\n\t\t\t.then(res => {\r\n\t\t\t\tres.filesUrls.forEach(url => {\r\n\t\t\t\t\twindow.open(url, '_blank');\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err));\r\n\t}\r\n\r\n\tpublic downloadResponsesPdf() {\r\n\t\twindow.print();\r\n\t}\r\n\r\n\tpublic getItemPriceChartSeries(itemQuotes) {\r\n\t\treturn [\r\n\t\t\t{\r\n\t\t\t\tname: 'Price',\r\n\t\t\t\tdata: itemQuotes.map(x => (x.quantity * x.unitPrice).toFixed(2))\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tpublic getItemPriceChartLabels(itemQuotes) {\r\n\t\treturn itemQuotes.map(x => x.companyContactName);\r\n\t}\r\n\r\n\tpublic getItemPriceChartData(itemQuotes: any[]) {\r\n\t\treturn {\r\n\t\t\tlabels: itemQuotes.map(x =>\r\n\t\t\t\tx.companyContactName.length > 30\r\n\t\t\t\t\t? x.companyContactName.substring(0, 30) + '...'\r\n\t\t\t\t\t: x.companyContactName\r\n\t\t\t),\r\n\t\t\tdata: itemQuotes.map(x => (x.quantity * x.unitPrice).toFixed(2))\r\n\t\t};\r\n\t\t// return [\r\n\t\t// \t{\r\n\t\t// labels: itemQuotes.map(x =>\r\n\t\t// \tx.companyContactName.length > 30\r\n\t\t// \t\t? x.companyContactName.substring(0, 30) + '...'\r\n\t\t// \t\t: x.companyContactName\r\n\t\t// ),\r\n\t\t// datasets: [\r\n\t\t// \t{\r\n\t\t// \t\tborderWidth: 0,\r\n\t\t// \t\tbackgroundColor: '#00c853',\r\n\t\t// }\r\n\t\t// ]\r\n\t\t// }\r\n\t\t// ];\r\n\t\t// return {\r\n\t\t// \tlabels: itemQuotes.map(x =>\r\n\t\t// \t\tx.companyContactName.length > 30\r\n\t\t// \t\t\t? x.companyContactName.substring(0, 30) + '...'\r\n\t\t// \t\t\t: x.companyContactName\r\n\t\t// \t),\r\n\t\t// \tdatasets: [\r\n\t\t// \t\t{\r\n\t\t// \t\t\tborderWidth: 0,\r\n\t\t// \t\t\tbackgroundColor: '#00c853',\r\n\t\t// \t\t\tdata: itemQuotes.map(x => (x.quantity * x.unitPrice).toFixed(2))\r\n\t\t// \t\t}\r\n\t\t// \t]\r\n\t\t// };\r\n\t}\r\n\r\n\tpublic getTaxTypeText() {\r\n\t\treturn TaxTypeService.getText(this.buyerDetails.taxType);\r\n\t}\r\n\r\n\tprivate loadTotalPricesBySupplier() {\r\n\t\tthis.totalPricesBySupplier = true;\r\n\t\tBuyerRequestsApiService.getTotalPricesBySupplier(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.totalPrices = res.totalPrices;\r\n\r\n\t\t\t\tthis.totalVatPrices = res.totalPrices.map(x => x.vatPrice.toFixed(2));\r\n\r\n\t\t\t\tthis.totalPriceSeries = [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: 'Price',\r\n\t\t\t\t\t\tdata: this.totalPrices.map(x => x.totalPrice.toFixed(2))\r\n\t\t\t\t\t}\r\n\t\t\t\t];\r\n\r\n\t\t\t\tthis.totalPriceLabels = this.totalPrices.map(x => x.companyContact.name);\r\n\r\n\t\t\t\t// this.totalPriceData = {\r\n\t\t\t\t// \tlabels: this.totalPrices.map(x =>\r\n\t\t\t\t// \t\tx.companyContact.name.match(/\\b[\\w']+(?:[^\\w\\n]+[\\w']+){0,2}\\b/g)\r\n\t\t\t\t// \t),\r\n\t\t\t\t// \tdatasets: [\r\n\t\t\t\t// \t\t{\r\n\t\t\t\t// \t\t\tborderWidth: 0,\r\n\t\t\t\t// \t\t\tbackgroundColor: '#00c853',\r\n\t\t\t\t// \t\t\tdata: this.totalPrices.map(x => x.totalPrice.toFixed(2))\r\n\t\t\t\t// \t\t}\r\n\t\t\t\t// \t]\r\n\t\t\t\t// };\r\n\t\t\t\tif (res.totalPrices && res.totalPrices.length) {\r\n\t\t\t\t\tthis.lowestTotalCost = res.totalPrices.reduce((x, obj) => {\r\n\t\t\t\t\t\treturn obj.totalPrice < x.totalPrice ? obj : x;\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.totalPricesBySupplier = true));\r\n\t}\r\n\r\n\tprivate loadResponses() {\r\n\t\tthis.totalPricesLoading = true;\r\n\t\tBuyerRequestsApiService.getResponses(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.totalItemPrices = res.totalItemPrices;\r\n\r\n\t\t\t\tthis.companyHeaders = ['Items', ...res.headers];\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.totalPricesLoading = false));\r\n\t}\r\n\r\n\tprivate loadAnswers() {\r\n\t\tthis.answersLoading = true;\r\n\t\tBuyerRequestsApiService.getAnswers(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.questionAnswers = res.questionAnswers;\r\n\t\t\t\tthis.answerHeaders = ['Question', ...res.headers];\r\n\t\t\t\tthis.commentsRow = res.comments ? res.comments : [];\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.answersLoading = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate loadResponseFunnel() {\r\n\t\tthis.responseFunnelLoading = true;\r\n\t\tBuyerRequestsApiService.getResponseFunnel(this.buyerRequest.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.responseFunnelSeries = [\r\n\t\t\t\t\tres.notOpenedCount,\r\n\t\t\t\t\tres.openedCount,\r\n\t\t\t\t\tres.submittedCount,\r\n\t\t\t\t\tres.declinedCount\r\n\t\t\t\t];\r\n\t\t\t\tthis.responseFunnelLabels = [\r\n\t\t\t\t\t'Not Opened',\r\n\t\t\t\t\t'Opened',\r\n\t\t\t\t\t'Responded',\r\n\t\t\t\t\t'Declined'\r\n\t\t\t\t];\r\n\t\t\t\t// this.responseFunnelData = {\r\n\t\t\t\t// \tlabels: ['Not Opened', 'Opened', 'Responded', 'Declined'],\r\n\t\t\t\t// \tdatasets: [\r\n\t\t\t\t// \t\t{\r\n\t\t\t\t// \t\t\tborderWidth: 0,\r\n\t\t\t\t// \t\t\tbackgroundColor: ['#4a26fd', '#d602ee', '#00c853', '#d50000'],\r\n\t\t\t\t// \t\t\tdata:\r\n\t\t\t\t// \t\t}\r\n\t\t\t\t// \t]\r\n\t\t\t\t// };\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.responseFunnelLoading = false));\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesResponses.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuotesResponses.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickQuotesResponses.vue?vue&type=template&id=1eaf67b9&scoped=true&\"\nimport script from \"./QuickQuotesResponses.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickQuotesResponses.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuickQuotesResponses.vue?vue&type=style&index=0&id=1eaf67b9&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1eaf67b9\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VDataTable,VDialog,VIcon,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4\"},[(_vm.isAccountApprover)?_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"id\":\"searchText\",\"autocomplete\":\"new\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('ReviewRequests.searchPlaceholder'),\"label\":_vm.$t('ReviewRequests.searchRequests')},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}})],1),_c('v-col',[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.listBuyerRequests()}}},[_vm._v(\" \"+_vm._s(_vm.$t('ReviewRequests.search'))+\" \")])],1)],1):_vm._e(),_c('v-data-table',{attrs:{\"headers\":_vm.buyerRequestHeaders,\"items\":_vm.buyerRequests,\"loading\":_vm.buyerRequestsLoading,\"no-data-text\":_vm.$t('ReviewRequests.noDataText')},on:{\"click:row\":_vm.goToRequest},scopedSlots:_vm._u([{key:\"item.state\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('BuyerRequestStateChip',{attrs:{\"state\":item.state}})]}}])}),(_vm.selectedBuyerRequest)?_c('v-dialog',{attrs:{\"fullscreen\":\"\",\"persistent\":\"\"},on:{\"click:outside\":function($event){return _vm.closeEditRequestDialog()}},model:{value:(_vm.editRequestDialog),callback:function ($$v) {_vm.editRequestDialog=$$v},expression:\"editRequestDialog\"}},[_c('QuickQuoteForm',{attrs:{\"quickQuoteId\":_vm.selectedBuyerRequest.id,\"cancel\":_vm.closeEditRequestDialog,\"onSaved\":_vm.listBuyerRequests}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport QuickQuoteForm from '@/views/buyerRequests/quickQuotes/QuickQuoteForm.vue';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport BuyerRequestStateChip from '@/components/BuyerRequestStateChip.vue';\r\nimport DateService from '@/services/date.service';\r\nimport AuthRedirectService from '@/services/authRedirect.service';\r\nimport {\r\n\tIS_BUYER_SUBSCRIBED,\r\n\tIS_ACCOUNT_APPROVER,\r\n\tIS_ACCOUNT_ATLEAST_BUYER,\r\n} from '@/store/auth/getters';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, QuickQuoteForm, BuyerRequestStateChip }\r\n})\r\nexport default class RequestsManage extends Vue {\r\n\t@auth.Getter(IS_BUYER_SUBSCRIBED) public isBuyerSubscribed!: boolean;\r\n\t@auth.Getter(IS_ACCOUNT_APPROVER) public isAccountApprover!: boolean;\r\n\t@auth.Getter(IS_ACCOUNT_ATLEAST_BUYER) public isAccountAtleastBuyer!: boolean;\r\n\tpublic buyerRequests: BuyerRequest[] = [];\r\n\tpublic selectedBuyerRequest: BuyerRequest | null = null;\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic buyerRequestsLoading = false;\r\n\tpublic editRequestDialog = false;\r\n\tpublic searchText = '';\r\n\t// public deleteRequestDialog = false;\r\n\tpublic buyerRequestHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('RequestsPage.State'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'state',\r\n\t\t\tsortable: false,\r\n\t\t\twidth: '100px'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('RequestsPage.Name'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'name'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('RequestsPage.StartDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'startDate'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('RequestsPage.EndDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'endDate'\r\n\t\t}\r\n\t\t// {\r\n\t\t// \ttext: '',\r\n\t\t// \talign: 'end',\r\n\t\t// \tvalue: 'actions'\r\n\t\t// }\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.listBuyerRequests();\r\n\t}\r\n\r\n\tpublic goToRequest(item: BuyerRequest, row: any) {\r\n\t\tthis.selectedBuyerRequest = item;\r\n\r\n\t\tif (item.state === BuyerRequestState.InProgress) {\r\n\t\t\tthis.$router.push(`/requests/${item.id}/details`);\r\n\t\t} else {\r\n\t\t\tthis.$router.push(`/requests/${item.id}/responses`);\r\n\t\t}\r\n\t}\r\n\r\n\tpublic closeEditRequestDialog() {\r\n\t\tthis.editRequestDialog = false;\r\n\t\tthis.selectedBuyerRequest = null;\r\n\t}\r\n\r\n\t// public removeRequest(request: BuyerRequest) {\r\n\t// \tthis.selectedBuyerRequest = request;\r\n\t// \tthis.deleteRequestDialog = true;\r\n\t// }\r\n\r\n\tpublic listBuyerRequests() {\r\n\t\tthis.buyerRequestsLoading = true;\r\n\t\tBuyerRequestsApiService.listBuyerRequests(this.searchText)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyerRequests = res.buyerRequests.map(x => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\tstartDate: DateService.formatTableDateString(x.startDate),\r\n\t\t\t\t\t\tendDate: DateService.formatTableDateString(x.endDate)\r\n\t\t\t\t\t};\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.buyerRequestsLoading = false;\r\n\t\t\t});\r\n\t}\r\n\t// private deleteRequest() {\r\n\t// \tif (!this.selectedBuyerRequest) return;\r\n\t// \treturn BuyerRequestsApiService.deleteBuyerRequest(\r\n\t// \t\tthis.selectedBuyerRequest.id\r\n\t// \t)\r\n\t// \t\t.then(() => {\r\n\t// \t\t\tthis.buyerRequests = this.buyerRequests.filter(\r\n\t// \t\t\t\tx => x.id !== (this.selectedBuyerRequest as BuyerRequest).id\r\n\t// \t\t\t);\r\n\t// \t\t\tToast.success('Deleted');\r\n\t// \t\t\tthis.deleteRequestDialog = false;\r\n\t// \t\t})\r\n\t// \t\t.catch(err => {\r\n\t// \t\t\tToast.error(err);\r\n\t// \t\t});\r\n\t// }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestsManage.vue?vue&type=template&id=2af6f170&scoped=true&\"\nimport script from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RequestsManage.vue?vue&type=style&index=0&id=2af6f170&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2af6f170\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDataTable,VDialog,VRow,VTextField})\n","import QuickQuotesDetails from '@/views/buyerRequests/quickQuotes/QuickQuotesDetails.vue';\r\nimport QuickQuotesResponses from '@/views/buyerRequests/quickQuotes/QuickQuotesResponses.vue';\r\nimport RequestsManage from '@/views/buyerRequests/RequestsManage.vue';\r\nimport { RouteConfig } from 'vue-router';\r\n\r\nexport const buyerRequestsRoutes = [\r\n\t{\r\n\t\tpath: '/requests',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"requests\" */ '@/views/buyerRequests/Requests.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/requests',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next(`/requests/manage`);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/requests/manage',\r\n\t\t\t\tname: 'requests-manage',\r\n\t\t\t\tcomponent: RequestsManage\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/requests/:buyerRequestId',\r\n\t\tname: 'request',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"request\" */ '@/views/buyerRequests/quickQuotes/QuickQuotes.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/requests/:buyerRequestId',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next({\r\n\t\t\t\t\t\tpath: `/requests/${to.params.buyerRequestId}/details`,\r\n\t\t\t\t\t\tparams: to.params\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/requests/:buyerRequestId/details',\r\n\t\t\t\tname: 'request-details',\r\n\t\t\t\tcomponent: QuickQuotesDetails\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/requests/:buyerRequestId/responses',\r\n\t\t\t\tname: 'request-responses',\r\n\t\t\t\tcomponent: QuickQuotesResponses\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const contactsRoutes = [\r\n\t{\r\n\t\tpath: '/contacts',\r\n\t\tname: 'contacts',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tredirect: '/contacts/people'\r\n\t},\r\n\t{\r\n\t\tpath: '/contacts/companies',\r\n\t\tname: 'contacts-companies',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"contacts-companies\" */ './companies/ContactsCompanies.vue'\r\n\t\t\t)\r\n\t},\r\n\t{\r\n\t\tpath: '/contacts/groups',\r\n\t\tname: 'contacts-groups',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"contacts-company-groups\" */ './companyGroups/ContactsCompanyGroups.vue'\r\n\t\t\t)\r\n\t},\r\n\t{\r\n\t\tpath: '/contacts/people',\r\n\t\tname: 'contacts-people',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"contacts-people\" */ './people/ContactsPeople.vue'\r\n\t\t\t)\r\n\t}\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const itemsRoutes = [\r\n\t{\r\n\t\tpath: '/items',\r\n\t\tname: 'items',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tredirect: '/items/manage'\r\n\t},\r\n\t{\r\n\t\tpath: '/items/manage',\r\n\t\tname: 'items-manage',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"items-manage\" */ './ItemsManage.vue')\r\n\t}\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const rfpRoutes = [\r\n\t{\r\n\t\tpath: '/rfp',\r\n\t\tname: 'rfp',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tredirect: '/rfp/manage'\r\n\t},\r\n\t{\r\n\t\tpath: '/rfp/manage',\r\n\t\tname: 'rfp-manage',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"items-manage\" */ './RFPManage.vue')\r\n\t}\r\n] as RouteConfig[];\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pa-8\"},[_c('h1',[_vm._v(\"Website Privacy Policy\")]),_c('p',[_vm._v(\" Procure Logic Limited- \"),_c('a',{attrs:{\"href\":\"https://procure-logic.com\"}},[_vm._v(\"www.Procure-logic.com\")])]),_c('h3',[_vm._v(\"1. Data Protection\")]),_c('p',[_vm._v(\" We comply with the principles of the General Data Protection Regulation (GDPR) when dealing with all data received from customers or visitors to our website. \")]),_c('h3',[_vm._v(\"2. Our Services\")]),_c('p',[_vm._v(\" We only hold the data necessary to offer services provided on our website. We do not ask for or use more data than necessary to provide you with a proper service. This means we only process and hold data related to purchases and subsequent support related to those purchases, in accordance with Article 6(1)(b) of the General Data Protection Regulation (GDPR). Any processing of your data is only done to provide or perform the services or products you have purchased. \")]),_c('h3',[_vm._v(\"3. Data Protection Register\")]),_c('p',[_vm._v(\" Data is only used for the purposes described in our entry on the Data Protection Register. \")]),_c('h3',[_vm._v(\"4. Required Period\")]),_c('p',[_vm._v(\" We only hold personal data for as long as necessary. Once data is no longer needed we delete it. \")]),_c('h3',[_vm._v(\"5. Card & Payment Processing Data\")]),_c('p',[_vm._v(\" We use third-party payment providers to handle card and payment processing data securely. We never see or store any card or payment information. In accordance with Article 6(1)(b) of the General Data Protection Regulation (GDPR) any other data is only used to process your purchase securely. In accordance with Article 6(1)(c) of the General Data Protection Regulation (GDPR), we need to retain data related to all purchases to fulfil our existing legal obligations to account for tax and VAT on all transactions. \")]),_c('h3',[_vm._v(\"6. Backup & Data Storage\")]),_c('p',[_vm._v(\" For administrative reasons, customer data and email subscription data may be passed to and stored securely with third party service providers located outside the EEA (European Economic Area). This is done to backup and preserve your data where it is needed to carry on offering a service to you. \")]),_c('h3',[_vm._v(\"7. Customer Requests\")]),_c('p',[_vm._v(\" As a customer, you can at any time (and free of charge) request details of the data we hold relating to you - and you can also request any such data is amended or deleted. Please note that if you request deletion of your data, this may prevent us from offering any further support relating to your previous purchases. \")]),_c('h3',[_vm._v(\"8. Email Updates\")]),_c('p',[_vm._v(\" We regularly email website news and information updates to those customers who have specifically subscribed to our email service. All subscription emails sent by us contain clear information on how to unsubscribe from our email service. Our email service is an opt-in service only; with your prior consent required in accordance with Article 6(1)(a) of the General Data Protection Regulation (GDPR). This means to subscribe you must enter your details into the email subscription page and submit them to us. \")]),_c('h3',[_vm._v(\"9. Our Promise\")]),_c('p',[_vm._v(\"We never sell, rent or exchange mailing lists.\")]),_c('h3',[_vm._v(\"10. Data Sharing With Partners\")]),_c('p',[_vm._v(\" We do not share commercial or technical data with our partners unless we have specifically sought and obtained your prior approval. Where we request such approval, we will always fully disclose how your data is used. \")]),_c('p',[_vm._v(\" Please note that even when we have your specific consent, we only share data with partners that operate their own privacy policy in full accordance with the General Data Protection Regulation (GDPR). \")]),_c('h3',[_vm._v(\"11. Spam\")]),_c('p',[_vm._v(\" In accordance with the Privacy and Electronic Communications (EC Directive) Regulations 2003, we never send bulk unsolicited emails, (popularly known as Spam) to email addresses. \")]),_c('h3',[_vm._v(\"12. Product Updates\")]),_c('p',[_vm._v(\" We may send emails to existing customers or prospective customers who have enquired or registered with us, regarding products or services directly provided by us. \")]),_c('h3',[_vm._v(\"13. Email Content\")]),_c('p',[_vm._v(\" All emails sent by us will be clearly marked as originating from us. All such emails will also include clear instructions on how to unsubscribe from our email service and any future emails. Such instructions will either include a link to a page to unsubscribe or a valid email address to which you should reply, with “unsubscribe†as the email subject heading. \")]),_c('h3',[_vm._v(\"14. Cookies\")]),_c('p',[_vm._v(\" Our website uses \\\"cookies\\\" to track use and allow customers to purchase from our website. Please note that these cookies do not contain or pass any personal, confidential or financial information or any other information that could be used to identify individual visitors or customers purchasing from our website. Please note that you are free to refuse cookies. However, for purely technical reasons this may prevent you from purchasing from our website. This is because anonymous cookies are commonly used to keep track of the contents of customers’ shopping baskets or trolleys during the checkout process. This facility ensures that the items added to (or removed from) your basket are accurately stated when you go to pay. \")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Privacy.vue?vue&type=template&id=3d780c90&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pa-8\"},[_c('div',{staticClass:\"WordSection1\"},[_c('p',{staticClass:\"MsoNormal\",staticStyle:{\"text-align\":\"center\"},attrs:{\"align\":\"center\"}},[_c('span',{staticStyle:{\"font-family\":\"\\\"Arial\\\",sans-serif\"}})]),_c('h1',[_c('span',{staticStyle:{\"font\":\"7.0pt\",\"display\":\"block\",\"margin-left\":\"1rem\",\"text-align\":\"center\"}},[_vm._v(\" Terms of Service\")])]),_c('p',{staticClass:\"MsoNormal\",staticStyle:{\"text-align\":\"center\"},attrs:{\"align\":\"center\"}},[_c('span',{staticStyle:{\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"Procure Logic Limited- \")]),_c('a',{attrs:{\"href\":\"http://www.Procure-logic.com\"}},[_c('span',{staticStyle:{\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"www.Procure-logic.com\")])])]),_c('h1',[_vm._v(\"1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}},[_vm._v(\" Introduction\")])]),_c('h2',{staticStyle:{\"text-indent\":\"0cm\"}},[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Thank you for selecting the Service(s) (referred to as Procure Logic Limited, Procure-Tool and our Website which together form a procurement solutions portal called Platform Services) offered by Procure Logic Limited to you the User. Procure Logic Limited, a company registered in England and Wales under company number registration number 11849693. Please review these Terms of Service (Agreement) thoroughly. This Agreement is a legal agreement between you and Procure Logic Limited. By accepting electronically (for example, clicking I Agree), accessing or use of this Service and any additional services introduced by us and contained within, constitutes acceptance by you of these Terms & Conditions.\")])]),_c('h2',{staticStyle:{\"text-indent\":\"0cm\"}},[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"If you do not agree to this Agreement, then you should not use the Platform Services.\")])]),_c('h1',[_vm._v(\"2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}},[_vm._v(\" The Service\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited (Procure-Tool or Platform or Platform Services or we) provides a Business to Business (B2B) online procurement software and operates a platform at www.Procure-Logic.com and www.Prcocure-tool.com ( the Platform) , which provides secure business-to-business communications between entities interested in sharing information, pricing and/or negotiating (the Platform Service(s)) in relation thereto. \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The Platform has two types of users;\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.2.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Host(s)\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.2.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Participant(s) \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"A Host will create an activity on the Platform called an Event and invite Participants to respond to Events created on the Procure-Tool Platform. Hosts and Participants will generically be referred to as Users.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users can create Events on the Platform, and Users can also access the Platform and participate in an Event by submitting information or Bids (Bids). \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"2.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"By registering with Procure Logic Limited, a User agrees to be bound by these Terms of Service (Terms) and a resultant agreement is formed between the User and Procure Logic Limited (Agreement). Any personnel that provide information to Procure Logic Limited via the Platform or otherwise on behalf of a User must have the authority to represent the relevant User and Procure Logic Limited will be entitled to rely on this presumption.\")])]),_c('h1',[_vm._v(\" 3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Agreement (Eligibility) \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"This Agreement describes the terms governing your use of the Procure Logic Limited Platform Service(s). You the User must be a minimum age of 18 to register on and use the Service. By registering and using the Service you the User warrant that you are 18 years or older and understand your obligations under these Terms of Service this Agreement. \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"If you are entering into this Agreement on behalf of a company or other legal entity, you the User represent that you have the authority to bind such entity and its affiliates to these Terms of Service of this Agreement as its authorised representative, in which case the terms you or User(s), or Host(s) or Participants(s) or your will refer to such entity and its affiliates as well as you. If the legal entity that you represent does not agree with these terms and conditions, you must not accept this Agreement, register, and use or access the Platform Services as an authorised representative.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"By accessing or using Procure Logic Limiteds Platform Services you agree that:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.3.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You can form a binding contract with Procure Logic Limited;\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.3.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You are not a person who is prohibited from receiving the Procure Logic Limiteds Platform Services under the laws of the United States, England, Wales, or any other applicable jurisdiction; and\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.3.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You will comply with this Agreement and all applicable local, state, national, and international laws, rules, and regulations, including import and export regulations.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"3.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited reserves the right to modify these Terms of Service at any time and the version that will apply to your use of the Service and purchase of future services and products from Procure Logic Limited, will be the version that is current and displayed on the relevant Platform on the date on which you access it, so please ensure that you check this page periodically for any updates.\")])]),_c('h1',[_vm._v(\" 4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Registration Participation Rules, Obligations, Account Integrity and Licences \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"As part of the registration process you will need to create an account, including a username & password. Each User is required to register by completing theonline formon the Platform prior to posting an Event or participating in an Event. It is your responsibility as a User to ensure that the information you provide is accurate, not misleading and relates to you. You cannot create an account or username & password using the names and information of another person or using words that are the trademarks or the property of another party (including ours), or vulgar, obscene or in any other way inappropriate. We reserve the right with or without notice to suspend or terminate any account in breach.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"As the User you agree to ensure that its registration details are correct and kept up to date. Each User is responsible for keeping its personal username and password secure and confidential. The user should contact Procure Logic Limited if the User becomes aware of any unauthorized access to its account. It is strictly forbidden for log-in details to be shared within and/or externally to an organisation as this could represent a serious breach of security and lead to significant risks for all parties. The Platform may periodically be updated with tools, utilities, improvements, third party applications, or general updates to improve the Services. The User agrees to receive these updates.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Hosts will be charged for a Licence to use the Procure Logic Limited Platform to run Events as per the pricing detailed on thePlatform. The Licence will take the form of either an Annual Licence or a Monthly Licence and will be specific to a particular named individual within the Hosts organisation as identified by its e-mail address, log-in and contact details or the Hosts organisation (Organisation) as identified by its e-mail domain. An Annual Licence shall cover a full period of 12 months, commencing upon a Licence being assigned to a User or an Organisation. A Monthly Licence shall cover a full period of 1 month, commencing upon a Licence being assigned to a User or Organisation.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"In certain circumstances, for reasons including but not limited to a named User leaving employment of the Hosts organisation or changing roles at the Host, Procure Logic Limitedcan transfer the Licence to an alternative named User. Procure Logic Limitedreserves the right to consider the circumstances and to decide the appropriate outcome. Unless otherwise agreed in writing, each Licence may only be used by the associated named User.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The Host acknowledges that the use of the Platform is outside the control of Procure Logic Limited and is exclusively the Hosts responsibility\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"During an Event, the User will submit information or Bids on the basis of the terms of the Event set by the Host (the Event T&C). The Host is responsible for setting the participation/qualification criteria for each Event. By placing a Bid, the Participant agrees that it meets those criteria. Each Bid constitutes a legally binding offer by the Participant capable of acceptance by the Host.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The Participant will not be able to withdraw a Bid unless expressly allowed by the Host in writing. Any attempt to do so may constitute a breach of contract, and a Host may take legal action against the Participant and/or eject the Participant from the Event. In such circumstances, Procure Logic Limited shall have the right to terminate the Participants registration and use of the Platform.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The determination of the successful Participant is to be exclusively determined by the Host and there is no obligation on a Host to accept any Bids or to enter into a contract with the successful Participant (an Event Contract) unless the contrary is explicitly stated in the Event T&C.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.9\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited reserves the right to change, modify, substitute or remove without notice any information or services on the Platform from time to time.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.10\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The Host undertakes to abide by Procure Logic Limiteds acceptable use policy in terms of the Event details that it posts on the Platform and any other content it publishes via the Platform as set out in clause 11 below.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.11\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The Host acknowledges that due to the nature of the Internet, access to the Platform may be suspended, restricted or terminated at any time. If possible, notice will be given and all reasonable efforts will be made to avoid this.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.12\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users acknowledge that:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.12.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"during an Event, there may be discrepancies between the Participants local time clock and the Procure Logic Limiteds server Event time clock which are outside the control of Procure Logic Limited and that Procure Logic Limited is not responsible for any disagreements, problems or damages arising therefrom.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.12.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Hosts acknowledge that Procure Logic Limited may use anonymised information from the activities of Hosts on the Platform for marketing and commercial purposes in accordance with GDPR regulations. Procure Logic Limited shall only identify Hosts by name if the Host gives its written consent to a written request and no confidential information will be published.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"4.12.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Data Processing and Privacy. The Host will be the controller of the personal information that Procure Logic Limited processes via the Platform on the Hosts behalf and Procure Logic Limited we will process that personal information as a processor in accordance with Procure Logic Limited Data Processing policy.\")])]),_c('h1',[_vm._v(\" 5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Pricing, Plans and Features \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"5.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We make every effort to ensure that the pricing displayed on Procure Logic Limiteds Platform is correct. However, if an error in the pricing of a product, service, subscription or plan is found we reserve the right to either cancel your order or contact you to arrange payment of any extra sum due or refund any over-payment made by you (as applicable). \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"5.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We reserve the right to alter all product, service subscription or plan pricing and features without notice.\")])]),_c('h1',[_vm._v(\" 6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Payment and Credit Control \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"All Platform Services are billed on a monthly or annual basis in advance for the use of the Platform. The fees payable by the Host to Procure Logic Limited are as set out on the Platform (unless agreed in writing otherwise). Procure Logic Limited will require payment from the Host before the Host is able to use the Platform. The prices quoted on the Platform will be subject to VAT.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Participants will not be charged for either registration on the Platform or participation in Events.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"If you upgrade from a free or trial account you will be immediately charged for the necessary full account or accounts. Your monthly payment will be due from that date each month onwards.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where the Service has been paid for 12 months in advance, (where this option is offered by us) payment will be taken in full on each anniversary.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Unless otherwise stated fees will be payable in advance a licence being granted or in the event of renewals before the renewal period starts.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"No refund is available for any Licence fees paid.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Fees paid will be paid via the Platforms paying functionality.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"It is a condition of use that a valid debit or credit card (or other valid payment method accepted by us) is provided at all times in order for your account or accounts to remain active.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"6.9\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where a payment request is made by us and is declined (for whatever reason) access to your account or accounts may be suspended immediately until such time as a valid payment has been processed and a valid payment method is added to your account or accounts.\")])]),_c('h1',[_vm._v(\" 7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Cancellation Rights, Defects and Refunds \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You may cancel your account or accounts at any time.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"As this is a business-to-business transaction no right of cancellation exists under the Consumer Contracts (Information, Cancellation and Additional Charges) Regulations 2013.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Cancellation should be done using the facility provided.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Cancellation by any other means, including (but not limited to) email, telephone call, fax, text or instant message is not valid.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Full or partial refunds will only be given where the product or service provided by us is found to be defective. \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Refunds will not be given where we are unable to replicate the issue or the issue stems from the user or their equipment.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"In the case of a defective service, we reserve the right to offer an additional free period of service or issue a partial or full refund at our sole discretion. \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"7.8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where a refund is offered and accepted by you it will be made within seven working days of receiving your acceptance of a refund.\")])]),_c('p',{staticClass:\"MsoNormal\"}),_c('h1',[_vm._v(\" 8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Upgrading or Downgrading Accounts \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users have the ability to upgrade or downgrade their accounts and the services offered at any time.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where an account is downgraded the applicable user will be responsible for all the data within the account and any loss of data caused by the downgrading and removal of any service within the account connected to the downgrade.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users should backup and download their data prior to requesting a downgrade in service.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"No refunds will be offered for downgraded monthly accounts that have been downgraded before the monthly charge is due on the account. The new lower monthly charge will be automatically applied on the usual date of the monthly charge.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where an account is upgraded the new higher monthly charge will be automatically applied on the next usual date of the monthly charge.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"In the case 12-month accounts (when offered) a partial refund will be offered for all complete remaining months of the service where the user downgrades the account. No refund will be offered for days remaining in the month of the downgrade.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"8.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where a 12-month account is upgraded the increased charge will be applied immediately to the account for the additional amount due until the anniversary date.\")])]),_c('h1',[_vm._v(\" 9\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Trial and Offer Periods \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"9.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Trial or offer periods are offered at our sole discretion and are subject to withdrawal at any time and without notice.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"9.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where you are offered a free-trial period you will receive an email notification no less than seven days before your free-period is due to end and automatically convert into a paid subscription. Please note this does not apply where you are merely offered a discounted or offer-period paid-for subscription at a reduced rate that subsequently converts to a subscription at one of our full standard subscription rates.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"9.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Only one person may use a single free or trial account, the account cannot be shared amongst multiple individuals.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"9.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"These Terms of Service apply to all trial or offer-period accounts.\")])]),_c('h1',[_vm._v(\" 10\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Technical Support \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"10.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Technical support is provided via email and such other means as we decide in order to provide a proper service to users.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"10.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We reserve the right not to provide a full technical support service to free or trial account users.\")])]),_c('h1',[_vm._v(\" 11\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Specific Service Rules for Representation, Relationships Between Procure Logic Limited and Users, Disclaimer and Contracts Between Users \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"All Users agree that the Event and any associated material on the Platform are included on the instruction of the Host and are not representations, actions or statements of Procure Logic Limited and are not binding on of Procure Logic Limited but are representations, actions or statements of the Host. Users agree not to use, nor permit any third party to use, the Platform to upload, post, distribute, link to, publish, reproduce, engage in or transmit any of the following, including but not limited to:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.1.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Illegal, fraudulent, defamatory, obscene, pornographic, profane, threatening, indecent, libellous, abusive, hateful, harassing, offensive, inappropriate or objectionable information or communications of any kind, including without limitation conduct that would encourage flaming others, or criminal or civil liability under any local, state, federal or foreign law or in anyway seek to violate the rights of another user or third-party\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.1.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Content that would impersonate someone else or falsely represent your identity or qualifications, or that constitutes a breach of any individuals privacy;\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.1.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Virus, trojan horse, worm or other disruptive or harmful software or data; and\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.1.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Any information, software or Content which is not legally yours and without permission from the copyright owner or intellectual property rights owner.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"As a User you agree not to do any of the following:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Use or harvest data provided by other users in a way that they would objection to such use.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Encourage illegal activity or activity that violates the rights of other Service users or third parties, whether individuals or organisations.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Supply or post content calculated to deliberately mislead other users or third parties, including content falsely made to appear from or be endorsed by us.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"To pose as another user, third-party or organisation employee for the purposes of obtaining user or third-party information.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"To transmit or transfer any viruses, trojans, worms or any other malicious programs or code intended to spy on, gain control over, disrupt, destroy or in any other way impair any computer hardware or software or any other equipment.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Attempt to gain access to our servers or other equipment in order to disrupt, impair, overload or otherwise hinder or compromise the safety, security or privacy of any of the services provided by or relied upon by users and us.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Reframe or repurpose the Service or any content on it, remove, obscure or block any notices (and advertising as applicable) provided by us on the Service.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Load or provide access to content on the Service or link to other content from the Service, which infringes the trademark, patent, trade secret or any other proprietary right of a third-party or infringes any intellectual property law.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.9\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Send junk or spam email or emails or posts promoting pyramid schemes, chain letters or any other activity that invites users and others to participate in wasting their time and/or money.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.10\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Use any robot, spider, scraper or other technical means to access the Service or any content on the Service.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.2.11\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"If you breach these Terms of Service by sending any unsolicited bulk email, (spam) or any other bulk communications to users your actions will cause harm to us and to the Service. Such harm is difficult to quantify and as such you agree to pay us the sum of 50 for each and every individual email or other communication sent to a user or third-party. \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The above list is not intended to be exhaustive. We reserve the right to remove (with or without notice) any content and suspend or terminate (with or without notice) the account of any user who in our sole judgment is in breach of these Terms of Services.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited is not an agent of the Host and acts exclusively as a facilitator of Events, enabling Participants and Hosts to come together. Procure Logic Limited has no liability in connection with any relationship or dealings between the Participant and Host carried out or formed as a result of an Event.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users acknowledge that of Procure Logic Limited is not responsible or liable in any way for any contracts resulting from Event executed (as defined at clause 2.2 above) or any communications or data passing between Users via or outside of the Platform. It is the responsibility of Host and Participant to negotiate and enter into any resultant Event Contracts.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited makes no guarantees about the goods or services offered or provided by a User nor gives any assurances that any Participant will submit information in respect of any Event or that the successful Participant will provide the Host with products or services or payment. Participants will need to be validated or audited by the Host to satisfy itself that they are fit for purpose.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"11.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited undertakes to comply at all times with applicable legislation including without limitation all data protection legislation, notably the Data Protection Act 2018 and the General Data Protection Regulation 2016/679, each of which as may be updated from time to time (together Data Protection Legislation).\")])]),_c('h1',[_vm._v(\" 12\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Content Ownership \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"12.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"As a user you retain all ownership rights to content provided by you. All Users are responsible for all materials, data, and personal information (Content) uploaded, posted or stored through the Users use of the Platform. Procure Logic Limited is not responsible for the Content or data submitted by Users through the Platform. Users grant Procure Logic Limited a worldwide, royalty-free, non-exclusive license to host and store date on the behalf of the Users as part of providing the Platform services.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"12.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You warrant that any content provided by you does not belong to a third-party whose rights have been violated by the content being posted on to the Service. Furthermore, if any content is owned by a third-party you agree to pay all royalties, fines and settlements owed to that-party, without seeking any contribution from us.\")])]),_c('h1',[_vm._v(\" 13\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Copyrighted Material \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"13.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We do not condone or encourage in any way the posting of copyrighted or proprietary content or information by any users who are not the legal owners of such content.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"13.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Where notified of such breaches by the owner of such content we will remove the content from the Service as soon as practicable. But only where we can reasonably ascertain the true owner of such content.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"13.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"If as the owner of such content you believe that your rights have been infringed, you should contact us as soon as possible and provide all relevant information in writing.\")])]),_c('h1',[_vm._v(\" 14\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Content Monitoring \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"14.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users can freely add content to the Platform/Service. We do not monitor or assume any responsibility for content posted onto the Service. If at any time we decide to monitor the Service on any occasion it does not mean that we assume responsibility for removing any content or the conduct of any users at the time or in the future.\")])]),_c('h1',[_vm._v(\" 15\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Disclaimer of Warranties & No Warranty Re-Use Credential of Identity or Uptime \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"15.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited makes no guarantee as to the creditworthiness, existence, identity or authority of any Users. Each User acknowledges that the validity of all such information can never be fully verified, and that it is acting at its own risk in dealing with such other Users.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"15.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited cannot guarantee that a Users password will not become available to third parties who do not have authority to act on behalf of the Participant to make Bids or the Host to create or edit Events. Whilst Procure Logic Limited has made all reasonable efforts to ensure the Platform is secure, Users shall bear this risk.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"15.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited endeavours to provide you with the best service possible, we do not guarantee that the Platforms will be uninterrupted or error-free all of the time, and we are not responsible for any losses arising from such errors or interruptions. If you notice an error, please contact us. In particular, your access to the Platforms may be restricted at any time to allow for repairs, maintenance, improvement or for other reasons. We will endeavour to restore the Platforms availability as soon as we reasonably can. In the event that the Platforms are unavailable and you have any queries relating to new or existing orders, please contact us. In the Event that this level of availability is not reasonable, Procure Logic Limited shall discuss with the Host and agree an appropriate extension to the then current Licence at no cost.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"15.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Users use of the services, Platform software, and content is entirely at your own risk. Except as described in this agreement, the services are provided as is. To the maximum extent permitted by applicable law, Procure Logic Limited, its affiliates, and its third party providers, licensors, distributors or suppliers (collectively, suppliers) disclaim all warranties, express or implied, including any warranty that the services are fit for a particular purpose, title, merchantability, data loss, non-interference with or non-infringement of any intellectual property rights, or the accuracy, reliability, quality or content in or linked to the services or Platform. Procure Logic Limited and its affiliates and suppliers do not warrant that the services are secure, free from bugs, viruses, interruption, errors, theft or destruction. To the extent permitted by the applicable laws of England any implied warranties in respect to the Procure Logic Limiteds Platform related software, and content are limited to 60 days from the date of purchase or delivery of the services, whichever is sooner.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"15.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited, its affiliates and suppliers disclaim any representations or warranties that Users use of the services will satisfy or ensure compliance with any legal obligations or laws or regulations. You are solely responsible for ensuring that your use of the services is in accordance with applicable law.\")])]),_c('h1',[_vm._v(\"16\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"HOSTS CONDUCT\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"16.1 The Host undertakes that it will act in a responsible and professional manner.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"16.2 The Host agrees not to use any Participant data except for the purposes of its business activities.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"16.3 The Host undertakes to comply at all times with applicable legislation including without limitation all data protection legislation, notably the Data Protection Act 2018 and the General Data Protection Regulation 2016/679, each of which as may be updated from time to time (together Data Protection Legislation).\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"16.4 The Host undertakes not to access, store, distribute or transmit any viruses, or any material during the course of its use of the Platform that:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is unlawful, harmful, threatening, defamatory, obscene, infringing, harassing or racially or ethnically offensive\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"facilitates illegal activity\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"depicts sexually explicit images\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"promotes unlawful violence\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is discriminatory based on race, gender, colour, religious belief, sexual orientation, disability; or\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.4.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is otherwise illegal or causes damage or injury to any person or property.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"16.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited reserves the right to terminate its Agreement immediately via emailed notice with a Host that is in breach of this Agreement.\")])]),_c('p',{staticClass:\"MsoNormal\"}),_c('h1',[_vm._v(\" 17\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"PARTICIPANT CONDUCT \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"17.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"17.1 Participants undertake that they will act in good faith at all times in all dealings with Procure Logic Limited and other Users. Participants will only submit information via the Platform in relation to an Event by which they intend to be bound.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"17.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"17.2 Participants will not collude with other Users or third parties in order to manipulate an Event nor will they share pricing information with each other.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"17.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"17.3 Any participants registering on the Platform can be added to the Procure Logic Limited supplier database which could become accessible by any host for future Events. The participant can opt-in by emailing \")]),_c('a',{attrs:{\"href\":\"mailto:support@Procure-Logic.com\"}},[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"support@Procure-Logic.com\")])]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\".\")])]),_c('h1',[_vm._v(\" 18\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Intellectual Property Rights \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"18.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"18.1 All intellectual property rights in or relating to the Platform Services (including its text, graphics, audio, visual content, trademarks, logos, layout, structure and software) are owned by Procure Logic Limited or our licensors. You as the User agree that you will not reproduce, distribute, copy or publicly display any content which is not your own content, except to the extent required for your use of the Platform services in accordance with these Terms of Service.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"18.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"18.2 If you as the User upload any content to the Platform (your content), you grant us permission (a non-exclusive, perpetual, irrevocable, royalty-free, sub-licensable, transferable licence) to use your content in connection with the operation of the Platforms.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"18.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"18.3 You as the User represent and warrant that you have all rights, power and authority necessary to grant the licence in the paragraph above, and that all your content: (a) complies with all applicable law and regulation; and (b) does not infringe the rights of any third party. You acknowledge and agree that you are liable for all your content, in whatever form.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"18.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"18.4 Where Procure Logic Limited Platform Services contains links to other websites and/or resources provided by third parties, these links are provided for your information only. We have no control over the contents of those external websites or resources and accept no responsibility for them or for any loss or damage that may arise from your use of them.\")])]),_c('p',{staticClass:\"MsoNormal\"}),_c('h1',[_vm._v(\" 19\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Limitation of Liability \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"19.1 Except as expressly stated in clause 19.2 Procure Logic Limited shall have no liability for any losses or damages which may be suffered by any User (or any person claiming under or through a User), whether the same are suffered directly or indirectly or are immediate or consequential, and whether the same arise in contract, tort (including negligence) or otherwise howsoever, which fall within any of the following categories:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"special damage, even though Procure Logic Limited was aware of the circumstances in which such special damage could arise\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"loss of profits\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"loss of anticipated savings\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"loss of business opportunity\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"loss of or goodwill\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.1.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"loss of or damage to data.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Each User agrees that, in entering into an Agreement with Procure Logic Limited, either it did not rely on any representations (whether written or oral) of any kind or other than those expressly set out in these Terms or (if it did rely on any representations, whether written or oral, not expressly set out in these Terms) that it shall have no remedy in respect of such representations and (in either case) Procure Logic Limited shall have no liability otherwise than pursuant to these Terms; and\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"To the extent that not excluded by clauses 19.1 or 19.2 above or otherwise, the total liability of Procure Logic Limited, whether in contract, tort (including negligence) or otherwise and whether in connection with these Terms or the Agreement with a User or any collateral contract, or for all claims relating to this agreement shall in no circumstances exceed in aggregate a sum equal to the User has paid for the services during the twelve (12) months prior to such claim.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The exclusions in clause 9 shall apply to the fullest extent permissible at law but Procure Logic Limited does not exclude liability for:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.4.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"death or personal injury caused by the negligence of Procure Logic Limited, its officers, employees, contractors or agents; or\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.4.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"fraud or fraudulent misrepresentation; or\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.4.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"breach of the obligations implied by Section 12 Sale of Goods Act 1979 or Section 2 Supply of Goods and Services Act 1982; or\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.4.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"any other liability which cannot be excluded by law.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited is not responsible for the actions of Users. Users should make any complaints or claims they may have relating to any Event to the other relevant User not to Procure Logic Limited.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited has no responsibility or liability for actions or omissions of any User or arising from any actual or abortive Events or for any data downloaded from the Platform or otherwise arising or provided by a User in relation to another User.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Whilst Procure Logic Limited will take all reasonable measures to protect the Platform against such threats, it is each Users responsibility to take precautions against vulnerability to any computer virus, bugs, or other similar programmes arising from Users use of the Platform and Procure Logic Limited has no liability in respect thereof.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited will also have no liability in respect of any transmissions that Users send through the Platform and Users do so entirely at their own risk.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"19.9\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited reserves the right, in its sole discretion and at its own expense, to assume the exclusive defence and control of any Claims. You agree to reasonably cooperate as requested by Procure Logic Limited in the defence of any Claims.\")])]),_c('h1',[_vm._v(\"20\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Indemnity\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"20.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You the User agrees to indemnify and hold Procure Logic Limited and its respective officers and employees harmless from any loss, fines, fees, liability or claim made by any third-party arising from your breach of these Terms of Service whilst using the Platform Service or any other service provided by us.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"20.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Each User agrees to indemnify Procure Logic Limited against all liability arising out of:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"20.2.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"any breach of these Terms by that User;\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"20.2.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"in respect of a Host, any third-party claims arising from the Hosts running of any Event via the Platform\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"20.2.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"any action taken against Procure Logic Limited by another User or a third party resulting from that initial Users actions or omissions\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"20.2.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"any breach of Data Protection Legislation.\")])]),_c('h1',[_vm._v(\"21\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Termination\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited may terminate your user account and all content and materials associated with it at any time where these Terms & Conditions have been breached. Such termination can be with or without notice. As a user you can choose to terminate your account at any time (subject to any payment plan entered into) and are free to remove any content you have created on termination.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited reserves the right, without liability, to:\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"terminate its Agreement with a User in the event that the User has failed to pay any fees within 7 days of the due date\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"without notice\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"terminate any Event\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"ban any User from using the Platform\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"modify or withdraw access to the Platform\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"reject any registration or access to the Platform and to temporarily or indefinitely suspend any User\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.7\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"withdraw usernames and passwords should Procure Logic Limited believes they have been compromised.\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.2.8\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"may terminate a free account at any time\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Subject to clause 19.4, a User may terminate its Agreement with Procure Logic Limited if Procure Logic Limited is in breach of such Agreement and such breach, if remediable, has not been remedied by Procure Logic Limited within 14 days of written notice from the User.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"A User may not terminate its Agreement with Procure Logic Limited whilst fees to Procure Logic Limited remain outstanding.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"On termination of an Agreement, Licences will be revoked and all information belonging to the User will be processed according to standard GDPR obligations.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"21.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Any termination of this Agreement shall not affect Procure Logic Limiteds rights to any payments due to it.\")])]),_c('h1',[_vm._v(\" 22\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Access and Backups \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"22.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We take all reasonable steps to ensure that the Service is available and functioning fully at all times. However, in the event the Service is unavailable or functioning incorrectly either wholly or partly we shall offer (where possible) the opportunity of repeat performance of the Service we should have offered to you in the first place where appropriate and practical. Where this is not possible, we will offer full or part-refunds subject to clause 17.3 below. \")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"22.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Refunds will not be offered where a third-party provider who supplies a service to you, rather than us causes the issue.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"22.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"You are solely responsible for backing up any content or data entered onto the Service by you. We strongly recommend that you regularly and completely backup all of your content and data on the Service.\")])]),_c('h1',[_vm._v(\"23\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Disclaimer\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"23.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We are not responsible for the accuracy of any content on the Service, (except where such Content is provided by us) nor any advertisements placed on the Service.\")])]),_c('p',{staticClass:\"MsoNormal\"},[_c('span',{staticStyle:{\"font-size\":\"8.0pt\",\"line-height\":\"107%\"}})]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"23.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"We are not responsible for any links to third-party websites from the Service and the inclusion of any link does not imply an endorsement of a third-party website or service by us.\")])]),_c('h1',[_vm._v(\" 24\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Confidentiality \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited and each User agrees to keep all information submitted to the Platform or which otherwise is disclosed by a party under these Terms or in relation to an Event confidential (Confidential Information) and shall not disclose any such information to any third parties without the consent of the owner of the Confidential Information save that it can disclose such information to those of its employees, agents or professional advisers who have a need to know and who are bound to keep the information confidential.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Subject to clause 4.12.3 above, Procure Logic Limited reserves the right to analyse any data on the Platform (site) with a view to making improvements. but has no obligation to, monitor content on the Platform (site). Notice of these changes does not have to be given and the results that are displayed may be subject to change based on these improvements.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited and the Users agree to use each others Confidential Information solely in connection with the performance of their respective obligations under their Agreement and pursuant to these Terms and not otherwise or for the benefit of any third party.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Each party will, at its own expense, take all reasonable and appropriate steps to enforce any duty of confidence owed to it by any party (including employees, agents, sub-contractors and professional advisors), insofar as such enforcement appears to be necessary for the protection of the confidentiality of the Confidential Information and/or any intellectual property.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The provisions of clause 21 will not apply to the whole or any part of the Confidential Information which;\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is lawfully obtained free of any duty of confidentiality\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is already in the other partys possession other than as a result of a breach of this clause 21\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"the party can demonstrate it is in the public domain (other than as a result of a breach of this clause 21);\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is independently developed or acquired by that party without access to the Confidential Information\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5.5\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is disclosed pursuant to a judicial or governmental order, provided that the party required to disclose, where legally viable, gives the owner of the Confidential Information reasonable notice prior to such disclosure to enable it to seek a protective order or equivalent; or\")])]),_c('h3',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.5.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"is disclosed with prior written consent of the other party\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"24.6\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited may freely use feedback the User provides. User agrees that Procure Logic Limited may use Users feedback, suggestions, or ideas in any way, including in future modifications of the Procure Logic Limited products, services, Platform or advertising or marketing materials. The User grants Procure Logic Limited a perpetual, worldwide, fully transferable, sublicensable, non-revocable, fully paid-up, royalty free license to use the feedback the User provide to Procure Logic Limited in any way.\")])]),_c('h1',[_vm._v(\" 25\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Governing Law & Jurisdiction \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"25.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"These Terms and the Agreement between the parties and any disputes or claims arising out of or in connection with them or their subject matter or formation (including non-contractual disputes or claims) are governed by, and construed in accordance with, the law of England.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"25.2\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The parties irrevocably agree that the courts of England have exclusive jurisdiction to settle any dispute or claim that arises out of or in connection with this these Terms and the Agreement between the parties or their subject matter or formation (including non-contractual disputes or claims).\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"25.3\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Any translation of this Agreement is done for local requirements and in the event of a dispute between the English and any non-English version, the English version of this Agreement shall govern. In the event of a dispute the parties confirm that they have requested that this Agreement and all related documents be drafted in English.\")])]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"25.4\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited does not represent that the Platform services and/or content within the Platform services is appropriate or available for use in all jurisdictions or countries. Procure Logic Limited prohibits accessing content from within countries or states where such content is illegal. You are responsible for compliance with all applicable laws pertaining to your use and access to the Procure Logic Limited Platform services in your jurisdiction.\")])]),_c('h1',[_vm._v(\" 26\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Export and Trade Restrictions \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"26.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The User acknowledge that the Procure Logic Limiteds Platform Services including the mobile application, and the underlying software may include U.S. technical data subject to restrictions under export control laws and regulations administered by the United States government. You agree that you and your personnel who use the Platform are not prohibited from receiving the Platform services under the laws of the United States, England, Wales, or other applicable jurisdiction. For example, you are not on the U.S. Treasury Departments list of Specially Designated Nationals or the United Kingdom HM Treasury Financial Sanctions List or are subject to any other similar prohibition. You will not export or re-export any part of the Procure Logic Limiteds Platform services, in violation of these laws and regulations, directly or indirectly.\")])]),_c('h1',[_vm._v(\" 27\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Updating of Terms \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"27.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Procure Logic Limited reserves the right to change these Terms at any time. These will be posted on the Platform and will come into immediate effect. If the Platform is used after such posting, then the User will be indicating its agreement to be bound by the new version of these Terms.\")])]),_c('h1',[_vm._v(\"28\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Severability\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"28.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"The paragraphs, sub-paragraphs and clauses of these Terms of Service shall be read and construed independently of each other. Should any part of these Terms of Service or paragraphs, sub-paragraphs or clauses be found invalid it shall not affect the remaining paragraphs, sub-paragraphs and clauses. If any provision of the Agreement between parties is judged to be illegal or unenforceable, the continuation in full force and effect of the remainder of the provisions will not be affected.\")])]),_c('h1',[_vm._v(\"29\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Waiver\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"29.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Failure by us to enforce any accrued rights under these Terms of Service is not to be taken as or deemed to be a waiver of those rights unless we acknowledge the waiver in writing. \")])]),_c('h1',[_vm._v(\" 30\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Entire Terms & Conditions \")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"30.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"These Terms & Conditions set out the entire agreement and understanding between Procure Logic Limited and you as the User. \")])]),_c('h1',[_vm._v(\"31\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}}),_vm._v(\"Notices\")]),_c('h2',[_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\"}},[_vm._v(\"31.1\"),_c('span',{staticStyle:{\"font\":\"7.0pt\",\"margin-left\":\"1rem\"}})]),_c('span',{staticStyle:{\"font-size\":\"11.0pt\",\"font-family\":\"\\\"Arial\\\",sans-serif\",\"font-weight\":\"normal\"}},[_vm._v(\"Any notice required to be given pursuant to these Terms of Service or an Agreement between Users shall, unless otherwise stated in these Terms, be in writing, and shall be sent to the other party by email, provided that emails are confirmed within 24 hours by the receiving party. Correctly directed emails shall be deemed to have been received instantaneously on transmission, provided that they are confirmed as set out in this Agreement. All Notices should be sent admin@procure-logic.com.\")])])])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Terms.vue?vue&type=template&id=4df21e8e&scoped=true&\"\nvar script = {}\nimport style0 from \"./Terms.vue?vue&type=style&index=0&id=4df21e8e&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4df21e8e\",\n null\n \n)\n\nexport default component.exports","import { RouteConfig } from 'vue-router';\r\n\r\nexport const quotesRoutes = [\r\n\t{\r\n\t\tpath: '/quotes/:buyerRequestId',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: false\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"quote-details\" */ '@/views/quotes/QuoteDetails.vue'\r\n\t\t\t)\r\n\t}\r\n\t// {\r\n\t// \tpath: '/quotes',\r\n\t// \tmeta: {\r\n\t// \t\trequiresAuth: true\r\n\t// \t},\r\n\t// \tcomponent: () =>\r\n\t// \t\timport(/* webpackChunkName: \"quotes\" */ '@/views/quotes/Quotes.vue')\r\n\t// }\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const settingsRoutes = [\r\n\t{\r\n\t\tpath: '/settings',\r\n\t\tname: 'settings',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"settings\" */ '@/views/settings/Settings.vue'),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/settings',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next(`/settings/account`);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'account',\r\n\t\t\t\tname: 'settings-account',\r\n\t\t\t\tcomponent: () =>\r\n\t\t\t\t\timport(\r\n\t\t\t\t\t\t/* webpackChunkName: \"settings-account\" */ '@/views/settings/SettingsAccountDetails.vue'\r\n\t\t\t\t\t)\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'buyer',\r\n\t\t\t\tname: 'settings-buyer',\r\n\t\t\t\tcomponent: () =>\r\n\t\t\t\t\timport(\r\n\t\t\t\t\t\t/* webpackChunkName: \"settings-buyer\" */ '@/views/settings/SettingsBuyerDetails.vue'\r\n\t\t\t\t\t)\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'billing',\r\n\t\t\t\tname: 'settings-billing',\r\n\t\t\t\tcomponent: () =>\r\n\t\t\t\t\timport(\r\n\t\t\t\t\t\t/* webpackChunkName: \"settings-billing\" */ '@/views/settings/SettingsBillingDetails.vue'\r\n\t\t\t\t\t)\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: 'branding',\r\n\t\t\t\tname: 'settings-branding',\r\n\t\t\t\tcomponent: () =>\r\n\t\t\t\t\timport(\r\n\t\t\t\t\t\t/* webpackChunkName: \"settings-billing\" */ '@/views/settings/SettingsBranding.vue'\r\n\t\t\t\t\t)\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const teamRoutes = [\r\n\t{\r\n\t\tpath: '/team',\r\n\t\tname: 'team',\r\n\t\tredirect: '/team/manage'\r\n\t},\r\n\t{\r\n\t\tpath: '/team/manage',\r\n\t\tname: 'team-manage',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"team-manage\" */ './TeamManage.vue')\r\n\t},\r\n\t{\r\n\t\tpath: '/team/invite',\r\n\t\tname: 'team-invite',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: false\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"team-invite\" */ './InviteDetails.vue')\r\n\t}\r\n] as RouteConfig[];\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('v-row',[_c('v-col',{attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"5\"}},[_c('div',{staticClass:\"current-lowest-quote print-group\"},[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.finalResult'))+\" \")]),_c('div',{staticClass:\"quote-container\"},[_c('div',{staticClass:\"quote-text\",class:_vm.getTheStatus()},[_vm._v(\" \"+_vm._s(_vm.getTheStatus())+\" \")])])])]),_c('v-spacer'),_c('v-btn',{staticClass:\"d-print-none\",staticStyle:{\"margin-top\":\"1rem\"},attrs:{\"color\":\"primary\",\"rounded\":\"\",\"depressed\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.downloadResponsesPdf()}}},[_c('v-icon',[_vm._v(\"ri-download-line\")]),_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.downloadResponses'))+\" \")],1)],1),_c('v-row',[_c('v-col',{staticClass:\"print-group description-box\",attrs:{\"md\":\"4\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.contractValue'))+\" \")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h4',[_vm._v(_vm._s((_vm.contract.latestLinkedContract.contractValue).toFixed(2))+\" (\"+_vm._s(_vm.buyerDetails && _vm.buyerDetails.currency ? _vm.buyerDetails.currency.code : 'GBP')+\")\")])])],1)],1),_c('v-col',{staticClass:\"print-group description-box\",attrs:{\"md\":\"6\"}},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.summary'))+\" \")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.contract.summary)}})])],1)],1)],1),_c('v-row',[_c('v-col',{staticClass:\"print-group description-box\",attrs:{\"md\":\"6\"}},[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.Company'))+\" \")])])],1),_c('v-row',[_c('v-col',[_c('h3',{staticStyle:{\"color\":\"#48c45b\"}},[_c('span',{staticClass:\"mdi mdi-bank\",staticStyle:{\"margin-right\":\"0.7rem\"}}),_vm._v(\" \"+_vm._s(_vm.contract.supplier.name)+\" \")])])],1)],1),_c('v-col',{staticClass:\"print-group description-box\",attrs:{\"md\":\"4\"}},[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.Category'))+\" \")])])],1),_c('v-row',[_c('v-col',[_c('h3',{staticStyle:{\"color\":\"#4879c4\"}},[_c('span',{staticClass:\"mdi mdi-cog\",staticStyle:{\"margin-right\":\"0.7rem\"}}),_vm._v(\" \"+_vm._s(_vm.contract.category.name)+\" \")])])],1)],1)],1),(_vm.contract.latestLinkedContract.attachedFilePath)?_c('div',[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('Contract.RequestsResponsesPage.AttachedFile')))])])],1),_c('v-row',[_c('v-col',[_c('span',{staticClass:\"mdi mdi-36px mdi-file-document-outline\"}),_c('a',{staticStyle:{\"font-size\":\"large\"},on:{\"click\":function($event){return _vm.DownloadFile(_vm.contract.latestLinkedContract.attachedFilePath)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.ClickHere'))+\" \")]),_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.ToDownload'))+\" \")])],1)],1):_vm._e(),_c('div',{staticClass:\"print-group\"},[_c('v-row',{staticClass:\"mt-6\"},[_c('v-col',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.linkedContracts'))+\" \")])])],1),_c('v-data-table',{attrs:{\"hide-default-footer\":\"\",\"headers\":_vm.linkedContractsHeaders,\"items\":_vm.contract.linkedContracts,\"loading\":_vm.linkedContractsLoading,\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"no-data-text\":_vm.$t('Contract.RequestsResponsesPage.noDataText')},scopedSlots:_vm._u([{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ContractBaseStatusChip',{attrs:{\"state\":item.status}})]}},{key:\"item.expirationDate\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',[_vm._v(_vm._s(new Date(item.expirationDate).toDateString()))])]}},{key:\"item.contractValue\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticStyle:{\"font-weight\":\"bold\",\"text-align\":\"center\"}},[_vm._v(_vm._s((item.contractValue).toFixed(2)))])]}},{key:\"item.attachedFilePath\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"rounded\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.DownloadFile(item.attachedFilePath)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsResponsesPage.Download'))+\" \")])]}},{key:\"item.id\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.status == _vm.ContractStatusEnum.Live || item.status == _vm.ContractStatusEnum.Upcoming)?_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"rounded\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.openLinkedContractDialog(item.id)}}},[_c('span',{staticClass:\"mdi mdi-pencil mdi-18px\"})]):_vm._e()]}}])})],1),_c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"click:outside\":function($event){return _vm.closeLinkedContractDialog()}},model:{value:(_vm.linkedContractDialog),callback:function ($$v) {_vm.linkedContractDialog=$$v},expression:\"linkedContractDialog\"}},[_c('LinkedContractEditForm',{attrs:{\"cancel\":_vm.closeLinkedContractDialog,\"onSaved\":_vm.onSaved,\"id\":_vm.SelectLinkedContract}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[_c('h2',[_vm._v(_vm._s(_vm.$t('Contract.EditLinkedContractForm.EditLinkedContract')))])]),_c('v-card-text',[_c('v-autocomplete',{attrs:{\"items\":_vm.team,\"placeholder\":_vm.$t('Contract.RenewContractForm.SelectOwner'),\"label\":_vm.$t('Contract.RenewContractForm.Owner'),\"outlined\":\"\",\"clearable\":\"\",\"rounded\":\"\",\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"hide-no-data\":\"\"},model:{value:(_vm.selectedOwner),callback:function ($$v) {_vm.selectedOwner=$$v},expression:\"selectedOwner\"}}),_c('v-text-field',{attrs:{\"id\":\"contractValue\",\"type\":\"number\",\"step\":\"0.1\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"0.00\",\"label\":_vm.$t('Contract.EditLinkedContractForm.ContractValue')},model:{value:(_vm.contractValue),callback:function ($$v) {_vm.contractValue=$$v},expression:\"contractValue\"}}),_c('v-datetime-picker',{attrs:{\"id\":\"startDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('Contract.RenewContractForm.SelectStartDate'),\"label\":_vm.$t('Contract.RenewContractForm.StartDate'),\"timePickerProps\":{ format: '24hr' }},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}]),model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-datetime-picker',{attrs:{\"id\":\"expirationDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('Contract.RenewContractForm.SelectExpirationDate'),\"label\":_vm.$t('Contract.RenewContractForm.ExpirationDate'),\"timePickerProps\":{ format: '24hr' }},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}]),model:{value:(_vm.expirationDate),callback:function ($$v) {_vm.expirationDate=$$v},expression:\"expirationDate\"}}),_c('v-datetime-picker',{attrs:{\"id\":\"reminderDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('Contract.RenewContractForm.SelectReminderDate'),\"label\":_vm.$t('Contract.RenewContractForm.ReminderDate'),\"timePickerProps\":{ format: '24hr' }},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}]),model:{value:(_vm.reminderDate),callback:function ($$v) {_vm.reminderDate=$$v},expression:\"reminderDate\"}}),_c('v-row',[_c('v-col',[_c('v-row',[_c('v-col',[_c('h5',{staticClass:\"grey--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RenewContractForm.AttachFile'))+\" \")])])],1),_c('v-file-input',{attrs:{\"label\":\"Files\",\"outlined\":\"\",\"rounded\":\"\",\"show-size\":\"\",\"accept\":'.txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif',\"prepend-icon\":\"ri-attachment-line\",\"multiple\":\"\"},on:{\"change\":_vm.handleFileChange},model:{value:(_vm.attachedFiles),callback:function ($$v) {_vm.attachedFiles=$$v},expression:\"attachedFiles\"}})],1),_c('v-col',{staticClass:\"align-center\"},[_c('v-btn',{staticStyle:{\"margin-bottom\":\"15px\"},attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\"},on:{\"click\":_vm.openFileSelection}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RenewContractForm.AddMoreFiles'))+\" \")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":\".txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif\",\"multiple\":\"\"},on:{\"change\":function($event){return _vm.addMoreFiles($event.target.files)}}})],1)],1)],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('Contract.RenewContractForm.Cancel')))]),_c('v-spacer'),_c('v-btn',{attrs:{\"loading\":_vm.saving,\"color\":\"primary\",\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(_vm._s(_vm.$t('Contract.RenewContractForm.Save')))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport { TeamMember } from '@/models/teamMember';\r\nimport TeamApiService from '@/api/team.api';\r\nimport { RenewContract } from '@/api/contracts.api';\r\nimport ContractApiService from '@/api/contracts.api';\r\nimport { LinkedContractsVM } from '@/models/contract';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog }\r\n})\r\nexport default class LinkedContractEditForm extends Vue {\r\n\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public onSaved!: any;\r\n\t@Prop() public id!: any;\r\n\r\n\tpublic name = '';\r\n\tpublic expirationDate: Date | null = null;\r\n\tpublic startDate: Date | null = null;\r\n\tpublic reminderDate: Date | null = null;\r\n\tpublic team: TeamMember[] = [];\r\n\tpublic teamFoundAutocomplete: any[] = [];\r\n\tpublic selectedOwner: TeamMember | undefined = undefined;\r\n\tpublic linkedContract: LinkedContractsVM | null = null;\r\n\tpublic attachedFiles: File[] = [];\r\n\tpublic renewContract: RenewContract | null = null;\r\n\tpublic teamLoading = false;\r\n\tpublic linkedContractLoading = false;\r\n\tpublic timerId = 0;\r\n\tpublic email = '';\r\n\tpublic contractValue = 0.00.toFixed(2);\r\n\r\n\tpublic saving = false;\r\n\r\n\tcreated() {\r\n\t\tthis.getTeam();\r\n\t}\r\n\r\n\tpublic editLinkedContractRequest() {\r\n\t\tif (!this.selectedOwner) {\r\n\t\t\tToast.error(this.$t('Contract.RenewContractForm.OwnerMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tif (!this.contractValue) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.ContractValueMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.startDate) {\r\n\t\t\tToast.error(this.$t('Contract.RenewContractForm.StartDateMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.expirationDate) {\r\n\t\t\tToast.error(this.$t('Contract.RenewContractForm.ExpirationDateMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.reminderDate) {\r\n\t\t\tToast.error(this.$t('Contract.RenewContractForm.ReminderDateMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.startDate >= this.expirationDate) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t(\r\n\t\t\t\t\t'Contract.RenewContractForm.StartDateGreaterThanExpiration'\r\n\t\t\t\t).toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.reminderDate >= this.expirationDate) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t(\r\n\t\t\t\t\t'Contract.RenewContractForm.ReminderDateGreaterThanExpiration'\r\n\t\t\t\t).toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.saving = true;\r\n\t\tif (this.linkedContract != null) {\r\n\t\t\tContractApiService.editLinkedContractRequest({\r\n\t\t\t\tId: this.linkedContract.id,\r\n\t\t\t\tExpirationDate: this.expirationDate,\r\n\t\t\t\tStartDate: this.startDate,\r\n\t\t\t\tReminderDate: this.reminderDate,\r\n\t\t\t\tattachedFiles: this.attachedFiles as File[],\r\n\t\t\t\tOwner: this.selectedOwner,\r\n\t\t\t\tContractValue: Number(this.contractValue)\r\n\t\t\t})\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.cancel();\r\n\t\t\t\t\tthis.onSaved();\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tToast.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tthis.saving = false;\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n\tpublic getTeam() {\r\n\t\tthis.teamLoading = true;\r\n\t\tTeamApiService.getTeam()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.team = res.team;\r\n\t\t\t\tthis.getLinkedContract();\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.teamLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic getLinkedContract() {\r\n\t\tthis.linkedContractLoading = true;\r\n\t\tContractApiService.getLinkedContract(this.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.linkedContract = res;\r\n\t\t\t\tthis.startDate = new Date(res.startDate + '');\r\n\t\t\t\tthis.reminderDate = new Date(res.reminderDate + '');\r\n\t\t\t\tthis.expirationDate = new Date(res.expirationDate + '');\r\n\t\t\t\tthis.contractValue = res.contractValue.toFixed(2);\r\n\t\t\t\tif (this.team != null && this.team.length > 0) {\r\n\t\t\t\t\tthis.selectedOwner = this.team.find((item: TeamMember) => item.id == res.owner.id);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.linkedContractLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic save() {\r\n\t\tthis.editLinkedContractRequest();\r\n\t}\r\n\r\n\tpublic handleFileChange(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files).filter(file => !this.attachedFiles.includes(file));\r\n \t this.attachedFiles.push(...newFiles);\r\n \t}\r\n\t}\r\n\r\n\tpublic openFileSelection() {\r\n \t// Programmatically trigger file input click\r\n \tconst fileInput = this.$refs.fileInput as HTMLInputElement | undefined;\r\n \tif (fileInput) {\r\n \t fileInput.click();\r\n \t}\r\n\t}\r\n\r\n\tpublic addMoreFiles(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files);\r\n \t this.attachedFiles = [...this.attachedFiles, ...newFiles];\r\n \t}\r\n\t}\r\n\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedContractEditForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkedContractEditForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinkedContractEditForm.vue?vue&type=template&id=6e5fbd83&scoped=true&\"\nimport script from \"./LinkedContractEditForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinkedContractEditForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LinkedContractEditForm.vue?vue&type=style&index=0&id=6e5fbd83&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e5fbd83\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCardTitle,VCol,VFileInput,VIcon,VRow,VSpacer,VTextField})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Getter, namespace } from 'vuex-class';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { ContractBaseStatus } from '@/models/enums/contractBaseStatus';\r\nimport { GetBuyerContractOutput } from '@/models/contract';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport Toast from '@/services/toast.service';\r\nimport DoughnutChart from '@/views/buyerRequests/quickQuotes/DoughnutChart.vue';\r\nimport BarChart from '@/views/buyerRequests/quickQuotes/BarChart.vue';\r\nimport TaxTypeService from '@/services/taxType.service';\r\nimport ContractsApiService from '@/api/contracts.api';\r\nimport ContractBaseStatusChip from '@/components/ContractBaseStatusChip.vue';\r\nimport LinkedContractEditForm from '@/components/LinkedContractEditForm.vue';\r\nimport DateService from '@/services/date.service';\r\nimport { el, tr } from 'date-fns/locale';\r\n\r\nconst buyer = namespace('buyer');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, DoughnutChart, BarChart, ContractBaseStatusChip, LinkedContractEditForm }\r\n})\r\nexport default class RequestResponses extends Vue {\r\n\t@Prop() public contract!: GetBuyerContractOutput;\r\n\t@Prop() public buyerDetails!: BuyerDetails;\r\n\tpublic responseFunnelSeries: any[] = [];\r\n\tpublic responseFunnelLabels: any[] = [];\r\n\tpublic responseFunnelLoading = false;\r\n\tpublic linkedContractsLoading = false;\r\n\tpublic linkedContractDialog = false;\r\n\tpublic documnetLoading = false;\r\n\tpublic reasonDialog = false;\r\n\tpublic SelectLinkedContract = null;\r\n\tpublic ContractStatusEnum = ContractBaseStatus;\r\n\r\n\tpublic selectedReason = '';\r\n\tpublic linkedContractsHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.status'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'status'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.owner'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'owner.fullName',\r\n\t\t\tsortable: true\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.email'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'owner.email'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.contractValue') + ' (' + (this.buyerDetails && this.buyerDetails.currency ? this.buyerDetails.currency.code : 'GBP') + ')',\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'contractValue',\r\n\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.expirationDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'expirationDate',\r\n\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.ContractDocument'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'attachedFilePath',\r\n\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.ContractActions'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'id'\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tconsole.log(\"Temp\");\r\n\t}\r\n\tpublic getTheStatus() {\r\n\t\tif (this.contract.latestLinkedContract.status != null) {\r\n\t\t\tconst enumKey = this.getKeyByValue(this.contract.latestLinkedContract.status);\r\n\t\t\treturn enumKey;\r\n\t\t}\r\n\t\t//return 'Archive';\r\n\t}\r\n\r\n\tpublic downloadResponsesPdf() {\r\n\t\twindow.print();\r\n\t}\r\n\tpublic getKeyByValue(value: number) {\r\n\t\tconst indexOfS = Object.values(ContractBaseStatus).indexOf(value as number as ContractBaseStatus);\r\n\t\tconst key = Object.keys(ContractBaseStatus)[indexOfS];\r\n\r\n\t\treturn key;\r\n\t}\r\n\tpublic DownloadFile(filePath) {\r\n\t\tthis.documnetLoading = true;\r\n\t\tContractsApiService.getDocument(filePath)\r\n\t\t\t.then(res => {\r\n\t\t\t\tres.filesPaths.forEach(url => {\r\n\t\t\t\t\twindow.open(url);\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.documnetLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic openLinkedContractDialog(id) {\r\n\t\tthis.SelectLinkedContract = id;\r\n\t\tthis.linkedContractDialog = true;\r\n\t}\r\n\tpublic closeLinkedContractDialog() {\r\n\t\tthis.linkedContractDialog = false;\r\n\t}\r\n\tpublic onSaved() {\r\n\t\tlocation.reload();\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestResponses.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestResponses.vue?vue&type=template&id=294b52b2&scoped=true&\"\nimport script from \"./RequestResponses.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestResponses.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RequestResponses.vue?vue&type=style&index=0&id=294b52b2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"294b52b2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VDataTable,VDialog,VIcon,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4\",attrs:{\"id\":\"ContractsIndexListPageMainDiv\"}},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"id\":\"searchText\",\"autocomplete\":\"new\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('Contract.RequestsManagePage.searchContractPlaceholder'),\"label\":_vm.$t('Contract.RequestsManagePage.searchContracts')},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}})],1),_c('v-col',[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.listContracts()}}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.RequestsManagePage.search'))+\" \")])],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.buyerRequestHeaders,\"items\":_vm.contracts,\"loading\":_vm.approvalRequestsLoading,\"no-data-text\":_vm.$t('Contract.RequestsManagePage.noDataText')},on:{\"click:row\":_vm.goToRequest},scopedSlots:_vm._u([{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ContractBaseStatusChip',{attrs:{\"state\":item.status}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport Toast from '@/services/toast.service';\r\nimport { ContractVM } from '@/models/contract';\r\nimport ContractsApiService from '@/api/contracts.api';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport ApprovalRequestStateChip from '@/components/ApprovalRequestStateChip.vue';\r\nimport ContractBaseStatusChip from '@/components/ContractBaseStatusChip.vue';\r\nimport DateService from '@/services/date.service';\r\nimport {\r\n\tIS_BUYER_SUBSCRIBED,\r\n\tIS_ACCOUNT_APPROVER,\r\n\tIS_ACCOUNT_ATLEAST_BUYER,\r\n} from '@/store/auth/getters';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, ApprovalRequestStateChip,ContractBaseStatusChip }\r\n})\r\nexport default class ContractRequestsManage extends Vue {\r\n\t@auth.Getter(IS_BUYER_SUBSCRIBED) public isBuyerSubscribed!: boolean;\r\n\t@auth.Getter(IS_ACCOUNT_APPROVER) public isAccountApprover!: boolean;\r\n\t@auth.Getter(IS_ACCOUNT_ATLEAST_BUYER) public isAccountAtleastBuyer!: boolean;\r\n\tpublic contracts: ContractVM[] = [];\r\n\tpublic selectedBuyerRequest: ContractVM | null = null;\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic approvalRequestsLoading = false;\r\n\tpublic searchText = '';\r\n\tpublic buyerRequestHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Status'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'status',\r\n\t\t\tsortable: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Title'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'title'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Supplier'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'supplierName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Category'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'categoryName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Owner'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'ownerName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.ExpirationDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'expirationDate'\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.listContracts();\r\n\t}\r\n\r\n\tpublic goToRequest(item: ContractVM, row: any) {\r\n\t\tthis.selectedBuyerRequest = item;\r\n\t\tthis.$router.push(`/contracts/${item.id}/responses`);\r\n\t}\r\n\r\n\r\n\tpublic listContracts() {\r\n\t\tthis.approvalRequestsLoading = true;\r\n\t\tContractsApiService.listContracts(this.searchText)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.contracts = res.contracts.map(x => {\r\n\t\t\t\t\t\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\texpirationDate: x.expirationDate==null || x.expirationDate == undefined? '--' :new Date(x.expirationDate).toDateString()\r\n\t\t\t\t\t\t// endDate: DateService.formatTableDateString(x.endDate)\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.approvalRequestsLoading = false;\r\n\t\t\t});\r\n\t}\r\n\t\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestsManage.vue?vue&type=template&id=5dd23631&scoped=true&\"\nimport script from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestsManage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RequestsManage.vue?vue&type=style&index=0&id=5dd23631&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5dd23631\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VDataTable,VRow,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticStyle:{\"float\":\"right\"}},[_c('label',{staticStyle:{\"padding-right\":\"0.5rem\"},attrs:{\"for\":\"language-select\"}},[_vm._v(_vm._s(_vm.$t('Languages')))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLang),expression:\"selectedLang\"}],staticStyle:{\"border-radius\":\"25px 25px\",\"text-align\":\"center\"},attrs:{\"id\":\"language-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedLang=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.changeLang]}},_vm._l((_vm.locales),function(lang){return _c('option',{key:lang.code,domProps:{\"value\":lang.code}},[_vm._v(\" \"+_vm._s(lang.name)+\" \")])}),0)]),_c('div',[_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\"}},[_c('h1',[_vm._v(_vm._s(_vm.$t('Contract.CreateContractPage.CreateContract')))])])],1)],1),_c('div',{staticClass:\"header-divider\"}),_c('v-row',{staticStyle:{\"position\":\"relative\"}},[_c('v-col',{staticClass:\"CreateApprovalRequestForm\",attrs:{\"md\":\"8\"}},[(_vm.loading)?_c('LoadingSpinner'):_vm._e(),(!_vm.loading)?[_c('v-row',[_c('v-col',{attrs:{\"md\":\"12\"}},[_c('v-text-field',{attrs:{\"id\":\"title\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":_vm.$t('Contract.CreateContractPage.EnterTitle'),\"label\":_vm.$t('Contract.CreateContractPage.Title')},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"id\":\"contractValue\",\"type\":\"number\",\"step\":\"0.1\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"0.00\",\"label\":_vm.$t('Contract.CreateContractPage.ContractValue')},model:{value:(_vm.contractValue),callback:function ($$v) {_vm.contractValue=$$v},expression:\"contractValue\"}})],1),_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.team,\"placeholder\":_vm.$t('Contract.CreateContractPage.SelectOwner'),\"label\":_vm.$t('Contract.CreateContractPage.Owner'),\"outlined\":\"\",\"clearable\":\"\",\"rounded\":\"\",\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"hide-no-data\":\"\"},model:{value:(_vm.selectedOwner),callback:function ($$v) {_vm.selectedOwner=$$v},expression:\"selectedOwner\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-datetime-picker',{attrs:{\"id\":\"startDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('Contract.CreateContractPage.SelectStartDate'),\"label\":_vm.$t('Contract.CreateContractPage.StartDate'),\"timePickerProps\":{ format: '24hr' }},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}],null,false,2180989327),model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}})],1),_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-datetime-picker',{attrs:{\"id\":\"expirationDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('Contract.CreateContractPage.SelectExpirationDate'),\"label\":_vm.$t('Contract.CreateContractPage.ExpirationDate'),\"timePickerProps\":{ format: '24hr' }},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}],null,false,2180989327),model:{value:(_vm.expirationDate),callback:function ($$v) {_vm.expirationDate=$$v},expression:\"expirationDate\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-datetime-picker',{attrs:{\"id\":\"reminderDate\",\"textFieldProps\":{ outlined: true, rounded: true },\"placeholder\":_vm.$t('Contract.CreateContractPage.SelectReminderDate'),\"label\":_vm.$t('Contract.CreateContractPage.ReminderDate'),\"timePickerProps\":{ format: '24hr' }},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}],null,false,2180989327),model:{value:(_vm.reminderDate),callback:function ($$v) {_vm.reminderDate=$$v},expression:\"reminderDate\"}})],1),_c('v-col',{attrs:{\"md\":\"6\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.companies,\"placeholder\":_vm.$t('Contract.CreateContractPage.SelectSupplier'),\"label\":_vm.$t('Contract.CreateContractPage.Supplier'),\"outlined\":\"\",\"clearable\":\"\",\"rounded\":\"\",\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"hide-no-data\":\"\"},model:{value:(_vm.selectedCompany),callback:function ($$v) {_vm.selectedCompany=$$v},expression:\"selectedCompany\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"md\":\"9\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.categories,\"placeholder\":_vm.$t('Contract.CreateContractPage.EnterCategory'),\"label\":_vm.$t('Contract.CreateContractPage.Category'),\"outlined\":\"\",\"clearable\":\"\",\"rounded\":\"\",\"item-text\":\"name\",\"item-value\":\"id\",\"return-object\":\"\",\"hide-no-data\":\"\"},model:{value:(_vm.selectedCategory),callback:function ($$v) {_vm.selectedCategory=$$v},expression:\"selectedCategory\"}})],1),_c('v-col',{attrs:{\"md\":\"2\"}},[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\",\"id\":\"addCategoryBtn\"},on:{\"click\":function($event){return _vm.openAddCategoryDialog()}}},[_vm._v(_vm._s(_vm.$t('Contract.CreateContractPage.AddCategory'))+\" \")]),_c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"click:outside\":function($event){return _vm.closeAddCategoryDialog()}},model:{value:(_vm.addCategoryDialog),callback:function ($$v) {_vm.addCategoryDialog=$$v},expression:\"addCategoryDialog\"}},[_c('CategoryForm',{attrs:{\"cancel\":_vm.closeAddCategoryDialog,\"onSaved\":_vm.onCategorySaved,\"type\":_vm.categoryType.Contract}})],1)],1)],1),_c('v-row',{staticStyle:{\"margin-top\":\"-2rem\"}},[_c('v-col',[_c('v-row',[_c('v-col',[_c('h5',{staticClass:\"grey--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.CreateContractPage.AttachFile'))+\" \")])])],1),_c('v-file-input',{attrs:{\"label\":\"Files\",\"outlined\":\"\",\"rounded\":\"\",\"show-size\":\"\",\"accept\":'.txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif',\"prepend-icon\":\"ri-attachment-line\",\"multiple\":\"\"},on:{\"change\":_vm.handleFileChange},model:{value:(_vm.attachedFiles),callback:function ($$v) {_vm.attachedFiles=$$v},expression:\"attachedFiles\"}})],1),_c('v-col',{staticClass:\"align-center\"},[_c('v-btn',{staticStyle:{\"margin-bottom\":\"15px\"},attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\"},on:{\"click\":_vm.openFileSelection}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.CreateContractPage.AddMoreFiles'))+\" \")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":\".txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif\",\"multiple\":\"\"},on:{\"change\":function($event){return _vm.addMoreFiles($event.target.files)}}})],1)],1),_c('v-textarea',{attrs:{\"id\":\"summary\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":_vm.$t('Contract.CreateContractPage.EnterSummary'),\"label\":_vm.$t('Contract.CreateContractPage.Summary')},model:{value:(_vm.summary),callback:function ($$v) {_vm.summary=$$v},expression:\"summary\"}}),_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\",\"id\":\"createBtn\"},on:{\"click\":function($event){return _vm.createRequest()}}},[_vm._v(_vm._s(_vm.$t('Contract.CreateContractPage.Create')))]),_c('v-btn',{attrs:{\"type\":\"button\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\",\"id\":\"cancelBtn\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('Contract.CreateContractPage.Cancel')))])]:_vm._e()],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport ContractApiService from '@/api/contracts.api';\r\nimport TeamApiService from '@/api/team.api';\r\nimport ContactsApiService from '@/api/contacts.api';\r\nimport Toast from '@/services/toast.service';\r\nimport { namespace } from 'vuex-class';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport ApproverForm from '@/components/ApproverForm.vue';\r\nimport CategoryForm from '@/components/CategoryForm.vue';\r\nimport { ApprovalRequestApprover } from '@/models/approvalRequest';\r\nimport { Category } from '@/models/category';\r\nimport { TeamMember } from '@/models/teamMember';\r\nimport { Company } from '@/models/company';\r\nimport { th } from 'date-fns/locale';\r\nimport { CategoryType } from '@/models/enums/categoryType';\r\nimport CategoryApiService from '@/api/category.api';\r\nimport DateService from '@/services/date.service';\r\nimport { Currency } from '@/models/currency';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { LoadingSpinner, ApproverForm, CategoryForm },\r\n})\r\nexport default class CreateContractPage extends Vue {\r\n\tpublic approver!: ApprovalRequestApprover;\r\n\tpublic buyerId = '';\r\n\tpublic saving = false;\r\n\tpublic loading = false;\r\n\tpublic teamLoading = false;\r\n\tpublic companiesLoading = false;\r\n\tpublic title = '';\r\n\tpublic selectedCategory!: Category;\r\n\tpublic selectedOwner!: TeamMember;\r\n\tpublic selectedCompany!: Company;\r\n\tpublic summary = '';\r\n\tpublic approvers: any[] = [];\r\n\tpublic selectedLang = '';\r\n\tpublic addApproverDialog = false;\r\n\tpublic addCategoryDialog = false;\r\n\tpublic categoriesLoading = false;\r\n\tpublic searchText = '';\r\n\tpublic categories: Category[] = [];\r\n\tpublic team: TeamMember[] = [];\r\n\tpublic companies: Company[] = [];\r\n\tpublic categoryType = CategoryType;\r\n\tpublic attachedFiles: File[] = [];\r\n\tpublic selectedFiles: File[] = [];\r\n\tpublic expirationDate: Date | null = null;\r\n\tpublic startDate: Date | null = null;\r\n\tpublic reminderDate: Date | null = null;\r\n\tpublic minimumDate: Date = new Date();\r\n\tpublic contractValue = 0.00.toFixed(2);\r\n\tpublic locales = [\r\n\t\t{ code: 'en', name: 'English' },\r\n\t\t{ code: 'fr', name: 'Français' },\r\n\t\t{ code: 'ar', name: 'العربية' },\r\n\t];\r\n\r\n\tpublic created() {\r\n\t\tthis.selectedLang = localStorage.getItem('locale') || 'en';\r\n\t\tthis.minDate();\r\n\t\tthis.getAllCategories();\r\n\t\tthis.getTeam();\r\n\t\tthis.getCompanies();\r\n\t}\r\n\tpublic createRequest() {\r\n\t\tif (!this.title) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.TitleMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.contractValue) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.ContractValueMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.selectedCategory) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.CategoryMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.selectedOwner) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.OwnerMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.selectedCompany) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.SupplierMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.expirationDate) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.ExpirationDateMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.startDate) {\r\n\t\t\tToast.error(this.$t('Contract.CreateContractPage.StartDateMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (!this.reminderDate) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t('Contract.CreateContractPage.ReminderDateMandatory').toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.startDate >= this.expirationDate) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t(\r\n\t\t\t\t\t'Contract.CreateContractPage.StartDateGreaterThanExpiration'\r\n\t\t\t\t).toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.reminderDate >= this.expirationDate) {\r\n\t\t\tToast.error(\r\n\t\t\t\tthis.$t(\r\n\t\t\t\t\t'Contract.CreateContractPage.ReminderDateGreaterThanExpiration'\r\n\t\t\t\t).toString()\r\n\t\t\t);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.attachedFiles.length <= 0) {\r\n\t\t\tToast.error(this.$t('Contract.CreateContractPage.FileMandatory').toString());\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.saving = true;\r\n\t\tContractApiService.createRequest({\r\n\t\t\tTitle: this.title,\r\n\t\t\tExpirationDate: this.expirationDate,\r\n\t\t\tStartDate: this.startDate,\r\n\t\t\tReminderDate: this.reminderDate,\r\n\t\t\tattachedFiles: this.attachedFiles as File[],\r\n\t\t\tSummary: this.summary,\r\n\t\t\tCategory: this.selectedCategory,\r\n\t\t\tCompany: this.selectedCompany,\r\n\t\t\tOwner: this.selectedOwner,\r\n\t\t\tcontractValue: Number(this.contractValue)\r\n\t\t})\r\n\t\t\t.then(() => {\r\n\t\t\t\t// Toast.success(this.$t('ItemForm.ItemCreated').toString());\r\n\t\t\t\tToast.success(\r\n\t\t\t\t\tthis.$t('Contract.CreateContractPage.RequestCreated').toString()\r\n\t\t\t\t);\r\n\t\t\t\tthis.$router.push(`/contracts`);\r\n\t\t\t})\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.saving = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic changeLang() {\r\n\t\tlocalStorage.setItem('locale', this.selectedLang);\r\n\t\tlocation.reload();\r\n\t}\r\n\r\n\tpublic openAddCategoryDialog() {\r\n\t\tthis.addCategoryDialog = true;\r\n\t}\r\n\tpublic closeAddCategoryDialog() {\r\n\t\tthis.addCategoryDialog = false;\r\n\t}\r\n\tpublic cancel() {\r\n\t\tthis.$router.push(`/contracts`);\r\n\t}\r\n\tpublic getAllCategories() {\r\n\t\tthis.categoriesLoading = true;\r\n\t\tCategoryApiService.getAllCategories(CategoryType.Contract, this.searchText)\r\n\t\t\t.then((res) => {\r\n\t\t\t\tthis.categories = res.categories.map((x) => {\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.categoriesLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic getTeam() {\r\n\t\tthis.teamLoading = true;\r\n\t\tTeamApiService.getTeam()\r\n\t\t\t.then((res) => {\r\n\t\t\t\tthis.team = res.team.map((x) => {\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.teamLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic getCompanies() {\r\n\t\tthis.companiesLoading = true;\r\n\t\tContactsApiService.getCompanies()\r\n\t\t\t.then((res) => {\r\n\t\t\t\tthis.companies = res.companies.map((x) => {\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch((err) => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.companiesLoading = false;\r\n\t\t\t});\r\n\t}\r\n\tpublic onCategorySaved() {\r\n\t\tthis.getAllCategories();\r\n\t}\r\n\tpublic minDate() {\r\n\t\tconst today = new Date();\r\n\t\tconst tomorrow = new Date(today);\r\n\t\ttomorrow.setDate(tomorrow.getDate() + 1);\r\n\t\tthis.expirationDate = tomorrow;\r\n\t\tthis.startDate = today;\r\n\t\tthis.reminderDate = tomorrow;\r\n\t\tthis.minimumDate.setDate(tomorrow.getDate() + 1);\r\n\t}\r\n\r\n\tpublic handleFileChange(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files).filter(file => !this.attachedFiles.includes(file));\r\n \t this.attachedFiles.push(...newFiles);\r\n \t}\r\n\t}\r\n\r\n\tpublic openFileSelection() {\r\n \t// Programmatically trigger file input click\r\n \tconst fileInput = this.$refs.fileInput as HTMLInputElement | undefined;\r\n \tif (fileInput) {\r\n \t fileInput.click();\r\n \t}\r\n\t}\r\n\r\n\tpublic addMoreFiles(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files);\r\n \t this.attachedFiles = [...this.attachedFiles, ...newFiles];\r\n \t}\r\n\t}\r\n\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateContractPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateContractPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateContractPage.vue?vue&type=template&id=41f8c67c&scoped=true&\"\nimport script from \"./CreateContractPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateContractPage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CreateContractPage.vue?vue&type=style&index=0&id=41f8c67c&lang=scss&scoped=true&\"\nimport style1 from \"./CreateContractPage.vue?vue&type=style&index=1&id=41f8c67c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"41f8c67c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VAutocomplete,VBtn,VCol,VDialog,VFileInput,VIcon,VRow,VTextField,VTextarea})\n","import RequestResponses from '@/views/contracts/requestDetails/RequestResponses.vue';\r\nimport ContractRequestsManage from '@/views/contracts/RequestsManage.vue';\r\nimport CreateContractPage from '@/views/contracts/requestManage/CreateContractPage.vue'\r\nimport { RouteConfig } from 'vue-router';\r\n\r\nexport const contractsRoutes = [\r\n\t{\r\n\t\tpath: '/contracts',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"requests\" */ '@/views/contracts/Requests.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/contracts',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next(`/contracts/manage`);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/contracts/manage',\r\n\t\t\t\tname: 'contracts-manage',\r\n\t\t\t\tcomponent: ContractRequestsManage\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/contracts/analytics',\r\n\t\tname: 'contracts-analytics',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t'@/views/contracts/analytics/AnalyticsContractPage.vue'\r\n\t\t\t)\r\n\t},\r\n\t{\r\n\t\tpath: '/contracts/:contractId',\r\n\t\tname: 'contract',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"request\" */ '@/views/contracts/requestDetails/RequestsBase.vue'\r\n\t\t\t),\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/contracts/:contractId',\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\r\n\t\t\t\t\treturn next({\r\n\t\t\t\t\t\tpath: `/requests/${to.params.contractId}/details`,\r\n\t\t\t\t\t\tparams: to.params\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tpath: '/contracts/:contractId/responses',\r\n\t\t\t\tname: 'contracts-responses',\r\n\t\t\t\tcomponent: RequestResponses\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/contracts/manage/create',\r\n\t\tname: 'create-contract',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true\r\n\t\t},\r\n\t\tcomponent: CreateContractPage\r\n\t}\r\n] as RouteConfig[];\r\n","import { RouteConfig } from 'vue-router';\r\n\r\nexport const categoriesRoutes = [\r\n\t{\r\n\t\tpath: '/categories',\r\n\t\tname: 'categories',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tredirect: '/categories/manage'\r\n\t},\r\n\t{\r\n\t\tpath: '/categories/manage',\r\n\t\tname: 'categories-manage',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true,\r\n\t\t\trequiresBuyer: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"items-manage\" */ './CategoriesManage.vue')\r\n\t}\r\n] as RouteConfig[];\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"LanguageSection\"},[_c('label',{staticStyle:{\"padding-right\":\"0.5rem\",\"padding-top\":\"1rem\"},attrs:{\"for\":\"language-select\"}},[_vm._v(_vm._s(_vm.$t('Languages')))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLang),expression:\"selectedLang\"}],staticStyle:{\"border-radius\":\"25px 25px\",\"text-align\":\"center\"},attrs:{\"id\":\"language-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedLang=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.changeLang]}},_vm._l((_vm.locales),function(lang){return _c('option',{key:lang.code,domProps:{\"value\":lang.code}},[_vm._v(_vm._s(lang.name))])}),0)]),_c('div',{staticClass:\"Home\"},[_c('div',{staticClass:\"CardContainer\"},[_c('HomeNavCard',{attrs:{\"cardLabel\":_vm.HomeNavCardEnums.Quotation}}),_c('HomeNavCard',{attrs:{\"cardLabel\":_vm.HomeNavCardEnums.Contract}}),_c('HomeNavCard',{attrs:{\"cardLabel\":_vm.HomeNavCardEnums.ApprovalRequest}}),_c('HomeNavCard',{attrs:{\"cardLabel\":_vm.HomeNavCardEnums.Team}}),_c('HomeNavCard',{attrs:{\"cardLabel\":_vm.HomeNavCardEnums.Settings}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum homeNavCardLabels {\r\n\tQuotation = 0,\r\n ApprovalRequest= 1,\r\n Contract = 2,\r\n Categories = 3,\r\n Suppliers = 4,\r\n Items = 5,\r\n Team = 6,\r\n Settings = 7\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"Card\"},[_c('div',{staticClass:\"UpperSection\"},[_c('span',{staticClass:\"UpperSection-Color\",style:({ backgroundColor: _vm.getCardColor() })}),_c('v-icon',{staticClass:\"Icon\",style:({ borderColor: _vm.getCardColor(), color: _vm.getCardColor() })},[_vm._v(\" \"+_vm._s(_vm.getCardLabelIcon())+\" \")])],1),_c('div',{staticClass:\"LowerSection\"},[_c('h4',{style:({ color: _vm.getCardColor() })},[_vm._v(_vm._s(_vm.getCardLabelText()))]),_c('span',{staticClass:\"LowerSection-Text\"},[_c('p',[_vm._v(_vm._s(_vm.getCardDescription()))])]),_c('v-btn',{staticClass:\"LowerSection-Btn\",style:({ 'background-color': _vm.getCardColor() + ' !important' }),attrs:{\"rounded\":\"\",\"color\":\"primary\"},on:{\"click\":_vm.navigateToRoute}},[_vm._v(\" \"+_vm._s(_vm.$t('HomePage.CardButton'))+\" \")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { homeNavCardLabels } from '@/models/enums/homeNavCardLabels';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class HomeNavCard extends Vue {\r\n\t@Prop() public cardLabel!: homeNavCardLabels;\r\n\r\n\tpublic getCardLabelIcon() {\r\n\t\tswitch (this.cardLabel) {\r\n\t\t\tcase homeNavCardLabels.Quotation:\r\n\t\t\t\treturn 'ri-todo-line';\r\n case homeNavCardLabels.ApprovalRequest:\r\n\t\t\t\treturn 'ri-admin-line';\r\n case homeNavCardLabels.Contract:\r\n\t\t\t\treturn 'ri-secure-payment-line';\r\n case homeNavCardLabels.Categories:\r\n\t\t\t\treturn 'ri-list-settings-line';\r\n case homeNavCardLabels.Suppliers:\r\n\t\t\t\treturn 'ri-contacts-book-line';\r\n case homeNavCardLabels.Items:\r\n\t\t\t\treturn 'ri-function-line';\r\n case homeNavCardLabels.Team:\r\n\t\t\t\treturn 'ri-group-line';\r\n case homeNavCardLabels.Settings:\r\n\t\t\t\treturn 'ri-settings-line';\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic getCardLabelText() {\r\n\t\tswitch (this.cardLabel) \r\n\t\t{\r\n\t\t\tcase homeNavCardLabels.Quotation:\r\n\t\t\t\treturn this.$t('SideNav.MyRequests');\r\n case homeNavCardLabels.ApprovalRequest:\r\n\t\t\t\treturn this.$t('SideNav.MyApprovalRequests');\r\n case homeNavCardLabels.Contract:\r\n\t\t\t\treturn this.$t('SideNav.MyContracts');\r\n case homeNavCardLabels.Categories:\r\n\t\t\t\treturn this.$t('SideNav.Categories');\r\n case homeNavCardLabels.Suppliers:\r\n\t\t\t\treturn this.$t('SideNav.Suppliers');\r\n case homeNavCardLabels.Items:\r\n\t\t\t\treturn this.$t('SideNav.Items');\r\n case homeNavCardLabels.Team:\r\n\t\t\t\treturn this.$t('SideNav.Team');\r\n case homeNavCardLabels.Settings:\r\n\t\t\t\treturn this.$t('SideNav.Settings');\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic navigateToRoute() \r\n\t{\r\n \tlet routeName = '';\r\n \tswitch (this.cardLabel) {\r\n\t\t\tcase homeNavCardLabels.Quotation:\r\n\t\t\t\trouteName = '/requests/manage';\r\n\t\t\t\tbreak;\r\n \tcase homeNavCardLabels.ApprovalRequest:\r\n\t\t\t\trouteName = '/approvalRequests/manage';\r\n\t\t\t\tbreak;\r\n \t case homeNavCardLabels.Contract:\r\n\t\t\t\trouteName = '/contracts/manage';\r\n\t\t\t\tbreak;\r\n \tcase homeNavCardLabels.Categories:\r\n\t\t\t\trouteName = '/categories/manage';\r\n\t\t\t\tbreak;\r\n case homeNavCardLabels.Suppliers:\r\n\t\t\t\trouteName = '/contacts/companies';\r\n\t\t\t\tbreak;\r\n case homeNavCardLabels.Items:\r\n\t\t\t\trouteName = '/items/manage';\r\n\t\t\t\tbreak;\r\n \t case homeNavCardLabels.Team:\r\n\t\t\t\trouteName = '/team/manage';\r\n\t\t\t\tbreak;\r\n \t\tcase homeNavCardLabels.Settings:\r\n\t\t\t\trouteName = '/settings/account';\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\trouteName = '';\r\n\t\t\t\tbreak;\r\n \t}\r\n \t// Navigate to the determined route\r\n \tthis.$router.push({ path: routeName });\r\n \t}\r\n\r\n\r\n\tpublic getCardColor() \r\n\t{\r\n\t\tswitch (this.cardLabel) \r\n\t\t{\r\n\t\t\tcase homeNavCardLabels.Quotation:\r\n\t\t\t\treturn \"#00c853\";\r\n case homeNavCardLabels.ApprovalRequest:\r\n\t\t\t\treturn \"#00CED1\";\r\n case homeNavCardLabels.Contract:\r\n\t\t\t\treturn \"#40A2E3\";\r\n case homeNavCardLabels.Categories:\r\n\t\t\t\treturn \"#41B3EE\";\r\n case homeNavCardLabels.Suppliers:\r\n\t\t\t\treturn \"#FE3076\";\r\n case homeNavCardLabels.Items:\r\n\t\t\t\treturn \"#FD554D\";\r\n case homeNavCardLabels.Team:\r\n\t\t\t\treturn \"#FFA07A\";\r\n case homeNavCardLabels.Settings:\r\n\t\t\t\treturn \"Gray\";\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tpublic getCardDescription() \r\n\t{\r\n\t\tswitch (this.cardLabel) \r\n\t\t{\r\n\t\t\tcase homeNavCardLabels.Quotation:\r\n\t\t\t\treturn this.$t('HomePage.MyQuotationRequestsDescription');\r\n case homeNavCardLabels.ApprovalRequest:\r\n\t\t\t\treturn this.$t('HomePage.MyApprovalRequestsDescription');\r\n case homeNavCardLabels.Contract:\r\n\t\t\t\treturn this.$t('HomePage.MyContractsDescription');\r\n case homeNavCardLabels.Categories:\r\n\t\t\t\treturn \"Categories description text.\";\r\n case homeNavCardLabels.Suppliers:\r\n\t\t\t\treturn \"Suppliers description text.\";\r\n case homeNavCardLabels.Items:\r\n\t\t\t\treturn \"Items description text.\";\r\n case homeNavCardLabels.Team:\r\n\t\t\t\treturn this.$t('HomePage.TeamDescription');\r\n case homeNavCardLabels.Settings:\r\n\t\t\t\treturn this.$t('HomePage.SettingsDescription');\r\n\t\t\tdefault:\r\n\t\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeNavCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeNavCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HomeNavCard.vue?vue&type=template&id=888accd0&scoped=true&\"\nimport script from \"./HomeNavCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./HomeNavCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HomeNavCard.vue?vue&type=style&index=0&id=888accd0&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"888accd0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VIcon})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport HomeNavCard from '@/components/HomeNavCard.vue';\r\nimport { homeNavCardLabels } from '@/models/enums/homeNavCardLabels';\r\n\r\n@Component({\r\n\tcomponents: {HomeNavCard}\r\n})\r\nexport default class Home extends Vue {\r\n\tpublic HomeNavCardEnums = homeNavCardLabels;\r\n\tpublic selectedLang='';\r\n\tpublic locales= [\r\n { code: 'en', name: 'English' },\r\n { code: 'fr', name: 'Français' },\r\n { code: 'ar', name: 'العربية' },\r\n ]\r\n\r\n\r\n\tcreated() {\r\n\t\tthis.selectedLang=localStorage.getItem('locale') || 'en';\r\n\t}\r\n\r\n\tpublic changeLang() {\r\n localStorage.setItem('locale', this.selectedLang);\r\n\t location.reload();\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=5dd5a688&\"\nimport script from \"./Home.vue?vue&type=script&lang=ts&\"\nexport * from \"./Home.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Category } from './../models/category';\r\nimport { superAdminQuickQuotesRoutes } from './superAdmin/quickQuotes/router';\r\nimport { superAdminBuyersRoutes } from './superAdmin/buyers/router';\r\nimport { approvalRequestsRoutes } from './approvalRequests/router';\r\nimport { approverRequestDetailsRoutes } from './approverResponse/router';\r\nimport store from '@/store';\r\nimport { CHECK_AUTHED, INITIALIZE_USER_SETTINGS } from '@/store/auth/actions';\r\nimport jwtDecode from 'jwt-decode';\r\nimport Vue from 'vue';\r\nimport VueRouter, { RouteConfig } from 'vue-router';\r\nimport { authRoutes } from './auth/router';\r\nimport { buyerRequestsRoutes } from './buyerRequests/router';\r\nimport { contactsRoutes } from './contacts/router';\r\nimport { itemsRoutes } from './items/router';\r\nimport { rfpRoutes } from './rfp/router';\r\nimport Privacy from './legal/Privacy.vue';\r\nimport Terms from './legal/Terms.vue';\r\nimport { quotesRoutes } from './quotes/router';\r\nimport { settingsRoutes } from './settings/router';\r\nimport { teamRoutes } from './team/router';\r\nimport { contractsRoutes } from './contracts/router';\r\nimport { categoriesRoutes } from './category/router';\r\nimport Home from './Home.vue';\r\n\r\nVue.use(VueRouter);\r\n\r\nconst routes: Array<RouteConfig> = [\r\n\t{\r\n\t\tpath: '/',\r\n\t\tname: 'home',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true\r\n\t\t},\r\n\t\tcomponent: Home,\r\n\t\tbeforeEnter: async (to, from, next) => {\r\n\t\t\tconst authed = await store.dispatch('auth/' + CHECK_AUTHED);\r\n\t\t\tif (!authed) {\r\n\t\t\t\tnext('/signin');\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tnext();\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/terms',\r\n\t\tname: 'terms',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: false\r\n\t\t},\r\n\t\tcomponent: Terms\r\n\t},\r\n\t{\r\n\t\tpath: '/privacy',\r\n\t\tname: 'privacy',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: false\r\n\t\t},\r\n\t\tcomponent: Privacy\r\n\t},\r\n\t{\r\n\t\tpath: '/newbuyer',\r\n\t\tname: 'new-buyer',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(\r\n\t\t\t\t/* webpackChunkName: \"become-buyer\" */ './becomeBuyer/BecomeBuyer.vue'\r\n\t\t\t),\r\n\t\tbeforeEnter: async (to, from, next) => {\r\n\t\t\t\r\n\r\n\t\t\tawait store.dispatch('auth/' + INITIALIZE_USER_SETTINGS);\r\n\t\t\tnext();\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tpath: '/new',\r\n\t\tname: 'new-user',\r\n\t\tmeta: {\r\n\t\t\trequiresAuth: true\r\n\t\t},\r\n\t\tcomponent: () =>\r\n\t\t\timport(/* webpackChunkName: \"new-user\" */ './newUser/NewUser.vue'),\r\n\t\tbeforeEnter: async (to, from, next) => {\r\n\t\t\t\r\n\t\t\tawait store.dispatch('auth/' + INITIALIZE_USER_SETTINGS);\r\n\t\t\tnext();\r\n\t\t}\r\n\t},\r\n\t...authRoutes,\r\n\t...settingsRoutes,\r\n\t...buyerRequestsRoutes,\r\n\t...rfpRoutes,\r\n\t...contactsRoutes,\r\n\t...quotesRoutes,\r\n\t...itemsRoutes,\r\n\t...teamRoutes,\r\n\t...superAdminQuickQuotesRoutes,\r\n\t...superAdminBuyersRoutes,\r\n\t...approvalRequestsRoutes,\r\n\t...approverRequestDetailsRoutes,\r\n\t...contractsRoutes,\r\n\t...categoriesRoutes\r\n];\r\n\r\nconst router = new VueRouter({\r\n\tmode: 'history',\r\n\tbase: process.env.BASE_URL,\r\n\troutes\r\n});\r\n\r\nrouter.beforeEach(async (to, from, next) => {\r\n\t// if (to.matched.some(record => record.meta.requiresEducator)) {\r\n\t// \tconst authed = await store.dispatch('auth/' + CHECK_AUTHED);\r\n\t// console.log('checked')\r\n\t// console.log(authed)\r\n\t// \tif (!authed) {\r\n\t// \t\tnext('/signin');\r\n\t// \t\treturn;\r\n\t// \t}\r\n\r\n\t// \tnext();\r\n\t// \treturn;\r\n\t// }\r\n\r\n\t// console.log(from.query);\r\n\t// console.log(to.query);\r\n\tconst requestInviteToken = to.query['t'] as string;\r\n\r\n\tif (requestInviteToken) {\r\n\t\tlocalStorage.setItem('quote-token', requestInviteToken);\r\n\t\tconst token = jwtDecode(requestInviteToken) as any;\r\n\t\tnext(`/quotes/${token.buyerRequestId}`);\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst teamInviteToken = to.query['inviteToken'] as string;\r\n\r\n\tif (teamInviteToken) {\r\n\t\tlocalStorage.setItem('invite-token', teamInviteToken);\r\n\t\tnext(`/team/invite`);\r\n\t\treturn;\r\n\t}\r\n\tconst approverInviteToken = to.query['approverInviteToken'] as string;\r\n\r\n\tif (approverInviteToken) {\r\n\t\tlocalStorage.setItem('approver-invite-token', approverInviteToken);\r\n\t\tnext(`/approverRequestDetails`);\r\n\t\treturn;\r\n\t}\r\n\r\n\t// if (requestInviteToken) {\r\n\t// \tlocalStorage.setItem('requestInviteToken', requestInviteToken);\r\n\t// }\r\n\tconst authed = await store.dispatch('auth/' + CHECK_AUTHED);\r\n\r\n\tif (to.matched.some(record => record.meta.requiresAuth)) {\r\n\t\tif (!authed) {\r\n\t\t\tnext('/signin');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// if (requestInviteToken) {\r\n\t\t// \tconst decodedToken = jwtDecode(requestInviteToken) as any;\r\n\t\t// \tnext(`quotes/${decodedToken.buyerRequestId}`);\r\n\t\t// \treturn;\r\n\t\t// }\r\n\r\n\t\tnext();\r\n\t} else if (to.matched.some(record => record.meta.guestOnly)) {\r\n\t\tauthed ? next('/') : next();\r\n\t} else {\r\n\t\tnext();\r\n\t}\r\n});\r\n\r\nexport default router;\r\n","import axios, { AxiosInstance } from 'axios';\r\n\r\nclass NoAuthApiBase {\r\n\tprivate client: AxiosInstance;\r\n\r\n\tconstructor() {\r\n\t\tconst client = axios.create({\r\n\t\t\tdata: {}\r\n\t\t});\r\n\r\n\t\tclient.interceptors.request.use(\r\n\t\t\tasync config => {\r\n\t\t\t\tconfig.headers['Content-Type'] = 'application/json';\r\n\t\t\t\treturn config;\r\n\t\t\t},\r\n\t\t\terror => {\r\n\t\t\t\t// Do something with request error\r\n\t\t\t\treturn Promise.reject(error);\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\t// Add a response interceptor\r\n\t\tclient.interceptors.response.use(\r\n\t\t\tresponse => response,\r\n\t\t\terror => {\r\n\t\t\t\tif (!error.response) {\r\n\t\t\t\t\tconsole.log(error);\r\n\t\t\t\t\treturn Promise.reject('There was an unexpected error');\r\n\t\t\t\t}\r\n\t\t\t\tif (error.response.status >= 400) {\r\n\t\t\t\t\tif (error.response.data && error.response.data.message) {\r\n\t\t\t\t\t\treturn Promise.reject(error.response.data.message);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\terror.response.data &&\r\n\t\t\t\t\t\terror.response.data.errors &&\r\n\t\t\t\t\t\terror.response.data.errors.length\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tconst errors = error.response.data.errors.join('\\n');\r\n\t\t\t\t\t\treturn Promise.reject(errors);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn Promise.reject('There was an unexpected error');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tthis.client = client;\r\n\t}\r\n\r\n\tpublic get<T>(path: string, config?: any) {\r\n\t\treturn this.client\r\n\t\t\t.get(path, config)\r\n\t\t\t.then(response => response.data.data as T);\r\n\t}\r\n\r\n\tpublic patch(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'PATCH',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n\r\n\tpublic put(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'PUT',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n\r\n\tpublic post(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'POST',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t\t// headers: headers\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n\r\n\tpublic delete(path: string, payload: any = null) {\r\n\t\treturn this.client\r\n\t\t\t.request({\r\n\t\t\t\tmethod: 'DELETE',\r\n\t\t\t\turl: path,\r\n\t\t\t\tresponseType: 'json',\r\n\t\t\t\tdata: payload\r\n\t\t\t})\r\n\t\t\t.then(response => response.data.data);\r\n\t}\r\n}\r\n\r\nexport default new NoAuthApiBase();\r\n","export interface Config {\r\n\tcognitoRegion: string;\r\n\tcognitoUserPoolId: string;\r\n\tcognitoUserPoolWebClientId: string;\r\n\tbaseApiUrl: string;\r\n\tstripePublishableKey: string;\r\n\tbasicPriceId: string;\r\n}\r\n\r\n// const AppConfig: Config = {\r\n// \tcognitoRegion: process.env.VUE_APP_COGNITO_REGION,\r\n// \tcognitoUserPoolId: process.env.VUE_APP_COGNITO_USER_POOL_ID,\r\n// \tcognitoUserPoolWebClientId: process.env.VUE_APP_COGNITO_WEB_CLIENT_ID,\r\n// \tbaseApiUrl: process.env.VUE_APP_BASE_API_URL,\r\n// \tstripePublishableKey: process.env.VUE_APP_STRIPE_PUBLISHABLE_KEY,\r\n// \tbasicPriceId: process.env.VUE_APP_BASIC_PRICE_ID\r\n// };\r\n\r\nconst AppConfig: Config = {\r\n\tcognitoRegion: \"dbed0786-691b-4991-bbd6-dd5663dc5107\",\r\n\tcognitoUserPoolId: \"eu-west-2_ayxMmVGfv\",\r\n\tcognitoUserPoolWebClientId: \"dbed0786-691b-4991-bbd6-dd5663dc5107\",\r\n\t// baseApiUrl: 'https://localhost:5001',\r\n\tbaseApiUrl: 'https://procuretool-api-prod.azurewebsites.net',\r\n\t //baseApiUrl: 'https://procuretool-api.azurewebsites.net',\r\n\t// stripePublishableKey: process.env.VUE_APP_STRIPE_PUBLISHABLE_KEY,\r\n\t// stripePublishableKey: \"pk_test_51HgFJ6BnRWsCISkuKuQdjYlePBwplOcfyNTs4WICHBlAVo5LozKQwRkHJPmFQ1TuWfLZjfPtoe54s00Lx8WjeBnG00JNM6yaZT\",\r\n\tstripePublishableKey: \"pk_test_51PH4ut2MwsNavMCzOKW3jFvWx0ftxPGS2qm7AOAj2T70DfMfZogBxjIYASdpzOgMP16XvTWAgcdXd2EK9CvkvD4D00ujvHYMtx\",\r\n\t// basicPriceId: process.env.VUE_APP_BASIC_PRICE_ID,\r\n\tbasicPriceId: \"price_1PNytf2MwsNavMCzi8K9cWEt\"\r\n\r\n};\r\nexport default AppConfig;\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=75ce2c4d&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestsManage.vue?vue&type=style&index=0&id=75ce2c4d&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=style&index=0&id=008b5d16&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingSpinner.vue?vue&type=style&index=0&id=008b5d16&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{attrs:{\"flat\":\"\"}},[_c('v-card-text',{staticClass:\"fixed-actions\"},[(!_vm.loadingDetails)?_c('v-stepper',{staticClass:\"elevation-0\",attrs:{\"vertical\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 1,\"step\":\"1\"}},[_c('h2',{staticClass:\"pa-0\"},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.QuotationDetails'))+\" \")])]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[(_vm.loadingQuickQuote)?_c('LoadingSpinner'):_vm._e(),(!_vm.loadingQuickQuote)?_c('QuickQuoteFormStep1',{attrs:{\"buyerDetails\":_vm.buyerDetails,\"quickQuote\":_vm.quickQuote},on:{\"onStep1Next\":function($event){return _vm.onStep1Next($event)}}}):_vm._e()],1),_c('v-stepper-step',{attrs:{\"complete\":_vm.step > 2,\"step\":\"2\"}},[_c('h2',{staticClass:\"pa-0\"},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.AddSuppliers'))+\" \")])]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[(_vm.loadingQuickQuote)?_c('LoadingSpinner'):_vm._e(),(!_vm.loadingQuickQuote)?_c('QuickQuoteFormStep2',{attrs:{\"buyerDetails\":_vm.buyerDetails,\"quickQuote\":_vm.quickQuote},on:{\"onStep2Next\":function($event){return _vm.onStep2Next($event)},\"onStep2Back\":function($event){return _vm.onStep2Back($event)}}}):_vm._e()],1),_c('v-stepper-step',{attrs:{\"step\":\"3\"}},[_c('h2',{staticClass:\"pa-0\"},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuotePreview.Preview'))+\" \")])]),_c('v-stepper-content',{attrs:{\"step\":\"3\"}},[(_vm.loadingQuickQuote)?_c('LoadingSpinner'):_vm._e(),(_vm.quickQuote && !_vm.loadingQuickQuote)?_c('QuickQuotePreview',{attrs:{\"quickQuote\":_vm.quickQuote,\"buyerDetails\":_vm.buyerDetails},on:{\"onStep3Back\":function($event){return _vm.onStep3Back($event)}}}):_vm._e()],1)],1):_vm._e(),(_vm.loadingDetails)?_c('LoadingSpinner'):_vm._e()],1),_c('v-card-actions',{staticClass:\"fixed-actions\"},[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('QuickQuotePreview.Close')))]),_c('v-spacer'),(_vm.step === _vm.finalStep)?_c('v-btn',{staticClass:\"pa-4\",attrs:{\"loading\":_vm.sending,\"rounded\":\"\",\"color\":\"primary\",\"large\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.sendToSuppliers()}}},[_vm._v(_vm._s(_vm.$t('QuickQuotePreview.SendtoSuppliers')))]):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"id\":\"name\",\"autocomplete\":\"new\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('QuickQuoteForm1.RequestNamePlaceholder'),\"label\":_vm.$t('QuickQuoteForm1.QuotationName')},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})],1),_c('v-col',[_c('v-datetime-picker',{attrs:{\"label\":_vm.$t('QuickQuoteForm1.QuotationStartDate'),\"textFieldProps\":{ outlined: true, rounded: true },\"locale\":\"utc\",\"datePickerProps\":{\n\t\t\t\t\t\tmin: new Date().toISOString()\n\t\t\t\t\t},\"timePickerProps\":{\n\t\t\t\t\t\tformat: '24hr'\n\t\t\t\t\t}},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}]),model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}})],1),_c('v-col',[_c('v-datetime-picker',{attrs:{\"label\":_vm.$t('QuickQuoteForm1.QuotationEndDate'),\"textFieldProps\":{ outlined: true, rounded: true },\"locale\":\"utc\",\"datePickerProps\":{\n\t\t\t\t\t\tmin: _vm.startDate.toISOString()\n\t\t\t\t\t},\"timePickerProps\":{\n\t\t\t\t\t\tformat: '24hr'\n\t\t\t\t\t}},scopedSlots:_vm._u([{key:\"timeIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-time-line\")])]},proxy:true},{key:\"dateIcon\",fn:function(){return [_c('v-icon',[_vm._v(\"ri-calendar-line\")])]},proxy:true}]),model:{value:(_vm.endDate),callback:function ($$v) {_vm.endDate=$$v},expression:\"endDate\"}})],1)],1),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"d-flex justify-start align-center\"},[_c('h3',{staticClass:\"mr-4\"},[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.Items')))])])])],1),_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"md\":\"6\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.itemsFoundAutocomplete,\"loading\":_vm.itemsLoading,\"search-input\":_vm.itemSearchText,\"hide-selected\":\"\",\"hide-details\":\"\",\"outlined\":\"\",\"rounded\":\"\",\"autocomplete\":\"new\",\"label\":_vm.$t('QuickQuoteForm1.SelectItems'),\"placeholder\":_vm.$t('QuickQuoteForm1.ThreeCharsPlaceholder')},on:{\"change\":function($event){return _vm.onItemChange($event)},\"update:searchInput\":function($event){_vm.itemSearchText=$event},\"update:search-input\":function($event){_vm.itemSearchText=$event}},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.addItemDialog = true}}},[_c('v-icon',[_vm._v(\" ri-add-line \")]),_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.AddNewItem'))+\" \")],1)],1)],1)]},proxy:true}]),model:{value:(_vm.selectedItem),callback:function ($$v) {_vm.selectedItem=$$v},expression:\"selectedItem\"}}),_c('v-btn',{staticClass:\"ml-4\",attrs:{\"text\":\"\",\"color\":\"primary\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.addItemDialog = true}}},[_c('v-icon',[_vm._v(\" ri-add-line \")]),_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.AddNewItem'))+\" \")],1)],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.itemHeaders,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.selectedItems,\"no-data-text\":_vm.$t('QuickQuoteForm1.NoDataText')},scopedSlots:_vm._u([{key:\"item.quantity\",fn:function(ref){\n\t\t\t\t\tvar item = ref.item;\nreturn [_c('v-text-field',{attrs:{\"id\":'quantity' + item.itemId,\"hide-details\":\"\",\"dense\":\"\",\"filled\":\"\",\"min\":\"1\",\"type\":\"number\",\"placeholder\":\"0\",\"single-line\":\"\",\"reverse\":\"\"},model:{value:(item.quantity),callback:function ($$v) {_vm.$set(item, \"quantity\", $$v)},expression:\"item.quantity\"}})]}},{key:\"item.deliveryLocation\",fn:function(ref){\n\t\t\t\t\tvar item = ref.item;\nreturn [_c('v-text-field',{attrs:{\"id\":'address' + item.itemId,\"autocomplete\":\"new\",\"hide-details\":\"\",\"dense\":\"\",\"filled\":\"\",\"placeholder\":_vm.$t('QuickQuoteForm1.EnterAddressPlaceholder')},model:{value:(item.deliveryLocation),callback:function ($$v) {_vm.$set(item, \"deliveryLocation\", $$v)},expression:\"item.deliveryLocation\"}})]}},{key:\"item.actions\",fn:function(ref){\n\t\t\t\t\tvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"error\"},on:{\"click\":function($event){return _vm.removeItem(item.itemId)}}},[_c('v-icon',[_vm._v(\"ri-delete-bin-5-line\")])],1)]}}])}),_c('v-row',{staticClass:\"pt-8\"},[_c('v-col',[_c('div',{staticClass:\"d-flex justify-start align-center\"},[_c('h3',{staticClass:\"mr-4\"},[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.QuestionForSuppliers')))]),_c('v-btn',{attrs:{\"text\":\"\",\"rounded\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addQuestion()}}},[_c('v-icon',[_vm._v(\" ri-add-line \")]),_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.AddQuestion')))],1)],1)])],1),_c('v-data-table',{attrs:{\"headers\":_vm.questionHeaders,\"items\":_vm.questions,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"no-data-text\":_vm.$t('QuickQuoteForm1.NoQuestionText')},scopedSlots:_vm._u([{key:\"item.text\",fn:function(ref){\n\t\t\t\t\tvar item = ref.item;\nreturn [_c('v-textarea',{attrs:{\"id\":'question' + item.order,\"hide-details\":\"\",\"dense\":\"\",\"filled\":\"\",\"rows\":\"1\"},model:{value:(item.text),callback:function ($$v) {_vm.$set(item, \"text\", $$v)},expression:\"item.text\"}})]}},{key:\"item.actions\",fn:function(ref){\n\t\t\t\t\tvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"error\"},on:{\"click\":function($event){return _vm.removeQuestion(item.order)}}},[_c('v-icon',[_vm._v(\"ri-delete-bin-5-line\")])],1)]}}])}),_c('v-row',{staticClass:\"pt-8\"},[_c('v-col',[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.AttachFile')))])])],1),_c('v-file-input',{attrs:{\"label\":\"Files\",\"outlined\":\"\",\"rounded\":\"\",\"show-size\":\"\",\"accept\":'.txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif',\"prepend-icon\":\"ri-attachment-line\",\"multiple\":\"\"},on:{\"change\":_vm.handleFileChange},model:{value:(_vm.attachedFiles),callback:function ($$v) {_vm.attachedFiles=$$v},expression:\"attachedFiles\"}})],1),_c('v-col',{staticClass:\"align-center\"},[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\"},on:{\"click\":_vm.openFileSelection}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.AddMoreFiles'))+\" \")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":\".txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif\",\"multiple\":\"\"},on:{\"change\":function($event){return _vm.addMoreFiles($event.target.files)}}})],1)],1),_c('v-row',{staticClass:\"pt-8\"},[_c('v-col',[_c('div',{staticClass:\"d-flex justify-start align-center\"},[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.TermsAndCondition')))])])])],1),(_vm.buyerDetails.termsLink)?_c('v-switch',{staticClass:\"pb-4\",attrs:{\"hide-details\":\"\",\"label\":_vm.$t('QuickQuoteForm1.UseLinkText')},model:{value:(_vm.useLinks),callback:function ($$v) {_vm.useLinks=$$v},expression:\"useLinks\"}}):_vm._e(),(_vm.useLinks && _vm.buyerDetails.termsLink)?_c('div',{staticClass:\"d-flex flex-column\"},[_c('a',{attrs:{\"href\":_vm.buyerDetails.termsLink,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.TermsAndCondition'))+\" \"),_c('v-icon',{attrs:{\"small\":\"\",\"color\":\"primary\"}},[_vm._v(\"ri-external-link-line\")])],1)]):_vm._e(),(!_vm.useLinks || !_vm.buyerDetails.termsLink)?[_c('v-row',[_c('v-col',[_c('v-textarea',{attrs:{\"id\":\"terms\",\"hide-details\":\"\",\"rounded\":\"\",\"label\":_vm.$t('QuickQuoteForm1.TermsAndCondition'),\"outlined\":\"\",\"rows\":\"3\"},model:{value:(_vm.terms),callback:function ($$v) {_vm.terms=$$v},expression:\"terms\"}})],1)],1)]:_vm._e(),_c('v-btn',{staticClass:\"my-4\",attrs:{\"color\":\"primary\",\"rounded\":\"\",\"loading\":_vm.saving,\"large\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.saveAndNext()}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.SaveNNext'))+\" \"),_c('v-icon',[_vm._v(\" ri-arrow-right-s-line \")])],1),_c('v-dialog',{staticStyle:{\"z-index\":\"1000\"},attrs:{\"persistent\":\"\",\"width\":\"600px\"},model:{value:(_vm.addItemDialog),callback:function ($$v) {_vm.addItemDialog=$$v},expression:\"addItemDialog\"}},[_c('v-card',[_c('v-card-text',{staticClass:\"pt-6\"},[_c('v-text-field',{attrs:{\"id\":\"itemDescription\",\"autofocus\":\"\",\"outlined\":\"\",\"rounded\":\"\",\"hide-details\":\"\",\"type\":\"text\",\"placeholder\":_vm.$t('QuickQuoteForm1.ItemNamePlaceholder'),\"label\":_vm.$t('QuickQuoteForm1.ItemName')},model:{value:(_vm.itemDescription),callback:function ($$v) {_vm.itemDescription=$$v},expression:\"itemDescription\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"text\":\"\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.addItemDialog = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.Cancel'))+\" \")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"text\":\"\",\"loading\":_vm.addingItem,\"rounded\":\"\"},on:{\"click\":function($event){return _vm.createItem()}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm1.Create'))+\" \")])],1)],1)],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport { QuickQuote } from '@/models/quickQuote';\r\nimport { Company } from '@/models/company';\r\nimport ItemsApiService from '@/api/items.api';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\nimport { Item } from '@/models/item';\r\nimport { RequestItem } from '@/models/requestItem';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport { BuyerDetailsResponse } from '@/api/buyers.api';\r\nimport { parse, parseJSON } from 'date-fns';\r\nimport { BuyerRequestQuestion } from '@/models/buyerRequestQuestion';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog }\r\n})\r\nexport default class QuickQuoteFormStep1 extends Vue {\r\n\t@Prop() public buyerDetails!: BuyerDetails;\r\n\t@Prop({ default: null }) public quickQuote!: QuickQuote | null;\r\n\tpublic name = '';\r\n\tpublic startDate = new Date();\r\n\tpublic endDate = new Date();\r\n\tpublic attachedFiles: File[] = [];\r\n\t// public privacyPolicy = '';\r\n\tpublic terms = '';\r\n\r\n\tpublic selectedItems: RequestItem[] = [];\r\n\tpublic itemsFound: Item[] = [];\r\n\tpublic itemsFoundAutocomplete: any[] = [];\r\n\tpublic itemSearchText = '';\r\n\tpublic selectedItem = '';\r\n\tpublic questions: BuyerRequestQuestion[] = [];\r\n\tpublic useLinks = true;\r\n\tpublic saving = false;\r\n\r\n\tpublic itemHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.Quantity'),\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'quantity',\r\n\t\t\twidth: '140px'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.ProductDescription'),\r\n\t\t\talign: 'start',\r\n\t\t\tfilterable: true,\r\n\t\t\tvalue: 'description'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.DeliveryLocation'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'deliveryLocation'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: '',\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'actions'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic questionHeaders = [\r\n\t\t{\r\n\t\t\ttext: '#',\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'order',\r\n\t\t\tsortable: false,\r\n\t\t\twidth: '60px'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm1.Question'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'text'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: '',\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'actions'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic itemDescription = '';\r\n\tpublic itemsLoading = false;\r\n\tpublic addItemDialog = false;\r\n\tpublic addingItem = false;\r\n\r\n\tpublic timerId = 0;\r\n\tpublic questionTimerId = 0;\r\n\r\n\t@Watch('itemSearchText') public onItemSearchTextChanged(searchTerm: string) {\r\n\t\tif (!searchTerm || searchTerm.length < 3) {\r\n\t\t\tthis.itemsFound = [];\r\n\t\t\tthis.itemsFoundAutocomplete = [];\r\n\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.itemDescription = searchTerm;\r\n\t\tthis.itemsLoading = true;\r\n\r\n\t\tclearTimeout(this.timerId);\r\n\r\n\t\t// delay new call 500ms\r\n\t\tthis.timerId = window.setTimeout(() => {\r\n\t\t\tItemsApiService.getItems(searchTerm)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.itemsFound = res.items;\r\n\t\t\t\t\tthis.itemsFoundAutocomplete = [];\r\n\r\n\t\t\t\t\tres.items.forEach(c => {\r\n\t\t\t\t\t\tconst found = this.selectedItems.some(y => y.itemId === c.id);\r\n\r\n\t\t\t\t\t\tif (!found) {\r\n\t\t\t\t\t\t\tthis.itemsFoundAutocomplete.push({\r\n\t\t\t\t\t\t\t\ttext: c.description,\r\n\t\t\t\t\t\t\t\tvalue: c.id\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.itemsLoading = false));\r\n\t\t}, 500);\r\n\t}\r\n\r\n\tcreated() {\r\n\t\tthis.useLinks = !!this.buyerDetails.termsLink;\r\n\r\n\t\tif (this.quickQuote) {\r\n\t\t\tthis.name = this.quickQuote.name;\r\n\t\t\tthis.startDate = parseJSON(this.quickQuote.startDate);\r\n\t\t\tthis.endDate = parseJSON(this.quickQuote.endDate);\r\n\r\n\t\t\tthis.useLinks =\r\n\t\t\t\tthis.quickQuote.usePolicyLinks && !!this.buyerDetails.termsLink;\r\n\r\n\t\t\tif (!this.quickQuote.usePolicyLinks) {\r\n\t\t\t\t// this.privacyPolicy = this.quickQuote.privacyPolicy as string;\r\n\t\t\t\tthis.terms = this.quickQuote.terms as string;\r\n\t\t\t}\r\n\r\n\t\t\tthis.selectedItems = this.quickQuote.buyerRequestItems;\r\n\t\t\tthis.questions = this.quickQuote.questions;\r\n\t\t}\r\n\t\tthis.itemSearchText = '';\r\n\t\tthis.selectedItem = '';\r\n\t}\r\n\r\n\tpublic saveAndNext() {\r\n\t\tthis.questions.forEach(x => x.text.trim());\r\n\t\tthis.questions = this.questions.filter(x => x.text.length);\r\n\t\tthis.recalculateQuestionNumbers();\r\n\t\tlet save: Promise<any>;\r\n\t\tif (this.quickQuote) {\r\n\t\t\t\r\n\t\t\tsave = BuyerRequestsApiService.saveQuickQuoteDetails(this.quickQuote.id, {\r\n\t\t\t\tname: this.name,\r\n\t\t\t\tstartDate: this.startDate,\r\n\t\t\t\tendDate: this.endDate,\r\n\t\t\t\tbuyerRequestItems: this.selectedItems,\r\n\t\t\t\tquestions: this.questions,\r\n\t\t\t\tattachedFiles: this.attachedFiles as File[],\r\n\t\t\t\tusePolicyLinks: this.useLinks,\r\n\t\t\t\tterms: this.terms\r\n\t\t\t\t// privacyPolicy: this.privacyPolicy\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tsave = BuyerRequestsApiService.createQuickQuote({\r\n\t\t\t\tname: this.name,\r\n\t\t\t\tstartDate: this.startDate,\r\n\t\t\t\tendDate: this.endDate,\r\n\t\t\t\tbuyerRequestItems: this.selectedItems,\r\n\t\t\t\tquestions: this.questions,\r\n\t\t\t\tusePolicyLinks: this.useLinks,\r\n\t\t\t\tattachedFiles: this.attachedFiles as File[],\r\n\t\t\t\tterms: this.terms\r\n\t\t\t\t// privacyPolicy: this.privacyPolicy\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tthis.saving = true;\r\n\t\tsave\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t('QuickQuotes.Saved').toString());\r\n\t\t\t\tthis.$emit('onStep1Next', res.id);\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.saving = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\t// public onUseLinksChange() {\r\n\t// \tthis.$emit('updated:usePolicyLinks', this.useLinks);\r\n\t// }\r\n\r\n\t// public onQuestionInput() {\r\n\t// \tclearTimeout(this.questionTimerId);\r\n\r\n\t// \t// delay new call 500ms\r\n\t// \tthis.questionTimerId = setTimeout(() => {\r\n\t// \t\tthis.$emit('update:questions', this.questions);\r\n\t// \t}, 500);\r\n\t// }\r\n\r\n\tpublic onItemChange(selectedItemId: string) {\r\n\t\tconst address = this.generateAddress();\r\n\r\n\t\tif (this.selectedItems.filter(x => x.itemId === selectedItemId).length) {\r\n\t\t\tthis.clearAutocomplete();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst items = this.itemsFound\r\n\t\t\t.filter(x => x.id === selectedItemId)\r\n\t\t\t.map(x => {\r\n\t\t\t\treturn { ...x, itemId: x.id, quantity: 1, deliveryLocation: address };\r\n\t\t\t});\r\n\t\tif (items.length) {\r\n\t\t\tthis.selectedItems.push(items[0]);\r\n\t\t}\r\n\t\tthis.clearAutocomplete();\r\n\t}\r\n\r\n\tpublic addQuestion() {\r\n\t\tthis.questions.push({\r\n\t\t\torder: this.questions.length + 1,\r\n\t\t\ttext: ''\r\n\t\t});\r\n\t}\r\n\r\n\tpublic removeQuestion(order: number) {\r\n\t\tthis.questions = this.questions.filter(x => x.order !== order);\r\n\t\tthis.recalculateQuestionNumbers();\r\n\t}\r\n\r\n\tpublic removeItem(itemId: string) {\r\n\t\tthis.selectedItems = this.selectedItems.filter(x => x.itemId !== itemId);\r\n\t\tthis.recalculateQuestionNumbers();\r\n\t}\r\n\r\n\tpublic createItem() {\r\n\t\tthis.addingItem = true;\r\n\t\tconst address = this.generateAddress();\r\n\t\tItemsApiService.createItem({\r\n\t\t\titemDescription: this.itemDescription\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success('Item created');\r\n\t\t\t\tthis.addItemDialog = false;\r\n\t\t\t\tthis.selectedItems.push({\r\n\t\t\t\t\titemId: res.itemId,\r\n\t\t\t\t\tdescription: res.itemDescription,\r\n\t\t\t\t\tdeliveryLocation: address,\r\n\t\t\t\t\tquantity: 1\r\n\t\t\t\t});\r\n\t\t\t\tthis.selectedItem = '';\r\n\t\t\t\tthis.itemSearchText = '';\r\n\t\t\t\tthis.itemDescription = '';\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.addingItem = false));\r\n\t}\r\n\r\n\tprivate clearAutocomplete() {\r\n\t\tthis.selectedItem = '';\r\n\t\tthis.itemSearchText = '';\r\n\t\tthis.itemsFound = [];\r\n\t\tthis.itemsFoundAutocomplete = [];\r\n\t}\r\n\r\n\tprivate recalculateQuestionNumbers() {\r\n\t\tthis.questions = this.questions.map((q, index) => {\r\n\t\t\treturn {\r\n\t\t\t\t...q,\r\n\t\t\t\torder: index + 1\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\treturn this.questions;\r\n\t}\r\n\r\n\tprivate generateAddress(): string {\r\n\t\tlet address = `${this.buyerDetails.addressLine1}`;\r\n\t\tif (this.buyerDetails.addressLine2) {\r\n\t\t\taddress += `, ${this.buyerDetails.addressLine2}`;\r\n\t\t}\r\n\r\n\t\taddress += `, ${this.buyerDetails.town}, ${this.buyerDetails.postcode}, ${this.buyerDetails.country}`;\r\n\r\n\t\treturn address;\r\n\t}\r\n\r\n\tpublic handleFileChange(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files).filter(file => !this.attachedFiles.includes(file));\r\n \t this.attachedFiles.push(...newFiles);\r\n \t}\r\n\t}\r\n\r\n\tpublic openFileSelection() {\r\n \t// Programmatically trigger file input click\r\n \tconst fileInput = this.$refs.fileInput as HTMLInputElement | undefined;\r\n \tif (fileInput) {\r\n \t fileInput.click();\r\n \t}\r\n\t}\r\n\r\n\tpublic addMoreFiles(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files);\r\n \t this.attachedFiles = [...this.attachedFiles, ...newFiles];\r\n \t}\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep1.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep1.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickQuoteFormStep1.vue?vue&type=template&id=9dfc6b4c&scoped=true&\"\nimport script from \"./QuickQuoteFormStep1.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickQuoteFormStep1.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuickQuoteFormStep1.vue?vue&type=style&index=0&id=9dfc6b4c&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9dfc6b4c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VAutocomplete,VBtn,VCard,VCardActions,VCardText,VCol,VDataTable,VDialog,VFileInput,VIcon,VRow,VSpacer,VSwitch,VTextField,VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"md\":\"6\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.groupsFoundAutocomplete,\"loading\":_vm.groupsLoading,\"search-input\":_vm.groupSearchText,\"hide-selected\":\"\",\"hide-details\":\"\",\"return-object\":\"\",\"clearable\":\"\",\"item-text\":\"name\",\"outlined\":\"\",\"rounded\":\"\",\"autocomplete\":\"new\",\"label\":_vm.$t('QuickQuoteForm2.GroupSelect'),\"placeholder\":_vm.$t('QuickQuoteForm2.ThreeCharsPlaceholder')},on:{\"change\":function($event){return _vm.onGroupSelected($event)},\"update:searchInput\":function($event){_vm.groupSearchText=$event},\"update:search-input\":function($event){_vm.groupSearchText=$event}},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.NoResult'))+\" \")])],1)]},proxy:true},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.name))])],1)]}}]),model:{value:(_vm.selectedGroup),callback:function ($$v) {_vm.selectedGroup=$$v},expression:\"selectedGroup\"}})],1)],1),[_c('div',{},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.Or'))+\" \")]),_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"md\":\"6\"}},[_c('v-autocomplete',{attrs:{\"items\":_vm.suppliersFoundAutocomplete,\"loading\":_vm.suppliersLoading,\"search-input\":_vm.supplierSearchText,\"hide-selected\":\"\",\"hide-details\":\"\",\"item-text\":\"companyName\",\"item-value\":\"personContactId\",\"outlined\":\"\",\"rounded\":\"\",\"autocomplete\":\"new\",\"label\":_vm.$t('QuickQuoteForm2.SearchSelectSuppliers'),\"placeholder\":_vm.$t('QuickQuoteForm2.ThreeCharsPlaceholder')},on:{\"change\":function($event){return _vm.onSupplierSelected($event)},\"update:searchInput\":function($event){_vm.supplierSearchText=$event},\"update:search-input\":function($event){_vm.supplierSearchText=$event}},scopedSlots:_vm._u([{key:\"no-data\",fn:function(){return [_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"primary\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.addSupplierMenu = true}}},[_c('v-icon',[_vm._v(\" ri-add-line \")]),_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.AddNewSupplier'))+\" \")],1)],1)],1)]},proxy:true},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.companyName))]),_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm2.ContactName'))+\": \"+_vm._s(item.personName))])],1)]}}]),model:{value:(_vm.selectedSupplier),callback:function ($$v) {_vm.selectedSupplier=$$v},expression:\"selectedSupplier\"}}),_c('v-btn',{staticClass:\"ml-4\",attrs:{\"text\":\"\",\"color\":\"primary\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.addSupplierMenu = true}}},[_c('v-icon',[_vm._v(\" ri-add-line \")]),_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.AddNewSupplier'))+\" \")],1)],1),_c('v-dialog',{staticStyle:{\"z-index\":\"1000\"},attrs:{\"persistent\":\"\",\"width\":\"600px\"},model:{value:(_vm.addSupplierMenu),callback:function ($$v) {_vm.addSupplierMenu=$$v},expression:\"addSupplierMenu\"}},[_c('PersonForm',{attrs:{\"cancel\":_vm.closePersonFormDialog,\"onSaved\":_vm.onPersonSave}})],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.supplierHeaders,\"items\":_vm.selectedSuppliers,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"no-data-text\":_vm.$t('QuickQuoteForm2.NoSupplierAdded')},scopedSlots:_vm._u([{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"icon\":\"\",\"color\":\"error\"},on:{\"click\":function($event){return _vm.removeSupplier(item.personContactId)}}},[_c('v-icon',[_vm._v(\"ri-delete-bin-5-line\")])],1)]}}])})],_c('v-btn',{staticClass:\"my-4 mr-4\",attrs:{\"rounded\":\"\",\"large\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.back()}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.Back'))+\" \")]),_c('v-btn',{staticClass:\"my-4\",attrs:{\"color\":\"primary\",\"loading\":_vm.saving,\"rounded\":\"\",\"large\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.saveAndNext()}}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteForm2.SaveNNext'))+\" \"),_c('v-icon',[_vm._v(\" ri-arrow-right-s-line \")])],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport { QuickQuote } from '@/models/quickQuote';\r\nimport { Company } from '@/models/company';\r\nimport ItemsApiService from '@/api/items.api';\r\nimport PersonForm from '@/components/PersonForm.vue';\r\nimport ContactsApiService from '@/api/contacts.api';\r\nimport { PersonContact } from '@/models/personContact';\r\nimport BuyerRequestsApiService, {\r\n\tBuyerRequestPersonContact\r\n} from '@/api/buyerRequests.api';\r\nimport { QuotationState } from '@/models/enums/quotationState';\r\nimport { CompanyGroup } from '@/models/companyGroup';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, PersonForm }\r\n})\r\nexport default class QuickQuoteFormStep2 extends Vue {\r\n\t@Prop() public quickQuote!: QuickQuote;\r\n\tpublic selectedSuppliers: BuyerRequestPersonContact[] = [];\r\n\tpublic suppliersFound: PersonContact[] = [];\r\n\tpublic groupsFound: CompanyGroup[] = [];\r\n\tpublic groupsFoundAutocomplete: any[] = [];\r\n\tpublic suppliersFoundAutocomplete: any[] = [];\r\n\tpublic supplierSearchText = '';\r\n\tpublic groupSearchText = '';\r\n\tpublic selectedSupplier = '';\r\n\tpublic selectedGroup: CompanyGroup | null = null;\r\n\tpublic saving = false;\r\n\r\n\tpublic supplierHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm2.Name'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'name'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm2.CompanyName'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'companyName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm2.CompanyAddress'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'companyAddress'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('QuickQuoteForm2.Email'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'email'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: '',\r\n\t\t\talign: 'end',\r\n\t\t\tvalue: 'actions'\r\n\t\t}\r\n\t];\r\n\r\n\tpublic suppliersLoading = false;\r\n\tpublic groupsLoading = false;\r\n\tpublic addSupplierMenu = false;\r\n\tpublic addingItem = false;\r\n\r\n\tpublic timerId = 0;\r\n\r\n\t@Watch('supplierSearchText') public onItemSearchTextChanged(\r\n\t\tsearchTerm: string\r\n\t) {\r\n\t\tif (!searchTerm || searchTerm.length < 3) {\r\n\t\t\tthis.suppliersFound = [];\r\n\t\t\tthis.suppliersFoundAutocomplete = [];\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.suppliersLoading = true;\r\n\r\n\t\tclearTimeout(this.timerId);\r\n\r\n\t\t// delay new call 500ms\r\n\t\tthis.timerId = window.setTimeout(() => {\r\n\t\t\tContactsApiService.searchCompaniesForPeople(searchTerm)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.suppliersFound = res.people;\r\n\r\n\t\t\t\t\tres.people.forEach(x => {\r\n\t\t\t\t\t\tconst found = this.selectedSuppliers.some(\r\n\t\t\t\t\t\t\ty => y.personContactId === x.id\r\n\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\tif (!found) {\r\n\t\t\t\t\t\t\tthis.suppliersFoundAutocomplete.push({\r\n\t\t\t\t\t\t\t\tpersonName: x.name,\r\n\t\t\t\t\t\t\t\tcompanyName: x.companyName,\r\n\t\t\t\t\t\t\t\tpersonContactId: x.id\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t// this.suppliersFoundAutocomplete = res.people.map(x => {\r\n\t\t\t\t\t// \treturn {\r\n\t\t\t\t\t// \t\tpersonName: x.name,\r\n\t\t\t\t\t// \t\tcompanyName: x.companyName,\r\n\t\t\t\t\t// \t\tpersonContactId: x.id\r\n\t\t\t\t\t// \t};\r\n\t\t\t\t\t// });\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.suppliersLoading = false));\r\n\t\t}, 500);\r\n\t}\r\n\t@Watch('groupSearchText') public onGroupSearchTextChanged(searchTerm: string) {\r\n\t\tif (!searchTerm || searchTerm.length < 3) {\r\n\t\t\tthis.groupsFound = [];\r\n\t\t\tthis.groupsFoundAutocomplete = [];\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.groupsLoading = true;\r\n\r\n\t\tclearTimeout(this.timerId);\r\n\r\n\t\t// delay new call 500ms\r\n\t\tthis.timerId = window.setTimeout(() => {\r\n\t\t\tContactsApiService.getGroups(searchTerm)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.groupsFound = res.groups;\r\n\t\t\t\t\tthis.groupsFoundAutocomplete = res.groups;\r\n\t\t\t\t\t// res.groups.forEach(x => {\r\n\t\t\t\t\t// \tconst found = this.selectedGroups.some(y => y.id === x.id);\r\n\r\n\t\t\t\t\t// \tif (!found) {\r\n\t\t\t\t\t// \t\tthis.groupsFoundAutocomplete.push(x);\r\n\t\t\t\t\t// \t}\r\n\t\t\t\t\t// });\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.groupsLoading = false));\r\n\t\t}, 500);\r\n\t}\r\n\r\n\tcreated() {\r\n\t\tif (this.quickQuote) {\r\n\t\t\tthis.selectedSuppliers = this.quickQuote.buyerRequestPersonContacts;\r\n\t\t}\r\n\t\tthis.supplierSearchText = '';\r\n\t\tthis.selectedSupplier = '';\r\n\t}\r\n\r\n\tpublic onPersonSave(person: any) {\r\n\t\tthis.selectedSuppliers.push({\r\n\t\t\tname: person.name,\r\n\t\t\temail: person.email,\r\n\t\t\tpersonContactId: person.id,\r\n\t\t\tcompanyId: person.companyId,\r\n\t\t\tcompanyName: person.companyName,\r\n\t\t\tcompanyAddress: person.companyAddress,\r\n\t\t\tquotationState: QuotationState.Sent\r\n\t\t});\r\n\t}\r\n\r\n\tpublic back() {\r\n\t\tthis.$emit('onStep2Back');\r\n\t}\r\n\r\n\tpublic closePersonFormDialog() {\r\n\t\tthis.addSupplierMenu = false;\r\n\t}\r\n\r\n\tpublic onSupplierSelected(selectedSupplierId: string) {\r\n\t\tif (\r\n\t\t\tthis.selectedSuppliers.some(x => x.personContactId === selectedSupplierId)\r\n\t\t) {\r\n\t\t\tthis.clearSupplierAutocomplete();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst suppliers = this.suppliersFound.filter(\r\n\t\t\tx => x.id === selectedSupplierId\r\n\t\t);\r\n\r\n\t\tif (suppliers.length) {\r\n\t\t\tthis.selectedSuppliers.push({\r\n\t\t\t\t...suppliers[0],\r\n\t\t\t\tpersonContactId: suppliers[0].id,\r\n\t\t\t\tquotationState: QuotationState.Sent\r\n\t\t\t});\r\n\t\t}\r\n\t\tthis.clearSupplierAutocomplete();\r\n\t}\r\n\r\n\t// public onClearGroup(selectedGroupId: string) {\r\n\t// \tthis.clearGroupAutocomplete();\r\n\t// }\r\n\r\n\tpublic onGroupSelected(selectedGroup: CompanyGroup) {\r\n\t\tthis.suppliersLoading = true;\r\n\t\tthis.clearGroupAutocomplete();\r\n\t\tContactsApiService.getGroup(selectedGroup.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tconst newSuppliers = res.group.contacts.filter(x => {\r\n\t\t\t\t\tconst found = this.selectedSuppliers.some(y => y.personContactId === x.id);\r\n\r\n\t\t\t\t\treturn !found;\r\n\t\t\t\t});\r\n\r\n\t\t\t\tconst suppliersToAdd = newSuppliers.map(x => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tpersonContactId: x.id,\r\n\t\t\t\t\t\tname: x.name,\r\n\t\t\t\t\t\temail: x.email,\r\n\t\t\t\t\t\tcompanyId: x.companyId,\r\n\t\t\t\t\t\tcompanyName: x.companyName,\r\n\t\t\t\t\t\tcompanyAddress: x.companyAddress,\r\n\t\t\t\t\t\tquotationState: QuotationState.Sent\r\n\t\t\t\t\t};\r\n\t\t\t\t});\r\n\r\n\t\t\t\tthis.selectedSuppliers.push(...suppliersToAdd);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.suppliersLoading = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic removeSupplier(personContactId: string) {\r\n\t\tthis.selectedSuppliers = this.selectedSuppliers.filter(\r\n\t\t\tx => x.personContactId !== personContactId\r\n\t\t);\r\n\t}\r\n\r\n\tpublic saveAndNext() {\r\n\t\tthis.saving = true;\r\n\t\tBuyerRequestsApiService.saveSuppliers(this.quickQuote.id, {\r\n\t\t\tbuyerRequestPersonContacts: this.selectedSuppliers\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t('QuickQuotes.Saved').toString());\r\n\t\t\t\tthis.$emit('onStep2Next');\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.saving = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate clearSupplierAutocomplete() {\r\n\t\tthis.selectedSupplier = '';\r\n\t\tthis.supplierSearchText = '';\r\n\t\tthis.suppliersFound = [];\r\n\t\tthis.suppliersFoundAutocomplete = [];\r\n\t}\r\n\r\n\tprivate clearGroupAutocomplete() {\r\n\t\tthis.selectedGroup = null;\r\n\t\tthis.groupSearchText = '';\r\n\t\tthis.groupsFound = [];\r\n\t\tthis.groupsFoundAutocomplete = [];\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep2.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteFormStep2.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickQuoteFormStep2.vue?vue&type=template&id=5aa3de94&scoped=true&\"\nimport script from \"./QuickQuoteFormStep2.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickQuoteFormStep2.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuickQuoteFormStep2.vue?vue&type=style&index=0&id=5aa3de94&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5aa3de94\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAutocomplete } from 'vuetify/lib/components/VAutocomplete';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAutocomplete,VBtn,VCol,VDataTable,VDialog,VIcon,VListItemContent,VListItemSubtitle,VListItemTitle,VRow})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport QuickQuoteFormStep1 from '@/views/buyerRequests/quickQuotes/QuickQuoteFormStep1.vue';\r\nimport QuickQuoteFormStep2 from '@/views/buyerRequests/quickQuotes/QuickQuoteFormStep2.vue';\r\nimport QuickQuotePreview from '@/views/buyerRequests/quickQuotes/QuickQuotePreview.vue';\r\nimport { QuickQuote } from '@/models/quickQuote';\r\nimport { Company } from '@/models/company';\r\nimport { Item } from '@/models/item';\r\nimport BuyersApiService from '@/api/buyers.api';\r\nimport { BuyerDetails } from '@/models/buyerDetails';\r\nimport BuyerRequestsApiService from '@/api/buyerRequests.api';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tConfirmDialog,\r\n\t\tQuickQuoteFormStep1,\r\n\t\tQuickQuoteFormStep2,\r\n\t\tQuickQuotePreview,\r\n\t\tLoadingSpinner\r\n\t}\r\n})\r\nexport default class QuickQuoteForm extends Vue {\r\n\t@Prop({ default: '' }) public quickQuoteId!: string;\r\n\t@Prop() public cancel!: any;\r\n\t// @Prop() public onSaved!: any;\r\n\tpublic saving = false;\r\n\tpublic sending = false;\r\n\tpublic buyerDetails: BuyerDetails | null = null;\r\n\tpublic quickQuote: QuickQuote | null = null;\r\n\r\n\tpublic loadingDetails = false;\r\n\tpublic loadingQuickQuote = false;\r\n\r\n\tpublic step = 1;\r\n\tpublic finalStep = 3;\r\n\r\n\tpublic timerId = 0;\r\n\r\n\tcreated() {\r\n\t\tthis.getBuyerDetails();\r\n\r\n\t\tif (this.quickQuoteId) {\r\n\t\t\tthis.getQuickQuote();\r\n\t\t}\r\n\t}\r\n\r\n\t// public save() {\r\n\t// \tif (this.quickQuoteId) {\r\n\t// \t\tthis.updateQuickQuote();\r\n\t// \t\treturn;\r\n\t// \t}\r\n\r\n\t// \tthis.create();\r\n\t// }\r\n\r\n\tpublic sendToSuppliers() {\r\n\t\tif (!this.quickQuote) return;\r\n\t\tthis.sending = true;\r\n\t\tBuyerRequestsApiService.sendToSuppliers(this.quickQuote.id)\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success('Successfully sent Quick Quote to suppliers');\r\n\t\t\t\tthis.cancel();\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.sending = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tpublic onStep1Next(quickQuoteId: string) {\r\n\t\tthis.step = 2;\r\n\t\tthis.$emit('onQuickQuoteCreated', quickQuoteId);\r\n\r\n\t\tthis.getQuickQuote(quickQuoteId);\r\n\t}\r\n\r\n\tpublic onStep2Next() {\r\n\t\tthis.step = 3;\r\n\t\tthis.getQuickQuote((this.quickQuote as QuickQuote).id);\r\n\t}\r\n\r\n\tpublic onStep2Back() {\r\n\t\tthis.step = 1;\r\n\t}\r\n\r\n\tpublic onStep3Back() {\r\n\t\tthis.step = 2;\r\n\t}\r\n\r\n\t// public create() {\r\n\t// \tthis.onSaved();\r\n\t// }\r\n\r\n\t// public updateQuickQuote() {\r\n\t// \tthis.onSaved();\r\n\t// }\r\n\r\n\tprivate getBuyerDetails() {\r\n\t\tthis.loadingDetails = true;\r\n\t\tBuyersApiService.getBuyerDetails()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.buyerDetails = res;\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.loadingDetails = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tprivate getQuickQuote(quickQuoteId?: string) {\r\n\t\tconst qid = quickQuoteId ? quickQuoteId : this.quickQuoteId;\r\n\r\n\t\tthis.loadingQuickQuote = true;\r\n\t\treturn BuyerRequestsApiService.getQuickQuote(qid)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.quickQuote = { ...res };\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t\tthis.cancel();\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n\t\t\t\tthis.loadingQuickQuote = false;\r\n\t\t\t});\r\n\t}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickQuoteForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickQuoteForm.vue?vue&type=template&id=d1efd138&scoped=true&\"\nimport script from \"./QuickQuoteForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickQuoteForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuickQuoteForm.vue?vue&type=style&index=0&id=d1efd138&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d1efd138\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VStepperStep } from 'vuetify/lib/components/VStepper';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VSpacer,VStepper,VStepperContent,VStepperStep})\n","import { TeamMemberRole } from '@/models/enums/teamMemberRole';\r\nimport { MutationTree } from 'vuex';\r\nimport { AuthState } from './index';\r\n\r\nexport const mutations: MutationTree<AuthState> = {\r\n\tSET_AUTHED(state, isAuthed: boolean) {\r\n\t\tstate.authed = isAuthed;\r\n\t},\r\n\t// SET_USER(state, user: CognitoUser) {\r\n\t// \tstate.user = user;\r\n\t// },\r\n\tSET_ATTRIBUTES(\r\n\t\tstate,\r\n\t\tnames: {\r\n\t\t\temail: string;\r\n\t\t\tuserId: string;\r\n\t\t\tfirstName: string;\r\n\t\t\tsurname: string;\r\n\t\t}\r\n\t) {\r\n\t\tstate.email = names.email;\r\n\t\tstate.userId = names.userId;\r\n\t\tstate.firstName = names.firstName;\r\n\t\tstate.surname = names.surname;\r\n\t},\r\n\tSET_USER_SETTINGS(\r\n\t\tstate,\r\n\t\tsettings: {\r\n\t\t\tbuyerName: string;\r\n\t\t\tbuyerId: string;\r\n\t\t\troles: TeamMemberRole[];\r\n\t\t\tisBuyerSubscribed: boolean;\r\n\t\t\tisSuperAdmin: boolean;\r\n\t\t\tbuyerLogoUrl: string;\r\n\t\t}\r\n\t) {\r\n\t\tstate.buyerId = settings.buyerId;\r\n\t\tstate.buyerName = settings.buyerName;\r\n\t\tstate.roles = settings.roles;\r\n\t\tstate.isBuyerSubscribed = settings.isBuyerSubscribed;\r\n\t\tstate.isSuperAdmin = settings.isSuperAdmin;\r\n\t\tstate.buyerLogoUrl=settings.buyerLogoUrl;\r\n\t},\r\n\tSET_BUYER_LOGO(\r\n\t\tstate,\r\n\t\tlogo:string\r\n\t) {\r\n\t\tstate.buyerLogoUrl=logo;\r\n\t}\r\n};\r\n\r\nexport const SET_AUTHED = 'SET_AUTHED';\r\nexport const SET_USER_SETTINGS = 'SET_USER_SETTINGS';\r\n// export const SET_USER = 'SET_USER';\r\nexport const SET_ATTRIBUTES = 'SET_ATTRIBUTES';\r\nexport const SET_BUYER_LOGO = 'SET_BUYER_LOGO';\r\n\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateApprovalRequestPage.vue?vue&type=style&index=1&id=12162fe4&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateApprovalRequestPage.vue?vue&type=style&index=1&id=12162fe4&scoped=true&lang=css&\"","export enum QuotationState {\r\n\tSent = 0,\r\n\tOpened = 1,\r\n\tSubmitted = 2,\r\n\tDeclined = 3\r\n}\r\n"],"sourceRoot":""}