{"version":3,"sources":["webpack:///./src/views/lojista/anti-fraud/Index.vue","webpack:///./src/views/lojista/anti-fraud/_components/AntiFraudCard.vue","webpack:///src/views/lojista/anti-fraud/_components/AntiFraudCard.vue","webpack:///./src/views/lojista/anti-fraud/_components/AntiFraudCard.vue?1e9d","webpack:///./src/views/lojista/anti-fraud/_components/AntiFraudCard.vue?0b93","webpack:///./src/components/Badge/EmBreveBadge.vue","webpack:///./src/components/Badge/EmBreveBadge.vue?09f5","webpack:///src/views/lojista/anti-fraud/Index.vue","webpack:///./src/views/lojista/anti-fraud/Index.vue?5002","webpack:///./src/views/lojista/anti-fraud/Index.vue?5ebf","webpack:///./src/views/lojista/anti-fraud/_components lazy ^\\.\\/.*\\/CredentialsModal\\.vue$ namespace object","webpack:///./src/views/lojista/anti-fraud/_components/map-folder.js","webpack:///./src/enums/Integration/IntegrationTypes.js","webpack:///./src/enums/BaseRecordStatus.js","webpack:///./src/enums/Integration/IntegrationStatus.js"],"names":["render","_vm","this","_c","_self","staticClass","attrs","loading","_l","index","key","_v","on","$event","$router","push","name","antiFrauds","antiFraud","id","cardLoading","handleAuthorization","enable","disable","activate","getAntiFrauds","antiFraudAuthModal","ref","tag","currentSelectedAntiFraud","staticRenderFns","status","IntegrationStatus","INACTIVE","scopedSlots","_u","fn","_s","enabledIntegration","getStatusColor","class","concat","getStatusIcon","getStatusText","_e","proxy","logo","EnabledIntegrationStatus","$emit","ACTIVE","updatedAt","authorizedAt","DISABLED","ERROR","WAITING_AUTHORIZATION","authorizationClicked","emits","props","type","Object","required","Boolean","default","data","methods","colors","_defineProperty","WAITING_USER_ACTION","icons","component","_g","_b","$attrs","$listeners","script","computed","_objectSpread","mapState","folder","AntiFraudMapFolder","loginPasswordIntegrations","IntegrationTypes","CLEAR_SALE","oauthIntegrations","mounted","_getAntiFrauds","_asyncToGenerator","regeneratorRuntime","mark","_callee","_yield$shopkeeperAppA","wrap","_context","prev","next","shopkeeperAppApi","get","dadosUsuario","sent","stop","apply","arguments","_enable","_callee2","_context2","$set","finish","_x","_disable","_callee3","_context3","_x2","_activate","_callee4","_context4","_x3","_this","includes","setTimeout","$refs","open","components","AntiFraudCard","EmBreveBadge","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","keys","module","exports","types","MELHOR_ENVIO","MERCADO_LIVRE","AMAZON","MAGAZINE_LUIZA","BLING","IUGU","TOTVS_WINTHOR","BaseRecordStatus"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,YAAY,YAAYC,MAAM,CAAC,MAAQ,4CAA4C,CAAEL,EAAIM,QAASJ,EAAG,QAAQF,EAAIO,GAAI,GAAG,SAASC,GAAO,OAAON,EAAG,QAAQ,CAACO,IAAID,GAAO,CAACN,EAAG,SAAS,CAACA,EAAG,aAAa,CAACG,MAAM,CAAC,UAAY,QAAQ,MAAQ,SAASH,EAAG,aAAa,CAACG,MAAM,CAAC,UAAY,QAAQ,MAAQ,SAASH,EAAG,aAAa,CAACG,MAAM,CAAC,UAAY,QAAQ,MAAQ,UAAU,IAAI,MAAK,GAAGH,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,OAAO,CAACH,EAAG,UAAU,CAACE,YAAY,4BAA4BC,MAAM,CAAC,KAAO,KAAK,CAACH,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,IAAI,CAACE,YAAY,4BAA4BJ,EAAIU,GAAG,gNAAgNR,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,KAAK,QAAU,WAAWM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,QAAQC,KAAK,CAAEC,KAAM,sCAAuC,CAACb,EAAG,IAAI,CAACE,YAAY,8BAA8BJ,EAAIU,GAAG,oCAAoC,IAAI,GAAGV,EAAIO,GAAIP,EAAIgB,YAAY,SAASC,GAAW,OAAOf,EA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K4W,ICOxW,EAAY,eACd,EACA3H,EACA8B,GACA,EACA,KACA,KACA,MAIa,e,gCClBf,IAAI8F,EAAM,CACT,mCAAoC,CACnC,QACA,mBAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,KAIR,IAAIG,EAAMX,EAAIE,GAAM3G,EAAKoH,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,WACzC,OAAOJ,EAAoB5G,MAG7B0G,EAAoBW,KAAO,WAC1B,OAAO7E,OAAO6E,KAAKZ,IAEpBC,EAAoB1G,GAAK,OACzBsH,EAAOC,QAAUb,G,gECtBjB3D,sBAAA,GACGe,OAAiBC,WAAa,c,kCCHjC,IAAMyD,EAAQ,CACZC,aAAc,EACdC,cAAe,EACfC,OAAQ,EACRC,eAAgB,EAChBC,MAAO,EACP9D,WAAY,EACZ+D,KAAM,EACNC,cAAe,GAGFP,U,gFCXT5G,EAAS,CACbE,SAAU,EACVgB,OAAQ,GAQKlB,GALJmC,8BAAA,GACRnC,EAAOE,SAAW,WAClBF,EAAOkB,OAAS,SAGJlB,G,4kBCRf,IAAMA,EAAM6C,EAAA,GACPuE,GAGUpH","file":"js/chunk-0399682a.8a880453.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('base-view',{staticClass:\"mb-5 mr-4\",attrs:{\"title\":\"Integrações com soluções de anti fraude\"}},[(_vm.loading)?_c('b-row',_vm._l((4),function(index){return _c('b-col',{key:index},[_c('b-card',[_c('b-skeleton',{attrs:{\"animation\":\"throb\",\"width\":\"85%\"}}),_c('b-skeleton',{attrs:{\"animation\":\"throb\",\"width\":\"55%\"}}),_c('b-skeleton',{attrs:{\"animation\":\"throb\",\"width\":\"70%\"}})],1)],1)}),1):_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-alert',{staticClass:\"d-flex align-items-center\",attrs:{\"show\":\"\"}},[_c('div',{staticClass:\"mr-3\"},[_c('i',{staticClass:\"fas fa-info-circle mr-1\"}),_vm._v(\"\\n Já realizou a integração com algum solução de anti fraude? Agora\\n seus pagamentos em cartão de crédito terão uma camada de segurança\\n para você e seus usuários.\\n \")]),_c('b-btn',{attrs:{\"size\":\"sm\",\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'lojista-app-anti-fraud-pedidos' })}}},[_c('i',{staticClass:\"fas fa-shipping-fast mr-1\"}),_vm._v(\" Acompanhar pedidos\\n \")])],1)],1),_vm._l((_vm.antiFrauds),function(antiFraud){return _c('b-col',{key:antiFraud.id,attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"4\",\"lg\":\"4\",\"xl\":\"4\"}},[_c('AntiFraudCard',{attrs:{\"anti-fraud\":antiFraud,\"loading\":_vm.cardLoading[antiFraud.id]},on:{\"authorize\":function($event){return _vm.handleAuthorization(antiFraud)},\"enable\":function($event){return _vm.enable(antiFraud)},\"disable\":function($event){return _vm.disable(antiFraud)},\"activate\":function($event){return _vm.activate(antiFraud)},\"refresh\":_vm.getAntiFrauds}})],1)})],2),_c(_vm.antiFraudAuthModal,{ref:\"antiFraudAuthModal\",tag:\"component\",attrs:{\"anti-fraud\":_vm.currentSelectedAntiFraud,\"loading\":_vm.loading},on:{\"refresh\":_vm.getAntiFrauds}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-overlay',{attrs:{\"show\":_vm.loading,\"rounded\":\"sm\"}},[_c('b-card',{attrs:{\"bg-variant\":_vm.antiFraud.status === _vm.IntegrationStatus.INACTIVE ? 'light' : ''},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{staticClass:\"d-flex align-items-center justify-content-between py-2\"},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.antiFraud.name)+\"\\n \")]),(_vm.antiFraud.status === _vm.IntegrationStatus.INACTIVE)?_c('b-badge',{staticClass:\"ml-2\",attrs:{\"variant\":\"warning\"}},[_c('i',{staticClass:\"far fa-clock mr-1\"}),_vm._v(\" Em breve\\n \")]):(!_vm.antiFraud.enabledIntegration)?_c('b-badge',{staticClass:\"ml-2\",attrs:{\"variant\":\"secondary\"}},[_c('i',{staticClass:\"fas fa-toggle-off mr-1\"}),_vm._v(\" Desabilitado\\n \")]):(!!_vm.antiFraud.enabledIntegration)?_c('b-badge',{staticClass:\"ml-2\",attrs:{\"variant\":_vm.getStatusColor(_vm.antiFraud.enabledIntegration.status)}},[_c('i',{class:`${_vm.getStatusIcon(\n _vm.antiFraud.enabledIntegration.status\n )} mr-1`}),_vm._v(\"\\n \"+_vm._s(_vm.getStatusText(_vm.antiFraud.enabledIntegration.status))+\"\\n \")]):_vm._e()],1)]},proxy:true}])},[_c('b-card-body',{staticClass:\"pa-0 p-0\"},[_c('b-card-sub-title',{staticClass:\"d-flex flex-column mb-2\"},[_c('img',{staticClass:\"mx-auto mb-4\",attrs:{\"src\":_vm.antiFraud.logo,\"height\":\"40px\"}}),_c('span',[_c('i',{staticClass:\"fas fa-info-circle mr-1\"}),_vm._v(\" Sobre a integração\\n \")])]),(_vm.antiFraud.status === _vm.IntegrationStatus.INACTIVE)?_c('b-card-text',[_c('small',[_vm._v(\" Integração ainda não disponível para ser habilitada. \")])]):(!_vm.antiFraud.enabledIntegration)?_c('b-card-text',[_c('small',[_vm._v(\"\\n Integração disponível para ser habilitada. Clique no botão abaixo\\n para começar o processo de autenticação.\\n \")]),_c('b-button',{staticClass:\"mt-3 ml-auto d-block\",attrs:{\"variant\":\"success\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.$emit('enable')}}},[_c('i',{staticClass:\"fas fa-check mr-1\"}),_vm._v(\" Habilitar\\n \")])],1):(\n _vm.antiFraud.enabledIntegration.status ===\n _vm.EnabledIntegrationStatus.INACTIVE\n )?_c('b-card-text',[_c('small',[_vm._v(\" Integração inativa. \")]),_c('b-button',{staticClass:\"mt-3 ml-auto d-block\",attrs:{\"variant\":\"success\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.$emit('activate')}}},[_c('i',{staticClass:\"fas fa-check mr-1\"}),_vm._v(\" Ativar\\n \")])],1):(\n _vm.antiFraud.enabledIntegration.status ===\n _vm.EnabledIntegrationStatus.ACTIVE\n )?_c('b-card-text',[_c('small',[_vm._v(\"\\n Integração ativa.\\n \"),_c('div',{staticClass:\"d-flex flex-column\"},[_c('span',[_c('b',[_vm._v(\"Atualizada em:\")]),_vm._v(\"\\n \"+_vm._s(_vm.antiFraud.enabledIntegration.updatedAt)+\"\\n \")]),_c('span',[_c('b',[_vm._v(\"Autorizada em:\")]),_vm._v(\"\\n \"+_vm._s(_vm.antiFraud.enabledIntegration.authorizedAt)+\"\\n \")])])]),_c('b-button',{staticClass:\"mt-3 ml-auto d-block\",attrs:{\"variant\":\"danger\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.$emit('disable')}}},[_c('i',{staticClass:\"fas fa-ban mr-1\"}),_vm._v(\" Desativar\\n \")])],1):(\n _vm.antiFraud.enabledIntegration.status ===\n _vm.EnabledIntegrationStatus.DISABLED\n )?_c('b-card-text',[_c('small',[_vm._v(\"\\n Integração desabilitada.\\n \"),_c('div',{staticClass:\"d-flex flex-column\"},[_c('span',[_c('b',[_vm._v(\"Atualizada em:\")]),_vm._v(\"\\n \"+_vm._s(_vm.antiFraud.enabledIntegration.updatedAt)+\"\\n \")])])]),_c('b-button',{staticClass:\"mt-3 ml-auto d-block\",attrs:{\"variant\":\"success\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.$emit('activate')}}},[_c('i',{staticClass:\"fas fa-check mr-1\"}),_vm._v(\" Ativar novamente\\n \")])],1):(\n _vm.antiFraud.enabledIntegration.status ===\n _vm.EnabledIntegrationStatus.ERROR\n )?_c('b-card-text',[_c('small',[_vm._v(\"\\n Ocorreu um erro ao realizar a integração. Por favor, contate um de\\n nossos atendentes.\\n \"),_c('div',{staticClass:\"d-flex flex-column\"},[_c('span',[_c('b',[_vm._v(\"Atualizada em:\")]),_vm._v(\"\\n \"+_vm._s(_vm.antiFraud.enabledIntegration.updatedAt)+\"\\n \")])])])]):(\n _vm.antiFraud.enabledIntegration.status ===\n _vm.EnabledIntegrationStatus.WAITING_AUTHORIZATION\n )?_c('b-card-text',[_c('small',[_vm._v(\"\\n Integração aguardando autorização/autenticação do usuário.\\n\\n \"),_c('div',{staticClass:\"d-flex flex-column mt-2\"},[_c('span',[_c('b',[_vm._v(\"Atualizada em:\")]),_vm._v(\"\\n \"+_vm._s(_vm.antiFraud.enabledIntegration.updatedAt)+\"\\n \")])])]),(!_vm.authorizationClicked)?_c('b-button',{staticClass:\"mt-3 ml-auto d-block\",attrs:{\"variant\":\"success\",\"size\":\"sm\"},on:{\"click\":() => {\n _vm.authorizationClicked = true;\n _vm.$emit('authorize');\n }}},[_c('i',{staticClass:\"fas fa-unlock mr-1\"}),_vm._v(\" Autorizar\\n \")]):_c('b-button',{staticClass:\"mt-3 ml-auto d-block\",attrs:{\"variant\":\"info\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.$emit('refresh')}}},[_c('i',{staticClass:\"fas fa-clipboard-check mr-1\"}),_vm._v(\" Já autorizei\\n \")])],1):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./AntiFraudCard.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!./AntiFraudCard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AntiFraudCard.vue?vue&type=template&id=04340916\"\nimport script from \"./AntiFraudCard.vue?vue&type=script&lang=js\"\nexport * from \"./AntiFraudCard.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 render(){var _vm=this,_c=_vm._self._c;return _c('b-badge',_vm._g(_vm._b({attrs:{\"variant\":\"warning\"}},'b-badge',_vm.$attrs,false),_vm.$listeners),[_c('i',{staticClass:\"far fa-clock mr-1\"}),_vm._v(\" Em breve\\n\")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./EmBreveBadge.vue?vue&type=template&id=001d4ff8\"\nvar script = {}\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","\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!./Index.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!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=38fd0afd\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.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 map = {\n\t\"./clearsale/CredentialsModal.vue\": [\n\t\t\"619b4\",\n\t\t\"chunk-74909b3a\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"3a62\";\nmodule.exports = webpackAsyncContext;","import IntegrationTypes from 'Enums/Integration/IntegrationTypes';\r\n\r\nexport default {\r\n [IntegrationTypes.CLEAR_SALE]: 'clearsale',\r\n};\r\n","const types = {\r\n MELHOR_ENVIO: 1,\r\n MERCADO_LIVRE: 2,\r\n AMAZON: 3,\r\n MAGAZINE_LUIZA: 4,\r\n BLING: 5,\r\n CLEAR_SALE: 6,\r\n IUGU: 7,\r\n TOTVS_WINTHOR: 8\r\n};\r\n\r\nexport default types;\r\n","const status = {\r\n INACTIVE: 0,\r\n ACTIVE: 1,\r\n};\r\n\r\nconst texts = {\r\n [status.INACTIVE]: 'Inativo',\r\n [status.ACTIVE]: 'Ativo',\r\n};\r\n\r\nexport default status;\r\n\r\nexport const getText = (s) => texts[s];","import BaseRecordStatus from '../BaseRecordStatus';\r\n\r\nconst status = {\r\n ...BaseRecordStatus,\r\n};\r\n\r\nexport default status;\r\n"],"sourceRoot":""}