{"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","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,EAA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AG,eAAe7B,EAAI6B,GAAG,8EAA8E3B,EAAG,MAAMA,EAAG,MAAMF,EAAI6B,GAAG,+FAA+F3B,EAAG,SAAS,CAACF,EAAI6B,GAAG,oBAAoB7B,EAAI6B,GAAG,cAExyBK,EAAkB,G,oCCCP,GACbS,MAAO,CACLnC,MAAO,CACLoC,UAAU,EACVzB,KAAM0B,SAERiP,kBAAmB,CACjBlP,UAAU,EACVzB,KAAMqQ,WAGVrP,WAAY,CACVC,uBAEFmB,SAAU,CACR5C,UAAW,CACT8C,IADS,WAEP,OAAOxD,KAAKO,OAEdkD,IAJS,SAIJC,GAEHC,QAAQC,IAAI,WAAYF,KAG5BoO,sBAVQ,WAWN,OAAO9R,KAAK+R,OAAOnL,QAAW5G,KAAK+R,OAAOnL,OAAOuD,IAAgC,QAA1BnK,KAAK+R,OAAOnL,OAAOuD,KAG9E3D,QAAS,iCACJE,eAAa,CACd,iCACA,yCAHG,IAKLkL,yBALO,WAML5R,KAAKgS,iCACLhS,KAAK2R,sCAEL3R,KAAK6R,oBAEL7R,KAAKQ,MAAM,SAAS,GAEfR,KAAK8R,uBACR9R,KAAKiS,QAAQzM,KAAK,CAAEnB,KAAM,2BAA4BuC,OAAQ,CAAEuD,GAAI,aC7CoO,I,wBCQ5SsC,EAAY,eACd,EACA3M,EACAmC,GACA,EACA,KACA,KACA,MAIa,OAAAwK,E,gHCnBf","file":"js/app~26c1a659-legacy.3b9149ec.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":""}