{"version":3,"sources":["webpack:///./src/views/Servico.vue?7036","webpack:///./src/views/ServicoContr.vue?271e","webpack:///src/views/ServicoContr.vue","webpack:///./src/views/ServicoContr.vue?7d4c","webpack:///./src/views/ServicoContr.vue","webpack:///src/views/Servico.vue","webpack:///./src/views/Servico.vue?3c5d","webpack:///./src/views/Servico.vue","webpack:///./src/services/tributario/contribuinte.servico.service.js","webpack:///./src/services/tributario/servicos.service.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","on","$event","preventDefault","handleSave","teste","_m","staticRenderFns","_v","servicos","test","model","value","callback","$$v","selectedServico","expression","name","props","data","created","console","log","event","$emit","component","components","ServicoContr","filters","methods","API_URL","ContribuinteServicoService","idCliente","LoginService","currentUser","subscribe","headers","token","idContribuinte","axios","get","filtro","currentUserValue","usuario","then","response","elements","ServicosService"],"mappings":"gHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAMA,EAAG,OAAO,CAACG,MAAM,CAAC,KAAO,QAAQC,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBV,EAAIW,WAAWF,MAAW,CAACL,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQP,EAAIY,OAAOJ,GAAG,CAAC,eAAe,SAASC,GAAQT,EAAIY,MAAMH,MAAWT,EAAIa,GAAG,IAAI,MACnXC,EAAkB,CAAC,WAAa,IAAId,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,YAAY,6BAA6B,CAACF,EAAG,OAAO,CAACJ,EAAIe,GAAG,gB,YCD/K,EAAS,WAAa,IAAIf,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAA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sC,UAAU,mBAAmBM,EAAgB,CAACF,QAAS1C,KAAK0C,UAAUQ,MAAK,SAAAC,GAAQ,OAAK,EAAK1B,KAAO0B,EAAS1B,U,0DAGxJsB,EAAQH,GAAgB,WACxD,OAAOC,IAAMC,IAAIV,EAAU,yBAAyBQ,EAAe,WAAWG,EAAQ,CAACL,QAAS1C,KAAK0C,UAAUQ,MAAK,SAAAC,GAAQ,OAAK,EAAK1B,KAAO0B,EAAS1B,KAAK2B,gB,KAKpJ,WAAIf,G,+FC5BbD,EAAyC,2BAEzCiB,E,WACF,aAAc,kCACVd,OAAaC,YAAYC,WAAU,SAAAhB,GAC/B,EAAKiB,QAAU,CACX,eAAe,mBACf,cAAgB,WAAajB,EAAOA,EAAKkB,MAAM,Q,+DAK3CL,GACZ,OAAOO,IAAMC,IAAIV,EAAU,iBAAiBE,EAAW,CAACI,QAAS1C,KAAK0C,Y,6CAGnDK,EAAQT,GAAW,WACtC,OAAOO,IAAMC,IAAIV,EAAU,iBAAiBW,EAAO,cAAcT,EAAW,CAACI,QAAS1C,KAAK0C,UAAUQ,MAAK,SAAAC,GAAQ,OAAK,EAAK1B,KAAO0B,EAAS1B,Y,KAIrI,WAAI4B","file":"js/servico.b298fe07.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[_c('hr'),_c('form',{attrs:{\"name\":\"form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.handleSave($event)}}},[_c('ServicoContr',{attrs:{\"teste\":_vm.teste},on:{\"update:teste\":function($event){_vm.teste=$event}}}),_vm._m(0)],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"btn btn-primary btn-block\"},[_c('span',[_vm._v(\"Gravar\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Dropdown',{attrs:{\"options\":_vm.servicos,\"optionLabel\":\"idServico.detail\",\"placeholder\":\"Selecione um Serviço\"},on:{\"change\":function($event){return _vm.test($event)}},model:{value:(_vm.selectedServico),callback:function ($$v) {_vm.selectedServico=$$v},expression:\"selectedServico\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./ServicoContr.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!./ServicoContr.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ServicoContr.vue?vue&type=template&id=50ad95ce&scoped=true&\"\nimport script from \"./ServicoContr.vue?vue&type=script&lang=js&\"\nexport * from \"./ServicoContr.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 \"50ad95ce\",\n null\n \n)\n\nexport default component.exports","\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!./Servico.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!./Servico.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Servico.vue?vue&type=template&id=c3a93f6c&\"\nimport script from \"./Servico.vue?vue&type=script&lang=js&\"\nexport * from \"./Servico.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","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service';\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/tributario/contribuinteservico/';\r\n\r\nclass ContribuinteServicoService {\r\n constructor() {\r\n this.idCliente = null;\r\n LoginService.currentUser.subscribe(data => {\r\n this.headers = {\r\n 'Content-Type':'application/json',\r\n 'authorization':'Bearer ' + (data ? data.token:'')\r\n };\r\n });\r\n }\r\n\r\n findAllServicos(idContribuinte) {\r\n return axios.get(API_URL + 'all?idContribuinte='+idContribuinte, {headers: this.headers});\r\n }\r\n\r\n findAllNfAvulsa(filtro, idContribuinte) {\r\n this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n return axios.get(API_URL + 'allNfAvulsa?filtro='+filtro+'&idCliente='+this.idCliente+'&idContribuinte='+idContribuinte, {headers: this.headers}).then(response => (this.data = response.data));\r\n }\r\n\r\n findAllServicosByContribuinteFiltro(filtro, idContribuinte) {\r\n return axios.get(API_URL + 'filter?idContribuinte='+idContribuinte+'&filtro='+filtro, {headers: this.headers}).then(response => (this.data = response.data.elements));\r\n }\r\n \r\n}\r\n\r\nexport default new ContribuinteServicoService();","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service';\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/tributario/servico/';\r\n\r\nclass ServicosService {\r\n constructor() {\r\n LoginService.currentUser.subscribe(data => {\r\n this.headers = {\r\n 'Content-Type':'application/json',\r\n 'authorization':'Bearer ' + (data ? data.token:'')\r\n };\r\n });\r\n }\r\n\r\n findAllServicos(idCliente) {\r\n return axios.get(API_URL + 'all?idCliente='+idCliente, {headers: this.headers});\r\n }\r\n\r\n findAllByClienteFiltro(filtro, idCliente) {\r\n return axios.get(API_URL + 'filter?filtro='+filtro+'&idCliente='+idCliente, {headers: this.headers}).then(response => (this.data = response.data));\r\n }\r\n}\r\n\r\nexport default new ServicosService();"],"sourceRoot":""}