{"version":3,"sources":["webpack:///./src/components/modals/add-balance/index.vue?cd95","webpack:///./src/components/modals/add-balance-message/index.vue","webpack:///./src/components/modals/add-balance-message/scripts.js","webpack:///./src/components/modals/add-balance-message/scripts.js?bbe8","webpack:///./src/components/modals/add-balance-message/index.vue?e7ff","webpack:///./src/components/modals/confirm-logout/index.vue","webpack:///./src/components/modals/confirm-logout/scripts.js","webpack:///./src/components/modals/confirm-logout/scripts.js?36ea","webpack:///./src/components/modals/confirm-logout/index.vue?09f5","webpack:///./src/components/modals/cancel-schedule/index.vue?84ef","webpack:///./src/components/modals/add-balance-message/index.vue?40bd","webpack:///./src/components/modals/add-balance/index.vue","webpack:///./src/components/modals/add-balance/scripts.js","webpack:///./src/components/modals/add-balance/scripts.js?f2cd","webpack:///./src/components/modals/add-balance/index.vue?1af0","webpack:///./src/components/modals/confirm-create-new-tree/index.vue?9290","webpack:///./src/components/modals/confirm-expand-tree-node/index.vue?ba5b","webpack:///./src/components/modals/detailed-relationship-tree-node/index.vue","webpack:///./src/components/modals/detailed-relationship-tree-node/scripts.js","webpack:///./src/components/modals/detailed-relationship-tree-node/scripts.js?82a4","webpack:///./src/components/modals/detailed-relationship-tree-node/index.vue?be20","webpack:///./src/components/modals/cancel-schedule/index.vue","webpack:///./src/components/modals/cancel-schedule/scripts.js","webpack:///./src/components/modals/cancel-schedule/scripts.js?72bc","webpack:///./src/components/modals/cancel-schedule/index.vue?fe3d","webpack:///./src/components/modals/confirm-expand-tree-node/index.vue","webpack:///./src/components/modals/confirm-expand-tree-node/scripts.js","webpack:///./src/components/modals/confirm-expand-tree-node/scripts.js?4327","webpack:///./src/components/modals/confirm-expand-tree-node/index.vue?c7b8","webpack:///./src/components/modals/confirm-logout/index.vue?c9fa","webpack:///./src/components/modals/confirm-create-new-tree/index.vue","webpack:///./src/components/modals/confirm-create-new-tree/scripts.js","webpack:///./src/components/modals/confirm-create-new-tree/scripts.js?c9a2","webpack:///./src/components/modals/confirm-create-new-tree/index.vue?03ad","webpack:///./src/components/modals/detailed-relationship-tree-node/index.vue?a1f1"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","isLoading","on","value","$emit","model","propValue","callback","$$v","expression","managerMessageOperation","typeOfMessageNotificaton","actionButtons","title","type","description","slot","_e","steps","currentStep","staticClass","e","onClickBackButton","isDesktop","_v","directionFlux","key","copiarTexto","staticStyle","staticRenderFns","components","ModalStructure","InputField","SvgLoader","PaymentWays","CreditCard","BankSlip","MessageNotification","props","required","Boolean","data","totalSteps","balanceToAdd","minPriceToAdd","maxPriceToAdd","paymentForm","creditCardValues","bankSlipValues","isRequisitionAttempt","computed","mapGetters","get","set","newValue","console","log","balanceToAddFormatedToSend","formatMoneyToDollar","replace","actionButtonDisable","result","allInformationsIsValid","allRequiredInfoIsValid","messageNotification","name","action","setToDefault","getterProcessingPayment","Object","keys","length","prototype","hasOwnProperty","call","status","status_detail","ManipulationResponses","toUpperCase","order_number","cardValidator","card","includes","niceType","push","emitBankSlip","watch","handler","val","setTimeout","$refs","inputMoney","inputField","focus","paymentFormCreditCard","deep","beforeDestroy","getClientCredit","CLEAR_PAYMENT_STORE","CLEAR_CARD_VALIDATOR_STORE","methods","mapActions","mapMutations","sendConversionToRd","params","identificador","nome","getterAccount","client","clientName","email","cpf","removeSpecialCharacters","cnpj","tipo","actionAddLeadToRdStation","onClickMainButton","getTokenRecaptcha","actionGetClientCredit","idClient","then","catch","sendToast","text","$recaptcha","token","sendToPaymentPlanCreditCard","sendToPaymentPlanBankSlip","error","disableLoadingAndShowMessage","sendErrorLog","expiration_month","parseInt","shelfLife","substring","expiration_year","security_code","ccv","toString","cardholder","identification","number","cpfOwner","fullname","trim","card_number","cardNumber","actionGetCardTransactionAuthorization","getCardFlagValidation","showMercadoPagoMessageOperationError","bin","amount","actionGetCheckCardFlag","paymentPackage","getterMercadoPagoToken","getterInsertedCard","origin","reCaptchaToken","credit","id","cpf_cnpj","user","idUser","card_ticket","value_to_be_credited","payment_method_id","actionToPaymentPackage","toastMessage","message","code","address","city","federal_unit","federalUnit","neighborhood","street_name","streetName","street_number","streetNumber","zip_code","zipCode","window","open","transaction_details","external_resource_url","response","updatedResponse","cpf_cnpj_credit_card","toLowerCase","actionAddLog","textoParaCopiar","document","getElementById","innerHTML","navigator","clipboard","writeText","err","component","onClick","confirmLogout","mixins","Logout","logout","disable","ref","$event","indexOf","_k","keyCode","apply","arguments","class","mounted","notificationMessage","getterSelectedRelationshipTree","getterSelectedRelationshipTreeNode","documentType","PHYSICAL_PERSON","LEGAL_PERSON","directives","rawName","domProps","_q","relation","content","addButtonTooltip","modifiers","addButtonDisabled","createNewParticipation","DocumentType","documentHasValidLength","clearForm","documentWithoutMask","documentOnCurrentExplosion","setTypeOfMessageNotification","idTree","userName","actionInserManualNodeOnTree","flux","some","item","confirmCancel","confirmCancelling","getterSelectedCallManager","headersList","actionsDataTable","CustomTable","Loading","ExportFiles","alignHeader","alignData","list","iconName","clickToCancel","loading","getterScheduledCallManagerInfo","forEach","element","strStatus","active","getScheduledInfo","SET_SELECTED_CALLMANAGER","cancelScheduling","actionGetScheduledInfo","idOriginCallManager","idCallManager","closeModal","_id","user_id","nameUser","actionCancelSchedule","confirmExpandTreeNode","_s","explosionCost","actionItem","Function","confirmed","treeExplosionCost","formatMoneyToReal","SET_SELECTED_RELATIONSHIP_TREE_NODE","confirmClearSelectedTree","clearSelectedTree","isNewRelationshipTree","$route","SET_SELECTED_RELATIONSHIP_TREE","$router"],"mappings":"yIAAA,W,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,kBAAkB,CAACG,MAAM,CAAC,GAAK,cAAc,SAAW,GAAG,MAAQ,kBAAkB,aAAaL,EAAIM,WAAWC,GAAG,CAAC,MAAQ,SAACC,GAAD,OAAWR,EAAIS,MAAM,QAASD,KAAQE,MAAM,CAACF,MAAOR,EAAIW,UAAWC,SAAS,SAAUC,GAAMb,E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sCAEL5R,KAAK8R,oBAEL9R,KAAKQ,MAAM,SAAS,GAEfR,KAAK+R,uBACR/R,KAAKkS,QAAQ1M,KAAK,CAAEnB,KAAM,2BAA4BuC,OAAQ,CAAEuD,GAAI,aC7CoO,I,wBCQ5SuC,EAAY,eACd,EACA5M,EACAmC,GACA,EACA,KACA,KACA,MAIa,OAAAyK,E,gHCnBf","file":"js/app~26c1a659.cf288513.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=5dd48b70&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"add-balance\",\"internal\":\"\",\"title\":\"Adicionar saldo\",\"is-loading\":_vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"slot\":\"notification\",\"action-buttons\":_vm.typeOfMessageNotificaton.actionButtons,\"title\":_vm.typeOfMessageNotificaton.title,\"type\":_vm.typeOfMessageNotificaton.type,\"description\":_vm.typeOfMessageNotificaton.description},slot:\"notification\",model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),(_vm.steps.currentStep > 0)?_c('div',{staticClass:\"container-back-button\"},[_c('button',{on:{\"click\":(e) => _vm.onClickBackButton(e)}},[_c('svg-loader',{attrs:{\"src\":_vm.isDesktop ? 'img/icon-arrow-left.svg' : 'img/icon-back.svg',\"color\":\"#0e558f\"}}),(_vm.isDesktop)?_c('span',[_vm._v(\"Voltar\")]):_vm._e()],1)]):_vm._e(),_c('transition-group',{staticClass:\"list-steps-add-balance\",attrs:{\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"}},[(_vm.steps.currentStep === 0)?_c('li',{key:\"0\",staticClass:\"step-item\"},[_c('p',[_vm._v(\"Ultilize a Chave Pix para realizar o pagamento e adicionar saldo em sua carteira.\")]),_c('div',{staticClass:\"container-pix\"},[_c('img',{staticClass:\"logo\",attrs:{\"src\":\"img/logopix.png\"}}),_c('div',[_c('span',[_vm._v(\"Chave pix\")]),_c('p',{attrs:{\"id\":\"pix\"}},[_vm._v(\"\\n a369a160-763c-41f7-bf35-9407a43e037a\\n \")])]),_c('img',{staticClass:\"copy\",attrs:{\"src\":\"img/copy.svg\"},on:{\"click\":_vm.copiarTexto}})]),_c('p',{staticStyle:{\"font-weight\":\"bold\",\"margin-bottom\":\"0.5rem\"}},[_vm._v(\"\\n O que fazer depois?\\n \")]),_c('div',{staticClass:\"info\"},[_c('img',{attrs:{\"src\":\"img/icons/check-circle.svg\"}}),_c('p',{staticClass:\"item-description\"},[_vm._v(\"\\n Copie a chave pix e realize o pagamento do valor que você deseja adicionar à sua carteira. Lembre-se de que o valor mínimo é de R$200.\\n \")])]),_c('div',{staticClass:\"info\"},[_c('img',{attrs:{\"src\":\"img/icons/check-circle.svg\"}}),_c('p',{staticClass:\"item-description\"},[_vm._v(\"\\n Envie seu comprovate de pagamento para nosso e-email:\"),_c('br'),_c('a',{attrs:{\"href\":\"mailto:faturamento@cedrofinances.com.br\"}},[_vm._v(\"\\n faturamento@cedrofinances.com.br\\n \")]),_vm._v(\"\\n solicitando a inserção do seu saldo.\\n \")])])]):_vm._e()])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters, mapMutations } from 'vuex'\nimport ManipulationResponses from '@/helper/ManipulationResponses'\nimport ModalStructure from '../modal-structure/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport SvgLoader from '../../svg-loader/index.vue'\nimport PaymentWays from '../../payment-ways/index.vue'\nimport CreditCard from '../../credit-card/index.vue'\nimport BankSlip from '../../bank-slip/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\n\nexport default {\n components: {\n ModalStructure,\n InputField,\n SvgLoader,\n PaymentWays,\n CreditCard,\n BankSlip,\n MessageNotification\n },\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n data () {\n return {\n steps: {\n currentStep: 0,\n totalSteps: 2\n },\n directionFlux: 'next',\n balanceToAdd: '',\n minPriceToAdd: 200,\n maxPriceToAdd: 15000,\n paymentForm: '',\n creditCardValues: {},\n bankSlipValues: {},\n managerMessageOperation: false,\n isRequisitionAttempt: false,\n isLoading: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterProcessingPayment',\n 'getterAccount',\n 'getterMercadoPagoToken',\n 'getterInsertedCard'\n ]),\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n // eslint-disable-next-line\n console.log('newValue', newValue)\n }\n },\n balanceToAddFormatedToSend () {\n return this.formatMoneyToDollar(this.balanceToAdd.replace('R$ ', ''), '')\n },\n actionButtonDisable () {\n let result = false\n\n if (this.steps.currentStep === 0 && !(this.balanceToAddFormatedToSend >= this.minPriceToAdd && this.balanceToAddFormatedToSend <= this.maxPriceToAdd)) {\n result = true\n }\n\n if (this.steps.currentStep === 1 && (this.paymentForm === '')) {\n result = true\n }\n\n if (this.steps.currentStep === 2) {\n if (this.paymentForm === 'credit-card' && (!this.creditCardValues.allInformationsIsValid)) {\n result = true\n }\n\n if (this.paymentForm === 'bank-slip' && (!this.bankSlipValues.allRequiredInfoIsValid)) {\n result = true\n }\n }\n\n return result\n },\n typeOfMessageNotificaton () {\n const messageNotification = {\n actionButtons: [\n { name: 'Finalizar', type: 'primary-purple', action: () => this.setToDefault() }\n ],\n type: 'info',\n title: 'Fique atento as notificações!',\n description: 'As notificações sobre a operação serão exibidas no canto inferior direito.'\n }\n\n if (this.paymentForm === 'credit-card') {\n if (this.getterProcessingPayment && Object.keys(this.getterProcessingPayment).length > 0) {\n if (!Object.prototype.hasOwnProperty.call(this.getterProcessingPayment, 'status')) {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação.'\n } else {\n if (this.getterProcessingPayment.status === 'approved') {\n messageNotification.type = 'success'\n messageNotification.title = 'Operação realizada com sucesso!'\n messageNotification.description = 'Seu saldo foi adicionado com sucesso e será atualizado em breve!'\n messageNotification.actionButtons = [\n { name: 'Finalizar', type: 'secondary-purple-light', action: () => this.$emit('input', false) },\n { name: 'Adicionar mais', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n\n if (this.getterProcessingPayment.status === 'in_process' || this.getterProcessingPayment.status === 'pending') {\n messageNotification.type = 'info'\n messageNotification.title = 'Seu pagamento está pendente para análise.'\n messageNotification.description = 'O seu pagamento está sendo analisado, em breve você receberá o e-mail com o status.'\n }\n\n if (this.getterProcessingPayment.status === 'rejected') {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação.'\n messageNotification.actionButtons = [\n { name: 'Tentar novamente', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n }\n\n if (this.getterProcessingPayment.status_detail && ManipulationResponses[this.getterProcessingPayment.status_detail.toUpperCase()]) {\n messageNotification.description = `${messageNotification.description} ${ManipulationResponses[this.getterProcessingPayment.status_detail.toUpperCase()]}`\n\n if ((messageNotification.type === 'success' || this.getterProcessingPayment.status === 'in_process' || this.getterProcessingPayment.status === 'pending') && this.getterProcessingPayment.order_number) {\n messageNotification.description = `${messageNotification.description} Número do pedido: ${this.getterProcessingPayment.order_number}.`\n }\n\n if (Object.keys(this.creditCardValues).length > 0 && this.creditCardValues.cardValidator.card) {\n if (messageNotification.description.includes('payment_method_id')) {\n messageNotification.description = messageNotification.description.replace('payment_method_id', this.creditCardValues.cardValidator.card.niceType)\n }\n }\n }\n } else {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação, tente novamente mais tarde!'\n messageNotification.actionButtons = [\n { name: 'Tentar novamente', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n }\n\n\n if (this.paymentForm === 'bank-slip') {\n if (this.getterProcessingPayment && Object.keys(this.getterProcessingPayment).length > 0) {\n messageNotification.type = 'success'\n messageNotification.title = 'Boleto emitido com sucesso!'\n messageNotification.description = 'Clique no botão abaixo para imprimir o boleto para realizar o pagamento.'\n messageNotification.actionButtons[0].type = 'secondary-purple-light'\n messageNotification.actionButtons.push({ name: 'Imprimir boleto', type: 'primary-purple', action: () => this.emitBankSlip() })\n\n if (this.getterProcessingPayment.order_number) {\n messageNotification.description = `${messageNotification.description} Número do pedido: ${this.getterProcessingPayment.order_number}`\n }\n } else {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação, tente novamente mais tarde!'\n }\n }\n\n return messageNotification\n }\n },\n watch: {\n steps: {\n handler (val) {\n if (val.currentStep > -1 && val.currentStep <= 2) {\n if (val.currentStep === 0) {\n setTimeout(() => this.$refs.inputMoney.$refs.inputField.focus())\n }\n\n if (val.currentStep === 1) {\n setTimeout(() => {\n this.$refs.paymentFormCreditCard.focus()\n\n if (this.paymentForm === '') {\n this.paymentForm = 'credit-card'\n }\n })\n }\n }\n },\n deep: true\n }\n },\n beforeDestroy () {\n this.getClientCredit()\n\n setTimeout(() => {\n this.CLEAR_PAYMENT_STORE()\n this.CLEAR_CARD_VALIDATOR_STORE()\n }, 250)\n },\n methods: {\n ...mapActions([\n 'actionAddLog',\n 'actionGetCheckCardFlag',\n 'actionGetCardTransactionAuthorization',\n 'actionGetClientCredit',\n 'actionAddLeadToRdStation',\n 'actionToPaymentPackage'\n ]),\n ...mapMutations([\n 'CLEAR_PAYMENT_STORE',\n 'CLEAR_CARD_VALIDATOR_STORE'\n ]),\n sendConversionToRd (value) {\n if (process.env.NODE_ENV === 'production') {\n const params = {\n identificador: 'data-engine-area-logada-adicionar-saldo',\n nome: this.getterAccount.client.clientName.toUpperCase(),\n email: this.getterAccount.email,\n cpf: this.removeSpecialCharacters(this.getterAccount.cnpj),\n tipo: value\n }\n\n this.actionAddLeadToRdStation(params)\n }\n },\n onClickBackButton () {\n this.steps.currentStep -= 1\n this.directionFlux = 'prev'\n },\n onClickMainButton () {\n if (this.steps.currentStep < this.steps.totalSteps) {\n this.steps.currentStep += 1\n this.directionFlux = 'next'\n } else {\n this.getTokenRecaptcha()\n }\n },\n getClientCredit () {\n if (this.isRequisitionAttempt && (Object.prototype.hasOwnProperty.call(this.getterAccount.client, 'credit') || Object.prototype.hasOwnProperty.call(this.getterAccount.client, 'amountDue'))) {\n this.isLoading = true\n\n this.actionGetClientCredit(this.getterAccount.client.idClient)\n .then(() => {\n this.isLoading = false\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao buscar as informações do usuário, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.isLoading = false\n })\n }\n },\n getTokenRecaptcha () {\n this.isLoading = true\n\n this.$recaptcha('payment')\n .then((token) => {\n if (this.paymentForm === 'credit-card') {\n this.sendToPaymentPlanCreditCard(token)\n }\n\n if (this.paymentForm === 'bank-slip') {\n this.sendToPaymentPlanBankSlip(token)\n }\n })\n .catch((error) => {\n this.sendToast({\n text: 'Ocorreu um erro ao obter o token do reCaptcha, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowMessage()\n\n this.sendErrorLog(error)\n })\n },\n sendToPaymentPlanCreditCard (token) {\n this.isRequisitionAttempt = true\n\n const params = {\n expiration_month: parseInt(this.creditCardValues.shelfLife.substring(0, 2), 10),\n expiration_year: parseInt(`20${this.creditCardValues.shelfLife.substring(3, 5)}`, 10),\n security_code: this.creditCardValues.ccv.toString(),\n cardholder: {\n identification: {\n type: 'CPF',\n number: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number)\n },\n name: this.creditCardValues.fullname.trim()\n },\n card_number: this.removeSpecialCharacters(this.creditCardValues.cardNumber)\n }\n\n this.actionGetCardTransactionAuthorization(params)\n .then(() => {\n this.getCardFlagValidation(token)\n })\n .catch((error) => {\n this.showMercadoPagoMessageOperationError(error)\n })\n },\n getCardFlagValidation (token) {\n const params = {\n bin: this.removeSpecialCharacters(this.creditCardValues.cardNumber).substring(0, 6),\n amount: this.balanceToAddFormatedToSend\n }\n\n this.actionGetCheckCardFlag(params)\n .then(() => {\n this.paymentPackage(token)\n })\n .catch((error) => {\n this.showMercadoPagoMessageOperationError(error)\n })\n },\n paymentPackage (token) {\n if (this.getterMercadoPagoToken !== '' && Object.keys(this.getterInsertedCard).length > 0) {\n const params = {\n origin: 'frontend-dataengine-logged-area',\n reCaptchaToken: token,\n credit: true,\n client: {\n id: this.getterAccount.client.idClient,\n name: this.getterAccount.client.clientName.toUpperCase(),\n cpf_cnpj: this.removeSpecialCharacters(this.getterAccount.cnpj)\n },\n user: {\n id: this.getterAccount.idUser,\n email: this.getterAccount.email\n },\n card_ticket: {\n token: this.getterMercadoPagoToken,\n cpf_cnpj: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number),\n name: this.creditCardValues.fullname.trim()\n },\n value_to_be_credited: this.balanceToAddFormatedToSend,\n payment_method_id: this.getterInsertedCard[0].payment_method_id\n }\n\n this.actionToPaymentPackage(params)\n .then(() => {\n if (this.getterProcessingPayment.status === 'approved') {\n this.sendToast({\n text: 'Pagamento autorizado com sucesso!',\n type: 'success'\n })\n }\n\n if (this.getterProcessingPayment.status === 'in_process') {\n this.sendToast({\n text: 'Pagamento em processamento, aguarde...',\n type: 'info'\n })\n }\n\n if (this.getterProcessingPayment.status === 'rejected') {\n this.sendToast({\n text: 'Operação rejeitada, tente novamente mais tarde!',\n type: 'danger'\n })\n }\n\n this.sendConversionToRd('Cartão de crédito')\n\n this.disableLoadingAndShowMessage()\n })\n .catch((error) => {\n const toastMessage = (text) => {\n this.sendToast({\n text,\n type: 'danger'\n })\n }\n\n let message = ''\n\n if (error && error.data && error.data.code) {\n switch (error.data.code) {\n case 'token_captcha_invalid':\n message = 'O token do captcha é inválido!'\n\n toastMessage(message)\n\n this.sendErrorLog(message)\n\n break\n case 'token_captcha_not_informed':\n message = 'O token do captcha não foi informado!'\n\n toastMessage(message)\n\n this.sendErrorLog(message)\n\n break\n case 'token_captcha_not_accepted':\n message = 'O token do captcha não está no score permitido!'\n\n toastMessage(message)\n\n this.sendErrorLog(message)\n\n break\n default:\n toastMessage('Ocorreu um erro ao processar o pagamento, tente novamente mais tarde!')\n }\n } else {\n toastMessage('Ocorreu um erro ao processar o pagamento, tente novamente mais tarde!')\n }\n\n this.disableLoadingAndShowMessage()\n })\n }\n },\n sendToPaymentPlanBankSlip (token) {\n this.isRequisitionAttempt = true\n\n const params = {\n origin: 'frontend-dataengine-logged-area',\n reCaptchaToken: token,\n credit: true,\n client: {\n id: this.getterAccount.client.idClient,\n name: this.getterAccount.client.clientName.toUpperCase(),\n cpf_cnpj: this.removeSpecialCharacters(this.getterAccount.cnpj)\n },\n user: {\n id: this.getterAccount.idUser,\n email: this.getterAccount.email\n },\n card_ticket: {\n cpf_cnpj: this.removeSpecialCharacters(this.bankSlipValues.cpfOwner.number),\n name: this.getterAccount.client.clientName.toUpperCase(),\n address: {\n city: this.bankSlipValues.city.toUpperCase(),\n federal_unit: this.bankSlipValues.federalUnit.toUpperCase(),\n neighborhood: this.bankSlipValues.neighborhood.toUpperCase(),\n street_name: this.bankSlipValues.streetName.toUpperCase(),\n street_number: this.bankSlipValues.streetNumber,\n zip_code: this.removeSpecialCharacters(this.bankSlipValues.zipCode)\n }\n },\n value_to_be_credited: this.balanceToAddFormatedToSend,\n payment_method_id: 'bolbradesco'\n }\n\n this.actionToPaymentPackage(params)\n .then(() => {\n this.sendToast({\n text: 'Boleto emitido com sucesso!',\n type: 'success'\n })\n\n this.sendConversionToRd('Boleto')\n\n this.disableLoadingAndShowMessage()\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao emitir o boleto, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowMessage()\n })\n },\n showMercadoPagoMessageOperationError (error) {\n this.sendToast({\n text: 'Ocorreu um erro ao comunicar com o Mercado Pago, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowMessage()\n\n this.sendErrorLog(error)\n },\n disableLoadingAndShowMessage () {\n this.isLoading = false\n this.managerMessageOperation = !this.isLoading\n },\n emitBankSlip () {\n if (this.getterProcessingPayment) {\n window.open(this.getterProcessingPayment.transaction_details.external_resource_url)\n }\n },\n sendErrorLog (response) {\n const updatedResponse = Object.prototype.hasOwnProperty.call(response, 'response') ? response.response : response\n\n if (process.env.NODE_ENV === 'production') {\n let params = {\n data: {\n name: this.getterAccount.client.clientName.toUpperCase(),\n email: this.getterAccount.email,\n cpf_cnpj_credit_card: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number),\n payment_method_id: this.creditCardValues.cardValidator.card.type.toLowerCase(),\n value_to_be_credited: this.balanceToAddFormatedToSend\n },\n origin: 'front-end-logged-area-add-balance'\n }\n\n if (response.data && response.data.message) {\n params = {\n ...params,\n error: response.data.message\n }\n } else {\n params = {\n ...params,\n error: updatedResponse\n }\n }\n\n this.actionAddLog(params)\n }\n },\n setToDefault () {\n setTimeout(() => {\n this.steps.currentStep = 0\n this.paymentForm = ''\n this.creditCardValues = this.bankSlipValues = {}\n }, 280)\n\n this.isLoading = this.managerMessageOperation = false\n },\n async copiarTexto () {\n const textoParaCopiar = document.getElementById('pix').innerHTML\n console.log(textoParaCopiar)\n try {\n await navigator.clipboard.writeText(textoParaCopiar)\n } catch (err) {\n console.error('Erro ao copiar texto:', err)\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=21ae3867&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=21ae3867&prod&lang=scss\"\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,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"confirm-logout\",\"title\":\"Encerrar sessão\",\"primary-button\":{ onClick: () => _vm.confirmLogout(), text: 'Confirmar' },\"is-loading\":_vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('p',[_vm._v(\"Tem certeza que deseja encerrar sua sessão? \"),_c('br'),_vm._v(\"Ao clicar no botão \"),_c('strong',[_vm._v(\"Confirmar\")]),_vm._v(\" você será desconectado da plataforma.\")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters } from 'vuex'\nimport Logout from '@/mixins/Logout'\nimport ModalStructure from '../modal-structure/index.vue'\n\nexport default {\n mixins: [\n Logout\n ],\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n components: {\n ModalStructure\n },\n data () {\n return {\n isLoading: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount'\n ]),\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n // eslint-disable-next-line\n console.log('newValue', newValue)\n }\n }\n },\n methods: {\n confirmLogout () {\n this.isLoading = true\n\n this.logout()\n .then(() => {\n this.isLoading = false\n })\n .catch(() => {\n this.isLoading = false\n\n this.$emit('input', false)\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=1f7c5cb4&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=1f7c5cb4&prod&lang=scss\"\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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=606348f8&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=21ae3867&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"add-balance\",\"internal\":\"\",\"primary-button\":{ onClick: () => _vm.onClickMainButton(), disable: _vm.actionButtonDisable, text: _vm.steps.currentStep !== 2 ? 'Próximo' : 'Finalizar pagamento' },\"title\":\"Adicionar saldo a carteira\",\"is-loading\":_vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"slot\":\"notification\",\"action-buttons\":_vm.typeOfMessageNotificaton.actionButtons,\"title\":_vm.typeOfMessageNotificaton.title,\"type\":_vm.typeOfMessageNotificaton.type,\"description\":_vm.typeOfMessageNotificaton.description},slot:\"notification\",model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),(_vm.steps.currentStep > 0)?_c('div',{staticClass:\"container-back-button\"},[_c('button',{on:{\"click\":(e) => _vm.onClickBackButton(e)}},[_c('svg-loader',{attrs:{\"src\":_vm.isDesktop ? 'img/icon-arrow-left.svg' : 'img/icon-back.svg',\"color\":\"#0e558f\"}}),(_vm.isDesktop)?_c('span',[_vm._v(\"Voltar\")]):_vm._e()],1)]):_vm._e(),_c('transition-group',{staticClass:\"list-steps-add-balance\",attrs:{\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"}},[(_vm.steps.currentStep === 0)?_c('li',{key:\"0\",staticClass:\"step-item\"},[_c('p',{staticClass:\"item-description\"},[_vm._v(\"\\n Adicione saldo a sua carteira para fazer consultas em qualquer lugar e a qualquer momento, sem ficar sempre dependendo do seu cartão de crédito, ou esperando o prazo de compensação do boleto. \"),_c('strong',[_vm._v(\"Esse método é ideal para quem deseja maior controle das suas consultas.\")])]),_c('input-field',{ref:\"inputMoney\",staticClass:\"large\",attrs:{\"type\":\"money\",\"title\":\"Insira o valor a ser adicionado\",\"message\":`O valor adicionado deve ser no mínimo ${_vm.minPriceToAdd} reais e no máximo ${_vm.maxPriceToAdd.toString().replace(/0/g, '')} mil reais`},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return (() => _vm.onClickMainButton()).apply(null, arguments)}},model:{value:(_vm.balanceToAdd),callback:function ($$v) {_vm.balanceToAdd=$$v},expression:\"balanceToAdd\"}})],1):_vm._e(),(_vm.steps.currentStep === 1)?_c('li',{key:\"1\",staticClass:\"step-item\"},[_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Escolha o método de pagamento:\\n \")]),_c('ul',{staticClass:\"list-cards-of-payment\"},[_c('li',[_c('button',{ref:\"paymentFormCreditCard\",class:{ 'active': _vm.paymentForm === 'credit-card' },on:{\"click\":function($event){_vm.paymentForm = 'credit-card', _vm.onClickMainButton()}}},[_c('svg-loader',{attrs:{\"src\":\"img/icon-card.svg\",\"color\":\"#76718e\"}}),_vm._v(\"\\n Cartão de crédito\\n \")],1)]),_c('li',[_c('button',{class:{ 'active': _vm.paymentForm === 'bank-slip' },on:{\"click\":function($event){_vm.paymentForm = 'bank-slip', _vm.onClickMainButton()}}},[_c('svg-loader',{attrs:{\"src\":\"img/icon-bank-slip.svg\",\"color\":\"#76718e\"}}),_vm._v(\"\\n Boleto bancário\\n \")],1)])]),_c('payment-ways')],1):_vm._e(),(_vm.steps.currentStep === 2)?_c('li',{key:\"2\",staticClass:\"step-item\"},[(_vm.paymentForm === 'credit-card')?_c('section',{staticClass:\"container-step-payment-form\"},[_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Cartão de crédito\\n \")]),_c('credit-card',{model:{value:(_vm.creditCardValues),callback:function ($$v) {_vm.creditCardValues=$$v},expression:\"creditCardValues\"}}),_c('payment-ways')],1):_vm._e(),(_vm.paymentForm === 'bank-slip')?_c('section',{staticClass:\"container-step-payment-form\"},[_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Boleto bancário\\n \")]),_c('h5',{staticClass:\"form-subtitle\"},[_vm._v(\"\\n Insira os dados abaixo corretamente para realizar a emissão do boleto.\\n \")]),_c('bank-slip',{model:{value:(_vm.bankSlipValues),callback:function ($$v) {_vm.bankSlipValues=$$v},expression:\"bankSlipValues\"}}),_c('payment-ways')],1):_vm._e()]):_vm._e()])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters, mapMutations } from 'vuex'\nimport ManipulationResponses from '@/helper/ManipulationResponses'\nimport ModalStructure from '../modal-structure/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport SvgLoader from '../../svg-loader/index.vue'\nimport PaymentWays from '../../payment-ways/index.vue'\nimport CreditCard from '../../credit-card/index.vue'\nimport BankSlip from '../../bank-slip/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\n\nexport default {\n components: {\n ModalStructure,\n InputField,\n SvgLoader,\n PaymentWays,\n CreditCard,\n BankSlip,\n MessageNotification\n },\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n data () {\n return {\n steps: {\n currentStep: 0,\n totalSteps: 2\n },\n directionFlux: 'next',\n balanceToAdd: '',\n minPriceToAdd: 200,\n maxPriceToAdd: 15000,\n paymentForm: '',\n creditCardValues: {},\n bankSlipValues: {},\n managerMessageOperation: false,\n isRequisitionAttempt: false,\n isLoading: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterProcessingPayment',\n 'getterAccount',\n 'getterMercadoPagoToken',\n 'getterInsertedCard'\n ]),\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n // eslint-disable-next-line\n console.log('newValue', newValue)\n }\n },\n balanceToAddFormatedToSend () {\n return this.formatMoneyToDollar(this.balanceToAdd.replace('R$ ', ''), '')\n },\n actionButtonDisable () {\n let result = false\n\n if (this.steps.currentStep === 0 && !(this.balanceToAddFormatedToSend >= this.minPriceToAdd && this.balanceToAddFormatedToSend <= this.maxPriceToAdd)) {\n result = true\n }\n\n if (this.steps.currentStep === 1 && (this.paymentForm === '')) {\n result = true\n }\n\n if (this.steps.currentStep === 2) {\n if (this.paymentForm === 'credit-card' && (!this.creditCardValues.allInformationsIsValid)) {\n result = true\n }\n\n if (this.paymentForm === 'bank-slip' && (!this.bankSlipValues.allRequiredInfoIsValid)) {\n result = true\n }\n }\n\n return result\n },\n typeOfMessageNotificaton () {\n const messageNotification = {\n actionButtons: [\n { name: 'Finalizar', type: 'primary-purple', action: () => this.setToDefault() }\n ],\n type: 'info',\n title: 'Fique atento as notificações!',\n description: 'As notificações sobre a operação serão exibidas no canto inferior direito.'\n }\n\n if (this.paymentForm === 'credit-card') {\n if (this.getterProcessingPayment && Object.keys(this.getterProcessingPayment).length > 0) {\n if (!Object.prototype.hasOwnProperty.call(this.getterProcessingPayment, 'status')) {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação.'\n } else {\n if (this.getterProcessingPayment.status === 'approved') {\n messageNotification.type = 'success'\n messageNotification.title = 'Operação realizada com sucesso!'\n messageNotification.description = 'Seu saldo foi adicionado com sucesso e será atualizado em breve!'\n messageNotification.actionButtons = [\n { name: 'Finalizar', type: 'secondary-purple-light', action: () => this.$emit('input', false) },\n { name: 'Adicionar mais', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n\n if (this.getterProcessingPayment.status === 'in_process' || this.getterProcessingPayment.status === 'pending') {\n messageNotification.type = 'info'\n messageNotification.title = 'Seu pagamento está pendente para análise.'\n messageNotification.description = 'O seu pagamento está sendo analisado, em breve você receberá o e-mail com o status.'\n }\n\n if (this.getterProcessingPayment.status === 'rejected') {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação.'\n messageNotification.actionButtons = [\n { name: 'Tentar novamente', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n }\n\n if (this.getterProcessingPayment.status_detail && ManipulationResponses[this.getterProcessingPayment.status_detail.toUpperCase()]) {\n messageNotification.description = `${messageNotification.description} ${ManipulationResponses[this.getterProcessingPayment.status_detail.toUpperCase()]}`\n\n if ((messageNotification.type === 'success' || this.getterProcessingPayment.status === 'in_process' || this.getterProcessingPayment.status === 'pending') && this.getterProcessingPayment.order_number) {\n messageNotification.description = `${messageNotification.description} Número do pedido: ${this.getterProcessingPayment.order_number}.`\n }\n\n if (Object.keys(this.creditCardValues).length > 0 && this.creditCardValues.cardValidator.card) {\n if (messageNotification.description.includes('payment_method_id')) {\n messageNotification.description = messageNotification.description.replace('payment_method_id', this.creditCardValues.cardValidator.card.niceType)\n }\n }\n }\n } else {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação, tente novamente mais tarde!'\n messageNotification.actionButtons = [\n { name: 'Tentar novamente', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n }\n\n\n if (this.paymentForm === 'bank-slip') {\n if (this.getterProcessingPayment && Object.keys(this.getterProcessingPayment).length > 0) {\n messageNotification.type = 'success'\n messageNotification.title = 'Boleto emitido com sucesso!'\n messageNotification.description = 'Clique no botão abaixo para imprimir o boleto para realizar o pagamento.'\n messageNotification.actionButtons[0].type = 'secondary-purple-light'\n messageNotification.actionButtons.push({ name: 'Imprimir boleto', type: 'primary-purple', action: () => this.emitBankSlip() })\n\n if (this.getterProcessingPayment.order_number) {\n messageNotification.description = `${messageNotification.description} Número do pedido: ${this.getterProcessingPayment.order_number}`\n }\n } else {\n messageNotification.type = 'error'\n messageNotification.title = 'Ops, ocorreu um erro ao realizar a operação!'\n messageNotification.description = 'Ocorreu um erro ao realizar esta operação, tente novamente mais tarde!'\n }\n }\n\n return messageNotification\n }\n },\n watch: {\n steps: {\n handler (val) {\n if (val.currentStep > -1 && val.currentStep <= 2) {\n if (val.currentStep === 0) {\n setTimeout(() => this.$refs.inputMoney.$refs.inputField.focus())\n }\n\n if (val.currentStep === 1) {\n setTimeout(() => {\n this.$refs.paymentFormCreditCard.focus()\n\n if (this.paymentForm === '') {\n this.paymentForm = 'credit-card'\n }\n })\n }\n }\n },\n deep: true\n }\n },\n mounted () {\n setTimeout(() => {\n this.$refs.inputMoney.$refs.inputField.focus()\n }, 250)\n },\n beforeDestroy () {\n this.getClientCredit()\n\n setTimeout(() => {\n this.CLEAR_PAYMENT_STORE()\n this.CLEAR_CARD_VALIDATOR_STORE()\n }, 250)\n },\n methods: {\n ...mapActions([\n 'actionAddLog',\n 'actionGetCheckCardFlag',\n 'actionGetCardTransactionAuthorization',\n 'actionGetClientCredit',\n 'actionAddLeadToRdStation',\n 'actionToPaymentPackage'\n ]),\n ...mapMutations([\n 'CLEAR_PAYMENT_STORE',\n 'CLEAR_CARD_VALIDATOR_STORE'\n ]),\n sendConversionToRd (value) {\n if (process.env.NODE_ENV === 'production') {\n const params = {\n identificador: 'data-engine-area-logada-adicionar-saldo',\n nome: this.getterAccount.client.clientName.toUpperCase(),\n email: this.getterAccount.email,\n cpf: this.removeSpecialCharacters(this.getterAccount.cnpj),\n tipo: value\n }\n\n this.actionAddLeadToRdStation(params)\n }\n },\n onClickBackButton () {\n this.steps.currentStep -= 1\n this.directionFlux = 'prev'\n },\n onClickMainButton () {\n if (this.steps.currentStep < this.steps.totalSteps) {\n this.steps.currentStep += 1\n this.directionFlux = 'next'\n } else {\n this.getTokenRecaptcha()\n }\n },\n getClientCredit () {\n if (this.isRequisitionAttempt && (Object.prototype.hasOwnProperty.call(this.getterAccount.client, 'credit') || Object.prototype.hasOwnProperty.call(this.getterAccount.client, 'amountDue'))) {\n this.isLoading = true\n\n this.actionGetClientCredit(this.getterAccount.client.idClient)\n .then(() => {\n this.isLoading = false\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao buscar as informações do usuário, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.isLoading = false\n })\n }\n },\n getTokenRecaptcha () {\n this.isLoading = true\n\n this.$recaptcha('payment')\n .then((token) => {\n if (this.paymentForm === 'credit-card') {\n this.sendToPaymentPlanCreditCard(token)\n }\n\n if (this.paymentForm === 'bank-slip') {\n this.sendToPaymentPlanBankSlip(token)\n }\n })\n .catch((error) => {\n this.sendToast({\n text: 'Ocorreu um erro ao obter o token do reCaptcha, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowMessage()\n\n this.sendErrorLog(error)\n })\n },\n sendToPaymentPlanCreditCard (token) {\n this.isRequisitionAttempt = true\n\n const params = {\n expiration_month: parseInt(this.creditCardValues.shelfLife.substring(0, 2), 10),\n expiration_year: parseInt(`20${this.creditCardValues.shelfLife.substring(3, 5)}`, 10),\n security_code: this.creditCardValues.ccv.toString(),\n cardholder: {\n identification: {\n type: 'CPF',\n number: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number)\n },\n name: this.creditCardValues.fullname.trim()\n },\n card_number: this.removeSpecialCharacters(this.creditCardValues.cardNumber)\n }\n\n this.actionGetCardTransactionAuthorization(params)\n .then(() => {\n this.getCardFlagValidation(token)\n })\n .catch((error) => {\n this.showMercadoPagoMessageOperationError(error)\n })\n },\n getCardFlagValidation (token) {\n const params = {\n bin: this.removeSpecialCharacters(this.creditCardValues.cardNumber).substring(0, 6),\n amount: this.balanceToAddFormatedToSend\n }\n\n this.actionGetCheckCardFlag(params)\n .then(() => {\n this.paymentPackage(token)\n })\n .catch((error) => {\n this.showMercadoPagoMessageOperationError(error)\n })\n },\n paymentPackage (token) {\n if (this.getterMercadoPagoToken !== '' && Object.keys(this.getterInsertedCard).length > 0) {\n const params = {\n origin: 'frontend-dataengine-logged-area',\n reCaptchaToken: token,\n credit: true,\n client: {\n id: this.getterAccount.client.idClient,\n name: this.getterAccount.client.clientName.toUpperCase(),\n cpf_cnpj: this.removeSpecialCharacters(this.getterAccount.cnpj)\n },\n user: {\n id: this.getterAccount.idUser,\n email: this.getterAccount.email\n },\n card_ticket: {\n token: this.getterMercadoPagoToken,\n cpf_cnpj: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number),\n name: this.creditCardValues.fullname.trim()\n },\n value_to_be_credited: this.balanceToAddFormatedToSend,\n payment_method_id: this.getterInsertedCard[0].payment_method_id\n }\n\n this.actionToPaymentPackage(params)\n .then(() => {\n if (this.getterProcessingPayment.status === 'approved') {\n this.sendToast({\n text: 'Pagamento autorizado com sucesso!',\n type: 'success'\n })\n }\n\n if (this.getterProcessingPayment.status === 'in_process') {\n this.sendToast({\n text: 'Pagamento em processamento, aguarde...',\n type: 'info'\n })\n }\n\n if (this.getterProcessingPayment.status === 'rejected') {\n this.sendToast({\n text: 'Operação rejeitada, tente novamente mais tarde!',\n type: 'danger'\n })\n }\n\n this.sendConversionToRd('Cartão de crédito')\n\n this.disableLoadingAndShowMessage()\n })\n .catch((error) => {\n const toastMessage = (text) => {\n this.sendToast({\n text,\n type: 'danger'\n })\n }\n\n let message = ''\n\n if (error && error.data && error.data.code) {\n switch (error.data.code) {\n case 'token_captcha_invalid':\n message = 'O token do captcha é inválido!'\n\n toastMessage(message)\n\n this.sendErrorLog(message)\n\n break\n case 'token_captcha_not_informed':\n message = 'O token do captcha não foi informado!'\n\n toastMessage(message)\n\n this.sendErrorLog(message)\n\n break\n case 'token_captcha_not_accepted':\n message = 'O token do captcha não está no score permitido!'\n\n toastMessage(message)\n\n this.sendErrorLog(message)\n\n break\n default:\n toastMessage('Ocorreu um erro ao processar o pagamento, tente novamente mais tarde!')\n }\n } else {\n toastMessage('Ocorreu um erro ao processar o pagamento, tente novamente mais tarde!')\n }\n\n this.disableLoadingAndShowMessage()\n })\n }\n },\n sendToPaymentPlanBankSlip (token) {\n this.isRequisitionAttempt = true\n\n const params = {\n origin: 'frontend-dataengine-logged-area',\n reCaptchaToken: token,\n credit: true,\n client: {\n id: this.getterAccount.client.idClient,\n name: this.getterAccount.client.clientName.toUpperCase(),\n cpf_cnpj: this.removeSpecialCharacters(this.getterAccount.cnpj)\n },\n user: {\n id: this.getterAccount.idUser,\n email: this.getterAccount.email\n },\n card_ticket: {\n cpf_cnpj: this.removeSpecialCharacters(this.bankSlipValues.cpfOwner.number),\n name: this.getterAccount.client.clientName.toUpperCase(),\n address: {\n city: this.bankSlipValues.city.toUpperCase(),\n federal_unit: this.bankSlipValues.federalUnit.toUpperCase(),\n neighborhood: this.bankSlipValues.neighborhood.toUpperCase(),\n street_name: this.bankSlipValues.streetName.toUpperCase(),\n street_number: this.bankSlipValues.streetNumber,\n zip_code: this.removeSpecialCharacters(this.bankSlipValues.zipCode)\n }\n },\n value_to_be_credited: this.balanceToAddFormatedToSend,\n payment_method_id: 'bolbradesco'\n }\n\n this.actionToPaymentPackage(params)\n .then(() => {\n this.sendToast({\n text: 'Boleto emitido com sucesso!',\n type: 'success'\n })\n\n this.sendConversionToRd('Boleto')\n\n this.disableLoadingAndShowMessage()\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao emitir o boleto, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowMessage()\n })\n },\n showMercadoPagoMessageOperationError (error) {\n this.sendToast({\n text: 'Ocorreu um erro ao comunicar com o Mercado Pago, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowMessage()\n\n this.sendErrorLog(error)\n },\n disableLoadingAndShowMessage () {\n this.isLoading = false\n this.managerMessageOperation = !this.isLoading\n },\n emitBankSlip () {\n if (this.getterProcessingPayment) {\n window.open(this.getterProcessingPayment.transaction_details.external_resource_url)\n }\n },\n sendErrorLog (response) {\n const updatedResponse = Object.prototype.hasOwnProperty.call(response, 'response') ? response.response : response\n\n if (process.env.NODE_ENV === 'production') {\n let params = {\n data: {\n name: this.getterAccount.client.clientName.toUpperCase(),\n email: this.getterAccount.email,\n cpf_cnpj_credit_card: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number),\n payment_method_id: this.creditCardValues.cardValidator.card.type.toLowerCase(),\n value_to_be_credited: this.balanceToAddFormatedToSend\n },\n origin: 'front-end-logged-area-add-balance'\n }\n\n if (response.data && response.data.message) {\n params = {\n ...params,\n error: response.data.message\n }\n } else {\n params = {\n ...params,\n error: updatedResponse\n }\n }\n\n this.actionAddLog(params)\n }\n },\n setToDefault () {\n setTimeout(() => {\n this.steps.currentStep = 0\n this.paymentForm = ''\n this.creditCardValues = this.bankSlipValues = {}\n }, 280)\n\n this.isLoading = this.managerMessageOperation = false\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5dd48b70&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=5dd48b70&prod&lang=scss\"\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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=c324e24c&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=9f5e3700&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"detailed-relationship-tree-node\",\"title\":_vm.steps.currentStep === 0 ? 'Informações detalhadas da consulta' : 'Incluir Participação',\"is-loading\":_vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"action-buttons\":_vm.notificationMessage.actionButtons,\"title\":_vm.notificationMessage.title,\"type\":_vm.notificationMessage.type,\"description\":_vm.notificationMessage.description},model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),_c('transition-group',{staticClass:\"steps-new-consult\",attrs:{\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"}},[(_vm.steps.currentStep === 0)?_c('li',{key:\"0\",staticClass:\"item first-item\"},[_c('p',[_vm._v(\"\\n Abaixo você está visualizando as informações a partir do nó selecionado.\\n \")]),_c('input-field',{attrs:{\"value\":_vm.getterSelectedRelationshipTree.name,\"title\":\"Nome da árvore\",\"disable\":\"\"}}),(_vm.getterSelectedRelationshipTreeNode.name)?_c('input-field',{attrs:{\"value\":_vm.getterSelectedRelationshipTreeNode.name,\"title\":_vm.documentType.PHYSICAL_PERSON === _vm.getterSelectedRelationshipTreeNode.documentType ? 'Nome' : 'Razão social',\"disable\":\"\"}}):_vm._e(),(_vm.getterSelectedRelationshipTreeNode.document)?_c('input-field',{attrs:{\"value\":_vm.getterSelectedRelationshipTreeNode.document,\"title\":_vm.documentType.LEGAL_PERSON === _vm.getterSelectedRelationshipTreeNode.documentType ? 'CNPJ' : 'CPF',\"disable\":\"\"}}):_vm._e()],1):_vm._e(),(_vm.steps.currentStep === 1)?_c('li',{key:\"1\",staticClass:\"item first-item\"},[_c('p',[_vm._v(\"\\n Preencha o formulário para adicionar uma nova participação\\n \")]),_c('section',{staticClass:\"add-participation\"},[_c('div',{staticClass:\"radio-type\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.type),expression:\"type\"}],staticClass:\"generic-radio\",attrs:{\"id\":\"pf\",\"type\":\"radio\",\"value\":\"PF\"},domProps:{\"checked\":_vm._q(_vm.type,\"PF\")},on:{\"change\":function($event){_vm.type=\"PF\"}}}),_c('label',{attrs:{\"for\":\"pf\"}},[_vm._v(\"Pessoa Física\")])]),_c('div',{staticClass:\"radio-type\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.type),expression:\"type\"}],staticClass:\"generic-radio\",attrs:{\"id\":\"pj\",\"type\":\"radio\",\"value\":\"PJ\"},domProps:{\"checked\":_vm._q(_vm.type,\"PJ\")},on:{\"change\":function($event){_vm.type=\"PJ\"}}}),_c('label',{attrs:{\"for\":\"pj\"}},[_vm._v(\"Pessoa Jurídica\")])])]),_c('input-field',{attrs:{\"disabled\":_vm.isLoading,\"title\":_vm.type === 'PF' ? 'Nome*' : 'Razão social*'},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}}),_c('input-field',{attrs:{\"title\":_vm.type === 'PF' ? 'CPF*' : 'CNPJ*',\"type\":_vm.type === 'PF' ? 'cpf' : 'cnpj',\"disabled\":_vm.isLoading},model:{value:(_vm.document),callback:function ($$v) {_vm.document=$$v},expression:\"document\"}}),_c('input-field',{attrs:{\"disabled\":_vm.isLoading,\"title\":\"Origem Conforme*\"},model:{value:(_vm.origin),callback:function ($$v) {_vm.origin=$$v},expression:\"origin\"}}),_c('input-field',{attrs:{\"disabled\":_vm.isLoading,\"title\":\"Relação*\"},model:{value:(_vm.relation),callback:function ($$v) {_vm.relation=$$v},expression:\"relation\"}}),_c('br')],1):_vm._e()]),_c('div',{staticClass:\"container-actions\",attrs:{\"slot\":\"actions\"},slot:\"actions\"},[(_vm.steps.currentStep === 0)?_c('button',{staticClass:\"generic-button bg-trans secondary-purple-light\",on:{\"click\":function($event){return _vm.onClickMainButton()}}},[_vm._v(\"\\n Adicionar participação\\n \")]):_c('div',{staticClass:\"node-creation\"},[_c('button',{staticClass:\"generic-button bg-trans secondary-purple-light\",attrs:{\"disabled\":_vm.isLoading},on:{\"click\":function($event){return _vm.onClickBackButton()}}},[_vm._v(\"\\n Cancelar\\n \")]),_c('button',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.auto\",value:({ content: _vm.addButtonTooltip }),expression:\"{ content: addButtonTooltip }\",modifiers:{\"auto\":true}}],staticClass:\"generic-button bg-trans primary-purple\",class:{ 'loading': _vm.isLoading },attrs:{\"disabled\":!_vm.addButtonDisabled},on:{\"click\":function($event){return _vm.createNewParticipation()}}},[_vm._v(\"\\n Adicionar participação\\n \")])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\n\nimport * as DocumentType from '@/helper/DocumentType'\nimport ModalStructure from '../modal-structure/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\n\nexport default {\n components: {\n ModalStructure,\n InputField,\n MessageNotification\n },\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n data () {\n return {\n isLoading: false,\n managerMessageOperation: false,\n documentType: DocumentType,\n steps: {\n currentStep: 0,\n totalSteps: 1\n },\n directionFlux: 'next',\n type: 'PF',\n name: '',\n document: '',\n origin: '',\n relation: '',\n notificationMessage: {\n actionButtons: [\n { name: 'Finalizar', type: 'primary-purple', action: () => this.setToDefault() }\n ],\n type: 'info',\n title: 'Fique atento as notificações!',\n description: 'As notificações sobre a operação serão exibidas no canto inferior direito.'\n }\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedRelationshipTree',\n 'getterSelectedRelationshipTreeNode'\n ]),\n addButtonDisabled () {\n return this.name !== '' && this.documentHasValidLength && this.origin !== '' && this.relation !== ''\n },\n addButtonTooltip () {\n if (!this.addButtonDisabled) {\n return 'Para continuar, todos os campos REQUERIDOS (*) devem estar preenchidos!'\n }\n return ''\n },\n documentHasValidLength () {\n // os tamanhos estão levando em consideração a pontuação\n return this.type === 'PF' ? this.document.length === 14 : this.document.length === 18\n },\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n console.log('newValue', newValue)\n }\n }\n },\n watch: {\n type: {\n handler (val) {\n if (val && val.length > 0) {\n this.clearForm()\n }\n }\n }\n },\n methods: {\n ...mapActions([\n 'actionInserManualNodeOnTree'\n ]),\n createNewParticipation () {\n const documentWithoutMask = this.removeSpecialCharacters(this.document)\n if (!this.documentOnCurrentExplosion(documentWithoutMask)) {\n this.isLoading = true\n const params = {\n idTree: this.getterSelectedRelationshipTree.id,\n idClient: this.getterAccount.client.idClient,\n idUser: this.getterAccount.idUser,\n userName: this.getterAccount.userName,\n id: this.getterSelectedRelationshipTreeNode.id,\n name: this.name.toUpperCase(),\n document: this.removeSpecialCharacters(this.document),\n origin: this.origin.toUpperCase(),\n relation: this.relation.toUpperCase()\n }\n\n this.actionInserManualNodeOnTree(params)\n .then((response) => {\n this.setTypeOfMessageNotification('success', response)\n })\n .catch(error => {\n this.setTypeOfMessageNotification('error', error)\n })\n } else {\n this.setTypeOfMessageNotification('conflict', { document: documentWithoutMask })\n }\n },\n documentOnCurrentExplosion (document) {\n return this.getterSelectedRelationshipTreeNode.flux.some(item => item.document === document)\n },\n onClickBackButton () {\n this.steps.currentStep -= 1\n this.directionFlux = 'prev'\n this.clearForm()\n },\n onClickMainButton () {\n if (this.steps.currentStep < this.steps.totalSteps) {\n this.steps.currentStep += 1\n this.directionFlux = 'next'\n }\n },\n setTypeOfMessageNotification (type, response) {\n if (type === 'success') {\n this.notificationMessage.type = 'success'\n this.notificationMessage.title = 'Operação realizada com sucesso!'\n this.notificationMessage.description = 'Agora nó está presente na árvore.'\n this.notificationMessage.actionButtons = [\n { name: 'OK', type: 'secondary-green-light', action: () => this.$emit('input', false) }\n ]\n }\n\n if (type === 'error') {\n console.log(response)\n\n this.notificationMessage.type = 'error'\n this.notificationMessage.title = 'Ops, ocorreu um erro ao realizar a operação!'\n this.notificationMessage.description = 'Ocorreu um erro ao realizar esta operação, tente novamente mais tarde!'\n this.notificationMessage.actionButtons = [\n { name: 'Tentar novamente', type: 'primary-purple', action: () => this.clearForm() }\n ]\n }\n\n if (type === 'conflict') {\n this.notificationMessage.type = 'error'\n this.notificationMessage.title = 'O documento já está presente na expansão!'\n this.notificationMessage.description = 'O documento que foi informado já existe na expansão selecionada.'\n this.notificationMessage.actionButtons = [\n { name: 'Corrigir', type: 'primary-purple', action: () => this.clearForm() }\n ]\n }\n\n setTimeout(() => {\n this.managerMessageOperation = true\n this.isLoading = !this.managerMessageOperation\n })\n },\n clearForm () {\n this.name = ''\n this.document = ''\n this.origin = ''\n this.relation = ''\n\n this.isLoading = false\n this.managerMessageOperation = false\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=f7d1a82a&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=f7d1a82a&prod&lang=scss\"\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,_setup=_vm._self._setupProxy;return (!_vm.confirmCancel)?_c('modal-structure',{attrs:{\"id\":\"cancel-scheduled-consultation\",\"title\":`Cancelar as Consultas agendadas para CPF/CNPJ ${_vm.getterSelectedCallManager.cpf || 'Desconhecida'}`},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('custom-table',{attrs:{\"data\":_vm.data,\"headers\":_vm.headersList,\"actions\":_vm.actionsDataTable,\"no-results-message\":\"Não há dados disponíveis\"}})],1):(_vm.confirmCancel)?_c('modal-structure',{attrs:{\"id\":\"confirm-cancel-schedule\",\"title\":\"Cancelar Consulta Agendada\",\"primary-button\":{ onClick: () => _vm.confirmCancelling(), text: 'Confirmar' },\"is-loading\":_vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('p',[_vm._v(\"Tem certeza que deseja cancelar o agendamento? \"),_c('br'),_vm._v(\"Essa ação é irreversível após clicar em \"),_c('strong',[_vm._v(\"Confirmar\")]),_vm._v(\".\")])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapMutations, mapActions } from 'vuex'\nimport ExportFiles from '@/mixins/ExportFiles'\nimport ModalStructure from '../modal-structure/index.vue'\nimport CustomTable from '../../custom-table/index.vue'\nimport Loading from '../../loading/index.vue'\n\n\nexport default {\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n components: {\n ModalStructure,\n CustomTable,\n Loading\n },\n mixins: [\n ExportFiles\n ],\n data () {\n return {\n isLoading: false,\n headersList: [\n {\n text: 'Data da Próxima Consulta', value: 'scheduledDate', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Status', value: 'strStatus', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Data Cancelamento', value: 'cancellationDate', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Cancelado Por', value: 'nameUser', alignHeader: 'center', alignData: 'center'\n }\n ],\n actionsDataTable: {\n text: 'Ações',\n list: [\n {\n text: 'Cancelar', iconName: 'cancel-icon.svg', onClick: () => this.clickToCancel(), loading: false, type: 'cancel-icon'\n }\n ]\n },\n confirmCancel: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedCallManager',\n 'getterScheduledCallManagerInfo'\n ]),\n data () {\n let data = []\n if (this.getterScheduledCallManagerInfo) {\n data = this.getterScheduledCallManagerInfo\n data.forEach(element => {\n element.strStatus = element.active ? 'Agendada' : 'Cancelada'\n })\n }\n\n return data\n },\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n // eslint-disable-next-line\n console.log('newValue', newValue)\n }\n }\n },\n mounted () {\n this.getScheduledInfo()\n },\n beforeDestroy () {\n this.SET_SELECTED_CALLMANAGER()\n },\n methods: {\n ...mapActions([\n 'actionCancelSchedule',\n 'actionGetScheduledInfo'\n ]),\n ...mapMutations([\n 'SET_SELECTED_CALLMANAGER'\n ]),\n clickToCancel () {\n this.cancelScheduling()\n },\n getScheduledInfo () {\n const response = this.actionGetScheduledInfo(this.getterSelectedCallManager.idOriginCallManager ? this.getterSelectedCallManager.idOriginCallManager : this.getterSelectedCallManager.idCallManager)\n return response\n },\n closeModal () {\n this.$emit('input', false)\n },\n cancelScheduling () {\n this.confirmCancel = true\n },\n confirmCancelling () {\n /* eslint no-underscore-dangle: [\"error\", { \"allow\": [\"_id\"] }] */\n this.isLoading = true\n const params = {\n id: this.getterScheduledCallManagerInfo[0]._id,\n idUser: this.getterAccount.user_id,\n nameUser: this.getterAccount.userName\n }\n\n this.actionCancelSchedule(params)\n .then(() => {\n this.isLoading = false\n\n this.sendToast({\n text: 'Cancelamento registrado com sucesso!',\n type: 'success'\n })\n\n this.closeModal()\n })\n .catch(() => {\n this.isLoading = false\n this.sendToast({\n text: 'Não foi possível efetuar o cancelamento, tente novamente mais tarde!',\n type: 'danger'\n })\n })\n\n this.closeModal()\n // this.$emit('closeAll', true)\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=606348f8&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=606348f8&prod&lang=scss\"\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,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"confirm-expand-tree-node\",\"title\":\"Confirmar expansão\",\"primary-button\":{ onClick: () => _vm.confirmExpandTreeNode(), text: 'Confirmar' }},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('p',[_vm._v(\"\\n Deseja expandir o \"),_c('strong',[_vm._v(_vm._s(_vm.documentType.LEGAL_PERSON === _vm.getterSelectedRelationshipTreeNode.documentType ? 'CNPJ' : 'CPF')+\" \"+_vm._s(_vm.getterSelectedRelationshipTreeNode.document)+\" \"+_vm._s(_vm.getterSelectedRelationshipTreeNode.name ? `de ${_vm.getterSelectedRelationshipTreeNode.name}` : ''))]),_vm._v(\" ?\\n\\n \"),_c('br'),_c('br'),_vm._v(\"\\n\\n Ao clicar no botão \"),_c('strong',[_vm._v(\"Confirmar\")]),_vm._v(\" o documento que você selecionou será expandido. Valor da expansão: \"),_c('strong',[_vm._v(_vm._s(_vm.explosionCost))]),_vm._v(\".\\n \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapMutations, mapGetters } from 'vuex'\nimport * as DocumentType from '@/helper/DocumentType'\nimport ModalStructure from '../modal-structure/index.vue'\n\nexport default {\n props: {\n value: {\n required: true,\n type: Boolean\n },\n actionItem: {\n required: true,\n type: Function\n }\n },\n components: {\n ModalStructure\n },\n data () {\n return {\n confirmed: false,\n documentType: DocumentType\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedRelationshipTreeNode'\n ]),\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n // eslint-disable-next-line\n console.log('newValue', newValue)\n }\n },\n explosionCost () {\n if (this.getterAccount.client.treeExplosionCost) {\n return this.formatMoneyToReal(this.getterAccount.client.treeExplosionCost)\n }\n return '1,00'\n }\n },\n beforeDestroy () {\n if (!this.confirmed) {\n this.SET_SELECTED_RELATIONSHIP_TREE_NODE()\n }\n },\n methods: {\n ...mapMutations([\n 'SET_SELECTED_RELATIONSHIP_TREE_NODE'\n ]),\n confirmExpandTreeNode () {\n this.confirmed = true\n\n this.$emit('input', false)\n\n this.actionItem()\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=9f5e3700&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=9f5e3700&prod&lang=scss\"\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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=1f7c5cb4&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"confirm-create-new-tree\",\"title\":\"Fechar árvore selecionada\",\"primary-button\":{ onClick: () => _vm.confirmClearSelectedTree(), text: 'Confirmar' }},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('p',[_vm._v(\"\\n Deseja fechar a árvore selecionada e criar uma nova? Ao clicar no botão \"),_c('strong',[_vm._v(\"Confirmar\")]),_vm._v(\" a árvore será limpada da tela para que você possa criar uma nova.\\n\\n \"),_c('br'),_c('br'),_vm._v(\"\\n\\n Não se preocupe a árvore que você acabou de adicionar estará disponível na tela de \"),_c('strong',[_vm._v(\"Minhas Árvores\")]),_vm._v(\".\\n \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapMutations } from 'vuex'\nimport ModalStructure from '../modal-structure/index.vue'\n\nexport default {\n props: {\n value: {\n required: true,\n type: Boolean\n },\n clearSelectedTree: {\n required: true,\n type: Function\n }\n },\n components: {\n ModalStructure\n },\n computed: {\n propValue: {\n get () {\n return this.value\n },\n set (newValue) {\n // eslint-disable-next-line\n console.log('newValue', newValue)\n }\n },\n isNewRelationshipTree () {\n return this.$route.params && (this.$route.params.id && this.$route.params.id === 'new')\n }\n },\n methods: {\n ...mapMutations([\n 'SET_SELECTED_RELATIONSHIP_TREE',\n 'SET_SELECTED_RELATIONSHIP_TREE_NODE'\n ]),\n confirmClearSelectedTree () {\n this.SET_SELECTED_RELATIONSHIP_TREE()\n this.SET_SELECTED_RELATIONSHIP_TREE_NODE()\n\n this.clearSelectedTree()\n\n this.$emit('input', false)\n\n if (!this.isNewRelationshipTree) {\n this.$router.push({ name: 'DetailedRelationshipTree', params: { id: 'new' } })\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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"; 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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=c324e24c&lang=html\"\nimport script from \"./scripts.js?vue&type=script&lang=js&external\"\nexport * from \"./scripts.js?vue&type=script&lang=js&external\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=c324e24c&prod&lang=scss\"\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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=f7d1a82a&prod&lang=scss\""],"sourceRoot":""}