{"version":3,"sources":["webpack:///./src/components/Utilities/LeftClickOptionMenu.vue?b5db","webpack:///./src/components/ProductAddDetail.vue","webpack:///./src/components/ProductsSearch.vue?7270","webpack:///./src/components/Utilities/SearchFilter.vue?533d","webpack:///./src/components/Utilities/SearchFilter.vue?826d","webpack:///./src/components/ProductAddDetail.vue?0916","webpack:///./src/components/ProductAddDetail.vue?f905","webpack:///./src/components/Utilities/SearchFilter.vue?fb5e","webpack:///./src/components/ProductAddDetail.vue?fc23","webpack:///./src/components/ProductAddDetail.vue?91b1","webpack:///./src/components/Utilities/SearchFilter.vue?25bf","webpack:///./src/components/Utilities/SearchFilter.vue?1a67","webpack:///./src/components/Utilities/LeftClickOptionMenu.vue?fcdf","webpack:///./src/components/ProductsSearch.vue","webpack:///./src/components/Utilities/LeftClickOptionMenu.vue","webpack:///./src/components/ProductsSearch.vue?93da","webpack:///./src/components/ProductsSearch.vue?0934","webpack:///./src/components/ProductsSearch.vue?1620","webpack:///./src/components/Utilities/SearchFilter.vue?ebad","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","axios_1","__importDefault","General_1","ProductDetail_vue_1","ProductAddDetail_vue_1","SearchFilter_vue_1","LeftClickOptionMenu_vue_1","ProductSearch","productsSelected","showDetailInternal","idProductDetail","produtCodeSelected","general","freeText","showLoading","ready","firstSearch","resultsItems","resultPage","Array","total","page","selectedLanguage","selectedLanguageChange","showChage","optionsLanguage","selectedCulture","countryAuthorityList","showInfo","advCode","advDescription","advLiv0","advLiv1","advLiv2","advLiv3","advLiv4","advLiv5","advLiv6","optionsLiv0","optionsLiv1","optionsLiv2","optionsLiv3","optionsLiv4","optionsLiv5","optionsLiv6","leftClickOptionMenuUrl","leftClickOptionMenuUrlArgument","filterSelected","leftClickOptions","handleClick","AdvancedSearchFilled","items","documentType","filter","p","code","get","concat","$t","text","CheckIsNullOrEmpty","liv","outputData","apiUrl","General","GetApiUrl","_context","next","method","responseType","withCredentials","result","sent","push","data","forEach","description","abrupt","stop","_callee","showDetail","_context2","hierarchyList","$route","params","id","app","productCode","promise","getProductId","then","val","product","idProduct","openProduct","$root","$on","bvEvent","modalId","_this2","$router","_callee2","_ref","$bvModal","show","_context3","prev","response","t0","HandleError","_callee3","forceOpen","hide","splice","genericSearch","searchItems","resetFilters","start","resetSearch","_context4","FreeText","Code","Description","Liv0","Liv1","Liv2","Liv3","Liv4","Liv5","Liv6","IdLanguage","IdCountry","PublicSearch","ShowEmptyProducts","CurrentPage","results","listPage","length","_callee4","searchProductDo","_this3","_ref2","countrySelectorModal","culture","$emit","CanManualProcessProduct","Watch","components","ProductDetail","ProductAddDetail","SearchFilter","collapsibleIsOpen","searchText","inputTextClasses","filterSearchIcon","document","getElementById","classList","add","remove","activeFilterFromWidget","isFilterActive","render","_vm","_h","$createElement","_c","_self","attrs","_e","loading","model","callback","$$v","tabActivated","expression","staticClass","_v","returnState","isValidProductCode","isSaveClicked","on","$event","checkProductCode","$set","editBaseInfo","treeHierarchyCode","editTechSpecs","staticStyle","publicOptions","isPublic","materialList","afterMaterialDetailAddProduct","createProduct","staticRenderFns","TreeHierarchy_vue_1","MaterialsListPrintTool_vue_1","ClaimEnum_1","ProductBase_1","checkingProductCode","condition","clickButton","trim","showAlertDanger","finish","callSaving","__awaiter","_regeneratorRuntime","mark","wrap","createProductDo","confirm","newMaterialList","materials","undefined","mainLoading","productBase","ProductBase","OldCode","oldCode","TreeHierarchyCode","Approvals","approvals","Viscosity","viscosity","TechSpecs","techSpecs","PerformanceLevel","performanceLevel","IsPublic","ImportedFromSAP","element","newMaterial","materialCode","isDead","isPhaseOut","originalDescription","packageCode","barCode","Materials","post","close","isUserAuthorized","CheckAuthorization","ClaimEnum","CanEditProduct","isProductManagedBySAP","importedFromSAP","CanUploadTechSpecs","TreeHierarchy","MaterialsListPrintTool","class","placeholder","indexOf","_k","keyCode","emitSearchEvent","directives","rawName","colorChange","toggle","_s","isCollapseVisible","_t","emitResetEvent","_m","searchFilterSearchEvent","searchFilterResertEvent","checkFilterParameter","preventDefault","linkSearch","canUserManualProcessProduct","country","_l","index","stopPropagation","productsSelectedChange","modifiers","ref","refInFor","_f","ProductTitle","postAddingProduct","countrySelector","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,GAAAQ,EAAAT,EAAA,EAAAU,IAAA,cAAAC,MAdG,SAAaC,EAAOC,GACfC,KAAKC,MAAMC,oBAA6CC,SAASL,EAAOC,KAC5E,CAAAH,IAAA,gBAAAC,MAED,SAAeC,GACX,IAAIM,EAAcJ,KAAKK,IAAMP,EAAMC,KAAKC,KAAKM,aACpB,iBAAtBR,EAAMS,OAAOf,KACZgB,OAAOC,KAAKL,EAAa,UACG,oBAAtBN,EAAMS,OAAOf,KACnBgB,OAAOC,KAAKL,EAAa,GAAG,cAE5BM,UAAUC,UAAUC,UAAUC,SAASC,SAAW,KAAON,OAAOK,SAASE,KAAOX,OAzCpD,CAASpB,EAAAgC,KAK7CC,EAAAC,WAAA,CAJClC,EAAAmC,KAAK,CACF1B,KAAM2B,OACNC,QAAS,M,0BAObJ,EAAAC,WAAA,CAJClC,EAAAmC,KAAK,CACF1B,KAAM2B,OACNC,QAAS,M,kCARInC,EA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ItH,uBAAuB,YAAcsH,EAAIrH,mCAAmC,IAC99OoJ,EAAkB,CAAC,WAAa,IAAI/B,EAAI3L,KAAS4L,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACU,YAAY,oCAAoC,CAACV,EAAG,IAAI,CAACU,YAAY,kCAAkCR,MAAM,CAAC,cAAc,cCDhP,qE,kCCAA,iHAAwY,eAAG,G,kCCA3Y,W,kCCAA,IAAIN,EAAS,WAAa,IAAIC,EAAI3L,KAAS4L,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,0BAA0B,CAACgH,IAAI,sBAAsB9G,MAAM,CAAC,aAAa,oBAAoB,QAAUL,EAAIrM,sBAAsBuN,GAAG,CAAC,iBAAiBlB,EAAIyH,kBAAkB,IACrR1F,EAAkB,GCDtB","file":"js/chunk-3bdee921.27028513.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 \"./ProductAddDetail.vue?vue&type=template&id=992486cc&scoped=true\"\nimport script from \"./ProductAddDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductAddDetail.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 \"992486cc\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport axios from 'axios';\nimport { General } from '@/services/General';\nimport ProductDetail from '@/components/ProductDetail.vue'\nimport ProductAddDetail from '@/components/ProductAddDetail.vue'\nimport SearchFilter from '@/components/Utilities/SearchFilter.vue'\nimport LeftClickOptionMenu from \"@/components/Utilities/LeftClickOptionMenu.vue\";\n\n@Component({\n\n components: {\n ProductDetail,\n ProductAddDetail,\n SearchFilter,\n LeftClickOptionMenu\n }\n})\nexport default class ProductSearch extends Vue {\n\n @Prop({ default: true })\n public showDetail: boolean;\n\n @Prop({ default: false })\n public multiSelect: boolean;\n\n @Prop({ default: false })\n public linkSearch: boolean;\n empty: any; // aggiunto per eliminare l'errore visualizzato da visual studio code, da verificare se c'รจ un metodo migliore\n productsSelected: any[] = [];\n showDetailInternal: boolean = false;\n idProductDetail: any = null;\n produtCodeSelected: string = null;\n general: any = {};\n freeText = null;\n showLoading: boolean = false;\n ready: boolean = false;\n firstSearch: boolean = false;\n resultsItems: any = {\n resultPage: new Array(),\n total: 0\n };\n page: number = 1;\n selectedLanguage: any = null;\n selectedLanguageChange: boolean = false;\n showChage: boolean = false;\n optionsLanguage: any = new Array();\n selectedCulture: any = null;\n countryAuthorityList: any[] = null;\n showInfo: boolean = false;\n // advanced search\n advCode: string = null;\n advDescription: string = null;\n advLiv0: string = null;\n advLiv1: string = null;\n advLiv2: string = null;\n advLiv3: string = null;\n advLiv4: string = null;\n advLiv5: string = null;\n advLiv6: string = null;\n\n optionsLiv0: any = new Array();\n optionsLiv1: any = new Array();\n optionsLiv2: any = new Array();\n optionsLiv3: any = new Array();\n optionsLiv4: any = new Array();\n optionsLiv5: any = new Array();\n optionsLiv6: any = new Array();\n\n //pacchetto per menu tasto destro su dettaglio entita'\n leftClickOptionMenuUrl: string = \"/products/\";\n leftClickOptionMenuUrlArgument: string = \"code\";\n handleClick (event, item) {\n (this.$refs.leftClickOptions as LeftClickOptionMenu).handleClick(event, item);\n }\n\n filterSelected: boolean = false;\n\n checkFilterParameter(){\n if(this.AdvancedSearchFilled)\n this.filterSelected = true;\n else\n this.filterSelected = false;\n }\n\n // end advanced search\n FilterDocuments(items: any[], documentType: string): any[] {\n if (items) {\n return items.filter(p => p.documentType.code == documentType);\n }\n return [];\n\n }\n get ProductTitle(): string {\n return `${ this.$t('PRODUCT.PRODUCT_CODE') as string + \": \" + this.produtCodeSelected}`;\n }\n CheckIsNullOrEmpty(text: string) {\n if (text == null) return true;\n if (text == '') return true;\n return false;\n }\n get AdvancedSearchFilled(): boolean {\n \n if (!this.CheckIsNullOrEmpty(this.advCode)) return true;\n if (!this.CheckIsNullOrEmpty(this.advDescription)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv0)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv1)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv2)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv3)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv4)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv5)) return true;\n if (!this.CheckIsNullOrEmpty(this.advLiv6)) return true;\n \n return false;\n }\n async hierarchyList(liv) {\n\n let outputData = new Array();\n let apiUrl = General.GetApiUrl('/api/Product/GetHierarchyList?liv='+liv);\n let result = await axios({\n method: 'get',\n url: apiUrl,\n responseType: 'json',\n withCredentials: true\n });\n\n outputData.push({\n value: null,\n text: ''\n });\n \n result.data.forEach(function (item: any) {\n outputData.push({\n value: item.description,\n text: item.description\n });\n });\n \n return outputData;\n \n }\n resetFilters() {\n this.advCode = null;\n this.advDescription = null;\n this.advLiv0 = null;\n this.advLiv1 = null;\n this.advLiv2 = null;\n this.advLiv3 = null;\n this.advLiv4 = null;\n this.advLiv5 = null;\n this.advLiv6 = null;\n this.filterSelected = false;\n }\n async mounted() {\n this.ready = true;\n this.showDetailInternal = this.showDetail;\n this.general = General;\n\n this.optionsLiv0 = await this.hierarchyList(0);\n this.optionsLiv1 = await this.hierarchyList(1);\n this.optionsLiv2 = await this.hierarchyList(2);\n this.optionsLiv3 = await this.hierarchyList(3);\n this.optionsLiv4 = await this.hierarchyList(4);\n this.optionsLiv5 = await this.hierarchyList(5);\n this.optionsLiv6 = await this.hierarchyList(6);\n\n if (this.$route.params.id) {\n let app: any = this;\n let productCode: string = this.$route.params.id;\n let promise = this.getProductId(productCode);\n promise.then(function (val) {\n let product: any = {\n code: productCode,\n idProduct: val\n };\n app.openProduct(product, true);\n\n });\n }\n\n this.$root.$on('bv::modal::hide', (bvEvent, modalId) => {\n if (modalId=='product-detail-modal'){\n this.$router.push({name:'Products'}); \n }\n \n })\n \n }\n\n postAddingProduct({idProduct, code}) {\n this.$router.push('/products/' + code);\n this.idProductDetail = idProduct;\n this.produtCodeSelected = code;\n this.$bvModal.show('product-detail-modal'); \n }\n\n @Watch('selectedLanguage')\n selectedChanger() {\n this.selectedLanguageChange = true;\n\n }\n\n async getProductId(productCode: string) {\n let idProduct: string = null;\n\n try {\n let response = await axios({\n method: 'get',\n url: General.GetApiUrl('/api/product/GetProductByCode?productCode=' + productCode),\n responseType: 'json',\n withCredentials: true\n });\n idProduct = response.data;\n } catch (error) {\n General.HandleError(error, this);\n \n }\n\n return idProduct;\n }\n openProduct(product: any, forceOpen: boolean) {\n if (!forceOpen) this.$router.push('/products/' + product.code);\n this.idProductDetail = product.idProduct;\n this.produtCodeSelected = product.code;\n this.$bvModal.show('product-detail-modal');\n }\n\n createProduct() {\n this.$bvModal.show('product-add-detail-modal');\n }\n\n close() {\n this.$bvModal.hide('product-detail-modal');\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.resetFilters()\n }\n\n async searchProductDo(start: boolean) {\n\n this.showLoading = true;\n if (start == true)\n this.resetSearch();\n try {\n \n let results: any = await axios({\n method: 'post',\n url: General.GetApiUrl('/api/product/GetProductsWithFilter'),\n data: {\n FreeText: this.freeText,\n Code: this.advCode,\n Description: this.advDescription,\n Liv0: this.advLiv0,\n Liv1: this.advLiv1,\n Liv2: this.advLiv2,\n Liv3: this.advLiv3,\n Liv4: this.advLiv4,\n Liv5: this.advLiv5,\n Liv6: this.advLiv6,\n IdLanguage: null,\n IdCountry: null,\n PublicSearch: false,\n ShowEmptyProducts: false,\n CurrentPage: this.page\n\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 if (this.countryAuthorityList != null && this.countryAuthorityList.length > 1) {\n this.showChage = true;\n } else {\n this.showChage = false;\n }\n \n this.firstSearch = true;\n this.page += 1;\n \n this.showLoading = false;\n } catch (error) {\n General.HandleError(error, this);\n this.showLoading = false;\n }\n\n }\n\n searchItems(start: boolean) {\n let app = this;\n this.searchProductDo(start);\n }\n countrySelectorModal(open: boolean) {\n if (open == true) {\n this.$bvModal.show('country-authority-selector');\n } else {\n this.$bvModal.hide('country-authority-selector');\n }\n }\n\n checkCountrySelector(start: boolean) {\n this.selectedLanguageChange = false;\n let url: string = '/api/culture/GetCulturesWithFilter?IdLanguage=' + this.selectedLanguage;\n this.countryAuthorityList = null;\n\n axios({\n method: 'get',\n url: General.GetApiUrl(url),\n withCredentials: true,\n responseType: 'json'\n }).then(({ data }) => {\n if (data.length == 1) {\n this.countryAuthorityList = null;\n this.selectedCulture = data[0];\n this.searchProductDo(start);\n } else {\n this.countryAuthorityList = data;\n this.countrySelectorModal(true);\n }\n })\n }\n countrySelector(culture: any) {\n this.selectedCulture = culture;\n this.countrySelectorModal(false);\n this.searchProductDo(true);\n }\n productsSelectedChange() {\n this.$emit('productsSelectedChange', this.productsSelected);\n }\n\n canUserManualProcessProduct() {\n return General.CanManualProcessProduct();\n }\n}\n","\n\n\n\n\n\n\n\n\n\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 { WatchOptions } from 'vue';\r\nimport { Component, Prop, Vue , Watch} from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class SearchFilter extends Vue {\r\n @Prop({default: \"Generic Search!\"})\r\n placeholder: string\r\n @Prop({default: true})\r\n isFilterActive: boolean\r\n @Prop({default: false})\r\n isCollapseVisible: boolean\r\n @Prop({default: false})\r\n filterSelected: boolean\r\n @Prop({default: false})\r\n activeFilterFromWidget: boolean\r\n\r\n collapsibleIsOpen : boolean = false;\r\n // @Prop({ type: Boolean, default: false })\r\n // collapsibleIsOpen;\r\n searchText: string = \"\"\r\n inputTextClasses: string = \"left-rounded-border\"\r\n emitResetEvent(): void {\r\n this.searchText = \"\"\r\n this.$emit(\"filter-reset\")\r\n }\r\n\r\n emitSearchEvent(): void {\r\n this.$emit(\"filter-search\", this.searchText)\r\n }\r\n\r\n toggle(): void {\r\n this.collapsibleIsOpen = !this.collapsibleIsOpen\r\n let filterSearchIcon = document.getElementById(\"filterSearchIcon\")\r\n if (this.collapsibleIsOpen) {\r\n filterSearchIcon.classList.add(\"rotate-90-deg\")\r\n this.$emit(\"open-filter-search\")\r\n }\r\n else {\r\n filterSearchIcon.classList.remove(\"rotate-90-deg\")\r\n this.$emit(\"close-filter-search\")\r\n }\r\n }\r\n\r\n mounted():void {\r\n //nel caso in cui abbia cliccato sul title dei widget communication simulo una ricerca con il tab aperto\r\n if(this.activeFilterFromWidget) {\r\n let filterSearchIcon = document.getElementById(\"filterSearchIcon\")\r\n this.collapsibleIsOpen = true;\r\n filterSearchIcon.classList.add(\"rotate-90-deg\")\r\n this.$emit(\"open-filter-search\")\r\n }\r\n }\r\n\r\n created(): void {\r\n if (!this.isFilterActive)\r\n this.inputTextClasses = this.inputTextClasses + \" right-rounded-border\"\r\n this.$emit(\"open-filter-search\");\r\n }\r\n\r\n get colorChange(){\r\n if (this.filterSelected){\r\n return 'secondary';\r\n }\r\n return 'outline-secondary';\r\n }\r\n\r\n}\r\n","import { render, staticRenderFns } from \"./SearchFilter.vue?vue&type=template&id=56c482fe&scoped=true\"\nimport script from \"./SearchFilter.vue?vue&type=script&lang=ts\"\nexport * from \"./SearchFilter.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SearchFilter.vue?vue&type=style&index=0&id=56c482fe&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"56c482fe\",\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.loading)?_c('b-spinner',{attrs:{\"label\":\"Spinning\"}}):_vm._e(),(!_vm.loading)?_c('div',[_c('b-tabs',{model:{value:(_vm.tabActivated),callback:function ($$v) {_vm.tabActivated=$$v},expression:\"tabActivated\"}},[_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":\"Base info\"}},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\",attrs:{\"for\":\"staticCode\"}},[_vm._v(\"Code \"),(_vm.checkingProductCode)?_c('b-spinner',{attrs:{\"label\":\"Spinning\"}}):_vm._e()],1),_c('div',{staticClass:\"col-sm-10\"},[_c('b-input',{attrs:{\"state\":_vm.returnState((_vm.product.code != null && _vm.isValidProductCode), _vm.isSaveClicked)},on:{\"blur\":function($event){return _vm.checkProductCode()}},model:{value:(_vm.product.code),callback:function ($$v) {_vm.$set(_vm.product, \"code\", $$v)},expression:\"product.code\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\",attrs:{\"for\":\"staticCode\"}},[_vm._v(\"Old code (4-digit)\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-input',{attrs:{\"readonly\":!_vm.editBaseInfo},model:{value:(_vm.product.oldCode),callback:function ($$v) {_vm.$set(_vm.product, \"oldCode\", $$v)},expression:\"product.oldCode\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\",attrs:{\"for\":\"staticHCode\"}},[_vm._v(\"Hierarchy code\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-input',{attrs:{\"readonly\":!_vm.editBaseInfo,\"state\":_vm.returnState((_vm.product.treeHierarchyCode == null || _vm.product.treeHierarchyCode.length == 18), _vm.isSaveClicked)},model:{value:(_vm.product.treeHierarchyCode),callback:function ($$v) {_vm.$set(_vm.product, \"treeHierarchyCode\", $$v)},expression:\"product.treeHierarchyCode\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\",attrs:{\"for\":\"staticDesc\"}},[_vm._v(\"Description\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-textarea',{attrs:{\"id\":\"textarea\",\"rows\":\"3\",\"readonly\":!_vm.editBaseInfo},model:{value:(_vm.product.description),callback:function ($$v) {_vm.$set(_vm.product, \"description\", $$v)},expression:\"product.description\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\",attrs:{\"for\":\"staticDesc\"}},[_vm._v(\"Technical Specification\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-textarea',{attrs:{\"id\":\"techSpec\",\"rows\":\"3\",\"readonly\":!_vm.editTechSpecs},model:{value:(_vm.product.techSpecs),callback:function ($$v) {_vm.$set(_vm.product, \"techSpecs\", $$v)},expression:\"product.techSpecs\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\"},[_vm._v(\"Viscosity\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-textarea',{attrs:{\"rows\":\"3\",\"readonly\":!_vm.editTechSpecs},model:{value:(_vm.product.viscosity),callback:function ($$v) {_vm.$set(_vm.product, \"viscosity\", $$v)},expression:\"product.viscosity\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\"},[_vm._v(\"Approvals\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-textarea',{attrs:{\"rows\":\"3\",\"readonly\":!_vm.editTechSpecs},model:{value:(_vm.product.approvals),callback:function ($$v) {_vm.$set(_vm.product, \"approvals\", $$v)},expression:\"product.approvals\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\"},[_vm._v(\"Performance Level\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-textarea',{attrs:{\"rows\":\"3\",\"readonly\":!_vm.editTechSpecs},model:{value:(_vm.product.performanceLevel),callback:function ($$v) {_vm.$set(_vm.product, \"performanceLevel\", $$v)},expression:\"product.performanceLevel\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-2 col-form-label font-weight-bold\"},[_vm._v(\"Visibility\")]),_c('div',{staticClass:\"col-sm-10\"},[_c('b-form-select',{staticStyle:{\"width\":\"auto\"},attrs:{\"options\":_vm.publicOptions,\"value\":\"false\",\"state\":_vm.returnState(_vm.product.isPublic != null, _vm.isSaveClicked)},model:{value:(_vm.product.isPublic),callback:function ($$v) {_vm.$set(_vm.product, \"isPublic\", $$v)},expression:\"product.isPublic\"}})],1)])]),_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":\"Materials\"}},[_c('materials-list-print-tool',{attrs:{\"showProductsInfo\":false,\"product\":_vm.product,\"materialList\":_vm.materialList,\"editProductMode\":false,\"fromProductDetail\":true,\"isValidProductCode\":_vm.isValidProductCode},on:{\"afterMaterialDetailAddProduct\":_vm.afterMaterialDetailAddProduct}})],1)],1)],1):_vm._e(),_c('footer',{staticClass:\"modal-footer\"},[(_vm.showSave)?_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.createProduct()}}},[_vm._v(\"Create Product\")]):_vm._e()],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!./ProductAddDetail.vue?vue&type=template&id=992486cc&scoped=true\"","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!./SearchFilter.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!./SearchFilter.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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, Prop, Vue } from 'vue-property-decorator';\nimport axios from 'axios';\nimport { General } from '@/services/General';\nimport TreeHierarchy from '@/components/TreeHierarchy.vue';\nimport MaterialsListPrintTool from '@/components/MaterialsListPrintTool.vue';\nimport { ClaimEnum } from '@/services/ClaimEnum';\nimport {ProductBase} from '@/entity/ProductBase';\nimport { IMaterialDto } from '@/interfaces/IMaterialDto';\n\n@Component({\n components: {\n TreeHierarchy,\n MaterialsListPrintTool\n }\n})\nexport default class ProductAddDetail extends Vue {\n @Prop()\n public idproduct!: any;\n\n @Prop()\n idModel: string;\n\n @Prop()\n showClose: boolean;\n tabActivated: number = 0;\n loading: boolean = false;\n checkingProductCode: boolean = false;\n isValidProductCode: boolean = false;\n isSaveClicked: boolean = false;\n product: any = {};\n general: any = {};\n publicOptions = [\n { value: true, text: 'PUBLIC'},\n { value: false, text: 'NON PUBLIC' }\n ]\n materialList: IMaterialDto[] = [];\n\n close() {\n this.$bvModal.hide('product-add-detail-modal');\n }\n\n returnState(condition: boolean, clickButton: boolean): boolean {\n if (clickButton) \n return condition;\n else \n return null;\n }\n\n async checkProductCode() {\n this.checkingProductCode = true;\n try {\n let response = await axios({\n method: 'get',\n url: General.GetApiUrl('/api/product/IsExistingProduct?productCode=' + this.product.code.trim()),\n responseType: 'json',\n withCredentials: true\n });\n if (response.data) {\n General.showAlertDanger(\"Product with code \" + this.product.code + \" already exists\", this);\n this.isSaveClicked = true;\n this.isValidProductCode = false;\n } else {\n this.isValidProductCode = true;\n } \n } catch (error) {\n General.HandleError(error, this, true);\n } finally {\n this.checkingProductCode = false;\n }\n }\n async createProduct(){\n let app = this;\n let callSaving = async () => {\n await app.createProductDo();\n }\n General.confirm('Please confirm that you want to add this product.', app, callSaving);\n\n }\n\n afterMaterialDetailAddProduct(newMaterialList) {\n this.product.materials = newMaterialList;\n }\n\n async createProductDo(){\n this.isSaveClicked = true;\n let app = this;\n if(!this.isValidProductCode) {\n General.showAlertDanger(\"Invalid product code, please check\", app);\n } else if(this.product.treeHierarchyCode != undefined && this.product.treeHierarchyCode.length < 18 && this.product.treeHierarchyCode.length > 0) {\n General.showAlertDanger(\"Invalid Hierarchy code: mandatory 18 characters string or empty\", app);\n } else if(this.product.isPublic === undefined) {\n General.showAlertDanger(\"Please check Required fields\", app);\n } else {\n General.mainLoading(true);\n let productBase = new ProductBase();\n productBase.Code = this.product.code.trim();\n productBase.OldCode = this.product.oldCode;\n productBase.Description = this.product.description;\n productBase.TreeHierarchyCode = this.product.treeHierarchyCode;\n productBase.Approvals = this.product.approvals;\n productBase.Viscosity = this.product.viscosity;\n productBase.TechSpecs = this.product.techSpecs;\n productBase.PerformanceLevel = this.product.performanceLevel;\n productBase.IsPublic = this.product.isPublic;\n productBase.ImportedFromSAP = false;\n \n if(this.product.materials !== undefined) {\n let materialList: IMaterialDto[] = [];\n this.product.materials.forEach(element => {\n var newMaterial: IMaterialDto = {};\n newMaterial.materialCode = element.materialCode;\n newMaterial.description = element.description;\n newMaterial.isDead = element.isDead;\n newMaterial.isPhaseOut = element.isPhaseOut;\n newMaterial.originalDescription = element.originalDescription;\n newMaterial.packageCode = element.packageCode;\n newMaterial.barCode = \"\";\n materialList.push(newMaterial);\n });\n productBase.Materials = materialList;\n }\n \n try{\n let response = await axios.post(General.GetApiUrl('/api/product/AddProduct'),productBase,{ withCredentials: true });\n var idProduct = response.data;\n\n app.$emit(\"postAddProduct\", {idProduct: idProduct, code: productBase.Code});\n this.isSaveClicked = false;\n this.close();\n }catch(error){\n General.HandleError(error, app, true);\n }\n General.mainLoading(false); \n }\n }\n\n get showSave(): boolean{\n return this.editBaseInfo||this.editTechSpecs;\n }\n\n get editBaseInfo(): boolean{\n let isUserAuthorized = General.CheckAuthorization(ClaimEnum.CanEditProduct);\n let isProductManagedBySAP = this.product.importedFromSAP;\n return (isUserAuthorized && !isProductManagedBySAP)\n }\n\n get editTechSpecs(): boolean{\n let isUserAuthorized = General.CheckAuthorization(ClaimEnum.CanUploadTechSpecs); \n\n return isUserAuthorized;\n }\n mounted() {\n this.tabActivated = 0;\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!./ProductAddDetail.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!./ProductAddDetail.vue?vue&type=script&lang=ts\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"align-items-center row\"},[_c('b-input-group',{staticClass:\"col-12 col-sm p-0 searchBar\",attrs:{\"size\":\"md\"}},[_c('b-form-input',{class:_vm.inputTextClasses,attrs:{\"placeholder\":_vm.placeholder},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.emitSearchEvent()}},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:\"searchText\"}}),(_vm.isFilterActive)?_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\",value:('collapsible-content'),expression:\"'collapsible-content'\"}],staticClass:\"btn right-rounded-border p-o\",attrs:{\"variant\":_vm.colorChange},on:{\"click\":function($event){return _vm.toggle()}}},[_c('i',{staticClass:\"fa fa-chevron-right text-nowrap\",staticStyle:{\"transition\":\"transform 0.5s\"},attrs:{\"id\":\"filterSearchIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.FILTERS')))]):_vm._e()],1),_c('b-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.collapsibleIsOpen),expression:\"!collapsibleIsOpen\"}],staticClass:\"text-nowrap ml-3 col-12 col-sm-1 btn-search\",attrs:{\"pill\":\"\",\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.emitSearchEvent()}}},[_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.SEARCH'))+\" \"),_c('i',{staticClass:\"fa fa-search\"})])],1),(_vm.isFilterActive)?_c('b-collapse',{staticClass:\"mx-3 p-3 mb-3 bg-light border rounded \",attrs:{\"id\":\"collapsible-content\",\"visible\":_vm.isCollapseVisible}},[_vm._t(\"default\"),_c('div',{staticClass:\"mt-3\"},[_c('b-button',{attrs:{\"pill\":\"\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.emitResetEvent()}}},[_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.RESET_FILTERS'))+\" \"),_c('i',{staticClass:\"fa fa-close\"})]),_c('b-button',{staticClass:\"pull-right\",attrs:{\"pill\":\"\",\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.emitSearchEvent()}}},[_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.SEARCH'))+\" \"),_c('i',{staticClass:\"fa fa-search\"})])],1)],2):_vm._e()],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!./SearchFilter.vue?vue&type=template&id=56c482fe&scoped=true\"","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 { render, staticRenderFns } from \"./ProductsSearch.vue?vue&type=template&id=0b9fc93c&scoped=true\"\nimport script from \"./ProductsSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./ProductsSearch.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 \"0b9fc93c\",\n null\n \n)\n\nexport default component.exports","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.ready==false)?_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('b-spinner',{attrs:{\"label\":\"Spinning\"}})],1):_vm._e(),(_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('PRODUCT.SEARCH_BY_CODE')},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('PRODUCT.CODE')}},[_c('b-form-input',{model:{value:(_vm.advCode),callback:function ($$v) {_vm.advCode=$$v},expression:\"advCode\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.DESCRIPTION')}},[_c('b-form-input',{model:{value:(_vm.advDescription),callback:function ($$v) {_vm.advDescription=$$v},expression:\"advDescription\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.CATEGORY')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv0},model:{value:(_vm.advLiv0),callback:function ($$v) {_vm.advLiv0=$$v},expression:\"advLiv0\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.TECH_APPLICATION')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv1},model:{value:(_vm.advLiv1),callback:function ($$v) {_vm.advLiv1=$$v},expression:\"advLiv1\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.OIL_TYPE')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv2},model:{value:(_vm.advLiv2),callback:function ($$v) {_vm.advLiv2=$$v},expression:\"advLiv2\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.MASTER_BRAND')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv3},model:{value:(_vm.advLiv3),callback:function ($$v) {_vm.advLiv3=$$v},expression:\"advLiv3\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.BRAND')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv4},model:{value:(_vm.advLiv4),callback:function ($$v) {_vm.advLiv4=$$v},expression:\"advLiv4\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.BRAND_DESCRIPTION')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv5},model:{value:(_vm.advLiv5),callback:function ($$v) {_vm.advLiv5=$$v},expression:\"advLiv5\"}})],1),_c('b-form-group',{staticClass:\"px-2\",attrs:{\"label\":_vm.$t('PRODUCT.VARIANT')}},[_c('b-form-select',{attrs:{\"options\":_vm.optionsLiv6},model:{value:(_vm.advLiv6),callback:function ($$v) {_vm.advLiv6=$$v},expression:\"advLiv6\"}})],1)],1)],1)],1)]),(_vm.linkSearch==true)?_c('p',{staticClass:\"align-self-start\",staticStyle:{\"font-size\":\"15px\"}},[_c('a',{attrs:{\"href\":\"/document-search\"}},[_vm._v(_vm._s(_vm.$t('PRODUCT.THIRD_ACCESS')))])]):_vm._e()])]),(_vm.canUserManualProcessProduct())?_c('b-button',{staticClass:\"mb-4\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.createProduct()}}},[_c('i',{staticClass:\"fa fa-plus\"}),_vm._v(\" \"+_vm._s(_vm.$t('PRODUCT.ADD_PRODUCT')))]):_vm._e(),(_vm.firstSearch)?_c('div',[(_vm.selectedCulture!=null)?_c('div',{staticClass:\"alert alert-primary\",staticStyle:{\"font-size\":\"20px\",\"margin-top\":\"10px\"},attrs:{\"role\":\"alert\"}},[_vm._v(\" \"+_vm._s(_vm.$t('PRODUCT.COUNTRY_AUTHORITY'))+\": \"),_c('strong',{staticStyle:{\"margin-left\":\"5px\",\"display\":\"inline-block\"}},[_vm._v(_vm._s(_vm.selectedCulture.country.name))]),(_vm.showChage==true)?_c('span',{staticClass:\"link changeBtn\",on:{\"click\":function($event){return _vm.countrySelectorModal(true)}}},[_vm._v(_vm._s(_vm.$t('PRODUCT.CHANGE')))]):_vm._e()]):_vm._e(),_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))]),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t('PRODUCT.UNREAD_MESSAGE')))])]),(_vm.resultsItems.total>0)?_c('div',{staticClass:\"results\"},[_c('table',{staticClass:\"table b-table table-striped table-hover\"},[_c('thead',{staticClass:\"table-light\"},[_c('tr',[(_vm.showDetailInternal)?_c('th'):_vm._e(),(_vm.multiSelect)?_c('th'):_vm._e(),_c('th',[_vm._v(_vm._s(_vm.$t('PRODUCT.PRODUCT_CODE')))]),_c('th',[_vm._v(_vm._s(_vm.$t('PRODUCT.VARIANT')))])])]),_c('tbody',_vm._l((_vm.resultsItems.resultPage),function(item,index){return _c('tr',{key:index},[(_vm.showDetailInternal)?_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.openProduct(item,false)}}})]):_vm._e(),(_vm.multiSelect)?_c('td',[_c('b-form-checkbox',{attrs:{\"value\":item},on:{\"change\":_vm.productsSelectedChange},model:{value:(_vm.productsSelected),callback:function ($$v) {_vm.productsSelected=$$v},expression:\"productsSelected\"}})],1):_vm._e(),_c('td',[_vm._v(\" \"+_vm._s(item.code)+\" \"),(item.oldCode!=null)?_c('span',{directives:[{name:\"b-popover\",rawName:\"v-b-popover.hover.top\",value:('4-digit code'),expression:\"'4-digit code'\",modifiers:{\"hover\":true,\"top\":true}}],ref:\"button\",refInFor:true,staticClass:\"old-code\"},[_vm._v(\"(\"+_vm._s(item.oldCode)+\")\")]):_vm._e()]),_c('td',[_vm._v(_vm._s(_vm._f(\"empty\")(item.description)))])])}),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.searchProductDo(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()]):_vm._e(),(_vm.showLoading==true)?_c('div',{staticStyle:{\"text-align\":\"center\"}},[_c('b-spinner',{attrs:{\"label\":\"Spinning\"}})],1):_vm._e()],1):_vm._e(),_c('b-modal',{attrs:{\"id\":\"product-detail-modal\",\"scrollable\":\"\",\"title\":_vm.ProductTitle,\"size\":\"xl\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\"}},[_c('product-detail',{attrs:{\"idproduct\":_vm.idProductDetail,\"show-close\":true}})],1),_c('b-modal',{attrs:{\"id\":\"product-add-detail-modal\",\"scrollable\":\"\",\"title\":_vm.$t('PRODUCT.CREATE_PRODUCT'),\"size\":\"xl\",\"no-close-on-backdrop\":true,\"hide-footer\":\"\"}},[_c('product-add-detail',{attrs:{\"show-close\":true},on:{\"postAddProduct\":_vm.postAddingProduct}})],1),_c('b-modal',{attrs:{\"id\":\"country-authority-selector\",\"scrollable\":\"\",\"title\":_vm.$t('PRODUCT.COUNTRY_AUTH_SELECTION'),\"no-close-on-backdrop\":true,\"hide-footer\":\"\"}},[_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('PRODUCT.COUNTRY_SELECTION'))+\":\")]),_c('ul',_vm._l((_vm.countryAuthorityList),function(item,index){return _c('li',{key:index,staticClass:\"link\",on:{\"click\":function($event){return _vm.countrySelector(item)}}},[_vm._v(_vm._s(item.country.name))])}),0)])]),_c('left-click-option-menu',{ref:\"leftClickOptions\",attrs:{\"url\":_vm.leftClickOptionMenuUrl,\"urlArgument\":_vm.leftClickOptionMenuUrlArgument}})],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!./ProductsSearch.vue?vue&type=template&id=0b9fc93c&scoped=true\"","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!./ProductsSearch.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!./ProductsSearch.vue?vue&type=script&lang=ts\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilter.vue?vue&type=style&index=0&id=56c482fe&prod&scoped=true&lang=css\"","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":""}