{"version":3,"sources":["views/components/react-form-builder/stores/registry.js","views/components/react-form-builder/stores/requests.js","assets/variables/charts.js","views/components/react-form-builder/language-provider/IntlMessages.js","assets/img/logo.png","assets/img/capa.jpg","views/components/react-form-builder/UUID.js","Config.js","views/components/Footers/AdminFooter.js","views/components/Navbars/AdminNavbar.js","views/components/Headers/Header.js","views/pages/Dashboard/index.js","views/components/Headers/HeaderButtonGroup.js","services/api.js","utils/filter.js","utils/UserPermission.js","views/components/ButtonControl/index.js","views/pages/Agenda/AgendaCalendario.js","views/components/Filter/index.js","utils/StatusReserva.js","views/pages/Agenda/AgendaList.js","utils/file.js","views/pages/Agenda/AgendaCheck.js","views/components/Dropzone/index.js","utils/StatusAcesso.js","views/pages/Agenda/AgendaCrud.js","views/pages/Agenda/AgendaDocumento.js","utils/ButtonExport/index.js","views/pages/AgendaConvidados/AgendaConvidados.js","utils/phoneMask.js","views/pages/AgendaConvidados/AgendaConvidadosCrud.js","views/pages/AgendaPrestadoresServico/AgendaPrestadoresServico.js","views/pages/AgendaPrestadoresServico/AgendaPrestadoresServicoCrud.js","views/pages/AgendaBloqueio/AgendaBloqueio.js","views/components/FormButtonAction/index.js","views/pages/AgendaBloqueio/Form/FormFields.js","views/pages/AgendaBloqueio/AgendaBloqueioCrud.js","views/pages/Agenda/UltimasReservas.js","views/pages/Ambientes/Form/InformacoesGerais/index.js","views/pages/Ambientes/Form/Financeiro/index.js","views/pages/Ambientes/Form/Termos/index.js","views/pages/Ambientes/Form/FormFields.js","utils/find.js","views/pages/Ambientes/AmbienteCrud.js","views/pages/Ambientes/Ambientes.js","views/pages/AmbienteSetores/Setores.js","views/pages/AmbienteSetores/SetorNovo.js","utils/StatusAssociado.js","utils/cpfMask.js","utils/cnpjMask.js","views/pages/Associados/Associados.js","views/components/WebcamCapture.js","utils/AvatarEditor.js","views/pages/Associados/Form/CarteirinhaExameMedico/index.js","utils/estados.js","views/pages/Associados/Form/Enderecos/index.js","views/pages/Associados/Form/OutrasInformacoes/index.js","views/pages/Associados/Form/InformacoesGerais/Modal/Email.js","views/pages/Associados/Form/InformacoesGerais/index.js","views/pages/Associados/Form/Telefones/index.js","views/pages/Associados/Form/FormFields.js","utils/Validations/index.js","views/pages/Associados/AssociadoCrud.js","views/pages/Associados/Dependentes.js","utils/StatusPagamento.js","views/pages/Associados/HistoricoFinanceiro.js","views/pages/Associados/HistoricoReservas.js","views/pages/AssociadoCarteirinhas/index.js","views/pages/Associados/AssociadoPerfil.js","utils/estadoCivil.js","views/pages/Associados/Certificados.js","views/pages/Categoria/Categoria.js","views/pages/Categoria/CategoriaLista.js","views/pages/Compras/Compras.js","views/pages/Compras/Form/FormFields.js","views/pages/Compras/CompraCrud.js","views/pages/Comunicados/Comunicados.js","utils/req.js","views/pages/Comunicados/Form/FormFields.js","views/pages/Comunicados/ComunicadoCrud.js","views/pages/ControleAcesso/controleAcessos.js","views/pages/ControleAcesso/Form/FormFields.js","views/pages/ControleAcesso/controleAcessoCrud.js","views/pages/DeliberacaoDiretoria/DeliberacaoDiretoria.js","views/pages/DeliberacaoDiretoria/Form/FormFields.js","views/pages/DeliberacaoDiretoria/DeliberacaoDiretoriaCrud.js","views/pages/Documentos/Documentos.js","views/pages/Documentos/Form/FormFields.js","views/pages/Documentos/DocumentosCrud.js","utils/Text/Mask/index.js","utils/updateUrlParams.js","views/pages/Financeiro/List/index.js","views/pages/Financeiro/CRUD/Form/index.js","views/pages/Financeiro/CRUD/index.js","views/pages/FinanceiroRecorrencia/List/index.js","views/pages/FinanceiroRecorrencia/CRUD/Form/index.js","views/pages/FinanceiroRecorrencia/CRUD/index.js","views/pages/FinanceiroCategoria/List/index.js","views/pages/FinanceiroCategoria/CRUD/index.js","views/pages/FinanceiroConta/List/index.js","views/pages/FinanceiroConta/CRUD/index.js","views/pages/FinanceiroDashboad/index.js","views/pages/FinanceiroDepartamento/List/index.js","views/pages/FinanceiroDepartamento/CRUD/index.js","views/pages/Fornecedores/Fornecedores.js","views/pages/Fornecedores/Form/FormFields.js","views/pages/Fornecedores/FornecedorCrud.js","views/pages/ManutencaoCategorias/Categorias.js","views/pages/ManutencaoCategorias/CategoriaNovo.js","views/pages/ManutencaoOcorrencias/Ocorrencias.js","views/pages/ManutencaoOcorrencias/OcorrenciaNovo.js","views/pages/ManutencaoTipos/Tipos.js","views/pages/ManutencaoTipos/TipoNovo.js","views/pages/Manutencoes/Manutencoes.js","views/pages/Manutencoes/ManutencaoNovo.js","views/pages/FaleConosco/FaleConosco.js","views/pages/FaleConosco/Form/FormFields.js","views/pages/FaleConosco/FaleConoscoCrud.js","views/pages/FaleConosco/TimeLine/index.js","views/pages/FaleConosco/FaleConoscoView.js","views/pages/Pdf/Pdfs.js","views/pages/Pdf/Form/FormFields.js","views/pages/Pdf/PdfCrud.js","views/pages/TipoAberturas/tipoAberturas.js","views/pages/TipoAberturas/Form/FormFields.js","views/pages/TipoAberturas/tipoAberturaCrud.js","views/pages/Usuarios/Usuarios.js","views/pages/Usuarios/Form/FormFields.js","views/pages/Usuarios/UsuarioCrud.js","views/pages/Veiculos/Veiculos.js","views/pages/Veiculos/Form/FormFields.js","views/pages/Veiculos/VeiculoCrud.js","views/pages/Visitantes/Visitantes.js","views/pages/Visitantes/Form/FormFields.js","views/pages/Visitantes/VisitanteCrud.js","views/pages/Zonas/zonas.js","views/pages/Zonas/Form/FormFields.js","views/pages/Zonas/zonaCrud.js","views/pages/Inscricoes/Inscricoes.js","views/components/react-form-builder/stores/store.js","views/components/react-form-builder/form-dynamic-edit.jsx","views/components/react-form-builder/ItemTypes.js","views/components/react-form-builder/sortable-element.jsx","views/components/react-form-builder/form-place-holder.jsx","views/components/react-form-builder/form-elements/star-rating.jsx","views/components/react-form-builder/form-elements/component-drag-handle.jsx","views/components/react-form-builder/form-elements/header-bar.jsx","views/components/react-form-builder/form-elements/component-header.jsx","views/components/react-form-builder/form-elements/myxss.js","views/components/react-form-builder/form-elements/component-label.jsx","views/components/react-form-builder/form-elements/date-picker.jsx","views/components/react-form-builder/form-elements/index.jsx","views/components/react-form-builder/form-elements/custom-element.jsx","views/components/react-form-builder/multi-column/dustbin.jsx","views/components/react-form-builder/multi-column/MultiColumnRow.jsx","views/components/react-form-builder/sortable-form-elements.jsx","views/components/react-form-builder/form-elements/component-drag-preview.jsx","views/components/react-form-builder/form-elements/component-drag-layer.jsx","views/components/react-form-builder/preview.jsx","views/components/react-form-builder/toolbar-draggable-item.jsx","views/components/react-form-builder/toolbar-group-item.jsx","views/components/react-form-builder/toolbar.jsx","views/components/react-form-builder/functions/index.js","views/components/react-form-builder/form-validator.jsx","views/components/react-form-builder/form.jsx","views/components/react-form-builder/language-provider/index.js","views/components/react-form-builder/language-provider/entries/en-us.js","views/components/react-form-builder/language-provider/entries/vi-vn.js","views/components/react-form-builder/index.jsx","views/pages/Inscricoes/Form/Preview.js","views/pages/Inscricoes/Form/FormFields.js","views/pages/Inscricoes/InscricaoCrud.js","utils/StatusInscricao.js","views/pages/InscricoesInscritos/InscricoesInscritos.js","views/pages/FinanceiroAcordo/List/index.js","views/pages/FinanceiroAcordo/CRUD/Form/index.js","views/pages/FinanceiroAcordo/CRUD/index.js","views/pages/Perfis/Perfis.js","views/pages/Perfis/Form/FormFields.js","views/pages/Perfis/PerfisCrud.js","routes.js","views/components/Sidebar/Sidebar.js","views/layouts/Admin.js","views/components/Footers/AuthFooter.js","views/pages/Login/index.js","views/layouts/Auth.js","utils/cepMask.js","views/pages/Inscricoes/FazerInscricao.js","views/pages/Visitantes/CadastroVisitante.js","views/pages/PoliticaDePrivacidade/index.js","index.js"],"names":["module","exports","registry","self","register","name","entry","Error","undefined","list","Object","keys","get","hasOwnProperty","console","error","regg","headers","Accept","OPTIONS","post","url","data","fetch","method","body","JSON","stringify","then","response","json","Chart","require","elements","Rectangle","prototype","draw","left","right","top","bottom","signX","signY","borderSkipped","ctx","this","_chart","vm","_view","borderWidth","horizontal","base","x","y","height","width","barSize","Math","min","abs","halfStroke","borderLeft","borderRight","borderTop","borderBottom","beginPath","fillStyle","backgroundColor","strokeStyle","borderColor","lineWidth","corners","startCorner","indexOf","cornerAt","index","corner","moveTo","i","nextCornerId","radius","lineTo","quadraticCurveTo","fill","stroke","fonts","colors","default","primary","secondary","info","success","danger","warning","chartExample1","options","scales","yAxes","gridLines","color","zeroLineColor","ticks","callback","value","tooltips","callbacks","label","item","datasets","datasetIndex","yLabel","content","length","data1","canvas","labels","data2","chartOptions","defaults","global","responsive","maintainAspectRatio","defaultColor","defaultFontColor","defaultFontFamily","defaultFontSize","layout","padding","legend","display","position","usePointStyle","point","line","tension","borderCapStyle","rectangle","arc","enabled","mode","intersect","doughnut","cutoutPercentage","legendCallback","chart","forEach","bgColor","scaleService","updateScaleDefaults","borderDash","borderDashOffset","drawBorder","drawTicks","zeroLineWidth","zeroLineBorderDash","zeroLineBorderDashOffset","beginAtZero","drawOnChartArea","parseOptions","parent","chartExample2","maxBarThickness","injectIntl","props","_jsx","FormattedMessage","withRef","CHARS","split","ID","len","radix","r","chars","uuid","random","join","Array","rnd","replace","c","toString","Config","_HOST","process","_USER","_TOKEN","_USERKEY_CONTACT","FOTO_CAPA","ANEXO","getToken","window","localStorage","getItem","parse","getUser","existIn","key","values","single","ICON","TranslaterDayOfMonth","day","parsePercentual","total","temp","push","createFilter","chave","compart","dataComplete","trim","conten","toLowerCase","match","b64toBlob","dataURI","byteString","atob","ab","ArrayBuffer","ia","Uint8Array","charCodeAt","Blob","type","currencyConfig","locale","formats","number","BRL","style","currency","minimumFractionDigits","maximumFractionDigits","onChangeCheckbox","campo","that","checked","checkAll","state","map","uk","setState","some","filter","Footer","Component","render","className","background","children","Row","Col","xl","_jsxs","Date","getFullYear","AdminNavbar","React","constructor","arguments","_name","_src","componentDidMount","user","removeItem","history","_Fragment","Navbar","expand","id","Container","fluid","Nav","navbar","UncontrolledDropdown","nav","DropdownToggle","Media","alt","src","DropdownMenu","DropdownItem","to","tag","Link","divider","href","onClick","e","preventDefault","Header","apagar","areceber","associados","dependentes","findAll","loading","catch","_session","_uk","_ukFunc","_func","lg","Card","CardBody","CardTitle","fontSize","numeral","format","marginLeft","componentRender","delimiters","thousands","decimal","symbol","fontColor","Dashboard","activeNav","chartExample1Data","chartAtendimentos","parseMonth","size","moment","date","parseData","valor","bubble","hoverBackgroundColor","CardHeader","Bar","Pie","redraw","HeaderButtonGroup","super","nome","minHeight","backgroundImage","backgroundSize","backgroundPosition","md","avatar","titulo","subTitulo","component","withRouter","api","axios","create","baseURL","interceptors","request","use","config","token","Authorization","synchronous","jsonToUrlFilter","object","isArray","encodeURIComponent","KeyChild","KeyChildChild","compareChildren","mainPathChildren","urlPathChildren","total_comparison","mainVariable","urlVariable","startsWith","test","isNaN","checkVariable","hasPermission","urlPath","permissaoWeb","profile","AuthorizedPathArray","rota","location","reload","comparison","authorizedPath","ButtonControl","has_permission","forceShowChild","MonthEvents","arr","dtInicio","year","month","ReactTooltip","place","effect","bloqueio","observacao","margin","responsavel","rel","ambiente","corFundo","corTexto","opacity","status","boxShadow","dataCadastro","parseInt","duration","diff","asHours","MonthDays","first","weekF","subtract","weekday","dayF","cls","isBefore","isAfter","clone","isSame","AgendaCalendario","_this","dataBloqueio","dataAmbiente","requests","findAmbiente","async","filterData","dt_inicio_like","_limit","_order","_sort","data_inicio_like","ambientes","responseBloqueio","data_inicio","data_fim","find","itemBloqueio","isBloqueado","domingo","segunda","terca","quarta","quinta","sexta","sabado","uuidv4","descricao","add","responseData","itemReserva","changeDate","newMonth","monthOld","setTimeout","next","prev","today","m","ButtonGroup","paddingBottom","FormGroup","FormControl","variant","Select","onChange","target","defaultValue","disabled","MenuItem","Button","paddingTop","BoxLoading","inset","weekdays","Filter","collapse","toggle","isOpened","handleLimpar","handlePesquisar","appendButton","cursor","Collapse","toggler","isOpen","getStatusReserva","AgendaList","loadingMore","_page","user_dispositivo","endOf","findReservas","removeData","name_like","findAmbientes","loadMore","renderContent","total_pages","Table","scope","userDispositivo","total_data","float","alignItems","multiple","Input","placeholder","toUpperCase","autoComplete","withSnackbar","handleDeleteFile","filesRemovidos","deleteFile","file","delete","mensagem","handleUploadArrayFile","owner","files","sendData","FormData","append","agendaCheck","statusCheckIn","statusCheckOut","checkIn","checkOut","sigPad","findBy","enqueueSnackbar","isEmpty","listaConvidados","financeiroContasEntity","parcelamentos","assinatura","toDataURL","agendaData","params","dataSend","sendFile","dataB64","handleUploadfile","clear","checkOutBy","checkInBy","xs","Form","htmlFor","isValid","ReactSignatureCanvas","canvasProps","ref","marginTop","borderRadius","marginRight","confirmAlert","title","message","buttons","Dropzone","onDrop","handleChange","_","concat","assign","preview","URL","createObjectURL","dtCriacao","getIconFile","extension","handleRemove","Swal","fire","text","icon","showCancelButton","confirmButtonColor","cancelButtonColor","confirmButtonText","cancelButtonText","result","isConfirmed","InputDropzone","accept","acceptedFiles","maxFiles","_ref","getRootProps","getInputProps","sm","getAccessWithStatus","acesso","access","hasAccessWithStatus","statusAcesso","agendaCrud","dataResponsavelFinanceiro","dataResponsavel","numeroParcelas","autorizado","emitir_boleto","gerarBoletoLoading","emitirBoletoVia","findAllResponsavel","responseFiles","findAllAmbiente","searchAssociado","search","status_acesso","loadClientes","response2","response3","handleChangeDropzone","handleGerarBoleto","parcelaId","dataUser","dtInicioHorario","dtFim","valorAluguel","put","border","parcelamentosTmp","parcela","valorPagamento","valorAluguelAssociado","dtVencimento","businessAdd","listaItens","Autocomplete","getOptionLabel","option","numeroTitulo","cpfOrcnpj","newValue","onInputChange","inputMode","loadingCliente","renderOption","renderInput","TextField","InputProps","endAdornment","Fragment","CircularProgress","IntlCurrencyInput","event","renderTotalParcelamentoEdit","renderTotalParcelamento","sort","a","b","recorrencia","tipoPagamento","onBlur","paddingLeft","textAlign","linkBoleto","agendaDocumento","listaPrestadoresServico","receitaDespesa","usuario","termoReserva","ultimaParcela","capacidadePessoas","List","ListItem","ListItemText","secondaryTypographyProps","whiteSpace","ButtonExport","types","pdf","mimeType","buttonText","excel","handleExport","notification","responseType","blob","document","createElement","appendChild","download","click","revokeObjectURL","AgendaConvidados","responseListaConvidados","table_header","listaTelefone","telefone","export","head","template","documento_agenda_entity","exportData","dtCadastro","phoneMask","valueReplace","slice","AgendaConvidadosCrud","dresponsavel","ccaixa","caixa","ccategoria","categoria","ukConvidado","session","rows","AgendaPrestadoresServico","responseListaPrestadoresServico","nome_entregador","nome_empresa","ROUTE_API","AgendaPrestadoresServicoCrud","findDocumentoAgenda","AgendaBloqueio","dataUpdated","row","Badge","FormButtonAction","isEdit","isDisabled","cancel","FormFields","diasSemana","dataAmbientes","HISTORY_BACK","AgendaBloqueioCrud","UltimasReservas","numero_titulo","InformacoesGerais","ativo","permitirLocacao","permitirLocacaoApp","permitirAluguelSimultaneo","Financeiro","caixas","categorias","codigo","Termos","pdfs","findCategorias","AmbienteCrud","log","findAllCaixa","responsePdf","findAllPdfs","Ambiente","AmbienteSetores","AmbienteSetorNovo","ambienteuk","tempState","getStatusAssociado","getCorStatusAssociado","cpfMask","cnpjMask","Associados","isNaoSocio","pathname","findAllCategoria","updateDependentes","associadoUk","reponseSocio","findAssociados","filterTmp","cpf_orcnpj_like","depententes","socio","associado_uk","responseDependente","teste","orientacao","Avatar","listaCarteirinhas","validadeExame","videoConstraints","facingMode","WebcamCapture","webcamRef","Webcam","audio","screenshotFormat","getScreenshot","cancelar","PhotoEditor","foto","zoom","rotate","getImage","image","editor","getImageScaledToCanvas","setEditorRef","flexDirection","AvatarEditor","scale","parseFloat","transform","max","step","dropped","justifyContent","handleSave","CarteirinhaExameMedico","addCarteirinha","carteirinha_value","numero","estados","sigla","Enderecos","handleFindAddress","cep","listaEnderecos","estado","uf","cidade","localidade","logradouro","bairro","addEndereco","handleChangeTipoEndereco","removeEndereco","principal","tipo","complemento","OutrasInformacoes","isDependente","_dtAssociacao","statusAcessoAtual","categoriaComplete","observacoes","ModalEmail","modal","Modal","ModalHeader","close","ModalBody","ModalFooter","searchVeiculo","loadSelect","dataVeiculos","InputGroup","email","senha","_dtNascimento","sexo","estadoCivil","rg","orgaoExpedidor","_dtExpedicao","placa","veiculo","Telefones","addTelefone","removeTelefone","handleInputChangeTelefone","handleInputChangeTelefoneTipo","isValidCPF","cpf","resto","soma","substring","isValidCNPJ","cnpj","tamanho","numeros","digitos","pos","charAt","resultado","AssociadoCrud","emails","telefones","enderecos","associadoStatus","ukAssociado","enderecoToState","tempListaEmails","String","saveUser","usuarioDesligar","responseUserUpdate","unidadeSuperlogica","responseKhronos","responseSuperlogica","responseUser","onlySaveImage","userEntity","endereco","targetIndex","makeFile","Rodal","measure","visible","onClose","customStyles","flexWrap","makeWebCam","photo","Avatars","KEYS_TO_FILTERS","Dependentes","searchUpdated","searchTerm","DescricaoStatusPagamento","HistoricoFinanceiro","fornecedores","cliente","fornecedor","startOf","financeiro_contas_entity","findContas","tmpFilter","findFornecedores","defaultFilter","ct","vlTotal","valorPagamentoRecebido","dtRecebimento","dtCreditoConta","toFixed","reduce","current","inputValue","newInputValue","HistoricoReservas","isoWeekday","AssociadoCarteirinhas","dataTemp","AssociadoPerfil","findEvents","eventosLoad","eventos","Timeline","align","TimelineItem","TimelineOppositeContent","Typography","dtEvent","TimelineSeparator","TimelineDot","TimelineConnector","TimelineContent","ArrowUpwardIcon","open","Certificados","tituloPatrimonial","fichaSocio","cpf_cnpj","estado_civil","data_emissao","data_nascimento","dtNascimento","data_associacao","dtAssociacao","Categoria","responsavelFinanceiro","dresponsavelFinanceiro","findAllResponsavelFinanceiro","regraAcesso","contaComoAssociado","habilitarCategoriaCadastroPublico","CategoriaLista","Compras","quantidade","preco","dataCompra","searchFornecedor","dataFornecedores","handleChangeValorTotal","condicaoPagamento","CompraCrud","dataUsers","relator","envolvidos","maskedValue","Comunicados","totalData","req","dataPublicacao","textoBotao","linkBotao","ComunicadoNovo","controleAcesso","visitante","tipoAbertura","zona","placaVeiculo","dataHora","searchUsuario","dataUsuario","dataFornecedor","loadFornecedor","searchVisitante","dataVisitante","loadVisitante","dataTipoAbertura","dataZona","tipoBusca","loadUsuario","loadUsuário","controleAcessoCrud","Usuario","associado","DeliberacaoDiretoria","tipoReuniao","tipoOrgao","DeliberacaoDiretoriaCrud","Documentos","err","styles","valueContainer","provided","DocumentosCrud","findAllDocumentoCategorias","isNumeric","n","isFinite","addMaskMoney","Intl","NumberFormat","updateUrlParams","newParams","searchParams","URLSearchParams","entries","set","newUrl","pushState","FinanceiroList","total_valor_pagamento","total_valor_pago","total_valor_multa_juros","emitir_boleto_via","getValorTotal","_filter$financeiro_co","hasCat","filterTemp","responseTotal","getContas","_filter$financeiro_co2","codigo_like","associadoId","associadoSelected","replaceState","handleAlterarStatus","customUI","uks","tipoConta","urlParams","fromEntries","Number","agrupamento","Set","itens","WaveLoading","renderTotalParcelamentoItem","changeStatus","changeData","showInfo","handleChangeParcelas","cnpjCpf","todosClientes","enviaParaProprietario","for","enviaParaRemido","enviaParaBenemerito","loadAssociado","clientes","maxLength","departamento","departamentos","contas","agruparCobrancaMensal","paddingRight","tipoPagamentos","dataPrimeiraParcela","desconto","multa","juros","FinanceiroCRUD","dtnfe","cx","dp","findAllDepartamento","findTipoPagamentos","_ref2","menorParcela","totalParcelas","tipo_busca","todos_clientes","envia_para_proprietario","envia_para_remido","envia_para_benemerito","tipo_pagamento","usuarios","conta","data_primeira_parcela","valorParcela","parcelas","valor_total","valorResto","socioUk","FinanceiroRecorrenciaList","deleted","tipo_pagamentos","FinanceiroRecorrenciaCRUD","findContaRecorrencia","FinanceiroCategoriaList","renderContentIten","FinanceiroCategoriaCRUD","geraInadimplencia","check","Label","marginBottom","FinanceiroDepartamentoList","FinanceiroContaCRUD","dtValorInicial","valorInicial","ukCaixa","banco","agencia","pix","FinanceiroDashboad","contasPagar","contasReceber","loadingContasPagar","loadingContasReceber","fontWeight","Divider","FinanceiroDepartamentoCRUD","Fornecedores","handleBuscaFornecedorSuperlogica","whatsapp","formaPagamentoPreferencial","chavePix","FornecedorNovo","Categorias","ManutencaoCategoriaNovo","ManutencaoOcorrencias","filterState","onChangeFilter","setor","manutencao","dt_inicio","ManutencaoOcorrenciaNovo","manutencoes","setores","responsaveis","dt_termino","onChangeAmbiente","findSetoresAmbiente","searchUser","field","intervalo","tipo_intervalo","contrato","ManutencaoTipos","ManutencaoTipoNovo","Manutencoes","modo","ManutencaoNovo","tipos","FaleConosco","dataTipos","dataStatus","findOcorrenciaTipo","findOcorrenciaStatus","FaleConoscoCrud","TimeLine","respostas","msgTitulo","msgEmpty","FaleConoscoView","compararPorData","handleResponder","ocorrencia","handleFinalizar","Pdfs","orientacaoPagina","Editor","apiKey","onEditorChange","init","selector","language","menubar","plugins","toolbar","fontsize_formats","PdfCrud","tipoAberturas","tipoAberturaCrud","Usuarios","id_not_in","dataProfile","UsuarioCrud","Veiculos","cor","marca","modelo","ano","VeiculoCrud","Visitantes","nome_like","cpf_like","data_entrada","cancelado","responseHistorico","aprovar","handleAprovar","loadingFull","autorizado_by","handleShowHistorico","showModalHistorico","modalBody","modalHistorico","data_cadastro","UncontrolledTooltip","placement","VisitanteCrud","Zonas","ZonaCrud","Inscricoes","incricaoIsStart","isSameOrAfter","incricaoIsEnd","isAtivo","mensalidade","origin","_saveUrl","_onPost","_onLoad","store","Store","actions","setData","context","saveData","commit","save","load","loadUrl","saveUrl","saveAlways","saveA","element","splice","updateOrder","newData","parentId","task_data","mutations","payload","setSaveAlways","initialState","setExternalHandler","onLoad","onPost","FormElementsEditor","dynamic","setDynamic","useState","useEffect","loadDynamic","cardSource","beginDrag","itemType","ItemTypes","cardTarget","drop","monitor","hoverIndex","dragIndex","isContainer","setAsChild","insertCard","hover","_props$data","_item$data","onCreate","hoverBoundingRect","findDOMNode","getBoundingClientRect","hoverMiddleY","hoverClientY","getClientOffset","moveCard","ComposedComponent","isDragging","connectDragPreview","connectDropTarget","defaultProps","seq","DropTarget","connect","dropTarget","DragSource","connectDragSource","dragSource","dragPreview","PlaceHolder","intl","placeHolderClass","show","placeHolder","formatMessage","StarRating","ratingAmount","ratingVal","rating","ratingCache","getStarRatingPosition","editing","stars","glyph","getStars","numRating","root","ReactDOM","rootNode","ratingContainer","node","componentWillUnmount","getPosition","pageX","applyPrecision","val","precision","getDecimalPlaces","num","getWidthFromValue","getValueFromPosition","maxWidth","offsetWidth","factor","ceil","calculate","getRatingEvent","getSvg","viewBox","version","xmlns","points","handleMouseLeave","handleMouseMove","ratingEvent","updateRating","shouldComponentUpdate","nextProps","nextState","handleClick","stopPropagation","caption","onRatingClick","treatName","classes","starRating","onMouseMove","bind","onMouseLeave","readOnly","dragHandleSource","onDestroy","getDataById","parentIndex","col","DragHandle","PureComponent","getEmptyImage","captureDraggingState","HeaderBar","editModeOn","ComponentHeader","mutable","pageBreakBefore","_onDestroy","onEdit","static","required","myxss","xss","FilterXSS","whiteList","u","br","ol","ul","li","p","sub","sup","div","em","strong","span","ins","ComponentLabel","hasRequiredLabel","read_only","labelText","dangerouslySetInnerHTML","__html","registerLocale","ptBR","DatePicker","dt","formatMask","formattedDate","internalValue","inputField","createRef","updateFormat","updateDateTime","oldFormatMask","showTimeSelect","showTimeSelectOnly","showTimeInput","dateFormat","timeFormat","updated","defaultToday","getDerivedStateFromProps","field_name","placeholderText","baseClasses","ReactDatePicker","selected","todayButton","isClearable","portalId","customInput","MaskedTextInput","mask","guide","FormElements","classNames","bold","italic","Paragraph","LineBreak","TextInput","EmailInput","PhoneNumber","phone","NumberInput","TextArea","Dropdown","this_key","Signature","canClear","pad_props","sourceDataURL","SignaturePad","Tags","getDefaultValue","vals","Checkboxes","inline","defaultChecked","RadioButtons","Image","center","Rating","HyperLink","Download","download_path","file_path","Camera","displayImage","img","previewImg","clearImage","getImageSizeProps","imgProps","innerWidth","imageStyle","objectFit","objectPosition","fileInputStyle","capture","FileUpload","displayFileUpload","fileUpload","clearFileUpload","saveFile","sourceUrl","dispositionHeader","resBlob","fileType","fileName","saveAs","lastIndexOf","Range","changeValue","default_value","min_value","max_value","change","datalist","oneBig","_datalist","d","idx","visible_marks","option_props","w","min_label","max_label","ReactBootstrapSlider","CustomElement","bare","forwardRef","Element","getElement","custom","Registry","_createElement","getCustomElement","getStyle","minWidth","Dustbin","draggedItem","canDrop","isOver","isOverCurrent","items","rest","useImperativeHandle","sameCard","accepts","isBusy","shallow","MultiColumnRowBase","controls","removeChild","childItems","TwoColumnRow","class_name","ThreeColumnRow","MultiColumnRow","_ref3","colCount","col_count","from","v","BaseFormElements","SortableElement","boxStyles","WebkitTransform","Box","BoxDragPreview","tickTock","previewText","role","layerStyles","pointerEvents","zIndex","getItemStyles","initialOffset","currentOffset","DragLayer","getItemType","getInitialSourceClientOffset","getSourceClientOffset","SortableFormElements","Preview","answer_data","editModeOff","editForm","contains","manualEditModeOff","editElement","dirty","updateElement","_onUpdate","_onChange","subscribe","dispatch","addEventListener","removeEventListener","_setValue","found","variables","variableKey","child","swapChildren","oldId","oldItem","oldCol","oldParent","toRemove","restoreCard","newIndex","dragCard","cardPlaceHolder","update","$splice","SortableFormElement","isDraggable","sortData","showEditForm","handleUpdateElement","formElementEditProps","showCorrectColumn","renderEditForm","editMode","CustomDragLayer","FormElementsEdit","ToolbarItem","ToolbarGroupItem","group","renderItem","setShow","classShow","buildGroupItems","allItems","group_name","gItems","grouped","keyGetter","Map","collection","groupBy","groupKeys","Toolbar","_onClick","defaultItems","inherited","buildItems","_defaultItems","_defaultItemOptions","canHaveAnswer","canDefaultToday","canReadOnly","_href","elementOptions","showDescription","custom_options","canHavePageBreakBefore","canHaveAlternateForm","canHaveDisplayHorizontal","canHaveOptionCorrect","canHaveOptionValue","canPopulateFromApi","k","FormValidator","errors","subscription","emitter","addListener","remove","dismissModal","IntlMessages","ReactForm","inputs","handleRenderSubmit","actionName","action_name","submitButton","button_color","button_text_color","handleRenderBack","backName","back_name","backButton","back_action","textDecoration","answerData","_convert","EventEmitter","answers","_getDefaultValue","_optionsDefaultValue","_getItemValue","$item","_isIncorrect","incorrect","$option","correct","_isInvalid","invalid","checked_options","_collect","itemData","custom_name","_collectFormData","formData","item_data","_getSignatureImg","$canvas_sig","base64","$input_sig","handleSubmit","skip_validations","validateForm","emit","onSubmit","form","submit","data_items","display_short","alternateForm","emailValue","validateEmail","phoneValue","validateForCorrectness","getInputElement","getContainerElement","getSimpleElement","inputProps","encType","action","form_action","form_method","authenticity_token","task_id","hide_actions","AppLocale","en","messages","vi","ReactFormBuilder","toolbarProps","show_description","currentAppLocale","toolbarItems","DndProvider","backend","HTML5Backend","IntlProvider","customItems","customToolbarItems","ReactFormGenerator","FormGenerator","FormBuilders","ElementStore","previewVisible","showPreview","closePreview","modalClass","activeTab","tab","tabs","NavItem","NavLink","taxa_inscricao","TabContent","TabPane","tabId","requer_aprovacao","hibilitado_para_socio","hibilitado_para_nao_socio","cor_primaria","cor_contraste","taxa_inscricao_descricao","taxa_inscricao_categoria","taxa_inscricao_departamento","taxa_inscricao_conta","taxa_inscricao_valor","taxa_inscricao_valor_nao_socio","taxa_inscricao_multa","taxa_inscricao_juros","mensalidade_descricao","mensalidade_categoria","mensalidade_departamento","mensalidade_conta","mensalidade_valor","mensalidade_valor_nao_socio","mensalidade_multa","mensalidade_juros","InscricaoCrud","DescricaoStatusInscricao","InscricoesInscritos","filtrar_data","inscricao","stateFilterLimpar","getInscricao","getInscritos","findInscritos","closeOnEscape","closeOnClickOutside","tipo_socio","aprovado_by","aprovado_at","handleCancelar","cancelado_by","cancelado_at","maisInformacoes","ListGroup","ListGroupItem","data_primeira_mensalidade","financeiro_taxa_inscricao","class","FinanceiroAcordoList","parcelasPagas","valorPago","financeiro","data_acordo","handleChangeParcelasAcordo","searchUsuarios","getParcelaAtraso","valorTotal","multaTotal","jurosTotal","valorTotalParcela","parcelas_acordo","accumulator","loadUsuarios","parcelas_pendentes","parcelas_origem","qtdDiasAtraso","data_acordo_realizado","colSpan","vencimento_primeira_parcela","entrada","numero_parcelas","borderless","Alert","FinanceiroAcordoCRUD","findAcordos","findAllConta","responseContaPrincipal","count_parcelas","valorTotalDevido","Perfis","handleChecked","handleChangePermissaoWeb","handleSelectAll","handleUnselectAll","autofocus","routes","route","UncontrolledCollapse","defaultClosed","path","UncontrolledPopover","trigger","PopoverBody","propAction","PerfisCrud","findProfileRotas","dataRota","rotas","filterRota","Page","exact","inMenu","isConfig","Sidebar","collapseOpen","toggleCollapse","closeCollapse","activeRoute","routeName","logo","navbarBrandProps","innerLink","outterLink","NavbarBrand","imgAlt","header","imgSrc","activeclassname","Routes","prop","Route","AdminLayout","getBrandText","setItem","componentDidUpdate","documentElement","scrollTop","scrollingElement","brandText","Switch","Redirect","AdminFooter","Login","recuperar_senha","handleLogin","handleRedefinirSenha","enviado","changeRecuperarSenha","InputGroupAddon","addonType","InputGroupText","AuthLayout","classList","preserveAspectRatio","AuthFooter","SOCIO_PROPRIETARIO","SOCIO_DEPENDENTE","NAO_SOCIO","FazerInscricao","showFinalizado","showInscricaoRealizada","showEnviadoComSucesso","showEnviadoComErro","showCpfRestrito","showTituloRestrito","dependente","nome_titular","nome_inscrito","hasTitulo","dataForm","menor_18anos","nome_responsavel","handleFindUser","dependenteId","hasInscricao","desativa_socio_proprietario","handleFindNaoSocio","in_database","changeTipoSocio","changemenor_18anos","validatePhone","RegExp","block","cpfValido","cepMask","CadastroVisitante","showLimiteExcedido","showGeradoComSucesso","showGeradoComErro","novoVisitante","handleFindVisitante","visitas_pendente","showJaGerado","visitas_mensal","PoliticaDePrivacidade","fetchIntercept","authHeaderBucket","authHeader","requestError","Promise","reject","responseError","PrivateRoute","cookies","AuthRoute","SnackbarProvider","anchorOrigin","vertical","BrowserRouter","getElementById"],"mappings":";6GAgDAA,EAAOC,QA/CP,WACE,MAAMC,EAAW,CAAC,EAEZC,EAAO,CACXC,SAUF,SAAkBC,EAAMC,GACtB,IAAKD,EACH,MAAM,IAAIE,MAAM,iDAGlB,QAAuBC,IAAnBN,EAASG,GACX,MAAM,IAAIE,MAAM,IAAIF,yBAGtB,IAAKC,EACH,MAAM,IAAIC,MAAM,8CAA8CF,MAKhE,OAFAH,EAASG,GAAQC,EAEVH,CACT,EAzBEM,KAmCF,WACE,OAAOC,OAAOC,KAAKT,EACrB,EApCEU,IA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,SAAU,SAAU12D,WAAY,SAAUyM,SAC1EvF,cAACyvD,IAAa,CAAAlqD,SACZI,eAACylD,KAAM,CAAA7lD,SAAA,CACLvF,cAACmvD,GAAY,CAACvG,KAAK,SAASxjD,OAAQrF,GAASC,cAAC4qD,GAAW,IAAK7qD,MAC9DC,cAACqvD,GAAS,CAACzG,KAAK,QAAQxjD,OAAQrF,GAASC,cAACgsD,GAAU,IAAKjsD,MAEzDC,cAAC2qD,KAAK,CAAC/B,KAAK,kBAAkBxjD,OAAQrF,GAASC,cAACusD,GAAc,IAAKxsD,MACnEC,cAAC2qD,KAAK,CAAC/B,KAAK,iBAAiBxjD,OAAQrF,GAASC,cAACkuD,GAAiB,IAAKnuD,MACrEC,cAAC2qD,KAAK,CAAC/B,KAAK,2BAA2BxjD,OAAQrF,GAASC,cAAC2uD,GAAqB,IAAK5uD,MAEnFC,cAACqrD,KAAQ,CAAC5U,KAAK,IAAIjvC,GAAG,4BAI5BgZ,SAASkvC,eAAe,Q","file":"static/js/main.8acd3e3a.chunk.js","sourcesContent":["/* eslint-disable no-use-before-define */\nfunction regg() {\n const registry = {};\n\n const self = {\n register,\n list,\n get,\n };\n\n /**\n * Registers a entry and make it read only\n * @param {String} name To get the entry by\n * @param {Object} entry What you want to register\n */\n function register(name, entry) {\n if (!name) {\n throw new Error('You must provide a valid name for this entry.');\n }\n\n if (registry[name] !== undefined) {\n throw new Error(`'${name}' already registered`);\n }\n\n if (!entry) {\n throw new Error(`You must provide something to register as '${name}'`);\n }\n\n registry[name] = entry;\n\n return self;\n }\n\n function get(name) {\n // eslint-disable-next-line no-prototype-builtins\n if (!registry.hasOwnProperty(name)) {\n console.error(`No such entry '${name}'`);\n }\n return registry[name];\n }\n\n function list() {\n return Object.keys(registry);\n }\n\n return self;\n}\n\nmodule.exports = regg();\n","import fetch from 'isomorphic-fetch';\n\nconst headers = {\n Accept: 'application/json',\n 'Content-Type': 'application/json; charset=utf-8',\n OPTIONS: '',\n};\n\nexport function post(url, data) {\n return fetch(url, {\n method: 'POST',\n headers,\n body: JSON.stringify(data),\n }).then(response => response);\n}\n\nexport function get(url) {\n return fetch(url, {\n method: 'GET',\n headers,\n }).then(response => response.json());\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nconst Chart = require(\"chart.js\");\n//\n// Chart extension for making the bars rounded\n// Code from: https://codepen.io/jedtrow/full/ygRYgo\n//\n\nChart.elements.Rectangle.prototype.draw = function () {\n var ctx = this._chart.ctx;\n var vm = this._view;\n var left, right, top, bottom, signX, signY, borderSkipped, radius;\n var borderWidth = vm.borderWidth;\n // Set Radius Here\n // If radius is large enough to cause drawing errors a max radius is imposed\n var cornerRadius = 6;\n\n if (!vm.horizontal) {\n // bar\n left = vm.x - vm.width / 2;\n right = vm.x + vm.width / 2;\n top = vm.y;\n bottom = vm.base;\n signX = 1;\n signY = bottom > top ? 1 : -1;\n borderSkipped = vm.borderSkipped || \"bottom\";\n } else {\n // horizontal bar\n left = vm.base;\n right = vm.x;\n top = vm.y - vm.height / 2;\n bottom = vm.y + vm.height / 2;\n signX = right > left ? 1 : -1;\n signY = 1;\n borderSkipped = vm.borderSkipped || \"left\";\n }\n\n // Canvas doesn't allow us to stroke inside the width so we can\n // adjust the sizes to fit if we're setting a stroke on the line\n if (borderWidth) {\n // borderWidth shold be less than bar width and bar height.\n var barSize = Math.min(Math.abs(left - right), Math.abs(top - bottom));\n borderWidth = borderWidth > barSize ? barSize : borderWidth;\n var halfStroke = borderWidth / 2;\n // Adjust borderWidth when bar top position is near vm.base(zero).\n var borderLeft = left + (borderSkipped !== \"left\" ? halfStroke * signX : 0);\n var borderRight =\n right + (borderSkipped !== \"right\" ? -halfStroke * signX : 0);\n var borderTop = top + (borderSkipped !== \"top\" ? halfStroke * signY : 0);\n var borderBottom =\n bottom + (borderSkipped !== \"bottom\" ? -halfStroke * signY : 0);\n // not become a vertical line?\n if (borderLeft !== borderRight) {\n top = borderTop;\n bottom = borderBottom;\n }\n // not become a horizontal line?\n if (borderTop !== borderBottom) {\n left = borderLeft;\n right = borderRight;\n }\n }\n\n ctx.beginPath();\n ctx.fillStyle = vm.backgroundColor;\n ctx.strokeStyle = vm.borderColor;\n ctx.lineWidth = borderWidth;\n\n // Corner points, from bottom-left to bottom-right clockwise\n // | 1 2 |\n // | 0 3 |\n var corners = [[left, bottom], [left, top], [right, top], [right, bottom]];\n\n // Find first (starting) corner with fallback to 'bottom'\n var borders = [\"bottom\", \"left\", \"top\", \"right\"];\n var startCorner = borders.indexOf(borderSkipped, 0);\n if (startCorner === -1) {\n startCorner = 0;\n }\n\n function cornerAt(index) {\n return corners[(startCorner + index) % 4];\n }\n\n // Draw rectangle from 'startCorner'\n var corner = cornerAt(0);\n ctx.moveTo(corner[0], corner[1]);\n\n for (var i = 1; i < 4; i++) {\n corner = cornerAt(i);\n let nextCornerId = i + 1;\n if (nextCornerId === 4) {\n nextCornerId = 0;\n }\n\n // let nextCorner = cornerAt(nextCornerId);\n\n let width = corners[2][0] - corners[1][0];\n let height = corners[0][1] - corners[1][1];\n let x = corners[1][0];\n let y = corners[1][1];\n // eslint-disable-next-line\n var radius = cornerRadius;\n\n // Fix radius being too large\n if (radius > height / 2) {\n radius = height / 2;\n }\n if (radius > width / 2) {\n radius = width / 2;\n }\n\n ctx.moveTo(x + radius, y);\n ctx.lineTo(x + width - radius, y);\n ctx.quadraticCurveTo(x + width, y, x + width, y + radius);\n ctx.lineTo(x + width, y + height - radius);\n ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\n ctx.lineTo(x + radius, y + height);\n ctx.quadraticCurveTo(x, y + height, x, y + height - radius);\n ctx.lineTo(x, y + radius);\n ctx.quadraticCurveTo(x, y, x + radius, y);\n }\n\n ctx.fill();\n if (borderWidth) {\n ctx.stroke();\n }\n};\n\nvar mode = \"light\"; //(themeMode) ? themeMode : 'light';\nvar fonts = {\n base: \"Open Sans\"\n};\n\n// Colors\nvar colors = {\n gray: {\n 100: \"#f6f9fc\",\n 200: \"#e9ecef\",\n 300: \"#dee2e6\",\n 400: \"#ced4da\",\n 500: \"#adb5bd\",\n 600: \"#8898aa\",\n 700: \"#525f7f\",\n 800: \"#32325d\",\n 900: \"#212529\"\n },\n theme: {\n default: \"#172b4d\",\n primary: \"#5e72e4\",\n secondary: \"#f4f5f7\",\n info: \"#11cdef\",\n success: \"#2dce89\",\n danger: \"#f5365c\",\n warning: \"#fb6340\"\n },\n black: \"#12263F\",\n white: \"#FFFFFF\",\n transparent: \"transparent\"\n};\n\n// Methods\n\n// Chart.js global options\nfunction chartOptions() {\n // Options\n var options = {\n defaults: {\n global: {\n responsive: true,\n maintainAspectRatio: false,\n defaultColor: mode === \"dark\" ? colors.gray[700] : colors.gray[600],\n defaultFontColor: mode === \"dark\" ? colors.gray[700] : colors.gray[600],\n defaultFontFamily: fonts.base,\n defaultFontSize: 13,\n layout: {\n padding: 0\n },\n legend: {\n display: false,\n position: \"bottom\",\n labels: {\n usePointStyle: true,\n padding: 16\n }\n },\n elements: {\n point: {\n radius: 0,\n backgroundColor: colors.theme[\"primary\"]\n },\n line: {\n tension: 0.4,\n borderWidth: 4,\n borderColor: colors.theme[\"primary\"],\n backgroundColor: colors.transparent,\n borderCapStyle: \"rounded\"\n },\n rectangle: {\n backgroundColor: colors.theme[\"warning\"]\n },\n arc: {\n backgroundColor: colors.theme[\"primary\"],\n borderColor: mode === \"dark\" ? colors.gray[800] : colors.white,\n borderWidth: 4\n }\n },\n tooltips: {\n enabled: true,\n mode: \"index\",\n intersect: false\n }\n },\n doughnut: {\n cutoutPercentage: 83,\n legendCallback: function (chart) {\n var data = chart.data;\n var content = \"\";\n\n data.labels.forEach(function (label, index) {\n var bgColor = data.datasets[0].backgroundColor[index];\n\n content += '';\n content +=\n '';\n content += label;\n content += \"\";\n });\n\n return content;\n }\n }\n }\n };\n\n // yAxes\n Chart.scaleService.updateScaleDefaults(\"linear\", {\n gridLines: {\n borderDash: [2],\n borderDashOffset: [2],\n color: mode === \"dark\" ? colors.gray[900] : colors.gray[300],\n drawBorder: false,\n drawTicks: false,\n lineWidth: 0,\n zeroLineWidth: 0,\n zeroLineColor: mode === \"dark\" ? colors.gray[900] : colors.gray[300],\n zeroLineBorderDash: [2],\n zeroLineBorderDashOffset: [2]\n },\n ticks: {\n beginAtZero: true,\n padding: 10,\n callback: function (value) {\n if (!(value % 10)) {\n return value;\n }\n }\n }\n });\n\n // xAxes\n Chart.scaleService.updateScaleDefaults(\"category\", {\n gridLines: {\n drawBorder: false,\n drawOnChartArea: false,\n drawTicks: false\n },\n ticks: {\n padding: 20\n }\n });\n\n return options;\n}\n\n// Parse global options\nfunction parseOptions(parent, options) {\n for (var item in options) {\n if (typeof options[item] !== \"object\") {\n parent[item] = options[item];\n } else {\n parseOptions(parent[item], options[item]);\n }\n }\n}\n\n// Example 1 of Chart inside src/views/Index.js (Sales value - Card)\nlet chartExample1 = {\n options: {\n scales: {\n yAxes: [\n {\n gridLines: {\n color: colors.gray[900],\n zeroLineColor: colors.gray[900]\n },\n ticks: {\n callback: function (value) {\n if (!(value % 10)) {\n return \"$\" + value + \"k\";\n }\n }\n }\n }\n ]\n },\n tooltips: {\n callbacks: {\n label: function (item, data) {\n var label = data.datasets[item.datasetIndex].label || \"\";\n var yLabel = item.yLabel;\n var content = \"\";\n\n if (data.datasets.length > 1) {\n content += label;\n }\n\n content += \"$\" + yLabel + \"k\";\n return content;\n }\n }\n }\n },\n data1: canvas => {\n return {\n labels: [\"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n datasets: [\n {\n label: \"Performance\",\n data: [0, 20, 10, 30, 15, 40, 20, 60, 60]\n }\n ]\n };\n },\n data2: canvas => {\n return {\n labels: [\"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n datasets: [\n {\n label: \"Performance\",\n data: [0, 20, 5, 25, 10, 30, 15, 40, 40]\n }\n ]\n };\n }\n};\n\n// Example 2 of Chart inside src/views/Index.js (Total orders - Card)\nlet chartExample2 = {\n options: {\n scales: {\n yAxes: [\n {\n ticks: {\n callback: function (value) {\n if (!(value % 10)) {\n //return '$' + value + 'k'\n return value;\n }\n }\n }\n }\n ]\n },\n tooltips: {\n callbacks: {\n label: function (item, data) {\n var label = data.datasets[item.datasetIndex].label || \"\";\n var yLabel = item.yLabel;\n var content = \"\";\n if (data.datasets.length > 1) {\n content += label;\n }\n content += yLabel;\n return content;\n }\n }\n }\n },\n data: {\n labels: [\"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n datasets: [\n {\n label: \"Sales\",\n data: [25, 20, 30, 22, 17, 29],\n maxBarThickness: 10\n }\n ]\n }\n};\n\nmodule.exports = {\n chartOptions, // used inside src/views/Index.js\n parseOptions, // used inside src/views/Index.js\n chartExample1, // used inside src/views/Index.js\n chartExample2 // used inside src/views/Index.js\n};\n","import React from 'react';\nimport { FormattedMessage, injectIntl } from 'react-intl';\n\nconst InjectMassage = props => ;\nexport default injectIntl(InjectMassage, {\n withRef: false,\n});\n","export default __webpack_public_path__ + \"static/media/logo.3d1ef321.png\";","export default __webpack_public_path__ + \"static/media/capa.20fbdba9.jpg\";","/* eslint-disable */\n// Private array of chars to use\nvar CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');\nvar ID = {};\nID.uuid = function (len, radix) {\n var chars = CHARS, uuid = [], i;\n radix = radix || chars.length;\n\n if (len) {\n // Compact form\n for (i = 0; i < len; i++) uuid[i] = chars[0 | Math.random()*radix];\n } else {\n // rfc4122, version 4 form\n var r;\n\n // rfc4122 requires these characters\n uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';\n uuid[14] = '4';\n\n // Fill in random data. At i==19 set the high bits of clock sequence as\n // per rfc4122, sec. 4.1.5\n for (i = 0; i < 36; i++) {\n if (!uuid[i]) {\n r = 0 | Math.random()*16;\n uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];\n }\n }\n }\n\n return uuid.join('');\n};\n\n// A more performant, but slightly bulkier, RFC4122v4 solution. We boost performance\n// by minimizing calls to random()\nID.uuidFast = function() {\n var chars = CHARS, uuid = new Array(36), rnd=0, r;\n for (var i = 0; i < 36; i++) {\n if (i==8 || i==13 || i==18 || i==23) {\n uuid[i] = '-';\n } else if (i==14) {\n uuid[i] = '4';\n } else {\n if (rnd <= 0x02) rnd = 0x2000000 + (Math.random()*0x1000000)|0;\n r = rnd & 0xf;\n rnd = rnd >> 4;\n uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];\n }\n }\n return uuid.join('');\n};\n\n// A more compact, but less performant, RFC4122v4 solution:\nID.uuidCompact = function() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);\n return v.toString(16);\n });\n};\nmodule.exports = ID;","export default class Config {\n static _HOST = process.env.REACT_APP_API_URL;\n static _USER = \"_USERKEY\";\n static _TOKEN = \"_TOKEN\";\n static _USERKEY_CONTACT = \"_USERKEY_CONTACT\";\n static FOTO_CAPA = 'foto-capa'\n static ANEXO = \"anexo\";\n}\n\nexport const getToken = () => {\n let _TOKEN = window.localStorage.getItem(Config._TOKEN);\n if (_TOKEN) return JSON.parse(window.localStorage.getItem(Config._TOKEN));\n return null\n}\n\nexport const getUser = () => {\n let _USER = window.localStorage.getItem(Config._USER);\n if (_USER) return JSON.parse(window.localStorage.getItem(Config._USER));\n return null\n}\n\nexport const authHeader = () => {\n let token = getToken();\n let headers = {}\n headers[\"Accept\"] = 'application/json'\n headers[\"Content-Type\"] = 'application/json'\n if (token) headers[\"Authorization\"] = `Bearer ${token}`;\n return headers\n}\n\nexport const authHeaderBucket = () => {\n let token = getToken();\n let headers = {}\n if (token) headers[\"Authorization\"] = `Bearer ${token}`;\n return headers\n}\n\nexport const statusPagamento = (single) => {\n return (single && single.length) ? !(single.filter(v => v.status === 0).length > 0) : false\n}\n\nexport const existIn = (key, values) => {\n if (!values || !key || !values.length) return;\n for (let single of values) {\n if (single === key) {\n return true\n }\n }\n return false\n}\n\nexport const _isEmpty = (valorCampo) => {\n if (valorCampo == null) {\n return true\n }\n return String(valorCampo).trim().length <= 0\n}\n\nexport const IncodeText = (text, size) => {\n if (_isEmpty(text)) {\n return\n }\n let str = \"\"\n for (let i = 0; i <= text.length - 1; i++) {\n str = str + text[i];\n if (i >= size) {\n break;\n }\n }\n return str + (str.length >= size ? \"...\" : '');\n}\n\n// export const ICON = \"http://www.clubeatiradores.com.br/img/logoHeader.png\"\nexport const ICON = require(\"assets/img/\" + process.env.REACT_APP_LOGO).default\n\nexport const DataURIToBlob = (dataURI) => {\n const splitDataURI = dataURI.split(',')\n const byteString = splitDataURI[0].indexOf('base64') >= 0 ? atob(splitDataURI[1]) : decodeURI(splitDataURI[1])\n const mimeString = splitDataURI[0].split(':')[1].split(';')[0]\n\n const ia = new Uint8Array(byteString.length)\n for (let i = 0; i < byteString.length; i++)\n ia[i] = byteString.charCodeAt(i)\n\n return new Blob([ia], { type: mimeString })\n}\n\nexport const TranslaterDayOfMonth = (day) => {\n switch (day) {\n case 1: return \"SEGUNDA-FEIRA\";\n case 2: return \"TERÇA-FEIRA\";\n case 3: return \"QUARTA-FEIRA\";\n case 4: return \"QUINTA-FEIRA\";\n case 5: return \"SEXTA-FEIRA\";\n case 6: return \"SÁBADO\";\n case 7: return \"DOMINGO\";\n default: return \"\";\n }\n}\n\nexport const parsePercentual = (data) => {\n let total = 0\n for (let single of data) {\n total = total + single;\n }\n let temp = []\n for (let single of data) {\n temp.push(\n single * 100 / total\n )\n }\n return temp;\n}\n\nexport const parsePercentualByIndex = (index, data) => {\n let total = 0\n for (let single of data) {\n total = total + single;\n }\n let temp = []\n for (let single of data) {\n temp.push(\n single * 100 / total\n )\n }\n return temp[index];\n}\n\nexport const CACHE_KEY_AGENDA = \"CACHE_KEY_AGENDA\"\n\nexport let createFilter = (chave, compart, dataComplete) => {\n if (!chave || chave.length === 0 || chave.trim() === \"\") {\n return dataComplete\n }\n let temp = []\n for (let single of compart) {\n for (let conten of dataComplete) {\n if (conten[single] && conten[single].toLowerCase().match(chave.toLowerCase())) {\n temp.push(conten)\n }\n }\n }\n return temp\n}\n\nexport const isEmpty = (valor, valorDefault) => {\n if (!valor || valor.length === 0) {\n return valorDefault\n }\n return valor ? valor : \"\"\n}\n\nexport const existValue = (valor) => {\n return !(!valor || valor.length === 0)\n}\n\nexport const validateEmail = (email) => {\n const expression = /^(([^<>()[\\]\\\\.,;:\\s@\\\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\\\"]+)*)|(\\\\\".+\\\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return expression.test(String(email).toLowerCase())\n}\n\nexport const b64toBlob = (dataURI) => {\n var byteString = atob(dataURI.split(',')[1]);\n var ab = new ArrayBuffer(byteString.length);\n var ia = new Uint8Array(ab);\n\n for (var i = 0; i < byteString.length; i++) {\n ia[i] = byteString.charCodeAt(i);\n }\n return new Blob([ab], { type: 'image/jpeg' });\n}\n\nexport const checkPerfilPossuiAcesso = (json, menu) => {\n return json.some(item => item.nome === menu);\n}\n\nexport const currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nexport const onChangeCheckbox = (value, campo, that) => {\n const { checked, data, checkAll } = that.state;\n if (campo === 'select-all') {\n if (checkAll) {\n const list = checked;\n data.map(single => {\n list.push(single.uk);\n return true;\n })\n that.setState({\n checkAll: false,\n checked: list\n })\n } else {\n const list = [];\n that.setState({\n checkAll: true,\n checked: list\n })\n }\n } else {\n value = !checked.some(key => key === campo);\n if (value) {\n const list = checked;\n list.push(campo);\n that.setState({\n checked: list\n })\n } else {\n that.setState({\n checked: checked.filter(key => key !== campo)\n })\n }\n }\n}\n\nexport const getDescricaoModoManutencao = (modo) => {\n if (modo === \"1\") {\n return \"Pontual\";\n } else {\n return \"Recorrente\";\n }\n};\n\nexport const getDescricaoTipoIntervalo = (intervalo) => {\n if (intervalo === \"1\") {\n return \"Dia\";\n } else if (intervalo === \"2\") {\n return \"Mês\";\n } else {\n return \"Ano\";\n }\n};\n\nexport const replaceSpecialChars = (str) => {\n return str.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '') // Remove acentos\n .replace('&', 'e')\n .replace(/([^\\w]+|\\s+)/g, ' ')\n .replace(/\\\\-\\\\-+/g, '')\t// Substitui multiplos hífens por um único hífen\n .replace(/(^-+|-+$)/, '') // Remove hífens extras do final ou do inicio da string\n .toUpperCase()\n}\n\n\nexport const findNode = (id, currentNode) => {\n var result;\n\n if (currentNode === undefined) return null;\n\n if (currentNode && typeof currentNode === 'object' && 'id' in currentNode && id === currentNode.id) {\n return currentNode;\n } else {\n if (Array.isArray(currentNode)) {\n for (let i = 0; i < currentNode.length; i++) {\n const currentChild = currentNode[i];\n result = findNode(id, currentChild);\n\n if (result !== false) {\n return result;\n }\n };\n }\n else if (typeof currentNode === 'object') {\n for (const key in currentNode) {\n result = findNode(id, currentNode[key]);\n\n if (result !== false) {\n return result;\n }\n }\n }\n\n return false;\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\n/*eslint-disable*/\nimport React, { Component } from \"react\";\n\n// reactstrap components\nimport { Row, Col } from \"reactstrap\";\n\nclass Footer extends Component {\n render() {\n return (\n \n );\n }\n}\n\nexport default Footer;\n","import Config from \"Config\";\nimport { ICON } from \"Config\";\n/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Link } from \"react-router-dom\";\n// reactstrap components\nimport {\n DropdownMenu,\n DropdownItem,\n UncontrolledDropdown,\n DropdownToggle,\n Navbar,\n Nav,\n Container,\n Media\n} from \"reactstrap\";\n\nclass AdminNavbar extends React.Component {\n\n state = {\n _name: \"\", _src: \"\",\n // options: [],\n // dataResponsavelFinanceiro: [],\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n this.setState({ user: user })\n }\n\n render() {\n return (\n <>\n \n \n
\n \n \n \n \n );\n }\n}\n\nexport default AdminNavbar;\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Card, CardBody, CardTitle, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport numeral from 'numeral';\n\nclass Header extends React.Component {\n\n state = {\n apagar: 0,\n areceber: 0,\n associados: 0,\n dependentes: 0\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/login')\n return;\n }\n this.setState({\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => this.findAll())\n }\n\n findAll = () => {\n this.setState({ loading: true })\n fetch(Config._HOST + \"/api/geral\")\n .then(response => response.json())\n .then(response => {\n this.setState({ ...response.data })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n render() {\n return (\n <>\n
\n \n
\n {/* Card stats */}\n \n \n \n \n \n
\n \n Associados\n \n \n {this.state.associados}\n \n
\n \n
\n \n
\n \n
\n

\n {/* \n 3.48%\n {\" \"} */}\n \n Total de Associados Ativos\n

\n
\n
\n \n \n \n \n \n
\n \n Dependentes\n \n \n {this.state.dependentes}\n \n
\n \n
\n \n
\n \n
\n

\n {/* \n 3.48%\n {\" \"} */}\n \n Total de Dependentes Ativos\n

\n
\n
\n \n \n \n \n \n
\n \n A Receber\n \n \n {numeral(this.state.areceber).format('$ 0,0.00')}\n \n
\n \n
\n \n
\n \n
\n

\n \n Estimativa do valor a receber desse mês\n \n

\n
\n
\n \n \n \n \n \n
\n \n A Pagar\n \n \n {numeral(this.state.apagar).format('$ 0,0.00')}\n \n
\n \n
\n \n
\n \n
\n

\n \n Estimativa do valor a pagar desse mês\n \n

\n
\n
\n \n
\n
\n
\n\n \n \n
\n {this.props.componentRender}\n
\n
\n
\n
\n \n );\n }\n}\n\nexport default Header;\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n// javascipt plugin for creating charts\nimport Chart from \"chart.js\";\n// react plugin used to create charts\nimport { Bar, Pie } from \"react-chartjs-2\";\n// reactstrap components\nimport {\n Card,\n CardHeader,\n CardBody,\n Container,\n Row,\n Col\n} from \"reactstrap\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css';\n\n// core components\nimport {\n chartOptions,\n parseOptions\n} from \"assets/variables/charts.js\";\n\n// var colors = {\n// gray: {\n// 100: \"#f6f9fc\",\n// 200: \"#e9ecef\",\n// 300: \"#dee2e6\",\n// 400: \"#ced4da\",\n// 500: \"#adb5bd\",\n// 600: \"#8898aa\",\n// 700: \"#525f7f\",\n// 800: \"#32325d\",\n// 900: \"#212529\"\n// },\n// theme: {\n// default: \"#172b4d\",\n// primary: \"#5e72e4\",\n// secondary: \"#f4f5f7\",\n// info: \"#11cdef\",\n// success: \"#2dce89\",\n// danger: \"#f5365c\",\n// warning: \"#fb6340\"\n// },\n// black: \"#12263F\",\n// white: \"#FFFFFF\",\n// transparent: \"transparent\"\n// };\n\nimport Header from \"views/components/Headers/Header.js\";\nimport Config, { parsePercentual } from \"Config\";\nimport moment from 'moment';\nimport numeral from 'numeral';\n\nnumeral.register('locale', 'pt-BR', {\n delimiters: {\n thousands: '.',\n decimal: ','\n },\n currency: {\n symbol: 'R$'\n }\n});\n\nnumeral.locale('pt-BR');\n\n// yAxes\nChart.scaleService.updateScaleDefaults(\"linear\", {\n gridLines: {\n borderDash: [2],\n borderDashOffset: [2],\n color: '#fff',\n drawBorder: false,\n drawTicks: false,\n lineWidth: 0,\n zeroLineWidth: 0,\n zeroLineColor: '#fff',\n zeroLineBorderDash: [2],\n zeroLineBorderDashOffset: [2]\n },\n ticks: {\n beginAtZero: true,\n padding: 10,\n fontColor: '#fff',\n callback: function (value) {\n if (!(value % 10)) {\n return value;\n }\n }\n }\n});\n\nclass Dashboard extends React.Component {\n state = {\n activeNav: 1,\n chartExample1Data: \"data1\",\n chart: [],\n chartAtendimentos: [],\n data: [785, 58, 3, 1],\n };\n\n componentDidMount() {\n if (window.Chart) {\n parseOptions(Chart, chartOptions());\n }\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n }\n\n parseMonth(data) {\n let temp = []\n if (data &&\n data.length > 0) {\n let size = data.length\n for (let i = 1; i <= size; i++) {\n temp.push(\n moment(\n data[(size - i)].date).format('MM/YY')\n )\n }\n }\n return temp\n }\n\n parseData(data) {\n let temp = []\n if (data &&\n data.length > 0) {\n let size = data.length\n for (let i = 1; i <= size; i++) {\n temp.push(\n data[(size - i)].valor\n )\n }\n }\n return temp\n }\n\n parse(data) {\n return {\n labels: this.parseMonth(data),\n datasets: [\n {\n label: \"RECEBIDOS\",\n data: this.parseData(data)\n }\n ]\n };\n };\n\n render() {\n const bubble = {\n labels: [\n \"Proprietário\",\n \"Remido\",\n \"Fornecedor\",\n \"Benemérito\",\n ],\n datasets: [\n {\n data: parsePercentual(this.state.data),\n backgroundColor: [\n '#FF6384',\n '#36A2EB',\n '#FFCE56',\n '#cdcdcd'\n ],\n hoverBackgroundColor: [\n '#FF6384',\n '#36A2EB',\n '#FFCE56',\n '#cdcdcd'\n ]\n },\n ]\n };\n\n return (\n <>\n
\n {/* Page content */}\n \n \n \n \n \n \n
\n
\n Quantidade de cadastros por categoria\n
\n
\n
\n
\n \n {/* Chart */}\n
\n \n
\n
\n
\n \n \n \n \n \n
\n
\n PORCENTAGEM POR CATEGORIA\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n
\n \n );\n }\n}\n\nexport default Dashboard;\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Container, Row, Col } from \"reactstrap\";\nimport { withRouter } from \"react-router-dom\";\nimport Config from \"Config\";\n\nclass HeaderButtonGroup extends React.Component {\n\n constructor(props) {\n super(props)\n this.state = {\n nome: \"\"\n }\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n this.setState({\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.callback) { this.props.callback(this.state) }\n })\n }\n\n render() {\n return (\n <>\n \n \n \n \n \n {this.props.avatar}\n

{this.props.titulo}

\n

\n {this.props.subTitulo}\n

\n \n
\n {this.props.component}\n
\n
\n
\n
\n \n );\n }\n}\n\nexport default withRouter(HeaderButtonGroup);\n","import axios from 'axios';\nimport { getToken } from 'Config';\n\nconst api = axios.create({\n baseURL: process.env.REACT_APP_API_URL,\n});\n\n// Request\napi.interceptors.request.use(\n config => {\n const token = getToken();\n if (token) config.headers.Authorization = `Bearer ${token}`;\n return config;\n }, error => {\n return null;\n }, { synchronous: true }\n);\n\n// Response\napi.interceptors.response.use(\n response => {\n return response.data;\n }, error => {\n return error.response;\n }, { synchronous: true }\n);\n\nexport default api;\n","const jsonToUrlFilter = object => {\n let filter = '';\n\n if (object) {\n Object.keys(object).forEach(key => {\n filter = filter.length ? `${filter}&` : '';\n\n if (Array.isArray(object[key])) {\n filter += `${encodeURIComponent(key)}=${encodeURIComponent(`[${object[key].toString().trim()}]`)}`;\n }\n else if (typeof object[key] === 'object') {\n Object.keys(object[key]).forEach(KeyChild => {\n filter += KeyChild ? `&` : '';\n\n if (Array.isArray(object[key][KeyChild])) {\n filter += `${key}.${encodeURIComponent(KeyChild)}=${encodeURIComponent(`[${object[key][KeyChild].toString().trim()}]`)}`;\n }\n else if (typeof object[key][KeyChild] === 'object') {\n Object.keys(object[key][KeyChild]).forEach(KeyChildChild => {\n if (Array.isArray(object[key][KeyChild][KeyChildChild])) {\n filter += `${key}.${KeyChild}.${encodeURIComponent(KeyChildChild)}=${encodeURIComponent(`[${object[key][KeyChild][KeyChildChild].toString().trim()}]`)}`;\n }\n else {\n filter += `${key}.${KeyChild}.${encodeURIComponent(KeyChildChild)}=${encodeURIComponent(object[key][KeyChild][KeyChildChild].toString().trim())}`;\n }\n });\n }\n else {\n filter += `${key}.${encodeURIComponent(KeyChild)}=${encodeURIComponent(object[key][KeyChild].toString().trim())}`;\n }\n });\n }\n else {\n filter += `${encodeURIComponent(key)}=${encodeURIComponent(object[key].toString().trim())}`;\n }\n });\n }\n\n return filter;\n};\n\nexport { jsonToUrlFilter };\n","import Config from \"Config\";\nimport { getUser } from \"Config\";\n\nconst checkVariable = (mainVariable, urlVariable) => {\n const regexExp = /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/gi;\n\n return (\n (mainVariable.startsWith(':uk') && regexExp.test(urlVariable)) ||\n (mainVariable.startsWith(':id') && !isNaN(urlVariable)) ||\n (mainVariable.startsWith(':type') && (urlVariable === 'pagar' || urlVariable === 'receber'))\n )\n}\n\nconst compareChildren = (mainPathChildren, urlPathChildren) => {\n\n let total = urlPathChildren.length\n let total_comparison = 0;\n\n for (let i = 0; i < urlPathChildren.length; i++) {\n const checkChildren = ((mainPathChildren[i] === urlPathChildren[i]) ||\n (checkVariable(mainPathChildren[i], urlPathChildren[i])));\n if(checkChildren) total_comparison++\n }\n return total === total_comparison ? true : false;\n}\n\nconst hasPermission = urlPath => {\n const permissaoWeb = getUser().profile.permissaoWeb;\n\n if(!!permissaoWeb) {\n const AuthorizedPathArray = permissaoWeb.map(item => item.rota);\n\n if(!AuthorizedPathArray) {\n window.localStorage.removeItem(Config._USER);\n window.localStorage.removeItem(Config._TOKEN);\n window.location.reload();\n return;\n }\n\n if (urlPath in AuthorizedPathArray) return true;\n var comparison = false;\n\n for (const authorizedPath of AuthorizedPathArray) {\n\n const urlPathChildren = urlPath.split('/');\n const mainPathChildren = authorizedPath.split('/');\n\n comparison = (\n (urlPathChildren.length === mainPathChildren.length) &&\n compareChildren(mainPathChildren, urlPathChildren)\n )\n if(comparison) return true;\n }\n return comparison;\n }\n\n return false;\n}\n\nexport default hasPermission;\n","import React, { Component } from 'react';\nimport { Link } from 'react-router-dom';\nimport hasPermission from 'utils/UserPermission';\n\nclass ButtonControl extends Component {\n state = {\n has_permission: true\n }\n\n componentDidMount() {\n this.setState({ has_permission: hasPermission(this.props.to) })\n }\n\n render() {\n if(!this.state.has_permission && !this.props.forceShowChild) return null;\n\n return (\n <>\n {!this.state.has_permission && !!this.props.forceShowChild ? (\n <>\n {this.props.children}\n \n ) : (\n \n {this.props.children}\n \n )}\n \n );\n }\n}\n\nexport default ButtonControl;\n","import { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport HeaderButtonGroup from 'views/components/Headers/HeaderButtonGroup';\nimport Config from 'Config';\nimport moment from 'moment';\nimport 'moment/locale/pt-br';\nimport { Component } from 'react';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Link } from 'react-router-dom';\nimport ReactTooltip from \"react-tooltip\";\nimport { Button, Card, CardHeader, Col, Container, FormGroup, Row } from 'reactstrap';\nimport api from 'services/api';\nimport { jsonToUrlFilter } from 'utils/filter';\nimport {v4 as uuidv4} from 'uuid';\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nconst MonthEvents = (props) => {\n if (props.data) {\n return props.data.map(item => {\n let arr = item.dtInicio.split(\"T\")[0].split(\"-\");\n\n if (\n arr[0] === props.year &&\n arr[1] === props.month &&\n arr[2] === props.day\n ) {\n return (\n
\n \n {!!item.bloqueio && (\n \n \"AMBIENTE BLOQUEADO\"\n
\n
\n )}\n {!!item.responsavel &&

Responsável: {item.responsavel.name}

}\n {!!item.observacao &&

Observação: {item.observacao}

}\n
\n \n
\n {!!item.bloqueio && }\n {!!item.dataCadastro && parseInt(moment.duration(moment().diff(moment(item.dataCadastro))).asHours()) <= 24 && (\n \n )}\n {[0, 3].indexOf(item.status) >= 0 && (\n \n )}\n {item.ambiente.nome}\n
\n \n
\n );\n }\n\n return \"\";\n });\n }\n\n return \"\";\n}\n\nconst MonthDays = (props) => {\n // first day\n const first = moment(props.date).date(1);\n\n // week format\n const weekF = moment(props.date).format(\"YYYYMM\");\n\n // init arr\n let arr = [];\n\n for (let i = 0; i < 42; i++) {\n // day\n let day = moment(props.date)\n .date(1)\n .subtract(first.weekday() - i, \"days\");\n\n // day format\n let dayF = moment(day.format(\"YYYYMM\"));\n\n // add class by type\n let cls = dayF.isBefore(weekF)\n ? \"days-before\"\n : dayF.isAfter(weekF)\n ? \"days-after\"\n : props.date.clone().isSame(day, \"day\") && moment(props.date).format(\"MMYYYY\") === moment().format(\"MMYYYY\") ? \"today\" : \"\";\n\n // push\n arr.push(\n
  • \n
    {day.format(\"DD\")}
    \n
    {day.format(\"DD/MM/YYYY\")}
    \n\n {!(dayF.isBefore(weekF) || dayF.isAfter(weekF)) && (\n \n )}\n
  • \n );\n }\n return
      {arr}
    ;\n};\n\nclass AgendaCalendario extends Component {\n state = {\n data: [],\n dataBloqueio: [],\n ambiente: \"todos\",\n status: \"todos\",\n dataAmbiente: [],\n loading: false,\n requests: 0,\n month: moment()\n }\n\n async componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n this.setState({ loading: true });\n await this.findAmbiente();\n await this.findAll(this.state.month, true);\n this.setState({ loading: false });\n }\n\n findAmbiente = async () => {\n const response = await api.get(\"/api/ambiente?_limit=9999&ativo=true&permitir_locacao=true&_sort=nome\");\n this.setState({ dataAmbiente: response.data });\n }\n\n findAll = async (month, getBloqueio = false) => {\n let filterData = {\n dt_inicio_like: month.format('YYYY-MM'),\n _limit: 99999,\n _order: 'desc',\n _sort: 'dt_inicio',\n }\n\n if (this.state.status === 'todos') {\n filterData.status = [0, 1, 3, 4];\n }\n else if (this.state.status === 'aguardando') {\n filterData.status = [0, 3];\n }\n else if (this.state.status === 'confirmado') {\n filterData.status = [1, 4];\n }\n else if (this.state.status === 'cancelado') {\n filterData.status = [2];\n }\n\n if (this.state.ambiente !== 'todos') {\n filterData.ambiente = { id: this.state.ambiente };\n }\n\n const response = await api.get(`/api/documento-agenda?${jsonToUrlFilter(filterData)}`);\n let dataBloqueio = [];\n\n if(this.state.status !== 'cancelado') {\n filterData = {\n data_inicio_like: month.format('YYYY'),\n _limit: 99999,\n _order: 'desc',\n _sort: 'data_inicio',\n }\n\n if (this.state.ambiente !== 'todos') {\n filterData.ambientes = { id: this.state.ambiente };\n }\n\n const responseBloqueio = await api.get(`/api/agenda/bloqueio?${jsonToUrlFilter(filterData)}`);\n\n if(!!responseBloqueio && 'data' in responseBloqueio) {\n responseBloqueio.data.forEach(item => {\n\n item.ambientes.forEach(ambiente => {\n if (this.state.ambiente === 'todos' || this.state.ambiente === ambiente.id) {\n const data_inicio = moment(item.data_inicio);\n const data_fim = moment(item.data_fim).format('YYYYMMDD');\n\n while (parseInt(data_inicio.format('YYYYMMDD')) <= parseInt(data_fim)) {\n const hasBloqueio = this.state.dataBloqueio.find(itemBloqueio => itemBloqueio.dtInicio === data_inicio.format('YYYY-MM-DD') && itemBloqueio.ambiente.id === ambiente.id);\n\n if(!hasBloqueio) {\n let isBloqueado = false;\n\n if(data_inicio.day() === 0) isBloqueado = !!item.domingo;\n else if(data_inicio.day() === 1) isBloqueado = !!item.segunda;\n else if(data_inicio.day() === 2) isBloqueado = !!item.terca;\n else if(data_inicio.day() === 3) isBloqueado = !!item.quarta;\n else if(data_inicio.day() === 4) isBloqueado = !!item.quinta;\n else if(data_inicio.day() === 5) isBloqueado = !!item.sexta;\n else if(data_inicio.day() === 6) isBloqueado = !!item.sabado;\n\n if(isBloqueado) {\n dataBloqueio.push({\n uk: uuidv4(),\n dtInicio: data_inicio.format('YYYY-MM-DD'),\n observacao: item.descricao,\n ambiente,\n status: 1,\n bloqueio: true\n });\n }\n }\n\n data_inicio.add(1, 'days');\n }\n }\n });\n });\n }\n }\n\n if (response && this.state.month.month() === month.month()) {\n const responseData = response.data.filter(item => !this.state.data.find(itemReserva => item.id === itemReserva));\n\n this.setState({ data: [...responseData, ...dataBloqueio] })\n }\n }\n\n changeDate = async (newMonth, monthOld) => {\n this.setState({ month: newMonth, loading: true, requests: this.state.requests + 1 });\n setTimeout(async () => {\n if (this.state.month.month() === newMonth.month()) await this.findAll(newMonth, !monthOld ? true : newMonth.year() !== monthOld.year());\n this.setState({ loading: this.state.requests - 1 > 0, requests: this.state.requests - 1 });\n }, 1000*2);\n }\n\n next = () => {\n const { month } = this.state;\n const newMonth = month.clone().add(1, \"month\");\n this.changeDate(newMonth, month)\n };\n\n prev = () => {\n const { month } = this.state;\n const newMonth = month.clone().subtract(1, \"month\");\n this.changeDate(newMonth, month)\n };\n\n today = () => {\n const today = moment();\n this.changeDate(today)\n };\n\n render() {\n const { month, data } = this.state;\n let m = moment().day();\n\n return (\n <>\n \n
    \n \n \n NOVO\n \n \n Listagem\n \n \n Bloqueio\n \n \n Últimas Reservas\n \n \n
    \n \n }\n titulo={\"Reservas\"}\n subTitulo={\"Gerenciamento completo de Agendamentos\"}\n />\n\n \n\n {/* Table */}\n \n
    \n \n \n \n \n \n \n \n {\n this.setState({ ambiente: value.target.value }, async () => {\n this.setState({ loading: true })\n await this.findAll(this.state.month);\n this.setState({ loading: false })\n })\n }}\n defaultValue={this.state.ambiente}\n disabled={this.state.loading}\n >\n Todos\n {this.state.dataAmbiente.map(single => {\n return {single.nome}\n })}\n \n \n \n \n \n \n \n \n {\n this.setState({ status: value.target.value }, async () => {\n this.setState({ loading: true })\n await this.findAll(this.state.month);\n this.setState({ loading: false })\n })\n }}\n defaultValue={this.state.status}\n disabled={this.state.loading}\n >\n Todos\n Aguardando\n Confirmado\n Cancelado\n \n \n \n \n \n \n \n
    \n
    \n\n {/* Table */}\n \n \n \n
    \n \n \n \n \n \n \n \n {month.format(\"MMMM YYYY\")}\n \n \n {moment().format(\"dddd\")} {moment().format(\"LL\")}\n \n \n {this.state.loading && (\n
    \n \n
    \n )}\n
      \n {moment.weekdays(true).map((item, i) => (\n
    • \n {item}\n
    • \n ))}\n
    \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default AgendaCalendario;\n","import React, { Component } from 'react';\nimport { Button, Col, Row, Collapse } from 'reactstrap';\n\nclass Filter extends Component {\n state = { collapse: false };\n\n componentDidMount() {\n const { isOpened } = this.props;\n this.setState({ collapse: isOpened });\n }\n\n toggle = () => {\n this.setState({ collapse: !this.state.collapse });\n }\n\n render() {\n const { handleLimpar, handlePesquisar, appendButton, children, disabled } = this.props;\n\n return (\n <>\n \n \n {children}\n \n \n \n \n {appendButton}\n \n \n \n \n );\n }\n}\n\nexport default Filter;\n","const getStatusReserva = status => {\n switch (parseInt(status, 10)) {\n case 0:\n return 'Aguardando Pagamento';\n case 1:\n return 'Confirmado';\n case 2:\n return 'Cancelado';\n case 3:\n return 'Pagamento Atrasado';\n case 4:\n return 'Pagamento Isento';\n default:\n return '';\n }\n};\n\nexport { getStatusReserva };\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\nimport { Card, CardHeader, Table, Container, Row, Button, Input } from \"reactstrap\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport Col from \"reactstrap/lib/Col\";\nimport Filter from \"views/components/Filter\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport moment from 'moment';\nimport { getStatusReserva } from \"utils/StatusReserva\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass AgendaList extends Component {\n state = {\n data: [],\n loading: false,\n loadingMore: false,\n ambientes: [],\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'desc',\n _sort: 'dt_inicio',\n user_dispositivo: ['not_null', 'null'],\n ambiente: { id: [] },\n status: [0,1,3,4],\n 'responsavel.name_like': '',\n 'dt_inicio>=': moment().format('YYYY-MM-DD'),\n 'dt_inicio<=': moment().endOf('month').format('YYYY-MM-DD')\n }\n };\n\n async componentDidMount() {\n this.setState({ loading: true });\n await this.findAmbientes();\n await this.findReservas();\n this.setState({ loading: false });\n }\n\n findReservas = async (removeData = true) => {\n const { data, filter } = this.state;\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n if ('responsavel.name_like' in filter && filter['responsavel.name_like'].length === 0) {\n delete filter.name_like;\n }\n\n const date = {\n 'dt_inicio>=': filter['dt_inicio>='] + \" 00:00:00\",\n 'dt_inicio<=': filter['dt_inicio<='] + \" 23:59:59\"\n }\n\n const response = await api.get(`/api/documento-agenda?${jsonToUrlFilter({...filter, ...date})}`);\n\n if (response) {\n if (removeData) {\n this.setState({\n ...response,\n loading: false,\n loadingMore: false\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data],\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n findAmbientes = async () => {\n const response = await api.get(\"/api/ambiente?_limit=9999&ativo=true&permitir_locacao=true&_sort=nome\");\n this.setState({ ambientes: response.data, filter: {...this.state.filter, ambiente: { id: response.data.map(item => item.id) } } });\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.findReservas(false);\n });\n }\n\n handleLimpar = () => {\n this.setState({\n data: [],\n loading: false,\n loadingMore: false,\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'desc',\n _sort: 'dt_inicio',\n user_dispositivo: ['not_null', 'null'],\n ambiente: { id: this.state.ambientes.map(item => item.id) },\n status: [0,1,3,4],\n 'responsavel.name_like': '',\n 'dt_inicio>=': moment().format('YYYY-MM-DD'),\n 'dt_inicio<=': moment().endOf('month').format('YYYY-MM-DD')\n }\n }, () => {\n this.findReservas();\n });\n }\n\n renderContent() {\n const { data, length, total_pages, filter, loading } = this.state;\n\n if (loading) return ;\n\n if (length === undefined || length === 0) {\n return (\n \n

    Nenhum Reserva Encontrada!

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {data.map(single => {\n return (\n \n \n \n \n \n \n \n \n )\n })}\n \n
    DATA RESERVAAMBIENTESÓCIOSTATUSAPPAÇÃO
    {moment(single.dtInicio).format('DD/MM/YYYY HH:mm')}{single.ambiente.nome}{single.responsavel.name}{getStatusReserva(single.status)}{!!single.userDispositivo ? \"Sim\" : \"Não\"}\n
    \n \n \n \n
    \n
    \n\n {filter._page < total_pages && (\n \n )}\n\n
    \n )\n }\n\n render() {\n const { filter, total_data, loading } = this.state;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"LISTAGEM DAS RESERVAS\"}\n subTitulo={\"Gerenciamento completo de Agendamentos\"}\n />\n \n \n \n \n \n

    Reservas ({total_data ? total_data : 0})

    \n \n \n \n =']} onChange={value => this.setState({ filter: { ...filter, 'dt_inicio>=': value.target.value } })} />\n \n Até\n \n this.setState({ filter: { ...filter, 'dt_inicio<=': value.target.value } })} />\n \n \n \n {\n this.setState({ filter: { ...filter, user_dispositivo: value.target.value } });\n }}\n multiple={true}\n >\n Aplicativo\n Sistema\n \n \n \n \n \n \n {\n this.setState({ filter: { ...filter, ambiente: { id: value.target.value } } });\n }}\n multiple={true}\n >\n {this.state.ambientes.map(single => {\n return {single.nome}\n })}\n \n \n \n \n \n \n {\n this.setState({ filter: { ...filter, status: value.target.value } });\n }}\n multiple={true}\n >\n Aguardando\n Confirmado\n Cancelado\n Vencido\n Isento\n \n \n \n \n \n \n this.setState({ filter: { ...filter, 'responsavel.name_like': value.target.value.toUpperCase() } })}\n value={filter['responsavel.name_like']}\n autoComplete=\"off\"\n />\n \n \n \n \n
    \n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n\n}\n\nexport default withSnackbar(AgendaList);\n","import { b64toBlob } from \"Config\";\nimport api from \"services/api\";\n\nexport default class file {\n}\n\nexport const handleDeleteFile = async filesRemovidos => {\n for (const key in filesRemovidos) {\n return await deleteFile(filesRemovidos[key]);\n }\n}\n\nexport const deleteFile = async file => {\n if (\"id\" in file) {\n const response = await api.delete(`/api/bucket/${file.id}`);\n return response.mensagem;\n }\n}\n\nexport const handleUploadArrayFile = async (owner, key, files) => {\n const sendData = new FormData();\n for (let i = 0; i < files.length; i++) {\n if (!(\"id\" in files[i])) {\n sendData.append(\"files\", files[i].file);\n }\n }\n\n const response = await api.post(`/api/bucket/owner/${owner}/${key}`, sendData);\n return response.status;\n}\n\nexport const handleUploadfile = async (owner, key, data) => {\n const response = await api.post(`/api/bucket/owner/${owner}/${key}`, data);\n return response.status;\n}\n\nexport const sendFile = (dataSend, dataB64, key) => {\n let sendFile = false;\n\n if (dataB64) {\n dataSend.append('file', b64toBlob(dataB64), key);\n sendFile = true;\n }\n\n return sendFile ? dataSend : null;\n}\n","import api from \"services/api\";\nimport Config from \"Config\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { handleUploadfile, sendFile } from \"utils/file\";\nimport moment from 'moment';\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport ReactSignatureCanvas from \"react-signature-canvas\";\nimport { Button, Card, CardBody, CardHeader, Col, Container, Form, FormGroup, Input, Row } from \"reactstrap\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nclass agendaCheck extends React.Component {\n\n state = {\n statusCheckIn: false,\n statusCheckOut: false,\n checkIn: false,\n checkOut: false\n }\n\n sigPad = {}\n\n async componentDidMount() {\n const user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.uk) {\n await this.findBy(this.props.match.params.uk)\n }\n\n if (!this.state.checkIn) {\n this.setState({ checkIn: moment().format('YYYY-MM-DD\\\\THH:mm:00'), checkInBy: user });\n }\n else if (this.state.checkIn && !this.state.checkOut) {\n this.setState({ checkOut: moment().format('YYYY-MM-DD\\\\THH:mm:00'), checkOutBy: user });\n }\n }\n\n findBy = async (uk) => {\n this.setState({ loading: true });\n const response = await api.get(\"/api/documento-agenda/\" + uk)\n\n if (response.status === 200) {\n if (response.data.checkIn) this.setState({ statusCheckIn: true })\n if (response.data.checkOut) this.setState({ statusCheckOut: true })\n this.setState({ ...this.state, ...response.data, loading: false })\n }\n }\n\n create = async () => {\n let temp = this.state;\n\n if (!this.state.checkIn) {\n this.props.enqueueSnackbar(\"Informe hora do check-in\")\n return;\n }\n\n if (!this.state.statusCheckIn && this.state.checkIn && this.sigPad.isEmpty()) {\n this.props.enqueueSnackbar(\"Assinatura do responsável é necessário!\")\n return;\n }\n\n if (!this.state.statusCheckOut && this.state.checkOut && this.sigPad.isEmpty()) {\n this.props.enqueueSnackbar(\"Assinatura do responsável é necessário!\")\n return;\n }\n\n if (temp.listaConvidados) {\n temp.listaConvidados = [];\n\n this.state.listaConvidados.forEach(item => {\n temp.listaConvidados.push({ id: item.id });\n })\n }\n\n if (temp.ambiente) {\n temp.ambiente = { id: temp.ambiente.id, uk: temp.ambiente.uk };\n }\n if (temp.financeiroContasEntity) {\n temp.financeiroContasEntity = { id: temp.financeiroContasEntity.id, uk: temp.financeiroContasEntity.uk };\n }\n\n delete temp.parcelamentos;\n\n const assinatura = this.sigPad.toDataURL('image/png');\n\n this.setState({ loading: true });\n let agendaData = JSON.stringify({ ...temp })\n\n fetch(Config._HOST + \"/api/documento-agenda\",\n {\n body: agendaData,\n method: this.props.match.params.uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({ loading: false }, () => {\n const { uk } = this.props.match.params;\n\n if (data.status === 200) {\n if (this.sigPad != null) {\n const dataSend = new FormData();\n\n if (sendFile(dataSend, assinatura, this.state.statusCheckIn ? \"checkout\" : \"checkin\")) {\n handleUploadfile(data.data.uk, 'agenda', dataSend)\n }\n }\n\n if (uk) {\n this.props.history.push(`/admin/agenda/${uk}/visualizar`);\n return;\n }\n }\n })\n }).catch(e => {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n clear = () => {\n this.sigPad.clear()\n }\n\n render() {\n const { uk } = this.props.match.params;\n\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Agenda\"}\n subTitulo={\"Gerenciamento completo de Agendamentos\"}\n />\n\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Agenda\" : \"Cadastro de Agenda\"}\n

    \n \n
    \n
    \n \n
    \n
    \n {this.props.match.params.uk ? (\n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid()) {\n this.setState({ checkIn: value.target.value.toUpperCase() })\n }\n }}\n className=\"form-control\"\n disabled={this.state.statusCheckIn ? true : false}\n />\n \n \n\n {!!this.state.statusCheckIn && (\n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid()) {\n this.setState({ checkOut: value.target.value.toUpperCase() })\n }\n }}\n className=\"form-control\"\n disabled={!this.state.statusCheckOut ? false : true}\n />\n \n \n )}\n \n ) : ''}\n
    \n\n {!this.state.statusCheckIn || !this.state.statusCheckOut ? (\n
    \n <>\n
    \n Assinatura\n
    \n
    \n { this.sigPad = ref }} />\n \n
    \n \n
    \n ) : \"\"}\n\n
    \n
    \n Observação\n
    \n\n
    \n \n \n \n \n \n \n \n
    \n
    \n\n
    \n \n {!!this.state.statusCheckIn && (\n \n
    \n Assinatura Check-In\n
    \n {this.state.statusCheckIn ? (\n \n ) : \"\"}\n \n )}\n\n {!!this.state.statusCheckIn && !!this.state.statusCheckOut && (\n \n
    \n Assinatura Check-Out\n
    \n {this.state.statusCheckOut ? (\n \n ) : \"\"}\n \n )}\n
    \n
    \n\n {(!this.state.statusCheckIn || !this.state.statusCheckOut) && (\n <>\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(agendaCheck);\n","import Config from \"Config\";\nimport moment from 'moment';\nimport React, { Component } from 'react';\nimport { default as InputDropzone } from 'react-dropzone';\nimport { Button, Col, Row } from 'reactstrap';\nimport Swal from 'sweetalert2';\n\nexport default class Dropzone extends Component {\n onDrop = (files) => {\n const { handleChange } = this.props;\n\n if (\"maxFiles\" in this.props && this.props.state.files.length > 0) {\n const { files, filesRemovidos } = this.props.state;\n handleChange(\"files\", files.filter((_, key) => key !== 0));\n handleChange(\"filesRemovidos\", filesRemovidos.concat(files.filter((_, key) => key === 0)));\n }\n\n const filesState = [\n ...this.props.state.files,\n ...files.map(file => Object.assign(file, {\n file: file,\n preview: URL.createObjectURL(file),\n dtCriacao: moment()\n }))\n ];\n\n handleChange(\"files\", filesState);\n };\n\n getIconFile = (file) => {\n let extension = file.name.split(\".\");\n if (extension.length) {\n extension = extension[extension.length - 1]\n\n if (['xlsx', 'xls'].indexOf(extension) >= 0)\n return \n else if (['jpg', 'png'].indexOf(extension) >= 0)\n return \n else if (['csv'].indexOf(extension) >= 0)\n return \n else if (['pdf'].indexOf(extension) >= 0)\n return \n else if (['zip', 'rar'].indexOf(extension) >= 0)\n return \n else if (['docx', 'doc'].indexOf(extension) >= 0)\n return \n else\n return \n }\n }\n\n handleRemove = (index) => {\n const { handleChange } = this.props;\n\n Swal.fire({\n title: 'Você tem certeza que deseja excluir?',\n text: \"Você não poderá reverter isso depois!\",\n icon: 'warning',\n showCancelButton: true,\n confirmButtonColor: '#3085d6',\n cancelButtonColor: '#d33',\n confirmButtonText: 'Sim, excluir!',\n cancelButtonText: 'Cancelar'\n }).then(async (result) => {\n if (result.isConfirmed) {\n const { files, filesRemovidos } = this.props.state;\n\n handleChange(\"files\", await files.filter((_, key) => key !== index));\n handleChange(\"filesRemovidos\", await filesRemovidos.concat(files.filter((_, key) => key === index)));\n }\n })\n }\n\n render() {\n return (\n
    \n \n {({ getRootProps, getInputProps }) => (\n
    \n \n

    Clique aqui ou arraste seus arquivos

    \n
    \n )}\n
    \n\n
      \n {this.props.state.files.map((file, key) => {\n return (\n
    • \n \n \n \n {this.getIconFile(file)}\n {file.name}\n \n \n {file.dtCriacao && moment(file.dtCriacao).format('DD/MM/YYYY HH:mm:ss')}\n \n \n \n {!!file.id && (\n \n \n \n )}\n \n \n \n
    • \n )\n })}\n
    \n
    \n );\n }\n}\n","\nconst STATUS_ATIVO = 1;\nconst STATUS_INATIVO = 2;\nconst STATUS_FALECIDO = 3;\n// const STATUS_PUBLICO = 4;\nconst STATUS_SUSPENSO = 5;\nconst STATUS_IRREGULAR = 6;\nconst STATUS_INADIMPLENTE = 7;\nconst STATUS_DESLIGADO = 8;\nconst STATUS_LICENCIADO = 9;\nconst STATUS_BLOQUEADO = 10;\n\nconst getAccessWithStatus = acesso => {\n let access = [];\n\n for (let i = 1; i <= 10; i++) {\n const hasAccess = hasAccessWithStatus(i, acesso);\n if(hasAccess) access.push(i);\n }\n\n return access;\n}\n\nconst hasAccessWithStatus = (statusAcesso, acesso) => {\n if(statusAcesso === STATUS_ATIVO) {\n if(acesso === \"App\") return true;\n if(acesso === \"AcessoClube\") return true;\n if(acesso === \"Reserva\") return true;\n if(acesso === \"Inscrição\") return true;\n }\n else if(statusAcesso === STATUS_IRREGULAR) {\n if(acesso === \"App\") return true;\n if(acesso === \"AcessoClube\") return true;\n if(acesso === \"Reserva\") return true;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_INADIMPLENTE) {\n if(acesso === \"App\") return true;\n if(acesso === \"AcessoClube\") return true;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_BLOQUEADO) {\n if(acesso === \"App\") return true;\n if(acesso === \"AcessoClube\") return false;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_INATIVO) {\n if(acesso === \"App\") return true;\n if(acesso === \"AcessoClube\") return false;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_LICENCIADO) {\n if(acesso === \"App\") return true;\n if(acesso === \"AcessoClube\") return false;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_SUSPENSO) {\n if(acesso === \"App\") return false;\n if(acesso === \"AcessoClube\") return false;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_FALECIDO) {\n if(acesso === \"App\") return false;\n if(acesso === \"AcessoClube\") return false;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n else if(statusAcesso === STATUS_DESLIGADO) {\n if(acesso === \"App\") return false;\n if(acesso === \"AcessoClube\") return false;\n if(acesso === \"Reserva\") return false;\n if(acesso === \"Inscrição\") return false;\n }\n\n return false;\n}\n\n\nexport { getAccessWithStatus, hasAccessWithStatus };\n","import { ButtonGroup, CircularProgress, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport TextField from '@material-ui/core/TextField';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport moment from 'moment';\nimport 'moment-business-days';\nimport { withSnackbar } from \"notistack\";\nimport numeral from 'numeral';\nimport React from \"react\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport IntlCurrencyInput from \"react-intl-currency-input\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Button, Card, CardBody, CardHeader, Col, Container, Form, FormGroup, Input, Row, Table } from \"reactstrap\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport api from \"services/api\";\nimport Dropzone from \"views/components/Dropzone\";\nimport { handleDeleteFile } from \"utils/file\";\nimport { handleUploadArrayFile } from \"utils/file\";\nimport { getAccessWithStatus } from \"utils/StatusAcesso\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nconst currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nclass agendaCrud extends React.Component {\n\n state = {\n dataAmbiente: [],\n dataResponsavelFinanceiro: [],\n dataResponsavel: [],\n parcelamentos: [],\n numeroParcelas: 1,\n status: 0,\n autorizado: null,\n emitir_boleto: true,\n files: [],\n filesRemovidos: [],\n gerarBoletoLoading: false,\n emitirBoletoVia: 'Viacredi'\n }\n\n componentDidMount() {\n const { uk } = this.props.match.params;\n\n this.findAllAmbiente();\n !!uk && this.findBy();\n }\n\n findAllResponsavel = () => {\n this.setState({ loading: true });\n\n const params = {\n _limit: 100,\n profile: {\n id: [2, 3]\n }\n };\n\n fetch(Config._HOST + `/api/user?${jsonToUrlFilter(params)}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n dataResponsavelFinanceiro: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n findBy = async () => {\n const { uk } = this.props.match.params;\n this.setState({ loading: true });\n const response = await api.get(\"/api/documento-agenda/\" + uk);\n\n if (response.status === 200) {\n const numeroParcelas = response.data.financeiroContasEntity && 'numeroParcelas' in response.data.financeiroContasEntity ? response.data.financeiroContasEntity.numeroParcelas : 0;\n response.data[\"dtInicioHorario\"] = moment(response.data[\"dtInicio\"]).format('HH:mm:ss');\n response.data[\"dtInicio\"] = moment(response.data[\"dtInicio\"]).format('YYYY-MM-DD');\n response.data[\"parcelamentos\"] = !!response.data.financeiroContasEntity ? response.data.financeiroContasEntity.parcelamentos : [];\n\n let responseFiles = await api.get(`/api/bucket?${jsonToUrlFilter({ owner: uk, key: \"reserva\" })}`);\n this.setState({ ...this.state, ...response.data, files: responseFiles.data, numeroParcelas });\n }\n }\n\n findAllAmbiente = () => {\n this.setState({ loading: true });\n\n fetch(Config._HOST + \"/api/ambiente?_limit=9999&ativo=true&permitir_locacao=true&_sort=nome\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n dataAmbiente: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false });\n })\n }\n\n delete() {\n this.setState({ loading: true });\n\n let dataUser = JSON.stringify(this.state);\n fetch(Config._HOST + \"/api/documento-agenda/\" + this.props.match.params.uk,\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem);\n this.setState({ loading: false }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/agenda\");\n }\n })\n }).catch(e => {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\");\n })\n }\n\n async create() {\n let temp = { ...this.state };\n const { uk } = this.props.match.params;\n\n if (!this.state.ambiente) {\n this.props.enqueueSnackbar(\"Selecione um Ambiente\")\n return;\n }\n\n if (!this.state.responsavel) {\n this.props.enqueueSnackbar(\"Selecione um Responsável\")\n return;\n }\n\n if (!moment(moment(temp.dtInicio).format('YYYY-MM-DD') + \"T\" + temp.dtInicioHorario).isValid()) {\n this.props.enqueueSnackbar(\"Defina um horário de início válido\")\n return;\n }\n\n temp.dtInicio = moment(temp.dtInicio).format('YYYY-MM-DD') + \"T\" + temp.dtInicioHorario;\n temp.dtFim = moment(temp.dtInicio).format('YYYY-MM-DD') + \"T23:59:00\";\n delete temp.files;\n delete temp.filesRemovidos;\n\n this.setState({ loading: true });\n\n if (this.state.status === 4) {\n this.setState({\n parcelamentos: [],\n valorAluguel: null,\n numeroParcelas: 0\n });\n }\n\n let response = null;\n\n delete temp.responsavel.profile;\n\n temp.parcelamentos = temp.parcelamentos.map(item => {\n if(temp.emitir_boleto) {\n item.emitirBoletoVia = temp.emitirBoletoVia;\n }\n return item;\n });\n\n if (!!uk) {\n temp.financeiroContasEntity = { id: temp.financeiroContasEntity.id };\n temp.responsavel = { id: temp.responsavel.id };\n\n temp.parcelamentos = temp.parcelamentos.map(item => {\n item.financeiroContasEntity = { id: item.financeiroContasEntity.id };\n return item;\n })\n\n response = await api.put('/api/documento-agenda', temp);\n }\n else {\n response = await api.post(`/api/documento-agenda?emitir_boleto=${this.state.emitir_boleto ? 1 : 0}`, temp);\n }\n\n if (response.status === 200) {\n await handleDeleteFile(this.state.filesRemovidos);\n await handleUploadArrayFile(uk, 'reserva', this.state.files);\n this.props.enqueueSnackbar(`Reserva ${!!uk ? 'atualizada' : 'cadastrada'} com sucesso!`);\n this.props.history.push(`/admin/agenda/${response.data.uk}/visualizar`);\n }\n else if ('mensagem' in response.data) {\n this.props.enqueueSnackbar(response.data.mensagem);\n }\n else {\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n }\n\n this.setState({ loading: false });\n }\n\n searchAssociado = async (search) => {\n if (!search) return;\n\n const filter = {\n _limit: 50,\n _order: 'ASC',\n _sort: \"name\",\n profile: { id: [2, 4] },\n status_acesso: getAccessWithStatus(\"Reserva\")\n };\n\n this.setState({ loadClientes: true });\n const response = await api.get(`/api/user?name_like=${search}&${jsonToUrlFilter(filter)}`);\n const response2 = await api.get(`/api/user?numero_titulo_like=${search}&${jsonToUrlFilter(filter)}`);\n const response3 = await api.get(`/api/user?cpf_orcnpj_like=${search}&${jsonToUrlFilter(filter)}`);\n\n if (response && response2 && response3) {\n this.setState({\n dataResponsavelFinanceiro: [...response.data, ...response2.data, ...response3.data],\n loadClientes: false,\n })\n }\n else {\n this.setState({ loadClientes: false })\n }\n }\n\n handleChangeDropzone = (key, value) => {\n this.setState({ [key]: value });\n }\n\n handleGerarBoleto = async parcelaId => {\n this.setState({ gerarBoletoLoading: true });\n const response = await api.post(`/api/boleto/${parcelaId}`);\n\n if(!!response) {\n await this.findBy();\n }\n else {\n this.props.enqueueSnackbar(\"Ocorreu um erro ao gerar o boleto!\")\n }\n\n this.setState({ gerarBoletoLoading: false });\n }\n\n render() {\n const { uk } = this.props.match.params;\n const disabled = !!uk;\n\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={uk ? 'Editar Reserva' : 'Nova Reserva'}\n subTitulo={\"Gerenciamento completo de Agendamentos\"}\n />\n\n \n \n \n \n \n \n \n

    \n {uk ? \"Atualizar Agenda\" : \"Cadastro de Agenda\"}\n

    \n \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n {\n this.setState({ descricao: value.target.value.toUpperCase() })\n }}\n />\n \n \n \n \n \n \n \n \n \n {uk && this.state.ambiente ? (\n \n ) : (\n {\n const ambiente = value.target.value;\n const { numeroParcelas } = this.state;\n let parcelamentosTmp = [];\n\n for (let i = 0; i < numeroParcelas; i++) {\n parcelamentosTmp.push({\n parcela: i + 1,\n status: 0,\n valorPagamento: ambiente.valorAluguelAssociado / numeroParcelas,\n dtVencimento: moment().businessAdd(2).add(i, 'months').format('YYYY-MM-DD\\\\T23:59:00')\n });\n }\n\n this.setState({\n ambiente,\n valorAluguel: ambiente.valorAluguelAssociado,\n listaItens: ambiente.listaItens,\n parcelamentos: parcelamentosTmp\n })\n }}\n >\n Selecione\n {this.state.dataAmbiente.map(single => (\n {single.nome}\n ))}\n \n )}\n \n \n \n \n \n \n {uk && this.state.responsavel ? (\n \n ) : (\n `(${!!option.numeroTitulo ? option.numeroTitulo : option.cpfOrcnpj}) ${option.name}`}\n onChange={(_, newValue) => this.setState({ responsavel: newValue })}\n onInputChange={(_, value) => this.searchAssociado(value)}\n inputMode={\"text\"}\n loading={this.state.loadingCliente}\n value={this.state.responsavel}\n renderOption={(option) => (\n {`(${!!option.numeroTitulo ? option.numeroTitulo : option.cpfOrcnpj}) ${option.name}`}\n )}\n renderInput={params => (\n \n {this.state.loadClientes ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n )}\n \n \n \n \n \n \n {\n this.setState({ autorizado: value.target.value.toUpperCase() })\n }}\n />\n \n \n \n\n \n
    \n\n
    \n HORÁRIO\n
    \n
    \n \n \n \n \n {\n if (moment(value.target.value).isValid()) {\n this.setState({ dtInicio: value.target.value })\n }\n }}\n className=\"form-control\"\n disabled={disabled}\n />\n \n \n \n \n \n {\n this.setState({ dtInicioHorario: value.target.value.toUpperCase() })\n }}\n className=\"form-control\"\n />\n \n \n \n
    \n\n
    \n Lista de Itens do Ambiente\n
    \n\n
    \n \n \n \n \n \n \n \n
    \n\n
    \n
    Anexo
    \n
    \n \n \n \n \n \n
    \n\n
    \n
    \n \n \n \n \n CANCELAR\n \n \n \n \n \n \n \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n\n renderTotalParcelamento() {\n const { parcelamentos, numeroParcelas } = this.state;\n\n return (\n <>\n {parcelamentos.map((item, id) => (\n \n \n 0 ? numeral((this.state.valorAluguel / (numeroParcelas > 0 ? numeroParcelas : 1))).format('$ 0,0.00') : \"\"}`}\n />\n \n \n {\n let parcelamentosTmp = [...parcelamentos];\n parcelamentosTmp[id] = {\n ...item,\n dtVencimento: moment(value.target.value).format('YYYY-MM-DD\\\\T23:59:00')\n };\n\n this.setState({ parcelamentos: parcelamentosTmp });\n }}\n className=\"form-control\"\n />\n \n \n ))}\n \n )\n }\n\n renderTotalParcelamentoEdit() {\n const { uk } = this.props.match.params;\n const disabled = !!uk;\n const { financeiroContasEntity, gerarBoletoLoading } = this.state;\n if (!financeiroContasEntity) return;\n\n const total = financeiroContasEntity.parcelamentos.sort((a, b) => {\n if (a.parcela < b.parcela)\n return -1;\n if (a.parcela > b.parcela)\n return 1;\n\n return 0;\n })\n\n return (\n \n \n \n {financeiroContasEntity.recorrencia === 'Parcelado' && (\n \n )}\n \n \n \n {financeiroContasEntity.tipoPagamento.id === 1 && (\n \n )}\n \n \n \n {total.map(single => {\n return (\n \n {financeiroContasEntity.recorrencia === 'Parcelado' && (\n \n )}\n \n \n \n = 0 ? this.state[`status${single.uk}`] : single.status}\n onChange={value => {\n this.setState({\n [value.target.value]: single.uk\n })\n }}\n disabled\n >\n Aguardando pagamento\n Confirmado\n Cancelado\n Vencido\n \n \n \n \n \n \n \n )\n })}\n \n
    ParcelasValorStatusData VencimentoLink Boleto
    {single.parcela}ª Parcela\n \n \n
    \n {\n if (!moment(value.target.value).isValid()) return;\n }}\n onBlur={(value) => {\n this.setState({\n [value.target.value]: single.uk\n });\n }}\n className=\"form-control\"\n disabled={disabled}\n />\n \n {financeiroContasEntity.tipoPagamento.id === 1 && !!single.linkBoleto ? (\n \n \n Link Boleto\n \n ) : financeiroContasEntity.tipoPagamento.id === 1 ? (\n \n ) : (\n Não disponivel\n )}\n
    \n )\n }\n}\n\nexport default withSnackbar(agendaCrud);\n","import React from \"react\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport moment from 'moment'\nimport 'react-big-calendar/lib/css/react-big-calendar.css';\nimport { Card, Container, Row } from \"reactstrap\";\nimport CardBody from \"reactstrap/lib/CardBody\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Col from \"reactstrap/lib/Col\";\nimport { ButtonGroup, List, ListItem, ListItemText } from \"@material-ui/core\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport CardTitle from \"reactstrap/lib/CardTitle\";\nimport numeral from 'numeral';\nimport { getStatusReserva } from \"utils/StatusReserva\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass agendaDocumento extends React.Component {\n\n constructor(props) {\n super(props)\n this.state = {\n listaConvidados: [],\n listaPrestadoresServico: [],\n receitaDespesa: [],\n usuario: {\n name: null,\n uk: null\n },\n ambiente: {\n nome: null\n }\n }\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n this.findBy(this.props.match.params.uk)\n }\n\n findBy = (uk) => {\n this.setState({ loading: true });\n\n fetch(Config._HOST + \"/api/documento-agenda/\" + uk)\n .then(response => response.json())\n .then(response => {\n this.setState({ ...response.data, loading: false })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n render() {\n const { uk } = this.props.match.params;\n const { financeiroContasEntity } = this.state;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n Editar\n \n\n {[1, 4].indexOf(this.state.status) !== -1 && !this.state.checkIn && (\n \n \n Check-In\n \n )}\n\n {[1, 4].indexOf(this.state.status) !== -1 && this.state.checkIn && (\n \n \n Check-Out\n \n )}\n\n {this.state.ambiente.termoReserva && (\n \n \n Termo\n \n )}\n\n {this.state.status !== 4 && !!financeiroContasEntity && (\n \n \n Financeiro\n \n )}\n \n
    \n \n }\n titulo={\"Reserva\"}\n subTitulo={\"Gerenciamento completo de Agendamentos\"}\n />\n\n \n {/* Table */}\n {this.renderContent()}\n \n \n );\n }\n\n renderContent() {\n const { financeiroContasEntity } = this.state;\n let ultimaParcela = null;\n let status = null;\n\n if (this.state.loading) return ;\n\n if (financeiroContasEntity && 'parcelamentos' in financeiroContasEntity && financeiroContasEntity.parcelamentos.length > 0) {\n ultimaParcela = financeiroContasEntity.parcelamentos[financeiroContasEntity.parcelamentos.length - 1];\n }\n\n if ('status' in this.state) {\n status = this.state.status;\n }\n\n return (\n \n \n \n \n
    \n Documento de Agendamento\n
    \n \n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/convidados')}>\n \n \n \n \n
    \n \n
    \n \n
    \n \n Lista de Convidados \n ({this.state.listaConvidados.length}\n /\n {this.state.ambiente.capacidadePessoas})\n \n

    \n Visualizar lista completa de Convidados\n

    \n
    \n
    \n
    \n
    \n \n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/prestadores-servico')}>\n \n \n \n \n
    \n \n
    \n \n
    \n \n Lista de Prestadores de Serviço\n ({this.state.listaPrestadoresServico.length})\n \n

    \n Visualizar lista completa de Prestadores de Serviço\n

    \n
    \n
    \n
    \n
    \n \n
    \n \n \n {!!this.state.responsavel && (\n \n \n \n )}\n\n {!!this.state.responsavel && (\n {\n this.props.history.push('/admin/associado/perfil/' + this.state.responsavel.uk)\n }}>\n \n \n )}\n\n {!!this.state.autorizado && (\n \n \n \n )}\n \n \n \n {(!!ultimaParcela || !!status) && (\n \n 1 ? ultimaParcela.status : status)} />\n \n )}\n \n \n \n \n \n \n\n \n \n \n\n {!!this.state.userDispositivo && (\n \n \n \n )}\n\n \n \n \n\n {!!this.state.observacao && (\n \n \n \n )}\n \n \n
    \n
    \n \n
    \n )\n }\n}\n\nexport default withSnackbar(agendaDocumento);\n","import moment from 'moment';\nimport React, { Component } from 'react';\nimport { Button } from 'reactstrap';\nimport api from 'services/api';\n\nclass ButtonExport extends Component {\n state = {\n loading: false,\n types: {\n pdf: {\n mimeType: `application/pdf`,\n extension: 'pdf',\n buttonText: 'PDF',\n icon: 'fas fa-file-pdf'\n },\n excel: {\n mimeType: `application/octet-stream`,\n extension: 'xlsx',\n buttonText: 'Excel',\n icon: 'fas fa-file-excel'\n }\n }\n }\n\n handleExport = async () => {\n const { type, name, notification } = this.props;\n const { types } = this.state;\n this.setState({ loading: true });\n await api.get(this.props.url, { responseType: 'arraybuffer' }).then(response => {\n if('status' in response && response.status === 400) throw new Error('');\n\n const blob = new Blob([response], { type: types[type].mimeType });\n const url = window.URL.createObjectURL(blob);\n var a = document.createElement(\"a\");\n document.body.appendChild(a);\n a.style = \"display: none\";\n a.href = url;\n a.download = `${!!name ? name : 'Relatório'} - ${moment().format('DD-MM-YYYY HH_mm_ss')}.${types[type].extension}`;\n a.click();\n window.URL.revokeObjectURL(url);\n this.setState({ loading: false });\n }).catch(error => {\n notification(\"Ops, ocorreu um erro ao gerar o relatório!\")\n this.setState({ loading: false });\n });\n }\n\n render() {\n const { type } = this.props;\n const { types, loading } = this.state;\n\n return (\n \n {types[type].buttonText}\n {loading && }\n \n );\n }\n}\n\nexport default ButtonExport;\n","import React, { Component } from \"react\";\nimport { withSnackbar } from \"notistack\";\nimport moment from 'moment'\nimport 'react-big-calendar/lib/css/react-big-calendar.css';\n\n\n// reactstrap components\nimport { Card, CardHeader, Table, Container, Row } from \"reactstrap\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport api from \"services/api\";\nimport ButtonExport from \"utils/ButtonExport\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nclass AgendaConvidados extends Component {\n\n state = {\n data: [],\n loading: false,\n listaConvidados: [],\n ambiente: { capacidadePessoas: 0 },\n usuario: {\n name: null,\n uk: null\n }\n }\n\n componentDidMount() {\n this.findBy(this.props.match.params.uk)\n }\n\n findBy = async (uk) => {\n this.setState({ loading: true });\n\n const response = await api.get(\"/api/documento-agenda/\" + uk);\n const responseListaConvidados = await api.get(`/api/convidado/?documento_agenda_entity.uk=${uk}&_limit=10000&_order=asc&_sort=nome`);\n\n const table_header = [];\n table_header.push({ key: 'Descrição do Evento', value: !!response.data.descricao ? response.data.descricao : '' });\n\n if(!!response.data.autorizado) {\n table_header.push({ key: 'Responsável pela retirada da chave', value: response.data.autorizado });\n }\n\n table_header.push({ key: 'Sócio (a)', value: response.data.responsavel.name });\n table_header.push({ key: 'Telefone', value: response.data.responsavel.listaTelefone.length > 0 ? response.data.responsavel.listaTelefone[0].telefone : '' });\n table_header.push({ key: 'Data', value: moment(response.data.dtInicio).format('DD/MM/YYYY') });\n\n\n this.setState({\n ...response.data,\n listaConvidados: responseListaConvidados.data,\n loading: false,\n export: {\n _view: {\n title: `Lista de Convidados \"${response.data.ambiente.nome}\"`,\n head: 'Nome Completo,Telefone',\n body: 'nome,telefone',\n template: 2,\n table_header: JSON.stringify(table_header)\n },\n _order: 'asc',\n _sort: 'nome',\n _limit: 10000,\n documento_agenda_entity: {\n id: response.data.id\n }\n }\n });\n }\n\n render() {\n const { listaConvidados, ambiente, responsavel, loading, export: exportData } = this.state;\n const { uk } = this.props.match.params;\n\n return (\n <>\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n = ambiente.capacidadePessoas}\n title={listaConvidados.length >= ambiente.capacidadePessoas ? 'Lista excedeu o limite de convidados!' : null}\n >\n NOVO\n \n \n
    \n \n }\n titulo={\"Convidados\"} subTitulo={!!responsavel ? \"Controle geral de convidados de \" + responsavel.name : ''}\n />\n\n \n \n
    \n \n \n

    Convidados ({listaConvidados.length}/{ambiente.capacidadePessoas})

    \n\n {exportData && !!listaConvidados.length && !loading && (\n <>\n \n \n \n )}\n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.listaConvidados.length === 0) {\n return (\n \n

    Não existem convidados cadastrados

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n {this.state.listaConvidados.map(single => (\n \n \n \n \n \n \n ))}\n \n
    NomeTelefoneDATA CADASTROAÇÃO
    {single.nome}{single.telefone ? single.telefone : \"-\"}{moment(single.dtCadastro).format('DD/MM/YYYY HH:mm')}\n
    \n \n \n \n
    \n
    \n
    \n )\n }\n}\n\nexport default withSnackbar(AgendaConvidados);\n","function phoneMask(value) {\n var valueReplace = value.replace(/\\D/g, \"\");\n valueReplace = valueReplace.replace(/^0/, \"\");\n\n if (valueReplace.length > 10)\n valueReplace = valueReplace.replace(/^(\\d\\d)(\\d{5})(\\d{4}).*/, \"($1) $2-$3\");\n else if (valueReplace.length > 5)\n valueReplace = valueReplace.replace(/^(\\d\\d)(\\d{4})(\\d{0,4}).*/, \"($1) $2-$3\");\n else if (valueReplace.length > 2)\n valueReplace = valueReplace.replace(/^(\\d\\d)(\\d{0,5})/, \"($1) $2\");\n else\n valueReplace = valueReplace.replace(/^(\\d*)/, \"($1\");\n\n valueReplace = ['(', '-'].indexOf(valueReplace[valueReplace.length-1]) !== -1 ? valueReplace.slice(0, -1) : valueReplace;\n return valueReplace;\n}\n\n\nexport default phoneMask;\n","import { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport { BoxLoading } from \"react-loadingg\";\nimport { Button, Card, CardBody, CardHeader, Col, Container, Form, FormGroup, Input, Row } from \"reactstrap\";\nimport api from \"services/api\";\nimport phoneMask from \"utils/phoneMask\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nclass AgendaConvidadosCrud extends React.Component {\n\n state = {\n loading: true,\n dataAmbiente: [],\n dataResponsavelFinanceiro: [],\n ambiente: \"0\",\n dataResponsavel: [],\n dresponsavel: \"1\",\n status: \"0\",\n }\n\n async componentDidMount() {\n this.setState({ loading: true });\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.ukConvidado) {\n await this.findBy(this.props.match.params.ukConvidado)\n }\n\n this.setState({ session: user, loading: false });\n }\n\n findBy = async (uk) => {\n const response = await api.get(\"/api/convidado/\" + uk)\n\n if (response.status === 200) {\n this.setState({\n ...response.data,\n ccaixa: (response.data.caixa && response.data.caixa[0] ? response.data.caixa[0].id : null),\n ccategoria: (response.data.categoria && response.data.categoria[0] ? response.data.categoria[0].id : null)\n })\n }\n }\n\n delete() {\n this.setState({ loading: true });\n\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + \"/api/convidado/\" + this.props.match.params.ukConvidado,\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/convidados')\n }\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create() {\n let temp = this.state;\n\n if (!this.state.nome || this.state.nome === \"\") {\n this.props.enqueueSnackbar(\"Campo 'Nome' obrigatório!\")\n return;\n }\n if (!this.state.telefone || this.state.telefone.length < 14) {\n this.props.enqueueSnackbar(\"Campo 'Telefone' obrigatório!\")\n return;\n }\n\n if (this.props.match.params.ukConvidado) {\n temp['documentoAgendaEntity'] = { id: temp['documentoAgendaEntity'] };\n }\n else {\n temp[\"ukDocumentoAgenda\"] = this.props.match.params.uk;\n }\n\n this.setState({ loading: true });\n\n let agendaData = JSON.stringify(temp);\n fetch(Config._HOST + \"/api/convidado\",\n {\n body: agendaData,\n method: this.props.match.params.ukConvidado ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({ loading: false }, () => {\n if (data.status === 200) {\n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/convidados')\n }\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n render() {\n const { uk } = this.props.match.params;\n\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Convidado\"}\n subTitulo={\"\"}\n />\n \n \n \n \n \n \n \n

    \n {this.props.match.params.ukConvidado ? \"Atualizar\" : \"Cadastro\"}\n

    \n \n
    \n
    \n \n
    \n
    \n \n \n \n \n this.setState({ nome: value.target.value.toUpperCase() })}\n value={this.state.nome}\n />\n \n \n \n \n \n this.setState({ telefone: phoneMask(value.target.value) })}\n value={this.state.telefone}\n />\n \n \n \n \n \n this.setState({ observacao: value.target.value.toUpperCase() })}\n value={this.state.observacao}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n {this.props.match.params.ukConvidado && (\n \n \n \n \n \n )}\n\n \n \n \n \n \n\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AgendaConvidadosCrud);\n","import moment from 'moment';\nimport { withSnackbar } from \"notistack\";\nimport { Component } from \"react\";\nimport 'react-big-calendar/lib/css/react-big-calendar.css';\n\n\n// reactstrap components\nimport { Card, CardHeader, Container, Row, Table } from \"reactstrap\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport api from \"services/api\";\nimport ButtonExport from \"utils/ButtonExport\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from 'views/components/ButtonControl';\n\n\nclass AgendaPrestadoresServico extends Component {\n\n state = {\n data: [],\n loading: false,\n listaPrestadoresServico: [],\n }\n\n componentDidMount() {\n this.findBy(this.props.match.params.uk)\n }\n\n findBy = async (uk) => {\n this.setState({ loading: true });\n\n const response = await api.get(\"/api/documento-agenda/\" + uk);\n const responseListaPrestadoresServico = await api.get(`/api/documento-agenda/prestadores-servico?documento_agenda_entity.uk=${uk}&_limit=10000&_order=asc&_sort=nome_entregador`);\n\n const table_header = [];\n table_header.push({ key: 'Descrição do Evento', value: !!response.data.descricao ? response.data.descricao : '' });\n\n if(!!response.data.autorizado) {\n table_header.push({ key: 'Responsável pela retirada da chave', value: response.data.autorizado });\n }\n\n table_header.push({ key: 'Sócio (a)', value: response.data.responsavel.name });\n table_header.push({ key: 'Telefone', value: response.data.responsavel.listaTelefone.length > 0 ? response.data.responsavel.listaTelefone[0].telefone : '' });\n table_header.push({ key: 'Data', value: moment(response.data.dtInicio).format('DD/MM/YYYY') });\n\n\n this.setState({\n ...response.data,\n listaPrestadoresServico: responseListaPrestadoresServico.data,\n loading: false,\n export: {\n _view: {\n title: `Lista de Prestadores de Serviço \"${response.data.ambiente.nome}\"`,\n head: 'Nome Entregador,Nome Empresa,Telefone',\n body: 'nome_entregador,nome_empresa,telefone',\n template: 2,\n table_header: JSON.stringify(table_header)\n },\n _order: 'asc',\n _sort: 'nome_entregador',\n _limit: 10000,\n documento_agenda_entity: {\n id: response.data.id\n }\n }\n });\n }\n\n render() {\n const { listaPrestadoresServico, responsavel, loading, export: exportData } = this.state;\n const { uk } = this.props.match.params;\n\n return (\n <>\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Prestadores de Serviço\"} subTitulo={!!responsavel ? \"Controle geral de prestadores de serviço de \" + responsavel.name : ''}\n />\n\n \n \n
    \n \n \n

    Prestadores de Serviço ({listaPrestadoresServico.length})

    \n\n {exportData && !!listaPrestadoresServico.length && !loading && (\n <>\n \n \n \n )}\n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.listaPrestadoresServico.length === 0) {\n return (\n \n

    Não existem prestadores de serviço cadastrados

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.state.listaPrestadoresServico.map(single => (\n \n \n \n \n \n \n \n ))}\n \n
    NOME ENTREGADORNOME EMPRESATELEFONEDATA CADASTROAÇÃO
    {single.nome_entregador}{single.nome_empresa}{single.telefone ? single.telefone : \"-\"}{moment(single.dtCadastro).format('DD/MM/YYYY HH:mm')}\n
    \n \n \n \n
    \n
    \n
    \n )\n }\n}\n\nexport default withSnackbar(AgendaPrestadoresServico);\n","import { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { withSnackbar } from \"notistack\";\nimport { Component } from \"react\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport { BoxLoading } from \"react-loadingg\";\nimport { Button, Card, CardBody, CardHeader, Col, Container, Form, FormGroup, Input, Row } from \"reactstrap\";\nimport api from \"services/api\";\nimport phoneMask from \"utils/phoneMask\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst ROUTE_API = '/api/documento-agenda/prestadores-servico';\n\nclass AgendaPrestadoresServicoCrud extends Component {\n\n state = {\n loading: true,\n }\n\n async componentDidMount() {\n this.setState({ loading: true });\n await this.findDocumentoAgenda(this.props.match.params.uk);\n\n if (this.props.match.params.id) {\n await this.findBy(this.props.match.params.id);\n }\n\n this.setState({ loading: false });\n }\n\n findDocumentoAgenda = async (uk) => {\n const response = await api.get(\"/api/documento-agenda/\" + uk);\n this.setState({ documento_agenda_entity: { id: response.data.id } });\n }\n\n findBy = async (id) => {\n const response = await api.get(ROUTE_API + '/' + id);\n this.setState({ ...response, documento_agenda_entity: { id: response.documento_agenda_entity } })\n }\n\n delete() {\n this.setState({ loading: true });\n const response = api.delete(ROUTE_API + '/' + this.props.match.params.id);\n\n if(response) {\n this.setState({ loading: false });\n this.props.enqueueSnackbar('Deletado com sucesso!');\n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/prestadores-servico');\n }\n else {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n }\n }\n\n create = async () => {\n let data = this.state;\n\n if (!this.state.nome_entregador || this.state.nome_entregador === \"\") {\n this.props.enqueueSnackbar(\"Campo 'Nome Entregador' obrigatório!\")\n return;\n }\n if (!this.state.nome_empresa || this.state.nome_empresa === \"\") {\n this.props.enqueueSnackbar(\"Campo 'Nome Empresa' obrigatório!\")\n return;\n }\n if (!this.state.telefone || this.state.telefone.length < 14) {\n this.props.enqueueSnackbar(\"Campo 'Telefone' obrigatório!\")\n return;\n }\n\n this.setState({ loading: true });\n const id = this.props.match.params.id !== undefined ? this.props.match.params.id : '';\n const response = !!id ? await api.put(`${ROUTE_API}/${id}`, data) : await api.post(`${ROUTE_API}`, data);\n\n if(!response || ('status' in response && response.status !== 200)) {\n this.props.enqueueSnackbar(\"Ops, ocorreu um erro!\");\n }\n else {\n this.props.enqueueSnackbar(id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\");\n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/prestadores-servico');\n }\n\n this.setState({ loading: false });\n }\n\n render() {\n const { uk } = this.props.match.params;\n\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Prestadores de Serviço\"}\n subTitulo={\"\"}\n />\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar\" : \"Cadastro\"}\n

    \n \n
    \n
    \n \n
    \n
    \n \n \n \n \n this.setState({ nome_entregador: value.target.value.toUpperCase() })}\n value={this.state.nome_entregador}\n />\n \n \n \n \n \n this.setState({ nome_empresa: value.target.value.toUpperCase() })}\n value={this.state.nome_empresa}\n />\n \n \n \n \n \n this.setState({ telefone: phoneMask(value.target.value) })}\n value={this.state.telefone}\n />\n \n \n\n \n \n \n this.setState({ observacao: value.target.value.toUpperCase() })}\n value={this.state.observacao}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n {this.props.match.params.id && (\n \n \n \n \n \n )}\n\n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AgendaPrestadoresServicoCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { Component } from \"react\";\n\n// reactstrap components\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Badge, Button, Card, CardHeader, Container, Row, Table } from \"reactstrap\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass AgendaBloqueio extends Component {\n state = {\n data: [],\n };\n\n async componentDidMount() {\n await this.findAll()\n }\n\n findAll = async () => {\n this.setState({ loading: true });\n const filterData = {\n _limit: 999,\n \"data_fim>=\": moment().format('YYYY-MM-DD'),\n _order: 'asc',\n _sort: 'data_inicio',\n }\n const response = await api.get(`/api/agenda/bloqueio?${jsonToUrlFilter(filterData)}`);\n this.setState({ data: response.data, loading: false });\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/agenda/bloqueio/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem bloqueios cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(item => (\n \n \n \n \n \n {/* */}\n \n \n \n ))}\n \n
    DESCRIÇÃODATA INÍCIODATA FIMAMBIENTEDIAS DA SEMANAAÇÃO
    {item.descricao}{moment(item.data_inicio).format('DD/MM/yyyy')}{moment(item.data_fim).format('DD/MM/yyyy')}\n {item.ambientes.length > 0 && {item.ambientes[0].nome}}\n {item.ambientes.length-1 > 0 && +{item.ambientes.length-1}}\n {item.ambientes.map(ambiente => {ambiente.nome})}\n Segunda\n Terça\n Quarta\n Quinta\n Sexta\n Sábado\n Domingo\n \n
    \n \n \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Bloqueio da Agenda\"}\n subTitulo={\"Módulo de Gestão de bloqueio da agenda\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AgendaBloqueio);\n","import React, { Component } from 'react';\nimport { confirmAlert } from 'react-confirm-alert';\nimport { Button, Col, Row } from 'reactstrap';\n\nexport default class FormButtonAction extends Component {\n render() {\n const { isEdit, isDisabled, cancel, create, history } = this.props;\n\n return (\n <>\n
    \n\n
    \n \n \n \n \n \n {\n confirmAlert({\n title: isEdit\n ? 'Deseja confirmar a atualização?'\n : 'Deseja confirmar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n { label: 'Sim', onClick: create }\n ]\n })\n }\n }>\n \n {isEdit ? \"ATUALIZAR\" : \"CADASTRAR\"}\n \n \n \n
    \n \n );\n }\n}\n","import { Component } from 'react';\nimport { FormControl, MenuItem, Select } from '@material-ui/core';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n
    \n \n \n \n \n handleChange('descricao', value.target.value.toUpperCase())}\n />\n \n \n \n \n \n handleChange('data_inicio', value.target.value)}\n />\n \n \n \n \n \n handleChange('data_fim', value.target.value)}\n />\n \n \n \n \n \n \n handleChange('diasSemana', value.target.value)}\n multiple={true}\n >\n Segunda\n Terça\n Quarta\n Quinta\n Sexta\n Sábado\n Domingo\n \n \n \n \n \n \n \n \n handleChange('ambientes', value.target.value)}\n multiple={true}\n >\n {state.dataAmbientes.map(ambiente => {\n return {ambiente.nome}\n })}\n \n \n \n \n\n \n
    \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { Component } from \"react\";\n\n// reactstrap components\nimport { Card, CardBody, CardHeader, Col, Container, Form, Row } from \"reactstrap\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { withSnackbar } from \"notistack\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\n\nimport 'rodal/lib/rodal.css';\nimport api from \"services/api\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport FormFields from \"./Form/FormFields\";\nimport { BoxLoading } from \"react-loadingg\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/agenda/bloqueio';\nconst ROUTE_API = '/api/agenda/bloqueio';\n\nclass AgendaBloqueioCrud extends Component {\n\n state = {\n ambientes: [],\n dataAmbientes: [],\n diasSemana: ['segunda', 'terca', 'quarta', 'quinta', 'sexta', 'sabado', 'domingo']\n }\n\n async componentDidMount() {\n this.setState({ loading: true });\n if (this.props.match.params.id) await this.findBy();\n await this.findAmbientes();\n this.setState({ loading: false });\n }\n\n findBy = async () => {\n const { id } = this.props.match.params;\n const response = await api.get(`${ROUTE_API}/${id}`);\n let diasSemana = [];\n\n if(response.segunda) diasSemana.push('segunda');\n if(response.terca) diasSemana.push('terca');\n if(response.quarta) diasSemana.push('quarta');\n if(response.quinta) diasSemana.push('quinta');\n if(response.sexta) diasSemana.push('sexta');\n if(response.sabado) diasSemana.push('sabado');\n if(response.domingo) diasSemana.push('domingo');\n\n this.setState({ ...response, diasSemana, ambientes: response.ambientes.map(item => item.id) });\n }\n\n findAmbientes = async () => {\n const response = await api.get(\"/api/ambiente?_limit=9999&ativo=true&permitir_locacao=true&_sort=nome\");\n this.setState({ dataAmbientes: response.data });\n }\n\n create = async () => {\n this.setState({ loading: true });\n const { id } = this.props.match.params;\n const data = {\n ...this.state,\n segunda: this.state.diasSemana.indexOf('segunda') >= 0,\n terca: this.state.diasSemana.indexOf('terca') >= 0,\n quarta: this.state.diasSemana.indexOf('quarta') >= 0,\n quinta: this.state.diasSemana.indexOf('quinta') >= 0,\n sexta: this.state.diasSemana.indexOf('sexta') >= 0,\n sabado: this.state.diasSemana.indexOf('sabado') >= 0,\n domingo: this.state.diasSemana.indexOf('domingo') >= 0,\n ambientes: this.state.ambientes.map(item => {\n return { id: item };\n })\n }\n\n const response = !!id ? await api.put(`${ROUTE_API}/${id ? id : ''}`, data) : await api.post(ROUTE_API, data);\n\n if(!!response) {\n this.props.enqueueSnackbar(!!id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\");\n this.props.history.push(HISTORY_BACK);\n }\n else {\n this.props.enqueueSnackbar(\"Ops, ocorreu um erro!\");\n }\n\n this.setState({ loading: false });\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR BLOQUEIO\" : \"NOVO BLOQUEIO\"}\n subTitulo={\"Gerenciamento dos Bloqueio\"}\n />\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Bloqueio\" : \"Cadastrar Novo Bloqueio\"}\n

    \n \n
    \n
    \n \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AgendaBloqueioCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\nimport { Card, CardHeader, Table, Container, Row, Button } from \"reactstrap\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport Col from \"reactstrap/lib/Col\";\nimport Filter from \"views/components/Filter\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport moment from 'moment';\nimport { getStatusReserva } from \"utils/StatusReserva\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass UltimasReservas extends Component {\n state = {\n data: [],\n loading: false,\n loadingMore: false,\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'desc',\n _sort: 'data_cadastro',\n user_dispositivo: ['not_null'],\n 'data_cadastro>=': moment().subtract(1, 'days').format('YYYY-MM-DD'),\n 'data_cadastro<=': moment().subtract(1, 'days').format('YYYY-MM-DD')\n }\n };\n\n componentDidMount() {\n this.findReservas();\n }\n\n findReservas = async (removeData = true) => {\n const { data, filter, loading } = this.state;\n if (loading) return;\n\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n if ('numero_titulo' in filter && filter.numero_titulo.length === 0) {\n delete filter.numero_titulo;\n }\n\n if ('name_like' in filter && filter.name_like.length === 0) {\n delete filter.name_like;\n }\n\n const date = {\n 'data_cadastro>=': filter['data_cadastro>='] + \" 00:00:00\",\n 'data_cadastro<=': filter['data_cadastro<='] + \" 23:59:59\"\n }\n\n const response = await api.get(`/api/documento-agenda?${jsonToUrlFilter({...filter, ...date})}`);\n\n if (response) {\n if (removeData) {\n this.setState({\n ...response,\n loading: false,\n loadingMore: false\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data],\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.findReservas(false);\n });\n }\n\n handleLimpar = () => {\n this.setState({\n data: [],\n length: 0,\n total_data: 0,\n filter: {\n _limit: 50,\n _order: 'ASC',\n _sort: \"name\",\n profile: { id: [2, 3] },\n status_acesso: [1, 2, 3, 5, 6, 7, 8, 9, 10]\n }\n }, () => {\n this.findReservas();\n });\n\n }\n\n renderContent() {\n const { data, length, total_pages, filter, loading } = this.state;\n\n if (loading) return ;\n\n if (length === undefined || length === 0) {\n return (\n \n

    Nenhum Reserva Encontrada!

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {data.map(single => {\n return (\n \n \n \n \n \n \n \n \n )\n })}\n \n
    DATA CRIAÇÃOAMBIENTESÓCIOSTATUSAPPAÇÃO
    {moment(single.dataCadastro).format('DD/MM/YYYY HH:mm')}{single.ambiente.nome}{single.responsavel.name}{getStatusReserva(single.status)}{!!single.userDispositivo ? \"Sim\" : \"Não\"}\n
    \n \n \n \n
    \n
    \n\n {filter._page < total_pages && (\n \n )}\n\n
    \n )\n }\n\n render() {\n const { filter, total_data } = this.state;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"ÚLTIMAS RESERVAS\"}\n subTitulo={\"Gerenciamento completo de Agendamentos\"}\n />\n \n \n \n \n \n

    Reservas ({total_data ? total_data : 0})

    \n \n \n \n =']} onChange={value => this.setState({ filter: { ...filter, 'data_cadastro>=': value.target.value } })} />\n \n Até\n \n this.setState({ filter: { ...filter, 'data_cadastro<=': value.target.value } })} />\n \n \n \n {\n this.setState({ filter: { ...filter, user_dispositivo: value.target.value } });\n }}\n multiple={true}\n >\n Aplicativo\n Sistema\n \n \n \n \n \n
    \n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n\n}\n\nexport default withSnackbar(UltimasReservas);\n","import { FormControl, MenuItem, Select } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\n\nexport default class InformacoesGerais extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n
    \n \n \n \n \n handleChange(\"corFundo\", value.target.value.toUpperCase())}\n />\n \n \n \n \n \n handleChange(\"corTexto\", value.target.value.toUpperCase())}\n />\n \n \n \n \n \n \n \n handleChange(\"nome\", value.target.value.toUpperCase())}\n value={state.nome ? state.nome : ''}\n />\n \n \n\n \n \n \n handleChange(\"descricao\", value.target.value.toUpperCase())}\n value={state.descricao ? state.descricao : ''}\n />\n \n \n\n \n \n \n handleChange(\"listaItens\", value.target.value.toUpperCase())}\n />\n \n \n\n \n \n \n handleChange(\"ativo\", value.target.value)}\n >\n Não\n Sim\n \n \n \n\n {state.ativo && (\n \n \n \n handleChange(\"permitirLocacao\", value.target.value)}\n >\n Não\n Sim\n \n \n \n )}\n\n \n\n {state.ativo && state.permitirLocacao && (\n \n \n \n \n handleChange(\"permitirLocacaoApp\", value.target.value)}\n >\n Não\n Sim\n \n \n \n\n \n \n \n handleChange(\"permitirAluguelSimultaneo\", value.target.value)}\n >\n Não\n Sim\n \n \n \n\n \n \n \n handleChange(\"capacidadePessoas\", value.target.value.toUpperCase())}\n />\n \n \n \n )}\n\n
    \n );\n }\n}\n","import { FormControl, TextField } from '@material-ui/core';\nimport { Autocomplete } from '@material-ui/lab';\nimport React, { Component } from 'react';\nimport IntlCurrencyInput from \"react-intl-currency-input\";\nimport { Col, FormGroup, Row } from 'reactstrap';\n\nconst currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nexport default class Financeiro extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n
    \n \n\n \n \n \n handleChange(\"valorAluguelAssociado\", value)}\n />\n \n \n\n \n \n \n option.nome}\n onChange={(_, value) => handleChange(\"caixa\", value)}\n inputMode=\"text\"\n key=\"caixas\"\n value={state.caixa}\n multiple={false}\n renderOption={option => {option.nome}}\n renderInput={params => (\n \n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n\n \n \n \n `(${option.codigo}) ${option.nome}`}\n onChange={(_, value) => handleChange(\"categoria\", value)}\n inputMode=\"text\"\n key=\"categorias\"\n value={state.categoria}\n multiple={false}\n renderOption={option => ({option.codigo}) {option.nome}}\n renderInput={params => (\n \n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n
    \n );\n }\n}\n","import { FormControl, TextField } from '@material-ui/core';\nimport { Autocomplete } from '@material-ui/lab';\nimport React, { Component } from 'react';\nimport { Col, Row } from 'reactstrap';\n\nexport default class Termos extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n
    \n \n \n \n \n option.nome}\n onChange={(_, value) => handleChange(\"termoReserva\", value)}\n inputMode=\"search\"\n value={state.termoReserva}\n multiple={false}\n renderOption={option => {option.codigo} {option.nome} }\n renderInput={params => (\n \n {/* {state.loadCategorias ? : null} */}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n
    \n );\n }\n}\n","import React, { Component } from 'react';\nimport InformacoesGerais from './InformacoesGerais';\nimport Financeiro from './Financeiro';\nimport Termos from './Termos';\n\nexport default class FormFields extends Component {\n render() {\n return (\n <>\n
    Informações Gerais
    \n \n\n {this.props.state.permitirLocacao && (\n <>\n
    \n
    Termos
    \n \n \n )}\n\n
    \n
    Financeiro
    \n \n \n );\n }\n}\n","import api from \"services/api\";\n\nexport const findCategorias = async (filter = '') => await api.get(`/api/financeiro/categoria?${filter}`);\n\nexport const findAllDocumentoCategorias = async (filter = '') => await api.get(`/api/documentos/categorias?${filter}`);\n\nexport const findAllPdfs = async (filter = '') => await api.get(`/api/pdf?${filter}`);\n","import React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport FormFields from \"views/pages/Ambientes/Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport { findCategorias, findAllPdfs } from \"utils/find\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { BoxLoading } from \"react-loadingg\";\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/ambientes';\nconst ROUTE_API = '/api/ambiente';\n\nclass AmbienteCrud extends React.Component {\n state = {\n permitirLocacao: false,\n permitirLocacaoApp: false,\n categorias: [],\n categoria: null,\n caixas: [],\n caixa: null,\n pdfs: [],\n termoReserva: null,\n corFundo: '#000000',\n corTexto: '#ffffff',\n capacidadePessoas: null\n }\n\n async componentDidMount() {\n const { id } = this.props.match.params;\n\n this.setState({ loading: true })\n await this.findAllCaixa();\n\n const response = await findCategorias(jsonToUrlFilter({ _limit: 999, _order: 'ASC', _sort: \"nome\" }));\n this.setState({ categorias: response.data });\n\n const responsePdf = await findAllPdfs(jsonToUrlFilter({ _limit: 999, _order: 'ASC', _sort: \"nome\" }));\n this.setState({ pdfs: responsePdf.data });\n\n if (!!id) await this.findBy();\n this.setState({ loading: false });\n }\n\n findBy = async () => {\n const { id } = this.props.match.params;\n const response = await api.get(`${ROUTE_API}/${id}`);\n console.log(response)\n this.setState({ ...response })\n }\n\n findAllCaixa = async () => {\n const response = await api.get(\"/api/financeiro/caixa\");\n this.setState({ caixas: response.data })\n }\n\n create = async () => {\n if (!this.state.nome) {\n this.props.enqueueSnackbar(\"Cadastre um nome\");\n return;\n }\n\n if (!this.state.caixa) {\n this.props.enqueueSnackbar(\"Selecione uma Conta\");\n return;\n }\n\n if (!this.state.categoria) {\n this.props.enqueueSnackbar(\"Selecione uma Categoria de Reserva\");\n return;\n }\n\n this.setState({ loading: true })\n const { id } = this.props.match.params;\n let data = this.state;\n const response = !id ? await api.post(ROUTE_API, data) : await api.put(`${ROUTE_API}/${id}`, data);\n\n if(!!response) {\n this.props.enqueueSnackbar(id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\");\n this.props.history.push(HISTORY_BACK);\n }\n else {\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro, tente novamente mais tarde.\")\n }\n\n this.setState({ loading: false })\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Ambientes\"}\n subTitulo={(this.props.match.params.id ? \"Atualizar Ambiente\" : \"Cadastrar nova Ambiente\")} />\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Ambiente\" : \"Cadastro de Ambiente\"}\n

    \n \n
    \n
    \n \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AmbienteCrud);\n","import React from \"react\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-big-calendar/lib/css/react-big-calendar.css';\n\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport { Card, CardHeader, Table, Container, Row } from \"reactstrap\";\n\n// const { width, height } = { width: window.innerWidth, height: window.innerHeight }\n\nclass Ambiente extends React.Component {\n state = {\n data: [],\n dataComplete: [],\n loading: true\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true });\n\n fetch(Config._HOST + \"/api/ambiente?_limit=9999&_sort=nome\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n data: response.data,\n dataComplete: response.status === 200 ? response.data : []\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n render() {\n return (\n <>\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n Setores\n \n \n
    \n \n }\n titulo={\"AMBIENTES\"} subTitulo={\"Controle geral de Ambientes\"}\n />\n\n \n \n
    \n \n \n

    Total ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.data.length === 0) {\n return (\n \n

    Não existem ambientes cadastradas

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n \n )\n })}\n \n
    NOMEDESCRIÇÃOLOCAÇÃOLOCAÇÃO PELO APPATIVOAÇÃO
    {single.nome}{single.descricao ? single.descricao : \"-\"}{!!single.permitirLocacao ? 'Sim' : \"Não\"}{!!single.permitirLocacaoApp ? 'Sim' : \"Não\"}{!!single.ativo ? 'Sim' : \"Não\"}\n
    \n \n \n \n
    \n
    \n
    \n )\n }\n}\n\nexport default withSnackbar(Ambiente);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass AmbienteSetores extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/manutencao/setor')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (uk) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/manutencao/setor`,\n {\n method: 'DELETE',\n body: JSON.stringify({\n uk: uk\n }),\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(data => data.json())\n .then(data => {\n this.setState({ loading: false })\n const dataUpdated = this.state.data.filter(row => row.uk !== uk);\n this.setState({ data: dataUpdated });\n this.props.enqueueSnackbar(data.mensagem)\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem setores cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n )\n })}\n \n
    NOMEAMBIENTEAÇÃO
    {single.nome ? single.nome : \"-\"}{single.ambiente ? single.ambiente.nome : \"-\"}\n
    \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"SETORES DO AMBIENTE\"} subTitulo={\"Módulo de Gestão para Setores dos Ambientes\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Setores ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AmbienteSetores);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport {\n Button,\n Card,\n CardHeader,\n CardBody,\n Form,\n Input,\n Container,\n Row,\n Col\n} from \"reactstrap\";\n\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\n\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\n\nimport 'rodal/lib/rodal.css';\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/ambientes/setores';\n\nclass AmbienteSetorNovo extends React.Component {\n state = {\n ambientes: []\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n fetch(Config._HOST + \"/api/ambiente?_limit=9999\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n ambientes: response.status === 200 ? response.data : [],\n })\n })\n\n this.setState({\n uk: this.props.match.params.uk,\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.match.params.uk) { // cenario para editar\n this.findBy()\n }\n })\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { uk } = this.props.match.params;\n\n fetch(Config._HOST + `/api/manutencao/setor/${uk}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response.data,\n ambienteuk: response.data.ambiente.uk\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n this.setState({ loading: true })\n const uk = this.props.match.params.uk !== undefined ? this.props.match.params.uk : '';\n\n if (!this.state.ambienteuk) {\n this.props.enqueueSnackbar(\"Selecione o Ambiente\")\n return;\n }\n\n let tempState = this.state;\n tempState[\"ambiente\"] = { uk: this.state.ambienteuk }\n\n let dataUser = JSON.stringify(tempState)\n fetch(Config._HOST + `/api/manutencao/setor`,\n {\n body: dataUser,\n method: uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false })\n\n this.props.enqueueSnackbar(data.mensagem)\n this.props.history.push(HISTORY_BACK)\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.uk ? \"EDITAR SETOR DO AMBIENTE\" : \"NOVO SETOR DO AMBIENTE\"}\n subTitulo={\"Gerenciamento Completo dos Setor do Ambiente\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Setor do Ambiente\" : \"Cadastrar Novo Setor do Ambiente\"}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n \n \n \n { this.setState({ ambienteuk: value.target.value }) }}\n value={this.state.ambienteuk ? this.state.ambienteuk : 0}\n >\n Selecione uma opção\n\n {this.state.ambientes.map((value, key) => (\n {value.nome}\n ))}\n\n \n \n \n \n \n \n { this.setState({ nome: value.target.value.toUpperCase() }) }}\n value={this.state.nome ? this.state.nome : ''}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n \n \n\n \n \n\n \n \n \n \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(AmbienteSetorNovo);\n","const getStatusAssociado = status => {\n switch (parseInt(status, 10)) {\n case 1:\n return 'Ativo';\n case 2:\n return 'Inativo';\n case 3:\n return 'Falecido';\n case 4:\n return 'Publico';\n case 5:\n return 'Suspenso';\n case 6:\n return 'Irregular';\n case 7:\n return 'Inadimplente';\n case 8:\n return 'Desligado';\n case 9:\n return 'Licenciado';\n case 10:\n return 'Bloqueado';\n default:\n return 'Sem Acesso'\n }\n};\n\nconst getCorStatusAssociado = status => {\n switch (parseInt(status, 10)) {\n case 1:\n return \"#46a746\";\n case 6:\n return \"#c8c812\";\n case 7:\n return \"#ffa500\";\n default:\n return \"#e72626\";\n }\n};\n\nexport { getStatusAssociado, getCorStatusAssociado };\n","const cpfMask = value => {\n return value\n .replace(/\\D/g, '') // substitui qualquer caracter que nao seja numero por nada\n .replace(/(\\d{3})(\\d)/, '$1.$2') // captura 2 grupos de numero o primeiro de 3 e o segundo de 1, apos capturar o primeiro grupo ele adiciona um ponto antes do segundo grupo de numero\n .replace(/(\\d{3})(\\d)/, '$1.$2')\n .replace(/(\\d{3})(\\d{1,2})/, '$1-$2')\n .replace(/(-\\d{2})\\d+?$/, '$1') // captura 2 numeros seguidos de um traço e não deixa ser digitado mais nada\n}\n\nexport default cpfMask;\n","const cnpjMask = value => {\n return value\n .replace(/\\D/g, '') // substitui qualquer caracter que nao seja numero por nada\n .replace(/^(\\d{2})(\\d)/, \"$1.$2\")\n .replace(/^(\\d{2})\\.(\\d{3})(\\d)/, \"$1.$2.$3\")\n .replace(/\\.(\\d{3})(\\d)/, \".$1/$2\")\n .replace(/(\\d{4})(\\d)/, \"$1-$2\")\n}\n\nexport default cnpjMask;\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\nimport { Card, CardHeader, Media, Table, Container, Row, FormGroup, Input, Button } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport Avatar from '@material-ui/core/Avatar';\nimport Col from \"reactstrap/lib/Col\";\nimport Filter from \"views/components/Filter\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { getStatusAssociado } from \"utils/StatusAssociado\";\nimport cpfMask from \"utils/cpfMask\";\nimport moment from 'moment';\nimport { getCorStatusAssociado } from \"utils/StatusAssociado\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport cnpjMask from \"utils/cnpjMask\";\nimport ButtonExport from \"utils/ButtonExport\";\n\nclass Associados extends Component {\n state = {\n data: [],\n loading: false,\n loadingMore: false,\n categorias: [],\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'ASC',\n _sort: \"name\",\n status_acesso: []\n },\n isNaoSocio: window.location.pathname.indexOf('nao-socios') >= 0 ? true : false\n };\n\n async componentDidMount() {\n if(this.state.isNaoSocio) {\n const filter = {\n profile: { id: [4] },\n status_acesso: [1, 2, 3, 5, 6, 7, 8, 10]\n }\n this.setState({...this.state, filter: { ...this.state.filter, ...filter }})\n }\n else {\n const filter = {\n categoria: [1, 2, 3],\n profile: { id: [2, 3] },\n status_acesso: [1, 2, 3, 5, 6, 7, 8, 9, 10]\n }\n this.setState({...this.state, filter: { ...this.state.filter, ...filter }})\n }\n\n this.setState({ loading: true });\n await this.findAllCategoria();\n this.setState({ loading: false });\n }\n\n findAllCategoria = async () => {\n const response = await api.get(\"/api/categoria\");\n\n this.setState({\n categorias: response.status === 200 ? response.data : [],\n })\n }\n\n updateDependentes = async (data, titulo) => {\n for (const key in data) {\n if(!!data[key].associadoUk) {\n if(titulo) {\n data[key].numeroTitulo = titulo;\n }\n else {\n const reponseSocio = await api.get(`api/user/${data[key].associadoUk}`);\n if(reponseSocio) {\n data[key].numeroTitulo = reponseSocio.data.numeroTitulo;\n }\n }\n }\n }\n\n return data;\n }\n\n findAssociados = async (removeData = true) => {\n const { data, filter, loading } = this.state;\n if (loading) return;\n\n let filterTmp = { ...filter };\n\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n if ('numero_titulo' in filter && filter.numero_titulo.length === 0) {\n delete filterTmp.numero_titulo;\n }\n\n if ('name_like' in filter && filter.name_like.length === 0) {\n delete filterTmp.name_like;\n }\n\n if ('cpf_orcnpj_like' in filter && filter.cpf_orcnpj_like.length === 0) {\n delete filterTmp.cpf_orcnpj_like;\n }\n\n if('categoria' in filter && filter.categoria.length > 0) {\n filterTmp.categoria = [...filterTmp.categoria, 'null'];\n }\n\n const response = await api.get(`api/user?${jsonToUrlFilter(filterTmp)}`);\n\n if (response) {\n let depententes = [];\n const titulo = filterTmp.numero_titulo;\n\n if ('numero_titulo' in filter && filter.numero_titulo.length > 0) {\n if(!('name_like' in filter) && !('cpf_orcnpj_like' in filter) && response.data.length > 0) {\n delete filterTmp.numero_titulo;\n\n for (const key in response.data) {\n const socio = response.data[key];\n\n if(!socio.associado_uk) {\n filterTmp.associado_uk = socio.uk;\n const responseDependente = await api.get(`api/user?${jsonToUrlFilter(filterTmp)}`);\n\n if(responseDependente) {\n depententes = [...depententes, ...responseDependente.data]\n }\n }\n }\n }\n else {\n const teste = await api.get(`api/user?${jsonToUrlFilter({ numero_titulo: titulo, 'profile.id': 2 })}`);\n\n for (const key in teste.data) {\n const associado_uk = teste.data[key].uk;\n filterTmp.associado_uk = associado_uk;\n delete filterTmp.numero_titulo;\n\n const responseDependente = await api.get(`api/user?${jsonToUrlFilter(filterTmp)}`);\n\n if(responseDependente) {\n depententes = [...depententes, ...responseDependente.data]\n }\n }\n }\n }\n\n response.data = [ ...response.data, ...depententes ];\n response.data = await this.updateDependentes(response.data, titulo);\n\n\n if (removeData) {\n this.setState({\n ...response,\n length: (response.length + depententes.length),\n total_data: (response.total_data + depententes.length),\n loading: false,\n loadingMore: false\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data, ...depententes],\n length: (response.length + depententes.length),\n total_data: (response.total_data + depententes.length),\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.findAssociados(false);\n });\n }\n\n handleLimpar = () => {\n let filter = {};\n\n if(this.state.isNaoSocio) {\n filter = {\n profile: { id: [4] },\n status_acesso: [1, 2, 3, 5, 6, 7, 8, 10]\n }\n }\n else {\n filter = {\n categoria: [1, 2, 3],\n profile: { id: [2, 3] },\n status_acesso: [1, 2, 3, 5, 6, 7, 8, 9, 10]\n }\n }\n\n this.setState({\n data: [],\n length: 0,\n total_data: 0,\n filter: {\n _limit: 50,\n _order: 'ASC',\n _sort: \"name\",\n ...filter\n }\n });\n }\n\n exportData = () => {\n const { filter } = this.state;\n\n return {\n ...filter,\n _limit: 10000,\n _view: {\n title: `Associados`,\n head: 'Título,Nome,CPF/CNPJ,Status,Tipo',\n body: 'numeroTitulo,name,cpfOrcnpj,statusAcesso:statusUser,profile.descricao',\n orientacao: 'landscape',\n template: 2,\n },\n }\n }\n\n renderContent() {\n const user = JSON.parse(window.localStorage.getItem(Config._USER));\n const { data, length, total_pages, filter, loading, isNaoSocio } = this.state;\n\n if (loading) return ;\n\n if (length === undefined || length === 0) {\n return (\n \n

    \n {`Nenhum ${!isNaoSocio ? 'associado ou dependente' : 'não sócio'} encontrado!`}\n

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n {!isNaoSocio && }\n \n \n {!isNaoSocio && }\n \n {!isNaoSocio && }\n {user.profile.id === 1 && }\n \n \n \n {data.map(single => {\n return (\n \n \n {!isNaoSocio && }\n \n \n {!isNaoSocio && }\n \n {!isNaoSocio && (\n \n )}\n \n \n )\n })}\n \n
    FOTOTÍTULONOMECPF/CNPJTIPOSTATUSVALIDADE EXAMEAÇÃO
    \n \n \n \n \n {single.numeroTitulo}{single.name}{single.cpfOrcnpj}{single.profile.id === 2 ? \"ASSOCIADO\" : 'DEPENDENTE'}{getStatusAssociado(single.statusAcesso)}\n {!!single.listaCarteirinhas.length && !!single.listaCarteirinhas[0].validadeExame ? moment(single.listaCarteirinhas[0].validadeExame).format('DD/MM/YYYY') : '-'}\n \n
    \n {!isNaoSocio ? (\n \n \n \n ) : (\n \n \n \n )}\n
    \n
    \n\n {filter._page < total_pages && (\n \n )}\n\n
    \n )\n }\n\n render() {\n const user = JSON.parse(window.localStorage.getItem(Config._USER));\n const { filter, total_data, isNaoSocio, loading } = this.state;\n\n return (\n <>\n \n {user.profile.id === 1 && (\n
    \n \n {isNaoSocio ? (\n \n NOVO\n \n ) : (\n <>\n \n NOVO\n \n\n \n Carteirinhas\n \n\n {/* */}\n \n )}\n \n
    \n )}\n \n )}\n titulo={!isNaoSocio ? \"ASSOCIADOS\" : \"NÃO SÓCIOS\"}\n subTitulo={`Módulo de Gestão para ${!isNaoSocio ? 'Associados' : 'não sócios'}`}\n />\n \n \n \n \n \n

    \n {!isNaoSocio ? 'Associados/Dependentes ' : 'Não sócios '}\n ({total_data ? total_data : 0})\n

    \n\n {!!this.state.data.length && !loading && (\n <>\n \n \n \n )}\n\n \n \n\n {!isNaoSocio && (\n \n \n this.setState({ filter: { ...filter, numero_titulo: value.target.value.toUpperCase() } })}\n value={'numero_titulo' in filter ? filter.numero_titulo : ''}\n autoComplete=\"off\"\n />\n \n \n )}\n\n \n \n {\n this.setState({ filter: { ...filter, name_like: value.target.value.toUpperCase() } })\n }}\n value={'name_like' in filter ? filter.name_like : ''}\n autoComplete=\"off\"\n />\n \n \n\n \n \n {\n if (value.target.value.length <= 18) {\n this.setState({ filter: { ...filter, cpf_orcnpj_like: value.target.value.length <= 14 ? cpfMask(value.target.value) : cnpjMask(value.target.value) } })\n }\n }}\n value={'cpf_orcnpj_like' in filter ? filter.cpf_orcnpj_like : ''}\n autoComplete=\"off\"\n />\n \n \n\n \n \n \n {\n this.setState({ filter: { ...filter, status_acesso: value.target.value } });\n }}\n multiple\n >\n Ativo\n Irregular (Após 5 dias)\n Inadimplente (Após 30 dias)\n Bloqueado (Após 60 dias)\n Inativo (Após 180 dias)\n\n Desligado\n Suspenso\n Falecido\n {!isNaoSocio && Licenciado (Por 6 meses)}\n \n \n \n \n\n {!isNaoSocio && (\n <>\n \n \n \n {\n this.setState({ filter: { ...filter, profile: { id: value.target.value } } });\n }}\n multiple\n >\n Associado\n Dependente\n \n \n \n \n \n \n \n {\n this.setState({ filter: { ...filter, categoria: value.target.value } });\n }}\n multiple\n >\n {this.state.categorias.map(item => (\n {item.nome}\n ))}\n \n \n \n \n \n )}\n\n \n \n
    \n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n\n}\n\nexport default withSnackbar(Associados);\n","import React, { Component } from \"react\";\nimport Webcam from \"react-webcam\";\n\nconst videoConstraints = {\n width: 1280,\n height: 720,\n facingMode: \"user\"\n};\n\nexport default class WebcamCapture extends Component {\n webcamRef = null;\n\n render() {\n return (\n <>\n this.webcamRef = webcamRef}\n screenshotFormat=\"image/jpeg\"\n width={600}\n videoConstraints={videoConstraints}\n />\n \n \n \n );\n }\n};\n","import React, { Component } from 'react';\nimport AvatarEditor from \"react-avatar-editor\";\nimport Dropzone from 'react-dropzone';\nimport { Button } from 'reactstrap';\n\nclass PhotoEditor extends Component {\n state = {\n foto: null,\n zoom: 1,\n rotate: 0\n }\n\n getImage = () => {\n const image = this.editor.getImageScaledToCanvas().toDataURL();\n const { zoom, rotate } = this.state;\n\n return { image, zoom, rotate }\n };\n\n setEditorRef = editor => {\n if (editor) {\n this.editor = editor;\n }\n };\n\n render() {\n const { foto, zoom, rotate } = this.state;\n\n return (\n <>\n {foto && (\n \n \n \n {\n this.setState({ rotate: parseFloat(rotate + 90) });\n }}\n >\n \n \n {\n this.setState({ rotate: parseFloat(rotate - 90) });\n }}\n >\n \n \n this.setState({ zoom: parseFloat(event.target.value) })}\n value={zoom}\n style={{ transform: 'rotate(270deg)', width: 100, height: 140 }}\n max={2}\n min={1}\n step={0.01}\n />\n \n \n )}\n\n
    \n {\n this.setState({ foto: dropped[0] })\n }}\n >\n {({ getRootProps, getInputProps }) => (\n \n \n

    Clique aqui ou arraste seus arquivos

    \n
    \n )}\n \n\n {foto && (\n \n )}\n \n \n );\n }\n}\n\nexport default PhotoEditor;\n","import React, { Component } from 'react';\nimport { Button, Card, CardBody, Col, FormGroup, Input, Row } from 'reactstrap';\n\nexport default class CarteirinhaExameMedico extends Component {\n render() {\n const { state, handleChange, addCarteirinha } = this.props;\n\n return (\n
    \n {(!state.listaCarteirinhas || state.listaCarteirinhas.length === 0) && (\n \n \n \n \n \n )}\n {!!state.listaCarteirinhas && state.listaCarteirinhas.map((carteirinha_value, index) => (\n \n \n \n \n \n \n \n \n \n \n \n \n {\n handleChange({ listaCarteirinhas: state.listaCarteirinhas.map((item, key) => {\n if(index === key) item.validadeExame = value.target.value\n return item\n })});\n }}\n />\n \n \n \n \n \n {\n handleChange({ listaCarteirinhas: state.listaCarteirinhas.map((item, key) => {\n if(index === key) item.numero = value.target.value\n return item\n })});\n }}\n />\n \n \n \n \n \n ))}\n
    \n );\n }\n}\n","const estados = [\n { id: 1, sigla: 'AC', name: 'Acre' },\n { id: 2, sigla: 'AL', name: 'Alagoas' },\n { id: 3, sigla: 'AM', name: 'Amazonas' },\n { id: 4, sigla: 'AP', name: 'Amapá' },\n { id: 5, sigla: 'BA', name: 'Bahia' },\n { id: 6, sigla: 'CE', name: 'Ceará' },\n { id: 7, sigla: 'DF', name: 'Distrito Federal' },\n { id: 8, sigla: 'ES', name: 'Espírito Santo' },\n { id: 9, sigla: 'GO', name: 'Goiás' },\n { id: 10, sigla: 'MA', name: 'Maranhão' },\n { id: 11, sigla: 'MG', name: 'Minas Gerais' },\n { id: 12, sigla: 'MS', name: 'Mato Grosso do Sul' },\n { id: 13, sigla: 'MT', name: 'Mato Grosso' },\n { id: 14, sigla: 'PA', name: 'Pará' },\n { id: 15, sigla: 'PB', name: 'Paraíba' },\n { id: 16, sigla: 'PE', name: 'Pernambuco' },\n { id: 17, sigla: 'PI', name: 'Piauí' },\n { id: 18, sigla: 'PR', name: 'Paraná' },\n { id: 19, sigla: 'RJ', name: 'Rio de Janeiro' },\n { id: 20, sigla: 'RN', name: 'Rio Grande do Norte' },\n { id: 21, sigla: 'RO', name: 'Rondônia' },\n { id: 22, sigla: 'RR', name: 'Roraima' },\n { id: 23, sigla: 'RS', name: 'Rio Grande do Sul' },\n { id: 24, sigla: 'SC', name: 'Santa Catarina' },\n { id: 25, sigla: 'SE', name: 'Sergipe' },\n { id: 26, sigla: 'SP', name: 'São Paulo' },\n { id: 27, sigla: 'TO', name: 'Tocantins' }\n];\n\nexport { estados };\n","import { FormControl, MenuItem, Select } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Button, Card, CardBody, Col, FormGroup, Input, Row } from 'reactstrap';\nimport { estados } from 'utils/estados';\nimport api from 'services/api';\n\nexport default class Enderecos extends Component {\n\n handleFindAddress = async (cep, index) => {\n if(cep.replace(\"-\", \"\").length === 8) {\n const response = await api.get(`https://viacep.com.br/ws/${cep}/json/`);\n\n let { listaEnderecos } = this.props.state;\n listaEnderecos[index].estado = !!response.uf && estados.find(item => item.sigla === response.uf).id;\n listaEnderecos[index].cidade = response.localidade;\n listaEnderecos[index].logradouro = response.logradouro;\n listaEnderecos[index].bairro = response.bairro;\n this.setState({ listaEnderecos });\n }\n }\n\n render() {\n const { state, addEndereco, handleChangeTipoEndereco, removeEndereco } = this.props;\n\n return (\n
    \n \n \n \n \n \n\n {state.listaEnderecos && state.listaEnderecos.map((single, index) => {\n return (\n \n \n \n \n

    Endereço {index + 1}

    \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].principal = value;\n this.setState({ listaEnderecos });\n }}\n >\n Sim\n Não\n \n \n \n \n \n \n \n \n handleChangeTipoEndereco(e, index)}\n >\n Residencial\n Comercial\n Outros\n Cobrança\n Consultório\n Igreja/Denominação\n \n \n \n \n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].cep = value.toUpperCase();\n this.setState({ listaEnderecos });\n }}\n onBlur={(e) => this.handleFindAddress(e.target.value, index)}\n key={index}\n value={single.cep ? single.cep : ''}\n placeholder=\"Endereço\"\n type=\"text\"\n />\n \n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].estado = value;\n this.setState({ listaEnderecos });\n }}\n >\n Estado\n {estados.map(item => {item.sigla} - {item.name})}\n \n \n \n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].cidade = value.toUpperCase();\n this.setState({ listaEnderecos });\n }}\n value={single.cidade ? single.cidade : ''}\n placeholder=\"Cidade\"\n type=\"text\"\n />\n \n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].logradouro = value.toUpperCase();\n this.setState({ listaEnderecos });\n }}\n value={single.logradouro ? single.logradouro : ''}\n placeholder=\"Logradouro\"\n type=\"text\"\n />\n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].numero = value.toUpperCase();\n this.setState({ listaEnderecos });\n }}\n value={single.numero ? single.numero : ''}\n placeholder=\"Número\"\n type=\"text\"\n />\n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].bairro = value.toUpperCase();\n this.setState({ listaEnderecos });\n }}\n value={single.bairro ? single.bairro : ''}\n placeholder=\"Bairro\"\n type=\"text\"\n />\n \n \n \n \n \n {\n const { value } = e.target;\n let { listaEnderecos } = state;\n listaEnderecos[index].complemento = value.toUpperCase();\n this.setState({ listaEnderecos });\n }}\n value={single.complemento ? single.complemento : ''}\n placeholder=\"Complemento\"\n type=\"text\"\n />\n \n \n \n \n \n \n \n
    \n
    \n )\n })}\n
    \n );\n }\n}\n","import { FormControl, MenuItem, Select } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport Dropzone from 'views/components/Dropzone';\n\nexport default class OutrasInformacoes extends Component {\n render() {\n const { state, handleChange, isDependente } = this.props;\n\n return (\n
    \n \n {!state.isNaoSocio && (\n \n \n \n handleChange({ _dtAssociacao: value.target.value.toUpperCase() })}\n className=\"form-control\"\n />\n \n \n )}\n\n \n \n \n \n {(state.statusAcesso || !this.props.match.params.uk) && (\n handleChange({ statusAcesso: value.target.value })}\n >\n {(!isDependente || state.statusAcessoAtual === 1) && Ativo}\n {(!isDependente || state.statusAcessoAtual === 6) && Irregular (Após 5 dias)}\n {(!isDependente || state.statusAcessoAtual === 7) && Inadimplente (Após 30 dias)}\n {(!isDependente || state.statusAcessoAtual === 10) &&Bloqueado (Após 60 dias)}\n {(!isDependente || state.statusAcessoAtual === 2) && Inativo (Após 180 dias)}\n {/* Público */}\n Desligado\n Suspenso\n Falecido\n {(!isDependente || state.statusAcessoAtual === 9) && !state.isNaoSocio && Licenciado (Por 6 meses)}\n \n )}\n \n \n \n\n {!(isDependente || state.isNaoSocio) && (\n \n \n \n \n\n {state.statusAcesso && (\n handleChange({ categoria: value.target.value })}\n >\n Selecione\n {state.categoriaComplete && state.categoriaComplete.map(single => {\n return {single.nome}\n })}\n \n )}\n \n \n \n )}\n \n\n {state.statusAcesso !== 1 && state.statusAcesso !== undefined && (\n \n \n \n \n handleChange({ observacoes: value.target.value.toUpperCase() })}\n className=\"form-control\"\n />\n \n \n \n )}\n\n
    \n
    Anexo
    \n
    \n \n \n \n \n \n
    \n
    \n );\n }\n}\n","\nimport React, { Component } from 'react';\nimport { Button, Modal, ModalHeader, ModalBody, ModalFooter, Input } from 'reactstrap';\n\nexport default class ModalEmail extends Component {\n state = {\n modal: false,\n mensagem: ''\n }\n\n toggle = () => this.setState({ modal: !this.state.modal });\n\n render() {\n const { modal, mensagem } = this.state;\n\n return (\n
    \n \n \n ×}>Enviar mensagem\n \n this.setState({ mensagem: value.target.value.toUpperCase() })}\n value={mensagem}\n />\n \n \n \n \n \n \n
    \n );\n }\n}\n","import { CircularProgress, FormControl, MenuItem, Select } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Col, FormGroup, Input, InputGroup, Row } from 'reactstrap';\nimport ModalEmail from './Modal/Email';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport { TextField } from '@material-ui/core';\nimport Config from 'Config';\nimport cpfMask from 'utils/cpfMask';\nimport cnpjMask from 'utils/cnpjMask';\n\nexport default class InformacoesGerais extends Component {\n searchVeiculo = (search) => {\n if (!search) {\n return\n }\n\n const { handleChange } = this.props;\n handleChange({ loadSelect: true });\n\n fetch(Config._HOST + `/api/veiculo?placa_like=${search}`, {\n method: 'GET',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n })\n .then(response => response.json())\n .then(response => {\n handleChange({\n dataVeiculos: response.data,\n loadSelect: false,\n })\n }).catch(e => {\n handleChange({ loadSelect: false })\n })\n }\n\n render() {\n const { state, handleChange, props, isDependente } = this.props;\n const { uk } = props.match.params;\n\n return (\n
    \n \n {!(isDependente || state.isNaoSocio) && (\n \n \n \n handleChange({ numeroTitulo: value.target.value.toUpperCase() })}\n value={state.numeroTitulo ? state.numeroTitulo : ''}\n disabled={!!uk}\n />\n \n \n )}\n \n \n \n handleChange({ name: value.target.value.toUpperCase() })}\n value={state.name ? state.name : ''}\n />\n \n \n \n \n \n {\n if (value.target.value.length <= 18) {\n handleChange({\n cpfOrcnpj: value.target.value.length <= 14 ? cpfMask(value.target.value) : cnpjMask(value.target.value)\n })\n }\n }}\n value={state.cpfOrcnpj ? state.cpfOrcnpj : ''}\n />\n \n \n \n \n \n \n handleChange({ email: value.target.value.toLowerCase() })}\n value={state.email ? state.email : ''}\n />\n
    \n \n
    \n
    \n
    \n \n \n \n \n handleChange({ senha: value.target.value })}\n value={state.senha ? state.senha : ''}\n />\n \n \n \n \n \n handleChange({ _dtNascimento: value.target.value.toUpperCase() })}\n className=\"form-control\"\n />\n \n \n \n \n \n \n {state.sexo || !props.match.params.uk ? (\n handleChange({ sexo: value.target.value })}\n value={state.sexo ? state.sexo : 0}\n >\n Selecione\n Masculino\n Feminino\n Outro\n \n ) :

    }\n \n \n \n \n \n \n \n {state.estadoCivil || !props.match.params.uk ? (\n handleChange({ estadoCivil: value.target.value })}\n value={state.estadoCivil ? state.estadoCivil : 0}\n >\n Selecione\n Solteiro\n Relação Estável\n Casado\n Divorciado\n Separado\n Viúvo\n \n ) :

    }\n \n \n \n \n \n \n handleChange({ rg: value.target.value.toUpperCase() })}\n value={state.rg ? state.rg : ''}\n />\n \n \n \n \n \n handleChange({ orgaoExpedidor: value.target.value.toUpperCase() })}\n value={state.orgaoExpedidor ? state.orgaoExpedidor : ''}\n />\n \n \n \n \n \n handleChange({ _dtExpedicao: value.target.value.toUpperCase() })}\n className=\"form-control\"\n />\n \n \n \n {!state.isNaoSocio && (\n \n \n \n \n option.placa}\n onChange={(_, value) => handleChange({ veiculo: value })}\n onInputChange={(_, value) => this.searchVeiculo(value)}\n inputMode=\"text\"\n key=\"veiculo\"\n loading={state.loadSelect}\n value={state.veiculo}\n multiple={true}\n renderInput={(params) => (\n \n {state.loadSelect ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n )}\n

    \n );\n }\n}\n","import { FormControl, MenuItem, Select } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Button, Card, CardBody, Col, FormGroup, Input, Row } from 'reactstrap';\nimport InputGroup from 'reactstrap/lib/InputGroup';\n\nexport default class Telefones extends Component {\n render() {\n const {\n state,\n addTelefone,\n removeTelefone,\n handleInputChangeTelefone,\n handleInputChangeTelefoneTipo\n } = this.props;\n\n return (\n
    \n \n \n \n \n \n\n \n \n {state.listaTelefone && state.listaTelefone.map((single, index) => {\n return (\n \n \n \n \n \n handleInputChangeTelefone(event.target.value, single, index)}\n id={single.id}\n value={single.telefone ? single.telefone : ''}\n placeholder=\"Telefone\"\n type=\"text\"\n />\n \n \n \n \n \n \n \n \n handleInputChangeTelefoneTipo(event.target.value, single, index)}\n >\n WhatsApp\n Comercial\n Residencial\n Principal\n Emergência\n Outros\n \n \n \n \n \n )\n })}\n \n \n
    \n );\n }\n}\n","import React, { Component } from 'react';\nimport { Form } from 'reactstrap';\nimport CarteirinhaExameMedico from './CarteirinhaExameMedico';\nimport Enderecos from './Enderecos';\nimport OutrasInformacoes from './OutrasInformacoes';\nimport InformacoesGerais from './InformacoesGerais';\nimport Telefones from './Telefones';\n\nclass FormFields extends Component {\n render() {\n const { isNaoSocio } = this.props.state;\n return (\n
    \n
    INFORMAÇÕES GERAIS
    \n \n\n
    \n
    TELEFONE(S)
    \n \n\n
    \n
    ENDEREÇO(S)
    \n \n\n {!isNaoSocio && (\n <>\n
    \n
    CARTEIRINHA E EXAME MÉDICO
    \n \n \n )}\n\n
    \n
    OUTRAS INFORMAÇÕES
    \n \n\n \n );\n }\n}\n\nexport default FormFields;\n","const required = value => (value || (typeof value === 'number' && value > 0) || (typeof value === 'boolean' && (value === true || value === false)) ? undefined : 'Obrigatório');\n\nconst maxLength = max => value => value && value.length > max ? `Must be ${max} characters or less` : undefined;\n\nconst minLength = min => value => value && value.length < min ? `Must be ${min} characters or more` : undefined;\n\nconst equalsLength = min => value => value && value.length < min ? `Must be ${min} characters or more` : undefined\n\nconst number = value => value && isNaN(Number(value)) ? 'Must be a number' : undefined;\n\nconst minValue = min => value => value && value < min ? `Must be at least ${min}` : undefined;\nconst maxValue = max => value => value && value > max ? `Must be at least ${max}` : undefined;\n\nconst positiveValue = value => value && value <= 0 ? `Valor tende ser positivo` : undefined;\n\nconst cep = value => value && value.length < 9 ? `Must be 8 characters or more` : undefined\n\nconst email = value =>\n value && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(value)\n ? 'E-mail invalido'\n : undefined\n\nconst phoneNumber = value =>\n value && (!/^\\(((1[1-9])|([2-9][0-9]))\\) ((3[0-9]{3}-[0-9]{4})|(9[0-9]{3}-[0-9]{5}))$/i.test(value))\n ? 'Telefone inválido'\n : undefined;\n\nconst cellPhoneNumber = value =>\n value && (!/^\\(((1[1-9])|([2-9][0-9]))\\) (?:((?:9\\d|[2-9])\\d{3})-?(\\d{4}))$/i.test(value))\n ? 'Celular inválido'\n : undefined;\n\nfunction isValidCPF(cpf) {\n if (typeof cpf !== \"string\") return false;\n\n cpf = cpf.replace(/[\\s.-]*/igm, '');\n\n if (!cpf ||\n cpf.length !== 11 ||\n cpf === \"00000000000\" ||\n cpf === \"11111111111\" ||\n cpf === \"22222222222\" ||\n cpf === \"33333333333\" ||\n cpf === \"44444444444\" ||\n cpf === \"55555555555\" ||\n cpf === \"66666666666\" ||\n cpf === \"77777777777\" ||\n cpf === \"88888888888\" ||\n cpf === \"99999999999\")\n return false\n\n let soma = 0;\n let resto;\n for (let i = 1; i <= 9; i++)\n soma = soma + parseInt(cpf.substring(i-1, i)) * (11 - i);\n\n resto = (soma * 10) % 11;\n if ((resto === 10) || (resto === 11)) resto = 0;\n if (resto !== parseInt(cpf.substring(9, 10)) ) return false;\n\n soma = 0;\n for (let i = 1; i <= 10; i++)\n soma = soma + parseInt(cpf.substring(i-1, i)) * (12 - i);\n\n resto = (soma * 10) % 11;\n if ((resto === 10) || (resto === 11)) resto = 0;\n if (resto !== parseInt(cpf.substring(10, 11) ) ) return false;\n\n return true\n}\n\nfunction isValidCNPJ(cnpj) {\n cnpj = cnpj.replace(/[^\\d]+/g,'');\n\n if(cnpj === '') return false;\n\n if (cnpj.length !== 14)\n return false;\n\n // Elimina CNPJs invalidos conhecidos\n if (cnpj === \"00000000000000\" ||\n cnpj === \"11111111111111\" ||\n cnpj === \"22222222222222\" ||\n cnpj === \"33333333333333\" ||\n cnpj === \"44444444444444\" ||\n cnpj === \"55555555555555\" ||\n cnpj === \"66666666666666\" ||\n cnpj === \"77777777777777\" ||\n cnpj === \"88888888888888\" ||\n cnpj === \"99999999999999\")\n return false;\n\n // Valida DVs\n let tamanho = cnpj.length - 2\n let numeros = cnpj.substring(0,tamanho);\n let digitos = cnpj.substring(tamanho);\n let soma = 0;\n let pos = tamanho - 7;\n\n for (let i = tamanho; i >= 1; i--) {\n soma += parseInt(numeros.charAt(tamanho - i)) * pos--;\n\n if (pos < 2)\n pos = 9;\n }\n\n let resultado = soma % 11 < 2 ? 0 : 11 - soma % 11;\n if (resultado !== parseInt(digitos.charAt(0)))\n return false;\n\n tamanho = tamanho + 1;\n numeros = cnpj.substring(0,tamanho);\n soma = 0;\n pos = tamanho - 7;\n\n for (let i = tamanho; i >= 1; i--) {\n soma += parseInt(numeros.charAt(tamanho - i)) * pos--;\n\n if (pos < 2)\n pos = 9;\n }\n\n resultado = soma % 11 < 2 ? 0 : 11 - soma % 11;\n if (resultado !== parseInt(digitos.charAt(1)))\n return false;\n\n return true;\n}\n\nconst cpf = cpf => !isValidCPF(cpf) ? 'CPF Inválido' : undefined;\nconst cnpj = cnpj => {\n return !isValidCNPJ(cnpj) ? 'CNPJ Inválido' : undefined;\n}\n\nexport {\n required,\n cep,\n maxLength,\n minLength,\n minValue,\n maxValue,\n positiveValue,\n equalsLength,\n number,\n phoneNumber,\n cellPhoneNumber,\n email,\n cpf,\n isValidCPF,\n cnpj,\n isValidCNPJ\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Card, CardBody, CardHeader, Col, Container, Row } from \"reactstrap\";\n\nimport { Avatar as Avatars, ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\n\nimport moment from 'moment';\n\nimport WebcamCapture from \"views/components/WebcamCapture\";\nimport { b64toBlob, existIn } from \"Config\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport Media from \"reactstrap/lib/Media\";\n\nimport Rodal from 'rodal';\n// include styles\nimport { validateEmail } from \"Config\";\nimport { BoxLoading } from \"react-loadingg\";\nimport 'rodal/lib/rodal.css';\nimport api from \"services/api\";\nimport PhotoEditor from \"utils/AvatarEditor\";\nimport { getCorStatusAssociado } from \"utils/StatusAssociado\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport FormFields from \"./Form/FormFields\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { handleDeleteFile } from \"utils/file\";\nimport { handleUploadArrayFile } from \"utils/file\";\nimport { isValidCPF, isValidCNPJ } from \"utils/Validations\";\nimport phoneMask from \"utils/phoneMask\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = window.location.pathname.indexOf('nao-socios') >= 0 ? '/admin/nao-socios' : '/admin/associado';\n\nclass AssociadoCrud extends React.Component {\n state = {\n numeroTitulo: '',\n name: \"\",\n emails: [],\n telefones: [],\n enderecos: [],\n sexo: 0,\n estadoCivil: 0,\n statusAcesso: 1,\n categoria: 1,\n categoriaComplete: [],\n listaCarteirinhas: [],\n listaTelefone: [{\n id: null,\n tipo: 0,\n telefone: null\n }],\n listaEnderecos: [],\n observacoes: \"\",\n foto: null,\n loadSelect: false,\n dataVeiculos: [],\n veiculo: [],\n loading: true,\n files: [],\n filesRemovidos: [],\n isNaoSocio: window.location.pathname.indexOf('nao-socios') >= 0 ? true : false\n };\n\n async componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n if (!user) {\n window.localStorage.removeItem(Config._USER);\n this.props.history.replace('/auth');\n return;\n }\n\n this.setState({ loading: true });\n await this.findAllCategoria();\n\n if (this.props.match.params.uk) {\n await this.findBy();\n }\n else if(\"ukAssociado\" in this.props.match.params) {\n let associadoStatus = 1;\n const responseAssociado = await api.get(`/api/user/${this.props.match.params.ukAssociado}`);\n associadoStatus = responseAssociado.data.statusAcesso;\n\n this.setState({\n statusAcessoAtual: existIn(associadoStatus, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) ? associadoStatus : 1,\n statusAcesso: existIn(associadoStatus, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) ? associadoStatus : 1\n });\n }\n\n this.setState({ loading: false });\n }\n\n findAllCategoria = async () => {\n const response = await api.get(\"/api/categoria\");\n\n this.setState({\n categoriaComplete: response.status === 200 ? response.data : [],\n })\n }\n\n findBy = async () => {\n const response = await api.get(`/api/user/${this.props.match.params.uk}`);\n let associadoStatus = 1;\n\n if(\"ukAssociado\" in this.props.match.params) {\n const responseAssociado = await api.get(`/api/user/${this.props.match.params.ukAssociado}`);\n associadoStatus = responseAssociado.data.statusAcesso;\n }\n\n let enderecoToState = {};\n if (response.status === 200) {\n response.data[\"_dtNascimento\"] = moment(response.data[\"dtNascimento\"]).format('YYYY-MM-DD');\n response.data[\"_dtExpedicao\"] = moment(response.data[\"dtExpedicao\"]).format('YYYY-MM-DD');\n response.data[\"_dtAssociacao\"] = moment(response.data[\"dtAssociacao\"]).format('YYYY-MM-DD');\n response.data[\"estadoCivil\"] = existIn(response.data['estadoCivil'], [1, 2, 3, 4, 5, 6]) ? response.data['estadoCivil'] : 1;\n response.data[\"statusAcesso\"] = existIn(response.data['statusAcesso'], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) ? response.data['statusAcesso'] : 1;\n response.data[\"statusAcessoAtual\"] = existIn(associadoStatus, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) ? associadoStatus : 1;\n response.data[\"sexo\"] = existIn(response.data['sexo'], [1, 2, 3]) ? response.data['sexo'] : 1;\n\n if (response.data[\"listaEmails\"] && response.data[\"listaEmails\"].length > 0) {\n for (let i = 0; i <= response.data[\"listaEmails\"].length - 1; i++) {\n let tempListaEmails = response.data[\"listaEmails\"][i]\n enderecoToState['master-email-' + i] = tempListaEmails['principal'];\n enderecoToState['email-' + i] = tempListaEmails['email'];\n }\n }\n if (!response.data[\"listaTelefone\"] || response.data[\"listaTelefone\"].length <= 0) {\n response.data[\"listaTelefone\"] = [{\n tipo: 0,\n telefone: \"\"\n }]\n }\n\n if (!response.data[\"listaEnderecos\"] || response.data[\"listaEnderecos\"].length <= 0) {\n response.data[\"listaEnderecos\"] = [{\n bairro: null,\n cep: null,\n cidade: null,\n complemento: null,\n estado: 24,\n id: null,\n logradouro: null,\n numero: null,\n principal: false,\n tipo: null,\n uk: null,\n }]\n }\n }\n\n let responseFiles = await api.get(`/api/bucket?${jsonToUrlFilter({ owner: this.props.match.params.uk, key: \"documentos\" })}`);\n this.setState({ files: responseFiles.data, loading: false })\n\n this.setState({\n ...response.data,\n ...enderecoToState,\n })\n }\n\n handleSave = async (usuarioDesligar) => {\n let temp = this.state;\n const { ukAssociado } = this.props.match.params;\n this.setState({ loading: false });\n\n if(temp.isNaoSocio) {\n temp['profile'] = { id: 4 };\n }\n else {\n temp['profile'] = { id: !ukAssociado ? 2 : 3 };\n temp['associadoUk'] = ukAssociado;\n }\n\n if (!ukAssociado && temp.profile.id !== 4 && temp.numeroTitulo.length === 0) {\n this.props.enqueueSnackbar(\"Preencha o Número do Titulo\");\n return;\n }\n\n if (!temp.name || (temp.name.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha o Nome Completo\")\n return;\n }\n\n if (!ukAssociado && (!temp.cpfOrcnpj || (temp.cpfOrcnpj.trim() === \"\"))) {\n this.props.enqueueSnackbar(\"Preencha o CPF ou CNPJ\")\n return;\n }\n\n if (!temp._dtNascimento || !moment(temp._dtNascimento).isValid()) {\n this.props.enqueueSnackbar(\"Preencha uma data de Nascimento válida\")\n return;\n }\n\n if (!temp.sexo || !existIn(temp.sexo, [1, 2, 3])) {\n this.props.enqueueSnackbar(\"Preencha um valor para Sexo corretamente\")\n return;\n }\n\n if (!temp.estadoCivil || !existIn(temp.estadoCivil, [1, 2, 3, 4, 5, 6])) {\n this.props.enqueueSnackbar(\"Preencha um valor para Estado Cívil corretamente\")\n return;\n }\n\n // preencha ao menos um email\n if(!ukAssociado) {\n if ((!temp.email || (temp.email.trim() === \"\"))) {\n this.props.enqueueSnackbar(\"Preencha um E-mail\")\n return;\n }\n\n if (!validateEmail(temp.email)) {\n this.props.enqueueSnackbar(\"Preencha um E-mail Válido\")\n return;\n }\n }\n\n if (!this.props.match.params.uk) {\n if (!temp.senha || (temp.senha.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha uma Senha\")\n return;\n }\n }\n\n if(!temp.isNaoSocio) {\n if (!temp._dtAssociacao || (temp._dtAssociacao.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha a Data de Associação\")\n return;\n }\n }\n\n if (moment(temp['_dtNascimento']).isValid()) {\n temp['dtNascimento'] = moment(temp['_dtNascimento']).format('YYYY-MM-DD') + \"T00:00:00\"\n }\n if (moment(temp['dtExpedicao']).isValid()) {\n temp['dtExpedicao'] = moment(temp['_dtExpedicao']).format('YYYY-MM-DD') + \"T00:00:00\"\n }\n if (moment(temp['dtAssociacao']).isValid()) {\n temp['dtAssociacao'] = moment(temp['_dtAssociacao']).format('YYYY-MM-DD') + \"T00:00:00\"\n }\n\n temp['foto'] = null;\n\n delete temp['files'];\n delete temp['filesRemovidos'];\n\n let saveUser = true;\n this.setState({ loading: true });\n\n if(!!usuarioDesligar) {\n const responseUserUpdate = await api.put(\"/api/user\", usuarioDesligar);\n await api.get(`/api/integracoes/khronos/user/${usuarioDesligar.id}`);\n saveUser = !!('data' in responseUserUpdate)\n temp.unidadeSuperlogica = usuarioDesligar.unidadeSuperlogica;\n }\n\n let dataUser = JSON.stringify(temp);\n\n if(saveUser) {\n fetch(Config._HOST + \"/api/user\",\n {\n body: dataUser,\n method: this.props.match.params.uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(async data => {\n if (data.status === 200) {\n const dataSend = new FormData();\n\n await handleDeleteFile(this.state.filesRemovidos);\n await handleUploadArrayFile(data.data.uk, 'documentos', this.state.files);\n\n if (this.sendFile(dataSend)) {\n await this.handleUploadfile(data.data.id, data.data.uk, dataSend, false);\n }\n else {\n this.props.enqueueSnackbar(data.mensagem, { variant: 'success' });\n\n if(temp.profile.id !== 4) {\n const responseKhronos = await api.get(`/api/integracoes/khronos/user/${data.data.id}`);\n this.props.enqueueSnackbar(responseKhronos ? 'Integrado com sucesso na Khronos!' : 'Erro ao integrar na Khronos!', { variant: responseKhronos ? 'success' : 'error' });\n\n if(!ukAssociado) {\n const responseSuperlogica = await api.get(`/api/integracoes/superlogica/user/${data.data.id}`);\n this.props.enqueueSnackbar(responseSuperlogica ? 'Integrado com sucesso no Superlogica!' : 'Erro ao integrar no Superlogica!', { variant: responseSuperlogica ? 'success' : 'error' });\n }\n }\n\n this.setState({ loading: false })\n this.props.history.push(!!ukAssociado ? `${HISTORY_BACK}/${ukAssociado}/dependentes` : HISTORY_BACK);\n }\n }\n else {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(data.mensagem, { variant: 'error' });\n }\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\");\n });\n }\n else {\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\");\n }\n }\n\n create = async () => {\n const { numeroTitulo, id } = this.state;\n\n if(this.state.cpfOrcnpj.length === 14 && !isValidCPF(this.state.cpfOrcnpj)) {\n this.props.enqueueSnackbar(\"O campo CPF invalido!\")\n return;\n }\n\n if(this.state.cpfOrcnpj.length === 18 && !isValidCNPJ(this.state.cpfOrcnpj)) {\n this.props.enqueueSnackbar(\"O campo CNPJ invalido!\")\n return;\n }\n\n await setTimeout(async () => {\n this.setState({ loading: true });\n\n if(!!numeroTitulo) {\n let filter = {\n numero_titulo: numeroTitulo,\n 'status_acesso!=': 8\n }\n\n filter = !!id ? { ...filter, 'id!=': id } : filter;\n const response = await api.get(`/api/user?${jsonToUrlFilter(filter)}`);\n\n if(response.data.length) {\n this.setState({ loading: false });\n\n await confirmAlert({\n title: 'Outro associado já está ativo com esse titulo!',\n message: `Desligar associado (${response.data[0].cpfOrcnpj}) ${response.data[0].name}?`,\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim',\n onClick: async () => {\n this.setState({ loading: true });\n const responseUser = await api.get(`/api/user/${response.data[0].uk}`);\n\n if('data' in responseUser) {\n responseUser.data.observacoes = `TITULO TRANSFERIDO PARA \"${this.state.name}\" EM ${moment().format('DD/MM/YYYY')}`;\n responseUser.data.statusAcesso = 8;\n await this.handleSave(responseUser.data);\n this.setState({ loading: false });\n }\n else {\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n }\n }\n }\n ]\n });\n }\n else {\n await this.handleSave();\n }\n }\n else {\n await this.handleSave();\n }\n }, 500);\n }\n\n handleUploadfile = async (id, uk, data, onlySaveImage = true) => {\n const { ukAssociado } = this.props.match.params;\n this.setState({ loading: true });\n const responseFoto = await api.post(`/api/bucket/owner/${uk}/foto-capa`, data);\n\n if (responseFoto.status === 200) {\n this.props.enqueueSnackbar(uk ? \"Foto atualizada com sucesso\" : \"Foto salva com sucesso\", { variant: 'success' });\n }\n else {\n this.props.enqueueSnackbar(uk, \"Ops, foto não foi salva.\", { variant: 'error' });\n }\n\n if(!onlySaveImage) {\n const responseKhronos = await api.get(`/api/integracoes/khronos/user/${id}`);\n this.props.enqueueSnackbar(responseKhronos ? 'Integrado com sucesso na Khronos!' : 'Erro ao integrar na Khronos!', { variant: responseKhronos ? 'success' : 'error' });\n\n if(!ukAssociado) {\n const responseSuperlogica = await api.get(`/api/integracoes/superlogica/user/${id}`);\n this.props.enqueueSnackbar(responseSuperlogica ? 'Integrado com sucesso no Superlogica!' : 'Erro ao integrar no Superlogica!', { variant: responseSuperlogica ? 'success' : 'error' });\n }\n }\n\n this.setState({ loading: false });\n }\n\n sendFile = (dataSend) => {\n let sendFile = false;\n\n if (this.state.avatar) {\n dataSend.append('file', b64toBlob(this.state.avatar), Config.FOTO_CAPA);\n sendFile = true;\n }\n\n return sendFile ? dataSend : null;\n }\n\n addTelefone = () => {\n const { listaTelefone } = this.state;\n\n listaTelefone.push({\n tipo: 0,\n telefone: null\n })\n\n this.setState({ listaTelefone: listaTelefone });\n }\n\n addCarteirinha = () => {\n const { listaCarteirinhas } = this.state;\n\n listaCarteirinhas.push({\n numero: null,\n validadeExame: null,\n userEntity: { id: this.state.id }\n })\n\n this.setState({ listaCarteirinhas });\n }\n\n addEndereco = () => {\n const { listaEnderecos } = this.state;\n\n listaEnderecos.push({\n bairro: null,\n cep: null,\n cidade: null,\n complemento: null,\n estado: 24,\n id: null,\n logradouro: null,\n numero: null,\n principal: false,\n tipo: null,\n uk: null,\n })\n\n this.setState({ listaEnderecos: listaEnderecos });\n }\n\n removeTelefone = async (index, telefone) => {\n this.setState({ loading: true })\n if(telefone.id) await api.delete(\"/api/user/telefone/\" + telefone.id);\n this.setState({ listaTelefone: this.state.listaTelefone.filter((single, key) => key !== index) });\n this.setState({ loading: false })\n }\n\n removeEndereco = async (index, endereco) => {\n this.setState({ loading: true })\n if(endereco.id) await api.delete(\"/api/user/endereco/\" + endereco.id);\n this.setState({ listaEnderecos: this.state.listaEnderecos.filter((single, key) => key !== index) });\n this.setState({ loading: false })\n }\n\n handleInputChangeTelefone = (value, single, index) => {\n let { listaTelefone } = this.state;\n listaTelefone[index].telefone = phoneMask(value);\n this.setState({ listaTelefone });\n }\n\n handleInputChangeTelefoneTipo = (value, single, index) => {\n let { listaTelefone } = this.state;\n listaTelefone[index].tipo = value;\n this.setState({ listaTelefone });\n }\n\n delete() {\n const { ukAssociado } = this.props.match.params;\n this.setState({ loading: true });\n let dataUser = JSON.stringify(this.state);\n\n fetch(Config._HOST + \"/api/user\",\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(!!ukAssociado ? `${HISTORY_BACK}/${ukAssociado}/dependentes` : HISTORY_BACK);\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n handleChangeDropzone = (key, value) => {\n this.setState({ [key]: value });\n }\n\n handleChangeTipoEndereco = (e, targetIndex) => {\n const { value } = e.target;\n let { listaEnderecos } = this.state;\n listaEnderecos[targetIndex].tipo = value;\n this.setState({ listaEnderecos });\n }\n\n render() {\n const { uk, ukAssociado } = this.props.match.params;\n const { isNaoSocio } = this.state;\n\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n \n {this.state.makeFile ? (\n this.setState({ makeFile: false })}\n customStyles={{\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'nowrap',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: '60px 30px 40px 30px',\n margin: '5% 20%'\n }}\n >\n {\n this.setState({ foto: data.image, avatar: data.image, makeFile: false }, () => {\n if (uk) {\n const dataSend = new FormData();\n if (this.sendFile(dataSend)) {\n this.handleUploadfile(this.state.id, this.state.uk, dataSend)\n }\n }\n })\n }}\n />\n \n ) : (\n this.state.makeWebCam ? (\n { this.setState({ makeWebCam: false }) }} callback={(photo) => {\n this.setState({ avatar: photo, makeWebCam: false }, () => {\n if (uk) {\n const dataSend = new FormData();\n if (this.sendFile(dataSend)) {\n this.handleUploadfile(this.state.id, this.state.uk, dataSend)\n }\n }\n })\n }} />\n ) : null)}\n\n \n {this.state.avatar ? (\n {\n confirmAlert({\n title: 'Deseja adicionar uma foto?',\n message: '',\n buttons: [\n { label: 'Cancelar' },\n {\n label: 'Buscar Foto no Computador',\n onClick: () => this.setState({ makeFile: true })\n },\n {\n label: 'Foto por WebCam',\n onClick: () => this.setState({ makeWebCam: true })\n }\n ]\n })\n }}\n style={{ width: '200px', height: '200px' }}\n alt={this.props.match.params.name}\n src={this.state.avatar}\n />\n ) : (\n {\n confirmAlert({\n title: 'Deseja adicionar uma foto?',\n message: '',\n buttons: [\n { label: 'Cancelar' },\n {\n label: 'Buscar Foto no Computador',\n onClick: () => this.setState({ makeFile: true })\n },\n {\n label: 'Foto por WebCam',\n onClick: () => this.setState({ makeWebCam: true })\n }\n ]\n })\n }}\n style={{ width: '200px', height: '200px' }}\n alt={this.props.match.params.name}\n src={Config._HOST + \"/api/bucket/owner/\" + uk + \"/key/foto-capa\"}\n />\n )}\n {this.state.statusAcesso ? (\n \n ) : ''}\n \n \n }\n component={\n
    \n
    \n \n {!isNaoSocio ? (\n \n VOLTAR\n \n ) : (\n \n VOLTAR\n \n )}\n\n {!!uk && !ukAssociado && !isNaoSocio && (\n \n DEPENDENTES\n \n )}\n\n {!!uk && !ukAssociado && (\n \n HISTÓRICO FINANCEIRO\n \n )}\n\n {!!uk && !ukAssociado && !isNaoSocio && (\n \n HISTÓRICO RESERVAS\n \n )}\n\n {!!uk && !ukAssociado && !isNaoSocio && (\n \n CERTIFICADOS\n \n )}\n\n \n
    \n
    \n }\n titulo={(uk ? this.state.name : \"\")\n }\n />\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {!isNaoSocio ? (uk ? \"Atualizar Associado\" : \"Cadastrar Novo Associado\") : (uk ? \"Atualizar Não Sócio\" : \"Cadastrar Novo Não Sócio\") }\n

    \n \n
    \n
    \n \n \n \n \n
    \n \n
    \n
    \n \n );\n }\n\n}\n\nexport default withSnackbar(AssociadoCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, Media, Table, Container, Row } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { createFilter } from \"Config\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport Avatar from '@material-ui/core/Avatar';\nimport { getCorStatusAssociado } from \"utils/StatusAssociado\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport api from \"services/api\";\n\nconst KEYS_TO_FILTERS = ['name', 'rg', 'cpfOrcnpj'];\n\nclass Dependentes extends React.Component {\n state = {\n data: [],\n dataComplete: [],\n };\n\n async componentDidMount() {\n this.setState({ loading: true });\n await this.findAll();\n await this.findBy();\n this.setState({ loading: false });\n }\n\n findBy = async () => {\n const { uk } = this.props.match.params;\n\n const response = await api.get(`/api/user/${uk}`);\n if(!!response) {\n this.setState({ ...response.data });\n }\n }\n\n findAll = async () => {\n const { uk } = this.props.match.params;\n\n const response = await api.get(`/api/user/${uk}/dependentes`);\n if(!!response) {\n this.setState({\n data: response.data,\n dataComplete: response.data,\n });\n }\n }\n\n searchUpdated(chave) {\n this.setState({\n data: createFilter((chave && chave.trim().length > 0 ? chave : \"\"), KEYS_TO_FILTERS, this.state.dataComplete),\n searchTerm: (chave && chave.trim().length > 0 ? chave : \"\")\n });\n }\n\n renderContent() {\n const { uk } = this.props.match.params;\n\n if (this.state.dataComplete.length === 0) {\n return (\n \n

    Não existem Dependentes Cadastrados

    \n
    \n );\n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Filtro de Dependentes não encontrado.

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n )\n })}\n \n
    FOTONOMERGCPF/CNPJAÇÃO
    \n \n \n \n \n {single.name ? single.name : \"-\"}{single.rg ? single.rg : '-'}{single.cpfOrcnpj ? single.cpfOrcnpj : '-'}\n
    \n \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n const { loading } = this.state;\n const { uk } = this.props.match.params;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n } titulo={\"Dependentes\"} subTitulo={\"Módulo de Gestão para Dependentes de \" + this.state.name} />\n\n \n \n
    \n \n \n

    Total Dependentes ({this.state.data.length})

    \n
    \n {loading && }\n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Dependentes);\n","import React from \"react\";\n\nconst DescricaoStatusPagamento = ({ status }) => {\n switch (parseInt(status, 10)) {\n case 0:\n return {'Aguardando Pagamento'};\n case 1:\n return {'Pagamento Confirmado'};\n case 2:\n return {'Boleto Cancelado'};\n case 3:\n return {'Boleto Vencido'};\n case 4:\n return {'Em Acordo'};\n case 5:\n return (\n \n \n \n {'Aguardando Pagamento'}\n \n );\n case 6:\n return (\n \n \n \n {'Pagamento Confirmado'}\n \n );\n case 7:\n return (\n \n \n \n {'Boleto Vencido'}\n \n );\n default:\n return '';\n }\n};\n\nexport { DescricaoStatusPagamento };\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { ButtonGroup, FormControl, FormGroup, MenuItem, Select, TextField } from \"@material-ui/core\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport Filter from \"views/components/Filter\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { onChangeCheckbox } from \"Config\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport numeral from 'numeral';\nimport React, { Component } from \"react\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Button, Card, CardHeader, Col, Container, Row, Table } from \"reactstrap\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { DescricaoStatusPagamento } from \"utils/StatusPagamento\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass HistoricoFinanceiro extends Component {\n\n state = {\n data: [],\n categorias: [],\n associados: [],\n fornecedores: [],\n checked: [],\n checkAll: true,\n loading: false,\n loadingMore: false,\n categoria: '',\n cliente: '',\n fornecedor: '',\n filter: {\n data_inicio: moment().startOf('month').format('YYYY-MM-DD'),\n data_fim: moment().endOf('month').format('YYYY-MM-DD'),\n status: [0],\n financeiro_contas_entity: {\n type: 'receber',\n cliente: { uk: this.props.match.params.uk }\n },\n _page: 1,\n _limit: 50,\n _order: 'desc',\n _sort: \"dt_vencimento\",\n },\n };\n\n async componentDidMount() {\n this.defaultFilter = { ...this.state.filter };\n await this.findContas();\n await this.findCategorias();\n await this.findAssociados();\n await this.findFornecedores();\n }\n\n findContas = async (removeData = true) => {\n const { data, filter, loading } = this.state;\n if (loading) return;\n\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n let tmpFilter = { ...filter };\n\n tmpFilter[`${filter._sort}>=`] = filter.data_inicio;\n tmpFilter[`${filter._sort}<=`] = filter.data_fim;\n delete tmpFilter['data_inicio'];\n delete tmpFilter['data_fim'];\n\n const response = await api.get(`api/documento-agenda/parcelamentos?${jsonToUrlFilter(tmpFilter)}`);\n\n if (response) {\n if (removeData) {\n this.setState({\n ...response,\n loading: false,\n loadingMore: false\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data],\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n findCategorias = async () => {\n const filter = {\n _limit: 999,\n _order: 'ASC',\n _sort: \"nome\",\n ativo: true\n }\n\n const response = await api.get(`/api/financeiro/categoria?${jsonToUrlFilter(filter)}`);\n this.setState({ categorias: response.data });\n }\n\n findAssociados = async () => {\n const filter = {\n _limit: 99999,\n _order: 'ASC',\n _sort: \"name\",\n profile: { id: [2] },\n status_acesso: [1, 5, 6, 7, 9]\n }\n\n const response = await api.get(`/api/user?${jsonToUrlFilter(filter)}`);\n this.setState({ associados: response.data });\n }\n\n findFornecedores = async () => {\n const filter = {\n _limit: 99999,\n _order: 'ASC',\n _sort: \"nome\"\n }\n\n const response = await api.get(`/api/fornecedor?${jsonToUrlFilter(filter)}`);\n this.setState({ fornecedores: response.data });\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.findContas(false);\n });\n }\n\n handleLimpar = () => {\n this.setState({\n categoria: '',\n cliente: '',\n fornecedor: '',\n filter: {\n ...this.defaultFilter\n },\n }, () => {\n this.findContas();\n });\n }\n\n renderContent() {\n const type = 'receber';\n const { data, length, total_pages, filter, loading } = this.state;\n\n if (loading) return ;\n\n if (length === 0) {\n return (\n \n

    Não existem Contas a {type === 'receber' ? 'Receber' : 'Pagar'}

    \n
    \n )\n }\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 {data.map(single => {\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 onChangeCheckbox(value, \"select-all\", this)} checked={!this.state.checkAll} />\n
    \n
    SÓCIOCATEGORIAVALOR PARCELAVALOR TOTALVENCIMENTOEMISSÃO DO BOLETO VIASTATUSBOLETOVALOR PAGOPAGO DIACRÉDITADO NA CONTAJUROS/MULTAAÇÃO
    \n
    \n value === single.uk))} onChange={(value) => onChangeCheckbox(value, single.uk, this)} />\n
    \n
    \n {single.financeiroContasEntity.cliente && single.financeiroContasEntity.cliente.name ? (\n \n {single.financeiroContasEntity.cliente.name}\n \n ) : single.financeiroContasEntity.fornecedor && single.financeiroContasEntity.fornecedor.nome ? (\n \n {single.financeiroContasEntity.fornecedor.nome}\n \n ) : \"-\"}\n \n {single.financeiroContasEntity.ct && single.financeiroContasEntity.ct.nome}\n \n {numeral(single.valorPagamento).format('$ 0,0.00')}\n {single.financeiroContasEntity.numeroParcelas > 1 && ` (Parcela ${single.parcela} de ${single.financeiroContasEntity.numeroParcelas})`}\n {numeral(single.financeiroContasEntity.vlTotal).format('$ 0,0.00')}{single.dtVencimento ? moment(single.dtVencimento).format('DD/MM/YYYY') : '-'}{single.emitirBoletoVia && single.emitirBoletoVia.toUpperCase()}\n {single.linkBoleto !== null && (\n \n \n Boleto\n \n )}\n {numeral(single.valorPagamentoRecebido).format('$ 0,0.00')}{single.dtRecebimento ? moment(single.dtRecebimento).format('DD/MM/YYYY') : '-'}{single.dtCreditoConta ? moment(single.dtCreditoConta).format('DD/MM/YYYY') : '-'}{(single.valorPagamentoRecebido && parseFloat(single.valorPagamentoRecebido.toFixed(2)) > parseFloat(single.valorPagamento.toFixed(2))) ? numeral(single.valorPagamentoRecebido - single.valorPagamento).format('$ 0,0.00') : '-'}\n
    \n \n \n \n
    \n
    \n\n {filter._page < total_pages && (\n \n )}\n
    \n )\n }\n\n render() {\n const { filter, total_data, categorias, categoria } = this.state;\n const { uk } = this.props.match.params;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo='HISTÓRICO FINANCEIRO'\n subTitulo='Histórico Financeiro do associado'\n />\n \n \n \n \n \n

    Total a Receber ({total_data ? total_data : 0})

    \n \n \n \n \n this.setState({ filter: { ...filter, _sort: value.target.value } })}\n >\n Data Vencimento\n Data Recebimento\n \n \n \n \n this.setState({ filter: { ...filter, data_inicio: value.target.value } })} />\n \n Até\n \n this.setState({ filter: { ...filter, data_fim: value.target.value } })} />\n \n \n \n \n this.setState({ filter: { ...filter, status: value.target.value } })}\n multiple={true}\n >\n Aguardando Pagamento\n Confirmado\n Cancelado\n Vencido\n Em Acordo\n Agrupado na Cobrança Mensal\n \n \n \n \n \n \n `(${option.codigo}) ${option.nome}`}\n onChange={(_, item) => {\n if (item) {\n this.setState({ filter: { ...filter, financeiro_contas_entity: { ...filter.financeiro_contas_entity, ct: { id: item.id } } } })\n }\n else {\n const financeiro_contas_entity = Object.keys(filter.financeiro_contas_entity).filter(key => key !== 'ct').reduce((result, current) => {\n result[current] = filter.financeiro_contas_entity[current];\n return result;\n }, {});\n\n this.setState({ filter: { ...filter, financeiro_contas_entity } });\n }\n }}\n inputMode=\"text\"\n multiple={false}\n value={filter.financeiro_contas_entity.ct}\n inputValue={categoria}\n onInputChange={(_, newInputValue) => {\n this.setState({ categoria: newInputValue });\n }}\n renderOption={(option) => (\n ({option.codigo}) {option.nome}\n )}\n renderInput={(params) => (\n \n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n
    \n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(HistoricoFinanceiro);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Card, CardHeader, Table, Container, Row } from \"reactstrap\";\nimport Config from \"Config\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport moment from \"moment\";\nimport { TranslaterDayOfMonth } from \"Config\";\nimport { getStatusReserva } from \"utils/StatusReserva\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass HistoricoReservas extends React.Component {\n state = {\n loading: false,\n data: []\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n const { uk } = this.props.match.params;\n this.setState({ loading: true });\n\n fetch(Config._HOST + `/api/documento-agenda/responsavel/${uk}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n renderContent() {\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => (\n \n \n \n \n \n \n \n \n ))}\n \n
    LOCALData InícioDia da SemanaResponsávelStatus
    {single.ambiente.nome}{moment(single.dtInicio).format('DD/MM') + \" às \" + moment(single.dtInicio).format('HH:MM')}{TranslaterDayOfMonth(moment(single.dtInicio).isoWeekday())}{single.usuario && single.usuario.name ? single.usuario.name : \"-\"}{getStatusReserva(single.status)}\n
    \n \n \n \n
    \n
    \n\n {this.state.loading && }\n
    \n )\n }\n\n render() {\n const { uk } = this.props.match.params;\n\n return (\n <>\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"HISTÓRICO RESERVAS\"} subTitulo={\"Módulo de Gestão de Histórico de Reservas\"}\n />\n \n \n
    \n \n \n

    Histórico Reservas ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(HistoricoReservas);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { ButtonGroup } from \"@material-ui/core\";\nimport Filter from \"views/components/Filter\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport moment from 'moment';\nimport { withSnackbar } from \"notistack\";\nimport { Component } from \"react\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Button, Card, CardHeader, Container, FormGroup, Input, Row, Table } from \"reactstrap\";\nimport Col from \"reactstrap/lib/Col\";\nimport api from \"services/api\";\nimport ButtonExport from \"utils/ButtonExport\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass AssociadoCarteirinhas extends Component {\n state = {\n data: [],\n loading: false,\n loadingMore: false,\n categorias: [],\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'ASC',\n _sort: \"validade_exame\"\n }\n };\n\n updateDependentes = async data => {\n for (const key in data) {\n if(!!data[key].associadoUk) {\n const reponseSocio = await api.get(`api/user/${data[key].associadoUk}`);\n data[key].numeroTitulo = reponseSocio.data.numeroTitulo;\n }\n }\n\n return data;\n }\n\n findAssociados = async (removeData = true) => {\n const { data, filter, loading } = this.state;\n if (loading) return;\n\n let filterTmp = { ...filter };\n\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n for (const key in filterTmp) {\n if(filterTmp[key].length === 0 ) delete filterTmp[key];\n }\n\n const response = await api.get(`api/user/carteirinhas?${jsonToUrlFilter(filterTmp)}`);\n\n if (response && 'data' in response) {\n response.data = await this.updateDependentes(response.data);\n\n if (removeData) {\n this.setState({\n ...response,\n loading: false,\n loadingMore: false\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data],\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.findAssociados(false);\n });\n }\n\n handleLimpar = () => {\n this.setState({\n data: [],\n length: 0,\n total_data: 0,\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'ASC',\n _sort: \"validade_exame\",\n 'validade_exame<=': '',\n 'validade_exame>=': ''\n }\n });\n }\n\n exportData = (data, type) => {\n let dataTemp = { ...data };\n\n for (const key in dataTemp) {\n if(dataTemp[key].length === 0 ) delete dataTemp[key];\n }\n\n dataTemp['_limit'] = 10000;\n\n dataTemp['_view'] = {\n title: 'Carteirinhas',\n head: 'Nome, Número, Validade Exame',\n body: 'user_entity.name,numero,validade_exame:date'\n };\n\n if(type === \"pdf\") {\n dataTemp['_view'] = { ...dataTemp['_view'], orientacao: 'landscape' }\n }\n\n delete dataTemp['data_inicio'];\n delete dataTemp['data_fim'];\n\n return dataTemp;\n }\n\n renderContent() {\n const { data, length, total_pages, filter, loading } = this.state;\n\n if (loading) return ;\n\n if (length === undefined || length === 0) {\n return (\n \n

    Nenhuma carteirinha encontrada!

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n {data.map(item => {\n return (\n \n \n \n \n \n \n )\n })}\n \n
    NOMENÚMEROVALIDADE EXAMETIPO
    \n \n {item.userEntity.name}\n \n {item.numero}{moment(item.validadeExame).isValid() ? moment(item.validadeExame).format('DD/MM/YYYY') : '-'}{item.userEntity.profile.id === 2 ? \"ASSOCIADO\" : 'DEPENDENTE'}
    \n\n {filter._page < total_pages && (\n \n )}\n\n
    \n )\n }\n\n render() {\n const { filter, total_data } = this.state;\n\n return (\n <>\n \n \n \n VOLTAR\n \n \n \n }\n titulo={\"CARTEIRINHAS\"}\n subTitulo={\"Módulo de Gestão para Associados\"}\n />\n \n \n \n \n \n

    Total ({total_data ? total_data : 0})

    \n\n {!!total_data && (\n <>\n \n \n \n )}\n\n \n \n \n \n this.setState({ filter: { ...filter, numero: value.target.value } })}\n value={'numero' in filter ? filter.numero : ''}\n autoComplete=\"off\"\n />\n \n \n \n \n =']} onChange={value => this.setState({ filter: { ...filter, 'validade_exame>=': value.target.value } })} />\n \n \n Até\n \n \n this.setState({ filter: { ...filter, 'validade_exame<=': value.target.value } })} />\n \n \n \n \n this.setState({ filter: { ...filter, 'user_entity.name_like': value.target.value.toUpperCase() } })}\n value={'user_entity.name_like' in filter ? filter['user_entity.name_like'] : ''}\n autoComplete=\"off\"\n />\n \n \n \n \n
    \n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n\n}\n\nexport default withSnackbar(AssociadoCarteirinhas);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Media, Container } from \"reactstrap\";\n// core components\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { Avatar, ButtonGroup, Modal, Typography } from \"@material-ui/core\";\nimport moment from 'moment';\n\nimport Timeline from '@material-ui/lab/Timeline';\nimport TimelineItem from '@material-ui/lab/TimelineItem';\nimport TimelineSeparator from '@material-ui/lab/TimelineSeparator';\nimport TimelineConnector from '@material-ui/lab/TimelineConnector';\nimport TimelineContent from '@material-ui/lab/TimelineContent';\nimport TimelineDot from '@material-ui/lab/TimelineDot';\nimport TimelineOppositeContent from '@material-ui/lab/TimelineOppositeContent';\nimport ArrowUpwardIcon from '@material-ui/icons/ArrowUpward';\n\nimport { withSnackbar } from \"notistack\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass AssociadoPerfil extends React.Component {\n\n constructor(props) {\n super(props)\n this.state = {\n loading: false,\n eventosLoad: false,\n eventos: []\n }\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n this.findEvents()\n this.findBy()\n }\n\n findEvents = () => {\n this.setState({\n eventosLoad: true,\n })\n fetch(Config._HOST + \"/api/events/\" + this.props.match.params.uk)\n .then(response => response.json())\n .then(response => {\n this.setState({\n eventosLoad: false,\n eventos: response.data\n })\n }).catch(e => {\n this.setState({\n eventosLoad: false\n })\n })\n }\n\n findBy = () => {\n this.setState({\n loading: true,\n })\n fetch(Config._HOST + \"/api/user/\" + this.props.match.params.uk)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response.data\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n renderContent() {\n return \n

    \n {this.state.eventosLoad ? : this.state.eventos.length > 0 ?\n

    Linha do Tempo de Eventos

    :

    Não existem registros de eventos até o momento.

    }\n

    \n {!this.state.eventosLoad && this.state.eventos.length > 0 ?\n \n {this.state.eventos.map(single => {\n return \n \n {moment(single.dtEvent).format('DD/MM/YYYY')\n + \" às \" + moment(single.dtEvent).format('HH:mm')}\n \n \n \n \n \n \n {single.descricao}\n \n \n })}\n \n \n \n \n \n \n \n \n \n \n :

    }\n\n \n }\n\n render() {\n const { uk } = this.props.match.params;\n\n return (\n <>\n {/*

    */}\n \n \n \n }\n component={\n
    \n
    \n \n \n VOLTAR\n \n \n \n \n \n DEPENDENTES\n \n \n
    \n
    \n } titulo={this.state.name} subTitulo={\"Página de controle do Associado\"} />\n \n {this.renderContent()}\n \n {this.state.loading ? \n \n :

    }\n \n );\n }\n}\n\nexport default withSnackbar(AssociadoPerfil);\n","const estadoCivil = [\n { id: 1, descricao: 'Solteiro' },\n { id: 2, descricao: 'Relação Estável' },\n { id: 3, descricao: 'Casado' },\n { id: 4, descricao: 'Divorciado' },\n { id: 5, descricao: 'Separado' },\n { id: 6, descricao: 'Viúvo' }\n];\n\nexport { estadoCivil };\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\n\n// reactstrap components\nimport { Card, Table, Container, Row } from \"reactstrap\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport Config from \"Config\";\nimport api from \"services/api\";\nimport moment from \"moment\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { estadoCivil } from \"utils/estadoCivil\";\nimport { BoxLoading } from \"react-loadingg\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nclass Certificados extends Component {\n state = {\n loading: false\n };\n\n async componentDidMount() {\n this.setState({ loading: true });\n const response = await api.get(`/api/user/${this.props.match.params.uk}`);\n\n const tituloPatrimonial = {\n nome: response.data.name,\n data: moment().format(\"DD \\\\d\\\\e MMMM \\\\d\\\\e YYYY\")\n };\n\n const fichaSocio = {\n nome: response.data.name,\n titulo: !!response.data.numeroTitulo ? response.data.numeroTitulo : \"\",\n cpf_cnpj: !!response.data.cpfOrcnpj ? response.data.cpfOrcnpj : \"\",\n rg: !!response.data.rg ? response.data.rg : \"\",\n categoria: !!response.data.associadoUk ? \"Dependente\" : \"Proprietário\",\n estado_civil: !!response.data.estadoCivil ? estadoCivil.find(item => item.id === response.data.estadoCivil).descricao : \"\",\n logradouro: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].logradouro : \"\",\n numero: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].numero : \"\",\n complemento: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].complemento : \"\",\n bairro: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].bairro : \"\",\n cidade: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].cidade : \"\",\n uf: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].estado : \"\",\n cep: response.data.listaEnderecos.length > 0 ? response.data.listaEnderecos[0].cep : \"\",\n data_emissao: moment().format(\"DD/MM/YYYY\"),\n data_nascimento: !!response.data.dtNascimento ? moment(response.data.dtNascimento).format(\"DD/MM/YYYY\") : \"\",\n data_associacao: !!response.data.dtAssociacao ? moment(response.data.dtAssociacao).format(\"DD/MM/YYYY\") : \"\"\n };\n\n this.setState({ tituloPatrimonial, fichaSocio, loading: false });\n }\n\n renderContent() {\n const { tituloPatrimonial, fichaSocio, loading } = this.state;\n\n return (\n

    \n \n \n \n \n \n \n \n \n {loading ? : (\n <>\n \n \n \n \n \n \n \n \n\n {/* \n \n \n */}\n \n )}\n \n
    NOMEAÇÃO
    \n \n Ficha de Sócio\n \n
    \n \n \n \n
    \n
    \n \n Certificado de Título Patrimonial\n \n
    \n \n \n \n
    \n
    \n \n Certificado de Atirador\n \n
    \n \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n const { uk } = this.props.match.params;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n } titulo={\"Certificados\"} subTitulo={\"Módulo de Certificados\"} />\n\n \n \n
    \n \n {this.renderContent()}\n \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default Certificados;\n","import React from \"react\";\nimport {\n Button,\n Card,\n CardHeader,\n CardBody,\n FormGroup,\n Form,\n Input,\n Container,\n Row,\n Col\n} from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass Categoria extends React.Component {\n\n constructor(props) {\n super(props)\n this.state = {\n tituloPatrimonial: \"1\",\n regraAcesso: \"1\",\n contaComoAssociado: \"1\",\n habilitarCategoriaCadastroPublico: \"1\",\n categoria: \"1\",\n dresponsavelFinanceiro: \"1\",\n nome: \"\",\n\n // dataCategorias: [],\n dataResponsavelFinanceiro: [],\n }\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.push('/auth')\n return;\n }\n\n this.findAllResponsavelFinanceiro()\n\n if (this.props.match.params.uk) {\n this.findBy(this.props.match.params.uk)\n }\n\n this.setState({\n session: user,\n }, () => {\n\n })\n }\n\n findBy = (uk) => {\n this.setState({\n loading: true,\n })\n fetch(Config._HOST + \"/api/categoria/\" + uk)\n .then(response => response.json())\n .then(response => {\n if (response.status === 200) {\n let responsavelFinanceiro = response.data.responsavelFinanceiro[0]\n this.setState({ ...response.data, dresponsavelFinanceiro: responsavelFinanceiro })\n }\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n findAllResponsavelFinanceiro = () => {\n this.setState({\n loading: true,\n })\n fetch(Config._HOST + \"/api/user\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n dataResponsavelFinanceiro: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n // findAllCategorias = () => {\n // this.setState({\n // loading: true,\n // })\n // fetch(Config._HOST + \"/api/financeiro/categoria\")\n // .then(response => response.json())\n // .then(response => {\n // this.setState({\n // dataCategorias: response.status === 200 ? response.data: [],\n // loading: false,\n // })\n // }).catch(e => {\n // this.setState({\n // loading: false\n // })\n // })\n // }\n\n delete() {\n this.setState({\n loading: true,\n })\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + \"/api/categoria\",\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/categoria\")\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create() {\n let temp = this.state;\n if (!temp.nome) {\n this.props.enqueueSnackbar(\"Cadastre um nome para essa categoria\")\n return;\n }\n\n this.setState({ loading: true })\n let tempState = this.state;\n\n if (this.state.dresponsavelFinanceiro !== \"1\") {\n tempState['responsavelFinanceiro'] = [this.state.dresponsavelFinanceiro]\n }\n\n let dataUser = JSON.stringify(tempState)\n fetch(Config._HOST + \"/api/categoria\",\n {\n body: dataUser,\n method: this.props.match.params.uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/categoria\")\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n render() {\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Categorias\"}\n subTitulo={(this.props.match.params.uk ? \"Atualizar Categoria\" : \"Cadastrar nova Categoria\")} />\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Categoria\" : \"Cadastro de Categoria\"}\n

    \n \n
    \n
    \n \n
    \n
    \n Informações Gerais\n
    \n
    \n \n \n \n \n Nome\n \n {\n this.setState({ nome: value.target.value.toUpperCase() })\n }}\n value={this.state.nome}\n />\n \n \n \n \n \n \n Possui título patrimonial\n \n {\n this.setState({ tituloPatrimonial: value.target.value })\n }}\n defaultValue={this.state.tituloPatrimonial}\n >\n Não\n Sim\n \n \n \n \n \n \n \n \n Ignora as regras de acesso\n \n {\n this.setState({ regraAcesso: value.target.value })\n }}\n defaultValue={this.state.regraAcesso}\n >\n Não\n Sim\n \n \n \n \n {/* \n \n \n \n Conta como associado\n \n {\n this.setState({ contaComoAssociado: value.target.value })\n }}\n defaultValue={this.state.contaComoAssociado}\n >\n Não\n Sim\n \n \n \n */}\n {/* \n \n \n \n Habilitar categoria no cadastro público\n \n {\n this.setState({ habilitarCategoriaCadastroPublico: value.target.value })\n }}\n defaultValue={this.state.habilitarCategoriaCadastroPublico}\n >\n Não\n Sim\n \n \n \n */}\n {/* \n \n \n Responsável Financeiro\n \n option.name}\n onChange={(value, newValue) => {\n this.setState({dresponsavelFinanceiro: newValue})\n }}\n value={this.state.dresponsavelFinanceiro}\n defaultChecked={this.state.dresponsavelFinanceiro}\n renderInput={(params) => (\n
    \n \n
    \n )}\n />\n
    \n */}\n
    \n
    \n\n
    \n\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.props.match.params.uk ? \n \n \n \n :
    }\n \n
    \n \n \n \n \n
    \n \n \n );\n }\n}\n\nexport default withSnackbar(Categoria);\n","import React from \"react\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-big-calendar/lib/css/react-big-calendar.css';\n\n\n// reactstrap components\nimport {\n Card,\n CardHeader,\n Table,\n Container,\n Row,\n Button\n} from \"reactstrap\";\n\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n// const { width, height } = { width: window.innerWidth, height: window.innerHeight }\n\nclass CategoriaLista extends React.Component {\n\n constructor(props) {\n super(props)\n this.state = {\n data: [],\n dataComplete: [],\n loading: true\n }\n }\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({\n loading: true,\n })\n fetch(Config._HOST + \"/api/categoria\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n dataComplete: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n render() {\n return (\n <>\n {/*
    */}\n \n
    \n \n this.props.history.push('/admin/categoria/novo')}>\n NOVO\n \n \n
    \n
    \n }\n titulo={\"Categoria\"} subTitulo={\"Controle geral de Categorias\"} />\n {/* Page content */}\n \n {/* Table */}\n \n
    \n \n {this.renderContent()}\n \n
    \n
    \n
    \n \n );\n }\n\n renderContent() {\n const { uk } = this.props.match.params;\n if (this.state.loading) return ;\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não existem Categorias cadastradas

    \n
    \n )\n }\n\n return (\n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return this.props.history.push(\"/admin/categoria/\" + single.uk)}>\n \n \n \n })}\n \n
    NOMEAÇÃO
    {single.nome}\n
    \n \n \n \n
    \n
    \n )\n }\n}\n\nexport default withSnackbar(CategoriaLista);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport moment from \"moment\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass Compras extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/compra')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/compra/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Compras cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n )\n })}\n \n
    DESCRIÇÃOQUANTIDADEPREÇODATA DE COMPRAAÇÃO
    {single.descricao ? single.descricao : \"-\"}{single.quantidade ? single.quantidade : \"-\"}{single.preco ? single.preco : \"-\"}{single.dataCompra ? moment(single.dataCompra.split('.000')[0]).format(\"DD/MM/YYYY \\\\à\\\\s hh:mm\") : \"-\"}\n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Compras\"} subTitulo={\"Módulo de Gestão para Compras\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Compras ({this.state.data.length})

    \n\n {/* \n \n \n \n \n \n \n { this.searchUpdated(value.target.value.toUpperCase()) }}\n value={this.state.searchTerm}\n placeholder=\"Buscar por nome\" type=\"text\"\n />\n \n */}\n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Compras);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport { FormControl, MenuItem, Select, TextField, CircularProgress } from '@material-ui/core';\nimport Config from 'Config';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport IntlCurrencyInput from \"react-intl-currency-input\";\nimport moment from 'moment';\n\nconst currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nexport default class FormFields extends Component {\n\n searchFornecedor = (search) => {\n if (!search) return;\n\n const { handleChange } = this.props;\n handleChange({ loadSelect: true });\n\n fetch(Config._HOST + `/api/fornecedor?nome_like=${search}`, {\n method: 'GET',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n })\n .then(response => response.json())\n .then(response => {\n handleChange({\n dataFornecedores: response.data,\n loadSelect: false,\n })\n }).catch(e => {\n handleChange({\n loadSelect: false\n })\n })\n }\n\n render() {\n const { state, handleChange, handleChangeValorTotal } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange({ descricao: value.target.value.toUpperCase() })}\n value={state.descricao}\n />\n \n \n \n \n \n handleChange({ quantidade: value.target.value.toUpperCase() })}\n value={state.quantidade}\n />\n \n \n \n \n \n \n \n \n\n \n \n \n option.nome}\n onChange={(_, value) => handleChange({ \"fornecedor\": value })}\n onInputChange={(_, value) => this.searchFornecedor(value)}\n inputMode=\"text\"\n key=\"fornecedor\"\n loading={state.loadSelect}\n value={state.fornecedor ? state.fornecedor : null}\n renderInput={(params) => (\n \n {state.loadSelect ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n\n \n \n \n \n handleChange({ 'condicaoPagamento': value.target.value })}\n value={state.condicaoPagamento}\n >\n Boleto\n Conta Bancaria\n Pix\n \n \n \n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n handleChange({ dataCompra: value.target.value.toUpperCase() })\n }}\n className=\"form-control\"\n />\n \n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/compras';\nconst ROUTE_API = '/api/compra';\n\nclass CompraCrud extends React.Component {\n state = {\n dataFornecedores: [],\n condicaoPagamento: \"Boleto\",\n loadSelect: false\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy(this.props.match.params.id)\n }\n\n this.setState({ session: user })\n }\n\n findBy = (id) => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n ...response,\n tipo: (response.tipo && response.tipo ? response.tipo.id : null),\n status: (response.status && response.status ? response.status.id : null),\n dataUsers: [response.relator, ...response.envolvidos],\n data: response.data.split('.000')[0]\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n delete() {\n const { id } = this.props.match.params;\n this.setState({ loading: true });\n\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + `${ROUTE_API}/${id}`,\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/convidados')\n }\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create(id) {\n let temp = this.state;\n\n if (!this.state.tipo || this.state.tipo === 0) {\n this.props.enqueueSnackbar(\"Selecione um Tipo\")\n return;\n }\n if (!this.state.status || this.state.status === 0) {\n this.props.enqueueSnackbar(\"Selecione um Status\")\n return;\n }\n if (!this.state.descricao || this.state.descricao === \"\") {\n this.props.enqueueSnackbar(\"Campo Descrição em branco\")\n return;\n }\n if (!this.state.relator || this.state.relator === 0) {\n this.props.enqueueSnackbar(\"Selecione uma Relator\")\n return;\n }\n if (!this.state.envolvidos || this.state.envolvidos === 0) {\n this.props.enqueueSnackbar(\"Selecione os Envolvidos\")\n return;\n }\n if (!this.state.data || this.state.data === \"\") {\n this.props.enqueueSnackbar(\"Campo Data em branco\")\n return;\n }\n\n this.setState({ loading: true });\n\n temp[\"tipo\"] = { \"id\": temp.tipo };\n temp[\"status\"] = { \"id\": temp.status };\n\n let agendaData = JSON.stringify(temp);\n fetch(Config._HOST + `${ROUTE_API}/${id ? id : ''}`,\n {\n body: agendaData,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({ loading: false }, () => {\n this.props.history.push('/admin/compras')\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n handleChangeValorTotal = (event, value, maskedValue) => {\n event.preventDefault();\n this.setState({ vlTotal: value })\n };\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR OCORRENCIA\" : \"NOVO OCORRENCIA\"}\n subTitulo={\"Gerenciamento das Compras\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Compra\" : \"Cadastrar Novo Compra\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(CompraCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport { jsonToUrlFilter } from \"utils/filter\"\nimport api from \"services/api\"\nimport moment from \"moment\"\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst ROUTE_API = '/api/comunicado';\n\nclass Comunicados extends React.Component {\n state = {\n data: [],\n totalData: 50,\n filter: {\n _page: 1,\n _limit: 50,\n _order: 'desc',\n _sort: 'data_cadastro',\n },\n };\n\n componentDidMount() {\n this.loadMore()\n }\n\n loadMore = async () => {\n this.setState({ loading: true, filter: { ...this.state.filter, _page: this.state.filter._page + 1 } })\n let response = await api.get(`${ROUTE_API}?${jsonToUrlFilter(this.state.filter)}`);\n this.setState({\n data: this.state.data.concat(response.data),\n totalData: response.total_data,\n loading: false\n })\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/comunicado/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data && this.state.data.length === 0) {\n return (\n \n

    Não Existem Comunicados cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n {this.state.data && this.state.data.map(single => {\n return (\n \n \n \n \n \n )\n })}\n \n
    NOMEDATA CADASTROAÇÃO
    {single.nome ? single.nome : \"-\"}{single.dataCadastro ? moment(single.dataCadastro).format(\"DD/MM/YYYY\") : \"-\"}\n
    \n \n \n \n \n
    \n
    \n {this.state.totalData > this.state.data.length ? (\n \n ) :

    }\n

    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"COMUNICADOS\"} subTitulo={\"Módulo de Gestão para Comunicados\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Comunicados ({this.state.data ? this.state.data.length : 0})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Comunicados);\n","import api from \"services/api\";\n\nexport const req = (rota, data, id) => !!id ? api.put(`${rota}/${id}`, data) : api.post(`${rota}`, data)\n","import moment from 'moment';\nimport React, { Component } from 'react';\nimport { Col, Row, Input, FormGroup } from 'reactstrap';\nimport Dropzone from 'views/components/Dropzone';\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange('nome', value.target.value.toUpperCase())}\n value={state.nome ? state.nome : ''}\n />\n \n \n \n \n \n handleChange('dataPublicacao', value.target.value)}\n className=\"form-control\"\n />\n \n \n \n \n \n handleChange('mensagem', value.target.value)}\n />\n \n \n \n
    \n
    Botão
    \n
    \n \n \n \n \n handleChange('textoBotao', value.target.value.toUpperCase())}\n value={state.textoBotao ? state.textoBotao : ''}\n />\n \n \n \n \n \n handleChange('linkBotao', value.target.value)}\n value={state.linkBotao ? state.linkBotao : ''}\n />\n \n \n \n
    \n
    \n
    Anexo
    \n
    \n \n \n \n \n \n
    \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Card, CardBody, CardHeader, Col, Container, Form, Row } from \"reactstrap\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport Config from \"Config\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport { BoxLoading } from \"react-loadingg\";\nimport 'rodal/lib/rodal.css';\nimport api from \"services/api\";\nimport { handleDeleteFile, handleUploadArrayFile } from \"utils/file\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { req } from 'utils/req';\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport FormFields from \"./Form/FormFields\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport moment from \"moment\";\n\nconst HISTORY_BACK = '/admin/comunicados';\nconst ROUTE_API = '/api/comunicado';\n\nclass ComunicadoNovo extends React.Component {\n state = {\n files: [],\n filesRemovidos: [],\n dataCadastro: new Date(),\n dataPublicacao: moment().format('YYYY-MM-DDTHH:mm:ss'),\n loading: false\n };\n\n async componentDidMount() {\n const { id } = this.props.match.params;\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (id) await this.findBy();\n }\n\n findBy = async () => {\n this.setState({ loading: true })\n const { id } = this.props.match.params;\n\n let response = await api.get(`${ROUTE_API}/${id}`);\n this.setState({ ...response });\n let responseFiles = await api.get(`/api/bucket?${jsonToUrlFilter({ owner: response.uk })}`);\n this.setState({ files: responseFiles.data, loading: false })\n }\n\n create = async (id) => {\n let files = this.state.files;\n let temp = this.state;\n temp.files = [];\n\n if (!this.state.mensagem && files.length === 0) {\n this.props.enqueueSnackbar(\"Informe uma mensagem ou um anexo!\");\n return;\n }\n\n this.setState({ loading: true });\n await handleDeleteFile(this.state.filesRemovidos);\n\n req(ROUTE_API, temp, id)\n .then(async (response) => {\n if(!response || ('status' in response && response.status !== 200)) throw new Error(\"Ocorreu um Erro!\");\n if (files.length > 0) {\n const isUploaded = await handleUploadArrayFile(response.uk, 'comunicado', files)\n if(isUploaded !== 200) throw new Error(\"Falha ao salvar o arquivo.\")\n this.props.enqueueSnackbar(\"Arquivo salvo com sucesso\")\n }\n\n this.props.enqueueSnackbar(response.id ? \"Atualizado com Sucesso!\" : \"Criado com Sucesso!\");\n this.props.history.push(HISTORY_BACK);\n this.setState({ loading: false });\n }).catch((e) => {\n this.props.enqueueSnackbar(e.message);\n this.setState({ loading: false });\n });\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n const { loading } = this.state;\n\n return (\n <>\n {loading && (\n
    \n \n
    \n )}\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR COMUNICADOS\" : \"NOVO COMUNICADOS\"}\n subTitulo={\"Gerenciamento dos Comunicados\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Comunicados\" : \"Cadastrar Novo Comunicados\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ComunicadoNovo);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport moment from \"moment\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass controleAcesso extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/controle-acesso')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/controle-acesso/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Controle de Acesso cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n console.log(single);\n return (\n \n \n \n \n \n \n \n \n \n )\n })}\n \n
    PESSOATIPO DE PESSOATIPO DE ABERTURAZONAPLACA DO VEÍCULODATAAÇÃO
    \n {single.usuario ? single.usuario.name\n : single.fornecedor ? single.fornecedor.nome\n : single.visitante ? single.visitante.nome\n : '-'}\n \n {single.usuario ? \"Usuário\"\n : single.fornecedor ? \"Fornecedor / Prestador\"\n : single.visitante ? \"Visitante\"\n : '-'}\n {single.tipoAbertura ? single.tipoAbertura.nome : '-'}{single.zona ? single.zona.nome : '-'}{single.placaVeiculo ? single.placaVeiculo : '-'}{single.dataHora ? (\n moment(single.dataHora).format('DD/MM/YYYY') + \" às \" +\n moment(single.dataHora).format('HH:mm')\n ) : \"-\"}\n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n \n \n \n
    \n \n }\n titulo={\"Controle de Acesso\"} subTitulo={\"Módulo de Gestão para Controle de Acesso\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Controle de Acesso ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(controleAcesso);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Row, Input } from 'reactstrap';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport { CircularProgress, FormControl, MenuItem, Select, TextField } from '@material-ui/core';\nimport Config from \"Config\";\nimport moment from 'moment';\nimport { jsonToUrlFilter } from 'utils/filter';\n\nexport default class FormFields extends Component {\n\n searchUsuario = (search) => {\n if (!search) return;\n\n const { handleChange } = this.props;\n handleChange({ loadClientes: true });\n\n\n if (!search) return;\n this.setState({ loadClientes: true });\n\n const params = {\n _limit: 100,\n name_like: search,\n profile: {\n id: [2, 3]\n }\n };\n\n fetch(Config._HOST + `/api/user?${jsonToUrlFilter(params)}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n dataUsuario: 'data' in response ? response.data : [],\n loadClientes: false,\n })\n }).catch(e => {\n this.setState({ loadClientes: false });\n })\n }\n\n searchFornecedor = (search) => {\n if (!search) return;\n\n const { handleChange } = this.props;\n handleChange({ loadClientes: true });\n\n fetch(Config._HOST + `/api/fornecedor?nome_like=${search}`, {\n method: 'GET',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n }).then(response => response.json())\n .then(response => {\n handleChange({\n dataFornecedor: response.data,\n loadFornecedor: false,\n })\n }).catch(e => {\n handleChange({\n loadFornecedor: false\n })\n })\n }\n\n searchVisitante = (search) => {\n if (!search) return;\n\n const { handleChange } = this.props;\n handleChange({ loadClientes: true });\n\n fetch(Config._HOST + `/api/visitante?nome_like=${search}`, {\n method: 'GET',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n }).then(response => response.json())\n .then(response => {\n handleChange({\n dataVisitante: response.data,\n loadVisitante: false,\n })\n }).catch(e => {\n handleChange({\n loadVisitante: false\n })\n })\n }\n\n async componentDidMount() {\n const { handleChange } = this.props;\n handleChange({ loading: true })\n\n fetch(Config._HOST + '/api/controle-acesso/tipo-abertura', { method: 'GET' })\n .then(response => response.json())\n .then(response => {\n if (response.data.length) {\n handleChange({\n tipoAbertura: response.data[0],\n dataTipoAbertura: response.data,\n loading: false,\n })\n }\n }).catch(e => {\n handleChange({ loading: false })\n })\n\n fetch(Config._HOST + '/api/controle-acesso/zona', { method: 'GET' })\n .then(response => response.json())\n .then(response => {\n if (response.data.length) {\n handleChange({\n zona: response.data[0],\n dataZona: response.data,\n loading: false,\n })\n }\n }).catch(e => {\n handleChange({ loading: false })\n })\n }\n\n render() {\n const { props, state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n \n { handleChange({ tipoBusca: value.target.value }) }}\n value={state.tipoBusca}\n >\n Usuário\n Fornecedor / Prestador\n Visitante\n \n \n \n \n\n {state.tipoBusca === \"Usuário\" ? (\n \n \n \n option.name}\n onChange={(_, value) => handleChange({ usuario: value })}\n onInputChange={(_, value) => this.searchUsuario(value)}\n inputMode=\"text\"\n key=\"usuario\"\n loading={state.loadUsuario}\n value={state.usuario}\n renderInput={(params) => (\n \n {state.loadUsuário ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n ) : state.tipoBusca === \"Fornecedor\" ? (\n <>\n \n \n \n option.nome}\n onChange={(_, value) => handleChange({ fornecedor: value })}\n onInputChange={(_, value) => this.searchFornecedor(value)}\n inputMode={\"text\"}\n key=\"fornecedor\"\n loading={state.loadFornecedor}\n value={state.fornecedor}\n renderInput={(params) => (\n \n {state.loadFornecedor ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n \n \n \n ) : (\n <>\n \n \n \n option.nome}\n onChange={(_, value) => handleChange({ visitante: value })}\n onInputChange={(_, value) => this.searchVisitante(value)}\n inputMode=\"text\"\n key=\"visitante\"\n loading={state.loadVisitante}\n value={state.visitante}\n renderInput={(params) => (\n \n {state.loadVisitante ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n \n \n \n )}\n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n handleChange({ dataHora: value.target.value.toUpperCase() })\n }}\n className=\"form-control\"\n />\n \n \n\n \n \n \n handleChange({ placaVeiculo: value.target.value.toUpperCase() })}\n value={state.placaVeiculo}\n />\n \n \n \n \n \n \n { handleChange({ tipoAbertura: value.target.value }) }}\n value={state.tipoAbertura}\n >\n {state.dataTipoAbertura.map(value => (\n {value.nome}\n ))}\n \n \n \n \n \n \n \n \n { handleChange({ zona: value.target.value }) }}\n value={state.zona}\n >\n {state.dataZona.map(value => (\n {value.nome}\n ))}\n \n \n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/controle-acesso';\nconst ROUTE_API = '/api/controle-acesso';\n\nclass controleAcessoCrud extends React.Component {\n state = {\n tipoBusca: \"Usuário\",\n dataHora: '',\n dataFornecedor: [],\n dataUsuario: [],\n dataVisitante: [],\n Usuario: '',\n fornecedor: '',\n visitante: '',\n dataTipoAbertura: [],\n dataZona: [],\n tipoAbertura: '',\n zona: ''\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy(this.props.match.params.id)\n }\n\n this.setState({ session: user })\n }\n\n findBy = (id) => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({ ...response.data })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n delete() {\n const { id } = this.props.match.params;\n this.setState({ loading: true });\n\n let dataUser = JSON.stringify(this.state);\n fetch(Config._HOST + `${ROUTE_API}/${id}`,\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push('/admin/agenda/' + this.props.match.params.uk + '/convidados')\n }\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create(id) {\n let temp = this.state;\n\n // Associado\n if (temp.tipoBusca === \"Associado\") {\n if (!this.state.associado) {\n this.props.enqueueSnackbar(\"Selecione uma Associado\")\n return;\n }\n }\n else {\n temp.associado = null;\n }\n\n // Fornecedor\n if (temp.tipoBusca === \"Fornecedor\") {\n if (!this.state.fornecedor) {\n this.props.enqueueSnackbar(\"Selecione um Fornecedor\")\n return;\n }\n }\n else {\n temp.fornecedor = null;\n }\n\n // Visitante\n if (temp.tipoBusca === \"Visitante\") {\n if (!this.state.visitante) {\n this.props.enqueueSnackbar(\"Selecione um Visitante\")\n return;\n }\n }\n else {\n temp.visitante = null;\n }\n\n\n if (!this.state.dataHora || this.state.dataHora === \"\") {\n this.props.enqueueSnackbar(\"Selecione uma Data\")\n return;\n }\n if (!this.state.tipoAbertura || this.state.tipoAbertura === 0) {\n this.props.enqueueSnackbar(\"Selecione um Tipo de Abertura\")\n return;\n }\n if (!this.state.zona || this.state.zona === 0) {\n this.props.enqueueSnackbar(\"Selecione um Zona\")\n return;\n }\n\n this.setState({ loading: true });\n\n let data = JSON.stringify(temp);\n fetch(Config._HOST + ROUTE_API + '/' + (id ? id : ''),\n {\n body: data,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false });\n\n if (data.status === 400) {\n this.props.enqueueSnackbar(data.message)\n }\n else {\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.props.history.push(HISTORY_BACK)\n }\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR CONTROLE ACESSO\" : \"NOVO CONTROLE ACESSO\"}\n subTitulo={\"Gerenciamento dos Controle Acesso\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Controle Acesso\" : \"Cadastrar Novo Controle Acesso\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(controleAcessoCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport moment from \"moment\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass DeliberacaoDiretoria extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/deliberacao-diretoria')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/deliberacao-diretoria/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Deliberação da Diretoria cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n )\n })}\n \n
    TIPO REUNIÃOTIPO ORGÃODATAAÇÃO
    {single.tipoReuniao ? single.tipoReuniao : \"-\"}{single.tipoOrgao ? single.tipoOrgao : \"-\"}{single.data ? moment(single.data).format(\"DD/MM/YYYY\") : \"-\"}\n
    \n \n \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Deliberação da Diretoria\"} subTitulo={\"Módulo de Gestão para Deliberação da Diretoria\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Deliberação da Diretoria ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(DeliberacaoDiretoria);\n","// import { FormControl, MenuItem, Select } from '@material-ui/core';\nimport { FormControl, Select, MenuItem } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport Dropzone from \"views/components/Dropzone\";\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n \n handleChange('tipoReuniao', value.target.value)}\n >\n Ordinária\n Extraordinária\n \n \n \n \n \n \n \n \n handleChange('tipoOrgao', value.target.value)}\n >\n Executivo\n Deliberativo\n Fiscal\n Assembleia Geral\n \n \n \n \n \n \n \n handleChange('data', value.target.value)}\n value={state.data}\n />\n \n \n \n \n \n handleChange('observacao', value.target.value.toUpperCase())}\n value={state.observacao}\n />\n \n \n \n
    \n
    \n
    Anexo
    \n
    \n \n \n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport { handleUploadArrayFile } from \"utils/file\";\nimport api from \"services/api\";\nimport { handleDeleteFile } from \"utils/file\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { BoxLoading } from \"react-loadingg\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/deliberacao-diretoria';\nconst ROUTE_API = '/api/deliberacao-diretoria';\n\nclass DeliberacaoDiretoriaCrud extends Component {\n state = {\n tipoReuniao: \"Ordinária\",\n tipoOrgao: \"Executivo\",\n files: [],\n filesRemovidos: []\n }\n\n async componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n if (!user) {\n window.localStorage.removeItem(Config._USER);\n this.props.history.replace('/auth');\n return;\n }\n\n if (this.props.match.params.id)\n this.findBy(this.props.match.params.id);\n\n this.setState({ session: user });\n }\n\n findBy = async (id) => {\n this.setState({ loading: true })\n\n let response = await api.get(`${ROUTE_API}/${id}`);\n this.setState(response);\n let responseFiles = await api.get(`/api/bucket?${jsonToUrlFilter({ owner: response.uk })}`);\n this.setState({ files: responseFiles.data, loading: false })\n }\n\n create = async (id) => {\n let files = this.state.files;\n\n if (files.length === 0) {\n this.props.enqueueSnackbar(\"Envie um arquivo!\");\n return;\n }\n\n if (!this.state.data || this.state.data.length === 0) {\n this.props.enqueueSnackbar(\"Campo data não preenchido!\");\n return;\n }\n\n if (!this.state.observacao || this.state.observacao.length === 0) {\n this.props.enqueueSnackbar(\"Campo observação não preenchido!\");\n return;\n }\n\n await handleDeleteFile(this.state.filesRemovidos);\n let temp = this.state;\n temp.files = [];\n\n this.setState({ loading: true });\n let response = null;\n\n if(id)\n response = await api.put(`${ROUTE_API}/${id}`, temp);\n else\n response = await api.post(`${ROUTE_API}/`, temp);\n\n if (files.length > 0) {\n this.props.enqueueSnackbar(await handleUploadArrayFile(response.uk, 'documento', files) === 200 ? \"Upload Realizada com sucesso\" : \"Falha no upload do arquivo.\")\n }\n\n this.props.enqueueSnackbar(id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\");\n\n this.setState({ loading: false });\n this.props.history.push(HISTORY_BACK);\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n const { loading } = this.state;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR DELIBERAÇÃO DA DIRETORIA\" : \"NOVO DELIBERAÇÃO DA DIRETORIA\"}\n subTitulo={\"Gerenciamento da Deliberação da Diretoria\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Deliberação da diretoria\" : \"Cadastrar Novo Deliberação da diretoria\"}\n

    \n \n
    \n
    \n \n {loading ? (\n \n ) : (\n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n )}\n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(DeliberacaoDiretoriaCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { withSnackbar } from \"notistack\";\nimport React, { Component } from \"react\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { jsonToUrlFilter } from \"utils/filter\"\n// reactstrap components\nimport { Button, Card, CardHeader, Container, Row, Table } from \"reactstrap\";\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nconst ROUTE_API = '/api/documentos';\n\nclass Documentos extends Component {\n state = {\n data: [],\n filter: {\n _page: 1,\n _limit: 50,\n _order: 'asc',\n _sort: 'nome',\n },\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = async () => {\n this.setState({ loading: true })\n\n let response = await api.get(`${ROUTE_API}?${jsonToUrlFilter(this.state.filter)}`);\n this.setState({ data: response.data, loading: false })\n }\n\n delete(id) {\n this.setState({ loading: true });\n\n api.delete(`${ROUTE_API}/${id}`)\n .then((response) => {\n this.props.enqueueSnackbar(response ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!');\n this.setState({ loading: false });\n this.findAll();\n })\n .catch((err) => {\n console.error(\"ops! ocorreu um erro\" + err);\n this.setState({ loading: false });\n });\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o Cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.delete(id);\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Documentos Cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n )\n })}\n \n
    NOMECATEGORIAAÇÃO
    {single.nome ? single.nome : \"-\"}{single.categoria ? single.categoria.nome : \"\"}\n
    \n \n \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Documentos\"} subTitulo={\"Módulo de Gestão para Documentos\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Documentos ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Documentos);\n","// import { FormControl, MenuItem, Select } from '@material-ui/core';\nimport { FormControl } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport Select from 'react-select';\nimport { Col, Input, Row } from 'reactstrap';\nimport Dropzone from \"views/components/Dropzone\";\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange } = this.props;\n const customStyles = {\n valueContainer: (provided, state) => ({\n ...provided,\n height: '40px',\n })\n }\n\n return (\n <>\n
    \n \n \n \n \n handleChange( \"nome\", value.target.value.toUpperCase() )}\n value={state.nome}\n />\n \n \n \n \n \n {/* handleChange(\"categoria\", value.target.value)}\n > */}\n {/* Selecione uma Categoria */}\n {/* {state.categorias.map(single => {\n // return {single.nome}\n })} */}\n {/* */}\n handleChange(\"categoria\", value)}\n options={state.categorias.map(data => ({label: data.nome, value: data.id}))}\n />\n \n \n \n
    \n
    \n
    Anexo
    \n
    \n \n \n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport { handleUploadArrayFile } from \"utils/file\";\nimport api from \"services/api\";\nimport { findAllDocumentoCategorias } from \"utils/find\";\nimport { handleDeleteFile } from \"utils/file\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/documentos';\nconst ROUTE_API = '/api/documentos';\n\nclass DocumentosCrud extends React.Component {\n state = {\n // categoria: {id: 0, nome: \"\"},\n categorias: [],\n files: [],\n filesRemovidos: []\n }\n\n async componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n if (!user) {\n window.localStorage.removeItem(Config._USER);\n this.props.history.replace('/auth');\n return;\n }\n\n const response = await findAllDocumentoCategorias();\n this.setState({ categorias: response.data });\n\n if (this.props.match.params.id)\n this.findBy(this.props.match.params.id);\n\n this.setState({ session: user });\n }\n\n findBy = async (id) => {\n this.setState({ loading: true })\n\n let response = await api.get(`${ROUTE_API}/${id}`);\n this.setState({\n ...response,\n categoria: { value: response.categoria.id, label: response.categoria.nome }\n });\n let responseFiles = await api.get(`/api/bucket?${jsonToUrlFilter({ owner: response.uk })}`);\n this.setState({ files: responseFiles.data, loading: false })\n }\n\n create = async (id) => {\n if (!this.state.categoria) {\n this.props.enqueueSnackbar(\"Selecione uma categoria de documento!\")\n return;\n }\n let files = this.state.files;\n if (files.length === 0) {\n this.props.enqueueSnackbar(\"Envie um arquivo!\");\n return;\n }\n await handleDeleteFile(this.state.filesRemovidos);\n let temp = this.state;\n temp.files = [];\n temp.categoria = { id: this.state.categoria.value, nome: this.state.categoria.label }\n this.setState({ loading: true });\n (id ? api.put(`${ROUTE_API}/${id}`, temp) : api.post(`${ROUTE_API}/`, temp))\n .then(async (response) => {\n this.props.enqueueSnackbar(id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\");\n if (files.length > 0) {\n this.props.enqueueSnackbar(await handleUploadArrayFile(response.uk, 'documento', files) === 200 ? \"Upload Realizada com sucesso\" : \"Falha no upload do arquivo.\")\n }\n this.setState({ loading: false }, () => {\n this.props.history.push(HISTORY_BACK);\n })\n })\n .catch((err) => {\n console.error(\"ops! ocorreu um erro\" + err);\n this.setState({ loading: false });\n });\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n return (\n <>\n\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR DOCUMENTO\" : \"NOVO DOCUMENTO\"}\n subTitulo={\"Gerenciamento de Documento\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Documento\" : \"Cadastrar Novo Documento\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(DocumentosCrud);\n","import moment from \"moment\";\n\nconst replaceAt = (value, index, replacement) => {\n if (index >= value.length) {\n return value.valueOf();\n }\n\n return value.substring(0, index) + replacement + value.substring(index + 1);\n}\n\nfunction isNumeric(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n}\n\nconst addMask = (value, mask) => {\n if (value) {\n for (let i = 0; i < value.length; i++) {\n const pos = mask.indexOf('#');\n mask = replaceAt(mask, pos, value[i]);\n }\n\n return mask;\n }\n}\n\nconst addMaskMoney = (value, decimal = 2) => {\n if (value) {\n value = isNumeric(value) ? value.toString() : value;\n\n if(value.split('.').length === 2 && value.split('.')[1].length === 1) {\n value = value + \"0\";\n }\n\n value = value.indexOf('.') === -1 ? value + '00' : value;\n value = value.replace('.', '').replace(',', '').replace(/\\D/g, '');\n const options = { minimumFractionDigits: decimal };\n const result = new Intl.NumberFormat('pt-BR', options).format(parseFloat(value) / 100);\n return 'R$ ' + result;\n }\n\n return 'R$ 0,00';\n}\n\nconst addMaskWithPrefix = (value, prefix, decimal = 2) => {\n if (value) {\n if (isNumeric(value))\n return prefix + ' ' + value.toFixed(decimal).toString().replace('.', ',');\n\n return prefix + ' ' + value.toString().replace('.', ',');\n }\n else {\n if (isNumeric(value))\n return prefix + ' ' + value.toFixed(decimal).toString().replace('.', ',');\n }\n}\n\nconst addMaskWithSuffix = (value, suffix, decimal = 2) => {\n if (value) {\n if (isNumeric(value))\n return value.toFixed(decimal).toString().replace('.', ',') + ' ' + suffix;\n\n return value.toString().replace('.', ',') + ' ' + suffix;\n }\n else {\n if (isNumeric(value))\n return value.toFixed(decimal).toString().replace('.', ',') + ' ' + suffix;\n }\n}\n\nconst addPhoneMask = (value) => {\n if (value) {\n if (value.length === 10)\n return addMask(value, '(##) ####-####');\n else if (value.length === 11)\n return addMask(value, '(##) #####-####');\n\n return value;\n }\n}\n\nconst dateFormat = (date) => {\n return moment(date).format('DD/MM/YYYY');\n}\n\nconst datetimeFormat = (date) => {\n return moment(date).format('DD/MM/YYYY HH:mm:ss');\n}\n\nfunction __t(text) {\n return text ? text : '-';\n}\n\nexport {\n addMask,\n addMaskMoney,\n addMaskWithPrefix,\n addMaskWithSuffix,\n addPhoneMask,\n dateFormat,\n datetimeFormat,\n __t\n}\n","const updateUrlParams = (newParams) => {\n const searchParams = new URLSearchParams(window.location.search);\n\n Object.entries(newParams).forEach(([key, value]) => {\n if (value === undefined || value === null) {\n searchParams.delete(key);\n } else {\n searchParams.set(key, value);\n }\n });\n\n const newUrl = `${window.location.pathname}?${searchParams.toString()}`;\n window.history.pushState(null, \"\", newUrl);\n};\n\nexport default updateUrlParams;\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\n\nimport { ButtonGroup, FormControl, FormGroup, MenuItem, Select, TextField } from \"@material-ui/core\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport Filter from \"views/components/Filter\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { onChangeCheckbox } from \"Config\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport numeral from 'numeral';\nimport React, { Component } from \"react\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { BoxLoading, WaveLoading } from \"react-loadingg\";\nimport { Button, Card, CardHeader, Col, Container, Input, Row, Table } from \"reactstrap\";\nimport api from \"services/api\";\nimport ButtonExport from \"utils/ButtonExport\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { DescricaoStatusPagamento } from \"utils/StatusPagamento\";\nimport { addMaskMoney } from \"utils/Text/Mask\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport updateUrlParams from \"utils/updateUrlParams\";\n\nclass FinanceiroList extends Component {\n\n state = {\n data: [],\n categorias: [],\n associados: [],\n fornecedores: [],\n checked: [],\n checkAll: true,\n loading: false,\n loadingMore: false,\n categoria: '',\n cliente: '',\n fornecedor: '',\n numeroParcelas: 0,\n total_valor_pagamento: null,\n total_valor_pago: null,\n total_valor_multa_juros: null,\n filter: {\n data_inicio: moment().startOf('month').format('YYYY-MM-DD'),\n data_fim: moment().endOf('month').format('YYYY-MM-DD'),\n status: [0, 5],\n emitir_boleto_via: ['Viacredi','Superlogica'],\n financeiro_contas_entity: {\n type: this.props.match.params.type,\n },\n _page: 1,\n _limit: 50,\n _order: 'desc',\n _sort: \"dt_vencimento\",\n },\n };\n\n async componentDidMount() {\n this.defaultFilter = { ...this.state.filter };\n const urlParams = Object.fromEntries(new URLSearchParams(window.location.search).entries());\n\n if(Object.entries(urlParams).length !== 0) {\n let filterTemp = { ...this.state.filter }\n\n if('associado' in urlParams && urlParams.associado.length > 0) {\n filterTemp = {\n ...filterTemp,\n financeiro_contas_entity: {\n ...filterTemp.financeiro_contas_entity,\n cliente: { id: urlParams.associado }\n }\n }\n }\n\n if('data_inicio' in urlParams && urlParams.data_inicio.length > 0) {\n filterTemp = {\n ...filterTemp,\n data_inicio: urlParams.data_inicio\n }\n }\n\n if('data_fim' in urlParams && urlParams.data_fim.length > 0) {\n filterTemp = {\n ...filterTemp,\n data_fim: urlParams.data_fim\n }\n }\n\n if('status' in urlParams && urlParams.status.length > 0) {\n filterTemp = {\n ...filterTemp,\n status: urlParams.status.split(\",\").map(Number)\n }\n }\n\n if('emitir_boleto_via' in urlParams && urlParams.emitir_boleto_via.length > 0) {\n filterTemp = {\n ...filterTemp,\n emitir_boleto_via: urlParams.emitir_boleto_via.split(\",\")\n }\n }\n\n this.setState({\n filter: filterTemp\n }, async () => {\n await this.findContas();\n\n await this.findCategorias();\n\n if(this.props.match.params.type === 'receber') {\n await this.findAssociados(urlParams?.associado);\n }\n else {\n await this.findFornecedores();\n }\n })\n }\n else {\n await this.findContas();\n\n await this.findCategorias();\n\n if(this.props.match.params.type === 'receber') {\n await this.findAssociados();\n }\n else {\n await this.findFornecedores();\n }\n }\n }\n\n getValorTotal = async filter => {\n const hasCat = filter.financeiro_contas_entity?.ct\n let filterTemp = { ...filter, _limit: 99999999 }\n\n if(!hasCat) filterTemp.financeiro_contas_entity.ct = {\n ...filter.financeiro_contas_entity.ct,\n ['id!=']: 4\n }\n\n\n this.setState({ total_valor_pagamento: null, total_valor_pago: null, total_valor_multa_juros: null });\n let total_valor_pagamento = 0, total_valor_pago = 0, total_valor_multa_juros = 0;\n const responseTotal = await api.get(`api/documento-agenda/parcelamentos?${jsonToUrlFilter(filterTemp)}`);\n\n if(responseTotal) {\n responseTotal.data.forEach(parcela => {\n const valorPagamento = parcela.valorPagamento != null ? parseFloat(parcela.valorPagamento) : 0;\n const valorPagamentoRecebido = parcela.valorPagamentoRecebido != null ? parseFloat(parcela.valorPagamentoRecebido) : 0;\n total_valor_pagamento += valorPagamento\n total_valor_pago += valorPagamentoRecebido\n\n if(valorPagamentoRecebido > 0 && valorPagamento !== valorPagamentoRecebido) {\n total_valor_multa_juros += parseFloat((valorPagamentoRecebido - valorPagamento))\n }\n })\n }\n\n this.setState({ total_valor_pagamento, total_valor_pago, total_valor_multa_juros });\n }\n\n getContas = async (filter, data, removeData) => {\n const hasCat = filter.financeiro_contas_entity?.ct\n let filterTemp = filter\n\n if(!hasCat) filterTemp.financeiro_contas_entity.ct = {\n ...filter.financeiro_contas_entity.ct,\n ['id!=']: 4\n }\n\n const response = await api.get(`api/documento-agenda/parcelamentos?${jsonToUrlFilter(filterTemp)}`);\n\n if (response) {\n if (removeData) {\n this.setState({\n ...response,\n loading: false,\n loadingMore: false,\n checked: []\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data],\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n findContas = async (removeData = true) => {\n const { data, filter, loading } = this.state;\n if (loading) return;\n\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n let tmpFilter = { ...filter };\n\n tmpFilter[`${filter._sort}>=`] = filter.data_inicio + \" 00:00:00\";\n tmpFilter[`${filter._sort}<=`] = filter.data_fim + \" 23:59:59\";\n delete tmpFilter['data_inicio'];\n delete tmpFilter['data_fim'];\n\n if(this.props.match.params.type === 'pagar') {\n delete tmpFilter['emitir_boleto_via'];\n }\n\n this.getContas(tmpFilter, data, removeData);\n this.getValorTotal(tmpFilter);\n }\n\n findCategorias = async () => {\n const { type } = this.props.match.params;\n\n const filter = {\n _limit: 999,\n _order: 'ASC',\n _sort: \"nome\",\n ativo: true,\n codigo_like: type === 'receber' ? '1.%' : '2.%'\n }\n\n const response = await api.get(`/api/financeiro/categoria?${jsonToUrlFilter(filter)}`);\n this.setState({ categorias: response.data });\n }\n\n findAssociados = async (associadoId) => {\n const filter = {\n _limit: 99999,\n _order: 'ASC',\n _sort: \"name\",\n profile: { id: [2] },\n }\n\n const response = await api.get(`/api/user?${jsonToUrlFilter(filter)}`);\n\n if(associadoId) {\n const associadoSelected = response.data.find(item => item.id == associadoId)\n\n this.setState({\n associados: response.data,\n cliente: `(${associadoSelected.numeroTitulo}) ${associadoSelected.name}`\n });\n }\n else {\n this.setState({ associados: response.data })\n }\n }\n\n findFornecedores = async () => {\n const filter = {\n _limit: 99999,\n _order: 'ASC',\n _sort: \"nome\"\n }\n\n const response = await api.get(`/api/fornecedor?${jsonToUrlFilter(filter)}`);\n this.setState({ fornecedores: response.data });\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.findContas(false);\n });\n }\n\n handleLimpar = () => {\n window.history.replaceState({}, document.title, window.location.pathname);\n this.setState({\n categoria: '',\n cliente: '',\n fornecedor: '',\n filter: {\n ...this.defaultFilter\n },\n }, () => {\n this.findContas();\n });\n }\n\n handleAlterarStatus = status => {\n setTimeout(() => {\n this.setState({\n modal: {\n dtRecebimento: status === 1 ? moment().format('YYYY-MM-DD') : null,\n observacao: ''\n }\n }, () => {\n confirmAlert({\n customUI: ({ onClose }) => {\n return (\n
    \n

    {\"Mudar status para '\" + (status === 1 ? \"Confirmado\" : \"Cancelado\") + \"'?\"}

    \n Todas as cobranças selecionas mudarão de status.\n \n\n {status === 1 && (\n \n \n \n this.setState({ modal: { ...this.state.modal, dtRecebimento: value.target.value } })}\n defaultValue={this.state.modal.dtRecebimento}\n />\n \n \n )}\n\n \n \n \n this.setState({ modal: { ...this.state.modal, observacao: value.target.value } })}\n />\n \n \n \n
    \n \n {\n const { modal } = this.state;\n\n if(status === 1 && modal.dtRecebimento.length === 0) {\n this.props.enqueueSnackbar(\"preencha o campo 'Data Pagamento'.\");\n return;\n }\n\n if(modal.observacao.length === 0) {\n this.props.enqueueSnackbar(\"preencha o campo 'Observação'.\");\n return;\n }\n\n this.setState({ loading: true });\n onClose();\n\n this.setState({ loading: true });\n const response = await api.put('/api/financeiro/contas/status', { status: status, uks: this.state.checked, ...this.state.modal });\n setTimeout(() => {\n this.findContas();\n }, 300);\n\n this.setState({ loading: false });\n this.props.enqueueSnackbar(response.mensagem);\n }}\n >\n Sim\n \n
    \n
    \n );\n }\n })\n });\n }, 300);\n\n }\n\n exportData = (data, type) => {\n const { type: tipoConta } = this.props.match.params;\n\n data = {\n ...data,\n _limit: 10000,\n [`${data._sort}>=`]: data.data_inicio + \" 00:00:00\",\n [`${data._sort}<=`]: data.data_fim + \" 23:59:59\"\n };\n\n if(tipoConta === 'receber') {\n data['_view'] = {\n template: 3,\n title: `VALORES RECEBIDOS - ${moment(data.data_inicio).format('DD/MM/YYYY')} A ${moment(data.data_fim).format('DD/MM/YYYY')}`,\n head: 'Cliente, Categoria, Valor Parcela, Vencimento, Emissão do Boleto Via, Status, Valor Pago, Pago Dia, Créditado na Conta',\n body: 'financeiroContasEntity.cliente.name,financeiroContasEntity.ct.nome,valorPagamento,dtVencimento:date,emitirBoletoVia,status:statusPagamento,valorPagamentoRecebido,dtRecebimento:date,dtCreditoConta:date'\n };\n }\n else {\n data['_view'] = {\n template: 3,\n title: `VALORES PAGOS - ${moment(data.data_inicio).format('DD/MM/YYYY')} A ${moment(data.data_fim).format('DD/MM/YYYY')}`,\n head: 'Fornecedor, Categoria, Valor Parcela, Vencimento, Status, Pago Dia',\n body: 'financeiroContasEntity.fornecedor.nome,financeiroContasEntity.ct.nome,valorPagamento,dtVencimento:date,status:statusPagamento,dtRecebimento:date'\n };\n }\n\n if(type === \"pdf\") {\n data['_view'] = { ...data['_view'], orientacao: 'landscape' }\n }\n\n delete data['data_inicio'];\n delete data['data_fim'];\n\n return data;\n }\n\n renderContent() {\n const { type } = this.props.match.params;\n const { data, length, total_pages, filter, loading } = this.state;\n\n if (loading) return ;\n\n if (length === 0) {\n return (\n \n

    Não existem Contas a {type === 'receber' ? 'Receber' : 'Pagar'}

    \n
    \n )\n }\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 {data.map(single => {\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 onChangeCheckbox(value, \"select-all\", this)} checked={!this.state.checkAll} />\n
    \n
    {type === 'receber' ? 'SÓCIO' : 'FORNECEDOR'}CATEGORIAVALOR PARCELAVALOR TOTALVENCIMENTOEMISSÃO DO BOLETO VIASTATUSBOLETOVALOR PAGOPAGO DIACRÉDITADO NA CONTAJUROS/MULTAAÇÃO
    \n
    \n value === single.uk))} onChange={(value) => onChangeCheckbox(value, single.uk, this)} />\n
    \n
    \n {single.financeiroContasEntity.cliente && single.financeiroContasEntity.cliente.name ? (\n \n {single.financeiroContasEntity.cliente.name}\n \n ) : single.financeiroContasEntity.fornecedor && single.financeiroContasEntity.fornecedor.nome ? (\n \n {single.financeiroContasEntity.fornecedor.nome}\n \n ) : \"-\"}\n \n {single.financeiroContasEntity.ct && single.financeiroContasEntity.ct.nome}\n \n {numeral(single.valorPagamento).format('$ 0,0.00')}\n {single.financeiroContasEntity.numeroParcelas > 1 && ` (Parcela ${single.parcela} de ${single.financeiroContasEntity.numeroParcelas})`}\n {numeral(single.financeiroContasEntity.vlTotal).format('$ 0,0.00')}{single.dtVencimento ? moment(single.dtVencimento).format('DD/MM/YYYY') : '-'}{single.emitirBoletoVia && single.emitirBoletoVia.toUpperCase()}\n {single.linkBoleto !== null && (\n \n \n Boleto\n \n )}\n {single.agrupamento !== null && (\n \n \n Abrir Cobrança única\n \n )}\n {numeral(single.valorPagamentoRecebido).format('$ 0,0.00')}{single.dtRecebimento ? moment(single.dtRecebimento).format('DD/MM/YYYY') : '-'}{single.dtCreditoConta ? moment(single.dtCreditoConta).format('DD/MM/YYYY') : '-'}{(single.valorPagamentoRecebido && parseFloat(single.valorPagamentoRecebido.toFixed(2)) > parseFloat(single.valorPagamento.toFixed(2))) ? numeral(single.valorPagamentoRecebido - single.valorPagamento).format('$ 0,0.00') : '-'}\n
    \n \n \n \n
    \n
    \n\n {filter._page < total_pages && (\n \n )}\n
    \n )\n }\n\n render() {\n const { filter, total_data, categorias, categoria, associados, cliente, fornecedores, fornecedor, loading } = this.state;\n const { type } = this.props.match.params;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n {type === 'receber' && (\n \n ACORDO\n \n )}\n \n RECORRÊNCIA\n \n \n
    \n \n }\n titulo={`CONTAS A ${type === 'receber' ? 'RECEBER' : 'PAGAR'}`}\n subTitulo={`Controle completo das contas a ${type === 'receber' ? 'Receber' : 'Pagar'}`}\n />\n \n \n \n \n \n

    Total {type === 'receber' ? 'a Receber' : 'a Pagar'} ({total_data ? total_data : 0})

    \n\n {!!total_data && (\n <>\n \n \n \n )}\n\n {this.state.checked.length > 0 && (\n \n )}\n\n \n \n \n \n {\n this.setState({ filter: { ...filter, _sort: value.target.value } })\n updateUrlParams({ _sort: value.target.value })\n }}\n >\n Data de Vencimento\n Data de Recebimento\n Data de Crédito na Conta\n \n \n \n \n {\n this.setState({ filter: { ...filter, data_inicio: value.target.value } })\n updateUrlParams({ data_inicio: value.target.value })\n }} />\n \n Até\n \n {\n this.setState({ filter: { ...filter, data_fim: value.target.value } })\n updateUrlParams({ data_fim: value.target.value })\n }} />\n \n \n \n \n {\n let status = value.target.value\n if (value.target.value.indexOf(0) > -1) {\n status.push(5)\n }\n else {\n status = status.filter(item => item !== 5);\n }\n if (value.target.value.indexOf(1) > -1) {\n status.push(6)\n }\n else {\n status = status.filter(item => item !== 6);\n }\n\n status = [...new Set(status)];\n this.setState({ filter: { ...filter, status } })\n updateUrlParams({ status })\n }}\n multiple={true}\n >\n Aguardando Pagamento\n Confirmado\n Cancelado\n Vencido\n Em Acordo\n \n \n \n \n \n \n \n \n `(${option.codigo}) ${option.nome}`}\n onChange={(_, itens) => {\n if (itens.length > 0) {\n this.setState({\n filter: {\n ...filter,\n financeiro_contas_entity: {\n ...filter.financeiro_contas_entity,\n ct: { id: itens.map(item => item.id) }\n }\n }\n })\n }\n else {\n const financeiro_contas_entity = Object.keys(filter.financeiro_contas_entity).filter(key => key !== 'ct').reduce((result, current) => {\n result[current] = filter.financeiro_contas_entity[current];\n return result;\n }, {});\n\n this.setState({ filter: { ...filter, financeiro_contas_entity } });\n }\n }}\n inputMode=\"text\"\n multiple\n value={filter.financeiro_contas_entity.ct}\n inputValue={categoria}\n onInputChange={(_, newInputValue) => {\n this.setState({ categoria: newInputValue });\n }}\n renderOption={(option) => (\n ({option.codigo}) {option.nome}\n )}\n renderInput={(params) => (\n \n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n {type === 'receber' ? (\n <>\n \n \n `(${option.numeroTitulo}) ${option.name}`}\n onChange={(_, item) => {\n if (item) {\n this.setState({ filter: { ...filter, financeiro_contas_entity: { ...filter.financeiro_contas_entity, cliente: { id: item.id } } } })\n updateUrlParams({ associado: item.id })\n }\n else {\n const financeiro_contas_entity = Object.keys(filter.financeiro_contas_entity).filter(key => key !== 'cliente').reduce((result, current) => {\n result[current] = filter.financeiro_contas_entity[current];\n return result;\n }, {});\n\n this.setState({ filter: { ...filter, financeiro_contas_entity } });\n updateUrlParams({ associado: financeiro_contas_entity.id })\n }\n }}\n inputMode=\"text\"\n multiple={false}\n value={filter.financeiro_contas_entity.cliente}\n inputValue={cliente}\n onInputChange={(_, newInputValue) => {\n this.setState({ cliente: newInputValue });\n }}\n renderOption={(option) => (\n ({option.numeroTitulo}) {option.name}\n )}\n renderInput={(params) => (\n \n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n {\n this.setState({ filter: { ...filter, emitir_boleto_via: value.target.value } })\n updateUrlParams({ emitir_boleto_via: value.target.value })\n }}\n multiple={true}\n >\n Viacredi\n Superlogica\n \n \n \n \n ) : (\n \n \n `${option.nome}`}\n onChange={(_, item) => {\n if (item) {\n this.setState({ filter: { ...filter, financeiro_contas_entity: { ...filter.financeiro_contas_entity, fornecedor: { id: item.id } } } })\n }\n else {\n const financeiro_contas_entity = Object.keys(filter.financeiro_contas_entity).filter(key => key !== 'fornecedor').reduce((result, current) => {\n result[current] = filter.financeiro_contas_entity[current];\n return result;\n }, {});\n\n this.setState({ filter: { ...filter, financeiro_contas_entity } });\n }\n }}\n inputMode=\"text\"\n multiple={false}\n value={filter.financeiro_contas_entity.fornecedor}\n inputValue={fornecedor}\n onInputChange={(_, newInputValue) => {\n this.setState({ fornecedor: newInputValue });\n }}\n renderOption={(option) => (\n {option.nome}\n )}\n renderInput={(params) => (\n \n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n )}\n \n \n
    \n {!loading && (\n \n\n Valor total:\n {this.state.total_valor_pagamento === null ? (\n \n ) : (\n addMaskMoney(this.state.total_valor_pagamento.toFixed(2))\n )}\n\n Valor total pago:\n {this.state.total_valor_pago === null ? (\n \n ) : (\n addMaskMoney(this.state.total_valor_pago.toFixed(2))\n )}\n\n Valor total de juros/multa:\n {this.state.total_valor_multa_juros === null ? (\n \n ) : (\n addMaskMoney(this.state.total_valor_multa_juros.toFixed(2))\n )}\n\n \n )}\n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroList);\n","import { CircularProgress, FormControl, MenuItem, Select, TextField } from '@material-ui/core';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport moment from 'moment';\nimport React, { Component } from 'react';\nimport { Col, Row, Input, FormGroup, Table, Button } from 'reactstrap';\nimport IntlCurrencyInput from \"react-intl-currency-input\";\nimport Dropzone from \"views/components/Dropzone\";\nimport ButtonControl from 'views/components/ButtonControl';\n\nconst currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nexport default class FormFields extends Component {\n\n renderTotalParcelamento() {\n const { renderTotalParcelamentoItem, state } = this.props;\n\n return (\n
    \n \n \n \n {state.recorrencia === 'Parcelado' && (\n \n )}\n \n \n \n \n \n \n {renderTotalParcelamentoItem()}\n \n
    ParcelasValorStatusData Vencimento
    \n
    \n )\n }\n\n renderTotalParcelamentoEdit() {\n const { uk, type } = this.props.props.match.params;\n const { state, handleChange, changeStatus, changeData, showInfo, handleGerarBoleto } = this.props;\n const disabled = !!uk;\n\n const total = state.parcelamentos.sort((a, b) => {\n if (a.parcela < b.parcela)\n return -1;\n if (a.parcela > b.parcela)\n return 1;\n\n return 0;\n })\n\n return (\n \n \n \n \n \n \n \n {state.tipoPagamento === 1 && type === 'receber' && (\n \n )}\n \n \n \n {total.map((single, index) => {\n return (\n \n \n \n \n \n \n \n \n = 0 ? state[`status${single.uk}`] : single.status}\n disabled={[1,2,4,5,6,7].indexOf(single.status) > -1 || [1,2,4,5,6,7].indexOf(state[`status${single.uk}`]) > -1}\n onChange={value => changeStatus(value.target.value, single.uk, single.valorPagamento)}\n >\n Aguardando pagamento\n Confirmado\n Cancelado\n Vencido\n Em Acordo\n {single.status === 5 && Aguardando pagamento}\n {single.status === 6 && Confirmado}\n {single.status === 7 && Vencido}\n \n\n \n \n {(single.status === 1 || single.observacao) && (\n \n )}\n \n \n \n \n \n {type === 'receber' && (\n \n )}\n \n )\n })}\n \n
    ParcelasValorData VencimentoStatusLink Boleto
    {single.parcela}ª Parcela\n \n \n {\n if (!moment(value.target.value).isValid()) return;\n state.parcelamentos[index]['dtVencimento'] = value.target.value;\n handleChange('parcelamentos', state.parcelamentos);\n }}\n onBlur={(value) => {\n changeData(value.target.value, single.uk);\n }}\n className=\"form-control\"\n disabled={disabled}\n />\n \n
    \n {state.tipoPagamento === 1 && !!single.linkBoleto ? (\n \n \n Link Boleto\n \n ) : state.tipoPagamento === 1 && single.status === 0 ? (\n \n ) : (\n Não disponivel\n )}\n
    \n )\n }\n\n render() {\n const { uk, type } = this.props.props.match.params;\n const { state, handleChange, handleChangeValorTotal, searchFornecedor, searchAssociado, handleChangeParcelas } = this.props;\n const disabled = !!uk;\n\n return (\n <>\n
    Informações Gerais
    \n
    \n \n {state.tipoBusca === \"Fornecedor\" ? (\n <>\n \n \n \n `(${option.cnpjCpf}) ${option.nome}`}\n onChange={(_, value) => handleChange(\"fornecedor\", value)}\n onInputChange={(_, value) => searchFornecedor(value)}\n inputMode=\"text\"\n key=\"fornecedor\"\n loading={state.loadFornecedor}\n value={state.fornecedor}\n renderOption={(option) => (\n ({option.cnpjCpf}) {option.nome}\n )}\n renderInput={(params) => (\n \n {state.loadFornecedor ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n \n \n \n ) : (\n <>\n {!uk ? (\n \n \n \n \n { handleChange(\"todosClientes\", value.target.value) }}\n value={state.todosClientes ? state.todosClientes : false}\n disabled={disabled}\n >\n Não\n Sim\n \n \n \n \n ) : ''}\n\n {!state.todosClientes ? (\n \n \n \n `(${!!option.numeroTitulo ? option.numeroTitulo : option.cpfOrcnpj}) ${option.name}`}\n onChange={(_, value) => handleChange(\"clientes\", value)}\n onInputChange={(_, value) => searchAssociado(value)}\n multiple={uk ? false : true}\n inputMode=\"text\"\n key=\"clientes\"\n loading={state.loadAssociado}\n value={uk ? state.clientes[0] : state.clientes}\n renderOption={(option) => (\n {`(${!!option.numeroTitulo ? option.numeroTitulo : option.cpfOrcnpj}) ${option.name}`}\n )}\n renderInput={(params) => (\n \n {state.loadAssociado ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n ) : (\n <>\n \n \n handleChange(\"enviaParaProprietario\", !state.enviaParaProprietario)}\n checked={state.enviaParaProprietario}\n value={state.enviaParaProprietario}\n disabled={disabled}\n />\n \n \n \n handleChange(\"enviaParaRemido\", !state.enviaParaRemido)}\n checked={state.enviaParaRemido}\n value={state.enviaParaRemido}\n disabled={disabled}\n />\n \n \n \n handleChange(\"enviaParaBenemerito\", !state.enviaParaBenemerito)}\n checked={state.enviaParaBenemerito}\n value={state.enviaParaBenemerito}\n disabled={disabled}\n />\n \n \n \n \n )}\n \n )}\n\n \n \n \n handleChange(\"descricao\", value.target.value.toUpperCase())}\n value={state.descricao}\n disabled={disabled}\n maxLength={120}\n />\n \n \n \n \n \n `(${option.codigo}) ${option.nome}`}\n onChange={(_, value) => handleChange(\"ct\", value)}\n inputMode=\"text\"\n key=\"categorias\"\n value={state.ct}\n multiple={false}\n disabled={disabled}\n renderOption={(option) => (\n \n ({option.codigo}) {option.nome} \n \n )}\n renderInput={(params) => (\n \n {state.loadClientes ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n {\n handleChange(\"departamento\", value.target.value)\n }}\n disabled={disabled}\n >\n Selecione um Departamento\n {state.departamentos.map(single => {\n return {single.nome}\n })}\n \n \n \n \n
    \n\n
    \n
    Financeiro
    \n
    \n \n {type === 'receber' && (\n \n \n \n {\n handleChange(\"emitirBoletoVia\", value.target.value)\n\n if(value.target.value === 'Viacredi') {\n handleChange(\"caixa\", 10)\n handleChange(\"agruparCobrancaMensal\", true)\n }\n }}\n defaultValue={state.emitirBoletoVia}\n disabled={disabled}\n >\n Viacredi\n Superlogica\n \n \n \n )}\n \n \n \n handleChange(\"caixa\", value.target.value)}\n defaultValue={state.caixa}\n disabled={disabled || state.emitirBoletoVia === 'Viacredi'}\n >\n Selecione uma Conta\n {state.contas.map(single => {\n return {single.nome}\n })}\n \n \n \n {state.emitirBoletoVia === 'Viacredi' && (\n <>\n \n \n \n handleChange(\"agruparCobrancaMensal\", value.target.value)}\n defaultValue={!!state.agruparCobrancaMensal}\n disabled={disabled}\n >\n Sim\n Não\n \n \n \n\n {!!state.agruparCobrancaMensal && (\n \n \n \n Será emitido um único boleto no final do mês com essa cobrança\n \n \n )}\n \n )}\n \n \n \n \n \n {\n handleChange(\"recorrencia\", value.target.value)\n\n if (value.target.value !== 'Parcelado') {\n handleChange(\"numeroParcelas\", 1)\n handleChange(\"dtVencimento\", moment().add(2, 'days').format('YYYY-MM-DD'));\n handleChange(\"status\", 0);\n handleChange(\"valorPagamento\", state.vlTotal);\n }\n }}\n disabled={disabled}\n >\n Nenhuma\n Parcelado\n Fixa Mensal\n \n \n \n \n \n \n handleChange(\"tipoPagamento\", value.target.value)}\n disabled={disabled}\n >\n {type === 'receber' ? (\n Boleto\n ) : state.tipoPagamentos.map(value => (\n {value.descricao}\n ))}\n \n \n \n \n \n \n {\n await handleChangeValorTotal(event, value);\n await handleChangeParcelas();\n }}\n />\n \n \n\n {state.recorrencia === 'Parcelado' && (\n \n \n \n {\n await handleChange(\"numeroParcelas\", value.target.value);\n await handleChangeParcelas();\n }}\n />\n \n \n )}\n\n {(state.recorrencia === 'Fixa Mensal' && !uk) && (\n \n \n \n {\n if (!moment(value.target.value).isValid()) return;\n handleChange(\"dataPrimeiraParcela\", value.target.value)\n }}\n className=\"form-control\"\n disabled={disabled}\n />\n \n \n )}\n\n \n\n {type === 'receber' && state.tipoPagamento === 1 && (\n \n \n \n \n handleChange(\"desconto\", value.target.value.toUpperCase())}\n value={state.desconto}\n disabled={disabled}\n />\n \n \n \n \n \n handleChange(\"multa\", value.target.value.toUpperCase())}\n value={state.multa}\n disabled={disabled}\n />\n \n \n \n \n \n handleChange(\"juros\", value.target.value.toUpperCase())}\n value={state.juros}\n disabled={disabled}\n />\n \n \n \n )}\n\n {(state.recorrencia !== 'Fixa Mensal' || !!uk) && (\n
    \n {uk ? this.renderTotalParcelamentoEdit() : this.renderTotalParcelamento()}\n
    \n )}\n
    \n\n {(state.recorrencia !== 'Fixa Mensal' || !!uk) && (\n <>\n
    \n
    Anexo
    \n
    \n \n \n \n \n \n
    \n \n )}\n \n );\n }\n}\n","import { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config, { currencyConfig } from \"Config\";\nimport moment from 'moment';\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport IntlCurrencyInput from \"react-intl-currency-input\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Card, CardBody, CardHeader, Col, Container, Form, FormGroup, Input, Row } from \"reactstrap\";\nimport api from \"services/api\";\nimport { handleDeleteFile, handleUploadArrayFile } from \"utils/file\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport FormFields from \"./Form\";\nimport { getAccessWithStatus } from \"utils/StatusAcesso\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroCRUD extends React.Component {\n\n state = {\n valor: null,\n ct: null,\n tipoBusca: this.props.match.params.type === 'receber' ? 'Clientes' : 'Fornecedor',\n departamento: 0,\n status: [],\n categorias: [],\n departamentos: [],\n contas: [],\n associados: [],\n dataFornecedor: [],\n parcelamentos: [],\n tipoPagamentos: [],\n clientes: [],\n desconto: 0,\n multa: 0,\n juros: 0,\n recorrencia: \"Nenhuma\",\n tipoPagamento: 1,\n todosClientes: false,\n dtnfe: new Date(),\n enviaParaProprietario: true,\n enviaParaBenemerito: false,\n enviaParaRemido: false,\n files: [],\n filesRemovidos: [],\n loading: false,\n gerarBoletoLoading: false,\n emitirBoletoVia: this.props.match.params.type === 'receber' ? 'Viacredi' : '',\n agruparCobrancaMensal: false,\n caixa: 10,\n filter: {\n _limit: 999,\n _order: 'ASC',\n _sort: \"nome\",\n ativo: true\n },\n modal: {\n dtRecebimento: '2022-10-11',\n valorPagamentoRecebido: 0,\n observacao: ''\n }\n }\n\n async componentDidMount() {\n this.setState({ loading: true });\n\n const { uk } = this.props.match.params;\n let parcelas = {};\n\n for (let i = 1; i <= 100; i++) {\n parcelas = {\n ...parcelas,\n ['valorPagamento' + i]: 0,\n ['status' + i]: 0,\n ['dtVencimento' + i]: moment().add(i - 1, 'months').endOf('month').format('YYYY-MM-DD'),\n };\n }\n\n this.setState({ ...parcelas, numeroParcelas: 1 });\n\n !!uk && await this.findBy();\n !uk && await this.findCategorias();\n !uk && await this.findTipoPagamentos();\n !uk && await this.findAllDepartamento();\n !uk && await this.findAllCaixa();\n\n if(!uk) {\n const socioUk = (new URLSearchParams(window.location.search)).get(\"socio\");\n const descricao = (new URLSearchParams(window.location.search)).get(\"descricao\");\n const valor = (new URLSearchParams(window.location.search)).get(\"valor\");\n\n if(!!socioUk) {\n const response = await api.get(`/api/user/${socioUk}`);\n this.setState({ clientes: [response.data] });\n }\n\n if(!!descricao) {\n this.setState({ descricao });\n }\n\n if(!!valor) {\n this.setState({ vlTotal: parseFloat((parseFloat(valor)).toFixed(2)) }, () => this.handleChangeParcelas());\n }\n }\n\n this.setState({ loading: false });\n }\n\n findBy = async () => {\n const { uk } = this.props.match.params;\n if(!uk) return;\n\n const response = await api.get(`/api/financeiro/contas/${uk}`);\n\n if (response) {\n let temp = response.data.data;\n temp.contas = [temp.cx];\n temp.departamentos = [temp.dp];\n temp.associados = [temp.cliente];\n temp.dataFornecedor = [temp.fornecedor];\n temp.tipoPagamentos = [temp.tipoPagamento];\n temp.categorias = [temp.ct];\n temp.caixa = temp.cx.id;\n temp.departamento = temp.dp.id;\n temp.clientes = [temp.cliente];\n temp.tipoPagamento = temp.tipoPagamento.id;\n temp.files = response.data.files;\n temp.emitirBoletoVia = temp.parcelamentos[0].emitirBoletoVia\n\n this.setState({ ...this.state, ...temp });\n }\n }\n\n findAllDepartamento = async () => {\n const response = await api.get(\"/api/financeiro/departamento\");\n\n if (response) {\n this.setState({\n departamentos: response.status === 200 ? response.data : []\n })\n }\n }\n\n findCategorias = async () => {\n const { type } = this.props.match.params;\n\n const filter = {\n _limit: 999,\n _order: 'ASC',\n _sort: \"nome\",\n ativo: true,\n codigo_like: type === 'receber' ? '1.%' : '2.%'\n }\n\n const response = await api.get(`/api/financeiro/categoria?${jsonToUrlFilter(filter)}`);\n this.setState({ categorias: response.data });\n }\n\n findTipoPagamentos = async () => {\n const filter = {\n _limit: 999,\n _order: 'ASC',\n _sort: \"id\",\n }\n\n const response = await api.get(`/api/tipo-pagamentos?${jsonToUrlFilter(filter)}`);\n this.setState({ tipoPagamentos: response.data });\n }\n\n handleGerarBoleto = async parcelaId => {\n this.setState({ gerarBoletoLoading: true });\n const response = await api.post(`/api/boleto/${parcelaId}`);\n this.setState({ gerarBoletoLoading: false });\n\n if(!response || response.status === 400) {\n this.props.enqueueSnackbar(\"Ocorreu um erro ao gerar o boleto!\", {variant: 'error'})\n }\n\n await this.findBy();\n }\n\n searchFornecedor = async (search) => {\n if (!search) return;\n\n this.setState({ loadFornecedor: true });\n const response = await api.get(`/api/fornecedor?nome_like=${search}`);\n const response2 = await api.get(`/api/fornecedor?cnpj_cpf_like=${search}`);\n\n if (response && response2) {\n this.setState({\n dataFornecedor: [...response.data, ...response2.data],\n loadFornecedor: false,\n })\n }\n else {\n this.setState({ loadFornecedor: false })\n }\n }\n\n searchAssociado = async (search) => {\n if (!search) return;\n\n const filter = {\n _limit: 50,\n _order: 'ASC',\n _sort: \"name\",\n profile: { id: [2, 4] },\n status_acesso: getAccessWithStatus(\"App\")\n };\n\n this.setState({ loadAssociado: true });\n const response = await api.get(`/api/user?name_like=${search}&${jsonToUrlFilter(filter)}`);\n const response2 = await api.get(`/api/user?numero_titulo_like=${search}&${jsonToUrlFilter(filter)}`);\n const response3 = await api.get(`/api/user?cpf_orcnpj_like=${search}&${jsonToUrlFilter(filter)}`);\n\n if (response && response2 && response3) {\n this.setState({\n associados: [...response.data, ...response2.data, ...response3.data],\n loadAssociado: false,\n })\n }\n else {\n this.setState({ loadAssociado: false })\n }\n }\n\n findAllCaixa = async () => {\n const response = await api.get('/api/financeiro/caixa?ativo=true');\n\n if (response) {\n this.setState({ contas: response.data })\n }\n }\n\n handleChangeValorTotal = (event, value) => {\n event.preventDefault();\n this.setState({ vlTotal: value })\n }\n\n delete = () => {\n this.setState({ loading: true });\n let dataUser = JSON.stringify({ uk: this.state.uk });\n\n fetch(Config._HOST + \"/api/financeiro/contas\",\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem);\n\n this.setState({ loading: false }, () => {\n const { type } = this.props.match.params;\n if (data.status === 200) {\n this.props.history.push(`/admin/financeiro/contas/${type}`);\n }\n })\n }).catch(e => {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n changeData = (data, uk) => {\n this.setState({ loading: true })\n\n if(!!uk) {\n let dataUser = JSON.stringify({ dtVencimento: moment(data).format('YYYY-MM-DD') + \"T00:00:00\" });\n\n fetch(Config._HOST + `/api/documento-agenda/parcelamentos/${uk}/data`,\n {\n body: dataUser,\n method: 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(response => {\n if (!this.props.match.params.uk) {\n this.setState({\n loading: false\n })\n return\n }\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n }\n\n showInfo = parcela => {\n confirmAlert({\n customUI: ({ onClose }) => {\n return (\n
    \n

    Mais informações da parcela selecionada

    \n \n {parcela.status === 1 && (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n \n \n \n \n \n \n
    \n \n
    \n
    \n );\n }\n })\n }\n\n changeStatus = (status, uk, valorPagamento) => {\n if (this.props.match.params.uk) {\n this.setState({\n modal: {\n dtRecebimento: status === 1 ? moment().format('YYYY-MM-DD') : null,\n valorPagamentoRecebido: status === 1 ? valorPagamento : null,\n observacao: ''\n }\n }, () => {\n confirmAlert({\n customUI: ({ onClose }) => {\n return (\n
    \n

    Tem certeza que deseja alterar status?

    \n \n\n {status === 1 && (\n \n \n \n this.setState({ modal: { ...this.state.modal, dtRecebimento: value.target.value } })}\n defaultValue={this.state.modal.dtRecebimento}\n />\n \n \n )}\n\n \n \n \n this.setState({ modal: { ...this.state.modal, observacao: value.target.value } })}\n />\n \n \n \n
    \n \n {\n const { modal } = this.state;\n\n if(status === 1 && modal.dtRecebimento.length === 0) {\n this.props.enqueueSnackbar(\"preencha o campo 'Data Pagamento'.\");\n return;\n }\n\n if(modal.observacao.length === 0) {\n this.props.enqueueSnackbar(\"preencha o campo 'Observação'.\");\n return;\n }\n\n this.setState({ loading: true });\n onClose();\n\n const response = await api.post(`/api/documento-agenda/parcelamentos/${uk}/status/${status}`, modal);\n\n if (response.status === 200) {\n this.setState({ [\"status\" + uk]: status })\n }\n\n this.setState({ loading: false })\n this.props.enqueueSnackbar(response.mensagem);\n }}\n >\n Sim\n \n
    \n
    \n );\n },\n buttons: [\n {\n label: 'Não'\n },\n {\n label: 'Sim',\n }\n ]\n })\n });\n }\n else {\n this.setState({ [\"status\" + uk]: status });\n }\n }\n\n create = async () => {\n const { uk, type } = this.props.match.params;\n let files = this.state.files;\n let temp = {...this.state};\n temp.files = [];\n\n if (!uk) {\n if (temp.tipoBusca === 'Fornecedor') {\n if (!temp.fornecedor) {\n this.props.enqueueSnackbar(\"Selecione um fornecedor\");\n return;\n }\n }\n else {\n if (!temp.todosClientes && !temp.clientes.length) {\n this.props.enqueueSnackbar(\"Selecione um associado\");\n return;\n }\n }\n }\n\n if (!temp.ct) {\n this.props.enqueueSnackbar(\"Selecione uma categoria\")\n return;\n }\n\n if (!temp.departamento) {\n this.props.enqueueSnackbar(\"Selecione um departamento\")\n return;\n }\n\n if (temp.caixa === 0) {\n this.props.enqueueSnackbar(\"Selecione uma conta\")\n return;\n }\n\n if (!temp.vlTotal || temp.vlTotal < 0) {\n this.props.enqueueSnackbar(\"Preencha um valor total\")\n return;\n }\n\n if (!temp.tipoPagamento) {\n this.props.enqueueSnackbar(\"Preencha a Forma de Pagamento\")\n return;\n }\n else {\n temp.tipoPagamento = { id: temp.tipoPagamento }\n }\n\n let menorParcela = 0;\n let total = temp.numeroParcelas;\n let parcelamentos = [];\n let totalParcelas = 0;\n\n for (let i = 1; i <= total; i++) {\n parcelamentos.push({\n dtVencimento: moment(temp[\"dtVencimento\" + i]).format('YYYY-MM-DD') + \"T00:00:00\",\n parcela: i,\n valorPagamento: temp[\"valorPagamento\" + i],\n status: temp[\"status\" + i],\n emitirBoletoVia: temp.emitirBoletoVia\n })\n\n totalParcelas = parseFloat((parseFloat(totalParcelas) + parseFloat(temp[\"valorPagamento\" + i])).toFixed(2));\n\n if (temp[\"valorPagamento\" + i] > menorParcela)\n menorParcela = temp[\"valorPagamento\" + i];\n }\n\n if (!uk && totalParcelas !== temp.vlTotal) {\n this.props.enqueueSnackbar(\"Soma de Parcelas e Valor Total Diferentes!\");\n return;\n }\n\n if (!uk && menorParcela < 7.5) {\n this.props.enqueueSnackbar(\"O valor da parcela do boleto deve ser maior ou igual à R$7,50\")\n return;\n }\n\n this.setState({ loading: true });\n\n temp[\"type\"] = type;\n temp[\"dtnfe\"] = moment(new Date()).format('YYYY-MM-DD') + \"T00:00:00\";\n temp['recorrencia'] = temp['recorrencia'] === 'Nenhuma' ? null : temp['recorrencia'];\n\n if(temp.recorrencia === 'Fixa Mensal') {\n const response = await api.post('/api/financeiro/recorrencias', {\n descricao: temp.descricao,\n tipo: temp.type,\n tipo_busca: temp.tipoBusca,\n todos_clientes: temp.todosClientes,\n envia_para_proprietario: temp.enviaParaProprietario,\n envia_para_remido: temp.enviaParaRemido,\n envia_para_benemerito: temp.enviaParaBenemerito,\n tipo_pagamento: temp.tipoPagamento,\n valor: temp.vlTotal,\n usuarios: temp.tipoBusca === 'Clientes' ? temp.clientes.map(item => { return { id: item.id } }) : null,\n fornecedor: temp.tipoBusca === 'Fornecedor' ? temp.fornecedor : null,\n departamento: { id: temp.departamento },\n categoria: { id: temp.ct.id },\n conta: { id: temp.caixa },\n juros: temp.juros,\n desconto: temp.desconto,\n multa: temp.multa,\n data_primeira_parcela: temp.dataPrimeiraParcela\n });\n\n if(!!response) {\n this.props.enqueueSnackbar(\"Conta criada com sucesso!\");\n this.props.history.replace(`/admin/financeiro/recorrencia/${type}/${response.id}/editar`);\n await this.findBy();\n this.setState({ loading: false });\n }\n else {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops, ocorreu um erro!\");\n }\n }\n else {\n let dataUser = JSON.stringify({ ...temp, parcelamentos });\n await handleDeleteFile(this.state.filesRemovidos);\n\n fetch(Config._HOST + \"/api/financeiro/contas\",\n {\n body: dataUser,\n method: uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(async (response) => {\n this.props.enqueueSnackbar(response.mensagem)\n\n if (response.status === 200) {\n if (files.length > 0) {\n const saveFile = await handleUploadArrayFile(Array.isArray(response.data) ? response.data[0].uk : response.data.uk, `conta-${type}`, files);\n\n if (saveFile === 200) {\n this.props.enqueueSnackbar(\"Upload Realizada com sucesso\");\n }\n else {\n this.props.enqueueSnackbar(\"Falha no upload do arquivo.\")\n return;\n }\n }\n\n await this.props.history.replace(`/admin/financeiro/contas/${type}/${Array.isArray(response.data) ? response.data[0].uk : response.data.uk}/editar`);\n await this.findBy();\n }\n\n this.setState({ loading: false });\n }).catch(e => {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops, ocorreu um erro!\");\n })\n }\n }\n\n\n handleChangeParcelas = async () => {\n const { vlTotal, numeroParcelas } = this.state;\n const valorParcela = (vlTotal / numeroParcelas);\n let parcelas = {};\n let valor_total = 0;\n\n for (let i = 1; i <= parseInt(numeroParcelas); i++) {\n valor_total += parseFloat((valorParcela).toFixed(2));\n parcelas = {\n ...parcelas,\n ['dtVencimento' + i]: moment().add(i - 1, 'months').endOf('month').format('YYYY-MM-DD'),\n ['valorPagamento' + i]: parseFloat((valorParcela).toFixed(2)),\n ['status' + i]: 0,\n };\n }\n\n let valorResto = parseFloat((vlTotal - valor_total).toFixed(2));\n parcelas['valorPagamento' + numeroParcelas] += valorResto;\n await this.setState({ ...parcelas });\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n const { tipoPagamento, loading } = this.state;\n const { uk, type } = this.props.match.params;\n const disabled = uk && tipoPagamento === \"BOLETO\" ? true : false;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={`Contas a ${type === 'receber' ? 'Receber' : 'Pagar'}`}\n subTitulo={(uk ? `Atualizar contas a ${type === 'receber' ? 'Receber' : 'Pagar'}` : `Cadastrar nova conta a ${type === 'receber' ? 'Receber' : 'Pagar'}`)}\n />\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {uk ? `Atualizar contas a ${type === 'receber' ? 'Receber' : 'Pagar'}` : `Cadastro de conta a ${type === 'receber' ? 'Receber' : 'Pagar'}`}\n

    \n \n
    \n
    \n \n {loading ? (\n \n ) : (\n
    \n \n \n \n )}\n
    \n
    \n \n
    \n
    \n \n );\n }\n\n renderTotalParcelamentoItem = () => {\n let total = this.state.numeroParcelas;\n let response = [];\n\n for (let i = 1; i <= total; i++) {\n response.push(\n \n {this.state.recorrencia === 'Parcelado' && (\n Parcela {i}\n )}\n \n {\n event.preventDefault();\n if (value !== this.state[\"valorPagamento\" + i]) {\n this.setState({\n [\"valorPagamento\" + i]: value\n })\n }\n }}\n />\n \n \n \n \n this.changeStatus(value.target.value, i, this.state[\"valorPagamento\" + i])}\n >\n Aguardando pagamento\n Confirmado\n \n \n \n \n \n {\n if (!moment(value.target.value.toUpperCase()).isValid()) return;\n\n if (value.target.value.toUpperCase() !== this.state[\"dtVencimento\" + i]) {\n this.setState({\n [\"dtVencimento\" + i]: value.target.value.toUpperCase()\n })\n }\n }}\n onBlur={(value) => {\n if (!moment(value.target.value.toUpperCase()).isValid()) return;\n\n if (value.target.value.toUpperCase() !== this.state[\"dtVencimento\" + i]) {\n this.setState({\n [\"dtVencimento\" + i]: value.target.value.toUpperCase()\n })\n this.changeData(value.target.value.toUpperCase(), i);\n }\n }}\n className=\"form-control\"\n />\n \n \n );\n }\n\n return response;\n }\n}\n\nexport default withSnackbar(FinanceiroCRUD);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\n\nimport { Component } from \"react\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport numeral from \"numeral\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Badge, Button, ButtonGroup, Card, CardHeader, Container, Row, Table } from \"reactstrap\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst ROUTE_API = '/api/financeiro/recorrencias';\nconst HISTORY_BACK = '/admin/financeiro/contas';\n\nclass FinanceiroRecorrenciaList extends Component {\n state = {\n data: [],\n totalData: 50,\n filter: {\n _page: 1,\n _limit: 50,\n _order: 'desc',\n _sort: 'data_primeira_parcela',\n deleted: false,\n tipo: this.props.match.params.type,\n },\n };\n\n componentDidMount() {\n this.loadMore()\n }\n\n loadMore = async () => {\n this.setState({ loading: true, filter: { ...this.state.filter, _page: this.state.filter._page + 1 } })\n let response = await api.get(`${ROUTE_API}?${jsonToUrlFilter(this.state.filter)}`);\n this.setState({\n data: this.state.data.concat(response.data),\n totalData: response.total_data,\n loading: false\n })\n }\n\n handleRemove = id => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: async () => {\n this.setState({ loading: true });\n const response = await api.delete(`/api/financeiro/recorrencias/${id}`);\n\n if(!!response) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n this.props.enqueueSnackbar('Deletado com sucesso!');\n }\n else {\n this.props.enqueueSnackbar('Ops, ocorreu um erro!');\n }\n\n this.setState({ loading: false });\n }\n }\n ]\n })\n }\n\n renderContent() {\n const { type } = this.props.match.params;\n\n if (this.state.loading) {\n return \n }\n\n if (this.state.data && this.state.data.length === 0) {\n return (\n \n

    Não existem recorrência cadastrada

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data && this.state.data.map(item => {\n return (\n \n \n \n \n \n \n \n \n )\n })}\n \n
    DESCRIÇÃO{type === 'receber' ? 'CLIENTE' : 'FORNECEDOR'}CATEGORIAVENCIMENTO DA PRIMEIRA PARCELAVALORAÇÃO
    {item.descricao}\n {!!item.usuarios && item.usuarios.length > 0 ? (\n \n {item.usuarios[0].name}\n {item.usuarios.length > 1 && (\n +{item.usuarios.length - 1}\n )}\n \n ) : !!item.fornecedor ? (\n \n {item.fornecedor.nome}\n \n ) : \"-\"}\n {item.categoria.nome}{moment(item.data_primeira_parcela).format(\"DD/MM/YYYY\")}{numeral(item.valor).format('$ 0,0.00')}\n
    \n \n \n \n \n
    \n
    \n {this.state.totalData > this.state.data.length ? (\n \n ) :

    }\n

    \n );\n }\n\n render() {\n const { type } = this.props.match.params;\n\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"RECORRÊNCIA\"} subTitulo={\"Módulo de Gestão de Recorrência\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total ({this.state.data ? this.state.data.length : 0})

    \n
    \n\n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroRecorrenciaList);\n","import { CircularProgress, FormControl, MenuItem, Select, TextField } from '@material-ui/core';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport moment from 'moment';\nimport React, { Component } from 'react';\nimport IntlCurrencyInput from \"react-intl-currency-input\";\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\n\nconst currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nexport default class FormFields extends Component {\n\n render() {\n const { uk, type } = this.props.props.match.params;\n const { state, handleChange, handleChangeValorTotal, searchFornecedor, searchAssociado } = this.props;\n\n return (\n <>\n
    Informações Gerais
    \n
    \n \n {state.tipoBusca === \"Fornecedor\" ? (\n <>\n \n \n \n `(${option.cnpjCpf}) ${option.nome}`}\n onChange={(_, value) => handleChange(\"fornecedor\", value)}\n onInputChange={(_, value) => searchFornecedor(value)}\n inputMode=\"text\"\n key=\"fornecedor\"\n loading={state.loadFornecedor}\n value={state.fornecedor}\n renderOption={(option) => (\n ({option.cnpjCpf}) {option.nome}\n )}\n renderInput={(params) => (\n \n {state.loadFornecedor ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n ) : (\n <>\n {!uk ? (\n \n \n \n \n { handleChange(\"todosClientes\", value.target.value) }}\n value={state.todosClientes ? state.todosClientes : false}\n >\n Não\n Sim\n \n \n \n \n ) : ''}\n\n {!state.todosClientes ? (\n \n \n \n `(${option.numeroTitulo}) ${option.name}`}\n onChange={(_, value) => handleChange(\"usuarios\", value)}\n onInputChange={(_, value) => searchAssociado(value)}\n inputMode=\"text\"\n value={state.usuarios}\n multiple\n renderOption={(option) => (\n ({option.numeroTitulo}) {option.name}\n )}\n renderInput={(params) => (\n \n {state.loadAssociado ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n ) : (\n <>\n \n \n handleChange(\"enviaParaRemido\", !state.enviaParaRemido)}\n checked={state.enviaParaRemido}\n value={state.enviaParaRemido}\n />\n \n \n \n handleChange(\"enviaParaBenemerito\", !state.enviaParaBenemerito)}\n checked={state.enviaParaBenemerito}\n value={state.enviaParaBenemerito}\n />\n \n \n \n \n )}\n \n )}\n\n \n \n \n handleChange(\"descricao\", value.target.value.toUpperCase())}\n value={state.descricao}\n maxLength={120}\n />\n \n \n \n \n \n `(${option.codigo}) ${option.nome}`}\n onChange={(_, value) => handleChange(\"categoria\", value)}\n inputMode=\"text\"\n key=\"categorias\"\n value={state.categoria}\n renderOption={(option) => (\n \n ({option.codigo}) {option.nome} \n \n )}\n renderInput={(params) => (\n \n {state.loadClientes ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n {\n handleChange(\"departamento\", value.target.value)\n }}\n >\n Selecione um Departamento\n {state.departamentos.map(single => {\n return {single.nome}\n })}\n \n \n \n \n
    \n\n
    \n
    Financeiro
    \n
    \n \n \n \n \n handleChange(\"conta\", value.target.value)}\n defaultValue={state.conta}\n >\n Selecione uma Conta\n {state.contas.map(single => {\n return {single.nome}\n })}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n handleChange(\"tipo_pagamento\", value.target.value)}\n >\n {state.tipo_pagamentos.map(value => (\n {value.descricao}\n ))}\n \n \n \n \n \n \n {\n handleChangeValorTotal(event, value);\n }}\n />\n \n \n\n \n \n \n {\n if (!moment(value.target.value).isValid()) return;\n handleChange(\"data_primeira_parcela\", value.target.value)\n }}\n className=\"form-control\"\n />\n \n \n \n\n {type === 'receber' && state.tipo_pagamento === 1 && (\n \n \n \n \n handleChange(\"desconto\", value.target.value.toUpperCase())}\n value={state.desconto}\n />\n \n \n \n \n \n handleChange(\"multa\", value.target.value.toUpperCase())}\n value={state.multa}\n />\n \n \n \n \n \n handleChange(\"juros\", value.target.value.toUpperCase())}\n value={state.juros}\n />\n \n \n \n )}\n
    \n \n );\n }\n}\n","import { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport React, { Component } from \"react\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Card, CardBody, CardHeader, Col, Container, Form, Row } from \"reactstrap\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport FormFields from \"./Form\";\nimport { getAccessWithStatus } from \"utils/StatusAcesso\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroRecorrenciaCRUD extends Component {\n\n state = {\n valor: null,\n categoria: null,\n tipoBusca: this.props.match.params.type === 'receber' ? 'Clientes' : 'Fornecedor',\n departamento: 0,\n status: [],\n conta: 0,\n categorias: [],\n departamentos: [],\n contas: [],\n associados: [],\n fornecedores: [],\n tipo_pagamentos: [],\n clientes: [],\n desconto: 0,\n multa: 0,\n juros: 0,\n recorrencia: \"Fixa Mensal\",\n tipo_pagamento: 1,\n todosClientes: false,\n enviaParaBenemerito: false,\n enviaParaRemido: false,\n loading: false,\n filter: {\n _limit: 999,\n _order: 'ASC',\n _sort: \"nome\",\n ativo: true\n }\n }\n\n async componentDidMount() {\n this.setState({ loading: true });\n await this.findCategorias();\n await this.findTipoPagamentos();\n await this.findAllDepartamento();\n await this.findAllCaixa();\n await this.findContaRecorrencia();\n this.setState({ loading: false })\n }\n\n findContaRecorrencia = async () => {\n const { id } = this.props.match.params;\n const response = await api.get(`/api/financeiro/recorrencias/${id}`);\n\n if (response) {\n let temp = response;\n temp.conta = temp.conta.id;\n temp.departamento = temp.departamento.id;\n temp.tipo_pagamento = temp.tipo_pagamento.id;\n\n this.setState({\n ...this.state,\n ...temp,\n })\n }\n }\n\n findAllDepartamento = async () => {\n const response = await api.get(\"/api/financeiro/departamento\");\n\n if (response) {\n this.setState({\n departamentos: response.status === 200 ? response.data : []\n })\n }\n }\n\n findCategorias = async () => {\n const { type } = this.props.match.params;\n\n const filter = {\n _limit: 999,\n _order: 'ASC',\n _sort: \"nome\",\n ativo: true,\n codigo_like: type === 'receber' ? '1.%' : '2.%'\n }\n\n const response = await api.get(`/api/financeiro/categoria?${jsonToUrlFilter(filter)}`);\n this.setState({ categorias: response.data });\n }\n\n findTipoPagamentos = async () => {\n const filter = {\n _limit: 999,\n _order: 'ASC',\n _sort: \"id\",\n }\n\n const response = await api.get(`/api/tipo-pagamentos?${jsonToUrlFilter(filter)}`);\n this.setState({ tipo_pagamentos: response.data });\n }\n\n searchFornecedor = async (search) => {\n if (!search) return;\n\n this.setState({ loadFornecedor: true });\n const response = await api.get(`/api/fornecedor?nome_like=${search}`);\n const response2 = await api.get(`/api/fornecedor?cnpj_cpf_like=${search}`);\n\n if (response && response2) {\n this.setState({\n fornecedores: [...response.data, ...response2.data],\n loadFornecedor: false,\n })\n }\n else {\n this.setState({ loadFornecedor: false })\n }\n }\n\n searchAssociado = async (search) => {\n if (!search) return;\n\n const filter = {\n _limit: 50,\n _order: 'ASC',\n _sort: \"name\",\n profile: { id: 2 },\n status_acesso: getAccessWithStatus(\"App\")\n };\n\n this.setState({ loadAssociado: true });\n const response = await api.get(`/api/user?name_like=${search}&${jsonToUrlFilter(filter)}`);\n const response2 = await api.get(`/api/user?numero_titulo_like=${search}&${jsonToUrlFilter(filter)}`);\n\n if (response && response2) {\n this.setState({\n associados: [...response.data, ...response2.data],\n loadAssociado: false,\n })\n }\n else {\n this.setState({ loadAssociado: false })\n }\n }\n\n findAllCaixa = async () => {\n const response = await api.get('/api/financeiro/caixa?ativo=true');\n\n if (response) {\n this.setState({ contas: response.data })\n }\n }\n\n handleChangeValorTotal = (event, value) => {\n event.preventDefault();\n this.setState({ valor: value })\n }\n\n delete = () => {\n this.setState({ loading: true });\n let dataUser = JSON.stringify({ uk: this.state.uk });\n\n fetch(Config._HOST + \"/api/financeiro/contas\",\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem);\n\n this.setState({ loading: false }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/financeiro/contas-a-receber\");\n }\n })\n }).catch(e => {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create = async () => {\n const { id, type } = this.props.match.params;\n let temp = this.state;\n temp.files = [];\n\n // if (!uk) {\n // if (temp.tipoBusca === 'Fornecedor') {\n // if (!temp.fornecedor) {\n // this.props.enqueueSnackbar(\"Selecione um fornecedor\");\n // return;\n // }\n // }\n // else {\n // if (!temp.todosClientes && !temp.clientes.length) {\n // this.props.enqueueSnackbar(\"Selecione um associado\");\n // return;\n // }\n // }\n // }\n\n if (!temp.categoria) {\n this.props.enqueueSnackbar(\"Selecione uma categoria\")\n return;\n }\n\n if (!temp.departamento) {\n this.props.enqueueSnackbar(\"Selecione um departamento\")\n return;\n }\n\n if (temp.conta === 0) {\n this.props.enqueueSnackbar(\"Selecione uma conta\")\n return;\n }\n\n if (!temp.valor || temp.valor < 0) {\n this.props.enqueueSnackbar(\"Preencha um valor total\")\n return;\n }\n\n if (!temp.tipo_pagamento) {\n this.props.enqueueSnackbar(\"Preencha a Forma de Pagamento\")\n return;\n }\n\n this.setState({ loading: true });\n\n const response = await api.put(`/api/financeiro/recorrencias/${id}`, {\n ...temp,\n tipo: type,\n departamento: { id: temp.departamento },\n conta: { id: temp.conta },\n tipo_pagamento: { id: temp.tipo_pagamento }\n });\n\n if(!response || ('data' in response && 'error' in response.data && 'status' in response.data)) {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops, ocorreu um erro!\");\n return;\n }\n\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Recorrência atualizada com sucesso!\");\n this.props.history.push(`/admin/financeiro/recorrencia/${type}`);\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n const { tipo_pagamento, loading } = this.state;\n const { uk, type } = this.props.match.params;\n const disabled = uk && tipo_pagamento === \"BOLETO\" ? true : false;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={`Contas a ${type === 'receber' ? 'Receber' : 'Pagar'}`}\n subTitulo={(uk ? `Atualizar contas a ${type === 'receber' ? 'Receber' : 'Pagar'}` : `Cadastrar nova conta a ${type === 'receber' ? 'Receber' : 'Pagar'}`)}\n />\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {uk ? `Atualizar contas a ${type === 'receber' ? 'Receber' : 'Pagar'}` : `Cadastro de conta a ${type === 'receber' ? 'Receber' : 'Pagar'}`}\n

    \n \n
    \n
    \n \n {loading ? (\n \n ) : (\n
    \n \n \n \n )}\n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroRecorrenciaCRUD);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, Table, Container, Row, Button } from \"reactstrap\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Link } from \"react-router-dom\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport { findCategorias } from \"utils/find\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroCategoriaList extends React.Component {\n state = {\n data: [],\n filter: {\n _limit: 999,\n _order: 'ASC',\n _sort: \"codigo\",\n }\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = async () => {\n this.setState({ loading: true });\n const response = await findCategorias(jsonToUrlFilter(this.state.filter));\n this.setState({ data: response.data, loading: false });\n }\n\n renderContent() {\n if (this.state.loading) return ;\n\n if (this.state.data.length === 0) {\n return \n

    Não existem Categorias cadastradas

    \n
    \n }\n return
    \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => (\n \n \n \n \n \n \n ))}\n \n
    CÓDIGONOMESTATUSAÇÃO
    {single.codigo ? single.codigo : \"-\"}{single.nome ? single.nome : \"-\"}{single.ativo ? \"ATIVO\" : 'INATIVO'}\n
    \n \n \n \n
    \n
    \n
    \n }\n\n\n renderContentIten() {\n let data = []\n for (let single of this.state.data) {\n data.push(\n \n \n {single.nome}\n \n \n \n \n {single.ativo ? \"ATIVO\" : \"INATIVO\"}\n \n \n \n asd\n \n \n \n \n \n \n )\n }\n return data\n }\n\n render() {\n return (\n <>\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Categorias\"} subTitulo={\"Módulo de gestão para Categoria\"} />\n {/* Page content */}\n \n {/* Table */}\n \n
    \n \n\n \n

    Total Categoria ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroCategoriaList);\n","import React from \"react\";\nimport { Button, Card, CardHeader, CardBody, FormGroup, Form, Input, Container, Row, Col, Label } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroCategoriaCRUD extends React.Component {\n\n state = {\n valor: null,\n geraInadimplencia: false\n };\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n this.setState({\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.match.params.uk) { // cenario para editar\n this.findBy()\n }\n })\n }\n\n findBy = () => {\n this.setState({\n loading: true,\n })\n fetch(Config._HOST + \"/api/financeiro/categoria/\" + this.props.match.params.uk)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response.data,\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n create() {\n let temp = this.state;\n if (!temp.codigo || (temp.codigo.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha o codigo Completo\")\n return;\n }\n this.setState({\n loading: true,\n })\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + \"/api/financeiro/categoria\",\n {\n body: dataUser,\n method: this.props.match.params.uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n console.log(\"data\", data)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/financeiro/categoria\")\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n delete() {\n this.setState({\n loading: true,\n })\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + \"/api/financeiro/categoria\",\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/financeiro/categoria\")\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (event, value, maskedValue) => {\n event.preventDefault();\n };\n\n render() {\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Categoria\"}\n subTitulo={(this.props.match.params.uk ? \"Atualizar Categoria\" : \"Cadastrar nova Categoria\")} />\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Categoria\" : \"Cadastro de Categoria\"}\n

    \n \n
    \n
    \n \n
    \n
    \n Informações Gerais\n
    \n
    \n \n \n \n \n this.setState({ codigo: value.target.value.toUpperCase() })}\n value={this.state.codigo}\n />\n \n \n \n \n \n this.setState({ nome: value.target.value.toUpperCase() })}\n value={this.state.nome}\n />\n \n \n\n \n \n this.setState({ geraInadimplencia: !this.state.geraInadimplencia })}\n checked={this.state.geraInadimplencia}\n />\n \n \n \n\n {this.props.match.params.uk ? (\n \n \n this.setState({ ativo: !this.state.ativo })}\n checked={this.state.ativo}\n />\n \n \n \n ) : \"\"}\n \n
    \n\n
    \n\n
    \n \n {this.props.match.params.uk ? \n \n : \n \n }\n \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroCategoriaCRUD);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Card, CardHeader, Table, Container, Row, Button } from \"reactstrap\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Link } from \"react-router-dom\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroDepartamentoList extends React.Component {\n\n state = {\n data: [],\n dataComplete: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = async () => {\n this.setState({ loading: true });\n const response = await api.get(\"/api/financeiro/caixa?_limit=1000\");\n\n if (response) {\n this.setState({\n ...response,\n loading: false,\n })\n }\n else {\n this.setState({ loading: false })\n }\n }\n\n renderContent() {\n const { data, loading } = this.state;\n\n if (loading) return \n\n if (data.length === 0) {\n return \n

    Não existem caixas cadastrados

    \n
    \n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {data.map(single => {\n return (\n \n \n \n \n \n \n \n )\n })}\n \n
    NOMETIPOPRINCIPALATIVOAÇÃO
    {single.nome ? single.nome : \"-\"}{single.tipo ? single.tipo : \"-\"}{single.principal ? \"Sim\" : \"Não\"}{single.ativo ? \"Sim\" : \"Não\"}\n
    \n \n \n \n
    \n
    \n
    \n )\n }\n\n\n renderContentIten() {\n let data = []\n for (let single of this.state.data) {\n data.push(\n \n \n {single.nome}\n \n \n \n \n {single.descricao}\n \n \n \n \n \n \n \n \n \n )\n }\n return data\n }\n\n render() {\n return (\n <>\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Conta\"}\n subTitulo={\"Módulo de gestão para Contas\"}\n />\n\n {/* Page content */}\n \n {/* Table */}\n \n
    \n \n\n \n

    Total Caixas ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroDepartamentoList);\n","import React from \"react\";\nimport { Card, CardHeader, CardBody, FormGroup, Form, Input, Container, Row, Col } from \"reactstrap\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport IntlCurrencyInput from \"react-intl-currency-input\"\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport moment from \"moment\";\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/financeiro/caixa';\n\nconst currencyConfig = {\n locale: \"pt-BR\",\n formats: {\n number: {\n BRL: {\n style: \"currency\",\n currency: \"BRL\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n },\n },\n },\n};\n\nclass FinanceiroContaCRUD extends React.Component {\n\n state = {\n principal: false,\n ativo: false,\n tipo: \"Conta Corrente\",\n dtValorInicial: moment(new Date()).format('YYYY-MM-DD'),\n valorInicial: 0\n }\n\n async componentDidMount() {\n const { ukCaixa } = this.props.match.params;\n\n if (ukCaixa) {\n await this.findBy();\n }\n }\n\n findBy = async () => {\n const { ukCaixa } = this.props.match.params;\n this.setState({ loading: true });\n\n const response = await api.get(`api/financeiro/caixa/${ukCaixa}`);\n\n if (response) {\n this.setState({\n ...response,\n dtValorInicial: moment(response.dtValorInicial).format('YYYY-MM-DD'),\n loading: false\n })\n } else {\n this.setState({ loading: false })\n }\n }\n\n create = async () => {\n const { nome } = this.state;\n const { ukCaixa } = this.props.match.params;\n\n if (!nome || (nome.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha o Nome Referência\")\n return;\n }\n\n let response = null;\n this.setState({ loading: true });\n\n if (ukCaixa) {\n response = await api.put(`api/financeiro/caixa/${ukCaixa}`, this.state);\n }\n else {\n response = await api.post('api/financeiro/caixa', this.state);\n }\n\n if (response) {\n this.setState({ loading: false });\n console.log('response success')\n this.props.history.push(HISTORY_BACK);\n this.props.enqueueSnackbar(ukCaixa ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\");\n }\n else {\n console.log('response error')\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\");\n }\n }\n\n handleChange = (event, value, maskedValue) => {\n event.preventDefault();\n this.setState({ valorInicial: value })\n };\n\n render() {\n const { ukCaixa } = this.props.match.params;\n\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Conta\"}\n subTitulo={(ukCaixa ? \"Atualizar Conta\" : \"Cadastrar novo Conta\")} />\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {ukCaixa ? \"Atualizar Conta\" : \"Cadastro de Conta\"}\n

    \n \n
    \n
    \n \n
    \n
    \n Informações Gerais\n
    \n
    \n \n \n \n \n \n this.setState({ ativo: value.target.value })}\n >\n Não\n Sim\n \n \n \n \n \n \n \n \n this.setState({ principal: value.target.value })}\n >\n Não\n Sim\n \n \n \n \n \n \n \n \n \n \n this.setState({ tipo: value.target.value })}\n >\n Conta Corrente\n Investimento\n Caixinha\n \n \n \n \n \n \n \n this.setState({ nome: value.target.value.toUpperCase() })}\n value={this.state.nome ? this.state.nome : ''}\n />\n \n \n \n \n\n {this.state.tipo !== \"Caixinha\" ? (\n <>\n \n \n \n this.setState({ banco: value.target.value.toUpperCase() })}\n value={this.state.banco ? this.state.banco : ''}\n />\n \n \n \n \n \n this.setState({ agencia: value.target.value.toUpperCase() })}\n value={this.state.agencia ? this.state.agencia : ''}\n />\n \n \n \n \n \n this.setState({ conta: value.target.value.toUpperCase() })}\n value={this.state.conta ? this.state.conta : ''}\n />\n \n \n \n \n \n this.setState({ pix: value.target.value.toUpperCase() })}\n value={this.state.pix ? this.state.pix : ''}\n />\n \n \n \n ) : ''}\n\n \n\n \n \n \n \n \n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid()) {\n this.setState({ dtValorInicial: value.target.value.toUpperCase() })\n }\n }}\n />\n \n \n \n\n
    \n\n \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroContaCRUD);\n","import React from \"react\";\nimport {\n Card,\n CardHeader,\n CardBody,\n Container,\n Row,\n Col,\n} from \"reactstrap\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, Divider, List, ListItem, ListItemText, Typography } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\n\nimport moment from 'moment';\nimport numeral from 'numeral';\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroDashboad extends React.Component {\n\n state = {\n contasPagar: [],\n contasReceber: [],\n loadingContasPagar: false,\n loadingContasReceber: false\n }\n\n componentDidMount() {\n this.findContas('pagar');\n this.findContas('receber');\n }\n\n findContas = async type => {\n if (type === 'pagar')\n this.setState({ loadingContasPagar: true });\n else\n this.setState({ loadingContasReceber: true });\n\n const filter = {\n 'dt_vencimento>=': moment().format('YYYY-MM-DD'),\n 'dt_vencimento<=': moment().add(60, 'days').format('YYYY-MM-DD'),\n status: [0],\n financeiro_contas_entity: { type },\n _page: 1,\n _limit: 10,\n _order: 'asc',\n _sort: \"dt_vencimento\",\n }\n const response = await api.get(`api/documento-agenda/parcelamentos?${jsonToUrlFilter(filter)}`);\n\n if (response) {\n if (type === 'pagar')\n this.setState({ contasPagar: response.data });\n else\n this.setState({ contasReceber: response.data });\n }\n\n if (type === 'pagar')\n this.setState({ loadingContasPagar: false });\n else\n this.setState({ loadingContasReceber: false });\n }\n\n render() {\n const { contasPagar, contasReceber, loadingContasPagar, loadingContasReceber } = this.state;\n\n return (\n <>\n \n
    \n \n \n Contas a pagar\n \n \n Contas a receber\n \n \n Conta\n \n \n Departamento\n \n \n Categoria\n \n \n Fornecedores\n \n \n
    \n \n }\n subTitulo={\"Controle completo Financeiro\"}\n />\n\n \n \n
    \n \n
    \n \n \n \n Contas a Pagar\n \n\n \n\n \n {loadingContasPagar ? (\n \n ) : (\n <>\n {contasPagar.length === 0 ? (\n
    Nenhuma conta a pagar
    \n ) : (\n \n {contasPagar.map(single => (\n \n \n \n \n {single.financeiroContasEntity != null && single.financeiroContasEntity.ct != null ? single.financeiroContasEntity.ct.nome : ''}\n \n \n {numeral(single.valorPagamento).format('$ 0,0.00')}\n \n \n }\n />\n \n \n \n ))}\n \n )}\n \n )}\n
    \n \n \n \n Contas a Receber\n \n\n \n\n \n {loadingContasReceber ? (\n \n ) : (\n <>\n {contasReceber.length === 0 ? (\n
    Nenhuma conta a receber
    \n ) : (\n \n {contasReceber.map(single => (\n \n \n \n \n {single.financeiroContasEntity != null && single.financeiroContasEntity.ct != null ? single.financeiroContasEntity.ct.nome : ''}\n \n \n {numeral(single.valorPagamento).format('$ 0,0.00')}\n \n \n }\n />\n \n \n \n ))}\n \n )}\n \n )}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroDashboad);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, Table, Container, Row, Button } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Link } from \"react-router-dom\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\n\nclass departamento extends React.Component {\n\n state = {\n data: [],\n dataComplete: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true });\n\n fetch(Config._HOST + \"/api/financeiro/departamento\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n dataComplete: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n renderContent() {\n if (this.state.loading) return ;\n\n if (this.state.dataComplete.length === 0) {\n return \n

    Não existem Departamentos cadastrados

    \n
    \n }\n\n if (this.state.data.length === 0) {\n return \n

    Filtro de Departamentos não encontrado

    \n
    \n }\n\n return
    \n \n \n \n \n \n \n \n \n {this.state.data.map(single => (\n \n \n \n \n ))}\n \n
    NOMEAÇÃO
    {single.nome ? single.nome : \"-\"}\n
    \n \n \n \n
    \n
    \n
    \n }\n\n\n renderContentIten() {\n let data = []\n for (let single of this.state.data) {\n data.push(\n \n \n {single.nome}\n \n \n \n \n {single.descricao}\n \n \n \n \n \n \n \n )\n }\n return data\n }\n\n render() {\n return (\n <>\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Departamento\"}\n subTitulo={\"Módulo de gestão para Departamentos\"}\n />\n\n {/* Page content */}\n \n {/* Table */}\n \n
    \n \n\n \n

    Total Departamentos ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(departamento);\n","import React from \"react\";\nimport { Button, Card, CardHeader, CardBody, FormGroup, Form, Input, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass FinanceiroDepartamentoCRUD extends React.Component {\n\n state = {\n valor: null,\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n this.setState({\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.match.params.uk) { // cenario para editar\n this.findBy()\n }\n })\n }\n\n findBy = () => {\n this.setState({\n loading: true,\n })\n fetch(Config._HOST + \"/api/financeiro/departamento/\" + this.props.match.params.uk)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response.data,\n })\n }).catch(e => {\n this.setState({\n loading: false\n })\n })\n }\n\n create() {\n let temp = this.state;\n if (!temp.nome || (temp.nome.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha o Nome Completo\")\n return;\n }\n this.setState({\n loading: true,\n })\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + \"/api/financeiro/departamento\",\n {\n body: dataUser,\n method: this.props.match.params.uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n console.log(\"data\", data)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/financeiro/departamento\")\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n delete() {\n this.setState({\n loading: true,\n })\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + \"/api/financeiro/departamento\",\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({\n loading: false\n }, () => {\n if (data.status === 200) {\n this.props.history.push(\"/admin/financeiro/departamento\")\n }\n })\n }).catch(e => {\n this.setState({\n loading: false,\n })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (event, value, maskedValue) => {\n event.preventDefault();\n };\n\n render() {\n return (\n <>\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"Departamento\"}\n subTitulo={(this.props.match.params.uk ? \"Atualizar departamento\" : \"Cadastrar novo departamento\")} />\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar departamento\" : \"Cadastro de departamento\"}\n

    \n \n
    \n
    \n \n
    \n
    \n Informações Gerais\n
    \n
    \n \n \n \n \n Nome\n \n {\n this.setState({ nome: value.target.value.toUpperCase() })\n }}\n value={this.state.nome}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n {this.props.match.params.uk ? \n \n : \n \n }\n \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FinanceiroDepartamentoCRUD);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { createFilter } from \"Config\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst KEYS_TO_FILTERS = ['name'];\n\nclass Fornecedores extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/fornecedor')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/fornecedor/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Fornecedores cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n )\n })}\n \n
    NOMEAÇÃO
    {single.nome ? single.nome : \"-\"}\n \n \n \n \n
    \n
    \n );\n }\n\n searchUpdated(chave) {\n console.log(KEYS_TO_FILTERS)\n this.setState({\n data: createFilter(\n (\n chave && chave.trim().length > 0 ? chave : \"\"\n ), KEYS_TO_FILTERS, this.state.data),\n searchTerm: (\n chave && chave.trim().length > 0 ? chave : \"\"\n )\n });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"FORNECEDORES\"}\n subTitulo={\"Módulo de Gestão para Fornecedores\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Fornecedores ({this.state.data.length})

    \n\n {/* \n \n \n \n \n \n \n { this.searchUpdated(value.target.value.toUpperCase()) }}\n value={this.state.searchTerm}\n placeholder=\"Buscar por nome\" type=\"text\"\n />\n \n */}\n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Fornecedores);\n","\nimport { FormControl, MenuItem, Select } from '@material-ui/core';\nimport React, { Component } from 'react';\nimport { Col, Row, Input, FormGroup } from 'reactstrap';\nimport cnpjMask from 'utils/cnpjMask';\nimport cpfMask from 'utils/cpfMask';\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange, handleBuscaFornecedorSuperlogica } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n {\n value = value.target.value.replace(/\\D/g, '');\n handleBuscaFornecedorSuperlogica(value)\n }}\n onChange={value => {\n value = value.target.value.replace(/\\D/g, '');\n\n if (value.length <= 18) {\n handleChange(\"cnpjCpf\", value.length <= 11 ? cpfMask(value) : cnpjMask(value))\n }\n }}\n value={state.cnpjCpf ? (state.cnpjCpf.replace(/\\D/g, '').length <= 11 ? cpfMask(state.cnpjCpf) : cnpjMask(state.cnpjCpf)) : ''}\n />\n \n \n \n \n \n handleChange('nome', value.target.value.toUpperCase())}\n value={state.nome ? state.nome : ''}\n />\n \n \n \n
    \n\n
    \n
    Contato
    \n
    \n \n \n \n \n handleChange('whatsapp', value.target.value.toUpperCase())}\n value={state.whatsapp ? state.whatsapp : ''}\n />\n \n \n \n \n \n handleChange('telefone', value.target.value.toUpperCase())}\n value={state.telefone ? state.telefone : ''}\n />\n \n \n \n \n \n handleChange('email', value.target.value.toLowerCase())}\n value={state.email ? state.email : ''}\n />\n \n \n \n
    \n\n
    \n
    Endereço
    \n
    \n \n \n \n \n handleChange('cep', value.target.value.toUpperCase())}\n value={state.cep ? state.cep : ''}\n />\n \n \n \n \n \n handleChange('endereco', value.target.value.toUpperCase())}\n value={state.endereco ? state.endereco : ''}\n />\n \n \n \n \n \n handleChange('complemento', value.target.value.toUpperCase())}\n value={state.complemento ? state.complemento : ''}\n />\n \n \n \n \n \n handleChange('bairro', value.target.value.toUpperCase())}\n value={state.bairro ? state.bairro : ''}\n />\n \n \n \n \n \n handleChange('cidade', value.target.value.toUpperCase())}\n value={state.cidade ? state.cidade : ''}\n />\n \n \n \n \n \n handleChange('uf', value.target.value.toUpperCase())}\n value={state.uf ? state.uf : ''}\n />\n \n \n \n
    \n\n
    \n
    Pagamento
    \n
    \n \n \n \n \n handleChange('formaPagamentoPreferencial', value.target.value)}\n value={state.formaPagamentoPreferencial ? state.formaPagamentoPreferencial : \"Boleto\"}\n >\n Boleto\n Conta Bancaria\n Pix\n \n \n \n \n \n \n \n \n handleChange('banco', value.target.value.toUpperCase())}\n value={state.banco ? state.banco : ''}\n />\n \n \n \n \n \n handleChange('agencia', value.target.value.toUpperCase())}\n value={state.agencia ? state.agencia : ''}\n />\n \n \n \n \n \n handleChange('conta', value.target.value.toUpperCase())}\n value={state.conta ? state.conta : ''}\n />\n \n \n \n \n \n handleChange('chavePix', value.target.value.toUpperCase())}\n value={state.chavePix ? state.chavePix : ''}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'rodal/lib/rodal.css';\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\n\nconst HISTORY_BACK = '/admin/fornecedores';\nconst ROUTE_API = '/api/fornecedor';\n\nclass FornecedorNovo extends React.Component {\n state = {};\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy()\n }\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { id } = this.props.match.params;\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: 0,\n ...response,\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n this.setState({ loading: true })\n const id = this.props.match.params.id !== undefined ? this.props.match.params.id : '';\n let data = JSON.stringify(this.state)\n\n fetch(Config._HOST + `${ROUTE_API}/${id ? id : ''}`,\n {\n body: data,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.props.history.push(HISTORY_BACK)\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n handleBuscaFornecedorSuperlogica = async cnpjCpf => {\n if ((cnpjCpf.length === 11 || cnpjCpf.length === 14)) {\n const response = await api.get(`api/fornecedor/superlogica/${cnpjCpf}`);\n\n if (response) {\n this.setState({ ...response })\n }\n }\n }\n\n render() {\n\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR FORNECEDORES\" : \"NOVO FORNECEDORES\"}\n subTitulo={\"Gerenciamento dos Fornecedores\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Fornecedores\" : \"Cadastrar Novo Fornecedores\"}\n

    \n \n
    \n
    \n \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FornecedorNovo);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css';\n\nclass Categorias extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/manutencao/categoria')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (uk) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/manutencao/categoria`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ uk: uk })\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data.status === 200) {\n const dataUpdated = this.state.data.filter(row => row.uk !== uk);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data.mensagem ? data.mensagem : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não existem categorias cadastradas

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n )\n })}\n \n
    NOMEAÇÃO
    {single.nome ? single.nome : \"-\"}\n
    \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"CATEGORIAS DA MANUTENÇÃO\"}\n subTitulo={\"Módulo de Gestão para categorias\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total categorias ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Categorias);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Button, Card, CardHeader, CardBody, Form, Input, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, FormControl } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\n\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport 'rodal/lib/rodal.css';\n\nconst HISTORY_BACK = '/admin/manutencoes/categorias';\n\nclass ManutencaoCategoriaNovo extends React.Component {\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n this.setState({\n uk: this.props.match.params.uk,\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.match.params.uk) { // cenario para editar\n this.findBy()\n }\n })\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { uk } = this.props.match.params;\n\n fetch(Config._HOST + `/api/manutencao/categoria/${uk}`)\n .then(response => response.json())\n .then(response => {\n console.log(response)\n this.setState({\n loading: false,\n ...response.data,\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n this.setState({ loading: true })\n const uk = this.props.match.params.uk !== undefined ? this.props.match.params.uk : '';\n let dataUser = JSON.stringify(this.state)\n\n fetch(Config._HOST + `/api/manutencao/categoria`,\n {\n body: dataUser,\n method: uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(data.mensagem)\n this.props.history.push(HISTORY_BACK)\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n render() {\n console.log(this.state)\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.uk ? \"EDITAR CATEGORIA DA MANUTENÇÃO\" : \"NOVA CATEGORIA DA MANUTENÇÃO\"}\n subTitulo={\"Gerenciamento completo das Categorias\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Categoria\" : \"Cadastrar Nova Categoria\"}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n \n \n \n { this.setState({ nome: value.target.value.toUpperCase() }) }}\n value={this.state.nome ? this.state.nome : ''}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n \n \n\n \n \n\n \n \n \n \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ManutencaoCategoriaNovo);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { ButtonGroup, FormControl } from \"@material-ui/core\";\nimport Filter from \"views/components/Filter\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Button, Card, CardHeader, Container, Input, Row, Table } from \"reactstrap\";\nimport Col from \"reactstrap/lib/Col\";\nimport FormGroup from \"reactstrap/lib/FormGroup\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nclass ManutencaoOcorrencias extends React.Component {\n filter = {\n \"setor.nome_like\": \"\",\n \"status_like\": \"\",\n \"dt_inicio_like\": \"\"\n };\n\n state = {\n data: [],\n filter: this.filter,\n };\n\n componentDidMount() {\n this.handlePesquisar();\n }\n\n handlePesquisar = () => {\n this.setState({ loading: true });\n const filterState = this.state.filter;\n let filter = '';\n let page = 1;\n let pageLimit = 10;\n let order = 'desc';\n\n if (filterState) {\n for (const key in filterState) {\n if (typeof filterState[key] === \"object\") {\n for (const KeyChild in filterState[key]) {\n if (filterState[key].toString().length > 0 && filterState[key] !== 0)\n filter += '&' + key + '.' + KeyChild + '=' + encodeURIComponent(filterState[key][KeyChild].toString().trim());\n }\n }\n else {\n if (filterState[key].toString().length > 0 && filterState[key] !== 0)\n filter += '&' + key + '=' + encodeURIComponent(filterState[key].toString().trim());\n }\n }\n }\n else {\n for (const key in this.state.filter) {\n if (filterState[key].toString().length > 0 && filterState[key] !== 0)\n filter += '&' + key + '=' + encodeURIComponent(this.state.filter[key].toString().trim());\n }\n }\n\n fetch(Config._HOST + `/api/manutencao/ocorrencia?_page=${page}&_limit=${pageLimit}&_order=${order}${filter}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false });\n })\n }\n\n onChangeFilter = (campo, value) => {\n this.setState({\n filter: {\n ...this.state.filter,\n [campo]: value\n }\n })\n }\n\n handleLimpar = () => {\n this.setState({\n filter: this.filter\n }, this.handlePesquisar)\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/manutencao/ocorrencia`,\n {\n body: JSON.stringify({ id: id }),\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(data => {\n this.setState({ loading: false })\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n this.props.enqueueSnackbar('Excluido')\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.data.length === 0) {\n return (\n \n

    Não existem Ocorrências cadastradas

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n \n )\n })}\n \n
    AMBIENTESETORMANUTENÇÃOSTATUSDATAAÇÃO
    {single.setor.ambiente ? single.setor.ambiente.nome : \"-\"}{single.setor ? single.setor.nome : \"-\"}{single.manutencao ? single.manutencao.categoria.nome : \"-\"}{single.status ? single.status : \"-\"}\n {single.dt_inicio ? (\n moment(single.dt_inicio).format('DD/MM/YYYY') + \" às \" +\n moment(single.dt_inicio).format('HH:mm')\n ) : \"-\"}\n \n
    \n \n \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n const { filter } = this.state;\n\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"OCORRÊNCIAS\"} subTitulo={\"Módulo de Gestão para Ocorrências\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Ocorrencias ({this.state.data.length})

    \n \n \n \n \n \n this.onChangeFilter(\"setor.ambiente.nome_like\", value.target.value.toUpperCase())}\n value={filter['setor.ambiente.nome_like']}\n />\n \n \n \n \n \n this.onChangeFilter(\"setor.nome_like\", value.target.value.toUpperCase())}\n value={filter['setor.nome_like']}\n />\n \n \n \n \n \n this.onChangeFilter(\"status_like\", value.target.value.toUpperCase())}\n value={filter['status_like']}\n />\n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n this.onChangeFilter('dt_inicio_like', value.target.value.toUpperCase())\n }}\n />\n \n \n \n \n
    \n\n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ManutencaoOcorrencias);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { ButtonGroup, CircularProgress, FormControl, MenuItem, Select, TextField } from \"@material-ui/core\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport moment from 'moment';\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { Button, Card, CardBody, CardHeader, Col, Container, Form, Input, Row } from \"reactstrap\";\nimport FormGroup from \"reactstrap/lib/FormGroup\";\nimport Label from \"reactstrap/lib/Label\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport 'rodal/lib/rodal.css';\nimport ButtonControl from \"views/components/ButtonControl\";\n\n\nconst HISTORY_BACK = '/admin/manutencoes/ocorrencias';\n\nclass ManutencaoOcorrenciaNovo extends React.Component {\n state = {\n manutencoes: [],\n setores: [],\n ambientes: [],\n responsaveis: [],\n dataUsers: []\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n fetch(Config._HOST + `/api/manutencao`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n manutencoes: response.data,\n })\n })\n\n fetch(Config._HOST + \"/api/categoria\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n responsaveis: response.status === 200 ? response.data : [],\n })\n });\n\n fetch(Config._HOST + \"/api/ambiente?_limit=9999\")\n .then(response => response.json())\n .then(response => {\n this.setState({\n ambientes: response.data\n })\n });\n\n if (this.props.match.params.id) {\n this.findBy()\n }\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { id } = this.props.match.params;\n\n fetch(Config._HOST + `/api/manutencao/ocorrencia/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response,\n manutencao: response.manutencao.uk,\n ambiente: response.setor.ambiente.uk,\n setor: response.setor.uk,\n setores: [response.setor]\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n let temp = this.state\n\n this.setState({ loading: true })\n const id = this.props.match.params.id !== undefined ? this.props.match.params.id : '';\n\n temp[\"manutencao\"] = this.state.manutencoes.filter(single => single.uk === this.state.manutencao)\n temp[\"manutencao\"] = temp[\"manutencao\"] && temp[\"manutencao\"].length ? temp[\"manutencao\"][0] : temp[\"manutencao\"]\n\n temp[\"ambiente\"] = this.state.manutencoes.filter(single => single.uk === this.state.ambiente)\n temp[\"ambiente\"] = temp[\"ambiente\"] && temp[\"ambiente\"].length ? temp[\"ambiente\"][0] : temp[\"ambiente\"]\n\n temp[\"setor\"] = this.state.setores.filter(single => single.uk === this.state.setor)\n temp[\"setor\"] = temp[\"setor\"] && temp[\"setor\"].length ? temp[\"setor\"][0] : temp[\"setor\"]\n\n temp[\"dt_inicio\"] = moment(this.state.dt_inicio).format('YYYY-MM-DD') + \"T\" + moment(this.state.dt_inicio).format('HH:mm') + \":00\";\n temp[\"dt_termino\"] = moment(this.state.dt_termino).format('YYYY-MM-DD') + \"T\" + moment(this.state.dt_termino).format('HH:mm') + \":00\";\n\n let dataUser = JSON.stringify(temp)\n\n fetch(Config._HOST + `/api/manutencao/ocorrencia/${id}`,\n {\n body: dataUser,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.setState({ loading: false }, () => {\n this.props.history.push(HISTORY_BACK)\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n onChangeAmbiente = (value) => {\n this.setState({ ambiente: value.target.value.toUpperCase() });\n this.findSetoresAmbiente(value.target.value.toUpperCase());\n }\n\n findSetoresAmbiente = (ambiente) => {\n fetch(Config._HOST + `/api/manutencao/setor/ambiente/${ambiente}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n setores: response.data,\n })\n });\n }\n\n searchUser = (search, field) => {\n if (!search) return;\n this.setState({ loadSelect: true });\n\n const params = {\n _limit: 100,\n name_like: search,\n profile: {\n id: [2, 3]\n }\n };\n\n fetch(Config._HOST + `/api/user?${jsonToUrlFilter(params)}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n [field]: 'data' in response ? response.data : [],\n loadSelect: false,\n })\n }).catch(e => {\n this.setState({ loadSelect: false });\n })\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR OCORRÊNCIA\" : \"NOVA OCORRÊNCIA\"}\n subTitulo={\"Gerenciamento completo das Ocorrências\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Ocorrência\" : \"Cadastrar Nova Ocorrência\"}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n \n \n \n { this.setState({ status: value.target.value }) }}\n value={this.state.status ? this.state.status : \"Agendado\"}\n >\n Agendado\n Iniciado\n Atrasado\n Concluído\n \n \n \n \n \n \n { this.setState({ manutencao: value.target.value }) }}\n value={this.state.manutencao ? this.state.manutencao : 0}\n >\n Selecione uma opção\n {this.state.manutencoes.map((value) => (\n \n {value.categoria.nome} {value.descricao ? (' - ' + value.descricao) : ''}\n \n ))}\n \n \n \n \n \n \n { this.onChangeAmbiente(value) }}\n value={this.state.ambiente ? this.state.ambiente : 0}\n >\n Selecione uma opção\n {this.state.ambientes.map((value, key) => (\n \n {value.nome}\n \n ))}\n \n \n \n \n \n \n { this.setState({ setor: value.target.value }) }}\n value={this.state.setor ? this.state.setor : 0}\n >\n Selecione uma opção\n\n {this.state.setores && this.state.setores.map((value, key) => (\n \n {value.nome}\n \n ))}\n\n \n \n \n \n \n \n { this.setState({ descricao: value.target.value.toUpperCase() }) }}\n value={this.state.descricao ? this.state.descricao : ''}\n />\n \n \n \n \n \n option.name}\n onChange={(_, value) => this.setState({ \"responsavel\": value })}\n onInputChange={(_, value) => this.searchUser(value, \"dataUsers\")}\n inputMode=\"text\"\n key=\"responsavel\"\n loading={this.state.loadSelect}\n value={this.state.responsavel ? this.state.responsavel : null}\n renderInput={(params) => (\n \n {this.state.loadSelect ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n this.setState({ dt_inicio: value.target.value.toUpperCase() })\n }}\n className=\"form-control\"\n />\n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n this.setState({ dt_termino: value.target.value.toUpperCase() })\n }}\n className=\"form-control\"\n />\n \n \n \n \n \n { this.setState({ intervalo: value.target.value.toUpperCase() }) }}\n value={this.state.intervalo ? this.state.intervalo : '1'}\n />\n \n \n \n \n \n { this.setState({ tipo_intervalo: value.target.value }) }}\n value={this.state.tipo_intervalo ? this.state.tipo_intervalo : \"Meses\"}\n >\n Horas\n Dia\n Meses\n Anos\n \n \n \n \n \n \n { this.setState({ contrato: value.target.value.toUpperCase() }) }}\n value={this.state.contrato ? this.state.contrato : ''}\n />\n \n \n \n \n \n { this.setState({ observacoes: value.target.value.toUpperCase() }) }}\n value={this.state.observacoes ? this.state.observacoes : ''}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n \n \n\n \n \n\n \n \n \n \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ManutencaoOcorrenciaNovo);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass ManutencaoTipos extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/manutencao/tipo')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (uk) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/manutencao/tipo`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ uk: uk })\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data.status === 200) {\n const dataUpdated = this.state.data.filter(row => row.uk !== uk);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data.mensagem ? data.mensagem : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Tipos cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n )\n })}\n \n
    NOMEAÇÃO
    {single.nome ? single.nome : \"-\"}\n
    \n \n \n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"TIPOS DE MANUTENÇÃO\"} subTitulo={\"Módulo de Gestão para Tipos de Manutenção\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Tipos ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ManutencaoTipos);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Button, Card, CardHeader, CardBody, Form, Input, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, FormControl } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport 'rodal/lib/rodal.css';\n\nconst HISTORY_BACK = '/admin/manutencoes/tipos';\n\nclass ManutencaoTipoNovo extends React.Component {\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n this.setState({\n uk: this.props.match.params.uk,\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.match.params.uk) { // cenario para editar\n this.findBy()\n }\n })\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { uk } = this.props.match.params;\n\n fetch(Config._HOST + `/api/manutencao/tipo/${uk}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response.data,\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n this.setState({ loading: true })\n const uk = this.props.match.params.uk !== undefined ? this.props.match.params.uk : '';\n let dataUser = JSON.stringify(this.state)\n\n fetch(Config._HOST + `/api/manutencao/tipo`,\n {\n body: dataUser,\n method: uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(data.mensagem)\n this.props.history.push(HISTORY_BACK)\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.uk ? \"EDITAR TIPO DE MANUTENÇÃO\" : \"NOVO TIPO DE MANUTENÇÃO\"}\n subTitulo={\"Gerenciamento Completo dos Tipos de Manutenção\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Tipo de Manutenção\" : \"Cadastrar Novo Tipo de Manutenção\"}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n \n \n \n { this.setState({ nome: value.target.value.toUpperCase() }) }}\n value={this.state.nome ? this.state.nome : ''}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n \n \n\n \n \n\n \n \n \n \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ManutencaoTipoNovo);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { getDescricaoModoManutencao, getDescricaoTipoIntervalo } from \"Config\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass Manutencoes extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/manutencao')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.status === 200 ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (uk) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/manutencoes/${uk}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(data => {\n this.setState({ loading: false })\n const dataUpdated = this.state.data.filter(row => row.id !== uk);\n this.setState({ data: dataUpdated });\n this.props.enqueueSnackbar('Excluido')\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não existem Manutenções cadastradas

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n \n \n )\n })}\n \n
    TIPOCATEGORIAMODOINTERVALOTIPO INTERVALODESCRIÇÃOAÇÃO
    {single.tipo ? single.tipo.nome : \"-\"}{single.categoria ? single.categoria.nome : \"-\"}{single.modo ? getDescricaoModoManutencao(single.modo) : \"-\"}{single.intervalo ? single.intervalo : \"-\"}{single.tipo_intervalo ? getDescricaoTipoIntervalo(single.tipo_intervalo) : \"-\"}{single.descricao ? single.descricao : \"-\"}\n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n Ocorrências\n \n \n Tipos\n \n \n Categorias\n \n \n
    \n \n }\n titulo={\"MANUTENÇÕES\"} subTitulo={\"Módulo de Gestão para Manutenções\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total Manutenções ({this.state.data.length})

    \n
    \n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Manutencoes);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { Button, Card, CardHeader, CardBody, Form, Input, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup, FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\n\nimport { confirmAlert } from 'react-confirm-alert'; // Import\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\n\nimport 'rodal/lib/rodal.css';\nimport Label from \"reactstrap/lib/Label\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/manutencoes';\n\nclass ManutencaoNovo extends React.Component {\n state = {\n tipos: [],\n categorias: [],\n }\n\n async componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n await fetch(Config._HOST + `/api/manutencao/categoria`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n categorias: response.data,\n })\n })\n\n await fetch(Config._HOST + `/api/manutencao/tipo`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n tipos: response.data,\n })\n })\n\n this.setState({\n uk: this.props.match.params.uk,\n _session: user,\n _uk: user._uk,\n _ukFunc: user._ukFunc,\n _func: user._func,\n _name: user._name,\n }, () => {\n if (this.props.match.params.uk) { // cenario para editar\n this.findBy()\n }\n })\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { uk } = this.props.match.params;\n fetch(Config._HOST + `/api/manutencao/${uk}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: false,\n ...response.data,\n tipo: response.data.tipo.uk,\n categoria: response.data.categoria.uk\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n this.setState({ loading: true })\n const uk = this.props.match.params.uk !== undefined ? this.props.match.params.uk : '';\n\n let temp = this.state;\n\n temp[\"tipo\"] = {\n uk: this.state.tipo ? this.state.tipo : \"\"\n }\n temp[\"categoria\"] = {\n uk: this.state.categoria ? this.state.categoria : \"\"\n }\n\n let dataUser = JSON.stringify(temp)\n\n fetch(Config._HOST + `/api/manutencao`,\n {\n body: dataUser,\n method: uk ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n\n this.setState({ loading: false })\n\n this.props.enqueueSnackbar(data.mensagem)\n\n if (data.status === 200) {\n this.props.history.push(HISTORY_BACK)\n }\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.uk ? \"EDITAR MANUTENÇÃO\" : \"NOVA MANUTENÇÃO\"}\n subTitulo={\"Gerenciamento completo da Manutenção\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Manutenção\" : \"Cadastrar Nova Manutenção\"}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n \n \n \n { this.setState({ tipo: value.target.value }) }}\n value={this.state.tipo ? this.state.tipo : 0}\n >\n Selecione uma opção\n\n {this.state.tipos.map((value, key) => (\n {value.nome}\n ))}\n\n \n \n \n \n \n \n { this.setState({ categoria: value.target.value }) }}\n value={this.state.categoria ? this.state.categoria : 0}\n >\n Selecione uma opção\n\n {this.state.categorias.map((value, key) => (\n {value.nome}\n ))}\n\n \n \n \n \n \n \n { this.setState({ modo: value.target.value }) }}\n value={this.state.modo ? this.state.modo : 0}\n >\n Selecione uma opção\n Pontual\n Recorrente\n \n \n \n \n \n \n { this.setState({ intervalo: value.target.value.toUpperCase() }) }}\n value={this.state.intervalo ? this.state.intervalo : ''}\n />\n \n \n \n \n \n { this.setState({ tipo_intervalo: value.target.value }) }}\n value={this.state.tipo_intervalo ? this.state.tipo_intervalo : 0}\n >\n Selecione uma opção\n Dia\n Meses\n Anos\n \n \n \n \n \n \n { this.setState({ descricao: value.target.value.toUpperCase() }) }}\n value={this.state.descricao ? this.state.descricao : ''}\n />\n \n \n \n
    \n\n
    \n\n
    \n \n \n \n\n \n \n\n \n \n \n \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ManutencaoNovo);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { FormControl, MenuItem, Select } from \"@material-ui/core\";\nimport Filter from \"views/components/Filter\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\n// reactstrap components\nimport { Card, CardHeader, Col, Container, Row, Table } from \"reactstrap\";\nimport FormGroup from \"reactstrap/lib/FormGroup\";\nimport Input from \"reactstrap/lib/Input\";\nimport ButtonControl from \"views/components/ButtonControl\";\nimport api from \"services/api\";\nimport { jsonToUrlFilter } from \"utils/filter\";\n\nclass FaleConosco extends React.Component {\n filter = {\n _limit: 100,\n _order: 'desc',\n _sort: 'data',\n status: { id: 1 }\n };\n\n state = {\n loading: false,\n filter: this.filter,\n data: [],\n dataTipos: [],\n dataStatus: []\n };\n\n async componentDidMount() {\n this.setState({ loading: true });\n\n await this.findOcorrenciaTipo();\n await this.findOcorrenciaStatus();\n await this.handlePesquisar();\n\n this.setState({ loading: false });\n }\n\n findOcorrenciaTipo = async () => {\n const response = await api.get('/api/ocorrencia/tipo');\n this.setState({ dataTipos: response.data });\n }\n\n findOcorrenciaStatus = async () => {\n const response = await api.get('/api/ocorrencia/status');\n this.setState({ dataStatus: response.data });\n }\n\n handlePesquisar = async () => {\n this.setState({ loading: true });\n const response = await api.get(`/api/ocorrencia?${jsonToUrlFilter(this.state.filter)}`);\n this.setState({ data: response.data, loading: false });\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/ocorrencia/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n onChangeFilter = (campo, value) => {\n this.setState({\n filter: {\n ...this.state.filter,\n [campo]: value\n }\n })\n }\n\n handleLimpar = () => {\n this.setState({\n filter: this.filter\n }, this.handlePesquisar)\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Mensagens!

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n )\n })}\n \n
    DESCRIÇÃOTIPOSTATUSDATAAÇÃO
    {single.descricao ? (single.descricao.substring(0, 80) + (single.descricao.length > 80 ? \"...\" : \"\")) : \"-\"}{single.tipo ? single.tipo.nome : \"-\"}{single.status ? single.status.nome : \"-\"}{single.data ? moment(single.data.split('.000')[0]).format(\"DD/MM/YYYY \\\\à\\\\s HH:mm\") : \"-\"}\n
    \n \n \n \n {/* */}\n
    \n
    \n
    \n );\n }\n\n render() {\n const { filter, dataTipos, dataStatus } = this.state;\n\n return (\n <>\n\n {/*
    */}\n \n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Mensagens ({this.state.data.length})

    \n \n \n \n \n \n this.onChangeFilter(\"descricao_like\", value.target.value.toUpperCase())}\n value={filter.descricao}\n />\n \n \n \n \n \n this.onChangeFilter(\"tipo.id\", value.target.value)}\n value={filter[\"tipo.id\"] ? filter[\"tipo.id\"] : 0}\n >\n Todos os tipos\n {dataTipos.map(tipo => (\n {tipo.nome}\n ))}\n \n \n \n \n \n \n this.onChangeFilter(\"status.id\", value.target.value)}\n value={filter[\"status.id\"] ? filter[\"status.id\"] : 0}\n >\n Todos os status\n {dataStatus.map(status => (\n {status.nome}\n ))}\n \n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n this.onChangeFilter('data_like', value.target.value.toUpperCase())\n }}\n />\n \n \n \n \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FaleConosco);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport { FormControl, MenuItem, Select, TextField, CircularProgress } from '@material-ui/core';\nimport Config from 'Config';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport moment from 'moment';\nimport { jsonToUrlFilter } from 'utils/filter';\n\nexport default class FormFields extends Component {\n async componentDidMount() {\n const { handleChange } = this.props;\n handleChange({ loading: true })\n\n fetch(Config._HOST + '/api/ocorrencia/tipo', { method: 'GET' })\n .then(response => response.json())\n .then(response => {\n handleChange({\n dataTipos: response.data,\n loading: false,\n })\n }).catch(e => {\n handleChange({ loading: false })\n })\n\n fetch(Config._HOST + '/api/ocorrencia/status', { method: 'GET' })\n .then(response => response.json())\n .then(response => {\n handleChange({\n dataStatus: response.data,\n loading: false,\n })\n }).catch(e => {\n handleChange({ loading: false })\n })\n }\n\n searchUser = (search, field) => {\n if (!search) return;\n\n const { handleChange } = this.props;\n handleChange({ loadSelect: true });\n\n const params = {\n _limit: 100,\n name_like: search,\n profile: {\n id: [2, 3]\n }\n };\n\n fetch(Config._HOST + `/api/user?${jsonToUrlFilter(params)}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n [field]: 'data' in response ? response.data : [],\n loadSelect: false,\n })\n }).catch(e => {\n this.setState({ loadSelect: false });\n })\n }\n\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n { handleChange({ tipo: value.target.value }) }}\n value={state.tipo ? state.tipo : 0}\n >\n Selecione uma opção\n {state.dataTipos.map(tipo => (\n {tipo.nome}\n ))}\n \n \n \n \n \n \n { handleChange({ status: value.target.value }) }}\n value={state.status ? state.status : 0}\n >\n Selecione uma opção\n {state.dataStatus.map(status => (\n {status.nome}\n ))}\n \n \n \n \n \n \n {\n if (moment(value.target.value.toUpperCase()).isValid())\n handleChange({ data: value.target.value.toUpperCase() })\n }}\n className=\"form-control\"\n />\n \n \n \n\n \n \n \n \n handleChange({ descricao: value.target.value.toUpperCase() })}\n value={state.descricao}\n />\n \n \n \n \n \n option.name}\n onChange={(_, value) => handleChange({ \"relator\": value })}\n onInputChange={(_, value) => this.searchUser(value, \"dataUsers\")}\n inputMode=\"text\"\n key=\"relator\"\n loading={state.loadSelect}\n value={state.relator ? state.relator : null}\n renderInput={(params) => (\n \n {state.loadSelect ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n \n \n option.name}\n onChange={(_, value) => handleChange({ \"envolvidos\": value })}\n onInputChange={(_, value) => {\n console.log(value)\n this.searchUser(value, \"dataUsers\");\n }}\n inputMode=\"text\"\n key=\"envolvidos\"\n loading={state.loadSelect}\n value={state.envolvidos ? state.envolvidos : null}\n multiple={true}\n renderInput={(params) => (\n \n {state.loadSelect ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n )}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/fale-conosco';\nconst ROUTE_API = '/api/ocorrencia';\n\nclass FaleConoscoCrud extends React.Component {\n\n state = {\n dataResponsavelFinanceiro: [],\n dataUsers: [],\n dataTipos: [],\n dataStatus: [],\n dataResponsavel: [],\n envolvidos: []\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy(this.props.match.params.id)\n }\n\n this.setState({ session: user })\n }\n\n findBy = (id) => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n ...response,\n tipo: (response.tipo && response.tipo ? response.tipo.id : null),\n status: (response.status && response.status ? response.status.id : null),\n dataUsers: [response.relator, ...response.envolvidos],\n data: response.data.split('.000')[0]\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n\n create(id) {\n let temp = this.state;\n\n if (!this.state.tipo || this.state.tipo === 0) {\n this.props.enqueueSnackbar(\"Selecione um Tipo\")\n return;\n }\n if (!this.state.status || this.state.status === 0) {\n this.props.enqueueSnackbar(\"Selecione um Status\")\n return;\n }\n if (!this.state.descricao || this.state.descricao === \"\") {\n this.props.enqueueSnackbar(\"Campo Descrição em branco\")\n return;\n }\n if (!this.state.relator || this.state.relator === 0) {\n this.props.enqueueSnackbar(\"Selecione uma Relator\")\n return;\n }\n if (!this.state.envolvidos || this.state.envolvidos === 0) {\n this.props.enqueueSnackbar(\"Selecione os Envolvidos\")\n return;\n }\n if (!this.state.data || this.state.data === \"\") {\n this.props.enqueueSnackbar(\"Campo Data em branco\")\n return;\n }\n\n this.setState({ loading: true });\n\n temp[\"tipo\"] = { \"id\": temp.tipo };\n temp[\"status\"] = { \"id\": temp.status };\n\n let agendaData = JSON.stringify(temp);\n fetch(Config._HOST + `${ROUTE_API}/${id ? id : ''}`,\n {\n body: agendaData,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.setState({ loading: false }, () => {\n this.props.history.push('/admin/fale-conosco')\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR MENSAGEM\" : \"NOVA MENSAGEM\"}\n subTitulo={\"Gerenciamento das Mensagens\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Ocorrencia\" : \"Cadastrar Novo Ocorrencia\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(FaleConoscoCrud);\n","import Config from 'Config';\nimport moment from \"moment\";\nimport React, { Component } from 'react';\nimport { CardHeader } from \"reactstrap\";\n\nexport default class TimeLine extends Component {\n render() {\n const user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n return (\n
    \n \n

    \n {this.props.respostas.length > 0 ? (\n

    \n {this.props.msgTitulo} \n

    \n ) : (\n

    \n {this.props.msgEmpty} \n

    \n )}\n

    \n\n
    \n {this.props.respostas.length > 0 && this.props.respostas.map(single => (\n
    \n {single.usuario.id === user.id ? (\n
    \n
    \n
    {single.mensagem}
    \n
    \n
    \n {moment(single.data).format('DD/MM/YYYY') + ' às ' + moment(single.data).format('HH:mm')}\n
    \n
    \n ) : (\n
    \n
    \n
    {single.mensagem}
    \n
    \n
    \n {moment(single.data).format('DD/MM/YYYY') + ' às ' + moment(single.data).format('HH:mm')}\n
    \n
    \n )}\n
    \n ))}\n
    \n\n
    \n
    \n );\n }\n}\n","import { Button, Card, CardBody, Col, Container, Form, Input, Row } from \"reactstrap\";\nimport { ButtonGroup, FormGroup, List, ListItem, ListItemText } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport Config from \"Config\";\nimport moment from \"moment\";\nimport { withSnackbar } from \"notistack\";\nimport React from \"react\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport { BoxLoading } from \"react-loadingg\";\nimport api from \"services/api\";\nimport { req } from \"utils/req\";\nimport TimeLine from \"./TimeLine\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst ROUTE_API = '/api/ocorrencia';\n\nclass FaleConoscoView extends React.Component {\n state = {\n tipo: {\n id: null,\n nome: null\n },\n relator: {\n id: null,\n nome: null\n },\n respostas: [],\n mensagem: ''\n }\n\n compararPorData(a, b) {\n const dataA = new Date(a.data);\n const dataB = new Date(b.data);\n\n return dataA - dataB;\n }\n\n componentDidMount() {\n const { id } = this.props.match.params;\n id && this.findBy(id);\n }\n\n findBy = async (id) => {\n this.setState({ loading: true });\n const response = await api.get(`${ROUTE_API}/${id}`);\n response.respostas.sort(this.compararPorData)\n this.setState({ ...this.state, ...response, loading: false });\n }\n\n handleResponder = async () => {\n if(this.state.mensagem.length === 0) return false;\n let user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n let data = {\n ocorrencia: { \"id\": this.state.id },\n mensagem: this.state.mensagem,\n usuario: user\n }\n this.setState({ loading: true });\n await req(`${ROUTE_API}-respostas`, data);\n this.setState({ mensagem: '' });\n this.findBy(this.props.match.params.id);\n }\n\n handleFinalizar = async () => {\n await this.setState({ status: { \"id\": 2, \"nome\": \"Finalizado\" } });\n await req(`${ROUTE_API}`, this.state, this.state.id);\n this.props.history.push('/admin/fale-conosco');\n }\n\n render() {\n return (\n <>\n {this.state.loading && (\n
    \n \n
    \n )}\n\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={\"PROCESSAR OCORRÊNCIA\"}\n subTitulo={\"Gerenciamento das mensagens\"}\n />\n \n {/* {Table} */}\n {this.renderContent()}\n \n \n );\n }\n\n renderContent() {\n const { status } = this.state;\n\n return (\n <>\n \n \n \n \n
    \n Documento de Ocorrência\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n
    \n \n
    \n {status && status.id !== 2 &&\n
    \n \n \n this.setState({ mensagem: value.target.value })}\n value={this.state.mensagem}\n />\n \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n }\n
    \n
    \n \n
    \n \n )\n }\n}\nexport default withSnackbar(FaleConoscoView);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport api from \"services/api\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass Pdfs extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = async () => {\n this.setState({ loading: true });\n const response = await api.get('/api/pdf?_limit=999&_order=asc');\n this.setState({ data: response.data, loading: false });\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/pdf/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem PDF cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n )\n })}\n \n
    IDNOMEAÇÃO
    {single.id}{single.nome ? single.nome : \"-\"}\n
    \n \n \n \n \n \n \n {/* */}\n
    \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"PDF\"} subTitulo={\"Módulo de Gestão para PDF\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de PDF ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Pdfs);\n","import React, { Component } from 'react';\nimport { Editor } from '@tinymce/tinymce-react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport { FormControl, MenuItem, Select } from '@material-ui/core';\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange('nome', value.target.value)}\n value={state.nome ? state.nome : ''}\n />\n \n \n \n \n \n \n handleChange(\"orientacaoPagina\", value.target.value)}\n >\n Retrato\n Paisagem\n \n \n \n \n \n handleChange(\"text\", content)}\n init={{\n height: 500,\n selector: 'textarea',\n language: 'pt_BR',\n menubar: 'edit view insert format table',\n // plugins: [\n // 'advlist autolink lists link image charmap',\n // 'searchreplace visualblocks code fullscreen',\n // 'insertdatetime media table paste code help wordcount'\n // ],\n plugins: [\n 'paste importcss searchreplace autolink',\n 'directionality code visualblocks visualchars fullscreen',\n 'image link media template table charmap hr',\n 'nonbreaking anchor toc insertdatetime advlist lists wordcount',\n 'imagetools textpattern noneditable help charmap quickbars emoticons'\n ],\n toolbar: 'undo redo | fontselect formatselect fontsizeselect | ' +\n 'bold italic underline strikethrough forecolor backcolor removeformat |' +\n 'alignleft aligncenter alignright alignjustify |' +\n 'bullist numlist | outdent indent | table image link |' +\n 'charmap fullscreen preview | template ',\n fontsize_formats: '8px 9px 10px 11px 12px 13px 14px 15px 16px 17px 18px 19px 20px ' +\n '21px 22px 23px 24px 25px 26px 26px 27px 28px 29px 30px ' +\n '31px 32px 33px 34px 35px 36px 36px 37px 38px 39px 40px'\n }}\n />\n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\n\nimport 'rodal/lib/rodal.css';\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/pdf';\nconst ROUTE_API = '/api/pdf';\n\nclass PdfCrud extends React.Component {\n state = {\n orientacaoPagina: \"portrait\"\n };\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy()\n }\n }\n\n findBy = () => {\n this.setState({ loading: true })\n const { id } = this.props.match.params;\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n loading: 0,\n ...response,\n })\n })\n .catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = () => {\n this.setState({ loading: true })\n const id = this.props.match.params.id !== undefined ? this.props.match.params.id : '';\n let data = JSON.stringify(this.state)\n\n fetch(Config._HOST + `${ROUTE_API}/${id ? id : ''}`,\n {\n body: data,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.props.history.push(HISTORY_BACK)\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (key, value) => {\n this.setState({ [key]: value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR PDF\" : \"NOVO PDF\"}\n subTitulo={\"Gerenciamento dos PDF\"}\n />\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar PDF\" : \"Cadastrar Novo PDF\"}\n

    \n \n
    \n
    \n \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(PdfCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css';\n\nclass tipoAberturas extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/controle-acesso/tipo-abertura')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/controle-acesso/tipo-abertura/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Tipo de Aberturas cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n )\n })}\n \n
    NOMEAÇÃO
    {single.nome ? single.nome : '-'}\n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Tipo de Aberturas\"} subTitulo={\"Módulo de Gestão para Tipo de Aberturas\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Tipo de Aberturas ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(tipoAberturas);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Row, Input } from 'reactstrap';\n\nexport default class FormFields extends Component {\n\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange({ nome: value.target.value.toUpperCase() })}\n value={state.nome}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/controle-acesso/tipo-aberturas';\nconst ROUTE_API = '/api/controle-acesso/tipo-abertura';\n\nclass tipoAberturaCrud extends React.Component {\n state = {\n nome: \"\",\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy(this.props.match.params.id)\n }\n\n this.setState({ session: user })\n }\n\n findBy = (id) => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({ ...response })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n delete() {\n const { id } = this.props.match.params;\n this.setState({ loading: true });\n\n let dataUser = JSON.stringify(this.state);\n fetch(Config._HOST + `${ROUTE_API}/${id}`,\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.props.history.push(HISTORY_BACK)\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create(id) {\n let temp = this.state;\n\n if (!this.state.nome || this.state.nome === 0) {\n this.props.enqueueSnackbar(\"Selecione um nome\")\n return;\n }\n\n this.setState({ loading: true });\n\n let data = JSON.stringify(temp);\n fetch(Config._HOST + ROUTE_API + '/' + (id ? id : ''),\n {\n body: data,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false });\n\n if (data.status === 400) {\n this.props.enqueueSnackbar(data.message)\n }\n else {\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.props.history.push(HISTORY_BACK)\n }\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR TIPO DE ABERTURA\" : \"NOVO TIPO DE ABERTURA\"}\n subTitulo={\"Gerenciamento dos Tipo de Abertura\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Tipo de Abertura\" : \"Cadastrar Novo Tipo de Abertura\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(tipoAberturaCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\n\n// reactstrap components\nimport { CardHeader, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport 'react-confirm-alert/src/react-confirm-alert.css';\nimport { confirmAlert } from \"react-confirm-alert\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass Usuarios extends Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n const params = {\n _limit: 100,\n profile: {\n id_not_in: [2, 3, 4]\n }\n };\n\n fetch(Config._HOST + `/api/user?${jsonToUrlFilter(params)}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: 'data' in response ? response.data : [],\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false });\n })\n }\n\n handleRemove = (id) => {\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/user/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Usuários cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n )\n })}\n \n
    NOMEEMAILDESCRIÇÃOStatusAÇÃO
    {single.name ? single.name : \"-\"}{single.email ? single.email : \"-\"}{single.profile ? single.profile.descricao : \"-\"}{single.statusAcesso === 1 ? \"Ativo\" : \"Inativo\" }\n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n \n
    \n \n \n NOVO\n \n \n PERFIS\n \n \n
    \n \n }\n titulo={\"Usuários\"}\n subTitulo={\"Módulo de Gestão para Usuários\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Usuários ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Usuarios);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport { FormControl, MenuItem, Select } from '@material-ui/core';\nimport { getUser } from 'Config';\nimport api from 'services/api';\n\nexport default class FormFields extends Component {\n\n async componentDidMount() {\n const { handleChange } = this.props;\n handleChange({ loading: true })\n\n const response = await api.get('/api/profile')\n if (!!response && response.data.length > 0) {\n handleChange({\n dataProfile: response.data.filter(profile => [2, 3].indexOf(profile.id) === -1),\n loading: false,\n })\n }\n }\n\n render() {\n const { state, handleChange } = this.props;\n const { profile } = getUser();\n\n return (\n <>\n
    \n \n {profile.id === 1 && (\n <>\n \n \n \n \n { handleChange({ profile: value.target.value }) }}\n value={state.profile}\n >\n {state.dataProfile.map(profile => (\n {profile.descricao}\n ))}\n \n \n \n \n {'id' in state && profile.id !== state.id && (\n \n \n \n \n { handleChange({ statusAcesso: value.target.value }) }}\n value={state.statusAcesso}\n >\n Ativo\n Inativo\n \n \n \n \n )}\n \n )}\n \n \n \n \n \n handleChange({ name: value.target.value.toUpperCase() })}\n value={state.name}\n />\n \n \n \n \n \n handleChange({ email: value.target.value.toLowerCase() })}\n value={state.email}\n />\n \n \n \n \n \n handleChange({ senha: value.target.value })}\n value={state.senha}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/usuarios';\nconst ROUTE_API = '/api/user';\n\nclass UsuarioCrud extends React.Component {\n\n state = {\n dataProfile: [],\n statusAcesso: 1,\n profile: 1\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.uk) {\n this.findBy(this.props.match.params.uk)\n }\n\n this.setState({ session: user })\n }\n\n findBy = id => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n ...response.data,\n profile: response.data.profile.id\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create(id) {\n let temp = this.state;\n\n if (!this.state.name || this.state.name === 0) {\n this.props.enqueueSnackbar(\"Selecione um Nome\")\n return;\n }\n if (!this.state.email || this.state.email === 0) {\n this.props.enqueueSnackbar(\"Selecione um Email\")\n return;\n }\n if (!id && (!this.state.senha || this.state.senha === 0)) {\n this.props.enqueueSnackbar(\"Selecione um Senha\")\n return;\n }\n\n this.setState({ loading: true });\n temp.profile = { id: temp.profile };\n\n let data = JSON.stringify(temp);\n fetch(Config._HOST + ROUTE_API,\n {\n body: data,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data.mensagem)\n this.setState({ loading: false }, () => {\n this.props.history.push(HISTORY_BACK)\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.uk ? \"EDITAR USUÁRIO\" : \"NOVO USUÁRIO\"}\n subTitulo={\"Gerenciamento dos Usuários\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.uk ? \"Atualizar Usuário\" : \"Cadastrar Novo Usuário\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.uk)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.uk} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(UsuarioCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css';\n\nclass Veiculos extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/veiculo')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/veiculo/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Veículos cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n \n \n \n )\n })}\n \n
    PLACACORMARCAMODELOAÇÃO
    {single.placa ? single.placa : \"-\"}{single.cor ? single.cor : \"-\"}{single.marca ? single.marca : \"-\"}{single.modelo ? single.modelo : \"-\"}\n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Veículos\"}\n subTitulo={\"Módulo de Gestão para Veículos\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Veículos ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Veiculos);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\n\nexport default class FormFields extends Component {\n\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange({ placa: value.target.value.toUpperCase() })}\n value={state.placa}\n />\n \n \n \n \n \n handleChange({ cor: value.target.value.toUpperCase() })}\n value={state.cor}\n />\n \n \n \n \n \n handleChange({ marca: value.target.value.toUpperCase() })}\n value={state.marca}\n />\n \n \n \n \n \n handleChange({ modelo: value.target.value.toUpperCase() })}\n value={state.modelo}\n />\n \n \n \n \n \n handleChange({ ano: value.target.value.toUpperCase() })}\n value={state.ano}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/veiculos';\nconst ROUTE_API = '/api/veiculo';\n\nclass VeiculoCrud extends React.Component {\n state = {};\n\n componentDidMount() {\n const { id } = this.props.match.params\n id && this.findBy(id);\n }\n\n findBy = (id) => {\n this.setState({ loading: true });\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({ ...response });\n }).catch(e => {\n this.setState({ loading: false });\n })\n }\n\n delete() {\n const { id } = this.props.match.params;\n this.setState({ loading: true });\n\n let dataUser = JSON.stringify(this.state)\n fetch(Config._HOST + `${ROUTE_API}/${id}`,\n {\n body: dataUser,\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!');\n this.setState({ loading: false }, () => {\n this.props.history.push(HISTORY_BACK);\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n create(id) {\n let temp = this.state;\n this.setState({ loading: true });\n\n fetch(Config._HOST + `${ROUTE_API}/${id ? id : ''}`,\n {\n body: JSON.stringify(temp),\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.setState({ loading: false }, () => {\n this.props.history.push(HISTORY_BACK);\n })\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR VEÍCULOS\" : \"NOVO VEÍCULOS\"}\n subTitulo={\"Gerenciamento da Veículos\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Veículo\" : \"Cadastrar Novo Veículo\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(VeiculoCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport { ButtonGroup, Typography } from \"@material-ui/core\";\nimport { Timeline, TimelineConnector, TimelineContent, TimelineDot, TimelineItem, TimelineOppositeContent, TimelineSeparator } from \"@material-ui/lab\";\nimport Filter from \"views/components/Filter\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { withSnackbar } from \"notistack\";\nimport { Component } from \"react\";\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport { Button, Card, CardHeader, Container, FormGroup, Input, Modal, ModalBody, ModalHeader, Row, Table, UncontrolledTooltip } from \"reactstrap\";\nimport Col from \"reactstrap/lib/Col\";\nimport api from \"services/api\";\nimport cpfMask from \"utils/cpfMask\";\nimport { jsonToUrlFilter } from \"utils/filter\";\nimport ArrowUpwardIcon from '@material-ui/icons/ArrowUpward';\nimport moment from \"moment\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport Config from \"Config\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nclass Visitantes extends Component {\n state = {\n data: [],\n loading: false,\n loadingMore: false,\n filter: {\n _page: 1,\n _limit: 20,\n _order: 'ASC',\n _sort: \"nome\"\n }\n };\n\n async componentDidMount() {\n this.handlePesquisar()\n }\n\n handlePesquisar = async (removeData = true) => {\n const { data, filter, loading } = this.state;\n if (loading) return;\n\n let filterTmp = { ...filter };\n\n await this.setState({ loading: removeData, loadingMore: !removeData });\n\n if (removeData && filter._page > 1) {\n await this.setState({ filter: { ...filter, _page: 1 } })\n }\n\n if ('nome_like' in filter && filter.nome_like.length === 0) {\n delete filterTmp.nome_like;\n }\n\n if ('cpf_like' in filter && filter.cpf_like.length === 0) {\n delete filterTmp.cpf_like;\n }\n\n const response = await api.get(`api/visitantes?${jsonToUrlFilter(filterTmp)}`);\n\n for (const key in response.data) {\n const visitante = response.data[key];\n\n const filter = {\n visitante: { id: visitante.id },\n data_entrada: 'null',\n cancelado: 'false',\n _page: 1,\n _limit: 99999,\n _order: 'desc',\n _sort: \"data_cadastro\"\n };\n const responseHistorico = await api.get(`api/visitantes/historico?${jsonToUrlFilter(filter)}`);\n response.data[key].aprovar = !!responseHistorico && !!responseHistorico.length ? responseHistorico.data[0] : null;\n }\n\n if (!!response) {\n if (removeData) {\n this.setState({\n ...response,\n loading: false,\n loadingMore: false\n })\n }\n else {\n this.setState({\n ...response,\n data: [...data, ...response.data],\n loading: false,\n loadingMore: false\n })\n }\n }\n else {\n this.setState({ loading: false, loadingMore: false })\n }\n }\n\n loadMore = () => {\n const { filter } = this.state;\n\n this.setState({\n filter: {\n ...filter,\n _page: this.state.filter._page + 1\n }\n }, () => {\n this.handlePesquisar(false);\n });\n }\n\n handleLimpar = () => {\n this.setState({\n data: [],\n length: 0,\n total_data: 0,\n filter: {\n _limit: 50,\n _order: 'ASC',\n _sort: \"name\"\n }\n });\n }\n\n handleAprovar = async item => {\n confirmAlert({\n customUI: ({ onClose }) => {\n let observacao = \"\";\n\n return (\n
    \n

    Deseja aprovar a entrada?

    \n\n Esta ação não poderá ser desfeita.\n \n \n \n observacao = value.target.value }\n />\n \n \n\n
    \n \n \n
    \n
    \n );\n }\n })\n }\n\n handleShowHistorico = async item => {\n this.setState({ loadingFull: true });\n const filter = {\n visitante: { id: item.id },\n _page: 1,\n _limit: 99999,\n _order: 'desc',\n _sort: \"data_cadastro\"\n };\n const response = await api.get(`api/visitantes/historico?${jsonToUrlFilter(filter)}`);\n\n if(!!response) {\n this.setState({ loadingFull: false, showModalHistorico: true, modalBody: response.data });\n }\n else {\n this.setState({ loadingFull: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro, tente novamente mais tarde.\");\n }\n }\n\n modalHistorico = () => {\n const { showModalHistorico, modalBody } = this.state;\n\n return (\n <>\n this.setState({ showModalHistorico: !showModalHistorico })}>\n this.setState({ showModalHistorico: !showModalHistorico })}>Histórico de visitas\n \n \n \n \n RESPONSÁVEL PELO CONVITE\n \n \n \n STATUS DA VISITA\n \n \n\n {!!modalBody && modalBody.map(item => (\n \n \n {item.usuario.name} - {moment(item.data_cadastro).format('DD/MM/YYYY HH:mm')}\n \n \n \n \n \n \n \n {!!item.cancelado ? \"Cancelado\"\n : !item.data_entrada ? \"Em Aberto\"\n : !!item.autorizado_by && (\n <>\n Aprodado\n \n Aprovado por: {item.autorizado_by.name}\n {!!item.observacao && (\n <>\n
    \n
    \n Observação: {item.observacao}\n )}\n
    \n \n )}\n {!!item.data_entrada && - {moment(item.data_entrada).format('DD/MM/YYYY HH:mm')}}\n
    \n
    \n
    \n ))}\n\n \n \n \n \n \n \n \n \n\n
    \n
    \n
    \n \n );\n }\n\n renderContent() {\n const { data, length, total_pages, filter, loading } = this.state;\n\n if (loading) return ;\n\n if (length === undefined || length === 0) {\n return (\n \n

    Nenhum visitante encontrado!

    \n
    \n )\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n {data.map(item => {\n return (\n \n \n \n \n \n \n )\n })}\n \n
    NOMECPFTELEFONEAÇÃO
    {item.nome}{item.cpf}{item.telefone}\n
    \n \n {!!item.aprovar && (\n \n )}\n
    \n
    \n\n {filter._page < total_pages && (\n \n )}\n\n
    \n )\n }\n\n render() {\n const { filter, total_data, loadingFull } = this.state;\n const user = JSON.parse(window.localStorage.getItem(Config._USER));\n\n return (\n <>\n {this.modalHistorico()}\n\n {loadingFull && (\n
    \n \n
    \n )}\n\n \n \n {!!user && (\n \n NOVO\n \n )}\n \n \n }\n titulo={\"VISITANTES\"}\n subTitulo={\"Módulo de Gestão para Visitantes\"}\n />\n\n \n \n \n \n \n

    Visitantes ({total_data ? total_data : 0})

    \n \n \n \n \n {\n this.setState({ filter: { ...filter, nome_like: value.target.value.toUpperCase() } })\n }}\n value={'nome_like' in filter ? filter.nome_like : ''}\n autoComplete=\"off\"\n />\n \n \n \n \n {\n this.setState({ filter: { ...filter, cpf_like: cpfMask(value.target.value) } })\n }}\n value={'cpf_like' in filter ? filter.cpf_like : ''}\n autoComplete=\"off\"\n />\n \n \n \n \n
    \n {this.renderContent()}\n
    \n \n
    \n
    \n \n );\n }\n\n}\n\nexport default withSnackbar(Visitantes);\n","import { Component } from 'react';\nimport { Col, FormGroup, Input, Row } from 'reactstrap';\nimport cpfMask from 'utils/cpfMask';\nimport phoneMask from 'utils/phoneMask';\n\nexport default class FormFields extends Component {\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange({ nome: value.target.value.toUpperCase() })}\n value={state.nome}\n />\n \n \n \n \n \n handleChange({ cpf: cpfMask(value.target.value) })}\n value={state.cpf}\n />\n \n \n \n \n \n handleChange({ telefone: phoneMask(value.target.value) })}\n value={state.telefone}\n />\n \n \n \n \n \n handleChange({ observacao: value.target.value.toUpperCase() })}\n value={state.observacao}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport { isValidCPF } from \"utils/Validations\";\nimport { req } from \"utils/req\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/visitantes';\nconst ROUTE_API = '/api/visitantes';\n\nclass VisitanteCrud extends React.Component {\n state = {}\n\n async componentDidMount() {\n const { id } =this.props.match.params;\n id && await this.findBy(id);\n }\n\n findBy = async (id) => {\n this.setState({ loading: true })\n\n await fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({\n ...this.state,\n ...response,\n });\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n create = async id => {\n let temp = this.state;\n this.setState({ loading: true });\n\n if (!temp.nome || (temp.nome.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha o Nome Completo\");\n return;\n }\n\n if(!isValidCPF(this.state.cpf)) {\n this.props.enqueueSnackbar(\"O campo CPF invalido!\");\n return;\n }\n\n if (!temp.telefone || (temp.telefone.trim() === \"\")) {\n this.props.enqueueSnackbar(\"Preencha o Telefone\");\n return;\n }\n\n const response = await req(ROUTE_API, temp, id);\n\n if(!!response) {\n this.props.enqueueSnackbar(id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\")\n this.setState({ loading: false });\n this.props.history.push(HISTORY_BACK);\n }\n else {\n this.setState({ loading: false });\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro, tente novamente mais tarde.\");\n }\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR VISITANTES\" : \"NOVO VISITANTES\"}\n subTitulo={\"Gerenciamento dos Visitantes\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Visitante\" : \"Cadastrar Novo Visitante\"}\n

    \n \n
    \n
    \n \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(VisitanteCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\n\n// reactstrap components\nimport { CardHeader, Button, Table, Container, Row, Card } from \"reactstrap\";\nimport Config from \"Config\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css';\n\nclass Zonas extends React.Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll()\n }\n\n findAll = () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + '/api/controle-acesso/zona')\n .then(response => response.json())\n .then(response => {\n this.setState({\n data: response.data,\n loading: false,\n })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n handleRemove = (id) => {\n\n confirmAlert({\n title: 'Deseja Deletar o cadastro?',\n message: '',\n buttons: [\n { label: 'Não' },\n {\n label: 'Sim', onClick: () => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `/api/controle-acesso/zona/${id}`,\n {\n method: 'DELETE',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n }\n },\n )\n .then(response => response.json())\n .then(data => {\n if (data) {\n const dataUpdated = this.state.data.filter(row => row.id !== id);\n this.setState({ data: dataUpdated });\n }\n\n this.props.enqueueSnackbar(data ? \"Deletado com sucesso!\" : 'Ops, ocorreu um erro!')\n this.setState({ loading: false })\n })\n .catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n\n }\n }\n ]\n })\n\n }\n\n renderContent() {\n if (this.state.loading) {\n return \n }\n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem Zonas cadastrados

    \n
    \n );\n }\n\n return (\n
    \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n return (\n \n \n \n \n )\n })}\n \n
    NOMEAÇÃO
    {single.nome ? single.nome : '-'}\n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"Zonas\"} subTitulo={\"Módulo de Gestão para Zonas\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total de Zonas ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Zonas);\n","import React, { Component } from 'react';\nimport { Col, FormGroup, Row, Input } from 'reactstrap';\n\nexport default class FormFields extends Component {\n\n render() {\n const { state, handleChange } = this.props;\n\n return (\n <>\n
    \n \n \n \n \n handleChange({ nome: value.target.value.toUpperCase() })}\n value={state.nome}\n />\n \n \n \n
    \n \n );\n }\n}\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React from \"react\";\nimport { Card, CardHeader, CardBody, Form, Container, Row, Col } from \"reactstrap\";\nimport Config from \"Config\";\nimport { withSnackbar } from \"notistack\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport FormFields from \"./Form/FormFields\";\nimport FormButtonAction from \"views/components/FormButtonAction\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nconst HISTORY_BACK = '/admin/controle-acesso/zonas';\nconst ROUTE_API = '/api/controle-acesso/zona';\n\nclass ZonaCrud extends React.Component {\n state = {\n nome: ''\n }\n\n componentDidMount() {\n let user = JSON.parse(window.localStorage.getItem(Config._USER))\n if (!user) {\n window.localStorage.removeItem(Config._USER)\n this.props.history.replace('/auth')\n return;\n }\n\n if (this.props.match.params.id) {\n this.findBy(this.props.match.params.id)\n }\n\n this.setState({ session: user })\n }\n\n findBy = (id) => {\n this.setState({ loading: true })\n\n fetch(Config._HOST + `${ROUTE_API}/${id}`)\n .then(response => response.json())\n .then(response => {\n this.setState({ ...response })\n }).catch(e => {\n this.setState({ loading: false })\n })\n }\n\n\n create(id) {\n let temp = this.state;\n\n if (!this.state.nome || this.state.nome === 0) {\n this.props.enqueueSnackbar(\"Selecione um nome\")\n return;\n }\n\n this.setState({ loading: true });\n\n let data = JSON.stringify(temp);\n fetch(Config._HOST + ROUTE_API + '/' + (id ? id : ''),\n {\n body: data,\n method: id ? 'PUT' : 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n },\n )\n .then(response => response.json())\n .then(data => {\n this.setState({ loading: false });\n\n if (data.status === 400) {\n this.props.enqueueSnackbar(data.message)\n }\n else {\n this.props.enqueueSnackbar(data ? (id ? \"Atualizado com sucesso!\" : \"Cadastrado com sucesso!\") : \"Ops, ocorreu um erro!\")\n this.props.history.push(HISTORY_BACK)\n }\n }).catch(e => {\n this.setState({ loading: false })\n this.props.enqueueSnackbar(\"Ops! Ocorreu algum erro em nossa nuvem, tente novamente mais tarde.\")\n })\n }\n\n handleChange = (value) => {\n this.setState({ ...this.state, ...value });\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n VOLTAR\n \n \n
    \n \n }\n titulo={this.props.match.params.id ? \"EDITAR ZONA\" : \"NOVO ZONA\"}\n subTitulo={\"Gerenciamento dos Zona\"}\n />\n\n\n {/* Page content */}\n \n \n \n \n \n \n \n

    \n {this.props.match.params.id ? \"Atualizar Zona\" : \"Cadastrar Novo Zona\"}\n

    \n \n
    \n
    \n \n
    \n \n this.create(this.props.match.params.id)} cancel={HISTORY_BACK} history={this.props.history} isEdit={this.props.match.params.id} />\n \n
    \n
    \n \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(ZonaCrud);\n","/*!\n\n=========================================================\n* Argon Dashboard React - v1.1.0\n=========================================================\n\n* Product Page: https://www.creative-tim.com/product/argon-dashboard-react\n* Copyright 2019 Creative Tim (https://www.creative-tim.com)\n* Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md)\n\n* Coded by Creative Tim\n\n=========================================================\n\n* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n*/\nimport React, { Component } from \"react\";\n\n// reactstrap components\nimport { CardHeader, Table, Container, Row, Card } from \"reactstrap\";\nimport BoxLoading from \"react-loadingg/lib/BoxLoading\";\nimport HeaderButtonGroup from \"views/components/Headers/HeaderButtonGroup\";\nimport { ButtonGroup } from \"@material-ui/core\";\nimport { withSnackbar } from \"notistack\";\nimport api from \"services/api\";\nimport moment from \"moment\";\nimport ButtonControl from \"views/components/ButtonControl\";\n\nimport 'react-confirm-alert/src/react-confirm-alert.css';\n\nclass Inscricoes extends Component {\n state = {\n data: [],\n };\n\n componentDidMount() {\n this.findAll();\n }\n\n findAll = async () => {\n this.setState({ loading: true });\n const response = await api.get('/api/inscricoes?_limit=999&_order=desc&_sort=ativo');\n this.setState({ data: response.data, loading: false });\n }\n\n renderContent() {\n if (this.state.loading) return \n\n if (this.state.data.length === 0) {\n return (\n \n

    Não Existem inscrições cadastrados

    \n
    \n );\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n {this.state.data.map(single => {\n const incricaoIsStart = moment(moment(moment().format('YYYY-MM-DD'))).isSameOrAfter(single.data_inicio);\n const incricaoIsEnd = moment(moment(moment().format('YYYY-MM-DD'))).isAfter(single.data_fim);\n const isAtivo = single.ativo && ((!!single.data_inicio ? incricaoIsStart : true) && (!!single.data_fim ? !incricaoIsEnd : true)) ;\n\n return (\n \n \n \n \n \n \n )\n })}\n \n
    TÍTULOMENSALIDADESTATUSAÇÃO
    {single.titulo}{single.mensalidade ? 'Sim' : 'Não'}{isAtivo ? 'Ativo' : 'Inativo'}\n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n }\n\n render() {\n return (\n <>\n\n {/*
    */}\n \n
    \n \n \n NOVO\n \n \n
    \n \n }\n titulo={\"INSCRIÇÕES\"} subTitulo={\"Módulo de Gestão de inscrições\"}\n />\n\n {/* Page content */}\n \n \n
    \n \n \n

    Total ({this.state.data.length})

    \n
    \n\n {this.renderContent()}\n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withSnackbar(Inscricoes);\n","import Store from 'beedle';\nimport { get, post } from './requests';\n\nlet _saveUrl;\nlet _onPost;\nlet _onLoad;\n\nconst store = new Store({\n actions: {\n setData(context, data, saveData) {\n context.commit('setData', data);\n if (saveData) this.save(data);\n },\n\n load(context, { loadUrl, saveUrl, data, saveAlways }) {\n _saveUrl = saveUrl;\n const saveA = saveAlways || saveAlways === undefined;\n context.commit('setSaveAlways', saveA);\n if (_onLoad) {\n _onLoad().then(x => {\n if (data && data.length > 0 && x.length === 0) {\n data.forEach(y => x.push(y));\n }\n this.setData(context, x);\n });\n } else if (loadUrl) {\n get(loadUrl).then(x => {\n if (data && data.length > 0 && x.length === 0) {\n data.forEach(y => x.push(y));\n }\n this.setData(context, x);\n });\n } else {\n this.setData(context, data);\n }\n },\n\n create(context, element) {\n const { data, saveAlways } = context.state;\n data.push(element);\n this.setData(context, data, saveAlways);\n },\n\n delete(context, element) {\n const { data, saveAlways } = context.state;\n data.splice(data.indexOf(element), 1);\n this.setData(context, data, saveAlways);\n },\n\n post(context) {\n const { data } = context.state;\n this.setData(context, data, true);\n },\n\n updateOrder(context, elements) {\n const { saveAlways } = context.state;\n const newData = elements.filter(x => x && !x.parentId);\n elements.filter(x => x && x.parentId).forEach(x => newData.push(x));\n this.setData(context, newData, saveAlways);\n },\n\n save(data) {\n if (_onPost) {\n _onPost({ task_data: data });\n } else if (_saveUrl) {\n post(_saveUrl, { task_data: data });\n }\n },\n },\n\n mutations: {\n setData(state, payload) {\n // eslint-disable-next-line no-param-reassign\n state.data = payload;\n return state;\n },\n setSaveAlways(state, payload) {\n // eslint-disable-next-line no-param-reassign\n state.saveAlways = payload;\n return state;\n },\n },\n\n initialState: {\n data: [],\n saveAlways: true,\n },\n});\n\nstore.setExternalHandler = (onLoad, onPost) => {\n _onLoad = onLoad;\n _onPost = onPost;\n};\n\nexport default store;\n","import React from 'react';\n\nconst FormElementsEditor = (props) => {\n const [\n dynamic,\n setDynamic,\n ] = React.useState(null);\n\n React.useEffect(() => {\n const loadDynamic = async () => {\n const x = await import('./form-elements-edit');\n setDynamic(() => x.default);\n };\n loadDynamic();\n }, []);\n\n if (!dynamic) {\n return (
    Loading...
    );\n }\n const Component = dynamic;\n return ;\n};\n\nexport default FormElementsEditor;\n","/* eslint-disable import/no-anonymous-default-export */\nexport default { CARD: 'card', BOX: 'box' };\n","/* eslint-disable import/no-anonymous-default-export */\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { findDOMNode } from 'react-dom';\nimport { DragSource, DropTarget } from 'react-dnd';\nimport ItemTypes from './ItemTypes';\n\nconst style = {\n border: '1px dashed gray',\n padding: '0.5rem 1rem',\n marginBottom: '.5rem',\n backgroundColor: 'white',\n cursor: 'pointer',\n};\n\nconst cardSource = {\n beginDrag(props) {\n return {\n itemType: ItemTypes.CARD,\n id: props.id,\n index: props.index,\n };\n },\n};\n\nconst cardTarget = {\n drop(\n props,\n monitor,\n component,\n ) {\n if (!component) {\n return;\n }\n\n const item = monitor.getItem();\n const hoverIndex = props.index;\n const dragIndex = item.index;\n\n if ((props.data && props.data.isContainer) || item.itemType === ItemTypes.CARD) {\n // console.log('cardTarget - Drop', item.itemType);\n return;\n }\n if (item.data && typeof item.setAsChild === 'function') {\n // console.log('BOX', item);\n if (dragIndex === -1) {\n props.insertCard(item, hoverIndex, item.id);\n }\n }\n },\n hover(props, monitor, component) {\n const item = monitor.getItem();\n\n if (item.itemType === ItemTypes.BOX && item.index === -1) return;\n\n // Don't replace multi-column component unless both drag & hover are multi-column\n if (props.data?.isContainer && !item.data?.isContainer) return;\n\n const dragIndex = item.index;\n const hoverIndex = props.index;\n\n // Don't replace items with themselves\n if (dragIndex === hoverIndex) {\n return;\n }\n\n if (dragIndex === -1) {\n if (props.data && props.data.isContainer) {\n return;\n }\n // console.log('CARD', item);\n item.index = hoverIndex;\n props.insertCard(item.onCreate(item.data), hoverIndex);\n }\n\n // Determine rectangle on screen\n const hoverBoundingRect = findDOMNode(component).getBoundingClientRect();\n\n // Get vertical middle\n const hoverMiddleY = (hoverBoundingRect.bottom - hoverBoundingRect.top) / 2;\n\n // Determine mouse position\n const clientOffset = monitor.getClientOffset();\n\n // Get pixels to the top\n const hoverClientY = clientOffset.y - hoverBoundingRect.top;\n\n // Only perform the move when the mouse has crossed half of the items height\n // When dragging downwards, only move when the cursor is below 50%\n // When dragging upwards, only move when the cursor is above 50%\n\n // Dragging downwards\n if (dragIndex < hoverIndex && hoverClientY < hoverMiddleY) {\n return;\n }\n\n // Dragging upwards\n if (dragIndex > hoverIndex && hoverClientY > hoverMiddleY) {\n return;\n }\n\n // Time to actually perform the action\n props.moveCard(dragIndex, hoverIndex);\n\n // Note: we're mutating the monitor item here!\n // Generally it's better to avoid mutations,\n // but it's good here for the sake of performance\n // to avoid expensive index searches.\n\n // if (item.itemType == ItemTypes.BOX) item.cardIndex = hoverIndex;\n // else\n item.index = hoverIndex;\n },\n};\n\n// eslint-disable-next-line no-unused-vars\nexport default function (ComposedComponent) {\n class Card extends Component {\n static propTypes = {\n connectDragSource: PropTypes.func,\n connectDragPreview: PropTypes.func,\n connectDropTarget: PropTypes.func,\n index: PropTypes.number.isRequired,\n isDragging: PropTypes.bool,\n id: PropTypes.any.isRequired,\n // text: PropTypes.string.isRequired,\n moveCard: PropTypes.func.isRequired,\n seq: PropTypes.number,\n }\n\n static defaultProps = {\n seq: -1,\n };\n\n render() {\n const {\n isDragging,\n // connectDragSource,\n connectDragPreview,\n connectDropTarget,\n } = this.props;\n const opacity = isDragging ? 0 : 1;\n\n return connectDragPreview(\n connectDropTarget(
    ),\n );\n }\n }\n\n const x = DropTarget([ItemTypes.CARD, ItemTypes.BOX], cardTarget, connect => ({\n connectDropTarget: connect.dropTarget(),\n }))(Card);\n return DragSource(ItemTypes.CARD, cardSource, (connect, monitor) => ({\n connectDragSource: connect.dragSource(),\n connectDragPreview: connect.dragPreview(),\n isDragging: monitor.isDragging(),\n }))(x);\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { injectIntl } from 'react-intl';\n\nconst PLACE_HOLDER = 'form-place-holder';\nconst PLACE_HOLDER_HIDDEN = 'form-place-holder-hidden';\n\nclass PlaceHolder extends React.Component {\n render() {\n const { intl } = this.props;\n const placeHolderClass = this.props.show ? PLACE_HOLDER : PLACE_HOLDER_HIDDEN;\n // eslint-disable-next-line no-nested-ternary\n const placeHolder = this.props.show ?\n (this.props.text === 'Dropzone' ? intl.formatMessage({ id: 'drop-zone' }) : this.props.text) : '';\n\n return (\n
    \n
    {placeHolder}
    \n
    \n );\n }\n}\n\nexport default injectIntl(PlaceHolder);\nPlaceHolder.propTypes = {\n text: PropTypes.string,\n show: PropTypes.bool,\n};\n\nPlaceHolder.defaultProps = {\n text: 'Dropzone',\n show: false,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport ReactDOM from 'react-dom';\nimport cx from 'classnames';\n\n/**\n * @fileoverview react-star-rating\n * @author @cameronjroe\n * \n */\n\nexport default class StarRating extends React.Component {\n constructor(props) {\n super(props);\n\n this.min = 0;\n this.max = props.ratingAmount || 5;\n\n const ratingVal = props.rating;\n const ratingCache = {\n pos: ratingVal ? this.getStarRatingPosition(ratingVal) : 0,\n rating: props.rating,\n };\n\n this.state = {\n ratingCache,\n editing: props.editing || !props.rating,\n stars: 5,\n rating: ratingCache.rating,\n pos: ratingCache.pos,\n glyph: this.getStars(),\n };\n }\n\n /**\n * Gets the stars based on ratingAmount\n * @return {string} stars\n */\n getStars() {\n let stars = '';\n const numRating = this.props.ratingAmount;\n for (let i = 0; i < numRating; i++) {\n stars += '\\u2605';\n }\n return stars;\n }\n\n // componentWillMount() {\n // this.min = 0;\n // this.max = this.props.ratingAmount || 5;\n // if (this.props.rating) {\n // this.state.editing = this.props.editing || false;\n // const ratingVal = this.props.rating;\n // this.state.ratingCache.pos = this.getStarRatingPosition(ratingVal);\n // this.state.ratingCache.rating = ratingVal;\n\n // this.setState({\n // ratingCache: this.state.ratingCache,\n // rating: ratingVal,\n // pos: this.getStarRatingPosition(ratingVal),\n // });\n // }\n // }\n\n componentDidMount() {\n this.root = ReactDOM.findDOMNode(this.rootNode);\n this.ratingContainer = ReactDOM.findDOMNode(this.node);\n }\n\n componentWillUnmount() {\n delete this.root;\n delete this.ratingContainer;\n }\n\n getPosition(e) {\n return e.pageX - this.root.getBoundingClientRect().left;\n }\n\n applyPrecision(val, precision) {\n return parseFloat(val.toFixed(precision));\n }\n\n getDecimalPlaces(num) {\n const match = (`${num}`).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n return !match ? 0 : Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? +match[2] : 0));\n }\n\n getWidthFromValue(val) {\n const min = this.min;\n const max = this.max;\n\n if (val <= min || min === max) {\n return 0;\n }\n if (val >= max) {\n return 100;\n }\n return (val / (max - min)) * 100;\n }\n\n getValueFromPosition(pos) {\n const precision = this.getDecimalPlaces(this.props.step);\n const maxWidth = this.ratingContainer.offsetWidth;\n const diff = this.max - this.min;\n let factor = (diff * pos) / (maxWidth * this.props.step);\n factor = Math.ceil(factor);\n let val = this.applyPrecision(parseFloat(this.min + factor * this.props.step), precision);\n val = Math.max(Math.min(val, this.max), this.min);\n return val;\n }\n\n calculate(pos) {\n const val = this.getValueFromPosition(pos);\n let width = this.getWidthFromValue(val);\n\n width += '%';\n return { width, val };\n }\n\n getStarRatingPosition(val) {\n const width = `${this.getWidthFromValue(val)}%`;\n return width;\n }\n\n getRatingEvent(e) {\n const pos = this.getPosition(e);\n return this.calculate(pos);\n }\n\n getSvg() {\n return (\n \n \n \n \n \n );\n }\n\n handleMouseLeave() {\n this.setState({\n pos: this.state.ratingCache.pos,\n rating: this.state.ratingCache.rating,\n });\n }\n\n handleMouseMove(e) {\n // get hover position\n const ratingEvent = this.getRatingEvent(e);\n this.updateRating(\n ratingEvent.width,\n ratingEvent.val,\n );\n }\n\n updateRating(width, val) {\n this.setState({\n pos: width,\n rating: val,\n });\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n if (nextProps !== this.props) {\n this.updateRating(\n this.getStarRatingPosition(nextProps.rating),\n nextProps.rating,\n );\n return true;\n }\n return nextState.ratingCache.rating !== this.state.ratingCache.rating || nextState.rating !== this.state.rating;\n }\n\n handleClick(e) {\n // is it disabled?\n if (this.props.disabled) {\n e.stopPropagation();\n e.preventDefault();\n return false;\n }\n\n const ratingCache = {\n pos: this.state.pos,\n rating: this.state.rating,\n caption: this.props.caption,\n name: this.props.name,\n };\n\n this.setState({\n ratingCache,\n });\n\n this.props.onRatingClick(e, ratingCache);\n return true;\n }\n\n treatName(title) {\n if (typeof title === 'string') {\n return title.toLowerCase().split(' ').join('_');\n }\n return null;\n }\n\n render() {\n // let caption = null;\n const classes = cx({\n 'react-star-rating__root': true,\n 'rating-disabled': this.props.disabled,\n [`react-star-rating__size--${this.props.size}`]: this.props.size,\n 'rating-editing': this.state.editing,\n });\n\n // is there a caption?\n // if (this.props.caption) {\n // caption = ({this.props.caption});\n // }\n\n // are we editing this rating?\n let starRating;\n if (this.state.editing) {\n starRating = (\n
    this.node = c}\n className=\"rating-container rating-gly-star\"\n data-content={this.state.glyph}\n onMouseMove={this.handleMouseMove.bind(this)}\n onMouseLeave={this.handleMouseLeave.bind(this)}\n onClick={this.handleClick.bind(this)}>\n
    \n
    \n );\n } else {\n starRating = (\n
    this.node = c} className=\"rating-container rating-gly-star\" data-content={this.state.glyph}>\n
    \n
    \n );\n }\n\n return (\n \n this.rootNode = c} style={{ cursor: 'pointer' }} className={classes}>\n {starRating}\n \n \n \n );\n }\n}\n\nStarRating.propTypes = {\n name: PropTypes.string.isRequired,\n caption: PropTypes.string,\n ratingAmount: PropTypes.number.isRequired,\n rating: PropTypes.number,\n onRatingClick: PropTypes.func,\n disabled: PropTypes.bool,\n editing: PropTypes.bool,\n size: PropTypes.string,\n};\n\nStarRating.defaultProps = {\n step: 0.5,\n ratingAmount: 5,\n onRatingClick() {},\n disabled: false,\n};\n","import React, { PureComponent } from 'react';\nimport { DragSource } from 'react-dnd';\nimport { getEmptyImage } from 'react-dnd-html5-backend';\nimport ItemTypes from '../ItemTypes';\n\nconst style = {\n // display: 'inline-block',\n // border: '1px dashed gray',\n // padding: '0.5rem 1rem',\n // backgroundColor: 'white',\n cursor: 'move',\n};\n\nconst dragHandleSource = {\n beginDrag(props) {\n const {\n data, index, onDestroy, setAsChild, getDataById,\n } = props;\n return {\n itemType: ItemTypes.BOX,\n index: data.parentId ? -1 : index,\n parentIndex: data.parentIndex,\n id: data.id,\n col: data.col,\n onDestroy,\n setAsChild,\n getDataById,\n data,\n };\n },\n};\n\nclass DragHandle extends PureComponent {\n componentDidMount() {\n const { connectDragPreview } = this.props;\n if (connectDragPreview) {\n // Use empty image as a drag preview so browsers don't draw it\n // and we can draw whatever we want on the custom drag layer instead.\n connectDragPreview(getEmptyImage(), {\n // IE fallback: specify that we'd rather screenshot the node\n // when it already knows it's being dragged so we can hide it with CSS.\n captureDraggingState: true,\n });\n }\n }\n\n render() {\n const { connectDragSource } = this.props;\n return connectDragSource(
    );\n }\n}\n\nexport default DragSource(\n ItemTypes.BOX,\n dragHandleSource,\n (connect, monitor) => ({\n connectDragSource: connect.dragSource(),\n connectDragPreview: connect.dragPreview(),\n isDragging: monitor.isDragging(),\n }),\n)(DragHandle);\n","/**\n * \n */\n\nimport React from 'react';\n// import Grip from '../multi-column/grip';\nimport DragHandle from './component-drag-handle';\n\nexport default class HeaderBar extends React.Component {\n render() {\n return (\n
    \n {this.props.data.text}\n
    \n {this.props.data.element !== 'LineBreak' &&\n
    \n }\n
    \n {/* {!this.props.data.isContainer &&\n \n } */}\n\n \n
    \n
    \n );\n }\n}\n","import React from 'react';\nimport HeaderBar from './header-bar';\n\nconst ComponentHeader = (props) => {\n if (props.mutable) {\n return null;\n }\n return (\n
    \n {props.data.pageBreakBefore &&\n
    Page Break
    \n }\n \n
    \n );\n};\n\nexport default ComponentHeader;\n","import xss from 'xss';\n\nconst myxss = new xss.FilterXSS({\n whiteList: {\n a: ['href', 'title', 'target'],\n u: [],\n br: [],\n b: [],\n i: [],\n ol: ['style'],\n ul: ['style'],\n li: [],\n p: ['style'],\n sub: [],\n sup: [],\n div: ['style'],\n em: [],\n strong: [],\n span: ['style'],\n ins: [],\n },\n});\n\nexport default myxss;\n","import React from 'react';\nimport myxss from './myxss';\n\nconst ComponentLabel = (props) => {\n const hasRequiredLabel = (props.data.hasOwnProperty('required') && props.data.required === true && !props.read_only);\n const labelText = myxss.process(props.data.label);\n return (\n \n );\n};\n\nexport default ComponentLabel;\n","import React from 'react';\nimport { format, parse } from 'date-fns';\nimport ReactDatePicker, { registerLocale } from 'react-datepicker';\nimport MaskedTextInput from \"react-text-mask\";\nimport ComponentHeader from './component-header';\nimport ComponentLabel from './component-label';\nimport ptBR from 'date-fns/locale/pt-BR';\nregisterLocale('pt-BR', ptBR)\n\nclass DatePicker extends React.Component {\n constructor(props) {\n super(props);\n this.inputField = React.createRef();\n\n const { formatMask } = DatePicker.updateFormat(props, null);\n this.state = DatePicker.updateDateTime(props, { formatMask }, formatMask);\n }\n\n // formatMask = '';\n\n handleChange = (dt, event) => {\n let placeholder;\n const { formatMask } = this.state;\n\n if (dt && dt.target) {\n placeholder = (dt && dt.target && dt.target.value === '') ? formatMask.toLowerCase() : '';\n const formattedDate = (dt.target.value) ? format(dt.target.value, formatMask) : '';\n this.setState({\n value: formattedDate,\n internalValue: formattedDate,\n placeholder,\n });\n }\n else {\n console.log(dt)\n this.setState({\n value: (dt) ? format(dt, formatMask) : '',\n internalValue: dt,\n placeholder,\n });\n }\n };\n\n static updateFormat(props, oldFormatMask) {\n const { showTimeSelect, showTimeSelectOnly, showTimeInput } = props.data;\n const dateFormat = showTimeSelect && showTimeSelectOnly ? '' : props.data.dateFormat;\n const timeFormat = (showTimeSelect || showTimeInput) ? props.data.timeFormat : '';\n const formatMask = (`${dateFormat} ${timeFormat}`).trim();\n const updated = formatMask !== oldFormatMask;\n\n return { updated, formatMask };\n }\n\n static updateDateTime(props, state, formatMask) {\n let value;\n let internalValue;\n const { defaultToday } = props.data;\n\n if (defaultToday && (props.defaultValue === '' || props.defaultValue === undefined)) {\n value = format(new Date(), formatMask);\n internalValue = new Date();\n }\n else {\n value = props.defaultValue;\n\n if (value === '' || value === undefined) {\n internalValue = undefined;\n } else {\n internalValue = parse(value, state.formatMask, new Date());\n }\n }\n\n return {\n value,\n internalValue,\n placeholder: formatMask.toLowerCase(),\n defaultToday,\n formatMask: state.formatMask,\n };\n }\n\n // componentWillReceiveProps(props) {\n // const formatUpdated = this.updateFormat(props);\n // if ((props.data.defaultToday !== !this.state.defaultToday) || formatUpdated) {\n // const state = this.updateDateTime(props, this.formatMask);\n // this.setState(state);\n // }\n // }\n\n static getDerivedStateFromProps(props, state) {\n const { updated, formatMask } = DatePicker.updateFormat(props, state.formatMask);\n if ((props.data.defaultToday !== state.defaultToday) || updated) {\n const newState = DatePicker.updateDateTime(props, state, formatMask);\n return newState;\n }\n return null;\n }\n\n render() {\n const { showTimeSelect, showTimeSelectOnly, showTimeInput } = this.props.data;\n const props = {};\n props.type = 'date';\n props.className = 'form-control';\n props.name = this.props.data.field_name;\n const readOnly = this.props.data.readOnly || this.props.read_only;\n // const iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\n const placeholderText = this.state.formatMask.toLowerCase();\n\n if (this.props.mutable) {\n props.defaultValue = this.props.defaultValue;\n props.ref = this.inputField;\n }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n
    \n \n
    \n {readOnly && (\n \n )}\n\n {/* {iOS && !readOnly && (\n \n )} */}\n\n {!readOnly && (\n \n }\n />\n )}\n
    \n
    \n
    \n );\n }\n}\n\nexport default DatePicker;\n","/* eslint-disable jsx-a11y/alt-text */\n// eslint-disable-next-line max-classes-per-file\nimport fetch from 'isomorphic-fetch';\nimport { saveAs } from 'file-saver';\nimport React from 'react';\nimport Select from 'react-select';\nimport SignaturePad from 'react-signature-canvas';\nimport ReactBootstrapSlider from 'react-bootstrap-slider';\n\nimport StarRating from './star-rating';\nimport DatePicker from './date-picker';\nimport ComponentHeader from './component-header';\nimport ComponentLabel from './component-label';\nimport myxss from './myxss';\nimport phoneMask from 'utils/phoneMask';\n\nconst FormElements = {};\n\nclass Header extends React.Component {\n render() {\n // const headerClasses = `dynamic-input ${this.props.data.element}-input`;\n let classNames = 'static';\n if (this.props.data.bold) { classNames += ' bold'; }\n if (this.props.data.italic) { classNames += ' italic'; }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n

    \n

    \n );\n }\n}\n\nclass Paragraph extends React.Component {\n render() {\n let classNames = 'static';\n if (this.props.data.bold) { classNames += ' bold'; }\n if (this.props.data.italic) { classNames += ' italic'; }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n

    \n

    \n );\n }\n}\n\nclass Label extends React.Component {\n render() {\n let classNames = 'static';\n if (this.props.data.bold) { classNames += ' bold'; }\n if (this.props.data.italic) { classNames += ' italic'; }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n
    \n );\n }\n}\n\nclass LineBreak extends React.Component {\n render() {\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n
    \n
    \n );\n }\n}\n\nclass TextInput extends React.Component {\n constructor(props) {\n super(props);\n this.inputField = React.createRef();\n }\n\n render() {\n const props = {};\n props.type = 'text';\n props.className = 'form-control';\n props.name = this.props.data.field_name;\n if (this.props.mutable) {\n props.defaultValue = this.props.defaultValue;\n props.ref = this.inputField;\n }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n if (this.props.read_only) {\n props.disabled = 'disabled';\n }\n\n return (\n
    \n \n
    \n \n \n
    \n
    \n );\n }\n}\n\nclass EmailInput extends React.Component {\n constructor(props) {\n super(props);\n this.inputField = React.createRef();\n }\n\n render() {\n const props = {};\n props.type = 'text';\n props.className = 'form-control';\n props.name = this.props.data.field_name;\n if (this.props.mutable) {\n props.defaultValue = this.props.defaultValue;\n props.ref = this.inputField;\n }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n if (this.props.read_only) {\n props.disabled = 'disabled';\n }\n\n return (\n
    \n \n
    \n \n \n
    \n
    \n );\n }\n}\n\nclass PhoneNumber extends React.Component {\n constructor(props) {\n super(props);\n this.inputField = React.createRef();\n\n this.state = {\n phone: ''\n }\n }\n\n render() {\n const props = {};\n props.type = 'tel';\n props.className = 'form-control';\n props.name = this.props.data.field_name;\n if (this.props.mutable) {\n props.defaultValue = this.props.defaultValue;\n props.ref = this.inputField;\n }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n if (this.props.read_only) {\n props.disabled = 'disabled';\n }\n\n return (\n
    \n \n
    \n \n this.setState({ phone: phoneMask(e.target.value) }) } />\n
    \n
    \n );\n }\n}\n\nclass NumberInput extends React.Component {\n constructor(props) {\n super(props);\n this.inputField = React.createRef();\n }\n\n render() {\n const props = {};\n props.type = 'number';\n props.className = 'form-control';\n props.name = this.props.data.field_name;\n\n if (this.props.mutable) {\n props.defaultValue = this.props.defaultValue;\n props.ref = this.inputField;\n }\n\n if (this.props.read_only) {\n props.disabled = 'disabled';\n }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n
    \n \n \n
    \n
    \n );\n }\n}\n\nclass TextArea extends React.Component {\n constructor(props) {\n super(props);\n this.inputField = React.createRef();\n }\n\n render() {\n const props = {};\n props.className = 'form-control';\n props.name = this.props.data.field_name;\n\n if (this.props.read_only) {\n props.disabled = 'disabled';\n }\n\n if (this.props.mutable) {\n props.defaultValue = this.props.defaultValue;\n props.ref = this.inputField;\n }\n\n let baseClasses = 'SortableItem rfb-item';\n if (this.props.data.pageBreakBefore) { baseClasses += ' alwaysbreak'; }\n\n return (\n
    \n \n
    \n \n