{"version":3,"sources":["webpack:///./src/offers/OfferEditor.vue","webpack:///./src/offers/OfferEditor.vue?ca17","webpack:///./src/offers/OfferEditor.vue?b614","webpack:///./src/offers/OfferEditor.vue?396e","webpack:///./src/panel/SelectInvoicingMode.vue","webpack:///./src/panel/SelectInvoicingMode.vue?f000","webpack:///./src/panel/SelectInvoicingMode.vue?97b8","webpack:///./src/panel/SelectInvoicingMode.vue?e27f","webpack:///./src/offers/NoOffersFromClient.vue?962b","webpack:///./src/panel/UserPanelRoot.vue","webpack:///./src/panel/PanelSummary.vue","webpack:///./src/panel/RemoveAccount.vue","webpack:///./src/panel/removeAccountWs.ts","webpack:///./src/panel/RemoveAccount.vue?68d0","webpack:///./src/panel/RemoveAccount.vue?6042","webpack:///./src/panel/RemoveAccount.vue?0783","webpack:///./src/panel/PanelSummary.vue?bac9","webpack:///./src/panel/PanelSummary.vue?741d","webpack:///./src/panel/PanelSummary.vue?afc6","webpack:///./src/panel/BasicInformation.vue","webpack:///./src/panel/BasicInformation.vue?a28c","webpack:///./src/panel/BasicInformation.vue?b05e","webpack:///./src/panel/BasicInformation.vue?89c5","webpack:///./src/panel/UserPanelRoot.vue?d6fb","webpack:///./src/panel/UserPanelRoot.vue?cc02","webpack:///./src/panel/UserPanelRoot.vue?85c8","webpack:///./src/login/LoginWithFacebook.vue?2091","webpack:///./src/offers/OfferListItemClient.vue?1dc2","webpack:///./src/login/LoginWithFacebook.vue","webpack:///./src/login/LoginWithFacebook.vue?0e7d","webpack:///./src/login/LoginWithFacebook.vue?a188","webpack:///./src/login/LoginWithFacebook.vue?a541","webpack:///./src/panel/EditAddressForm.vue","webpack:///./src/panel/EditAddressForm.vue?0b3c","webpack:///./src/panel/EditAddressForm.vue?8150","webpack:///./src/panel/EditAddressForm.vue?dce1","webpack:///./src/login/LoginForm.vue","webpack:///./src/login/callLogin.ts","webpack:///./src/login/LoginForm.vue?f13b","webpack:///./src/login/LoginForm.vue?f6de","webpack:///./src/login/LoginForm.vue?d240","webpack:///./src/offers/interests/OfferInterestsList.vue?3e9a","webpack:///./src/offers/interests/OfferInterestsListItem.vue?faa5","webpack:///./src/offers/interests/OfferInterests.vue?0dbe","webpack:///./src/offers/OfferListClient.vue?cd05","webpack:///./src/offers/interests/OfferInterests.vue","webpack:///./src/offers/interests/OfferInterestsList.vue","webpack:///./src/offers/interests/OfferInterestsListItem.vue","webpack:///./src/offers/interests/OfferInterestsListItem.vue?b1c8","webpack:///./src/offers/interests/OfferInterestsListItem.vue?09e4","webpack:///./src/offers/interests/OfferInterestsListItem.vue?23b8","webpack:///./src/offers/interests/OfferInterestsList.vue?30d1","webpack:///./src/offers/interests/OfferInterestsList.vue?2433","webpack:///./src/offers/interests/OfferInterestsList.vue?c4b7","webpack:///./src/offers/interests/OfferInterests.vue?6942","webpack:///./src/offers/interests/OfferInterests.vue?c614","webpack:///./src/offers/interests/OfferInterests.vue?a71f","webpack:///./src/panel/EditAddressForm.vue?a1fb","webpack:///./src/panel/InvoiceDetailsForm.vue","webpack:///./src/panel/InvoiceDetailsForm.vue?a57e","webpack:///./src/panel/InvoiceDetailsForm.vue?de51","webpack:///./src/panel/InvoiceDetailsForm.vue?9255","webpack:///./src/panel/UploadPicture.vue","webpack:///./src/panel/UploadPicture.vue?0f47","webpack:///./src/panel/UploadPicture.vue?8b1a","webpack:///./src/panel/UploadPicture.vue?d6ce","webpack:///./src/panel/UploadPicture.vue?f9b1","webpack:///./src/offers/OffersMain.vue","webpack:///./src/offers/OfferList.vue","webpack:///./src/offers/OfferListItem.vue","webpack:///./src/offers/OfferListItem.vue?d3be","webpack:///./src/offers/OfferListItem.vue?7b0a","webpack:///./src/offers/OfferListItem.vue?f44b","webpack:///./src/offers/OfferListBase.ts","webpack:///./src/offers/OfferList.vue?f154","webpack:///./src/offers/OfferList.vue?8c23","webpack:///./src/offers/OfferList.vue?6348","webpack:///./src/offers/OfferListMobile.vue","webpack:///./src/offers/OfferListMobile.vue?5ff0","webpack:///./src/offers/OfferListMobile.vue?2ad0","webpack:///./src/offers/OfferListMobile.vue?9d69","webpack:///./src/offers/NoOffersFromClient.vue","webpack:///./src/offers/NoOffersFromClient.vue?f4af","webpack:///./src/offers/NoOffersFromClient.vue?3555","webpack:///./src/offers/NoOffersFromClient.vue?8bdc","webpack:///./src/offers/OfferListClient.vue","webpack:///./src/offers/OfferListItemClient.vue","webpack:///./src/offers/OfferListItemClient.vue?38a2","webpack:///./src/offers/OfferListItemClient.vue?6ec2","webpack:///./src/offers/OfferListItemClient.vue?8572","webpack:///./src/offers/OfferListClient.vue?5a15","webpack:///./src/offers/OfferListClient.vue?0f91","webpack:///./src/offers/OfferListClient.vue?5b42","webpack:///./src/offers/OffersMain.vue?842b","webpack:///./src/offers/OffersMain.vue?277a","webpack:///./src/offers/OffersMain.vue?4bf4"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","attrs","breadcrumbsList","isAddNewOfferView","_v","_s","$t","title","on","$event","preventDefault","onSubmit","apply","arguments","isLoading","model","value","offer","headline","callback","$$v","$set","expression","language","val","languageSelected","countryCode","regionOptions","selectedRegion","cityOptions","selectedCity","categoryOptions","categoryId","description","_e","buttonSaveText","offerId","id","onDelete","name","query","type","staticRenderFns","OfferEditor","Vue","constructor","store","getters","module","user","regionId","categories","regions","text","href","$route","cities","fetchRegions","getRegions","then","response","data","finally","Promise","resolve","getCategoryTree","code","accountType","AccountType","Client","mounted","isLoggedInAsClient","goBackToList","$watch","current","old","cityId","catch","error","pushError","params","commit","setActiveModuleName","getOffer","userRegion","find","r","userCity","c","fetchCategories","promise","editOffer","addOffer","$toasted","success","toString","duration","$bvModal","msgBoxConfirm","okTitle","cancelTitle","deleteOffer","$router","push","__decorate","Prop","Component","components","LanguagesDropdown","Treeselect","CountrySelect","Multiselect","component","zeroVatBgVariant","zeroVatTextVariant","onZeroVatClicked","fullVatBgVariant","fullVatTextVariant","onFullVatClicked","SelectAccountStep","$emit","save","saveCustomerInvoicingMode","localState","dispatch","updateStoredUser","customerInvoicingMode","shouldBeDisplayed","Unknown","CustomerInvoicingMode","ZeroVat","FullVat","isUserLoggedIn","hash","isClient","directives","rawName","avatarUrl","isAssistant","rating","education","languagesText","location","userSince","require","modifiers","userEmail","textState","isRemoving","onRemove","url","removeAccount","axios","delete","RemoveAccount","email","setUser","undefined","saveUserToStorage","PanelSummary","averageRating","totalRatings","firstName","lastName","toUpperCase","Assistant","setLanguages","setRating","setLocation","setUserSince","setEducation","educationParts","educationLevel","getEducationLevelOptionTranslation","educationDetails","join","date","Date","registrationDateTime","toLocaleDateString","locationParts","address","country","countries","city","avatarId","getBaseImagesUrl","languages","map","x","lang","l","languageCode","langLvl","getLevelOptionTranslation","level","getLanguage","getMyRating","RatingStars","onUpdateSecondForm","genderOptions","gender","maritalStatusOptions","maritalStatus","birthDate","rawHeight","educationLevelOptions","higherEducationLevel","studentEducationLevel","otherEducationLevel","isLoadingSecondForm","BasicInformation","isLoadingFirstForm","scale","EducationLevel","Higher","Student","Other","getAssistantInformation","height","getTime","console","log","updateBasicInfo","getHeightInOtherScale","toISOString","Gender","Female","Male","getEducationLevelOptionsTranslations","getMaritalStatusOptionsTranslations","BirthDatepicker","SelectHeight","UploadPicture","HourlyRate","UserPanelRoot","EditAddressForm","InvoiceDetailsForm","Languages","Interests","Hobbies","SelectCategories","canGo","loginWithFacebook","LoginWithFacebook","loginUrl","FB","client_id","getFacebookClientId","scope","response_type","redirect_uri","getBaseUrl","window","zipCode","street","additionalInfo","hasExternalSaveButton","EditAddress","alreadyHasAnAddress","fetchAddresses","length","region","isValid","geocodeAddress","result","longitude","lng","latitude","lat","updateAddress","createAddress","class","form","password","login","post","LoginForm","callLogin","setUserLanguage","urlToRedirectAfterLogon","errorMessage","opts","interestsModel","newInterests","acceptedInterests","declinedInterests","interests","_l","interest","key","informationVisible","imagesUrl","userPhotoId","watchedInterest","userId","userFirstName","userLastName","fullDescriptionShown","fullDescription","partDescription","hideReadMoreButton","toggleFullDescription","isAccepted","onSendAcceptClicked","isDeclined","onSendDeclineClicked","OfferInterestsListItem","userDescription","slice","status","JobOfferInterestStatus","Declined","Accepted","acceptOfferInterest","reload","declineOfferInterest","OfferInterestsList","OfferInterests","getOfferInterests","filter","i","Sent","fetchInvoiceDetails","setInvoiceDetails","$refs","upload","files","edit","ref","clear","editSave","serviceUrl","editValue","headers","inputFile","inputFilter","fetch","userPhotos","photo","deletePhoto","bind","isMainPhoto","setPhotoAsMain","photos","cropper","authorization","token","getBaseServiceUrl","oldFile","binStr","atob","getCroppedCanvas","toDataURL","split","setEdit","arr","Uint8Array","charCodeAt","file","File","update","size","active","newFile","prevent","$nextTick","editImage","Cropper","zoomable","viewMode","background","destroy","test","URL","webkitURL","createObjectURL","deleteUserPhoto","photoId","getPhotos","VueUploadComponent","offers","offersNew","$isMobile","offersInterested","hasUnseenAccepted","offersAccepted","onTabAcceptedClicked","hasUnseenDeclined","offersDeclined","onTabDeclinedClicked","staticStyle","resetFilters","localFilters","phrase","countryOptions","countryChanged","regionsOptionsExist","regionChanged","citiesOptionsExist","offerList","isOwnOffer","categoryName","domProps","showFullDescription","truncatedDescription","descriptionNeedsTruncating","_f","dateAdded","validFor","isSent","onSendYourInterestClicked","totalInterestsNumber","newAssistantInterestsNumber","OfferListItem","interestStatus","replace","daysToExpire","Math","ceil","expirationDate","textToReturn","maxCharacters","substring","sendOfferInterest","JobOfferListBase","emptyFilters","o","some","toLowerCase","includes","sort","a","b","Object","assign","cityChanged","$forceUpdate","OfferList","Mixins","OfferListBase","super","label","options","category","tabNumberValue","selectedCategoryGroup","getCategoryGroupButtonText","selectedCategoryGroupName","clearRegion","clearCity","OfferListMobile","tabNumber","categoryGroup","allCategoryIdsInGroup","flatMap","selectedCategoriesInGroupCount","jobsCategoryIds","cat","children","opt","NoOffersFromClient","removeOffer","$tc","OfferListItemClient","OffersListClient","Offers","getOfferList","balance","jobOffers","unseenInterestAccepted","unseenInterestDeclined","markAsSeen","setUnseenInterest","number"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EA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file":"js/account~e2550e02.870df1ef.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('main',[_c('div',{staticClass:\"container-custom\"},[_c('b-breadcrumb',{attrs:{\"items\":_vm.breadcrumbsList}})],1),_c('div',{staticClass:\"add-job-offer\"},[_c('div',{staticClass:\"container-custom\"},[_c('div',{staticClass:\"add-job-offer__form\"},[(_vm.isAddNewOfferView)?[_c('h1',[_vm._v(_vm._s(_vm.$t('Add job offer')))]),_c('p',[_vm._v(_vm._s(_vm.$t('Describe your assignment and then receive proposals from assistants!')))])]:[_c('h1',[_vm._v(_vm._s(_vm.title))])],_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"id\":\"headline\",\"label\":`${_vm.$t('Headline')}`,\"label-for\":\"headline\"}},[_c('b-form-input',{attrs:{\"autocomplete\":\"off\",\"id\":\"headline\",\"name\":\"headline\",\"disabled\":_vm.isLoading,\"required\":\"\"},model:{value:(_vm.offer.headline),callback:function ($$v) {_vm.$set(_vm.offer, \"headline\", $$v)},expression:\"offer.headline\"}})],1),_c('div',{staticClass:\"custom-row\"},[_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Required language')}`}},[_c('languages-dropdown',{attrs:{\"selected\":_vm.offer.language},on:{\"change\":(val) => _vm.languageSelected(val)}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Country')}`,\"disabled\":_vm.isLoading,\"label-for\":\"country\"}},[_c('CountrySelect',{attrs:{\"disabled\":_vm.isLoading},model:{value:(_vm.offer.countryCode),callback:function ($$v) {_vm.$set(_vm.offer, \"countryCode\", $$v)},expression:\"offer.countryCode\"}})],1)],1),_c('div',{staticClass:\"custom-row\"},[_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Region')}`,\"disabled\":_vm.isLoading,\"label-for\":\"region\"}},[_c('multiselect',{attrs:{\"options\":_vm.regionOptions,\"searchable\":true,\"label\":\"name\",\"placeholder\":_vm.$t('Select region'),\"required\":\"\",\"allow-empty\":false,\"deselect-label\":\"\"},model:{value:(_vm.selectedRegion),callback:function ($$v) {_vm.selectedRegion=$$v},expression:\"selectedRegion\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('City')}`,\"disabled\":_vm.isLoading,\"label-for\":\"city\"}},[_c('multiselect',{attrs:{\"options\":_vm.cityOptions,\"searchable\":true,\"label\":\"name\",\"placeholder\":_vm.$t('Enter city'),\"required\":\"\",\"allow-empty\":false,\"deselect-label\":\"\"},model:{value:(_vm.selectedCity),callback:function ($$v) {_vm.selectedCity=$$v},expression:\"selectedCity\"}})],1)],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Category')}`,\"label-for\":\"category\"}},[_c('treeselect',{attrs:{\"disableBranchNodes\":true,\"multiple\":false,\"options\":_vm.categoryOptions},model:{value:(_vm.offer.categoryId),callback:function ($$v) {_vm.$set(_vm.offer, \"categoryId\", $$v)},expression:\"offer.categoryId\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Description')}`,\"label-for\":\"description\"}},[_c('b-form-textarea',{attrs:{\"id\":\"description\",\"name\":\"description\",\"disabled\":_vm.isLoading,\"rows\":\"3\",\"max-rows\":\"10\",\"required\":\"\",\"placeholder\":`${_vm.$t('Describe the job offer')}`},model:{value:(_vm.offer.description),callback:function ($$v) {_vm.$set(_vm.offer, \"description\", $$v)},expression:\"offer.description\"}})],1),_c('b-button',{staticClass:\"primary btn-save\",attrs:{\"type\":\"submit\",\"size\":\"lg\",\"disabled\":_vm.isLoading,\"variant\":\"primary\"}},[(_vm.isLoading)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.buttonSaveText)+\" \")],1),(_vm.offerId && _vm.offer.id)?_c('b-button',{staticClass:\"primary btn-remove\",attrs:{\"size\":\"lg\",\"variant\":\"outline-danger\",\"disabled\":_vm.isLoading},on:{\"click\":_vm.onDelete}},[_vm._v(\" \"+_vm._s(_vm.$t('Remove'))+\" \")]):_vm._e()],1)],2),_c('div',{staticClass:\"add-job-offer__details\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('Useful tips')))]),_c('ul',[_c('li',[_c('i'),_c('span',[_vm._v(_vm._s(_vm.$t('Describe your offer in detail - the more accurate the description, the better the chance of finding the right assistant.')))])]),_c('li',[_c('i'),_c('span',[_vm._v(_vm._s(_vm.$t('Give your offer a heading, choose the language in which you want to communicate with the Assistant and choose the category in which you are listing')))])])]),_c('p',[_vm._v(_vm._s(_vm.$t('For more useful tips, please visit'))+\" \"),_c('router-link',{attrs:{\"to\":{ name: 'HowItWorks', query: { type: 'client' } }}},[_vm._v(_vm._s(_vm.$t('How AssistantLine works - Customer')))])],1)])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport {\n addOffer,\n deleteOffer,\n editOffer,\n getOffer,\n JobOfferSaveRequest,\n JobOfferViewModel,\n} from \"./offerWebServices\";\nimport store from \"../store\";\nimport LanguagesDropdown from \"vue-languages-dropdown\";\nimport Treeselect from \"@riophae/vue-treeselect\";\nimport \"@riophae/vue-treeselect/dist/vue-treeselect.css\";\nimport {\n CategoryGroup,\n fetchCategories,\n} from \"../serviceClients/categoryWebServices\";\nimport { getCategoryTree } from \"@/helpers/categoryTreeMapper\";\nimport { AccountType } from \"@/register/registerModel\";\nimport CountrySelect from \"../components/CountrySelect.vue\";\nimport { getRegions, Region, City } from \"../serviceClients/regionWebService\";\nimport Multiselect from 'vue-multiselect';\nimport { pushError } from \"@/core\";\nimport VueI18n from \"vue-i18n\";\n\n@Component({\n components: {\n LanguagesDropdown,\n Treeselect,\n CountrySelect,\n Multiselect\n },\n})\nexport default class OfferEditor extends Vue {\n @Prop() title!: string;\n @Prop() existingOffer?: JobOfferViewModel;\n\n offerId: string | null = null;\n offer: JobOfferSaveRequest = {\n language: store.getters.module.user!.language,\n countryCode: null,\n regionId: null\n } as JobOfferSaveRequest;\n isLoading = true;\n categories: CategoryGroup[] = [];\n regions: Region[] = [];\n selectedRegion: Region | null = null;\n selectedCity: City | null = null;\n\n get breadcrumbsList() {\n return [\n {\n text: this.$t('Home'),\n href: '/'\n },\n {\n text: this.$t('Your job offers'),\n href: '/offers'\n },\n\n {\n text: this.$route.name === 'New offer'? this.$t('Add job offer'): this.$t('Edit job offer'),\n href: '#'\n }\n ]\n }\n\n get cityOptions() {\n return this.selectedRegion?.cities ?\n this.selectedRegion.cities\n : [];\n }\n\n get buttonSaveText(): VueI18n.TranslateResult {\n return this.isAddNewOfferView ? this.$t('Add offer'): this.$t('Save')\n }\n get isAddNewOfferView(): boolean {\n return this.$route.name === 'New offer'\n }\n\n get regionOptions() {\n return this.regions;\n }\n\n fetchRegions() {\n if(!this.offer.countryCode) {\n return Promise.resolve([]);\n }\n this.isLoading = true;\n return getRegions(this.offer.countryCode)\n .then((response) => {\n this.regions = response.data;\n return response.data;\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n get categoryOptions() {\n return getCategoryTree(this, this.categories);\n }\n\n languageSelected(value: { code: string }) {\n this.offer.language = value.code;\n }\n\n get isLoggedInAsClient() {\n return store.getters.module.user?.accountType === AccountType.Client;\n }\n\n mounted() {\n if (!this.isLoggedInAsClient) {\n this.goBackToList();\n }\n\n this.$watch(() => this.offer.countryCode, (current, old) => {\n if(old) {\n this.offer.cityId = null;\n this.selectedCity = null;\n this.offer.regionId = null;\n this.selectedRegion = null;\n }\n if(!this.offer.countryCode) {\n this.regions = [];\n return;\n }\n this.fetchRegions()\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n });\n\n this.$watch(() => this.selectedRegion, (current, old) => {\n if(old) {\n this.selectedCity = null;\n this.offer.cityId = null;\n }\n });\n\n this.offerId = this.$route.params.id;\n if (!!this.offerId) {\n store.commit.module.setActiveModuleName(this.$t(\"Edit job offer\"));\n\n getOffer(this.$route.params.id)\n .then((response) => {\n if (!response.data || !response.data.id) {\n this.goBackToList();\n }\n this.offer = response.data;\n return this.fetchRegions()\n .then(() => {\n const userRegion = this.regions.find(r => r.id === this.offer.regionId);\n if(userRegion) {\n this.selectedRegion = userRegion;\n }\n const userCity = this.cityOptions.find(c => c.id === this.offer.cityId);\n if(userCity) {\n this.selectedCity = userCity;\n }\n });\n })\n .catch(() => {\n this.goBackToList();\n });\n } else {\n store.commit.module.setActiveModuleName(this.$t(\"Add job offer\"));\n }\n\n fetchCategories()\n .then((response) => {\n this.categories = response.data;\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n\n onSubmit() {\n this.isLoading = true;\n this.offer.regionId = this.selectedRegion ? this.selectedRegion.id : null;\n this.offer.cityId = this.selectedCity ? this.selectedCity.id : null;\n const promise = this.offerId ? this.editOffer() : this.addOffer();\n promise\n .catch((error) => {\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while saving data\") });\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n\n addOffer() {\n return addOffer(this.offer).then(() => {\n this.$toasted.success(this.$t(\"Job offer has been posted\").toString(), {\n duration: 2000,\n });\n this.goBackToList();\n });\n }\n\n editOffer() {\n return editOffer(this.offerId!, this.offer).then(() => {\n this.$toasted.success(this.$t(\"Job offer has been saved\").toString(), {\n duration: 2000,\n });\n this.goBackToList();\n });\n }\n\n onDelete() {\n this.$bvModal\n .msgBoxConfirm(\n this.$t(\"Are you sure that you want to delete {0} job offer?\", [\n this.offer.headline,\n ]).toString(),\n {\n title: this.$t(\"Delete job offer\").toString(),\n okTitle: this.$t(\"Delete\").toString(),\n cancelTitle: this.$t(\"Cancel\").toString(),\n }\n )\n .then((value) => {\n if (value) {\n deleteOffer(this.offerId!).then(() => {\n this.$toasted.success(\n this.$t(\"Job offer has been deleted\").toString(),\n {\n duration: 2000,\n }\n );\n this.goBackToList();\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n }).catch(() => { /* noop */ });\n }\n\n goBackToList() {\n this.$router.push(\"/offers\")\n .catch(() => { /* noop */ });\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferEditor.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferEditor.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferEditor.vue?vue&type=template&id=01f10b94&\"\nimport script from \"./OfferEditor.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferEditor.vue?vue&type=script&lang=ts&\"\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 render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('b-row',{staticClass:\"mb-3 selectType\"},[_c('b-col',[_c('b-card',{staticClass:\"mb-2 zeroVatCard\",attrs:{\"bgVariant\":_vm.zeroVatBgVariant,\"textVariant\":_vm.zeroVatTextVariant,\"title\":_vm.$t('Receipt 0% VAT')},on:{\"click\":_vm.onZeroVatClicked}},[_c('b-card-text',[_vm._v(_vm._s(_vm.$t(\"For private customers and companies outside of Poland\")))])],1)],1),_c('b-col',[_c('b-card',{staticClass:\"mb-2 fullVatCard\",attrs:{\"bgVariant\":_vm.fullVatBgVariant,\"textVariant\":_vm.fullVatTextVariant,\"title\":_vm.$t('Invoice 23% VAT')},on:{\"click\":_vm.onFullVatClicked}},[_c('b-card-text',[_vm._v(_vm._s(_vm.$t(\"For companies registered in Poland\")))])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport { AccountType } from \"@/register/registerModel\";\nimport store from \"@/store/index\";\nimport { CustomerInvoicingMode } from \"../login/loginModel\";\nimport { saveCustomerInvoicingMode } from \"../accountSetup/accountSetupService\";\n\n@Component({\n components: { },\n})\nexport default class SelectAccountStep extends Vue {\n @Prop() value!: AccountType;\n\n get localState() {\n return this.value;\n }\n\n set localState(value: any) {\n this.$emit(\"input\", value);\n }\n\n save(): Promise {\n return saveCustomerInvoicingMode(store.getters.module.user!.id, this.localState)\n .then(() => {\n store.dispatch.module.updateStoredUser({\n customerInvoicingMode: this.localState,\n }).catch(() => { /* noop */ });\n });\n }\n\n shouldBeDisplayed(): boolean {\n return store.getters.module.user?.accountType === AccountType.Unknown;\n }\n \n get zeroVatBgVariant() {\n return this.localState === CustomerInvoicingMode.ZeroVat ? \"primary\" : \"\";\n }\n\n get zeroVatTextVariant() {\n return this.localState === CustomerInvoicingMode.ZeroVat ? \"white\" : \"\";\n }\n\n get fullVatBgVariant() {\n return this.localState === CustomerInvoicingMode.FullVat ? \"primary\" : \"\";\n }\n\n get fullVatTextVariant() {\n return this.localState === CustomerInvoicingMode.FullVat ? \"white\" : \"\";\n }\n\n onZeroVatClicked() {\n this.localState = CustomerInvoicingMode.ZeroVat;\n }\n\n onFullVatClicked() {\n this.localState = CustomerInvoicingMode.FullVat;\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectInvoicingMode.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectInvoicingMode.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectInvoicingMode.vue?vue&type=template&id=04a79a6d&\"\nimport script from \"./SelectInvoicingMode.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectInvoicingMode.vue?vue&type=script&lang=ts&\"\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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoOffersFromClient.vue?vue&type=style&index=0&id=5ee87720&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.isUserLoggedIn)?_c('div',{staticClass:\"user-panel-root\"},[_c('panel-summary'),_c('div',{staticClass:\"tabs\"},[_c('b-nav',{attrs:{\"tabs\":\"\"}},[_c('b-nav-item',{attrs:{\"to\":\"#\",\"active\":_vm.$route.hash === '#' || _vm.$route.hash === ''}},[_vm._v(_vm._s(_vm.$t('Profile')))]),(_vm.isClient)?_c('b-nav-item',{attrs:{\"to\":\"#invoice\",\"active\":_vm.$route.hash === '#invoice'}},[_vm._v(_vm._s(_vm.$t('Invoice')))]):_vm._e(),_c('b-nav-item',{attrs:{\"to\":\"#address\",\"active\":_vm.$route.hash === '#address'}},[_vm._v(_vm._s(_vm.$t('Address')))]),_c('b-nav-item',{attrs:{\"to\":\"#languages\",\"active\":_vm.$route.hash === '#languages'}},[_vm._v(_vm._s(_vm.$t('Languages')))]),_c('b-nav-item',{attrs:{\"to\":\"#categories\",\"active\":_vm.$route.hash === '#categories'}},[_vm._v(_vm._s(_vm.$t('Categories')))]),_c('b-nav-item',{attrs:{\"to\":\"#hobbies\",\"active\":_vm.$route.hash === '#hobbies'}},[_vm._v(_vm._s(_vm.$t('Hobbies')))]),_c('b-nav-item',{attrs:{\"to\":\"#interests\",\"active\":_vm.$route.hash === '#interests'}},[_vm._v(_vm._s(_vm.$t('Interests')))])],1),_c('div',{staticClass:\"tab-content\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.hash === '#' || _vm.$route.hash === ''),expression:\"$route.hash === '#' || $route.hash === ''\"}]},[_c('basic-information')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isClient && _vm.$route.hash === '#invoice'),expression:\"isClient && $route.hash === '#invoice'\"}],staticClass:\"widget form\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('Invoice')))]),_c('invoice-details-form')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.hash === '#address'),expression:\"$route.hash === '#address'\"}],staticClass:\"widget form\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('Address')))]),_c('edit-address-form')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.hash === '#languages'),expression:\"$route.hash === '#languages'\"}],staticClass:\"widget form\"},[_c('languages')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.hash === '#categories'),expression:\"$route.hash === '#categories'\"}],staticClass:\"widget form\"},[_c('select-categories')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.hash === '#hobbies'),expression:\"$route.hash === '#hobbies'\"}],staticClass:\"widget form\"},[_c('hobbies')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.hash === '#interests'),expression:\"$route.hash === '#interests'\"}],staticClass:\"widget form\"},[_c('interests')],1)])],1)],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"panelSummary\"},[_c('div',{staticClass:\"widget brief\"},[(_vm.avatarUrl)?_c('img',{attrs:{\"src\":_vm.avatarUrl,\"alt\":\"AvatarId\"}}):_vm._e(),_c('h2',[_vm._v(_vm._s(_vm.name))]),(_vm.isAssistant)?_c('rating-stars',{attrs:{\"ratingInfo\":_vm.rating,\"ratingEnable\":false}}):_vm._e(),(_vm.education)?_c('p',{staticClass:\"bolded\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"Education\"))+\":\")]),_vm._v(\" \"+_vm._s(_vm.education)+\" \")]):_vm._e(),(_vm.languagesText)?_c('p',{staticClass:\"bolded\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"Languages\"))+\":\")]),_vm._v(\" \"+_vm._s(_vm.languagesText)+\" \")]):_vm._e(),_c('p',[_vm._v(_vm._s(_vm.user.description))]),_c('div',{staticClass:\"rowBtns\"},[_c('b-button',{staticClass:\"seeProfileBtn\",on:{\"click\":() => _vm.$router.push(`/assistant/${_vm.user.id}`)}},[_vm._v(_vm._s(_vm.$t(\"See your profile\")))]),_c('remove-account')],1),_c('hr'),_c('div',{staticClass:\"footer\"},[(_vm.location)?_c('span',[_c('b-icon',{attrs:{\"icon\":\"geo-alt-fill\"}}),_vm._v(\" \"+_vm._s(_vm.location))],1):_vm._e(),(_vm.userSince)?_c('span',[_c('b-icon',{attrs:{\"icon\":\"person-fill\"}}),_vm._v(\" \"+_vm._s(_vm.userSince))],1):_vm._e()])],1),_c('div',{staticClass:\"widget hints\"},[_c('div',[_c('img',{attrs:{\"src\":require(\"@/assets/img/icons/tick_icon.svg\")}}),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('Profile is your business card. Introduce yourself in the best light possible and reveal only true information about yourself.'))+\" \")])]),_c('div',[_c('img',{attrs:{\"src\":require(\"@/assets/img/icons/tick_icon.svg\")}}),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('Earn money on your online and offline services. Check how much is your hourly wage!'))+\" \")])]),_c('div',[_c('img',{attrs:{\"src\":require(\"@/assets/img/icons/tick_icon.svg\")}}),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('Who are you and what is your professional experience? What are your passions and what do you like to do in life? Describe yourself in a few sentences so that we can get to know you better!'))+\" \")])]),_c('div',[_c('img',{attrs:{\"src\":require(\"@/assets/img/icons/tick_icon.svg\")}}),_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('Add your real photo! Remember that it should be of good quality and present you.'))+\" \")])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',[_c('b-button',{directives:[{name:\"b-modal\",rawName:\"v-b-modal.modal-1\",modifiers:{\"modal-1\":true}}],staticClass:\"removeAccountBtn\"},[_c('b-icon',{attrs:{\"icon\":\"trash\"}}),_vm._v(\" \"+_vm._s(_vm.$t('Remove account')))],1),_c('b-modal',{attrs:{\"id\":\"modal-1\",\"size\":\"lg\",\"title\":_vm.$t('Are you sure that you want to remove your account?'),\"cancel-title\":_vm.$t('Cancel'),\"ok-title\":_vm.$t('Remove'),\"ok-variant\":\"danger\",\"hide-footer\":\"\"}},[_c('p',{staticClass:\"my-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"To confirm account removal, please type your email address.\"))+\" \")]),_c('b-form-input',{attrs:{\"placeholder\":_vm.$t('Type \\'{0}\\' to confirm', [ _vm.userEmail ]),\"state\":_vm.textState,\"disabled\":_vm.isRemoving},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}}),_c('b-button',{staticClass:\"removeAccountBtn\",attrs:{\"center\":\"\",\"disabled\":_vm.isRemoving},on:{\"click\":_vm.onRemove}},[_vm._v(_vm._s(_vm.$t('Confirm')))])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import * as axios from 'axios'\n\nconst url = `${process.env.VUE_APP_API_URL}/account`\n\nexport const removeAccount = () => {\n return axios.default.delete(`${url}/remove`)\n}","\nimport store from \"@/store\"\nimport { Vue, Prop, Component } from \"vue-property-decorator\"\nimport { removeAccount } from \"./removeAccountWs\"\n\n@Component\nexport default class RemoveAccount extends Vue {\n\n text: string = \"\"\n textState: boolean | null = null\n\n isRemoving = false\n\n get userEmail() {\n return store.getters.module.user?.email ?? ''\n }\n\n onRemove() {\n if (this.text !== this.userEmail) {\n this.textState = false\n return\n }\n\n this.textState = true\n this.isRemoving = true\n\n removeAccount().then(() => {\n store.commit.module.setUser(undefined)\n store.dispatch.module.saveUserToStorage().catch()\n this.$router.push(\"/\").catch()\n }).finally(() => { this.isRemoving = false }).catch()\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveAccount.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveAccount.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RemoveAccount.vue?vue&type=template&id=690c25e0&\"\nimport script from \"./RemoveAccount.vue?vue&type=script&lang=ts&\"\nexport * from \"./RemoveAccount.vue?vue&type=script&lang=ts&\"\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","\nimport { getEducationLevelOptionTranslation } from \"@/accountSetup/educationLevelHelper\";\nimport { getLevelOptionTranslation } from \"@/accountSetup/languageLevelHelper\";\nimport { UserRatingInfo } from \"@/assistants/assistantsWebServices\";\nimport { getLanguage } from \"@/core/translate\";\nimport countries from \"@/dictionaries/countries\";\nimport { getBaseImagesUrl } from \"@/helpers/settingsHelper\";\nimport { LoggedUserInformation } from \"@/login/loginModel\";\nimport { AccountType } from \"@/register/registerModel\";\nimport { getMyRating } from \"@/serviceClients/userWebServices\";\nimport store from \"@/store\";\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport RatingStars from \"../assistants/RatingStars.vue\";\nimport RemoveAccount from \"./RemoveAccount.vue\";\nimport languages from \"@/core/translate/translations/languageCodesTranslations/languages.json\";\n\n@Component({\n components: {\n RatingStars,\n RemoveAccount,\n },\n})\nexport default class PanelSummary extends Vue {\n user: LoggedUserInformation = {} as LoggedUserInformation;\n\n rating: UserRatingInfo = {\n averageRating: 0,\n totalRatings: 0,\n } as UserRatingInfo;\n name = \"\";\n isAssistant = false;\n languagesText = \"\";\n location = \"\";\n userSince = \"\";\n education = \"\";\n\n async mounted() {\n this.user = store.getters.module.user!;\n\n this.name = `${\n this.user.firstName\n } ${this.user.lastName[0].toUpperCase()}.`;\n this.isAssistant =\n store.getters.module.user?.accountType === AccountType.Assistant;\n this.setLanguages();\n await this.setRating();\n this.setLocation();\n this.setUserSince();\n this.setEducation();\n }\n\n private setEducation() {\n const educationParts: string[] = [];\n\n if (this.user.educationLevel) {\n educationParts.push(\n getEducationLevelOptionTranslation(\n this,\n this.user.educationLevel\n ).toString()\n );\n }\n\n if (this.user.educationDetails) {\n educationParts.push(this.user.educationDetails);\n }\n\n this.education = educationParts.join(\", \");\n }\n\n private setUserSince() {\n const date = new Date(this.user.registrationDateTime);\n this.userSince = `${this.$t(\"User since\")} ${date.toLocaleDateString(\n \"pl\"\n )}`;\n }\n\n private setLocation() {\n const locationParts: string[] = [];\n\n if (this.user.address?.country) {\n locationParts.push(\n countries.find((c) => c.value === this.user.address!.country)!.text\n );\n }\n\n if (this.user.address?.city) {\n locationParts.push(this.user.address?.city.name);\n }\n\n this.location = locationParts.join(\", \");\n }\n\n get avatarUrl() {\n return store.getters.module.user!.avatarId\n ? `${getBaseImagesUrl()}${store.getters.module.user!.avatarId || \"default\"}.jpg`\n : \"\";\n }\n\n private setLanguages() {\n this.languagesText = this.user.languages\n .map((x) => {\n const lang = languages.find((l) => l.code === x.languageCode)!;\n const langLvl = getLevelOptionTranslation(this, x.level).toString();\n return `${lang[getLanguage()]} ${langLvl}`;\n })\n .join(\", \");\n }\n\n private async setRating(): Promise {\n const response = await getMyRating();\n if (response.data) {\n this.rating = response.data;\n }\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PanelSummary.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PanelSummary.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PanelSummary.vue?vue&type=template&id=58b6604f&\"\nimport script from \"./PanelSummary.vue?vue&type=script&lang=ts&\"\nexport * from \"./PanelSummary.vue?vue&type=script&lang=ts&\"\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 render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.isAssistant)?_c('div',{staticClass:\"widget form\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('Hourly rate')))]),_c('hourly-rate')],1):_vm._e(),_c('div',{staticClass:\"widget form\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('Basic information')))]),_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onUpdateSecondForm.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"label\":`${_vm.$t('First name')}*`,\"label-for\":\"firstName\"}},[_c('b-form-input',{attrs:{\"id\":\"firstName\",\"name\":\"firstName\",\"autocomplete\":\"off\",\"required\":\"\"},model:{value:(_vm.user.firstName),callback:function ($$v) {_vm.$set(_vm.user, \"firstName\", $$v)},expression:\"user.firstName\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Last name')}*`,\"label-for\":\"lastName\"}},[_c('b-form-input',{attrs:{\"id\":\"lastName\",\"name\":\"lastName\",\"autocomplete\":\"off\",\"required\":\"\"},model:{value:(_vm.user.lastName),callback:function ($$v) {_vm.$set(_vm.user, \"lastName\", $$v)},expression:\"user.lastName\"}})],1),(_vm.isAssistant)?_c('div',{staticClass:\"form-row\"},[_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Gender')}*`,\"label-for\":\"gender\"}},[_c('b-form-select',{attrs:{\"id\":\"gender\",\"options\":_vm.genderOptions,\"name\":\"gender\",\"required\":\"\"},model:{value:(_vm.user.gender),callback:function ($$v) {_vm.$set(_vm.user, \"gender\", $$v)},expression:\"user.gender\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Marital status')}`,\"label-for\":\"maritalStatus\"}},[_c('b-form-select',{attrs:{\"id\":\"maritalStatus\",\"options\":_vm.maritalStatusOptions},model:{value:(_vm.user.maritalStatus),callback:function ($$v) {_vm.$set(_vm.user, \"maritalStatus\", $$v)},expression:\"user.maritalStatus\"}})],1)],1):_vm._e(),(_vm.isAssistant)?_c('div',{staticClass:\"form-row\"},[_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Date of birth')}`}},[_c('birth-datepicker',{model:{value:(_vm.user.birthDate),callback:function ($$v) {_vm.$set(_vm.user, \"birthDate\", $$v)},expression:\"user.birthDate\"}})],1),_c('select-height',{model:{value:(_vm.rawHeight),callback:function ($$v) {_vm.rawHeight=$$v},expression:\"rawHeight\"}})],1):_vm._e(),(_vm.isAssistant)?_c('b-form-group',{staticClass:\"educationLevel\",attrs:{\"label\":`${_vm.$t('Education')}*`}},[_c('b-form-select',{attrs:{\"id\":\"educationLevel\",\"options\":_vm.educationLevelOptions},model:{value:(_vm.user.educationLevel),callback:function ($$v) {_vm.$set(_vm.user, \"educationLevel\", $$v)},expression:\"user.educationLevel\"}})],1):_vm._e(),(_vm.user.educationLevel === _vm.higherEducationLevel)?_c('b-form-group',{attrs:{\"label\":`${_vm.$t('University/Major')}`,\"label-for\":\"firstName\"}},[_c('b-form-input',{attrs:{\"required\":\"\"},model:{value:(_vm.user.educationDetails),callback:function ($$v) {_vm.$set(_vm.user, \"educationDetails\", $$v)},expression:\"user.educationDetails\"}})],1):_vm._e(),(_vm.user.educationLevel === _vm.studentEducationLevel)?_c('b-form-group',{attrs:{\"label\":`${_vm.$t('University/Major')}`}},[_c('b-form-input',{attrs:{\"id\":\"education_university\",\"placeholder\":_vm.$t('University/Major'),\"required\":\"\"},model:{value:(_vm.user.educationDetails),callback:function ($$v) {_vm.$set(_vm.user, \"educationDetails\", $$v)},expression:\"user.educationDetails\"}})],1):_vm._e(),(_vm.user.educationLevel === _vm.otherEducationLevel)?_c('b-form-group',{attrs:{\"placeholder\":_vm.$t('What')}},[_c('b-form-input',{attrs:{\"id\":\"education_university\",\"required\":\"\"},model:{value:(_vm.user.educationDetails),callback:function ($$v) {_vm.$set(_vm.user, \"educationDetails\", $$v)},expression:\"user.educationDetails\"}})],1):_vm._e(),_c('upload-picture'),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('A few words about yourself')}*`,\"label-for\":\"description\"}},[_c('b-form-textarea',{attrs:{\"id\":\"description\",\"name\":\"description\",\"required\":\"\"},model:{value:(_vm.user.description),callback:function ($$v) {_vm.$set(_vm.user, \"description\", $$v)},expression:\"user.description\"}})],1),_c('b-button',{staticClass:\"formButton\",attrs:{\"type\":\"submit\",\"disabled\":_vm.isLoadingSecondForm}},[(_vm.isLoadingSecondForm)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),_vm._v(_vm._s(_vm.$t(\"Save\"))+\" \")],1)],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\r\nimport store from \"../store/index\";\r\nimport {\r\n getAssistantInformation,\r\n AssistantInfo,\r\n} from \"../assistants/assistantsWebServices\";\r\nimport { pushError } from \"@/core\";\r\nimport {\r\n EducationLevel,\r\n Gender,\r\n MaritalStatus,\r\n} from \"@/accountSetup/accountSetupService\";\r\nimport {\r\n getHeightInOtherScale,\r\n HeightScale,\r\n} from \"../accountSetup/assistantHeightHelper\";\r\nimport { getMaritalStatusOptionsTranslations } from \"@/accountSetup/maritalStatusHelper\";\r\nimport { AccountType } from \"@/register/registerModel\";\r\nimport UploadPicture from \"./UploadPicture.vue\";\r\nimport SelectHeight from \"../assistant/SelectHeight.vue\";\r\nimport HourlyRate from \"../assistant/HourlyRate.vue\";\r\nimport BirthDatepicker from \"vue-birth-datepicker/src/birth-datepicker\";\r\nimport { updateBasicInfo } from \"./userPanelWebServices\";\r\nimport { getEducationLevelOptionsTranslations } from \"@/accountSetup/educationLevelHelper\";\r\n\r\ntype Form = {\r\n firstName: string;\r\n lastName: string;\r\n gender?: Gender;\r\n maritalStatus?: MaritalStatus;\r\n birthDate?: number;\r\n height?: number;\r\n description?: string;\r\n educationLevel?: EducationLevel;\r\n educationDetails?: string;\r\n};\r\n\r\n@Component({\r\n components: {\r\n BirthDatepicker,\r\n SelectHeight,\r\n UploadPicture,\r\n HourlyRate,\r\n },\r\n})\r\nexport default class BasicInformation extends Vue {\r\n user: Form = {} as Form;\r\n\r\n isLoadingFirstForm = false;\r\n isLoadingSecondForm = false;\r\n\r\n rawHeight: { value?: number; scale: HeightScale } = { scale: \"cm\" };\r\n\r\n get isAssistant(): boolean {\r\n return store.getters.module.user!.accountType === AccountType.Assistant;\r\n }\r\n\r\n get higherEducationLevel() {\r\n return EducationLevel.Higher;\r\n }\r\n get studentEducationLevel() {\r\n return EducationLevel.Student;\r\n }\r\n get otherEducationLevel() {\r\n return EducationLevel.Other;\r\n }\r\n\r\n async mounted() {\r\n this.isLoadingFirstForm = true;\r\n this.isLoadingSecondForm = true;\r\n try {\r\n const response = await getAssistantInformation(\r\n store.getters.module.user!.id\r\n );\r\n this.user = {\r\n firstName: response.data.firstName,\r\n lastName: response.data.lastName,\r\n height: response.data.height,\r\n maritalStatus: response.data.maritalStatus,\r\n description: response.data.description,\r\n birthDate: response.data.birthDate\r\n ? new Date(response.data.birthDate).getTime()\r\n : undefined,\r\n gender: response.data.gender,\r\n educationLevel: response.data.educationLevel,\r\n educationDetails: response.data.educationDetails,\r\n };\r\n this.rawHeight = { value: this.user.height, scale: \"cm\" };\r\n } catch (error) {\r\n pushError((error as any).response?.data?.error || error);\r\n } finally {\r\n this.isLoadingFirstForm = false;\r\n this.isLoadingSecondForm = false;\r\n }\r\n }\r\n\r\n async onUpdateSecondForm() {\r\n this.isLoadingSecondForm = true;\r\n try {\r\n console.log(this.user.birthDate);\r\n await updateBasicInfo(store.getters.module.user!.id, {\r\n firstName: this.user.firstName,\r\n lastName: this.user.lastName,\r\n gender: this.user.gender!,\r\n description: this.user.description ?? \"\",\r\n height: !!this.rawHeight.value\r\n ? getHeightInOtherScale(\r\n this.rawHeight.value,\r\n this.rawHeight.scale,\r\n \"cm\"\r\n )\r\n : undefined,\r\n maritalStatus: this.user.maritalStatus,\r\n birthDate: this.user.birthDate\r\n ? new Date(this.user.birthDate)\r\n : undefined,\r\n educationLevel: this.user.educationLevel,\r\n educationDetails: this.user.educationDetails,\r\n });\r\n await store.dispatch.module.updateStoredUser({\r\n ...this.user,\r\n birthDate: this.user.birthDate\r\n ? new Date(this.user.birthDate).toISOString()\r\n : undefined,\r\n });\r\n } catch (error) {\r\n if (\r\n (error as any).response?.data?.error == \"ContainsContactInformation\"\r\n ) {\r\n pushError(this.$t(\"Description cannot contain contact information.\"));\r\n } else {\r\n pushError((error as any).response?.data?.error || error, {\r\n title: this.$t(\"An error occurred while saving data\"),\r\n });\r\n }\r\n } finally {\r\n this.isLoadingSecondForm = false;\r\n }\r\n }\r\n\r\n get genderOptions() {\r\n return [\r\n { text: this.$t(\"Female\"), value: Gender.Female },\r\n { text: this.$t(\"Male\"), value: Gender.Male },\r\n { text: this.$t(\"Do not set\"), value: null },\r\n ];\r\n }\r\n\r\n get educationLevelOptions() {\r\n return getEducationLevelOptionsTranslations(this)\r\n }\r\n\r\n get maritalStatusOptions() {\r\n return getMaritalStatusOptionsTranslations(this);\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicInformation.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicInformation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BasicInformation.vue?vue&type=template&id=f6a60314&\"\nimport script from \"./BasicInformation.vue?vue&type=script&lang=ts&\"\nexport * from \"./BasicInformation.vue?vue&type=script&lang=ts&\"\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","\nimport store from \"@/store\";\nimport { Component, Vue } from \"vue-property-decorator\";\nimport PanelSummary from \"./PanelSummary.vue\";\nimport BasicInformation from \"./BasicInformation.vue\";\nimport EditAddressForm from \"./EditAddressForm.vue\";\nimport InvoiceDetailsForm from \"./InvoiceDetailsForm.vue\";\nimport Languages from \"@/assistant/Languages.vue\";\nimport SelectCategories from \"@/accountSetup/steps/SelectCategories.vue\";\nimport Interests from \"@/assistant/Interests.vue\";\nimport Hobbies from \"@/assistant/Hobbies.vue\";\nimport { AccountType } from \"@/register/registerModel\";\n\n@Component({\n components: {\n PanelSummary,\n BasicInformation,\n EditAddressForm,\n InvoiceDetailsForm,\n Languages,\n Interests,\n Hobbies,\n SelectCategories,\n },\n})\nexport default class UserPanelRoot extends Vue {\n get isUserLoggedIn(): boolean {\n return !!store.getters.module.user;\n }\n\n get isClient(): boolean {\n return store.getters.module.user!.accountType === AccountType.Client;\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserPanelRoot.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserPanelRoot.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UserPanelRoot.vue?vue&type=template&id=38de69fc&\"\nimport script from \"./UserPanelRoot.vue?vue&type=script&lang=ts&\"\nexport * from \"./UserPanelRoot.vue?vue&type=script&lang=ts&\"\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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginWithFacebook.vue?vue&type=style&index=0&id=79d4ebe0&prod&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListItemClient.vue?vue&type=style&index=0&id=c76b51a6&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('b-button',{staticClass:\"facebookLoginButton\",attrs:{\"disabled\":!_vm.canGo},on:{\"click\":_vm.loginWithFacebook}},[_c('i'),_vm._v(\" \"+_vm._s(_vm.$t('Continue with Facebook'))+\" \")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\nimport * as FB from \"fb\";\nimport { getBaseUrl, getFacebookClientId } from '../helpers/settingsHelper';\n\n@Component({\n components: {\n }\n})\nexport default class LoginWithFacebook extends Vue {\n @Prop() canGo!: boolean;\n\n loginWithFacebook() {\n const loginUrl = FB.getLoginUrl({\n client_id: getFacebookClientId(),\n scope: 'email',\n response_type: 'token',\n redirect_uri: `${getBaseUrl()}/facebook`\n });\n window.location = loginUrl;\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginWithFacebook.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginWithFacebook.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginWithFacebook.vue?vue&type=template&id=79d4ebe0&\"\nimport script from \"./LoginWithFacebook.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginWithFacebook.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LoginWithFacebook.vue?vue&type=style&index=0&id=79d4ebe0&prod&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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Country')}*`,\"disabled\":_vm.isLoading,\"label-for\":\"country\"}},[_c('CountrySelect',{attrs:{\"disabled\":_vm.isLoading},model:{value:(_vm.address.country),callback:function ($$v) {_vm.$set(_vm.address, \"country\", $$v)},expression:\"address.country\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Region')}*`,\"disabled\":_vm.isLoading,\"label-for\":\"region\"}},[_c('multiselect',{attrs:{\"options\":_vm.regionOptions,\"searchable\":true,\"label\":\"name\",\"required\":\"\",\"allow-empty\":false,\"deselect-label\":\"\"},model:{value:(_vm.selectedRegion),callback:function ($$v) {_vm.selectedRegion=$$v},expression:\"selectedRegion\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('City')}*`,\"disabled\":_vm.isLoading,\"label-for\":\"city\"}},[_c('multiselect',{attrs:{\"options\":_vm.cityOptions,\"searchable\":true,\"label\":\"name\",\"required\":\"\",\"allow-empty\":false,\"deselect-label\":\"\"},model:{value:(_vm.address.city),callback:function ($$v) {_vm.$set(_vm.address, \"city\", $$v)},expression:\"address.city\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Zip code')}*`,\"disabled\":_vm.isLoading,\"label-for\":\"zipCode\"}},[_c('b-form-input',{attrs:{\"id\":\"zipCode\",\"type\":\"text\",\"autocomplete\":\"off\",\"name\":\"zipCode\",\"disabled\":_vm.isLoading},model:{value:(_vm.address.zipCode),callback:function ($$v) {_vm.$set(_vm.address, \"zipCode\", $$v)},expression:\"address.zipCode\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Address line 1')}`,\"disabled\":_vm.isLoading}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"autocomplete\":\"off\",\"disabled\":_vm.isLoading,\"required\":\"\"},model:{value:(_vm.address.street),callback:function ($$v) {_vm.$set(_vm.address, \"street\", $$v)},expression:\"address.street\"}})],1),_c('b-form-group',{attrs:{\"label\":`${_vm.$t('Address line 2')}`,\"disabled\":_vm.isLoading,\"label-for\":\"additionalInfo\"}},[_c('b-form-input',{attrs:{\"id\":\"additionalInfo\",\"type\":\"text\",\"autocomplete\":\"off\",\"name\":\"additionalInfo\",\"disabled\":_vm.isLoading},model:{value:(_vm.address.additionalInfo),callback:function ($$v) {_vm.$set(_vm.address, \"additionalInfo\", $$v)},expression:\"address.additionalInfo\"}})],1),(!_vm.hasExternalSaveButton)?_c('b-button',{staticClass:\"primary formButton\",attrs:{\"type\":\"submit\",\"disabled\":_vm.isLoading,\"variant\":\"primary\",\"id\":\"saveAddress\"}},[(_vm.isLoading)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.$t('Save'))+\" \")],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport {\n fetchAddresses,\n updateAddress,\n createAddress,\n Address,\n} from \"./userPanelWebServices\";\nimport store from \"../store/index\";\nimport CountrySelect from \"../components/CountrySelect.vue\";\nimport { getRegions, Region } from \"../serviceClients/regionWebService\";\nimport Multiselect from 'vue-multiselect';\nimport { geocodeAddress } from \"@/helpers/geocodingHelper\";\nimport { pushError } from \"@/core\";\n\n@Component({\n components: {\n CountrySelect,\n Multiselect\n },\n})\nexport default class EditAddress extends Vue {\n @Prop() hasExternalSaveButton!: boolean;\n isLoading = false;\n address: Partial
= {\n city: null\n };\n alreadyHasAnAddress = false;\n regions: Region[] = [];\n selectedRegion: Region | null = null;\n\n get regionOptions() {\n return this.regions;\n }\n\n get cityOptions() {\n return this.selectedRegion?.cities ?\n this.selectedRegion.cities\n : [];\n }\n\n fetchRegions() {\n if(!this.address.country) {\n return Promise.resolve([]);\n }\n this.isLoading = true;\n return getRegions(this.address.country)\n .then((response) => {\n this.regions = response.data;\n return response.data;\n })\n .finally(() => {\n this.isLoading = false;\n })\n }\n\n mounted() {\n this.$watch(() => this.address.country, (current, old) => {\n if(old) {\n this.address.city = null;\n this.selectedRegion = null;\n }\n if(!this.address.country) {\n this.regions = [];\n return;\n }\n this.fetchRegions()\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n });\n\n this.isLoading = true;\n fetchAddresses(store.getters.module.user!.id)\n .then((response) => {\n this.alreadyHasAnAddress = response.data.length > 0;\n if (this.alreadyHasAnAddress) {\n this.address = response.data[0];\n return this.fetchRegions()\n .then(() => {\n const userRegion = this.regions.find(r => r.id === this.address.city?.region?.id);\n if(userRegion) {\n this.selectedRegion = userRegion;\n }\n });\n }\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n\n isValid() {\n return this.address.city && this.address.country;\n }\n\n onSubmit() {\n this.isLoading = true;\n\n return geocodeAddress(this.address as Address).then((result) => {\n this.address.longitude = result.lng();\n this.address.latitude = result.lat();\n const promise = this.alreadyHasAnAddress\n ? updateAddress(store.getters.module.user!.id, this.address as Address)\n : createAddress(store.getters.module.user!.id, this.address as Address);\n return promise\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditAddressForm.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditAddressForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditAddressForm.vue?vue&type=template&id=26ff8ce8&\"\nimport script from \"./EditAddressForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditAddressForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditAddressForm.vue?vue&type=style&index=0&id=26ff8ce8&prod&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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('h1',{staticClass:\"text-center mb-5\"},[_vm._v(_vm._s(_vm.$t(\"Login\")))]),_c('b-form',{class:{'is-loading': _vm.isLoading},on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"id\":\"input-group-1\",\"label\":`${_vm.$t('Email address')}*`,\"disabled\":_vm.isLoading,\"label-for\":\"email\"}},[_c('b-form-input',{attrs:{\"id\":\"email\",\"type\":\"email\",\"name\":\"email\",\"autocomplete\":\"off\",\"disabled\":_vm.isLoading,\"required\":\"\"},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}})],1),_c('b-form-group',{attrs:{\"id\":\"input-group-2\",\"label\":`${_vm.$t('Password')}*`,\"label-for\":\"password\"}},[_c('b-form-input',{attrs:{\"type\":'password',\"id\":\"password\",\"name\":\"password\",\"disabled\":_vm.isLoading,\"autocomplete\":\"off\",\"required\":\"\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('b-button',{staticClass:\"primary btn-login\",attrs:{\"type\":\"submit\",\"disabled\":_vm.isLoading,\"variant\":\"primary\",\"id\":\"submitLogin\"}},[_vm._v(_vm._s(_vm.$t(\"Login\"))+\" \")]),_c('div',{staticClass:\"form__reset\"},[_vm._v(\" \"+_vm._s(_vm.$t('Forgot password?'))+\" \"),_c('router-link',{attrs:{\"to\":\"/forgotPassword\"}},[_vm._v(_vm._s(_vm.$t('Reset password')))])],1),_c('login-with-facebook',{attrs:{\"canGo\":true}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import LoginModel, { LoggedUserInformation } from './loginModel';\nimport * as axios from 'axios';\n\nconst url = `${process.env.VUE_APP_API_URL}/account/login`;\n\nexport default function login(model: LoginModel) {\n return axios.default.post(url, model);\n}\n","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport LoginModel, { LoggedUserInformation } from \"./loginModel\";\nimport callLogin from \"./callLogin\";\nimport { AxiosResponse } from \"axios\";\nimport store from \"../store/index\";\nimport LoginWithFacebook from \"./LoginWithFacebook.vue\";\nimport { setUserLanguage } from \"@/core/translate\";\nimport { pushError } from \"@/core\";\n\n@Component({\n components: {\n LoginWithFacebook,\n },\n})\nexport default class LoginForm extends Vue {\n form: Partial = {};\n isLoading = false;\n\n onSubmit() {\n this.isLoading = true;\n callLogin(this.form as LoginModel)\n .then((response: AxiosResponse) => {\n store.commit.module.setUser(response.data);\n store.dispatch.module.saveUserToStorage().catch(() => { /* noop */ });\n return setUserLanguage(response.data.language).then(() => {\n this.$toasted.success(\n `${this.$t('Welcome')}${\n !!store.getters.module.user?.firstName\n ? \", \" + response.data.firstName\n : \"\"\n }!`,\n {\n duration: 2000,\n }\n );\n if (store.getters.module.urlToRedirectAfterLogon) {\n this.$router.push(store.getters.module.urlToRedirectAfterLogon).catch(() => { /* noop */ });\n } else {\n this.$router.push(\"/\").catch(() => { /* noop */ });\n }\n });\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n const errorMessage = error.response?.data?.error || error;\n const opts = { title: this.$t(\"An error occurred while logging in\")};\n if (errorMessage === \"InvalidCredentials\") {\n pushError(this.$t(\"Provided email or password are invalid\"), opts);\n } else if (errorMessage === \"RegistrationNotConfirmed\") {\n pushError(this.$t(\"Registration has not been confirmed yet. Please check your mailbox and follow the instructions in the received mail.\"), opts);\n } else {\n pushError(errorMessage);\n }\n });\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginForm.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginForm.vue?vue&type=template&id=4842fd5e&\"\nimport script from \"./LoginForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginForm.vue?vue&type=script&lang=ts&\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterestsList.vue?vue&type=style&index=0&id=5baa9b0d&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterestsListItem.vue?vue&type=style&index=0&id=fba78032&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterests.vue?vue&type=style&index=0&id=3d06bdf7&prod&lang=scss&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListClient.vue?vue&type=style&index=0&id=5f21482b&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"interested-assistants\"},[_c('div',{staticClass:\"container-custom\"},[_c('div',{staticClass:\"interested-assistants__top\"},[_c('a',{staticClass:\"btn-back\",attrs:{\"href\":\"/offers\"}},[_vm._v(\"< \"+_vm._s(_vm.$t(\"Back to jobs\")))]),_c('a',{staticClass:\"btn btn-add\",attrs:{\"href\":\"/offers/new\"}},[_vm._v(_vm._s(_vm.$t(\"Add job offer\")))])]),(_vm.isLoading)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),(!_vm.isLoading)?_c('div',{staticClass:\"interested-assistants__content\"},[_c('h5',[_vm._v(_vm._s(_vm.$t('Job offer'))+\": \"),_c('i',[_vm._v(_vm._s(_vm.interestsModel.headline))])]),_c('b-tabs',[_c('b-tab',{attrs:{\"title\":`${_vm.$t('New')} (${_vm.newInterests.length})`,\"active\":\"\"}},[_c('offer-interests-list',{attrs:{\"interests\":_vm.newInterests,\"informationVisible\":true}})],1),_c('b-tab',{attrs:{\"title\":`${_vm.$t('Accepted')} (${_vm.acceptedInterests.length})`}},[_c('offer-interests-list',{attrs:{\"interests\":_vm.acceptedInterests,\"informationVisible\":false}})],1),_c('b-tab',{attrs:{\"title\":`${_vm.$t('Declined')} (${_vm.declinedInterests.length})`}},[_c('offer-interests-list',{attrs:{\"interests\":_vm.declinedInterests,\"informationVisible\":false}})],1)],1)],1):_vm._e()],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.interests && _vm.interests.length)?_vm._l((_vm.interests),function(interest){return _c('div',{key:interest.id,staticClass:\"interest-assistant\"},[_c('offer-interests-list-item',{attrs:{\"interest\":interest}})],1)}):(_vm.informationVisible)?_c('div',{staticClass:\"interest-assistant__empty-list\"},[_c('p',[_vm._v(_vm._s(_vm.$t('No applications for your job offer')))]),_c('p',[_vm._v(_vm._s(_vm.$t('You can search for appropriate assistants in the' ))+\" \"),_c('a',{attrs:{\"href\":\"/assistants\"}},[_vm._v(_vm._s(_vm.$t('Assistants')))])])]):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"interested-assistant-details\"},[_c('div',{staticClass:\"interested-assistant-details__left\"},[_c('b-avatar',{attrs:{\"size\":\"47\",\"src\":`${_vm.imagesUrl}${_vm.interest.userPhotoId || 'default'}_150px.jpg`}}),_c('a',{attrs:{\"href\":`/conversations/${_vm.watchedInterest.userId}`}},[_vm._v(_vm._s(_vm.$t('Contact')))])],1),_c('div',{staticClass:\"interested-assistant-details__right\"},[_c('div',{staticClass:\"details__top\"},[_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(`${_vm.watchedInterest.userFirstName} ${_vm.watchedInterest.userLastName}`))])]),_c('div',{staticClass:\"details__middle\"},[(!_vm.fullDescriptionShown)?[_vm._v(_vm._s(_vm.partDescription))]:[_vm._v(_vm._s(_vm.fullDescription))],(!_vm.hideReadMoreButton)?_c('span',{staticClass:\"more-btn\",on:{\"click\":_vm.toggleFullDescription}},[_vm._v(\" \"+_vm._s(_vm.fullDescriptionShown ? _vm.$t('Less') : _vm.$t('Read more'))+\" \")]):_vm._e()],2),_c('div',{staticClass:\"details__bottom\"},[(_vm.isAccepted)?_c('span',{staticClass:\"variant-green\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"Accepted\")))]):_c('a',{staticClass:\"variant-green\",on:{\"click\":_vm.onSendAcceptClicked}},[_vm._v(_vm._s(_vm.$t('Accept')))]),(_vm.isDeclined)?_c('span',{staticClass:\"variant-red\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"Declined\")))]):_c('a',{staticClass:\"variant-red\",on:{\"click\":_vm.onSendDeclineClicked}},[_vm._v(_vm._s(_vm.$t(\"Reject\")))])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { getBaseImagesUrl } from \"@/helpers/settingsHelper\";\nimport { Component, Prop, Vue, Watch } from \"vue-property-decorator\";\nimport { pushError } from \"../../core\";\nimport {\n acceptOfferInterest,\n declineOfferInterest,\n JobOfferInterestModel,\n JobOfferInterestStatus,\n} from \"../offerWebServices\";\n\n@Component\nexport default class OfferInterestsListItem extends Vue {\n @Prop() interest!: JobOfferInterestModel;\n offerId = this.$route.params.offerId;\n\n fullDescriptionShown = false;\n hideReadMoreButton = false;\n watchedInterest = {} as JobOfferInterestModel;\n\n mounted() {\n this.watchedInterest = { ...this.interest };\n }\n\n toggleFullDescription() {\n this.fullDescriptionShown = !this.fullDescriptionShown;\n }\n\n get fullDescription(): string {\n return this.watchedInterest.userDescription;\n }\n\n get partDescription(): any {\n const text = this.watchedInterest.userDescription;\n\n if (!text){\n return ''\n }\n\n if (text.length <= 100) {\n this.hideReadMoreButton = true\n }\n\n return text.length > 100 ? `${text.slice(0, 150)}...` : text;\n }\n\n get imagesUrl() {\n return getBaseImagesUrl();\n }\n\n get isDeclined() {\n return this.watchedInterest.status === JobOfferInterestStatus.Declined;\n }\n\n get isAccepted() {\n return this.watchedInterest.status === JobOfferInterestStatus.Accepted;\n }\n\n onSendAcceptClicked() {\n this.watchedInterest.status = JobOfferInterestStatus.Accepted;\n acceptOfferInterest(this.offerId, this.interest.id)\n .then(() => {\n window.location.reload();\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n\n onSendDeclineClicked() {\n this.watchedInterest.status = JobOfferInterestStatus.Declined;\n declineOfferInterest(this.offerId, this.interest.id)\n .then(() => {\n window.location.reload();\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n}\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--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterestsListItem.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--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterestsListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferInterestsListItem.vue?vue&type=template&id=fba78032&scoped=true&\"\nimport script from \"./OfferInterestsListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferInterestsListItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OfferInterestsListItem.vue?vue&type=style&index=0&id=fba78032&prod&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 \"fba78032\",\n null\n \n)\n\nexport default component.exports","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport { JobOfferInterestModel } from \"../offerWebServices\";\nimport OfferInterestsListItem from \"./OfferInterestsListItem.vue\";\n\n@Component({\n components:{\n OfferInterestsListItem,\n }\n})\nexport default class OfferInterestsList extends Vue {\n @Prop() interests!: JobOfferInterestModel[];\n @Prop() informationVisible!: boolean;\n}\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--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterestsList.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--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterestsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferInterestsList.vue?vue&type=template&id=5baa9b0d&scoped=true&\"\nimport script from \"./OfferInterestsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferInterestsList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OfferInterestsList.vue?vue&type=style&index=0&id=5baa9b0d&prod&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 \"5baa9b0d\",\n null\n \n)\n\nexport default component.exports","\nimport store from \"@/store\";\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport { pushError } from \"../../core\";\nimport {\n getOfferInterests,\n JobOfferInterestsModel,\n JobOfferInterestStatus,\n} from \"../offerWebServices\";\nimport OfferInterestsList from \"./OfferInterestsList.vue\";\n\n@Component({\n components: {\n OfferInterestsList,\n },\n})\nexport default class OfferInterests extends Vue {\n id: string = this.$route.params.offerId;\n isLoading: boolean = true;\n interestsModel!: JobOfferInterestsModel;\n\n mounted() {\n store.commit.module.setActiveModuleName(this.$t('Interested assistants'));\n\n getOfferInterests(this.id)\n .then((response) => {\n this.interestsModel = response.data;\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n\n get newInterests() {\n return this.interestsModel.interests.filter(\n (i) => i.status === JobOfferInterestStatus.Sent\n );\n }\n\n get acceptedInterests() {\n return this.interestsModel.interests.filter(\n (i) => i.status === JobOfferInterestStatus.Accepted\n );\n }\n\n get declinedInterests() {\n return this.interestsModel.interests.filter(\n (i) => i.status === JobOfferInterestStatus.Declined\n );\n }\n}\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--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterests.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--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferInterests.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferInterests.vue?vue&type=template&id=3d06bdf7&scoped=true&\"\nimport script from \"./OfferInterests.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferInterests.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OfferInterests.vue?vue&type=style&index=0&id=3d06bdf7&prod&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 \"3d06bdf7\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditAddressForm.vue?vue&type=style&index=0&id=26ff8ce8&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"id\":\"input-group-1\"}},[_c('b-form-textarea',{attrs:{\"id\":\"invoiceDetails\",\"placeholder\":`${_vm.$t('Enter invoice details')}...`,\"rows\":\"3\",\"max-rows\":\"6\"},model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}})],1),(!_vm.hasExternalSaveButton)?_c('b-button',{staticClass:\"primary formButton\",attrs:{\"type\":\"submit\",\"disabled\":_vm.isLoading,\"variant\":\"primary\",\"id\":\"submitHourlyRate\"}},[(_vm.isLoading)?_c('b-icon',{staticClass:\"spinner\",attrs:{\"icon\":\"three-dots\",\"animation\":\"throb\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.$t('Save'))+\" \")],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport store from \"../store/index\";\n\nimport { fetchInvoiceDetails, setInvoiceDetails } from \"./userPanelWebServices\";\nimport { pushError } from \"@/core\";\n@Component\nexport default class InvoiceDetailsForm extends Vue {\n @Prop() hasExternalSaveButton!: boolean;\n\n form: string = '';\n isLoading = false;\n\n mounted() {\n this.isLoading = true;\n fetchInvoiceDetails(store.getters.module.user!.id)\n .then((response) => {\n this.form = response.data;\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while fetching data\") });\n });\n }\n\n onSubmit() {\n this.isLoading = true;\n return setInvoiceDetails(store.getters.module.user!.id, this.form)\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while saving data\") });\n });\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceDetailsForm.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceDetailsForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InvoiceDetailsForm.vue?vue&type=template&id=9150058e&\"\nimport script from \"./InvoiceDetailsForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./InvoiceDetailsForm.vue?vue&type=script&lang=ts&\"\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 render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"upload\"},[(_vm.isLoading)?_c('b-icon',{attrs:{\"icon\":\"three-dots\",\"animation\":\"cylon\",\"font-scale\":\"4\"}}):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$refs.upload),expression:\"$refs.upload\"}],staticClass:\"drop-active\"},[_c('label',[_vm._v(_vm._s(_vm.$t('Add your photo'))+\"*\")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.files.length && _vm.edit),expression:\"files.length && edit\"}],staticClass:\"avatar-edit\"},[(_vm.files.length)?_c('div',{staticClass:\"avatar-edit-image\"},[_c('img',{ref:\"editImage\",attrs:{\"src\":_vm.files[0].url}})]):_vm._e(),_c('div',{staticClass:\"text-center p-4\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$refs.upload.clear.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.$t('Cancel')))]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){$event.preventDefault();return _vm.editSave.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.$t('Save')))])])]),_c('vue-upload-component',{ref:\"upload\",staticClass:\"btn btn-primary\",attrs:{\"post-action\":`${_vm.serviceUrl}/user/${_vm.userId}/photos`,\"drop\":!_vm.editValue,\"extensions\":\"gif,jpg,jpeg,png,webp\",\"accept\":\"image/png, image/gif, image/jpeg, image/webp\",\"headers\":_vm.headers,\"name\":\"avatar\"},on:{\"input-file\":_vm.inputFile,\"input-filter\":_vm.inputFilter,\"success\":_vm.fetch,\"error\":_vm.error},model:{value:(_vm.files),callback:function ($$v) {_vm.files=$$v},expression:\"files\"}},[_vm._v(_vm._s(_vm.$t('Upload photo')))]),_c('b-row',{staticClass:\"mt-4\"},[_c('div',[_vm._v(_vm._s(_vm.$t('Click on the star to set as main')))])]),_c('b-row',_vm._l((_vm.userPhotos),function(photo){return _c('div',{key:photo.id,staticClass:\"image-thumbnail\"},[_c('img',{attrs:{\"src\":`${_vm.imagesUrl}${photo.id}_150px.jpg`}}),_c('a',{staticClass:\"delete\",attrs:{\"href\":\"\"},on:{\"click\":function($event){$event.preventDefault();return ((() => _vm.deletePhoto(photo.id)).bind(this)).apply(null, arguments)}}},[_c('b-icon',{attrs:{\"icon\":\"trash-fill\"}})],1),(photo.isMainPhoto)?_c('b-icon',{staticClass:\"star-self\",attrs:{\"icon\":\"star-fill\",\"variant\":\"primary\"}}):_c('a',{staticClass:\"star\",attrs:{\"href\":\"\"},on:{\"click\":function($event){$event.preventDefault();return ((() => _vm.setPhotoAsMain(photo.id))).apply(null, arguments)}}},[_c('b-icon',{attrs:{\"icon\":\"star\"}})],1)],1)}),0)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\r\nimport { deleteUserPhoto } from \"./userPanelWebServices\";\r\nimport store from \"../store/index\";\r\nimport VueUploadComponent from \"vue-upload-component\";\r\nimport Cropper from \"cropperjs\";\r\nimport \"cropperjs/dist/cropper.min.css\";\r\nimport { getBaseImagesUrl, getBaseServiceUrl } from \"../helpers/settingsHelper\";\r\nimport { UserPhoto, getPhotos } from \"@/serviceClients/userWebServices\";\r\nimport { pushError } from \"@/core\";\r\nimport { AccountType } from \"../register/registerModel\";\r\n\r\n\r\n@Component({\r\n components: {\r\n VueUploadComponent,\r\n },\r\n})\r\nexport default class UploadPicture extends Vue {\r\n isLoading = false;\r\n edit = false;\r\n\r\n get editValue() {\r\n return this.edit;\r\n }\r\n\r\n photos: UserPhoto[] = [];\r\n\r\n files: VUFile[] = [];\r\n\r\n get hasAny() {\r\n return this.photos.length > 0;\r\n }\r\n\r\n get userPhotos() {\r\n return this.photos;\r\n }\r\n\r\n get userId() {\r\n return store.getters.module.user!.id;\r\n }\r\n\r\n get headers() {\r\n return {\r\n authorization: `Bearer ${store.getters.module.user!.token}`,\r\n };\r\n }\r\n\r\n get serviceUrl() {\r\n return getBaseServiceUrl();\r\n }\r\n\r\n get imagesUrl() {\r\n return getBaseImagesUrl();\r\n }\r\n\r\n get isAssistant() {\r\n return store.getters.module.user!.accountType == AccountType.Assistant;\r\n }\r\n\r\n cropper?: Cropper = undefined;\r\n\r\n editSave() {\r\n let oldFile = this.files[0];\r\n let binStr = atob(\r\n this.cropper!.getCroppedCanvas().toDataURL(oldFile.type).split(\",\")[1]\r\n );\r\n this.setEdit(false);\r\n let arr = new Uint8Array(binStr.length);\r\n for (let i = 0; i < binStr.length; i++) {\r\n arr[i] = binStr.charCodeAt(i);\r\n }\r\n let file = new File([arr], oldFile.name, { type: oldFile.type });\r\n (this.$refs.upload as any).update(oldFile.id, {\r\n file,\r\n type: file.type,\r\n size: file.size,\r\n active: true,\r\n });\r\n }\r\n\r\n inputFile(newFile: any, oldFile: any, prevent: () => any) {\r\n if (newFile && !oldFile) {\r\n this.$nextTick(() => {\r\n this.setEdit(true);\r\n });\r\n }\r\n if (!newFile && oldFile) {\r\n this.setEdit(false);\r\n }\r\n\r\n if(newFile?.error) {\r\n pushError(this.$t(\"Error uploading image. Please make sure that image contains your face. Pictures of children are forbidden.\"));\r\n }\r\n\r\n if (newFile?.success !== oldFile?.success) {\r\n this.fetch();\r\n }\r\n }\r\n\r\n setEdit(value: boolean) {\r\n this.edit = value;\r\n if (value) {\r\n this.$nextTick(() => {\r\n if (!this.$refs.editImage) {\r\n return;\r\n }\r\n let cropper = new Cropper(this.$refs.editImage as HTMLCanvasElement, {\r\n zoomable: false,\r\n viewMode: 1,\r\n background: false,\r\n });\r\n this.cropper = cropper;\r\n });\r\n } else {\r\n if (this.cropper) {\r\n this.cropper.destroy();\r\n this.cropper = undefined;\r\n }\r\n }\r\n }\r\n\r\n inputFilter(newFile: any, oldFile: any, prevent: () => any) {\r\n if (newFile && !oldFile) {\r\n if (!/\\.(gif|jpg|jpeg|png|webp)$/i.test(newFile.name)) {\r\n pushError(this.$t(\"Your choice is not a picture\"));\r\n return prevent();\r\n }\r\n }\r\n if (newFile && (!oldFile || newFile.file !== oldFile.file)) {\r\n newFile.url = \"\";\r\n let URL = window.URL || window.webkitURL;\r\n if (URL && URL.createObjectURL) {\r\n newFile.url = URL.createObjectURL(newFile.file);\r\n }\r\n }\r\n }\r\n\r\n async deletePhoto(id: string) {\r\n this.isLoading = true;\r\n try {\r\n await deleteUserPhoto(store.getters.module.user!.id, id)\r\n if (store.getters.module.user!.avatarId === id) {\r\n await store.dispatch.module.setPhotoAsMain(undefined);\r\n }\r\n this.fetch();\r\n } catch (error) {\r\n pushError((error as any).response?.data?.error || error, { title: this.$t(\"An error occurred while deleting photo\") });\r\n } finally {\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n async setPhotoAsMain(photoId: string) {\r\n await store.dispatch.module.setPhotoAsMain(photoId);\r\n this.fetch();\r\n }\r\n\r\n error() {}\r\n\r\n fetch() {\r\n this.isLoading = true;\r\n getPhotos(store.getters.module.user!.id)\r\n .then((response) => {\r\n this.photos = response.data;\r\n })\r\n .finally(() => {\r\n this.isLoading = false;\r\n })\r\n .catch((error) => {\r\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while fetching data\") });\r\n });\r\n }\r\n\r\n mounted() {\r\n this.fetch();\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadPicture.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadPicture.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UploadPicture.vue?vue&type=template&id=52f633b0&\"\nimport script from \"./UploadPicture.vue?vue&type=script&lang=ts&\"\nexport * from \"./UploadPicture.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./UploadPicture.vue?vue&type=style&index=0&id=52f633b0&prod&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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadPicture.vue?vue&type=style&index=0&id=52f633b0&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.isLoggedInAsClient)?_c('div',[(!_vm.offers.length)?_c('NoOffersFromClient'):_c('OffersListClient',{attrs:{\"offers\":_vm.offers,\"categories\":_vm.categories}})],1):_c('div',[_c('b-tabs',{attrs:{\"content-class\":\"mt-3\"}},[_c('b-tab',{attrs:{\"title\":`${_vm.$t('New')} (${_vm.offersNew.length})`,\"active\":\"\"}},[(_vm.$isMobile())?_c('offer-list-mobile',{attrs:{\"offers\":_vm.offersNew,\"categories\":_vm.categories,\"tabNumber\":1}}):_c('offer-list',{attrs:{\"offers\":_vm.offersNew,\"categories\":_vm.categories}})],1),_c('b-tab',{attrs:{\"title\":`${_vm.$t('Sent')} (${_vm.offersInterested.length})`}},[(_vm.$isMobile())?_c('offer-list-mobile',{attrs:{\"offers\":_vm.offersInterested,\"categories\":_vm.categories,\"tabNumber\":2}}):_c('offer-list',{attrs:{\"offers\":_vm.offersInterested,\"categories\":_vm.categories}})],1),_c('b-tab',{attrs:{\"title-link-class\":_vm.hasUnseenAccepted ? 'unseen-header' : '',\"title\":`${_vm.$t('Accepted')} (${_vm.offersAccepted.length})`},on:{\"click\":_vm.onTabAcceptedClicked}},[(_vm.$isMobile())?_c('offer-list-mobile',{attrs:{\"offers\":_vm.offersAccepted,\"categories\":_vm.categories,\"tabNumber\":3}}):_c('offer-list',{attrs:{\"offers\":_vm.offersAccepted,\"categories\":_vm.categories}})],1),_c('b-tab',{attrs:{\"title-link-class\":_vm.hasUnseenDeclined ? 'unseen-header' : '',\"title\":`${_vm.$t('Declined')} (${_vm.offersDeclined.length})`},on:{\"click\":_vm.onTabDeclinedClicked}},[(_vm.$isMobile())?_c('offer-list-mobile',{attrs:{\"offers\":_vm.offersDeclined,\"categories\":_vm.categories,\"tabNumber\":4}}):_c('offer-list',{attrs:{\"offers\":_vm.offersDeclined,\"categories\":_vm.categories}})],1)],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"offerList\"},[(_vm.isLoading)?_c('b-icon',{attrs:{\"icon\":\"three-dots\",\"animation\":\"cylon\",\"font-scale\":\"4\"}}):_vm._e(),_c('b-row',[_c('b-col',{staticStyle:{\"border-right\":\"solid 1px gray\"},attrs:{\"cols\":\"3\"}},[_c('b-row',[_c('b-col',{staticClass:\"pr-2\",attrs:{\"cols\":\"8\"}},[_c('b-button',{attrs:{\"block\":\"\",\"size\":\"sm\"},on:{\"click\":_vm.resetFilters}},[_c('b-icon',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"icon\":\"x\"}}),_vm._v(\" \"+_vm._s(_vm.$t('Clear filters'))+\" \")],1)],1)],1),_c('b-form-input',{staticClass:\"mb-1\",attrs:{\"placeholder\":_vm.$t('Search text') + '...'},model:{value:(_vm.localFilters.phrase),callback:function ($$v) {_vm.$set(_vm.localFilters, \"phrase\", $$v)},expression:\"localFilters.phrase\"}}),_c('treeselect',{staticClass:\"mb-1\",attrs:{\"disableBranchNodes\":true,\"options\":_vm.categoryOptions,\"multiple\":true,\"append-to-baddeody\":true,\"searchable\":true,\"placeholder\":_vm.$t('Categories')},model:{value:(_vm.localFilters.categories),callback:function ($$v) {_vm.$set(_vm.localFilters, \"categories\", $$v)},expression:\"localFilters.categories\"}}),_c('treeselect',{staticClass:\"mb-1\",attrs:{\"disableBranchNodes\":true,\"options\":_vm.countryOptions,\"searchable\":true,\"placeholder\":_vm.$t('Country')},on:{\"input\":_vm.countryChanged},model:{value:(_vm.localFilters.countryCode),callback:function ($$v) {_vm.$set(_vm.localFilters, \"countryCode\", $$v)},expression:\"localFilters.countryCode\"}}),_c('treeselect',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.regionsOptionsExist),expression:\"regionsOptionsExist\"}],staticClass:\"mb-1\",attrs:{\"disableBranchNodes\":true,\"options\":_vm.regionOptions,\"searchable\":true,\"placeholder\":_vm.$t('Region')},on:{\"input\":_vm.regionChanged},model:{value:(_vm.localFilters.regionId),callback:function ($$v) {_vm.$set(_vm.localFilters, \"regionId\", $$v)},expression:\"localFilters.regionId\"}}),_c('treeselect',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.citiesOptionsExist),expression:\"citiesOptionsExist\"}],staticClass:\"mb-1\",attrs:{\"disableBranchNodes\":true,\"options\":_vm.cityOptions(),\"searchable\":true,\"placeholder\":_vm.$t('City')},model:{value:(_vm.localFilters.cityId),callback:function ($$v) {_vm.$set(_vm.localFilters, \"cityId\", $$v)},expression:\"localFilters.cityId\"}})],1),_c('b-col',[_c('b-list-group',{staticClass:\"mt-4\"},_vm._l((_vm.offerList),function(offer){return _c('div',{key:offer.id,staticClass:\"list-group-item mt-2\"},[_c('offer-list-item',{attrs:{\"offer\":offer}})],1)}),0)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('b-row',[_c('b-col',[_c('h4',[_vm._v(\" \"+_vm._s(_vm.offer.headline)+\" \"),(_vm.isOwnOffer)?_c('b-button',{attrs:{\"pill\":\"\",\"size\":\"sm\",\"variant\":\"outline-primary\",\"href\":`/offers/${_vm.offer.id}/edit`}},[_c('b-icon',{attrs:{\"icon\":\"pencil\"}})],1):_vm._e()],1),_c('p',[_vm._v(_vm._s(_vm.$t(\"Category\"))+\": \"+_vm._s(_vm.offer.categoryName))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"Location\"))+\": \"+_vm._s(_vm.location))]),_c('p',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.showFullDescription ? _vm.description : _vm.truncatedDescription)}}),(_vm.descriptionNeedsTruncating)?_c('small',{on:{\"click\":function($event){_vm.showFullDescription = !_vm.showFullDescription}}},[_vm._v(\" (\"+_vm._s(_vm.showFullDescription ? _vm.$t(\"Less\") : _vm.$t(\"More\"))+\") \")]):_vm._e()]),_c('p',[_c('i',[_vm._v(_vm._s(_vm.$t(\"Posted:\"))+\" \"+_vm._s(_vm._f(\"dateFormat\")(new Date(_vm.offer.dateAdded),\"YYYY.MM.DD\")))])]),_c('p',[_c('i',[_vm._v(_vm._s(_vm.validFor))])]),(_vm.isAssistant)?_c('div',[(!_vm.status)?_c('b-button',{staticClass:\"mt-1\",attrs:{\"variant\":\"outline-primary\"},on:{\"click\":_vm.onSendYourInterestClicked}},[_vm._v(_vm._s(_vm.$t(\"Express your interest\")))]):(_vm.isSent)?_c('b-button',{attrs:{\"variant\":\"info\",\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"Interest sent\")))]):(_vm.isAccepted)?_c('b-button',{attrs:{\"variant\":\"success\",\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"Accepted\")))]):_c('b-button',{attrs:{\"variant\":\"danger\",\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"Declined\")))])],1):_vm._e(),_c('div',[_c('small',[_c('i',[_vm._v(_vm._s(_vm.$t(\"Number of assistants interested in this offer\"))+\": \"+_vm._s(_vm.offer.totalInterestsNumber))])])])]),_c('b-col',{staticClass:\"buttons\",attrs:{\"sm\":\"6\",\"md\":\"2\"}},[(_vm.isAssistant)?_c('div',[_c('b-avatar',{attrs:{\"size\":\"100\",\"src\":`${_vm.imagesUrl}${_vm.offer.userPhotoId || 'default'}_150px.jpg`}}),_c('p',[_vm._v(_vm._s(`${_vm.offer.userFirstName} ${_vm.offer.userLastName[0]}`)+\".\")]),_c('div',{staticClass:\"mt-2\"},[_c('b-button',{attrs:{\"variant\":\"primary\",\"href\":`/assistant/${_vm.offer.userId}`}},[_c('b-icon',{attrs:{\"icon\":\"person\"}})],1),(_vm.isAssistant)?_c('b-button',{attrs:{\"href\":`/conversations/${_vm.offer.userId}`,\"variant\":\"info\"}},[_c('b-icon',{attrs:{\"icon\":\"envelope\"}})],1):_vm._e()],1)],1):_c('div',[(_vm.isClient)?_c('b-button',{staticClass:\"mt-1 mb-4\",attrs:{\"variant\":\"primary\",\"href\":`offers/${_vm.offer.id}/interests`}},[_vm._v(_vm._s(_vm.$t(\"Interested assistants\")))]):_vm._e(),_c('div',[_vm._v(_vm._s(_vm.$t(\"New\"))+\": \"+_vm._s(_vm.offer.newAssistantInterestsNumber)+\" \"),(_vm.offer.newAssistantInterestsNumber > 0)?_c('b-icon',{attrs:{\"icon\":\"exclamation-circle-fill\",\"variant\":\"info\"}}):_vm._e()],1)],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport {\n JobOfferInterestStatus,\n JobOfferViewModel,\n sendOfferInterest,\n} from \"./offerWebServices\";\nimport { getBaseImagesUrl } from \"../helpers/settingsHelper\";\nimport store from \"../store\";\nimport { AccountType } from \"../register/registerModel\";\nimport countries from \"@/dictionaries/countries\";\nimport { pushError } from \"../core\";\n\n@Component\nexport default class OfferListItem extends Vue {\n @Prop() offer!: JobOfferViewModel;\n\n status = this.offer.interestStatus;\n showFullDescription = false;\n\n get imagesUrl() {\n return getBaseImagesUrl();\n }\n\n get description() {\n return this.offer.description.replace(/(?:\\r\\n|\\r|\\n)/g, \"
\");\n }\n\n get validFor() {\n const daysToExpire = Math.ceil((new Date(this.offer.expirationDate).getTime() - new Date().getTime())/1000/3600/24);\n\n if (daysToExpire <= 0) {\n return this.$t(\"Offer expired\");\n }\n\n if (daysToExpire === 1) {\n return this.$t(\"Valid only for today\")\n }\n\n return this.$t(\"Valid for {0} days\", [daysToExpire])\n }\n\n get truncatedDescription() {\n const text = this.description;\n var textToReturn = text.split(\"
\")[0];\n const maxCharacters = 50;\n textToReturn = textToReturn.substring(0, maxCharacters);\n if (textToReturn != text) {\n textToReturn += \"...\";\n }\n return textToReturn;\n }\n\n get descriptionNeedsTruncating() {\n return this.truncatedDescription != this.offer.description;\n }\n\n onSendYourInterestClicked() {\n sendOfferInterest(this.offer.id, store.getters.module.user!.id)\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n this.status = JobOfferInterestStatus.Sent;\n }\n\n get isAccepted() {\n return this.status === JobOfferInterestStatus.Accepted;\n }\n\n get isSent() {\n return this.status === JobOfferInterestStatus.Sent;\n }\n\n get isClient() {\n return store.getters.module.user?.accountType === AccountType.Client;\n }\n\n get isOwnOffer() {\n return this.isClient && store.getters.module.user?.id === this.offer.userId;\n }\n\n get isAssistant() {\n return store.getters.module.user?.accountType === AccountType.Assistant;\n }\n\n get location() {\n let result = \"\";\n if(this.offer.countryCode) {\n const country = countries.find(c => c.value === this.offer.countryCode);\n result += country?.text;\n }\n if(this.offer.region) {\n result += \" - \" + this.offer.region.name;\n }\n if(this.offer.city) {\n result += \" - \" + this.offer.city.name;\n }\n if(!result) {\n return this.$t(\"All over the world\");\n }\n return result;\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListItem.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferListItem.vue?vue&type=template&id=34ba6f28&\"\nimport script from \"./OfferListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferListItem.vue?vue&type=script&lang=ts&\"\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 countries from \"@/dictionaries/countries\";\nimport { CategoryGroup } from \"@/serviceClients/categoryWebServices\";\nimport { getRegions, Region } from \"@/serviceClients/regionWebService\";\nimport { Component, Prop, Vue } from \"vue-property-decorator\"\nimport { JobOfferViewModel } from \"./offerWebServices\";\n\ninterface JobOffersListFilters\n{\n phrase?: string;\n categories: string[];\n languages: string[];\n countryCode?: string;\n cityId?: string;\n regionId?: string;\n}\n\n@Component\nexport default class JobOfferListBase extends Vue {\n @Prop() offers!: JobOfferViewModel[]\n @Prop() categories!: CategoryGroup[]\n\n emptyFilters: JobOffersListFilters = {\n categories: [],\n languages: [],\n }\n\n isLoading = false\n localFilters: JobOffersListFilters = { ...this.emptyFilters }\n regions: Region[] = []\n countries: { text: string; value: string }[] = []\n\n mounted() {\n this.countries = countries;\n }\n\n fetchRegions() {\n if(!this.localFilters.countryCode) {\n return Promise.resolve([]);\n }\n return getRegions(this.localFilters.countryCode)\n .then((response) => {\n this.regions = response.data;\n return response.data;\n });\n }\n\n get offerList() {\n console.log(this.offers, 'offers')\n return this.offers\n .filter(o => {\n if(this.localFilters.countryCode && this.localFilters.countryCode !== o.countryCode)\n return false;\n if(this.localFilters.cityId && this.localFilters.cityId !== o.cityId)\n return false;\n if(this.localFilters.regionId && this.localFilters.regionId !== o.regionId)\n return false;\n if(this.localFilters.categories && this.localFilters.categories.length && !this.localFilters.categories.some(c => c === o.categoryId))\n return false;\n if(!!this.localFilters.phrase &&\n !o.description.toLowerCase().includes(this.localFilters.phrase.toLowerCase()) &&\n !o.headline.toLowerCase().includes(this.localFilters.phrase.toLowerCase())\n )\n return false;\n return true;\n })\n .sort((a, b) => new Date(b.dateAdded).getTime() - new Date(a.dateAdded).getTime())\n }\n\n resetFilters() {\n this.localFilters = { ...this.emptyFilters }\n }\n\n get regionsOptionsExist(): boolean {\n return !!this.regions.length\n }\n\n get citiesOptionsExist(): boolean {\n if (!this.regionsOptionsExist) {\n return false;\n }\n\n const regions = this.regions.filter((region) => region.id === this.localFilters.regionId)\n\n return !!regions.length && !!regions[0].cities.length\n }\n\n countryChanged() {\n this.localFilters = Object.assign({}, this.localFilters, { cityId: undefined, regionId: undefined })\n\n if (!this.localFilters.countryCode) {\n this.regions = [];\n return;\n }\n\n this.fetchRegions().catch(() => { /* no-op */ });\n }\n\n regionChanged() {\n this.localFilters = Object.assign({}, this.localFilters, { cityId: undefined })\n }\n\n cityChanged() {\n this.$forceUpdate();\n }\n}\n","\nimport { Component, Mixins } from \"vue-property-decorator\";\nimport OfferListItem from \"./OfferListItem.vue\";\nimport { getCategoryTree } from \"@/helpers/categoryTreeMapper\";\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport Multiselect from 'vue-multiselect';\nimport Treeselect from \"@riophae/vue-treeselect\";\nimport \"@riophae/vue-treeselect/dist/vue-treeselect.css\";\nimport OfferListBase from \"./OfferListBase\"\n\n@Component({\n components: {\n OfferListItem,\n Treeselect,\n CountrySelect,\n Multiselect,\n },\n})\nexport default class OfferList extends Mixins(OfferListBase) {\n\n mounted() {\n super.mounted()\n }\n\n get categoryOptions() {\n return getCategoryTree(this, this.categories);\n }\n\n get countryOptions() {\n return this.countries.map((c) => {\n return {\n label: c.text,\n id: c.value,\n };\n });\n }\n\n get regionOptions() {\n return this.regions.map((region) => {\n return {\n id: region.id,\n label: region.name,\n }\n })\n }\n\n cityOptions() {\n if (!this.citiesOptionsExist) {\n return [];\n }\n\n return this.regions.filter((region) => region.id === this.localFilters.regionId)[0].cities.map((city) => {\n return {\n id: city.id,\n label: city.name,\n }\n })\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferList.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferList.vue?vue&type=template&id=43805623&\"\nimport script from \"./OfferList.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferList.vue?vue&type=script&lang=ts&\"\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 render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"mt-4\"},[_c('div',[_c('b-row',[_c('b-col',{staticClass:\"mb-1\",attrs:{\"md\":\"3\"}},[_c('b-form-input',{attrs:{\"placeholder\":_vm.$t('Search text') + '...'},model:{value:(_vm.localFilters.phrase),callback:function ($$v) {_vm.$set(_vm.localFilters, \"phrase\", $$v)},expression:\"localFilters.phrase\"}})],1)],1),_c('b-row',[_c('b-col',{staticClass:\"mb-1\",attrs:{\"md\":\"3\"}},[_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle.sidebar-right\",modifiers:{\"sidebar-right\":true}}],staticClass:\"float-left\",attrs:{\"variant\":\"primary\",\"size\":\"sm\"}},[_c('b-icon',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"icon\":\"funnel\"}}),_vm._v(\" \"+_vm._s(_vm.$t('Filters'))+\" \")],1),_c('b-button',{staticClass:\"float-left\",attrs:{\"size\":\"sm\"},on:{\"click\":_vm.resetFilters}},[_c('b-icon',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"icon\":\"x\"}}),_vm._v(\" \"+_vm._s(_vm.$t('Clear filters'))+\" \")],1)],1)],1),_c('b-sidebar',{staticClass:\"assistant-search-mobile\",attrs:{\"id\":\"sidebar-right\",\"title\":_vm.$t('More filters'),\"right\":\"\",\"shadow\":\"\"}},[_c('div',{staticClass:\"pl-1 pr-3\"},[_c('b-button',{attrs:{\"size\":\"sm\"},on:{\"click\":_vm.resetFilters}},[_c('b-icon',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"icon\":\"x\"}}),_vm._v(\" \"+_vm._s(_vm.$t('Clear filters'))+\" \")],1),_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle.accordion-cat-nest-online\",modifiers:{\"accordion-cat-nest-online\":true}}],attrs:{\"block\":\"\",\"variant\":\"primary\"}},[_vm._v(_vm._s(_vm.categoryOptions[0].label.toUpperCase()))]),_c('b-collapse',{attrs:{\"id\":\"accordion-cat-nest-online\",\"accordion\":\"accordion-cat-nest\",\"role\":\"tabpanel\"}},[_vm._l((_vm.categoryOptions[0].options),function(category){return _c('div',{key:category.id,staticClass:\"pl-3\"},[_c('b-button',{directives:[{name:\"b-modal\",rawName:\"v-b-modal\",value:('categories-modal-' + _vm.tabNumberValue),expression:\"'categories-modal-' + tabNumberValue\"}],staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\",\"block\":\"\",\"variant\":\"primary\"},on:{\"click\":() => _vm.selectedCategoryGroup = category}},[_vm._v(_vm._s(_vm.getCategoryGroupButtonText(category)))])],1)}),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.categoryOptions[0].options.length),expression:\"!categoryOptions[0].options.length\"}]},[_vm._v(_vm._s(_vm.$t('No job offers')))])],2),_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle.accordion-cat-nest-offline\",modifiers:{\"accordion-cat-nest-offline\":true}}],attrs:{\"block\":\"\",\"variant\":\"primary\"}},[_vm._v(_vm._s(_vm.categoryOptions[1].label.toUpperCase()))]),_c('b-collapse',{attrs:{\"id\":\"accordion-cat-nest-offline\",\"accordion\":\"accordion-cat-nest\",\"role\":\"tabpanel\"}},[_vm._l((_vm.categoryOptions[1].options),function(category){return _c('div',{key:category.id,staticClass:\"pl-3\"},[_c('b-button',{directives:[{name:\"b-modal\",rawName:\"v-b-modal\",value:('categories-modal-' + _vm.tabNumberValue),expression:\"'categories-modal-' + tabNumberValue\"}],attrs:{\"block\":\"\",\"variant\":\"primary\"},on:{\"click\":() => _vm.selectedCategoryGroup = category}},[_vm._v(_vm._s(_vm.getCategoryGroupButtonText(category)))])],1)}),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.categoryOptions[1].options.length),expression:\"!categoryOptions[1].options.length\"}]},[_vm._v(_vm._s(_vm.$t('No job offers')))])],2),_c('b-modal',{attrs:{\"id\":'categories-modal-' + _vm.tabNumberValue,\"title\":_vm.selectedCategoryGroupName}},[(!!_vm.selectedCategoryGroup)?_c('b-form-group',[_c('b-form-checkbox-group',{attrs:{\"options\":_vm.selectedCategoryGroup.options,\"stacked\":\"\"},model:{value:(_vm.localFilters.categories),callback:function ($$v) {_vm.$set(_vm.localFilters, \"categories\", $$v)},expression:\"localFilters.categories\"}})],1):_vm._e()],1),_c('p',{staticClass:\"filter-label\"},[_vm._v(_vm._s(_vm.$t('Country'))+\":\")]),_c('b-row',{staticClass:\"mt-1\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-form-select',{attrs:{\"options\":_vm.countryOptions,\"block\":\"\",\"size\":\"sm\",\"variant\":\"primary\"},on:{\"input\":_vm.countryChanged},model:{value:(_vm.localFilters.countryCode),callback:function ($$v) {_vm.$set(_vm.localFilters, \"countryCode\", $$v)},expression:\"localFilters.countryCode\"}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"cols\":\"2\"}},[_c('b-button',{staticClass:\"mt-0\",attrs:{\"block\":\"\",\"size\":\"sm\"},on:{\"click\":() => { _vm.localFilters.countryCode = undefined }}},[_c('b-icon',{attrs:{\"icon\":\"trash\"}})],1)],1)],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.regionsOptionsExist),expression:\"regionsOptionsExist\"}]},[_c('p',{staticClass:\"filter-label\"},[_vm._v(_vm._s(_vm.$t('Region'))+\":\")]),_c('b-row',{staticClass:\"mt-1\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-form-select',{attrs:{\"options\":_vm.regionOptions,\"block\":\"\",\"size\":\"sm\",\"variant\":\"primary\"},on:{\"input\":_vm.regionChanged},model:{value:(_vm.localFilters.regionId),callback:function ($$v) {_vm.$set(_vm.localFilters, \"regionId\", $$v)},expression:\"localFilters.regionId\"}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"cols\":\"2\"}},[_c('b-button',{staticClass:\"mt-0\",attrs:{\"block\":\"\",\"size\":\"sm\"},on:{\"click\":_vm.clearRegion}},[_c('b-icon',{attrs:{\"icon\":\"trash\"}})],1)],1)],1)],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.citiesOptionsExist),expression:\"citiesOptionsExist\"}]},[_c('p',{staticClass:\"filter-label\"},[_vm._v(_vm._s(_vm.$t('City'))+\":\")]),_c('b-row',{staticClass:\"mt-1\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-form-select',{attrs:{\"options\":_vm.cityOptions(),\"block\":\"\",\"size\":\"sm\",\"variant\":\"primary\"},on:{\"input\":_vm.cityChanged},model:{value:(_vm.localFilters.cityId),callback:function ($$v) {_vm.$set(_vm.localFilters, \"cityId\", $$v)},expression:\"localFilters.cityId\"}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"cols\":\"2\"}},[_c('b-button',{staticClass:\"mt-0\",attrs:{\"block\":\"\",\"size\":\"sm\"},on:{\"click\":_vm.clearCity}},[_c('b-icon',{attrs:{\"icon\":\"trash\"}})],1)],1)],1)],1)],1)])],1),_c('b-list-group',{staticClass:\"mt-4\"},_vm._l((_vm.offerList),function(offer){return _c('div',{key:offer.id,staticClass:\"list-group-item mt-2\"},[_c('offer-list-item',{attrs:{\"offer\":offer}})],1)}),0)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Mixins, Prop } from \"vue-property-decorator\";\nimport OfferListItem from \"./OfferListItem.vue\";\nimport { getCategoryTree } from \"@/helpers/categoryTreeMapper\";\nimport OfferListBase from './OfferListBase'\n\n@Component({\n components: {\n OfferListItem,\n }\n})\nexport default class OfferListMobile extends Mixins(OfferListBase) {\n @Prop() tabNumber?: number;\n\n selectedCategoryGroup: any | null = null;\n\n mounted() {\n super.mounted()\n }\n\n get tabNumberValue() {\n return !!this.tabNumber ? this.tabNumber : 0;\n }\n\n get selectedCategoryGroupName() {\n return this.selectedCategoryGroup?.label ?? '';\n }\n\n getCategoryGroupButtonText(categoryGroup: any) {\n const allCategoryIdsInGroup: string[] = categoryGroup.options.flatMap((c: any) => c.value)\n const selectedCategoriesInGroupCount = this.localFilters.categories.filter((id) => allCategoryIdsInGroup.includes(id)).length\n return !selectedCategoriesInGroupCount\n ? categoryGroup.label.toUpperCase()\n : `${categoryGroup.label.toUpperCase()} (${selectedCategoriesInGroupCount})`\n }\n\n get categoryOptions() {\n const jobsCategoryIds = this.offers.map((o) => o.categoryId)\n return getCategoryTree(this, this.categories).map((cat) => {\n return {\n label: cat.label,\n options: cat.children.map((x) => { return {\n id: x.id,\n label: x.label,\n options: x.children.filter((c) => jobsCategoryIds.includes(c.id)).map((opt) => { return {\n text: opt.label,\n value: opt.id,\n }})\n }}).filter((c) => !!c.options.length)\n }\n })\n }\n\n get countryOptions() {\n return this.countries;\n }\n\n get regionOptions() {\n return this.regions.map((region) => {\n return {\n value: region.id,\n text: region.name,\n };\n });\n }\n\n cityOptions() {\n if (!this.citiesOptionsExist) {\n return [];\n }\n\n return this.regions\n .filter((region) => region.id === this.localFilters.regionId)[0]\n .cities.map((city) => {\n return {\n value: city.id,\n text: city.name,\n };\n });\n }\n\n clearRegion() {\n this.localFilters = Object.assign({}, this.localFilters, { regionId: undefined })\n }\n\n clearCity() {\n this.localFilters = Object.assign({}, this.localFilters, { cityId: undefined })\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListMobile.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListMobile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferListMobile.vue?vue&type=template&id=5dc9526a&\"\nimport script from \"./OfferListMobile.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferListMobile.vue?vue&type=script&lang=ts&\"\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 render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"no-job-offers\"},[_c('img',{attrs:{\"src\":require(\"../assets/img/envelope.png\"),\"alt\":\"Nie dodano jeszcze ofert pracy\"}}),_c('h1',[_vm._v(_vm._s(_vm.$t('No jobs have been added yet')))]),_c('div',{staticClass:\"steps\"},[_c('div',{staticClass:\"step\"},[_c('span',{staticClass:\"value\"},[_vm._v(\"1\")]),_c('div',{staticClass:\"step__text\"},[_c('p',[_vm._v(_vm._s(_vm.$t('Add offer')))]),_c('span',[_vm._v(_vm._s(_vm.$t('Describe the need you want to meet with the assistants')))])])]),_c('div',{staticClass:\"step\"},[_c('span',{staticClass:\"value\"},[_vm._v(\"2\")]),_c('div',{staticClass:\"step__text\"},[_c('p',[_vm._v(_vm._s(_vm.$t('Receive applications')))]),_c('span',[_vm._v(_vm._s(_vm.$t(\"Receive applications and view assistants' profiles\")))])])]),_c('div',{staticClass:\"step\"},[_c('span',{staticClass:\"value\"},[_vm._v(\"3\")]),_c('div',{staticClass:\"step__text\"},[_c('p',[_vm._v(_vm._s(_vm.$t('Choose and execute')))]),_c('span',[_vm._v(_vm._s(_vm.$t('Choose the right assistant, execute and pay your assignments')))])])])]),_c('div',{staticClass:\"action-btn\"},[_c('a',{staticClass:\"btn btn-primary\",attrs:{\"href\":\"offers/new\"}},[_vm._v(_vm._s(_vm.$t(\"Add job offer\")))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\n\n@Component({})\nexport default class NoOffersFromClient extends Vue {\n\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoOffersFromClient.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoOffersFromClient.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NoOffersFromClient.vue?vue&type=template&id=5ee87720&scoped=true&\"\nimport script from \"./NoOffersFromClient.vue?vue&type=script&lang=ts&\"\nexport * from \"./NoOffersFromClient.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./NoOffersFromClient.vue?vue&type=style&index=0&id=5ee87720&prod&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 \"5ee87720\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"job-listing container-custom\"},[_c('div',{staticClass:\"job-listing__search\"},[_c('div',{staticClass:\"search__top\"},[_c('div',{staticClass:\"search__title\"},[_vm._v(_vm._s(_vm.$t('Your job offers')))]),_c('a',{staticClass:\"btn btn-add\",attrs:{\"href\":\"offers/new\"}},[_vm._v(_vm._s(_vm.$t(\"Add job offer\")))])]),_c('div',{staticClass:\"search__phase\"},[_c('b-form-input',{attrs:{\"placeholder\":_vm.$t('Search Offer Title')},model:{value:(_vm.localFilters.phrase),callback:function ($$v) {_vm.$set(_vm.localFilters, \"phrase\", $$v)},expression:\"localFilters.phrase\"}})],1),_c('div',{staticClass:\"search__filters\"},[_c('div',{staticClass:\"filters__title\"},[_vm._v(_vm._s(_vm.$t('Filters')))]),_c('treeselect',{attrs:{\"disableBranchNodes\":true,\"options\":_vm.categoryOptions,\"multiple\":true,\"append-to-baddeody\":true,\"searchable\":true,\"placeholder\":_vm.$t('Categories')},model:{value:(_vm.localFilters.categories),callback:function ($$v) {_vm.$set(_vm.localFilters, \"categories\", $$v)},expression:\"localFilters.categories\"}}),_c('treeselect',{attrs:{\"disableBranchNodes\":true,\"options\":_vm.countryOptions,\"searchable\":true,\"placeholder\":_vm.$t('Country')},on:{\"input\":_vm.countryChanged},model:{value:(_vm.localFilters.countryCode),callback:function ($$v) {_vm.$set(_vm.localFilters, \"countryCode\", $$v)},expression:\"localFilters.countryCode\"}}),_c('treeselect',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.regionsOptionsExist),expression:\"regionsOptionsExist\"}],attrs:{\"disableBranchNodes\":true,\"options\":_vm.regionOptions,\"searchable\":true,\"placeholder\":_vm.$t('Region')},on:{\"input\":_vm.regionChanged},model:{value:(_vm.localFilters.regionId),callback:function ($$v) {_vm.$set(_vm.localFilters, \"regionId\", $$v)},expression:\"localFilters.regionId\"}}),_c('treeselect',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.citiesOptionsExist),expression:\"citiesOptionsExist\"}],attrs:{\"disableBranchNodes\":true,\"options\":_vm.cityOptions(),\"searchable\":true,\"placeholder\":_vm.$t('City')},model:{value:(_vm.localFilters.cityId),callback:function ($$v) {_vm.$set(_vm.localFilters, \"cityId\", $$v)},expression:\"localFilters.cityId\"}}),_c('div',{staticClass:\"clear-search\",on:{\"click\":_vm.resetFilters}},[_vm._v(_vm._s(_vm.$t('Clear filters')))])],1)]),_c('div',{staticClass:\"job-listing__list\"},[(_vm.offerList.length)?_vm._l((_vm.offerList),function(offer){return _c('offer-list-item-client',{key:offer.id,attrs:{\"offer\":offer}})}):_c('div',{staticClass:\"no-offers\"},[_vm._v(_vm._s(_vm.$t('No job offers')))])],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"job-offer\"},[_c('a',{staticClass:\"job-offer__title\",attrs:{\"href\":`offers/${_vm.offer.id}/interests`}},[_vm._v(_vm._s(_vm.offer.headline))]),_c('div',{staticClass:\"job-offer__buttons\"},[_c('a',{staticClass:\"btn-edit\",attrs:{\"href\":`/offers/${_vm.offer.id}/edit`}},[_vm._v(_vm._s(_vm.$t(\"Edit job offer\")))]),_c('a',{staticClass:\"btn-remove\",on:{\"click\":_vm.removeOffer}},[_vm._v(_vm._s(_vm.$t(\"Delete job offer\")))])]),_c('div',{staticClass:\"job-offer__details\"},[_c('div',{staticClass:\"detail date\"},[_vm._v(_vm._s(_vm.$t(\"Posted:\"))),_c('span',[_vm._v(_vm._s(_vm._f(\"dateFormat\")(new Date(_vm.offer.dateAdded),\"DD.MM.YYYY\")))])]),(_vm.offer.city && _vm.offer.city.name)?_c('div',{staticClass:\"detail location\"},[_vm._v(_vm._s(_vm.offer.city.name))]):_vm._e(),_c('div',{staticClass:\"detail validfor\"},[_vm._v(_vm._s(_vm.validFor))]),_c('div',{staticClass:\"detail detail-category\"},[_vm._v(_vm._s(_vm.offer.categoryName))]),(_vm.offer.totalInterestsNumber > 0)?_c('div',{staticClass:\"detail assistants-number\"},[_vm._v(_vm._s(_vm.offer.totalInterestsNumber)+\" \"+_vm._s(_vm.$tc('assistant interested | assistant interested | assistants interested', _vm.offer.totalInterestsNumber)))]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport {\n JobOfferViewModel,\n deleteOffer\n} from \"./offerWebServices\";\nimport countries from \"@/dictionaries/countries\";\nimport { pushError } from \"../core\";\n\n@Component\nexport default class OfferListItemClient extends Vue {\n @Prop() offer!: JobOfferViewModel;\n\n status = this.offer.interestStatus;\n\n get validFor() {\n const daysToExpire = Math.ceil((new Date(this.offer.expirationDate).getTime() - new Date().getTime())/1000/3600/24);\n\n if (daysToExpire <= 0) {\n return this.$t(\"Offer expired\");\n }\n\n if (daysToExpire === 1) {\n return this.$t(\"Valid only for today\")\n }\n\n return this.$t(\"Valid for {0} days\", [daysToExpire])\n }\n\n removeOffer () {\n this.$bvModal\n .msgBoxConfirm(\n this.$t(\"Are you sure that you want to delete {0} job offer?\", [\n this.offer.headline,\n ]).toString(),\n {\n title: this.$t(\"Delete job offer\").toString(),\n okTitle: this.$t(\"Delete\").toString(),\n cancelTitle: this.$t(\"Cancel\").toString(),\n }\n )\n .then((value) => {\n if (value) {\n deleteOffer(this.offer.id).then(() => {\n this.$toasted.success(\n this.$t(\"Job offer has been deleted\").toString(),\n {\n duration: 2000,\n }\n );\n\n window.location.reload(true);\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error);\n });\n }\n }).catch(() => { /* noop */ });\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListItemClient.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListItemClient.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferListItemClient.vue?vue&type=template&id=c76b51a6&scoped=true&\"\nimport script from \"./OfferListItemClient.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferListItemClient.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OfferListItemClient.vue?vue&type=style&index=0&id=c76b51a6&prod&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 \"c76b51a6\",\n null\n \n)\n\nexport default component.exports","\nimport { Component, Mixins } from \"vue-property-decorator\";\nimport { getCategoryTree } from \"@/helpers/categoryTreeMapper\";\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport Multiselect from 'vue-multiselect';\nimport Treeselect from \"@riophae/vue-treeselect\";\nimport \"@riophae/vue-treeselect/dist/vue-treeselect.css\";\nimport OfferListBase from \"./OfferListBase\"\nimport OfferListItemClient from \"@/offers/OfferListItemClient.vue\";\n\n@Component({\n components: {\n OfferListItemClient,\n Treeselect,\n CountrySelect,\n Multiselect,\n },\n})\nexport default class OffersListClient extends Mixins(OfferListBase) {\n mounted() {\n }\n\n get categoryOptions() {\n return getCategoryTree(this, this.categories);\n }\n\n get countryOptions() {\n return this.countries.map((c) => ({ label: c.text, id: c.value }));\n }\n\n get regionOptions() {\n return this.regions.map((region) => ({ id: region.id, label: region.name })\n )\n }\n\n cityOptions() {\n if (!this.citiesOptionsExist) {\n return [];\n }\n\n return this.regions.filter((region) => region.id === this.localFilters.regionId)[0].cities.map((city) => {\n return {\n id: city.id,\n label: city.name,\n }\n })\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListClient.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OfferListClient.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OfferListClient.vue?vue&type=template&id=5f21482b&scoped=true&\"\nimport script from \"./OfferListClient.vue?vue&type=script&lang=ts&\"\nexport * from \"./OfferListClient.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OfferListClient.vue?vue&type=style&index=0&id=5f21482b&prod&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 \"5f21482b\",\n null\n \n)\n\nexport default component.exports","\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport OfferList from \"@/offers/OfferList.vue\";\nimport OfferListMobile from \"@/offers/OfferListMobile.vue\";\nimport {\n getOfferList,\n JobOfferInterestStatus,\n JobOfferViewModel,\n markAsSeen,\n} from \"../offers/offerWebServices\";\nimport store from \"@/store\";\nimport { AccountType } from \"@/register/registerModel\";\nimport { pushError } from \"@/core\";\nimport { CategoryGroup, fetchCategories } from \"@/serviceClients/categoryWebServices\";\nimport NoOffersFromClient from \"@/offers/NoOffersFromClient.vue\";\nimport OffersListClient from \"@/offers/OfferListClient.vue\";\n\n@Component({\n components: {\n NoOffersFromClient,\n OfferList,\n OfferListMobile,\n OffersListClient\n },\n})\nexport default class Offers extends Vue {\n offers: JobOfferViewModel[] = [];\n categories: CategoryGroup[] = [];\n isLoading = true;\n\n mounted() {\n store.commit.module.setActiveModuleName(this.title);\n\n getOfferList()\n .then((response) => {\n this.offers = response.data;\n })\n .finally(() => {\n this.isLoading = false;\n })\n .catch((error) => {\n pushError(error.response?.data?.error || error, { title: this.$t(\"An error occurred while fetching data\") });\n });\n\n fetchCategories()\n .then((response) => {\n this.categories = response.data;\n })\n .catch(() => { /* no-op*/ });\n }\n\n get hasCoins() {\n return (store.getters.module.balance || 0) > 0;\n }\n\n get hasUnseenAccepted() {\n return store.getters.jobOffers.unseenInterestAccepted > 0;\n }\n\n get hasUnseenDeclined() {\n return store.getters.jobOffers.unseenInterestDeclined > 0;\n }\n\n async onTabAcceptedClicked() {\n if (store.getters.jobOffers.unseenInterestAccepted > 0) {\n await markAsSeen(JobOfferInterestStatus.Accepted);\n store.dispatch.jobOffers.setUnseenInterest({\n status: JobOfferInterestStatus.Accepted,\n number: 0,\n }).catch(() => { /* noop */ });\n }\n }\n\n async onTabDeclinedClicked() {\n if (store.getters.jobOffers.unseenInterestDeclined > 0) {\n await markAsSeen(JobOfferInterestStatus.Declined);\n store.dispatch.jobOffers.setUnseenInterest({\n status: JobOfferInterestStatus.Declined,\n number: 0,\n }).catch(() => { /* noop */ });\n }\n }\n\n get isLoggedInAsClient() {\n return store.getters.module.user?.accountType === AccountType.Client;\n }\n\n get offersNew() {\n return this.offers.filter((o) => !o.interestStatus);\n }\n\n get offersInterested() {\n return this.offers.filter((o) => o.interestStatus === JobOfferInterestStatus.Sent);\n }\n\n get offersAccepted() {\n return this.offers.filter((o) => o.interestStatus === JobOfferInterestStatus.Accepted);\n }\n\n get offersDeclined() {\n return this.offers.filter((o) => o.interestStatus === JobOfferInterestStatus.Declined);\n }\n\n get title() {\n return this.isLoggedInAsClient\n ? this.$t(\"Your job offers\")\n : this.$t(\"Active job offers\");\n }\n}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OffersMain.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OffersMain.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OffersMain.vue?vue&type=template&id=3f72c690&\"\nimport script from \"./OffersMain.vue?vue&type=script&lang=ts&\"\nexport * from \"./OffersMain.vue?vue&type=script&lang=ts&\"\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"],"sourceRoot":""}