{"version":3,"sources":["webpack:///./src/components/modals/modal-structure/index.vue","webpack:///./src/components/modals/modal-structure/scripts.js","webpack:///./src/components/modals/modal-structure/scripts.js?4dde","webpack:///./src/components/modals/modal-structure/index.vue?f4e7","webpack:///./src/components/modals/legend-tree/index.vue?241d","webpack:///./src/components/modals/view-selected-hierarquical/index.vue?4121","webpack:///./src/components/modals/new-individual-consultation/index.vue","webpack:///./src/components/modals/new-individual-consultation/scripts.js","webpack:///./src/components/modals/new-individual-consultation/scripts.js?f339","webpack:///./src/components/modals/new-individual-consultation/index.vue?0854","webpack:///./src/components/modals/tree-query-history/index.vue","webpack:///./src/components/modals/tree-query-history/scripts.js","webpack:///./src/components/modals/tree-query-history/scripts.js?8147","webpack:///./src/components/modals/tree-query-history/index.vue?ce93","webpack:///./src/components/modals/view-selected-hierarquical/index.vue","webpack:///./src/components/modals/view-selected-hierarquical/scripts.js","webpack:///./src/components/modals/view-selected-hierarquical/scripts.js?1531","webpack:///./src/components/modals/view-selected-hierarquical/index.vue?ac36","webpack:///./src/components/modals/query-analysis/index.vue?2006","webpack:///./src/components/modals/modal-structure/index.vue?af07","webpack:///./src/components/modals/tree-query-history/index.vue?9e07","webpack:///./src/components/modals/new-individual-consultation/index.vue?5ac8","webpack:///./src/components/modals/view-selected-scheduled/index.vue?8724","webpack:///./src/components/modals/query-analysis/index.vue","webpack:///./src/components/modals/query-analysis/scripts.js","webpack:///./src/components/modals/query-analysis/scripts.js?65d9","webpack:///./src/components/modals/query-analysis/index.vue?5db7","webpack:///./src/components/modals/view-selected-scheduled/index.vue","webpack:///./src/components/modals/view-selected-scheduled/scripts.js","webpack:///./src/components/modals/view-selected-scheduled/scripts.js?b799","webpack:///./src/components/modals/view-selected-scheduled/index.vue?1445","webpack:///./src/components/modals/legend-tree/index.vue","webpack:///./src/components/modals/legend-tree/scripts.js","webpack:///./src/components/modals/legend-tree/scripts.js?acb6","webpack:///./src/components/modals/legend-tree/index.vue?46be"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","value","staticClass","class","isLoading","internal","on","$event","closeModal","style","width","e","stopPropagation","_t","title","includes","domProps","_s","_e","_v","primaryButton","text","staticStyle","disable","onClick","icon","staticRenderFns","components","SvgLoader","props","required","type","Boolean","Object","Number","String","methods","$emit","component","newIndividualConsultation","isDisabledButton","loading","model","propValue","callback","$$v","expression","managerMessageOperation","notificationMessage","actionButtons","description","directionFlux","isDesktop","steps","currentStep","key","documentType","PHYSICAL_PERSON","getterSelectedRelationshipTreeNode","document","keys","selectedPlan","length","isLoadingAllRequestFields","numberOfChildrenCPF","numberOfChildrenCNPJ","directives","name","rawName","allNode","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","slice","filteredProviderFlow","isLoadingProviderFlowByType","formatMoneyToReal","filteredPriceSelectedBasket","item","filteredProviderFlowCNPJ","selectedPlanCNPJ","filteredPriceSelectedBasketCNPJ","totalPriceCNPJ","filteredProviderFlowCPF","selectedPlanCPF","filteredPriceSelectedBasketCPF","totalPriceCPF","prototype","hasOwnProperty","call","allRequestFieldsOrderedByRequired","ref","_l","index","returnTrueTypeInput","formatTitleInput","isValid","$set","states","returnTrueMask","finalPrice","headersList","actionsDataTable","isLoadingDatatable","filtersDataTable","slot","onClickMainButton","onClickBackButton","ModalStructure","InputField","SelectMenu","DatatableQueries","MessageNotification","Loading","mixins","ExportFiles","data","totalSteps","cpfOrCnpj","isValidCpfOrCnpj","isLoadingAllRequestFieldsCPF","isLoadingAllRequestFieldsCNPJ","firstCheck","DocumentType","action","alignHeader","alignData","list","iconName","itemButton","clickToView","States","computed","mapGetters","get","set","newValue","console","log","price","baskets","forEach","provider","basketPrice","authorizedProvider","systemProvider","minimumPrice","orderBy","getterAllRequestFieldsBySystemProvider","indexDocument","findIndex","indexName","allRequestFieldsOrderedByRequiredCPF","getterAllRequestFieldsBySystemProviderCPF","allRequestFieldsOrderedByRequiredCNPJ","getterAllRequestFieldsBySystemProviderCNPJ","onlyRequiredFields","filter","onlyRequiredFieldsCPF","onlyRequiredFieldsCNPJ","verifyItensFilled","verifyItensFilledCPF","verifyItensFilledCNPJ","result","getterAllProviderFlowByType","providerFlowsPF","providerFlowsPJ","children","flux","watch","handler","val","changeFiltersCallManager","deep","getAllRequestFieldsBySystemProvider","idProviderFlow","getAllRequestFieldsBySystemProviderCPF","getAllRequestFieldsBySystemProviderCNPJ","sendToast","mounted","getAllProviderFlowByType","beforeDestroy","SET_SELECTED_RELATIONSHIP_TREE_NODE","mapActions","mapMutations","replace","toLowerCase","splitedResult","split","map","recoveryItem","toUpperCase","join","actionGetAllRequestFieldsBySystemProvider","then","catch","actionGetAllRequestFieldsBySystemProviderCPF","response","actionGetAllRequestFieldsBySystemProviderCNPJ","downloadLink","url","Const","API_DOSSIE","idCallManager","fileName","params","idClient","getterAccount","client","actionGetAllProviderFlowByType","idTree","getterSelectedRelationshipTree","id","cpf","toString","page","size","startDate","createdAt","endDate","moment","Date","format","sortBy","descending","removeMaskFromData","fields","field","callmanagers","individualParams","paramsNode","body","origin","nameUser","userName","idUserLogged","idUser","push","actionAddCallManagerFromTree","allParams","setTypeOfMessageNotification","error","refreshData","actionGetRelationshipTreeById","redirectToConsultsPage","setToDefault","updatedResponse","status","insufficientCredit","code","openAddBalanceModal","setTimeout","$router","query","hasAbsoluteContent","created","getterSelectedCallManager","basketName","CustomTable","getterHierarchicalDetails","getHierarchicalDetails","SET_SELECTED_CALLMANAGER","actionGetHierarchicalDetails","idParentCallManager","addPld","message","isLoadingAllPlds","filteredDataTableContent","getterSelectedPld","preventDefault","messageLength","indexOf","_k","keyCode","composing","breakContent","requisitionAttempts","getterAllPlds","getAllPlds","SET_SELECTED_PLD","trim","dateAndTime","actionAddPld","actionGetAllPlds","getterPreviousScheduledCallManagersInfo","getPreviousScheduledCallManagersInfo","actionGetPreviousScheduledCallManagers","idOriginCallManager"],"mappings":"gIAAIA,G,oBAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,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AKC,GAEHC,QAAQC,IAAI,WAAYF,OCxBgR,I,wBCQ5SzG,EAAY,eACd,EACA5C,EACAgC,GACA,EACA,KACA,KACA,MAIa,OAAAY,E","file":"js/app~da8ff212.e101db19.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.value)?_c('section',{staticClass:\"container-modal\",class:{ 'isLoading': _vm.isLoading, 'internal': _vm.internal },on:{\"click\":function($event){return _vm.closeModal()}}},[_c('div',{staticClass:\"modal\",style:({ 'width': !_vm.internal ? _vm.width + 'px' : '' }),on:{\"click\":(e) => { e.stopPropagation() }}},[_vm._t(\"notification\"),_c('button',{staticClass:\"btn-close-modal\",on:{\"click\":function($event){return _vm.closeModal()}}},[_c('svgLoader',{attrs:{\"src\":\"img/btn-close.svg\",\"color\":\"#fff\"}})],1),(_vm.title)?_c('div',{staticClass:\"modal-title\"},[(_vm.title.includes('<'))?_c('h1',{domProps:{\"innerHTML\":_vm._s(_vm.title)}}):_vm._e(),(!_vm.title.includes('<'))?_c('h1',[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"modal-content\"},[_vm._t(\"default\")],2),_vm._t(\"actions\"),(_vm.primaryButton)?_c('div',{staticClass:\"modal-action-buttons\"},[_c('button',{staticClass:\"generic-button secondary-border-purple\",class:{ 'secondary-purple-light': !_vm.internal, 'secondary-green-light': _vm.internal },on:{\"click\":function($event){return _vm.closeModal()}}},[_c('span',{staticClass:\"text\"},[_vm._v(\"\\n Cancelar\\n \")])]),(_vm.primaryButton && _vm.primaryButton.text)?_c('button',{staticClass:\"generic-button primary-green\",class:{ 'loading': _vm.isLoading, 'primary-green': !_vm.internal, 'primary-green': _vm.internal },staticStyle:{\"color\":\"black\"},attrs:{\"disabled\":_vm.primaryButton.disable},on:{\"click\":function($event){return _vm.primaryButton.onClick()}}},[(_vm.primaryButton.icon)?_c('svg-loader',{attrs:{\"src\":`img/${_vm.primaryButton.icon}`,\"color\":\"#fff\"}}):_vm._e(),_vm._v(\"\\n\\n \"+_vm._s(_vm.primaryButton.text)+\"\\n \")],1):_vm._e()]):_vm._e()],2)]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import SvgLoader from '../../svg-loader/index.vue'\n\nexport default {\n components: {\n SvgLoader\n },\n props: {\n value: {\n required: true,\n type: Boolean\n },\n primaryButton: {\n required: false,\n type: Object\n },\n width: {\n required: false,\n type: Number\n },\n title: {\n required: false,\n type: String\n },\n isLoading: {\n required: false,\n type: Boolean\n },\n internal: {\n required: false,\n type: Boolean\n }\n },\n methods: {\n closeModal () {\n if (!this.isLoading) {\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=4cd99b5a\"\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=4cd99b5a&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=2d4a33d0&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=b5c5e610&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"new-individual-consultation\",\"title\":\"Nova consulta\",\"primary-button\":{ onClick: () => _vm.newIndividualConsultation(), text: 'Consultar', disable: _vm.isDisabledButton, loading: _vm.isLoading },\"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-new-consult\",class:{ 'first-item': _vm.steps.currentStep === 0 }},[_c('p',[_vm._v(\"\\n Selecione a cesta que deseja realizar uma nova consulta do \"+_vm._s(_vm.documentType.PHYSICAL_PERSON === _vm.getterSelectedRelationshipTreeNode.documentType ? 'CPF' : 'CNPJ')+\": \"),_c('strong',[_vm._v(_vm._s(_vm.getterSelectedRelationshipTreeNode.document || 'Desconhecido'))])]),(Object.keys(_vm.selectedPlan).length > 0 && _vm.isDisabledButton && !_vm.isLoadingAllRequestFields)?_c('p',[_c('strong',[_vm._v(\"\\n Atenção! Não é possível fazer consultas para esse nó nessa cesta. Todos os campos obrigatórios devem estar preenchidos.\\n \")])]):_vm._e(),(_vm.numberOfChildrenCPF > 0 || _vm.numberOfChildrenCNPJ > 0)?_c('div',{staticClass:\"checkbox-full-node-consultation\"},[(_vm.isDesktop)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.allNode),expression:\"allNode\"}],staticClass:\"generic-checkbox\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.allNode)?_vm._i(_vm.allNode,null)>-1:(_vm.allNode)},on:{\"change\":function($event){var $$a=_vm.allNode,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.allNode=$$a.concat([$$v]))}else{$$i>-1&&(_vm.allNode=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.allNode=$$c}}}}):_vm._e(),_c('p',[_vm._v(\"Consultar Hierarquia\")])]):_vm._e(),(!_vm.allNode)?_c('select-menu',{attrs:{\"title\":\"Selecione um pacote*\",\"max-height\":\"150px\",\"item-text\":\"name\",\"list\":_vm.filteredProviderFlow,\"disable-select-menu\":_vm.isLoadingProviderFlowByType || _vm.isLoadingAllRequestFields || _vm.isLoading,\"set-selected-item\":_vm.selectedPlan,\"is-loading\":_vm.isLoadingProviderFlowByType,\"append-text\":Object.keys(_vm.selectedPlan).length > 0 ? _vm.formatMoneyToReal(_vm.filteredPriceSelectedBasket) : ''},on:{\"actionItem\":(item) => _vm.selectedPlan = item}}):_vm._e(),(_vm.allNode && _vm.numberOfChildrenCNPJ > 0)?_c('select-menu',{attrs:{\"title\":\"Selecione um pacote para CNPJ\",\"max-height\":\"150px\",\"item-text\":\"name\",\"list\":_vm.filteredProviderFlowCNPJ,\"disable-select-menu\":_vm.isLoadingProviderFlowByType || _vm.isLoadingAllRequestFields || _vm.isLoading,\"set-selected-item\":_vm.selectedPlanCNPJ,\"is-loading\":_vm.isLoadingProviderFlowByType,\"append-text\":Object.keys(_vm.selectedPlanCNPJ).length > 0 ? _vm.formatMoneyToReal(_vm.filteredPriceSelectedBasketCNPJ) : ''},on:{\"actionItem\":(item) => _vm.selectedPlanCNPJ = item}}):_vm._e(),(_vm.allNode === true && (_vm.selectedPlanCNPJ && _vm.numberOfChildrenCNPJ > 0))?_c('div',{staticClass:\"individual-totals\"},[_c('li',[_c('p',[_vm._v(\"Total de CNPJs no Nó: \"+_vm._s(_vm.numberOfChildrenCNPJ))])])]):_vm._e(),(_vm.allNode === true && (_vm.selectedPlanCNPJ && _vm.numberOfChildrenCNPJ > 0))?_c('div',{staticClass:\"individual-totals\"},[_c('li',[_c('p',[_vm._v(\"Valor da Consulta: \"+_vm._s(_vm.formatMoneyToReal(_vm.totalPriceCNPJ)))])])]):_vm._e(),(_vm.allNode && _vm.numberOfChildrenCPF > 0)?_c('select-menu',{attrs:{\"title\":\"Selecione um pacote para CPF\",\"max-height\":\"150px\",\"item-text\":\"name\",\"list\":_vm.filteredProviderFlowCPF,\"disable-select-menu\":_vm.isLoadingProviderFlowByType || _vm.isLoadingAllRequestFields || _vm.isLoading,\"set-selected-item\":_vm.selectedPlanCPF,\"is-loading\":_vm.isLoadingProviderFlowByType,\"append-text\":Object.keys(_vm.selectedPlanCPF).length > 0 ? _vm.formatMoneyToReal(_vm.filteredPriceSelectedBasketCPF) : ''},on:{\"actionItem\":(item) => _vm.selectedPlanCPF = item}}):_vm._e(),(_vm.allNode === true && (_vm.selectedPlanCNPJ && _vm.numberOfChildrenCPF > 0))?_c('div',{staticClass:\"individual-totals\"},[_c('li',[_c('p',[_vm._v(\"Total de CPFs no Nó: \"+_vm._s(_vm.numberOfChildrenCPF))])])]):_vm._e(),(_vm.allNode === true && (_vm.selectedPlanCNPJ && _vm.numberOfChildrenCPF > 0))?_c('div',{staticClass:\"individual-totals\"},[_c('li',[_c('p',[_vm._v(\"Valor da Consulta: \"+_vm._s(_vm.formatMoneyToReal(_vm.totalPriceCPF)))])])]):_vm._e(),((Object.keys(_vm.selectedPlan).length > 0 && Object.prototype.hasOwnProperty.call(_vm.selectedPlan, 'idProviderFlow')) && _vm.allNode === false)?_c('section',{staticClass:\"wrapper-list-request-fields\",class:{ 'disabled': _vm.isLoading || _vm.isLoadingAllRequestFields }},[(_vm.isLoadingAllRequestFields)?_c('loading',{staticClass:\"loading-request-fields\"}):(_vm.allRequestFieldsOrderedByRequired && _vm.allRequestFieldsOrderedByRequired.length > 0)?_c('div',{staticClass:\"container-list-request-fields\"},[_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:{\"disable\":\"\",\"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:{\"disabled\":\"\",\"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:{\"disable\":\"\",\"mask\":_vm.returnTrueMask(item.name),\"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:{\"disable\":\"\",\"title\":`${_vm.formatTitleInput(item)} ${item.required ? '*' : ''}`},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, \"value\", $$v)},expression:\"item.value\"}})],1)}),0)]):_c('span',{staticClass:\"no-results\"},[_vm._v(\"\\n Nenhum campo requerido encontrado\\n \")])],1):_vm._e(),(_vm.allNode === true)?_c('div',{staticClass:\"total-price\"},[_c('p',[_c('strong',[_vm._v(\"Preço Total das Consultas do Nó: \"+_vm._s(_vm.formatMoneyToReal(_vm.finalPrice)))])])]):_vm._e(),_c('p',[_vm._v(\"\\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 \")])],1):_vm._e(),(_vm.steps.currentStep === 1)?_c('li',{key:\"1\",staticClass:\"item-new-consult\"},[_c('datatable-queries',{attrs:{\"exec-on-mounted\":\"\",\"headers\":_vm.headersList,\"actions\":_vm.actionsDataTable,\"handle-loading\":(value) => _vm.isLoadingDatatable = value,\"no-results-message\":\"Nenhum resultado encontrado\"},model:{value:(_vm.filtersDataTable),callback:function ($$v) {_vm.filtersDataTable=$$v},expression:\"filtersDataTable\"}})],1):_vm._e()]),_c('div',{staticClass:\"container-actions-historic\",attrs:{\"slot\":\"actions\"},slot:\"actions\"},[(_vm.steps.currentStep === 0)?_c('button',{staticClass:\"btn-view-historic\",attrs:{\"title\":`Visualizar consultas realizadas para ${_vm.getterSelectedRelationshipTreeNode.document}`},on:{\"click\":function($event){return _vm.onClickMainButton()}}},[_vm._v(\"\\n Visualizar consultas realizadas para \"+_vm._s(_vm.getterSelectedRelationshipTreeNode.document)+\"\\n\\n \"),_c('svg-loader',{attrs:{\"src\":\"img/icon-list.svg\"}})],1):_c('button',{staticClass:\"btn-hide-historic\",attrs:{\"title\":`Esconder consultas realizadas para o ${_vm.getterSelectedRelationshipTreeNode.document}`},on:{\"click\":function($event){return _vm.onClickBackButton()}}},[_vm._v(\"\\n Esconder consultas realizadas para o \"+_vm._s(_vm.getterSelectedRelationshipTreeNode.document)+\"\\n\\n \"),_c('svg-loader',{attrs:{\"src\":\"img/icon-list.svg\"}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapMutations, mapGetters } from 'vuex'\nimport Const from '@/helper/const'\nimport { orderBy, findIndex } from 'lodash'\nimport States from '@/helper/States'\nimport * as DocumentType from '@/helper/DocumentType'\nimport ExportFiles from '@/mixins/ExportFiles'\nimport moment from 'moment'\nimport ModalStructure from '../modal-structure/index.vue'\nimport InputField from '../../form-components/input-field/index.vue'\nimport SelectMenu from '../../select-menu/index.vue'\nimport SvgLoader from '../../svg-loader/index.vue'\nimport DatatableQueries from '../../datatable-queries/index.vue'\nimport MessageNotification from '../../message-notification/index.vue'\nimport Loading from '../../loading/index.vue'\n\nexport default {\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n components: {\n ModalStructure,\n InputField,\n SelectMenu,\n SvgLoader,\n DatatableQueries,\n MessageNotification,\n Loading\n },\n mixins: [\n ExportFiles\n ],\n data () {\n return {\n steps: {\n currentStep: 0,\n totalSteps: 1\n },\n directionFlux: 'next',\n cpfOrCnpj: '',\n isValidCpfOrCnpj: false,\n name: '',\n allNode: false,\n isLoading: false,\n isLoadingAllRequestFields: false,\n isLoadingAllRequestFieldsCPF: false,\n isLoadingAllRequestFieldsCNPJ: false,\n isLoadingDatatable: false,\n isLoadingProviderFlowByType: false,\n firstCheck: true,\n managerMessageOperation: false,\n numberOfChildrenCPF: 0,\n numberOfChildrenCNPJ: 0,\n totalPriceCPF: 0,\n totalPriceCNPJ: 0,\n finalPrice: 0,\n selectedPlan: {},\n selectedPlanCPF: {},\n selectedPlanCNPJ: {},\n documentType: DocumentType,\n filtersDataTable: {},\n notificationMessage: {\n actionButtons: [\n { name: 'Finalizar', type: 'primary-green', action: () => this.$emit('input', false) }\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 headersList: [\n {\n text: 'Data Início', value: 'startTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Data Fim', value: 'endTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Pacote', value: 'basketName', alignHeader: 'center', alignData: 'center'\n }\n ],\n actionsDataTable: {\n text: 'Dossiê',\n list: [\n {\n text: 'Visualizar Dossiê', iconName: 'icon-download.svg', onClick: (item, itemButton) => this.clickToView(item, itemButton), loading: false\n }\n ]\n },\n states: States\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedRelationshipTree',\n 'getterSelectedRelationshipTreeNode',\n 'getterAllRequestFieldsBySystemProvider',\n 'getterAllRequestFieldsBySystemProviderCPF',\n 'getterAllRequestFieldsBySystemProviderCNPJ',\n 'getterAllProviderFlowByType'\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 filteredPriceSelectedBasket () {\n let price = 0\n\n if (this.selectedPlan.price === null || this.selectedPlan.price === 0) {\n this.selectedPlan.baskets.forEach((provider) => {\n if (provider.basketPrice !== null) {\n price += provider.basketPrice\n } else if (provider.authorizedProvider.price !== null) {\n price += provider.authorizedProvider.price\n } else if (provider.authorizedProvider.systemProvider.minimumPrice !== null) {\n price += provider.authorizedProvider.systemProvider.minimumPrice\n }\n })\n }\n\n return price\n },\n filteredPriceSelectedBasketCPF () {\n let price = 0\n\n if (this.selectedPlanCPF.price === null || this.selectedPlanCPF.price === 0) {\n this.selectedPlanCPF.baskets.forEach((provider) => {\n if (provider.basketPrice !== null) {\n price += provider.basketPrice\n } else if (provider.authorizedProvider.price !== null) {\n price += provider.authorizedProvider.price\n } else if (provider.authorizedProvider.systemProvider.minimumPrice !== null) {\n price += provider.authorizedProvider.systemProvider.minimumPrice\n }\n })\n }\n\n return price\n },\n filteredPriceSelectedBasketCNPJ () {\n let price = 0\n\n if (this.selectedPlanCNPJ.price === null || this.selectedPlanCNPJ.price === 0) {\n this.selectedPlanCNPJ.baskets.forEach((provider) => {\n if (provider.basketPrice !== null) {\n price += provider.basketPrice\n } else if (provider.authorizedProvider.price !== null) {\n price += provider.authorizedProvider.price\n } else if (provider.authorizedProvider.systemProvider.minimumPrice !== null) {\n price += provider.authorizedProvider.systemProvider.minimumPrice\n }\n })\n }\n\n return price\n },\n allRequestFieldsOrderedByRequired () {\n const list = orderBy(this.getterAllRequestFieldsBySystemProvider, ['required', 'name'], ['desc'])\n let documentType = 'cnpj'\n\n if (DocumentType.PHYSICAL_PERSON === this.getterSelectedRelationshipTreeNode.documentType) {\n documentType = 'cpf'\n }\n\n const indexDocument = findIndex(list, { name: documentType })\n const indexName = findIndex(list, { name: 'nome' })\n\n if (indexDocument > -1) {\n list[indexDocument].value = this.getterSelectedRelationshipTreeNode.document\n }\n\n if (indexName > -1) {\n list[indexName].value = this.getterSelectedRelationshipTreeNode.name\n }\n\n return list\n },\n allRequestFieldsOrderedByRequiredCPF () {\n const list = orderBy(this.getterAllRequestFieldsBySystemProviderCPF, ['required', 'name'], ['desc'])\n\n return list\n },\n allRequestFieldsOrderedByRequiredCNPJ () {\n const list = orderBy(this.getterAllRequestFieldsBySystemProviderCNPJ, ['required', 'name'], ['desc'])\n\n return list\n },\n onlyRequiredFields () {\n return this.allRequestFieldsOrderedByRequired.filter(item => item.required)\n },\n onlyRequiredFieldsCPF () {\n return this.allRequestFieldsOrderedByRequiredCPF.filter(item => item.required)\n },\n onlyRequiredFieldsCNPJ () {\n return this.allRequestFieldsOrderedByRequiredCNPJ.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 verifyItensFilledCPF () {\n return this.onlyRequiredFieldsCPF.filter(item => item.name !== 'cpf' && item.name !== 'cnpj' && item.name !== 'nome')\n },\n verifyItensFilledCNPJ () {\n return this.onlyRequiredFieldsCNPJ.filter(item => item.name !== 'cpf' && item.name !== 'cnpj' && item.name !== 'nome')\n },\n isDisabledButton () {\n let result = false\n\n if (this.allNode === false && ((Object.keys(this.selectedPlan).length === 0 || this.isLoadingDatatable || this.isLoadingProviderFlowByType || this.isLoadingAllRequestFields || (this.verifyItensFilled && this.verifyItensFilled.length > 0) || (this.onlyRequiredFields && this.onlyRequiredFields.length === 0)))) {\n result = true\n }\n\n if (this.allNode === true && ((Object.keys(this.selectedPlanCPF).length === 0 && Object.keys(this.selectedPlanCNPJ).length === 0) || this.isLoadingDatatable || this.isLoadingProviderFlowByType || this.isLoadingAllRequestFields)) {\n result = true\n }\n\n if (this.allNode === true && (Object.keys(this.selectedPlanCPF).length > 0)) {\n if (this.verifyItensFilledCPF && this.verifyItensFilledCPF.length > 0) {\n result = true\n }\n }\n\n if (this.allNode === true && (Object.keys(this.selectedPlanCNPJ).length > 0)) {\n if (this.verifyItensFilledCNPJ && this.verifyItensFilledCNPJ.length > 0) {\n result = true\n }\n }\n return result\n },\n filteredProviderFlow () {\n let list = []\n\n if ((this.getterSelectedRelationshipTreeNode && Object.keys(this.getterSelectedRelationshipTreeNode).length > 0) && this.getterAllProviderFlowByType) {\n list = this.getterSelectedRelationshipTreeNode.documentType === DocumentType.PHYSICAL_PERSON ? this.getterAllProviderFlowByType.providerFlowsPF : this.getterAllProviderFlowByType.providerFlowsPJ\n }\n\n return list\n },\n filteredProviderFlowCNPJ () {\n let list = []\n\n if ((this.getterSelectedRelationshipTreeNode && Object.keys(this.getterSelectedRelationshipTreeNode).length > 0) && this.getterAllProviderFlowByType) {\n list = this.getterAllProviderFlowByType.providerFlowsPJ\n }\n\n return list\n },\n filteredProviderFlowCPF () {\n let list = []\n\n if ((this.getterSelectedRelationshipTreeNode && Object.keys(this.getterSelectedRelationshipTreeNode).length > 0) && this.getterAllProviderFlowByType) {\n list = this.getterAllProviderFlowByType.providerFlowsPF\n }\n\n return list\n },\n children () {\n let list = []\n if (this.getterSelectedRelationshipTreeNode && this.getterSelectedRelationshipTreeNode.flux && this.getterSelectedRelationshipTreeNode.flux.length > 0) {\n list = this.getterSelectedRelationshipTreeNode.flux\n\n this.getterSelectedRelationshipTreeNode.flux.forEach(item => {\n if (item.documentType === 2 && item.document !== '') {\n this.numberOfChildrenCPF = this.numberOfChildrenCPF + 1\n } else if (item.documentType === 1 && item.document !== '') {\n this.numberOfChildrenCNPJ = this.numberOfChildrenCNPJ + 1\n }\n })\n }\n\n return list\n }\n },\n watch: {\n steps: {\n handler (val) {\n if (val && (val.currentStep === val.totalSteps)) {\n this.changeFiltersCallManager()\n }\n },\n deep: true\n },\n selectedPlan: {\n handler (val) {\n if (Object.prototype.hasOwnProperty.call(val, 'idProviderFlow')) {\n this.getAllRequestFieldsBySystemProvider(val.idProviderFlow)\n }\n },\n deep: true\n },\n selectedPlanCPF: {\n handler (val) {\n if (Object.prototype.hasOwnProperty.call(val, 'idProviderFlow')) {\n this.getAllRequestFieldsBySystemProviderCPF(val.idProviderFlow)\n this.totalPriceCPF = this.filteredPriceSelectedBasketCPF * this.numberOfChildrenCPF\n this.finalPrice = this.totalPriceCPF + this.totalPriceCNPJ\n }\n },\n deep: true\n },\n selectedPlanCNPJ: {\n handler (val) {\n if (Object.prototype.hasOwnProperty.call(val, 'idProviderFlow')) {\n this.getAllRequestFieldsBySystemProviderCNPJ(val.idProviderFlow)\n this.totalPriceCNPJ = this.filteredPriceSelectedBasketCNPJ * this.numberOfChildrenCNPJ\n this.finalPrice = this.totalPriceCPF + this.totalPriceCNPJ\n }\n },\n deep: true\n },\n allNode: {\n handler (val) {\n if (val === true) {\n this.selectedPlan = {}\n }\n if (val === false) {\n this.selectedPlanCPF = {}\n this.selectedPlanCNPJ = {}\n }\n }\n },\n children: {\n handler (val) {\n if (val === null && this.getterSelectedRelationshipTreeNode && this.getterSelectedRelationshipTreeNode.flux) {\n this.children = this.getterSelectedRelationshipTreeNode.flux\n }\n }\n },\n verifyItensFilledCPF: {\n handler (val) {\n if (val && val.length > 0) {\n this.sendToast({\n text: 'Sem dados suficientes para utilizar essa cesta!',\n type: 'warning'\n })\n }\n }\n },\n verifyItensFilledCNPJ: {\n handler (val) {\n if (val && val.length > 0) {\n this.sendToast({\n text: 'Sem dados suficientes para utilizar essa cesta.',\n type: 'warning'\n })\n }\n }\n }\n },\n mounted () {\n this.getAllProviderFlowByType()\n\n this.changeFiltersCallManager()\n },\n beforeDestroy () {\n this.SET_SELECTED_RELATIONSHIP_TREE_NODE()\n },\n methods: {\n ...mapActions([\n 'actionAddCallManagerFromTree',\n 'actionGetAllProviderFlowByType',\n 'actionGetAllRequestFieldsBySystemProvider',\n 'actionGetAllRequestFieldsBySystemProviderCPF',\n 'actionGetAllRequestFieldsBySystemProviderCNPJ',\n 'actionGetRelationshipTreeById'\n ]),\n ...mapMutations([\n 'SET_SELECTED_RELATIONSHIP_TREE_NODE'\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 }\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) {\n let result = ''\n\n if (value.includes('data')) {\n result = '##/##/####'\n } else if (value.includes('telefone')) {\n result = '(##) #### - ####'\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.isLoadingAllRequestFields = true\n\n this.actionGetAllRequestFieldsBySystemProvider(idProviderFlow)\n .then(() => {\n this.isLoadingAllRequestFields = 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.isLoadingAllRequestFields = false\n })\n },\n getAllRequestFieldsBySystemProviderCPF (idProviderFlow) {\n this.isLoadingAllRequestFieldsCPF = true\n this.isLoading = true\n\n this.actionGetAllRequestFieldsBySystemProviderCPF(idProviderFlow)\n .then((response) => {\n this.isLoading = false\n this.isLoadingAllRequestFieldsCPF = false\n return response\n })\n .catch((e) => {\n this.sendToast({\n text: 'Ocorreu um erro ao buscar os campos, tente novamente mais tarde!',\n type: 'danger'\n })\n this.isLoading = false\n this.isLoadingAllRequestFieldsCPF = false\n return e\n })\n },\n getAllRequestFieldsBySystemProviderCNPJ (idProviderFlow) {\n this.isLoadingAllRequestFieldsCNPJ = true\n this.isLoading = true\n\n this.actionGetAllRequestFieldsBySystemProviderCNPJ(idProviderFlow)\n .then((response) => {\n this.isLoadingAllRequestFieldsCNPJ = false\n this.isLoading = false\n return response\n })\n .catch((e) => {\n this.sendToast({\n text: 'Ocorreu um erro ao buscar os campos, tente novamente mais tarde!',\n type: 'danger'\n })\n this.isLoadingAllRequestFieldsCNPJ = false\n this.isLoading = false\n return e\n })\n },\n clickToView (item, itemButton) {\n this.downloadLink({\n url: `${Const.API_DOSSIE}/${item.idProviderFlow}/${item.idCallManager}`,\n fileName: `dossie-${item.idCallManager}`\n }, (value) => itemButton.loading = value)\n },\n getAllProviderFlowByType () {\n const params = {\n idClient: this.getterAccount.client.idClient,\n type: 'Busca'\n }\n\n this.isLoadingProviderFlowByType = true\n\n this.actionGetAllProviderFlowByType(params)\n .then(() => {\n this.isLoadingProviderFlowByType = false\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao buscar os pacotes, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.isLoadingProviderFlowByType = false\n })\n },\n changeFiltersCallManager () {\n this.filtersDataTable = {\n idTree: this.getterSelectedRelationshipTree.id,\n idProviderFlow: '00000000-0000-0000-0000-000000000000',\n cpf: this.getterSelectedRelationshipTreeNode.document ? this.getterSelectedRelationshipTreeNode.document.toString().replace(/[^\\w\\s]/gi, '').replace(/\\s/g, '') : '',\n page: 1,\n size: 25,\n startDate: this.getterSelectedRelationshipTree.createdAt.slice(0, this.getterSelectedRelationshipTree.createdAt.length - 7),\n endDate: moment(new Date()).format('YYYY-MM-DDTHH:mm:ss'),\n sortBy: 'User',\n descending: false,\n idClient: this.getterAccount.client.idClient\n }\n },\n removeMaskFromData (item) {\n let result = ''\n\n if (item.name.includes('cpf') || item.name.includes('cnpj') || item.name.includes('data') || item.name.includes('telefone') || item.name.includes('cep')) {\n result = item.value.toString().replace(/[^\\w\\s]/gi, '').replace(/\\s/g, '')\n } else {\n result = item.value\n }\n\n return result\n },\n newIndividualConsultation () {\n this.isLoading = true\n\n const fields = this.allRequestFieldsOrderedByRequired.map(item => ({ field: item.name, value: this.removeMaskFromData(item) }))\n const callmanagers = []\n let individualParams = {}\n let paramsNode = {}\n let body = {}\n\n if (this.allNode === false) {\n paramsNode = {\n idTree: this.getterSelectedRelationshipTree.id,\n idProviderFlow: this.selectedPlan.idProviderFlow,\n fields,\n origin: 'Data Engine Painel Cliente - Área Logada - Página Árvore Nova consulta',\n nameUser: this.getterAccount.userName,\n idUserLogged: this.getterAccount.idUser\n }\n\n callmanagers.push(paramsNode)\n } else {\n this.getterSelectedRelationshipTreeNode.flux.forEach(item => {\n if (item.documentType === 2 && this.selectedPlanCPF.idProviderFlow && item.document !== '') {\n const fields = [\n {\n field: 'cpf',\n value: item.document\n },\n {\n field: 'nome',\n value: item.name\n }\n ]\n\n individualParams = {\n idTree: this.getterSelectedRelationshipTree.id,\n idProviderFlow: this.selectedPlanCPF.idProviderFlow,\n fields,\n origin: 'Data Engine Painel Cliente - Área Logada - Página Árvore Nova consulta',\n nameUser: this.getterAccount.userName,\n idUserLogged: this.getterAccount.idUser\n }\n\n callmanagers.push(individualParams)\n } else if (item.documentType === 1 && this.selectedPlanCNPJ.idProviderFlow && item.document !== '') {\n const fields = [\n {\n field: 'cnpj',\n value: item.document\n },\n {\n field: 'nome',\n value: item.name\n }\n ]\n\n individualParams = {\n idTree: this.getterSelectedRelationshipTree.id,\n idProviderFlow: this.selectedPlanCNPJ.idProviderFlow,\n fields,\n origin: 'Data Engine Painel Cliente - Área Logada - Página Árvore Nova consulta',\n nameUser: this.getterAccount.userName,\n idUserLogged: this.getterAccount.idUser\n }\n callmanagers.push(individualParams)\n }\n })\n }\n\n if (this.allNode === false) {\n body = {\n callmanagers,\n idClient: this.getterAccount.client.idClient\n }\n\n if (fields && fields.length > 0) {\n this.actionAddCallManagerFromTree(body)\n .then((response) => {\n const allParams = {\n ...body,\n ...response.data\n }\n this.setTypeOfMessageNotification('success', allParams)\n })\n .catch(error => {\n this.setTypeOfMessageNotification('error', error)\n })\n }\n } else {\n body = {\n callmanagers,\n idClient: this.getterAccount.client.idClient\n }\n\n this.actionAddCallManagerFromTree(body)\n .then((response) => {\n const allParams = {\n ...body,\n ...response.data\n }\n this.setTypeOfMessageNotification('success', allParams)\n const refreshData = {\n idClient: this.getterAccount.client.idClient,\n idTree: this.getterSelectedRelationshipTree.id\n }\n this.actionGetRelationshipTreeById(refreshData)\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-green-light', action: () => this.$emit('input', false) },\n {\n name: 'Visualizar consulta',\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.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 {\n name: 'Tentar novamente',\n type: 'primary-purple',\n action: () => this.setToDefault()\n }\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.$emit('input', false) }\n ]\n }\n }\n }\n\n setTimeout(() => {\n this.managerMessageOperation = true\n this.isLoading = !this.managerMessageOperation\n })\n }\n },\n redirectToConsultsPage (response) {\n this.$router.push({ name: 'ListQueries', query: { idCallManager: response.idCallManager } })\n },\n setToDefault (value) {\n if (value === 0) {\n setTimeout(() => {\n this.allRequestFieldsOrderedByRequired.forEach(item => {\n item.value = ''\n item.isValid = false\n })\n }, 280)\n }\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=396fd8c3&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=396fd8c3&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',{class:{ hasAbsoluteContent: _vm.isLoading },attrs:{\"id\":\"tree-query-history\",\"title\":`Histórico de consultas da árvore ${_vm.getterSelectedRelationshipTree.name}`},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('datatable-queries',{attrs:{\"exec-on-mounted\":\"\",\"headers\":_vm.headersList,\"actions\":_vm.actionsDataTable,\"handle-loading\":(value) => _vm.isLoading = value,\"no-results-message\":\"Não há dados disponíveis\"},model:{value:(_vm.filtersDataTable),callback:function ($$v) {_vm.filtersDataTable=$$v},expression:\"filtersDataTable\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters } from 'vuex'\nimport moment from 'moment'\nimport Const from '@/helper/const'\nimport ExportFiles from '@/mixins/ExportFiles'\nimport ModalStructure from '../modal-structure/index.vue'\nimport DatatableQueries from '../../datatable-queries/index.vue'\nimport Loading from '../../loading/index.vue'\n\nexport default {\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n components: {\n ModalStructure,\n DatatableQueries,\n Loading\n },\n mixins: [\n ExportFiles\n ],\n data () {\n return {\n isLoading: false,\n filtersDataTable: {},\n headersList: [\n {\n text: 'Data/Hora', value: 'endTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Pacote', value: 'basketName', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'CPF/CNPJ', value: 'cpf', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Consultado', value: 'name', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Status', value: 'status', alignHeader: 'center', alignData: 'center'\n }\n ],\n actionsDataTable: {\n text: 'Dossiê',\n list: [\n {\n text: 'Visualizar Dossiê', iconName: 'icon-download.svg', onClick: (item, itemButton) => this.clickToView(item, itemButton), loading: false\n }\n ]\n }\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedRelationshipTree'\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 created () {\n this.changeFiltersCallManager()\n },\n methods: {\n clickToView (item, itemButton) {\n this.downloadLink({\n url: `${Const.API_DOSSIE}/${item.idProviderFlow}/${item.idCallManager}`,\n fileName: `dossie-${item.idCallManager}`\n }, (value) => itemButton.loading = value)\n },\n changeFiltersCallManager () {\n this.filtersDataTable = {\n idTree: this.getterSelectedRelationshipTree.id,\n idProviderFlow: '00000000-0000-0000-0000-000000000000',\n page: 1,\n startDate: this.getterSelectedRelationshipTree.createdAt.slice(0, this.getterSelectedRelationshipTree.createdAt.length - 7),\n endDate: moment(new Date()).format('YYYY-MM-DDTHH:mm:ss'),\n size: 10,\n sortBy: 'User',\n descending: false,\n idClient: this.getterAccount.client.idClient\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=22fc2667&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=22fc2667&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\":\"view-selected-hierarquical\",\"title\":`Cestas filhas de ${_vm.getterSelectedCallManager.basketName || '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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters, mapMutations } from 'vuex'\nimport Const from '@/helper/const'\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\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 headersList: [\n {\n text: 'Data Início', value: 'startTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Data Fim', value: 'endTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'CPF/CNPJ', value: 'cpf', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Consultado', value: 'name', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Status', value: 'status', alignHeader: 'center', alignData: 'center'\n }\n ],\n actionsDataTable: {\n text: 'Dossiê',\n list: [\n {\n text: 'Visualizar Dossiê', iconName: 'icon-download.svg', onClick: (item, itemButton) => this.clickToView(item, itemButton), loading: false\n }\n ]\n }\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedCallManager',\n 'getterHierarchicalDetails'\n ]),\n data () {\n return this.getterHierarchicalDetails\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.getHierarchicalDetails()\n },\n beforeDestroy () {\n this.SET_SELECTED_CALLMANAGER()\n },\n methods: {\n ...mapMutations([\n 'SET_SELECTED_CALLMANAGER'\n ]),\n ...mapActions([\n 'actionGetHierarchicalDetails'\n ]),\n clickToView (item, itemButton) {\n this.downloadLink({\n url: `${Const.API_DOSSIE}/${item.idProviderFlow}/${item.idCallManager}`,\n fileName: `dossie-${item.idCallManager}`\n }, (value) => itemButton.loading = value)\n },\n async getHierarchicalDetails () {\n return this.actionGetHierarchicalDetails(this.getterSelectedCallManager.idParentCallManager ? this.getterSelectedCallManager.idParentCallManager : this.getterSelectedCallManager.idCallManager)\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=b5c5e610&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=b5c5e610&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=f150c6bc&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=4cd99b5a&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=22fc2667&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=396fd8c3&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=854f023e&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('modal-structure',{attrs:{\"id\":\"edit-profile\",\"internal\":\"\",\"title\":\"Visualize aqui as Análises de Consulta\",\"primary-button\":{ onClick: () => _vm.addPld(), disable: _vm.message === '', text: 'Adicionar análise' },\"is-loading\":_vm.isLoadingAllPlds || _vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('section',{staticClass:\"container-query-analysis\"},[_c('custom-table',{attrs:{\"data\":_vm.filteredDataTableContent,\"headers\":_vm.headersList,\"is-loading\":_vm.isLoadingAllPlds,\"new-item-table\":_vm.getterSelectedPld,\"no-results-message\":\"Nenhuma análise foi registrada até agora para este dossiê.\"}}),_c('form',{staticClass:\"generic-form\",attrs:{\"novalidate\":\"\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('label',{attrs:{\"for\":\"insert-new-query-analysis\"}},[_vm._v(\"Insira uma nova Análise de Consulta\")]),_c('p',{staticClass:\"container-field-textarea\",attrs:{\"data-length\":`${_vm.message.length}/${_vm.messageLength}`}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.message),expression:\"message\"}],attrs:{\"id\":\"insert-new-query-analysis\",\"placeholder\":_vm.isDesktop ? 'Digite sua mensagem e aperte Enter' : 'Digite sua mensagem...',\"maxlength\":_vm.messageLength},domProps:{\"value\":(_vm.message)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.addPld()},\"input\":function($event){if($event.target.composing)return;_vm.message=$event.target.value}}})])])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters, mapMutations } from 'vuex'\nimport moment from 'moment'\nimport CustomTable from '../../custom-table/index.vue'\nimport ModalStructure from '../modal-structure/index.vue'\n\nexport default {\n props: {\n value: {\n required: true,\n type: Boolean\n }\n },\n components: {\n CustomTable,\n ModalStructure\n },\n data () {\n return {\n message: '',\n messageLength: 500,\n headersList: [\n {\n text: 'Data', value: 'dateAndTime', alignHeader: 'left', alignData: 'left', breakContent: 'nowrap'\n },\n {\n text: 'Nome', value: 'userName', alignHeader: 'left', alignData: 'left'\n },\n {\n text: 'Comentário', value: 'text', alignHeader: 'left', alignData: 'left'\n }\n ],\n isLoadingAllPlds: false,\n isLoading: false,\n requisitionAttempts: 0\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedCallManager',\n 'getterAllPlds',\n 'getterSelectedPld',\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 filteredDataTableContent () {\n return this.getterAllPlds || []\n }\n },\n mounted () {\n this.getAllPlds()\n },\n beforeDestroy () {\n this.SET_SELECTED_CALLMANAGER()\n\n this.SET_SELECTED_PLD()\n },\n methods: {\n ...mapActions([\n 'actionGetAllPlds',\n 'actionAddPld'\n ]),\n ...mapMutations([\n 'SET_SELECTED_CALLMANAGER',\n 'SET_SELECTED_PLD'\n ]),\n addPld () {\n if (this.requisitionAttempts === 0 && this.message.trim() !== '') {\n this.requisitionAttempts += 1\n\n const params = {\n dateAndTime: moment().format(),\n text: this.message.trim(),\n userName: this.getterAccount.userName,\n type: 'Portal Data Engine 2.0',\n idCallManager: this.getterSelectedCallManager.idCallManager\n }\n\n this.isLoading = true\n\n this.actionAddPld(params)\n .then(() => {\n this.setToDefault()\n })\n .catch(() => {\n this.sendToast({\n text: 'Ocorreu um erro ao adicionar o comentário, tente novamente mais tarde!',\n type: 'danger'\n })\n\n this.setToDefault()\n })\n }\n },\n getAllPlds () {\n if (Object.keys(this.getterSelectedCallManager).length > 0) {\n this.isLoadingAllPlds = true\n\n this.actionGetAllPlds(this.getterSelectedCallManager.idCallManager)\n .then(() => {\n this.setToDefault()\n })\n .catch(() => {\n this.setToDefault()\n })\n }\n },\n setToDefault () {\n this.requisitionAttempts = 0\n this.message = ''\n\n this.isLoading = this.isLoadingAllPlds = 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=f150c6bc&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=f150c6bc&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\":\"view-selected-hierarquical\",\"title\":`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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters, mapMutations } from 'vuex'\nimport Const from '@/helper/const'\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\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 headersList: [\n {\n text: 'Data Início', value: 'startTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Data Fim', value: 'endTime', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Pacote', value: 'basketName', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'CPF/CNPJ', value: 'cpf', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Consultado', value: 'name', alignHeader: 'center', alignData: 'center'\n },\n {\n text: 'Status', value: 'status', alignHeader: 'center', alignData: 'center'\n }\n ],\n actionsDataTable: {\n text: 'Dossiê',\n list: [\n {\n text: 'Visualizar Dossiê', iconName: 'icon-download.svg', onClick: (item, itemButton) => this.clickToView(item, itemButton), loading: false\n }\n ]\n }\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterSelectedCallManager',\n 'getterPreviousScheduledCallManagersInfo'\n ]),\n data () {\n return this.getterPreviousScheduledCallManagersInfo ? this.getterPreviousScheduledCallManagersInfo : []\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.getPreviousScheduledCallManagersInfo()\n },\n beforeDestroy () {\n this.SET_SELECTED_CALLMANAGER()\n },\n methods: {\n ...mapMutations([\n 'SET_SELECTED_CALLMANAGER'\n ]),\n ...mapActions([\n 'actionGetPreviousScheduledCallManagers'\n ]),\n clickToView (item, itemButton) {\n this.downloadLink({\n url: `${Const.API_DOSSIE}/${item.idProviderFlow}/${item.idCallManager}`,\n fileName: `dossie-${item.idCallManager}`\n }, (value) => itemButton.loading = value)\n },\n getPreviousScheduledCallManagersInfo () {\n return this.actionGetPreviousScheduledCallManagers(this.getterSelectedCallManager.idOriginCallManager ? this.getterSelectedCallManager.idOriginCallManager : this.getterSelectedCallManager.idCallManager)\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=854f023e&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=854f023e&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-legend-tree\",\"title\":\"Legenda da árvore\",\"is-loading\":_vm.isLoading},on:{\"input\":(value) => _vm.$emit('input', value)},model:{value:(_vm.propValue),callback:function ($$v) {_vm.propValue=$$v},expression:\"propValue\"}},[_c('ul',{staticClass:\"list-items-legend\"},[_c('li',{staticClass:\"root\"},[_vm._v(\"\\n Primeiro nó da árvore\\n \")]),_c('li',{staticClass:\"consultedDocument\"},[_vm._v(\"\\n Nova consulta individual realizada\\n \")]),_c('li',{staticClass:\"availableToExplosion\"},[_vm._v(\"\\n Disponível para consulta\\n \")]),_c('li',{staticClass:\"disabled\"},[_vm._v(\"\\n Consulta finalizada e nenhum beneficiário encontrado\\n \")]),_c('li',{staticClass:\"isRecurrent\"},[_vm._v(\"\\n Documento existente na árvore e já expandido\\n \")]),_c('li',{staticClass:\"consultedDocument isRecurrent\"},[_vm._v(\"\\n Documento existente na árvore e já expandido / Nova consulta individual realizada\\n \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import ModalStructure from '../modal-structure/index.vue'\n\nexport default {\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 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}\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=2d4a33d0&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=2d4a33d0&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"],"sourceRoot":""}