{"version":3,"sources":["components/Header/Header.module.css","helpers/getExtension.js","helpers/validators.js","pages/Chamados/Chamados.module.css","api/monitoramentoService.js","context/MonitoramentoContext.js","api/getChamadosByResponder.js","api/capsDocsService.js","components/Vestuario/Vestuario.module.css","components/Loading/Loading.module.css","pages/Admin/Admin.module.css","components/Loading/index.js","helpers/generatePassword.js","helpers/formatarDataEHora.js","context/UserContext.js","api/capsServices/capsiMonteiroLobatoService.js","context/CapsContext.js","api/getAllChamados.js","helpers/cipaCards.js","api/getAllUsers.js","pages/Home/Home.module.css","pages/EsqueciSenhaOk/EsqueciSenhaOk.module.css","helpers/formatDate.js","components/PaginationMenu/index.js","helpers/unidadesPesquisa.js","helpers/useCopyToClipboard.js","api/baseUrlQRCode.js","helpers/masks.js","helpers/isTokenExpired.js","pages/Admin/Usuarios/Novo/Novo.module.css","pages/Admin/Usuarios/Editar/Editar.module.css","helpers/briefingSupportedExtensions.js","components/Cipa/index.js","helpers/isoToDate.js","api/acoesTerritoriaisService.js","api/usuariosATService.js","context/AcoesTerritoriais.js","components/Email/Email.module.css","pages/PageNotFound/PageNotFound.module.css","helpers/cryptography.js","pages/ChamadosNovo/ChamadosNovo.module.css","pages/Login/Login.module.css","pages/Admin/Usuarios/Usuarios.module.css","pages/Chamado/Chamado.module.css","protectedRoutes/ProtectedRoute.js","protectedRoutes/AdminRoute.js","protectedRoutes/MetasRoute.js","protectedRoutes/VRVARoute.js","protectedRoutes/VestuarioRoute.js","protectedRoutes/OuvidoriaRoute.js","protectedRoutes/OuvidoriaConsultaRoute.js","protectedRoutes/CipaRoute.js","protectedRoutes/CapsRoute.js","protectedRoutes/MdiRoute.js","protectedRoutes/PesquisaRoute.js","protectedRoutes/InscricaoAdminRoute.js","protectedRoutes/GestaoDeLeitosRoute.js","pages/Home/index.js","pages/Login/index.js","api/getCodigosChamados.js","api/getCategorias.js","api/getChamadosBusca.js","helpers/tiEmpresasResp.js","pages/Chamados/index.js","helpers/listaMedicamentos.js","helpers/listaMateriaisEscritorio.js","helpers/listaMateriaisExpediente.js","helpers/listaMateriaisLimpeza.js","components/SuporteTi/index.js","components/ManutencaoPredial/index.js","components/ManutencaoEquip/index.js","components/Reposicao/index.js","components/Veiculo/index.js","components/Unidades/index.js","components/Relato/index.js","components/Categorias/index.js","components/Email/index.js","components/MedicamentosSaudeMental/index.js","components/MedicamentosAtencaoBasica/index.js","components/SolicitacaoVeiculo/index.js","components/MateriaisEscritorio/index.js","components/MateriaisExpediente/index.js","components/MateriaisLimpeza/index.js","components/Eletrica/index.js","components/Hidrossanitario/index.js","components/Mecanica/index.js","api/criarChamado.js","components/SolicitacaoMotoboy/index.js","components/Demonstrativos/index.js","components/ValeRefeicao/index.js","api/updateValeRefeicao.js","api/getUserByEmail.js","components/Vestuario/index.js","components/Cadastro/index.js","api/updateVestuario.js","components/BriefingThumb/index.js","components/LoginSistemas/index.js","components/SuporteSistemas/index.js","helpers/formatarMatricula.js","components/Votacao/index.js","components/EngenhariaClinica/index.js","components/ManutencaoEquipamentos/index.js","helpers/equipamentosEngenhariaClinica.js","components/Ascom/index.js","components/Briefing/index.js","helpers/cipaUnidades.js","components/Erp/index.js","helpers/extensoesSuporte.js","components/PontoEletronico/index.js","helpers/chamadosSelect.js","api/getCipaInscricao.js","api/getCipaJaVotou.js","components/CipaInscricao/index.js","api/criarCipa.js","components/SuporteTiForm/index.js","pages/ChamadosNovo/index.js","api/forgotPassword.js","pages/EsqueciSenha/index.js","pages/EsqueciSenhaOk/index.js","api/editPassword.js","pages/ResetarSenha/index.js","api/getChamadoById.js","api/updateChamado.js","helpers/makePdf.js","helpers/pdfFeriasEmBranco.js","helpers/pdfAlteracaoFerias.js","api/criarUsuario.js","helpers/pdfBriefing.js","pages/Chamado/index.js","pages/Admin/index.js","api/deletarUsuario.js","pages/Admin/Usuarios/index.js","pages/Admin/Usuarios/Novo/index.js","api/getUserById.js","api/editarUsuario.js","pages/Admin/Usuarios/Editar/index.js","pages/PageNotFound/index.js","routes.js","api/doc/criarCategoria.js","api/doc/getCategorias.js","components/Header/index.js","App.js","index.js","pages/ResetarSenha/ResetarSenha.module.css","components/ValeRefeicao/ValeRefeicao.module.css","pages/EsqueciSenha/EsqueciSenha.module.css","helpers/includeLeftZero.js","components/LoginSistemas/LoginSistemas.module.css","components/Cipa/Cipa.module.css","components/MedicamentosSaudeMental/MedicamentosSaudeMental.module.css","components/MedicamentosAtencaoBasica/MedicamentosAtencaoBasica.module.css","api/baseUrl.js","components/MateriaisEscritorio/MateriaisEscritorio.module.css","components/MateriaisExpediente/MateriaisExpediente.module.css","context/CapsDocsContext.js","components/MateriaisLimpeza/MateriaisLimpeza.module.css","components/BriefingThumb/BriefingThumb.module.css","api/getUnidades.js","api/getChamadosByUser.js","components/CipaInscricao/CipaInscricao.module.css","components/Erp/Erp.module.css","components/Briefing/Briefing.module.css"],"names":["module","exports","getExtension","filename","filenameSplit","split","length","emailValidator","email","test","cpfValidator","cpf","digitsMask","resto","soma","cpfNumber","isNaN","error","message","i","parseInt","substring","cpfSequencial","push","toString","cpfSeqArray","map","digit","cpfSeq","Array","fill","join","includes","linkValidator","link","cnsValidator","cns","primeiroDigito","charAt","dv","novaSoma","resultado","slice","ENDPOINT","baseUrl","monitoramentoService","async","id","data","fetch","method","headers","localStorage","getItem","json","pageNumber","limit","filterBy","orderBy","token","window","isTokenExpired","clear","location","replace","checkToken","values","body","JSON","stringify","MonitoramentoContext","createContext","MonitoramentoProvider","children","getAllMonitoramentos","useCallback","allMonitoramentos","console","log","getMonitoramentoById","response","getMonitoramento","usuario","decrypt","nomeUsuario","emailRemetente","remetente","outroRemetente","emailDestinatario","descricao","responsavelResposta","resposta","updateMonitoramento","dilacaoPrazoResposta","Number","update","newData","novaDataResposta","deleteMonitoramento","delete","ok","Error","createMonitoramento","create","initialValues","identificador","dataRecebimento","startOfToday","tipoDocumento","unidade","regiao","tipoSolicitacao","documento","idDocumento","idInquerito","dataRespostaInterna","prazoReal","dataMaxReal","situacao","dataEnvioResposta","numeroOficioResposta","Provider","value","exportExcel","fileName","formatDate","Date","exportType","monitoramentos","monitoramento","exportFromJSON","getAllMonitoramentosAndExport","useMonitoramento","useContext","URL_GET_CHAMADOS_BY_RESPONDER","getChamadosByResponder","responder","page","capsDocsService","idUsuario","capsUrl","hash","baseUrlQRCode","api","Loading","className","styles","spinnerContainer","animation","variant","spinner","loading","src","alt","logo","generatePassword","passwordLength","numberChars","upperChars","lowerChars","specialChars","allChars","randPasswordArray","array","j","Math","random","shuffleArray","x","formatarDataEHora","Intl","DateTimeFormat","year","month","day","hour","minute","second","format","URL_LOGIN","URL_SIGNUP","UserContext","UserStorage","setData","useState","login","setLogin","setLoading","setError","setToken","isAdmin","setIsAdmin","isMonitor","setIsMonitor","isConsulta","setIsConsulta","isUser","setIsUser","isResp","setIsResp","isVR","setIsVR","isVest","setIsVest","isOuvidoria","setIsOuvidoria","isOuvidoriaConsulta","setIsOuvidoriaConsulta","isCipa","setIsCipa","isCapsAdmin","setIsCapsAdmin","isCapsSupervisor","setIsCapsSupervisor","isCapsOperador","setIsCapsOperador","isCapsConsulta","setIsCapsConsulta","isCapsDocs","setIsCapsDocs","isCapsDocsEsp","setIsCapsDocsEsp","isMdi","setIsMdi","isMdiAdmin","setIsMdiAdmin","isErp","setIsErp","isPesquisa","setIsPesquisa","isInscricaoAdmin","setIsInscricaoAdmin","isReducaoDeDanos","setIsReducaoDeDanos","isReducaoConsulta","setIsReducaoConsulta","isDocsDas","setIsDocsDas","isDocsDiti","setIsDocsDiti","isDocsDtec","setIsDocsDtec","isDocsDaf","setIsDocsDaf","isDocsDg","setIsDocsDg","isCecoAdmin","setIsCecoAdmin","isCecoOperador","setIsCecoOperador","isGestor","setIsGestor","isAtivAdmin","setIsAtivAdmin","isAtivOperador","setIsAtivOperador","isAtivConsulta","setIsAtivConsulta","isLeitos","setIsLeitos","history","useHistory","useEffect","userLogout","removeItem","parse","user","roles","encrypt","autoLogin","authenticate","status","setItem","signUp","capsiMonteiroLobatoService","CapsContext","CapsProvider","getAllPacientes","allPacientes","getPacientesTotais","pacientesTotais","getPacienteById","getPaciente","cartaoSus","cep","contatoTrabalho","localTrabalho","logradouro","mae","nomeSocial","nomeTelefoneCurador","pai","pontoReferencia","principalReferencia","rg","telefoneContato","telefoneContato2","updatePaciente","deletePaciente","createPaciente","prontuario","dataPreenchimento","dataAtivacaoProntuario","dataNascimento","identidadeGenero","orientacaoSexual","qualOrientacao","racaCor","nacionalidade","naturalidade","estadoCivil","deficiencia","deficienciaOutra","situacaoMoradia","qualMoradia","dataInicioAbrigamento","tempoSituacaoRua","numero","complemento","bairro","subBairro","municipio","uf","coletaDeLixo","aguaEncanada","escolaridade","anoEscolar","nomeEscola","trabalhou30Dias","vigenciaAuxilioDoenca","profissaoOcupacao","fonteRenda","rendaFamiliarAproximada","qtdPessoasDestinoRenda","beneficiosAssistenciaSocial","outroBeneficio","curatelado","suporteFamiliar","conflitoLei","dataInicioMedidaPena","dataTerminoMedidaPena","localCumprimentoMedidaPena","unidadeApsReferencia","equipeApsReferenciaTelefone","entradaCaps","encaminhadoPor","encaminhadoOutroLocal","tratamentoAnteriorSaudeMental","localTratamentoAnterior","tempoAcompanhamento","usoAlcoolDrogas","quaisAlcoolDrogas","usoMedicacaoPsiquiatrica","qualMedicacaoPsiquiatrica","desinstitucionalizacao","localAnoDesins","estrategiaDesins","outroDesins","cid","ciap2","classificacaoRisco","referencia","correferencia","medicoReferencia","situacaoCadastro","inativoMotivo","outroInativoMotivo","goBackToList","currentCaps","pathname","state","currentCapsState","MOCKUP_TESTE","useCaps","URL_GET_ALL_CHAMADOS","getAllChamados","cipaCards","foto","nome","lotacao","funcao","URL_GET_ALL_USERS","getAllUsers","filter","date","toLocaleDateString","timeZone","PaginationMenu","props","handlePageChange","totalPages","setCurrentPage","url","URL","searchParams","set","String","pushState","from","item","index","Item","active","currentPage","onClick","First","disabled","Prev","Ellipsis","ceil","Next","Last","unidadesPesquisa","useCopyToClipboard","setValue","success","setSuccess","text","options","result","copy","front","matriculaMask","cpfMask","phoneMask","valueFormat","cepMask","ouvidoriaProtocoloMask","editalMask","now","atob","exp","briefingSupportedExtensions","Cipa","cards_container","card_container","card_header","card_img_header","buttonCipaDisabled","card_apuracao","card_photo","card_body","card_container_nome","card_nome","card_lotacao","selecionarCipa","save_btn","isoToDate","iso","parts","acoesTerritoriaisService","idAT","campo","valor","cripto","uuid","territorio","usuariosATService","AcoesTerritoriaisContext","AcoesTerritoriaisProvider","getAllAcoesTerritoriais","allAcoesTerritoriais","getAcaoTerritorialById","getAcaoTerritorial","dataAtividade","parseISO","getUsuariosAcaoTerritorial","usuariosAcaoTerritorial","nomeCompleto","documentos","updateAcaoTerritorial","deleteAcaoTerritorial","createAcaoTerritorial","getUsuarioATById","get","updateUsuarioAT","deleteUsuarioAT","createUsuarioAT","createAtividade","updateAtividade","addUsuarioToAcaoTerritorial","addUsuarioAT","buscaAllUsuarios","buscaUsuarios","getAcoesUsuarioCAPS","usuarioAcoes","patchATStatus","patchStatus","getRelatorio","relatorio","acoesTerritoriaisInitialValues","servicoResponsavel","equipeResponsavel","atividadeCompartilhada","qualAtividade","usuarios","atividades","usuarioATInitialValues","apelido","genero","idade","unidadeReferencia","publicoAlvo","caps","capsOrigem","ausenciaDoc","infosComplementares","useAcoesTerritoriais","require","config","crypto","ENC_KEY","process","IV","cipher","createCipheriv","encrypted","final","decipher","createDecipheriv","encryptArray","rolesEncrypt","decryptArray","arrayEncrypted","rolesDecrypt","ProtectedRoute","to","AdminRoute","MetasRoute","VRVARoute","VestuarioRoute","OuvidoriaRoute","OuvidoriaConsultaRoute","CipaRoute","CapsRoute","MdiRoute","PesquisaRoute","InscricaoAdminRoute","GestaoDeLeitosRoute","Home","Container","container","fluid","controls","video","type","Login","isNewPassword","setIsNewPassword","showNewPasswordModal","setShowNewPasswordModal","showEye","setShowEye","showModal","setShowModal","errorMessage","setErrorMessage","showErrorModal","setShowErrorModal","setValues","password","captchaRef","useRef","recaptchaToken","setRecaptchaToken","handleErrorModalClose","handleChange","e","key","target","getAttribute","handleEye","handleModalClose","handleNewPasswordModalClose","form_container","logoImg","title","Form","onSubmit","preventDefault","err","current","reset","noValidate","form","input_container","label_float","Group","controlId","Label","Control","input","required","name","onChange","eye_container","eye","Modal","show","onHide","Header","closeButton","Title","Body","Footer","Button","modal_body","captcha_container","sitekey","ref","getValue","onExpired","button","btn","URL_GET_CODIGOS_CHAMADOS","getCodigosChamados","role","URL_GET_CATEGORIAS","getCategorias","URL_GET_CHAMADOS_BUSCA","getChamadosBusca","tiEmpresasResp","Chamados","useLocation","isRedirect","setIsRedirect","pagina","URLSearchParams","search","searchBy","setSearchBy","busca","setSearch","decodeURIComponent","setFilterBy","setTotalPages","chamados","setChamados","sortCodigo","setSortCodigo","sortCategoria","setSortCategoria","sortNome","setSortNome","sortUnidade","setSortUnidade","sortSubcategoria","setSortSubcategoria","sortStatus","setSortStatus","sortDataInicio","setSortDataInicio","setOrderBy","excelLoading","setExcelLoading","showModalBusca","setShowModalBusca","codigos","setCodigos","searchLabel","setSearchLabel","categorias","setCategorias","subcategorias","setSubcategorias","unidades","setUnidades","getChamados","getChamadosByUser","categoria","subcategoria","flat","getAllCategorias","getUnidades","getAllUnidades","handlePopState","queryParams","getChamadosFiltered","addEventListener","removeEventListener","chamadosFiltro","suporteTi","empresaResp","scrollTo","handleSearch","getChamadosTodos","handleModalBuscaClose","toExcel","getAll","excelData","_id","numero_chamado","numeroChamado","telefone","login_sistemas","loginSistemas","sistema","relato","sla","equipamentoEngenhariaClinica","observacao","obs","veiculo_data","solicitacaoVeiculo","veiculoData","veiculo_hora","veiculoHora","veiculo_tempo","veiculoTempo","veiculo_passageiro","veiculoPassageiro","veiculo_telefone","veiculoTelefone","veiculo_motivo","veiculoMotivo","veiculo_saida","veiculoSaida","veiculo_destino","veiculoDestino","data_inicio","createdAt","data_final","finalAt","pontoEletronico","assunto","materiaisEscritorio","forEach","_","material","quantidade","materiaisLimpeza","materiaisExpediente","briefing","briefingPorque","briefingMedidas","briefingOnde","briefingPrazo","briefingDetalhe","briefingArquivos","originalName","erp","erpNome","erpEmail","erpMatricula","erpUnidade","erpAdministrador","erpCadastrosComuns","erpCadastrosComumFinanceiro","erpGestaoDeProcessos","erpCompras","erpContratoCompras","erpContasPagar","erpPagamentoEscritural","erpContasReceber","erpTesouraria","erpIntegracaoPadrao","erpContabil","erpPatrimonio","erpOrcamento","erpReinf","erpEfd","erpEcd","erpEcf","telContatoTi","patrimonioTi","handleSortCodigo","handleSortCategoria","handleSortNome","handleSortUnidade","handleSortSubcategoria","handleSortStatus","handleSortDataInicio","searchOptions","buttons","icon","textToHide","dataItem","startsWith","solicitacaoMotoboy","motoboyData","Row","Col","sm","searchType","Select","handleSearchBy","searchField","button_col","button_list","icon_list","Table","striped","bordered","hover","responsive","chamadosTable","style","width","table_head","sort","chamado","backgroundColor","table_data","includeLeftZero","listaAtencaoBasica","listaSaudeMental","listaMateriaisEscritorio","listaMateriaisExpediente","listaMateriaisLimpeza","SuporteTi","find","handleSubcategoria","ManutencaoPredial","ManutencaoEquip","Reposicao","Veiculo","Unidades","userUnidade","handleUnidade","readOnly","Relato","mensagemRelato","maxLength","isRequired","as","rows","handleRelato","counter","showRelatoModal","handleRelatoModalClose","relatoError","Categorias","handleCategoria","Email","autoComplete","handleCreateEmail","paddingRight","paddingLeft","placeholder","createEmail","unit","sisged","showEmailModal","closeEmailModal","emailError","MedicamentosSaudeMental","container_medicamentos","medicamentosSaudeMental","handleMedicamentosSaudeMental","medicamento","step","container_buttons","handleRemoveMedicamentoSaudeMental","icon_container","icon_trash","handleAddMedicamentoSaudeMental","colSpan","padding","Check","label","handleSwitch","MedicamentosAtencaoBasica","medicamentosAtencaoBasica","handleMedicamentosAtencaoBasica","handleRemoveMedicamentoAtencaoBasica","handleAddMedicamentoAtencaoBasica","SolicitacaoVeiculo","handleSolicitacaoVeiculo","min","max","veiculoError","MateriaisEscritorio","handleMateriaisEscritorio","handleRemoveMateriaisEscritorio","handleAddMateriaisEscritorio","materialError","MateriaisExpediente","handleMateriaisExpediente","handleRemoveMateriaisExpediente","handleAddMateriaisExpediente","MateriaisLimpeza","handleMateriaisLimpeza","handleRemoveMateriaisLimpeza","handleAddMateriaisLimpeza","Eletrica","Hidrossanitario","Mecanica","URL_CRIAR_CHAMADO","criarChamado","SolicitacaoMotoboy","handleSolicitacaoMotoboy","motoboyTempo","Demonstrativos","ValeRefeicao","isValeRefeicao","subtitle","checkbox","checked","handleValeRefeicao","showModalVRErro","handleModalVRErroClose","contentClassName","modalWidth","showModalVRConfirm","handleModalVRConfirmClose","confirm","vrOption","vrConfirm","URL_UPDATE_VALE_REFEICAO","updateValeRefeicao","vrData","URL_GET_USER_BY_EMAIL","getUserByEmail","Vestuario","tabelaContainer","height","tabela","isVestuario","camisa","radio","inline","handleCamisa","calca","handleCalca","jaleco","handleJaleco","handleCalcado","calcado","defaultValue","numeroCalcado","handleVestuarioObservacoes","observacoes","vestuarioObservacoes","showVestuarioModal","handleVestuarioModalClose","vestuarioError","showVestuarioMessageModal","handleVestuarioMessageModalClose","showModalVestuarioConfirm","handleModalVestuarioConfirmClose","vestuarioConfirm","Cadastro","URL_UPDATE_VESTUARIO","updateVestuario","vestuarioData","BriefingThumb","briefingArquivo","file_thumb","createObjectURL","sistemasSuporte","sistemasLogin","LoginSistemas","suporteArquivo1Ref","suporteArquivo2Ref","suporteArquivo3Ref","suporteArquivo4Ref","suporteArquivo5Ref","sistemasArray","setSistemasArray","suporteArquivo1","suporteArquivo2","suporteArquivo3","suporteArquivo4","suporteArquivo5","scrollBy","loginSuporte","tipo","handleLoginSuporte","handleLoginSistemas","unidadesSistema","nomeCnes","nomeGenerico","file_title","handleSuporteArquivo","file_reset_button","resetSuporteArquivo","size","showSuporteModal","handleSuporteModalClose","suporteError","showLoginSistemasModal","handleLoginSistemasModalClose","loginSistemasError","SuporteSistemas","formatarMatricula","matricula","regex","RegExp","matriculaFormatada","match","Votacao","EngenhariaClinica","ManutencaoEquipamentos","handleEquipamentoEngenhariaClinica","equipamentosEngenhariaClinica","equipamento","Ascom","Briefing","briefingArquivo1Ref","briefingArquivo2Ref","briefingArquivo3Ref","briefingArquivo4Ref","briefingArquivo5Ref","briefingArquivo1","briefingArquivo2","briefingArquivo3","briefingArquivo4","briefingArquivo5","handleBriefingPorque","handleBriefingMedidas","handleBriefingOnde","handleBriefingPrazo","handleBriefingDetalhe","handleBriefingArquivo","resetBriefingArquivo","showBriefingModal","handleBriefingModalClose","briefingError","cipaUnidades","radios","Erp","handleErpNome","handleErpEmail","handleErpMatricula","handleErpUnidade","bg_color","handleErpAdministrador","handleErpCadastrosComuns","handleErpCadastrosComumFinanceiro","handleErpGestaoDeProcessos","handleErpCompras","handleErpContratoCompras","handleErpContasPagar","handleErpPagamentoEscritural","handleErpContasReceber","handleErpTesouraria","handleErpIntegracaoPadrao","handleErpContabil","erpEstoque","handleErpEstoque","handleErpPatrimonio","handleErpOrcamento","handleErpReinf","handleErpEfd","handleErpEcd","handleErpEcf","showErpModal","handleErpModalClose","erpError","extensoesSuporte","PontoEletronico","pontoEletronicoSelect","URL_PUT_CIPA_INSCRICAO","getCipaInscricao","URL_PUT_CIPA","getCipaJaVotou","CipaInscricao","uppercase","Alert","Heading","handleCipaInscricaoUnidade","cipaInscricaoUnidade","handleCipaInscricaoCargo","cipaInscricaoCargo","sobre","handleCipaInscricaoSobre","href","rel","edital","showCipaInscricaoModal","handleCipaInscricaoModalClose","cipaInscricaoError","URL_CRIAR_CIPA","criarCipa","SuporteTiForm","handleTelContatoTi","handlePatrimonioTi","showTiModal","handleTiModalClose","tiError","ChamadosNovo","setEmail","setNome","setTelefone","setCategoria","setSubcategoria","setUnidade","setMatricula","setRelato","setCounter","setUsuario","setUserUnidade","userNome","setUserNome","userTelefone","setUserTelefone","userEmail","setUserEmail","userMatricula","setUserMatricula","setIsRequired","setMensagemRelato","valeRefeicao","setValeRefeicao","setShowModalVRErro","setShowModalVRConfirm","setVrOption","setIsValeRefeicao","setIsVestuario","mostrarVestuario","setMostrarVestuario","prazoInscricao","prazoVotacao","medicamentosInitial","materiaisInitial","setMedicamentosSaudeMental","setMedicamentosAtencaoBasica","setMateriaisEscritorio","setMateriaisExpediente","setMateriaisLimpeza","showMedicamentosAtencaoBasica","setShowMedicamentosAtencaoBasica","setMaterialError","setRelatoError","setShowRelatoModal","setSolicitacaoVeiculo","setSolicitacaoMotoboy","motoboyHora","motoboyPassageiro","motoboyTelefone","motoboyMotivo","motoboySaida","motoboyDestino","setCreateEmail","registration","phone","admissionDate","job","setVeiculoError","setNumeroCalcado","setCalcado","setVestuarioError","setShowVestuarioModal","setCamisa","setCalca","setJaleco","setVestuarioObservacoes","showVestuarioToast","setShowVestuarioToast","setShowModalVestuarioConfirm","setShowVestuarioMessageModal","setLoginSistemas","setLoginSuporte","setShowLoginSistemasModal","setLoginSistemasError","setShowEmailModal","setEmailError","cipaVoto","setCipaVoto","cipaFoto","setCipaFoto","showCipaModal","setShowCipaModal","cipaError","setCipaError","cipaJaVotou","setCipaJaVotou","cipaInscricao","setCipaInscricao","votarCipa","setVotarCipa","showConfirmarCipaModal","setShowConfirmarCipaModal","showCipaJaVotouModal","setShowCipaJaVotouModal","setEquipamentoEngenhariaClinica","equipamentoEngenhariaClinicaError","setEquipamentoEngenhariaClinicaError","showEquipamentoEngenhariaClinicaModal","setShowEquipamentoEngenhariaClinicaModal","setBriefingPorque","setBriefingMedidas","setBriefingOnde","setBriefingArquivo1","setBriefingArquivo2","setBriefingArquivo3","setBriefingArquivo4","setBriefingArquivo5","setBriefingPrazo","setBriefingDetalhe","setShowBriefingModal","setBriefingError","setSuporteArquivo1","setSuporteArquivo2","setSuporteArquivo3","setSuporteArquivo4","setSuporteArquivo5","setShowSuporteModal","setSuporteError","setErpNome","setErpEmail","setErpMatricula","setErpUnidade","setErpAdministrador","setErpCadastrosComuns","setErpCadastrosComumFinanceiro","setErpGestaoDeProcessos","setErpCompras","setErpContratoCompras","setErpContasPagar","setErpPagamentoEscritural","setErpContasReceber","setErpTesouraria","setErpIntegracaoPadrao","setErpContabil","setErpEstoque","setErpPatrimonio","setErpOrcamento","setErpReinf","setErpEfd","setErpEcd","setErpEcf","setShowErpModal","setErpError","setTelContatoTi","setPatrimonioTi","setShowTiModal","setTiError","setPontoEletronico","handleEquipamentoEngenhariaClinicaModalClose","handleCipaModalClose","handleConfirmarCipaModalClose","setCipaInscricaoUnidade","setCipaInscricaoCargo","cipaInscricaoSobre","setCipaInscricaoSobre","setShowCipaInscricaoModal","setCipaInscricaoError","handleModalShow","exercicioDe","getUTCDate","getUTCMonth","actualYear","getUTCFullYear","exercicioA","setDate","getDate","units","categoriasConsulta","filterCategorias","categories","vestuario","cipa","getUser","getNumeroCalcado","v","k","event","cargo","formData","FormData","append","files","dataCriacaoEmail","criacaoEmail","notValidate","dataLoginSistemas","suporteFormData","filesSuporte","suporteArquivos","categoriasExcluidas","handleEmail","handleNome","telMask","handleTelefone","list","nomeArquivo","extension","splice","position","field","updatedMedicamentos","standardItem","handleRemoveMedicamentoAtrequiredencaoBasica","updatedMateriaisEscritorio","updatedMateriaisExpediente","updatedMateriaisLimpeza","vestuarioObj","setTimeout","inscrito","cipa_ja_votou","title_cipa_container","cipa_title","jaVotou","cipa_container","a","b","cipaCard","childIndex","childNodes","node","firstChild","transform","boxShadow","background","innerText","previousElementSibling","offsetParent","transition","nativeEvent","textAlign","modal_nome","corrige","audio","Audio","play","voto","confirma","toast","ToastContainer","Toast","onClose","delay","autohide","bg","color","toastBody","manutencao_title","manutencao_subtitle","currentLength","URL_FORGOT","forgotPassword","res","EsqueciSenha","getData","EsqueciSenhaOk","margin","URL_EDIT","editPassword","ResetarSenha","confirmPassword","useMemo","useQuery","form_password","confirmToken","Feedback","URL_GET_CHAMADO_BY_ID","getChamadoById","solicitacaoFerias","alteracaoFerias","URL_UPDATE_CHAMADO","updateChamado","feSaudeLogo","Image","makePdf","doc","jsPDF","setProperties","pageWidth","internal","pageSize","getWidth","align","setFontSize","addImage","linesRelato","linesObs","splitTextToSize","pageInMm","open","output","niteroiLogo","unchecked","pdfFerias","leftMargin","center","line","setFont","undefined","pdfAlteracaoFerias","feriasAnteriorDe","feriasAnteriorA","alteracaoGozoInicio1","alteracaoGozoFim1","URL_CRIAR_USUARIO","criarUsuario","pdfBriefing","linesBriefingPorque","linesBriefingMedidas","linesBriefingOnde","linesBriefingDetalhe","Chamado","obsRef","setChamado","setFinalAt","setObs","setStatus","setRoles","showFinalizarModal","setShowFinalizarModal","showModalObs","setShowModalObs","emailSugerido","setEmailSugerido","emailSisged","setEmailSisged","copyToClipboard","valuesToClipboard","setValuesToClipboard","setEmpresaResp","handleStatus","handleFinalizarModalClose","handleModalObsClose","params","chamadoAtual","emailSugeridoDecrypt","getChamado","newHeight","scrollHeight","title_container","button_pdf","icon_pdf","goBack","upChamado","table","td","handleEmailSugerido","handleEmailSisged","title_sistemas","options_sistemas","subtitle_sistemas","checkbox_sistemas","clipboard_container","copyValuesToClipboard","title_erp","handleFinalAt","dataUser","handleObs","Admin","button_container","URL_DELETAR_USUARIO","deletarUsuario","Usuarios","sortEmail","setSortEmail","sortTelefone","setSortTelefone","sortAdmissao","setSortAdmissao","sortMatricula","setSortMatricula","sortPerfil","setSortPerfil","setUsuarios","showDeleteModal","setShowDeleteModal","deleteId","setDeleteId","deleteName","setDeleteName","refresh","setRefresh","data_admissao","perfil","responseDecrypted","getUsers","handleSortEmail","handleSortTelefone","handleSortAdmissao","handleSortMatricula","handleSortPerfil","handleDeleteModalClose","editar","deletar","Pagination","Novo","USER","RESP","ADMIN","CONSULTA","VR","VESTUARIO","MONITOR","OUVIDORIA","OUVIDORIA_CONSULTA","CIPA","CAPS_ADMIN","CAPS_SUPERVISOR","CAPS_OPERADOR","CAPS_CONSULTA","CAPS_DOCS","CAPS_DOCS_ESP","MDI","MDI_ADMIN","ERP","PESQUISA","INSCRICAO_ADMIN","REDUCAO_DE_DANOS","RD_CONSULTA","DOCS_DAS","DOCS_DITI","DOCS_DTEC","DOCS_DAF","DOCS_DG","CECO_ADMIN","CECO_OPERADOR","GESTOR","ATIV_ADMIN","ATIV_OPERADOR","ATIV_CONSULTA","LEITOS","handleCheck","newRoles","fetchUnidades","toLowerCase","Object","entries","reduce","acc","rolesArray","URL_GET_USER_BY_ID","getUserById","URL_EDITAR_USUARIO","editarUsuario","Editar","userRef","respRef","adminRef","consultaRef","vrRef","vestuarioRef","monitorRef","ouvidoriaRef","ouvidoriaConsultaRef","cipaRef","capsAdminRef","capsSupervisorRef","capsOperadorRef","capsConsultaRef","capsDocsRef","capsDocsEspRef","mdiRef","mdiAdminRef","erpRef","pesquisaRef","inscricaoAdminRef","reducaoDeDanosRef","reducaoConsultaRef","docsDasRef","docsDitiRef","docsDtecRef","docsDafRef","docsDgRef","cecoAdminRef","cecoOperadorRef","gestorRef","ativAdminRef","ativOperadorRef","ativConsultaRef","leitosRef","useParams","fetchUsuario","PageNotFound","Confirmacao","lazy","Graficos","Metas","VRVA","GestaoIndicador1","GestaoIndicador2","Ouvidoria","OuvidoriaAdd","OuvidoriaEdit","OuvidoriaShow","CipaList","CipaApuracao","ReducaoForm","ReducaoList","ReducoesList","NovaAcao","AcaoForm","AcoesUsuario","ReducaoTerritorio","ReducaoMapaTerritorio","ReducaoDeDanos","PessoasAtendidas","Atendimentos","AcoesRealizadas","Encaminhamentos","Demandas","UnidadeRef","PerfilPop","CCCNForm","CCCNList","CCCNDocsList","CCCNDocsForm","PDFView","Caps","CapsAdd","CapsShow","CapsEdit","CapsMapa","CapsDocs","CapsDocsForm","MonitoramentoList","MonitoramentoForm","Pesquisa","PesquisaGrafico","PesquisaGraficos","DocValidation","Inscricao","InscricaoLogin","InscricaoCadastro","InscricaoEsqueciSenha","InscricaoResetarSenha","InscricaoAdmin","InscricaoAdminById","InscricaoAdminAddEdital","InscricaoAdminEditEdital","InscricaoEsqueciSenhaOk","Docs","MapaRede","MapaCapsAd","MapaCapsCasaDoLargo","MapaCapsHerbertDeSouza","MapaCapsiMonteiroLobato","MapaRaps","Bi","AtivsEducativasList","AtivsEducativasForm","GestaoDeLeitos","GestaoDeLeitosAdmin","GestaoDeLeitosRelatorios","Logs","Routes","fallback","exact","path","component","UsuariosNovo","UsuariosEditar","AcoesTerritoriais","URL_CRIAR_CATEGORIA","criarCategoria","diretoria","navRef","avatar","setAvatar","isInscricao","setIsInscricao","setEdital","inscricaoToken","setInscricaoToken","showIpssModal","setShowIpssModal","showCategoriaModal","setShowCategoriaModal","setDiretoria","isLoading","setIsLoading","refreshMessage","setRefreshMessage","showModalRefresh","setShowModalRefresh","categoriaRef","handleIpssModalClose","handleCategoriaModalClose","handleModalRefreshClose","incToken","logout","handleCollapse","names","initial1","initial2","classList","toggle","handleNavLinks","cadastroPaciente","reducaoDanos","cccn","gestaoDeLeitos","docsLinks","gestao","mdi","pesquisa","ouvidoria","inscricao","cipaa","mapaDaRede","rede","capsAd","capsCasaDoLargo","capsHerbertDeSouza","capsiMonteiroLobato","raps","dadosAssistenciais","biUrl","admin","manual","diretorias","DAS","DITI","DTEC","DAF","DG","isDiretoria","focus","Navbar","sticky","expand","expanded","Brand","brand","logo_header","brand_divider","sis","Toggle","Collapse","Nav","font","defaultActiveKey","NavDropdown","dropdown","dropdown_item","dropdown_center","dropdown_color","drop","adicionarCategoria","dropdown_button","setor","links","activeStyle","btn_links","links_a","fontWeight","marginLeft","DropdownButton","avatar_dropdown","Dropdown","Divider","borderTop","opacity","modal_title","modal_text","trim","btn_secondary","App","ReactDOM","render","StrictMode","document","getElementById","number","substr","CapsDocsContext","CapsDocsProvider","getAllDocuments","getAllDocs","getDocumentById","getDoc","nomeEmissor","endereco","updateDocument","createDocument","docEmptyValues","dataEmissao","dataAtendimento","inicioAtendimento","terminoAtendimento","finalidade","tempoAtestado","medicamentoSimples","medicamentoEspecial","capsInfo","capsAlameda","useCapsDocs","URL_GET_UNIDADES","modulo","URL_GET_CHAMADOS_BY_USER"],"mappings":"qFACAA,EAAOC,QAAU,CAAC,YAAc,4BAA4B,KAAO,qBAAqB,MAAQ,sBAAs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F,GAIjB,OAHAC,OAAOR,aAAaU,aACpBF,OAAOG,SAASC,QAAQ,KAM5B,MAAMhB,QAAaC,MAAMisD,EAA0B,CACjDhsD,OAAQ,OACRC,QAAS,CACP,eAAgB,mBAChB,cAAgB,UAAD,OAAYC,aAAaC,QAAQ,WAElDc,KAAMC,KAAKC,UAAU,CAAE7D,QAAOiI,OAAMjF,QAAOC,WAAUC,cAGvD,IAAKV,EAAKoD,GACR,MAAM,IAAIC,MAAM,8BAKlB,aAFuBrD,EAAKM,OAG5B,MAAOrC,GACP4D,QAAQC,IAAI7D,M,mBClChBjB,EAAOC,QAAU,CAAC,UAAY,iCAAiC,MAAQ,6BAA6B,QAAU,+BAA+B,MAAQ,6BAA6B,SAAW,gCAAgC,UAAY,iCAAiC,MAAQ,6BAA6B,OAAS,gC,kBCAxTD,EAAOC,QAAU,CAAC,UAAY,uBAAuB,MAAQ,mBAAmB,SAAW,sBAAsB,QAAU,qBAAqB,MAAQ,qB,mBCAxJD,EAAOC,QAAU,CAAC,KAAO,uBAAuB,WAAa,6BAA6B,kBAAoB,uC","file":"static/js/main.49823050.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"logo_header\":\"Header_logo_header__2EkOI\",\"font\":\"Header_font__3c6ry\",\"links\":\"Header_links__TCu1V\",\"links_a\":\"Header_links_a__AYs6X\",\"dropdown\":\"Header_dropdown__1L4vp\",\"dropdown_item\":\"Header_dropdown_item__3LFD3\",\"dropdown_button\":\"Header_dropdown_button__1tjfw\",\"dropdown_color\":\"Header_dropdown_color__1B_dE\",\"dropdown_center\":\"Header_dropdown_center__10D3S\",\"avatar_dropdown\":\"Header_avatar_dropdown__2-y35\",\"brand\":\"Header_brand__x6YrE\",\"brand_divider\":\"Header_brand_divider__NTcHa\",\"sis\":\"Header_sis__3J1uP\",\"modal_title\":\"Header_modal_title__3BmWd\",\"modal_body\":\"Header_modal_body__3YFPH\",\"btn\":\"Header_btn__25p7W\",\"btn_secondary\":\"Header_btn_secondary__3jziT\",\"input\":\"Header_input__1s5iR\",\"btn_links\":\"Header_btn_links__3fNFU\",\"avatar\":\"Header_avatar__2DnQ9\",\"bg\":\"Header_bg__3lPs2\"};","const getExtension = filename => {\n const filenameSplit = filename.split('.');\n \n return filenameSplit[filenameSplit.length - 1];\n};\n\nexport default getExtension;\n","import { digitsMask } from './masks'\n\nconst passwordValidator = password => { \n if (password.length < 8) {\n return '*A senha deve ter no mínimo 8 caracteres.';\n }\n\n if (password.length > 32) {\n return '*A senha deve ter no máximo 32 caracteres.';\n }\n\n if (!/[A-Z]/.test(password)) {\n return '*A senha deve ter pelo menos uma letra maiúscula.';\n }\n\n if (!/[a-z]/.test(password)) {\n return '*A senha deve ter pelo menos uma letra minúscula.';\n }\n\n if (!/[0-9]/.test(password)) {\n return '*A senha deve ter pelo menos um número.';\n }\n \n if (!/[^A-Za-z0-9]/.test(password)) {\n return '*A senha deve ter pelo menos um caractere especial.';\n }\n\n return true;\n};\n\nconst emailValidator = email => {\n if (!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email)) {\n return false;\n }\n\n return true;\n};\n\nconst cpfValidator = cpf => {\n cpf = digitsMask(cpf);\n\n let soma = 0;\n let resto;\n\n const cpfNumber = digitsMask(cpf);\n\n if (isNaN(cpfNumber)) {\n return {\n error: true,\n message: 'O CPF deve conter somente números.'\n }\n }\n\n if (cpfNumber.length !== 11) {\n return {\n error: true,\n message: `O CPF deve conter 11 dígitos`\n }\n }\n\n for (let i = 1; i <= 9; i++) {\n soma = soma + parseInt(cpfNumber.substring(i - 1, i)) * (11 - i);\n resto = (soma * 10) % 11;\n }\n\n if (resto === 10 || resto === 11) {\n resto = 0;\n }\n\n if (resto !== parseInt(cpfNumber.substring(9, 10))) {\n return {\n error: true,\n message: 'O CPF é inválido.'\n }\n }\n\n soma = 0;\n\n for (let i = 1; i <= 10; i++) {\n soma = soma + parseInt(cpfNumber.substring(i - 1, i)) * (12 - i);\n resto = (soma * 10) % 11;\n }\n\n if (resto === 10 || resto === 11) {\n resto = 0;\n }\n\n if (resto !== parseInt(cpfNumber.substring(10, 11))) {\n return {\n error: true,\n message: 'O CPF é inválido.'\n }\n }\n\n let cpfSequencial = [];\n\n for (let i = 0; i < 10; i++) {\n cpfSequencial.push(i.toString());\n }\n\n let cpfSeqArray = [];\n\n cpfSequencial.map(digit => {\n let cpfSeq = Array(11).fill(digit);\n cpfSeq = cpfSeq.join('');\n cpfSeqArray.push(cpfSeq);\n\n return cpfSeqArray;\n });\n \n if (cpfSeqArray.includes(cpf)) {\n return {\n error: true,\n message: 'O CPF não pode ser uma sequência de números.'\n }\n }\n\n return {\n error: false,\n message: ''\n }\n};\n\nconst linkValidator = link => {\n return /^(http|https):\\/\\/.*\\.pdf$/i.test(link);\n};\n\nconst cnsValidator = cns => {\n cns = digitsMask(cns);\n\n if (cns.length !== 15) {\n return false;\n }\n\n const primeiroDigito = parseInt(cns.charAt(0), 10);\n\n if (primeiroDigito === 1 || primeiroDigito === 2) {\n let soma = 0;\n\n for (let i = 0; i < 11; i++) {\n soma += parseInt(cns.charAt(i), 10) * (15 - i);\n }\n\n const resto = soma % 11;\n let dv = 11 - resto;\n\n if (dv === 11) {\n dv = 0;\n }\n\n if (dv === 10) {\n let novaSoma = 0;\n\n for (let i = 0; i < 11; i++) {\n novaSoma += parseInt(cns.charAt(i), 10) * (15 - i);\n }\n\n dv = 11 - (novaSoma % 11);\n }\n\n const resultado = cns.slice(0, 11) + (dv < 10 ? '00' : '001') + dv;\n\n return cns === resultado;\n } else if (primeiroDigito === 7 || primeiroDigito === 8 || primeiroDigito === 9) {\n let soma = 0;\n\n for (let i = 0; i < 15; i++) {\n soma += parseInt(cns.charAt(i), 10) * (15 - i);\n }\n\n const resto = soma % 11;\n\n return resto === 0;\n } else {\n return false;\n }\n};\n\nexport { passwordValidator, emailValidator, cpfValidator, linkValidator, cnsValidator };\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"Chamados_title__2G9KH\",\"buttons\":\"Chamados_buttons__2tae5\",\"icon\":\"Chamados_icon__2_25H\",\"sort\":\"Chamados_sort__1LWLc\",\"button_container\":\"Chamados_button_container__1-Pr6\",\"icon_list\":\"Chamados_icon_list__23UyO\",\"button_col\":\"Chamados_button_col__1eD7G\",\"button_list\":\"Chamados_button_list__i12fC\",\"btn\":\"Chamados_btn__1jkui\",\"searchType\":\"Chamados_searchType__LQIJ5\",\"searchField\":\"Chamados_searchField__vWI2x\",\"table_head\":\"Chamados_table_head__1zaWC\",\"table_data\":\"Chamados_table_data__2ztxp\",\"chamadosTable\":\"Chamados_chamadosTable__UvQlc\",\"textToHide\":\"Chamados_textToHide__QQvvV\"};","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst ENDPOINT = `${baseUrl}/monitoramento`;\n\nfunction checkToken() {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return isTokenExpired(token);\n }\n }\n}\n\nexport const monitoramentoService = {\n async getMonitoramento(id) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n async allMonitoramentos(pageNumber = 1, limit = 20, filterBy = 'identificador', orderBy = 'asc') {\n if (checkToken()) return;\n\n const data = await fetch(\n `${ENDPOINT}?page=${pageNumber}&limit=${limit}&filterBy=${filterBy}&orderBy=${orderBy}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n }\n );\n\n const response = await data.json()\n\n return response;\n },\n async update(id, values) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(values)\n });\n\n const response = await data.json();\n return response;\n },\n async delete(id) {\n const response = await fetch(`${ENDPOINT}/${id}`, {\n method: 'DELETE',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n return response;\n },\n async create(data) {\n const response = await fetch(ENDPOINT, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n return response;\n },\n};","import {\n useCallback,\n useContext,\n createContext\n} from 'react';\n\nimport { decrypt } from '../helpers/cryptography';\nimport { formatDate } from '../helpers/formatDate';\n\nimport { monitoramentoService } from '../api/monitoramentoService';\n\nimport { startOfToday } from 'date-fns';\nimport exportFromJSON from 'export-from-json';\n\n// import { dates } from '../helpers/dates';\n\nconst MonitoramentoContext = createContext({});\n\nexport const MonitoramentoProvider = ({ children }) => {\n\n const getAllMonitoramentos = useCallback(async (pageNumber, limit, filterBy, orderBy) => {\n try {\n const response = await monitoramentoService.allMonitoramentos(pageNumber, limit, filterBy, orderBy);\n\n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getMonitoramentoById = useCallback(async (id) => {\n try {\n const response = await monitoramentoService.getMonitoramento(id);\n\n const decryptedResponse = {\n ...response,\n usuario: response.usuario ? decrypt(response.usuario) : '',\n nomeUsuario: response.nomeUsuario ? decrypt(response.nomeUsuario) : '',\n emailRemetente: response.emailRemetente ? decrypt(response.emailRemetente) : '',\n remetente: response.remetente ? decrypt(response.remetente) : '',\n outroRemetente: response.outroRemetente ? decrypt(response.outroRemetente) : '',\n emailDestinatario: response.emailDestinatario ? decrypt(response.emailDestinatario) : '',\n descricao: response.descricao ? decrypt(response.descricao) : '',\n responsavelResposta: response.responsavelResposta ? decrypt(response.responsavelResposta) : '',\n resposta: response.resposta ? decrypt(response.resposta) : '',\n }\n\n return decryptedResponse;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const updateMonitoramento = useCallback(async (id, data) => {\n try {\n if (!data.dilacaoPrazoResposta || Number(data.dilacaoPrazoResposta) === 0) {\n const newData = {\n ...data,\n novaDataResposta: '',\n }\n\n const response = await monitoramentoService.update(id, newData);\n \n return response;\n } else {\n const response = await monitoramentoService.update(id, data);\n\n return response;\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const deleteMonitoramento = useCallback(async (id) => {\n try {\n const response = await monitoramentoService.delete(id);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const createMonitoramento = useCallback(async (data) => {\n try {\n if (!data.dilacaoPrazoResposta) {\n const newData = {\n ...data,\n novaDataResposta: '',\n }\n\n const response = await monitoramentoService.create(newData);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } else {\n const response = await monitoramentoService.create(data);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n async function exportExcel() {\n async function getAllMonitoramentosAndExport() {\n try {\n const fileName = `monitoramento-${formatDate(new Date()).replace(/\\//g, '-')}`\n const exportType = 'xls';\n\n const response = await getAllMonitoramentos(1, 100000);\n \n const data = await response.monitoramentos.map(monitoramento => {\n return {\n 'IDENTIFICADOR': monitoramento.identificador ? monitoramento.identificador : '',\n 'DATA DE RECEBIMENTO': monitoramento.dataRecebimento ? formatDate(monitoramento.dataRecebimento) : '',\n 'TIPO DE DOCUMENTO': monitoramento.tipoDocumento ? monitoramento.tipoDocumento : '',\n 'USUÁRIO': monitoramento.usuario ? decrypt(monitoramento.usuario) : '',\n 'ÓRGÃO': monitoramento.remetente ? decrypt(monitoramento.remetente) : '',\n 'OUTRO ÓRGÃO?': monitoramento.outroRemetente ? decrypt(monitoramento.outroRemetente) : '',\n 'E-MAIL DO ÓRGÃO': monitoramento.emailRemetente ? decrypt(monitoramento.emailRemetente) : '',\n 'DESTINATÁRIO': monitoramento.unidade ? monitoramento.unidade : '',\n 'REGIÃO': monitoramento.regiao ? monitoramento.regiao : '',\n 'E-MAIL DESTINATÁRIO': monitoramento.emailDestinatario ? decrypt(monitoramento.emailDestinatario) : '',\n 'TIPO DA SOLICITAÇÃO': monitoramento.tipoSolicitacao ? monitoramento.tipoSolicitacao : '',\n 'DOCUMENTO': monitoramento.documento ? monitoramento.documento : '',\n 'IDENTIFICAÇÃO DO DOCUMENTO': monitoramento.idDocumento ? monitoramento.idDocumento : '',\n 'IDENTIFICAÇÃO DO INQUÉRITO': monitoramento.idInquerito ? monitoramento.idInquerito : '',\n 'DESCRIÇÃO': monitoramento.descricao ? decrypt(monitoramento.descricao) : '',\n 'DATA PARA RESPOSTA INTERNA': monitoramento.dataRespostaInterna ? formatDate(monitoramento.dataRespostaInterna) : '',\n 'PRAZO REAL (EM DIAS)': monitoramento.prazoReal ? monitoramento.prazoReal : '',\n 'DATA MÁXIMA REAL': monitoramento.dataMaxReal ? formatDate(monitoramento.dataMaxReal) : '',\n 'DILAÇÃO DO PRAZO (EM DIAS)': monitoramento.dilacaoPrazoResposta ? monitoramento.dilacaoPrazoResposta : '',\n 'NOVA DATA PARA RESPOSTA': monitoramento.novaDataResposta ? formatDate(monitoramento.novaDataResposta) : '',\n 'SITUAÇÃO': monitoramento.situacao ? monitoramento.situacao : '',\n 'DATA DE ENVIO DA RESPOSTA': monitoramento.dataEnvioResposta ? formatDate(monitoramento.dataEnvioResposta) : '',\n 'RESPONSÁVEL PELA RESPOSTA': monitoramento.responsavelResposta ? decrypt(monitoramento.responsavelResposta) : '',\n 'NÚMERO DE OFÍCIO DA RESPOSTA': monitoramento.numeroOficioResposta ? monitoramento.numeroOficioResposta : '',\n 'RESPOSTA': monitoramento.resposta ? decrypt(monitoramento.resposta) : '',\n };\n });\n \n exportFromJSON({ data, fileName, exportType })\n } catch (error) {\n console.log(error);\n }\n }\n\n getAllMonitoramentosAndExport();\n }\n\n const initialValues = {\n identificador: '',\n dataRecebimento: startOfToday(),\n tipoDocumento: '',\n usuario: '',\n nomeUsuario: '',\n remetente: '',\n outroRemetente: '',\n emailRemetente: '',\n unidade: '',\n regiao: '',\n emailDestinatario: '',\n tipoSolicitacao: '',\n documento: '',\n idDocumento: '',\n idInquerito: '',\n descricao: '',\n dataRespostaInterna: '',\n prazoReal: 0,\n dataMaxReal: '',\n dilacaoPrazoResposta: 0,\n novaDataResposta: '',\n situacao: 'Pendente dentro do prazo',\n dataEnvioResposta: '',\n responsavelResposta: '',\n numeroOficioResposta: '',\n resposta: '',\n };\n\n return (\n \n {children}\n \n );\n}\n\nexport const useMonitoramento = () => useContext(MonitoramentoContext);\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_GET_CHAMADOS_BY_RESPONDER = `${baseUrl}/responder`;\n\nconst getChamadosByResponder = async (responder, page = 1, limit = 50, filterBy = 'createdAt', orderBy = 'desc') => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(URL_GET_CHAMADOS_BY_RESPONDER, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify({ responder, page, limit, filterBy, orderBy })\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getChamadosByResponder;\n","import baseUrl from './baseUrl';\nimport { baseUrlQRCode } from './baseUrlQRCode';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nfunction checkToken() {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return isTokenExpired(token);\n }\n }\n}\n\nexport const capsDocsService = {\n async getAllDocs(idUsuario, capsUrl, pageNumber = 1, limit = 1000, filterBy = 'id', orderBy = 'asc') {\n if (checkToken()) return;\n\n const data = await fetch(`${baseUrl}/${capsUrl}/docs/${idUsuario}?page=${pageNumber}&limit=${limit}&filterBy=${filterBy}&orderBy=${orderBy}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n async getDoc(id, capsUrl) {\n const data = await fetch(`${baseUrl}/${capsUrl}/doc/${id}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n async create(data, capsUrl) {\n const response = await fetch(`${baseUrl}/${capsUrl}/docs`, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n return response;\n },\n async update(id, values, capsUrl) {\n const data = await fetch(`${baseUrl}/${capsUrl}/doc/${id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(values),\n });\n\n const response = await data.json();\n\n return response;\n },\n async validate(capsUrl, hash) {\n const data = await fetch(`${baseUrlQRCode.api}/${capsUrl}/doc/validar/${hash}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n },\n });\n\n const response = await data.json();\n\n return response;\n }\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Vestuario_container__QQvsQ\",\"title\":\"Vestuario_title__24xOe\",\"radio\":\"Vestuario_radio__34P9e\",\"tabelaContainer\":\"Vestuario_tabelaContainer__3tzpB\",\"tabela\":\"Vestuario_tabela__2WGTH\",\"confirm\":\"Vestuario_confirm__gYbwh\",\"btn\":\"Vestuario_btn__2apX_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spinnerContainer\":\"Loading_spinnerContainer__2v-Ji\",\"spinner\":\"Loading_spinner__1ctAv\",\"loading\":\"Loading_loading__2JaUi\",\"logo\":\"Loading_logo__1fOEv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button_container\":\"Admin_button_container__rNjrN\",\"button\":\"Admin_button__qbjsM\"};","import { Spinner } from 'react-bootstrap';\n\nimport styles from './Loading.module.css';\n\nconst Loading = () => {\n return (\n
\n \n\n
\n Carregando...\n\n \"Logo\n
\n
\n );\n};\n\nexport default Loading;\n","const shuffleArray = array => {\n for (let i = array.length - 1; i > 0; i--) {\n const j = ~~(Math.random() * (i + 1));\n\n [array[i], array[j]] = [array[j], array[i]];\n }\n\n return array;\n};\n\nconst generatePassword = passwordLength => {\n const numberChars = '0123456789';\n const upperChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n const lowerChars = 'abcdefghiklmnopqrstuvwxyz';\n const specialChars = '!@#$%&*';\n const allChars = `${numberChars}${upperChars}${lowerChars}${specialChars}`;\n\n let randPasswordArray = Array(passwordLength);\n randPasswordArray[0] = numberChars;\n randPasswordArray[1] = upperChars;\n randPasswordArray[2] = lowerChars;\n randPasswordArray[3] = specialChars;\n randPasswordArray = randPasswordArray.fill(allChars, 4);\n\n return shuffleArray(randPasswordArray.map(x => x[~~(Math.random() * x.length)])).join('');\n};\n\nexport default generatePassword;\n","const formatarDataEHora = data => {\n return new Intl.DateTimeFormat('pt-BR', {\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n }).format(new Date(data));\n};\n\nexport default formatarDataEHora;\n","import React, { useState, createContext, useEffect, useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport baseUrl from '../api/baseUrl';\nimport { encrypt } from '../helpers/cryptography';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_LOGIN = `${baseUrl}/auth/authenticate`;\nconst URL_SIGNUP = `${baseUrl}/auth/register`;\n\nexport const UserContext = createContext();\n\nexport const UserStorage = ({ children }) => {\n const [data, setData] = useState(null);\n const [login, setLogin] = useState(false);\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(null);\n const [token, setToken] = useState(null);\n const [isAdmin, setIsAdmin] = useState(false);\n const [isMonitor, setIsMonitor] = useState(false);\n const [isConsulta, setIsConsulta] = useState(false);\n const [isUser, setIsUser] = useState(false);\n const [isResp, setIsResp] = useState(false);\n const [isVR, setIsVR] = useState(false);\n const [isVest, setIsVest] = useState(false);\n const [isOuvidoria, setIsOuvidoria] = useState(false);\n const [isOuvidoriaConsulta, setIsOuvidoriaConsulta] = useState(false);\n const [isCipa, setIsCipa] = useState(false);\n const [isCapsAdmin, setIsCapsAdmin] = useState(false);\n const [isCapsSupervisor, setIsCapsSupervisor] = useState(false);\n const [isCapsOperador, setIsCapsOperador] = useState(false);\n const [isCapsConsulta, setIsCapsConsulta] = useState(false);\n const [isCapsDocs, setIsCapsDocs] = useState(false);\n const [isCapsDocsEsp, setIsCapsDocsEsp] = useState(false);\n const [isMdi, setIsMdi] = useState(false);\n const [isMdiAdmin, setIsMdiAdmin] = useState(false);\n const [isErp, setIsErp] = useState(false);\n const [isPesquisa, setIsPesquisa] = useState(false);\n const [isInscricaoAdmin, setIsInscricaoAdmin] = useState(false);\n const [isReducaoDeDanos, setIsReducaoDeDanos] = useState(false);\n const [isReducaoConsulta, setIsReducaoConsulta] = useState(false);\n const [isDocsDas, setIsDocsDas] = useState(false);\n const [isDocsDiti, setIsDocsDiti] = useState(false);\n const [isDocsDtec, setIsDocsDtec] = useState(false);\n const [isDocsDaf, setIsDocsDaf] = useState(false);\n const [isDocsDg, setIsDocsDg] = useState(false);\n const [isCecoAdmin, setIsCecoAdmin] = useState(false);\n const [isCecoOperador, setIsCecoOperador] = useState(false);\n const [isGestor, setIsGestor] = useState(false);\n const [isAtivAdmin, setIsAtivAdmin] = useState(false);\n const [isAtivOperador, setIsAtivOperador] = useState(false);\n const [isAtivConsulta, setIsAtivConsulta] = useState(false);\n const [isLeitos, setIsLeitos] = useState(false);\n // const [theme, setTheme] = useState('light');\n\n const history = useHistory();\n\n useEffect(() => {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n userLogout();\n \n return;\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n \n const userLogout = useCallback(async () => {\n setData(null);\n setError(null);\n setLoading(false);\n setLogin(false);\n setToken(null);\n setIsAdmin(false);\n setIsMonitor(false);\n setIsConsulta(false);\n setIsUser(false);\n setIsResp(false);\n setIsVR(false);\n setIsVest(false);\n setIsOuvidoria(false);\n setIsOuvidoriaConsulta(false);\n setIsCipa(false);\n setIsCapsAdmin(false);\n setIsCapsSupervisor(false);\n setIsCapsOperador(false);\n setIsCapsConsulta(false);\n setIsCapsDocs(false);\n setIsCapsDocsEsp(false);\n setIsMdi(false);\n setIsMdiAdmin(false);\n setIsErp(false);\n setIsPesquisa(false);\n setIsInscricaoAdmin(false);\n setIsReducaoDeDanos(false);\n setIsReducaoConsulta(false);\n setIsDocsDas(false);\n setIsDocsDiti(false);\n setIsDocsDtec(false);\n setIsDocsDaf(false);\n setIsDocsDg(false);\n setIsCecoAdmin(false);\n setIsCecoOperador(false);\n setIsGestor(false);\n setIsAtivAdmin(false);\n setIsAtivOperador(false);\n setIsAtivConsulta(false);\n setIsLeitos(false);\n\n window.localStorage.removeItem('login');\n window.localStorage.removeItem('token');\n\n history.push('/'); \n }, [history]);\n\n const authenticate = async data => {\n try {\n setError(null);\n setLoading(true);\n\n const response = await fetch(URL_LOGIN, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json'\n },\n body: JSON.stringify(data)\n });\n\n if (!response.ok) {\n if (response?.status === 403) {\n setError('Erro no reCAPTCHA');\n throw new Error('Erro no reCAPTCHA');\n }\n\n setError('E-mail e/ou senha inválidos');\n throw new Error('E-mail e/ou senha inválidos');\n }\n\n if (response.ok) {\n const data = await response.json();\n const token = data.token;\n localStorage.setItem('login', JSON.stringify(data));\n localStorage.setItem('token', token);\n setToken(token);\n setData(data);\n setLogin(true);\n \n if (data?.user?.roles?.includes(encrypt('ADMIN'))) {\n setIsAdmin(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('MONITOR'))) {\n setIsMonitor(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CONSULTA'))) {\n setIsConsulta(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('USER'))) {\n setIsUser(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('RESP'))) {\n setIsResp(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('VR'))) {\n setIsVR(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('VESTUARIO'))) {\n setIsVest(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('OUVIDORIA'))) {\n setIsOuvidoria(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('OUVIDORIA_CONSULTA'))) {\n setIsOuvidoriaConsulta(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CIPA'))) {\n setIsCipa(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CAPS_ADMIN'))) {\n setIsCapsAdmin(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CAPS_SUPERVISOR'))) {\n setIsCapsSupervisor(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CAPS_OPERADOR'))) {\n setIsCapsOperador(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CAPS_CONSULTA'))) {\n setIsCapsConsulta(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CAPS_DOCS'))) {\n setIsCapsDocs(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CAPS_DOCS_ESP'))) {\n setIsCapsDocsEsp(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('MDI'))) {\n setIsMdi(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('MDI_ADMIN'))) {\n setIsMdiAdmin(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('ERP'))) {\n setIsErp(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('PESQUISA'))) {\n setIsPesquisa(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('INSCRICAO_ADMIN'))) {\n setIsInscricaoAdmin(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('REDUCAO_DE_DANOS'))) {\n setIsReducaoDeDanos(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('RD_CONSULTA'))) {\n setIsReducaoConsulta(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('DOCS_DAS'))) {\n setIsDocsDas(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('DOCS_DITI'))) {\n setIsDocsDiti(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('DOCS_DTEC'))) {\n setIsDocsDtec(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('DOCS_DAF'))) {\n setIsDocsDaf(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('DOCS_DG'))) {\n setIsDocsDg(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('CECO_ADMIN'))) {\n setIsCecoAdmin(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('CECO_OPERADOR'))) {\n setIsCecoOperador(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('GESTOR'))) {\n setIsGestor(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('ATIV_ADMIN'))) {\n setIsAtivAdmin(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('ATIV_OPERADOR'))) {\n setIsAtivOperador(true);\n }\n\n if (data?.user?.roles?.includes(encrypt('ATIV_CONSULTA'))) {\n setIsAtivConsulta(true);\n }\n \n if (data?.user?.roles?.includes(encrypt('LEITOS'))) {\n setIsLeitos(true);\n }\n }\n\n history.push('/');\n\n return data;\n } catch (error) {\n setError(error.message);\n setLogin(false);\n setIsAdmin(false);\n setIsMonitor(false);\n setIsConsulta(false);\n setIsUser(false);\n setIsResp(false);\n setIsVR(false);\n setIsVest(false);\n setIsOuvidoria(false);\n setIsOuvidoriaConsulta(false);\n setIsCipa(false);\n setIsCapsAdmin(false);\n setIsCapsSupervisor(false);\n setIsCapsOperador(false);\n setIsCapsConsulta(false);\n setIsCapsDocs(false);\n setIsCapsDocsEsp(false);\n setIsMdi(false);\n setIsMdiAdmin(false);\n setIsErp(false);\n setIsPesquisa(false);\n setIsInscricaoAdmin(false);\n setIsReducaoDeDanos(false);\n setIsReducaoConsulta(false);\n setIsDocsDas(false);\n setIsDocsDiti(false);\n setIsDocsDtec(false);\n setIsDocsDaf(false);\n setIsDocsDg(false);\n setIsCecoAdmin(false);\n setIsCecoOperador(false);\n setIsGestor(false);\n setIsAtivAdmin(false);\n setIsAtivOperador(false);\n setIsAtivConsulta(false);\n setIsLeitos(false);\n } finally {\n setLoading(false);\n }\n }; \n\n const signUp = async ({ token, ...data }) => {\n try {\n setError(null);\n setLoading(true);\n\n const response = await fetch(URL_SIGNUP, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${token}`\n },\n body: JSON.stringify(data)\n });\n\n if (!response.ok) {\n setError('E-mail já cadastrado');\n }\n\n if (response.ok) {\n history.push('/');\n }\n\n } catch (error) {\n setError(error.message);\n } finally {\n setLoading(false);\n }\n };\n\n useEffect(() => {\n const autoLogin = async () => {\n const login = JSON.parse(localStorage.getItem('login'));\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n userLogout();\n return;\n }\n }\n\n if (token) {\n try {\n setError(null);\n setLoading(true);\n setLogin(true);\n\n if (login?.user?.roles.includes(encrypt('ADMIN'))) {\n setIsAdmin(true);\n }\n\n if (login?.user?.roles.includes(encrypt('MONITOR'))) {\n setIsMonitor(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CONSULTA'))) {\n setIsConsulta(true);\n }\n\n if (login?.user?.roles.includes(encrypt('USER'))) {\n setIsUser(true);\n }\n\n if (login?.user?.roles.includes(encrypt('RESP'))) {\n setIsResp(true);\n }\n\n if (login?.user?.roles.includes(encrypt('VR'))) {\n setIsVR(true);\n }\n\n if (login?.user?.roles.includes(encrypt('VESTUARIO'))) {\n setIsVest(true);\n }\n\n if (login?.user?.roles.includes(encrypt('OUVIDORIA'))) {\n setIsOuvidoria(true);\n }\n\n if (login?.user?.roles.includes(encrypt('OUVIDORIA_CONSULTA'))) {\n setIsOuvidoriaConsulta(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CIPA'))) {\n setIsCipa(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CAPS_ADMIN'))) {\n setIsCapsAdmin(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CAPS_SUPERVISOR'))) {\n setIsCapsSupervisor(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CAPS_OPERADOR'))) {\n setIsCapsOperador(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CAPS_CONSULTA'))) {\n setIsCapsConsulta(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CAPS_DOCS'))) {\n setIsCapsDocs(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CAPS_DOCS_ESP'))) {\n setIsCapsDocsEsp(true);\n }\n\n if (login?.user?.roles.includes(encrypt('MDI'))) {\n setIsMdi(true);\n }\n\n if (login?.user?.roles.includes(encrypt('MDI_ADMIN'))) {\n setIsMdiAdmin(true);\n }\n\n if (login?.user?.roles.includes(encrypt('ERP'))) {\n setIsErp(true);\n }\n\n if (login?.user?.roles.includes(encrypt('PESQUISA'))) {\n setIsPesquisa(true);\n }\n\n if (login?.user?.roles.includes(encrypt('INSCRICAO_ADMIN'))) {\n setIsInscricaoAdmin(true);\n }\n \n if (login?.user?.roles.includes(encrypt('REDUCAO_DE_DANOS'))) {\n setIsReducaoDeDanos(true);\n }\n\n if (login?.user?.roles.includes(encrypt('RD_CONSULTA'))) {\n setIsReducaoConsulta(true);\n }\n \n if (login?.user?.roles.includes(encrypt('DOCS_DAS'))) {\n setIsDocsDas(true);\n }\n \n if (login?.user?.roles.includes(encrypt('DOCS_DITI'))) {\n setIsDocsDiti(true);\n }\n \n if (login?.user?.roles.includes(encrypt('DOCS_DTEC'))) {\n setIsDocsDtec(true);\n }\n \n if (login?.user?.roles.includes(encrypt('DOCS_DAF'))) {\n setIsDocsDaf(true);\n }\n \n if (login?.user?.roles.includes(encrypt('DOCS_DG'))) {\n setIsDocsDg(true);\n }\n \n if (login?.user?.roles.includes(encrypt('LEITOS'))) {\n setIsLeitos(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CECO_ADMIN'))) {\n setIsCecoAdmin(true);\n }\n\n if (login?.user?.roles.includes(encrypt('CECO_OPERADOR'))) {\n setIsCecoOperador(true);\n }\n\n if (login?.user?.roles.includes(encrypt('GESTOR'))) {\n setIsGestor(true);\n }\n\n if (login?.user?.roles?.includes(encrypt('ATIV_ADMIN'))) {\n setIsAtivAdmin(true);\n }\n\n if (login?.user?.roles?.includes(encrypt('ATIV_OPERADOR'))) {\n setIsAtivOperador(true);\n }\n \n if (login?.user?.roles?.includes(encrypt('ATIV_CONSULTA'))) {\n setIsAtivConsulta(true);\n }\n\n // history.push('/');\n } catch (error) {\n userLogout();\n } finally {\n setLoading(false);\n }\n } else {\n setLogin(false);\n setIsAdmin(false);\n setIsMonitor(false);\n setIsConsulta(false);\n setIsUser(false);\n setIsResp(false);\n setIsVR(false);\n setIsVest(false);\n setIsOuvidoria(false);\n setIsOuvidoriaConsulta(false);\n setIsCipa(false);\n setIsCapsAdmin(false);\n setIsCapsSupervisor(false);\n setIsCapsOperador(false);\n setIsCapsConsulta(false);\n setIsCapsDocs(false);\n setIsCapsDocsEsp(false);\n setIsMdi(false);\n setIsMdiAdmin(false);\n setIsErp(false);\n setIsPesquisa(false);\n setIsInscricaoAdmin(false);\n setIsReducaoDeDanos(false);\n setIsReducaoConsulta(false);\n setIsDocsDas(false);\n setIsDocsDiti(false);\n setIsDocsDtec(false);\n setIsDocsDaf(false);\n setIsDocsDg(false);\n setIsCecoAdmin(false);\n setIsCecoOperador(false);\n setIsGestor(false);\n setIsAtivAdmin(false);\n setIsAtivOperador(false);\n setIsAtivConsulta(false);\n setIsLeitos(false);\n }\n };\n\n autoLogin();\n }, [userLogout, history]);\n\n /* useEffect(() => {\n if (\n localStorage.getItem('theme') === 'dark' ||\n (!('theme' in localStorage) &&\n window.matchMedia('(prefers-color-scheme: dark)').matches)\n ) {\n document.querySelector('body').classList.add('dark');\n setTheme('dark');\n } else {\n document.querySelector('body').classList.remove('dark');\n setTheme('light');\n }\n }, []); */\n\n /* const toggleThemeMode = () => {\n if (!localStorage.getItem('theme') || localStorage.getItem('theme') === 'light') {\n localStorage.setItem('theme', 'dark');\n document.querySelector('body').classList.add('dark');\n\n setTheme('dark')\n } else {\n localStorage.setItem('theme', 'light');\n document.querySelector('body').classList.remove('dark');\n\n setTheme('light');\n }\n }; */\n\n return (\n \n {children}\n \n );\n};\n","import baseUrl from '../baseUrl';\nimport isTokenExpired from '../../helpers/isTokenExpired';\n\nconst ENDPOINT = `${baseUrl}/capsiMonteiroLobato`;\n\nfunction checkToken() {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return isTokenExpired(token);\n }\n }\n}\n\nexport const capsiMonteiroLobatoService = {\n async getPaciente(id) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n\n async allPacientes(pageNumber = 1, limit = 50, filterBy = 'sequencial', orderBy = 'asc') {\n if (checkToken()) return;\n\n const data = await fetch(\n `${ENDPOINT}?page=${pageNumber}&limit=${limit}&filterBy=${filterBy}&orderBy=${orderBy}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n }\n );\n\n const response = await data.json();\n\n return response;\n },\n\n async pacientesTotais() {\n if (checkToken()) return;\n\n const data = await fetch(\n `${ENDPOINT}/totais`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n }\n );\n\n const response = await data.json();\n\n return response;\n },\n\n async update(id, values) {\n const response = await fetch(`${ENDPOINT}/${id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(values)\n });\n\n const data = await response.json();\n return data;\n },\n\n async delete(id) {\n const response = await fetch(`${ENDPOINT}/${id}`, {\n method: 'DELETE',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n return response;\n },\n\n async create(data) {\n const response = await fetch(ENDPOINT, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n return response;\n },\n}\n// TODO caps busca","import { \n useCallback, \n useContext, \n createContext\n} from 'react'\n\nimport { useHistory } from 'react-router-dom';\nimport { capsiMonteiroLobatoService } from '../api/capsServices/capsiMonteiroLobatoService';\nimport { decrypt } from '../helpers/cryptography';\n\nconst CapsContext = createContext({});\n\nexport const CapsProvider = ({ children }) => {\n const history = useHistory();\n\n const getAllPacientes = useCallback(async (pageNumber, limit, filterBy, orderBy) => {\n try {\n const response = await capsiMonteiroLobatoService.allPacientes(pageNumber, limit, filterBy, orderBy);\n\n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getPacientesTotais = useCallback(async () => {\n try {\n const response = await capsiMonteiroLobatoService.pacientesTotais();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getPacienteById = useCallback(async (id) => {\n try {\n const response = await capsiMonteiroLobatoService.getPaciente(id);\n\n const decryptedResponse = {\n ...response,\n cartaoSus: response.cartaoSus ? decrypt(response.cartaoSus) : '',\n cep: response.cep ? decrypt(response.cep) : '',\n contatoTrabalho: response.contatoTrabalho ? decrypt(response.contatoTrabalho) : '',\n cpf: response.cpf ? decrypt(response.cpf) : '',\n localTrabalho: response.localTrabalho ? decrypt(response.localTrabalho) : '',\n logradouro: response.logradouro ? decrypt(response.logradouro) : '',\n mae: response.mae ? decrypt(response.mae) : '',\n nomeSocial: response.nomeSocial ? decrypt(response.nomeSocial) : '',\n nomeTelefoneCurador: response.nomeTelefoneCurador ? decrypt(response.nomeTelefoneCurador) : '',\n nomeUsuario: response.nomeUsuario ? decrypt(response.nomeUsuario) : '',\n pai: response.pai ? decrypt(response.pai) : '',\n pontoReferencia: response.pontoReferencia ? decrypt(response.pontoReferencia) : '',\n principalReferencia: response.principalReferencia ? decrypt(response.principalReferencia) : '',\n rg: response.rg ? decrypt(response.rg) : '',\n telefoneContato: response.telefoneContato ? decrypt(response.telefoneContato) : '',\n telefoneContato2: response.telefoneContato2 ? decrypt(response.telefoneContato2) : '',\n }\n\n return decryptedResponse;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const updatePaciente = useCallback(async (id, data) => {\n try {\n const response = await capsiMonteiroLobatoService.update(id, data);\n\n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const deletePaciente = useCallback(async (id) => {\n try {\n const response = await capsiMonteiroLobatoService.delete(id);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const createPaciente = useCallback(async (data) => {\n try {\n const response = await capsiMonteiroLobatoService.create(data);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const initialValues = {\n prontuario: '',\n dataPreenchimento: '',\n dataAtivacaoProntuario: '',\n nomeUsuario: '',\n nomeSocial: '',\n dataNascimento: '',\n identidadeGenero: '',\n orientacaoSexual: '',\n qualOrientacao: '',\n mae: '',\n pai: '',\n cartaoSus: '',\n cpf: '',\n rg: '',\n racaCor: '',\n nacionalidade: '',\n naturalidade: '',\n estadoCivil: '',\n deficiencia: '',\n deficienciaOutra: '',\n situacaoMoradia: '',\n qualMoradia: '',\n dataInicioAbrigamento: '',\n tempoSituacaoRua: '',\n cep: '',\n logradouro: '',\n numero: '',\n complemento: '',\n bairro: '',\n subBairro: '',\n municipio: '',\n uf: '',\n pontoReferencia: '',\n telefoneContato: '',\n telefoneContato2: '',\n coletaDeLixo: '',\n aguaEncanada: '',\n escolaridade: '',\n anoEscolar: '',\n nomeEscola: '',\n trabalhou30Dias: '',\n vigenciaAuxilioDoenca: '',\n profissaoOcupacao: '',\n localTrabalho: '',\n contatoTrabalho: '',\n fonteRenda: '',\n rendaFamiliarAproximada: '',\n qtdPessoasDestinoRenda: '',\n beneficiosAssistenciaSocial: '',\n outroBeneficio: '',\n curatelado: '',\n nomeTelefoneCurador: '',\n suporteFamiliar: '',\n principalReferencia: '',\n conflitoLei: '',\n dataInicioMedidaPena: '',\n dataTerminoMedidaPena: '',\n localCumprimentoMedidaPena: '',\n unidadeApsReferencia: '',\n equipeApsReferenciaTelefone: '',\n entradaCaps: '',\n encaminhadoPor: '',\n encaminhadoOutroLocal: '',\n tratamentoAnteriorSaudeMental: '',\n localTratamentoAnterior: '',\n tempoAcompanhamento: '',\n usoAlcoolDrogas: '',\n quaisAlcoolDrogas: '',\n usoMedicacaoPsiquiatrica: '',\n qualMedicacaoPsiquiatrica: '',\n desinstitucionalizacao: '',\n localAnoDesins: '',\n estrategiaDesins: '',\n outroDesins: '',\n cid: '',\n ciap2: '',\n classificacaoRisco: '',\n referencia: '',\n correferencia: '',\n medicoReferencia: '',\n situacaoCadastro: '',\n inativoMotivo: '',\n outroInativoMotivo: '',\n };\n\n const MOCKUP_TESTE = {\n prontuario: '1203',\n dataPreenchimento: '01/01/2001',\n dataAtivacaoProntuario: '01/01/2001',\n nomeUsuario: 'Teste PDF',\n nomeSocial: 'Teste PDF Social',\n dataNascimento: '01/01/2001',\n identidadeGenero: 'Ignorado / Não Informado',\n mae: 'Teste PDF Mãe',\n pai: 'Teste PDF Pai',\n cartaoSus: '12345678910',\n cpf: '111.111.111-11',\n rg: '222222222',\n racaCor: 'Preta',\n nacionalidade: 'Brasileira',\n naturalidade: 'Niterói',\n estadoCivil: 'Solteiro',\n deficiencia: 'Auditiva',\n deficienciaOutra: '',\n situacaoMoradia: 'Com Residência Fixa',\n qualMoradia: '',\n dataInicioAbrigamento: '01/01/2001',\n tempoSituacaoRua: '',\n cep: '33333-333',\n logradouro: 'Rua Santa Clara',\n numero: '120',\n complemento: '',\n bairro: \"Ponta D'Areia\",\n subBairro: '',\n municipio: 'Niterói',\n uf: 'RJ',\n pontoReferencia: 'Perto do estaleiro',\n telefoneContato: '(99)99999-9999',\n telefoneContato2: '(99)99999-9999',\n coletaDeLixo: 'Sim',\n aguaEncanada: 'Não',\n escolaridade: 'Ensino Médio Completo',\n anoEscolar: '',\n nomeEscola: 'Escola do Saber',\n trabalhou30Dias: 'Auxílio Doença',\n vigenciaAuxilioDoenca: '01/01/2001',\n profissaoOcupacao: 'Trabalhador',\n localTrabalho: 'Trabalho',\n contatoTrabalho: '(99)99999-9999',\n fonteRenda: 'Não Informado',\n rendaFamiliarAproximada: 'Sem Rendimento',\n qtdPessoasDestinoRenda: 'Não Informado',\n beneficiosAssistenciaSocial: 'Não',\n outroBeneficio: '',\n curatelado: 'Sim',\n nomeTelefoneCurador: 'John Doe/(99)99999-9999',\n suporteFamiliar: 'Não Informado',\n principalReferencia: 'Pai',\n conflitoLei: 'Medida de Segurança',\n dataInicioMedidaPena: '01/01/2001',\n dataTerminoMedidaPena: '01/01/2001',\n localCumprimentoMedidaPena: 'Bangu II',\n unidadeApsReferencia: 'MMF DA GROTA II (JOSE MARTI II)',\n equipeApsReferenciaTelefone: 'GROTA 112 - 0000296287',\n entradaCaps: 'Demanda Espontânea',\n encaminhadoPor: '',\n encaminhadoOutroLocal: '',\n tratamentoAnteriorSaudeMental: 'Não Informado',\n localTratamentoAnterior: '',\n tempoAcompanhamento: '3 meses',\n usoAlcoolDrogas: 'Não',\n quaisAlcoolDrogas: '',\n usoMedicacaoPsiquiatrica: 'Sim',\n qualMedicacaoPsiquiatrica: 'Alguma',\n desinstitucionalizacao: 'Sim',\n localAnoDesins: 'Lá/2001/2002',\n estrategiaDesins: 'Retorno Familiar',\n outroDesins: '',\n cid: '7777777',\n ciap2: '88888888',\n classificacaoRisco: 'Azul',\n situacaoCadastro: 'Ativo',\n inativoMotivo: '',\n outroInativoMotivo: '',\n }\n \n const goBackToList = (currentCaps) => {\n history.push({\n pathname: '/caps',\n state: { currentCapsState: currentCaps }\n })\n }\n\n return (\n \n {children}\n \n );\n}\n\nexport const useCaps = () => useContext(CapsContext);\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_GET_ALL_CHAMADOS = `${baseUrl}/chamado/admin`;\n\nconst getAllChamados = async (pageNumber = 1, limit = 50, filterBy = 'createdAt', orderBy = 'desc') => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(\n `${URL_GET_ALL_CHAMADOS}?page=${pageNumber}&limit=${limit}&filterBy=${filterBy}&orderBy=${orderBy}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n }\n );\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n \n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getAllChamados;\n","const cipaCards = [\n {\n id: 1,\n foto: '../../assets/img/cipa/2581-0.jpg',\n nome: 'BARBARA TALITA BERNARDO NEGREIRO',\n lotacao: 'MMF Coronel Leôncio',\n funcao: 'Técnica de Enfermagem'\n },\n {\n id: 2,\n foto: '../../assets/img/cipa/2105-9.jpg',\n nome: 'CONCEIÇÃO IGNACIO DA SILVA DELPHINO',\n lotacao: 'MMF Sapê',\n funcao: 'Técnica de Enfermagem'\n },\n {\n id: 3,\n foto: '../../assets/img/cipa/1948-8.jpg',\n nome: 'ELIZABETH MICHELLE MACEDO AMARAL DE OLIVEIRA',\n lotacao: 'MMF Badu',\n funcao: 'Agente Comunitário de Saúde'\n },\n {\n id: 4,\n foto: '../../assets/img/cipa/1269-6.jpg',\n nome: 'GABRIELLY MORENO DA SILVA',\n lotacao: 'MMF Souza Soares',\n funcao: 'Enfermeiro'\n },\n {\n id: 5,\n foto: '../../assets/img/cipa/2125-3.jpg',\n nome: 'GUILHERME MARTINS GUIMARÃES',\n lotacao: 'MMF Atalaia',\n funcao: 'Assistente Administrativo'\n },\n {\n id: 6,\n foto: '../../assets/img/cipa/2455-4.jpg',\n nome: 'IZIS SOUZA DE MOURA ALVES',\n lotacao: 'MMF Engenho do Mato',\n funcao: 'Assistente Administrativo'\n },\n {\n id: 7,\n foto: '../../assets/img/cipa/1307-2.jpg',\n nome: 'LEANDRO FONSECA DA COSTA',\n lotacao: 'MMF Ilha da Conceição',\n funcao: 'Assistente Administrativo'\n },\n {\n id: 8,\n foto: '../../assets/img/cipa/1972-0.jpg',\n nome: 'MARIA APARECIDA FAUSTINO ERNANDI',\n lotacao: 'CAPS Casa do Largo',\n funcao: 'Técnica de Enfermagem'\n },\n {\n id: 9,\n foto: '../../assets/img/cipa/1809-0.jpg',\n nome: 'MARIA LUIZA VENANCIO PETRUCCI DA FONSECA',\n lotacao: 'CAPS Casa do Largo',\n funcao: 'Musicoterapeuta'\n },\n {\n id: 10,\n foto: '../../assets/img/cipa/2165-2.jpg',\n nome: 'PATRICIA MARTINS AUGUSTO DIAS',\n lotacao: 'MMF Cafubá I',\n funcao: 'Assistente Administrativo'\n },\n {\n id: 11,\n foto: '../../assets/img/cipa/1802-3.jpeg',\n nome: 'THAIS PRADO DIAS',\n lotacao: 'MMF Vila Ipiranga',\n funcao: 'Agente Comunitário de Saúde'\n },\n {\n id: 12,\n foto: '../../assets/img/cipa/1556-3.jpg',\n nome: 'WILDE LANDEIRO DOS SANTOS',\n lotacao: 'MMF Teixeira de Freitas',\n funcao: 'Fisioterapeuta'\n },\n {\n id: 13,\n foto: '../../assets/img/cipa/1466-4.jpeg',\n nome: 'SIMONE DA CONCEIÇÃO OLIVEIRA',\n lotacao: 'MMF Baldeador',\n funcao: 'Técnica de Enfermagem'\n },\n {\n id: 14,\n foto: '../../assets/img/cipa/1225-4.jpg',\n nome: 'MARCIO SILVA COSTA',\n lotacao: 'CAPS AD III Alcenir Veras',\n funcao: 'Enfermeiro'\n },\n {\n id: 15,\n foto: '../../assets/img/cipa/1239-4.jpg',\n nome: 'PEDRO PAULO CORREA SANTANA',\n lotacao: 'MMF Alarico',\n funcao: 'Enfermeiro'\n },\n {\n id: 16,\n foto: '../../assets/img/cipa/1698-5.jpg',\n nome: 'JOYCE ELOISA E SILVA',\n lotacao: 'MMF Leopoldina',\n funcao: 'Agente Comunitário de Saúde'\n },\n];\n\nexport default cipaCards;\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_GET_ALL_USERS = `${baseUrl}/user/`;\n\nconst getAllUsers = async (filter = 'Todos') => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(\n `${URL_GET_ALL_USERS}?filter=${filter}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getAllUsers;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Home_container__1s89M\",\"svg\":\"Home_svg__2Wzfg\",\"svg-animate\":\"Home_svg-animate__1snNS\",\"svg-fill1\":\"Home_svg-fill1__zAv1Y\",\"svg-fill3\":\"Home_svg-fill3__-3vyV\",\"svg-fill2\":\"Home_svg-fill2__3y11D\",\"modal_size\":\"Home_modal_size__1oPOp\",\"btn\":\"Home_btn__1t4lz\",\"video\":\"Home_video__aWAxW\",\"show_img\":\"Home_show_img__3lJde\",\"show-img\":\"Home_show-img__1e3u_\",\"abbr\":\"Home_abbr__1cz2l\",\"abbr_text\":\"Home_abbr_text__32Y00\",\"modal_title\":\"Home_modal_title__1pWk-\",\"modal_body\":\"Home_modal_body__2s1RU\",\"container_text\":\"Home_container_text__3cai7\",\"modal_text\":\"Home_modal_text__21at3\",\"modal_text_title\":\"Home_modal_text_title__QMfUX\",\"modal_text_italic\":\"Home_modal_text_italic__KqVNQ\",\"modal_link\":\"Home_modal_link__1JYov\",\"ribbon\":\"Home_ribbon__A_Dlo\",\"img_outubro_rosa\":\"Home_img_outubro_rosa__pTKVm\",\"logo_container\":\"Home_logo_container__3zLCA\",\"ribbon_logo\":\"Home_ribbon_logo__25TLu\",\"balao\":\"Home_balao__1Q5CB\",\"snowflake\":\"Home_snowflake__1kUY3\",\"snowflakes-fall\":\"Home_snowflakes-fall__1kuvQ\",\"snowflakes-shake\":\"Home_snowflakes-shake__3WQeh\",\"expand\":\"Home_expand__wWg6Z\",\"balao_texto\":\"Home_balao_texto__2uON5\",\"lista_1\":\"Home_lista_1__328WL\",\"showing\":\"Home_showing__1OdoP\",\"lista_2\":\"Home_lista_2__32Vvh\",\"lista_3\":\"Home_lista_3__2hTfp\",\"lista_4\":\"Home_lista_4__1EedS\",\"lista_5\":\"Home_lista_5__18F3z\",\"lista_6\":\"Home_lista_6__3H_JZ\",\"lista_7\":\"Home_lista_7__2Qsuk\",\"container_carousel\":\"Home_container_carousel__1OlPF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"EsqueciSenhaOk_container__19pd6\",\"margin\":\"EsqueciSenhaOk_margin__2VWZ2\"};","export const formatDate = date => {\n return new Date(date).toLocaleDateString('pt-BR', { timeZone: 'UTC' });\n};\n","import { Pagination } from 'react-bootstrap';\n\nexport const PaginationMenu = (props) => {\n const handlePageChange = pageNumber => {\n if (pageNumber < 1) {\n pageNumber = 1;\n }\n\n if (pageNumber > props.totalPages) {\n pageNumber = props.totalPages;\n }\n\n props.setCurrentPage(pageNumber);\n\n const url = new URL(window.location.toString());\n url.searchParams.set('pagina', String(pageNumber));\n\n window.history.pushState({}, '', url);\n };\n\n return (\n <>\n {props.totalPages <= 5 && (\n
\n \n {Array.from({ length: props.totalPages }).map((item, index) => (\n handlePageChange(index + 1)}\n >\n {index + 1}\n \n ))}\n \n
\n )}\n {props.totalPages > 5 && (\n
\n \n handlePageChange(1)} />\n handlePageChange(Number(props.currentPage) - 1)} />\n handlePageChange(1)}\n >{1}\n \n \n\n {Number(props.currentPage) === 1 && (\n <>\n handlePageChange(Math.ceil(props.totalPages / 2) - 1)}\n >{Math.ceil(props.totalPages / 2) - 1}\n \n handlePageChange(Math.ceil(props.totalPages / 2))}\n >{Math.ceil(props.totalPages / 2)}\n \n handlePageChange(Math.ceil(props.totalPages / 2) + 1)}\n >{Math.ceil(props.totalPages / 2) + 1}\n \n \n )}\n\n {Number(props.currentPage) > 1 && Number(props.currentPage) < props.totalPages - 2 && (\n <>\n handlePageChange(Number(props.currentPage))}\n >{Number(props.currentPage)}\n \n handlePageChange(Number(props.currentPage) + 1)}\n >{Number(props.currentPage) + 1}\n \n handlePageChange(Number(props.currentPage) + 2)}\n >{Number(props.currentPage) + 2}\n \n \n )}\n\n {Number(props.currentPage) >= props.totalPages - 2 && (\n <>\n handlePageChange(props.totalPages - 3)}\n >{props.totalPages - 3}\n \n handlePageChange(props.totalPages - 2)}\n >{props.totalPages - 2}\n \n handlePageChange(props.totalPages - 1)}\n >{props.totalPages - 1}\n \n \n )}\n\n \n handlePageChange(props.totalPages)}\n >{props.totalPages}\n \n handlePageChange(Number(props.currentPage) + 1)} />\n handlePageChange(props.totalPages)} />\n \n
\n )}\n \n )\n}\n","const unidadesPesquisa = [\n {\n \"cnes\": \"9069321\",\n \"nomeCnes\": \"MMF da Colônia\",\n \"nomeGenerico\": \"MMF da Colônia\"\n },\n {\n \"cnes\": \"7746733\",\n \"nomeCnes\": \"MMF José Marti I\",\n \"nomeGenerico\": \"MMF da Grota I\"\n },\n {\n \"cnes\": \"2298872\",\n \"nomeCnes\": \"MMF José Marti II\",\n \"nomeGenerico\": \"MMF da Grota II\"\n },\n {\n \"cnes\": \"4645650\",\n \"nomeCnes\": \"MMF Professora Dra Satie Mizubuti\",\n \"nomeGenerico\": \"MMF do Holofote\"\n },\n {\n \"cnes\": \"0012939\",\n \"nomeCnes\": \"MMF Dr Ruy Carlos Decnop Celia Sanchez\",\n \"nomeGenerico\": \"MMF da Ilha da Conceicao\"\n },\n {\n \"cnes\": \"5985374\",\n \"nomeCnes\": \"MMF Dr Wilson de Oliveira\",\n \"nomeGenerico\": \"MMF da Ititioca\"\n },\n {\n \"cnes\": \"2298783\",\n \"nomeCnes\": \"MMF Julio Dias Gonzales\",\n \"nomeGenerico\": \"MMF da Leopoldina\"\n },\n {\n \"cnes\": \"2298775\",\n \"nomeCnes\": \"MMF Antônio Nico Lopez\",\n \"nomeGenerico\": \"MMF da Nova Brasília\"\n },\n {\n \"cnes\": \"9314237\",\n \"nomeCnes\": \"MMF Maria Tereza Barbosa Rangel \\\"Vó Tereza\\\"\",\n \"nomeGenerico\": \"MMF da Ponta da Areia\"\n },\n {\n \"cnes\": \"7504853\",\n \"nomeCnes\": \"MMF Dr Antônio Peçanha\",\n \"nomeGenerico\": \"MMF da Teixeira de Freitas\"\n },\n {\n \"cnes\": \"5985366\",\n \"nomeCnes\": \"MMF Vilma Espin\",\n \"nomeGenerico\": \"MMF da Vila Ipiranga\"\n },\n {\n \"cnes\": \"0012920\",\n \"nomeCnes\": \"MMF Mário Munhoz Monroe\",\n \"nomeGenerico\": \"MMF de Jurujuba\"\n },\n {\n \"cnes\": \"0012696\",\n \"nomeCnes\": \"MMF Dr Tobias Tostes Machado\",\n \"nomeGenerico\": \"MMF de Varzea das Mocas\"\n },\n {\n \"cnes\": \"7971249\",\n \"nomeCnes\": \"MMF Deputado José Sally\",\n \"nomeGenerico\": \"MMF do Baldeador\"\n },\n {\n \"cnes\": \"6644988\",\n \"nomeCnes\": \"MMF Dr Omar Marinho Vieira\",\n \"nomeGenerico\": \"MMF do Alarico\"\n },\n {\n \"cnes\": \"5985331\",\n \"nomeCnes\": \"MMF Salvador Allende\",\n \"nomeGenerico\": \"MMF do Atalaia\"\n },\n {\n \"cnes\": \"0012831\",\n \"nomeCnes\": \"MMF Professor Dr Barros Terra\",\n \"nomeGenerico\": \"MMF do Badu\"\n },\n {\n \"cnes\": \"6746667\",\n \"nomeCnes\": \"MMF Raul Carlos Pareto Jr\",\n \"nomeGenerico\": \"MMF do Bernardino\"\n },\n {\n \"cnes\": \"2282224\",\n \"nomeCnes\": \"MMF Ernesto Che Guevara I\",\n \"nomeGenerico\": \"MMF do Cafuba I\"\n },\n {\n \"cnes\": \"2298805\",\n \"nomeCnes\": \"MMF Ernesto Che Guevara II\",\n \"nomeGenerico\": \"MMF do Cafuba II\"\n },\n {\n \"cnes\": \"5985358\",\n \"nomeCnes\": \"MMF Alberto Ricardo Hatin\",\n \"nomeGenerico\": \"MMF do Cafuba III\"\n },\n {\n \"cnes\": \"2298821\",\n \"nomeCnes\": \"MMF Haidee Santamaria\",\n \"nomeGenerico\": \"MMF do Cantagalo\"\n },\n {\n \"cnes\": \"2298813\",\n \"nomeCnes\": \"MMF Dr Aloisio Brazil\",\n \"nomeGenerico\": \"MMF do Caramujo\"\n },\n {\n \"cnes\": \"0012947\",\n \"nomeCnes\": \"MMF Frank Pais Garcia\",\n \"nomeGenerico\": \"MMF do Cavalao\"\n },\n {\n \"cnes\": \"9973877\",\n \"nomeCnes\": \"MMF Dr Cláudio do Amaral Júnior\",\n \"nomeGenerico\": \"MMF do Coronel Leoncio\"\n },\n {\n \"cnes\": \"0013013\",\n \"nomeCnes\": \"MMF Willian Soller\",\n \"nomeGenerico\": \"MMF do Engenho do Mato\"\n },\n {\n \"cnes\": \"0480894\",\n \"nomeCnes\": \"MMF Enoc Joaquim de Oliveira\",\n \"nomeGenerico\": \"MMF do Jacare\"\n },\n {\n \"cnes\": \"2298791\",\n \"nomeCnes\": \"MMF José Suares Blanco\",\n \"nomeGenerico\": \"MMF do Jonathas Botelho\"\n },\n {\n \"cnes\": \"7161093\",\n \"nomeCnes\": \"MMF João Sampaio\",\n \"nomeGenerico\": \"MMF do Maceió\"\n },\n {\n \"cnes\": \"3069184\",\n \"nomeCnes\": \"MMF Com Manoel Pineiro Lozada\",\n \"nomeGenerico\": \"MMF do Maravista\"\n },\n {\n \"cnes\": \"2282232\",\n \"nomeCnes\": \"MMF Carlos Rafael Rodriguez\",\n \"nomeGenerico\": \"MMF do Maritimos\"\n },\n {\n \"cnes\": \"9046836\",\n \"nomeCnes\": \"MMF Dr João Vasconcellos\",\n \"nomeGenerico\": \"MMF do Martins Torres\"\n },\n {\n \"cnes\": \"0013021\",\n \"nomeCnes\": \"MMF Jorge Luiz Camacho Rodrigues\",\n \"nomeGenerico\": \"MMF do Marui\"\n },\n {\n \"cnes\": \"9632298\",\n \"nomeCnes\": \"MMF Ítalo Gomes\",\n \"nomeGenerico\": \"MMF do Morro da Boa Vista\"\n },\n {\n \"cnes\": \"7596162\",\n \"nomeCnes\": \"MMF Faustino Perez\",\n \"nomeGenerico\": \"MMF do Morro do Ceu\"\n },\n {\n \"cnes\": \"0013064\",\n \"nomeCnes\": \"MMF Jesus Montanez\",\n \"nomeGenerico\": \"MMF do Palacio\"\n },\n {\n \"cnes\": \"0012955\",\n \"nomeCnes\": \"MMF Abel Santamaria\",\n \"nomeGenerico\": \"MMF do Preventorio I\"\n },\n {\n \"cnes\": \"0013072\",\n \"nomeCnes\": \"MMF Calixto Garcia\",\n \"nomeGenerico\": \"MMF do Preventorio II\"\n },\n {\n \"cnes\": \"9079696\",\n \"nomeCnes\": \"MMF do Sapê\",\n \"nomeGenerico\": \"MMF do Sapê\"\n },\n {\n \"cnes\": \"2282216\",\n \"nomeCnes\": \"MMF José Antônio Echeverria Bianchi\",\n \"nomeGenerico\": \"MMF do Souza Soares\"\n },\n {\n \"cnes\": \"7312458\",\n \"nomeCnes\": \"MMF Tayssa Erminda Alves\",\n \"nomeGenerico\": \"MMF do Vicoso Jardim\"\n },\n {\n \"cnes\": \"0012963\",\n \"nomeCnes\": \"MMF Camilo Cienfuegos\",\n \"nomeGenerico\": \"MMF do Viradouro\"\n },\n {\n \"cnes\": \"0012971\",\n \"nomeCnes\": \"MMF Carlos Juan Finlay\",\n \"nomeGenerico\": \"MMF do Vital Brazil\"\n },\n {\n \"cnes\": \"8013004\",\n \"nomeCnes\": \"MMF Dr Abelardo Ramirez\",\n \"nomeGenerico\": \"MMF do Matapaca\"\n },\n {\n \"cnes\": \"3296598\",\n \"nomeCnes\": \"CAPS AD III Alcenir Veras\",\n \"nomeGenerico\": \"CAPS AD III Alcenir Veras\"\n },\n {\n \"cnes\": \"2293269\",\n \"nomeCnes\": \"CAPS Herbert de Souza\",\n \"nomeGenerico\": \"CAPS Herbert de Souza\"\n },\n {\n \"cnes\": \"2298856\",\n \"nomeCnes\": \"CAPS Casa do Largo\",\n \"nomeGenerico\": \"CAPS Casa do Largo\"\n },\n {\n \"cnes\": \"3708330\",\n \"nomeCnes\": \"CAPSi Monteiro Lobato\",\n \"nomeGenerico\": \"CAPSi Monteiro Lobato\"\n },\n /* {\n \"cnes\": \"2854295\",\n \"nomeCnes\": \"Centro de Convivência e Cultura de Niterói\",\n \"nomeGenerico\": \"Centro de Convivência e Cultura de Niterói\"\n } */\n];\n\nexport default unidadesPesquisa;\n","import { useState } from \"react\"\nimport copy from \"copy-to-clipboard\"\n\nexport default function useCopyToClipboard() {\n const [value, setValue] = useState()\n const [success, setSuccess] = useState()\n\n const copyToClipboard = (text, options) => {\n const result = copy(text, options)\n if (result) setValue(text)\n setSuccess(result)\n }\n\n return [copyToClipboard, { value, success }]\n}","import 'dotenv/config';\n\nconst nodeEnv = process.env.REACT_APP_NODE_ENV;\n\nlet baseUrlQRCode;\n\nif (nodeEnv === 'DEV') {\n baseUrlQRCode = {\n api: 'http://10.10.10.85:3333',\n front: 'http://10.10.10.85:3000'\n }\n} else {\n baseUrlQRCode = {\n api: 'http://189.112.226.76:3333',\n front: 'http://189.112.226.76:3000'\n }\n}\n\nexport { baseUrlQRCode };\n","export const digitsMask = value => {\n return value.replace(/\\D/g, '');\n};\n\nexport const matriculaMask = value => {\n value = value\n .replace(/\\D/g, '')\n .replace(/(\\d{4})(\\d{1})/, '$1-$2')\n .replace(/(-\\d{1})\\d+?$/, '$1');\n\n return value;\n};\n\nexport const cpfMask = value => {\n value = value\n .replace(/\\D/g, '')\n .replace(/(\\d{3})(\\d)/, '$1.$2')\n .replace(/(\\d{3})(\\d)/, '$1.$2')\n .replace(/(\\d{3})(\\d{1,2})/, '$1-$2')\n .replace(/(-\\d{2})\\d+?$/, '$1');\n\n return value;\n};\n\nexport const phoneMask = value => {\n let valueFormat = value.replace(/\\D/g, '');\n\n if (valueFormat.length < 11) {\n valueFormat = valueFormat\n .replace(/\\D/g, '')\n .replace(/^(\\d{2})(\\d)/, '($1) $2')\n .replace(/(\\d{4})(\\d)/, '$1-$2')\n .replace(/(\\d{4})\\d+?$/, '$1');\n } else {\n valueFormat = valueFormat\n .replace(/\\D/g, '')\n .replace(/^(\\d{2})(\\d)/, '($1) $2')\n .replace(/(\\d{5})(\\d)/, '$1-$2')\n .replace(/(\\d{4})\\d+?$/, '$1');\n }\n \n return valueFormat;\n};\n\nexport const cepMask = value => {\n value = value\n .replace(/\\D/g, '')\n .replace(/(\\d{5})(\\d)/, '$1-$2')\n .replace(/(-\\d{3})\\d+?$/, '$1');\n\n return value;\n};\n\nexport const ouvidoriaProtocoloMask = value => {\n value = value\n .replace(/\\D/g, '')\n .replace(/(\\d{4})(\\d)/, '$1.$2')\n .replace(/(\\.\\d{2})(\\d{1,2})/, '$1.$2')\n .replace(/(\\.\\d{3})\\d+?$/, '$1');\n\n return value;\n};\n\nexport const editalMask = value => {\n value = value\n .replace(/\\D/g, '')\n .replace(/(\\d{4})(\\d)/, '$1-$2')\n .replace(/(-\\d{2})\\d+?$/, '$1');\n \n return value;\n};\n","const isTokenExpired = token => Date.now() >= (JSON.parse(atob(token.split('.')[1]))).exp * 1000;\n\nexport default isTokenExpired;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Novo_container__hBt6i\",\"logo\":\"Novo_logo__3D0jf\",\"title\":\"Novo_title__3R0FY\",\"form_container\":\"Novo_form_container__21qVZ\",\"form\":\"Novo_form__2fGBA\",\"input_container\":\"Novo_input_container__3ArJw\",\"label_float\":\"Novo_label_float__3uNOf\",\"input\":\"Novo_input__2x5GY\",\"label\":\"Novo_label__1BbHB\",\"link\":\"Novo_link__3EUep\",\"button\":\"Novo_button__2zTRs\",\"error_message\":\"Novo_error_message__1rlj7\",\"roles\":\"Novo_roles__37azZ\",\"btn\":\"Novo_btn__1I-eA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Editar_container__QsM6f\",\"logo\":\"Editar_logo__1FS-e\",\"title\":\"Editar_title__gKMrR\",\"form_container\":\"Editar_form_container__A_xi1\",\"form\":\"Editar_form__2Nnss\",\"input_container\":\"Editar_input_container__19Ltj\",\"label_float\":\"Editar_label_float__f532y\",\"input\":\"Editar_input__ohBPN\",\"label\":\"Editar_label__1HmN8\",\"link\":\"Editar_link__1-EyH\",\"button\":\"Editar_button__1plWh\",\"error_message\":\"Editar_error_message__3rMN2\",\"roles\":\"Editar_roles__2sZpk\",\"btn\":\"Editar_btn__3ich5\"};","const briefingSupportedExtensions = [\n 'pdf',\n 'png',\n 'gif',\n 'jpg',\n 'jpeg',\n 'svg',\n 'txt',\n 'doc',\n 'docx',\n 'xls',\n 'xlsx',\n 'ppt',\n 'pptx'\n];\n\nexport default briefingSupportedExtensions;\n","import { Button } from 'react-bootstrap';\n\nimport styles from './Cipa.module.css';\n\nconst Cipa = props => {\n return (\n
\n
\n
\n \"Logo\n
\n {props.nome}\n
\n
\n

{props.nome}

\n
\n

{props.lotacao}

\n

{props.funcao}

\n {!props.buttonCipaDisabled && (\n \n Selecionar\n \n )}\n
\n
\n
\n );\n};\n\nexport default Cipa;\n","const isoToDate = iso => {\n const part = iso.substring(0,10);\n const parts = part.split('-');\n const date = `${parts[2]}/${parts[1]}/${parts[0]}`;\n\n return date;\n};\n\nexport default isoToDate;\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst ENDPOINT = `${baseUrl}/acoesterritoriais`;\n\nfunction checkToken() {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return isTokenExpired(token);\n }\n }\n}\n\nexport const acoesTerritoriaisService = {\n async getAcaoTerritorial(id) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n async allAcoesTerritoriais(pageNumber = 1, limit = 20, filterBy = 'createdAt', orderBy = 'desc') {\n if (checkToken()) return;\n\n const data = await fetch(\n `${ENDPOINT}?page=${pageNumber}&limit=${limit}&filterBy=${filterBy}&orderBy=${orderBy}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n }\n );\n\n const response = await data.json()\n\n return response;\n },\n async usuariosAcaoTerritorial(id) {\n const data = await fetch(`${ENDPOINT}/${id}/usuarios`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n async update(id, values) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(values)\n });\n\n const response = await data.json();\n return response;\n },\n async delete(id) {\n const response = await fetch(`${ENDPOINT}/${id}`, {\n method: 'DELETE',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n return response;\n },\n async create(data) {\n const response = await fetch(ENDPOINT, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n return response;\n },\n async createAtividade(id, data) {\n const response = await fetch(`${ENDPOINT}/atividades/${id}`, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n return response;\n },\n async updateAtividade(idAT, id, values) {\n const data = await fetch(`${ENDPOINT}/atividades/${idAT}/${id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(values)\n });\n\n const response = await data.json();\n return response;\n },\n async addUsuarioAT(idAT, id) {\n const data = await fetch(`${ENDPOINT}/${idAT}/${id}`, {\n method: 'PATCH',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n return response;\n },\n async buscaUsuarios(campo, valor, cripto = false) {\n const data = await fetch(`${ENDPOINT}/busca?campo=${campo}&valor=${valor}&cripto=${cripto}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n return response;\n },\n async usuarioAcoes(uuid) {\n const data = await fetch(`${ENDPOINT}/acoes/${uuid}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n return response;\n },\n async patchStatus(id, status) {\n const data = await fetch(`${ENDPOINT}/status/${id}`, {\n method: 'PATCH',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(status)\n });\n\n const response = await data.json();\n return response;\n },\n async relatorio(territorio, date = '') {\n const data = await fetch(`${ENDPOINT}/relatorio?territorio=${territorio}&data=${date}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n return response;\n }\n}","import baseUrl from './baseUrl';\n\nconst ENDPOINT = `${baseUrl}/acoesterritoriais/usuario`;\n\nexport const usuariosATService = {\n async get(id) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n const response = await data.json();\n\n return response;\n },\n async update(id, values) {\n const data = await fetch(`${ENDPOINT}/${id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(values)\n });\n\n const response = await data.json();\n return response;\n },\n async delete(id) {\n const response = await fetch(`${ENDPOINT}/${id}`, {\n method: 'DELETE',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n });\n\n return response;\n },\n async create(data) {\n const response = await fetch(ENDPOINT, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n return response;\n },\n}","import {\n useCallback,\n useContext,\n createContext\n} from 'react';\n \nimport { parseISO } from 'date-fns';\n\nimport { acoesTerritoriaisService } from '../api/acoesTerritoriaisService';\nimport { usuariosATService } from '../api/usuariosATService';\n\nimport { decrypt } from '../helpers/cryptography';\n \nconst AcoesTerritoriaisContext = createContext({});\n\nexport const AcoesTerritoriaisProvider = ({ children }) => {\n\n const getAllAcoesTerritoriais = useCallback(async (pageNumber, limit, filterBy, orderBy) => {\n try {\n const response = await acoesTerritoriaisService.allAcoesTerritoriais(pageNumber, limit, filterBy, orderBy);\n\n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getAcaoTerritorialById = useCallback(async (id) => {\n try {\n const response = await acoesTerritoriaisService.getAcaoTerritorial(id);\n\n const cleanResponse = {\n ...response,\n dataAtividade: parseISO(response.dataAtividade),\n }\n\n return cleanResponse;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getUsuariosAcaoTerritorial = useCallback(async (id) => {\n try {\n const response = await acoesTerritoriaisService.usuariosAcaoTerritorial(id);\n const cleanResponse = response?.map(item => ({\n ...item,\n nomeCompleto: item.nomeCompleto ? decrypt(item.nomeCompleto) : '',\n nomeSocial: item.nomeSocial ? decrypt(item.nomeSocial) : '',\n documentos: item.documentos ? decrypt(item.documentos) : '',\n }))\n return cleanResponse;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const updateAcaoTerritorial = useCallback(async (id, data) => {\n try {\n const response = await acoesTerritoriaisService.update(id, data);\n \n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const deleteAcaoTerritorial = useCallback(async (id) => {\n try {\n const response = await acoesTerritoriaisService.delete(id);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const createAcaoTerritorial = useCallback(async (data) => {\n try {\n const response = await acoesTerritoriaisService.create(data);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getUsuarioATById = useCallback(async (id) => {\n try {\n const response = await usuariosATService.get(id);\n\n const cleanResponse = {\n ...response,\n nomeCompleto: response?.nomeCompleto ? decrypt(response.nomeCompleto) : '',\n nomeSocial: response?.nomeSocial ? decrypt(response.nomeSocial) : '',\n documentos: response?.documentos ? decrypt(response.documentos) : '',\n }\n\n return cleanResponse;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const updateUsuarioAT = useCallback(async (id, data) => {\n try {\n const response = await usuariosATService.update(id, data);\n \n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const deleteUsuarioAT = useCallback(async (id) => {\n try {\n const response = await usuariosATService.delete(id);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const createUsuarioAT = useCallback(async (data) => {\n try {\n const response = await usuariosATService.create(data);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const createAtividade = useCallback(async (id, data) => {\n try {\n const response = await acoesTerritoriaisService.createAtividade(id, data);\n \n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const updateAtividade = useCallback(async (idAT, id,data) => {\n try {\n const response = await acoesTerritoriaisService.updateAtividade(idAT, id, data);\n \n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const addUsuarioToAcaoTerritorial = useCallback(async (idAT, id) => {\n try {\n const response = await acoesTerritoriaisService.addUsuarioAT(idAT, id);\n \n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const buscaAllUsuarios = useCallback(async (campo, valor, cripto) => {\n try {\n const response = await acoesTerritoriaisService.buscaUsuarios(campo, valor, cripto);\n const cleanResponse = response.map(item => ({\n ...item,\n nomeCompleto: item.nomeCompleto ? decrypt(item.nomeCompleto) : '',\n nomeSocial: item.nomeSocial ? decrypt(item.nomeSocial) : '',\n documentos: item.documentos ? decrypt(item.documentos) : '',\n }))\n return cleanResponse;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getAcoesUsuarioCAPS = useCallback(async (uuid) => {\n try {\n const response = await acoesTerritoriaisService.usuarioAcoes(uuid);\n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const patchATStatus = useCallback(async (id, status) => {\n try {\n const response = await acoesTerritoriaisService.patchStatus(id, status);\n return response;\n\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getRelatorio = useCallback(async (territorio = '') => {\n try {\n const response = await acoesTerritoriaisService.relatorio(territorio);\n\n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const acoesTerritoriaisInitialValues = {\n territorio: '',\n dataAtividade: '',\n servicoResponsavel: [],\n equipeResponsavel: [],\n atividadeCompartilhada: '',\n qualAtividade: '',\n status: 'Rascunho',\n usuarios: [],\n atividades: [], \n };\n\n const usuarioATInitialValues = {\n nomeCompleto: '',\n nomeSocial: '',\n apelido: '',\n genero: '',\n racaCor: '',\n dataNascimento: '',\n idade: '',\n deficiencia: '',\n unidadeReferencia: '',\n publicoAlvo: [],\n caps: '',\n capsOrigem: '',\n ausenciaDoc: [],\n infosComplementares: '',\n documentos: '',\n };\n\n return (\n \n {children}\n \n );\n}\n\nexport const useAcoesTerritoriais = () => useContext(AcoesTerritoriaisContext);","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"Email_title__2yXF4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"PageNotFound_container__g8txV\"};","require('dotenv').config();\nconst crypto = require('crypto');\n\nconst ENC_KEY = process.env.REACT_APP_ENC_KEY;\nconst IV = process.env.REACT_APP_IV;\n\nconst encrypt = data => {\n const cipher = crypto.createCipheriv('aes-256-cbc', ENC_KEY, IV);\n let encrypted = cipher.update(data, 'utf8', 'base64');\n encrypted += cipher.final('base64');\n\n return encrypted;\n};\n\nconst decrypt = encrypted => {\n const decipher = crypto.createDecipheriv('aes-256-cbc', ENC_KEY, IV);\n const decrypted = decipher.update(encrypted, 'base64', 'utf8');\n\n return (decrypted + decipher.final('utf8'));\n};\n\nconst encryptArray = array => {\n let rolesEncrypt = [];\n\n for (let i = 0; i < array.length; i++) {\n rolesEncrypt[i] = encrypt(array[i]);\n }\n\n return rolesEncrypt;\n};\n\nconst decryptArray = arrayEncrypted => {\n let rolesDecrypt = [];\n\n for (let i = 0; i < arrayEncrypted.length; i++) {\n rolesDecrypt.push(decrypt(arrayEncrypted[i]));\n }\n\n return rolesDecrypt;\n};\n\nmodule.exports = { encrypt, decrypt, encryptArray, decryptArray };\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"ChamadosNovo_container__3FF2W\",\"title\":\"ChamadosNovo_title__2eygZ\",\"container_medicamentos\":\"ChamadosNovo_container_medicamentos__1TDA0\",\"icon_container\":\"ChamadosNovo_icon_container__2YsHo\",\"icon_trash\":\"ChamadosNovo_icon_trash__3jo5s\",\"container_buttons\":\"ChamadosNovo_container_buttons__4GA74\",\"toast\":\"ChamadosNovo_toast__2PTlR\",\"toastBody\":\"ChamadosNovo_toastBody__21Fv_\",\"manutencao_title\":\"ChamadosNovo_manutencao_title__w9kQj\",\"manutencao_subtitle\":\"ChamadosNovo_manutencao_subtitle__qb8hK\",\"cipa_title\":\"ChamadosNovo_cipa_title__3XDxv\",\"cipa_ja_votou\":\"ChamadosNovo_cipa_ja_votou__1nlNV\",\"cipa_container\":\"ChamadosNovo_cipa_container__19yFA\",\"icon_list\":\"ChamadosNovo_icon_list__1yG8g\",\"button_list\":\"ChamadosNovo_button_list__2sX3w\",\"title_cipa_container\":\"ChamadosNovo_title_cipa_container__1c6al\",\"corrige\":\"ChamadosNovo_corrige__2wz_c\",\"confirma\":\"ChamadosNovo_confirma__3TXCk\",\"modal_nome\":\"ChamadosNovo_modal_nome__1eh9b\",\"title_ferias\":\"ChamadosNovo_title_ferias__3Ogs5\",\"save_btn\":\"ChamadosNovo_save_btn__1gukY\",\"card_photo\":\"ChamadosNovo_card_photo__2x_To\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Login_container__3g5c8\",\"logo\":\"Login_logo__15hBy\",\"logoImg\":\"Login_logoImg__2PpMH\",\"title\":\"Login_title__2B9LG\",\"form_container\":\"Login_form_container__1wjJk\",\"form\":\"Login_form__3bufY\",\"input_container\":\"Login_input_container__1eOmY\",\"label_float\":\"Login_label_float__yvlJN\",\"input\":\"Login_input__38Tqn\",\"label\":\"Login_label__1lmxY\",\"link\":\"Login_link__Bm8wR\",\"button\":\"Login_button__2uSMn\",\"error_message\":\"Login_error_message__laHqE\",\"eye_container\":\"Login_eye_container__9_VvQ\",\"eye\":\"Login_eye__3jUL5\",\"btn\":\"Login_btn__uR52k\",\"captcha_container\":\"Login_captcha_container__2fcda\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button_container\":\"Usuarios_button_container__GpL7f\",\"button\":\"Usuarios_button__3FwOE\",\"sort\":\"Usuarios_sort__373Fu\",\"btn\":\"Usuarios_btn__2xt8d\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Chamado_container__3CwZ5\",\"title_container\":\"Chamado_title_container__2_KHx\",\"title\":\"Chamado_title__35fda\",\"icon_pdf\":\"Chamado_icon_pdf__1NPdI\",\"button_pdf\":\"Chamado_button_pdf__1TJ3Z\",\"container_medicamentos\":\"Chamado_container_medicamentos__ZJomm\",\"icon_container\":\"Chamado_icon_container__1PcWK\",\"icon_trash\":\"Chamado_icon_trash__2sFgk\",\"container_buttons\":\"Chamado_container_buttons__16HYN\",\"buttons\":\"Chamado_buttons__1htcT\",\"table\":\"Chamado_table___sGWT\",\"td\":\"Chamado_td__3B2fA\",\"manutencao_title\":\"Chamado_manutencao_title__2EkHI\",\"file_title\":\"Chamado_file_title__3OB_F\",\"files\":\"Chamado_files__2HnYW\",\"file_thumb\":\"Chamado_file_thumb__6pxF5\",\"title_cipa\":\"Chamado_title_cipa__3qUaH\",\"subtitle_cipa\":\"Chamado_subtitle_cipa__1eKPh\",\"uppercase_cipa\":\"Chamado_uppercase_cipa__2sDwm\",\"sobre_cipa\":\"Chamado_sobre_cipa__23oDo\",\"title_erp\":\"Chamado_title_erp__3KFTk\",\"bg_color\":\"Chamado_bg_color__2tZgT\",\"confirm\":\"Chamado_confirm__2a-_y\",\"radio\":\"Chamado_radio__33f_a\",\"edital\":\"Chamado_edital__1TnLu\",\"title_sistemas\":\"Chamado_title_sistemas__1slqE\",\"options_sistemas\":\"Chamado_options_sistemas__3IwAt\",\"subtitle_sistemas\":\"Chamado_subtitle_sistemas__GxDfu\",\"checkbox_sistemas\":\"Chamado_checkbox_sistemas__1QYuZ\",\"icon_list\":\"Chamado_icon_list__LOwwY\",\"button_list\":\"Chamado_button_list__2eCFE\",\"clipboard_container\":\"Chamado_clipboard_container__2Hx9g\",\"btn\":\"Chamado_btn__9OF9x\",\"save_btn\":\"Chamado_save_btn__G2NXJ\"};","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst ProtectedRoute = props => {\n const { login } = useContext(UserContext);\n\n if (login) {\n return ;\n } else if (!login) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default ProtectedRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst AdminRoute = props => {\n const { isAdmin } = useContext(UserContext);\n\n if (isAdmin) {\n return ;\n } else if (!isAdmin) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default AdminRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst MetasRoute = props => {\n const { isMonitor } = useContext(UserContext);\n\n if (isMonitor) {\n return ;\n } else if (!isMonitor) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default MetasRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst VRVARoute = props => {\n const { isVR } = useContext(UserContext);\n\n if (isVR) {\n return ;\n } else if (!isVR) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default VRVARoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst VestuarioRoute = props => {\n const { isVest } = useContext(UserContext);\n\n if (isVest) {\n return ;\n } else if (!isVest) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default VestuarioRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst OuvidoriaRoute = props => {\n const { isOuvidoria } = useContext(UserContext);\n\n if (isOuvidoria) {\n return ;\n } else if (!isOuvidoria) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default OuvidoriaRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst OuvidoriaConsultaRoute = props => {\n const { isOuvidoriaConsulta } = useContext(UserContext);\n\n if (isOuvidoriaConsulta) {\n return ;\n } else if (!isOuvidoriaConsulta) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default OuvidoriaConsultaRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst CipaRoute = props => {\n const { isCipa } = useContext(UserContext);\n\n if (isCipa) {\n return ;\n } else if (!isCipa) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default CipaRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst CapsRoute = props => {\n const { isCapsAdmin, isCapsSupervisor, isCapsOperador, isCapsConsulta, isCapsDocs, isCapsDocsEsp } = useContext(UserContext);\n\n if (isCapsAdmin || isCapsSupervisor || isCapsOperador || isCapsConsulta || isCapsDocs || isCapsDocsEsp) {\n return ;\n } else if (!isCapsAdmin || !isCapsSupervisor || !isCapsOperador || !isCapsConsulta || !isCapsDocs || !isCapsDocsEsp) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default CapsRoute;\n// TODO caps","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst MdiRoute = props => {\n const { isMdi } = useContext(UserContext);\n\n if (isMdi) {\n return ;\n } else if (!isMdi) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default MdiRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst PesquisaRoute = props => {\n const { isPesquisa } = useContext(UserContext);\n\n if (isPesquisa) {\n return ;\n } else if (!isPesquisa) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default PesquisaRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst InscricaoAdminRoute = props => {\n const { isInscricaoAdmin } = useContext(UserContext);\n\n if (isInscricaoAdmin) {\n return ;\n } else if (!isInscricaoAdmin) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default InscricaoAdminRoute;\n","import React, { useContext } from 'react';\nimport { Redirect, Route } from 'react-router-dom';\n\nimport { UserContext } from '../context/UserContext';\n\nconst GestaoDeLeitosRoute = props => {\n const { isLeitos } = useContext(UserContext);\n\n if (isLeitos) {\n return ;\n } else if (!isLeitos) {\n return ;\n } else {\n return null;\n }\n};\n\nexport default GestaoDeLeitosRoute;\n","import { Container } from 'react-bootstrap';\n\nimport styles from './Home.module.css';\n\nconst Home = () => {\n return (\n \n \n \n );\n};\n\nexport default Home;\n","import React, { useContext, useEffect, useRef, useState } from 'react';\nimport { NavLink } from 'react-router-dom';\n\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport { FaEyeSlash, FaEye } from 'react-icons/fa';\nimport { Button, Form, Modal } from 'react-bootstrap';\n\nimport styles from './Login.module.css';\nimport { UserContext } from '../../context/UserContext';\n\nconst RECAPTCHA_SITE_KEY = process.env.REACT_APP_RECAPTCHA_SITE_KEY;\n\nconst Login = props => {\n const [isNewPassword, setIsNewPassword] = useState(false);\n const [showNewPasswordModal, setShowNewPasswordModal] = useState(false);\n const [showEye, setShowEye] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [showErrorModal, setShowErrorModal] = useState(false);\n const { authenticate, error, loading } = useContext(UserContext);\n\n const initialValues = {\n email: '',\n password: ''\n };\n\n const [values, setValues] = useState(initialValues);\n\n const captchaRef = useRef(null);\n const [recaptchaToken, setRecaptchaToken] = useState(null);\n const handleRecaptcha = () => setRecaptchaToken(captchaRef.current.getValue());\n\n const handleErrorModalClose = () => setShowErrorModal(false);\n\n const setValue = (key, value) => {\n setValues({\n ...values,\n [key]: value\n });\n };\n\n const handleChange = e => setValue(\n e.target.getAttribute('name'),\n e.target.value\n );\n\n const handleEye = () => { \n setShowEye(!showEye);\n };\n\n const handleModalClose = () => {\n setShowModal(false);\n };\n\n const handleNewPasswordModalClose = () => { \n setShowNewPasswordModal(false);\n };\n\n useEffect(() => {\n setIsNewPassword(props?.location?.state?.isNewPassword);\n\n if (props?.location?.state?.isNewPassword) {\n setShowNewPasswordModal(true);\n }\n\n if (isNewPassword) {\n console.log(isNewPassword);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleSubmit = async e => {\n e.preventDefault();\n\n try {\n const response = await authenticate({\n email: values.email,\n password: values.password,\n recaptchaToken\n });\n\n if (response?.error) {\n setErrorMessage(response?.error);\n setShowErrorModal(true);\n\n return;\n }\n } catch (err) {\n console.log(err);\n } finally {\n captchaRef?.current?.reset();\n setRecaptchaToken(null);\n }\n };\n\n useEffect(() => {\n if (error) {\n setShowModal(true);\n }\n }, [error]);\n\n return (\n
\n
\n
\n
\n \"Logo\n
\n
\n

Login

\n
\n
\n\n
\n
\n
\n
\n \n *e-mail:\n \n \n
\n
\n\n
\n
\n \n *Senha:\n
\n \n {showEye && (\n \n )}\n\n {!showEye && (\n \n )}\n
\n
\n \n \n \n Erro\n \n {error}\n \n \n \n \n\n \n \n Sucesso\n \n Sua senha foi definida com sucesso!\n \n \n \n \n\n \n \n Erro!\n \n {errorMessage}\n \n \n \n \n
\n
\n Esqueci a senha / Primeiro acesso\n
\n \n
\n setRecaptchaToken(null)}\n />\n
\n\n
\n {loading && (\n \n Enviando...\n \n )}\n\n {!loading && (\n \n Entrar\n \n )}\n
\n
\n
\n
\n );\n};\n\nexport default Login;\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_GET_CODIGOS_CHAMADOS = `${baseUrl}/chamado/codigos`;\n\nconst getCodigosChamados = async (email, role) => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(\n `${URL_GET_CODIGOS_CHAMADOS}?email=${email}&role=${role}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n }\n );\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n \n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getCodigosChamados;\n","import baseUrl from './baseUrl';\n\nconst URL_GET_CATEGORIAS = `${baseUrl}/categoria`;\n\nconst getCategorias = async () => {\n try {\n const data = await fetch(URL_GET_CATEGORIAS, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getCategorias;\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_GET_CHAMADOS_BUSCA = `${baseUrl}/chamado/busca`;\n\nconst getChamadosBusca = async (campo, valor, cripto, role) => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(\n `${URL_GET_CHAMADOS_BUSCA}?campo=${campo}&valor=${valor}&cripto=${cripto}&role=${role}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n }\n );\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n \n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getChamadosBusca;\n// TODO chamados busca","const tiEmpresasResp = [\n 'MICROSEANS S.A. (TABLET)',\n 'DADYILHA (IMPRESSORA)',\n '3CORP (VOIP)',\n 'FUNDAMENTAL (COMPUTADORES)',\n 'CLARO S.A. (TELEFONE)',\n 'ALGAR (INTERNET)',\n 'LESTE RIO (INTERNET)'\n];\n\nexport default tiEmpresasResp;\n","import { useContext, useEffect, useState } from 'react';\nimport { Link, useHistory, useLocation } from 'react-router-dom';\n\nimport { \n Button, \n Container, \n Table,\n Modal, \n Row, Col, Form } from 'react-bootstrap';\nimport { AiFillPlusSquare } from 'react-icons/ai';\nimport { FaSistrix } from 'react-icons/fa'\nimport { IoBarChartSharp } from 'react-icons/io5'\nimport {\n FaSortNumericDown, \n FaSortNumericUpAlt,\n FaSortAlphaDown,\n FaSortAlphaUpAlt,\n FaFileExcel\n} from 'react-icons/fa';\nimport exportFromJSON from 'export-from-json';\n\nimport styles from './Chamados.module.css';\nimport { UserContext } from '../../context/UserContext';\nimport { includeLeftZero } from '../../helpers/includeLeftZero';\nimport getAllChamados from '../../api/getAllChamados';\nimport getChamadosByUser from '../../api/getChamadosByUser';\nimport getChamadosByResponder from '../../api/getChamadosByResponder';\nimport { formatDate } from '../../helpers/formatDate';\nimport { decrypt, encrypt } from '../../helpers/cryptography';\nimport { digitsMask } from '../../helpers/masks';\nimport getCodigosChamados from '../../api/getCodigosChamados';\nimport { PaginationMenu } from '../../components/PaginationMenu';\nimport getCategorias from '../../api/getCategorias';\nimport getUnidades from '../../api/getUnidades';\nimport getChamadosBusca from '../../api/getChamadosBusca';\nimport Loading from '../../components/Loading';\nimport tiEmpresasResp from '../../helpers/tiEmpresasResp';\n\nconst Chamados = props => {\n const location = useLocation();\n const { isAdmin, isConsulta, isUser, isResp } = useContext(UserContext);\n const history = useHistory();\n const [isRedirect, setIsRedirect] = useState(false);\n const [currentPage, setCurrentPage] = useState(() => {\n const queryParams = new URLSearchParams(location.search);\n const pagina = queryParams.get('pagina');\n\n if (pagina) {\n return pagina;\n }\n\n return 1;\n });\n const [searchBy, setSearchBy] = useState(() => {\n const queryParams = new URLSearchParams(location.search);\n const busca = queryParams.get('busca');\n\n if (busca) {\n return busca;\n }\n\n return '';\n });\n const [search, setSearch] = useState(() => {\n const queryParams = new URLSearchParams(location.search);\n const valor = queryParams.get('valor');\n\n if (valor) {\n return decodeURIComponent(valor);\n }\n\n return '';\n });\n const [filterBy, setFilterBy] = useState('numeroChamado');\n const [totalPages, setTotalPages] = useState(null);\n const [chamados, setChamados] = useState(null);\n const [sortCodigo, setSortCodigo] = useState(false);\n const [sortCategoria, setSortCategoria] = useState(false);\n const [sortNome, setSortNome] = useState(false);\n const [sortUnidade, setSortUnidade] = useState(false);\n const [sortSubcategoria, setSortSubcategoria] = useState(false);\n const [sortStatus, setSortStatus] = useState(false);\n const [sortDataInicio, setSortDataInicio] = useState(false);\n const [orderBy, setOrderBy] = useState('desc');\n const [excelLoading, setExcelLoading] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [loading, setLoading] = useState(false);\n // const [busca, setBusca] = useState('');\n const [showModalBusca, setShowModalBusca] = useState(false);\n const [codigos, setCodigos] = useState([]);\n const [searchLabel, setSearchLabel] = useState('Selecione o Tipo:');\n const [categorias, setCategorias] = useState([]);\n const [subcategorias, setSubcategorias] = useState([]);\n const [unidades, setUnidades] = useState([]);\n\n const getChamados = async () => {\n setLoading(true);\n\n const login = JSON.parse(localStorage.getItem('login'));\n const email = decrypt(login?.user?.email);\n\n if (isAdmin) {\n const response = await getAllChamados(currentPage ? currentPage : 1, 50, filterBy, orderBy);\n\n setChamados(response?.chamados);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n } else if (isResp) {\n const response = await getChamadosByResponder(email, currentPage, 50, filterBy, orderBy);\n\n setChamados(response?.chamados);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n } else if (isUser) {\n const response = await getChamadosByUser(email, currentPage, 50, filterBy, orderBy);\n\n setChamados(response?.chamados);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n } else {\n const response = await getChamadosByUser(email, currentPage, 50, filterBy, orderBy);\n\n setChamados(response?.chamados);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n }\n };\n\n useEffect(() => {\n const getAllCategorias = async () => {\n const response = await getCategorias();\n const categorias = await response.map(item => item.categoria);\n const subcategoriasArray = await response.map(item => item.subcategoria.map(item => item.nome));\n const subcategorias = subcategoriasArray.flat();\n\n setCategorias(categorias);\n setSubcategorias(subcategorias);\n };\n\n const getAllUnidades = async () => {\n const response = await getUnidades('sisged');\n const unidades = await response.map(item => item.unidade);\n\n setUnidades(unidades);\n };\n\n if (searchBy === 'código') {\n setSearchLabel('Digite o código:');\n setSearch('');\n } else if (searchBy === 'nome') {\n setSearchLabel('Digite o nome:');\n setSearch('');\n } else if (searchBy === 'status') {\n setSearchLabel('Selecione o status:');\n setSearch('');\n } else if (searchBy === 'Todos') {\n setSearchLabel('Clique em Buscar');\n setSearch('');\n } else if (searchBy === 'categoria' || searchBy === 'subcategoria') {\n setSearchLabel('Selecione a categoria:');\n setSearch('');\n\n getAllCategorias();\n } else if (searchBy === 'unidade') {\n setSearchLabel('Selecione a unidade:');\n setSearch('');\n\n getAllUnidades();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [searchBy]);\n\n useEffect(() => {\n const handlePopState = async() => {\n setLoading(true);\n\n const queryParams = new URLSearchParams(window.location.search);\n const pagina = queryParams.get('pagina') || '1';\n const busca = queryParams.get('busca') || '';\n const valor = queryParams.get('valor') || '';\n\n setCurrentPage(Number(pagina));\n setSearchBy(busca);\n setSearch(valor ? decodeURIComponent(valor) : '');\n \n if (busca && valor) {\n await getChamadosFiltered();\n } else {\n await getChamados();\n }\n\n setLoading(false);\n };\n\n window.addEventListener('popstate', handlePopState);\n\n return () => {\n window.removeEventListener('popstate', handlePopState);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const getChamadosFiltered = async () => {\n setLoading(true);\n \n const login = JSON.parse(localStorage.getItem('login'));\n const email = decrypt(login?.user?.email);\n let role;\n let cripto;\n\n if (isAdmin) {\n role = 'ADMIN';\n } else if (isResp) {\n role = 'RESP';\n } else {\n role = 'USER';\n }\n\n if (searchBy === 'nome') {\n cripto = true;\n } else {\n cripto = false;\n }\n\n if (isAdmin) {\n const response = await getChamadosBusca(searchBy, search, cripto, role);\n \n setChamados(response);\n setLoading(false);\n\n return;\n } else if (isResp) {\n const response = await getChamadosByResponder(email, currentPage, 100000, filterBy, orderBy);\n\n const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Empresa Responsável') {\n return item?.suporteTi?.empresaResp === search;\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n }\n\n return item[searchBy] === search;\n });\n\n setChamados(chamadosFiltro);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n setLoading(false);\n\n return;\n } else if (isUser) {\n const response = await getChamadosByUser(email, currentPage, 100000, filterBy, orderBy);\n\n const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n }\n\n return item[searchBy] === search;\n });\n\n setChamados(chamadosFiltro);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n setLoading(false);\n\n return;\n } else {\n const response = await getChamadosByUser(email, currentPage, 100000, filterBy, orderBy);\n\n const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n }\n\n return item[searchBy] === search;\n });\n\n setChamados(chamadosFiltro);\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n setLoading(false);\n\n return;\n }\n };\n\n useEffect(() => {\n setLoading(true);\n getChamados();\n\n window.scrollTo(0, 0);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isRedirect]);\n\n const handleSearchBy = e => {\n setSearchBy(e.target.value);\n };\n\n const handleSearch = e => {\n if (searchBy === 'código') {\n e.target.value = digitsMask(e.target.value);\n\n setSearch(e.target.value);\n } else {\n setSearch(e.target.value);\n }\n };\n\n useEffect(() => {\n setLoading(true);\n\n const getChamadosTodos = async () => {\n const login = JSON.parse(localStorage.getItem('login'));\n const email = decrypt(login?.user?.email);\n\n if (isAdmin) {\n const response = await getCodigosChamados(email, 'ADMIN');\n\n setCodigos(response);\n setLoading(false);\n\n return;\n } else if (isResp) {\n const response = await getCodigosChamados(email, 'RESP');\n\n setCodigos(response);\n setLoading(false);\n\n return;\n } else {\n const response = await getCodigosChamados(email, '');\n\n setCodigos(response);\n setLoading(false);\n\n return;\n }\n };\n\n getChamadosTodos();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleModalClose = () => {\n setShowModal(false);\n };\n\n const handleModalBuscaClose = () => {\n setShowModalBusca(false);\n };\n\n useEffect(() => {\n setIsRedirect(props?.location?.state?.isRedirect);\n\n if (props?.location?.state?.isRedirect) {\n history.push({\n pathname: '/solicitacoes',\n state: { isRedirect: false }\n });\n\n setShowModal(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleSubmit = e => {\n e.preventDefault();\n setLoading(true);\n\n if (searchBy === 'Todos') {\n getChamados();\n setSearchBy('');\n history.push(`/solicitacoes?pagina=${currentPage}&busca=Todos`);\n setLoading(false);\n\n return;\n }\n\n if (searchBy === 'código') {\n if (codigos.includes(Number(search))) {\n history.push(`/solicitacao/${search}`);\n\n return;\n }\n\n setShowModalBusca(true);\n setLoading(false);\n\n return;\n }\n\n setLoading(true);\n\n const getChamadosFiltered = async () => {\n const login = JSON.parse(localStorage.getItem('login'));\n const email = decrypt(login?.user?.email);\n let role;\n let cripto;\n\n if (isAdmin) {\n role = 'ADMIN';\n } else if (isResp) {\n role = 'RESP';\n } else {\n role = 'USER';\n }\n\n if (searchBy === 'nome') {\n cripto = true;\n } else {\n cripto = false;\n }\n\n if (isAdmin) {\n const response = await getChamadosBusca(searchBy, search, cripto, role);\n\n /* const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n } else if (searchBy === 'data') {\n return item['createdAt'].split('T')[0] === search;\n }\n\n return item[searchBy] === search;\n }); */\n\n setChamados(response);\n\n setLoading(false);\n\n return;\n } else if (isResp) {\n const response = await getChamadosByResponder(email, 1, 100000, filterBy, orderBy);\n\n const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Empresa Responsável') {\n return item?.suporteTi?.empresaResp === search;\n } else if (searchBy === 'data') {\n let dataItem;\n\n if (item?.solicitacaoVeiculo?.veiculoData) {\n dataItem = item?.solicitacaoVeiculo?.veiculoData.startsWith(search);\n } else if (item?.solicitacaoMotoboy?.motoboyData) {\n dataItem = item?.solicitacaoMotoboy?.motoboyData.startsWith(search);\n } else {\n dataItem = item.createdAt.startsWith(search);\n }\n\n return dataItem;\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n }\n\n return item[searchBy] === search;\n });\n\n setChamados(chamadosFiltro);\n\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n } else if (isUser) {\n const response = await getChamadosByUser(email, currentPage, 100000, filterBy, orderBy);\n\n const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n }\n\n return item[searchBy] === search;\n });\n\n setChamados(chamadosFiltro);\n\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n } else {\n const response = await getChamadosByUser(email, currentPage, 100000, filterBy, orderBy);\n\n const chamadosFiltro = response?.chamados.filter(item => {\n if (searchBy === 'nome') {\n return item[searchBy] === encrypt(search);\n } else if (searchBy === 'Todos') {\n setSearch('');\n\n return item;\n }\n\n return item[searchBy] === search;\n });\n\n setChamados(chamadosFiltro);\n\n setCurrentPage(response?.currentPage);\n setTotalPages(response?.totalPages);\n\n setLoading(false);\n\n return;\n }\n };\n history.push(`/solicitacoes?pagina=${currentPage}&busca=${searchBy}&valor=${search}`);\n\n getChamadosFiltered();\n };\n\n const toNewTicket = () => {\n history.push('/solicitacoes/novo');\n };\n\n const toExcel = async () => {\n setExcelLoading(true);\n\n const login = JSON.parse(localStorage.getItem('login'));\n const email = decrypt(login?.user?.email);\n\n const fileName = 'solicitacoes';\n const exportType = 'xls';\n\n let getAll;\n\n if (isAdmin) {\n getAll = await getAllChamados(1, 100000);\n } else if (isResp) {\n getAll = await getChamadosByResponder(email, 1, 100000);\n } else {\n getAll = await getChamadosByUser(email, 1, 100000);\n }\n\n const allData = getAll.chamados;\n \n const data = allData.map(item => { \n const excelData = {\n id: item._id,\n numero_chamado: item.numeroChamado,\n email: decrypt(item.email),\n nome: decrypt(item.nome),\n telefone: item.telefone ? decrypt(item.telefone) : '',\n unidade: item.unidade,\n categoria: item.categoria,\n subcategoria: item.subcategoria,\n login_sistemas: item.loginSistemas ? item.loginSistemas.sistema : '',\n relato: item.relato ? item.relato : '',\n sla: item.sla,\n status: item.status,\n equipamentoEngenhariaClinica: item.equipamentoEngenhariaClinica,\n responder: decrypt(item.responder),\n observacao: item.obs ? item.obs : '',\n veiculo_data: !item.solicitacaoVeiculo?.veiculoData ? '' : formatDate(item.solicitacaoVeiculo?.veiculoData),\n veiculo_hora: item.solicitacaoVeiculo?.veiculoHora,\n veiculo_tempo: item.solicitacaoVeiculo?.veiculoTempo,\n veiculo_passageiro: item.solicitacaoVeiculo?.veiculoPassageiro,\n veiculo_telefone: item.solicitacaoVeiculo?.veiculoTelefone,\n veiculo_motivo: item.solicitacaoVeiculo?.veiculoMotivo,\n veiculo_saida: item.solicitacaoVeiculo?.veiculoSaida,\n veiculo_destino: item.solicitacaoVeiculo?.veiculoDestino,\n data_inicio: !item.createdAt ? '' : formatDate(item.createdAt),\n data_final: !item.finalAt ? '' : formatDate(item.finalAt),\n pontoEletronico: item.pontoEletronico?.assunto,\n };\n\n if (item.materiaisEscritorio.length > 0) {\n Array.from({ length: item.materiaisEscritorio.length }).forEach((_, i) => {\n excelData[`materiais_escritorio_nome_${i + 1}`] = item.materiaisEscritorio[i].material;\n excelData[`materiais_escritorio_qtd_${i + 1}`] = item.materiaisEscritorio[i].quantidade;\n });\n }\n\n if (item.materiaisLimpeza.length > 0) {\n Array.from({ length: item.materiaisLimpeza.length }).forEach((_, i) => {\n excelData[`materiais_limpeza_nome_${i + 1}`] = item.materiaisLimpeza[i].material;\n excelData[`materiais_limpeza_qtd_${i + 1}`] = item.materiaisLimpeza[i].quantidade;\n });\n }\n\n if (item.materiaisExpediente.length > 0) {\n Array.from({ length: item.materiaisExpediente.length }).forEach((_, i) => {\n excelData[`materiais_expediente_nome_${i + 1}`] = item.materiaisExpediente[i].material;\n excelData[`materiais_expediente_qtd_${i + 1}`] = item.materiaisExpediente[i].quantidade;\n });\n }\n\n if (item.briefing) {\n excelData['briefingPorque'] = item.briefing.briefingPorque;\n excelData['briefingMedidas'] = item.briefing.briefingMedidas;\n excelData['briefingOnde'] = item.briefing.briefingOnde;\n excelData['briefingPrazo'] = formatDate(item.briefing.briefingPrazo);\n excelData['briefingDetalhe'] = item.briefing.briefingDetalhe;\n\n if (item.briefing.briefingArquivos.length > 0) {\n Array.from({ length: item.briefing.briefingArquivos.length }).forEach((_, i) => {\n excelData[`briefing_arquivo_originalName_${i + 1}`] = item.briefing.briefingArquivos[i].originalName;\n excelData[`briefing_arquivo_fileName_${i + 1}`] = item.briefing.briefingArquivos[i].fileName;\n });\n }\n }\n\n if (item.erp) {\n excelData['erpNome'] = decrypt(item.erp.erpNome);\n excelData['erpEmail'] = decrypt(item.erp.erpEmail);\n excelData['erpMatricula'] = item.erp.erpMatricula;\n excelData['erpUnidade'] = item.erp.erpUnidade;\n excelData['erpAdministrador'] = item.erp.erpAdministrador;\n excelData['erpCadastrosComuns'] = item.erp.erpCadastrosComuns;\n excelData['erpCadastrosComumFinanceiro'] = item.erp.erpCadastrosComumFinanceiro;\n excelData['erpGestaoDeProcessos'] = item.erp.erpGestaoDeProcessos;\n excelData['erpCompras'] = item.erp.erpCompras;\n excelData['erpContratoCompras'] = item.erp.erpContratoCompras;\n excelData['erpContasPagar'] = item.erp.erpContasPagar;\n excelData['erpPagamentoEscritural'] = item.erp.erpPagamentoEscritural;\n excelData['erpContasReceber'] = item.erp.erpContasReceber;\n excelData['erpTesouraria'] = item.erp.erpTesouraria;\n excelData['erpIntegracaoPadrao'] = item.erp.erpIntegracaoPadrao;\n excelData['erpContabil'] = item.erp.erpContabil;\n excelData['erpPatrimonio'] = item.erp.erpPatrimonio;\n excelData['erpOrcamento'] = item.erp.erpOrcamento;\n excelData['erpReinf'] = item.erp.erpReinf;\n excelData['erpEfd'] = item.erp.erpEfd;\n excelData['erpEcd'] = item.erp.erpEcd;\n excelData['erpEcf'] = item.erp.erpEcf;\n }\n\n if (item.suporteTi) {\n excelData['ti_telefone_contato'] = item.suporteTi.telContatoTi ? decrypt(item.suporteTi.telContatoTi) : '';\n excelData['ti_patrimonio'] = item.suporteTi.patrimonioTi;\n excelData['empresa_responsavel'] = item.suporteTi.empresaResp;\n }\n\n return excelData;\n });\n\n exportFromJSON({ data, fileName, exportType });\n\n setExcelLoading(false);\n };\n\n const handleSortCodigo = () => {\n setSortCodigo(!sortCodigo);\n\n if (!sortCodigo) {\n setFilterBy('numeroChamado');\n setOrderBy('asc');\n } else {\n setFilterBy('numeroChamado');\n setOrderBy('desc');\n }\n };\n\n const handleSortCategoria = () => {\n setSortCategoria(!sortCategoria);\n\n if (!sortCategoria) {\n setFilterBy('categoria');\n setOrderBy('asc');\n } else {\n setFilterBy('categoria');\n setOrderBy('desc');\n }\n };\n\n const handleSortNome = () => {\n setSortNome(!sortNome);\n\n if (!sortNome) {\n setFilterBy('nome');\n setOrderBy('asc');\n } else {\n setFilterBy('nome');\n setOrderBy('desc');\n }\n };\n\n const handleSortUnidade = () => {\n setSortUnidade(!sortUnidade);\n\n if (!sortUnidade) {\n setFilterBy('unidade');\n setOrderBy('asc');\n } else {\n setFilterBy('unidade');\n setOrderBy('desc');\n }\n };\n\n const handleSortSubcategoria = () => {\n setSortSubcategoria(!sortSubcategoria);\n\n if (!sortSubcategoria) {\n setFilterBy('subcategoria');\n setOrderBy('asc');\n } else {\n setFilterBy('subcategoria');\n setOrderBy('desc');\n }\n };\n\n const handleSortStatus = () => {\n setSortStatus(!sortStatus);\n\n if (!sortStatus) {\n setFilterBy('status');\n setOrderBy('asc');\n } else {\n setFilterBy('status');\n setOrderBy('desc');\n }\n };\n\n const handleSortDataInicio = () => {\n setSortDataInicio(!sortDataInicio);\n\n if (!sortDataInicio) {\n setFilterBy('createdAt');\n setOrderBy('asc');\n } else {\n setFilterBy('createdAt');\n setOrderBy('desc');\n }\n };\n\n const toGraficos = () => {\n history.push('/solicitacoes/graficos');\n };\n\n const searchOptions = [\n 'Todos',\n 'código',\n 'categoria',\n 'subcategoria',\n 'nome',\n 'unidade',\n 'status',\n 'data'\n ];\n\n const login = JSON.parse(localStorage.getItem('login'));\n const email = decrypt(login?.user?.email);\n\n if (isAdmin || email === 'informatica@fesaude.niteroi.rj.gov.br' || email === 'titenq@gmail.com') {\n searchOptions.push('Empresa Responsável');\n }\n\n const statusOptions = [\n 'Aberto',\n 'Em Andamento',\n 'Cancelado',\n 'Finalizado'\n ];\n\n useEffect(() => {\n const queryParams = new URLSearchParams(location.search);\n const pagina = queryParams.get('pagina');\n const busca = queryParams.get('busca');\n const valor = queryParams.get('valor');\n\n if (pagina) {\n setCurrentPage(Number(pagina));\n }\n\n if (busca) {\n setSearchBy(busca);\n }\n\n if (valor) {\n setSearch(decodeURIComponent(valor));\n getChamadosFiltered();\n } else {\n getChamados();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [location.search]);\n\n useEffect(() => {\n if (!searchBy && !search) {\n getChamados();\n window.scrollTo(0, 0);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [currentPage, isAdmin, isResp, isUser, isRedirect, filterBy, orderBy]);\n\n return (\n \n
\n

Solicitações

\n
\n {(isUser || isConsulta) && (\n \n )}\n \n {!excelLoading && (\n \n )}\n\n {excelLoading && (\n \n )}\n\n {(isAdmin || isResp) && (\n \n )}\n
\n
\n\n {loading && }\n\n {!loading && (\n \n \n \n \n Buscar por:\n handleSearchBy(e)}\n value={searchBy}\n >\n \n {searchOptions && searchOptions.map(item => (\n \n ))}\n \n \n \n\n {(searchBy === 'código' || searchBy === 'nome') && (\n \n \n {searchLabel}\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n />\n \n \n )}\n\n {searchBy === 'categoria' && (\n \n \n Selecione a categoria:\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n >\n \n {categorias && categorias.map(item => (\n \n ))}\n \n \n \n )}\n\n {searchBy === 'subcategoria' && (\n \n \n Selecione a subcategoria:\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n >\n \n {subcategorias && subcategorias.map(item => (\n \n ))}\n \n \n \n )}\n\n {searchBy === 'unidade' && (\n \n \n Selecione a unidade:\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n >\n \n {unidades && unidades.map(item => (\n \n ))}\n \n \n \n )}\n\n {searchBy === 'status' && (\n \n \n Selecione o status:\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n >\n \n {statusOptions.map(item => (\n \n ))}\n \n \n \n )}\n \n {searchBy === 'Empresa Responsável' && (\n \n \n Selecione a Empresa Responsável:\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n >\n \n {tiEmpresasResp.map(item => (\n \n ))}\n \n \n \n )}\n\n {searchBy === 'data' && (\n \n \n Selecione uma data:\n handleSearch(e)}\n value={search}\n disabled={!searchBy}\n />\n \n \n )}\n\n \n \n \n \n \n )}\n\n {!loading && chamados?.length <= 0 && (\n

Você ainda não tem nenhuma solicitação cadastrada.

\n )}\n\n {!loading && chamados?.length > 0 && (\n <>\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n {chamados && chamados.map(chamado => {\n return (\n \n \n \n \n \n \n \n \n \n );\n })}\n \n
\n
\n Código \n {\n !sortCodigo ?\n :\n \n }\n
\n
\n
\n Categoria\n {\n !sortCategoria ?\n :\n \n }\n
\n
\n
\n Subcategoria \n {\n !sortSubcategoria ?\n :\n \n }\n
\n
\n
\n Nome\n {\n !sortNome ?\n :\n \n }\n
\n
\n
\n Unidade \n {\n !sortUnidade ?\n :\n \n }\n
\n
\n
\n Status \n {\n !sortStatus ?\n :\n \n }\n
\n
\n
\n Data Início\n {\n !sortDataInicio ?\n :\n \n }\n
\n
{includeLeftZero(chamado.numeroChamado)}{chamado.categoria}{chamado.subcategoria}{decrypt(chamado.nome)}{chamado.unidade}{chamado.status}{new Date(chamado.createdAt).toLocaleDateString()}
\n\n {((!searchBy && !search) || searchBy === 'Todos') && (\n \n )}\n\n \n \n Sucesso\n \n Solicitação gravada com sucesso!\n \n \n \n \n\n \n \n Erro!\n \n Não existe o código digitado na sua lista de solicitações\n \n \n \n \n \n )}\n
\n );\n};\n\nexport default Chamados;\n","export const listaAtencaoBasica = [\n {\n id: 1,\n nome: 'Aciclovir 200 mg Comprimido'\n },\n {\n id: 2,\n nome: 'Ácido acetilsalicílico 100 mg Comprimido'\n },\n {\n id: 3,\n nome: 'Ácido fólico 5 mg Comprimido'\n },\n {\n id: 4,\n nome: 'Albendazol 40 mg / ml suspensão oral 10 ml Frasco'\n },\n {\n id: 5,\n nome: 'Albendazol 400 mg Comprimido'\n },\n {\n id: 6,\n nome: 'Alendronato de sódio 70mg Comprimido'\n },\n {\n id: 7,\n nome: 'Alopurinol 100 mg Comprimido'\n },\n {\n id: 8,\n nome: 'Ambroxol 3 mg / ml xarope 120 ml Frasco'\n },\n {\n id: 9,\n nome: 'Amiodarona 200 mg Comprimido'\n },\n {\n id: 10,\n nome: 'Amoxicilina + clavulanato de potássio 250 + 62, 5 mg / 5 ml - 75 ml Frasco'\n },\n {\n id: 11,\n nome: 'Amoxicilina 250 mg / 5 ml 60 ml Frasco'\n },\n {\n id: 12,\n nome: 'Amoxicilina 500 mg Comprimido'\n },\n {\n id: 13,\n nome: 'Amoxicilina 500 mg + clavulanato de potássio 125 mg Comprimido'\n },\n {\n id: 14,\n nome: 'Anlodipina 5mg Comprimido'\n },\n {\n id: 15,\n nome: 'Anlodipino 10 mg Comprimido'\n },\n {\n id: 16,\n nome: 'Atenolol 25mg Comprimido'\n },\n {\n id: 17,\n nome: 'Atenolol 50 mg Comprimido'\n },\n {\n id: 18,\n nome: 'Azitromicina 40 mg / mL suspensão oral 30ml Frasco'\n },\n {\n id: 19,\n nome: 'Azitromicina 500 mg Comprimido'\n },\n {\n id: 20,\n nome: 'Beclometasona 200 mcg inalatório uso oral Frasco'\n },\n {\n id: 21,\n nome: 'Beclometasona 50 mcg inalatório spray nasal Frasco'\n },\n {\n id: 22,\n nome: 'Benzilpenicilinabenzatina 1.200.000UI pó para solução injetável Frasco / Ampola'\n },\n {\n id: 23,\n nome: 'Benzilpenicilina benzatina 600.000UI pó para solução injetável Frasco / Ampola'\n },\n {\n id: 24,\n nome: 'Benzilpenicilina procaina 300.000UI + Benzilpenicilina potássica 100.000UI pó para solução injetável Frasco / Ampola'\n },\n {\n id: 25,\n nome: 'Bromoprida 4 mg / ml 20 ml solução oral gotas Frasco'\n },\n {\n id: 26,\n nome: 'Budesonida 32mcg 120 doses suspensão spray nasal Frasco'\n },\n {\n id: 27,\n nome: 'Cabergolina 0, 5mg Comprimido'\n },\n {\n id: 28,\n nome: 'Captopril 25 mg Comprimido'\n },\n {\n id: 29,\n nome: 'Carbonato de cálcio 1250 mg(equiv 500 mg Ca++) Comprimido'\n },\n {\n id: 30,\n nome: 'Carbonato de cálcio 500mg + Colecalciferol 400 UI Comprimido'\n },\n {\n id: 31,\n nome: 'Carvedilol 3, 125 mg Comprimido'\n },\n {\n id: 32,\n nome: 'Carvedilol 12, 5 mg Comprimido'\n },\n {\n id: 33,\n nome: 'Cefalexina 250 mg / 5 ml pó para suspensão oral 60 ml Frasco Cefalexina 500 mg - cápsula ou comprimido revestido Comprimido'\n },\n {\n id: 34,\n nome: 'Ceftriaxona 500mg uso IV / IM injetável Frasco / Ampola'\n },\n {\n id: 35,\n nome: 'Ciclopentolato 1 % solução ofmálmica 5ml Frasco'\n },\n {\n id: 36,\n nome: 'Ciprofloxacino 500 mg Comprimido'\n },\n {\n id: 37,\n nome: 'Claritromicina 500mg Comprimido'\n },\n {\n id: 38,\n nome: 'Claritromicina 50mg / ml suspensão oral 60ml Frasco'\n },\n {\n id: 39,\n nome: 'Clindamicina 300mg Cápsula'\n },\n {\n id: 40,\n nome: 'Cloreto de sódio 0, 9 % solução nasal 30 ml Frasco'\n },\n {\n id: 41,\n nome: 'Dexametasona 4mg Comprimido'\n },\n {\n id: 42,\n nome: 'Dexametasona 0, 5mg Comprimido'\n },\n {\n id: 43,\n nome: 'Dexametasona 0, 1mg / ml solução oral 100ml Frasco'\n },\n {\n id: 44,\n nome: 'Dexametasona 0, 1 % creme 10 gramas Bisnaga'\n },\n {\n id: 45,\n nome: 'Dexametasona 0, 1 % 5ml solução oftálmica Frasco'\n },\n {\n id: 46,\n nome: 'Dexclorfeniramina 2 mg Comprimido'\n },\n {\n id: 47,\n nome: 'Dexclorfeniramina 0, 4mg / ml solução oral 120ml Frasco'\n },\n {\n id: 48,\n nome: 'Digoxina 0,25mg Comprimido'\n },\n {\n id: 49,\n nome: 'Digoxina 0,05mg / ml elixir oral 60ml Frasco'\n },\n {\n id: 50,\n nome: 'Diltiazem 60 mg Comprimido'\n },\n {\n id: 51,\n nome: 'Dipirona 500 mg Comprimido'\n },\n {\n id: 52,\n nome: 'Dipirona 500 mg / ml solução oral gotas 10 ml Frasco'\n },\n {\n id: 53,\n nome: 'Enalapril 10 mg Comprimido'\n },\n {\n id: 54,\n nome: 'Enalapril 20 mg Comprimido'\n },\n {\n id: 55,\n nome: 'Enalapril 5 mg Comprimido'\n },\n {\n id: 56,\n nome: 'Eritromicina 500 mg Comprimido'\n },\n {\n id: 57,\n nome: 'Eritromicina 50 mg / mL suspensão oral 60ml Frasco'\n },\n {\n id: 58,\n nome: 'Escopolamina, butilbrometo 10mg Comprimido'\n },\n {\n id: 59,\n nome: 'Espiramicina 500mg(1.500.000UI) Comprimido'\n },\n {\n id: 60,\n nome: 'Espironolactona 100 mg Comprimido'\n },\n {\n id: 61,\n nome: 'Espironolactona 25 mg Comprimido'\n },\n {\n id: 62,\n nome: 'Estriol creme vaginal 1mg / g 50 gramas Bisnaga'\n },\n {\n id: 63,\n nome: 'Fenofibrato 200mg Comprimido'\n },\n {\n id: 64,\n nome: 'Fenoterol 5mg / ml solução para inalação 20ml Frasco'\n },\n {\n id: 65,\n nome: 'Fluconazol 150 mg Cápsula'\n },\n {\n id: 66,\n nome: 'Fluoresceina 1% solução oftálmica 3ml Frasco'\n },\n {\n id: 67,\n nome: 'Folinato de cálcio 15mg Comprimido'\n },\n {\n id: 68,\n nome: 'Furosemida 40 mg Comprimido'\n },\n {\n id: 69,\n nome: 'Gabapentina 400mg Comprimido'\n },\n {\n id: 70,\n nome: 'Gentamicina 0,5% solução oftálmica 5ml Frasco'\n },\n {\n id: 71,\n nome: 'Glibenclamida 5 mg Comprimido Glicazida 30 mg comprimido de liberação prolongada Comprimido'\n },\n {\n id: 72,\n nome: 'Hidralazina 25 mg Comprimido'\n },\n {\n id: 73,\n nome: 'Hidroclorotiazida 25 mg Comprimido'\n },\n {\n id: 74,\n nome: 'Hidrocortisona creme 10mg / g 30 gramas Bisnaga'\n },\n {\n id: 75,\n nome: 'Hidróxido de alumínio 60 a 62mg / ml suspensão oral 100ml Frasco'\n },\n {\n id: 76,\n nome: 'Hipromelose 0,3% solução oftálmica 5ml Frasco'\n },\n {\n id: 77,\n nome: 'Ibuprofeno 50mg / ml suspensão oral gotas 30ml Frasco'\n },\n {\n id: 78,\n nome: 'Ibuprofeno 200 mg Comprimido'\n },\n {\n id: 79,\n nome: 'Ibuprofeno 600 mg Comprimido'\n },\n {\n id: 80,\n nome: 'Insulina humana regular 100 UI / ml 10 ml Frasco / Ampola'\n },\n {\n id: 81,\n nome: 'Insulina humana regular 100UI / ml flexpen 3ml Caneta'\n },\n {\n id: 82,\n nome: 'Insulina NPH humana 100 UI / ml 10 ml Frasco / Ampola'\n },\n {\n id: 83,\n nome: 'Insulina NPH humana 100UI / ml flexpen 3ml Caneta'\n },\n {\n id: 84,\n nome: 'Ipratrópio 0,25mg / ml 20ml solução para inalação Frasco'\n },\n {\n id: 85,\n nome: 'Isossorbida dinitrato 5 mg sublingual Comprimido'\n },\n {\n id: 86,\n nome: 'Isossorbida mononitrato 20 mg Comprimido'\n },\n {\n id: 87,\n nome: 'Isossorbida mononitrato 40 mg Comprimido'\n },\n {\n id: 88,\n nome: 'Itraconazol 100mg Cápsula'\n },\n {\n id: 89,\n nome: 'Ivermectina 6 mg Comprimido'\n },\n {\n id: 90,\n nome: 'Levodopa 250 mg + carbidopa 25 mg Comprimido'\n },\n {\n id: 91,\n nome: 'Levodopa 200 mg + benzerazida 50 mg Comprimido'\n },\n {\n id: 92,\n nome: 'Levodopa 100mg + benzerazida 25mg ação prolongada Comprimido'\n },\n {\n id: 93,\n nome: 'Levonorgestrel 0, 15 mg + Etinilestradiol 0, 03 mg Comprimido'\n },\n {\n id: 94,\n nome: 'Levonorgestrel 0, 75 mg Comprimido'\n },\n {\n id: 95,\n nome: 'Levotiroxina 100 mcg Comprimido'\n },\n {\n id: 96,\n nome: 'Levotiroxina 25 mcg Comprimido'\n },\n {\n id: 97,\n nome: 'Levotiroxina 50 mcg Comprimido'\n },\n {\n id: 98,\n nome: 'Loratadina 10 mg Comprimido'\n },\n {\n id: 99,\n nome: 'Loratadina 5 mg / 5mL xarope 100ml Frasco'\n },\n {\n id: 100,\n nome: 'Losartana potássica 50mg Comprimido'\n },\n {\n id: 101,\n nome: 'Medroxiprogesterona acetato 150mg / ml 1ml Frasco / Ampola'\n },\n {\n id: 102,\n nome: 'Metadona 10mg Comprimido'\n },\n {\n id: 103,\n nome: 'Metformina 500 mg Comprimido'\n },\n {\n id: 104,\n nome: 'Metformina 850 mg Comprimido'\n },\n {\n id: 105,\n nome: 'Metildopa 250 mg Comprimido'\n },\n {\n id: 106,\n nome: 'Metoclopramida 10 mg Comprimido'\n },\n {\n id: 107,\n nome: 'Metoclopramida 4 mg / ml gotas 10 ml Frasco'\n },\n {\n id: 108,\n nome: 'Metoprolol 25mg de liberação prolongada Comprimido'\n },\n {\n id: 109,\n nome: 'Metronidazol 250 mg Comprimido'\n },\n {\n id: 110,\n nome: 'Metronidazol 400mg Comprimido'\n },\n {\n id: 111,\n nome: 'Metronidazol 100 mg / g creme vaginal com aplicador Bisnaga'\n },\n {\n id: 112,\n nome: 'Metronidazolbenzoil 40mg / ml 100ml suspensão oral Frasco'\n },\n {\n id: 113,\n nome: 'Miconazol nitrato 2% 30ml loção Frasco'\n },\n {\n id: 114,\n nome: 'Miconazol nitrato 20mg / g 28 gramas creme uso tópico Bisnaga'\n },\n {\n id: 115,\n nome: 'Miconazol 20 mg / g creme vaginal 80 g Bisnaga'\n },\n {\n id: 116,\n nome: 'Neomicina + bacitracina tubo com 10 g Bisnaga'\n },\n {\n id: 117,\n nome: 'Nicotina 14mg Adesivo'\n },\n {\n id: 118,\n nome: 'Nicotina 21mg Adesivo'\n },\n {\n id: 119,\n nome: 'Nicotina 7mg Adesivo'\n },\n {\n id: 120,\n nome: 'Nifedipina 20 mg(Liberação controlada) Comprimido'\n },\n {\n id: 121,\n nome: 'Nistatina 100.000 UI / ml suspensão oral 50 ml Frasco'\n },\n {\n id: 122,\n nome: 'Nitrofurantoina 100mg Comprimido'\n },\n {\n id: 123,\n nome: 'Noretisterona 0, 35mg Comprimido'\n },\n {\n id: 124,\n nome: 'Noretisterona 50mg / ml + Estradiol 5mg / ml 1ml Ampola'\n },\n {\n id: 125,\n nome: 'Óleo mineral puro 100 ml Frasco'\n },\n {\n id: 126,\n nome: 'Omeprazol 20 mg Comprimido'\n },\n {\n id: 127,\n nome: 'Oseltamivir, fosfato 30mg Comprimido'\n },\n {\n id: 128,\n nome: 'Oseltamivir, fosfato 45mg Comprimido'\n },\n {\n id: 129,\n nome: 'Oseltamivir, fosfato 75mg Comprimido'\n },\n {\n id: 130,\n nome: 'Óxido de zinco 150 mg + vitamina D 900 UI / g + vitamina A 5000 UI / 45g Bisnaga'\n },\n {\n id: 131,\n nome: 'Paracetamol 200 mg / mL solução oral gotas 15ml Frasco'\n },\n {\n id: 132,\n nome: 'Paracetamol 500 mg Comprimido'\n },\n {\n id: 133,\n nome: 'Pentoxifilina 400mg Comprimido'\n },\n {\n id: 134,\n nome: 'Permanganato de potássio 100 mg Comprimido'\n },\n {\n id: 135,\n nome: 'Permetrina 1% loção 60ml Frasco'\n },\n {\n id: 136,\n nome: 'Permetrina 5% loção emulsionada 60 mL Frasco'\n },\n {\n id: 137,\n nome: 'Pirimetamina 25mg Comprimido'\n },\n {\n id: 138,\n nome: 'Prednisolona 1,34 mg / mL solução oral 100 mL Frasco'\n },\n {\n id: 139,\n nome: 'Prednisona 20 mg Comprimido'\n },\n {\n id: 140,\n nome: 'Prednisona 5 mg Comprimido'\n },\n {\n id: 141,\n nome: 'Propafenona 300mg Comprimido'\n },\n {\n id: 142,\n nome: 'Propriltiouracil 100mg Comprimido'\n },\n {\n id: 143,\n nome: 'Propranolol 40 mg Comprimido'\n },\n {\n id: 144,\n nome: 'Proximetacaina 5mg / ml solução oftálmica 5ml Frasco'\n },\n {\n id: 145,\n nome: 'Ranitidina 150 mg Comprimido'\n },\n {\n id: 146,\n nome: 'Sais para reidratação pó para solução oral 27, 9 g Envelope'\n },\n {\n id: 147,\n nome: 'Salbutamol 100 mcg aerossol inalatório com 200 doses Frasco'\n },\n {\n id: 148,\n nome: 'Simeticona 75mg / ml solução oral gotas 15ml Frasco'\n },\n {\n id: 149,\n nome: 'Sinvastatina 20 mg Comprimido'\n },\n {\n id: 150,\n nome: 'Sinvastatina 40 mg Comprimido'\n },\n {\n id: 151,\n nome: 'Sulfadiazina 500 mg Comprimido'\n },\n {\n id: 152,\n nome: 'Sulfametoxazol 200 mg + Trimetroprima 40 mg / 5 ml susp.oral 60 ml Frasco'\n },\n {\n id: 153,\n nome: 'Sulfametoxazol 400 mg + trimetoprima 80 mg Comprimido'\n },\n {\n id: 154,\n nome: 'Sulfato Ferroso 12,5 mg / 2, 5ml 100ml xarope Frasco'\n },\n {\n id: 155,\n nome: 'Sulfato ferroso 25 mg / ml solução oral 30 ml Frasco'\n },\n {\n id: 156,\n nome: 'Sulfato Ferroso 40mg de ferro elementar Dragea'\n },\n {\n id: 157,\n nome: 'Timolol 0,5% solução oftálmica 5ml Frasco'\n },\n {\n id: 158,\n nome: 'Varfarina 1mg Comprimido'\n },\n {\n id: 159,\n nome: 'Varfarina 5mg Comprimido'\n },\n {\n id: 160,\n nome: 'Verapamil 80 mg Comprimido'\n },\n {\n id: 161,\n nome: 'Vitamina A + D solução oral gotas 10 ml Frasco'\n },\n {\n id: 162,\n nome: 'Vitamina A 100.000UI Cápsula'\n },\n {\n id: 163,\n nome: 'Vitamina A 200.000UI Cápsula'\n },\n {\n id: 164,\n nome: 'Vitamina B6 100mg Comprimido'\n },\n {\n id: 165,\n nome: 'Vitamina B1 300mg Comprimido'\n },\n {\n id: 166,\n nome: 'Vitamina B12 5000mg solução injeável Ampola'\n },\n {\n id: 167,\n nome: 'Vitamina C solução 200mg / ml solução oral gotas 20ml Frasco'\n },\n {\n id: 168,\n nome: 'Vitamina do complexo B Comprimido'\n },\n {\n id: 169,\n nome: 'Vitaminas do complexo B solução oral gotas 20 ml Frasco'\n }\n];\n\nexport const listaSaudeMental = [\n { id: 1, nome: 'Ácido Valpróico 250mg Comprimido' },\n { id: 2, nome: 'Ácido Valpróico 500mg Comprimido' },\n { id: 3, nome: 'Amitriptilina 25mg Comprimido' },\n { id: 4, nome: 'Amitriptilina 75mg Comprimido' },\n { id: 5, nome: 'Biperideno 2mg Comprimido' },\n { id: 6, nome: 'Bupropiona 150mg Comprimido' },\n { id: 7, nome: 'Carbamazepina 20mg/ml solução oral 100ml Frasco' },\n { id: 8, nome: 'Carbamazepina 200mg Comprimido' },\n { id: 9, nome: 'Carbonato de lítio 300mg Comprimido' },\n { id: 10, nome: 'Clomipramina 25mg Comprimido' },\n { id: 11, nome: 'Clonazepam 0,5mg Comprimido' },\n { id: 12, nome: 'Clonazepam 2mg Comprimido' },\n { id: 13, nome: 'Clonazepam 2,5mg/ml solução oral gotas 20ml Frasco' },\n { id: 14, nome: 'Clorpromazina 100mg Comprimido' },\n { id: 15, nome: 'Clorpromazina 25mg Comprimido' },\n { id: 16, nome: 'Clorpromazina 40mg/mL solução oral gotas 20ml Frasco' },\n { id: 17, nome: 'Diazepan 10mg Comprimido' },\n { id: 18, nome: 'Diazepan 5mg Comprimido' },\n { id: 19, nome: 'Fenitoína 100mg Comprimido' },\n { id: 20, nome: 'Fenitoina 50mg/ml suspensão oral 120ml Frasco' },\n { id: 21, nome: 'Fenobarbital 100mg Comprimido' },\n { id: 22, nome: 'Fenobartital 40mg/ml solução oral gotas 20ml Frasco' },\n { id: 23, nome: 'Flufenazina 5mg Comprimido' },\n { id: 24, nome: 'Fluoxetina 20mg Comprimido' },\n { id: 25, nome: 'Haloperidol 1mg Comprimido' },\n { id: 26, nome: 'Haloperidol 5mg Comprimido' },\n { id: 27, nome: 'Haloperidol 2mg/mL solução oral gotas 20mL Frasco' },\n { id: 28, nome: 'Haloperidol decanoato 50mg/ml 1ml Ampola' },\n { id: 29, nome: 'Imipramina 25mg Comprimido' },\n { id: 30, nome: 'Levomepromazina 100mg Comprimido' },\n { id: 31, nome: 'Levomepromazina 25mg Frasco' },\n { id: 32, nome: 'Levomepromazina 4% solução oral 20ml Frasco' },\n { id: 33, nome: 'Nitrazepan 5mg Comprimido' },\n { id: 34, nome: 'Nortriptilina 25mg Comprimido' },\n { id: 35, nome: 'Nortriptilina 50mg Comprimido' },\n { id: 36, nome: 'Periciazina 1% solução oral 20ml Frasco' },\n { id: 37, nome: 'Periciazina 4% solução oral 20ml Frasco' },\n { id: 38, nome: 'Periciazina 10mg Comprimido' },\n { id: 39, nome: 'Prometazina 25mg Comprimido' },\n { id: 40, nome: 'Risperidona 1mg Comprimido' },\n { id: 41, nome: 'Risperidona 2mg Comprimido' },\n { id: 42, nome: 'Sertralina 25mg Comprimido' },\n { id: 43, nome: 'Tioridazina 100mg Comprimido' },\n { id: 44, nome: 'Tioridazina 25mg Comprimido' },\n { id: 45, nome: 'Tioridazina 50mg Frasco' },\n { id: 46, nome: 'Trifluoperazina 5mg Comprimido' },\n { id: 47, nome: 'Valproato de sódio 57,6mg/mL solução oral 100mL Frasco' }\n];\n","export const listaMateriaisEscritorio = [\n { id: 1, nome: 'Apagador Para Quadro Branco - Unidade' },\n { id: 2, nome: 'Caneta Esferográfica Preta - Unidade' },\n { id: 3, nome: 'Caneta Hidrocor - Estojo com 12 - Caixa' },\n { id: 4, nome: 'Caneta Marca Texto Amarela - Unidade' },\n { id: 5, nome: 'Caneta Marcador de Quadro Branco - azul - Unidade' },\n { id: 6, nome: 'Caneta Marcador de Quadro Branco - preta - Unidade' },\n {\n id: 7,\n nome: 'Caneta Marcador de Quadro Branco - vermelha - Unidade'\n },\n { id: 8, nome: 'Capa Encadernação Preta - Unidade' },\n { id: 9, nome: 'Capa Encadernação Transparente - Unidade' },\n { id: 10, nome: 'Cola Bastão - Unidade' },\n { id: 11, nome: 'Envelope - Papel Kraft - Unidade' },\n { id: 12, nome: 'Estilete - Unidade' },\n { id: 13, nome: 'Extrator de Grampos - Unidade' },\n { id: 14, nome: 'Grampeador Médio - Unidade' },\n { id: 15, nome: 'Livro Ata - Unidade' },\n { id: 16, nome: 'Pen Drive 16 GB - Unidade' },\n { id: 17, nome: 'Pen Drive 8 GB - Unidade' },\n { id: 18, nome: 'Perfurador de Papel Pequeno - Unidade' },\n { id: 19, nome: 'Pilha Alcalina AA - Unidade' },\n { id: 20, nome: 'Pilha Alcalina AAA - Palito - Unidade' },\n { id: 21, nome: 'Porta Material - Unidade' },\n { id: 22, nome: 'Prancheta Portátil - Unidade' },\n { id: 23, nome: 'Quadro Branco 60x90cm - Unidade' },\n { id: 24, nome: 'Tesoura - Unidade' }\n];\n","export const listaMateriaisExpediente = [\n { id: 1, nome: 'Açúcar Refinado - Pacote 1kg - Unidade' },\n { id: 2, nome: 'Adoçante(Sacarina) - 100ml - Unidade' },\n { id: 3, nome: 'Adoçante(Sucralose) - 100ml - Unidade' },\n { id: 4, nome: 'Café - Pacote 500g - Unidade' },\n { id: 5, nome: 'Copo Plástico(200ml) - Pacote' },\n { id: 6, nome: 'Copo Plástico(50ml) - Pacote' },\n { id: 7, nome: 'Detergente - 500ml - Unidade' },\n { id: 8, nome: 'Filtro de Café 102 - Caixa com 30 - Unidade' },\n { id: 9, nome: 'Garrafa Térmica - Unidade' },\n { id: 10, nome: 'Guardanapo - Pacote com 50 - Unidade' }\n];\n","export const listaMateriaisLimpeza = [\n { id: 1, nome: 'Desodorizador Ambiental - 500ml - Unidade' },\n { id: 2, nome: 'Desodorizador Sanitário - 30 a 50g - Unidade' },\n { id: 3, nome: 'Dispenser Para Copos(180 a 200ml) - Unidade' },\n { id: 4, nome: 'Dispenser Para Copos(50 a 80ml) - Unidade' },\n { id: 5, nome: 'Dispenser Para Higienizador Em Gel - Unidade' },\n { id: 6, nome: 'Dispenser Para Papel Higiênico - Unidade' },\n { id: 7, nome: 'Dispenser Para Papel Toalha - Unidade' },\n { id: 8, nome: 'Dispenser Para Sabonete Líquido - Unidade' },\n { id: 9, nome: 'Esponja - Unidade' },\n { id: 10, nome: 'Inseticida - 300ml - Unidade' },\n { id: 11, nome: 'Pano Multiuso - 30m - Unidade' },\n {\n id: 12,\n nome: 'Papel Higiênico - Rolo 300m - Pacote com 8 - Pacote'\n },\n {\n id: 13,\n nome: 'Papel Higiênico - Rolo 30m - Pacote com 4 - Pacote'\n },\n { id: 14, nome: 'Papel Toalha - 1000 - Fardo' },\n { id: 15, nome: 'Sabonete Líquido - Galão 5L - Galão' }\n];\n","import { Form } from 'react-bootstrap';\n\nconst SuporteTi = props => {\n let subcategorias;\n \n if (props.getCategorias?.find(categoria => categoria.id === 1)?.subcategoria && props.unidade !== 'DTEC - Diretoria de Gestão do Trabalho, Ensino e Produção do Conhecimento') {\n subcategorias = props.getCategorias?.find(categoria => categoria.id === 1)?.subcategoria.filter(item => item.nome !== 'Criação de e-mail corporativo');\n } else {\n subcategorias = props.getCategorias?.find(categoria => categoria.id === 1)?.subcategoria;\n }\n \n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {subcategorias.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default SuporteTi;\n","import { Form } from 'react-bootstrap';\n\nconst ManutencaoPredial = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 2)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default ManutencaoPredial;\n","import { Form } from 'react-bootstrap';\n\nconst ManutencaoEquip = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 6)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default ManutencaoEquip;\n","import { Form } from 'react-bootstrap';\n\nconst Reposicao = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 7)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Reposicao;\n","import { Form } from 'react-bootstrap';\n\nconst Veiculo = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 8)?.subcategoria.map(item => (\n \n ))}\n {/* {props.unidade.includes('Diretoria') ?\n props.getCategorias?.find(categoria => categoria.id === 8)?.subcategoria.map(item => (\n \n )) :\n props.getCategorias?.find(categoria => categoria.id === 7)?.subcategoria.map(item => (\n \n ))} */}\n \n \n \n );\n};\n\nexport default Veiculo;\n","import { Form } from 'react-bootstrap';\n\nconst Unidades = props => {\n const userUnidade = props.userUnidade; \n\n return (\n \n *Unidade:\n props.handleUnidade(e)}\n value={userUnidade}\n readOnly\n />\n \n );\n};\n\nexport default Unidades;\n","import { Form, Modal, Button } from 'react-bootstrap';\n\nconst Relato = props => {\n return (\n \n {props.mensagemRelato}\n props.handleRelato(e)}\n />\n {props.counter}/500\n \n \n \n Erro\n \n {props.relatoError}\n \n \n \n \n \n );\n};\n\nexport default Relato;\n","import { Form } from 'react-bootstrap';\n\nconst Categorias = props => {\n return (\n \n *Categoria:\n props.handleCategoria(e)}\n >\n \n {props.getCategorias.map(item => (\n \n ))}\n \n \n );\n};\n\nexport default Categorias;\n","import { Col, Form, Row, Modal, Button } from \"react-bootstrap\";\n\nimport styles from './Email.module.css';\n\nconst Email = props => {\n return (\n <>\n \n Formulário para criação de e-mail corporativo\n \n \n \n \n *Matrícula:\n props.handleCreateEmail(e)}\n />\n \n \n \n \n *Nome:\n props.handleCreateEmail(e)}\n />\n \n \n \n\n\n \n \n \n *e-mail sugerido:\n props.handleCreateEmail(e)}\n />\n \n \n \n \n  \n \n \n \n \n\n \n \n \n *Telefone:\n props.handleCreateEmail(e)}\n placeholder=\"(21) 99999-9999\"\n />\n \n \n \n \n *Data de admissão:\n props.handleCreateEmail(e)}\n />\n \n \n \n\n \n \n \n *Unidade:\n props.handleCreateEmail(e)}\n value={props.createEmail.unit}\n >\n \n {props.unidades && props.unidades.map(item => (\n \n ))}\n \n \n \n \n\n \n \n \n *Cargo:\n props.handleCreateEmail(e)}\n />\n \n \n \n\n \n \n \n *Criar usuário no SisGeD?\n props.handleCreateEmail(e)}\n value={props.createEmail.sisged}\n >\n \n \n \n \n \n \n\n \n \n Erro\n \n {props.emailError}\n \n \n \n \n \n );\n};\n\nexport default Email;\n","import { Button, Container, Form, Modal, Table } from 'react-bootstrap';\nimport { GoDiffAdded, GoTrashcan } from 'react-icons/go';\n\nimport styles from './MedicamentosSaudeMental.module.css';\n\nconst MedicamentosSaudeMental = props => {\n return (\n \n \n \n \n \n \n \n \n \n\n \n {props.medicamentosSaudeMental.map((item, index) => {\n return (\n \n \n \n \n \n );\n })}\n \n\n \n \n {props.medicamentosSaudeMental.length <= 0 && (\n \n )}\n \n \n
Medicamentos Saúde MentalQtdeAção
\n \n props.handleMedicamentosSaudeMental(index, 'medicamento', e.target.value)}\n value={props.medicamentosSaudeMental[index].medicamento}\n >\n \n {props.listaSaudeMental.map(item => (\n \n ))}\n \n \n \n \n props.handleMedicamentosSaudeMental(index, 'quantidade', e.target.value)}\n value={props.medicamentosSaudeMental[index].quantidade}\n />\n \n \n
\n props.handleRemoveMedicamentoSaudeMental(index)}\n >\n
\n Excluir\n
\n \n\n \n
\n Incluir\n
\n \n
\n \n \n Excluir Medicamento\n \n Tem certeza que deseja excluir esse medicamento?\n \n \n \n \n \n
\n
\n \n Incluir\n \n
\n
\n \n
\n );\n};\n\nexport default MedicamentosSaudeMental;\n","import { Button, Container, Form, Modal, Table } from 'react-bootstrap';\nimport { GoDiffAdded, GoTrashcan } from 'react-icons/go';\n\nimport styles from './MedicamentosAtencaoBasica.module.css';\n\nconst MedicamentosAtencaoBasica = props => {\n return (\n \n \n \n \n \n \n \n \n \n\n \n {props.medicamentosAtencaoBasica.map((item, index) => {\n return (\n \n \n \n \n \n );\n })}\n \n\n \n \n {props.medicamentosAtencaoBasica.length <= 0 && (\n \n )}\n \n \n
Medicamentos Atenção BásicaQtdeAção
\n \n props.handleMedicamentosAtencaoBasica(index, 'medicamento', e.target.value)}\n value={props.medicamentosAtencaoBasica[index].medicamento}\n >\n \n {props.listaAtencaoBasica.map(item => (\n \n ))}\n \n \n \n \n props.handleMedicamentosAtencaoBasica(index, 'quantidade', e.target.value)}\n value={props.medicamentosAtencaoBasica[index].quantidade}\n />\n \n \n
\n props.handleRemoveMedicamentoAtencaoBasica(index)}\n >\n
\n Excluir\n
\n \n\n \n
\n Incluir\n
\n \n
\n \n \n Excluir Medicamento\n \n Tem certeza que deseja excluir esse medicamento?\n \n \n \n \n \n
\n
\n \n Incluir\n \n
\n
\n
\n );\n};\n\nexport default MedicamentosAtencaoBasica;\n","import { Col, Form, Row, Modal, Button } from 'react-bootstrap';\n\nconst SolicitacaoVeiculo = props => {\n return (\n <>\n \n \n \n *Data do transporte:\n props.handleSolicitacaoVeiculo(e)}\n />\n \n \n \n \n *Hora do transporte:\n props.handleSolicitacaoVeiculo(e)}\n />\n \n \n \n \n *Tempo estimado:\n props.handleSolicitacaoVeiculo(e)}\n value={props.veiculoTempo}\n >\n \n {['1h', '2h', '3h', '4h', '5h', '6h', '7h', '8h'].map(item => (\n \n ))}\n \n \n \n \n\n \n \n \n *Nome do passageiro:\n props.handleSolicitacaoVeiculo(e)}\n />\n \n \n \n \n *Telefone do passageiro:\n props.handleSolicitacaoVeiculo(e)}\n placeholder=\"(21) 99999-9999\"\n />\n \n \n \n \n \n \n *Endereço da saída:\n props.handleSolicitacaoVeiculo(e)}\n />\n \n \n \n \n *Endereço do destino:\n props.handleSolicitacaoVeiculo(e)}\n />\n \n \n \n \n \n Erro\n \n {props.veiculoError}\n \n \n \n \n \n );\n};\n\nexport default SolicitacaoVeiculo;\n","import { Button, Container, Form, Table, Modal } from 'react-bootstrap';\nimport { GoDiffAdded, GoTrashcan } from 'react-icons/go';\n\nimport styles from './MateriaisEscritorio.module.css';\n\nconst MateriaisEscritorio = props => {\n return (\n \n \n \n \n \n \n \n \n \n\n \n {props.materiaisEscritorio.map((item, index) => {\n return (\n \n \n \n \n \n );\n })}\n \n\n \n \n {props.materiaisEscritorio.length <= 0 && (\n \n )}\n \n \n
Materiais de EscritórioQtdeAção
\n \n props.handleMateriaisEscritorio(index, 'material', e.target.value)}\n value={props.materiaisEscritorio[index].material}\n >\n \n {props.listaMateriaisEscritorio.map(item => (\n \n ))}\n \n \n \n \n props.handleMateriaisEscritorio(index, 'quantidade', e.target.value)}\n value={props.materiaisEscritorio[index].quantidade}\n />\n \n \n
\n props.handleRemoveMateriaisEscritorio(index)}\n >\n
\n Excluir\n
\n \n\n \n
\n Incluir\n
\n \n
\n
\n
\n \n Incluir\n \n
\n
\n \n \n Erro\n \n {props.materialError}\n \n \n \n \n
\n );\n};\n\nexport default MateriaisEscritorio;\n","import { Button, Container, Form, Table, Modal } from 'react-bootstrap';\nimport { GoDiffAdded, GoTrashcan } from 'react-icons/go';\n\nimport styles from './MateriaisExpediente.module.css';\n\nconst MateriaisExpediente = props => {\n return (\n \n \n \n \n \n \n \n \n \n\n \n {props.materiaisExpediente.map((item, index) => {\n return (\n \n \n \n \n \n );\n })}\n \n\n \n \n {props.materiaisExpediente.length <= 0 && (\n \n )}\n \n \n
Materiais de ExpedienteQtdeAção
\n \n props.handleMateriaisExpediente(index, 'material', e.target.value)}\n value={props.materiaisExpediente[index].material}\n >\n \n {props.listaMateriaisExpediente.map(item => (\n \n ))}\n \n \n \n \n props.handleMateriaisExpediente(index, 'quantidade', e.target.value)}\n value={props.materiaisExpediente[index].quantidade}\n />\n \n \n
\n props.handleRemoveMateriaisExpediente(index)}\n >\n
\n Excluir\n
\n \n\n \n
\n Incluir\n
\n \n
\n
\n
\n \n Incluir\n \n
\n
\n \n \n Erro\n \n {props.materialError}\n \n \n \n \n
\n );\n};\n\nexport default MateriaisExpediente;\n","import { Button, Container, Form, Table, Modal } from 'react-bootstrap';\nimport { GoDiffAdded, GoTrashcan } from 'react-icons/go';\n\nimport styles from './MateriaisLimpeza.module.css';\n\nconst MateriaisLimpeza = props => {\n return (\n \n \n \n \n \n \n \n \n \n\n \n {props.materiaisLimpeza.map((item, index) => {\n return (\n \n \n \n \n \n );\n })}\n \n\n \n \n {props.materiaisLimpeza.length <= 0 && (\n \n )}\n \n \n
Materiais de LimpezaQtdeAção
\n \n props.handleMateriaisLimpeza(index, 'material', e.target.value)}\n value={props.materiaisLimpeza[index].material}\n >\n \n {props.listaMateriaisLimpeza.map(item => (\n \n ))}\n \n \n \n \n props.handleMateriaisLimpeza(index, 'quantidade', e.target.value)}\n value={props.materiaisLimpeza[index].quantidade}\n />\n \n \n
\n props.handleRemoveMateriaisLimpeza(index)}\n >\n
\n Excluir\n
\n \n\n \n
\n Incluir\n
\n \n
\n
\n
\n \n Incluir\n \n
\n
\n \n \n Erro\n \n {props.materialError}\n \n \n \n \n
\n );\n};\n\nexport default MateriaisLimpeza;\n","import { Form } from 'react-bootstrap';\n\nconst Eletrica = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 3)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Eletrica;\n","import { Form } from 'react-bootstrap';\n\nconst Hidrossanitario = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 4)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Hidrossanitario;\n","import { Form } from 'react-bootstrap';\n\nconst Mecanica = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 5)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Mecanica;\n","import baseUrl from './baseUrl';\n\nconst URL_CRIAR_CHAMADO = `${baseUrl}/chamado`;\n\nconst criarChamado = async data => {\n try {\n const response = await fetch(URL_CRIAR_CHAMADO, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default criarChamado;\n","import { Col, Form, Row, Modal, Button } from 'react-bootstrap';\n\nconst SolicitacaoMotoboy = props => {\n return (\n <>\n \n \n \n *Data do transporte:\n props.handleSolicitacaoMotoboy(e)}\n />\n \n \n \n \n *Hora do transporte:\n props.handleSolicitacaoMotoboy(e)}\n />\n \n \n \n \n *Tempo estimado:\n props.handleSolicitacaoMotoboy(e)}\n value={props.motoboyTempo}\n >\n \n {['1h', '2h', '3h', '4h', '5h', '6h', '7h', '8h'].map(item => (\n \n ))}\n \n \n \n \n\n \n \n \n *Nome do passageiro:\n props.handleSolicitacaoMotoboy(e)}\n />\n \n \n \n \n *Telefone do passageiro:\n props.handleSolicitacaoMotoboy(e)}\n placeholder=\"(21) 99999-9999\"\n />\n \n \n \n \n \n \n *Endereço da saída:\n props.handleSolicitacaoMotoboy(e)}\n />\n \n \n \n \n *Endereço do destino:\n props.handleSolicitacaoMotoboy(e)}\n />\n \n \n \n \n \n Erro\n \n {props.veiculoError}\n \n \n \n \n \n );\n};\n\nexport default SolicitacaoMotoboy;\n","import { Form } from 'react-bootstrap';\n\nconst Demonstrativos = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias.filter(item => item.id === 10)[0].subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Demonstrativos;\n","import {\n Col,\n Form,\n Row,\n Modal,\n Button\n} from 'react-bootstrap';\n\nimport styles from './ValeRefeicao.module.css';\n\nconst ValeRefeicao = props => {\n return (\n
\n Vale Refeição / Alimentação\n {!props.isValeRefeicao ? (\n
\n Escolha uma das 3 opções abaixo:\n \n \n props.handleValeRefeicao(e)}\n disabled\n />\n props.handleValeRefeicao(e)}\n disabled\n />\n props.handleValeRefeicao(e)}\n disabled\n />\n \n \n
\n ) : (\n
\n A sua opção foi:\n \n \n \n \n \n \n \n
\n )}\n\n \n \n Erro\n \n A opção para a escolha de VR / VA através do SisGeD está fora do prazo. Favor entrar em contato com gprt@fesaude.niteroi.rj.gov.br para realizar a escolha.\n \n \n \n \n\n \n \n Atenção!\n \n \n

Você selecionou a opção:

\n

{props.vrOption}

\n

Após confirmar a sua opção só será possível alterá-la depois de 6 meses.

\n

Deseja confirmar?

\n
\n \n \n \n \n \n
\n );\n};\n\nexport default ValeRefeicao;\n","import baseUrl from './baseUrl';\n\nconst URL_UPDATE_VALE_REFEICAO = `${baseUrl}/vale-refeicao`;\n\nconst updateValeRefeicao = async vrData => {\n try {\n const data = await fetch(URL_UPDATE_VALE_REFEICAO, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(vrData)\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default updateValeRefeicao;\n","import baseUrl from './baseUrl';\n\nconst URL_GET_USER_BY_EMAIL = `${baseUrl}/user`;\n\nconst getUserByEmail = async email => {\n try {\n const data = await fetch(URL_GET_USER_BY_EMAIL, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify({ email })\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getUserByEmail;\n","import {\n Col,\n Form,\n Row,\n Modal,\n Button,\n Image\n} from 'react-bootstrap';\n\nimport styles from './Vestuario.module.css';\n\nconst Vestuario = props => {\n return (\n <>\n Vestuário\n
\n \n
\n\n {!props.isVestuario ? (\n <>\n \n \n \n *CAMISA:\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n \n \n \n\n \n \n \n *CALÇA:  \n props.handleCalca(e)}\n className={styles.radio}\n inline\n label=\"P\"\n name=\"calca\"\n type=\"radio\"\n id=\"calca-P\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n label=\"M\"\n name=\"calca\"\n type=\"radio\"\n id=\"calca-M\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n name=\"calca\"\n label=\"G\"\n type=\"radio\"\n id=\"calca-G\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n name=\"calca\"\n label=\"GG\"\n type=\"radio\"\n id=\"calca-GG\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n name=\"calca\"\n label=\"XXG\"\n type=\"radio\"\n id=\"calca-XXG\"\n />\n \n \n \n\n \n \n \n *JALECO:\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n label=\"P\"\n name=\"jaleco\"\n type=\"radio\"\n id=\"jaleco-P\"\n />\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n label=\"M\"\n name=\"jaleco\"\n type=\"radio\"\n id=\"jaleco-M\"\n />\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n name=\"jaleco\"\n label=\"G\"\n type=\"radio\"\n id=\"jaleco-G\"\n />\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n name=\"jaleco\"\n label=\"GG\"\n type=\"radio\"\n id=\"jaleco-GG\"\n />\n \n \n \n\n \n \n \n *CALÇADO:\n props.handleCalcado(e)}\n value={props.calcado}\n >\n \n {props.numeroCalcado.map(numero => (\n \n ))}\n \n \n \n \n\n \n \n \n OBSERVAÇÕES:\n props.handleVestuarioObservacoes(e)}\n value={props.vestuarioObservacoes}\n />\n \n \n \n \n ) : (\n <>\n \n \n \n *CAMISA:\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n props.handleCamisa(e)}\n />\n \n \n \n\n \n \n \n *CALÇA:  \n props.handleCalca(e)}\n className={styles.radio}\n inline\n label=\"P\"\n name=\"calca\"\n type=\"radio\"\n id=\"calca-P\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n label=\"M\"\n name=\"calca\"\n type=\"radio\"\n id=\"calca-M\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n name=\"calca\"\n label=\"G\"\n type=\"radio\"\n id=\"calca-G\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n name=\"calca\"\n label=\"GG\"\n type=\"radio\"\n id=\"calca-GG\"\n />\n props.handleCalca(e)}\n className={styles.radio}\n inline\n name=\"calca\"\n label=\"XXG\"\n type=\"radio\"\n id=\"calca-XXG\"\n />\n \n \n \n\n \n \n \n *JALECO:\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n label=\"P\"\n name=\"jaleco\"\n type=\"radio\"\n id=\"jaleco-P\"\n />\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n label=\"M\"\n name=\"jaleco\"\n type=\"radio\"\n id=\"jaleco-M\"\n />\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n name=\"jaleco\"\n label=\"G\"\n type=\"radio\"\n id=\"jaleco-G\"\n />\n props.handleJaleco(e)}\n className={styles.radio}\n inline\n name=\"jaleco\"\n label=\"GG\"\n type=\"radio\"\n id=\"jaleco-GG\"\n />\n \n \n \n\n \n \n \n *CALÇADO:\n props.handleCalcado(e)}\n value={props.calcado}\n >\n \n {props.numeroCalcado.map(numero => (\n \n ))}\n \n \n \n \n\n \n \n \n OBSERVAÇÕES:\n props.handleVestuarioObservacoes(e)}\n value={props?.isVestuario?.observacoes}\n />\n \n \n \n \n )}\n\n \n \n Erro\n \n {props.vestuarioError}\n \n \n \n \n\n \n \n Atenção!\n \n O vestuário será disponibilizado de acordo com a categoria profissional.\n \n \n \n \n\n \n \n Atenção!\n \n \n

Você selecionou as opções:

\n

CAMISA: {props.camisa}

\n

CALÇA: {props.calca}

\n

JALECO: {props.jaleco}

\n

CALÇADO: {props.calcado}

\n {props.vestuarioObservacoes !== '' && (\n

OBSERVAÇÕES: {props.vestuarioObservacoes}

\n )}\n

Após confirmar a sua opção não será possível alterá-la.

\n

Deseja confirmar?

\n
\n \n \n \n \n \n \n );\n};\n\nexport default Vestuario;\n","import { Form } from 'react-bootstrap';\n\nconst Cadastro = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias.filter(item => item.id === 11)[0].subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Cadastro;\n","import baseUrl from './baseUrl';\n\nconst URL_UPDATE_VESTUARIO = `${baseUrl}/vestuario`;\n\nconst updateVestuario = async vestuarioData => {\n try {\n const data = await fetch(URL_UPDATE_VESTUARIO, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(vestuarioData)\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default updateVestuario;\n","import { Col } from 'react-bootstrap';\n\nimport styles from './BriefingThumb.module.css';\nimport getExtension from '../../helpers/getExtension';\n\nconst BriefingThumb = props => {\n return (\n \n {props.briefingArquivo && getExtension(props.briefingArquivo.name) === 'pdf' &&\n \n }\n\n {props.briefingArquivo && (getExtension(props.briefingArquivo.name) === 'doc' || getExtension(props.briefingArquivo.name) === 'docx') &&\n \n }\n\n {props.briefingArquivo && (getExtension(props.briefingArquivo.name) === 'xls' || getExtension(props.briefingArquivo.name) === 'xlsx') &&\n \n }\n\n {props.briefingArquivo && getExtension(props.briefingArquivo.name) === 'txt' &&\n \n }\n\n {props.briefingArquivo && getExtension(props.briefingArquivo.name) === 'mp4' &&\n \n }\n\n {props.briefingArquivo && getExtension(props.briefingArquivo.name) === 'avi' &&\n \n }\n\n {props.briefingArquivo && getExtension(props.briefingArquivo.name) === 'mov' &&\n \n }\n\n {props.briefingArquivo &&\n getExtension(props.briefingArquivo.name) !== 'pdf' &&\n getExtension(props.briefingArquivo.name) !== 'doc' &&\n getExtension(props.briefingArquivo.name) !== 'docx' &&\n getExtension(props.briefingArquivo.name) !== 'xls' &&\n getExtension(props.briefingArquivo.name) !== 'xlsx' &&\n getExtension(props.briefingArquivo.name) !== 'txt' &&\n getExtension(props.briefingArquivo.name) !== 'mp4' &&\n getExtension(props.briefingArquivo.name) !== 'avi' &&\n getExtension(props.briefingArquivo.name) !== 'mov' &&\n \n }\n \n );\n};\n\nexport default BriefingThumb;\n","import { useEffect, useRef, useState } from 'react';\n\nimport {\n Col,\n Form,\n Row,\n Modal,\n Button\n} from 'react-bootstrap';\n\nimport styles from './LoginSistemas.module.css';\nimport { phoneMask, cpfMask } from '../../helpers/masks';\nimport BriefingThumb from '../BriefingThumb';\nimport { AiFillCloseCircle } from 'react-icons/ai';\n\nconst sistemasSuporte = [\n 'eSUS APS+',\n 'eSUS notifica',\n 'STOK', \n 'SIPNI', \n 'CADWEB', \n 'SISCAN', \n 'CNES',\n 'BPA',\n 'RAAS', \n 'Outros' \n];\n\nconst sistemasLogin = [\n 'eSUS APS+',\n 'eSUS notifica',\n 'STOK', \n 'SIPNI', \n 'CADWEB', \n 'SISCAN',\n 'E-Gestor/Bolsa Família'\n];\n\nconst LoginSistemas = props => {\n const suporteArquivo1Ref = useRef();\n const suporteArquivo2Ref = useRef();\n const suporteArquivo3Ref = useRef();\n const suporteArquivo4Ref = useRef();\n const suporteArquivo5Ref = useRef();\n\n const [sistemasArray, setSistemasArray] = useState([]);\n\n useEffect(() => {\n (props.suporteArquivo1 ||\n props.suporteArquivo2 ||\n props.suporteArquivo3 ||\n props.suporteArquivo4 ||\n props.suporteArquivo5) &&\n window.scrollBy(0, 350);\n }, [props.suporteArquivo1, props.suporteArquivo2, props.suporteArquivo3, props.suporteArquivo4, props.suporteArquivo5]);\n\n useEffect(() => {\n if (props?.loginSuporte?.tipo === 'login') {\n setSistemasArray(sistemasLogin);\n } else if (props?.loginSuporte?.tipo === 'suporte') {\n setSistemasArray(sistemasSuporte);\n } else {\n setSistemasArray([]);\n }\n }, [props?.loginSuporte?.tipo]);\n\n return (\n <>\n Sistemas de Saúde\n \n *Login ou Suporte?\n \n \n props.handleLoginSuporte(e)}\n inline\n />\n props.handleLoginSuporte(e)}\n inline\n />\n \n \n \n\n {props.loginSuporte.tipo && (\n \n \n \n *Sistema:\n props.handleLoginSistemas(e)}\n value={props.loginSistemas}\n >\n \n {sistemasArray.map(sistema => (\n \n ))}\n \n \n \n \n )}\n\n {(props.loginSuporte.tipo === 'login') && props.loginSistemas && (props.loginSistemas !== 'CNES' && props.loginSistemas !== 'BPA' && props.loginSistemas !== 'RAAS' && props.loginSistemas !== 'Outros') && (\n <>\n \n \n \n *Unidade:\n props.handleLoginSuporte(e)}\n value={props.loginSuporte.unidade}\n >\n \n {props.unidadesSistema && props.unidadesSistema.map(item => (\n \n ))}\n \n \n \n\n \n \n *Nome Completo:\n props.handleLoginSuporte(e)}\n value={props.loginSuporte.nome}\n />\n \n \n \n\n \n \n \n *CPF:\n props.handleLoginSuporte(e)}\n value={cpfMask(props.loginSuporte.cpf)}\n maxLength={14}\n />\n \n \n\n \n \n *CNS:\n props.handleLoginSuporte(e)}\n value={props.loginSuporte.cns}\n />\n \n \n \n\n \n \n \n *e-mail:\n props.handleLoginSuporte(e)}\n value={props.loginSuporte.email}\n />\n \n \n\n \n \n *Telefone:\n props.handleLoginSuporte(e)}\n value={phoneMask(props.loginSuporte.telefone)}\n />\n \n \n \n \n )}\n\n {props.loginSuporte.tipo === 'suporte' && (\n <>\n \n

\n Enviar anexo. (Máximo de 5 anexos com 5MB cada)
\n Arquivos suportados: .pdf, .png, .gif, .jpg, .jpeg, .svg, .txt, .doc, .docx, .xls, .xlsx, .avi, .mp4, .mov\n

\n
\n\n \n \n \n 1º Anexo\n props.handleSuporteArquivo(e, suporteArquivo1Ref)}\n ref={suporteArquivo1Ref}\n />\n \n \n\n \n {props.suporteArquivo1 &&\n props.resetSuporteArquivo(suporteArquivo1Ref)}\n size={22}\n />\n }\n \n\n \n \n\n {(props.suporteArquivo1 || props.suporteArquivo2) &&\n \n \n \n 2º Anexo\n props.handleSuporteArquivo(e, suporteArquivo2Ref)}\n ref={suporteArquivo2Ref}\n />\n \n \n\n \n {props.suporteArquivo2 &&\n props.resetSuporteArquivo(suporteArquivo2Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n {(props.suporteArquivo2 || props.suporteArquivo3) &&\n \n \n \n 3º Anexo\n props.handleSuporteArquivo(e, suporteArquivo3Ref)}\n ref={suporteArquivo3Ref}\n />\n \n \n\n \n {props.suporteArquivo3 &&\n props.resetSuporteArquivo(suporteArquivo3Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n {(props.suporteArquivo3 || props.suporteArquivo4) &&\n \n \n \n 4º Anexo\n props.handleSuporteArquivo(e, suporteArquivo4Ref)}\n ref={suporteArquivo4Ref}\n />\n \n \n\n \n {props.suporteArquivo4 &&\n props.resetSuporteArquivo(suporteArquivo4Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n {(props.suporteArquivo4 || props.suporteArquivo5) &&\n \n \n \n 5º Anexo\n props.handleSuporteArquivo(e, suporteArquivo5Ref)}\n ref={suporteArquivo5Ref}\n />\n \n \n\n \n {props.suporteArquivo5 &&\n props.resetSuporteArquivo(suporteArquivo5Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n \n \n Erro\n \n {props.suporteError}\n \n \n \n \n \n )}\n\n \n \n Erro\n \n {props.loginSistemasError}\n \n \n \n \n \n );\n};\n\nexport default LoginSistemas;\n","import { Form } from 'react-bootstrap';\n\nconst SuporteSistemas = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 15)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default SuporteSistemas;\n// TODO suporte sistemas","const formatarMatricula = matricula => {\n matricula = matricula.replace(/\\D/g, '');\n\n const regex = new RegExp(`.{1,${4}}`, 'g');\n\n let matriculaFormatada = matricula.match(regex).join('-');\n\n if (matriculaFormatada.length > 6) {\n matriculaFormatada = matriculaFormatada.slice(0, -1);\n }\n\n return matriculaFormatada;\n};\n\nexport default formatarMatricula;\n","import { Form } from 'react-bootstrap';\n\nconst Votacao = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias.filter(item => item.id === 12)[0].subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Votacao;\n","import { Form } from 'react-bootstrap';\n\nconst EngenhariaClinica = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 13)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default EngenhariaClinica;\n","import { Col, Form, Row } from 'react-bootstrap';\n\nconst ManutencaoEquipamentos = props => {\n return (\n <>\n \n \n \n *Equipamento:\n props.handleEquipamentoEngenhariaClinica(e)}\n value={props.equipamentoEngenhariaClinica}\n >\n \n {props.equipamentosEngenhariaClinica.map(equipamento => (\n \n ))}\n \n \n \n \n \n );\n};\n\nexport default ManutencaoEquipamentos;\n","const equipamentosEngenhariaClinica = [\n 'AMALGAMADOR',\n 'AUTOCLAVE',\n 'BALANÇA ADULTO',\n 'BALANÇA PEDIÁTRICA',\n 'CÂMARA PARA VACINAS',\n 'CANETA ALTA ROTAÇÃO',\n 'COMPRESSOR',\n 'CONSULTÓRIO ODONTOLÓGICO',\n 'CONTRA ÂNGULO',\n 'DERMATOSCÓPIO',\n 'DESTILADORA',\n 'DETECTOR FETAL',\n 'ESFIGMOMANÔMETRO',\n 'ESFIGMOMANÔMETRO DIGITAL',\n 'ESTETOSCÓPIO',\n 'FOCO CLÍNICO',\n 'FOTOPOLIMERIZADOR',\n 'GLICOSÍMETRO / HGT / ON CALL PLUS',\n 'MESA GINECOLÓGICA',\n 'MESA GINECOLÓGICA MECÂNICA',\n 'MICROMOTOR',\n 'MOCHO',\n 'NEBULIZADOR',\n 'NEGATOSCÓPIO',\n 'OFTALMOSCÓPIO',\n 'OTOSCÓPIO',\n 'OXÍMETRO',\n 'PEÇA RETA',\n 'SELADORA',\n 'SERINGA TRÍPLICE',\n 'TERMÔMETRO DIGITAL',\n 'ULTRASSOM ODONTOLÓGICO',\n 'OUTROS'\n];\n\nexport default equipamentosEngenhariaClinica;\n","import { Form } from 'react-bootstrap';\n\nconst Ascom = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 14)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default Ascom;\n","import { useEffect, useRef } from 'react';\n\nimport { Col, Form, Row, Button, Modal } from 'react-bootstrap';\nimport { AiFillCloseCircle } from 'react-icons/ai';\n\nimport styles from './Briefing.module.css';\nimport BriefingThumb from '../BriefingThumb';\n\nconst Briefing = props => {\n const briefingArquivo1Ref = useRef();\n const briefingArquivo2Ref = useRef();\n const briefingArquivo3Ref = useRef();\n const briefingArquivo4Ref = useRef();\n const briefingArquivo5Ref = useRef();\n\n useEffect(() => {\n (props.briefingArquivo1 ||\n props.briefingArquivo2 ||\n props.briefingArquivo3 ||\n props.briefingArquivo4 ||\n props.briefingArquivo5) &&\n window.scrollBy(0, 350);\n }, [props.briefingArquivo1, props.briefingArquivo2, props.briefingArquivo3, props.briefingArquivo4, props.briefingArquivo5]);\n\n return (\n <>\n \n \n \n *O que precisamos fazer? Por que você está fazendo esse pedido?\n props.handleBriefingPorque(e)}\n />\n \n \n \n\n \n \n \n *Quais peças devem ser desenvolvidas/criadas? Quais as medidas (largura X altura)?\n props.handleBriefingMedidas(e)}\n />\n \n \n \n\n \n \n \n *Onde serão veiculadas/expostas? (Redes sociais, portal, impressos, eventos etc.)\n props.handleBriefingOnde(e)}\n />\n \n \n \n \n \n \n \n *Qual é o prazo desejado para entrega do projeto? (Sujeito a análise interna e viabilidade dos pedidos na fila de produção)\n props.handleBriefingPrazo(e)}\n />\n \n \n \n\n \n \n \n *Tem mais algum detalhe ou algum link de referência? Deixe aqui o seu comentário para inspirar a nossa equipe.\n props.handleBriefingDetalhe(e)}\n />\n \n \n \n\n \n

\n Tem algum arquivo (foto, texto ou logo) que precisamos receber? Envie anexo. (Máximo de 5 anexos com 5MB cada)
\n Arquivos suportados: .pdf, .png, .gif, .jpg, .jpeg, .svg, .txt, .doc, .docx, .xls, .xlsx\n

\n
\n\n \n \n \n 1º Anexo\n props.handleBriefingArquivo(e, briefingArquivo1Ref)}\n ref={briefingArquivo1Ref}\n />\n \n \n\n \n {props.briefingArquivo1 && \n props.resetBriefingArquivo(briefingArquivo1Ref)}\n size={22}\n />\n }\n \n\n \n \n\n {(props.briefingArquivo1 || props.briefingArquivo2) &&\n \n \n \n 2º Anexo\n props.handleBriefingArquivo(e, briefingArquivo2Ref)}\n ref={briefingArquivo2Ref}\n />\n \n \n\n \n {props.briefingArquivo2 &&\n props.resetBriefingArquivo(briefingArquivo2Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n {(props.briefingArquivo2 || props.briefingArquivo3) &&\n \n \n \n 3º Anexo\n props.handleBriefingArquivo(e, briefingArquivo3Ref)}\n ref={briefingArquivo3Ref}\n />\n \n \n\n \n {props.briefingArquivo3 &&\n props.resetBriefingArquivo(briefingArquivo3Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n {(props.briefingArquivo3 || props.briefingArquivo4) &&\n \n \n \n 4º Anexo\n props.handleBriefingArquivo(e, briefingArquivo4Ref)}\n ref={briefingArquivo4Ref}\n />\n \n \n\n \n {props.briefingArquivo4 &&\n props.resetBriefingArquivo(briefingArquivo4Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n {(props.briefingArquivo4 || props.briefingArquivo5) &&\n \n \n \n 5º Anexo\n props.handleBriefingArquivo(e, briefingArquivo5Ref)}\n ref={briefingArquivo5Ref}\n />\n \n \n\n \n {props.briefingArquivo5 &&\n props.resetBriefingArquivo(briefingArquivo5Ref)}\n size={22}\n />\n }\n \n\n \n \n }\n\n \n \n Erro\n \n {props.briefingError}\n \n \n \n \n \n );\n};\n\nexport default Briefing;\n","const cipaUnidades = [\n 'DG - Diretoria Geral',\n 'DAF - Diretoria de Administração e Finanças',\n 'DAS - Diretoria de Atenção à Saúde',\n 'DTEC - Diretoria de Gestão do Trabalho, Ensino e Produção do Conhecimento',\n 'DITI - Diretoria de Inovação, Tecnologia e Gestão da Informação',\n 'CAPS Herbert de Souza',\n 'CAPS AD III Alcenir Veras',\n 'CAPSi Monteiro Lobato',\n 'CAPS Casa do Largo',\n 'Centro de Convivência e Cultura',\n 'Consultório na Rua',\n 'SRT - São Francisco',\n 'SRT - Charitas',\n 'SRT - PAC',\n 'SRT - PAC V',\n 'SRT - Centro',\n 'SRT - São Lourenço',\n 'MMF Alarico',\n 'MMF Atalaia',\n 'MMF Badu',\n 'MMF Baldeador',\n 'MMF Bernardino Raul',\n 'MMF Cafubá I',\n 'MMF Cafubá II',\n 'MMF Cafubá III',\n 'MMF Cantagalo',\n 'MMF Caramujo',\n 'MMF Cavalão',\n 'MMF Colônia',\n 'MMF Coronel Leôncio',\n 'MMF Engenho do Mato',\n 'MMF Grota I',\n 'MMF Grota II',\n 'MMF Holofote',\n 'MMF Ilha da Conceição',\n 'MMF Ititioca',\n 'MMF Jacaré',\n 'MMF Jonathas Botelho',\n 'MMF Jurujuba',\n 'MMF Leopoldina',\n 'MMF Maceió',\n 'MMF Maravista',\n 'MMF Marítimos',\n 'MMF Martins Torres',\n 'MMF Maruí',\n 'MMF Matapaca / Maria Paula',\n 'MMF Morro da Boa Vista',\n 'MMF Morro do Céu',\n 'MMF Nova Brasília',\n 'MMF Palácio',\n 'MMF Ponta Da Areia',\n 'MMF Preventório I',\n 'MMF Preventório II',\n 'MMF Sapê',\n 'MMF Souza Soares',\n 'MMF Teixeira de Freitas',\n 'MMF Várzea das Moças',\n 'MMF Viçoso Jardim',\n 'MMF Vila Ipiranga',\n 'MMF Viradouro',\n 'MMF Vital Brazil',\n 'Unidade de Acolhimento Infantojuvenil',\n 'Outro'\n];\n\nexport default cipaUnidades;\n","import {\n Row,\n Modal,\n Button,\n Col,\n Form\n} from 'react-bootstrap';\n\nimport styles from './Erp.module.css';\nimport cipaUnidades from '../../helpers/cipaUnidades';\n\nconst radios = [\n { id: '0', nome: 'Sem acesso' },\n { id: '1', nome: 'Consulta' },\n { id: '2', nome: 'Gravação' },\n { id: '3', nome: 'Exclusão' },\n];\n\nconst Erp = props => {\n return (\n <>\n ERP - (MXM)\n\n \n \n \n *Nome completo:\n \n \n \n \n\n \n \n \n *e-mail:\n \n \n \n \n\n \n \n \n *Matrícula:\n \n \n \n \n\n \n \n \n *Unidade:\n \n \n {cipaUnidades.map(item => (\n \n ))}\n \n \n \n \n\n \n \n \n Administrador:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Cadastros Comuns:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Cadastros Comum Financeiro:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Gestão de Processos:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Compras:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contrato Compras:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contas Pagar:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Pagamento Escritural:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contas Receber:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n \n \n \n \n Tesouraria:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Integração Padrão:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contábil:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Estoque:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Patrimônio:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Orçamento:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n REINF:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n EFD:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n ECD:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n ECF:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n Erro\n \n {props.erpError}\n \n \n \n \n \n );\n};\n\nexport default Erp;\n// TODO erp","const extensoesSuporte = [\n 'pdf',\n 'png',\n 'gif',\n 'jpg',\n 'jpeg',\n 'svg',\n 'txt',\n 'doc',\n 'docx',\n 'xls',\n 'xlsx',\n 'avi',\n 'mp4',\n 'mov'\n];\n\nexport default extensoesSuporte;\n","import { Form } from 'react-bootstrap';\n\nconst PontoEletronico = props => {\n return (\n <>\n \n *Subcategoria:\n props.handleSubcategoria(e)}\n >\n \n {props.getCategorias?.find(categoria => categoria.id === 16)?.subcategoria.map(item => (\n \n ))}\n \n \n \n );\n};\n\nexport default PontoEletronico;","export const pontoEletronicoSelect = [\n'Instalação de Relógio Eletrônico de Ponto (REP)',\n'Problema com Tratamento de Ponto',\n'Problema com Banco de Horas',\n'Problema com Relógio Eletrônico de Ponto (REP)',\n'Solicitação de Bobina',\n'Outros',\n]","import baseUrl from './baseUrl';\n\nconst URL_PUT_CIPA_INSCRICAO = `${baseUrl}/user/cipa-inscricao`;\n\nconst getCipaInscricao = async email => {\n try {\n const response = await fetch(URL_PUT_CIPA_INSCRICAO, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify({ email })\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getCipaInscricao;\n","import baseUrl from './baseUrl';\n\nconst URL_PUT_CIPA = `${baseUrl}/user/cipa`;\n\nconst getCipaJaVotou = async email => {\n try {\n const response = await fetch(URL_PUT_CIPA, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify({ email })\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getCipaJaVotou;\n","import {\n Col,\n Form,\n Row,\n Modal,\n Button,\n Alert\n} from 'react-bootstrap';\n\nimport styles from './CipaInscricao.module.css';\nimport cipaUnidades from '../../helpers/cipaUnidades';\n\nconst CipaInscricao = props => {\n return (\n <>\n
Formulário de Inscrição CIPAA
\n
FeSaúde Gestão 2024/2025
\n
Período de Inscrição - 13/05/2024 a 05/06/2024
\n\n \n Importante!\n

\n Sua inscrição só será confirmada após a análise da equipe responsável e a finalização da solicitação abaixo.\n

\n
\n \n \n \n *Nome completo:\n \n \n \n \n\n \n \n \n *Unidade em que atua:\n props.handleCipaInscricaoUnidade(e)}\n value={props.cipaInscricaoUnidade}\n >\n \n {cipaUnidades.map(item => (\n \n ))}\n \n \n \n \n\n \n \n \n *Cargo/Função:\n props.handleCipaInscricaoCargo(e)}\n value={props.cipaInscricaoCargo}\n />\n \n \n \n\n \n \n \n *e-mail:\n \n \n \n \n\n \n \n \n *Matrícula:\n \n \n \n \n\n \n \n *Sobre a inscrição:\n props.handleCipaInscricaoSobre(e)}\n label={\n \n Declaro que li o\n \n  Edital do Processo Eleitoral da CIPAA \n \n - Gestão 2024/2025 e em concordância desejo me inscrever.\n \n }\n />\n \n \n\n \n \n Erro\n \n {props.cipaInscricaoError}\n \n \n \n \n \n );\n};\n\nexport default CipaInscricao;\n","import baseUrl from './baseUrl';\n\nconst URL_CRIAR_CIPA = `${baseUrl}/cipa`;\n\nconst criarCipa = async data => {\n try {\n const response = await fetch(URL_CRIAR_CIPA, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default criarCipa;\n","import { Button, Col, Form, Modal, Row } from 'react-bootstrap';\n\nconst SuporteTiForm = props => {\n return (\n \n \n \n Telefone de Contato:\n props.handleTelContatoTi(e)}\n value={props.telContatoTi}\n placeholder=\"(21) 99999-9999\"\n />\n \n \n\n \n \n \n {props.subcategoria.includes('Manutenção') &&\n props.subcategoria !== 'Manutenção de rede/internet' &&\n props.subcategoria !== 'Manutenção VOIP (Telefone Fixo)'\n ? '*Patrimônio'\n : 'Patrimônio'}\n \n props.handlePatrimonioTi(e)}\n value={props.patrimonioTi}\n />\n \n \n \n \n \n Erro\n \n {props.tiError}\n \n \n \n \n \n );\n};\n\nexport default SuporteTiForm;\n","import { useContext, useEffect, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { Button, Col, Container, Form, Row, Toast, ToastContainer, Modal, Alert, Image } from 'react-bootstrap';\n\nimport styles from './ChamadosNovo.module.css';\nimport { UserContext } from '../../context/UserContext';\nimport { listaSaudeMental, listaAtencaoBasica } from '../../helpers/listaMedicamentos';\nimport { listaMateriaisEscritorio } from '../../helpers/listaMateriaisEscritorio';\nimport { listaMateriaisExpediente } from '../../helpers/listaMateriaisExpediente';\nimport { listaMateriaisLimpeza } from '../../helpers/listaMateriaisLimpeza';\nimport { cpfMask, matriculaMask, phoneMask } from '../../helpers/masks';\nimport SuporteTi from '../../components/SuporteTi';\nimport ManutencaoPredial from '../../components/ManutencaoPredial';\nimport ManutencaoEquip from '../../components/ManutencaoEquip';\nimport Reposicao from '../../components/Reposicao';\nimport Veiculo from '../../components/Veiculo';\nimport Unidades from '../../components/Unidades';\nimport Relato from '../../components/Relato';\nimport Categorias from '../../components/Categorias';\nimport Email from '../../components/Email';\nimport MedicamentosSaudeMental from '../../components/MedicamentosSaudeMental';\nimport MedicamentosAtencaoBasica from '../../components/MedicamentosAtencaoBasica';\nimport SolicitacaoVeiculo from '../../components/SolicitacaoVeiculo';\nimport MateriaisEscritorio from '../../components/MateriaisEscritorio';\nimport MateriaisExpediente from '../../components/MateriaisExpediente';\nimport MateriaisLimpeza from '../../components/MateriaisLimpeza';\nimport Eletrica from '../../components/Eletrica';\nimport Hidrossanitario from '../../components/Hidrossanitario';\nimport Mecanica from '../../components/Mecanica';\nimport criarChamado from '../../api/criarChamado';\nimport getUnidades from '../../api/getUnidades';\nimport getCategorias from '../../api/getCategorias';\nimport { decrypt } from '../../helpers/cryptography';\nimport SolicitacaoMotoboy from '../../components/SolicitacaoMotoboy';\nimport Demonstrativos from '../../components/Demonstrativos';\nimport ValeRefeicao from '../../components/ValeRefeicao';\nimport updateValeRefeicao from '../../api/updateValeRefeicao';\nimport getUserByEmail from '../../api/getUserByEmail';\nimport Vestuario from '../../components/Vestuario';\nimport Cadastro from '../../components/Cadastro';\nimport updateVestuario from '../../api/updateVestuario';\nimport LoginSistemas from '../../components/LoginSistemas';\nimport SuporteSistemas from '../../components/SuporteSistemas';\nimport formatarMatricula from '../../helpers/formatarMatricula';\nimport Votacao from '../../components/Votacao';\nimport EngenhariaClinica from '../../components/EngenhariaClinica';\nimport ManutencaoEquipamentos from '../../components/ManutencaoEquipamentos';\nimport equipamentosEngenhariaClinica from '../../helpers/equipamentosEngenhariaClinica';\nimport Ascom from '../../components/Ascom';\nimport Briefing from '../../components/Briefing';\nimport getExtension from '../../helpers/getExtension';\nimport briefingSupportedExtensions from '../../helpers/briefingSupportedExtensions';\nimport Erp from '../../components/Erp/index';\nimport baseUrl from '../../api/baseUrl';\nimport unidadesPesquisa from '../../helpers/unidadesPesquisa';\nimport { cnsValidator, cpfValidator, emailValidator } from '../../helpers/validators';\nimport extensoesSuporte from '../../helpers/extensoesSuporte';\nimport PontoEletronico from '../../components/PontoEletronico';\nimport { pontoEletronicoSelect } from '../../helpers/chamadosSelect';\nimport formatarDataEHora from '../../helpers/formatarDataEHora';\nimport getCipaInscricao from '../../api/getCipaInscricao';\nimport getCipaJaVotou from '../../api/getCipaJaVotou';\nimport CipaInscricao from '../../components/CipaInscricao';\nimport cipaCards from '../../helpers/cipaCards';\nimport criarCipa from '../../api/criarCipa';\nimport Cipa from '../../components/Cipa';\nimport { FaFileAlt } from 'react-icons/fa';\nimport SuporteTiForm from '../../components/SuporteTiForm';\n\nconst ChamadosNovo = () => {\n const { isAdmin, isConsulta, isErp } = useContext(UserContext);\n const history = useHistory();\n const [email, setEmail] = useState('');\n const [nome, setNome] = useState('');\n const [telefone, setTelefone] = useState('');\n const [categoria, setCategoria] = useState('');\n const [subcategoria, setSubcategoria] = useState('');\n const [unidade, setUnidade] = useState('');\n const [matricula, setMatricula] = useState('');\n const [relato, setRelato] = useState('');\n const [counter, setCounter] = useState(0);\n const [usuario, setUsuario] = useState(null);\n const [userUnidade, setUserUnidade] = useState('');\n const [userNome, setUserNome] = useState('');\n const [userTelefone, setUserTelefone] = useState('');\n const [userEmail, setUserEmail] = useState('');\n const [userMatricula, setUserMatricula] = useState('');\n const [isRequired, setIsRequired] = useState(true);\n const [mensagemRelato, setMensagemRelato] = useState('*Descreva brevemente a solicitação:');\n const [categorias, setCategorias] = useState([]);\n const [loading, setLoading] = useState(false);\n const [unidades, setUnidades] = useState([]);\n const [valeRefeicao, setValeRefeicao] = useState('');\n const [showModalVRErro, setShowModalVRErro] = useState(false);\n const [showModalVRConfirm, setShowModalVRConfirm] = useState(false);\n const [vrOption, setVrOption] = useState('');\n const [isValeRefeicao, setIsValeRefeicao] = useState(false);\n const [isVestuario, setIsVestuario] = useState(false);\n const [mostrarVestuario, setMostrarVestuario] = useState(true);\n const [prazoInscricao] = useState(false);\n const [prazoVotacao] = useState(false);\n\n const medicamentosInitial = {\n medicamento: '',\n quantidade: '1'\n };\n\n const materiaisInitial = {\n material: '',\n quantidade: '1'\n };\n\n const [medicamentosSaudeMental, setMedicamentosSaudeMental] = useState([medicamentosInitial]);\n const [medicamentosAtencaoBasica, setMedicamentosAtencaoBasica] = useState([medicamentosInitial]);\n const [materiaisEscritorio, setMateriaisEscritorio] = useState([materiaisInitial]);\n const [materiaisExpediente, setMateriaisExpediente] = useState([materiaisInitial]);\n const [materiaisLimpeza, setMateriaisLimpeza] = useState([materiaisInitial]);\n const [showMedicamentosAtencaoBasica, setShowMedicamentosAtencaoBasica] = useState(false);\n const [materialError, setMaterialError] = useState('');\n const [relatoError, setRelatoError] = useState('');\n const [showRelatoModal, setShowRelatoModal] = useState(false);\n\n const solicitacaoVeiculoInitialState = {\n veiculoData: '',\n veiculoHora: '',\n veiculoTempo: '',\n veiculoPassageiro: '',\n veiculoTelefone: '',\n veiculoMotivo: '',\n veiculoSaida: '',\n veiculoDestino: ''\n };\n\n const solicitacaoMotoboyInitialState = {\n motoboyData: '',\n motoboyHora: '',\n motoboyTempo: '',\n motoboyPassageiro: '',\n motoboyTelefone: '',\n motoboyMotivo: '',\n motoboySaida: '',\n motoboyDestino: ''\n };\n\n const createEmailInitialState = {\n registration: '',\n name: '',\n email: '',\n phone: '',\n admissionDate: '',\n unit: '',\n job: '',\n sisged: true\n };\n\n const loginSuporteInitialState = {\n tipo: '',\n unidade: '',\n nome: '',\n cpf: '',\n cns: '',\n email: '',\n telefone: ''\n };\n\n const [solicitacaoVeiculo, setSolicitacaoVeiculo] = useState(solicitacaoVeiculoInitialState);\n const [solicitacaoMotoboy, setSolicitacaoMotoboy] = useState(solicitacaoMotoboyInitialState);\n const [createEmail, setCreateEmail] = useState(createEmailInitialState);\n\n const [veiculoError, setVeiculoError] = useState('');\n\n const [numeroCalcado, setNumeroCalcado] = useState('');\n const [calcado, setCalcado] = useState('');\n const [vestuarioError, setVestuarioError] = useState('');\n const [showVestuarioModal, setShowVestuarioModal] = useState(false);\n const [camisa, setCamisa] = useState('');\n const [calca, setCalca] = useState('');\n const [jaleco, setJaleco] = useState('');\n const [vestuarioObservacoes, setVestuarioObservacoes] = useState('');\n const [showVestuarioToast, setShowVestuarioToast] = useState(false);\n const [showModalVestuarioConfirm, setShowModalVestuarioConfirm] = useState(false);\n const [showVestuarioMessageModal, setShowVestuarioMessageModal] = useState(true);\n\n const [loginSistemas, setLoginSistemas] = useState('');\n const [loginSuporte, setLoginSuporte] = useState(loginSuporteInitialState);\n const [showLoginSistemasModal, setShowLoginSistemasModal] = useState(false);\n const [loginSistemasError, setLoginSistemasError] = useState('');\n\n const [showModal, setShowModal] = useState(false);\n\n const [showEmailModal, setShowEmailModal] = useState(false);\n const [emailError, setEmailError] = useState('');\n\n const [cipaVoto, setCipaVoto] = useState('');\n const [cipaFoto, setCipaFoto] = useState('');\n const [showCipaModal, setShowCipaModal] = useState(false);\n const [cipaError, setCipaError] = useState('');\n const [cipaJaVotou, setCipaJaVotou] = useState({});\n const [cipaInscricao, setCipaInscricao] = useState({});\n const [votarCipa, setVotarCipa] = useState(true);\n const [showConfirmarCipaModal, setShowConfirmarCipaModal] = useState(false);\n const [showCipaJaVotouModal, setShowCipaJaVotouModal] = useState(false);\n\n const [equipamentoEngenhariaClinica, setEquipamentoEngenhariaClinica] = useState('');\n const [equipamentoEngenhariaClinicaError, setEquipamentoEngenhariaClinicaError] = useState('');\n const [showEquipamentoEngenhariaClinicaModal, setShowEquipamentoEngenhariaClinicaModal] = useState(false);\n\n const [briefingPorque, setBriefingPorque] = useState('');\n const [briefingMedidas, setBriefingMedidas] = useState('');\n const [briefingOnde, setBriefingOnde] = useState('');\n const [briefingArquivo1, setBriefingArquivo1] = useState(null);\n const [briefingArquivo2, setBriefingArquivo2] = useState(null);\n const [briefingArquivo3, setBriefingArquivo3] = useState(null);\n const [briefingArquivo4, setBriefingArquivo4] = useState(null);\n const [briefingArquivo5, setBriefingArquivo5] = useState(null);\n const [briefingPrazo, setBriefingPrazo] = useState('');\n const [briefingDetalhe, setBriefingDetalhe] = useState('');\n const [showBriefingModal, setShowBriefingModal] = useState(false);\n const [briefingError, setBriefingError] = useState('');\n\n const [suporteArquivo1, setSuporteArquivo1] = useState(null);\n const [suporteArquivo2, setSuporteArquivo2] = useState(null);\n const [suporteArquivo3, setSuporteArquivo3] = useState(null);\n const [suporteArquivo4, setSuporteArquivo4] = useState(null);\n const [suporteArquivo5, setSuporteArquivo5] = useState(null);\n const [showSuporteModal, setShowSuporteModal] = useState(false);\n const [suporteError, setSuporteError] = useState('');\n\n const [erpNome, setErpNome] = useState('');\n const [erpEmail, setErpEmail] = useState('');\n const [erpMatricula, setErpMatricula] = useState('');\n const [erpUnidade, setErpUnidade] = useState('');\n const [erpAdministrador, setErpAdministrador] = useState('0 - Sem acesso');\n const [erpCadastrosComuns, setErpCadastrosComuns] = useState('0 - Sem acesso');\n const [erpCadastrosComumFinanceiro, setErpCadastrosComumFinanceiro] = useState('0 - Sem acesso');\n const [erpGestaoDeProcessos, setErpGestaoDeProcessos] = useState('0 - Sem acesso');\n const [erpCompras, setErpCompras] = useState('0 - Sem acesso');\n const [erpContratoCompras, setErpContratoCompras] = useState('0 - Sem acesso');\n const [erpContasPagar, setErpContasPagar] = useState('0 - Sem acesso');\n const [erpPagamentoEscritural, setErpPagamentoEscritural] = useState('0 - Sem acesso');\n const [erpContasReceber, setErpContasReceber] = useState('0 - Sem acesso');\n const [erpTesouraria, setErpTesouraria] = useState('0 - Sem acesso');\n const [erpIntegracaoPadrao, setErpIntegracaoPadrao] = useState('0 - Sem acesso');\n const [erpContabil, setErpContabil] = useState('0 - Sem acesso');\n const [erpEstoque, setErpEstoque] = useState('0 - Sem acesso');\n const [erpPatrimonio, setErpPatrimonio] = useState('0 - Sem acesso');\n const [erpOrcamento, setErpOrcamento] = useState('0 - Sem acesso');\n const [erpReinf, setErpReinf] = useState('0 - Sem acesso');\n const [erpEfd, setErpEfd] = useState('0 - Sem acesso');\n const [erpEcd, setErpEcd] = useState('0 - Sem acesso');\n const [erpEcf, setErpEcf] = useState('0 - Sem acesso');\n const [showErpModal, setShowErpModal] = useState(false);\n const [erpError, setErpError] = useState('');\n\n const [telContatoTi, setTelContatoTi] = useState('');\n const [patrimonioTi, setPatrimonioTi] = useState('');\n const [showTiModal, setShowTiModal] = useState(false);\n const [tiError, setTiError] = useState('');\n\n const handleTiModalClose = () => setShowTiModal(false);\n\n const handleTelContatoTi = e => {\n setTelContatoTi(phoneMask(e.target.value));\n };\n\n const handlePatrimonioTi = e => setPatrimonioTi(e.target.value);\n\n const [pontoEletronico, setPontoEletronico] = useState('');\n const handlePontoEletronico = e => setPontoEletronico(e.target.value);\n \n const handleErpNome = e => setErpNome(e.target.value);\n const handleErpEmail = e => setErpEmail(e.target.value);\n const handleErpMatricula = e => {\n e.target.value = matriculaMask(e.target.value);\n\n setErpMatricula(e.target.value);\n };\n const handleErpUnidade = e => setErpUnidade(e.target.value);\n const handleErpAdministrador = e => setErpAdministrador(e.target.value);\n const handleErpCadastrosComuns = e => setErpCadastrosComuns(e.target.value);\n const handleErpCadastrosComumFinanceiro = e => setErpCadastrosComumFinanceiro(e.target.value);\n const handleErpGestaoDeProcessos = e => setErpGestaoDeProcessos(e.target.value);\n const handleErpCompras = e => setErpCompras(e.target.value);\n const handleErpContratoCompras = e => setErpContratoCompras(e.target.value);\n const handleErpContasPagar = e => setErpContasPagar(e.target.value);\n const handleErpPagamentoEscritural = e => setErpPagamentoEscritural(e.target.value);\n const handleErpContasReceber = e => setErpContasReceber(e.target.value);\n const handleErpTesouraria = e => setErpTesouraria(e.target.value);\n const handleErpIntegracaoPadrao = e => setErpIntegracaoPadrao(e.target.value);\n const handleErpContabil = e => setErpContabil(e.target.value);\n const handleErpEstoque = e => setErpEstoque(e.target.value);\n const handleErpPatrimonio = e => setErpPatrimonio(e.target.value);\n const handleErpOrcamento = e => setErpOrcamento(e.target.value);\n const handleErpReinf = e => setErpReinf(e.target.value);\n const handleErpEfd = e => setErpEfd(e.target.value);\n const handleErpEcd = e => setErpEcd(e.target.value);\n const handleErpEcf = e => setErpEcf(e.target.value);\n const handleErpModalClose = () => setShowErpModal(false);\n\n const handleBriefingPorque = e => setBriefingPorque(e.target.value);\n const handleBriefingMedidas = e => setBriefingMedidas(e.target.value);\n const handleBriefingOnde = e => setBriefingOnde(e.target.value);\n const handleBriefingPrazo = e => setBriefingPrazo(e.target.value);\n const handleBriefingDetalhe = e => setBriefingDetalhe(e.target.value);\n const handleBriefingModalClose = () => setShowBriefingModal(false);\n\n const handleSuporteModalClose = () => setShowSuporteModal(false);\n\n const handleBriefingArquivo = (e, ref) => {\n const nomeArquivo = ref.current.name;\n const extension = getExtension(e.target.files[0].name);\n\n if (!briefingSupportedExtensions.includes(extension)) {\n setBriefingError('Tipo de arquivo não suportado');\n setShowBriefingModal(true);\n\n e.target.value = null;\n\n if (nomeArquivo === 'briefingArquivo1') {\n setBriefingArquivo1(null);\n } else if (nomeArquivo === 'briefingArquivo2') {\n setBriefingArquivo2(null);\n } else if (nomeArquivo === 'briefingArquivo3') {\n setBriefingArquivo3(null);\n } else if (nomeArquivo === 'briefingArquivo4') {\n setBriefingArquivo4(null);\n } else if (nomeArquivo === 'briefingArquivo5') {\n setBriefingArquivo5(null);\n }\n\n return null;\n }\n\n if (e.target.files[0].size > 5242880) {\n setBriefingError('Arquivo excede o limite de 5MB');\n setShowBriefingModal(true);\n\n e.target.value = null;\n\n if (nomeArquivo === 'briefingArquivo1') {\n setBriefingArquivo1(null);\n } else if (nomeArquivo === 'briefingArquivo2') {\n setBriefingArquivo2(null);\n } else if (nomeArquivo === 'briefingArquivo3') {\n setBriefingArquivo3(null);\n } else if (nomeArquivo === 'briefingArquivo4') {\n setBriefingArquivo4(null);\n } else if (nomeArquivo === 'briefingArquivo5') {\n setBriefingArquivo5(null);\n }\n\n return null;\n }\n\n if (nomeArquivo === 'briefingArquivo1') {\n setBriefingArquivo1(e.target.files[0]);\n } else if (nomeArquivo === 'briefingArquivo2') {\n setBriefingArquivo2(e.target.files[0]);\n } else if (nomeArquivo === 'briefingArquivo3') {\n setBriefingArquivo3(e.target.files[0]);\n } else if (nomeArquivo === 'briefingArquivo4') {\n setBriefingArquivo4(e.target.files[0]);\n } else if (nomeArquivo === 'briefingArquivo5') {\n setBriefingArquivo5(e.target.files[0]);\n }\n };\n\n const resetBriefingArquivo = ref => {\n ref.current.value = null;\n\n const name = ref.current.name;\n\n if (name === 'briefingArquivo1') {\n setBriefingArquivo1(null);\n } else if (name === 'briefingArquivo2') {\n setBriefingArquivo2(null);\n } else if (name === 'briefingArquivo3') {\n setBriefingArquivo3(null);\n } else if (name === 'briefingArquivo4') {\n setBriefingArquivo4(null);\n } else if (name === 'briefingArquivo5') {\n setBriefingArquivo5(null);\n }\n };\n\n const handleSuporteArquivo = (e, ref) => {\n const nomeArquivo = ref.current.name;\n const extension = getExtension(e.target.files[0].name);\n\n if (!extensoesSuporte.includes(extension)) {\n setSuporteError('Tipo de arquivo não suportado');\n setShowSuporteModal(true);\n\n e.target.value = null;\n\n if (nomeArquivo === 'suporteArquivo1') {\n setSuporteArquivo1(null);\n } else if (nomeArquivo === 'suporteArquivo2') {\n setSuporteArquivo2(null);\n } else if (nomeArquivo === 'suporteArquivo3') {\n setSuporteArquivo3(null);\n } else if (nomeArquivo === 'suporteArquivo4') {\n setSuporteArquivo4(null);\n } else if (nomeArquivo === 'suporteArquivo5') {\n setSuporteArquivo5(null);\n }\n\n return null;\n }\n\n if (e.target.files[0].size > 5242880) {\n setSuporteError('Arquivo excede o limite de 5MB');\n setShowSuporteModal(true);\n\n e.target.value = null;\n\n if (nomeArquivo === 'suporteArquivo1') {\n setSuporteArquivo1(null);\n } else if (nomeArquivo === 'suporteArquivo2') {\n setSuporteArquivo2(null);\n } else if (nomeArquivo === 'suporteArquivo3') {\n setSuporteArquivo3(null);\n } else if (nomeArquivo === 'suporteArquivo4') {\n setSuporteArquivo4(null);\n } else if (nomeArquivo === 'suporteArquivo5') {\n setSuporteArquivo5(null);\n }\n\n return null;\n }\n\n if (nomeArquivo === 'suporteArquivo1') {\n setSuporteArquivo1(e.target.files[0]);\n } else if (nomeArquivo === 'suporteArquivo2') {\n setSuporteArquivo2(e.target.files[0]);\n } else if (nomeArquivo === 'suporteArquivo3') {\n setSuporteArquivo3(e.target.files[0]);\n } else if (nomeArquivo === 'suporteArquivo4') {\n setSuporteArquivo4(e.target.files[0]);\n } else if (nomeArquivo === 'suporteArquivo5') {\n setSuporteArquivo5(e.target.files[0]);\n }\n };\n\n const resetSuporteArquivo = ref => {\n ref.current.value = null;\n\n const name = ref.current.name;\n\n if (name === 'suporteArquivo1') {\n setSuporteArquivo1(null);\n } else if (name === 'suporteArquivo2') {\n setSuporteArquivo2(null);\n } else if (name === 'suporteArquivo3') {\n setSuporteArquivo3(null);\n } else if (name === 'suporteArquivo4') {\n setSuporteArquivo4(null);\n } else if (name === 'suporteArquivo5') {\n setSuporteArquivo5(null);\n }\n };\n\n const handleEquipamentoEngenhariaClinicaModalClose = () => setShowEquipamentoEngenhariaClinicaModal(false);\n\n const handleCipaModalClose = () => setShowCipaModal(false);\n const handleConfirmarCipaModalClose = () => setShowConfirmarCipaModal(false);\n const handleCipaJaVotouModalClose = () => setShowCipaJaVotouModal(false);\n\n const [cipaInscricaoUnidade, setCipaInscricaoUnidade] = useState('');\n const [cipaInscricaoCargo, setCipaInscricaoCargo] = useState('');\n const [cipaInscricaoSobre, setCipaInscricaoSobre] = useState('');\n const [showCipaInscricaoModal, setShowCipaInscricaoModal] = useState(false);\n const [cipaInscricaoError, setCipaInscricaoError] = useState('');\n\n const handleCipaInscricaoUnidade = e => setCipaInscricaoUnidade(e.target.value);\n const handleCipaInscricaoCargo = e => setCipaInscricaoCargo(e.target.value);\n const handleCipaInscricaoSobre = e => setCipaInscricaoSobre(e.target.checked);\n\n const handleCipaInscricaoModalClose = () => setShowCipaInscricaoModal(false);\n\n const handleModalClose = () => setShowModal(false);\n const handleModalShow = () => setShowModal(true);\n\n const handleRelatoModalClose = () => setShowRelatoModal(false);\n const handleVestuarioModalClose = () => setShowVestuarioModal(false);\n const handleModalVestuarioConfirmClose = () => setShowModalVestuarioConfirm(false);\n const handleVestuarioMessageModalClose = () => setShowVestuarioMessageModal(false);\n const handleLoginSistemasModalClose = () => setShowLoginSistemasModal(false);\n\n const closeEmailModal = () => setShowEmailModal(false);\n\n const handleCreateEmail = e => {\n let { name, value } = e.target;\n\n if (name === 'phone') {\n e.target.value = phoneMask(e.target.value);\n }\n\n if (name === 'registration') {\n e.target.value = matriculaMask(e.target.value);\n }\n\n const list = { ...createEmail, [name]: value };\n\n setCreateEmail(list);\n };\n\n const handleAddMedicamentoSaudeMental = () => {\n setMedicamentosSaudeMental([...medicamentosSaudeMental, medicamentosInitial]);\n };\n\n const handleAddMedicamentoAtencaoBasica = () => {\n setMedicamentosAtencaoBasica([...medicamentosAtencaoBasica, medicamentosInitial]);\n };\n\n const handleAddMateriaisEscritorio = () => {\n setMateriaisEscritorio([...materiaisEscritorio, materiaisInitial]);\n };\n\n const handleAddMateriaisExpediente = () => {\n setMateriaisExpediente([...materiaisExpediente, materiaisInitial]);\n };\n\n const handleAddMateriaisLimpeza = () => {\n setMateriaisLimpeza([...materiaisLimpeza, materiaisInitial]);\n };\n\n const handleRemoveMedicamentoSaudeMental = index => {\n handleModalClose();\n\n let list = [...medicamentosSaudeMental];\n list.splice(index, 1);\n\n setMedicamentosSaudeMental(list);\n };\n\n const handleRemoveMedicamentoAtencaoBasica = index => {\n let list = [...medicamentosAtencaoBasica];\n list.splice(index, 1);\n\n setMedicamentosAtencaoBasica(list);\n };\n\n const handleRemoveMateriaisEscritorio = index => {\n let list = [...materiaisEscritorio];\n list.splice(index, 1);\n\n setMateriaisEscritorio(list);\n };\n\n const handleRemoveMateriaisExpediente = index => {\n let list = [...materiaisExpediente];\n list.splice(index, 1);\n\n setMateriaisExpediente(list);\n };\n\n const handleRemoveMateriaisLimpeza = index => {\n let list = [...materiaisLimpeza];\n list.splice(index, 1);\n\n setMateriaisLimpeza(list);\n };\n\n const handleMedicamentosSaudeMental = (position, field, item) => {\n const updatedMedicamentos = medicamentosSaudeMental.map((standardItem, index) => {\n if (index === position) {\n return { ...standardItem, [field]: item };\n }\n\n return standardItem;\n });\n\n setMedicamentosSaudeMental(updatedMedicamentos);\n };\n\n const handleMedicamentosAtencaoBasica = (position, field, item) => {\n const updatedMedicamentos = medicamentosAtencaoBasica.map((standardItem, index) => {\n if (index === position) {\n return { ...standardItem, [field]: item };\n }\n\n return standardItem;\n });\n\n setMedicamentosAtencaoBasica(updatedMedicamentos);\n };\n\n const handleMateriaisEscritorio = (position, field, item) => {\n const updatedMateriaisEscritorio = materiaisEscritorio.map((standardItem, index) => {\n if (index === position) {\n return { ...standardItem, [field]: item };\n }\n\n return standardItem;\n });\n\n setMateriaisEscritorio(updatedMateriaisEscritorio);\n };\n\n const handleMateriaisExpediente = (position, field, item) => {\n const updatedMateriaisExpediente = materiaisExpediente.map((standardItem, index) => {\n if (index === position) {\n return { ...standardItem, [field]: item };\n }\n\n return standardItem;\n });\n\n setMateriaisExpediente(updatedMateriaisExpediente);\n };\n\n const handleMateriaisLimpeza = (position, field, item) => {\n const updatedMateriaisLimpeza = materiaisLimpeza.map((standardItem, index) => {\n if (index === position) {\n return { ...standardItem, [field]: item };\n }\n\n return standardItem;\n });\n\n setMateriaisLimpeza(updatedMateriaisLimpeza);\n };\n\n const handleSwitch = () => {\n setShowMedicamentosAtencaoBasica(!showMedicamentosAtencaoBasica);\n\n setMedicamentosAtencaoBasica([medicamentosInitial]);\n };\n\n const handleLoginSistemas = e => {\n setLoginSistemas(e.target.value);\n };\n\n const handleLoginSuporte = e => {\n let { name, value } = e.target;\n\n if (name === 'telefone') {\n e.target.value = phoneMask(e.target.value);\n }\n\n if (name === 'cpf') {\n e.target.value = cpfMask(e.target.value);\n }\n\n if (name === 'tipo') {\n setLoginSistemas('');\n }\n\n const list = { ...loginSuporte, [name]: value };\n\n setLoginSuporte(list);\n };\n\n useEffect(() => {\n const data = JSON.parse(localStorage.getItem('login'));\n\n let exercicioDe;\n\n if (data?.user?.admissionDate) {\n const day = new Date(data?.user?.admissionDate).getUTCDate();\n const month = new Date(data?.user?.admissionDate).getUTCMonth();\n const actualYear = new Date().getUTCFullYear() - 1;\n exercicioDe = new Date(actualYear, month, day);\n }\n\n const exercicioA = new Date(exercicioDe);\n exercicioA.setDate(exercicioA.getDate() + 365);\n\n setUsuario(decrypt(data?.user?.name));\n setUserUnidade(decrypt(data?.user?.unit));\n setUserNome(decrypt(data?.user?.name));\n\n if (data?.user?.phone) {\n setUserTelefone(decrypt(data?.user?.phone));\n setTelefone(decrypt(data?.user?.phone));\n }\n\n if (data?.user?.registration) {\n setUserMatricula(decrypt(data?.user?.registration));\n setMatricula(decrypt(data?.user?.registration));\n }\n\n setUserEmail(decrypt(data?.user?.email));\n setEmail(decrypt(data?.user?.email));\n setNome(decrypt(data?.user?.name));\n setUnidade(decrypt(data?.user?.unit));\n }, []);\n\n useEffect(() => {\n const units = async () => {\n const response = await getUnidades('sisged');\n\n setUnidades(response);\n };\n\n units();\n }, []);\n\n useEffect(() => {\n const categories = async () => {\n let response = await getCategorias();\n\n if (isConsulta) {\n const categoriasConsulta = response.filter(categoria => categoria.id === 10 || categoria.id === 11 || categoria.id === 12);\n\n setCategorias(categoriasConsulta);\n\n return;\n }\n\n if (isConsulta) {\n const categoriasConsulta = response.filter(categoria => categoria.id === 7);\n\n setCategorias(categoriasConsulta);\n }\n\n if (!unidade.includes('Diretoria')) {\n const filterCategorias = response.filter(categoria => categoria.id !== 7 && categoria.id !== 9)\n\n setCategorias(filterCategorias);\n } else {\n setCategorias(response);\n }\n\n if (!unidade.includes('Diretoria')) {\n const filterCategorias = response.filter(categoria => categoria.id !== 7 && categoria.id !== 9);\n\n setCategorias(filterCategorias);\n }\n\n return response;\n };\n\n categories();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [unidade]);\n\n const handleEmail = e => {\n setEmail(e.target.value);\n };\n\n const handleNome = e => {\n setNome(e.target.value);\n setUserNome(e.target.value);\n };\n\n const handleTelefone = e => {\n const telMask = phoneMask(e.target.value);\n\n setTelefone(telMask);\n setUserTelefone(telMask);\n };\n\n const handleCategoria = e => {\n setCategoria(e.target.value);\n setSubcategoria('');\n };\n\n useEffect(() => {\n if (categoria === 'Reposição de Material/Estoque' || subcategoria === 'Criação de e-mail corporativo') {\n setIsRequired(false);\n setMensagemRelato('Observações:');\n } else {\n setIsRequired(true);\n setMensagemRelato('*Descreva brevemente a solicitação:');\n }\n }, [categoria, subcategoria]);\n\n const handleSubcategoria = e => {\n setSubcategoria(e.target.value);\n };\n\n const handleUnidade = e => {\n setUnidade(e.target.value);\n setUserUnidade(e.target.value);\n };\n\n const handleRelato = e => {\n let currentLength = e.target.value.length;\n\n setCounter(currentLength);\n setRelato(e.target.value);\n };\n\n const handleSolicitacaoVeiculo = e => {\n let { name, value } = e.target;\n\n if (name === 'veiculoTelefone') {\n e.target.value = phoneMask(e.target.value);\n }\n\n const list = { ...solicitacaoVeiculo, [name]: value };\n\n setSolicitacaoVeiculo(list);\n };\n\n const handleSolicitacaoMotoboy = e => {\n let { name, value } = e.target;\n\n if (name === 'motoboyTelefone') {\n e.target.value = phoneMask(e.target.value);\n }\n\n const list = { ...solicitacaoMotoboy, [name]: value };\n\n setSolicitacaoMotoboy(list);\n };\n\n useEffect(() => {\n if (subcategoria) {\n window.scrollBy(0, 350);\n }\n }, [subcategoria]);\n\n const handleValeRefeicao = e => {\n setValeRefeicao(e.target.value);\n };\n\n const handleModalVRErroClose = () => setShowModalVRErro(false);\n\n const handleModalVRConfirmClose = () => setShowModalVRConfirm(false);\n\n useEffect(() => {\n const getUser = async () => {\n const login = JSON.parse(localStorage.getItem('login'));\n const userEmail = login.user.email;\n const response = await getUserByEmail(userEmail);\n\n if (response?.valeRefeicao) {\n setIsValeRefeicao(response?.valeRefeicao);\n }\n\n if (response?.vestuario) {\n setIsVestuario(response?.vestuario);\n setShowVestuarioMessageModal(false);\n }\n\n if (response?.cipa) {\n setCipaJaVotou(response?.cipa);\n }\n\n if (response?.cipaInscricao) {\n setCipaInscricao(response?.cipaInscricao);\n }\n };\n\n getUser();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n setVrOption(valeRefeicao);\n }, [valeRefeicao]);\n\n const vrConfirm = () => {\n setShowModalVRConfirm(false);\n\n const vrData = { email, valeRefeicao };\n\n updateValeRefeicao(vrData);\n\n history.push('/');\n };\n\n const vestuarioConfirm = async () => {\n setShowModalVestuarioConfirm(false);\n\n const vestuarioObj = {\n camisa,\n calca,\n jaleco,\n calcado,\n observacoes: vestuarioObservacoes\n };\n\n const vestuarioData = { email, vestuarioObj };\n\n updateVestuario(vestuarioData);\n\n setShowVestuarioToast(true);\n\n setTimeout(() => {\n history.push('/');\n }, 5000);\n };\n\n useEffect(() => {\n const getNumeroCalcado = Array.from({ length: 21 }, (v, k) => (k + 29) + 1);\n\n setNumeroCalcado(getNumeroCalcado);\n }, []);\n\n const handleCalcado = e => {\n setCalcado(e.target.value);\n };\n\n const handleCamisa = e => {\n setCamisa(e.target.value);\n };\n\n const handleCalca = e => {\n setCalca(e.target.value);\n };\n\n const handleJaleco = e => {\n setJaleco(e.target.value);\n };\n\n const handleVestuarioObservacoes = e => {\n setVestuarioObservacoes(e.target.value);\n };\n\n const selecionarCipa = e => {\n let childIndex = 5;\n\n if (isConsulta) {\n childIndex = 4;\n }\n\n [...e.target.form.childNodes[childIndex].children].forEach(node => node.firstChild.style.transform = 'scale(1)');\n [...e.target.form.childNodes[childIndex].children].forEach(node => node.firstChild.style.boxShadow = '9px 9px 21px -12px rgba(0, 0, 0, 0.88)');\n [...e.target.form.childNodes[childIndex].children].forEach(node => node.firstChild.style.background = '#fafafa');\n [...e.target.form.childNodes[childIndex].children].forEach(node => node.childNodes[0].childNodes[2].childNodes[3].innerText = 'Selecionar');\n\n e.target.previousElementSibling.offsetParent.offsetParent.style.transition = 'all 0.2s ease-in-out';\n e.target.previousElementSibling.offsetParent.offsetParent.style.boxShadow = '9px 9px 21px -12px rgba(0, 0, 255, 0.8)';\n e.target.previousElementSibling.offsetParent.offsetParent.style.transform = 'scale(1.2)';\n e.target.previousElementSibling.offsetParent.offsetParent.style.background = 'linear-gradient(90deg, rgba(0, 0, 255, 0.2) 0%, rgba(255, 0, 0, 0.2) 100%)';\n e.nativeEvent.target.innerText = 'Selecionado';\n\n setCipaVoto(e.target.value);\n };\n\n const confirmarCipa = async () => {\n setShowConfirmarCipaModal(false);\n setShowCipaJaVotouModal(true);\n setVotarCipa(false);\n\n const audio = new Audio('../../assets/som/confirma-urna.mp3');\n await audio.play();\n\n await criarCipa({ voto: cipaVoto });\n await getCipaJaVotou(email);\n\n setTimeout(() => {\n history.push('/');\n }, 5000);\n };\n\n const goToApuracao = () => {\n history.push('/cipa/apuracao');\n };\n\n const handleEquipamentoEngenhariaClinica = e => {\n setEquipamentoEngenhariaClinica(e.target.value);\n };\n\n useEffect(() => {\n if (isVestuario && subcategoria === 'Vestuário') {\n setMostrarVestuario(false);\n } else {\n setMostrarVestuario(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [subcategoria]);\n\n const handleSubmit = async event => {\n event.preventDefault();\n setLoading(true);\n\n const data = {\n email,\n nome,\n telefone,\n categoria,\n subcategoria,\n unidade,\n relato\n };\n\n if (subcategoria === 'ERP - (MXM)') {\n if (!erpNome) {\n setErpError('O campo Nome completo é obrigatório.');\n\n setShowErpModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!erpEmail) {\n setErpError('O campo e-mail é obrigatório.');\n\n setShowErpModal(true);\n setLoading(false);\n\n return;\n }\n\n if (erpEmail && !/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(erpEmail)) {\n setErpError('O e-mail digitado não é válido.');\n\n setShowErpModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!erpMatricula) {\n setErpError('O campo Matrícula é obrigatório.');\n\n setShowErpModal(true);\n setLoading(false);\n\n return;\n }\n\n if (erpMatricula.replace(/\\D/g, '').length !== 5) {\n setErpError('A matrícula digitada não é válida.');\n\n setShowErpModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!erpUnidade) {\n setErpError('O campo Unidade é obrigatório.');\n\n setShowErpModal(true);\n setLoading(false);\n\n return;\n }\n\n const erp = {\n erpNome,\n erpEmail,\n erpMatricula,\n erpUnidade,\n erpAdministrador,\n erpCadastrosComuns,\n erpCadastrosComumFinanceiro,\n erpGestaoDeProcessos,\n erpCompras,\n erpContratoCompras,\n erpContasPagar,\n erpPagamentoEscritural,\n erpContasReceber,\n erpTesouraria,\n erpIntegracaoPadrao,\n erpContabil,\n erpEstoque,\n erpPatrimonio,\n erpOrcamento,\n erpReinf,\n erpEfd,\n erpEcd,\n erpEcf\n };\n\n data.erp = erp;\n }\n\n if (subcategoria === 'Formulário de Inscrição CIPAA') {\n if (!nome) {\n setCipaInscricaoError('O campo Nome completo é obrigatório.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!cipaInscricaoUnidade) {\n setCipaInscricaoError('O campo Unidade em que atua é obrigatório.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!cipaInscricaoCargo) {\n setCipaInscricaoError('O campo Cargo/Função é obrigatório.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!email) {\n setCipaInscricaoError('O campo e-mail é obrigatório.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (email && !/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email)) {\n setCipaInscricaoError('O e-mail digitado não é válido.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!matricula) {\n setCipaInscricaoError('O campo Matrícula é obrigatório.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (matricula.replace(/\\D/g, '').length !== 5) {\n setCipaInscricaoError('A matrícula digitada não é válida.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!cipaInscricaoSobre) {\n setCipaInscricaoError('Marque o campo de confirmação de leitura do Edital.');\n\n setShowCipaInscricaoModal(true);\n setLoading(false);\n\n return;\n }\n\n const cipaInscricao = {\n nome,\n unidade: cipaInscricaoUnidade,\n cargo: cipaInscricaoCargo,\n email,\n matricula,\n sobre: cipaInscricaoSobre\n };\n\n data.cipaInscricao = cipaInscricao;\n }\n\n if (subcategoria === 'Formulário de Criação') {\n if (!briefingPorque) {\n setBriefingError(

O campo

O que precisamos fazer? Por que você está fazendo esse pedido?

é obrigatório

);\n\n setShowBriefingModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!briefingMedidas) {\n setBriefingError(

O campo

Quais peças devem ser desenvolvidas/criadas?Quais as medidas(largura X altura)?

é obrigatório

);\n\n setShowBriefingModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!briefingOnde) {\n setBriefingError(

O campo

Onde serão veiculadas/expostas?(Redes sociais, portal, impressos, eventos etc.)

é obrigatório

);\n\n setShowBriefingModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!briefingPrazo) {\n setBriefingError(

O campo

Qual é o prazo final para entrega do projeto? Sujeito a análise interna e viabilidade dos pedidos na fila de produção.

é obrigatório

);\n\n setShowBriefingModal(true);\n setLoading(false);\n\n return;\n }\n\n if (new Date(briefingPrazo) < Date.now()) {\n setBriefingError(

O campo

Qual é o prazo final para entrega do projeto? Sujeito a análise interna e viabilidade dos pedidos na fila de produção.

deve ser a partir de amanhã

);\n\n setShowBriefingModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!briefingDetalhe) {\n setBriefingError(

O campo

Tem mais algum detalhe?Deixe aqui o seu comentário para inspirar a nossa equipe.

é obrigatório

);\n\n setShowBriefingModal(true);\n setLoading(false);\n\n return;\n }\n\n const formData = new FormData();\n\n briefingArquivo1 && formData.append('files', briefingArquivo1);\n briefingArquivo2 && formData.append('files', briefingArquivo2);\n briefingArquivo3 && formData.append('files', briefingArquivo3);\n briefingArquivo4 && formData.append('files', briefingArquivo4);\n briefingArquivo5 && formData.append('files', briefingArquivo5);\n\n const response = await fetch(`${baseUrl}/ascom/upload`, {\n method: 'POST',\n headers: {\n // 'Content-type': 'multipart/form-data',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: formData\n });\n\n const files = await response.json();\n\n const briefing = {\n briefingPorque,\n briefingMedidas,\n briefingOnde,\n briefingPrazo,\n briefingDetalhe,\n briefingArquivos: files\n };\n\n data.relato = ' ';\n data.briefing = briefing;\n }\n\n if (subcategoria === 'Manutenção de Equipamentos') {\n if (!equipamentoEngenhariaClinica) {\n setEquipamentoEngenhariaClinicaError('Selecione um equipamento.');\n setShowEquipamentoEngenhariaClinicaModal(true);\n setLoading(false);\n\n return;\n }\n }\n\n if (subcategoria === 'Votação CIPAA') {\n if (!cipaVoto) {\n setCipaError('Selecione um candidato.');\n setShowCipaModal(true);\n setLoading(false);\n\n return;\n }\n\n setCipaFoto(cipaCards.find(item => item.nome === cipaVoto).foto);\n\n setShowConfirmarCipaModal(true);\n\n setLoading(false);\n\n return;\n }\n\n if (subcategoria === 'Vestuário') {\n if (!userMatricula) {\n setVestuarioError('Somente usuários com matrícula podem escolher o vestuário.');\n setShowVestuarioModal(true);\n setLoading(false);\n\n return;\n }\n\n if (isVestuario) {\n setVestuarioError('Você já escolheu os tamanhos do vestuário.');\n setShowVestuarioModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!camisa) {\n setVestuarioError('O campo Camisa é obrigatório.');\n setShowVestuarioModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!calca) {\n setVestuarioError('O campo Calça é obrigatório.');\n setShowVestuarioModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!jaleco) {\n setVestuarioError('O campo Jaleco é obrigatório.');\n setShowVestuarioModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!calcado) {\n setVestuarioError('O campo Calçado é obrigatório.');\n setShowVestuarioModal(true);\n setLoading(false);\n\n return;\n }\n\n setShowModalVestuarioConfirm(true);\n\n setLoading(false);\n\n return;\n }\n\n if (subcategoria === 'Vale refeição / alimentação') {\n if (!valeRefeicao) {\n setShowModalVRErro(true);\n setLoading(false);\n\n return;\n }\n\n if (valeRefeicao) {\n setShowModalVRConfirm(true);\n }\n\n setLoading(false);\n\n return;\n }\n\n if (categoria === 'Engenharia Clínica' && subcategoria === 'Manutenção de Equipamentos') {\n data.equipamentoEngenhariaClinica = equipamentoEngenhariaClinica;\n }\n\n if (categoria === 'Reposição de Material/Estoque' ||\n categoria === 'Férias' ||\n subcategoria === 'Formulário de Inscrição CIPAA' ||\n subcategoria === 'ERP - (MXM)') {\n data.relato = '...';\n }\n\n if (subcategoria === 'Solicitação de material de escritório') {\n for (let i = 0; i < materiaisEscritorio.length; i++) {\n if (materiaisEscritorio[i]['material'] === '') {\n setShowModal(true);\n setMaterialError('O campo Material de Escritório não pode estar vazio.');\n setLoading(false);\n\n return;\n }\n\n if (Number(materiaisEscritorio[i]['quantidade']) < 1) {\n setShowModal(true);\n setMaterialError('O campo Quantidade não pode ser menor que 1.');\n setLoading(false);\n\n return;\n }\n }\n\n data.materiaisEscritorio = materiaisEscritorio;\n }\n\n if (subcategoria === 'Solicitação de material de expediente') {\n for (let i = 0; i < materiaisExpediente.length; i++) {\n if (materiaisExpediente[i]['material'] === '') {\n setShowModal(true);\n setMaterialError('O campo Material de Expediente não pode estar vazio.');\n setLoading(false);\n\n return;\n }\n\n if (Number(materiaisExpediente[i]['quantidade']) < 1) {\n setShowModal(true);\n setMaterialError('O campo Quantidade não pode ser menor que 1.');\n setLoading(false);\n\n return;\n }\n }\n\n data.materiaisExpediente = materiaisExpediente;\n }\n\n if (subcategoria === 'Solicitação de material de limpeza') {\n for (let i = 0; i < materiaisLimpeza.length; i++) {\n if (materiaisLimpeza[i]['material'] === '') {\n setShowModal(true);\n setMaterialError('O campo Material de Limpeza não pode estar vazio.');\n setLoading(false);\n\n return;\n }\n\n if (Number(materiaisLimpeza[i]['quantidade']) < 1) {\n setShowModal(true);\n setMaterialError('O campo Quantidade não pode ser menor que 1.');\n setLoading(false);\n\n return;\n }\n }\n\n data.materiaisLimpeza = materiaisLimpeza;\n }\n\n if (subcategoria === 'Solicitação de transporte de pessoas') {\n if (solicitacaoVeiculo.veiculoData === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Data do transporte.');\n setLoading(false);\n\n return;\n }\n\n if (new Date(solicitacaoVeiculo.veiculoData) <= new Date()) {\n setShowModal(true);\n setVeiculoError('Não é possível agendar um veículo para uma data anterior ou igual a data atual.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoVeiculo.veiculoHora === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Hora do transporte.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoVeiculo.veiculoTempo === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Tempo estimado.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoVeiculo.veiculoPassageiro === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Nome do passageiro.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoVeiculo.veiculoTelefone === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Telefone do passageiro.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoVeiculo.veiculoSaida === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Endereço da saída.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoVeiculo.veiculoDestino === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Endereço do destino.');\n setLoading(false);\n\n return;\n }\n\n data.solicitacaoVeiculo = solicitacaoVeiculo;\n\n data.solicitacaoVeiculo.veiculoData = new Date(data.solicitacaoVeiculo.veiculoData);\n }\n\n if (subcategoria === 'Solicitação de transporte de materiais') {\n if (solicitacaoMotoboy.motoboyData === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Data do transporte.');\n setLoading(false);\n\n return;\n }\n\n if (new Date(solicitacaoMotoboy.motoboyData) <= new Date()) {\n setShowModal(true);\n setVeiculoError('Não é possível agendar um veículo para uma data anterior ou igual a data atual.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoMotoboy.motoboyHora === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Hora do transporte.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoMotoboy.motoboyTempo === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Tempo estimado.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoMotoboy.motoboyPassageiro === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Nome do passageiro.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoMotoboy.motoboyTelefone === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Telefone do passageiro.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoMotoboy.motoboySaida === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Endereço da saída.');\n setLoading(false);\n\n return;\n }\n\n if (solicitacaoMotoboy.motoboyDestino === '') {\n setShowModal(true);\n setVeiculoError('Preencha o campo Endereço do destino.');\n setLoading(false);\n\n return;\n }\n\n data.solicitacaoMotoboy = solicitacaoMotoboy;\n\n data.solicitacaoMotoboy.motoboyData = new Date(data.solicitacaoMotoboy.motoboyData);\n }\n\n if (subcategoria === 'Criação de e-mail corporativo') {\n createEmail.registration = formatarMatricula(createEmail.registration);\n\n if (createEmail.registration === '') {\n setShowEmailModal(true);\n setEmailError('O campo Matrícula é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.registration.length !== 6) {\n setShowEmailModal(true);\n setEmailError('A Matrícula deve ter 5 números.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.name === '') {\n setShowEmailModal(true);\n setEmailError('O campo Nome é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.email === '') {\n setShowEmailModal(true);\n setEmailError('O campo E-mail sugerido é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.phone === '') {\n setShowEmailModal(true);\n setEmailError('O campo Telefone é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.admissionDate === '') {\n setShowEmailModal(true);\n setEmailError('O campo Data de admissão é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.unit === '') {\n setShowEmailModal(true);\n setEmailError('O campo Unidade é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n if (createEmail.job === '') {\n setShowEmailModal(true);\n setEmailError('O campo Cargo é obrigatório.');\n setLoading(false);\n\n return;\n }\n\n const dataCriacaoEmail = {\n registration: createEmail.registration,\n name: createEmail.name,\n email: createEmail.email,\n phone: createEmail.phone,\n admissionDate: new Date(createEmail.admissionDate),\n unit: createEmail.unit,\n job: createEmail.job,\n sisged: createEmail.sisged\n };\n\n data.criacaoEmail = dataCriacaoEmail;\n }\n\n if (subcategoria === 'Sistemas de Saúde') {\n if (!loginSuporte?.tipo) {\n setLoginSistemasError('O campo Login ou Suporte é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (!loginSistemas) {\n setLoginSistemasError('O campo Sistema é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n const notValidate = (loginSistemas !== 'CNES' && loginSistemas !== 'BPA' && loginSistemas !== 'RAAS' && loginSistemas !== 'Outros');\n\n if (loginSuporte?.tipo === 'login') {\n if (notValidate && !loginSuporte?.unidade) {\n setLoginSistemasError('O campo Unidade é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !loginSuporte?.nome) {\n setLoginSistemasError('O campo Nome Completo é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !loginSuporte?.cpf) {\n setLoginSistemasError('O campo CPF é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && cpfValidator(loginSuporte?.cpf)?.error) {\n setLoginSistemasError(cpfValidator(loginSuporte?.cpf)?.message);\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !loginSuporte?.cns) {\n setLoginSistemasError('O campo CNS é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !cnsValidator(loginSuporte?.cns)) {\n setLoginSistemasError('O CNS digitado não é válido.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !loginSuporte?.email) {\n setLoginSistemasError('O campo e-mail é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !emailValidator(loginSuporte?.email)) {\n setLoginSistemasError('O e-mail digitado não é válido.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n if (notValidate && !loginSuporte?.telefone) {\n setLoginSistemasError('O campo Telefone é obrigatório.');\n setShowLoginSistemasModal(true);\n setLoading(false);\n\n return;\n }\n\n const dataLoginSistemas = {\n tipo: loginSuporte?.tipo ? loginSuporte?.tipo : '',\n sistema: loginSistemas ? loginSistemas : '',\n unidade: loginSuporte?.unidade ? loginSuporte?.unidade : '',\n nome: loginSuporte?.nome ? loginSuporte?.nome : '',\n cpf: loginSuporte?.cpf ? cpfMask(loginSuporte?.cpf) : '',\n cns: loginSuporte?.cns ? loginSuporte?.cns : '',\n email: loginSuporte?.email ? loginSuporte?.email : '',\n telefone: loginSuporte?.telefone ? phoneMask(loginSuporte?.telefone) : ''\n };\n\n data.loginSistemas = dataLoginSistemas;\n }\n\n if (loginSuporte?.tipo === 'suporte') {\n const suporteFormData = new FormData();\n\n suporteArquivo1 && suporteFormData.append('files', suporteArquivo1);\n suporteArquivo2 && suporteFormData.append('files', suporteArquivo2);\n suporteArquivo3 && suporteFormData.append('files', suporteArquivo3);\n suporteArquivo4 && suporteFormData.append('files', suporteArquivo4);\n suporteArquivo5 && suporteFormData.append('files', suporteArquivo5);\n\n const response = await fetch(`${baseUrl}/suporte/upload`, {\n method: 'POST',\n headers: {\n // 'Content-type': 'multipart/form-data',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: suporteFormData\n });\n\n const filesSuporte = await response.json();\n\n const dataLoginSistemas = {\n tipo: loginSuporte?.tipo,\n sistema: loginSistemas,\n suporteArquivos: filesSuporte\n };\n\n data.loginSistemas = dataLoginSistemas;\n }\n }\n\n if (subcategoria === 'Ponto Eletrônico') {\n if (!pontoEletronico) {\n setRelatoError('O campo Assunto é obrigatório');\n setShowRelatoModal(true);\n setLoading(false);\n\n return;\n }\n\n data.pontoEletronico = {\n assunto: pontoEletronico,\n };\n }\n\n const categoriasExcluidas = [\n 'Manutenção de rede/internet',\n 'Manutenção VOIP (Telefone Fixo)'\n ];\n\n if (categoria === 'Suporte de TI') {\n if (subcategoria.includes('Manutenção') && !categoriasExcluidas.includes(subcategoria)) {\n if (!patrimonioTi) {\n setTiError('O campo Patrimônio é obrigatório.');\n setShowTiModal(true);\n setLoading(false);\n \n return;\n }\n }\n\n data.suporteTi = {\n telContatoTi,\n patrimonioTi,\n empresaResp: ''\n };\n }\n\n if (data.relato === '' && subcategoria !== 'Criação de e-mail corporativo') {\n setShowRelatoModal(true);\n setRelatoError('Descreva a solicitação.');\n setLoading(false);\n\n return;\n }\n\n const sla = categorias\n .filter(item => item.categoria === categoria)[0].subcategoria\n .filter(item => item.nome === subcategoria)[0].sla;\n\n const responder = categorias\n .filter(item => item.categoria === categoria)[0].subcategoria\n .filter(item => item.nome === subcategoria)[0].responder;\n\n data.createdAt = new Date();\n data.sla = sla;\n data.status = 'Aberto';\n data.responder = responder;\n\n if (subcategoria === 'Formulário de Inscrição CIPAA') {\n getCipaInscricao(email);\n }\n\n criarChamado(data);\n\n setLoading(false);\n\n history.push({\n pathname: '/solicitacoes',\n state: { isRedirect: true }\n });\n };\n\n return (\n \n Nova Solicitação\n
\n {usuario && (\n <>\n \n *e-mail:\n handleEmail(e)}\n value={userEmail}\n readOnly />\n \n\n \n \n \n *Nome do Solicitante:\n handleNome(e)}\n value={userNome}\n />\n \n \n\n \n \n *Telefone:\n handleTelefone(e)}\n value={userTelefone}\n placeholder=\"(21) 99999-9999\"\n />\n \n \n \n \n )}\n\n {!isConsulta && (\n \n \n \n \n \n )}\n\n \n \n {unidade && (\n \n )}\n \n\n \n {categoria === 'Suporte de TI' && (\n \n )}\n\n {categoria === 'Manutenção Predial' && (\n \n )}\n\n {categoria === 'Manutenção de Elétrica e Iluminação' && (\n \n )}\n\n {categoria === 'Manutenção de Água e Esgoto' && (\n \n )}\n\n {categoria === 'Manutenção de Ar-Condicionado' && (\n \n )}\n\n {categoria === 'Manutenção de Equipamentos e Mobiliários' && (\n \n )}\n\n {categoria === 'Reposição de Material/Estoque' && (\n \n )}\n\n {categoria === 'Agendamento de Veículo' && (\n \n )}\n\n {categoria === 'Demonstrativos' && (\n \n )}\n\n {categoria === 'Cadastro' && (\n \n )}\n\n {categoria === 'Eleição' && (\n \n )}\n\n {categoria === 'Engenharia Clínica' && (\n \n )}\n\n {categoria === 'Solicitações ASCOM' && (\n \n )}\n\n {categoria === 'Sistemas Administrativos - Criação de Login/Suporte' && (\n \n )}\n\n {categoria === 'Solicitações de Ponto Eletrônico' && (\n \n )}\n \n \n\n {subcategoria === 'Criação de e-mail corporativo' && (\n \n )}\n\n {subcategoria === 'Sistemas de Saúde' && (\n \n )}\n\n {subcategoria === 'Solicitação de medicamentos' && (\n <>\n \n\n {showMedicamentosAtencaoBasica && (\n \n )}\n \n )}\n\n {subcategoria === 'Solicitação de material de escritório' && (\n \n )}\n\n {subcategoria === 'Solicitação de material de expediente' && (\n \n )}\n\n {subcategoria === 'Solicitação de material de limpeza' && (\n \n )}\n\n {subcategoria === 'Solicitação de transporte de pessoas' && (\n \n )}\n\n {subcategoria === 'Solicitação de transporte de materiais' && (\n \n )}\n\n {subcategoria === 'Vale refeição / alimentação' && (\n \n )}\n\n {subcategoria === 'Vestuário' && (\n \n )}\n\n {subcategoria === 'Manutenção de Equipamentos' && (\n \n )}\n\n {!isErp && subcategoria === 'ERP - (MXM)' && (\n \n Atenção!\n

\n O seu Perfil não tem permissão para acessar esse módulo.\n

\n

\n Solicite a sua permissão em admusu@fesaude.niteroi.rj.gov.br\n

\n
\n )}\n\n {isErp && subcategoria === 'ERP - (MXM)' && (\n \n )}\n\n {subcategoria === 'Formulário de Criação' && (\n \n )}\n\n {subcategoria === 'Ponto Eletrônico' && (\n \n Assunto:\n \n \n {pontoEletronicoSelect.map(item => (\n \n ))}\n \n \n )}\n\n {subcategoria === 'Formulário de Inscrição CIPAA' && prazoInscricao && !cipaInscricao.inscrito && (\n \n )}\n\n {subcategoria === 'Formulário de Inscrição CIPAA' && !prazoInscricao && (\n \n Atenção\n

\n O prazo da Inscrição para a Eleição da CIPAA já terminou.\n

\n
\n )}\n\n {subcategoria === 'Formulário de Inscrição CIPAA' && cipaInscricao.inscrito && (\n <>\n Você já se inscreveu em {formatarDataEHora(cipaInscricao?.createdAt)}\n\n
\n
\n Formulário de Inscrição CIPAA\n
\n
\n \n )}\n\n {(subcategoria === 'Votação CIPAA' && !matricula && (\n \n Somente colaboradores com matrícula estão habilitados a participarem da votação\n \n ))}\n\n {subcategoria === 'Votação CIPAA' && !prazoInscricao && (\n \n Atenção\n

\n O prazo da Votação para a Eleição da CIPAA já terminou.\n

\n
\n )}\n\n {(subcategoria === 'Votação CIPAA' && !cipaJaVotou?.jaVotou && matricula && prazoVotacao) && (\n <>\n
\n
\n CIPAA - Comissão Interna de Prevenção de Acidentes e de Assédio\n
\n\n \n Atenção!\n

\n Escolha seu candidato, clique em Selecionar e no botão Votar abaixo para confirmar seu voto.\n

\n
\n
\n\n
\n {cipaCards.sort((a, b) => {\n if (a.nome > b.nome) {\n return 1;\n } else if (a.nome < b.nome) {\n return -1;\n } else {\n return 0;\n }\n }).map(cipaCard => {\n return (\n selecionarCipa(e)}\n />\n );\n })}\n
\n\n \n \n Erro\n \n {cipaError}\n \n \n \n \n\n \n \n Confirmar\n \n Tem certeza que deseja confirmar o voto em:\n \n \"Foto\n {cipaVoto}\n \n \n \n \n \n \n\n \n \n Sucesso\n \n O seu voto foi registrado com sucesso!\n Redirecionando para a Home...\n \n \n )}\n\n {subcategoria === 'Votação CIPAA' && cipaJaVotou?.jaVotou && (\n <>\n Você já votou em {formatarDataEHora(cipaJaVotou?.createdAt)}\n\n
\n
\n CIPAA - Comissão Interna de Prevenção de Acidentes e de Assédio\n
\n\n {isAdmin && (\n <>\n {/* */}\n\n \n \n )}\n
\n\n {/*
\n {cipaCards.map(cipaCard => {\n return (\n \n );\n })}\n
*/}\n \n )}\n\n \n \n Erro\n \n {equipamentoEngenhariaClinicaError}\n \n \n \n \n\n {subcategoria === 'Apuração CIPAA' && history.push('/cipa/apuracao')}\n\n
\n \n setShowVestuarioToast(false)}\n show={showVestuarioToast}\n delay={5000}\n autohide\n bg=\"primary\"\n >\n \n Sucesso\n \n A sua escolha foi gravada com sucesso!\n \n \n
\n\n {\n (categoria === 'Manutenção Predial' || categoria === 'Manutenção de Elétrica e Iluminação' || categoria === 'Manutenção de Água e Esgoto' || categoria === 'Manutenção de Ar-Condicionado') && subcategoria && (\n \n \n

\n Em caso de emergência ou agravamento ligue para (21) 97029-6574\n

\n
\n \n

\n Favor detalhar a solicitação no campo abaixo, informando: ambiente(s), quantidade(s), etc.\n

\n
\n
\n )\n }\n\n {categoria === 'Suporte de TI' && (\n \n )}\n\n \n {subcategoria && subcategoria !== 'ERP - (MXM)' && categoria !== 'Demonstrativos' && categoria !== 'Cadastro' && categoria !== 'Eleição' && categoria !== 'Solicitações ASCOM' && (\n \n )}\n \n\n {(subcategoria !== 'Vale refeição / alimentação' && subcategoria !== 'Votação CIPAA') && mostrarVestuario && !loading && (\n
\n {subcategoria && (\n \n )}\n
\n )}\n\n {subcategoria === 'Votação CIPAA' && prazoVotacao && !cipaJaVotou?.jaVotou && !loading && (\n
\n {subcategoria && (\n \n VOTAR\n \n )}\n
\n )}\n\n {loading && (\n
\n {subcategoria && (\n \n )}\n
\n )}\n\n \n
\n );\n};\n\nexport default ChamadosNovo;\n","import baseUrl from './baseUrl';\n\nconst URL_FORGOT = `${baseUrl}/forgot`;\n\nconst forgotPassword = async data => {\n try {\n const res = await fetch(URL_FORGOT, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json'\n },\n body: JSON.stringify(data)\n });\n\n if (!res.ok) {\n if (res?.status === 403) {\n return { \"error\": \"Erro no reCAPTCHA\" };\n }\n\n return { \"error\": \"e-mail não encontrado\" };\n }\n\n const response = await res.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default forgotPassword;\n","import { useRef, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { Button, Form, Row, Modal } from 'react-bootstrap';\nimport ReCAPTCHA from 'react-google-recaptcha';\n\nimport styles from './EsqueciSenha.module.css';\nimport forgotPassword from '../../api/forgotPassword';\nimport { encrypt } from '../../helpers/cryptography';\n\nconst RECAPTCHA_SITE_KEY = process.env.REACT_APP_RECAPTCHA_SITE_KEY;\n\nconst EsqueciSenha = () => {\n const history = useHistory();\n\n const [email, setEmail] = useState('');\n const [showModal, setShowModal] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n\n const captchaRef = useRef(null);\n const [recaptchaToken, setRecaptchaToken] = useState(null);\n const handleRecaptcha = () => setRecaptchaToken(captchaRef.current.getValue());\n\n const loading = false;\n\n const handleModalClose = () => setShowModal(false);\n\n const handleChange = e => {\n setEmail(e.target.value);\n };\n\n const handleSubmit = e => {\n e.preventDefault();\n\n try {\n const getData = async () => {\n const data = await forgotPassword({\n email: encrypt(email),\n recaptchaToken\n });\n \n if (data?.error) {\n setErrorMessage(data?.error);\n setShowModal(true);\n } else {\n history.push('/senha-ok');\n }\n };\n\n getData();\n } catch (error) {\n console.log(error);\n } finally {\n captchaRef?.current?.reset();\n setRecaptchaToken(null);\n\n return () => null;\n }\n };\n\n return (\n \n \n
\n
\n \"Logo\n
\n
\n

Redefinição de senha

\n
\n
\n\n
\n
\n
\n
\n \n *e-mail:\n \n \n
\n
\n
\n\n
\n setRecaptchaToken(null)}\n />\n
\n\n
\n {loading && (\n \n )}\n\n {!loading && (\n \n )}\n
\n \n \n \n Erro\n \n {errorMessage}\n \n \n \n \n
\n
\n
\n );\n};\n\nexport default EsqueciSenha;\n","import styles from './EsqueciSenhaOk.module.css';\n\nconst EsqueciSenhaOk = () => {\n return (\n
\n

Foi enviado um link para o seu e-mail.

\n

Acesse seu e-mail e clique no link para ser redirecionado e cadastrar uma nova senha.

\n
(Verifique a Caixa de Entrada e a Caixa de Spam)
\n
\n );\n};\n\nexport default EsqueciSenhaOk;\n","import baseUrl from './baseUrl';\n\nconst URL_EDIT = `${baseUrl}/forgot/edit`;\n\nconst editPassword = async (token, password, recaptchaToken) => {\n try {\n const response = await fetch(URL_EDIT, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json'\n },\n body: JSON.stringify({ token, password, recaptchaToken })\n });\n\n if (!response.ok) {\n if (response?.status === 403) {\n return { \"error\": \"Erro no reCAPTCHA\" };\n }\n\n return { \"error\": \"Erro ao resetar a senha\" };\n }\n\n const data = await response.json();\n \n return data;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default editPassword;\n","import React, { useMemo, useRef, useState } from 'react';\nimport { useHistory, useLocation } from 'react-router-dom';\n\nimport ReCAPTCHA from 'react-google-recaptcha';\nimport { FaEyeSlash, FaEye } from 'react-icons/fa';\nimport { Button, Form, Modal } from 'react-bootstrap';\n\nimport styles from './ResetarSenha.module.css';\nimport editPassword from '../../api/editPassword';\n\nconst RECAPTCHA_SITE_KEY = process.env.REACT_APP_RECAPTCHA_SITE_KEY;\n\nconst ResetarSenha = () => {\n const history = useHistory();\n const [error, setError] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [showEye, setShowEye] = useState(false);\n\n const initialValues = {\n password: '',\n confirmPassword: ''\n };\n\n const [values, setValues] = useState(initialValues);\n\n const captchaRef = useRef(null);\n const [recaptchaToken, setRecaptchaToken] = useState(null);\n const handleRecaptcha = () => setRecaptchaToken(captchaRef.current.getValue());\n\n const setValue = (key, value) => {\n setValues({\n ...values,\n [key]: value\n });\n };\n\n const handleChange = e => {\n setValue(e.target.getAttribute('name'), e.target.value);\n };\n\n const handleEye = () => {\n setShowEye(!showEye);\n };\n\n const handleModalClose = () => {\n setShowModal(false);\n };\n\n const useQuery = () => {\n const { search } = useLocation();\n\n return useMemo(() => new URLSearchParams(search), [search]);\n };\n\n let query = useQuery();\n\n let token = query.get('token');\n\n const handleSubmit = e => {\n e.preventDefault();\n\n if (values.password !== values.confirmPassword) {\n setError('As senhas não conferem');\n\n setShowModal(true);\n\n return;\n }\n \n if (!values.password.match(/^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)(?=.*[@$!%*#?&])[A-Za-z\\d@$!%*#?&]{8,}$/)) {\n setError('A senha deve ter no mínimo 8 caracteres, sendo no mínimo 1 letra maiúscula, 1 letra minúscula, 1 número e 1 caractere especial @$!%*#?&');\n\n setShowModal(true);\n\n return;\n }\n\n try {\n const confirmToken = async () => {\n const res = await editPassword(token, values.password, recaptchaToken);\n\n if (res?.error) {\n setError(res?.error);\n setShowModal(true);\n\n return;\n }\n\n history.push({\n pathname: '/login',\n state: { isNewPassword: true }\n });\n };\n\n confirmToken();\n } catch (error) {\n console.log(error);\n } finally { \n captchaRef?.current?.reset();\n setRecaptchaToken(null);\n }\n };\n\n return (\n
\n
\n
\n
\n \"Logo\n
\n
\n

Nova Senha

\n

\n A senha deve ter no mínimo 8 caracteres,
\n sendo no mínimo 1 letra maiúscula, 1 letra minúscula,
\n 1 número e 1 caractere especial @ $ ! % * # ? &\n

\n
\n
\n
\n
\n\n
\n
\n \n *Senha:\n
\n \n\n {showEye && (\n \n )}\n\n {!showEye && (\n \n )}\n
\n\n \n *Senha obrigatória\n \n
\n
\n\n
\n \n *Repita a Senha:\n \n \n \n \n \n Erro\n \n {error}\n \n \n \n \n
\n
\n
\n
\n setRecaptchaToken(null)}\n />\n
\n \n
\n \n
\n
\n
\n
\n );\n};\n\nexport default ResetarSenha;\n","import baseUrl from './baseUrl';\nimport { decrypt } from '../helpers/cryptography';\n\nconst URL_GET_CHAMADO_BY_ID = `${baseUrl}/chamado`;\n\nconst getChamadoById = async id => {\n try {\n const data = await fetch(`${URL_GET_CHAMADO_BY_ID}/${id}`, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n const cipaInscricao = {\n ...response?.cipaInscricao,\n nome: response?.cipaInscricao?.nome ? decrypt(response?.cipaInscricao?.nome) : '',\n email: response?.cipaInscricao?.email ? decrypt(response?.cipaInscricao?.email) : ''\n };\n\n const erp = {\n ...response?.erp,\n erpNome: response?.erp?.erpNome ? decrypt(response?.erp?.erpNome) : '',\n erpEmail: response?.erp?.erpEmail ? decrypt(response?.erp?.erpEmail) : ''\n };\n\n const suporteTi = {\n ...response?.suporteTi,\n telContatoTi: response?.suporteTi?.telContatoTi ? decrypt(response?.suporteTi?.telContatoTi) : ''\n };\n\n const responseEncrypted = {\n email: response?.email ? decrypt(response?.email) : '',\n nome: response?.nome ? decrypt(response?.nome) : '',\n telefone: response?.telefone ? decrypt(response?.telefone) : null,\n categoria: response?.categoria,\n subcategoria: response?.subcategoria,\n unidade: response?.unidade,\n relato: response?.relato,\n sla: response?.sla,\n obs: response?.obs,\n status: response?.status,\n responder: response?.responder ? decrypt(response?.responder) : null,\n materiaisEscritorio: response?.materiaisEscritorio,\n materiaisLimpeza: response?.materiaisLimpeza,\n materiaisExpediente: response?.materiaisExpediente,\n solicitacaoVeiculo: response?.solicitacaoVeiculo,\n solicitacaoMotoboy: response?.solicitacaoMotoboy,\n solicitacaoFerias: response?.solicitacaoFerias,\n alteracaoFerias: response?.alteracaoFerias,\n criacaoEmail: response?.criacaoEmail,\n loginSistemas: response?.loginSistemas,\n equipamentoEngenhariaClinica: response?.equipamentoEngenhariaClinica,\n briefing: response?.briefing,\n cipaInscricao,\n erp,\n suporteTi,\n numeroChamado: response?.numeroChamado,\n createdAt: response?.createdAt,\n finalAt: response?.finalAt,\n pontoEletronico: response?.pontoEletronico\n };\n \n return responseEncrypted;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getChamadoById;\n","import baseUrl from './baseUrl';\n\nconst URL_UPDATE_CHAMADO = `${baseUrl}/responder/update`;\n\nconst updateChamado = async (id, update) => {\n try {\n const data = await fetch(`${URL_UPDATE_CHAMADO}/${id}`, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(update)\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default updateChamado;\n","import { jsPDF } from 'jspdf';\n\nimport { includeLeftZero } from './includeLeftZero';\nimport { formatDate } from './formatDate';\nimport { phoneMask } from './masks';\nimport { decrypt } from '../helpers/cryptography';\n\nlet feSaudeLogo = new Image();\nfeSaudeLogo.src = '../assets/img/fesaude-logo.png';\nfeSaudeLogo.alt = 'FeSaúde Logo';\n\nconst makePdf = data => { \n const doc = new jsPDF('p', 'mm', 'a4');\n\n doc.setProperties({\n title: `Chamado ${includeLeftZero(data.numeroChamado)}`\n });\n \n const pageWidth = doc.internal.pageSize.width || doc.internal.pageSize.getWidth();\n\n doc.text(\n 'SisGeD - Sistema de Gestão de Demandas',\n pageWidth / 2,\n 15,\n { align: 'center' }\n );\n\n doc.setFontSize(15);\n doc.text(\n `Solicitação ${includeLeftZero(data.numeroChamado)} - Status: ${data.status}`,\n pageWidth / 2,\n 25,\n { align: 'center' }\n );\n\n doc.addImage(feSaudeLogo, 'PNG', 15, 10, 16, 17);\n\n doc.setFontSize(10);\n doc.text(\n `e-mail: ${data.email}`,\n 15,\n 40,\n { align: 'left' }\n );\n\n doc.text(\n `Nome do Solicitante: ${data.nome}`,\n 15,\n 50,\n { align: 'left' }\n );\n\n doc.text(\n `Telefone: ${data.telefone}`,\n 15,\n 60,\n { align: 'left' }\n );\n\n doc.text(\n `Unidade: ${data.unidade}`,\n 15,\n 70,\n { align: 'left' }\n );\n\n doc.text(\n `Categoria: ${data.categoria}`,\n 15,\n 80,\n { align: 'left' }\n );\n\n doc.text(\n `Subcategoria: ${data.subcategoria}`,\n 15,\n 90,\n { align: 'left' }\n );\n\n if (data.loginSistemas) {\n doc.text(\n `Sistema: ${data.loginSistemas.sistema}`,\n 15,\n 100,\n { align: 'left' }\n );\n }\n\n if (data?.pontoEletronico?.assunto) {\n doc.text(\n `Assunto: ${data?.pontoEletronico?.assunto}`,\n 15,\n 100,\n { align: 'left' }\n );\n }\n\n if (data?.suporteTi?.telContatoTi && data?.suporteTi?.patrimonioTi) {\n doc.text(\n `Telefone de Contato: ${data?.suporteTi?.telContatoTi} - Patrimônio: ${data?.suporteTi?.patrimonioTi}`,\n 15,\n 100,\n { align: 'left' }\n );\n }\n\n if (data?.suporteTi?.telContatoTi && !data?.suporteTi?.patrimonioTi) {\n doc.text(\n `Telefone de Contato: ${data?.suporteTi?.telContatoTi}`,\n 15,\n 100,\n { align: 'left' }\n );\n }\n\n if (!data?.suporteTi?.telContatoTi && data?.suporteTi?.patrimonioTi) {\n doc.text(\n `Patrimônio: ${data?.suporteTi?.patrimonioTi}`,\n 15,\n 100,\n { align: 'left' }\n );\n }\n\n doc.text(\n `SLA: ${data.sla} - Data Inicial: ${formatDate(data.createdAt)} - Data Final: ${data.finalAt ? formatDate(data.finalAt) : ''}`,\n 15,\n 110,\n { align: 'left' }\n );\n\n const leftMargin = 15;\n const rightMargin = 15;\n const pageInMm = 210; \n const linesRelato = data.relato;\n const linesObs = data.obs;\n\n if (data?.relato?.length > 0 && data?.relato !== '...') {\n doc.text(\n 'Descreva brevemente a solicitação:',\n 15,\n 120,\n { align: 'left' }\n );\n \n const relato = doc.splitTextToSize(linesRelato, (pageInMm - leftMargin - rightMargin));\n doc.text(leftMargin, 130, relato);\n } /* else {\n doc.text(\n 'Descreva brevemente a solicitação:',\n 15,\n 120,\n { align: 'left' }\n );\n } */\n\n if (data?.obs?.length > 0) {\n doc.text(\n 'Observações:',\n 15,\n 160,\n { align: 'left' }\n );\n \n const obs = doc.splitTextToSize(linesObs, (pageInMm - leftMargin - rightMargin));\n doc.text(leftMargin, 170, obs);\n } else {\n doc.text(\n 'Observações:',\n 15,\n 160,\n { align: 'left' }\n );\n }\n\n if (data?.subcategoria === 'Criação de Login e/ou e-mail') {\n doc.text(\n `Matrícula: ${decrypt(data.criacaoEmail.registration)} - Nome: ${decrypt(data.criacaoEmail.name)}`,\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n `E-mail sugerido: ${decrypt(data.criacaoEmail.email)}@fesaude.niteroi.rj.gov.br`,\n 15,\n 210,\n { align: 'left' }\n );\n\n doc.text(\n `Telefone: ${decrypt(data.criacaoEmail.phone)} - Data da admissão: ${formatDate(data.criacaoEmail.admissionDate)}`,\n 15,\n 220,\n { align: 'left' }\n );\n\n doc.text(\n `Unidade: ${decrypt(data.criacaoEmail.unit)}`,\n 15,\n 230,\n { align: 'left' }\n );\n\n doc.text(\n `Cargo: ${decrypt(data.criacaoEmail.job)}`,\n 15,\n 240,\n { align: 'left' }\n );\n }\n\n if (data?.subcategoria === 'Solicitação de transporte para locomoção') {\n doc.text(\n `Data do transporte: ${formatDate(data.solicitacaoVeiculo.veiculoData)} - Hora do transporte: ${data.solicitacaoVeiculo.veiculoHora} - Tempo estimado: ${data.solicitacaoVeiculo.veiculoTempo}`,\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n `Nome do passageiro: ${data.solicitacaoVeiculo.veiculoPassageiro} - Telefone do passageiro: ${phoneMask(data.solicitacaoVeiculo.veiculoTelefone)}`,\n 15,\n 210,\n { align: 'left' }\n );\n\n doc.text(\n `Endereço da saída: ${data.solicitacaoVeiculo.veiculoSaida}`,\n 15,\n 220,\n { align: 'left' }\n );\n\n doc.text(\n `Endereço do destino: ${data.solicitacaoVeiculo.veiculoDestino}`,\n 15,\n 230,\n { align: 'left' }\n );\n\n /* const linesMotivo = data.solicitacaoVeiculo.veiculoMotivo;\n\n doc.text(\n 'Motivo da solicitação:',\n 15,\n 220,\n { align: 'left' }\n );\n\n const motivo = doc.splitTextToSize(linesMotivo, (pageInMm - leftMargin - rightMargin));\n doc.text(leftMargin, 230, motivo); */\n }\n\n if (data?.subcategoria === 'Solicitação de transporte de Motoboy') {\n doc.text(\n `Data do transporte: ${formatDate(data.solicitacaoMotoboy.motoboyData)} - Hora do transporte: ${data.solicitacaoMotoboy.motoboyHora} - Tempo estimado: ${data.solicitacaoMotoboy.motoboyTempo}`,\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n `Nome do passageiro: ${data.solicitacaoMotoboy.motoboyPassageiro} - Telefone do passageiro: ${phoneMask(data.solicitacaoMotoboy.motoboyTelefone)}`,\n 15,\n 210,\n { align: 'left' }\n );\n\n doc.text(\n `Endereço da saída: ${data.solicitacaoMotoboy.motoboySaida}`,\n 15,\n 220,\n { align: 'left' }\n );\n\n doc.text(\n `Endereço do destino: ${data.solicitacaoMotoboy.motoboyDestino}`,\n 15,\n 230,\n { align: 'left' }\n );\n\n /* const linesMotivo = data.solicitacaoMotoboy.motoboyMotivo;\n\n doc.text(\n 'Motivo da solicitação:',\n 15,\n 220,\n { align: 'left' }\n );\n\n const motivo = doc.splitTextToSize(linesMotivo, (pageInMm - leftMargin - rightMargin));\n doc.text(leftMargin, 230, motivo); */\n }\n\n if (data?.subcategoria === 'Solicitação de material de escritório') {\n doc.text(\n 'Materiais de Escritório',\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n 'Qtd',\n 180,\n 200,\n { align: 'left' }\n );\n\n data.materiaisEscritorio.map((item, index) => {\n doc.text(\n item.material,\n 15,\n 210 + (index * 10),\n { align: 'left' }\n );\n\n doc.text(\n String(item.quantidade),\n 180,\n 210 + (index * 10),\n { align: 'left' }\n );\n\n return true;\n });\n }\n\n if (data?.subcategoria === 'Solicitação de material de limpeza') {\n doc.text(\n 'Materiais de Limpeza',\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n 'Qtd',\n 180,\n 200,\n { align: 'left' }\n );\n\n data.materiaisLimpeza.map((item, index) => {\n doc.text(\n item.material,\n 15,\n 210 + (index * 10),\n { align: 'left' }\n );\n\n doc.text(\n String(item.quantidade),\n 180,\n 210 + (index * 10),\n { align: 'left' }\n );\n\n return true;\n });\n }\n\n if (data?.subcategoria === 'Solicitação de material de expediente') {\n doc.text(\n 'Materiais de Expediente',\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n 'Qtd',\n 180,\n 200,\n { align: 'left' }\n );\n\n data.materiaisExpediente.map((item, index) => {\n doc.text(\n item.material,\n 15,\n 210 + (index * 10),\n { align: 'left' }\n );\n\n doc.text(\n String(item.quantidade),\n 180,\n 210 + (index * 10),\n { align: 'left' }\n );\n\n return true;\n });\n }\n\n if (data?.subcategoria === 'Manutenção de Equipamentos') {\n doc.text(\n `Equipamento: ${data.equipamentoEngenhariaClinica}`,\n 15,\n 200,\n { align: 'left' }\n );\n }\n\n if (data?.subcategoria === 'ERP - (MXM)') {\n doc.text(\n 'ERP - (MXM)',\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n data?.erp?.erpNome,\n 15,\n 205,\n { align: 'left' }\n );\n\n doc.text(\n data?.erp?.erpEmail,\n 105,\n 205,\n { align: 'left' }\n );\n\n doc.text(\n data?.erp?.erpMatricula,\n 15,\n 210,\n { align: 'left' }\n );\n\n doc.text(\n data?.erp?.erpUnidade,\n 40,\n 210,\n { align: 'left' }\n );\n\n doc.text(\n `Administrador: ${data?.erp?.erpAdministrador}`,\n 15,\n 220,\n { align: 'left' }\n );\n\n doc.text(\n `Cadastros Comuns: ${data?.erp?.erpCadastrosComuns}`,\n 105,\n 220,\n { align: 'left' }\n );\n\n doc.text(\n `Cadastros Comum Financeiro: ${data?.erp?.erpCadastrosComumFinanceiro}`,\n 15,\n 225,\n { align: 'left' }\n );\n\n doc.text(\n `Gestão de Processos: ${data?.erp?.erpGestaoDeProcessos}`,\n 105,\n 225,\n { align: 'left' }\n );\n\n doc.text(\n `Compras: ${data?.erp?.erpCompras}`,\n 15,\n 230,\n { align: 'left' }\n );\n\n doc.text(\n `Contrato Compras: ${data?.erp?.erpContratoCompras}`,\n 105,\n 230,\n { align: 'left' }\n );\n\n doc.text(\n `Contas Pagar: ${data?.erp?.erpContasPagar}`,\n 15,\n 235,\n { align: 'left' }\n );\n\n doc.text(\n `Pagamento Escritural: ${data?.erp?.erpPagamentoEscritural}`,\n 105,\n 235,\n { align: 'left' }\n );\n\n doc.text(\n `Contas Receber: ${data?.erp?.erpContasReceber}`,\n 15,\n 240,\n { align: 'left' }\n );\n\n doc.text(\n `Tesouraria: ${data?.erp?.erpTesouraria}`,\n 105,\n 240,\n { align: 'left' }\n );\n\n doc.text(\n `Integração Padrão: ${data?.erp?.erpIntegracaoPadrao}`,\n 15,\n 245,\n { align: 'left' }\n );\n\n doc.text(\n `Contábil: ${data?.erp?.erpContabil}`,\n 105,\n 245,\n { align: 'left' }\n );\n\n doc.text(\n `Estoque: ${data?.erp?.erpEstoque}`,\n 15,\n 250,\n { align: 'left' }\n );\n\n doc.text(\n `Patrimônio: ${data?.erp?.erpPatrimonio}`,\n 105,\n 250,\n { align: 'left' }\n );\n\n doc.text(\n `Orçamento: ${data?.erp?.erpOrcamento}`,\n 15,\n 255,\n { align: 'left' }\n );\n\n doc.text(\n `REINF: ${data?.erp?.erpReinf}`,\n 105,\n 255,\n { align: 'left' }\n );\n\n doc.text(\n `EFD: ${data?.erp?.erpEfd}`,\n 15,\n 260,\n { align: 'left' }\n );\n\n doc.text(\n `ECD: ${data?.erp?.erpEcd}`,\n 105,\n 260,\n { align: 'left' }\n );\n\n doc.text(\n `ECF: ${data?.erp?.erpEcf}`,\n 15,\n 265,\n { align: 'left' }\n );\n }\n\n window.open(URL.createObjectURL(doc.output(\n 'blob',\n {\n filename: `chamado${includeLeftZero(data.numeroChamado)}`\n }\n )));\n\n // doc.save(`chamado${includeLeftZero(data.numeroChamado)}`);\n};\n\nexport default makePdf;\n","import { jsPDF } from 'jspdf';\n\nconst feSaudeLogo = new Image();\nfeSaudeLogo.src = '../assets/img/fesaude-logo.png';\nfeSaudeLogo.alt = 'FeSaúde Logo';\n\nconst niteroiLogo = new Image();\nniteroiLogo.src = '../assets/img/niteroi-logo.jpeg';\nniteroiLogo.alt = 'Niterói Logo';\n\nconst checked = new Image();\nchecked.src = '../assets/img/checked.png';\nchecked.alt = 'checked';\n\nconst unchecked = new Image();\nunchecked.src = '../assets/img/unchecked.png';\nunchecked.alt = 'unchecked';\n\nconst pdfFerias = data => { \n const doc = new jsPDF('p', 'mm', 'a4');\n const pageWidth = doc.internal.pageSize.width || doc.internal.pageSize.getWidth();\n const leftMargin = 15;\n const center = pageWidth / 2;\n let line = 0;\n const step = 15;\n\n doc.setProperties({\n title: 'FORMULÁRIO DE MARCAÇÃO DE FÉRIAS DO EMPREGADO'\n });\n\n doc.addImage(niteroiLogo, 'JPEG', 15, 15, 29, 9);\n doc.addImage(feSaudeLogo, 'PNG', pageWidth - 30, 10, 16, 17);\n \n doc.setFontSize(14);\n doc.setFont(undefined, 'bold');\n doc.text(\n 'FORMULÁRIO DE MARCAÇÃO DE FÉRIAS DO EMPREGADO',\n center,\n line += (step * 3),\n { align: 'center' }\n );\n\n doc.text(\n '____________________________________________________',\n center,\n line += 1,\n { align: 'center' }\n );\n\n doc.setFontSize(12);\n doc.setFont(undefined, 'normal');\n doc.text(\n 'À Gerência de Gestão de Pessoas;',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n 'Nome: ________________________________________________________________',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n /* doc.text(\n data.nome,\n leftMargin + 15,\n line,\n { align: 'left' }\n ); */\n\n doc.text(\n 'Cargo: ________________________________________________________________',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n /* doc.text(\n data.cargo,\n leftMargin + 15,\n line,\n { align: 'left' }\n ); */\n\n doc.text(\n 'Matrícula: ______________________________________________________________',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n /* doc.text(\n data.matricula,\n leftMargin + 21,\n line,\n { align: 'left' }\n ); */\n\n doc.text(\n 'Lotação: _______________________________________________________________',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n /* doc.text(\n data.lotacao,\n leftMargin + 19,\n line,\n { align: 'left' }\n ); */\n\n doc.text(\n 'Opção pelo abono pecuniário: SIM NÃO',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n /* doc.addImage(data.abono === 'SIM' ? checked : unchecked, 'PNG', 75, line - 4, 5, 5);\n doc.addImage(data.abono === 'NÃO' ? checked : unchecked, 'PNG', 92, line - 4, 5, 5); */\n\n doc.text(\n `Período aquisitivo: _____/_____/_____ a _____/_____/_____`,\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n `Período de gozo de: _____/_____/_____ a _____/_____/_____. Qtd de dias: _____`,\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n `Período de gozo de: _____/_____/_____ a _____/_____/_____. Qtd de dias: _____`,\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n 'Assinatura do empregado: ___________________________________________________',\n leftMargin,\n line += step + 5,\n { align: 'left' }\n );\n\n doc.text(\n '____________________________________________________________\\nAutorização da Chefia Imediata (Carimbo e Rubrica)',\n center,\n line += step + 5,\n { align: 'center' }\n );\n\n doc.text(\n 'Data _____/_____/_____',\n leftMargin,\n line += step + 5,\n { align: 'left' }\n );\n\n doc.setFontSize(8);\n doc.text(\n`\nFundação Estatal de Saúde de Niterói – FeSaúde\nEndereço: Rua Santa Clara, 102 – Ponta D'Areia – Niterói – RJ – CEP: 24040-050\nTelefone: 2714-6579 / CNPJ: 34.906.284/0001-00\n`,\n center,\n 275,\n { align: 'center' }\n );\n\n window.open(URL.createObjectURL(doc.output(\n 'blob',\n {\n filename: `marcacao-ferias-${data.nome}-${data.matricula}`\n }\n )));\n};\n\nexport default pdfFerias;\n","import { jsPDF } from 'jspdf';\n\nimport { formatDate } from './formatDate';\n\nconst feSaudeLogo = new Image();\nfeSaudeLogo.src = '../assets/img/fesaude-logo.png';\nfeSaudeLogo.alt = 'FeSaúde Logo';\n\nconst niteroiLogo = new Image();\nniteroiLogo.src = '../assets/img/niteroi-logo.jpeg';\nniteroiLogo.alt = 'Niterói Logo';\n\nconst pdfAlteracaoFerias = data => {\n const doc = new jsPDF('p', 'mm', 'a4');\n const pageWidth = doc.internal.pageSize.width || doc.internal.pageSize.getWidth();\n const leftMargin = 15;\n const center = pageWidth / 2;\n let line = 0;\n const step = 10;\n\n doc.setProperties({\n title: 'FORMULÁRIO DE ALTERAÇÃO DE MARCAÇÃO DE FÉRIAS DO EMPREGADO'\n });\n\n doc.addImage(niteroiLogo, 'JPEG', 15, 15, 29, 9);\n doc.addImage(feSaudeLogo, 'PNG', pageWidth - 30, 10, 16, 17);\n\n doc.setFontSize(12);\n doc.setFont(undefined, 'bold');\n doc.text(\n 'FORMULÁRIO DE ALTERAÇÃO DE MARCAÇÃO DE FÉRIAS DO EMPREGADO',\n center,\n line += (step * 4),\n { align: 'center' }\n );\n\n doc.setFontSize(10);\n doc.setFont(undefined, 'normal');\n doc.text(\n 'À Gerência de Gestão de Pessoas,',\n leftMargin,\n line += step + 5,\n { align: 'left' }\n );\n\n doc.text(\n 'Eu, _______________________________________________________________________________________,',\n leftMargin,\n line += step + 5,\n { align: 'left' }\n );\n\n doc.text(\n data.nome,\n leftMargin + 8,\n line,\n { align: 'left' }\n );\n\n doc.text(\n 'cargo, _____________________________________________________________________________________,',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n data.cargo,\n leftMargin + 13,\n line,\n { align: 'left' }\n );\n\n doc.text(\n 'matrícula, ________________, solicito a alteração da marcação de minhas férias, referente ao período aquisitivo',\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n data.matricula,\n leftMargin + 19,\n line,\n { align: 'left' }\n );\n\n doc.text(\n `de ${data.exercicioDe} a ${data.exercicioA}, solicitadas para início em ${formatDate(data.feriasAnteriorDe)} e término em ${formatDate(data.feriasAnteriorA)}, para o período de`,\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n `${formatDate(data.alteracaoGozoInicio1)} a ${formatDate(data.alteracaoGozoFim1)}, nos mesmos termos da solicitação anterior.`,\n leftMargin,\n line += step,\n { align: 'left' }\n );\n\n doc.text(\n 'Com a ciência e devida autorização da Diretoria.',\n leftMargin,\n line += step + 10,\n { align: 'left' }\n );\n\n doc.text(\n 'Assinatura do empregado: ___________________________________________________',\n leftMargin,\n line += step + 10,\n { align: 'left' }\n );\n\n doc.text(\n '____________________________________________________________\\nAutorização da Chefia Imediata (Carimbo e Rubrica)',\n center,\n line += step + 10,\n { align: 'center' }\n );\n\n doc.text(\n 'Data _____/_____/_____',\n leftMargin,\n line += step + 10,\n { align: 'left' }\n );\n\n doc.setFontSize(8);\n doc.text(\n `\nFundação Estatal de Saúde de Niterói – FeSaúde\nEndereço: Rua Visconde do Uruguai, 531 – sala 203 – Centro – Niterói – RJ – CEP: 24030-076\nTelefone: 2714-6579 / CNPJ: 34.906.284/0001-00\n`,\n center,\n 275,\n { align: 'center' }\n );\n\n window.open(URL.createObjectURL(doc.output(\n 'blob',\n {\n filename: `marcacao-ferias-${data.nome}-${data.matricula}`\n }\n )));\n};\n\nexport default pdfAlteracaoFerias;\n","import baseUrl from './baseUrl';\n\nconst URL_CRIAR_USUARIO = `${baseUrl}/auth/register`;\n\nconst criarUsuario = async data => {\n try {\n const response = await fetch(URL_CRIAR_USUARIO, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default criarUsuario;\n","import { jsPDF } from 'jspdf';\n\nimport { includeLeftZero } from './includeLeftZero';\nimport { formatDate } from './formatDate';\n\nlet feSaudeLogo = new Image();\nfeSaudeLogo.src = '../assets/img/fesaude-logo.png';\nfeSaudeLogo.alt = 'FeSaúde Logo';\n\nconst pdfBriefing = data => { \n const doc = new jsPDF('p', 'mm', 'a4');\n\n doc.setProperties({\n title: `Chamado ${includeLeftZero(data.numeroChamado)}`\n });\n \n const pageWidth = doc.internal.pageSize.width || doc.internal.pageSize.getWidth();\n\n doc.text(\n 'SisGeD - Sistema de Gestão de Demandas',\n pageWidth / 2,\n 15,\n { align: 'center' }\n );\n\n doc.setFontSize(15);\n doc.text(\n `Solicitação ${includeLeftZero(data.numeroChamado)} - Status: ${data.status}`,\n pageWidth / 2,\n 25,\n { align: 'center' }\n );\n\n doc.addImage(feSaudeLogo, 'PNG', 15, 10, 16, 17);\n\n doc.setFontSize(10);\n doc.text(\n `e-mail: ${data.email}`,\n 15,\n 40,\n { align: 'left' }\n );\n\n doc.text(\n `Nome do Solicitante: ${data.nome}`,\n 15,\n 45,\n { align: 'left' }\n );\n\n doc.text(\n `Telefone: ${data.telefone}`,\n 15,\n 50,\n { align: 'left' }\n );\n\n doc.text(\n `Unidade: ${data.unidade}`,\n 15,\n 55,\n { align: 'left' }\n );\n\n doc.text(\n `Categoria: ${data.categoria}`,\n 15,\n 60,\n { align: 'left' }\n );\n\n doc.text(\n `Subcategoria: ${data.subcategoria}`,\n 15,\n 65,\n { align: 'left' }\n );\n\n doc.text(\n `SLA: ${data.sla} - Data Inicial: ${formatDate(data.createdAt)} - Data Final: ${data.finalAt ? formatDate(data.finalAt) : ''}`,\n 15,\n 70,\n { align: 'left' }\n );\n\n const leftMargin = 15;\n const rightMargin = 15;\n const pageInMm = 210;\n const linesObs = data.obs;\n\n if (data?.obs?.length > 0) {\n doc.text(\n 'Observações:',\n 15,\n 75,\n { align: 'left' }\n );\n \n const obs = doc.splitTextToSize(linesObs, (pageInMm - leftMargin - rightMargin));\n\n doc.text(leftMargin, 80, obs);\n } else {\n doc.text(\n 'Observações:',\n 15,\n 75,\n { align: 'left' }\n );\n }\n\n const linesBriefingPorque = data?.briefing?.briefingPorque;\n const briefingPorque = doc.splitTextToSize(linesBriefingPorque, (pageInMm - leftMargin - rightMargin));\n \n const linesBriefingMedidas = data?.briefing?.briefingMedidas;\n const briefingMedidas = doc.splitTextToSize(linesBriefingMedidas, (pageInMm - leftMargin - rightMargin));\n\n const linesBriefingOnde = data?.briefing?.briefingOnde;\n const briefingOnde = doc.splitTextToSize(linesBriefingOnde, (pageInMm - leftMargin - rightMargin));\n\n const linesBriefingDetalhe = data?.briefing?.briefingDetalhe;\n const briefingDetalhe = doc.splitTextToSize(linesBriefingDetalhe, (pageInMm - leftMargin - rightMargin));\n\n doc.text(\n 'O que precisamos fazer? Por que você está fazendo esse pedido?',\n 15,\n 105,\n { align: 'left' }\n );\n\n doc.text(leftMargin, 110, briefingPorque);\n\n doc.text(\n 'Quais peças devem ser desenvolvidas/criadas? Quais as medidas (largura X altura)?',\n 15,\n 135,\n { align: 'left' }\n );\n\n doc.text(leftMargin, 140, briefingMedidas);\n\n doc.text(\n 'Onde serão veiculadas/expostas? (Redes sociais, portal, impressos, eventos etc.)',\n 15,\n 165,\n { align: 'left' }\n );\n\n doc.text(leftMargin, 170, briefingOnde);\n\n doc.text(\n 'Qual é o prazo final para entrega do projeto? Sujeito a análise interna e viabilidade dos pedidos na fila de produção.',\n 15,\n 195,\n { align: 'left' }\n );\n\n doc.text(\n formatDate(data?.briefing?.briefingPrazo),\n 15,\n 200,\n { align: 'left' }\n );\n\n doc.text(\n 'Tem mais algum detalhe? Deixe aqui o seu comentário para inspirar a nossa equipe.',\n 15,\n 210,\n { align: 'left' }\n );\n\n doc.text(leftMargin, 215, briefingDetalhe);\n\n if (data?.briefing?.briefingArquivos.length > 0) {\n doc.text(\n 'Tem algum arquivo (foto, texto ou logo) que precisamos receber? Envie anexo. (Máximo de 5 anexos com 5MB cada)',\n 15,\n 240,\n { align: 'left' }\n );\n\n doc.text(\n 'Arquivos suportados: .pdf, .png, .gif, .jpg, .jpeg, .svg, .txt, .doc, .docx, .xls, .xlsx',\n 15,\n 245,\n { align: 'left' }\n );\n\n data?.briefing?.briefingArquivos.forEach((item, i) => {\n doc.text(\n item.originalName,\n 15,\n 255 + (i * 5),\n { align: 'left' }\n );\n });\n }\n\n window.open(URL.createObjectURL(doc.output(\n 'blob',\n {\n filename: `chamado${includeLeftZero(data.numeroChamado)}`\n }\n )));\n};\n\nexport default pdfBriefing;\n","import { useContext, useEffect, useState, useRef } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { Button, Col, Container, Form, Row, Table, Modal } from 'react-bootstrap';\nimport { BsFileEarmarkPdf } from 'react-icons/bs';\n\nimport styles from './Chamado.module.css';\nimport { UserContext } from '../../context/UserContext';\nimport getChamadoById from '../../api/getChamadoById';\nimport { includeLeftZero } from '../../helpers/includeLeftZero';\nimport { formatDate } from '../../helpers/formatDate';\nimport { phoneMask } from '../../helpers/masks';\nimport updateChamado from '../../api/updateChamado';\nimport makePdf from '../../helpers/makePdf';\nimport { decrypt, decryptArray, encrypt } from '../../helpers/cryptography';\nimport pdfFerias from '../../helpers/pdfFeriasEmBranco';\nimport pdfAlteracaoFerias from '../../helpers/pdfAlteracaoFerias';\nimport generatePassword from '../../helpers/generatePassword';\nimport criarUsuario from '../../api/criarUsuario';\nimport forgotPassword from '../../api/forgotPassword';\nimport getExtension from '../../helpers/getExtension';\nimport pdfBriefing from '../../helpers/pdfBriefing';\nimport baseUrl from '../../api/baseUrl';\nimport { FaCopy } from 'react-icons/fa';\nimport useCopyToClipboard from '../../helpers/useCopyToClipboard';\nimport tiEmpresasResp from '../../helpers/tiEmpresasResp';\n\nconst radios = [\n { id: '0', nome: 'Sem acesso' },\n { id: '1', nome: 'Consulta' },\n { id: '2', nome: 'Gravação' },\n { id: '3', nome: 'Exclusão' },\n];\n\nconst Chamado = props => {\n const obsRef = useRef(null);\n const { isAdmin, isResp, isUser } = useContext(UserContext);\n const history = useHistory();\n const [chamado, setChamado] = useState(null);\n const [finalAt, setFinalAt] = useState('');\n const [obs, setObs] = useState('');\n const [status, setStatus] = useState('');\n const [roles, setRoles] = useState([]);\n const [showModal, setShowModal] = useState(false);\n const [showFinalizarModal, setShowFinalizarModal] = useState(false);\n const [showModalObs, setShowModalObs] = useState(false);\n const [emailSugerido, setEmailSugerido] = useState('');\n const [emailSisged, setEmailSisged] = useState(false);\n const [copyToClipboard, { success }] = useCopyToClipboard();\n const [valuesToClipboard, setValuesToClipboard] = useState({});\n const [empresaResp, setEmpresaResp] = useState('');\n\n const handleEmpresaResp = e => {\n setEmpresaResp(e.target.value);\n };\n\n const handleFinalAt = e => {\n setFinalAt(e.target.value);\n };\n\n const handleObs = e => {\n setObs(e.target.value);\n };\n\n const handleCancelarSolicitacao = () => {\n const data = {\n finalAt: new Date(),\n obs,\n status: 'Cancelado',\n roles,\n email: chamado.email,\n responder: chamado.responder\n };\n\n const id = props.match.params.id;\n\n const upChamado = async () => {\n await updateChamado(id, data);\n\n history.push('/solicitacoes');\n };\n\n upChamado();\n\n setShowModal(false);\n };\n\n const handleFinalizarSolicitacao = () => {\n const data = {\n finalAt: new Date(),\n obs,\n status: 'Finalizado',\n roles,\n email: chamado.email,\n responder: chamado.responder,\n criacaoEmail: {\n ...chamado?.criacaoEmail,\n email: emailSugerido,\n sisged: emailSisged\n },\n suporteTi: {\n ...chamado?.suporteTi,\n empresaResp\n }\n };\n\n const id = props.match.params.id;\n\n const upChamado = async () => {\n await updateChamado(id, data);\n\n if (data.criacaoEmail.sisged) {\n if (chamado?.subcategoria === 'Criação de e-mail corporativo') {\n const dataUser = {\n name: decrypt(data.criacaoEmail.name),\n email: data.criacaoEmail.email + '@fesaude.niteroi.rj.gov.br',\n phone: decrypt(data.criacaoEmail.phone),\n unit: decrypt(data.criacaoEmail.unit),\n admissionDate: data.criacaoEmail.admissionDate,\n registration: decrypt(data.criacaoEmail.registration),\n sisged: emailSisged,\n roles: ['USER'],\n password: generatePassword(8)\n };\n\n await criarUsuario(dataUser);\n\n await forgotPassword(encrypt(dataUser.email));\n }\n }\n\n history.push('/solicitacoes');\n };\n\n upChamado();\n\n setShowFinalizarModal(false);\n };\n\n const handleStatus = e => {\n if (e.target.value === 'Cancelado') {\n if (isResp) {\n if (!obs) {\n setShowModalObs(true);\n\n return;\n }\n }\n\n if (isUser) {\n if (!obs) {\n setObs('Cancelado pelo usuário');\n } else {\n setObs(obs + ' - Cancelado pelo usuário');\n }\n }\n\n setShowModal(true);\n } else if (e.target.value === 'Finalizado') {\n setShowFinalizarModal(true);\n } else {\n setStatus(e.target.value);\n\n if (e.target.value === 'Aberto' || e.target.value === 'Em Andamento') {\n setFinalAt('');\n }\n }\n };\n\n const handleModalClose = () => {\n if (obs === 'Cancelado pelo usuário') {\n setObs('');\n }\n\n setShowModal(false);\n };\n\n const handleFinalizarModalClose = () => {\n setShowFinalizarModal(false);\n };\n\n const handleModalObsClose = () => {\n setShowModalObs(false);\n };\n\n useEffect(() => {\n const getChamado = async () => {\n const login = JSON.parse(localStorage.getItem('login'));\n const roles = decryptArray(login?.user?.roles);\n const id = props.match.params.id;\n const chamadoAtual = await getChamadoById(id);\n\n setChamado(chamadoAtual);\n setFinalAt(chamadoAtual?.finalAt);\n setObs(chamadoAtual?.obs);\n setStatus(chamadoAtual?.status);\n setRoles(roles);\n\n if (chamadoAtual?.loginSistemas?.tipo === 'login') {\n setValuesToClipboard(chamadoAtual?.loginSistemas);\n }\n\n if (chamadoAtual?.criacaoEmail?.email) {\n try {\n const emailSugeridoDecrypt = decrypt(chamadoAtual?.criacaoEmail?.email);\n\n if (emailSugeridoDecrypt) {\n setEmailSugerido(emailSugeridoDecrypt);\n }\n } catch (error) {\n console.log('Erro ao descriptografar e-mail sugerido');\n\n setEmailSugerido(chamadoAtual?.criacaoEmail?.email);\n }\n }\n\n if (chamadoAtual?.criacaoEmail) {\n setEmailSisged(chamadoAtual?.criacaoEmail?.sisged);\n }\n };\n\n getChamado();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handleEmailSugerido = e => {\n setEmailSugerido(e.target.value);\n };\n\n const handleEmailSisged = e => {\n setEmailSisged(e.target.value);\n };\n\n const handlePdf = () => {\n if (chamado.subcategoria === 'Solicitação de férias') {\n chamado.solicitacaoFerias.cargo = decrypt(chamado.solicitacaoFerias.cargo);\n chamado.solicitacaoFerias.lotacao = decrypt(chamado.solicitacaoFerias.lotacao);\n chamado.solicitacaoFerias.matricula = decrypt(chamado.solicitacaoFerias.matricula);\n chamado.solicitacaoFerias.nome = decrypt(chamado.solicitacaoFerias.nome);\n\n pdfFerias(chamado.solicitacaoFerias);\n } else if (chamado.subcategoria === 'Alteração de férias') {\n if (chamado.alteracaoFerias) {\n chamado.alteracaoFerias.cargo = decrypt(chamado.alteracaoFerias.cargo);\n chamado.alteracaoFerias.lotacao = decrypt(chamado.alteracaoFerias.lotacao);\n chamado.alteracaoFerias.matricula = decrypt(chamado.alteracaoFerias.matricula);\n chamado.alteracaoFerias.nome = decrypt(chamado.alteracaoFerias.nome);\n\n pdfAlteracaoFerias(chamado.alteracaoFerias);\n }\n } else if (chamado.subcategoria === 'Formulário de Criação') {\n pdfBriefing(chamado);\n } else {\n makePdf(chamado);\n }\n };\n\n const copyValuesToClipboard = async values => {\n const text = `tipo: ${values?.tipo ? values?.tipo : ''}\nsistema: ${values?.sistema ? values?.sistema : ''}\nunidade: ${values?.unidade ? values?.unidade : ''}\nnome: ${values?.nome ? decrypt(values?.nome) : ''}\ncpf: ${values?.cpf ? decrypt(values?.cpf) : ''}\ncns: ${values?.cns ? decrypt(values?.cns) : ''}\nemail: ${values?.email ? decrypt(values?.email) : ''}\ntelefone: ${values?.telefone ? decrypt(values?.telefone) : ''}`;\n\n copyToClipboard(text);\n };\n\n useEffect(() => {\n if (obsRef && obsRef.current) {\n obsRef.current.style.height = '100px';\n\n const newHeight = obsRef.current.scrollHeight;\n\n obsRef.current.style.height = `${newHeight + 10}px`;\n }\n }, [obs]);\n\n const handleSubmit = event => {\n event.preventDefault();\n\n const data = {\n finalAt,\n obs,\n status,\n roles,\n email: chamado.email,\n responder: chamado.responder,\n criacaoEmail: {\n ...chamado?.criacaoEmail,\n email: emailSugerido,\n sisged: emailSisged\n },\n suporteTi: {\n ...chamado?.suporteTi,\n empresaResp\n }\n };\n\n const id = props.match.params.id;\n\n const upChamado = async () => {\n await updateChamado(id, data);\n\n //history.push('/solicitacoes');\n history.goBack();\n };\n\n upChamado();\n };\n \n return (\n \n
\n
\n Solicitação {includeLeftZero(chamado?.numeroChamado)}\n
\n {chamado?.subcategoria !== 'Formulário de Inscrição CIPA' && (\n \n )}\n
\n \n {chamado?.subcategoria !== 'Formulário de Inscrição CIPA' && (\n <>\n \n *e-mail:\n \n \n\n \n \n \n *Nome do Solicitante:\n \n \n \n\n \n \n *Telefone:\n \n \n \n \n\n \n \n \n *Unidade:\n \n \n \n \n \n )}\n\n \n \n \n *Categoria:\n \n \n \n\n \n \n *Subcategoria:\n \n \n \n \n\n {chamado?.materiaisEscritorio.length > 0 && (\n \n \n \n \n \n \n \n\n \n {chamado?.materiaisEscritorio.map((item, index) => (\n \n \n \n \n ))}\n \n
Materiais de EscritórioQtde
\n \n \n \n \n \n \n \n
\n )}\n\n {chamado?.materiaisLimpeza.length > 0 && (\n \n \n \n \n \n \n \n\n \n {chamado?.materiaisLimpeza.map((item, index) => (\n \n \n \n \n ))}\n \n
Materiais de LimpezaQtde
\n \n \n \n \n \n \n \n
\n )}\n\n {chamado?.materiaisExpediente.length > 0 && (\n \n \n \n \n \n \n \n\n \n {chamado?.materiaisExpediente.map((item, index) => (\n \n \n \n \n ))}\n \n
Materiais de ExpedienteQtde
\n \n \n \n \n \n \n \n
\n )}\n\n {chamado?.criacaoEmail?.email && (\n <>\n \n \n \n *Matrícula:\n \n \n \n \n \n *Nome:\n \n \n \n \n\n\n \n \n \n *e-mail sugerido:\n handleEmailSugerido(e)}\n value={emailSugerido}\n readOnly={isResp ? false : true}\n />\n \n \n \n \n  \n \n \n \n \n\n \n \n \n *Telefone:\n \n \n \n \n \n *Data de admissão:\n \n \n \n \n\n \n \n \n *Unidade:\n \n \n \n \n\n \n \n \n *Cargo:\n \n \n \n \n\n \n \n \n *Criar usuário no SisGeD?\n handleEmailSisged(e)}\n value={emailSisged}\n disabled={isResp ? false : true}\n >\n \n \n \n \n \n \n \n )}\n\n {chamado?.solicitacaoVeiculo && (\n <>\n \n \n \n *Data do transporte:\n \n \n \n \n \n *Hora do transporte:\n \n \n \n \n \n *Tempo estimado:\n \n \n \n \n\n \n \n \n *Nome do passageiro:\n \n \n \n \n \n *Telefone do passageiro:\n \n \n \n \n \n \n \n *Endereço da saída:\n \n \n \n \n \n *Endereço do destino:\n \n \n \n \n \n )}\n\n {chamado?.solicitacaoMotoboy && (\n <>\n \n \n \n *Data do transporte:\n \n \n \n \n \n *Hora do transporte:\n \n \n \n \n \n *Tempo estimado:\n \n \n \n \n\n \n \n \n *Nome do passageiro:\n \n \n \n \n \n *Telefone do passageiro:\n \n \n \n \n \n \n \n *Endereço da saída:\n \n \n \n \n \n *Endereço do destino:\n \n \n \n \n \n )}\n\n {chamado?.equipamentoEngenhariaClinica && (\n \n \n \n *Equipamento:\n \n \n \n \n )}\n\n {chamado?.suporteTi && (\n \n \n \n Telefone de Contato:\n \n \n \n\n \n \n Patrimônio:\n \n \n \n \n )}\n\n {chamado?.pontoEletronico?.assunto && (\n \n \n \n *Assunto:\n \n \n \n \n )}\n\n {chamado?.loginSistemas?.sistema && (\n <>\n Sistemas de Saúde\n \n *Login ou Suporte?\n \n \n \n \n \n \n \n\n \n \n \n *Sistema:\n \n \n \n \n\n {chamado?.loginSistemas?.tipo === 'login' && (\n <>\n \n \n \n *Unidade:\n \n \n \n\n \n \n *Nome Completo:\n \n \n \n \n\n \n \n \n *CPF:\n \n \n \n\n \n \n *CNS:\n \n \n \n \n\n \n \n \n *e-mail:\n \n \n \n\n \n \n *Telefone:\n \n \n \n \n\n
\n copyValuesToClipboard(valuesToClipboard)}\n >\n {success ? 'Copiado' : 'Copiar'}\n \n
\n\n \n \n \n Resumo:\n \n \n \n \n \n )}\n\n {chamado?.loginSistemas?.tipo === 'suporte' && chamado?.loginSistemas?.suporteArquivos?.length > 0 && (\n chamado?.loginSistemas?.suporteArquivos.map(item => {\n return (\n \n \n {getExtension(item.fileName) === 'pdf' &&\n \n }\n\n {(getExtension(item.fileName) === 'doc' || getExtension(item.fileName) === 'docx') &&\n \n }\n\n {(getExtension(item.fileName) === 'xls' || getExtension(item.fileName) === 'xlsx') &&\n \n }\n\n {getExtension(item.fileName) === 'txt' &&\n \n }\n\n {getExtension(item.fileName) === 'mp4' &&\n \n }\n\n {getExtension(item.fileName) === 'avi' &&\n \n }\n\n {getExtension(item.fileName) === 'mov' &&\n \n }\n\n {\n getExtension(item.fileName) !== 'pdf' &&\n getExtension(item.fileName) !== 'doc' &&\n getExtension(item.fileName) !== 'docx' &&\n getExtension(item.fileName) !== 'xls' &&\n getExtension(item.fileName) !== 'xlsx' &&\n getExtension(item.fileName) !== 'txt' &&\n getExtension(item.fileName) !== 'mp4' &&\n getExtension(item.fileName) !== 'avi' &&\n getExtension(item.fileName) !== 'mov' &&\n \n }\n\n \n {item.originalName}\n \n \n \n );\n })\n )}\n \n )}\n\n {chamado?.briefing && (\n <>\n \n \n \n *O que precisamos fazer? Por que você está fazendo esse pedido?\n \n \n \n \n\n \n \n \n *Quais peças devem ser desenvolvidas/criadas? Quais as medidas (largura X altura)?\n \n \n \n \n\n \n \n \n *Onde serão veiculadas/expostas? (Redes sociais, portal, impressos, eventos etc.)\n \n \n \n \n\n \n \n \n *Qual é o prazo final para entrega do projeto? Sujeito a análise interna e viabilidade dos pedidos na fila de produção.\n \n \n \n \n\n \n \n \n *Tem mais algum detalhe ou algum link de referência? Deixe aqui o seu comentário para inspirar a nossa equipe.\n \n \n \n \n\n {chamado?.briefing?.briefingArquivos?.length > 0 && (\n (chamado?.status === 'Aberto' || chamado?.status === 'Em Andamento') && (\n <>\n \n

\n Tem algum arquivo (foto, texto ou logo) que precisamos receber? Envie anexo. (Máximo de 5 anexos com 5MB cada)
\n Arquivos suportados: .pdf, .png, .gif, .jpg, .jpeg, .svg, .txt, .doc, .docx, .xls, .xlsx\n

\n
\n\n {chamado?.briefing?.briefingArquivos?.map(item => {\n return (\n \n \n {getExtension(item.fileName) === 'pdf' &&\n \n }\n\n {(getExtension(item.fileName) === 'doc' || getExtension(item.fileName) === 'docx') &&\n \n }\n\n {(getExtension(item.fileName) === 'xls' || getExtension(item.fileName) === 'xlsx') &&\n \n }\n\n {getExtension(item.fileName) === 'txt' &&\n \n }\n\n {\n getExtension(item.fileName) !== 'pdf' &&\n getExtension(item.fileName) !== 'doc' &&\n getExtension(item.fileName) !== 'docx' &&\n getExtension(item.fileName) !== 'xls' &&\n getExtension(item.fileName) !== 'xlsx' &&\n getExtension(item.fileName) !== 'txt' &&\n\n \n }\n\n \n {item.originalName}\n \n \n \n )\n })}\n \n )\n )}\n\n {chamado?.briefing?.briefingArquivos?.length > 0 && (\n (chamado?.status === 'Cancelado' || chamado?.status === 'Finalizado') && (\n <>\n \n

\n Tem algum arquivo (foto, texto ou logo) que precisamos receber? Envie anexo. (Máximo de 5 anexos com 5MB cada)
\n Arquivos suportados: .pdf, .png, .gif, .jpg, .jpeg, .svg, .txt, .doc, .docx, .xls, .xlsx\n

\n
\n\n {chamado?.briefing?.briefingArquivos?.map(item => {\n return (\n \n \n {item.fileName}     -     {item.originalName}\n \n \n )\n })}\n \n )\n )}\n \n )}\n\n {chamado?.subcategoria === 'ERP - (MXM)' && (\n <>\n ERP - (MXM)\n\n \n \n \n *Nome completo:\n \n \n \n \n\n \n \n \n *e-mail:\n \n \n \n \n\n \n \n \n *Matrícula:\n \n \n \n \n\n \n \n \n *Unidade:\n \n \n \n \n\n \n \n \n Administrador:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Cadastros Comuns:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Cadastros Comum Financeiro:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Gestão de Processos:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Compras:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contrato Compras:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contas Pagar:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Pagamento Escritural:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contas Receber:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Tesouraria:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Integração Padrão:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Contábil:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Estoque:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Patrimônio:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n Orçamento:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n REINF:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n EFD:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n ECD:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n\n \n \n \n ECF:\n {radios.map(item => {\n return (\n \n );\n })}\n \n \n \n \n )}\n\n {isResp && chamado?.categoria === 'Suporte de TI' && (\n \n \n \n Empresa Responsável:\n \n {chamado?.suporteTi?.empresaResp ? (\n \n ): (\n \n )}\n {tiEmpresasResp.map(item => (\n \n ))}\n \n \n \n \n )}\n\n {(chamado?.subcategoria !== 'Briefing para Criação' && chamado?.subcategoria !== 'Formulário de Inscrição CIPA' && chamado?.subcategoria !== 'ERP - (MXM)') &&\n \n \n \n *Descreva brevemente a solicitação:\n \n \n \n \n }\n\n \n \n \n *SLA:\n \n \n \n\n \n \n *Data Inicial:\n \n \n \n\n \n \n *Data Final:\n handleFinalAt(e)}\n value={finalAt ? formatDate(finalAt) : ''}\n readOnly\n />\n \n \n \n\n \n \n \n *Status atual:\n \n \n \n \n \n {((!isAdmin && !isResp) && (status === 'Aberto')) && (\n Alterar Status:\n )}\n\n {((isAdmin || isResp) && (status === 'Aberto' || status === 'Em Andamento')) && (\n Alterar Status:\n )}\n\n {((isAdmin || isResp) && (status === 'Aberto' || status === 'Em Andamento')) && (\n <>\n handleStatus(e)}\n >\n Em Andamento\n \n handleStatus(e)}\n >\n Finalizado\n \n handleStatus(e)}\n >\n Cancelado\n \n \n )}\n\n {((!isAdmin && !isResp) && (status === 'Aberto')) && (\n handleStatus(e)}\n >\n Cancelado\n \n )}\n \n \n \n \n Cancelar Solicitação\n \n Tem certeza que deseja cancelar a solicitação?\n \n \n \n \n \n\n \n \n Finalizar Solicitação\n \n Tem certeza que deseja finalizar a solicitação?\n \n \n \n \n \n\n \n \n Cancelar solicitação\n \n Ao cancelar a solicitação informe o motivo no campo Observações\n \n \n \n \n \n\n {\n (chamado?.categoria === 'Manutenção Predial' || chamado?.categoria === 'Manutenção de Elétrica e Iluminação' || chamado?.categoria === 'Manutenção de Água e Esgoto' || chamado?.categoria === 'Manutenção de Ar-Condicionado') && chamado?.subcategoria && (\n \n \n

\n Em caso de emergência ou agravamento ligue para (21) 97029-6574\n

\n
\n
\n )\n }\n\n \n \n \n Observações:\n handleObs(e)}\n ref={obsRef}\n />\n \n \n \n\n {(status === 'Aberto' || status === 'Em Andamento') && (\n
\n \n
\n )}\n \n
\n );\n};\n\nexport default Chamado;\n","import { useHistory } from 'react-router-dom';\n\nimport { Button, Container } from 'react-bootstrap';\n\nimport styles from './Admin.module.css';\n\nconst Admin = () => {\n const history = useHistory();\n\n const usuarios = () => {\n history.push('/admin/usuarios');\n };\n\n const graficos = () => {\n history.push('/solicitacoes/graficos');\n };\n\n const logs = () => {\n history.push('/admin/logs');\n };\n\n return (\n \n
\n \n \n \n
\n
\n );\n};\n\nexport default Admin;\n","import baseUrl from './baseUrl';\n\nconst URL_DELETAR_USUARIO = `${baseUrl}/user`;\n\nconst deletarUsuario = async id => {\n try {\n const response = await fetch(`${URL_DELETAR_USUARIO}/${id}`, {\n method: 'DELETE',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default deletarUsuario;\n","import { useState, useEffect } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { Button, Container, Table, Pagination, Modal } from 'react-bootstrap';\nimport {\n FaSortNumericDown,\n FaSortNumericUpAlt,\n FaSortAlphaDown,\n FaSortAlphaUpAlt,\n FaFileExcel,\n FaEdit,\n FaTrash\n} from 'react-icons/fa';\nimport exportFromJSON from 'export-from-json';\n\nimport styles from './Usuarios.module.css';\nimport getAllUsers from '../../../api/getAllUsers';\nimport { decrypt, decryptArray } from '../../../helpers/cryptography';\nimport isoToDate from '../../../helpers/isoToDate';\nimport { formatDate } from '../../../helpers/formatDate';\nimport deletarUsuario from '../../../api/deletarUsuario';\n\nconst Usuarios = () => {\n const history = useHistory();\n\n const [sortNome, setSortNome] = useState(false);\n const [sortEmail, setSortEmail] = useState(false);\n const [sortTelefone, setSortTelefone] = useState(false);\n const [sortUnidade, setSortUnidade] = useState(false);\n const [sortAdmissao, setSortAdmissao] = useState(false);\n const [sortMatricula, setSortMatricula] = useState(false);\n const [sortPerfil, setSortPerfil] = useState(false);\n const [currentPage, setCurrentPage] = useState(1);\n const [totalPages, setTotalPages] = useState(null);\n const [filterBy, setFilterBy] = useState('name');\n const [orderBy, setOrderBy] = useState('desc');\n const [usuarios, setUsuarios] = useState([]);\n const [loading, setLoading] = useState(false);\n const [excelLoading, setExcelLoading] = useState(false);\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [deleteId, setDeleteId] = useState(null);\n const [deleteName, setDeleteName] = useState(null);\n const [refresh, setRefresh] = useState(false);\n\n const toExcel = async () => {\n setExcelLoading(true);\n\n const fileName = 'solicitacoes';\n const exportType = 'xls';\n\n const getAll = await getAllUsers();\n\n const data = getAll.map(item => {\n const excelData = {\n nome: item.name ? decrypt(item.name) : '',\n matricula: item.registration ? decrypt(item.registration) : '',\n email: item.email ? decrypt(item.email) : '',\n telefone: item.phone ? decrypt(item.phone) : '',\n unidade: item.unit ? decrypt(item.unit) : '',\n data_admissao: item.admissionDate ? formatDate(item.admissionDate) : '',\n perfil: item.roles ? decryptArray(item.roles) : ''\n };\n\n return excelData;\n });\n\n exportFromJSON({ data, fileName, exportType });\n\n setExcelLoading(false);\n };\n\n useEffect(() => {\n setLoading(true);\n\n const getUsers = async () => {\n const response = await getAllUsers();\n \n const responseDecrypted = response.map(user => {\n return {\n ...user,\n name: user.name ? decrypt(user.name) : '',\n email: user.email ? decrypt(user.email) : '',\n phone: user.phone ? decrypt(user.phone) : '',\n unit: user.unit ? decrypt(user.unit) : '',\n admissionDate : user.admissionDate ? user.admissionDate : '',\n registration: user.registration ? decrypt(user.registration) : '',\n roles: user.roles ? decryptArray(user.roles) : '',\n };\n }).sort((a, b) => a.name > b.name ? 1 : -1);\n \n setUsuarios(responseDecrypted);\n setTotalPages(1);\n setLoading(false);\n };\n\n getUsers();\n }, [currentPage, filterBy, orderBy, refresh]);\n\n const usuariosNovo = () => {\n history.push('/admin/usuarios/novo');\n };\n\n const handleSortNome = () => {\n setSortNome(!sortNome);\n\n if (!sortNome) {\n setFilterBy('name');\n setOrderBy('asc');\n } else {\n setFilterBy('name');\n setOrderBy('desc');\n }\n };\n\n const handleSortEmail = () => {\n setSortEmail(!sortEmail);\n\n if (!sortEmail) {\n setFilterBy('email');\n setOrderBy('asc');\n } else {\n setFilterBy('email');\n setOrderBy('desc');\n }\n };\n\n const handleSortTelefone = () => {\n setSortTelefone(!sortTelefone);\n\n if (!sortTelefone) {\n setFilterBy('phone');\n setOrderBy('asc');\n } else {\n setFilterBy('phone');\n setOrderBy('desc');\n }\n };\n\n const handleSortUnidade = () => {\n setSortUnidade(!sortUnidade);\n\n if (!sortUnidade) {\n setFilterBy('unit');\n setOrderBy('asc');\n } else {\n setFilterBy('unit');\n setOrderBy('desc');\n }\n };\n\n const handleSortAdmissao = () => {\n setSortAdmissao(!sortAdmissao);\n\n if (!sortAdmissao) {\n setFilterBy('admissionDate');\n setOrderBy('asc');\n } else {\n setFilterBy('admissionDate');\n setOrderBy('desc');\n }\n };\n\n const handleSortMatricula = () => {\n setSortMatricula(!sortMatricula);\n\n if (!sortMatricula) {\n setFilterBy('registration');\n setOrderBy('asc');\n } else {\n setFilterBy('registration');\n setOrderBy('desc');\n }\n };\n\n const handleSortPerfil = () => {\n setSortPerfil(!sortPerfil);\n\n if (!sortPerfil) {\n setFilterBy('roles');\n setOrderBy('asc');\n } else {\n setFilterBy('roles');\n setOrderBy('desc');\n }\n };\n\n const handlePageChange = pageNumber => {\n if (pageNumber < 1) {\n pageNumber = 1;\n }\n\n if (pageNumber > totalPages) {\n pageNumber = totalPages;\n }\n\n setCurrentPage(pageNumber);\n };\n\n const editar = id => {\n history.push(`/admin/usuarios/${id}`);\n };\n\n const deletar = id => {\n setDeleteId(id);\n\n const usuario = usuarios.find(user => user._id === id);\n\n setDeleteName(usuario.name);\n setShowDeleteModal(true);\n };\n\n const handleDeleteModalClose = () => setShowDeleteModal(false);\n\n const handleDeletarUsuario = async () => {\n try {\n await deletarUsuario(deleteId);\n } catch (error) {\n console.log(error);\n }\n\n setShowDeleteModal(false);\n\n setRefresh(!refresh);\n };\n\n return (\n \n
\n \n\n {!excelLoading && (\n \n )}\n\n {excelLoading && (\n \n )}\n
\n\n {loading &&

Carregando...

}\n\n {!loading && usuarios?.length > 0 && (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {usuarios && usuarios.map(usuario => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n })}\n \n
\n Nome {\n !sortNome ?\n :\n \n }\n \n Email {\n !sortEmail ?\n :\n \n }\n \n Telefone {\n !sortTelefone ?\n :\n \n }\n \n Unidade {\n !sortUnidade ?\n :\n \n }\n \n Admissão {\n !sortAdmissao ?\n :\n \n }\n \n Matrícula {\n !sortMatricula ?\n :\n \n }\n \n Perfil {\n !sortPerfil ?\n :\n \n }\n EditarDeletar
{usuario?.name}{usuario?.email}{usuario?.phone}{usuario?.unit}{usuario?.admissionDate ? isoToDate(usuario.admissionDate) : ''}{usuario?.registration}{\n usuario?.roles.join(', ')\n } editar(usuario?._id)} className={styles.sort} /> deletar(usuario?._id)} className={styles.sort} />
\n\n
\n \n handlePageChange(1)} />\n handlePageChange(Number(currentPage) - 1)} />\n {Array.from({ length: totalPages }).map((item, index) => (\n handlePageChange(index + 1)}\n >\n {index + 1}\n \n ))}\n handlePageChange(Number(currentPage) + 1)} />\n handlePageChange(totalPages)} />\n \n
\n\n \n \n Deletar usuário\n \n Tem certeza que deseja deletar o usuário:\n {deleteName}\n \n \n \n \n \n \n )}\n
\n );\n};\n\nexport default Usuarios;\n","import React, { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { Button, Form } from 'react-bootstrap';\n\nimport styles from './Novo.module.css';\nimport getUnidades from '../../../../api/getUnidades';\nimport generatePassword from '../../../../helpers/generatePassword';\nimport { matriculaMask, phoneMask } from '../../../../helpers/masks';\nimport criarUsuario from '../../../../api/criarUsuario';\n\nconst Novo = () => {\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n const [roles, setRoles] = useState({\n USER: false,\n RESP: false,\n ADMIN: false,\n CONSULTA: false,\n VR: false,\n VESTUARIO: false,\n MONITOR: false,\n OUVIDORIA: false,\n OUVIDORIA_CONSULTA: false,\n CIPA: false,\n CAPS_ADMIN: false,\n CAPS_SUPERVISOR: false,\n CAPS_OPERADOR: false,\n CAPS_CONSULTA: false,\n CAPS_DOCS: false,\n CAPS_DOCS_ESP: false,\n MDI: false,\n MDI_ADMIN: false,\n ERP: false,\n PESQUISA: false,\n INSCRICAO_ADMIN: false,\n REDUCAO_DE_DANOS: false,\n RD_CONSULTA: false,\n DOCS_DAS: false,\n DOCS_DITI: false,\n DOCS_DTEC: false,\n DOCS_DAF: false,\n DOCS_DG: false,\n CECO_ADMIN: false,\n CECO_OPERADOR: false,\n GESTOR: false,\n ATIV_ADMIN: false,\n ATIV_OPERADOR: false,\n ATIV_CONSULTA: false,\n LEITOS: false,\n });\n\n const [unidades, setUnidades] = useState([]);\n\n const initialValues = {\n name: '',\n email: '',\n phone: '',\n unit: '',\n admissionDate: '',\n registration: ''\n };\n\n const [values, setValues] = useState(initialValues);\n\n const setValue = (key, value) => {\n setValues({\n ...values,\n [key]: value\n });\n };\n\n const handleChange = e => {\n if (e.target.name === 'phone') {\n e.target.value = phoneMask(e.target.value);\n }\n\n if (e.target.name === 'registration') {\n e.target.value = matriculaMask(e.target.value);\n }\n\n setValue(e.target.getAttribute('name'), e.target.value);\n };\n\n const handleCheck = e => {\n let newRoles = roles;\n newRoles[e.target.id] = e.target.checked;\n\n setRoles(newRoles);\n };\n\n useEffect(() => {\n const fetchUnidades = async () => {\n const response = await getUnidades('sisged');\n\n setUnidades(response);\n };\n\n fetchUnidades();\n }, []);\n\n const handleSubmit = e => {\n e.preventDefault();\n\n setLoading(true);\n\n const rolesArray = roles => Object.entries(roles).reduce((acc, [key, value]) => {\n if (value) {\n acc.push(key);\n }\n\n return acc;\n }, []);\n\n const data = {\n name: values.name,\n email: values.email.toLowerCase(),\n phone: values.phone,\n unit: values.unit,\n admissionDate: values.admissionDate,\n registration: values.registration,\n roles: rolesArray(roles),\n password: generatePassword(8)\n };\n\n criarUsuario(data);\n\n setLoading(false);\n\n history.push('/admin/usuarios');\n };\n\n return (\n
\n
\n
\n
\n \"Logo\n
\n
\n

Criar Usuário

\n
\n
\n
\n
\n\n
\n
\n \n *Matrícula:\n \n \n
\n
\n\n
\n
\n \n *Nome:\n \n \n
\n
\n\n
\n
\n \n *e-mail:\n \n \n
\n
\n\n
\n
\n \n *Telefone:\n \n \n
\n
\n\n
\n
\n \n *Data de admissão:\n \n \n
\n
\n\n
\n
\n \n *Unidade:\n \n \n {unidades && unidades.map(item => (\n \n ))}\n \n \n
\n
\n\n
\n
\n \n *Roles:\n {[\n 'USER', \n 'RESP', \n 'ADMIN', \n 'CONSULTA', \n 'VR', \n 'VESTUARIO', \n 'MONITOR', \n 'OUVIDORIA', \n 'OUVIDORIA_CONSULTA', \n 'CIPA', \n 'CAPS_ADMIN',\n 'CAPS_SUPERVISOR',\n 'CAPS_OPERADOR',\n 'CAPS_CONSULTA',\n 'CAPS_DOCS',\n 'CAPS_DOCS_ESP',\n 'MDI', \n 'MDI_ADMIN', \n 'ERP',\n 'PESQUISA',\n 'INSCRICAO_ADMIN',\n 'REDUCAO_DE_DANOS',\n 'RD_CONSULTA',\n 'DOCS_DAS',\n 'DOCS_DITI',\n 'DOCS_DTEC',\n 'DOCS_DAF',\n 'DOCS_DG',\n 'CECO_ADMIN',\n 'CECO_OPERADOR',\n 'GESTOR',\n 'ATIV_ADMIN',\n 'ATIV_OPERADOR',\n 'ATIV_CONSULTA',\n 'LEITOS',\n ].map(role => (\n \n ))}\n \n
\n
\n
\n
\n {loading && (\n \n )}\n\n {!loading && (\n \n )}\n
\n
\n
\n
\n );\n};\n\nexport default Novo;\n","import baseUrl from './baseUrl';\n\nconst URL_GET_USER_BY_ID = `${baseUrl}/user`;\n\nconst getUserById = async id => {\n try {\n const data = await fetch(`${URL_GET_USER_BY_ID}/${id}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getUserById;\n","import baseUrl from './baseUrl';\n\nconst URL_EDITAR_USUARIO = `${baseUrl}/auth/edit`;\n\nconst editarUsuario = async data => {\n try {\n const response = await fetch(`${URL_EDITAR_USUARIO}/${data._id}`, {\n method: 'PUT',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify(data)\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default editarUsuario;\n","import React, { useEffect, useState, useRef } from 'react';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { Button, Form } from 'react-bootstrap';\n\nimport styles from './Editar.module.css';\nimport getUnidades from '../../../../api/getUnidades';\nimport getUserById from '../../../../api/getUserById';\nimport { phoneMask, matriculaMask } from '../../../../helpers/masks';\nimport editarUsuario from '../../../../api/editarUsuario';\nimport { decrypt, decryptArray } from '../../../../helpers/cryptography';\n\nconst Editar = () => {\n const userRef = useRef(null);\n const respRef = useRef(null);\n const adminRef = useRef(null);\n const consultaRef = useRef(null);\n const vrRef = useRef(null);\n const vestuarioRef = useRef(null);\n const monitorRef = useRef(null);\n const ouvidoriaRef = useRef(null);\n const ouvidoriaConsultaRef = useRef(null);\n const cipaRef = useRef(null);\n const capsAdminRef = useRef(null);\n const capsSupervisorRef = useRef(null);\n const capsOperadorRef = useRef(null);\n const capsConsultaRef = useRef(null);\n const capsDocsRef = useRef(null);\n const capsDocsEspRef = useRef(null);\n const mdiRef = useRef(null);\n const mdiAdminRef = useRef(null);\n const erpRef = useRef(null);\n const pesquisaRef = useRef(null);\n const inscricaoAdminRef = useRef(null);\n const reducaoDeDanosRef = useRef(null);\n const reducaoConsultaRef = useRef(null);\n const docsDasRef = useRef(null);\n const docsDitiRef = useRef(null);\n const docsDtecRef = useRef(null);\n const docsDafRef = useRef(null);\n const docsDgRef = useRef(null);\n const cecoAdminRef = useRef(null);\n const cecoOperadorRef = useRef(null);\n const gestorRef = useRef(null);\n const ativAdminRef = useRef(null);\n const ativOperadorRef = useRef(null);\n const ativConsultaRef = useRef(null);\n const leitosRef = useRef(null);\n \n const { id } = useParams();\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n\n const [roles, setRoles] = useState({\n USER: false,\n RESP: false,\n ADMIN: false,\n CONSULTA: false,\n VR: false,\n VESTUARIO: false,\n MONITOR: false,\n OUVIDORIA: false,\n OUVIDORIA_CONSULTA: false,\n CIPA: false,\n CAPS_ADMIN: false,\n CAPS_SUPERVISOR: false,\n CAPS_OPERADOR: false,\n CAPS_CONSULTA: false,\n CAPS_DOCS: false,\n CAPS_DOCS_ESP: false,\n MDI: false,\n MDI_ADMIN: false,\n ERP: false,\n PESQUISA: false,\n INSCRICAO_ADMIN: false,\n REDUCAO_DE_DANOS: false,\n RD_CONSULTA: false,\n DOCS_DAS: false,\n DOCS_DITI: false,\n DOCS_DTEC: false,\n DOCS_DAF: false,\n DOCS_DG: false,\n CECO_ADMIN: false,\n CECO_OPERADOR: false,\n GESTOR: false,\n ATIV_ADMIN: false,\n ATIV_OPERADOR: false,\n ATIV_CONSULTA: false,\n LEITOS: false,\n });\n\n const [unidades, setUnidades] = useState([]);\n\n const initialValues = {\n _id: '',\n name: '',\n email: '',\n phone: '',\n unit: '',\n admissionDate: '',\n registration: ''\n };\n\n const [values, setValues] = useState(initialValues);\n\n useEffect(() => {\n const fetchUnidades = async () => {\n const response = await getUnidades('sisged');\n\n setUnidades(response);\n };\n\n fetchUnidades();\n }, []);\n\n useEffect(() => {\n const fetchUsuario = async () => {\n const response = await getUserById(id);\n const { _id, name, email, phone, unit, admissionDate, registration, roles } = response;\n\n setValues({\n _id,\n name: name ? decrypt(name) : '',\n email: email ? decrypt(email) : '',\n phone: phone ? decrypt(phone) : '',\n unit: unit ? decrypt(unit) : '',\n admissionDate: admissionDate ? admissionDate.split('T')[0] : '',\n registration: registration ? decrypt(registration) : ''\n });\n\n const rolesArray = decryptArray(roles);\n\n setRoles({\n USER: rolesArray.includes('USER') ? true : false,\n RESP: rolesArray.includes('RESP') ? true : false,\n ADMIN: rolesArray.includes('ADMIN') ? true : false,\n CONSULTA: rolesArray.includes('CONSULTA') ? true : false,\n VR: rolesArray.includes('VR') ? true : false,\n VESTUARIO: rolesArray.includes('VESTUARIO') ? true : false,\n MONITOR: rolesArray.includes('MONITOR') ? true : false,\n OUVIDORIA: rolesArray.includes('OUVIDORIA') ? true : false,\n OUVIDORIA_CONSULTA: rolesArray.includes('OUVIDORIA_CONSULTA') ? true : false,\n CIPA: rolesArray.includes('CIPA') ? true : false,\n CAPS_ADMIN: rolesArray.includes('CAPS_ADMIN') ? true : false,\n CAPS_SUPERVISOR: rolesArray.includes('CAPS_SUPERVISOR') ? true : false,\n CAPS_OPERADOR: rolesArray.includes('CAPS_OPERADOR') ? true : false,\n CAPS_CONSULTA: rolesArray.includes('CAPS_CONSULTA') ? true : false,\n CAPS_DOCS: rolesArray.includes('CAPS_DOCS') ? true : false,\n CAPS_DOCS_ESP: rolesArray.includes('CAPS_DOCS_ESP') ? true : false,\n MDI: rolesArray.includes('MDI') ? true : false,\n MDI_ADMIN: rolesArray.includes('MDI_ADMIN') ? true : false,\n ERP: rolesArray.includes('ERP') ? true : false,\n PESQUISA: rolesArray.includes('PESQUISA') ? true : false,\n INSCRICAO_ADMIN: rolesArray.includes('INSCRICAO_ADMIN') ? true : false,\n REDUCAO_DE_DANOS: rolesArray.includes('REDUCAO_DE_DANOS') ? true : false,\n RD_CONSULTA: rolesArray.includes('RD_CONSULTA') ? true : false,\n DOCS_DAS: rolesArray.includes('DOCS_DAS') ? true : false,\n DOCS_DITI: rolesArray.includes('DOCS_DITI') ? true : false,\n DOCS_DTEC: rolesArray.includes('DOCS_DTEC') ? true : false,\n DOCS_DAF: rolesArray.includes('DOCS_DAF') ? true : false,\n DOCS_DG: rolesArray.includes('DOCS_DG') ? true : false,\n CECO_ADMIN: rolesArray.includes('CECO_ADMIN') ? true : false,\n CECO_OPERADOR: rolesArray.includes('CECO_OPERADOR') ? true : false,\n GESTOR: rolesArray.includes('GESTOR') ? true : false,\n ATIV_ADMIN: rolesArray.includes('ATIV_ADMIN')? true : false,\n ATIV_OPERADOR: rolesArray.includes('ATIV_OPERADOR')? true : false,\n ATIV_CONSULTA: rolesArray.includes('ATIV_CONSULTA')? true : false,\n LEITOS: rolesArray.includes('LEITOS') ? true : false,\n });\n };\n\n fetchUsuario();\n }, [id]);\n\n useEffect(() => {\n if (roles.USER) {\n userRef.current.checked = true;\n }\n \n if (roles.CONSULTA) {\n consultaRef.current.checked = true;\n }\n \n if (roles.RESP) {\n respRef.current.checked = true;\n }\n \n if (roles.ADMIN) {\n adminRef.current.checked = true;\n }\n \n if (roles.VR) {\n vrRef.current.checked = true;\n }\n \n if (roles.VESTUARIO) {\n vestuarioRef.current.checked = true;\n }\n \n if (roles.MONITOR) {\n monitorRef.current.checked = true;\n }\n \n if (roles.OUVIDORIA) {\n ouvidoriaRef.current.checked = true;\n }\n \n if (roles.OUVIDORIA_CONSULTA) {\n ouvidoriaConsultaRef.current.checked = true;\n }\n \n if (roles.CIPA) {\n cipaRef.current.checked = true;\n }\n\n if (roles.CAPS_ADMIN) {\n capsAdminRef.current.checked = true;\n }\n \n if (roles.CAPS_SUPERVISOR) {\n capsSupervisorRef.current.checked = true;\n }\n \n if (roles.CAPS_OPERADOR) {\n capsOperadorRef.current.checked = true;\n }\n \n if (roles.CAPS_CONSULTA) {\n capsConsultaRef.current.checked = true;\n }\n \n if (roles.CAPS_DOCS) {\n capsDocsRef.current.checked = true;\n }\n \n if (roles.CAPS_DOCS_ESP) {\n capsDocsEspRef.current.checked = true;\n }\n \n if (roles.MDI) {\n mdiRef.current.checked = true;\n }\n \n if (roles.MDI_ADMIN) {\n mdiAdminRef.current.checked = true;\n }\n \n if (roles.ERP) {\n erpRef.current.checked = true;\n }\n \n if (roles.PESQUISA) {\n pesquisaRef.current.checked = true;\n }\n \n if (roles.INSCRICAO_ADMIN) {\n inscricaoAdminRef.current.checked = true;\n }\n \n if (roles.REDUCAO_DE_DANOS) {\n reducaoDeDanosRef.current.checked = true;\n }\n\n if (roles.RD_CONSULTA) {\n reducaoConsultaRef.current.checked = true;\n }\n \n if (roles.DOCS_DAS) {\n docsDasRef.current.checked = true;\n }\n \n if (roles.DOCS_DITI) {\n docsDitiRef.current.checked = true;\n }\n \n if (roles.DOCS_DTEC) {\n docsDtecRef.current.checked = true;\n }\n \n if (roles.DOCS_DAF) {\n docsDafRef.current.checked = true;\n }\n \n if (roles.DOCS_DG) {\n docsDgRef.current.checked = true;\n }\n \n if (roles.CECO_ADMIN) {\n cecoAdminRef.current.checked = true;\n }\n \n if (roles.CECO_OPERADOR) {\n cecoOperadorRef.current.checked = true;\n }\n \n if (roles.GESTOR) {\n gestorRef.current.checked = true;\n }\n\n if (roles.ATIV_ADMIN) {\n ativAdminRef.current.checked = true;\n }\n\n if (roles.ATIV_OPERADOR) {\n ativOperadorRef.current.checked = true;\n }\n\n if (roles.ATIV_CONSULTA) {\n ativConsultaRef.current.checked = true;\n }\n \n if (roles.LEITOS) {\n leitosRef.current.checked = true;\n }\n }, [roles]);\n\n const setValue = (key, value) => {\n setValues({\n ...values,\n [key]: value\n });\n };\n\n const handleChange = e => {\n if (e.target.name === 'phone') {\n e.target.value = phoneMask(e.target.value);\n }\n\n if (e.target.name === 'registration') {\n e.target.value = matriculaMask(e.target.value);\n }\n\n setValue(e.target.getAttribute('name'), e.target.value);\n };\n\n const handleCheck = e => {\n let newRoles = roles;\n newRoles[e.target.id] = e.target.checked;\n\n setRoles(newRoles);\n };\n\n const handleSubmit = e => {\n e.preventDefault();\n\n setLoading(true);\n\n const rolesArray = roles => Object.entries(roles).reduce((acc, [key, value]) => {\n if (value) {\n acc.push(key);\n }\n\n return acc;\n }, []);\n\n const data = {\n _id: values._id,\n name: values.name,\n email: values.email.toLowerCase(),\n phone: values.phone,\n unit: values.unit,\n admissionDate: new Date(values.admissionDate),\n registration: values.registration,\n roles: rolesArray(roles)\n };\n\n editarUsuario(data);\n\n setLoading(false);\n\n history.push('/admin/usuarios');\n };\n\n return (\n
\n
\n
\n
\n \"Logo\n
\n
\n

Editar Usuário

\n
\n
\n
\n
\n\n
\n
\n \n *Matrícula:\n \n \n
\n
\n\n
\n
\n \n *Nome:\n \n \n
\n
\n\n
\n
\n \n *e-mail:\n \n \n
\n
\n\n
\n
\n \n *Telefone:\n \n \n
\n
\n\n
\n
\n \n *Data de admissão:\n \n \n
\n
\n\n
\n
\n \n *Unidade:\n \n \n {unidades && unidades.map(item => (\n \n ))}\n \n \n
\n
\n\n
\n
\n \n *Roles:\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n\n \n \n \n \n \n \n
\n
\n
\n\n
\n {loading && (\n \n )}\n\n {!loading && (\n \n )}\n
\n
\n
\n
\n );\n};\n\nexport default Editar;\n","import styles from './PageNotFound.module.css';\n\nconst PageNotFound = () => {\n return (\n
\n

Erro 404 - Página não encontrada

\n

Clique em voltar ou navegue no menu acima

\n
\n );\n};\n\nexport default PageNotFound;\n","import React, { Suspense, useContext, lazy } from 'react';\nimport { Switch, Route, Redirect } from 'react-router-dom';\n\nimport Loading from './components/Loading';\nimport ProtectedRoute from './protectedRoutes/ProtectedRoute';\nimport AdminRoute from './protectedRoutes/AdminRoute';\nimport MetasRoute from './protectedRoutes/MetasRoute';\nimport VRVARoute from './protectedRoutes/VRVARoute';\nimport VestuarioRoute from './protectedRoutes/VestuarioRoute';\nimport OuvidoriaRoute from './protectedRoutes/OuvidoriaRoute';\nimport OuvidoriaConsultaRoute from './protectedRoutes/OuvidoriaConsultaRoute';\nimport CipaRoute from './protectedRoutes/CipaRoute';\nimport CapsRoute from './protectedRoutes/CapsRoute';\nimport MdiRoute from './protectedRoutes/MdiRoute';\nimport PesquisaRoute from './protectedRoutes/PesquisaRoute';\nimport InscricaoAdminRoute from './protectedRoutes/InscricaoAdminRoute';\nimport GestaoDeLeitosRoute from './protectedRoutes/GestaoDeLeitosRoute';\nimport Home from './pages/Home';\nimport Login from './pages/Login';\nimport Chamados from './pages/Chamados';\nimport ChamadosNovo from './pages/ChamadosNovo';\nimport EsqueciSenha from './pages/EsqueciSenha';\nimport EsqueciSenhaOk from './pages/EsqueciSenhaOk';\nimport ResetarSenha from './pages/ResetarSenha';\nimport Chamado from './pages/Chamado';\nimport Admin from './pages/Admin';\nimport Usuarios from './pages/Admin/Usuarios';\nimport UsuariosNovo from './pages/Admin/Usuarios/Novo';\nimport UsuariosEditar from './pages/Admin/Usuarios/Editar';\nimport PageNotFound from './pages/PageNotFound';\n\nimport { UserContext } from './context/UserContext';\nimport { CapsProvider } from './context/CapsContext';\nimport { CapsDocsProvider } from './context/CapsDocsContext';\nimport { MonitoramentoProvider } from './context/MonitoramentoContext';\nimport { AcoesTerritoriaisProvider } from './context/AcoesTerritoriais';\n\nconst Confirmacao = lazy(() => import('./pages/Confirmacao'));\nconst Graficos = lazy(() => import('./pages/Graficos'));\nconst Metas = lazy(() => import('./pages/Metas'));\nconst VRVA = lazy(() => import('./pages/VRVA'));\nconst GestaoIndicador1 = lazy(() => import('./pages/Metas/Gestao/Indicador1'));\nconst GestaoIndicador2 = lazy(() => import('./pages/Metas/Gestao/Indicador2'));\nconst Vestuario = lazy(() => import('./pages/Vestuario'));\nconst Ouvidoria = lazy(() => import('./pages/Ouvidoria'));\nconst OuvidoriaAdd = lazy(() => import('./pages/OuvidoriaAdd'));\nconst OuvidoriaEdit = lazy(() => import('./pages/OuvidoriaEdit'));\nconst OuvidoriaShow = lazy(() => import('./pages/OuvidoriaShow'));\nconst CipaList = lazy(() => import('./pages/CipaList'));\nconst CipaApuracao = lazy(() => import('./pages/CipaApuracao'));\nconst ReducaoForm = lazy(() => import('./pages/ReducaoForm'));\nconst ReducaoList = lazy(() => import('./pages/ReducaoList'));\nconst ReducoesList = lazy(() => import('./pages/Reducao/ReducoesList'));\nconst NovaAcao = lazy(() => import('./pages/Reducao/NovaAcao'));\nconst AcaoForm = lazy(() => import('./pages/Reducao/AcaoForm'));\nconst AcoesUsuario = lazy(() => import('./pages/Reducao/AcoesUsuario'));\nconst ReducaoTerritorio = lazy(() => import('./pages/ReducaoTerritorio'));\nconst ReducaoMapaTerritorio = lazy(() => import('./pages/ReducaoMapaTerritorio'));\nconst ReducaoDeDanos = lazy(() => import('./pages/ReducaoDeDanos'));\nconst PessoasAtendidas = lazy(() => import('./pages/GraficosAT/PessoasAtendidas.js'));\nconst Atendimentos = lazy(() => import('./pages/GraficosAT/Atendimentos.js'));\nconst AcoesRealizadas = lazy(() => import('./pages/GraficosAT/AcoesRealizadas.js'));\nconst Encaminhamentos = lazy(() => import('./pages/GraficosAT/Encaminhamentos.js'));\nconst Demandas = lazy(() => import('./pages/GraficosAT/Demandas.js'));\nconst UnidadeRef = lazy(() => import('./pages/GraficosAT/UnidadeRef.js'));\nconst PerfilPop = lazy(() => import('./pages/GraficosAT/PerfilPop.js'));\nconst CCCNForm = lazy(() => import('./pages/CCCN/Form'));\nconst CCCNList = lazy(() => import('./pages/CCCN/List'));\nconst CCCNDocsList = lazy(() => import('./pages/CCCN/Docs/List/index.js'));\nconst CCCNDocsForm = lazy(() => import('./pages/CCCN/Docs/Form/index.js'));\nconst PDFView = lazy(() => import('./components/pdfViewer.js'));\nconst Caps = lazy(() => import('./pages/Caps'));\nconst CapsAdd = lazy(() => import('./pages/CapsAdd'));\nconst CapsShow = lazy(() => import('./pages/CapsShow'));\nconst CapsEdit = lazy(() => import('./pages/CapsEdit'));\nconst CapsMapa = lazy(() => import('./pages/CapsMapa'));\nconst CapsDocs = lazy(() => import('./pages/CapsDocs'));\nconst CapsDocsForm = lazy(() => import('./pages/CapsDocsForm'));\nconst MonitoramentoList = lazy(() => import('./pages/Monitoramento/List'));\nconst MonitoramentoForm = lazy(() => import('./pages/Monitoramento/Form'));\nconst Pesquisa = lazy(() => import('./pages/Pesquisa'));\nconst PesquisaGrafico = lazy(() => import('./pages/PesquisaGrafico'));\nconst PesquisaGraficos = lazy(() => import('./pages/PesquisaGraficos'));\nconst DocValidation = lazy(() => import('./pages/DocValidation'));\nconst Inscricao = lazy(() => import('./pages/Inscricao'));\nconst InscricaoLogin = lazy(() => import('./pages/Inscricao/InscricaoLogin'));\nconst InscricaoCadastro = lazy(() => import('./pages/Inscricao/InscricaoCadastro'));\nconst InscricaoEsqueciSenha = lazy(() => import('./pages/Inscricao/InscricaoEsqueciSenha'));\nconst InscricaoResetarSenha = lazy(() => import('./pages/Inscricao/InscricaoResetarSenha'));\nconst InscricaoAdmin = lazy(() => import('./pages/Inscricao/InscricaoAdmin'));\nconst InscricaoAdminById = lazy(() => import('./pages/Inscricao/InscricaoAdminById'));\nconst InscricaoAdminAddEdital = lazy(() => import('./pages/Inscricao/InscricaoAdminAddEdital'));\nconst InscricaoAdminEditEdital = lazy(() => import('./pages/Inscricao/InscricaoAdminEditEdital'));\nconst InscricaoEsqueciSenhaOk = lazy(() => import('./pages/Inscricao/InscricaoEsqueciSenhaOk'));\nconst Docs = lazy(() => import('./pages/Docs'));\nconst MapaRede = lazy(() => import('./pages/Mapa/Rede'));\nconst MapaCapsAd = lazy(() => import('./pages/Mapa/CapsAd'));\nconst MapaCapsCasaDoLargo = lazy(() => import('./pages/Mapa/CapsCasaDoLargo'));\nconst MapaCapsHerbertDeSouza = lazy(() => import('./pages/Mapa/CapsHerbertDeSouza'));\nconst MapaCapsiMonteiroLobato = lazy(() => import('./pages/Mapa/CapsiMonteiroLobato'));\nconst MapaRaps = lazy(() => import('./pages/Mapa/Raps'));\nconst Bi = lazy(() => import('./pages/Bi'));\nconst AtivsEducativasList = lazy(() => import('./pages/AtivsEducativas/List'));\nconst AtivsEducativasForm = lazy(() => import('./pages/AtivsEducativas/Form'));\nconst GestaoDeLeitos = lazy(() => import('./pages/GestaoDeLeitos'));\nconst GestaoDeLeitosAdmin = lazy(() => import('./pages/GestaoDeLeitosAdmin'));\nconst GestaoDeLeitosRelatorios = lazy(() => import('./pages/GestaoDeLeitosRelatorios'));\nconst Logs = lazy(() => import('./pages/Admin/Logs'));\n\nconst Routes = () => {\n const { login } = useContext(UserContext);\n\n return (\n }>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {login && }\n \n \n \n \n );\n};\n\nexport default Routes;\n","import baseUrl from '../baseUrl';\n\nconst URL_CRIAR_CATEGORIA = `${baseUrl}/doc/categoria`;\n\nconst criarCategoria = async (diretoria, categoria) => {\n try {\n const response = await fetch(`${URL_CRIAR_CATEGORIA}`, {\n method: 'PATCH',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify({\n diretoria,\n categoria\n })\n });\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n return response.json();\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default criarCategoria;\n","import baseUrl from '../baseUrl';\nimport isTokenExpired from '../../helpers/isTokenExpired';\n\nconst URL_GET_CATEGORIAS = `${baseUrl}/doc/categoria`;\n\nconst getCategorias = async () => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(\n URL_GET_CATEGORIAS, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getCategorias;\n","import { useContext, useEffect, useState, useRef } from 'react';\nimport { NavLink, useHistory, useLocation } from 'react-router-dom';\n\nimport {\n Container,\n Form,\n Image,\n Nav,\n Navbar,\n NavDropdown,\n Dropdown,\n DropdownButton,\n Button,\n Modal\n} from 'react-bootstrap';\nimport { ImExit } from 'react-icons/im';\nimport { BsQuestionCircle } from 'react-icons/bs';\n\nimport styles from './Header.module.css';\nimport { UserContext } from '../../context/UserContext';\nimport { decrypt } from '../../helpers/cryptography';\nimport criarCategoria from '../../api/doc/criarCategoria';\nimport getCategorias from '../../api/doc/getCategorias';\n\nconst Header = () => {\n const location = useLocation();\n const navRef = useRef(null);\n const history = useHistory();\n const {\n login,\n userLogout,\n isAdmin,\n isConsulta,\n isCipa,\n isOuvidoriaConsulta,\n isCapsAdmin,\n isCapsSupervisor,\n isCapsOperador,\n isCapsConsulta,\n isMdi,\n isPesquisa,\n isReducaoDeDanos,\n isReducaoConsulta,\n isInscricaoAdmin,\n isDocsDas,\n isDocsDiti,\n isDocsDaf,\n isDocsDtec,\n isDocsDg,\n isVest,\n isCecoAdmin,\n isCecoOperador,\n isAtivAdmin,\n isAtivOperador,\n isAtivConsulta,\n isLeitos\n } = useContext(UserContext);\n\n const [avatar, setAvatar] = useState('');\n const [isInscricao, setIsInscricao] = useState(false);\n const [edital, setEdital] = useState('');\n const [inscricaoToken, setInscricaoToken] = useState(null);\n const [showIpssModal, setShowIpssModal] = useState(false);\n const [showCategoriaModal, setShowCategoriaModal] = useState(false);\n const [diretoria, setDiretoria] = useState('');\n const [categoria, setCategoria] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [categorias, setCategorias] = useState([]);\n const [refreshMessage, setRefreshMessage] = useState('');\n const [showModalRefresh, setShowModalRefresh] = useState(false);\n\n const categoriaRef = useRef(null);\n\n const handleIpssModalClose = () => setShowIpssModal(false);\n const handleCategoriaModalClose = () => setShowCategoriaModal(false);\n const handleModalRefreshClose = () => setShowModalRefresh(false);\n\n useEffect(() => {\n if (location.pathname.split('/').includes('inscricao')) {\n setIsInscricao(true);\n setEdital(location.pathname.split('/')[2]);\n\n const incToken = localStorage.getItem('inscricao_token');\n\n if (incToken) {\n setInscricaoToken(incToken);\n }\n } else {\n setIsInscricao(false);\n setEdital('');\n }\n }, [location, location.pathname]);\n\n const inscricaoLogout = () => {\n localStorage.removeItem('inscricao_token');\n localStorage.removeItem('inscricao');\n\n setInscricaoToken(false);\n\n history.push(`/inscricao/${edital}`);\n };\n\n const logout = () => {\n userLogout();\n\n window.localStorage.removeItem('login');\n window.localStorage.removeItem('token');\n\n handleCollapse();\n\n history.push('/');\n };\n\n const goToHome = () => {\n handleCollapse();\n\n history.push('/');\n };\n\n useEffect(() => {\n if (localStorage.getItem('login')) {\n const user = JSON.parse(localStorage.getItem('login'));\n const name = decrypt(user?.user?.name);\n const names = name.split(' ');\n const initial1 = names[0][0];\n const initial2 = names[names.length - 1][0] || initial1;\n const initials = initial1 + initial2;\n\n setAvatar(initials);\n }\n }, [login]);\n\n // const handleCollapse = () => setIsCollapse(!isCollapse);\n\n const handleCollapse = () => {\n navRef?.current?.classList?.toggle('show');\n };\n\n useEffect(() => {\n const getAllCategorias = async () => {\n const response = await getCategorias();\n\n setCategorias(response);\n };\n\n getAllCategorias();\n }, [refreshMessage]);\n\n const handleNavLinks = {\n caps: {\n cadastroPaciente() {\n history.push('/caps');\n handleCollapse();\n },\n reducaoDanos() {\n history.push('/acoes-territoriais');\n handleCollapse();\n },\n cccn() {\n history.push('/ceco');\n handleCollapse();\n },\n gestaoDeLeitos() {\n history.push('/gestao-leitos');\n handleCollapse();\n },\n },\n documentos: {\n docsLinks(diretoria, categoria) {\n history.push(`/docs/${diretoria}/${categoria}`);\n handleCollapse();\n }\n },\n gestao: {\n mdi() {\n history.push('/monitoramento');\n handleCollapse();\n },\n pesquisa() {\n history.push('/pesquisa-grafico');\n handleCollapse();\n },\n ouvidoria() {\n history.push('/ouvidoria');\n handleCollapse();\n },\n inscricao() {\n history.push('/inscricao-admin');\n handleCollapse();\n },\n cipaa() {\n history.push('/cipa/lista');\n handleCollapse();\n },\n vestuario() {\n history.push('/vestuario');\n handleCollapse();\n },\n atividades() {\n history.push('/atividades-educativas');\n handleCollapse();\n }\n },\n mapaDaRede: {\n rede() {\n history.push('/mapa/rede');\n handleCollapse();\n },\n capsAd() {\n history.push('/mapa/capsad');\n handleCollapse();\n },\n capsCasaDoLargo() {\n history.push('/mapa/capscasadolargo');\n handleCollapse();\n },\n capsHerbertDeSouza() {\n history.push('/mapa/capsherbertdesouza');\n handleCollapse();\n },\n capsiMonteiroLobato() {\n history.push('/mapa/capsimonteirolobato');\n handleCollapse();\n },\n raps() {\n history.push('/mapa/raps');\n handleCollapse();\n },\n dadosAssistenciais() {\n history.push({\n pathname: '/bi',\n state: { biUrl: 'https://app.powerbi.com/view?r=eyJrIjoiZmU0NGE0MTgtZmQyMi00MjU3LWE1MTAtNGJhMjg3NmIzMTM4IiwidCI6IjY3N2U1MjZlLTZhMzAtNGNjMC05MGU3LWMzYWQ0YTk1N2U4NSJ9' }\n });\n handleCollapse();\n }\n },\n user: {\n admin() {\n history.push('/admin');\n handleCollapse();\n },\n manual() {\n history.push({\n pathname: link,\n target: '_blank',\n });\n }\n }\n }\n\n const link = isConsulta ? 'http://189.112.226.76:3000/assets/pdfs/manual-sisged.pdf' : 'http://189.112.226.76:3000/assets/pdfs/manual-sisged.pdf';\n\n const adicionarCategoria = diretoria => {\n setDiretoria(diretoria);\n setShowCategoriaModal(true);\n };\n\n const handleCreateCategory = async e => {\n e.preventDefault();\n setIsLoading(true);\n\n await criarCategoria(diretoria, categoria.trim());\n\n setIsLoading(false);\n setCategoria('');\n setShowCategoriaModal(false);\n setRefreshMessage(`Categoria \"${categoria.trim()}\" criada com sucesso!`);\n setShowModalRefresh(true);\n }\n\n const diretorias = {\n DAS: isDocsDas,\n DITI: isDocsDiti,\n DTEC: isDocsDtec,\n DAF: isDocsDaf,\n DG: isDocsDg\n };\n\n const isDiretoria = diretoria => diretorias[diretoria];\n\n useEffect(() => {\n if (categoriaRef.current) {\n categoriaRef.current.focus();\n }\n }, [showCategoriaModal]);\n\n return (\n \n \n \n \n
\n SisGeD\n \n\n \n\n \n \n\n {login && (\n \n {isAdmin && (\n Admin\n )}\n Manual\n \n Sair\n \n )}\n \n \n\n \n \n Atenção\n \n \n

\n Em caso de dúvidas, favor entrar em contato com o e-mail:\n

\n

cadastro@fesaude.niteroi.rj.gov.br

\n
\n \n \n \n
\n\n \n \n Adicionar categoria em {diretoria}\n \n \n
\n \n *Categoria:\n setCategoria(e.target.value)}\n value={categoria}\n disabled={isLoading}\n ref={categoriaRef}\n />\n \n \n
\n
\n \n \n \n
\n\n \n \n Atenção\n \n \n

{refreshMessage}

\n
\n \n \n \n
\n \n );\n};\n\nexport default Header;\n","import Routes from './routes';\nimport Header from './components/Header';\n\nimport { UserStorage } from './context/UserContext';\n\nconst App = () => {\n return (\n \n
\n \n \n );\n};\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter } from 'react-router-dom';\n\nimport 'bootstrap/dist/css/bootstrap.min.css';\n\nimport App from './App';\nimport './global.css';\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"ResetarSenha_container__3-Tec\",\"logo\":\"ResetarSenha_logo__idHr2\",\"title\":\"ResetarSenha_title__1ypUS\",\"form_container\":\"ResetarSenha_form_container__hmEco\",\"form\":\"ResetarSenha_form__fNCX-\",\"input_container\":\"ResetarSenha_input_container__2MxI0\",\"label_float\":\"ResetarSenha_label_float__1MtPW\",\"input\":\"ResetarSenha_input__wDl94\",\"label\":\"ResetarSenha_label__4ym_i\",\"link\":\"ResetarSenha_link__Mo0TC\",\"button\":\"ResetarSenha_button__2-bGs\",\"error_message\":\"ResetarSenha_error_message__2X6Zp\",\"form_password\":\"ResetarSenha_form_password__1sb2i\",\"eye_container\":\"ResetarSenha_eye_container__3xHBS\",\"eye\":\"ResetarSenha_eye__3fHt4\",\"save_btn\":\"ResetarSenha_save_btn__2U-x5\",\"captcha_container\":\"ResetarSenha_captcha_container__2tgss\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"ValeRefeicao_container__qYwJO\",\"title\":\"ValeRefeicao_title__hdm7r\",\"options\":\"ValeRefeicao_options__314v4\",\"subtitle\":\"ValeRefeicao_subtitle__2LkoT\",\"checkbox\":\"ValeRefeicao_checkbox__2L3Dq\",\"modalWidth\":\"ValeRefeicao_modalWidth__217-r\",\"confirm\":\"ValeRefeicao_confirm__vVT1E\",\"btn\":\"ValeRefeicao_btn__2e2_M\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"EsqueciSenha_container__1J1Jf\",\"logo\":\"EsqueciSenha_logo__gtCs6\",\"title\":\"EsqueciSenha_title__ed7ez\",\"form_container\":\"EsqueciSenha_form_container__22lRX\",\"form\":\"EsqueciSenha_form__ojxXm\",\"input_container\":\"EsqueciSenha_input_container__3-cec\",\"label_float\":\"EsqueciSenha_label_float__2vjIW\",\"input\":\"EsqueciSenha_input__3E-6q\",\"label\":\"EsqueciSenha_label__AaaOk\",\"link\":\"EsqueciSenha_link__3MBZm\",\"button\":\"EsqueciSenha_button__18_D-\",\"error_message\":\"EsqueciSenha_error_message__2Pv6t\",\"btn\":\"EsqueciSenha_btn__2UvEY\",\"captcha_container\":\"EsqueciSenha_captcha_container__33f3U\"};","export const includeLeftZero = number => {\n if (number > 999) {\n return number;\n }\n\n return ('000' + number).substr(-3);\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"LoginSistemas_container__7APHu\",\"title\":\"LoginSistemas_title__20WZ5\",\"options\":\"LoginSistemas_options__1oGZL\",\"subtitle\":\"LoginSistemas_subtitle__DlLVA\",\"checkbox\":\"LoginSistemas_checkbox__1xvQu\",\"file_title\":\"LoginSistemas_file_title__1w39k\",\"file_reset_button\":\"LoginSistemas_file_reset_button__14O_i\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"Cipa_title__21_Xm\",\"cards_container\":\"Cipa_cards_container__3F2r4\",\"card_container\":\"Cipa_card_container__2g-xI\",\"card_header\":\"Cipa_card_header__aUywb\",\"card_img_header\":\"Cipa_card_img_header__3tNPD\",\"card_photo\":\"Cipa_card_photo__2rgUH\",\"card_apuracao\":\"Cipa_card_apuracao__1Om0i\",\"card_body\":\"Cipa_card_body__1rVw5\",\"card_container_nome\":\"Cipa_card_container_nome__neYZf\",\"card_nome\":\"Cipa_card_nome__1fu1U\",\"card_lotacao\":\"Cipa_card_lotacao__3NSr8\",\"save_btn\":\"Cipa_save_btn__2xO2o\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_medicamentos\":\"MedicamentosSaudeMental_container_medicamentos__Kw9EB\",\"icon_container\":\"MedicamentosSaudeMental_icon_container__bPcKQ\",\"icon_trash\":\"MedicamentosSaudeMental_icon_trash__1WrT2\",\"container_buttons\":\"MedicamentosSaudeMental_container_buttons__1mNum\",\"btn\":\"MedicamentosSaudeMental_btn__2ukmG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_medicamentos\":\"MedicamentosAtencaoBasica_container_medicamentos__2sujk\",\"icon_container\":\"MedicamentosAtencaoBasica_icon_container__2wJLB\",\"icon_trash\":\"MedicamentosAtencaoBasica_icon_trash__SJucD\",\"container_buttons\":\"MedicamentosAtencaoBasica_container_buttons__2Rb9s\",\"btn\":\"MedicamentosAtencaoBasica_btn__1hSCP\"};","require('dotenv').config();\n\nconst NODE_ENV = process.env.REACT_APP_NODE_ENV;\n\nlet baseUrl;\n\nif (NODE_ENV === 'DEV') {\n baseUrl = 'http://localhost:3333';\n} else if (NODE_ENV === 'PROD') {\n baseUrl = 'http://189.112.226.76:3333';\n}\n\nexport default baseUrl;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_medicamentos\":\"MateriaisEscritorio_container_medicamentos__23TcP\",\"icon_container\":\"MateriaisEscritorio_icon_container__1i_HE\",\"icon_trash\":\"MateriaisEscritorio_icon_trash__1SGNv\",\"container_buttons\":\"MateriaisEscritorio_container_buttons__2Rph9\",\"btn\":\"MateriaisEscritorio_btn__8rrFQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_medicamentos\":\"MateriaisExpediente_container_medicamentos__2D7kQ\",\"icon_container\":\"MateriaisExpediente_icon_container__1dRyx\",\"icon_trash\":\"MateriaisExpediente_icon_trash__2cchT\",\"container_buttons\":\"MateriaisExpediente_container_buttons__2yqr8\",\"btn\":\"MateriaisExpediente_btn__1BIgU\"};","import {\n useCallback,\n useContext,\n createContext\n} from 'react';\n\nimport { decrypt } from '../helpers/cryptography';\n\nimport { capsDocsService } from '../api/capsDocsService';\n\nconst CapsDocsContext = createContext({});\n\nexport const CapsDocsProvider = ({ children }) => {\n const getAllDocuments = useCallback(async (idUsuario, capsUrl) => {\n try {\n const response = await capsDocsService.getAllDocs(idUsuario, capsUrl);\n \n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const getDocumentById = useCallback(async (id, capsUrl) => {\n try {\n const response = await capsDocsService.getDoc(id, capsUrl);\n \n const decryptedResponse = {\n ...response,\n nomeEmissor: response.nomeEmissor ? decrypt(response.nomeEmissor) : '',\n nomeUsuario: response.nomeUsuario ? decrypt(response.nomeUsuario) : '',\n documento: response.documento ? decrypt(response.documento) : '',\n unidade: response.unidade ? decrypt(response.unidade) : '',\n endereco: response.endereco ? decrypt(response.endereco) : '',\n }\n \n return decryptedResponse;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const updateDocument = useCallback(async (id, data, capsUrl) => {\n try {\n const response = await capsDocsService.update(id, data, capsUrl);\n \n return response;\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const createDocument = useCallback(async (data, capsUrl) => {\n try {\n const response = await capsDocsService.create(data, capsUrl);\n\n if (!response.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const docEmptyValues = {\n idUsuario: '',\n dataEmissao: '',\n tipoDocumento: '',\n nomeEmissor: '',\n status: '',\n nomeUsuario: '',\n documento: '',\n dataAtendimento: '',\n inicioAtendimento: '',\n terminoAtendimento: '',\n finalidade: '',\n unidade: '',\n tempoAtestado: '',\n cid: '',\n endereco: '',\n medicamentoSimples: [],\n medicamentoEspecial: [],\n hash: '',\n }\n\n const capsInfo = {\n capsCasaDoLargo:{\n unidade: 'CAPS Casa do Largo',\n endereco: 'Av. Pres. Roosevelt, 465 - São Francisco, Niterói - RJ',\n telefone: '(21) 97031-4469',\n },\n capsHerbertDeSouza: {\n unidade: 'CAPS Herbert de Souza',\n endereco: 'Rua Clotilde de Oliveira Rodrigues, 42 - Fonseca, Niterói - RJ ',\n telefone: '(21) 97030-5896',\n },\n capsiMonteiroLobato: {\n unidade: 'CAPSi Monteiro Lobato',\n endereco: 'Avenida Almirante Ary Parreiras, 649 - Vital Brasil, Niterói - RJ',\n telefone: '(21) 97026-9151',\n },\n capsAlameda: {\n unidade: 'CAPS AD III Alcenir Veras',\n endereco: 'Rua Dr. Fróes da Cruz, 22 - Centro, Niterói - RJ',\n telefone: '(21) 97023-1678',\n },\n }\n\n return (\n \n {children}\n \n );\n}\n\nexport const useCapsDocs = () => useContext(CapsDocsContext);","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_medicamentos\":\"MateriaisLimpeza_container_medicamentos__2hKfv\",\"icon_container\":\"MateriaisLimpeza_icon_container__1Erab\",\"icon_trash\":\"MateriaisLimpeza_icon_trash__R6kIt\",\"container_buttons\":\"MateriaisLimpeza_container_buttons__2d27P\",\"btn\":\"MateriaisLimpeza_btn__3mRtN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"file_thumb\":\"BriefingThumb_file_thumb__1Ku7o\"};","import baseUrl from './baseUrl';\n\nconst URL_GET_UNIDADES = `${baseUrl}/unit`;\n\nconst getUnidades = async modulo => {\n try {\n const data = await fetch(`${URL_GET_UNIDADES}?modulo=${modulo}`, {\n method: 'GET',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n }\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getUnidades;\n","import baseUrl from './baseUrl';\nimport isTokenExpired from '../helpers/isTokenExpired';\n\nconst URL_GET_CHAMADOS_BY_USER = `${baseUrl}/chamado/user`;\n\nconst getChamadosByUser = async (email, page = 1, limit = 50, filterBy = 'createdAt', orderBy = 'desc' ) => {\n try {\n const token = window.localStorage.getItem('token');\n\n if (token) {\n if (isTokenExpired(token)) {\n window.localStorage.clear();\n window.location.replace('/');\n\n return;\n }\n }\n\n const data = await fetch(URL_GET_CHAMADOS_BY_USER, {\n method: 'POST',\n headers: {\n 'Content-type': 'application/json',\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\n },\n body: JSON.stringify({ email, page, limit, filterBy, orderBy })\n });\n\n if (!data.ok) {\n throw new Error('Ocorreu um erro inesperado');\n }\n\n const response = await data.json();\n\n return response;\n } catch (error) {\n console.log(error);\n }\n};\n\nexport default getChamadosByUser;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"CipaInscricao_container__1EuSC\",\"title\":\"CipaInscricao_title__3nkna\",\"confirm\":\"CipaInscricao_confirm__exdw5\",\"radio\":\"CipaInscricao_radio__2moxT\",\"subtitle\":\"CipaInscricao_subtitle__26xb6\",\"uppercase\":\"CipaInscricao_uppercase___jXEe\",\"sobre\":\"CipaInscricao_sobre__2F83q\",\"edital\":\"CipaInscricao_edital__18UBQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Erp_container__2zBZo\",\"title\":\"Erp_title__3Z6-R\",\"bg_color\":\"Erp_bg_color__1wv87\",\"confirm\":\"Erp_confirm__1pLv5\",\"radio\":\"Erp_radio__3aqbZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"form\":\"Briefing_form__2JJWc\",\"file_title\":\"Briefing_file_title__3oXIf\",\"file_reset_button\":\"Briefing_file_reset_button__3jNaW\"};"],"sourceRoot":""}