{"version":3,"sources":["webpack:///./src/services/backendCipriani/samService.js","webpack:///./src/views/SimplifiedArchiveManagement/SAMView.vue","webpack:///src/views/SimplifiedArchiveManagement/SAMView.vue","webpack:///./src/views/SimplifiedArchiveManagement/SAMView.vue?202e","webpack:///./src/views/SimplifiedArchiveManagement/SAMView.vue?97c9","webpack:///./src/views/SimplifiedArchiveManagement/SAMView.vue?a2d6"],"names":["getlistaTabelle","Promise","resolve","reject","api","get","then","response","isAxiosError","console","log","data","catch","error","getStrutturaDatiTabella","tableName","setDatiTabella","dati","post","render","_vm","this","_c","_self","staticClass","attrs","staticStyle","_l","listaTabelle","item","key","on","$event","downloadTableFileForUpdate","_v","_s","currentTableName","style","backgroundColor","coloreFooterBottoni","borderColor","coloreBordoBottoni","color","coloreTestoBottoni","exportTableCSV","uniTranslation","launchLoadfile","ImportTableCSV","uploadedFileName","addItem","SalvaSulServer","rows","currentPage","_e","isBusy","items","fields","perPage","scopedSlots","_u","fn","proxy","gomycell","propKey","row","showKey","booleanFields","b","editData","index","target","deleteRow","model","value","callback","$$v","expression","infoModal","title","resetInfoModal","addElement","modalShow","directives","name","rawName","prop","propShowHide","propType","concat","riga","$set","staticRenderFns","components","itemsToDelete","bnewElement","newElement","defValue","id","csvFileDaCaricare","compName","coloreFooterSfondo","coloreFooterTesto","coloreBordo","computed","length","mounted","that","samservice","document","getElementById","setAttribute","impostaTitolo","$store","subscribe","mutation","comp","type","colorList","colorsService","getColoriFooter","methods","innerHTML","$t","push","button","_this","i","findIndex","t","arrDeletedItems","splice","forEach","x","js","JSON","stringify","parse","showEdit","_this2","elemento","titolo","ListaProp","Object","keys","listaPropType","listaShowHide","listShowHide","p","s","k","toLowerCase","listTipi","tipo","tabella","caricaTabella","finally","azzeraDati","label","iskey","csvImport","e","expArr","exportItem","field","replace","excelHelper","csvExport","String","Notification","message","files","dataTransfer","file","_this3","reader","FileReader","onload","evt","newItems","parseCSV","result","itm","indexNew","newItm","readAsText","click","component"],"mappings":"yIAAA,0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A,KAAAA,EAAAyC,EAAA9G,UACA2C,EAAAb,cAAA8B,KAAAS,UAMA8C,EAAA/C,SAAA,SAAAoD,GACA,IAAAtF,EAAAsF,EAAAV,EAAA9G,SACAM,EAAAqC,EAAAnD,MAAAwE,WAAA,SAAAC,GACA,OAAAA,EAAA6C,EAAA9G,UAAAkC,KAGA5B,EAAA,EACAkH,EAAAV,EAAA9G,UAAA,IAEA2C,EAAAnD,MAAA2E,OAAA7D,EAAA,GAEAqC,EAAAnD,MAAAoE,KAAA4D,OAGAf,kBAAA3J,MAAA,CACAiE,MAAA,aACA2F,QAAA,2EAKAK,EAAAU,WAAAZ,GAGAhE,SAAAC,eAAA,oBAAApC,MAAA,IAGA3B,eAAA,WACA8D,SAAAC,eAAA,oBAAA4E,WCzlBgW,I,wBCQ5VC,EAAY,eACd,EACAvK,EACAwE,GACA,EACA,KACA,KACA,MAIa,aAAA+F,E,2CCnBf","file":"js/chunk-4ff8bfbf.8408bd91.js","sourcesContent":["import { Notification } from \"element-ui\";\r\nimport { api } from \"../../gateways/unilabCiprianiApi\";\r\n\r\nexport default {\r\n getlistaTabelle() {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .get(\"archivio-elementi/listaTabelle\")\r\n .then(response => {\r\n if (!response.isAxiosError) {\r\n resolve(response.data);\r\n } else {\r\n console.log(response.response);\r\n //Notification.warning({\r\n // title: \"Error\",\r\n // message: response.response !== undefined ? response.response.data : \"No Response\"\r\n //});\r\n reject(response);\r\n }\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n //Notification.warning({\r\n // title: \"Error\",\r\n // message: error\r\n //});\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n getStrutturaDatiTabella(tableName) {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .get(\"archivio-elementi/strutturaDatiTabella?tableName=\" + tableName)\r\n .then(response => {\r\n if (!response.isAxiosError) {\r\n resolve(response.data);\r\n } else {\r\n console.log(response.response);\r\n //Notification.warning({\r\n // title: \"Error\",\r\n // message: response.response !== undefined ? response.response.data : \"No Response\"\r\n //});\r\n reject(response);\r\n }\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n //Notification.warning({\r\n // title: \"Error\",\r\n // message: error\r\n //});\r\n reject(error);\r\n });\r\n });\r\n },\r\n\r\n setDatiTabella(dati) {\r\n return new Promise((resolve, reject) => {\r\n api\r\n .post(\"archivio-elementi/salvaDatiTabella\", dati)\r\n .then(response => {\r\n if (!response.isAxiosError) {\r\n resolve(response.data);\r\n } else {\r\n console.log(response.response);\r\n //Notification.warning({\r\n // title: \"Error\",\r\n // message: response.response !== undefined ? response.response.data : \"No Response\"\r\n //});\r\n reject(response);\r\n }\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n //Notification.warning({\r\n // title: \"Error\",\r\n // message: error\r\n //});\r\n reject(error);\r\n });\r\n });\r\n }\r\n};\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"management-container animated fadeIn\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"2\"}},[_c('div',{staticClass:\"wrapper\",staticStyle:{\"height\":\"calc(100vh - 5rem)\"}},[_c('div',{staticClass:\"content\"},[_c('b-list-group',_vm._l((_vm.listaTabelle),function(item){return _c('b-list-group-item',{key:item,attrs:{\"button\":\"\",\"table-name\":item},on:{\"click\":function($event){return _vm.downloadTableFileForUpdate(item)}}},[_vm._v(_vm._s(item))])}),1)],1)])]),_c('b-col',{attrs:{\"cols\":\"10\"}},[(_vm.currentTableName == '')?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"2\"}},[_c('label',{staticClass:\"lablel\"},[_c('b',[_vm._v(\"Select a table from the list...\")])])])],1):_c('b-row',[_c('b-col',{attrs:{\"cols\":\"2\"}},[_c('b-button',{style:({\n backgroundColor: _vm.coloreFooterBottoni,\n borderColor: _vm.coloreBordoBottoni,\n color: _vm.coloreTestoBottoni\n }),on:{\"click\":_vm.exportTableCSV}},[_vm._v(_vm._s(_vm.uniTranslation(\"PHE2231\"))+\"\\n \")])],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('div',{staticClass:\"input-group\"},[_c('div',{staticClass:\"input-group-prepend\"},[_c('b-button',{style:({\n backgroundColor: _vm.coloreFooterBottoni,\n borderColor: _vm.coloreBordoBottoni,\n color: _vm.coloreTestoBottoni\n }),attrs:{\"id\":\"inputGroupFileAddon01\"},on:{\"click\":_vm.launchLoadfile}},[_vm._v(_vm._s(_vm.uniTranslation(\"PHE2232\")))])],1),_c('div',{staticClass:\"custom-file\"},[_c('input',{staticClass:\"custom-file-input\",attrs:{\"id\":\"inputGroupFile01\",\"type\":\"file\",\"accept\":\".csv\"},on:{\"change\":_vm.ImportTableCSV}}),_c('label',{staticClass:\"custom-file-label\",attrs:{\"for\":\"inputGroupFile01\"}},[_vm._v(_vm._s(_vm.uploadedFileName))])])])]),_c('b-col',{attrs:{\"cols\":\"2\"}},[_c('b-button',{style:({\n backgroundColor: _vm.coloreFooterBottoni,\n borderColor: _vm.coloreBordoBottoni,\n color: _vm.coloreTestoBottoni\n }),on:{\"click\":_vm.addItem}},[_vm._v(_vm._s(\"Add\")+\"\\n \")])],1),_c('b-col',{attrs:{\"cols\":\"2\"}},[_c('b-button',{style:({\n backgroundColor: _vm.coloreFooterBottoni,\n borderColor: _vm.coloreBordoBottoni,\n color: _vm.coloreTestoBottoni\n }),on:{\"click\":_vm.SalvaSulServer}},[_vm._v(_vm._s(\"Save\")+\"\\n \")])],1)],1),_c('br'),_c('b-row',[_c('b-col',[(_vm.currentTableName != '')?_c('span',{staticClass:\"mt-3\"},[_vm._v(\"Active table --> \"),_c('b',[_vm._v(_vm._s(_vm.currentTableName))]),(_vm.rows > 30)?_c('p',[_vm._v(\"Current Page: \"+_vm._s(_vm.currentPage))]):_vm._e()]):_vm._e()])],1),_c('br'),_c('b-row',[_c('b-col',[_c('b-table',{staticClass:\"table table-striped\",staticStyle:{\"max-height\":\"calc(100vh - 19rem)\"},attrs:{\"id\":\"my-table\",\"busy\":_vm.isBusy,\"small\":\"\",\"selectable\":\"\",\"select-mode\":\"single\",\"striped\":\"\",\"hover\":\"\",\"items\":_vm.items,\"fields\":_vm.fields,\"per-page\":_vm.perPage,\"current-page\":_vm.currentPage,\"sticky-header\":\"\"},scopedSlots:_vm._u([{key:\"table-busy\",fn:function(){return [_c('div',{staticClass:\"text-center text-danger my-2\"},[_c('b-spinner',{staticClass:\"align-middle\"}),_c('strong',[_vm._v(\"Loading...\")])],1)]},proxy:true},{key:_vm.gomycell(_vm.propKey),fn:function(row){return [_vm._v(\"\\n \"+_vm._s(_vm.showKey(row.item[_vm.propKey]))+\"\\n \")]}},_vm._l((_vm.booleanFields),function(b){return {key:_vm.gomycell(b),fn:function(row){return [(row.item[b] == true || row.item[b] == 'true')?_c('div',{key:b},[_c('i',{staticClass:\"fa fa-check-circle\"})]):_vm._e()]}}}),{key:\"cell(modify)\",fn:function(row){return [_c('b-button',{staticClass:\"fa fa-pencil\",attrs:{\"size\":\"sm\"},on:{\"click\":function($event){return _vm.editData(row.item, row.index, $event.target)}}})]}},{key:\"cell(delete)\",fn:function(row){return [_c('b-button',{staticClass:\"fa fa-trash\",attrs:{\"size\":\"sm\"},on:{\"click\":function($event){return _vm.deleteRow(row.item, row.index, $event.target)}}})]}}],null,true)})],1)],1),_c('b-row',[_c('b-col',[(_vm.currentTableName != '' && _vm.rows > 30)?_c('b-pagination',{attrs:{\"total-rows\":_vm.rows,\"per-page\":_vm.perPage,\"aria-controls\":\"my-table\",\"limit\":\"10\"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}}):_vm._e()],1)],1)],1)],1),_c('b-modal',{attrs:{\"title\":_vm.infoModal.title},on:{\"hide\":_vm.resetInfoModal,\"ok\":function($event){return _vm.addElement()}},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:\"modalShow\"}},[_c('b-container',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.modalShow),expression:\"modalShow\"}],attrs:{\"fluid\":\"\"}},_vm._l((_vm.infoModal.prop),function(prop){return _c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.infoModal.propShowHide[prop]),expression:\"infoModal.propShowHide[prop]\"}],key:prop,staticClass:\"my-1\"},[_c('b-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(prop != _vm.propKey),expression:\"prop != propKey\"}]},[(_vm.infoModal.propType[prop] == 'bool')?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"3\"}},[_c('label',{attrs:{\"for\":`type-${prop}`}},[_vm._v(_vm._s(prop)+\":\")])]),_c('b-col',{attrs:{\"sm\":\"9\"}},[_c('b-form-checkbox',{attrs:{\"value\":\"true\",\"unchecked-value\":\"false\"},model:{value:(_vm.infoModal.riga[prop]),callback:function ($$v) {_vm.$set(_vm.infoModal.riga, prop, $$v)},expression:\"infoModal.riga[prop]\"}})],1)],1):_vm._e(),(_vm.infoModal.propType[prop] == 'testo')?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"3\"}},[_c('label',{attrs:{\"for\":`type-${prop}`}},[_vm._v(_vm._s(prop)+\":\")])]),_c('b-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.modalShow),expression:\"modalShow\"}],attrs:{\"sm\":\"9\"}},[_c('b-form-input',{attrs:{\"id\":`type-${prop}`},model:{value:(_vm.infoModal.riga[prop]),callback:function ($$v) {_vm.$set(_vm.infoModal.riga, prop, $$v)},expression:\"infoModal.riga[prop]\"}})],1)],1):_vm._e()],1)],1)}),1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SAMView.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SAMView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SAMView.vue?vue&type=template&id=5d538bb8&\"\nimport script from \"./SAMView.vue?vue&type=script&lang=js&\"\nexport * from \"./SAMView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SAMView.vue?vue&type=style&index=0&id=5d538bb8&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SAMView.vue?vue&type=style&index=0&id=5d538bb8&prod&lang=scss&\""],"sourceRoot":""}