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,SAAK,UAAM,cAAU,gBAAW,UAAK,UAAM,SAAK,eAAW,O","sources":["webpack://edital-frontend/./src/core/services/sistema/AssinanteService.ts","webpack://edital-frontend/./src/views/Login.vue?3243","webpack://edital-frontend/./node_modules/@vue/vue-loader-v15/lib/index.js","webpack://edital-frontend/./src/views/Login.vue?d708","webpack://edital-frontend/./src/views/Login.vue"],"sourcesContent":["import { http } from \"@/core/ApiConfig\";\nimport { Service } from \"../shared/Service\";\n\nexport class AssinanteService extends Service{\n\n constructor(){\n super('assinante');\n }\n\n GetLogo(){\n return http.get(`${this.GetNomeControle()}/logo`);\n }\n\n SalvarLogo(arquivo: any){\n let bodyFormData = new FormData();\n // bodyFormData.append('arquivo', new Blob([arquivo], { type: 'image/jpeg' }), arquivo.name);\n bodyFormData.append('arquivo', arquivo);\n\n return http.post(`${this.GetNomeControle()}/logo`, bodyFormData, {\n headers: {\n 'Content-Type': 'multipart/form-data',\n 'Accept': 'application/json'\n }\n });\n }\n\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',[_c('v-row',[_c('v-col',{staticStyle:{\"background-color\":\"var(--v-primary-base)\",\"display\":\"flex\",\"flex-direction\":\"column\",\"justify-content\":\"center\",\"align-items\":\"center\",\"padding\":\"10px 20px 10px 30px\"},attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('div',{staticClass:\"ma-4\",staticStyle:{\"display\":\"flex\",\"flex-direction\":\"row\",\"align-items\":\"center\",\"justify-content\":\"center\"}},[(_vm.logo)?_c('img',{staticStyle:{\"margin-left\":\"15px\",\"object-fit\":\"contain\"},style:(_vm.$vuetify.breakpoint.mobile ? 'max-width: 30vw;' : 'max-width: 15vw;'),attrs:{\"src\":(\"data:image/jpeg;base64,\" + _vm.logo),\"eager\":\"\"}}):_c('img',{staticStyle:{\"contain\":\"content\",\"width\":\"100px\"},attrs:{\"src\":require(\"../assets/images/Marca_Bliks_branco.png\")}}),_vm._v(\" \"),_c('br')])]),_c('v-col',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\"},attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"6\",\"lg\":\"8\"}},[_c('v-card',{staticClass:\"py-4\",attrs:{\"width\":_vm.$vuetify.breakpoint.lgAndUp ? '35%' : '90%',\"flat\":\"\"}},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"justify-content\":\"center\"}},[_c('img',{style:(_vm.$vuetify.breakpoint.smAndDown ? 'width: 40vw': 'width: 10vw'),attrs:{\"src\":require(\"../assets/images/Bliks.png\")}})]),(!_vm.esqueceuSenha)?_c('div',[_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.Autenticar()}}},[_c('v-card-text',{staticStyle:{\"height\":\"70%\",\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\",\"flex-direction\":\"column\"}},[_c('v-row',[_c('v-col',{staticStyle:{\"font-size\":\"16px\"},attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('span',[_vm._v(\"Não tem cadastro? \")]),_c('a',{on:{\"click\":function($event){return _vm.CriarConta()}}},[_vm._v(\"Clique Aqui\")])])],1),_c('v-row',[_c('v-col',{staticClass:\"pa-0 px-2\",attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:(_vm.mask),expression:\"mask\"}],attrs:{\"label\":\"CPF/CNPJ\",\"dense\":\"\",\"filled\":\"\"},model:{value:(_vm.acesso.cnpj),callback:function ($$v) {_vm.$set(_vm.acesso, \"cnpj\", $$v)},expression:\"acesso.cnpj\"}})],1),_c('v-col',{staticClass:\"pa-0 px-2\",attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Usuário\",\"dense\":\"\",\"filled\":\"\"},model:{value:(_vm.acesso.login),callback:function ($$v) {_vm.$set(_vm.acesso, \"login\", $$v)},expression:\"acesso.login\"}})],1),_c('v-col',{staticClass:\"pa-0 px-2\",staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"flex-end\"},attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('a',{staticStyle:{\"font-size\":\"16px\"},on:{\"click\":function($event){_vm.esqueceuSenha = true}}},[_vm._v(\"Esqueceu a senha?\")]),_c('v-text-field',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":_vm.showPassword ? 'text' : 'password',\"append-icon\":_vm.showPassword ? 'mdi-eye' : 'mdi-eye-off',\"label\":\"Senha\",\"dense\":\"\",\"filled\":\"\"},on:{\"click:append\":function($event){_vm.showPassword = !_vm.showPassword}},model:{value:(_vm.acesso.senha),callback:function ($$v) {_vm.$set(_vm.acesso, \"senha\", $$v)},expression:\"acesso.senha\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('v-btn',{staticStyle:{\"color\":\"white\"},attrs:{\"loading\":_vm.loading,\"type\":\"submit\",\"color\":\"primary\",\"large\":\"\",\"depressed\":\"\",\"block\":\"\"}},[_vm._v(\"Entrar\")])],1)],1)],1)],1)],1):_c('div',[_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.RedefinirSenha()}}},[_c('v-card-title',{staticStyle:{\"margin-bottom\":\"25px\"}},[_c('span',{staticClass:\"text-center\",staticStyle:{\"width\":\"100%\",\"font-size\":\"22px\"}},[_vm._v(\" Esqueceu sua senha ? \")])]),_c('v-card-text',{staticStyle:{\"height\":\"70%\",\"display\":\"flex\",\"justify-content\":\"center\",\"align-items\":\"center\",\"flex-direction\":\"column\"}},[_c('v-row',[_c('v-col',{staticClass:\"pa-0 px-2\",attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:(_vm.mask),expression:\"mask\"}],attrs:{\"label\":\"CPF/CNPJ\",\"dense\":\"\",\"filled\":\"\"},model:{value:(_vm.acesso.cnpj),callback:function ($$v) {_vm.$set(_vm.acesso, \"cnpj\", $$v)},expression:\"acesso.cnpj\"}})],1),_c('v-col',{staticClass:\"pa-0 px-2\",attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('v-text-field',{attrs:{\"label\":\"Usuário\",\"dense\":\"\",\"filled\":\"\"},model:{value:(_vm.acesso.login),callback:function ($$v) {_vm.$set(_vm.acesso, \"login\", $$v)},expression:\"acesso.login\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\",\"sm\":\"6\",\"md\":\"6\"}},[_c('v-btn',{staticStyle:{\"color\":\"white\"},attrs:{\"loading\":_vm.loading,\"color\":\"secondary\",\"large\":\"\",\"depressed\":\"\",\"block\":\"\"},on:{\"click\":function($event){_vm.esqueceuSenha = false}}},[_vm._v(\"Voltar\")])],1),_c('v-col',{attrs:{\"cols\":\"6\",\"sm\":\"6\",\"md\":\"6\"}},[_c('v-btn',{staticStyle:{\"color\":\"white\"},attrs:{\"loading\":_vm.loading,\"type\":\"submit\",\"color\":\"primary\",\"large\":\"\",\"depressed\":\"\",\"block\":\"\"}},[_vm._v(\"Enviar\")])],1)],1)],1)],1)],1),_c('div',[_c('v-row',{staticClass:\"mt-4\",attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"6\"}},[_c('a',{staticClass:\"mx-6\",staticStyle:{\"color\":\"gray\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"https://www.bliks.org.br/\",\"target\":\"_blank\"}},[_vm._v(\"Sobre\")])]),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"6\"}},[_c('a',{staticClass:\"mx-6\",staticStyle:{\"color\":\"gray\",\"text-decoration\":\"underline\"},attrs:{\"href\":\"https://api.whatsapp.com/send?phone=5521999692342\",\"target\":\"_blank\"}},[_vm._v(\"Suporte\")])])],1)],1)])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop, Watch } from \"vue-property-decorator\";\nimport { PageBase } from \"@/core/models/shared\";\nimport { AlertSimpleErr, AlertSimpleRes, AutenticadorService } from \"@/core/services/shared\";\nimport { LoginModel } from \"@/core/models/shared/model\";\nimport Swal from 'sweetalert2'\nimport { EditalService } from \"@/core/services/geral\";\nimport { AssinanteService } from \"@/core/services/sistema/AssinanteService\";\n\n@Component\nexport default class CadastroCliente extends PageBase {\n \n logo: any = false;\n\n mskCnpj = process.env.VUE_APP_MSK_CNPJ;\n maskCpf = process.env.VUE_APP_MSK_CPF;\n mask = process.env.VUE_APP_MSK_CPF;\n\n showPassword: boolean = false;\n esqueceuSenha: boolean = false;\n loading: boolean = false;\n acesso: LoginModel = {\n cnpj: '',\n login: '',\n senha: ''\n }\n\n autenticadorService: AutenticadorService = new AutenticadorService();\n\n @Watch(\"acesso.cnpj\")\n WatchCpfCnpj(val: any){\n if(val.length > 14){\n this.mask = this.mskCnpj;\n }\n else{\n this.mask = this.maskCpf; \n }\n }\n\n mounted() {\n new AssinanteService().GetLogo().then(\n res => {\n this.logo = res.data;\n }\n ) \n }\n\n Autenticar(){\n this.loading = true;\n this.autenticadorService.AutenticarUsuario(this.acesso).then(\n res => {\n localStorage.setItem('sessionApp', JSON.stringify(res.data));\n if(res.data.dados.ongId){\n new EditalService().HasProjeto(res.data.dados.ongId).then(\n res => {\n if(res.data){\n this.$router.push({name: \"Projeto\"});\n }else{\n this.$router.push({name: \"Home\"});\n }\n }\n )\n }else{\n this.$router.push({name: \"Home\"});\n }\n Swal.fire({\n position: 'center',\n icon: 'success',\n title: 'Login efetuado com sucesso!',\n showConfirmButton: false,\n timer: 1500\n })\n },\n err => AlertSimpleErr(\"Aviso\", err)\n ).finally(() => {\n this.loading = false;\n })\n }\n\n RedefinirSenha(){\n this.loading = true;\n this.autenticadorService.ResetarSenha(this.acesso.cnpj, this.acesso.login).then(\n res => {\n AlertSimpleRes(\"Aviso!\", res);\n this.$router.replace({name:'login'});\n setTimeout(() =>{\n location.reload();\n }, 3000);\n },\n err => AlertSimpleErr(\"Aviso!\", err)\n ).finally(() => {\n this.loading = false;\n })\n }\n\n CriarConta(){\n var subdominio = window.location.host.split(\".\")[0];\n if(subdominio == \"edital\"){\n window.open(\"https://laboratorio.portalongfacil.com.br/cadastro/empresa\", \"_blank\")?.focus();\n }\n else{\n window.open(`https://sistema.portalongfacil.com.br/cadastro/empresa?origem=${subdominio}`, \"_blank\")?.focus();\n }\n }\n}\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=448e10dc&\"\nimport script from \"./Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./Login.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VApp,VBtn,VCard,VCardText,VCardTitle,VCol,VForm,VRow,VTextField})\n"],"names":["AssinanteService","Service","constructor","super","GetLogo","http","this","GetNomeControle","SalvarLogo","arquivo","bodyFormData","FormData","append","headers","render","_vm","_h","$createElement","_c","_self","staticStyle","attrs","staticClass","style","$vuetify","breakpoint","mobile","logo","_v","lgAndUp","smAndDown","esqueceuSenha","on","$event","preventDefault","RedefinirSenha","directives","name","rawName","value","expression","model","acesso","callback","$$v","$set","loading","Autenticar","CriarConta","showPassword","staticRenderFns","CadastroCliente","PageBase","process","cnpj","login","senha","AutenticadorService","WatchCpfCnpj","val","length","mask","mskCnpj","maskCpf","mounted","then","res","data","autenticadorService","AutenticarUsuario","localStorage","setItem","JSON","stringify","dados","ongId","EditalService","HasProjeto","$router","push","Swal","position","icon","title","showConfirmButton","timer","err","AlertSimpleErr","finally","ResetarSenha","AlertSimpleRes","replace","setTimeout","location","reload","subdominio","window","host","split","open","focus","__decorate","Watch","Component","component","VApp"],"sourceRoot":""}