{"version":3,"sources":["webpack:///./src/router/apiFiles/deviceApi.js","webpack:///./src/router/apiFiles/customerApi.js","webpack:///./src/components/information.vue?bbc3","webpack:///src/components/information.vue","webpack:///./src/components/information.vue?0988","webpack:///./src/components/information.vue","webpack:///./src/router/views/pages/devices/importDevices.vue?5c44","webpack:///src/router/views/pages/devices/importDevices.vue","webpack:///./src/router/views/pages/devices/importDevices.vue?822d","webpack:///./src/router/views/pages/devices/importDevices.vue"],"names":["deviceApi","searchDevices","search","page","perPage","customerId","axios","get","then","response","data","getDevicesReport","responseType","fileURL","window","URL","createObjectURL","Blob","fileLink","document","createElement","href","setAttribute","body","appendChild","click","getDevice","id","getDeviceComplete","updateDevice","chassis","note","groupId","put","createDevice","modemId","modelId","post","createDeviceBulk","ids","updateDeviceBulk","installDeviceBulk","devices","searchDeviceModels","searchTelemetry","deviceId","start","end","getPlanActivationStatus","activateDevicePlan","searchDeviceGroups","createDeviceGroup","name","description","endpoint","endpointToken","updateDeviceGroup","getDeviceGroup","countMessages","modemIdentifier","customerApi","searchCustomers","createCustomer","corporateName","tradeName","alertEmail","techEmail","techManager","techPhone","updateCustomer","getCustomer","render","_vm","this","_h","$createElement","_c","_self","ref","attrs","scopedSlots","_u","key","fn","on","$event","ok","_v","proxy","model","value","callback","$$v","showDialog","expression","_s","informationtext","staticRenderFns","props","type","default","methods","component","title","items","staticClass","directives","rawName","staticStyle","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","_l","customer","domProps","deviceModelId","Boolean","file1","importFile","showInformation","meta","content","components","Layout","PageHeader","Information","tableData","isBusy","text","active","customers","deviceModels","toInsert","mounted","console","self","fr","lines","confirmImport"],"mappings":"kHAAA,2DAEO,MAAMA,EAAY,CAErBC,eAAc,OAAEC,EAAF,KAAUC,EAAV,QAAgBC,EAAhB,WAAyBC,GAAe,IAClD,OAAOC,IACFC,IAAI,yBAA2BL,EAAS,eAAgBG,EAAY,SAAWF,EAAO,YAAcC,GACpGI,KAAMC,G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eACA,uBACAgB,wBACAA,6BACA,qBACAE,qBACA,sBACA,gBACAD,kBAEAC,mCAGA,qBACA,eACA,WACAD,cACAE,kBACA,6BACA,0CACAF,sBAGA,eACA,sBAEAG,gBACA,WACA,qBACApJ,yBAAAuC,eAAAH,wBAAA/B,0BACAG,MAAA,YACAyI,2BCjGoY,I,YCOhY3C,EAAY,eACd,EACA/B,EACA0B,GACA,EACA,KACA,KACA,MAIa,aAAAK,E","file":"js/chunk-cc8c3b8c.b3d07e87.js","sourcesContent":["import axios from 'axios'\r\n\r\nexport const deviceApi = {\r\n\r\n searchDevices({ search, page, perPage, customerId } = {}) {\r\n return axios\r\n .get('/device/search?search=' + search + '&customerId='+ customerId +'&page=' + page + '&perPage=' + perPage)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n getDevicesReport() {\r\n return axios\r\n .get('/device/exportdevicesexcel', {\r\n responseType: 'blob'\r\n })\r\n .then((response) => {\r\n var fileURL = window.URL.createObjectURL(new Blob([response.data]));\r\n var fileLink = document.createElement('a');\r\n\r\n fileLink.href = fileURL;\r\n fileLink.setAttribute('download', 'Devices report.xlsx');\r\n document.body.appendChild(fileLink);\r\n\r\n fileLink.click();\r\n\r\n return true;\r\n })\r\n },\r\n\r\n getDevice({ id } = {}) {\r\n return axios\r\n .get('/device/get?id=' + id)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n getDeviceComplete({ id } = {}) {\r\n return axios\r\n .get('/device/GetWithLastMessages?id=' + id)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n updateDevice({ id, chassis, note, groupId } = {}) {\r\n return axios\r\n .put('/device/update', { id, chassis, note, groupId }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n createDevice({ modemId, modelId, customerId } = {}) {\r\n return axios\r\n .post('/device/createdevice', { id: modemId, modelId, customerId }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n createDeviceBulk({ ids, modelId, customerId } = {}) {\r\n return axios\r\n .post('/device/createdevicebulk', { ids, modelId, customerId }, {})\r\n .then((response) => {\r\n return true;\r\n })\r\n },\r\n\r\n updateDeviceBulk({ ids, customerId } = {}) {\r\n return axios\r\n .put('/device/updatedevicebulk', { ids, customerId }, {})\r\n .then((response) => {\r\n return true;\r\n })\r\n },\r\n\r\n installDeviceBulk({ devices } = {}) {\r\n return axios\r\n .put('/device/installdevicebulk', { devices }, {})\r\n .then((response) => {\r\n return true;\r\n })\r\n },\r\n\r\n searchDeviceModels({ search, page, perPage } = {}) {\r\n return axios\r\n .get('/device/searchdevicemodels?search=' + search + '&page=' + page + '&perPage=' + perPage)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n searchTelemetry({ deviceId, page, perPage, start, end } = {}) {\r\n return axios\r\n .get('/device/searchtelemetry?deviceId=' + deviceId + '&page=' + page + '&perPage=' + perPage + '&start=' + start + '&end=' + end)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n getPlanActivationStatus({ deviceId } = {}) {\r\n return axios\r\n .get('/plan/getactivation?deviceId=' + deviceId)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n activateDevicePlan({ deviceId } = {}) {\r\n return axios\r\n .post('/plan/activateplan', { deviceId }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n searchDeviceGroups({ search, customerId, page, perPage }) {\r\n return axios\r\n .get(`/device/searchdevicegroups?search=${search}&customerId=${customerId}&page=${page}&perPage=${perPage}`)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n createDeviceGroup({ name, description, endpoint, endpointToken, customerId } = {}) {\r\n customerId = customerId == '' ? null : customerId\r\n return axios\r\n .post('/device/creategroup', { name, description, endpoint, endpointToken, customerId }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n updateDeviceGroup({ id, name, description, endpoint, endpointToken } = {}) {\r\n return axios\r\n .put('/device/updategroup', { id, name, description, endpoint, endpointToken }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\r\n getDeviceGroup({ id } = {}) {\r\n return axios\r\n .get('/device/GetDeviceGroup?id=' + id)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\t\r\n countMessages({ modemIdentifier, page, perPage, start, end } = {}) {\r\n return axios\r\n .get('/device/countmessages?modemIdentifier=' + modemIdentifier + '&page=' + page + '&perPage=' + perPage + '&start=' + start + '&end=' + end)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\t\r\n\r\n}\r\n","import axios from 'axios'\r\n\r\nexport const customerApi = {\r\n\r\n searchCustomers({ search, page, perPage } = {}) {\r\n return axios\r\n .get('/customer/search?search=' + search + '&page=' + page + '&perPage=' + perPage)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\t\r\n createCustomer({ name, document, corporateName, tradeName, note, alertEmail, techEmail, techManager, techPhone } = {}) {\r\n return axios\r\n .post('/customer/createcustomer', { name, document, corporateName, tradeName, note, alertEmail, techEmail, techManager, techPhone }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\r\n\t\r\n updateCustomer({ id, name, document, corporateName, tradeName, note, alertEmail, techEmail, techManager, techPhone } = {}) {\r\n return axios\r\n .put('/customer/update', { id, name, document, corporateName, tradeName, note, alertEmail, techEmail, techManager, techPhone }, {})\r\n .then((response) => {\r\n return response.data\r\n })\r\n }, \t\t\r\n\t\r\n getCustomer({ id } = {}) {\r\n return axios\r\n .get('/customer?id=' + id)\r\n .then((response) => {\r\n return response.data\r\n })\r\n },\t\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{ref:\"information-modal\",attrs:{\"centered\":\"\",\"title\":\"Informação\",\"title-class\":\"font-18\"},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.ok()}}},[_vm._v(\"Ok\")])]},proxy:true}]),model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}},[_c('h5',[_vm._v(_vm._s(_vm.informationtext))])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./information.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!./information.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./information.vue?vue&type=template&id=563afec7&\"\nimport script from \"./information.vue?vue&type=script&lang=js&\"\nexport * from \"./information.vue?vue&type=script&lang=js&\"\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('Layout',[_c('PageHeader',{attrs:{\"title\":_vm.title,\"items\":_vm.items}}),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"text-muted font-13 mb-4\"}),_c('div',{staticClass:\"row mb-md-2\"},[_c('div',{staticClass:\"col-sm-6 col-md-4\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Customer\")]),_c('div',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customerId),expression:\"customerId\"}],staticClass:\"form-control\",staticStyle:{\"max-width\":\"100%\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.customerId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.customers),function(customer){return _c('option',{key:customer.id,domProps:{\"value\":customer.id}},[_vm._v(_vm._s(customer.name))])}),0)])])]),_c('div',{staticClass:\"col-sm-6 col-md-4\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Model\")]),_c('div',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.deviceModelId),expression:\"deviceModelId\"}],staticClass:\"form-control\",staticStyle:{\"max-width\":\"100%\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.deviceModelId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.deviceModels),function(model){return _c('option',{key:model.id,domProps:{\"value\":model.id}},[_vm._v(_vm._s(model.name))])}),0)])])]),_c('div',{staticClass:\"col-sm-6 col-md-4\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"File\")]),_c('b-form-file',{attrs:{\"accept\":\".txt\",\"state\":Boolean(_vm.file1),\"placeholder\":\"Choose a file or drop it here\",\"drop-placeholder\":\"Drop a file here\"},model:{value:(_vm.file1),callback:function ($$v) {_vm.file1=$$v},expression:\"file1\"}})],1)]),_c('div',{staticClass:\"col-sm-6 col-md-4\"},[_c('div',{staticClass:\"form-group\"},[_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.importFile()}}},[_vm._v(\"Submit file\")])],1)])])])])])]),_c('information',{attrs:{\"informationtext\":\"File imported!\",\"showDialog\":_vm.showInformation},on:{\"ok\":function($event){_vm.showInformation=false}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","v\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!./importDevices.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!./importDevices.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./importDevices.vue?vue&type=template&id=5279248d&\"\nimport script from \"./importDevices.vue?vue&type=script&lang=js&\"\nexport * from \"./importDevices.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}