{"version":3,"sources":["webpack:///./src/views/modules/admin/CompanyForm.vue?cca1","webpack:///src/views/modules/admin/CompanyForm.vue","webpack:///./src/views/modules/admin/CompanyForm.vue?28c0","webpack:///./src/views/modules/admin/CompanyForm.vue","webpack:///./src/views/embed/general/e-person.vue?c2af","webpack:///src/views/embed/general/e-person.vue","webpack:///./src/views/embed/general/e-person.vue?42a6","webpack:///./src/views/embed/general/e-person.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","on","onSubmit","scopedSlots","_u","key","fn","ref","model","value","form","callback","$$v","$set","expression","person","error_person","getEmbedCNPJApi","address","getEmbedAddressApi","proxy","_v","staticClass","customToolbar","isUpdate","isView","directives","rawName","showToken","$event","copyToClipboard","token","changeToken","_e","staticRenderFns","mixins","pageDefaultMixin","components","data","path","genKey","fieldKey","companyId","companyNumber","typePerson","shortName","companyName","federalTaxpayer","otherPersonalDocument","provinceTaxpayer","provinceTaxpayerExempted","defaultInvoiceTax","defaultCompanyExpense","defaultOtherExpense","cityTaxpayer","country","zipcode","street","number","complement","neighborhood","provinceAbbreviation","cityId","site","email","phone","whatsapp","linkedin","instagram","youtube","facebook","note","reportHeaderContentFirstPage","reportHeaderContentOtherPage","error","methods","mountedPrepare","component","onlyCompany","typePersonOptions","_t","notRequired","setPersonAndAddress","isCompany","nameRequired","props","type","String","required","Boolean","default","addressRelationName","Object","computed","$emit","cnpjAPI"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACA,EAAG,cAAc,CAACE,MAAM,CAAC,cAAc,GAAG,cAAcN,EAAIO,YAAYC,cAAc,MAAQR,EAAIS,EAAE,WAAWT,EAAIO,YAAYG,UAAU,QAAUV,EAAIW,QAAQ,OAASX,EAAIY,OAAO,cAAg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G,QACNC,SAAS,GAEXN,aAAc,CACZE,KAAMG,QACNC,SAAS,GAEX/F,QAAS,CACP2F,KAAMC,OACNC,UAAU,GAEZzF,KAAM,CACJuF,KAAMC,OACNG,QAAS,UAEXC,oBAAqB,CACnBL,KAAMC,OACNG,QAAS,WAEX3E,OAAQ,CACNuE,KAAMM,OACNF,QAAS,MAEXhB,MAAO,CACLY,KAAMM,QAERd,YAAaW,SAEfI,SAAU,CACRV,UADJ,WAEM,OAAOlG,KAAK8B,QAAqC,IAA3B9B,KAAK8B,OAAO6B,aAGtC+B,QAAS,CAEPO,oBAFJ,SAEA,GAEMjG,KAAK6G,MAAM,SAAU7G,KAAKc,KAAMd,KAAK0G,oBAAqBI,KAK9D,QAvDF,WAuDA,wJAGA,iCACA,uBAJA,gDClIgX,I,YCO5WlB,EAAY,eACd,EACA9F,EACAmD,GACA,EACA,KACA,KACA,MAIa,OAAA2C,E","file":"js/chunk-be2d5bd4.e88d61db.js","sourcesContent":["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:{\"multi-cards\":\"\",\"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},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar status = ref.status;\nreturn [_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.companyId),callback:function ($$v) {_vm.$set(_vm.form, \"companyId\", $$v)},expression:\"form.companyId\"}}),_c('t-form-card',{attrs:{\"title\":\"Dados Básicos\"}},[_c('e-person',{attrs:{\"person\":_vm.form.person,\"command\":_vm.command,\"not-required\":\"\",\"error\":_vm.error_person,\"status\":status},on:{\"getApi\":_vm.getEmbedCNPJApi}}),_c('e-address',{attrs:{\"address\":_vm.form.address,\"command\":_vm.command,\"not-required\":\"\",\"status\":status},on:{\"getApi\":_vm.getEmbedAddressApi}}),_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-input-status',{model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})],1),_c('t-form-card',{attrs:{\"title\":\"Dados de Contato\"}},[_c('b-row',[_c('t-input',{attrs:{\"cols\":\"4\",\"class-icon-group\":\"icon-mail-colored\",\"url\":\"\",\"label\":\"Site\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-link')]},proxy:true}],null,true),model:{value:(_vm.form.site),callback:function ($$v) {_vm.$set(_vm.form, \"site\", $$v)},expression:\"form.site\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"class-icon-group\":\"icon-mail-colored\",\"email-multiple\":\"\",\"label\":\"E-mail\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-envelope')]},proxy:true}],null,true),model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"class-icon-group\":\"icon-mail-colored\",\"tel\":\"\",\"label\":\"Telefone fixo\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-telephone')]},proxy:true}],null,true),model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('b-row',[_c('t-input',{attrs:{\"cols\":\"3\",\"small\":\"WhatsApp principal da empresa\",\"class-icon-group\":\"icon-whatsapp-colored\",\"tel\":\"\",\"label\":\"WhatsApp\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-whatsapp')]},proxy:true}],null,true),model:{value:(_vm.form.whatsapp),callback:function ($$v) {_vm.$set(_vm.form, \"whatsapp\", $$v)},expression:\"form.whatsapp\"}}),_c('t-input',{attrs:{\"small\":\"Insira o link completo do seu perfil\",\"cols\":\"3\",\"class-icon-group\":\"icon-mail-colored\",\"label\":\"Instagram\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-instagram')]},proxy:true}],null,true),model:{value:(_vm.form.instagram),callback:function ($$v) {_vm.$set(_vm.form, \"instagram\", $$v)},expression:\"form.instagram\"}}),_c('t-input',{attrs:{\"small\":\"Insira o link completo do seu canal\",\"cols\":\"3\",\"class-icon-group\":\"icon-mail-colored\",\"label\":\"Youtube\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-youtube')]},proxy:true}],null,true),model:{value:(_vm.form.youtube),callback:function ($$v) {_vm.$set(_vm.form, \"youtube\", $$v)},expression:\"form.youtube\"}}),_c('t-input',{attrs:{\"small\":\"Insira o link completo do seu perfil\",\"cols\":\"3\",\"class-icon-group\":\"icon-mail-colored\",\"label\":\"LinkedIn\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-linkedin')]},proxy:true}],null,true),model:{value:(_vm.form.linkedin),callback:function ($$v) {_vm.$set(_vm.form, \"linkedin\", $$v)},expression:\"form.linkedin\"}})],1)],1),_c('t-form-card',{attrs:{\"title\":\"Cabeçalho de Relatórios\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('label',[_vm._v(\"Cabeçalho - Primeira Página\")]),_c('vue-editor',{ref:\"editorComment\",staticClass:\"editorSmall\",attrs:{\"id\":\"editor-sm1\",\"editor-toolbar\":_vm.customToolbar,\"disabled\":status === 'sending'},model:{value:(_vm.form.reportHeaderContentFirstPage),callback:function ($$v) {_vm.$set(_vm.form, \"reportHeaderContentFirstPage\", $$v)},expression:\"form.reportHeaderContentFirstPage\"}})],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('label',[_vm._v(\"Cabeçalho - Demais Páginas\")]),_c('vue-editor',{ref:\"editorComment\",staticClass:\"editorSmall\",attrs:{\"id\":\"editor-sm2\",\"editor-toolbar\":_vm.customToolbar,\"disabled\":status === 'sending'},model:{value:(_vm.form.reportHeaderContentOtherPage),callback:function ($$v) {_vm.$set(_vm.form, \"reportHeaderContentOtherPage\", $$v)},expression:\"form.reportHeaderContentOtherPage\"}})],1)],1)],1),_c('t-form-card',{attrs:{\"title\":\"Informações para Orçamentos\"}},[_c('b-row',[_c('t-input',{attrs:{\"cols\":\"4\",\"percent\":\"\",\"label\":\"Impostos (%)\",\"help\":\"Utilizado quando desejar indicar o percentual de impostos padrão por item no orçamento, quando utilizado irá inserir o percentual como padrão nos itens do orçamento, porém poderá ser alterado, sendo somente um percentual padrão.\"},model:{value:(_vm.form.defaultInvoiceTax),callback:function ($$v) {_vm.$set(_vm.form, \"defaultInvoiceTax\", $$v)},expression:\"form.defaultInvoiceTax\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"percent\":\"\",\"label\":\"Outros (%)\",\"help\":\"Utilizado geralmente como Royalties, quando utilizado irá inserir o percentual como padrão nos itens do orçamento, porém poderá ser alterado, sendo somente um percentual padrão.\"},model:{value:(_vm.form.defaultCompanyExpense),callback:function ($$v) {_vm.$set(_vm.form, \"defaultCompanyExpense\", $$v)},expression:\"form.defaultCompanyExpense\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"percent\":\"\",\"label\":\"Despesas Indiretas (BDI) (%)\",\"help\":\"Utilizado geralmente como BDI ou lucro mínimo, quando utilizado irá inserir o percentual como padrão nos itens do orçamento, porém poderá ser alterado, sendo somente um percentual padrão.\"},model:{value:(_vm.form.defaultOtherExpense),callback:function ($$v) {_vm.$set(_vm.form, \"defaultOtherExpense\", $$v)},expression:\"form.defaultOtherExpense\"}})],1)],1),(_vm.isUpdate() || _vm.isView())?_c('t-form-card',{attrs:{\"title\":\"Integrações\"}},[_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showToken),expression:\"!showToken\"}],on:{\"click\":function($event){_vm.showToken = !_vm.showToken}}},[_vm._v(\"Exibir Token de Integração\")]),_c('div',[_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showToken),expression:\"showToken\"}],on:{\"click\":function($event){return _vm.copyToClipboard(_vm.form.token,'companyTokenInput')}}},[_c('b-icon-clipboard',{staticClass:\"mr-2\"}),_vm._v(\" Copiar dados \")],1),_c('t-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showToken),expression:\"showToken\"}],staticClass:\"ml-3\",on:{\"click\":function($event){return _vm.changeToken()}}},[_c('b-icon-arrow-clockwise',{staticClass:\"mr-2\"}),_vm._v(\" Substituir Token \")],1)],1),_c('t-input',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showToken),expression:\"showToken\"}],staticClass:\"mt-2\",attrs:{\"textarea\":\"\",\"disabled\":\"\",\"label\":\"API Token\",\"iid\":\"companyTokenInput\",\"help\":\"Utilizado para integração Word / Api, entre outros.\"},model:{value:(_vm.form.token),callback:function ($$v) {_vm.$set(_vm.form, \"token\", $$v)},expression:\"form.token\"}})],1):_vm._e()]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./CompanyForm.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!./CompanyForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CompanyForm.vue?vue&type=template&id=0e82e20c&\"\nimport script from \"./CompanyForm.vue?vue&type=script&lang=js&\"\nexport * from \"./CompanyForm.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 (_vm.person !== null)?_c('t-form-wrapped',{attrs:{\"command\":_vm.command,\"status\":_vm.status}},[(!_vm.onlyCompany)?_c('div',{staticClass:\"form-card-header\"},[_c('t-input',{attrs:{\"label\":\"Tipo Pessoa\",\"options\":_vm.typePersonOptions,\"radio\":\"\"},model:{value:(_vm.person.typePerson),callback:function ($$v) {_vm.$set(_vm.person, \"typePerson\", $$v)},expression:\"person.typePerson\"}})],1):_vm._e(),_vm._t(\"default\"),(_vm.isCompany)?_c('b-row',[_c('t-input',{attrs:{\"cols\":\"4\",\"add-error\":_vm.error.federalTaxpayer,\"label\":\"CNPJ\",\"required\":!_vm.notRequired,\"cnpj\":\"\",\"api\":\"\"},on:{\"get\":_vm.setPersonAndAddress},model:{value:(_vm.person.federalTaxpayer),callback:function ($$v) {_vm.$set(_vm.person, \"federalTaxpayer\", $$v)},expression:\"person.federalTaxpayer\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"disabled\":!_vm.isCompany || _vm.person.provinceTaxpayerExempted,\"upper\":\"\",\"label\":\"Inscrição Estadual\",\"required\":_vm.isCompany && !_vm.person.provinceTaxpayerExempted && (!_vm.notRequired && _vm.person.federalTaxpayer !== '')},scopedSlots:_vm._u([{key:\"input-group-append\",fn:function(){return [_c('div',{staticClass:\"input-group-text bg-light\"},[_c('b-form-checkbox',{attrs:{\"disabled\":!_vm.isCompany},model:{value:(_vm.person.provinceTaxpayerExempted),callback:function ($$v) {_vm.$set(_vm.person, \"provinceTaxpayerExempted\", $$v)},expression:\"person.provinceTaxpayerExempted\"}},[_c('small',[_vm._v(\"Isento\")])])],1)]},proxy:true}],null,false,1872527334),model:{value:(_vm.person.provinceTaxpayer),callback:function ($$v) {_vm.$set(_vm.person, \"provinceTaxpayer\", $$v)},expression:\"person.provinceTaxpayer\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"disabled\":!_vm.isCompany,\"label\":\"Inscrição Municipal\"},model:{value:(_vm.person.cityTaxpayer),callback:function ($$v) {_vm.$set(_vm.person, \"cityTaxpayer\", $$v)},expression:\"person.cityTaxpayer\"}})],1):_c('b-row',[_c('t-input',{attrs:{\"cols\":\"6\",\"add-error\":_vm.error.federalTaxpayer,\"label\":\"CPF\",\"cpf\":\"\",\"required\":(!_vm.notRequired && _vm.person.federalTaxpayer !== '')},model:{value:(_vm.person.federalTaxpayer),callback:function ($$v) {_vm.$set(_vm.person, \"federalTaxpayer\", $$v)},expression:\"person.federalTaxpayer\"}}),_c('t-input',{attrs:{\"cols\":\"6\",\"upper\":\"\",\"label\":\"RG\"},model:{value:(_vm.person.otherPersonalDocument),callback:function ($$v) {_vm.$set(_vm.person, \"otherPersonalDocument\", $$v)},expression:\"person.otherPersonalDocument\"}})],1),(_vm.isCompany)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('t-input',{attrs:{\"label\":\"Razão Social\",\"required\":(!_vm.notRequired && _vm.person.federalTaxpayer !== '')},model:{value:(_vm.person.companyName),callback:function ($$v) {_vm.$set(_vm.person, \"companyName\", $$v)},expression:\"person.companyName\"}})],1),_c('t-input',{attrs:{\"cols\":\"8\",\"add-error\":_vm.error.name,\"label\":\"Nome Fantasia\",\"required\":(!_vm.notRequired || _vm.person.federalTaxpayer !== '' || _vm.nameRequired)},model:{value:(_vm.person.name),callback:function ($$v) {_vm.$set(_vm.person, \"name\", $$v)},expression:\"person.name\"}}),_c('t-input',{attrs:{\"cols\":\"4\",\"label\":\"Nome Curto\",\"max-length\":\"15\",\"help\":\"Nome curto de até 15 caracteres com cadastro opcional, porém poderá ser utilizado em locais onde é mais adequado um nome curto do cliente\"},model:{value:(_vm.person.shortName),callback:function ($$v) {_vm.$set(_vm.person, \"shortName\", $$v)},expression:\"person.shortName\"}})],1):_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Nome\",\"required\":(!_vm.notRequired || _vm.person.federalTaxpayer !== '') && !_vm.nameRequired},model:{value:(_vm.person.name),callback:function ($$v) {_vm.$set(_vm.person, \"name\", $$v)},expression:\"person.name\"}})],1)],1)],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./e-person.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!./e-person.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./e-person.vue?vue&type=template&id=5d9766a4&\"\nimport script from \"./e-person.vue?vue&type=script&lang=js&\"\nexport * from \"./e-person.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":""}