{"version":3,"sources":["webpack:///./src/services/modules/admin/Company.service.js","webpack:///./src/views/modules/admin/PrinterForm.vue?dfcc","webpack:///./src/services/modules/general/TypePrinter.service.js","webpack:///src/views/modules/admin/PrinterForm.vue","webpack:///./src/views/modules/admin/PrinterForm.vue?2561","webpack:///./src/views/modules/admin/PrinterForm.vue"],"names":["path","companyService","params","http","list","companyId","get","URLSearchParams","set","render","_vm","this","_h","$createElement","_c","_self","attrs","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","on","onSubmit","model","value","form","callback","$$v","$set","expression","groupTypePrinterOptions","error","_v","printerAllCompanies","_e","companyOptions","staticClass","staticRenderFns","service","mixins","pageDefaultMixin","data","genKey","fieldKey","printerId","typePrinterId","printerDefault","note","methods","mountedPrepare","component"],"mappings":"oMAGMA,EAAO,gBAEPC,E,gGAEF,SAAWC,GACP,OAAOC,OAAKC,KAAKJ,EAAO,cAAcE,K,uBAG1C,SAAUG,GACN,OAAOF,OAAKG,IAAIN,EAAO,WAAaK,K,6BAGxC,WACI,IAAIH,EAAS,IAAIK,gBAEjB,OADAL,EAAOM,IAAI,SAAU,KACdL,OAAKC,KAAKJ,EAAO,aAAaE,O,KAO9B,WAAID,G,2CCzBnB,IAAIQ,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACA,EAAG,cAAc,CAACE,MAAM,CAAC,KAAO,GAAG,cAAcN,EAAIO,YAAYC,cAAc,MAAQR,EAAIS,EAAE,WAAWT,EAAIO,YAAYG,UAAU,QAAUV,EAAIW,QAAQ,OAASX,EAAIY,OAAO,cAAgBZ,EAAIa,cAAc,qBAAqBb,EAAIc,qBAAqB,gBAAgBd,EAAIS,EAAE,gBAAgB,aAAaT,EAAIO,YAAYQ,KAAK,MAAQf,EAAIgB,kBAAkBC,GAAG,CAAC,SAAWjB,EAAIkB,WAAW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EAAX,aACErB,KAAM,cACNsB,KAHF,WAII,MAAO,CACL/C,KAAM,GACNgD,QAAQ,EACRC,SAAU,YACVlB,KAAM,CACJmB,UAAW,EACXC,cAAe,EACf9C,UAAW,EACX+C,gBAAgB,EAChBb,qBAAqB,EACrBd,KAAM,GACNzB,KAAM,GACNqD,KAAM,GACN/B,OAAQ,GAEVe,MAAO,CACLZ,KAAM,GACNpB,UAAW,IAIb+B,wBAAyB,GACzBK,eAAgB,KAIpBa,QAAS,CAEPC,eAFJ,aAMI,iBANJ,WAMA,wKAGA,0CACA,+BACA,gDALA,uBAQA,wCACA,sBACA,gDAVA,OAYA,sBAZA,8CAeI,SArBJ,WAqBA,wKAEA,sBAFA,+CAYE,QA/DF,WA+DA,+JAEA,mBAFA,SAIA,qBAJA,uBAMA,qBANA,+CCjImX,I,YCO/WC,EAAY,eACd,EACA/C,EACAkC,GACA,EACA,KACA,KACA,MAIa,aAAAa,E","file":"js/chunk-3da0a3a2.40bf588d.js","sourcesContent":["import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"admin/company\"\r\n\r\nclass companyService {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n getResume(companyId) {\r\n return http.get(path + '/resume/' + companyId);\r\n }\r\n\r\n getAllCompanies() {\r\n let params = new URLSearchParams()\r\n params.set(\"status\", \"1\")\r\n return http.list(path + \"/selectAll\",params);\r\n }\r\n\r\n\r\n\r\n}\r\n\r\nexport default new companyService();\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('t-page-form',{attrs:{\"card\":\"\",\"submit-text\":_vm.currentPage.singularTitle,\"title\":_vm.t('form-of')+_vm.currentPage.pageTitle,\"command\":_vm.command,\"status\":_vm.status,\"generalErrors\":_vm.generalErrors,\"check-errors-again\":_vm.checkErrorsComponent,\"go-back-title\":_vm.t('go-back-list'),\"go-back-to\":_vm.currentPage.name,\"busy\":!_vm.pageFormIsLoaded},on:{\"onSubmit\":_vm.onSubmit}},[_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.printerId),callback:function ($$v) {_vm.$set(_vm.form, \"printerId\", $$v)},expression:\"form.printerId\"}}),_c('t-input',{attrs:{\"options\":_vm.groupTypePrinterOptions,\"label\":\"Modelo de Impressora\",\"required\":\"\",\"select\":\"\",\"help\":\"Somente modelos homologados estão disponíveis, caso desejar outros modelos será necessário homologação a parte de outros fabricantes e modelos.\"},model:{value:(_vm.form.typePrinterId),callback:function ($$v) {_vm.$set(_vm.form, \"typePrinterId\", $$v)},expression:\"form.typePrinterId\"}}),_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Nome\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}}),_c('t-input',{attrs:{\"label\":\"Caminho de Instalação\",\"help\":\"Caminho de Rede da instalação com nome da impressora instalada\",\"required\":\"\"},model:{value:(_vm.form.path),callback:function ($$v) {_vm.$set(_vm.form, \"path\", $$v)},expression:\"form.path\"}}),_c('t-input',{attrs:{\"label\":\"Observações\",\"max-length\":\"500\",\"textarea\":\"\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}}),_c('t-form-card',{attrs:{\"unshaded\":\"\",\"title\":\"Configurações\"}},[_c('b-form-checkbox',{attrs:{\"switch\":\"\"},model:{value:(_vm.form.printerDefault),callback:function ($$v) {_vm.$set(_vm.form, \"printerDefault\", $$v)},expression:\"form.printerDefault\"}},[_vm._v(\" Impressora padrão? \"),_c('t-help',{attrs:{\"title\":\"Marque caso desejar tornar esta impressora padrão.\"}})],1),_c('b-form-checkbox',{attrs:{\"switch\":\"\"},model:{value:(_vm.form.printerAllCompanies),callback:function ($$v) {_vm.$set(_vm.form, \"printerAllCompanies\", $$v)},expression:\"form.printerAllCompanies\"}},[_vm._v(\" Habilitar impressão para todas as empresas relacionadas? \"),_c('t-help',{attrs:{\"title\":\"Desmarque esta opção, somente se desejar especificar que esta impressora esteja disponível para uma determinada empresa.\"}})],1),(!_vm.form.printerAllCompanies)?_c('t-input',{attrs:{\"add-error\":_vm.error.companyId,\"placeholder\":\"Especifique uma empresa\",\"options\":_vm.companyOptions,\"required\":\"\",\"label\":\"Empresa\",\"hide-label\":\"\",\"select\":\"\"},model:{value:(_vm.form.companyId),callback:function ($$v) {_vm.$set(_vm.form, \"companyId\", $$v)},expression:\"form.companyId\"}}):_vm._e(),(_vm.command !== 'insert')?_c('t-input',{staticClass:\"mt-3\",attrs:{\"textarea\":\"\",\"fixed\":\"\",\"label\":\"Token para Instação\"},model:{value:(_vm.form.token),callback:function ($$v) {_vm.$set(_vm.form, \"token\", $$v)},expression:\"form.token\"}}):_vm._e()],1),_c('t-input-status',{model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"general/type-printer\"\r\n\r\nclass service {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","\n\n \n\n \n\n \n\n\n \n\n \n\n \n\n\n \n\n\n \n \n Impressora padrão?\n \n \n\n \n Habilitar impressão para todas as empresas relacionadas?\n \n \n\n \n\n \n\n \n\n\n\n\n \n\n \n\n \n\n\n\n\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!./PrinterForm.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!./PrinterForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PrinterForm.vue?vue&type=template&id=46575c76&\"\nimport script from \"./PrinterForm.vue?vue&type=script&lang=js&\"\nexport * from \"./PrinterForm.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":""}