{"version":3,"sources":["webpack:///./src/components/Utilities/LeftClickOptionMenu.vue?b5db","webpack:///./src/components/Net20/modules/SalesmanSelection.vue","webpack:///./src/components/Net20/DocumentAttachment.vue","webpack:///./src/components/Net20/DocumentAttachmentCreation.vue?45d6","webpack:///./src/components/Net20/modules/SalesmanSelection.vue?fcd6","webpack:///./src/components/Net20/DocumentAttachmentCreation.vue","webpack:///./src/components/Net20/DocumentAttachment.vue?4056","webpack:///./src/entity/Net20/MassiveCustomerUpdate.ts","webpack:///./src/components/Net20/CustomersSearch.vue?3f69","webpack:///./src/components/Net20/CustomersSearch.vue?e563","webpack:///./src/components/Pages/Net20/CustomersSearchPage.vue?1710","webpack:///./src/components/Net20/CustomersSearch.vue?f501","webpack:///./src/components/Net20/modules/SalesmanSelection.vue?0058","webpack:///./src/components/Net20/CustomersSearch.vue?5397","webpack:///./src/components/Net20/DocumentAttachmentCreation.vue?b768","webpack:///./src/components/Net20/CustomersSearch.vue","webpack:///./src/components/Utilities/LeftClickOptionMenu.vue?fcdf","webpack:///./src/components/Pages/Net20/CustomersSearchPage.vue?ce3f","webpack:///./src/components/Net20/modules/SalesmanSelection.vue?22ee","webpack:///./src/components/Net20/modules/SalesmanSelection.vue?cb32","webpack:///./src/components/Net20/DocumentAttachment.vue?e609","webpack:///./src/components/Net20/DocumentAttachmentCreation.vue?6abd","webpack:///./src/components/Net20/DocumentAttachmentCreation.vue?e1b2","webpack:///./src/components/Utilities/LeftClickOptionMenu.vue","webpack:///./src/components/Net20/DocumentAttachment.vue?7817","webpack:///./src/components/Net20/DocumentAttachment.vue?0d8c","webpack:///./src/components/Pages/Net20/CustomersSearchPage.vue?64ce","webpack:///./src/components/Pages/Net20/CustomersSearchPage.vue?7ad7","webpack:///./src/components/Pages/Net20/CustomersSearchPage.vue","webpack:///./src/components/Utilities/LeftClickOptionMenu.vue?aa19","webpack:///./src/components/Utilities/LeftClickOptionMenu.vue?55ab"],"names":["vue_property_decorator_1","require","LeftClickOptionMenu","_vue_property_decorat","_this","_classCallCheck","leftClickMenuOptions","name","slug","type","_inherits","_createClass","key","value","event","item","this","$refs","vueContextMenuGroup","showMenu","completeUrl","url","urlArgument","option","window","open","navigator","clipboard","writeText","location","protocol","host","Vue","tslib_1","__decorate","Prop","String","default","Component","component","i18n_setup_1","General_1","DropDownItem_1","axios_1","__importDefault","DocumentAttachmentMarketDto","idDocumentAttachment","idChannel","idCulture","DocumentAttachmentCreation","loading","isOnSubmit","uploadPerc","idSession","fileName","fileValidation","cultureSelected","channelSelected","dropDownCultures","dropDownChannels","_context","next","getDropDownChannels","sent","getDropDownCulters","stop","_callee","channel","DropDownItem","channelList","_context2","get","General","GetApiUrl","responseType","withCredentials","response","data","forEach","element","idDropDownItem","id","itemText","description","push","abrupt","SetOptionsDropDown","prev","t0","HandleError","_callee2","culture","cultureList","_context3","country","language","sort","x","y","localeCompare","_callee3","_this2","undefined","message","i18n","t","confirm","__awaiter","_regeneratorRuntime","mark","_callee4","wrap","_context4","submitDocumentDo","$emit","showAlertDanger","document","sessionId","documentAttachmentMarkets","Array","_this3","market","_context5","post","$bvModal","hide","showAlertSuccess","status","console","log","_callee5","e","validationSelect","length","validationResult","components","MassiveCustomerUpdate","exports","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_m","filterSelected","$t","activeFilterFromWidget","isCollapseVisible","on","searchFilterSearchEvent","$event","searchFilterResertEvent","checkFilterParameter","indexOf","_k","keyCode","freeText","preventDefault","model","callback","$$v","advNumericId","expression","advCustomerId","ref","getResultValue","workShopSelected","advVatNumber","dropDownDistributor","advDistributor","dropDownSalesman","advIdSalesman","dropDownTypesOfProposal","advTypeOfProposal","dropDownCountries","advCustomerCountry","dropDownSteps","advIdStepContract","advContractYear","advContractExpired","_v","_s","createCustomer","staticStyle","_e","openDocsModal","downloadExcelReport","downloadReportBtnLabel","resultsItems","total","isAdmin","toggleAll","allSelected","directives","rawName","isAdminUtilsVisibleTable","scopedSlots","_u","fn","totalCustomerInvolved","proxy","openSalesmanUpdateModal","_l","index","stopPropagation","handleClick","openCustomer","singleToggle","selectedCustomersIds","numericId","customerId","countryName","workshopName","distributor","lastContractSalesman","vatNumber","lastContractYear","lastContractTypeOfProposal","lastContractStepDescription","showLoading","resultPage","searchCustomersDo","CustomerDetailModalTitle","isAdminUtilsVisible","show","idCustomerDetail","close","customerDetailEditMode","selectedContractId","postAddingCustomer","postUpdatingCustomer","handleUnauthorizedUser","onSelectingContract","onCustomerDetailExecutingAction","leftClickOptionMenuUrl","leftClickOptionMenuUrlArgument","searchFilters","downloadUrl","processDescription","processType","selectedContract","selectCustomerCountry","afterContractStepBack","massiveCustomerUpdate","selectedCustomer","resetSelection","staticRenderFns","CustomersSearch_vue_1","HelpContent_vue_1","CustomersSearchPage","_callSuper","arguments","CustomersSearch","HelpContent","CustomerDetails_vue_1","SearchFilter_vue_1","LeftClickOptionMenu_vue_1","ContractStep_1","Net20DropDowns_1","DownloadFileBackground_vue_1","DocumentAttachment_vue_1","Enums_1","ContractStepBack_vue_1","ClaimEnum_1","SalesmanSelection_vue_1","MassiveCustomerUpdate_1","numericIdSelected","adminUtilsReady","contractStepBackVisibility","isSalesman","ready","downloadReportInProgress","page","firstSearch","advWorkshopName","workShopName","workShop","workShopHeader","startValidation","unSelectedCustomersId","allSelectedBackend","PROCESS_TYPE_ENUM","downloadFiles","leftClickOptions","$route","path","search","getDropdownCountries","getDropDownStepList","getDropdownSalesman","setIsSalesman","GetDropdownList","SOURCE","TYPE_OF_PROPOSAL","DISTRIBUTOR","SyncNet20Dropdowns","contractExpired","params","replace","app","customerNumericId","promise","getCustomerIdByNumericId","then","val","customer","$root","$on","bvEvent","modalId","$router","fieldValid","result","autocompletefield","reset","check","isAdminNet20","CheckAuthorization","ClaimEnum","CanAdminNet20","username","$store","state","user","Username","impersonatedBy","userToImpersonate","checkIndex","findIndex","s","text","toLowerCase","AdvancedSearchFilled","concat","CheckAdvancedSearchFilled","CheckIsNullOrEmpty","resetFieldAutocomplete","getAndOpenCustomer","openCustomerFromRouteParams","contractSelected","isRenewal","idStep","STEP_ENUM","EVALUATION_FORM","countryList","idCountry","usersList","_context6","idUser","_callee6","newPath","idCustomer","_context7","method","_callee7","forceOpen","lastContractId","splice","genericSearch","searchItems","resetFilters","start","resetSearch","_context8","FreeText","CustomerId","NumericIdsList","WorkshopName","VatNumber","IdSalesman","TypeOfProposal","IdCountry","IdStepContract","ContractYear","IdDistributor","ContractExpired","CurrentPage","results","listPage","CheckSearchFilled","_callee8","_context9","_callee9","_this4","confirmMsg","toString","CurrentSearch","numericIdsList","idSalesman","typeOfProposal","idStepContract","contractYear","idDistributor","currentPage","selectedCustomerId","selectAll","deselectedCustomerId","currentSearch","checked","map","r","SearchFilter","CustomerDetails","DocumentAttachment","DownloadFileBackground","ContractStepBack","SalesmanSelection","autocomplete_vue_1","advUsernameSalesmanFilter","advSalesmanId","validateForm","UpdateCustomerSalesmanDo","isValid","massiveCustomerList","selectedCustomers","massiveUpdateCustomer","pagination","resetItem","input","usernameToLowerArray","dropDownUsersProp","filter","includes","dataOutput","Promise","resolve","promiseDummy","required","Number","Autocomplete","submit","props","_b","domProps","snippet","UpdateCustomerSalesman","MultiChunkUploader_vue_1","DocumentAttachmentCreation_vue_1","moment_1","file_saver_1","getDocumentsAsync","fileId","deleteDocumentAsyncDo","saveAs","Blob","delete","format","MultiChunkUploader","d","showSuccessAlert","updateProgress","getFileName","submitDocument","languageName","userUpd","formatDate","dataUpd","downloadDocumentAsync","deleteDocumentAsync","openCreationDocsModal","refreshResuts","optionClicked"],"mappings":"uQAMAA,EAAAC,EAAA,QAIqBC,EAAmB,SAAAC,GAAxC,SAAAD,IAAA,IAAAE,EA4BM,OA5BNC,EAAA,KAAAH,G,sBAYIE,EAAAE,qBAA4B,CACxB,CACIC,KAAM,oBACNC,KAAM,gBAEV,CACID,KAAM,uBACNC,KAAM,mBAEV,CACIC,KAAM,WAEV,CACIF,KAAM,mBACNC,KAAM,sBAEZJ,EAgBL,OAAAM,EAAAR,EAAAC,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AACG,MAAM,CAAC,OAAS,cAAc,KAAO,iDAAiD,CAACN,EAAI4C,GAAG,gBAAgBoB,OAAM,OAAU7D,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,oBAAoB,IAAI,IAC3nB2G,EAAkB,GCDtB,qE,kCCAA,oIAOIlN,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MAIa,aAAAA,E,2CClBf,IAAImG,EAAS,WAAa,IAAIC,EAAI3H,KAAS4H,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,0BAA0B,CAACyB,IAAI,sBAAsBtB,MAAM,CAAC,aAAa,oBAAoB,QAAUN,EAAIrI,sBAAsBiJ,GAAG,CAAC,iBAAiBZ,EAAIqU,kBAAkB,IACrRvN,EAAkB,GCDtB","file":"js/chunk-7e798a38.baf53203.js","sourcesContent":["\n\n\n\n\n\nimport { Component, Prop, Vue} from 'vue-property-decorator';\nimport VueSimpleContextMenu from 'vue-simple-context-menu';\n\n@Component\nexport default class LeftClickOptionMenu extends Vue {\n @Prop({\n type: String,\n default: ''\n })\n url: any;\n @Prop({\n type: String,\n default: ''\n })\n urlArgument: any;\n \n leftClickMenuOptions: any = [\n {\n name: 'Open in a new Tab',\n slug: 'open-new-tab'\n },\n {\n name: 'Open in a new Window',\n slug: 'open-new-window'\n },\n {\n type: 'divider',\n },\n {\n name: 'Copy url address',\n slug: 'copy-to-clipboard'\n }\n ];\n \n handleClick (event, item) {\n (this.$refs.vueContextMenuGroup as VueSimpleContextMenu).showMenu(event, item)\n }\n\n optionClicked (event) {\n let completeUrl = this.url + event.item[this.urlArgument];\n if(event.option.slug === \"open-new-tab\"){\n window.open(completeUrl, \"_blank\")\n } else if(event.option.slug === \"open-new-window\") {\n window.open(completeUrl, \"\",\"fullscreen\");\n } else {\n navigator.clipboard.writeText(location.protocol + \"//\" + window.location.host + completeUrl);\n }\n }\n}\n","import { render, staticRenderFns } from \"./SalesmanSelection.vue?vue&type=template&id=2b6fe900&scoped=true\"\nimport script from \"./SalesmanSelection.vue?vue&type=script&lang=ts\"\nexport * from \"./SalesmanSelection.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 \"2b6fe900\",\n null\n \n)\n\nexport default component.exports","import { render, staticRenderFns } from \"./DocumentAttachment.vue?vue&type=template&id=39441b1e&scoped=true\"\nimport script from \"./DocumentAttachment.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentAttachment.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 \"39441b1e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { i18n } from '@/i18n/i18n-setup';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { General } from '@/services/General';\r\nimport { DropDownItem } from '@/services/DropDownItem';\r\nimport axios from 'axios';\r\n\r\nclass DocumentAttachmentDto {\r\n id?: string;\r\n fileName: string;\r\n sessionId: string;\r\n processId?: string;\r\n updateProgress?: string;\r\n status?: string;\r\n documentAttachmentMarkets?: Array\r\n\r\n constructor(\r\n id?: string,\r\n fileName?: string,\r\n sessionId?: string,\r\n processId?: string,\r\n status?: string,\r\n documentAttachmentMarkets?: Array\r\n ) {\r\n this.id = id;\r\n this.fileName = fileName;\r\n this.sessionId = sessionId;\r\n this.processId = processId;\r\n this.status = status;\r\n this.documentAttachmentMarkets = documentAttachmentMarkets;\r\n }\r\n\r\n}\r\n\r\nclass DocumentAttachmentMarketDto {\r\n idDocumentAttachment?: string;\r\n idChannel?: number;\r\n idCulture?: string;\r\n\r\n constructor(\r\n idDocumentAttachment?: string,\r\n idChannel?: number,\r\n idCulture?: string,\r\n ) {\r\n this.idDocumentAttachment = idDocumentAttachment;\r\n this.idChannel = idChannel;\r\n this.idCulture = idCulture;\r\n }\r\n}\r\n\r\ninterface Option {\r\n value?: number\r\n text: string\r\n}\r\n\r\n@Component({\r\n components: {\r\n\r\n }\r\n})\r\n\r\nexport default class DocumentAttachmentCreation extends Vue {\r\n loading: boolean = true;\r\n isOnSubmit: boolean = false;\r\n uploadPerc: number = 0;\r\n idSession: string = \"\";\r\n fileName: string = \"\";\r\n fileValidation: boolean = true;\r\n\r\n cultureSelected: Array = null;\r\n channelSelected: Array = null;\r\n dropDownCultures: DropDownItem[] = null;\r\n dropDownChannels: Array = null;\r\n\r\n async mounted() {\r\n this.loading = true;\r\n\r\n this.dropDownChannels = await this.getDropDownChannels();\r\n this.dropDownCultures = await this.getDropDownCulters(); \r\n \r\n this.loading = false;\r\n }\r\n\r\n async getDropDownChannels(): Promise> {\r\n try {\r\n let channel: DropDownItem = new DropDownItem();\r\n let channelList: DropDownItem[] = [];\r\n let response = await axios.get(\r\n General.GetApiUrl('/api/net20/GetAllChannelsDetail'), {\r\n responseType: \"json\",\r\n withCredentials: true\r\n });\r\n if (response.data) {\r\n response.data.forEach(element => {\r\n channel = new DropDownItem();\r\n channel.idDropDownItem = element.id;\r\n channel.itemText = element.description;\r\n channelList.push(channel);\r\n });\r\n return General.SetOptionsDropDown(channelList, false);\r\n }\r\n } catch (ex) {\r\n General.HandleError(ex, this);\r\n return null;\r\n }\r\n }\r\n\r\n async getDropDownCulters(): Promise> {\r\n try {\r\n let culture: DropDownItem = new DropDownItem();\r\n let cultureList: DropDownItem[] = [];\r\n let response = await axios.get(\r\n General.GetApiUrl('/api/Net20/GetCulturesOnlyUsed'), {\r\n responseType: \"json\",\r\n withCredentials: true\r\n })\r\n if (response.data) {\r\n response.data.forEach(element => {\r\n culture = new DropDownItem();\r\n culture.idDropDownItem = element.idCulture;\r\n culture.itemText = element.country.name + \" - \" + element.language.name;\r\n cultureList.push(culture);\r\n })\r\n cultureList.sort((x, y) => x.itemText.localeCompare(y.itemText));\r\n return General.SetOptionsDropDown(cultureList, false);\r\n }\r\n } catch (err) {\r\n General.HandleError(err, this);\r\n return null;\r\n }\r\n\r\n }\r\n\r\n submitDocument() {\r\n this.isOnSubmit = true;\r\n this.fileValidation = true;\r\n if (this.idSession !== undefined && this.idSession != null && this.idSession !== \"\") {\r\n let message = i18n.t('NET20.CUSTOMER_CREATE_DOC_QUESTION') as string;\r\n General.confirm(\r\n message,\r\n this,\r\n async () => {\r\n await this.submitDocumentDo();\r\n this.isOnSubmit = false;\r\n this.$emit('refreshResults')\r\n }\r\n );\r\n } else {\r\n this.fileValidation = false;\r\n let message = i18n.t('NET20.CUSTOMER_ALERT_DOC') as string;\r\n General.showAlertDanger(message, this);\r\n }\r\n }\r\n\r\n async submitDocumentDo() {\r\n\r\n let document: DocumentAttachmentDto = {\r\n fileName: this.fileName,\r\n sessionId: this.idSession,\r\n // idChannel: this.channelSelected as number,\r\n // idCulture: this.cultureSelected,\r\n }\r\n\r\n let documentAttachmentMarkets = new Array();\r\n this.channelSelected.forEach(channel => {\r\n this.cultureSelected.forEach(culture => {\r\n let market = new DocumentAttachmentMarketDto();\r\n market.idChannel = channel;\r\n market.idCulture = culture;\r\n\r\n documentAttachmentMarkets.push(market);\r\n });\r\n });\r\n\r\n document.documentAttachmentMarkets = documentAttachmentMarkets;\r\n\r\n try {\r\n\r\n await axios.post(\r\n General.GetApiUrl('/api/net20/CreateDocumentAttachments'),\r\n document,\r\n {\r\n withCredentials: true,\r\n responseType: 'json',\r\n },\r\n );\r\n this.$bvModal.hide('document-attachments-creation-modal');\r\n let message = i18n.t('NET20.CUSTOMER_DOC_UPLOAD_SUCCESS') as string;\r\n General.showAlertSuccess(message, this);\r\n\r\n } catch (error) {\r\n this.fileValidation = false;\r\n if (error.response.status as number === 409 as number) {\r\n console.log(error.response);\r\n let message = i18n.t('NET20.CUSTOMER_FILENAME_ERROR') as string;\r\n General.showAlertDanger(message, this);\r\n } else {\r\n General.HandleError(error, this);\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n\r\n showSuccessAlert(sessionId: any) {\r\n this.idSession = sessionId;\r\n this.uploadPerc = 100;\r\n this.fileValidation = true;\r\n }\r\n\r\n getFileName(fileName: string) {\r\n this.fileName = fileName;\r\n }\r\n\r\n updateProgress(e: any) {\r\n this.uploadPerc = e;\r\n }\r\n\r\n\r\n checkAllValues(): boolean {\r\n if (\r\n this.validationSelect(this.channelSelected != null && this.channelSelected.length > 0, true) &&\r\n this.validationSelect(this.cultureSelected != null && this.cultureSelected.length > 0, true)\r\n ) {\r\n return true\r\n }\r\n return false\r\n }\r\n validationSelect(validationResult: boolean, isOnSubmit: boolean): boolean {\r\n if (isOnSubmit) {\r\n return validationResult\r\n }\r\n return null;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SalesmanSelection.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SalesmanSelection.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentAttachmentCreation.vue?vue&type=template&id=9257024c&scoped=true\"\nimport script from \"./DocumentAttachmentCreation.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentAttachmentCreation.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 \"9257024c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentAttachment.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentAttachment.vue?vue&type=script&lang=ts\"","import { CustomerGarageFilterModel } from \"./CustomerGarageFilterModel\";\r\n\r\nexport class MassiveCustomerUpdate {\r\n public selectedCustomerId?: Array;\r\n public deselectedCustomerId?: Array;\r\n public selectAll?: boolean;\r\n public idSalesman?: string;\r\n public currentSearch?: CustomerGarageFilterModel;\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.ready)?_c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"alert alert-light shadow-sm p-3 mb-3 bg-white rounded border d-flex align-items-start\",attrs:{\"role\":\"alert\"}},[_vm._m(0),_c('div',{staticClass:\"container-fluid mt-3\"},[_c('SearchFilter',{attrs:{\"filterSelected\":_vm.filterSelected,\"placeholder\":_vm.$t('NET20.SEARCH_PLACEHOLDER'),\"activeFilterFromWidget\":_vm.activeFilterFromWidget,\"isCollapseVisible\":_vm.isCollapseVisible},on:{\"filter-search\":_vm.searchFilterSearchEvent,\"filter-reset\":function($event){return _vm.searchFilterResertEvent()},\"close-filter-search\":function($event){return _vm.checkFilterParameter()}}},[_c('b-form',{staticClass:\"row px-2 row-cols-1 row-cols-lg-2 row-cols-xl-3\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.searchFilterSearchEvent(_vm.freeText)},\"submit\":function($event){$event.preventDefault();}}},[_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CUSTOMER_NUMERIC_ID')}},[_c('b-form-input',{attrs:{\"min\":\"1\"},model:{value:(_vm.advNumericId),callback:function ($$v) {_vm.advNumericId=$$v},expression:\"advNumericId\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CUSTOMER_CODE')}},[_c('b-form-input',{model:{value:(_vm.advCustomerId),callback:function ($$v) {_vm.advCustomerId=$$v},expression:\"advCustomerId\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CUSTOMER_WORKSHOP_NAME')}},[_c('autocomplete-custom',{ref:\"autocompletefield\",attrs:{\"url\":'/api/net20/GetWorkShopByName',\"result\":_vm.getResultValue,\"autoSelect\":false},on:{\"selected\":_vm.workShopSelected}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CUSTOMER_VAT_NUMBER')}},[_c('b-form-input',{model:{value:(_vm.advVatNumber),callback:function ($$v) {_vm.advVatNumber=$$v},expression:\"advVatNumber\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CUSTOMER_DISTRIBUTOR')}},[_c('b-form-select',{attrs:{\"options\":_vm.dropDownDistributor},model:{value:(_vm.advDistributor),callback:function ($$v) {_vm.advDistributor=$$v},expression:\"advDistributor\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CONTRACT_SALESMAN')}},[_c('b-form-select',{attrs:{\"options\":_vm.dropDownSalesman},model:{value:(_vm.advIdSalesman),callback:function ($$v) {_vm.advIdSalesman=$$v},expression:\"advIdSalesman\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CONTRACT_TYPE_OF_PROPOSAL')}},[_c('b-form-select',{attrs:{\"options\":_vm.dropDownTypesOfProposal},model:{value:(_vm.advTypeOfProposal),callback:function ($$v) {_vm.advTypeOfProposal=$$v},expression:\"advTypeOfProposal\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CUSTOMER_COUNTRY')}},[_c('b-form-select',{attrs:{\"options\":_vm.dropDownCountries},model:{value:(_vm.advCustomerCountry),callback:function ($$v) {_vm.advCustomerCountry=$$v},expression:\"advCustomerCountry\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CONTRACT_STEP')}},[_c('b-form-select',{attrs:{\"options\":_vm.dropDownSteps},model:{value:(_vm.advIdStepContract),callback:function ($$v) {_vm.advIdStepContract=$$v},expression:\"advIdStepContract\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CONTRACT_YEAR')}},[_c('b-form-input',{model:{value:(_vm.advContractYear),callback:function ($$v) {_vm.advContractYear=$$v},expression:\"advContractYear\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('NET20.CONTRACT_EXPIRED')}},[_c('b-form-select',{model:{value:(_vm.advContractExpired),callback:function ($$v) {_vm.advContractExpired=$$v},expression:\"advContractExpired\"}},[_c('b-form-select-option',{attrs:{\"value\":\"\"}}),_c('b-form-select-option',{attrs:{\"value\":\"true\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.YES')))]),_c('b-form-select-option',{attrs:{\"value\":\"false\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.NO')))])],1)],1)],1)],1)],1)])])]),_c('b-container',{attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',{staticClass:\"mr-auto\",attrs:{\"cols\":\"auto\"}},[(_vm.isSalesman)?_c('b-button',{staticClass:\"mb-4\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.createCustomer()}}},[_c('i',{staticClass:\"fa fa-plus\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(_vm._s(_vm.$t('NET20.CREATE_CUSTOMER')))]):_vm._e()],1),_c('b-col',{staticClass:\"mr-auto\",attrs:{\"cols\":\"auto\"}},[_c('b-button',{staticClass:\"mb-4\",attrs:{\"variant\":\"outline-secondary\"},on:{\"click\":function($event){return _vm.openDocsModal()}}},[_c('i',{staticClass:\"fa fa-archive\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_DOC_DOWNLOAD')))])],1),_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('button',{staticClass:\"btn btn-success font-weight-normal\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadExcelReport}},[_c('span',{staticClass:\"fa fa-download\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(_vm._s(_vm.downloadReportBtnLabel)+\" \")])])],1)],1),(_vm.firstSearch)?_c('div',[_c('b-container',{attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',{staticClass:\"mr-auto\",attrs:{\"cols\":\"auto\"}},[_c('button',{staticClass:\"btn btn-secondary font-weight-normal\",attrs:{\"type\":\"button\"}},[_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.ELEMENT_FOUND'))+\" \"),_c('span',{staticClass:\"badge badge-light\"},[_vm._v(_vm._s(_vm.resultsItems.total))])])])],1)],1),(_vm.resultsItems.total>0)?_c('div',{staticClass:\"results\"},[_c('table',{staticClass:\"table b-table table-striped table-hover\"},[_c('thead',{staticClass:\"table-light\",staticStyle:{\"z-index\":\"100\"}},[_c('tr',[_c('th'),(_vm.isAdmin())?_c('th',{staticStyle:{\"z-index\":\"100\",\"text-align\":\"center\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"1\"}},[_c('b-form-checkbox',{staticStyle:{\"z-index\":\"1\"},on:{\"change\":function($event){return _vm.toggleAll($event)}},model:{value:(_vm.allSelected),callback:function ($$v) {_vm.allSelected=$$v},expression:\"allSelected\"}})],1),_c('b-col',[_c('b-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isAdminUtilsVisibleTable()),expression:\"isAdminUtilsVisibleTable()\"}],staticClass:\"mx-1 text-light\",attrs:{\"left\":\"\",\"variant\":\"light\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon',{attrs:{\"icon\":\"gear-fill\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.ADMIN_UTILS_LABEL'))+\" \"),_c('b-badge',{attrs:{\"pill\":\"\",\"variant\":\"dark\"}},[_vm._v(_vm._s(_vm.totalCustomerInvolved))])]},proxy:true}],null,false,146782524)},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.openSalesmanUpdateModal(null)}}},[_c('span',{staticClass:\"fa fa-exchange\",staticStyle:{\"margin-right\":\"5px\"},attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.CHG_SALES_LABEL'))+\" \")])],1)],1)],1)],1):_vm._e(),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_NUMERIC_ID')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_CODE')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_COUNTRY')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_WORKSHOP_NAME')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_DISTRIBUTOR')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CONTRACT_SALESMAN')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_VAT_NUMBER')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CONTRACT_YEAR')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CONTRACT_TYPE_OF_PROPOSAL')))]),_c('th',[_vm._v(_vm._s(_vm.$t('NET20.CONTRACT_LAST_STEP')))])])]),_c('tbody',_vm._l((_vm.resultsItems.resultPage),function(item,index){return _c('tr',{key:index},[_c('td',[_c('div',{staticClass:\"fa fa-search clickable icon-standard\",on:{\"contextmenu\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.handleClick($event, item)},\"click\":function($event){return _vm.openCustomer(item,false)}}})]),(_vm.isAdmin())?_c('td',[_c('b-form-checkbox',{attrs:{\"id\":'checkbox-' + index,\"name\":'checkbox-' + index,\"value\":item.id},on:{\"change\":function($event){return _vm.singleToggle(item.id)}},model:{value:(_vm.selectedCustomersIds),callback:function ($$v) {_vm.selectedCustomersIds=$$v},expression:\"selectedCustomersIds\"}})],1):_vm._e(),_c('td',[_vm._v(_vm._s(item.numericId))]),_c('td',[_vm._v(_vm._s(item.customerId))]),_c('td',[_vm._v(_vm._s(item.countryName))]),_c('td',[_vm._v(_vm._s(item.workshopName))]),_c('td',[_vm._v(_vm._s(item.distributor))]),_c('td',[_vm._v(_vm._s(item.lastContractSalesman))]),_c('td',[_vm._v(_vm._s(item.vatNumber))]),_c('td',[_vm._v(_vm._s(item.lastContractYear))]),_c('td',[_vm._v(_vm._s(item.lastContractTypeOfProposal))]),_c('td',[_vm._v(_vm._s(_vm.$t(item.lastContractStepDescription)))])])}),0)]),(_vm.showLoading==false)?_c('div',{staticClass:\"text-center\"},[(_vm.resultsItems.resultPage.length<_vm.resultsItems.total)?_c('b-button',{staticClass:\"btn btn-secondary rounded-pill\",attrs:{\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.searchCustomersDo(false)}}},[_vm._v(_vm._s(_vm.$t('GENERIC.LOAD_MORE'))+\" \"+_vm._s(_vm.resultsItems.total-_vm.resultsItems.resultPage.length))]):_vm._e()],1):_vm._e()]):_vm._e()],1):_vm._e(),(_vm.showLoading==true)?_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('b-spinner',{attrs:{\"label\":\"Spinning\"}})],1):_vm._e()],1):_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('b-spinner',{attrs:{\"label\":\"Spinning\"}})],1),_c('b-modal',{attrs:{\"id\":\"customer-details-modal\",\"title\":_vm.CustomerDetailModalTitle,\"size\":\"xl\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\",\"scrollable\":\"\"},scopedSlots:_vm._u([{key:\"modal-header\",fn:function(){return [_c('h5',{staticClass:\"modal-title\"},[_vm._v(\" \"+_vm._s(_vm.CustomerDetailModalTitle)+\" \")]),_c('div',{staticClass:\"ml-auto\"},[_c('b-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isAdminUtilsVisible()),expression:\"isAdminUtilsVisible()\"}],staticClass:\"mx-1\",attrs:{\"left\":\"\",\"variant\":\"outline-secondary\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('b-icon',{attrs:{\"icon\":\"gear-fill\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.ADMIN_UTILS_LABEL'))+\" \")]},proxy:true}])},[_c('b-dropdown-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.contractStepBackVisibility),expression:\"contractStepBackVisibility\"}],on:{\"click\":function($event){return _vm.$bvModal.show('contractStepBackModal');}}},[_c('span',{staticClass:\"fa fa-step-backward\",staticStyle:{\"margin-right\":\"5px\"},attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.ADMIN_UTILS_CONTRACT_STEP_BACK'))+\" \")]),_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.openSalesmanUpdateModal(_vm.idCustomerDetail)}}},[_c('span',{staticClass:\"fa fa-exchange\",staticStyle:{\"margin-right\":\"5px\"},attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.CHG_SALES_LABEL'))+\" \")])],1),_c('b-button',{staticClass:\"close\",on:{\"click\":function($event){return _vm.close()}}},[_c('b-icon-x')],1)],1)]},proxy:true}])},[_c('CustomerDetails',{attrs:{\"idCustomer\":_vm.idCustomerDetail,\"editMode\":_vm.customerDetailEditMode,\"dropDownTypeOfProposalProp\":_vm.dropDownTypesOfProposal,\"contractId\":_vm.selectedContractId},on:{\"customer-search\":_vm.searchFilterSearchEvent,\"customer-created\":_vm.postAddingCustomer,\"customer-updated\":_vm.postUpdatingCustomer,\"unauthorized\":_vm.handleUnauthorizedUser,\"onSelectingContract\":_vm.onSelectingContract,\"onExecutingAction\":_vm.onCustomerDetailExecutingAction}})],1),_c('b-modal',{attrs:{\"id\":\"document-attachments-modal\",\"title\":_vm.$t('NET20.CUSTOMER_DOC_ATTACHMENTS'),\"size\":\"xl\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\",\"scrollable\":\"\"}},[_c('DocumentAttachment')],1),_c('left-click-option-menu',{ref:\"leftClickOptions\",attrs:{\"url\":_vm.leftClickOptionMenuUrl,\"urlArgument\":_vm.leftClickOptionMenuUrlArgument}}),_c('b-modal',{attrs:{\"id\":\"download-file-background\",\"title\":_vm.$t('GENERIC.DOWNLOAD_FILE_BACKGROUND_MODAL_TITLE'),\"size\":\"lg\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\",\"scrollable\":\"\"}},[_c('DownloadFileBackground',{attrs:{\"bodyParameter\":_vm.searchFilters,\"downloadUrl\":_vm.downloadUrl,\"processDescription\":_vm.processDescription,\"processType\":_vm.processType}})],1),_c('b-modal',{attrs:{\"id\":\"contractStepBackModal\",\"title\":_vm.$t('NET20.CONTRACT_STEP_BACK'),\"size\":\"lg\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\",\"scrollable\":\"\"}},[_c('contractStepBack',{attrs:{\"contractIdProp\":_vm.selectedContractId,\"contractProp\":_vm.selectedContract,\"customerCountryProp\":_vm.selectCustomerCountry},on:{\"afterContractStepBack\":_vm.afterContractStepBack}})],1),_c('b-modal',{attrs:{\"id\":\"contractSalesmanUpdate\",\"title\":_vm.$t('NET20.CHG_SALES_LABEL'),\"size\":\"lg\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\",\"scrollable\":\"\"}},[_c('SalesmanSelection',{attrs:{\"customerIdListProp\":_vm.selectedCustomersIds,\"dropDownUsersProp\":_vm.dropDownSalesman,\"totalCustomerInvolved\":_vm.totalCustomerInvolved,\"massiveUpdateCustomer\":_vm.massiveCustomerUpdate,\"customerId\":_vm.selectedCustomer},on:{\"resetSelection\":_vm.resetSelection,\"refreshResults\":_vm.searchFilterSearchEvent}})],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert-icon showonly-desktop mt-2\"},[_c('i',{staticClass:\"fa fa-3x fa-search text-primary\",attrs:{\"aria-hidden\":\"true\"}})])}]\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomersSearch.vue?vue&type=template&id=46b63241&scoped=true\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue} from 'vue-property-decorator';\nimport CustomersSearch from '@/components/Net20/CustomersSearch.vue';\nimport HelpContent from '@/components/HelpContent.vue'\n\n@Component({\n components: {\n CustomersSearch,\n HelpContent\n }\n})\nexport default class CustomersSearchPage extends Vue {\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport axios from 'axios';\nimport { General } from '@/services/General';\nimport CustomerDetails from '@/components/Net20/CustomerDetails.vue';\nimport { DropDownItem } from \"@/services/DropDownItem\";\nimport SearchFilter from '@/components/Utilities/SearchFilter.vue';\nimport LeftClickOptionMenu from \"@/components/Utilities/LeftClickOptionMenu.vue\";\nimport { i18n } from '@/i18n/i18n-setup';\nimport {getDropDownStepList, STEP_ENUM} from '@/entity/Net20/ContractStep'\nimport { SOURCE, SyncNet20Dropdowns } from '@/services/Net20DropDowns';\nimport DownloadFileBackground from '../Utilities/DownloadFileBackground.vue';\nimport DocumentAttachment from './DocumentAttachment.vue';\nimport { PROCESS_TYPE_ENUM } from '@/services/Enums';\nimport ContractStepBack from \"./modules/ContractStepBack.vue\";\nimport { Contract } from '@/entity/Net20/Contract';\nimport { ClaimEnum } from '@/services/ClaimEnum';\nimport SalesmanSelection from './modules/SalesmanSelection.vue';\nimport { CustomerGarageFilterModel } from '@/entity/Net20/CustomerGarageFilterModel';\nimport { MassiveCustomerUpdate } from '@/entity/Net20/MassiveCustomerUpdate';\n\n@Component({\n components: {\n SearchFilter,\n CustomerDetails,\n LeftClickOptionMenu,\n DocumentAttachment,\n DownloadFileBackground,\n ContractStepBack,\n SalesmanSelection\n },\n})\nexport default class CustomersSearch extends Vue { \n idCustomerDetail: any = null;\n numericIdSelected: number = null;\n selectedContractId: number = null;\n selectedContract: Contract = null;\n selectCustomerCountry: string = null;\n adminUtilsReady: boolean = false;\n contractStepBackVisibility: boolean = false;\n\n isSalesman: boolean = false;\n showLoading: boolean = false;\n ready: boolean = false;\n downloadReportInProgress: boolean = false;\n downloadReportBtnLabel: string = '';\n customerDetailEditMode: boolean = false;\n\n // advanced search\n resultsItems: any = {\n resultPage: new Array(),\n total: 0\n };\n page: number = 1;\n firstSearch: boolean = false;\n freeText = null;\n filterSelected: boolean = false;\n advNumericId: string = null;\n advCustomerId: string = null;\n advWorkshopName: string = null;\n advVatNumber: string = null;\n advIdSalesman: string = null;\n advTypeOfProposal: string = null;\n advIdStepContract: string = null;\n advContractYear: string = null;\n advCustomerCountry: string = null;\n advDistributor: string = null;\n advContractExpired: boolean = null;\n\n dropDownSalesman: any = new Array();\n dropDownTypesOfProposal: any = new Array();\n dropDownCountries: any = new Array();\n dropDownSteps: any = new Array(); \n dropDownDistributor: any = new Array();\n workShopName: string = '';\n workShop: any = null;\n workShopHeader: string = '';\n startValidation: boolean = false;\n\n selectedCustomersIds: Array = new Array();\n selectedCustomer: string = null;\n unSelectedCustomersId: Array = new Array();\n allSelected: boolean = false;\n allSelectedBackend: boolean = false;\n totalCustomerInvolved: number = 0;\n massiveCustomerUpdate: MassiveCustomerUpdate = new MassiveCustomerUpdate();\n\n searchFilters: any = null;\n downloadUrl: string = \"/api/net20/DownloadAllRecords\"\n processDescription: string = \"NET20 - Downloading All Record Report\"\n processType: PROCESS_TYPE_ENUM = PROCESS_TYPE_ENUM.downloadFiles;\n activeFilterFromWidget: boolean = false;\n isCollapseVisible: boolean = false;\n\n //pacchetto per menu tasto destro su dettaglio entita'\n leftClickOptionMenuUrl: string = \"/net20s/\";\n leftClickOptionMenuUrlArgument: string = \"numericId\";\n handleClick (event, item) {\n (this.$refs.leftClickOptions as LeftClickOptionMenu).handleClick(event, item);\n }\n\n created() {\n //imposto da qui il prop da inviare al componente \"SearchFilter\", perche' al mounted il componente e' gia' renderizzato\n if (this.$route.path.search(\"/contractExpired=\") > -1){\n this.activeFilterFromWidget = true;\n } \n }\n\n async mounted() {\n this.downloadReportBtnLabel = i18n.t('NET20.DOWNLOAD_ALL_RECORDS') as string;\n this.dropDownCountries = await this.getDropdownCountries();\n this.dropDownSteps = getDropDownStepList();\n this.dropDownSalesman = await this.getDropdownSalesman();\n this.setIsSalesman();\n \n //Recupero la lista includendo i valori dismessi per la ricerca\n this.dropDownTypesOfProposal = await General.GetDropdownList(SOURCE.TYPE_OF_PROPOSAL); \n this.dropDownDistributor = await General.GetDropdownList(SOURCE.DISTRIBUTOR);\n\n await SyncNet20Dropdowns();\n \n if (this.$route.path.search(\"/contractExpired=\") > -1){\n this.isCollapseVisible = true;\n let contractExpired = this.$route.params.id.replace('contractExpired=',''); \n this.advContractExpired = contractExpired === \"1\" ? true : false;\n this.searchFilterSearchEvent(null); \n this.ready = true;\n return;\n }\n\n this.ready = true;\n\n if (this.$route.params.id) {\n let app: any = this;\n let customerNumericId: string = this.$route.params.id;\n let promise = this.getCustomerIdByNumericId(customerNumericId); \n promise.then(function (val) {\n let customer: any = {\n numericId: customerNumericId,\n id: val\n };\n app.openCustomer(customer, true);\n });\n }\n\n this.$root.$on('bv::modal::hide', (bvEvent, modalId) => {\n if (modalId=='customer-details-modal'){\n this.$router.push({name:'Customer'}); \n }\n \n })\n }\n \n IsValidateField(fieldValid: boolean): boolean {\n if (this.startValidation && !fieldValid) {\n return false;\n }\n return true;\n }\n\n getResultValue(result) {\n return result.workshopName; \n }\n \n workShopSelected(workShop: any ){\n if(workShop != null){\n this.workShop = workShop;\n this.workShopHeader = this.workShop.workshopName;\n this.advWorkshopName = this.workShop.workshopName;\n }\n\n }\n\n resetFieldAutocomplete(){\n this.startValidation = false;\n this.workShopHeader = '';\n (this.$refs.autocompletefield as any).reset();\n }\n\n isAdminUtilsVisible() {\n let check = false;\n let isAdminNet20 = General.CheckAuthorization(ClaimEnum.CanAdminNet20);\n\n if(isAdminNet20 && this.adminUtilsReady) {\n check = true;\n }\n return check;\n }\n\n isAdminUtilsVisibleTable(){\n let isAdminNet20 = General.CheckAuthorization(ClaimEnum.CanAdminNet20);\n \n if(isAdminNet20 && ( this.selectedCustomersIds.length > 0)){\n return true;\n }else{\n return false;\n }\n }\n\n isAdmin() {\n return General.CheckAuthorization(ClaimEnum.CanAdminNet20);\n }\n\n openCustomerFromRouteParams() { \n if (this.$route.params.id) {\n let app: any = this;\n let customerNumericId: string = this.$route.params.id;\n let promise = this.getCustomerIdByNumericId(customerNumericId); \n promise.then(function (val) {\n let customer: any = {\n numericId: customerNumericId,\n id: val\n };\n app.openCustomer(customer, true);\n });\n }\n }\n\n setIsSalesman() {\n var username = this.$store.state.user.Username;\n if (this.$store.state.impersonatedBy != null)\n username = this.$store.state.userToImpersonate;\n\n var checkIndex = this.dropDownSalesman.findIndex(s => s.text.toLowerCase() === username.toLowerCase());\n if(checkIndex >= 0) {\n this.isSalesman = true;\n } else {\n this.isSalesman = false;\n }\n }\n\n checkFilterParameter(){\n if(this.AdvancedSearchFilled)\n this.filterSelected = true;\n else\n this.filterSelected = false;\n }\n\n get CustomerDetailModalTitle(): string {\n if(this.numericIdSelected != null)\n return `${i18n.t('NET20.CUSTOMER') as string}: ${this.numericIdSelected}`;\n else\n return i18n.t('NET20.NEW_CUSTOMER') as string;\n }\n\n CheckIsNullOrEmpty(text: any) {\n if (text == null) return true;\n if (text == '') return true;\n return false;\n }\n\n get AdvancedSearchFilled(): boolean { \n return this.CheckAdvancedSearchFilled();\n }\n\n CheckAdvancedSearchFilled(): boolean {\n if (!this.CheckIsNullOrEmpty(this.advNumericId)) return true; \n if (!this.CheckIsNullOrEmpty(this.advCustomerId)) return true; \n if (!this.CheckIsNullOrEmpty(this.advWorkshopName)) return true;\n if (!this.CheckIsNullOrEmpty(this.advVatNumber)) return true;\n if (!this.CheckIsNullOrEmpty(this.advTypeOfProposal)) return true;\n if (!this.CheckIsNullOrEmpty(this.advIdStepContract)) return true;\n if (!this.CheckIsNullOrEmpty(this.advIdSalesman)) return true;\n if (!this.CheckIsNullOrEmpty(this.advContractYear)) return true;\n if (!this.CheckIsNullOrEmpty(this.advCustomerCountry)) return true;\n if (!this.CheckIsNullOrEmpty(this.advDistributor)) return true;\n if (!this.CheckIsNullOrEmpty(this.advContractExpired)) return true;\n return false;\n }\n\n CheckSearchFilled() {\n if(!this.CheckIsNullOrEmpty(this.freeText)) return true;\n if(this.CheckAdvancedSearchFilled()) return true;\n return false; \n }\n\n resetFilters() {\n this.advNumericId = null;\n this.advCustomerId = null;\n this.advWorkshopName = null;\n this.advVatNumber = null;\n this.advTypeOfProposal = null;\n this.advIdStepContract = null;\n this.advIdSalesman = null;\n this.advContractYear = null;\n this.advCustomerCountry = null;\n this.advDistributor = null;\n this.advContractExpired = null;\n this.filterSelected = false;\n this.resetFieldAutocomplete();\n }\n\n async getAndOpenCustomer(numericId: string) {\n let app: any = this;\n let promise = this.getCustomerIdByNumericId(numericId); \n promise.then(function (val) {\n let customer: any = {\n numericId: numericId,\n id: val\n };\n app.openCustomer(customer, false);\n });\n }\n\n async postAddingCustomer(numericId: string) {\n this.getAndOpenCustomer(numericId);\n }\n\n async postUpdatingCustomer(numericId: string) {\n this.getAndOpenCustomer(numericId);\n }\n\n afterContractStepBack() {\n this.$bvModal.hide('contractStepBackModal');\n this.$bvModal.hide('customer-details-modal');\n this.openCustomerFromRouteParams();\n }\n\n onSelectingContract(contractSelected, isRenewal) {\n if(this.idCustomerDetail != null)\n this.adminUtilsReady = true;\n\n this.selectedContract = contractSelected;\n\n if(isRenewal || this.selectedContract.idStep == STEP_ENUM.EVALUATION_FORM)\n this.contractStepBackVisibility = false;\n else\n this.contractStepBackVisibility = true;\n }\n\n onCustomerDetailExecutingAction() {\n this.adminUtilsReady = false;\n }\n\n async getDropdownCountries(): Promise> {\n try{\n let country: DropDownItem = new DropDownItem();\n let countryList: DropDownItem[] = [];\n\n let response = await axios.get(\n General.GetApiUrl('/api/net20/GetCountriesForUser'),{\n responseType: \"json\",\n withCredentials: true\n });\n if(response.data) {\n response.data.forEach( element => {\n country = new DropDownItem();\n country.idDropDownItem = element.idCountry;\n country.itemText = element.name;\n\n countryList.push(country);\n });\n return General.SetOptionsDropDown(countryList);\n }\n } catch(ex) {\n General.HandleError(ex, this);\n return null;\n }\n }\n\n async getDropdownSalesman(): Promise> {\n try{\n let user: DropDownItem = new DropDownItem();\n let usersList: DropDownItem[] = [];\n\n let response = await axios.get(\n General.GetApiUrl('/api/net20/GetSalesmanForUser'),{\n responseType: \"json\",\n withCredentials: true\n });\n if(response.data) {\n response.data.forEach( element => {\n user = new DropDownItem();\n user.idDropDownItem = element.idUser;\n user.itemText = element.username;\n\n usersList.push(user);\n });\n return General.SetOptionsDropDown(usersList);\n }\n } catch(ex) {\n General.HandleError(ex, this);\n return null;\n }\n }\n\n handleUnauthorizedUser() {\n this.close();\n\n let newPath = '/net20s/'\n if (this.$route.path !== newPath) \n this.$router.push(newPath);\n\n General.showAlertDanger(i18n.t('GENERIC.MSG_UNAUTHORIZED_USER') as string,this);\n }\n\n async getCustomerIdByNumericId(numericId: string) {\n let idCustomer: string = null;\n\n try {\n let response = await axios({\n method: 'get',\n url: General.GetApiUrl('/api/net20/GetCustomerIdByNumericId?numericId=' + numericId),\n responseType: 'json',\n withCredentials: true\n });\n idCustomer = response.data;\n } catch (error) {\n General.HandleError(error, this);\n }\n return idCustomer;\n }\n\n openCustomer(customer: any, forceOpen: boolean) { \n this.adminUtilsReady = false;\n let newPath = '/net20s/' + customer.numericId;\n if (!forceOpen && this.$route.path !== newPath) \n this.$router.push(newPath);\n\n this.selectedContractId = customer.lastContractId;\n this.selectCustomerCountry = customer.idCountry;\n this.customerDetailEditMode = true;\n this.idCustomerDetail = customer.id;\n this.numericIdSelected = customer.numericId;\n this.$bvModal.show('customer-details-modal');\n }\n\n createCustomer() {\n this.adminUtilsReady = false;\n this.customerDetailEditMode = false;\n this.idCustomerDetail = null;\n this.numericIdSelected = null;\n this.$bvModal.show('customer-details-modal');\n }\n\n close() {\n this.$bvModal.hide('customer-details-modal');\n }\n \n resetSearch() {\n this.firstSearch = false;\n this.resultsItems.resultPage.splice(0);\n this.page = 1;\n }\n\n searchFilterSearchEvent(genericSearch: string) {\n if (genericSearch != null) \n this.freeText = genericSearch;\n \n this.searchItems(true)\n }\n\n searchFilterResertEvent() {\n this.downloadReportBtnLabel = i18n.t('NET20.DOWNLOAD_ALL_RECORDS') as string;\n this.resetFilters()\n }\n\n searchItems(start: boolean) {\n this.searchCustomersDo(start);\n }\n\n async searchCustomersDo(start: boolean) {\n this.showLoading = true;\n if (start == true){\n this.resetSearch();\n this.resetSelection();\n }\n try {\n let results: any = await axios({\n method: 'post',\n url: General.GetApiUrl('/api/net20/GetCustomerWithFilter'),\n data: {\n FreeText: this.freeText,\n CustomerId: this.advCustomerId,\n NumericIdsList: this.advNumericId,\n WorkshopName: this.advWorkshopName,\n VatNumber: this.advVatNumber,\n IdSalesman: this.advIdSalesman,\n TypeOfProposal: this.advTypeOfProposal,\n IdCountry: this.advCustomerCountry,\n IdStepContract: this.advIdStepContract,\n ContractYear: this.advContractYear,\n IdDistributor: this.advDistributor,\n ContractExpired: this.advContractExpired,\n CurrentPage: this.page,\n },\n withCredentials: true,\n responseType: 'json'\n });\n \n this.resultsItems.resultPage = this.resultsItems.resultPage.concat(results.data.listPage);\n this.resultsItems.total = results.data.total;\n\n this.firstSearch = true;\n this.page += 1;\n\n if(this.CheckSearchFilled())\n this.downloadReportBtnLabel = i18n.t('NET20.DOWNLOAD_ALL_RECORDS_FILTERED_SEARCH') as string;\n else\n this.downloadReportBtnLabel = i18n.t('NET20.DOWNLOAD_ALL_RECORDS') as string;\n\n if(this.allSelectedBackend) {\n results.data.listPage.forEach(element => {\n this.selectedCustomersIds.push(element.id);\n });\n }\n \n this.showLoading = false;\n } catch (error) {\n General.HandleError(error, this);\n this.showLoading = false;\n }\n\n }\n\n async downloadExcelReport() {\n this.searchFilters = {\n FreeText: this.freeText,\n CustomerId: this.advCustomerId,\n NumericIdsList: this.advNumericId,\n WorkshopName: this.advWorkshopName,\n VatNumber: this.advVatNumber,\n IdSalesman: this.advIdSalesman,\n TypeOfProposal: this.advTypeOfProposal,\n IdCountry: this.advCustomerCountry,\n IdStepContract: this.advIdStepContract,\n ContractYear: this.advContractYear,\n IdDistributor: this.advDistributor,\n ContractExpired: this.advContractExpired,\n CurrentPage: this.page\n };\n this.$bvModal.show('download-file-background'); \n }\n\n openDocsModal(){\n this.$bvModal.show('document-attachments-modal');\n }\n\n openSalesmanUpdateModal(idCustomer: string){\n let confirmMsg: string = '';\n if(!!idCustomer){\n confirmMsg = i18n.t('NET20.CHG_SALESMAN_SINGLE_CUSTOMER_CONFIRM_MSG') as string;\n confirmMsg = confirmMsg.replace('{0}', this.numericIdSelected.toString());\n\n General.confirm(confirmMsg, this, ()=> {\n this.selectedCustomer = idCustomer;\n this.totalCustomerInvolved = 1;\n this.$bvModal.show('contractSalesmanUpdate');\n });\n } else { \n confirmMsg = i18n.t('NET20.CHG_SALESMAN_MULTIPLE_CUSTOMER_CONFIRM_MSG') as string;\n confirmMsg = confirmMsg.replace('{0}', this.totalCustomerInvolved.toString());\n \n General.confirm(confirmMsg, this, ()=> {\n let CurrentSearch: CustomerGarageFilterModel = {\n freeText: this.freeText,\n customerId: this.advCustomerId,\n numericIdsList: this.advNumericId,\n workshopName: this.advWorkshopName,\n vatNumber: this.advVatNumber,\n idSalesman: this.advIdSalesman,\n typeOfProposal: this.advTypeOfProposal,\n idCountry: this.advCustomerCountry,\n idStepContract: this.advIdStepContract,\n contractYear: this.advContractYear,\n idDistributor: this.advDistributor,\n contractExpired: this.advContractExpired,\n currentPage: this.page,\n };\n this.massiveCustomerUpdate = {\n selectedCustomerId: this.selectedCustomersIds,\n selectAll: this.allSelectedBackend,\n deselectedCustomerId: this.unSelectedCustomersId,\n currentSearch: CurrentSearch\n }\n this.$bvModal.show('contractSalesmanUpdate');\n });\n }\n }\n\n toggleAll(checked) {\n this.allSelectedBackend = checked;\n this.selectedCustomersIds = checked ? this.resultsItems.resultPage.map((r)=> r.id) : []\n this.totalCustomerInvolved = checked ? this.resultsItems.total : 0;\n\n if(this.unSelectedCustomersId.length > 0)\n this.unSelectedCustomersId = new Array();\n }\n\n singleToggle(idCustomer: string) {\n if(this.selectedCustomersIds.findIndex(x => x === idCustomer) >= 0) {\n if(this.allSelectedBackend && this.unSelectedCustomersId.length > 0)\n this.unSelectedCustomersId.splice(this.unSelectedCustomersId.findIndex(x => x === idCustomer), 1);\n\n } else {\n if(this.allSelectedBackend)\n this.unSelectedCustomersId.push(idCustomer);\n }\n\n if(this.allSelectedBackend) {\n if(this.unSelectedCustomersId.length == 0) {\n this.allSelected = true;\n this.totalCustomerInvolved = this.resultsItems.total;\n } else {\n this.allSelected = false;\n this.totalCustomerInvolved = this.resultsItems.total - this.unSelectedCustomersId.length;\n }\n } else {\n this.totalCustomerInvolved = this.selectedCustomersIds.length;\n }\n }\n\n resetSelection(){\n this.allSelected = false;\n this.allSelectedBackend = false;\n this.selectedCustomersIds = new Array();\n this.unSelectedCustomersId = new Array();\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport axios from 'axios';\nimport { General } from '@/services/General';\nimport Autocomplete from '@trevoreyre/autocomplete-vue';\nimport { i18n } from '@/i18n/i18n-setup';\nimport { MassiveCustomerUpdate } from '@/entity/Net20/MassiveCustomerUpdate';\n\ninterface IDataDummyOutput {\n data: any[]\n}\n\n@Component({\n components: {\n Autocomplete\n }\n})\nexport default class SalesmanSelection extends Vue {\n @Prop({ required: false })\n massiveUpdateCustomer: any;\n\n @Prop({ type: String, required: false })\n customerId: any;\n\n @Prop({ type: Array, required: true })\n dropDownUsersProp: Array;\n\n @Prop({ type: Number, required: true })\n totalCustomerInvolved: number;\n \n advUsernameSalesmanFilter: string = '';\n advSalesmanId: string = '';\n\n loading: boolean = false;\n isOnSubmit: boolean = false;\n\n UpdateCustomerSalesman() {\n this.isOnSubmit = true;\n if(this.validateForm()) {\n let confirmMsg = i18n.t('NET20.CHG_SALESMAN_MULTIPLE_CUSTOMER_CONFIRM_MSG') as string;\n confirmMsg = confirmMsg.replace('{0}', this.totalCustomerInvolved.toString());\n \n General.confirm(confirmMsg, this, async () => {\n this.UpdateCustomerSalesmanDo(); \n });\n }\n }\n\n validateForm() {\n let isValid: boolean = true;\n if(this.CheckIsNullOrEmpty(this.advUsernameSalesmanFilter)) {\n isValid = false;\n }\n return isValid\n }\n\n CheckIsNullOrEmpty(text: any) {\n if (text == null) return true;\n if (text.toString() === '') return true;\n return false;\n }\n\n async UpdateCustomerSalesmanDo() {\n try { \n this.loading = true;\n let massiveCustomerList: MassiveCustomerUpdate = new MassiveCustomerUpdate();\n\n if(this.customerId != null) {\n let selectedCustomers = new Array();\n selectedCustomers.push(this.customerId);\n\n massiveCustomerList.selectedCustomerId = selectedCustomers;\n massiveCustomerList.selectAll = false;\n massiveCustomerList.deselectedCustomerId = null;\n massiveCustomerList.currentSearch = null;\n massiveCustomerList.idSalesman = this.advSalesmanId;\n } else {\n massiveCustomerList = this.massiveUpdateCustomer;\n massiveCustomerList.idSalesman = this.advSalesmanId;\n massiveCustomerList.currentSearch.pagination = false;\n }\n\n await axios({\n method: 'post',\n url: General.GetApiUrl('/api/net20/MassiveCustomerContractsUpdateSalesman'),\n data: massiveCustomerList,\n withCredentials: true,\n responseType: 'json'\n })\n\n General.showAlertSuccess(this.$t('NET20.CHG_SALESMAN_UPDATE_SUCCESS') as string + this.totalCustomerInvolved, this);\n\n this.resetItem();\n this.$emit('refreshResults');\n this.$emit('resetSelection');\n this.$bvModal.hide('contractSalesmanUpdate');\n\n this.loading = false; \n this.isOnSubmit = false;\n } catch (error) {\n General.HandleError(error, this);\n }\n }\n\n async search(input) {\n let usernameToLowerArray = [];\n this.resetItem();\n if (input != null && input != '') {\n this.dropDownUsersProp.filter(user => {\n if (user.text.toLowerCase().includes(input.toLowerCase())) {\n usernameToLowerArray.push(user)\n }\n\n })\n return usernameToLowerArray;\n } else {\n let dataOutput = {\n data: []\n };\n let promiseDummy = await new Promise((resolve) => {\n resolve(dataOutput);\n });\n return promiseDummy.data;\n }\n }\n\n resetItem() {\n this.advUsernameSalesmanFilter = null;\n }\n\n getResultValue(result) {\n return result.text\n }\n\n submit(result) {\n if(result != null) {\n this.advUsernameSalesmanFilter = result.text\n this.advSalesmanId = result.value\n }\n }\n\n validationSelect(validationResult: boolean, isOnSubmit: boolean): boolean {\n if (isOnSubmit) {\n return validationResult\n }\n return null;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomersSearch.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomersSearch.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentAttachmentCreation.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentAttachmentCreation.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CustomersSearch.vue?vue&type=template&id=46b63241&scoped=true\"\nimport script from \"./CustomersSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomersSearch.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 \"46b63241\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeftClickOptionMenu.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeftClickOptionMenu.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomersSearchPage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomersSearchPage.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{attrs:{\"fluid\":\"\"}},[_c('b-overlay',{attrs:{\"show\":_vm.loading,\"rounded\":\"sm\"}},[_c('b-row',[_c('b-col',[_c('label',[_vm._v(_vm._s(_vm.$t('NET20.CHG_SALESMAN_SELECT_NEW_LABEL')))]),_c('div',{staticClass:\"autocomplete\",staticStyle:{\"min-height\":\"100px\"}},[_c('autocomplete',{attrs:{\"base-class\":\"autocomplete\",\"search\":_vm.search,\"debounceTime\":300,\"getResultValue\":_vm.getResultValue,\"placeholder\":_vm.$t('NET20.USER_MANAGEMENT_SEARCH_BY_USERNAME'),\"aria-label\":_vm.$t('NET20.USER_MANAGEMENT_SEARCH_BY_USERNAME')},on:{\"submit\":_vm.submit},scopedSlots:_vm._u([{key:\"result\",fn:function(ref){\nvar result = ref.result;\nvar props = ref.props;\nreturn [_c('li',_vm._b({},'li',props,false),[_c('div',[_vm._v(\" \"+_vm._s(result.text)+\" \")]),_c('div',{domProps:{\"innerHTML\":_vm._s(result.snippet)}})])]}}])}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validationSelect(!!_vm.advUsernameSalesmanFilter, _vm.isOnSubmit)}},[_vm._v(\" \"+_vm._s(_vm.$t('NET20.USER_MANAGEMENT_VALIDATION_USERNAME'))+\" \")])],1)])],1),_c('b-row',[_c('b-col',[_c('footer',{staticClass:\"modal-footer d-flex flex-row\"},[_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.UpdateCustomerSalesman}},[_c('span',{staticClass:\"fa fa-exchange\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.CHG_SALESMAN_BTN_LABEL'))+\" \")])],1)])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SalesmanSelection.vue?vue&type=template&id=2b6fe900&scoped=true\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport MultiChunkUploader from '@/components/ChunkUploader/MultiChunkUploader.vue';\r\nimport DocumentAttachmentCreation from './DocumentAttachmentCreation.vue'\r\nimport { General } from '@/services/General';\r\nimport axios from 'axios';\r\nimport moment from 'moment';\r\nimport { saveAs } from 'file-saver';\r\nimport { i18n } from '@/i18n/i18n-setup';\r\nimport { ClaimEnum } from '@/services/ClaimEnum';\r\n\r\n@Component({\r\n components: {\r\n MultiChunkUploader,\r\n DocumentAttachmentCreation,\r\n }\r\n})\r\nexport default class DocumentAttachment extends Vue {\r\n\r\n resultsItems = null;\r\n showLoading = false;\r\n isAdmin = false;\r\n\r\n async mounted() {\r\n this.isAdmin = General.CheckAuthorization(ClaimEnum.CanAdminNet20)\r\n this.resultsItems = await this.getDocumentsAsync();\r\n }\r\n\r\n async refreshResuts(){\r\n this.resultsItems = await this.getDocumentsAsync();\r\n }\r\n\r\n async getDocumentsAsync(): Promise> {\r\n this.showLoading = true;\r\n this.resultsItems = null;\r\n try {\r\n let response = await axios.get(\r\n General.GetApiUrl('/api/net20/GetDocumentAttachmentsForUser'), {\r\n responseType: 'json',\r\n withCredentials: true\r\n });\r\n if (response.data) {\r\n this.showLoading = false;\r\n return response.data;\r\n }\r\n } catch (ex) {\r\n General.HandleError(ex, this);\r\n return null;\r\n }\r\n }\r\n\r\n deleteDocumentAsync(fileId: string) {\r\n let message = i18n.t('NET20.CUSTOMER_DOC_DELETE_QUESTION') as string;\r\n General.confirm(\r\n message,\r\n this,\r\n async () => {\r\n await this.deleteDocumentAsyncDo(fileId);\r\n }\r\n );\r\n }\r\n\r\n async downloadDocumentAsync(fileId: string, fileName: string): Promise> {\r\n try {\r\n let response = await axios.get(\r\n General.GetApiUrl('/api/net20/DownloadDocumentAttachment?documentId=' + fileId), {\r\n responseType: 'blob',\r\n withCredentials: true,\r\n }\r\n );\r\n saveAs(new Blob([response.data]), fileName);\r\n } catch (ex) {\r\n General.HandleError(ex, this);\r\n return null;\r\n }\r\n }\r\n\r\n async deleteDocumentAsyncDo(fileId: string) {\r\n try {\r\n let response = await axios.delete(\r\n General.GetApiUrl('/api/net20/DeleteDocumentAttachment?documentId=' + fileId), {\r\n responseType: 'json',\r\n withCredentials: true,\r\n }\r\n );\r\n this.resultsItems = await this.getDocumentsAsync();\r\n let message = i18n.t('NET20.CUSTOMER_DOC_DELETE_SUCCESS') as string;\r\n General.showAlertSuccess(message, this);\r\n } catch (ex) {\r\n\r\n General.HandleError(ex, this);\r\n return null;\r\n\r\n }\r\n\r\n }\r\n\r\n formatDate(value) {\r\n return moment(String(value)).format('DD/MM/YYYY')\r\n }\r\n\r\n openCreationDocsModal() {\r\n this.$bvModal.show('document-attachments-creation-modal');\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-relative\"},[_c('b-overlay',{attrs:{\"show\":_vm.loading,\"rounded\":\"sm\"}},[_c('div',{staticClass:\"page pt-1 \"}),_c('form',{attrs:{\"action\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"container-fluid d-flex align-items-center justify-content-between mb-2\"},[_c('label',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('NET20.USER_MANAGEMENT_CHANNELTYPE')))]),_c('div',{staticClass:\"w-50\"},[_c('div',[(!_vm.loading)?_c('v-select',{attrs:{\"multiple\":\"\",\"options\":_vm.dropDownChannels,\"reduce\":function (d) { return d.value; },\"label\":\"text\"},model:{value:(_vm.channelSelected),callback:function ($$v) {_vm.channelSelected=$$v},expression:\"channelSelected\"}}):_vm._e()],1),_c('div',[_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validationSelect(_vm.channelSelected != null && this.channelSelected.length > 0, _vm.isOnSubmit)}},[_vm._v(\" \"+_vm._s(_vm.$t('NET20.USER_MANAGEMENT_VALIDATION_CHANNELTYPE'))+\" \")])],1)])]),_c('div',{staticClass:\"container-fluid d-flex align-items-center justify-content-between mb-2\"},[_c('label',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_CULTURE')))]),_c('div',{staticClass:\"w-50\"},[_c('div',[(!_vm.loading)?_c('v-select',{attrs:{\"multiple\":\"\",\"options\":_vm.dropDownCultures,\"reduce\":function (d) { return d.value; },\"label\":\"text\"},model:{value:(_vm.cultureSelected),callback:function ($$v) {_vm.cultureSelected=$$v},expression:\"cultureSelected\"}}):_vm._e()],1),_c('div',[_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.validationSelect(_vm.cultureSelected != null && this.cultureSelected.length > 0, _vm.isOnSubmit)}},[_vm._v(\" \"+_vm._s(_vm.$t('NET20.CUSTOMER_VALIDATION_CULTURE'))+\" \")])],1)])]),_c('div',{staticClass:\"container-fluid d-flex align-items-center justify-content-between mb-5\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":\"staticCode\"}},[_vm._v(\"Sfoglia:\")]),_c('div',{staticClass:\"w-50 \"},[_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('div',[(_vm.uploadPerc > 0)?_c('span',[_vm._v(_vm._s(_vm.fileName))]):_vm._e()]),_c('chunk-uploader',{attrs:{\"endpoint\":\"/api/document/UploadGenericDocumentChunk\",\"chunk-size\":300,\"max-parallel-upload\":1,\"ext-allowed\":\"\",\"max-size-allowed-kb\":15360,\"state\":_vm.validationSelect(_vm.fileValidation, _vm.isOnSubmit),\"resetButton\":true},on:{\"completed\":_vm.showSuccessAlert,\"progress\":_vm.updateProgress,\"getfilename\":_vm.getFileName}})],1),_c('div',[(_vm.uploadPerc > 0)?_c('div',{staticStyle:{\"padding-top\":\"10px\"}},[_c('b-progress',{attrs:{\"max\":100}},[_c('b-progress-bar',{attrs:{\"value\":_vm.uploadPerc,\"label\":_vm.uploadPerc.toString()}})],1)],1):_vm._e()])])]),_c('footer',{staticClass:\"modal-footer d-flex flex-row\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.submitDocument()}}},[_c('i',{staticClass:\"fa fa-upload\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.UPLOAD'))+\" \")])])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentAttachmentCreation.vue?vue&type=template&id=9257024c&scoped=true\"","import { render, staticRenderFns } from \"./LeftClickOptionMenu.vue?vue&type=template&id=2df39b76\"\nimport script from \"./LeftClickOptionMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./LeftClickOptionMenu.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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showLoading == true)?_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('b-spinner',{attrs:{\"label\":\"Spinning\"}})],1):_c('div',[(_vm.resultsItems && _vm.resultsItems.length > 0)?_c('div',[_c('table',{staticClass:\"table b-table table-striped table-hover small\"},[_c('thead',{staticClass:\"table-light\"},[_c('tr',[_c('th',{staticStyle:{\"width\":\"10%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_FILE')))]),_c('th',{staticStyle:{\"width\":\"10%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(_vm.$t('NET20.USER_MANAGEMENT_CHANNELTYPE')))]),_c('th',{staticStyle:{\"width\":\"10%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_LANGUAGE')))]),(_vm.isAdmin)?_c('th',{staticStyle:{\"width\":\"5%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_UPDATED_BY')))]):_vm._e(),_c('th',{staticStyle:{\"width\":\"5%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_DATE_UPDATE')))]),_c('th',{staticStyle:{\"width\":\"5%\"}}),_c('th',{staticStyle:{\"width\":\"5%\"}})])]),_c('tbody',_vm._l((_vm.resultsItems),function(item,index){return _c('tr',{key:'item' + index},[_c('td',{staticStyle:{\"width\":\"10%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(item.fileName))]),_c('td',{staticStyle:{\"width\":\"10%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(item.channel))]),_c('td',{staticStyle:{\"width\":\"10%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(item.languageName))]),(_vm.isAdmin)?_c('td',{staticStyle:{\"width\":\"5%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(item.userUpd))]):_vm._e(),_c('td',{staticStyle:{\"width\":\"5%\",\"word-wrap\":\"break-word\"}},[_vm._v(_vm._s(_vm.formatDate(item.dataUpd)))]),_c('td',{staticStyle:{\"width\":\"5%\",\"text-align\":\"center\"}},[_c('b-button',{staticClass:\"mb-4\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.downloadDocumentAsync(item.id, item.fileName)}}},[_c('i',{staticClass:\"fa fa-download\"})])],1),_c('td',{staticStyle:{\"width\":\"5%\",\"text-align\":\"center\"}},[(_vm.isAdmin)?_c('b-button',{staticClass:\"mb-4\",attrs:{\"variant\":\"danger\"},on:{\"click\":function($event){return _vm.deleteDocumentAsync(item.id)}}},[_c('i',{staticClass:\"fa fa-trash\"})]):_vm._e()],1)])}),0)])]):_c('div',[_c('span',[_c('b',[_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_NO_DOC')))])])]),_c('footer',{staticClass:\"modal-footer d-flex flex-row\",staticStyle:{\"margin-top\":\"10px\"}},[(_vm.isAdmin)?_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.openCreationDocsModal()}}},[_c('i',{staticClass:\"fa fa-plus\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(_vm._s(_vm.$t('NET20.CUSTOMER_ADD_DOCUMENT')))]):_vm._e()],1)]),_c('b-modal',{attrs:{\"id\":\"document-attachments-creation-modal\",\"title\":_vm.$t('NET20.CUSTOMER_DOCUMENT_CREATION'),\"size\":\"lg\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\",\"scrollable\":\"\"}},[_c('DocumentAttachmentCreation',{on:{\"refreshResults\":function($event){return _vm.refreshResuts()}}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentAttachment.vue?vue&type=template&id=39441b1e&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-relative\"},[_c('HelpContent',{scopedSlots:_vm._u([{key:\"modalHelpBody\",fn:function(){return [_vm._v(\" User Manual: \"),_c('ul',[_c('li',[_vm._v(\"English version \"),_c('a',{attrs:{\"target\":\"user-manual\",\"href\":\"../resources/PETRONAS_Net_UserManual_ENG.pdf\"}},[_vm._v(\"here\")])]),_c('li',[_vm._v(\"Italian version \"),_c('a',{attrs:{\"target\":\"user-manual\",\"href\":\"../resources/PETRONAS_Net_UserManual_ITA.pdf\"}},[_vm._v(\"here\")])])])]},proxy:true}])}),_c('div',{staticClass:\"page pt-4\"},[_c('CustomersSearch')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomersSearchPage.vue?vue&type=template&id=c4e9b7ca&scoped=true\"","import { render, staticRenderFns } from \"./CustomersSearchPage.vue?vue&type=template&id=c4e9b7ca&scoped=true\"\nimport script from \"./CustomersSearchPage.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomersSearchPage.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 \"c4e9b7ca\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vue-simple-context-menu',{ref:\"vueContextMenuGroup\",attrs:{\"element-id\":\"contextMenuGroups\",\"options\":_vm.leftClickMenuOptions},on:{\"option-clicked\":_vm.optionClicked}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeftClickOptionMenu.vue?vue&type=template&id=2df39b76\""],"sourceRoot":""}