{"version":3,"sources":["webpack:///./src/components/choose-package-content/search-packages/index.vue","webpack:///./src/components/choose-package-content/search-packages/scripts.js","webpack:///./src/components/choose-package-content/search-packages/scripts.js?6ba9","webpack:///./src/components/choose-package-content/search-packages/index.vue?c407","webpack:///./src/components/choose-package-content/search-packages/index.vue?806f","webpack:///./src/components/choose-package-content/internal-search-packages/index.vue?c25c","webpack:///./src/components/choose-package-content/custom-search-packages/index.vue","webpack:///./src/components/choose-package-content/custom-search-packages/scripts.js","webpack:///./src/components/choose-package-content/custom-search-packages/scripts.js?9a97","webpack:///./src/components/choose-package-content/custom-search-packages/index.vue?826d","webpack:///./src/components/choose-package-content/plan-structure/index.vue","webpack:///./src/components/choose-package-content/plan-structure/scripts.js","webpack:///./src/components/choose-package-content/plan-structure/scripts.js?550f","webpack:///./src/components/choose-package-content/plan-structure/index.vue?2d5e","webpack:///./src/components/choose-package-content/internal-search-packages/index.vue","webpack:///./src/components/choose-package-content/internal-search-packages/scripts.js","webpack:///./src/components/choose-package-content/internal-search-packages/scripts.js?363e","webpack:///./src/components/choose-package-content/internal-search-packages/index.vue?7129","webpack:///./src/components/choose-package-content/custom-search-packages/index.vue?6cda","webpack:///./src/components/choose-package-content/internal-custom-search-packages/index.vue","webpack:///./src/components/choose-package-content/internal-custom-search-packages/scripts.js","webpack:///./src/components/choose-package-content/internal-custom-search-packages/scripts.js?3e25","webpack:///./src/components/choose-package-content/internal-custom-search-packages/index.vue?f3bd","webpack:///./src/components/choose-package-content/plan-structure/index.vue?4921","webpack:///./src/components/choose-package-content/internal-custom-search-packages/index.vue?bd50"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","attrs","selectedPlan","steps","onClickMainButton","onClickBackButton","actionButtonDisable","isLoading","on","val","directionFlux","managerMessageOperation","typeOfMessageNotificaton","actionButtons","title","type","description","slot","model","value","callback","$$v","expression","_e","isDesktop","currentStep","key","_v","_l","providers","item","index","_s","$event","preventDefault","Object","keys","length","ref","isValidCpfOfCnpjConsulted","cpfOrCnpjConsulted","name","isValidEmail","emailFocused","email","e","isValidConfirmEmail","emailConfirm","toLowerCase","class","paymentForm","isMobile","creditCardValues","bankSlipValues","staticRenderFns","props","required","components","PlanStructure","SvgLoader","CreditCard","BankSlip","InputField","MessageNotification","PaymentWays","data","totalSteps","attemptToStep","computed","mapGetters","result","allInformationsIsValid","allRequiredInfoIsValid","sendLeadToRdStation","messageNotification","action","setToDefault","getterProcessingPayment","prototype","hasOwnProperty","call","status","actionToConsultMore","status_detail","ManipulationResponses","toUpperCase","order_number","cardValidator","card","includes","replace","niceType","push","emitBankSlip","watch","emitStepsToParent","handler","setTimeout","$refs","insertCpfOrCnpj","inputField","focus","fullnameOnSearchPackageStep","paymentFormCreditCard","deep","mounted","methods","mapActions","$emit","getTokenRecaptcha","$recaptcha","then","token","sendToPaymentPlanCreditCard","sendToPaymentPlanBankSlip","catch","error","sendToast","text","disableLoadingAndShowErrorMessage","sendErrorLog","window","open","transaction_details","external_resource_url","response","updatedResponse","params","cpf_cnpj_credit_card","removeSpecialCharacters","cpfOwner","number","basket","data_search","cpf_cnpj","id","identificatorBackend","amount","parseFloat","price","payment_method_id","origin","message","actionAddLog","reCaptchaToken","paymentMethodId","paymentTypeId","client","card_ticket","address","city","federal_unit","federalUnit","neighborhood","street_name","streetName","street_number","streetNumber","zip_code","zipCode","package","actionToPaymentPackage","disableLoadingAndShowSuccessMessage","showMercadoPagoMessageOperationError","expiration_month","parseInt","shelfLife","substring","expiration_year","security_code","ccv","toString","cardholder","identification","fullname","trim","card_number","cardNumber","actionGetCardTransactionAuthorization","getCardFlagValidation","bin","actionGetCheckCardFlag","paymentPackage","getterMercadoPagoToken","getterInsertedCard","showToastMessage","toastMessage","code","Number","isInteger","identificador","nome","passo","actionAddLeadToRdStation","resetValues","step","component","getRecaptchaToken","notificationMessage","phone","directives","rawName","domProps","target","composing","fullnameField","sendContactMessageToBackend","setTypeOfMessageNotification","subject","actionSendContactInfo","sendConversionToRd","telefone","celular","internal","deselectPlanOnInstance","clonedSelectedPlan","returnTrueNameImagePlan","popular","formatMoneyToReal","hasBackButton","_t","buttonConfirm","indexOf","_k","keyCode","toPrevStep","apply","arguments","toNextStep","disable","content","offset","modifiers","onClickItem","Boolean","buttonProperties","Loading","clientPlan","planTypes","setSelectedPlan","returnTrueValuesForButton","checkIsCustom","blockDocumentScroll","beforeDestroy","parseJwt","base64Url","split","base64","JSON","parse","atob","parsedToken","getterAccount","access_token","actionGetPlanTypes","userData","actionGetUserData","usi","planType","baskets","forEach","basketPrice","authorizedProvider","systemProvider","systemProviderSalesValues","filter","idPlanType","saleValue","kycPercentage","Math","round","actionItem","onBack","$eventBus","document","documentElement","style","overflow","actionButtonMessage","managerListProviders","halfSizeAllAuthorizedProvider","itemList","indexList","alias","basketTypes","HIERARQUICA","keysBasketSelected","returnSumPriceBasket","childItem","childIndex","allRequestFieldsOrderedByRequired","returnTrueTypeInput","formatTitleInput","isValid","$set","states","returnTrueMask","returnCpfOrCnpj","SelectMenu","BasketTypes","States","verifyItensFilled","isAllBlank","orderBy","getterAllRequestFieldsBySystemProvider","onlyRequiredFields","filteredFields","recoveryCnpj","find","recoveryCpf","recoveryName","getAllRequestFieldsBySystemProvider","idProviderFlow","list","mappedList","map","idAuthorizedProvider","halfLength","ceil","leftSide","cloneDeep","splice","rightSide","splitedResult","recoveryItem","join","actionGetAllRequestFieldsBySystemProvider","removeMaskFromData","moment","format","fields","field","nameUser","userName","idUserLogged","idUser","actionAddCallManager","allParams","redirectToConsultsPage","insufficientCredit","openAddBalanceModal","getElementsByClassName","click","$router","messageField"],"mappings":"yKAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,iBAAiB,CAACG,YAAY,kBAAkBC,MAAM,CAAC,gBAAgBN,EAAIO,aAAa,oBAAoB,CAAE,MAASP,EAAIQ,MAAO,WAAc,kBAAMR,EAAIS,qBAAqB,OAAU,kBAAMT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IN/D,sBACE,IAAIgE,GAAS,EAMb,MAJ4B,KAAxB1E,KAAKkJ,QAAQiC,SACfzG,GAAS,GAGJA,KAGXmC,UACE7G,KAAKsG,MAAMsP,aAAanP,SAE1BK,QAAS,iCACJC,eAAW,CACZ,wBACA,8BAHG,IAKLvG,oBACE,MAAM6D,EAAO,CACX+I,QAAS,0DACTvK,KAAM7C,KAAKgQ,cAAciF,SACzBjS,MAAOhD,KAAKgQ,cAAchN,MAC1BkG,QAASlJ,KAAKkJ,QAAQiC,QAGxBnL,KAAKW,WAAY,EAEjBX,KAAKqN,sBAAsBhJ,GACxB8C,KAAK,KACJnH,KAAKmN,6BAA6B,WAElCnN,KAAKsN,uBAEN/F,MAAM,KACLvH,KAAKmN,6BAA6B,YAGxCG,qBACE,MAAMnF,EAAS,CACb+D,cAAe,8CACfC,KAAMnM,KAAKgQ,cAAciF,SACzBjS,MAAOhD,KAAKgQ,cAAchN,MAC1BkG,QAASlJ,KAAKkJ,QAAQiC,QAGxBnL,KAAKqM,yBAAyBlE,IAEhCnD,eACEhF,KAAKkJ,QAAU,GACflJ,KAAKe,wBAA0Bf,KAAKW,WAAY,GAElDwM,6BAA8BhM,GACf,YAATA,IACFnB,KAAK0M,oBAAoBvL,KAAO,UAChCnB,KAAK0M,oBAAoBxL,MAAQ,gCACjClB,KAAK0M,oBAAoBtL,YAAc,mEAG5B,UAATD,IACFnB,KAAK0M,oBAAoBvL,KAAO,QAChCnB,KAAK0M,oBAAoBxL,MAAQ,6CACjClB,KAAK0M,oBAAoBtL,YAAc,gFAGzCiF,WAAW,KACTrG,KAAKe,yBAA0B,EAC/Bf,KAAKW,WAAaX,KAAKe,8BC5GiR,I,wBCQ5SyL,EAAY,eACd,EACA1M,EACA4D,GACA,EACA,KACA,KACA,MAIa,OAAA8I,E,2CCnBf,W,yDCAA,W","file":"js/app~adae47ce.b41f1993.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('plan-structure',{staticClass:\"search-packages\",attrs:{\"selected-plan\":_vm.selectedPlan,\"button-properties\":{ 'steps': _vm.steps, 'actionItem': () => _vm.onClickMainButton(), 'onBack': () => _vm.onClickBackButton(), 'disable': _vm.actionButtonDisable },\"is-loading\":_vm.isLoading},on:{\"directionFlux\":(val) => _vm.directionFlux = val}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"slot\":\"messages\",\"action-buttons\":_vm.typeOfMessageNotificaton.actionButtons,\"title\":_vm.typeOfMessageNotificaton.title,\"type\":_vm.typeOfMessageNotificaton.type,\"description\":_vm.typeOfMessageNotificaton.description},slot:\"messages\",model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),_c('transition-group',{staticClass:\"list-plan-description\",attrs:{\"slot\":\"content\",\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"},slot:\"content\"},[(_vm.steps.currentStep === 0)?_c('li',{key:\"0\",staticClass:\"item-plan-description\"},[_c('h5',{staticClass:\"title-providers\"},[_vm._v(\"\\n Confira as informações que você obtêm com essa consulta:\\n \")]),_c('ul',{staticClass:\"list-providers\"},_vm._l((_vm.selectedPlan.providers),function(item,index){return _c('li',{key:index},[_vm._v(\"\\n \"+_vm._s(item)+\"\\n \")])}),0)]):_vm._e(),(_vm.steps.currentStep === 1)?_c('li',{key:\"1\",staticClass:\"item-plan-description\"},[_c('section',{staticClass:\"container-step\"},[_c('form',{staticClass:\"generic-form\",attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('h5',{staticClass:\"form-subtitle\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedPlan.description)+\"\\n \")]),_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Dados do consultado\\n \")]),(_vm.value && Object.keys(_vm.value).length > 0)?_c('input-field',{ref:\"insertCpfOrCnpj\",attrs:{\"type\":_vm.value.type === 0 ? 'cpf' : 'cnpj',\"title\":`Insira ${_vm.value.type === 0 ? 'CPF' : 'CNPJ'} do consultado`},on:{\"valid\":(value) => _vm.isValidCpfOfCnpjConsulted = value},model:{value:(_vm.cpfOrCnpjConsulted),callback:function ($$v) {_vm.cpfOrCnpjConsulted=$$v},expression:\"cpfOrCnpjConsulted\"}}):_vm._e()],1)])]):_vm._e(),(_vm.steps.currentStep === 2)?_c('li',{key:\"2\",staticClass:\"item-plan-description\"},[_c('section',{staticClass:\"container-step\"},[_c('form',{staticClass:\"generic-form\",attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Para qual e-mail podemos enviar o dossiê?\\n \")]),_c('h5',{staticClass:\"form-subtitle\"},[_vm._v(\"\\n A consulta não acaba aqui, após o pagamentos te enviaremos o Dossiê.\\n \")]),_c('div',{staticClass:\"input-wrapper\"},[_c('input-field',{ref:\"fullnameOnSearchPackageStep\",staticClass:\"fullname\",attrs:{\"maxlength\":\"100\",\"title\":\"Insira seu nome completo\"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}}),_c('input-field',{attrs:{\"type\":\"email\",\"title\":\"Insira seu e-mail\"},on:{\"valid\":(value) => _vm.isValidEmail = value,\"focus\":function($event){_vm.emailFocused = true},\"blur\":function($event){_vm.emailFocused = false}},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('input-field',{attrs:{\"type\":\"email\",\"title\":\"Confirme o e-mail inserido\"},on:{\"paste\":(e) => e.preventDefault(),\"valid\":(value) => _vm.isValidConfirmEmail = value,\"focus\":function($event){_vm.emailFocused = true},\"blur\":function($event){_vm.emailFocused = false}},model:{value:(_vm.emailConfirm),callback:function ($$v) {_vm.emailConfirm=$$v},expression:\"emailConfirm\"}})],1),((_vm.isValidEmail && _vm.isValidConfirmEmail) && (_vm.email.toLowerCase() !== _vm.emailConfirm.toLowerCase()) && !_vm.emailFocused)?_c('p',{staticClass:\"status-message error\"},[_vm._v(\"\\n Os e-mails não correspondem\\n \")]):_vm._e()])])]):_vm._e(),(_vm.steps.currentStep === 3)?_c('li',{key:\"3\",staticClass:\"item-plan-description\"},[_c('section',{staticClass:\"container-step fixed-payment-way\"},[_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'}}},[_c('svg-loader',{attrs:{\"src\":\"img/icon-card.svg\",\"color\":\"#76718e\"}}),_vm._v(\"\\n\\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'}}},[_c('svg-loader',{attrs:{\"src\":\"img/icon-bank-slip.svg\",\"color\":\"#76718e\"}}),_vm._v(\"\\n\\n Boleto bancário\\n \")],1)])]),_c('payment-ways')],1)]):_vm._e(),(_vm.steps.currentStep === 4)?_c('li',{key:\"4\",staticClass:\"item-plan-description\"},[(_vm.paymentForm === 'credit-card')?_c('section',{staticClass:\"container-step\",class:{ 'fixed-payment-way': _vm.isMobile }},[_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\",class:{ 'fixed-payment-way': _vm.isMobile }},[_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 } from 'vuex'\nimport ManipulationResponses from '@/helper/ManipulationResponses'\nimport PlanStructure from '../plan-structure/index.vue'\nimport SvgLoader from '../../svg-loader/index.vue'\nimport CreditCard from '../../credit-card/index.vue'\nimport BankSlip from '../../bank-slip/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\nimport PaymentWays from '../../payment-ways/index.vue'\n\nexport default {\n props: {\n value: {\n type: Object,\n required: true\n },\n selectedPlan: {\n type: Object,\n required: true\n }\n },\n components: {\n PlanStructure,\n SvgLoader,\n CreditCard,\n BankSlip,\n InputField,\n MessageNotification,\n PaymentWays\n },\n data () {\n return {\n steps: {\n currentStep: 0,\n totalSteps: 4\n },\n cpfOrCnpjConsulted: '',\n isValidCpfOfCnpjConsulted: false,\n name: '',\n email: '',\n emailConfirm: '',\n isValidEmail: false,\n isValidConfirmEmail: false,\n creditCardValues: {},\n isLoading: false,\n managerMessageOperation: false,\n paymentForm: '',\n bankSlipValues: {},\n emailFocused: false,\n directionFlux: 'next',\n attemptToStep: 0\n }\n },\n computed: {\n ...mapGetters([\n 'getterMercadoPagoToken',\n 'getterProcessingPayment',\n 'getterInsertedCard'\n ]),\n actionButtonDisable () {\n let result = false\n\n if (this.steps.currentStep === 1 && (this.cpfOrCnpjConsulted === '' || !this.isValidCpfOfCnpjConsulted)) {\n result = true\n }\n\n if (this.steps.currentStep === 2 && (this.name === '' || this.email === '' || this.emailConfirm === '' || (this.email.toLowerCase() !== this.emailConfirm.toLowerCase()) || !this.isValidEmail || !this.isValidConfirmEmail)) {\n result = true\n }\n\n if (this.steps.currentStep === 3 && (this.paymentForm === '')) {\n result = true\n }\n\n if (this.steps.currentStep === 4) {\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 if (!result) {\n this.sendLeadToRdStation(this.steps.currentStep)\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 = 'Em breve o Dossiê com os resultados da sua consulta chegará no seu e-mail.'\n messageNotification.actionButtons = [\n { name: 'Finalizar', type: 'secondary-purple-light', action: () => this.setToDefault() },\n { name: 'Consultar mais', type: 'primary-purple', action: () => this.actionToConsultMore() }\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 = 'Em breve você receberá um e-mail informando a situação do pagamento.'\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.actionToConsultMore() }\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.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.actionToConsultMore() }\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 selectedPlan () {\n if (this.steps.currentStep > 0) {\n this.setToDefault()\n }\n },\n value (val) {\n if (val && Object.keys(val).length > 0 && !Object.prototype.hasOwnProperty.call(val, 'steps')) {\n this.emitStepsToParent()\n }\n },\n steps: {\n handler (val) {\n this.emitStepsToParent()\n\n if (val.currentStep > 0 && val.currentStep < 4) {\n if (val.currentStep === 1) {\n setTimeout(() => this.$refs.insertCpfOrCnpj.$refs.inputField.focus())\n }\n\n if (val.currentStep === 2) {\n setTimeout(() => this.$refs.fullnameOnSearchPackageStep.$refs.inputField.focus())\n }\n\n if (val.currentStep === 3) {\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 this.emitStepsToParent()\n },\n methods: {\n ...mapActions([\n 'actionGetCardTransactionAuthorization',\n 'actionToPaymentPackage',\n 'actionAddLeadToRdStation',\n 'actionAddLog',\n 'actionGetCheckCardFlag'\n ]),\n emitStepsToParent () {\n if (this.value && Object.keys(this.value).length > 0) {\n this.$emit('input', { ...this.value, steps: this.steps })\n }\n },\n onClickMainButton () {\n if (this.steps.currentStep < this.steps.totalSteps) {\n this.steps.currentStep += 1\n } else {\n this.getTokenRecaptcha()\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.disableLoadingAndShowErrorMessage()\n\n this.sendErrorLog(error)\n })\n },\n onClickBackButton () {\n this.steps.currentStep = this.steps.currentStep - 1\n\n if (this.steps.currentStep === 0) {\n this.setToDefault()\n }\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.name.toUpperCase(),\n email: this.email,\n cpf_cnpj_credit_card: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number),\n basket: [\n {\n data_search: {\n cpf_cnpj: this.removeSpecialCharacters(this.cpfOrCnpjConsulted)\n },\n id: this.selectedPlan.identificatorBackend,\n description: this.selectedPlan.description,\n title: this.selectedPlan.name,\n amount: parseFloat(this.selectedPlan.price)\n }\n ],\n payment_method_id: this.creditCardValues.cardValidator.card.type.toLowerCase()\n },\n origin: 'front-end'\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\n this.actionAddLog(params)\n }\n },\n sendToPaymentPlanBankSlip (token) {\n const params = {\n reCaptchaToken: token,\n origin: 'frontend-dataengine',\n paymentMethodId: 'bolbradesco',\n paymentTypeId: 'ticket',\n client: {\n email: this.email,\n name: this.name.toUpperCase()\n },\n card_ticket: {\n cpf_cnpj: this.removeSpecialCharacters(this.bankSlipValues.cpfOwner.number),\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 package: [\n {\n data_search: {\n cpf_cnpj: this.removeSpecialCharacters(this.cpfOrCnpjConsulted)\n },\n id: this.selectedPlan.identificatorBackend,\n description: this.selectedPlan.description,\n title: this.selectedPlan.name,\n amount: parseFloat(this.selectedPlan.price)\n }\n ]\n }\n\n this.actionToPaymentPackage(params)\n .then(() => {\n this.sendToast({\n text: 'Boleto emitido com sucesso!',\n type: 'success'\n })\n\n this.disableLoadingAndShowSuccessMessage()\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.disableLoadingAndShowErrorMessage()\n })\n },\n showMercadoPagoMessageOperationError (error) {\n this.sendToast({\n text: 'Ocorreu um erro ao obter o token de acesso, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.disableLoadingAndShowErrorMessage()\n\n this.sendErrorLog(error)\n },\n sendToPaymentPlanCreditCard (token) {\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: parseFloat(this.selectedPlan.price)\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 reCaptchaToken: token,\n origin: 'frontend-dataengine',\n token: this.getterMercadoPagoToken,\n paymentMethodId: this.getterInsertedCard[0].payment_method_id,\n paymentTypeId: 'credit_card',\n client: {\n email: this.email,\n name: this.name.toUpperCase()\n },\n card_ticket: {\n cpf_cnpj: this.removeSpecialCharacters(this.creditCardValues.cpfOwner.number),\n name: this.creditCardValues.fullname.trim()\n },\n package: [\n {\n data_search: {\n cpf_cnpj: this.removeSpecialCharacters(this.cpfOrCnpjConsulted)\n },\n id: this.selectedPlan.identificatorBackend,\n description: this.selectedPlan.description,\n title: this.selectedPlan.name,\n amount: parseFloat(this.selectedPlan.price)\n }\n ]\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.disableLoadingAndShowSuccessMessage()\n })\n .catch((error) => {\n this.disableLoadingAndShowErrorMessage()\n\n this.showToastMessage(error)\n })\n }\n },\n showToastMessage (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 sendLeadToRdStation (value) {\n let message = ''\n\n if (Number.isInteger(value)) {\n if (this.steps.currentStep === value) {\n switch (this.steps.currentStep) {\n case 1:\n message = 'Usuário informou o CPF do consultado'\n break\n case 2:\n message = 'Usuário informou o Nome completo e E-mail'\n break\n case 3:\n message = 'Usuário selecionou uma forma de pagamento'\n break\n case 4:\n message = 'Usuário informou os dados do cartão de crédito corretamente'\n break\n default:\n message = ''\n }\n }\n } else if (typeof value === 'string') {\n message = value\n }\n\n if (value && (process.env.NODE_ENV === 'production') && (this.steps.currentStep !== this.attemptToStep)) {\n const params = {\n identificador: 'data-engine-area-nao-logada-fluxo-comum',\n nome: this.name.toUpperCase(),\n email: this.email,\n passo: message\n }\n\n this.actionAddLeadToRdStation(params)\n .then(() => {\n this.attemptToStep = value\n })\n .catch(() => {\n this.attemptToStep = value\n })\n }\n },\n disableLoadingAndShowSuccessMessage () {\n this.sendLeadToRdStation('Usuário informou os dados e finalizou o pagamento')\n\n this.isLoading = false\n this.managerMessageOperation = !this.isLoading\n },\n disableLoadingAndShowErrorMessage () {\n this.isLoading = false\n this.managerMessageOperation = !this.isLoading\n },\n actionToConsultMore () {\n this.resetValues(1)\n },\n setToDefault () {\n this.resetValues(0)\n },\n resetValues (step) {\n setTimeout(() => {\n this.steps.currentStep = step\n this.cpfOrCnpjConsulted = this.name = this.email = this.emailConfirm = this.paymentForm = ''\n this.creditCardValues = this.bankSlipValues = {}\n }, 280)\n\n this.isValidCpfOfCnpjConsulted = 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=0bda9dfd&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=0bda9dfd&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=0bda9dfd&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=91f1e896&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('plan-structure',{staticClass:\"custom-search-packages\",attrs:{\"selected-plan\":_vm.selectedPlan,\"button-properties\":{ 'actionItem': () => _vm.getRecaptchaToken(), 'disable': _vm.actionButtonDisable },\"is-loading\":_vm.isLoading},on:{\"directionFlux\":(val) => _vm.directionFlux = val}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"slot\":\"messages\",\"action-buttons\":_vm.notificationMessage.actionButtons,\"title\":_vm.notificationMessage.title,\"type\":_vm.notificationMessage.type,\"description\":_vm.notificationMessage.description},slot:\"messages\",model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),_c('transition-group',{staticClass:\"list-plan-description\",attrs:{\"slot\":\"content\",\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"},slot:\"content\"},[_c('li',{key:\"0\",staticClass:\"item-plan-description\"},[_c('section',{staticClass:\"container-step\"},[_c('form',{staticClass:\"generic-form\",attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Crie pacotes personalizados que atendam melhor o seu negócio!\\n \")]),_c('h5',{staticClass:\"form-subtitle\"},[_vm._v(\"\\n Descreva abaixo quais informações você deseja checar e/ou validar dos seus clientes e rapidamente entraremos em contato com uma ótima proposta para você!\\n \")]),_c('input-field',{ref:\"fullnameField\",staticClass:\"contact-fullname\",attrs:{\"maxlength\":\"100\",\"title\":\"Insira o seu nome completo\"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}}),_c('input-field',{attrs:{\"type\":\"email\",\"title\":\"Insira o seu e-mail\"},on:{\"valid\":(value) => _vm.isValidEmail = value},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('input-field',{attrs:{\"mask\":\"(##) #####-####\",\"title\":\"Insira o telefone\"},model:{value:(_vm.phone),callback:function ($$v) {_vm.phone=$$v},expression:\"phone\"}}),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.message),expression:\"message\"}],attrs:{\"placeholder\":\"Sua mensagem...\"},domProps:{\"value\":(_vm.message)},on:{\"input\":function($event){if($event.target.composing)return;_vm.message=$event.target.value}}})],1)])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions } from 'vuex'\nimport PlanStructure from '../plan-structure/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\n\nexport default {\n props: {\n selectedPlan: {\n type: Object,\n required: true\n }\n },\n components: {\n PlanStructure,\n MessageNotification,\n InputField\n },\n data () {\n return {\n isLoading: false,\n name: '',\n email: '',\n isValidEmail: false,\n phone: '',\n message: '',\n managerMessageOperation: false,\n notificationMessage: {\n actionButtons: [\n { name: 'Finalizar', type: 'primary-green', 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 directionFlux: 'next'\n }\n },\n computed: {\n actionButtonDisable () {\n let result = false\n\n if (this.name === '' || !this.isValidEmail || this.phone === '' || this.message.trim() === '') {\n result = true\n }\n\n return result\n }\n },\n mounted () {\n this.$refs.fullnameField.$refs.inputField.focus()\n },\n methods: {\n ...mapActions([\n 'actionSendContactInfo',\n 'actionAddLeadToRdStation'\n ]),\n getRecaptchaToken () {\n if (process.env.NODE_ENV === 'production') {\n this.isLoading = true\n\n this.$recaptcha('contact')\n .then((token) => {\n this.sendContactMessageToBackend(token)\n })\n .catch(() => {\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.setTypeOfMessageNotification('error')\n })\n } else {\n this.sendToast({\n text: 'Não foi possível enviar sua mensagem, verifique suas permissões!',\n type: 'danger'\n })\n }\n },\n sendContactMessageToBackend (token) {\n const data = {\n reCaptchaToken: token,\n subject: 'Contato Plano Personalizado - Data Engine',\n name: this.name,\n phone: this.phone,\n email: this.email,\n message: this.message.trim()\n }\n\n this.actionSendContactInfo(data)\n .then(() => {\n this.setTypeOfMessageNotification('success')\n\n this.sendConversionToRd()\n })\n .catch(() => {\n this.setTypeOfMessageNotification('error')\n })\n },\n sendConversionToRd () {\n const params = {\n identificador: 'data-engine-area-nao-logada-fluxo-personalizado',\n nome: this.name,\n email: this.email,\n telefone: this.phone,\n celular: this.phone,\n message: this.message.trim()\n }\n\n this.actionAddLeadToRdStation(params)\n },\n setToDefault () {\n this.name = this.email = this.phone = this.message = ''\n this.managerMessageOperation = this.isLoading = this.isValidEmail = false\n },\n setTypeOfMessageNotification (type) {\n if (type === 'success') {\n this.notificationMessage.type = 'success'\n this.notificationMessage.title = 'Pedido realizada com sucesso!'\n this.notificationMessage.description = 'Em breve entraremos em contato com você com uma ótima proposta.'\n }\n\n if (type === 'error') {\n this.notificationMessage.type = 'error'\n this.notificationMessage.title = 'Ops, ocorreu um erro ao realizar o pedido!'\n this.notificationMessage.description = 'Ocorreu um erro inesperado ao realizar o pedido, tente novamente mais tarde.'\n }\n\n setTimeout(() => {\n this.managerMessageOperation = true\n this.isLoading = !this.managerMessageOperation\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=55580240&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=55580240&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('section',{staticClass:\"container-plan-informations\",class:{ 'internal-plan-informations': _vm.internal }},[_c('section',{staticClass:\"wrapper-plan-price\",on:{\"click\":function($event){return _vm.deselectPlanOnInstance()}}},[_c('transition',{attrs:{\"name\":\"fade\"}},[(Object.keys(_vm.clonedSelectedPlan).length > 0)?_c('section',{staticClass:\"container-plan-price\"},[_c('h2',[(_vm.internal && _vm.isDesktop)?_c('span',[_vm._v(\"Realizar consulta\")]):_vm._e(),_vm._v(\"\\n\\n \"+_vm._s(_vm.internal && _vm.isDesktop ? 'Pacote ' : '')+_vm._s(_vm.clonedSelectedPlan.name)+\"\\n \")]),(_vm.isDesktop && _vm.returnTrueNameImagePlan(_vm.clonedSelectedPlan.id))?_c('img',{attrs:{\"src\":`img/plans/${_vm.returnTrueNameImagePlan(_vm.clonedSelectedPlan.id)}.svg`,\"alt\":\"icon-advanced\"}}):_vm._e(),_c('div',{staticClass:\"container-indicators\"},[(_vm.isMobile)?_c('span',{staticClass:\"indicative-stripe\"}):_vm._e(),(_vm.isMobile && _vm.clonedSelectedPlan.popular)?_c('section',{staticClass:\"most-popular-plan\"},[_c('div',[_c('img',{attrs:{\"src\":\"img/icon-plus.svg\",\"alt\":\"icon-plus\"}}),_c('span',[_vm._v(\"Popular\")])])]):_vm._e(),(Object.prototype.hasOwnProperty.call(_vm.clonedSelectedPlan, 'price'))?_c('h4',[_vm._v(\"\\n \"+_vm._s(_vm.formatMoneyToReal(_vm.clonedSelectedPlan.price))+\"\\n \")]):_vm._e()])]):_vm._e()])],1),_c('section',{staticClass:\"wrapper-content-plan\",class:{ 'no-back-button': !_vm.hasBackButton }},[_vm._t(\"messages\"),_c('section',{staticClass:\"wrapper-plan-description\"},[(_vm.isLoading && (_vm.buttonConfirm.type && _vm.buttonConfirm.text))?_c('loading',{attrs:{\"absolute\":\"\"}}):_vm._e(),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.hasBackButton)?_c('div',{staticClass:\"container-back-button\",class:{ 'disabled': _vm.isLoading }},[_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('div',{staticClass:\"container-plan-description-content\",class:{ 'disabled': _vm.isLoading },on:{\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"]))return null;return ((e) => _vm.toPrevStep(e)).apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return ((e) => _vm.toNextStep(e)).apply(null, arguments)}]}},[_vm._t(\"overlay\"),_vm._t(\"content\")],2)],1),(_vm.buttonConfirm.type && _vm.buttonConfirm.text)?_c('section',{staticClass:\"wrapper-plan-action-button\"},[_c('div',{staticClass:\"container-action-button\"},[(_vm.internal && _vm.isDesktop && _vm.buttonConfirm.message && _vm.buttonConfirm.disable)?_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.auto\",value:({ content: _vm.buttonConfirm.message, offset: 15 }),expression:\"{ content: buttonConfirm.message, offset: 15 }\",modifiers:{\"auto\":true}}],staticClass:\"validate-notify\"}):_vm._e(),_c('button',{class:`btn-${_vm.buttonConfirm.type}`,attrs:{\"disabled\":_vm.buttonConfirm.disable || _vm.isLoading},on:{\"click\":(e) => _vm.onClickItem(e)}},[_c('div',[_c('svg-loader',{attrs:{\"src\":`img/icon-${_vm.buttonConfirm.type}.svg`,\"color\":\"#fff\"}}),_c('span',[_vm._v(_vm._s(_vm.buttonConfirm.text))])],1)])])]):_vm._e()],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters } from 'vuex'\nimport SvgLoader from '../../svg-loader/index.vue'\nimport Loading from '../../loading/index.vue'\n\nexport default {\n props: {\n selectedPlan: {\n type: Object,\n required: true\n },\n internal: {\n type: Boolean,\n required: false\n },\n buttonProperties: {\n type: Object,\n required: true\n },\n isLoading: {\n type: Boolean,\n required: false\n }\n },\n components: {\n SvgLoader,\n Loading\n },\n data () {\n return {\n buttonConfirm: {\n type: '',\n disable: '',\n text: ''\n },\n clonedSelectedPlan: {},\n clientPlan: null,\n planTypes: []\n }\n },\n watch: {\n selectedPlan (val) {\n this.setSelectedPlan(val)\n },\n buttonProperties () {\n this.returnTrueValuesForButton()\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount'\n ]),\n hasBackButton () {\n return this.buttonConfirm.type !== '' && this.buttonConfirm.type !== 'consult' && Object.prototype.hasOwnProperty.call(this.buttonProperties, 'steps')\n }\n },\n async mounted () {\n await this.checkIsCustom()\n\n this.returnTrueValuesForButton()\n\n this.setSelectedPlan(this.selectedPlan)\n\n this.blockDocumentScroll('hidden')\n },\n beforeDestroy () {\n this.blockDocumentScroll('auto')\n },\n methods: {\n ...mapActions([\n 'actionGetPlanTypes',\n 'actionGetUserData'\n ]),\n toNextStep (e) {\n if (this.isDesktop && (this.buttonConfirm.type && this.buttonConfirm.text) && !this.buttonConfirm.disable) {\n this.onClickItem(e)\n }\n },\n toPrevStep (e) {\n if (this.isDesktop && this.buttonConfirm.type !== '' && this.buttonConfirm.type !== 'consult' && Object.prototype.hasOwnProperty.call(this.buttonProperties, 'steps')) {\n this.onClickBackButton(e)\n }\n },\n parseJwt (token) {\n const base64Url = token.split('.')[1]\n const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/')\n\n return JSON.parse(window.atob(base64))\n },\n async checkIsCustom () {\n const parsedToken = this.parseJwt(this.getterAccount.access_token)\n\n this.planTypes = await this.actionGetPlanTypes()\n const userData = await this.actionGetUserData(parsedToken.usi)\n this.clientPlan = userData.data.client.planType\n },\n\n setSelectedPlan (item) {\n let price = 0\n if (this.clientPlan.name === 'Custom') {\n if (item.price && item.price > 0) {\n price += item.price\n } else if (item.baskets && item.baskets.length > 0) {\n item.baskets.forEach(basket => {\n price += basket.basketPrice\n })\n }\n } else if (item.type === 'kyc') {\n item.baskets.forEach(basket => {\n price += basket.authorizedProvider.systemProvider.systemProviderSalesValues.filter(value => value.idPlanType === this.clientPlan.idPlanType)[0].saleValue * this.clientPlan.kycPercentage\n })\n } else {\n item.baskets.forEach(basket => {\n price += basket.authorizedProvider.systemProvider.systemProviderSalesValues.filter(value => value.idPlanType === this.clientPlan.idPlanType)[0].saleValue\n })\n }\n item.price = Math.round(price * 100) / 100\n this.clonedSelectedPlan = item\n },\n returnTrueNameImagePlan (id) {\n let result = ''\n\n switch (id) {\n case 0:\n result = 'icon-basic-i'\n break\n case 1:\n result = 'icon-basic-ii'\n break\n case 2:\n result = 'icon-intermediary'\n break\n case 3:\n result = 'icon-advanced'\n break\n default:\n result = 'icon-custom'\n }\n\n return result\n },\n returnTrueValuesForButton () {\n if (this.buttonProperties) {\n if (Object.prototype.hasOwnProperty.call(this.buttonProperties, 'steps')) {\n if (this.buttonProperties.steps.currentStep === 0) {\n this.buttonConfirm.type = 'consult'\n this.buttonConfirm.text = 'Consultar'\n } else if (this.buttonProperties.steps.currentStep !== this.buttonProperties.steps.totalSteps) {\n this.buttonConfirm.type = 'next'\n this.buttonConfirm.text = 'Próximo'\n } else {\n this.buttonConfirm.type = 'finalize-payment'\n this.buttonConfirm.text = 'Finalizar pagamento'\n }\n } else {\n this.buttonConfirm.type = 'send'\n this.buttonConfirm.text = 'Enviar'\n }\n\n this.buttonConfirm = {\n ...this.buttonConfirm,\n ...this.buttonProperties\n }\n\n delete this.buttonConfirm.actionItem\n delete this.buttonConfirm.onBack\n delete this.buttonConfirm.steps\n }\n },\n deselectPlanOnInstance () {\n if (this.isMobile) {\n this.$eventBus.$emit('DeselectPlan')\n }\n },\n blockDocumentScroll (value) {\n if (this.isMobile) {\n setTimeout(() => {\n document.documentElement.style.overflow = value\n }, 300)\n }\n },\n onClickBackButton (e) {\n this.buttonProperties.onBack(e)\n\n this.$emit('directionFlux', 'prev')\n },\n onClickItem (e) {\n if (!this.isLoading) {\n this.buttonProperties.actionItem(e)\n }\n\n this.$emit('directionFlux', 'next')\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=84fd5a1e&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=84fd5a1e&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('plan-structure',{staticClass:\"internal-search-packages hasIndicators\",class:{ 'is-last-step': _vm.steps.currentStep === _vm.steps.totalSteps },attrs:{\"selected-plan\":_vm.selectedPlan,\"button-properties\":{ 'steps': _vm.steps, 'actionItem': () => _vm.onClickMainButton(), 'onBack': () => _vm.onClickBackButton(), 'disable': _vm.actionButtonDisable, 'message': _vm.actionButtonMessage },\"is-loading\":_vm.isLoading,\"internal\":_vm.internal},on:{\"directionFlux\":(val) => _vm.directionFlux = val}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"slot\":\"messages\",\"action-buttons\":_vm.notificationMessage.actionButtons,\"title\":_vm.notificationMessage.title,\"type\":_vm.notificationMessage.type,\"description\":_vm.notificationMessage.description},slot:\"messages\",model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),_c('transition',{attrs:{\"slot\":\"overlay\",\"name\":\"fade\"},slot:\"overlay\"},[(_vm.steps.currentStep === 0 && _vm.managerListProviders && (_vm.selectedPlan.baskets && _vm.selectedPlan.baskets.length > 0))?_c('section',{staticClass:\"container-plan-list-providers\"},[_c('h5',{staticClass:\"title-providers\"},[_vm._v(\"\\n Confira as informações que você obtêm com essa consulta:\\n \")]),_c('div',{staticClass:\"container-list-providers\"},_vm._l((Object.keys(_vm.halfSizeAllAuthorizedProvider(_vm.selectedPlan.baskets))),function(itemList,indexList){return _c('ul',{key:indexList,staticClass:\"list-providers\"},_vm._l((_vm.halfSizeAllAuthorizedProvider(_vm.selectedPlan.baskets)[itemList]),function(item,index){return _c('li',{key:index},[_vm._v(\"\\n \"+_vm._s(item.alias || item.name)+\"\\n \")])}),0)}),0),((_vm.selectedPlan.type && (_vm.selectedPlan.type === _vm.basketTypes.HIERARQUICA)) && (_vm.keysBasketSelected && _vm.keysBasketSelected.length > 0))?_c('ul',{staticClass:\"wrapper-hierarquical-list-providers\"},_vm._l((_vm.keysBasketSelected),function(item,index){return (_vm.selectedPlan[item])?_c('li',{key:index,staticClass:\"item-hierarquical-list-providers\"},[_c('h5',{staticClass:\"title-providers\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedPlan[item].name)+\"\\n\\n \"),_c('span',[_vm._v(_vm._s(_vm.formatMoneyToReal(_vm.returnSumPriceBasket(_vm.selectedPlan[item]))))])]),_c('div',{staticClass:\"container-list-providers\"},_vm._l((Object.keys(_vm.halfSizeAllAuthorizedProvider(_vm.selectedPlan[item].baskets))),function(itemList,indexList){return _c('ul',{key:indexList,staticClass:\"list-providers\"},_vm._l((_vm.halfSizeAllAuthorizedProvider(_vm.selectedPlan[item].baskets)[itemList]),function(childItem,childIndex){return _c('li',{key:childIndex},[_vm._v(\"\\n \"+_vm._s(childItem.alias || childItem.name)+\"\\n \")])}),0)}),0)]):_vm._e()}),0):_vm._e(),_c('button',{staticClass:\"btn-close-list-providers\",attrs:{\"title\":\"Esconder informações do pacote\"},on:{\"click\":function($event){_vm.managerListProviders = false}}},[_vm._v(\"\\n Esconder informações do pacote\\n\\n \"),_c('svg-loader',{attrs:{\"src\":\"img/icon-list.svg\"}})],1)]):_vm._e()]),_c('transition-group',{staticClass:\"list-plan-description\",attrs:{\"slot\":\"content\",\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"},slot:\"content\"},[(_vm.steps.currentStep === 0)?_c('li',{key:\"0\",staticClass:\"item-plan-description\"},[(Object.prototype.hasOwnProperty.call(_vm.selectedPlan, 'description') && _vm.selectedPlan.description)?_c('h5',{staticClass:\"form-subtitle\"},[(_vm.selectedPlan.description.includes('<'))?_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.selectedPlan.description)}}):_c('span',[_vm._v(_vm._s(_vm.selectedPlan.description))])]):_vm._e(),_c('section',{staticClass:\"container-step\"},[(_vm.selectedPlan.baskets && _vm.selectedPlan.baskets.length > 0)?_c('button',{staticClass:\"btn-view-providers\",attrs:{\"title\":\"Visualizar informações do pacote\"},on:{\"click\":function($event){_vm.managerListProviders = true}}},[_vm._v(\"\\n Visualizar informações do pacote\\n\\n \"),_c('svg-loader',{attrs:{\"src\":\"img/icon-list.svg\"}})],1):_vm._e(),_c('h4',{staticClass:\"form-title\"},[_vm._v(\"\\n Informe os dados do consultado\\n \")]),_c('section',{staticClass:\"wrapper-list-request-fields\"},[(!_vm.isLoading && (_vm.allRequestFieldsOrderedByRequired && _vm.allRequestFieldsOrderedByRequired.length > 0))?_c('div',{staticClass:\"container-list-request-fields\"},[_c('span',{staticClass:\"note-required-fields\"},[_vm._v(\"Campos obrigatórios: \"),_c('strong',[_vm._v(\"*\")])]),_c('ul',{ref:\"listRequestFields\",staticClass:\"list-request-fields\"},_vm._l((_vm.allRequestFieldsOrderedByRequired),function(item,index){return _c('li',{key:index,staticClass:\"item-request-field\"},[(item.name.includes('cpf') || item.name.includes('cnpj') || item.name.includes('email'))?_c('input-field',{attrs:{\"type\":_vm.returnTrueTypeInput(item.name),\"title\":`${_vm.formatTitleInput(item)} ${item.required ? '*' : ''}`},on:{\"valid\":(value) => item.isValid = value},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}}):(item.name.includes('uf') || item.name.includes('sexo'))?_c('select-menu',{attrs:{\"list\":item.name.includes('uf') ? _vm.states : ['M', 'F'],\"title\":`${_vm.formatTitleInput(item)} ${item.required ? '*' : ''}`,\"item-text\":item.name.includes('uf') ? 'initials' : '',\"item-value\":item.name.includes('uf') ? 'initials' : ''},on:{\"actionItem\":(value) => item.value = value}}):(item.name.includes('data') || item.name.includes('telefone') || item.name.includes('cep'))?_c('input-field',{attrs:{\"mask\":_vm.returnTrueMask(item.name, item.value),\"title\":`${_vm.formatTitleInput(item)} ${item.required ? '*' : ''}`},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}}):_c('input-field',{attrs:{\"title\":`${_vm.formatTitleInput(item)} ${item.required ? '*' : ''}`},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}})],1)}),0)]):_vm._e(),(!_vm.isLoading && (_vm.allRequestFieldsOrderedByRequired && _vm.allRequestFieldsOrderedByRequired.length === 0))?_c('span',{staticClass:\"no-results\"},[_vm._v(\"\\n Nenhum campo requerido encontrado\\n \")]):_vm._e()])])]):_vm._e(),(_vm.steps.currentStep === 1)?_c('li',{key:\"1\",staticClass:\"item-plan-description\"},[_c('section',{staticClass:\"container-confirm-consult\"},[_c('div',{staticClass:\"content-confirm-consult\"},[_c('img',{attrs:{\"src\":\"img/icon-confirm-consult.svg\",\"alt\":\"icon-confirm-consult\"}}),_c('h1',[_vm._v(\"Confirmar consulta\")]),_c('h2',[_vm._v(\"Consulta do Pacote \"+_vm._s(_vm.selectedPlan.name)+\" por \"+_vm._s(_vm.formatMoneyToReal(_vm.selectedPlan.price)))]),(_vm.returnCpfOrCnpj)?_c('h4',[_vm._v(\"\\n Informações da consulta\\n \")]):_vm._e(),(_vm.returnCpfOrCnpj)?_c('h3',[_vm._v(\"\\n \"+_vm._s(_vm.returnCpfOrCnpj.title)+\" Consultado: \"+_vm._s(_vm.returnCpfOrCnpj.value)+\"\\n \")]):_vm._e()])])]):_vm._e()])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters } from 'vuex'\nimport { orderBy, cloneDeep } from 'lodash'\nimport moment from 'moment'\nimport States from '@/helper/States'\nimport * as BasketTypes from '@/helper/BasketTypes'\nimport PlanStructure from '../plan-structure/index.vue'\nimport SvgLoader from '../../svg-loader/index.vue'\nimport SelectMenu from '../../select-menu/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\n\nexport default {\n props: {\n internal: {\n type: Boolean,\n required: true\n },\n selectedPlan: {\n type: Object,\n required: true\n }\n },\n components: {\n PlanStructure,\n SvgLoader,\n SelectMenu,\n InputField,\n MessageNotification\n },\n data () {\n return {\n steps: {\n currentStep: 0,\n totalSteps: 1\n },\n isLoading: false,\n basketTypes: BasketTypes,\n managerMessageOperation: false,\n managerListProviders: false,\n directionFlux: 'next',\n attemptToStep: 0,\n notificationMessage: {\n actionButtons: [\n { name: 'Finalizar', type: 'primary-green', 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 states: States,\n keysBasketSelected: [\n 'providerFlowChildrenRoot',\n 'providerFlowChildrenPF',\n 'providerFlowChildrenPJ'\n ]\n }\n },\n computed: {\n ...mapGetters([\n 'getterAllRequestFieldsBySystemProvider',\n 'getterAccount'\n ]),\n actionButtonDisable () {\n let result = false\n\n if ((this.steps.currentStep === 0 && (this.verifyItensFilled && this.verifyItensFilled.length > 0))) {\n result = true\n }\n\n let isAllBlank = true\n this.allRequestFieldsOrderedByRequired.forEach(item => {\n if (item.value.length > 0) {\n if (((item.name === 'cpf' || item.name === 'cnpj') && item.isValid) || (item.name !== 'cpf' && item.name !== 'cnpj')) {\n isAllBlank = false\n }\n }\n })\n if (isAllBlank === true) {\n result = true\n }\n\n return result\n },\n actionButtonMessage () {\n let result = 'Este plano não está disponível no momento'\n\n if (this.verifyItensFilled && this.verifyItensFilled.length > 0) {\n result = 'Para continuar, todos os campos REQUERIDOS (*) devem estar preenchidos!'\n }\n\n return result\n },\n allRequestFieldsOrderedByRequired () {\n return orderBy(this.getterAllRequestFieldsBySystemProvider, ['required', 'name'], ['desc'])\n },\n onlyRequiredFields () {\n return this.allRequestFieldsOrderedByRequired.filter(item => item.required)\n },\n verifyItensFilled () {\n return this.onlyRequiredFields.filter(item => item.value === '' || (Object.prototype.hasOwnProperty.call(item, 'isValid') && !item.isValid))\n },\n returnCpfOrCnpj () {\n const filteredFields = this.allRequestFieldsOrderedByRequired.filter(item => item.name === 'cpf' || item.name === 'cnpj' || item.name === 'nome')\n let result = ''\n\n if (filteredFields && filteredFields.length > 0) {\n const recoveryCnpj = filteredFields.find(item => item.name === 'cnpj')\n const recoveryCpf = filteredFields.find(item => item.name === 'cpf')\n const recoveryName = filteredFields.find(item => item.name === 'nome')\n\n if (recoveryCnpj) {\n result = { title: 'CNPJ', value: recoveryCnpj.value }\n } else if (recoveryCpf) {\n result = { title: 'CPF', value: recoveryCpf.value }\n } else {\n result = { title: 'Nome', value: recoveryName.value || 'Não informado' }\n }\n }\n\n return result\n }\n },\n mounted () {\n if (Object.prototype.hasOwnProperty.call(this.selectedPlan, 'idProviderFlow')) {\n this.getAllRequestFieldsBySystemProvider(this.selectedPlan.idProviderFlow)\n }\n },\n methods: {\n ...mapActions([\n 'actionGetAllRequestFieldsBySystemProvider',\n 'actionAddCallManager'\n ]),\n onClickBackButton () {\n this.steps.currentStep -= 1\n },\n onClickMainButton () {\n if (this.steps.currentStep < this.steps.totalSteps) {\n this.steps.currentStep += 1\n } else {\n this.paymentPackage()\n }\n },\n halfSizeAllAuthorizedProvider (list) {\n let result = {}\n\n if (list && list.length > 0) {\n if (this.isDesktop) {\n const mappedList = list.map(item => ({ name: Object.prototype.hasOwnProperty.call(item, 'authorizedProvider') ? item.authorizedProvider.systemProvider.name : item.idAuthorizedProvider, alias: item.alias }))\n const halfLength = Math.ceil(mappedList.length / 2)\n const leftSide = cloneDeep(mappedList).splice(0, halfLength)\n const rightSide = cloneDeep(mappedList).splice(halfLength, mappedList.length)\n\n if (rightSide && rightSide.length > 0) {\n result = {\n leftSide,\n rightSide\n }\n } else {\n result = {\n leftSide\n }\n }\n } else {\n const mappedList = list.map(item => ({ name: Object.prototype.hasOwnProperty.call(item, 'authorizedProvider') ? item.authorizedProvider.systemProvider.name : item.idAuthorizedProvider, alias: item.alias }))\n\n result = {\n mappedList\n }\n }\n }\n\n return result\n },\n returnTrueTypeInput (value) {\n let result = ''\n\n if (value.includes('cpf')) {\n result = 'cpf'\n } else if (value.includes('cnpj')) {\n result = 'cnpj'\n } else if (value.includes('email')) {\n result = 'email'\n }\n\n return result\n },\n returnTrueMask (value, item) {\n let result = ''\n\n if (value.includes('data')) {\n result = '##/##/####'\n } else if (value.includes('telefone')) {\n if (item && item.length > 16) {\n result = '(##) ##### - ####'\n } else {\n result = '(##) #### - ####'\n }\n } else if (value.includes('cep')) {\n result = '#####-###'\n }\n\n return result\n },\n formatTitleInput (item) {\n let result = item.name.replace(/_/g, ' ').toLowerCase()\n\n if (result.includes('cpf') || result.includes('cnpj') || result.includes('uf') || result.includes('cep') || result.includes('cnh')) {\n const splitedResult = result.split(' ')\n\n result = splitedResult.map(item => {\n let recoveryItem = item\n\n if (recoveryItem === 'cpf' || recoveryItem === 'cnpj' || recoveryItem === 'uf' || recoveryItem === 'cep' || recoveryItem === 'cnh') {\n recoveryItem = recoveryItem.toUpperCase()\n }\n\n return recoveryItem\n }).join(' ')\n }\n\n return result\n },\n getAllRequestFieldsBySystemProvider (idProviderFlow) {\n this.isLoading = true\n\n this.actionGetAllRequestFieldsBySystemProvider(idProviderFlow)\n .then(() => {\n this.isLoading = false\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao buscar os campos, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.isLoading = false\n })\n },\n removeMaskFromData (item) {\n let result = ''\n\n if (item.name.includes('cpf') || item.name.includes('cnpj') || item.name.includes('telefone') || item.name.includes('cep')) {\n result = item.value.toString().replace(/[^\\w\\s]/gi, '').replace(/\\s/g, '')\n } else if (item.name.includes('data')) {\n if (item.value === '') {\n result = ''\n } else {\n result = moment(item.value, 'DD/MM/YYYY').format('YYYY-MM-DD')\n }\n } else {\n result = item.value\n }\n\n return result\n },\n paymentPackage () {\n const fields = this.allRequestFieldsOrderedByRequired.map(item => ({ field: item.name, value: this.removeMaskFromData(item) }))\n const params = {\n idProviderFlow: this.selectedPlan.idProviderFlow,\n fields,\n origin: 'Data Engine Painel Cliente - Área Logada - Página Realizar Consulta',\n nameUser: this.getterAccount.userName,\n idUserLogged: this.getterAccount.idUser\n }\n\n if (fields && fields.length > 0) {\n this.isLoading = true\n\n this.actionAddCallManager(params)\n .then((response) => {\n const allParams = {\n ...params,\n ...response.data\n }\n\n this.setTypeOfMessageNotification('success', allParams)\n })\n .catch(error => {\n this.setTypeOfMessageNotification('error', error)\n })\n }\n },\n setTypeOfMessageNotification (type, response) {\n if (type) {\n if (type === 'success') {\n this.notificationMessage.type = 'success'\n this.notificationMessage.title = 'Operação realizada com sucesso!'\n this.notificationMessage.description = 'Em breve o Dossiê com os resultados da sua consulta estará disponível na página de Minhas Consultas'\n this.notificationMessage.actionButtons = [\n { name: 'Finalizar', type: 'secondary-border-purple', action: () => this.setToDefault() },\n {\n name: 'Visualizar consultas',\n type: 'primary-green',\n action: () => this.redirectToConsultsPage(response)\n }\n ]\n }\n\n if (type === 'error') {\n this.notificationMessage.type = 'error'\n this.notificationMessage.actionButtons = [\n {\n name: 'Tentar novamente',\n type: 'primary-green',\n action: () => this.actionToConsultMore()\n }\n ]\n if (response.status === 400) {\n this.notificationMessage.title = response.data.message\n this.notificationMessage.description = 'Verifique mais informações sobre a compra de créditos, clicando no \"+\" ao lado do botão \"Ver Saldo\"'\n } else {\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 }\n }\n\n if (response) {\n const updatedResponse = Object.prototype.hasOwnProperty.call(response, 'response') ? response.response : response\n\n if (updatedResponse.status && updatedResponse.status === 401) {\n const insufficientCredit = 'INSUFFICIENT_CREDIT'\n\n switch (updatedResponse.data.code) {\n case 'INSUFFICIENT_LIMIT':\n this.notificationMessage.type = 'info'\n this.notificationMessage.title = 'Libere o seu limite!'\n this.notificationMessage.description = 'Você não tem limite suficiente para processar a cesta, entre em contato caso queira liberar o limite disponível.'\n\n break\n case insufficientCredit:\n this.notificationMessage.type = 'info'\n this.notificationMessage.title = 'Sem saldo disponível!'\n this.notificationMessage.description = 'Você não possui saldo suficiente para realizar essa operação. Você pode adicionar saldo clicando no botão \"mais (+)\" no menu principal abaixo do nome do usuário.'\n\n break\n case 'RABBIT_CALLMANAGER_ERROR':\n this.notificationMessage.title = 'Ops, ocorreu um erro ao realizar a operação!'\n this.notificationMessage.description = 'Ocorreu um erro de conexão com um de nossos serviços, aguarde alguns minutos e tente novamente!'\n\n break\n case 'DISABLED_USER':\n this.notificationMessage.title = 'Usuário bloqueado!'\n this.notificationMessage.description = 'O seu usuário foi bloqueado e não pode realizar consultas no momento, entre em contato para mais informações!'\n\n break\n case 'DISABLED_CLIENT':\n this.notificationMessage.title = 'Cliente bloqueado!'\n this.notificationMessage.description = 'O cliente foi bloqueado e não pode realizar consultas no momento, entre em contato para mais informações!'\n\n break\n default:\n this.notificationMessage.title = 'Ops, ocorreu um erro ao realizar a operação!'\n this.notificationMessage.description = 'Ocorreu um erro desconhecido ao realizar esta operação, verifique com o suporte!'\n }\n\n if (updatedResponse.data.code === insufficientCredit) {\n this.notificationMessage.actionButtons = [\n { name: 'Adicionar saldo', type: 'primary-purple', action: () => this.openAddBalanceModal() }\n ]\n } else {\n this.notificationMessage.actionButtons = [\n { name: 'Finalizar', type: 'primary-purple', action: () => this.setToDefault() }\n ]\n }\n }\n }\n\n setTimeout(() => {\n this.managerMessageOperation = true\n this.isLoading = !this.managerMessageOperation\n })\n }\n },\n openAddBalanceModal () {\n document.getElementsByClassName('btn-more-money')[0].click()\n\n setTimeout(() => {\n this.setToDefault()\n }, 300)\n },\n redirectToConsultsPage () {\n this.$router.push({ name: 'ListQueries' })\n },\n actionToConsultMore () {\n this.resetValues(1)\n },\n setToDefault () {\n this.resetValues(0)\n },\n resetValues (value) {\n setTimeout(() => {\n this.steps.currentStep = 0\n\n if (value === 0) {\n this.allRequestFieldsOrderedByRequired.forEach(item => {\n item.value = ''\n item.isValid = false\n })\n }\n }, 280)\n\n this.managerMessageOperation = this.isLoading = 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=91f1e896&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=91f1e896&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=55580240&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('plan-structure',{staticClass:\"internal-custom-search-packages hasIndicators\",attrs:{\"selected-plan\":_vm.selectedPlan,\"button-properties\":{ 'actionItem': () => _vm.onClickMainButton(), 'disable': _vm.actionButtonDisable },\"is-loading\":_vm.isLoading,\"internal\":_vm.internal},on:{\"directionFlux\":(val) => _vm.directionFlux = val}},[(_vm.managerMessageOperation)?_c('message-notification',{attrs:{\"slot\":\"messages\",\"action-buttons\":_vm.notificationMessage.actionButtons,\"title\":_vm.notificationMessage.title,\"type\":_vm.notificationMessage.type,\"description\":_vm.notificationMessage.description},slot:\"messages\",model:{value:(_vm.managerMessageOperation),callback:function ($$v) {_vm.managerMessageOperation=$$v},expression:\"managerMessageOperation\"}}):_vm._e(),_c('transition-group',{staticClass:\"list-plan-description\",attrs:{\"slot\":\"content\",\"name\":`slide-${_vm.directionFlux}`,\"appear\":_vm.isDesktop,\"tag\":\"ul\"},slot:\"content\"},[_c('li',{key:\"0\",staticClass:\"item-plan-description\"},[_c('h5',{staticClass:\"form-subtitle\"},[_vm._v(\"\\n Crie pacotes personalizados que atendam melhor o seu negócio! Descreva abaixo quais informações você deseja checar e/ou validar dos seus clientes e rapidamente entraremos em contato com uma ótima proposta para você!\\n \")]),_c('section',{staticClass:\"container-step\"},[_c('form',{staticClass:\"generic-form\",attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.message),expression:\"message\"}],ref:\"messageField\",attrs:{\"placeholder\":\"Sua mensagem...\"},domProps:{\"value\":(_vm.message)},on:{\"input\":function($event){if($event.target.composing)return;_vm.message=$event.target.value}}})])])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters } from 'vuex'\nimport PlanStructure from '../plan-structure/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\n\nexport default {\n props: {\n internal: {\n type: Boolean,\n required: true\n },\n selectedPlan: {\n type: Object,\n required: true\n }\n },\n components: {\n PlanStructure,\n MessageNotification,\n InputField\n },\n data () {\n return {\n isLoading: false,\n message: '',\n managerMessageOperation: false,\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 directionFlux: 'next'\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount'\n ]),\n actionButtonDisable () {\n let result = false\n\n if (this.message.trim() === '') {\n result = true\n }\n\n return result\n }\n },\n mounted () {\n this.$refs.messageField.focus()\n },\n methods: {\n ...mapActions([\n 'actionSendContactInfo',\n 'actionAddLeadToRdStation'\n ]),\n onClickMainButton () {\n const data = {\n subject: 'Contato Plano Personalizado - Data Engine - Área Logada',\n name: this.getterAccount.userName,\n email: this.getterAccount.email,\n message: this.message.trim()\n }\n\n this.isLoading = true\n\n this.actionSendContactInfo(data)\n .then(() => {\n this.setTypeOfMessageNotification('success')\n\n this.sendConversionToRd()\n })\n .catch(() => {\n this.setTypeOfMessageNotification('error')\n })\n },\n sendConversionToRd () {\n const params = {\n identificador: 'data-engine-area-logada-fluxo-personalizado',\n nome: this.getterAccount.userName,\n email: this.getterAccount.email,\n message: this.message.trim()\n }\n\n this.actionAddLeadToRdStation(params)\n },\n setToDefault () {\n this.message = ''\n this.managerMessageOperation = this.isLoading = false\n },\n setTypeOfMessageNotification (type) {\n if (type === 'success') {\n this.notificationMessage.type = 'success'\n this.notificationMessage.title = 'Pedido realizada com sucesso!'\n this.notificationMessage.description = 'Em breve entraremos em contato com você com uma ótima proposta.'\n }\n\n if (type === 'error') {\n this.notificationMessage.type = 'error'\n this.notificationMessage.title = 'Ops, ocorreu um erro ao realizar o pedido!'\n this.notificationMessage.description = 'Ocorreu um erro inesperado ao realizar o pedido, tente novamente mais tarde.'\n }\n\n setTimeout(() => {\n this.managerMessageOperation = true\n this.isLoading = !this.managerMessageOperation\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=5e9b0d8b&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=5e9b0d8b&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=84fd5a1e&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=5e9b0d8b&prod&lang=scss\""],"sourceRoot":""}