{"version":3,"sources":["config/config.js","imgs/animais.png","imgs/farm.png","imgs/users.png","imgs/logo.png","imgs/whatsapp.svg","imgs/banner_gestor_rp_horizontal.png","imgs/banner_gestor_rp.png","imgs/sinc.png","_helpers/history.js","_services/animal.service.js","_services/auth.service.js","_services/cidade.service.js","_components/alerts.js","_services/crud.service.js","_services/empresa.service.js","_services/estado.service.js","_services/home.service.js","_services/fazenda.service.js","_services/fazendaCertificado.service.js","_services/fazendaIntegracao.service.js","_services/motivoDesistencia.service.js","_services/convenio.service.js","_services/parto.service.js","_services/produtor.service.js","_services/prefeitura.service.js","_services/termoUso.service.js","_services/tanque.service.js","_services/touro.service.js","_services/uploadFile.service.js","_services/usuario.service.js","_services/relatorio.service.js","_services/visita.service.js","_services/usuarioDispositivo.service.js","_actions/animal.actions.js","_actions/auth.actions.js","_actions/cidade.actions.js","_actions/empresa.actions.js","_actions/estado.actions.js","_actions/fazenda.actions.js","_actions/fazendaCertificado.actions.js","_actions/fazendaIntegracao.actions.js","_utils/stringUtils.js","_actions/home.actions.js","_actions/convenio.actions.js","_actions/log.actions.js","_actions/logErroGeral.actions.js","_actions/logFazendaSinc.actions.js","_actions/logFazendaFinanceiroSinc.actions.js","_actions/logErroChaveNfe.actions.js","_actions/motivoDesistencia.actions.js","_actions/parto.actions.js","_actions/produtor.actions.js","_actions/prefeitura.actions.js","_actions/tanque.actions.js","_actions/touro.actions.js","_actions/usuario.actions.js","_actions/relatorio.actions.js","_actions/termoUso.actions.js","_utils/history.js","_actions/visita.actions.js","_actions/usuarioDispositivo.actions.js","_components/modalAnimaisFazenda.jsx","_components/modalProducoesPeriodo.jsx","_components/modalAnimaisInseminacoes.jsx","_components/modalSelectEmpresa.jsx","_components/navbar.js","home/index.js","log/modalLog.component.js","log/modalLogUsuario.component.js","animais/animal.component.js","animais/animaledit.component.js","empresas/empresa.component.js","empresas/empresaEdit.component.js","fazendas/fazenda.component.js","fazendas/fazendaedit.component.js","partos/parto.component.js","partos/partoedit.component.js","tanques/tanque.component.js","tanques/tanqueedit.component.js","prefeituras/prefeitura.component.js","prefeituras/prefeituraEdit.component.js","convenios/convenio.component.js","convenios/convenioedit.component.js","usuarios/usuario.component.js","_utils/constants/tipoSistema.ts","usuarios/usuarioedit.component.js","login/login.component.js","login/passwordReset.component.js","login/requestPasswordReset.component.js","visitas/visita.component.js","visitas/visitaedit.component.js","termosUso/termoUso.component.js","termosUso/termoUsoedit.component.js","_components/PrivateRoute.jsx","relatorios/relatorio.component.js","relatorios/relatorioLogErroNfe.component.js","relatorios/relatorioFiltro.component.js","relatorios/relatorioFazendaLogSinc.component.js","relatorios/relatorioFazendaLogSincFinanceiro.component.js","relatorios/relatorioLogErroGeral.component.js","relatorios/relatorioLog.component.js","App.js","_reducers/animal.reducer.js","_reducers/auth.reducer.js","_reducers/cidade.reducer.js","_reducers/empresa.reducer.js","_reducers/estado.reducer.js","_reducers/fazenda.reducer.js","_reducers/fazendaCertificado.reducer.js","_reducers/fazendaIntegracao.reducer.js","_reducers/home.reducer.js","_reducers/convenio.reducer.js","_reducers/log.reducer.js","_reducers/logErroGeral.reducer.js","_reducers/logErroChaveNfe.reducer.js","_reducers/logFazendaSinc.reducer.js","_reducers/logFazendaFinanceiroSinc.reducer.js","_reducers/motivoDesistencia.reducer.js","_reducers/parto.reducer.js","_reducers/prefeitura.reducer.js","_reducers/produtor.reducer.js","_reducers/tanque.reducer.js","_reducers/termoUso.reducer.js","_reducers/touro.reducer.js","_reducers/usuario.reducer.js","_reducers/relatorio.reducer.js","_reducers/visita.reducer.js","_reducers/usuarioDispositivo.reducer.js","_reducers/index.js","registerServiceWorker.js","index.js","imgs/logo_forcontrol.png"],"names":["module","exports","headers","accept","baseUrl","history","createBrowserHistory","animalService","get","apiEndpoint","axios","config","getOptions","then","response","catch","err","console","log","post","payload","options","token","localStorage","getItem","undefined","authdata","window","btoa","authService","postWithToken","Swal","fire","icon","title","text","cidadeService","alerts","success","message","path","confirmButtonText","heightAuto","result","push","warning","html","error","confirmation","buttons","dangerMode","willDelete","waiting","onBeforeOpen","showLoading","alert","mixin","toast","position","showConfirmButton","timer","timerProgressBar","onOpen","addEventListener","stopTimer","resumeTimer","clean","close","crudService","status","logout","postNgrokUrl","put","deleteDetail","delete","removeItem","empresaService","estadoService","homeService","fazendaService","fazendaCertificadoService","fazendaIntegracaoService","motivoDesistenciaService","convenioService","partoService","produtorService","prefeituraService","termoUsoService","tanqueService","touroService","uploadFile","file","a","data","FormData","append","usuarioService","relatorioService","visitaService","usuarioDispositivoService","animalAction","getAnimal","showWaiting","dispatch","changeAnimalsList","getAnimalById","id","animal","type","brinco","nome","registro","lote","data_nascimento","grupo","obs","data_cadastro","usuario_cadastro","id_cor","id_fazenda","data_atualizacao","usuario_atualizacao","data_exclusao","usuario_exclusao","id_mae","id_pai","id_raca","data_descarte","intencao_descarte","escore_corporal","bst","nome_mae","nome_pai","getAnimalSelect","getAnimalByFazenda","page","limit","term","encodeURIComponent","Items","TotalItems","getAnimalByFazendaSelect","getAnimalByFazendaSelectExcluidos","reativarAnimal","request","ret","JSON","parse","responseText","onChangeProps","props","event","value","handleOnChangeProps","target","clear","totalItems","authActions","login","username","password","senha","retorno","dt","Date","setHours","getHours","setItem","stringify","usuario","getTime","mensagem","redirect","isGestor","isInseminador","isUsuario","isPrefeitura","isAdministrador","cidadeAction","getCidadesSelect","id_estado","unshift","Text","Value","cidade","changeCidadesList","empresaAction","getEmpresa","changeEmpresasList","getEmpresaById","empresa","estoque_integrado","caminho_logo","checked","editEmpresaInfo","createEmpresa","deleteEmpresaById","showCancelButton","cancelButtonText","getEmpresasSelect","estadoAction","getEstadosSelect","estado","changeEstadosList","fazendaAction","copyFazenda","getFazenda","changeFazendasList","getFazendaSelect","getFazendaById","fazenda","nome_proprietario","pessoa","codigo","data_inicio_cobranca","data_treinamento","dias_secagem","dias_parto","dias_bst","dias_pre_parto","limite_peso_cio","limite_idade_cio","pev","listaUsuarios","usuarios_financeiro","gera_cobranca","modulo_financeiro","modulo_zootecnico","id_empresa","id_motivo_desistencia","endereco","id_cidade","getFazendasByIdUsuario","editFazendaInfo","Message","importAcasalamentosFazenda","importAnimaisDescartadosFazenda","importCcsFazenda","importFazenda","importInseminacoesFazenda","importProducaoFazenda","importPartosFazenda","importPesagensFazenda","importSecagensFazenda","importSaudeUberesFazenda","createFazenda","deleteFazendaById","fazendaCertificadoAction","getFazendaCertificadoByIdFazenda","getFazendaCertificadoById","fazendaCertificado","chave","editFazendaCertificadoInfo","createFazendaCertificado","deleteFazendaCertificadoById","getFazendaCertificado","clearChave","idFazenda","fazendaIntegracaoAction","getFazendaIntegracaoByIdFazenda","getFazendaIntegracaoById","fazenda_integracao","codigo_integracao","editFazendaIntegracaoInfo","createFazendaIntegracao","deleteFazendaIntegracaoById","clearCodigoIntegracao","fazendaIntegracao","stringUtils","toInputUppercase","e","start","selectionStart","end","selectionEnd","toUpperCase","setSelectionRange","toInputLowercase","toLowerCase","phoneMask","v","length","formataTelefone","cnpjMask","replace","formatDateYYMMDD","date","d","month","getMonth","day","getDate","year","getFullYear","join","formatCpf","formatCnpj","formatCep","cep","formatData","newDate","moment","format","formatDataYY","formatDataHora","formatDiaSemana","dia","calculaIdade","dob1","today","birthDate","age_now","m","aniversarioHoje","now","serialize","obj","Object","keys","reduce","k","formataValor","valor","toLocaleString","maximumFractionDigits","onlyNumbers","str","removeDiacritics","normalize","primeiroUltimoNome","spaceCount","split","newText","array","capitalize","slice","paramsToObject","search","key","decodeURIComponent","validaCNPJ","cnpj","tamanho","numeros","substring","digitos","soma","pos","i","charAt","resultado","validaCPF","cpf","add","parseInt","rev","corte","max","homeAction","getHome","filterModel","graficoTanques","colors","chart","animations","speed","dataLabels","enabled","style","fontWeight","offsetY","plotOptions","bar","distributed","horizontal","xaxis","labels","rotate","fontSize","categories","yaxis","formatter","val","index","minimumFractionDigits","tooltip","y","series","seriesIndex","dataPointIndex","w","name","graficoAnimaisGrupos","legend","opt","toFixed","globals","dropShadow","top","left","blur","color","opacity","pie","offset","responsive","breakpoint","width","graficoDel","graficoDelMedioDias","Math","round","graficoDistribuicaoPartos","graficoIdadePrimeiroParto","graficoIntervaloPartos","graficoTaxaConcepcaoVacas","stacked","parts","graficoProducaoPorLote","graficoProducaoPorDel","graficoIntervaloPartoAtePrimeiraInseminacao","graficoGorduraLeiteProteina","graficoAnimaisAtivosPorPeriodo","graficoIndicadoresTanques","graficoIntervaloPartoConcepcao","graficoGanhoPesoDesmame","home","fazendas","empresas","total_usuarios","total_animais","total_fazendas","editHomeDetails","editHomeInfo","convenioAction","getConvenio","convenio","getConvenioById","id_usuario","editConvenioInfo","createConvenio","Path","deleteConvenioById","logAction","getLog","table","changeLogsList","getLogUsuario","logErroGeralAction","getLogErroGeral","logErroGeral","logFazendaSincAction","getLogFazendaSinc","logFazendaSinc","postSincronismoFinanceiro","linkNgrok","postSincronismoInseminadores","postSincronismoZootecnico","logFazendaFinanceiroSincAction","getLogFazendaFinanceiroSinc","logFazendaFinanceiroSinc","logErroChaveNfeAction","getLogErrosNfe","logErroChaveNfe","motivoDesistenciaAction","getMotivoDesistencia","changeMotivoDesistenciasList","getSelectMotivos","motivoDesistencia","partoAction","getParto","changePartosList","getPartoByFazenda","getPartoById","parto","id_animal","id_touro","tipo","nascido_morto","valido","editPartoInfo","createParto","deletePartoById","produtorAction","getSelectProdutoresByPrefeitura","produtor","changeProdutoresList","prefeituraAction","getPrefeitura","changePrefeiturasList","getPrefeituraById","prefeitura","inscricao_estadual","editPrefeituraInfo","createPrefeitura","deletePrefeituraById","getPrefeiturasSelect","getPrefeiturasSelectById","tanqueAction","getTanque","changeTanquesList","getTanqueByFazenda","getTanqueById","tanque","periodo","volume","vacas_lactacao","media_litros_dia","ccs","ufc","gordura","proteina","nul","preco_litro","faturamento","importTanques","editTanqueInfo","createTanque","deleteTanqueById","deleteTanqueDetails","touroAction","getTouro","changeTourosList","getTouroById","touro","tipo_relatorio","arquivo","editTourosDetails","getTouroSelect","getTouroByFazendaSelect","usuarioAction","getUsuario","getUsuarioById","listaDispositivos","listaFazendas","email","telefone","observacoes","id_prefeitura","caminho_assinatura","onChangePropsAssinatura","onChangePropsObservacoes","editUsuarioInfo","createUsuario","deleteUsuarioById","forEach","Nome","deleteEndpoint","requestPasswordReset","passwordReset","getSelectUsuarios","changeUsuariosList","getSelectInseminadores","relatorioAction","getComprovante","getRelatorio","getRelatorioById","relatorio","id_inseminador","id_produtor","inscricao_prefeitura","data_inicio","data_termino","editRelatoriosDetails","editRelatorioInfo","deleteRelatorioById","termoUsoAction","getTermoUso","getTermoUsoById","termoUso","versao","link","sistema","conteudo_arquivo","createTermoUso","editTermoUsoInfo","deleteTermoUsoById","onChangePropsConteudoArquivo","visitaAction","getVisita","changeVisitasList","getVisitaById","visita","editVisitaInfo","createVisita","includes","open","createVisitaFrizzo","animais_lactacao","producao_dia","formData","deleteVisitaById","isConfirmed","usuarioDispositivoAction","getUsuarioDispositivo","editUsuariosDispositivosDetails","enviaNotificacao","deleteDispositivoById","usuarioDispositivo","marca","modelo","data_ativacao","excluido","ModalAnimaisFazenda","openModalSelectFazenda","handleCloseModalSelectFazenda","useState","fazendaSelecionada","setFazendaSelecionada","useDispatch","useEffect","prop","renderOptionsFazenda","map","p","label","Modal","isOpen","onClose","aria-labelledby","ModalHeader","ModalBody","Row","Col","FormGroup","Label","className","for","classNamePrefix","filter","option","onChange","isSearchable","placeholder","ModalFooter","Button","onClick","params","match","String","padStart","mes","dataAtual","showCloseButton","ModalProducoesPeriodo","openModalProducoes","handleCloseModalProducoes","dataInicio","setDataInicio","dataFim","setDataFim","ano","handleValidationDatas","valid","errors","renderOptionsFazendas","Input","InputLabelProps","shrink","faFilePdf","marginRight","excel","faFileExcel","ModalAnimaisInseminacoes","openModalAnimaisInseminacoes","handleCloseModalAnimaisInseminacoes","ModalSelectEmpresa","openModalSelectEmpresa","handleCloseModalSelectEmpresa","empresaSelecionada","setEmpresaSelecionada","renderOptionsEmpresa","NavBar","setIsOpen","setOpenModalSelectFazenda","openModalAnimaisAtivos","setOpenModalAnimaisAtivos","setOpenModalSelectEmpresa","setOpenModalProducoes","setOpenModalAnimaisInseminacoes","dataPosicao","setDataPosicao","fazendasMaisDeUmAno","setFazendasMaisDeUmAno","data_hoje","handleCloseModalAnimaisAtivos","Navbar","light","expand","NavbarBrand","href","src","require","height","alt","NavbarToggler","Collapse","navbar","Nav","NavItem","NavLink","UncontrolledDropdown","nav","inNavbar","DropdownToggle","caret","DropdownMenu","DropdownItem","cursor","display","flexDirection","alignContent","alignItems","marginLeft","handleValidation","fazendas_mais_de_um_ano","connectedHomePage","withRouter","connect","state","pure","selectedAno","setSelectedAno","selectedFazenda","setSelectedFazenda","selectedEmpresa","setSelectedEmpresa","nomeFazenda","setNomeFazenda","site","handleSelectChange","event2","renderOptionsAnos","currentYear","anos","toString","nome_fazenda","some","justifyContent","htmlFor","placeItems","size","variant","print","authentication","user","Container","align","LogoMigplus","padding","FormControl","fullWidth","Card","Farm","backgroundColor","Animais","Users","ModalLog","modal","toggle","Table","hover","striped","bordered","n","data_alteracao","NomeUsuario","campo","ValorAntigo","ValorNovo","ModalLogUsuario","tabela","connectedAnimalPage","withStyles","theme","root","flexGrow","appFrame","zIndex","overflow","appBar","drawerPaper","toolbar","mixins","content","palette","background","default","spacing","paper","boxShadow","shadows","setModal","setId","edit","setEdit","setBrinco","setTerm","useDebounce","valueDebounce","columns","selector","sortable","cell","row","right","component","faPen","handleClickHistory","faClock","deleteAnimalById","faTrash","CardHeader","md","InputLabel","CardBody","pagination","paginationServer","noDataComponent","paginationComponentOptions","rowsPerPageText","rangeSeparatorText","paginationTotalRows","onChangePage","onChangeRowsPerPage","rel","connectedAnimalEditPage","handleChange","Breadcrumb","BreadcrumbItem","active","preventDefault","UncontrolledTooltip","placement","Form","readOnly","selected","lg","ButtonGroup","faUndo","editAnimalInfo","createAnimal","faCheck","connectedEmpresaPage","setState","handleClick","faPlusCircle","noRowsPerPage","selectAllRowsItem","selectAllRowsItemText","item","connectedEmpresaEditPage","isOpenDrop","setOpenDrop","logo","setLogo","setOpen","upload","fileUpload","setTimeout","handleSubmit","onSubmit","onInput","flex","files","handleChangeFile","pop","ButtonDropdown","class","connectedFazendaPage","motivoSelecionado","setMotivoSelecionado","handleClose","Empresa","Estado","uf","Cidade","idFazendaSelecionada","renderOptionsMotivo","connectedFazendaEditPage","editCertificado","setEditCertificado","idCertificado","setIdCertificado","editIntegracao","setEditIntegracao","idIntegracao","setIdIntegracao","activeTab","setActiveTab","toggleTab","tab","React","forceUpdate","openProducao","setOpenProducao","openPartos","setOpenPartos","openCcs","setOpenCcs","openInseminacoes","setOpenInseminacoes","openSecagens","setOpenSecagens","openPesagens","setOpenPesagens","openAnimaisDescartados","setOpenAnimaisDescartados","openSaudeUbere","setOpenSaudeUbere","openCopiarFazenda","setOpenCopiarFazenda","openAcasalamentos","setOpenAcasalamentos","openRecuperarAnimal","setOpenRecuperarAnimal","animalSelecionado","setAnimalSelecionado","pessoaFisica","setPessoaFisica","pessoaFisicaCertificado","setPessoaFisicaCertificado","openCadastroCertificados","setOpenCadastroCertificados","openCadastroIntegracoes","setOpenCadastroIntegracoes","mesclar","setMesclar","idUsuario","setIdUsuario","setTextUsuario","idUsuarioFinanceiro","setIdUsuarioFinanceiro","setTextUsuarioFinanceiro","handleClickOpenCadastroCertificados","columnsIntegracao","handleClickOpenCadastroIntegracoes","handleClickOpenDeleteIntegracao","handleChangeTerm","handleChangeRadio","handleChangeRadioCertificado","getUsuarioNome","u","renderOptionsEstados","renderOptionsCidades","renderOptionsAnimalRecuperar","handleChangeCertificado","setFile","renderOptionsEmpresas","renderOptionsUsuario","cpf_cnpj","handleCloseCadastroCertificados","handleCloseCadastroIntegracoes","handleCloseAnimaisDescartados","handleCloseProducao","handleCloseCopiarFazenda","handleCloseCcs","handleClosePesagens","handleCloseSecagens","handleCloseSaudeUbere","handleClosePartos","handleCloseInseminacoes","handleCloseAcasalamentos","handleCloseRecuperarAnimal","tabs","TabContent","TabPane","tabId","mask","maskChar","tag","InputMask","minWidth","ts","faPlus","Badge","pill","margin","border","Link","textDecoration","to","pathname","handleRemoveOnList","faTrashAlt","handleRemoveOnListFinanceiro","faCog","download","handleImport","handleImportSecagens","handleImportPesagens","handleImportAnimaisDescartados","handleImportSaudeUberes","handleImportCcs","handleImportAcasalamentos","handleImportProducao","handleImportPartos","marginBottom","handleImportInseminacoes","handleValidationCertificado","handleValidationIntegracao","chaveFormatada","tipoPessoa","nomeSemAcentos","termNormalized","connectedPartoPage","id_embriao","handleDeleteParto","connectedPartoEditPage","renderOptionsAnimal","renderOptionsTouro","renderOptionsTipoParto","check","nascidoMorto","isDisabled","connectedTanquePage","openTanques","setOpenTanques","setPeriodo","field","handleCloseTanques","Intl","NumberFormat","currency","fontStyle","handleImportTanques","connectedTanqueEditPage","Tanque","media_litros_leite_dia","connectedPrefeituraPage","connectedPrefeituraEditPage","maxLength","connectedConvenioPage","connectedConvenioEditPage","renderOptionsInseminador","connectedUsuarioPage","usuarioModal","setUsuarioModal","TIPO_SISTEMA","freeze","ZOOTECNICO","INSEMINADORES","FINANCEIRO","connectedUsuarioEditPage","editor","useRef","editorAssinatura","setContent","contentAssinatura","setContentAssinatura","setIdFazenda","setTextFazenda","readonly","removeButtons","configAssinatura","fullName","firstName","lastName","event3","test","trim","renderOptionsPrefeituras","getFazendaNome","renderOptionsTipo","autoComplete","WhatsAppIcon","paddingTop","ref","tabIndex","onBlur","newContent","marginTop","xl","xs","scope","handleEnviaNotificacao","faBell","connectedLoginPage","loggingIn","setUsername","setPassword","submitted","faUser","autoFocus","faKey","onKeyDown","block","PasswordReset","repeatPassword","handleChangePassword","handleChangeRepeatPassword","query","URLSearchParams","this","location","substr","indexOf","classes","Paper","maxWidth","CssBaseline","Grid","container","justify","IconButton","backButton","goBack","aria-label","Typography","disabled","submit","Component","connectedPasswordResetPage","avatar","secondary","main","form","connectedRequestPasswordResetPage","setEmail","setSubmitted","connectedVisitaPage","textAlign","nome_empresa","nome_usuario","customStyles","provided","connectedVisitaEditPage","useSelector","renderOptionsTipoRelatorio","tipoData","findIndex","producaoDia","animaisLactacao","styles","rows","connectedTermoUsoPage","handleDeleteTermoUso","Array","isArray","searchTerm","connectedTermoUsoEditPage","renderOptionsSistema","PrivateRoute","rest","Route","render","Redirect","from","connectedRelatorioLogErroNfePage","erro","interactive","dataCadastro","connectedRelatorioFiltroPage","Prefeitura","handleGerarRelatorio","faFile","connectedRelatorioFazendaLogSincPage","dias","ultimaAlteracao","connectedRelatorioFazendaLogSincFinanceiroPage","connectedRelatorioLogErroGeralPage","setLinkNgrok","idErro","handleSimulaSincronismo","connectedRelatorioLogPage","App","Router","Switch","exact","Home","Animal","AnimalEdit","EmpresaEdit","Fazenda","FazendaEdit","Parto","PartoEdit","PrefeituraEdit","Convenio","ConvenioEdit","Usuario","UsuarioEdit","Visita","VisitaEdit","TermoUso","TermoUsoEdit","RelatorioFiltro","RelatorioLog","TanqueEdit","RequestPasswordReset","Login","initialState","anchor","auth","loggedIn","ibge","caminhoLogo","valorAntigo","valorNovo","motivoDesistencia_cadastro","motivoDesistencia_exclusao","numero_matricula","inscricao_municipal","semen","rootReducer","combineReducers","action","isLoading","totalRegistros","Boolean","hostname","store","createStore","reducer","applyMiddleware","thunk","ReactDOM","document","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"sGAAAA,EAAOC,QAAU,CACbC,QAAS,CACLC,OAAQ,oBAEZC,QAAS,wC,4KCJbJ,EAAOC,QAAU,0+M,kBCAjBD,EAAOC,QAAU,stP,kBCAjBD,EAAOC,QAAU,8hX,oBCAjBD,EAAOC,QAAU,IAA0B,kC,oBCA3CD,EAAOC,QAAU,IAA0B,sC,sGCA3CD,EAAOC,QAAU,IAA0B,yD,gECA3CD,EAAOC,QAAU,IAA0B,8C,kBCA3CD,EAAOC,QAAU,kgB,yLCCJI,EAAUC,c,+OCEVC,EAAgB,CACzBC,IAGJ,SAAaC,GACT,OAAOC,IAAMF,IAAIG,IAAOP,QAAUK,EAAaG,KAC1CC,MAAK,S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AAgBC,OAEnDC,IAASvE,OACL,kBAAC,IAAD,CAAUkE,MAAOA,IACb,kBAAC,GAAD,OAEFM,SAASC,eAAe,SD8FtB,kBAAmBC,WACnBA,UAAUC,cAAcC,MAAMxrC,MAAK,SAAAyrC,GAC/BA,EAAaC,iB,mBEjHzBvsC,EAAOC,QAAU,IAA0B,8C","file":"static/js/main.708d67c6.chunk.js","sourcesContent":["module.exports = {\r\n headers: {\r\n accept: 'application/json'\r\n },\r\n baseUrl: 'https://api.appgestorrp.com.br/api/'\r\n //baseUrl: 'https://5289-177-137-253-157.ngrok.io/api/'\r\n}\r\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABLvSURBVHhe7Z0JnF1XXcfPnSX70jZtuiQ0XdINRbpQmhZsljYmU4p2MZOEKlRRQUG0ikvBD5QiCgJKqVQQKFLZklJEu0y3TAiUBgQFqwWhlchSE2rSpKRpMpOZd/l938yZnnfm3HfvW2YyL3O+n88vb5mX996955z/ds65z0QikUgkEolEIpFIJBKJRCKRSCQSiUQikUgkEolEIpFIJBKJRCKRSCQSiUQikUik1UiGbycLW6U50m7paOkMabKdg0lJWkBfkKZLkcOEUCPn6X+lK6VIi/JJKdSwtepd0qSgFf1fh3SBdJd0BE8Ms0M6buhuBX3SZukB6YcS/n++tEjqki6S2iUf+34xRpggnCV9QHpKCo1aXwek90rzpGrQEW6TBqXQ+/h6XHqHRBAZGQc40f8gDUihBgmJkX6uVAtYgz1S6P1C+ol0oxQDxzHmx1KoAbL0A+kEqR5+TqJhQ++bpW9Kp0mRKnxK+ruhuzUROuHoWalX+h/nOfv8OVIjvFwqSe770shflg46z7l6WlouRRxCJwoVJfR//0/6PYngj2DwScn9e7Oi989K7vt+TYLjpbdIIVeB5ThPmpQslj4v+SeliLLwX/dBiSqeBZ/t/n2fRMcgon+N9D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uy/spqwKeuVb4WgF/wMb8IwM+cXwTgZ84vAuADTAaTYM38X9yJRaY2X+C3VsGOKNtcSfOpVuIvi0E1dZCvb8dMR30HJz8qRyqXkDl/KAERAQ7PLd9SRf3eMwBvIWgCFw/MXdpyQbUAdbtPU7/vDNpGLZVf1dBSZrO45TOOrStBXddBW5WaY+t6j0/YfFJkFzDTqzfWBxeUALRWiCu85ZRfGFgA0KXtWYG157MoQhxv2KcKkAtKAGzMtfzEj8EGf70vO1xYAvALHucXAfiZ42sBMDvqdVk7gF7EWD2rT50JfS0A5gQ/XR1dtJb7z6jeW7SUtom8lLHI2uoLfC0AotQeJzeWiZxDLjbaa9Sc/KjMercH05v0H18vwYUAJYDKvEciJK8MCLdVkHXUd5jzBYLgnu2q84insZySSiQSlFamX7o2PZqzGusZQhUwHPh5BCRyQC7CkqjpZ/bXCXg32fEFxHQEjxVfV8pA/Z0GrvbIm7uIiAAeA/YCTfi+kjz91wT8AKzAT3wwAf4PO4+/b2Dzx7QAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/logo.b6219393.png\";","module.exports = __webpack_public_path__ + \"static/media/whatsapp.eb339f8e.svg\";","module.exports = __webpack_public_path__ + \"static/media/banner_gestor_rp_horizontal.f0f9fcdb.png\";","module.exports = __webpack_public_path__ + \"static/media/banner_gestor_rp.88085f07.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAABIElEQVR4nO3USUoDYRAF4E/BlRo33sBh6wDuRFTwVmKCXiKaIwhKtkoWuYORXMEhgsaFu5aGCrQi3b9DwEUeNHTDq/dq6Com+AMcoIU+XvGCHs6w9xvhVXSRVTzXWCnENVLEd/AUAnc4xDpmUcMGjnEfnAG2QjxLyXwkfo75Eu4i2sF9K1RVim5BfCqh2pmYSbFtpQMdtaUs8yJGbUkyaAUh7/lPxbOygH4Q1owJwzCY8w9Ri+Sex2WwGQa3ZaSvBtZINKgHv/kdg0ai+AIeImY/1aAXS1SFaVxGTKeKnH1a+3acg7LML4L7iKUUg3ocrkF856WfxBAXYsPz96NCW3Lx7YRqP/R8GVcJ57qTknkZdnGKm/jHhzGfZtVAJ5CCdywscWCgJHMnAAAAAElFTkSuQmCC\"","import { createBrowserHistory } from 'history';\r\nexport const history = createBrowserHistory();","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const animalService = {\r\n get,\r\n post\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\n\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\n\r\nfunction getOptions() {\r\n let options = {};\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}\r\n","import axios from 'axios';\r\nimport config from '../config/config';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const authService = {\r\n post,\r\n postWithToken\r\n};\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction postWithToken(apiEndpoint, payload, token) {\r\n\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Oops...',\r\n text: 'Login inválido!'\r\n })\r\n return err;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n \r\n var token = localStorage.getItem('token');\r\n if (token === undefined || token === null) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const cidadeService = {\r\n get\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import Swal from 'sweetalert2';\r\nimport { history } from '../_helpers';\r\n\r\nconst alerts = {\r\n success,\r\n warning,\r\n html,\r\n error,\r\n confirmation,\r\n waiting,\r\n alert,\r\n clean\r\n};\r\n\r\nfunction alert(message) {\r\n const Toast = Swal.mixin({\r\n toast: true,\r\n position: 'top-end',\r\n showConfirmButton: false,\r\n timer: 3000,\r\n timerProgressBar: true,\r\n heightAuto: false,\r\n onOpen: (toast) => {\r\n toast.addEventListener('mouseenter', Swal.stopTimer);\r\n toast.addEventListener('mouseleave', Swal.resumeTimer);\r\n }\r\n });\r\n\r\n Toast.fire({\r\n icon: 'warning',\r\n title: message\r\n });\r\n}\r\n\r\nfunction clean() {\r\n Swal.close();\r\n}\r\n\r\nfunction waiting(message) {\r\n Swal.fire({\r\n title: 'Aguarde',\r\n text: message,\r\n heightAuto: false,\r\n onBeforeOpen: () => {\r\n Swal.showLoading();\r\n }\r\n });\r\n}\r\n\r\nfunction success(message, path) {\r\n\r\n Swal.fire({\r\n title: 'Sucesso!',\r\n text: message,\r\n icon: 'success',\r\n confirmButtonText: 'Ok',\r\n heightAuto: false\r\n }).then((result) => {\r\n history.push(path);\r\n });\r\n\r\n}\r\n\r\nfunction html(message, path) {\r\n\r\n Swal.fire({\r\n title: 'Sucesso!',\r\n html: message,\r\n icon: 'success',\r\n confirmButtonText: 'Ok',\r\n heightAuto: false\r\n }).then((result) => {\r\n history.push(path);\r\n });\r\n\r\n}\r\n\r\nfunction warning(message) {\r\n\r\n Swal.fire({\r\n title: 'Atenção!',\r\n html: message,\r\n icon: 'warning',\r\n confirmButtonText: 'Ok',\r\n heightAuto: false\r\n });\r\n\r\n}\r\n\r\nfunction error(message) {\r\n\r\n Swal.fire({\r\n title: 'Erro!',\r\n text: message,\r\n icon: 'error',\r\n confirmButtonText: 'Ok',\r\n heightAuto: false\r\n });\r\n\r\n}\r\n\r\nfunction confirmation(message) {\r\n\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: message,\r\n icon: 'warning',\r\n buttons: true,\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n // console.log('willDelete', willDelete);\r\n return willDelete;\r\n });\r\n\r\n}\r\n\r\nexport default alerts;","import axios from 'axios';\r\nimport { history } from '../_helpers';\r\nimport config from '../config/config';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const crudService = {\r\n get,\r\n post,\r\n postNgrokUrl,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n if (response.status === 401) {\r\n logout();\r\n } else if (response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n return response;\r\n }\r\n }).catch((err) => {\r\n if (err.response.status === 401) {\r\n logout();\r\n } else if (err.response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n console.log(err);\r\n }\r\n return err;\r\n });\r\n}\r\nfunction postNgrokUrl(apiEndpoint, payload) {\r\n\r\n return axios.post(apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n if (response.status === 401) {\r\n logout();\r\n } else if (response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n return response;\r\n }\r\n }).catch((err) => {\r\n if (err.response.status === 401) {\r\n logout();\r\n } else if (err.response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n console.log(err);\r\n }\r\n return err;\r\n });\r\n}\r\n\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n if (response.status === 401) {\r\n logout();\r\n } else if (response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n return response;\r\n }\r\n }).catch((err) => {\r\n if (err.response.status === 401) {\r\n logout();\r\n } else if (err.response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n console.log(err);\r\n }\r\n return err;\r\n });\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n console.log('response', response)\r\n if (response.status === 401) {\r\n logout();\r\n } else if (response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n return response;\r\n }\r\n }).catch((err) => {\r\n if (err.response.status === 401) {\r\n logout();\r\n } else if (err.response.status === 403) {\r\n history.push(\"/erro403\");\r\n } else {\r\n console.log(err);\r\n }\r\n return err;\r\n });\r\n}\r\nfunction getOptions() {\r\n //let options = {};\r\n //if (localStorage.getItem('token')) {\r\n // options.headers = { 'Authorization': 'Bearer ' + localStorage.getItem('token') };\r\n //}\r\n //return options;\r\n let options = {};\r\n let authdata = window.btoa(localStorage.getItem('token'));\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}\r\n\r\nfunction getOptionsAllowCors() {\r\n let options = {};\r\n var token = localStorage.getItem('token');\r\n if (token === undefined || token === null) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = {\r\n 'Authorization': 'Basic ' + authdata,\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS',\r\n 'Access-Control-Allow-Headers': 'Content-Type, Authorization'\r\n };\r\n return options;\r\n}\r\nfunction logout() {\r\n localStorage.removeItem('auth');\r\n localStorage.removeItem('token');\r\n localStorage.removeItem('user');\r\n history.push('/');\r\n alerts.alert(\"Sessão encerrada. Realize login novamente.\");\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const empresaService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const estadoService = {\r\n get\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const homeService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const fazendaService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const fazendaCertificadoService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const fazendaIntegracaoService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const motivoDesistenciaService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\n\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}\r\n\r\n","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const convenioService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token == undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const partoService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const produtorService = {\r\n get,\r\n post\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const prefeituraService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const termoUsoService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const tanqueService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const touroService = {\r\n get,\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios'\r\nimport config from '../config/config'\r\n\r\nexport async function uploadFile(file) {\r\n const data = new FormData()\r\n data.append('file', file)\r\n\r\n return axios\r\n .post(config.baseUrl + 'uploads/S3', data, getOptions())\r\n .then((response) => {\r\n return response.data\r\n })\r\n .catch((error) => {\r\n // console.log('error', error)\r\n // return errorHandler(error)\r\n })\r\n}\r\n\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}\r\n","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const usuarioService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\n\r\n function put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n function deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n function getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n }\r\n\r\n ","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const relatorioService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\n\r\n function put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n function deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n function getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n }\r\n\r\n ","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const visitaService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import axios from 'axios';\r\nimport config from '../config/config';\r\n\r\nexport const usuarioDispositivoService = {\r\n get,\r\n post,\r\n put,\r\n deleteDetail\r\n};\r\nfunction get(apiEndpoint) {\r\n return axios.get(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction post(apiEndpoint, payload) {\r\n return axios.post(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction put(apiEndpoint, payload) {\r\n return axios.put(config.baseUrl + apiEndpoint, payload, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction deleteDetail(apiEndpoint) {\r\n return axios.delete(config.baseUrl + apiEndpoint, getOptions())\r\n .then((response) => {\r\n return response;\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n}\r\nfunction getOptions() {\r\n let options = {};\r\n //let authdata = window.btoa('gestorrp:gestor2414#');\r\n var token = localStorage.getItem('token');\r\n if (token === undefined) {\r\n token = 'gestorrp:gestor2414#';\r\n }\r\n let authdata = window.btoa(token);\r\n options.headers = { 'Authorization': 'Basic ' + authdata };\r\n return options;\r\n}","import { animalService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const animalAction = {\r\n getAnimal,\r\n getAnimalById,\r\n getAnimalSelect,\r\n getAnimalByFazenda,\r\n getAnimalByFazendaSelect,\r\n getAnimalByFazendaSelectExcluidos,\r\n reativarAnimal,\r\n onChangeProps,\r\n clear\r\n};\r\nfunction getAnimal(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'animais';\r\n animalService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeAnimalsList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getAnimalById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'animais/' + id;\r\n animalService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editAnimalsDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getAnimalSelect() {\r\n return dispatch => {\r\n let apiEndpoint = 'animais/select';\r\n animalService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeAnimalsList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nfunction getAnimalByFazenda(showWaiting, id, page = 1, limit = 10, term = \"\") {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = `animais/fazenda/${id}?page=${page}&limit=${limit}`;\r\n if (term) {\r\n apiEndpoint += `&term=${encodeURIComponent(term)}`;\r\n }\r\n\r\n animalService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeAnimalsList(response.data.Items, response.data.TotalItems));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getAnimalByFazendaSelect(id) {\r\n return dispatch => {\r\n let apiEndpoint = 'animais/fazenda/select/' + id;\r\n animalService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeAnimalsList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\n\r\nfunction getAnimalByFazendaSelectExcluidos(id) {\r\n return dispatch => {\r\n let apiEndpoint = 'animais/select/excluidos/' + id;\r\n animalService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeAnimalsList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\n\r\nfunction reativarAnimal(id) {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = '/animais/reativar/' + id;\r\n animalService.post(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(reactivateAnimal());\r\n alerts.success(\"Animal reativado com sucesso!\", '/fazenda/' +ret.id_fazenda)\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\nexport function changeAnimalsList(animal, totalItems) {\r\n return {\r\n type: \"FETECHED_ALL_ANIMAL\",\r\n animal: animal,\r\n totalItems: totalItems\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"ANIMAL_CLEAR\"\r\n };\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editAnimalsDetails(animal) {\r\n return {\r\n type: \"ANIMAL_DETAIL\",\r\n id: animal.id,\r\n brinco: animal.brinco,\r\n nome: animal.nome,\r\n registro: animal.registro,\r\n lote: animal.lote,\r\n data_nascimento: animal.data_nascimento,\r\n grupo: animal.grupo,\r\n status: animal.status,\r\n obs: animal.obs,\r\n data_cadastro: animal.data_cadastro,\r\n usuario_cadastro: animal.usuario_cadastro,\r\n id_cor: animal.id_cor,\r\n id_fazenda: animal.id_fazenda,\r\n data_atualizacao: animal.data_atualizacao,\r\n usuario_atualizacao: animal.usuario_atualizacao,\r\n data_exclusao: animal.data_exclusao,\r\n usuario_exclusao: animal.usuario_exclusao,\r\n id_mae: animal.id_mae,\r\n id_pai: animal.id_pai,\r\n id_raca: animal.id_raca,\r\n data_descarte: animal.data_descarte,\r\n intencao_descarte: animal.intencao_descarte,\r\n escore_corporal: animal.escore_corporal,\r\n bst: animal.bst,\r\n nome_mae: animal.nome_mae,\r\n nome_pai: animal.nome_pai\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"ANIMAL_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"ANIMAL_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\n\r\nexport function reactivateAnimal() {\r\n return {\r\n type: \"ANIMAL_REACTIVATED_SUCCESSFULLY\"\r\n }\r\n}\r\n\r\nexport function deleteAnimalsDetails() {\r\n return {\r\n type: \"DELETED_ANIMAL_DETAILS\"\r\n }\r\n}","import { authService } from '../_services/';\r\nimport { history } from '../_helpers';\r\nimport Swal from 'sweetalert2';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const authActions = {\r\n login,\r\n logout,\r\n isGestor,\r\n isInseminador,\r\n isUsuario,\r\n isPrefeitura,\r\n isAdministrador\r\n};\r\n\r\nfunction isGestor() {\r\n const isGestor = (JSON.parse(localStorage.getItem('user'))[\"tipo\"] === 'G' ? true : false);\r\n return isGestor;\r\n}\r\n\r\nfunction isInseminador() {\r\n const isInseminador = (JSON.parse(localStorage.getItem('user'))[\"tipo\"] == 'I' ? true : false);\r\n return isInseminador;\r\n}\r\n\r\nfunction isPrefeitura() {\r\n const isPrefeitura = (JSON.parse(localStorage.getItem('user'))[\"tipo\"] == 'P' ? true : false);\r\n return isPrefeitura;\r\n}\r\n\r\nfunction isUsuario() {\r\n const isUsuario = (JSON.parse(localStorage.getItem('user'))[\"tipo\"] == 'U' ? true : false);\r\n return isUsuario;\r\n}\r\n\r\nfunction isAdministrador() {\r\n const isAdministrador = (JSON.parse(localStorage.getItem('user'))[\"tipo\"] == 'A' ? true : false);\r\n return isAdministrador;\r\n}\r\n\r\nfunction login(username, password) {\r\n return dispatch => {\r\n let apiEndpoint = 'authentication/login';\r\n let payload = {\r\n login: username,\r\n senha: password,\r\n token: 'gestorrp_fortalezatec'\r\n }\r\n alerts.waiting();\r\n authService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n alerts.clean();\r\n if (response && response.data.status.retorno) {\r\n var dt = new Date();\r\n dt.setHours(dt.getHours() + 4);\r\n\r\n let token = payload.login + \":\" + payload.senha;\r\n localStorage.setItem('user', JSON.stringify(response.data.usuario));\r\n localStorage.setItem('id_user', response.data.usuario.id);\r\n localStorage.setItem('token', token);\r\n localStorage.setItem('auth', true);\r\n localStorage.setItem('expire', dt.getTime());\r\n history.push('/home');\r\n } else if (response && response.data.status.retorno === false) {\r\n Swal.fire({\r\n title: 'Atenção!',\r\n text: response.data.status.mensagem,\r\n icon: 'warning',\r\n confirmButtonText: 'Ok',\r\n heightAuto: false\r\n });\r\n } else {\r\n Swal.fire({\r\n title: 'Erro!',\r\n text: 'Login Inválido',\r\n icon: 'error',\r\n confirmButtonText: 'Ok',\r\n heightAuto: false\r\n });\r\n }\r\n })\r\n };\r\n}\r\n\r\nfunction logout(redirect) {\r\n return dispatch => {\r\n localStorage.removeItem('auth');\r\n localStorage.removeItem('token');\r\n localStorage.removeItem('user');\r\n localStorage.removeItem('id_user');\r\n localStorage.removeItem('expire');\r\n //dispatch(logoutUser());\r\n logoutUser();\r\n if (redirect) {\r\n history.push('/');\r\n }\r\n \r\n }\r\n}\r\n\r\nexport function setUserDetails(user) {\r\n return {\r\n type: \"LOGIN_SUCCESS\",\r\n auth: user.auth,\r\n token: user.token,\r\n user: user.user,\r\n expire: user.expire\r\n }\r\n}\r\n\r\nexport function logoutUser() {\r\n return {\r\n type: \"LOGOUT_SUCCESS\",\r\n auth: false,\r\n token: '',\r\n user: null,\r\n expire: null\r\n }\r\n}","import { cidadeService } from '../_services/';\r\n\r\nexport const cidadeAction = {\r\n getCidadesSelect\r\n};\r\n\r\nfunction getCidadesSelect(id_estado) {\r\n return dispatch => {\r\n let apiEndpoint = 'cidades/select/' + id_estado;\r\n cidadeService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Text: 'SELECIONE...', Value: '' })\r\n dispatch(changeCidadesList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nexport function changeCidadesList(cidade) {\r\n return {\r\n type: \"FETECHED_ALL_CIDADE\",\r\n cidade: cidade\r\n }\r\n}\r\nexport function editCidadesDetails(cidade) {\r\n return {\r\n type: \"CIDADE_DETAIL\",\r\n id: cidade.id,\r\n nome: cidade.nome,\r\n data_exclusao: cidade.data_exclusao,\r\n usuario_exclusao: cidade.usuario_exclusao,\r\n ibge: cidade.ibge,\r\n id_estado: cidade.id_estado\r\n }\r\n}","import { empresaService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const empresaAction = {\r\n getEmpresa,\r\n getEmpresaById,\r\n onChangeProps,\r\n editEmpresaInfo,\r\n createEmpresa,\r\n deleteEmpresaById,\r\n getEmpresasSelect\r\n};\r\nfunction getEmpresa(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'empresas';\r\n empresaService.get(apiEndpoint)\r\n .then((response) => {\r\n // response.data.unshift({ id: '0', nome: ' SELECIONE ...' });\r\n dispatch(changeEmpresasList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction createEmpresa(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'empresas/';\r\n empresaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/empresas');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction getEmpresaById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'empresas/' + id;\r\n empresaService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editEmpresasDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nfunction editEmpresaInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'empresa/' + id;\r\n empresaService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/empresas');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction deleteEmpresaById(id) {\r\n return dispatch => {\r\n\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n\r\n let apiEndpoint = 'empresas/' + id;\r\n empresaService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deleteEmpresasDetails());\r\n dispatch(empresaAction.getEmpresa());\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n\r\n }\r\n });\r\n\r\n\r\n };\r\n}\r\n\r\nfunction getEmpresasSelect() {\r\n return dispatch => {\r\n let apiEndpoint = 'empresas/select';\r\n empresaService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Text: 'SELECIONE...', Value: '' })\r\n dispatch(changeEmpresasList(response.data));\r\n // console.log(\"response.data\", response.data)\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nexport function changeEmpresasList(empresa) {\r\n return {\r\n type: \"FETECHED_ALL_EMPRESA\",\r\n empresa: empresa\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editEmpresasDetails(empresa) {\r\n return {\r\n type: \"EMPRESA_DETAIL\",\r\n id: empresa.id,\r\n nome: empresa.nome,\r\n estoque_integrado: empresa.estoque_integrado,\r\n caminho_logo: empresa.caminho_logo,\r\n data_cadastro: empresa.data_cadastro,\r\n usuario_cadastro: empresa.usuario_cadastro,\r\n data_exclusao: empresa.data_exclusao,\r\n usuario_exclusao: empresa.usuario_exclusao\r\n\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"EMPRESA_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"EMPRESA_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteEmpresasDetails() {\r\n return {\r\n type: \"DELETED_EMPRESA_DETAILS\"\r\n }\r\n}","import { estadoService } from '../_services/';\r\n\r\nexport const estadoAction = {\r\n getEstadosSelect\r\n};\r\n\r\nfunction getEstadosSelect() {\r\n return dispatch => {\r\n let apiEndpoint = 'estados/select';\r\n estadoService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Text: 'SELECIONE...', Value: '' })\r\n dispatch(changeEstadosList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nexport function changeEstadosList(estado) {\r\n return {\r\n type: \"FETECHED_ALL_ESTADO\",\r\n estado: estado\r\n }\r\n}\r\nexport function editEstadosDetails(estado) {\r\n return {\r\n type: \"ESTADO_DETAIL\",\r\n id: estado.id,\r\n nome: estado.nome,\r\n uf: estado.uf,\r\n data_exclusao: estado.data_exclusao,\r\n usuario_exclusao: estado.usuario_exclusao,\r\n ibge: estado.ibge\r\n }\r\n}","import { fazendaService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const fazendaAction = {\r\n copyFazenda,\r\n getFazenda,\r\n getFazendaSelect,\r\n getFazendaById,\r\n getFazendasByIdUsuario,\r\n onChangeProps,\r\n editFazendaInfo,\r\n importAcasalamentosFazenda,\r\n importAnimaisDescartadosFazenda,\r\n importCcsFazenda,\r\n importFazenda,\r\n importInseminacoesFazenda,\r\n importProducaoFazenda,\r\n importPartosFazenda,\r\n importPesagensFazenda,\r\n importSecagensFazenda,\r\n importSaudeUberesFazenda,\r\n createFazenda,\r\n deleteFazendaById,\r\n clear\r\n};\r\nfunction getFazenda(showWaiting, page = 1, limit = 10, term = \"\") {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n\r\n let apiEndpoint = `fazendas?page=${page}&limit=${limit}`;\r\n if (term) {\r\n apiEndpoint += `&term=${encodeURIComponent(term)}`;\r\n }\r\n\r\n fazendaService.get(apiEndpoint)\r\n .then((response) => {\r\n if (response.data) {\r\n //response.data.Items.unshift({ id: '0', nome: ' SELECIONE ...' });\r\n dispatch(changeFazendasList(response.data.Items, response.data.TotalItems));\r\n //dispatch(setTotalItems(response.data.TotalItems)); // Guardar o total no estado global\r\n // console.log(\"response.data\", response.data)\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\n\r\nfunction getFazendasByIdUsuario(showWaiting, id) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n\r\n let apiEndpoint = `fazendas/usuario/${id}`;\r\n\r\n fazendaService.get(apiEndpoint)\r\n .then((response) => {\r\n if (response.data) {\r\n dispatch(changeFazendasList(response.data.Items, response.data.TotalItems));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\n\r\nfunction getFazendaSelect(showWaiting) {\r\n return (dispatch) => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n\r\n const apiEndpoint = 'fazendas/select'\r\n fazendaService\r\n .get(apiEndpoint)\r\n .then((response) => {\r\n if (response?.data) {\r\n dispatch(changeFazendasList(response?.data))\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n }\r\n}\r\nfunction createFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendas/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n dispatch(clear());\r\n alerts.success(ret.message, '/fazendas');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction importFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n if (ret.retorno) {\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction importCcsFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/ccs/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction copyFazenda(payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'fazendas/copy';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction importAcasalamentosFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/acasalamentos/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction importProducaoFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/producao/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction importAnimaisDescartadosFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/animais_descartados/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction importSecagensFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/secagens/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction importPesagensFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/pesagens/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction importSaudeUberesFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/saudeUberes/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction importPartosFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/partos/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction importInseminacoesFazenda(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Chamadas/import/inseminacoes/';\r\n fazendaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/fazendas'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/fazendas'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n })\r\n }\r\n}\r\nfunction getFazendaById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendas/' + id;\r\n fazendaService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editFazendasDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nfunction editFazendaInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendas/' + id;\r\n fazendaService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n dispatch(clear());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/fazendas');\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction deleteFazendaById(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendas/delete/' + id\r\n fazendaService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n dispatch(clear());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/fazendas');\r\n dispatch(fazendaAction.getFazenda());\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n}\r\nexport function changeFazendasList(fazenda, totalItems) {\r\n return {\r\n type: \"FETECHED_ALL_FAZENDA\",\r\n fazenda: fazenda,\r\n totalItems: totalItems\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editFazendasDetails(fazenda) {\r\n\r\n return {\r\n type: \"FAZENDA_DETAIL\",\r\n id: fazenda.id,\r\n nome: fazenda.nome,\r\n nome_proprietario: fazenda.nome_proprietario,\r\n pessoa: fazenda.pessoa,\r\n codigo: fazenda.codigo,\r\n data_inicio_cobranca: fazenda.data_inicio_cobranca,\r\n data_treinamento: fazenda.data_treinamento,\r\n dias_secagem: fazenda.dias_secagem,\r\n dias_parto: fazenda.dias_parto,\r\n dias_bst: fazenda.dias_bst,\r\n dias_pre_parto: fazenda.dias_pre_parto,\r\n limite_peso_cio: fazenda.limite_peso_cio,\r\n limite_idade_cio: fazenda.limite_idade_cio,\r\n pev: fazenda.pev,\r\n listaUsuarios: fazenda.listaUsuarios,\r\n usuarios_financeiro: fazenda.usuarios_financeiro,\r\n gera_cobranca: fazenda.gera_cobranca,\r\n modulo_financeiro: fazenda.modulo_financeiro,\r\n modulo_zootecnico: fazenda.modulo_zootecnico,\r\n id_empresa: fazenda.id_empresa,\r\n empresa: fazenda.empresa,\r\n data_cadastro: fazenda.data_cadastro,\r\n usuario_cadastro: fazenda.usuario_cadastro,\r\n data_exclusao: fazenda.data_exclusao,\r\n usuario_exclusao: fazenda.usuario_exclusao,\r\n id_motivo_desistencia: fazenda.id_motivo_desistencia,\r\n endereco: fazenda.endereco,\r\n id_cidade: fazenda.id_cidade,\r\n id_estado: fazenda.id_estado\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"FAZENDA_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"FAZENDA_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteFazendasDetails() {\r\n return {\r\n type: \"DELETED_FAZENDA_DETAILS\"\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"FAZENDA_CLEAR\"\r\n };\r\n}","import { fazendaCertificadoService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const fazendaCertificadoAction = {\r\n getFazendaCertificadoByIdFazenda,\r\n getFazendaCertificadoById,\r\n onChangeProps,\r\n editFazendaCertificadoInfo,\r\n createFazendaCertificado,\r\n deleteFazendaCertificadoById,\r\n clear,\r\n clearChave\r\n};\r\nfunction getFazendaCertificadoByIdFazenda(idFazenda, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasCertificados/fazenda/' + idFazenda;\r\n fazendaCertificadoService.get(apiEndpoint)\r\n .then((response) => {\r\n if (response.data) {\r\n dispatch(changeFazendaCertificadosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\n\r\nfunction getFazendaCertificadoById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasCertificados/' + id;\r\n fazendaCertificadoService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editFazendaCertificadosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction createFazendaCertificado(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendaCertificados/';\r\n fazendaCertificadoService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n dispatch(clearChave());\r\n alerts.success(ret.message);\r\n dispatch(getFazendaCertificadoByIdFazenda(payload.id_fazenda))\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nfunction editFazendaCertificadoInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasCertificados/' + id;\r\n fazendaCertificadoService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n dispatch(clearChave());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message);\r\n dispatch(getFazendaCertificadoByIdFazenda(payload.id_fazenda))\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction deleteFazendaCertificadoById(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendaCertificados/delete/' + id\r\n fazendaCertificadoService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n dispatch(clear());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/fazendaCertificados');\r\n dispatch(fazendaCertificadoAction.getFazendaCertificado());\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n}\r\nexport function changeFazendaCertificadosList(fazendaCertificado) {\r\n return {\r\n type: \"FETECHED_ALL_FAZENDA_CERTIFICADO\",\r\n fazendaCertificado: fazendaCertificado\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editFazendaCertificadosDetails(fazendaCertificado) {\r\n\r\n return {\r\n type: \"FAZENDA_CERTIFICADO_DETAIL\",\r\n id: fazendaCertificado.id,\r\n data_cadastro: fazendaCertificado.data_cadastro,\r\n usuario_cadastro: fazendaCertificado.usuario_cadastro,\r\n data_exclusao: fazendaCertificado.data_exclusao,\r\n usuario_exclusao: fazendaCertificado.usuario_exclusao,\r\n id_fazenda: fazendaCertificado.id_fazenda,\r\n chave: fazendaCertificado.chave,\r\n nome: fazendaCertificado.nome\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"FAZENDA_CERTIFICADO_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"FAZENDA_CERTIFICADO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteFazendaCertificadosDetails() {\r\n return {\r\n type: \"DELETED_FAZENDA_CERTIFICADO_DETAILS\"\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"FAZENDA_CERTIFICADO_CLEAR\"\r\n };\r\n}\r\n\r\nexport function clearChave() {\r\n return {\r\n type: \"FAZENDA_CERTIFICADO_CHAVE_CLEAR\"\r\n };\r\n}","import { fazendaIntegracaoService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const fazendaIntegracaoAction = {\r\n getFazendaIntegracaoByIdFazenda,\r\n getFazendaIntegracaoById,\r\n onChangeProps,\r\n editFazendaIntegracaoInfo,\r\n createFazendaIntegracao,\r\n deleteFazendaIntegracaoById,\r\n clear,\r\n clearCodigoIntegracao\r\n};\r\nfunction getFazendaIntegracaoByIdFazenda(idFazenda, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasIntegracoes/fazenda/' + idFazenda;\r\n fazendaIntegracaoService.get(apiEndpoint)\r\n .then((response) => {\r\n if (response.data) {\r\n dispatch(changeFazendaIntegracaosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\n\r\nfunction getFazendaIntegracaoById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasIntegracoes/' + id;\r\n fazendaIntegracaoService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editFazendaIntegracaosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction createFazendaIntegracao(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasIntegracoes/';\r\n fazendaIntegracaoService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n dispatch(clearCodigoIntegracao());\r\n alerts.success(ret.message);\r\n dispatch(getFazendaIntegracaoByIdFazenda(payload.id_fazenda))\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nfunction editFazendaIntegracaoInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendasIntegracoes/' + id;\r\n fazendaIntegracaoService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n dispatch(clearCodigoIntegracao());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message);\r\n dispatch(getFazendaIntegracaoByIdFazenda(payload.id_fazenda))\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction deleteFazendaIntegracaoById(id, id_fazenda, showWaiting) {\r\n return dispatch => {\r\n\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n let apiEndpoint = 'fazendasIntegracoes/delete/' + id\r\n fazendaIntegracaoService.put(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n dispatch(clear());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message);\r\n dispatch(getFazendaIntegracaoByIdFazenda(id_fazenda))\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n\r\n }\r\n });\r\n };\r\n}\r\nexport function changeFazendaIntegracaosList(fazendaIntegracao) {\r\n return {\r\n type: \"FETECHED_ALL_FAZENDA_INTEGRACAO\",\r\n fazendaIntegracao: fazendaIntegracao\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editFazendaIntegracaosDetails(fazenda_integracao) {\r\n\r\n return {\r\n type: \"FAZENDA_INTEGRACAO_DETAIL\",\r\n id: fazenda_integracao.id,\r\n data_cadastro: fazenda_integracao.data_cadastro,\r\n usuario_cadastro: fazenda_integracao.usuario_cadastro,\r\n data_exclusao: fazenda_integracao.data_exclusao,\r\n usuario_exclusao: fazenda_integracao.usuario_exclusao,\r\n id_fazenda: fazenda_integracao.id_fazenda,\r\n codigo_integracao: fazenda_integracao.codigo_integracao\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"FAZENDA_INTEGRACAO_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"FAZENDA_INTEGRACAO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteFazendaIntegracaosDetails() {\r\n return {\r\n type: \"DELETED_FAZENDA_INTEGRACAO_DETAILS\"\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"FAZENDA_INTEGRACAO_CLEAR\"\r\n };\r\n}\r\n\r\nexport function clearCodigoIntegracao() {\r\n return {\r\n type: \"FAZENDA_INTEGRACAO_CODIGO_CLEAR\"\r\n };\r\n}","import moment from 'moment';\r\n\r\nexport const stringUtils = {\r\n toInputUppercase,\r\n toInputLowercase,\r\n phoneMask,\r\n cnpjMask,\r\n formatDateYYMMDD,\r\n formatCpf,\r\n formatCnpj,\r\n formatCep,\r\n formatData,\r\n formatDataYY,\r\n formatDataHora,\r\n formatDiaSemana,\r\n calculaIdade,\r\n aniversarioHoje,\r\n serialize,\r\n formataTelefone,\r\n formataValor,\r\n onlyNumbers,\r\n removeDiacritics,\r\n primeiroUltimoNome,\r\n capitalize,\r\n paramsToObject,\r\n validaCNPJ,\r\n validaCPF\r\n};\r\n\r\nfunction toInputUppercase(e) {\r\n var start = e.target.selectionStart;\r\n var end = e.target.selectionEnd;\r\n e.target.value = e.target.value.toUpperCase();\r\n e.target.setSelectionRange(start, end);\r\n};\r\n\r\nfunction toInputLowercase(e) {\r\n var start = e.target.selectionStart;\r\n var end = e.target.selectionEnd;\r\n e.target.value = e.target.value.toLowerCase();\r\n e.target.setSelectionRange(start, end);\r\n};\r\n\r\nfunction formataTelefone (v) {\r\n const digitos = !v ? '' : v.replace(/[^\\d]/g, '');\r\n if (!digitos || digitos.length < 10) return v;\r\n const corte = digitos.length === 10 ? 6 : 7;\r\n const max = digitos.length > 11 ? 11 : digitos.length;\r\n return `(${digitos.substring(0, 2)}) ${digitos.substring(2, corte)}-${digitos.substring(corte, max)}`;\r\n};\r\n\r\nfunction primeiroUltimoNome(nome) {\r\n var spaceCount = (nome.split(\" \").length - 1);\r\n var newText = nome;\r\n\r\n var array = nome.split(' ');\r\n if (spaceCount >= 2) {\r\n newText = array[0] + ' ' + array[array.length - 1];\r\n }\r\n\r\n return newText;\r\n};\r\n\r\nfunction phoneMask(v) {\r\n if (!v || v.length === 0) return '';\r\n const a = formataTelefone(v);\r\n return (a.length >= 6 && a[5] === '9') ? '(99) 99999-9999' : '(99) 9999-9999';\r\n};\r\n\r\nfunction formatDateYYMMDD(date) {\r\n var d = new Date(date),\r\n month = '' + (d.getMonth() + 1),\r\n day = '' + d.getDate(),\r\n year = d.getFullYear();\r\n\r\n if (month.length < 2)\r\n month = '0' + month;\r\n if (day.length < 2)\r\n day = '0' + day;\r\n\r\n return [year, month, day].join('-');\r\n};\r\n\r\nexport function formatCpf(cpf) {\r\n cpf = cpf.replace(/[^\\d]/g, \"\");\r\n return cpf.replace(/(\\d{3})(\\d{3})(\\d{3})(\\d{2})/, \"$1.$2.$3-$4\");\r\n}\r\n\r\nfunction cnpjMask(v) {\r\n if (v !== null && v !== undefined) {\r\n return v\r\n .replace(/\\D/g, '')\r\n .replace(/(\\d{2})(\\d)/, '$1.$2')\r\n .replace(/(\\d{3})(\\d)/, '$1.$2')\r\n .replace(/(\\d{3})(\\d)/, '$1/$2')\r\n .replace(/(\\d{4})(\\d)/, '$1-$2')\r\n .replace(/(-\\d{2})\\d+?$/, '')\r\n }\r\n}\r\n\r\nexport function formatCnpj(cnpj) {\r\n cnpj = cnpj.replace(/[^\\d]/g, \"\");\r\n return cnpj.replace(/^(\\d{2})(\\d{3})(\\d{3})(\\d{4})(\\d{2})/, \"$1.$2.$3/$4-$5\");\r\n}\r\n\r\nfunction formatCep(cep) {\r\n return cep.replace(/(\\d{5})(\\d{3})/, \"$1-$2\");\r\n}\r\n\r\nfunction formatData(data) {\r\n var newDate = moment(data);\r\n var dataString = newDate.format('DD') + '/' + newDate.format('MM') + '/' + newDate.format('YYYY');\r\n return dataString;\r\n}\r\n\r\nfunction formatDataYY(data) {\r\n var newDate = moment(data);\r\n var dataString = newDate.format('YYYY');\r\n return dataString;\r\n}\r\n\r\nfunction formatDataHora(data) {\r\n var newDate = moment(data);\r\n var dataString = newDate.format('DD/MM/YYYY HH:mm');\r\n return dataString;\r\n}\r\n\r\nfunction formatDiaSemana(dia) {\r\n switch (dia) {\r\n case 1:\r\n return 'Segunda-Feira';\r\n case 2:\r\n return 'Terça-Feira';\r\n case 3:\r\n return 'Quarta-Feira';\r\n case 4:\r\n return 'Quinta-Feira';\r\n case 5:\r\n return 'Sexta-Feira';\r\n case 6:\r\n return 'Sábado';\r\n default:\r\n return '--';\r\n }\r\n}\r\n\r\nfunction formataValor(valor) {\r\n var newValue = valor.toLocaleString(undefined, { maximumFractionDigits: 2 });\r\n return newValue;\r\n}\r\n\r\nfunction calculaIdade(dob1){\r\n var today = new Date();\r\n var birthDate = new Date(dob1); // create a date object directly from `dob1` argument\r\n var age_now = today.getFullYear() - birthDate.getFullYear();\r\n var m = today.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\r\n age_now--;\r\n }\r\n //console.log(age_now);\r\n return age_now;\r\n}\r\n\r\nfunction aniversarioHoje(dob1) {\r\n var date = moment(dob1);\r\n var now = moment();\r\n if (date.format('DD') === now.format('DD') && date.format('MM') === now.format('MM')) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n}\r\n\r\nfunction serialize(obj) {\r\n let str = '?' + Object.keys(obj).reduce(function (a, k) {\r\n a.push(k + '=' + encodeURIComponent(obj[k]));\r\n return a;\r\n }, []).join('&');\r\n return str;\r\n}\r\n\r\nfunction onlyNumbers(str) {\r\n return str.replace(/\\D/g, \"\");\r\n};\r\n\r\nfunction removeDiacritics(str) {\r\n return str.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\");\r\n};\r\n\r\nfunction capitalize(str) {\r\n return str.slice(0, 1).toUpperCase() + str.toLowerCase().slice(1, str.length)\r\n};\r\n\r\nfunction paramsToObject(search) {\r\n return JSON.parse('{\"' + search.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) { return key === \"\" ? value : decodeURIComponent(value) })\r\n};\r\n\r\nfunction validaCNPJ(cnpj) {\r\n\r\n cnpj = cnpj.replace(/[^\\d]+/g, '');\r\n\r\n if (cnpj == '') return false;\r\n\r\n if (cnpj.length != 14)\r\n return false;\r\n\r\n // Elimina CNPJs invalidos conhecidos\r\n if (cnpj == \"00000000000000\" ||\r\n cnpj == \"11111111111111\" ||\r\n cnpj == \"22222222222222\" ||\r\n cnpj == \"33333333333333\" ||\r\n cnpj == \"44444444444444\" ||\r\n cnpj == \"55555555555555\" ||\r\n cnpj == \"66666666666666\" ||\r\n cnpj == \"77777777777777\" ||\r\n cnpj == \"88888888888888\" ||\r\n cnpj == \"99999999999999\")\r\n return false;\r\n\r\n // Valida DVs\r\n var tamanho = cnpj.length - 2\r\n var numeros = cnpj.substring(0, tamanho);\r\n var digitos = cnpj.substring(tamanho);\r\n var soma = 0;\r\n var pos = tamanho - 7;\r\n for (var i = tamanho; i >= 1; i--) {\r\n soma += numeros.charAt(tamanho - i) * pos--;\r\n if (pos < 2)\r\n pos = 9;\r\n }\r\n resultado = soma % 11 < 2 ? 0 : 11 - soma % 11;\r\n if (resultado != digitos.charAt(0))\r\n return false;\r\n\r\n tamanho = tamanho + 1;\r\n numeros = cnpj.substring(0, tamanho);\r\n soma = 0;\r\n pos = tamanho - 7;\r\n for (i = tamanho; i >= 1; i--) {\r\n soma += numeros.charAt(tamanho - i) * pos--;\r\n if (pos < 2)\r\n pos = 9;\r\n }\r\n var resultado = soma % 11 < 2 ? 0 : 11 - soma % 11;\r\n if (resultado != digitos.charAt(1))\r\n return false;\r\n\r\n return true;\r\n\r\n}\r\n\r\nfunction validaCPF(cpf) {\r\n cpf = cpf.replace(/[^\\d]+/g, '');\r\n if (cpf == '') return false;\r\n // Elimina CPFs invalidos conhecidos\t\r\n if (cpf.length != 11 ||\r\n cpf == \"00000000000\" ||\r\n cpf == \"11111111111\" ||\r\n cpf == \"22222222222\" ||\r\n cpf == \"33333333333\" ||\r\n cpf == \"44444444444\" ||\r\n cpf == \"55555555555\" ||\r\n cpf == \"66666666666\" ||\r\n cpf == \"77777777777\" ||\r\n cpf == \"88888888888\" ||\r\n cpf == \"99999999999\")\r\n return false;\r\n // Valida 1o digito\t\r\n var add = 0;\r\n for (var i = 0; i < 9; i++)\r\n add += parseInt(cpf.charAt(i)) * (10 - i);\r\n var rev = 11 - (add % 11);\r\n if (rev == 10 || rev == 11)\r\n rev = 0;\r\n if (rev != parseInt(cpf.charAt(9)))\r\n return false;\r\n // Valida 2o digito\t\r\n add = 0;\r\n for (i = 0; i < 10; i++)\r\n add += parseInt(cpf.charAt(i)) * (11 - i);\r\n rev = 11 - (add % 11);\r\n if (rev == 10 || rev == 11)\r\n rev = 0;\r\n if (rev != parseInt(cpf.charAt(10)))\r\n return false;\r\n return true;\r\n}","import { homeService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport { stringUtils } from '../_utils/stringUtils';\r\n\r\nexport const homeAction = {\r\n getHome,\r\n onChangeProps,\r\n editHomeInfo,\r\n clear\r\n};\r\n\r\nfunction getHome(filterModel, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'chamadas/export' + stringUtils.serialize(filterModel);\r\n homeService.get(apiEndpoint)\r\n .then((response) => {\r\n if (response.data) {\r\n if (response.data.graficoTanques != null) {\r\n response.data.graficoTanques = {\r\n options: {\r\n colors: ['#398434', '#000000'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: false,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoTanques.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return \"R$ \" + val.toLocaleString('pt-br', { minimumFractionDigits: 2 });\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n //formata a série[0], que é a do faturamento\r\n if (seriesIndex == 0) {\r\n return \"R$ \" + value.toLocaleString('pt-br', { minimumFractionDigits: 2 })\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Faturamento\",\r\n data: response.data.graficoTanques.series[0],\r\n colors: '#398434',\r\n },\r\n {\r\n name: \"Volume\",\r\n data: response.data.graficoTanques.series[1],\r\n colors: '#000000'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoTanques = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoAnimaisGrupos != null) {\r\n response.data.graficoAnimaisGrupos = {\r\n series: response.data.graficoAnimaisGrupos.series[0],\r\n options: {\r\n colors: ['#398434', '#cc2d42', '#d4ae33', '#426cf5', '#b36ba2'],\r\n chart: {\r\n type: 'pie',\r\n },\r\n legend: {\r\n position: 'bottom'\r\n },\r\n labels: response.data.graficoAnimaisGrupos.options,\r\n dataLabels: {\r\n enabled: true,\r\n formatter: function (val, opt) {\r\n var i = opt.seriesIndex;\r\n return val.toFixed(2) + '% (' + opt.w.globals.series[i] + ')';\r\n },\r\n style: {\r\n colors: ['#000'],\r\n fontWeight: 'bold'\r\n },\r\n dropShadow: {\r\n enabled: false,\r\n top: 1,\r\n left: 1,\r\n blur: 1,\r\n color: '#000',\r\n opacity: 0.45\r\n },\r\n },\r\n plotOptions: {\r\n pie: {\r\n dataLabels: {\r\n position: 'top',\r\n offset: -10,\r\n }\r\n }\r\n },\r\n },\r\n responsive: [{\r\n breakpoint: 480,\r\n options: {\r\n chart: {\r\n width: 200\r\n },\r\n legend: {\r\n position: 'bottom',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n }]\r\n };\r\n } else {\r\n response.data.graficoAnimaisGrupos = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoDel != null) {\r\n response.data.graficoDel = {\r\n series: response.data.graficoDel.series[0],\r\n options: {\r\n colors: ['#398434', '#cc2d42', '#d4ae33', '#426cf5', '#b36ba2'],\r\n chart: {\r\n type: 'pie'\r\n },\r\n legend: {\r\n position: 'bottom'\r\n },\r\n labels: response.data.graficoDel.options,\r\n dataLabels: {\r\n enabled: true,\r\n style: {\r\n colors: ['#000'],\r\n fontWeight: 'bold'\r\n },\r\n dropShadow: {\r\n enabled: false,\r\n top: 1,\r\n left: 1,\r\n blur: 1,\r\n color: '#000',\r\n opacity: 0.45\r\n },\r\n formatter: function (val, opt) {\r\n var i = opt.seriesIndex;\r\n return (opt.w.config.labels[i]) + \": \" + val.toFixed(2) + \"% (\" + opt.w.globals.series[i] + \")\";\r\n },\r\n },\r\n plotOptions: {\r\n pie: {\r\n dataLabels: {\r\n position: 'left',\r\n fontWeight: 'normal',\r\n offset: -33, // Moving the label position on slice\r\n }\r\n }\r\n },\r\n responsive: [{\r\n breakpoint: 480,\r\n options: {\r\n chart: {\r\n width: 200\r\n },\r\n legend: {\r\n position: 'bottom',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n }]\r\n },\r\n };\r\n } else {\r\n response.data.graficoDel = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoDelMedioDias != null) {\r\n response.data.graficoDelMedioDias = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(\"-\", \"/\")\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoDelMedioDias.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return Math.round(val)\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return Math.round(value)\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"DEL\",\r\n data: response.data.graficoDelMedioDias.series[0],\r\n colors: '#398434',\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoDelMedioDias = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoDistribuicaoPartos != null) {\r\n response.data.graficoDistribuicaoPartos = {\r\n series: response.data.graficoDistribuicaoPartos.series[0],\r\n options: {\r\n colors: ['#398434', '#cc2d42', '#d4ae33', '#426cf5', '#b36ba2'],\r\n chart: {\r\n type: 'pie',\r\n },\r\n legend: {\r\n position: 'bottom'\r\n },\r\n labels: response.data.graficoDistribuicaoPartos.options,\r\n dataLabels: {\r\n enabled: true,\r\n formatter: function (val, opt) {\r\n var i = opt.seriesIndex;\r\n return val.toFixed(2) + '% (' + opt.w.globals.series[i] + ')';\r\n },\r\n style: {\r\n colors: ['#000'],\r\n fontWeight: 'bold'\r\n },\r\n dropShadow: {\r\n enabled: false,\r\n top: 1,\r\n left: 1,\r\n blur: 1,\r\n color: '#000',\r\n opacity: 0.45\r\n },\r\n },\r\n plotOptions: {\r\n pie: {\r\n dataLabels: {\r\n position: 'top',\r\n offset: -10,\r\n }\r\n }\r\n },\r\n },\r\n responsive: [{\r\n breakpoint: 480,\r\n options: {\r\n chart: {\r\n width: 200\r\n },\r\n legend: {\r\n position: 'bottom',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n }]\r\n };\r\n } else {\r\n response.data.graficoDistribuicaoPartos = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoIdadePrimeiroParto != null) {\r\n response.data.graficoIdadePrimeiroParto = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(\"-\", \"/\")\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoIdadePrimeiroParto.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return val.toFixed(1);\r\n }\r\n }\r\n } \r\n },\r\n series: [\r\n {\r\n name: \"Meses\",\r\n data: response.data.graficoIdadePrimeiroParto.series[0],\r\n colors: '#398434',\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoIdadePrimeiroParto = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoIntervaloPartos != null) {\r\n response.data.graficoIntervaloPartos = {\r\n options: {\r\n colors: ['#398434', '#000000'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(\"-\", \"/\")\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoIntervaloPartos.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return val.toFixed(1);\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return value.toFixed(1)\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Meses\",\r\n data: response.data.graficoIntervaloPartos.series[0],\r\n colors: '#398434'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoIntervaloPartos = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoTaxaConcepcaoVacas != null) {\r\n response.data.graficoTaxaConcepcaoVacas = {\r\n options: {\r\n colors: ['#398434', '#000000'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n stacked: true\r\n },\r\n dataLabels: {\r\n position: 'center',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#FFF']\r\n }\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function formatter(val, index) {\r\n if (val && typeof val === 'string') {\r\n const parts = val.split('-');\r\n if (parts.length === 3) {\r\n return `${parts[2]}/${parts[1]}/${parts[0]}`;\r\n }\r\n }\r\n return val;\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoTaxaConcepcaoVacas.options\r\n },\r\n },\r\n series: [\r\n {\r\n name: \"Inseminações\",\r\n data: response.data.graficoTaxaConcepcaoVacas.series[0],\r\n colors: '#398434'\r\n },\r\n {\r\n name: \"Prenhezes\",\r\n data: response.data.graficoTaxaConcepcaoVacas.series[1],\r\n colors: '#000000'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoTaxaConcepcaoVacas = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoProducaoPorLote != null) {\r\n response.data.graficoProducaoPorLote = {\r\n series: response.data.graficoProducaoPorLote.series[0],\r\n options: {\r\n colors: ['#398434', '#cc2d42', '#d4ae33', '#426cf5', '#b36ba2'],\r\n chart: {\r\n type: 'pie'\r\n },\r\n legend: {\r\n position: 'bottom'\r\n },\r\n labels: response.data.graficoProducaoPorLote.options,\r\n dataLabels: {\r\n enabled: true,\r\n style: {\r\n colors: ['#000'],\r\n fontWeight: 'bold'\r\n },\r\n dropShadow: {\r\n enabled: false,\r\n top: 1,\r\n left: 1,\r\n blur: 1,\r\n color: '#000',\r\n opacity: 0.45\r\n },\r\n formatter: function (val, opt) {\r\n var i = opt.seriesIndex;\r\n return (opt.w.config.labels[i]) + \": \" + val.toFixed(2) + \"% (\" + opt.w.globals.series[i] + \")\";\r\n },\r\n },\r\n plotOptions: {\r\n pie: {\r\n dataLabels: {\r\n position: 'left',\r\n fontWeight: 'normal',\r\n offset: -33, // Moving the label position on slice\r\n }\r\n }\r\n },\r\n responsive: [{\r\n breakpoint: 480,\r\n options: {\r\n chart: {\r\n width: 200\r\n },\r\n legend: {\r\n position: 'bottom',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n }]\r\n },\r\n };\r\n } else {\r\n response.data.graficoProducaoPorLote = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoProducaoPorDel != null) {\r\n response.data.graficoProducaoPorDel = {\r\n series: response.data.graficoProducaoPorDel.series[0],\r\n options: {\r\n colors: ['#398434', '#cc2d42', '#d4ae33', '#426cf5', '#b36ba2'],\r\n chart: {\r\n type: 'pie'\r\n },\r\n legend: {\r\n position: 'bottom'\r\n },\r\n labels: response.data.graficoProducaoPorDel.options,\r\n dataLabels: {\r\n enabled: true,\r\n style: {\r\n colors: ['#000'],\r\n fontWeight: 'bold'\r\n },\r\n dropShadow: {\r\n enabled: false,\r\n top: 1,\r\n left: 1,\r\n blur: 1,\r\n color: '#000',\r\n opacity: 0.45\r\n },\r\n formatter: function (val, opt) {\r\n var i = opt.seriesIndex;\r\n return (opt.w.config.labels[i]) + \": \" + val.toFixed(2) + \"% (\" + (opt.w.globals.series[i]).toFixed(2) + \")\";\r\n },\r\n },\r\n plotOptions: {\r\n pie: {\r\n dataLabels: {\r\n position: 'left',\r\n fontWeight: 'normal',\r\n offset: -33\r\n // Moving the label position on slice\r\n }\r\n }\r\n },\r\n responsive: [{\r\n breakpoint: 480,\r\n options: {\r\n chart: {\r\n width: 200\r\n },\r\n legend: {\r\n position: 'bottom',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n }]\r\n },\r\n };\r\n } else {\r\n response.data.graficoProducaoPorDel = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoIntervaloPartoAtePrimeiraInseminacao != null) {\r\n response.data.graficoIntervaloPartoAtePrimeiraInseminacao = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(/-/g, \"/\");\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoIntervaloPartoAtePrimeiraInseminacao.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return Math.round(val)\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return Math.round(value)\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Dias\",\r\n data: response.data.graficoIntervaloPartoAtePrimeiraInseminacao.series[0],\r\n colors: '#398434'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoIntervaloPartoAtePrimeiraInseminacao = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoGorduraLeiteProteina != null) {\r\n response.data.graficoGorduraLeiteProteina = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(/-/g, \"/\");\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoGorduraLeiteProteina.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return val.toFixed(2);\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return value.toFixed(2)\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Relação\",\r\n data: response.data.graficoGorduraLeiteProteina.series[0],\r\n colors: '#398434'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoGorduraLeiteProteina = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoAnimaisAtivosPorPeriodo != null) {\r\n response.data.graficoAnimaisAtivosPorPeriodo = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(/-/g, \"/\");\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoAnimaisAtivosPorPeriodo.options\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Animais ativos\",\r\n data: response.data.graficoAnimaisAtivosPorPeriodo.series[1],\r\n colors: '#398434'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoAnimaisAtivosPorPeriodo = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoIndicadoresTanques != null) {\r\n response.data.graficoIndicadoresTanques = {\r\n options: {\r\n colors: ['#FF6976', '#769AFF', '#E499D1', '#D4AE33'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: false,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(\"-\", \"/\")\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoIndicadoresTanques.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n if (index == 1) {\r\n return val.toFixed(1);\r\n } else {\r\n return val.toFixed(2);\r\n }\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return value.toFixed(1);\r\n } else {\r\n return value.toFixed(2);\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Gordura\",\r\n data: response.data.graficoIndicadoresTanques.series[0],\r\n colors: '#FF6976'\r\n },\r\n {\r\n name: \"Proteína\",\r\n data: response.data.graficoIndicadoresTanques.series[1],\r\n colors: '#769AFF',\r\n },\r\n {\r\n name: \"Ureia\",\r\n data: response.data.graficoIndicadoresTanques.series[2],\r\n colors: '#E499D1'\r\n },\r\n {\r\n name: \"Média litros/dia\",\r\n data: response.data.graficoIndicadoresTanques.series[3],\r\n colors: '#D4AE33'\r\n },\r\n ]\r\n };\r\n } else {\r\n response.data.graficoIndicadoresTanques = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoIntervaloPartoConcepcao != null) {\r\n response.data.graficoIntervaloPartoConcepcao = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(\"-\", \"/\")\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoIntervaloPartoConcepcao.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return val.toFixed(1);\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return value.toFixed(1)\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Dias\",\r\n data: response.data.graficoIntervaloPartoConcepcao.series[0],\r\n colors: '#398434'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoIntervaloPartoConcepcao = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n if (response.data.graficoGanhoPesoDesmame != null) {\r\n response.data.graficoGanhoPesoDesmame = {\r\n options: {\r\n colors: ['#398434'],\r\n chart: {\r\n id: \"basic-bar\",\r\n animations: {\r\n speed: 300\r\n },\r\n },\r\n dataLabels: {\r\n position: 'top',\r\n enabled: true,\r\n style: {\r\n fontWeight: 'normal',\r\n colors: ['#000']\r\n },\r\n offsetY: -20\r\n },\r\n plotOptions: {\r\n bar: {\r\n distributed: false,\r\n horizontal: false,\r\n dataLabels: {\r\n position: 'top',\r\n fontWeight: 'normal'\r\n }\r\n }\r\n },\r\n xaxis: {\r\n enabled: false,\r\n labels: {\r\n rotate: -45,\r\n type: 'category',\r\n formatter: function (val, index) {\r\n if (val && typeof val === 'string') {\r\n return val.replace(\"-\", \"/\")\r\n }\r\n }\r\n },\r\n style: {\r\n fontSize: '7px'\r\n },\r\n categories: response.data.graficoGanhoPesoDesmame.options\r\n },\r\n yaxis: {\r\n labels: {\r\n formatter: function (val, index) {\r\n return val.toFixed(1);\r\n }\r\n }\r\n },\r\n tooltip: {\r\n y: {\r\n formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n if (seriesIndex == 0) {\r\n return value.toFixed(1)\r\n } else {\r\n return value\r\n }\r\n }\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n name: \"Kg/Dia\",\r\n data: response.data.graficoGanhoPesoDesmame.series[0],\r\n colors: '#398434'\r\n }\r\n ]\r\n };\r\n } else {\r\n response.data.graficoGanhoPesoDesmame = {\r\n options: {},\r\n series: []\r\n }\r\n }\r\n //if (response.data.graficoTaxaPrenhez21DiasVacas != null)\r\n // response.data.graficoTaxaPrenhez21DiasVacas = {\r\n // // options: {\r\n // // colors: ['#398434', '#000000'],\r\n // // chart: {\r\n // // id: \"basic-bar\",\r\n // // animations: {\r\n // // speed: 300\r\n // // },\r\n // // },\r\n // // dataLabels: {\r\n // // position: 'top',\r\n // // enabled: false,\r\n // // style: {\r\n // // fontWeight: 'normal',\r\n // // colors: ['#000']\r\n // // },\r\n // // offsetY: -20\r\n // // },\r\n // // plotOptions: {\r\n // // bar: {\r\n // // distributed: false,\r\n // // horizontal: false,\r\n // // dataLabels: {\r\n // // position: 'top',\r\n // // fontWeight: 'normal'\r\n // // }\r\n // // }\r\n // // },\r\n // // xaxis: {\r\n // // enabled: false,\r\n // // labels: {\r\n // // rotate: -45,\r\n // // type: 'category',\r\n // // },\r\n // // style: {\r\n // // fontSize: '7px'\r\n // // },\r\n // // categories: response.data.graficoTaxaPrenhez21DiasVacas.options\r\n // // },\r\n // // tooltip: {\r\n // // y: {\r\n // // formatter: function (value, { series, seriesIndex, dataPointIndex, w }) {\r\n // // if (seriesIndex == 0) {\r\n // // return value.toFixed(2)\r\n // // } else {\r\n // // return value\r\n // // }\r\n // // }\r\n // // }\r\n // // }\r\n // // },\r\n // // series: [\r\n // // {\r\n // // name: \"Valor\",\r\n // // data: response.data.graficoTaxaPrenhez21DiasVacas.series[0],\r\n // // colors: '#398434'\r\n // // }\r\n // // ]\r\n // }\r\n //else {\r\n // response.data.graficoTaxaPrenhez21DiasVacas = {\r\n // options: {},\r\n // series: []\r\n // }\r\n //}\r\n\r\n }\r\n\r\n dispatch(editHomeDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n // alerts.error(err);\r\n });\r\n };\r\n}\r\n\r\n\r\nexport function editHomeDetails(home) {\r\n return {\r\n type: \"HOME_DETAIL\",\r\n fazendas: home.fazendas,\r\n empresas: home.empresas,\r\n total_usuarios: home.total_usuarios,\r\n total_animais: home.total_animais,\r\n total_fazendas: home.total_fazendas,\r\n graficoTanques: home.graficoTanques,\r\n graficoAnimaisGrupos: home.graficoAnimaisGrupos,\r\n graficoDistribuicaoPartos: home.graficoDistribuicaoPartos,\r\n graficoIdadePrimeiroParto: home.graficoIdadePrimeiroParto,\r\n graficoIntervaloPartos: home.graficoIntervaloPartos,\r\n graficoTaxaConcepcaoVacas: home.graficoTaxaConcepcaoVacas,\r\n graficoIntervaloPartoAtePrimeiraInseminacao: home.graficoIntervaloPartoAtePrimeiraInseminacao,\r\n // graficoTaxaPrenhez21DiasVacas: home.graficoTaxaPrenhez21DiasVacas,\r\n graficoProducaoPorLote: home.graficoProducaoPorLote,\r\n graficoProducaoPorDel: home.graficoProducaoPorDel,\r\n graficoDel: home.graficoDel,\r\n graficoDelMedioDias: home.graficoDelMedioDias,\r\n graficoGorduraLeiteProteina: home.graficoGorduraLeiteProteina,\r\n graficoAnimaisAtivosPorPeriodo: home.graficoAnimaisAtivosPorPeriodo,\r\n graficoIndicadoresTanques: home.graficoIndicadoresTanques,\r\n graficoIntervaloPartoConcepcao: home.graficoIntervaloPartoConcepcao,\r\n graficoGanhoPesoDesmame: home.graficoGanhoPesoDesmame\r\n }\r\n}\r\n\r\nfunction editHomeInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'home/' + id;\r\n homeService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/home');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nexport function changeHomesList(home) {\r\n return {\r\n type: \"FETECHED_ALL_HOME\",\r\n home: home\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editHomesDetails(home) {\r\n return {\r\n type: \"HOME_DETAIL\",\r\n total_fazendas: home.total_fazendas,\r\n total_animais: home.total_animais\r\n\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"HOME_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"HOME_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteHomesDetails() {\r\n return {\r\n type: \"DELETED_HOME_DETAILS\"\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"HOME_CLEAR\"\r\n };\r\n}","import { convenioService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const convenioAction = {\r\n getConvenio,\r\n getConvenioById,\r\n onChangeProps,\r\n editConvenioInfo,\r\n createConvenio,\r\n deleteConvenioById,\r\n};\r\nfunction getConvenio(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'convenios';\r\n convenioService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeConveniosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n // console.log(\"resp\", response.data)\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction createConvenio(payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'convenios/';\r\n convenioService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createConvenioInfo());\r\n alerts.success(ret.message, ret.Path);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\n\r\nfunction getConvenioById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'convenios/' + id;\r\n convenioService.get(apiEndpoint)\r\n .then((response) => {\r\n // console.log(\"respp\", response.data)\r\n dispatch(editConveniosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\n\r\nfunction editConvenioInfo(id, payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'convenios/' + id;\r\n convenioService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n // console.log(\"response\", response)\r\n dispatch(updatedConvenioInfo());\r\n alerts.success(ret.message, '/convenios'); //ret.Path\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n}\r\nfunction deleteConvenioById(id) {\r\n return dispatch => {\r\n\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n\r\n let apiEndpoint = 'convenios/' + id;\r\n convenioService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deleteConveniosDetails());\r\n dispatch(convenioAction.getConvenio());\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n\r\n }\r\n });\r\n\r\n\r\n };\r\n}\r\nexport function changeConveniosList(convenio) {\r\n return {\r\n type: \"FETECHED_ALL_CONVENIO\",\r\n convenio: convenio\r\n }\r\n}\r\n\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editConveniosDetails(convenio) {\r\n \r\n return {\r\n type: \"CONVENIO_DETAIL\",\r\n id: convenio.id,\r\n nome: convenio.nome,\r\n cnpj: convenio.cnpj,\r\n endereco: convenio.endereco,\r\n id_usuario: convenio.id_usuario\r\n }\r\n}\r\nexport function updatedConvenioInfo() {\r\n return {\r\n type: \"CONVENIO_UPDATED\"\r\n }\r\n}\r\nexport function createConvenioInfo() {\r\n return {\r\n type: \"CONVENIO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteConveniosDetails() {\r\n return {\r\n type: \"DELETED_CONVENIO_DETAILS\"\r\n }\r\n}","import { crudService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const logAction = {\r\n getLog,\r\n getLogUsuario\r\n};\r\n\r\nfunction getLog(table, id) {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = 'log/' + table + '/' + id;\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeLogsList(response.data));\r\n alerts.clean();\r\n })\r\n };\r\n}\r\n\r\nfunction getLogUsuario(id) {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = 'log/usuario/' + id;\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeLogsList(response.data));\r\n alerts.clean();\r\n })\r\n };\r\n}\r\n\r\nexport function changeLogsList(log) {\r\n return {\r\n type: \"FETECHED_ALL_LOG\",\r\n log: log\r\n }\r\n}","import { crudService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const logErroGeralAction = {\r\n getLogErroGeral\r\n};\r\n\r\nfunction getLogErroGeral() {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = 'log/erros';\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeLogsList(response.data));\r\n alerts.clean();\r\n })\r\n };\r\n}\r\n\r\nexport function changeLogsList(logErroGeral) {\r\n return {\r\n type: \"FETECHED_ALL_LOG_ERRO_GERAL\",\r\n logErroGeral: logErroGeral\r\n }\r\n}","import { crudService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const logFazendaSincAction = {\r\n getLogFazendaSinc,\r\n postSincronismoFinanceiro,\r\n postSincronismoInseminadores,\r\n postSincronismoZootecnico\r\n};\r\n\r\nfunction getLogFazendaSinc() {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = 'log/fazendas';\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeLogsList(response.data));\r\n alerts.clean();\r\n })\r\n };\r\n}\r\n\r\nfunction postSincronismoFinanceiro(linkNgrok, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = '/api/chamadasFinanceiro/sinc/';\r\n crudService.postNgrokUrl(linkNgrok + apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/relatorioLog');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction postSincronismoZootecnico(linkNgrok, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = '/api/chamadas/sinc/';\r\n console.log('linkNgrok + apiEndpoint', linkNgrok + apiEndpoint)\r\n crudService.postNgrokUrl(linkNgrok + apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/relatorioLog');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nfunction postSincronismoInseminadores(linkNgrok, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = '/api/chamadasInseminadores/sinc/';\r\n crudService.postNgrokUrl(linkNgrok + apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/relatorioLog');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\n\r\nexport function changeLogsList(logFazendaSinc) {\r\n return {\r\n type: \"FETECHED_ALL_LOG_FAZENDA_SINC\",\r\n logFazendaSinc: logFazendaSinc\r\n }\r\n}","import { crudService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const logFazendaFinanceiroSincAction = {\r\n getLogFazendaFinanceiroSinc\r\n};\r\n\r\nfunction getLogFazendaFinanceiroSinc() {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = 'log/financeiro';\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeLogsList(response.data));\r\n alerts.clean();\r\n })\r\n };\r\n}\r\n\r\nexport function changeLogsList(logFazendaFinanceiroSinc) {\r\n return {\r\n type: \"FETECHED_ALL_LOG_FAZENDA_FINANCEIRO_SINC\",\r\n logFazendaFinanceiroSinc: logFazendaFinanceiroSinc\r\n }\r\n}","import { crudService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const logErroChaveNfeAction = {\r\n getLogErrosNfe\r\n};\r\n\r\nfunction getLogErrosNfe() {\r\n return dispatch => {\r\n alerts.waiting();\r\n let apiEndpoint = 'log/errosnfe';\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeLogsList(response.data));\r\n alerts.clean();\r\n })\r\n };\r\n}\r\n\r\nexport function changeLogsList(logErroChaveNfe) {\r\n return {\r\n type: \"FETECHED_ALL_LOG_ERRO_CHAVE_NFE\",\r\n logErroChaveNfe: logErroChaveNfe\r\n }\r\n}","import { motivoDesistenciaService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const motivoDesistenciaAction = {\r\n getMotivoDesistencia,\r\n onChangeProps,\r\n clear,\r\n getSelectMotivos\r\n};\r\nfunction getMotivoDesistencia(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'motivosDesistencias';\r\n motivoDesistenciaService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeMotivoDesistenciasList(response.data));\r\n // console.log(\"response.data\", response.data);\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nfunction getSelectMotivos(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'fazendas/motivosDesistencias/select';\r\n motivoDesistenciaService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Value: '', Text: ' SELECIONE ...' });\r\n dispatch(changeMotivoDesistenciasList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type == 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nexport function changeMotivoDesistenciasList(motivoDesistencia) {\r\n return {\r\n type: \"FETECHED_ALL_MOTIVO_DESISTENCIA\",\r\n motivoDesistencia: motivoDesistencia\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"MOTIVO_DESISTENCIA_CLEAR\"\r\n };\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editMotivoDesistenciasDetails(motivoDesistencia) {\r\n return {\r\n type: \"MOTIVO_DESISTENCIA_DETAIL\",\r\n id: motivoDesistencia.id,\r\n codigo: motivoDesistencia.codigo,\r\n nome: motivoDesistencia.nome,\r\n data_cadastro: motivoDesistencia.data_cadastro,\r\n data_exclusao: motivoDesistencia.data_exclusao,\r\n usuario_cadastro: motivoDesistencia.usuario_cadastro,\r\n usuario_exclusao: motivoDesistencia.usuario_exclusao\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"MOTIVO_DESISTENCIA_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"MOTIVO_DESISTENCIA_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteMotivoDesistenciasDetails() {\r\n return {\r\n type: \"DELETED_MOTIVO_DESISTENCIA_DETAILS\"\r\n }\r\n}","import { crudService, partoService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const partoAction = {\r\n getParto,\r\n getPartoByFazenda,\r\n getPartoById,\r\n onChangeProps,\r\n editPartoInfo,\r\n createParto,\r\n deletePartoById,\r\n clear\r\n};\r\nfunction getParto(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'partos';\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changePartosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getPartoByFazenda(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'partos/fazenda/' + id;\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changePartosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction createParto(payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'partos/';\r\n crudService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n\r\n dispatch(createUserInfo());\r\n alerts.success(ret.message, '/partos');\r\n\r\n } else {\r\n alerts.warning(JSON.parse(response.request.responseText).Message);\r\n }\r\n })\r\n }\r\n}\r\nfunction getPartoById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'partos/' + id;\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editPartosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\nfunction editPartoInfo(id, payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'partos/' + id;\r\n crudService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n alerts.success(ret.message, '/partos');\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n })\r\n }\r\n}\r\nfunction deletePartoById(id, showWaiting, id_fazenda) {\r\n return dispatch => {\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n if (willDelete.value) {\r\n let apiEndpoint = 'partos/' + id;\r\n partoService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deletePartosDetails());\r\n dispatch(partoAction.getPartoByFazenda(id_fazenda));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/partos');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n });\r\n };\r\n}\r\n\r\nexport function changePartosList(parto) {\r\n return {\r\n type: \"FETECHED_ALL_PARTO\",\r\n parto: parto\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editPartosDetails(parto) {\r\n return {\r\n type: \"PARTO_DETAIL\",\r\n id: parto.id,\r\n id_animal: parto.id_animal,\r\n id_fazenda: parto.id_fazenda,\r\n data: parto.data,\r\n id_touro: parto.id_touro,\r\n tipo: parto.tipo,\r\n data_cadastro: parto.data_cadastro,\r\n usuario_cadastro: parto.usuario_cadastro,\r\n data_exclusao: parto.data_exclusao,\r\n usuario_exclusao: parto.usuario_exclusao,\r\n nascido_morto: parto.nascido_morto,\r\n valido: parto.valido,\r\n fazenda: parto.fazenda\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"PARTO_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"PARTO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deletePartosDetails() {\r\n return {\r\n type: \"DELETED_PARTO_DETAILS\"\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"PARTO_CLEAR\"\r\n };\r\n}","import { produtorService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const produtorAction = {\r\n getSelectProdutoresByPrefeitura\r\n};\r\n\r\nfunction getSelectProdutoresByPrefeitura(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'produtores/select/prefeitura';\r\n produtorService.post(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Value: '0', Text: ' SELECIONE ...' });\r\n dispatch(changeProdutoresList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nexport function changeProdutoresList(produtor) {\r\n return {\r\n type: \"FETECHED_ALL_PRODUTOR\",\r\n produtor: produtor\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"PRODUTOR_CLEAR\"\r\n };\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editProdutoresDetails(produtor) {\r\n return {\r\n type: \"PRODUTOR_DETAIL\",\r\n id: produtor.id,\r\n nome: produtor.nome,\r\n endereco: produtor.endereco,\r\n numero_matricula: produtor.numero_matricula,\r\n telefone: produtor.telefone,\r\n inscricao_municipal: produtor.inscricao_municipal,\r\n inscricao_estadual: produtor.inscricao_estadual,\r\n id_usuario: produtor.id_usuario\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"PRODUTOR_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"PRODUTOR_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteProdutoresDetails() {\r\n return {\r\n type: \"DELETED_PRODUTOR_DETAILS\"\r\n }\r\n}","import { prefeituraService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const prefeituraAction = {\r\n getPrefeitura,\r\n getPrefeituraById,\r\n onChangeProps,\r\n editPrefeituraInfo,\r\n createPrefeitura,\r\n deletePrefeituraById,\r\n getPrefeiturasSelect,\r\n getPrefeiturasSelectById,\r\n clear\r\n};\r\nfunction getPrefeitura(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'prefeituras';\r\n prefeituraService.get(apiEndpoint)\r\n .then((response) => {\r\n // response.data.unshift({ id: '0', nome: ' SELECIONE ...' });\r\n dispatch(changePrefeiturasList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction createPrefeitura(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'prefeituras/';\r\n prefeituraService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/prefeituras');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction getPrefeituraById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'prefeituras/' + id;\r\n prefeituraService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editPrefeiturasDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nfunction editPrefeituraInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'prefeitura/' + id;\r\n prefeituraService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/prefeituras');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction deletePrefeituraById(id) {\r\n return dispatch => {\r\n\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n\r\n let apiEndpoint = 'prefeituras/' + id;\r\n prefeituraService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deletePrefeiturasDetails());\r\n dispatch(prefeituraAction.getPrefeitura());\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n\r\n }\r\n });\r\n\r\n\r\n };\r\n}\r\n\r\nfunction getPrefeiturasSelect() { //pega o select que utiliza a inscrição estadual no lugar do Id da prefeitura\r\n return dispatch => {\r\n let apiEndpoint = 'prefeituras/select';\r\n prefeituraService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Value: '', Text: 'SELECIONE ...' });\r\n dispatch(changePrefeiturasList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\n\r\nfunction getPrefeiturasSelectById() { //pega o select que usa o Id da prefeitura \r\n return dispatch => {\r\n let apiEndpoint = 'prefeituras/selectId';\r\n prefeituraService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Value: '0', Text: 'SELECIONE ...' });\r\n dispatch(changePrefeiturasList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nexport function changePrefeiturasList(prefeitura) {\r\n return {\r\n type: \"FETECHED_ALL_PREFEITURA\",\r\n prefeitura: prefeitura\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editPrefeiturasDetails(prefeitura) {\r\n return {\r\n type: \"PREFEITURA_DETAIL\",\r\n id: prefeitura.id,\r\n nome: prefeitura.nome,\r\n inscricao_estadual: prefeitura.inscricao_estadual,\r\n data_cadastro: prefeitura.data_cadastro,\r\n usuario_cadastro: prefeitura.usuario_cadastro,\r\n data_exclusao: prefeitura.data_exclusao,\r\n usuario_exclusao: prefeitura.usuario_exclusao\r\n\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"PREFEITURA_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"PREFEITURA_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deletePrefeiturasDetails() {\r\n return {\r\n type: \"DELETED_PREFEITURA_DETAILS\"\r\n }\r\n}\r\n\r\nexport function clear() {\r\n return {\r\n type: \"PREFEITURA_CLEAR\"\r\n };\r\n}","import { crudService, tanqueService } from '../_services';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const tanqueAction = {\r\n getTanque,\r\n getTanqueByFazenda,\r\n getTanqueById,\r\n importTanques,\r\n onChangeProps,\r\n editTanqueInfo,\r\n createTanque,\r\n deleteTanqueById,\r\n clear\r\n};\r\nfunction getTanque(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'tanques';\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeTanquesList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getTanqueByFazenda(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'tanques/fazenda/' + id;\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeTanquesList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction createTanque(payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'tanques/';\r\n crudService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n\r\n dispatch(createUserInfo());\r\n alerts.success(ret.message, '/tanques');\r\n\r\n } else {\r\n alerts.warning(JSON.parse(response.request.responseText).Message);\r\n }\r\n })\r\n }\r\n}\r\nfunction getTanqueById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'tanques/' + id;\r\n crudService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editTanquesDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n };\r\n}\r\nfunction importTanques(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'Tanques/import';\r\n tanqueService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n if (ret.retorno === true) {\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.mensagem, '/tanques'); //ret.Path\r\n } else {\r\n dispatch(createUserInfo());\r\n alerts.error(ret.mensagem, '/tanques'); //ret.Path\r\n }\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n });\r\n }\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type === 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\nfunction editTanqueInfo(id, payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'tanques/' + id;\r\n crudService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n alerts.success(ret.message, '/tanques');\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n })\r\n }\r\n}\r\nfunction deleteTanqueById(id, showWaiting, id_fazenda) {\r\n return dispatch => {\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n if (willDelete.value) {\r\n let apiEndpoint = 'tanques/' + id;\r\n tanqueService.deleteTanqueDetails(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deleteTanqueDetails());\r\n dispatch(tanqueAction.getTanqueById(id_fazenda));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/tanques');\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n });\r\n };\r\n}\r\n\r\nexport function changeTanquesList(tanque) {\r\n return {\r\n type: \"FETECHED_ALL_TANQUE\",\r\n tanque: tanque\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editTanquesDetails(tanque) {\r\n return {\r\n type: \"TANQUE_DETAIL\",\r\n id: tanque.id,\r\n data_cadastro: tanque.data_cadastro,\r\n usuario_cadastro: tanque.usuario_cadastro,\r\n periodo: tanque.periodo,\r\n volume: tanque.volume,\r\n vacas_lactacao: tanque.vacas_lactacao,\r\n media_litros_dia: tanque.media_litros_dia,\r\n ccs: tanque.ccs,\r\n ufc: tanque.ufc,\r\n gordura: tanque.gordura,\r\n proteina: tanque.proteina,\r\n nul: tanque.nul,\r\n preco_litro: tanque.preco_litro,\r\n faturamento: tanque.faturamento,\r\n data_exclusao: tanque.data_exclusao,\r\n usuario_exclusao: tanque.usuario_exclusao,\r\n id_fazenda: tanque.usuario_exclusao\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"TANQUE_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"TANQUE_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteTanqueDetails() {\r\n return {\r\n type: \"DELETED_TANQUE_DETAILS\"\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"TANQUE_CLEAR\"\r\n };\r\n}","import { touroService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\n\r\nexport const touroAction = {\r\n getTouro,\r\n getTouroById,\r\n getTouroSelect,\r\n getTouroByFazendaSelect,\r\n onChangeProps,\r\n clear\r\n};\r\nfunction getTouro(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'touros';\r\n touroService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeTourosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getTouroById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'touros/' + id;\r\n touroService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editTourosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction getTouroSelect() {\r\n return dispatch => {\r\n let apiEndpoint = 'touros/select';\r\n touroService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeTourosList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nfunction getTouroByFazendaSelect(id) {\r\n return dispatch => {\r\n let apiEndpoint = 'touros/fazenda/select/' + id;\r\n touroService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeTourosList(response.data));\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\nexport function changeTourosList(touro) {\r\n return {\r\n type: \"FETECHED_ALL_TOURO\",\r\n touro: touro\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"TOURO_CLEAR\"\r\n };\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editTourosDetails(touro) {\r\n return {\r\n type: \"TOURO_DETAIL\",\r\n id: touro.id,\r\n id_fazenda: touro.id_fazenda,\r\n data: touro.data,\r\n tipo_relatorio: touro.tipo_relatorio,\r\n arquivo: touro.arquivo,\r\n obs: touro.obs,\r\n data_cadastro: touro.data_cadastro,\r\n usuario_cadastro: touro.usuario_cadastro,\r\n data_exclusao: touro.data_exclusao,\r\n usuario_exclusao: touro.usuario_exclusao,\r\n fazenda: touro.fazenda\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"TOURO_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"TOURO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteTourosDetails() {\r\n return {\r\n type: \"DELETED_TOURO_DETAILS\"\r\n }\r\n}","import { usuarioService, authService, fazendaService } from '../_services/';\r\nimport { history } from '../_helpers';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const usuarioAction = {\r\n getUsuario,\r\n getUsuarioById,\r\n onChangeProps,\r\n onChangePropsAssinatura,\r\n onChangePropsObservacoes,\r\n editUsuarioInfo,\r\n createUsuario,\r\n deleteUsuarioById,\r\n clear,\r\n requestPasswordReset,\r\n passwordReset,\r\n getSelectUsuarios,\r\n getSelectInseminadores\r\n};\r\nfunction getUsuario(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'usuarios';\r\n usuarioService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeUsuariosList(response.data));\r\n // console.log(\"response.data\", response.data);\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nfunction getSelectUsuarios(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'usuarios/select';\r\n usuarioService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Value: '0', Text: ' SELECIONE ...' });\r\n dispatch(changeUsuariosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nfunction createUsuario(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'usuarios/';\r\n usuarioService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request != undefined && response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/usuarios'); //ret.Path\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n //dispatch(createUserInfo());\r\n //history.push('/usuarios');\r\n })\r\n }\r\n}\r\nfunction getUsuarioById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'usuarios/' + id;\r\n usuarioService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editUsuariosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nfunction getSelectInseminadores() {\r\n return dispatch => {\r\n let apiEndpoint = 'usuarios/inseminadores/select/';\r\n usuarioService.get(apiEndpoint)\r\n .then((response) => {\r\n response.data.unshift({ Value: '0', Text: ' SELECIONE ...' });\r\n dispatch(changeUsuariosList(response.data));\r\n // console.log(\"RESP:\", response.data);\r\n }).catch((err) => {\r\n console.log(err);\r\n })\r\n };\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n if (event.target.type == 'checkbox') {\r\n dispatch(handleOnChangeProps(props, event.target.checked));\r\n } else {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n };\r\n}\r\n\r\nfunction onChangePropsObservacoes(props, event) {\r\n return (dispatch) => {\r\n dispatch(handleOnChangeProps(props, event))\r\n }\r\n}\r\n\r\nfunction onChangePropsAssinatura(props, event) {\r\n return (dispatch) => {\r\n dispatch(handleOnChangeProps(props, event))\r\n }\r\n}\r\nfunction editUsuarioInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'usuarios/' + id;\r\n usuarioService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response && response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/usuarios'); //ret.Path\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n //dispatch(updatedUserInfo());\r\n //history.push('/usuarios');\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n}\r\nfunction deleteUsuarioById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n\r\n fazendaService.get('fazendas/usuario/' + id)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var listaFazendas = response.data;\r\n\r\n let message = 'Tem certeza de que deseja excluir o registro?';\r\n if (listaFazendas.length > 0) {\r\n message += '\\n\\nO usuário está cadastrado nas seguintes fazendas:\\n';\r\n listaFazendas.forEach(fazenda => {\r\n message += fazenda.Nome + \"
\";\r\n });\r\n } else {\r\n message += '\\n\\nO usuário não está vinculado a nenhuma fazenda\\n';\r\n }\r\n\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n\r\n Swal.fire({\r\n title: 'Confirmação',\r\n icon: 'warning',\r\n html: message,\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n let deleteEndpoint = 'usuarios/' + id;\r\n usuarioService.deleteDetail(deleteEndpoint)\r\n .then((response) => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n if (response.request.status === 200) {\r\n var ret = response.data;\r\n dispatch(deleteUsuariosDetails());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n dispatch(getUsuario(true));\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.data);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n });\r\n }\r\n });\r\n } else {\r\n alerts.warning(response.data);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n });\r\n };\r\n}\r\n\r\nfunction requestPasswordReset(payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'usuarios/request-reset-password/';\r\n usuarioService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n // console.log(\"response\", response)\r\n if (response && response.request.status === 200) {\r\n dispatch(createUserInfo());\r\n alerts.success('E-mail de recuperação enviado!', '/');\r\n }\r\n else if (response && response.request.status === 404) {\r\n Swal.fire({\r\n icon: 'warning',\r\n title: 'Atenção',\r\n text: 'Não existe nenhum usuário com este e-mail!'\r\n });\r\n } else {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Erro',\r\n text: 'Erro ao recuperar senha do usuário!'\r\n })\r\n }\r\n }).catch(err => {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Erro',\r\n text: 'Erro ao cadastrar usuário!'\r\n });\r\n });\r\n };\r\n}\r\nfunction passwordReset(payload, token) {\r\n return dispatch => {\r\n let apiEndpoint = 'usuarios/reset-password/'\r\n authService.postWithToken(apiEndpoint, payload, token)\r\n .then((response) => {\r\n if (response && response.request.status === 200) {\r\n dispatch(createUserInfo());\r\n alerts.success('Senha redefinida com sucesso!', '/');\r\n }\r\n else if (response && response.request.status === 404) {\r\n Swal.fire({\r\n icon: 'warning',\r\n title: 'Atenção',\r\n text: 'Não existe nenhum usuário com o e-mail informado!'\r\n });\r\n }\r\n else if (response && response.request.status === 401) {\r\n\r\n Swal.fire({\r\n title: 'Atenção',\r\n text: 'A validade desse link expirou. Deseja gerar um novo link de redefinição de senha?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n history.push(\"/request-password-reset\");\r\n }\r\n });\r\n\r\n } else {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Erro',\r\n text: 'Erro ao recuperar senha do usuário!'\r\n });\r\n }\r\n }).catch(err => {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Erro',\r\n text: 'Erro ao cadastrar usuário!'\r\n });\r\n });\r\n };\r\n}\r\nexport function changeUsuariosList(usuario) {\r\n return {\r\n type: \"FETECHED_ALL_USUARIO\",\r\n usuario: usuario\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"USUARIO_CLEAR\"\r\n };\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editUsuariosDetails(usuario) {\r\n return {\r\n type: \"USUARIO_DETAIL\",\r\n id: usuario.id,\r\n login: usuario.login,\r\n nome: usuario.nome,\r\n senha: usuario.senha,\r\n data_cadastro: usuario.data_cadastro,\r\n listaDispositivos: usuario.listaDispositivos,\r\n listaFazendas: usuario.listaFazendas,\r\n usuario_cadastro: usuario.usuario_cadastro,\r\n tipo: usuario.tipo,\r\n cpf: usuario.cpf,\r\n data_exclusao: usuario.data_exclusao,\r\n usuario_exclusao: usuario.usuario_exclusao,\r\n email: usuario.email,\r\n telefone: usuario.telefone,\r\n observacoes: usuario.observacoes,\r\n id_empresa: usuario.id_empresa,\r\n id_prefeitura: usuario.id_prefeitura,\r\n caminho_assinatura: usuario.caminho_assinatura,\r\n modulo_financeiro: usuario.modulo_financeiro\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"USUARIO_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"USUARIO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteUsuariosDetails() {\r\n return {\r\n type: \"DELETED_USUARIO_DETAILS\"\r\n }\r\n}","import { relatorioService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const relatorioAction = {\r\n getComprovante,\r\n getRelatorio,\r\n getRelatorioById,\r\n onChangeProps,\r\n editRelatorioInfo,\r\n deleteRelatorioById,\r\n clear\r\n};\r\n\r\nfunction getComprovante(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'relatorios/';\r\n relatorioService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request != undefined && response.request.status == 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n // console.log(\"ret\", ret);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.html(' Acessar Relatório', '/relatorioFiltro'); //ret.Path\r\n } else {\r\n // console.log(\"entrei no else\")\r\n alerts.warning(response.data.Message);\r\n }\r\n //dispatch(createUserInfo());\r\n //history.push('/relatorios');\r\n })\r\n }\r\n}\r\n\r\nfunction getRelatorio(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'relatorios/';\r\n relatorioService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request != undefined && response.request.status == 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n // console.log(\"ret\", ret);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.html(' Acessar Relatório'); //ret.Path\r\n } else {\r\n // console.log(\"entrei no else\")\r\n alerts.warning(response.data.Message);\r\n }\r\n //dispatch(createUserInfo());\r\n //history.push('/relatorios');\r\n })\r\n }\r\n}\r\n\r\nfunction getRelatorioById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'relatorios/' + id;\r\n relatorioService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editRelatoriosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n };\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\n\r\nfunction editRelatorioInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'relatorios/' + id;\r\n relatorioService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response && response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message, '/relatorioFiltro'); //ret.Path\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n //dispatch(updatedUserInfo());\r\n //history.push('/relatorios');\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n}\r\nfunction deleteRelatorioById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) { \r\n let apiEndpoint = 'relatorios/' + id;\r\n relatorioService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deleteRelatoriosDetails());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n dispatch(relatorioAction.getRelatorio()); \r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n\r\n }\r\n });\r\n\r\n \r\n };\r\n}\r\nexport function changeRelatoriosList(relatorio) {\r\n return {\r\n type: \"FETECHED_ALL_RELATORIO\",\r\n relatorio: relatorio\r\n }\r\n}\r\nexport function clear() {\r\n return {\r\n type: \"RELATORIO_CLEAR\"\r\n };\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editRelatoriosDetails(relatorio) {\r\n return {\r\n type: \"RELATORIO_DETAIL\",\r\n id: relatorio.id,\r\n id_empresa: relatorio.id_empresa,\r\n id_inseminador: relatorio.id_inseminador,\r\n id_produtor: relatorio.id_produtor,\r\n inscricao_prefeitura: relatorio.inscricao_prefeitura,\r\n tipo_relatorio: relatorio.tipo_relatorio,\r\n data_inicio: relatorio.data_inicio,\r\n data_termino: relatorio.data_termino\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"RELATORIO_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"RELATORIO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteRelatoriosDetails() {\r\n return {\r\n type: \"DELETED_RELATORIO_DETAILS\"\r\n }\r\n}","import { termoUsoService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\n\r\nexport const termoUsoAction = {\r\n getTermoUso,\r\n getTermoUsoById,\r\n onChangeProps,\r\n createTermoUso,\r\n editTermoUsoInfo,\r\n deleteTermoUsoById,\r\n onChangePropsConteudoArquivo,\r\n clear\r\n};\r\n\r\nfunction getTermoUso(showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'termosUso';\r\n termoUsoService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeTermoUsosList(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\n\r\nfunction editTermoUsoInfo(id, payload) {\r\n return dispatch => {\r\n let apiEndpoint = 'termosUso/' + id;\r\n termoUsoService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(updatedUserInfo());\r\n alerts.success(ret.message, '/termosUsos');\r\n\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n })\r\n }\r\n}\r\n\r\nfunction getTermoUsoById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'termosUso/' + id;\r\n termoUsoService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editTermoUsosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\n\r\nfunction createTermoUso(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'termosUso/';\r\n termoUsoService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response != undefined && response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n dispatch(clear());\r\n alerts.success(ret.message, '/termosUsos');\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n })\r\n }\r\n}\r\n\r\nfunction deleteTermoUsoById(id) {\r\n return dispatch => {\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir o registro?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n let apiEndpoint = 'termosUso/' + id;\r\n termoUsoService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deleteTermoUsosDetails());\r\n dispatch(getTermoUso());\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n }\r\n });\r\n };\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\nfunction onChangePropsConteudoArquivo(props, event) {\r\n return (dispatch) => {\r\n dispatch(handleOnChangeProps(props, event))\r\n }\r\n}\r\n\r\nexport function changeTermoUsosList(termoUso) {\r\n return {\r\n type: \"FETECHED_ALL_TERMO_USO\",\r\n termoUso: termoUso\r\n }\r\n}\r\n\r\nexport function clear() {\r\n return {\r\n type: \"TERMO_USO_CLEAR\"\r\n };\r\n}\r\n\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\n\r\nexport function editTermoUsosDetails(termoUso) {\r\n return {\r\n type: \"TERMO_USO_DETAIL\",\r\n id: termoUso.id,\r\n versao: termoUso.versao,\r\n link: termoUso.link,\r\n sistema: termoUso.sistema,\r\n conteudo_arquivo: termoUso.conteudo_arquivo,\r\n data_cadastro: termoUso.data_cadastro,\r\n usuario_cadastro: termoUso.usuario_cadastro,\r\n data_exclusao: termoUso.data_exclusao,\r\n usuario_exclusao: termoUso.usuario_exclusao\r\n }\r\n}\r\n\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"TERMO_USO_UPDATED\"\r\n }\r\n}\r\n\r\nexport function createUserInfo() {\r\n return {\r\n type: \"TERMO_USO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\n\r\nexport function deleteTermoUsosDetails() {\r\n return {\r\n type: \"DELETED_TERMO_USO_DETAILS\"\r\n }\r\n}","import { createBrowserHistory } from 'history'\r\nexport const history = createBrowserHistory()\r\n","import { visitaService } from '../_services/';\r\nimport alerts from '../_components/alerts';\r\nimport { history } from '../_utils'\r\nimport Swal from 'sweetalert2'; \r\n\r\nexport const visitaAction = {\r\n getVisita,\r\n getVisitaById,\r\n onChangeProps,\r\n editVisitaInfo,\r\n createVisita,\r\n createVisitaFrizzo,\r\n deleteVisitaById,\r\n clear\r\n};\r\nfunction getVisita(showWaiting, page = 1, limit = 10, term = \"\") {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n\r\n let apiEndpoint = `visitas?page=${page}&limit=${limit}`;\r\n if (term) {\r\n apiEndpoint += `&term=${encodeURIComponent(term)}`;\r\n }\r\n\r\n visitaService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(changeVisitasList(response.data.Items, response.data.TotalItems));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction createVisita(payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'visitas/';\r\n visitaService.post(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n //verifica se tem link no retorno. Se tiver, abre direto em nova aba\r\n if (ret.message.includes('https')) {\r\n history.push(window.open(ret.message))\r\n }\r\n else {\r\n alerts.success(ret.message, '/visitas'); //ret.path\r\n }\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n //dispatch(createUserInfo());\r\n //history.push('/visitas');\r\n })\r\n }\r\n}\r\n\r\nfunction createVisitaFrizzo(payload, animais_lactacao, producao_dia, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'VisitasFrizzo/';\r\n\r\n // Criando um FormData a partir do payload com o nome 'visita'\r\n let formData = new FormData();\r\n\r\n // Envolvendo o payload dentro de 'visita'\r\n formData.append('visita', JSON.stringify(payload));\r\n formData.append('animais_lactacao', animais_lactacao);\r\n formData.append('producao_dia', producao_dia);\r\n\r\n // Enviando o FormData\r\n visitaService.post(apiEndpoint, formData)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n // Verifica se tem link no retorno. Se tiver, abre direto em nova aba\r\n if (ret.message.includes('https')) {\r\n window.open(ret.message, '_blank'); // Abre o link em uma nova aba\r\n } else {\r\n alerts.success(ret.message, '/visitas'); // Exibe mensagem de sucesso e redireciona\r\n }\r\n } else {\r\n alerts.warning(response.data.Message);\r\n }\r\n })\r\n .catch(error => {\r\n alerts.error('Erro ao enviar dados.');\r\n });\r\n };\r\n}\r\n\r\nfunction getVisitaById(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'visitas/' + id;\r\n visitaService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editVisitasDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n alerts.error(err);\r\n })\r\n };\r\n}\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\nfunction editVisitaInfo(id, payload, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'visitas/' + id;\r\n visitaService.put(apiEndpoint, payload)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(createUserInfo());\r\n alerts.success(ret.message, '/visitas'); //ret.path\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n //dispatch(updatedUserInfo());\r\n //history.push('/visitas');\r\n })\r\n }\r\n}\r\nfunction deleteVisitaById(id) {\r\n return (dispatch) => {\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir a visita?',\r\n icon: 'warning',\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: 'Não, cancelar!',\r\n dangerMode: true,\r\n heightAuto: false\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n alerts.waiting();\r\n\r\n visitaService.deleteDetail(`visitas/${id}`)\r\n .then((response) => {\r\n if (response.status === 200) {\r\n const ret = response.data;\r\n dispatch(deleteVisitasDetails());\r\n dispatch(visitaAction.getVisita());\r\n alerts.clean();\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.data);\r\n }\r\n })\r\n .catch((err) => {\r\n console.error('Erro ao excluir visita:', err);\r\n alerts.error('Erro ao excluir visita. Tente novamente.');\r\n });\r\n }\r\n });\r\n };\r\n}\r\nexport function changeVisitasList(visita, totalItems) {\r\n return {\r\n type: \"FETECHED_ALL_VISITA\",\r\n visita: visita,\r\n totalItems: totalItems\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\nexport function editVisitasDetails(visita) {\r\n return {\r\n type: \"VISITA_DETAIL\",\r\n id: visita.id,\r\n id_fazenda: visita.id_fazenda,\r\n data: visita.data,\r\n tipo_relatorio: visita.tipo_relatorio,\r\n arquivo: visita.arquivo,\r\n obs: visita.obs,\r\n data_cadastro: visita.data_cadastro,\r\n usuario_cadastro: visita.usuario_cadastro,\r\n data_exclusao: visita.data_exclusao,\r\n usuario_exclusao: visita.usuario_exclusao,\r\n fazenda: visita.fazenda\r\n }\r\n}\r\nexport function updatedUserInfo() {\r\n return {\r\n type: \"VISITA_UPDATED\"\r\n }\r\n}\r\nexport function createUserInfo() {\r\n return {\r\n type: \"VISITA_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\nexport function deleteVisitasDetails() {\r\n return {\r\n type: \"DELETED_VISITA_DETAILS\"\r\n }\r\n}\r\n\r\nexport function clear() {\r\n return {\r\n type: \"VISITA_CLEAR\"\r\n };\r\n}","import { usuarioDispositivoService } from '../_services';\r\nimport alerts from '../_components/alerts';\r\nimport Swal from 'sweetalert2';\r\nimport { usuarioAction } from '../_actions/';\r\n\r\nexport const usuarioDispositivoAction = {\r\n getUsuarioDispositivo,\r\n enviaNotificacao,\r\n deleteDispositivoById,\r\n onChangeProps,\r\n};\r\n\r\nfunction getUsuarioDispositivo(id, showWaiting) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'usuariosDispositivos/' + id;\r\n usuarioDispositivoService.get(apiEndpoint)\r\n .then((response) => {\r\n dispatch(editUsuariosDispositivosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n }).catch((err) => {\r\n //console.log(err);\r\n //alerts.error(err);\r\n });\r\n };\r\n}\r\n\r\nfunction enviaNotificacao(showWaiting, payload) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n let apiEndpoint = 'chamadas/gerar_notificacoes/dispositivo/';\r\n usuarioDispositivoService.post(apiEndpoint, payload)\r\n .then((response) => { \r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(editUsuariosDispositivosDetails(response.data));\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(\"Notificação enviada com sucesso!\");\r\n\r\n }).catch((err) => {\r\n //console.log(err);\r\n //alerts.error(err);\r\n });\r\n };\r\n}\r\n\r\nfunction deleteDispositivoById(id, showWaiting, id_usuario) {\r\n return dispatch => {\r\n if (showWaiting) {\r\n alerts.waiting();\r\n }\r\n Swal.fire({\r\n title: 'Confirmação',\r\n text: 'Tem certeza de que deseja excluir este dispositivo?',\r\n icon: 'warning',\r\n buttons: true,\r\n showCancelButton: true,\r\n confirmButtonText: 'Sim',\r\n cancelButtonText: \"Não, cancelar!\",\r\n dangerMode: true,\r\n heightAuto: false\r\n })\r\n .then((willDelete) => {\r\n if (willDelete.value) {\r\n let apiEndpoint = 'usuariosDispositivos/' + id;\r\n usuarioDispositivoService.deleteDetail(apiEndpoint)\r\n .then((response) => {\r\n if (response.request.status === 200) {\r\n var ret = JSON.parse(response.request.responseText);\r\n dispatch(deleteUsuariosDispositivosDetails());\r\n dispatch(usuarioAction.getUsuarioById(id_usuario, false))\r\n if (showWaiting) {\r\n alerts.clean();\r\n }\r\n alerts.success(ret.message);\r\n } else {\r\n alerts.warning(response.request.responseText);\r\n }\r\n }).catch((err) => {\r\n console.log(err.response);\r\n return err.response;\r\n })\r\n\r\n }\r\n });\r\n\r\n\r\n };\r\n}\r\n\r\nfunction onChangeProps(props, event) {\r\n return dispatch => {\r\n dispatch(handleOnChangeProps(props, event.target.value));\r\n }\r\n}\r\nexport function handleOnChangeProps(props, value) {\r\n return {\r\n type: \"HANDLE_ON_CHANGE\",\r\n props: props,\r\n value: value\r\n }\r\n}\r\n\r\nexport function changeUsuariosDispositivosList(usuarioDispositivo) {\r\n return {\r\n type: \"FETECHED_ALL_USUARIODISPOSITIVO\",\r\n usuarioDispositivo: usuarioDispositivo\r\n }\r\n}\r\n\r\nexport function createUserInfo() {\r\n return {\r\n type: \"USUARIODISPOSITIVO_CREATED_SUCCESSFULLY\"\r\n }\r\n}\r\n\r\nexport function editUsuariosDispositivosDetails(usuarioDispositivo) {\r\n return {\r\n type: \"USUARIODISPOSITIVO_DETAIL\",\r\n id: usuarioDispositivo.id,\r\n id_fazenda: usuarioDispositivo.id_fazenda,\r\n token: usuarioDispositivo.token,\r\n marca: usuarioDispositivo.marca,\r\n modelo: usuarioDispositivo.modelo,\r\n data_ativacao: usuarioDispositivo.data_ativacao,\r\n sistema: usuarioDispositivo.sistema,\r\n excluido: usuarioDispositivo.excluido,\r\n id_usuario: usuarioDispositivo.id_usuario,\r\n }\r\n}\r\n\r\nexport function deleteUsuariosDispositivosDetails() {\r\n return {\r\n type: \"DELETED_USUARIODISPOSITIVO_DETAILS\"\r\n }\r\n}","import React, { useState, useEffect } from 'react';\r\nimport {\r\n Button,\r\n Col,\r\n FormGroup,\r\n Label,\r\n Modal,\r\n ModalBody,\r\n ModalFooter,\r\n ModalHeader,\r\n Row,\r\n} from 'reactstrap';\r\nimport Select from 'react-select';\r\nimport Swal from 'sweetalert2';\r\nimport { useDispatch } from 'react-redux';\r\nimport { fazendaAction, visitaAction } from '../_actions';\r\n\r\nexport const ModalAnimaisFazenda = ({ openModalSelectFazenda, handleCloseModalSelectFazenda, props }) => {\r\n const [fazendaSelecionada, setFazendaSelecionada] = useState(0);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (openModalSelectFazenda) {\r\n dispatch(fazendaAction.getFazendaSelect());\r\n }\r\n }, [openModalSelectFazenda]);\r\n\r\n const handleSelectChange = prop => event => {\r\n var event2 = {\r\n type: 'select',\r\n target: {\r\n value: event.value\r\n }\r\n };\r\n\r\n if (prop === 'id_fazenda') {\r\n setFazendaSelecionada(event.value);\r\n }\r\n };\r\n\r\n const renderOptionsFazenda = () => {\r\n return props.fazenda.fazenda.map((p, i) => {\r\n return (\r\n { value: p.id, label: p.nome }\r\n );\r\n });\r\n };\r\n\r\n const handleGeraRelatorioAnimais = () => {\r\n\r\n if (fazendaSelecionada != '' && fazendaSelecionada != 0) {\r\n\r\n const { match: { params } } = props;\r\n\r\n var data = new Date();\r\n var dia = String(data.getDate()).padStart(2, '0');\r\n var mes = String(data.getMonth() + 1).padStart(2, '0');\r\n var ano = data.getFullYear();\r\n var dataAtual = ano + \"-\" + mes + \"-\" + dia;\r\n\r\n let payload = {\r\n id: params.id,\r\n id_fazenda: fazendaSelecionada,\r\n data: dataAtual,\r\n tipo_relatorio: \"EX\"\r\n };\r\n\r\n dispatch(visitaAction.createVisita(payload, true));\r\n } else {\r\n Swal.fire({\r\n icon: 'warning',\r\n title: 'Erros de validação',\r\n showCloseButton: true,\r\n showConfirmButton: true,\r\n html: '
Data/Hora | \r\nUsuário | \r\nCampo | \r\nValor Antigo | \r\nValor Novo | \r\n
---|---|---|---|---|
{n.NomeUsuario} | \r\n{n.campo} | \r\n{n.ValorAntigo} | \r\n{n.ValorNovo} | \r\n
Data/Hora | \r\nFazenda | \r\nTabela | \r\nCampo | \r\nValor Antigo | \r\nValor Novo | \r\n
---|---|---|---|---|---|
{n.fazenda} | \r\n{n.tabela} | \r\n{n.campo} | \r\n{n.ValorAntigo} | \r\n{n.ValorNovo} | \r\n
\r\n Arquivo em formato Excel (.xls, .xlsx, ou .csv) contendo as informações dos Tanques.
\r\n Arquivo de modelo: Modelo de Importação de Tanques\r\n
', '').replace('
', '') : null,\r\n id_prefeitura: props.usuario.id_prefeitura ? props.usuario.id_prefeitura : null,\r\n modulo_financeiro: props.usuario.modulo_financeiro,\r\n listaFazendas: props.usuario.listaFazendas,\r\n\r\n };\r\n\r\n if (params.id) {\r\n dispatch(usuarioAction.editUsuarioInfo(params.id, payload, true));\r\n\r\n } else {\r\n dispatch(usuarioAction.createUsuario(payload, true));\r\n }\r\n }\r\n };\r\n\r\n const handleEnviaNotificacao = (id) => {\r\n\r\n var formData = new FormData();\r\n formData.append('id_dispositivo', id);\r\n formData.append('chave', 'gestorrp');\r\n\r\n dispatch(usuarioDispositivoAction.enviaNotificacao(true, formData));\r\n };\r\n\r\n const handleRemoverDispositivo = (id, id_usuario) => {\r\n dispatch(usuarioDispositivoAction.deleteDispositivoById(id, true, id_usuario));\r\n };\r\n\r\n const renderOptionsEmpresas = () => {\r\n const { match: { params } } = props;\r\n return props.empresa.empresa.map((p, i) => {\r\n return (\r\n {\r\n value: p.Value, label: p.Text,\r\n }\r\n );\r\n });\r\n };\r\n\r\n const renderOptionsFazendas = () => {\r\n return props.fazenda?.fazenda?.map((p, i) => {\r\n return (\r\n { value: p.id, label: p.nome }\r\n );\r\n });\r\n };\r\n\r\n const handleSelectChangeState = prop => event => {\r\n setIdFazenda(event.value);\r\n setTextFazenda(event.label);\r\n };\r\n\r\n const renderOptionsPrefeituras = () => {\r\n const { match: { params } } = props;\r\n return props.prefeitura.prefeitura.map((p, i) => {\r\n return (\r\n {\r\n value: p.Value, label: p.Text,\r\n }\r\n );\r\n });\r\n };\r\n\r\n const handleRemoveOnList = id => {\r\n props.usuario.listaFazendas = props.usuario.listaFazendas.filter(ts => ts.id_fazenda !== parseInt(id));\r\n forceUpdate(n => !n);\r\n };\r\n\r\n function getFazendaNome(id) {\r\n var fazenda = props.fazenda.fazenda.filter(u => u.id == id);\r\n if (fazenda[0] != null) {\r\n return fazenda[0].nome;\r\n }\r\n else {\r\n return '';\r\n }\r\n }\r\n\r\n const handleAddOnList = e => {\r\n console.log('idFazenda', idFazenda)\r\n if (props.usuario.listaFazendas?.filter(ts => ts.id_fazenda === parseInt(idFazenda)).length > 0) {\r\n Swal.fire({\r\n icon: 'warning',\r\n title: 'Erro ao adicionar',\r\n showCloseButton: true,\r\n showConfirmButton: true,\r\n html: '', '').replace('
', '') : null\r\n }\r\n\r\n if (params.id) {\r\n dispatch(termoUsoAction.editTermoUsoInfo(params.id, payload));\r\n } else {\r\n dispatch(termoUsoAction.createTermoUso(payload));\r\n }\r\n\r\n }\r\n\r\n };\r\n\r\n const renderOptionsSistema = () => {\r\n var tipoData = [\r\n { value: '', name: 'SELECIONE...' },\r\n { value: 'financeiro', name: 'Financeiro' },\r\n { value: 'inseminadores', name: 'Inseminadores' },\r\n { value: 'zootecnico', name: 'Zootécnico' }\r\n ];\r\n\r\n return tipoData.map((p, i) => {\r\n return (\r\n { value: p.value, label: p.name }\r\n );\r\n });\r\n };\r\n\r\n return (\r\n\r\n Para prosseguir, digite o link do ngrok abaixo:\r\n
\r\n