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yF,KAAKE,IAAaC,WAAkB,6CAA+CsK,GAMjGvE,OAAO1H,GAEL,OAAOjE,KAAKyF,KAAKkG,OAAc,GAAG/F,2BAAuC3B,mDAnEhEuL,GAAiBjQ,wCAAjBiQ,EAAiB7I,QAAjB6I,EAAiB,qBAFhB,SAEDA,GAAb","names":["i0","ctx_r2","oxw","PopoverListarInscricoesComponent","constructor","popoverController","ngOnInit","find","idInscricao","this","dismiss","selectors","ctx_r3","ctx_r5","HeaderGcComponent","storageService","functionsService","inscricaoService","dataSharingService","usuarioLogado","getUsuarioLogado","location","pathname","indexOf","showNotificacaoNovosDocsEnviados","getMostRecentUpdated","source","interval","subscription","subscribe","val","unsubscribe","tipoDocumentos","findByUltimosDocsInscricaoEnviados","next","resp","inscricoesRecentementeAtualizadas","error","console","log","findByUltimosDocsMatriculaEnviados","ngOnDestroy","hideSubmenu","event","idSubmenu","element","document","getElementById","style","visibility","showSubmenu","showingSubmenu","showHideSubmenu","goToPath","path","logoff","setUsuarioLogado","openPopoverListarInscricoes","popover","create","component","componentProps","inscricoes","translucent","showBackdrop","backdropDismiss","trigger","present","onDidDismiss","then","data","idInscricaoSelecionada","i","length","id","dataUltimaVisualizacaoDocumentacaoInscricao","Date","dataUltimaVisualizacaoDocumentacaoMatricula","update","TIPO_FORMA_INGRESSO","VESTIBULAR_ONLINE","VESTIBULAR_PRESENCIAL","ENEM","PORTADOR_DIPLOMA","TRANSFERENCIA","REINGRESSO_POS_ABANDONO","CURSO_EXTENSAO","POS_GRADUACAO","TIPO_PAGAMENTO","BOLETO","CREDITO_VISTA","CREDITO_PARCELADO_SEM_JUROS","CREDITO_PARCELADO_COM_JUROS","DEBITO","RECORRENCIA","PIX_QRCODE","CHECKOUT_GETNET","ProvaService","http","findAll","get","API_CONFIG","isOutOfDate","prova","antecedenciaMinimaAgendamento","dataMaximaAgendamento","dataInicio","setDate","getDate","setHours","getTime","getMaxDataAgendamento","antecedenciaMinimaAgendamentoProva","maxDataParaAgendamentoProva","countInscritos","idProva","factory","ctx_r14","ctx_r17","local","ctx_r96","ctx_r99","icons","quill","import","routes","permissaoAcessoService","vestibularService","provaService","formaIngressoService","arquivoService","tipoPagamentoService","router","PERIODO_INSCRICAO","PERIODO_ABERTO","bold","italic","underline","strike","checkAccessControl","canCreateAndEdit","window","href","canCreateEdit","canRemove","ionViewWillEnter","vestibulares","findByFilter","resetArray","presentLoading","page","infiniteScroll","disabled","countByFilter","filtro","statusPeriodoInscricao","mensagem","size","vestibular","j","formasIngresso","tipo","p","provas","totalVagas","setCountInscritos","push","dismissLoading","showErrorAlert","formaIngresso","respCount","totalInscricoes","countInscritosComProvaAgendada","errorCount","totalInscricoesComProvaAgendada","getInscritosVestibular","qtd","open","arquivo","newWindow","publicURL","getFilePublicURL","nome","fullPath","fileName","getTipoFormaIngresso","getNomeFormaIngressoFormatado","getNomeFormatado","getNomeTipoPagamento","getName","loadMoreData","activeElement","blur","setTimeout","target","complete","delete","showConfirmAlert","codigoEdital","showAlert","edit","navigate","queryParams","getCursosSemRepeticao","cursosMap","Map","vestibularCurso","vestibularCursos","cursoId","curso","has","set","unidade","Array","from","values","GcListarVestibularesPage","IonInfiniteScroll","ctx","GcListarVestibularesPageRoutingModule","RouterModule","GcListarVestibularesPageModule","CommonModule","FormsModule","IonicModule","ComponentsModule","QuillModule","DataSharingService","BehaviorSubject","FormaIngressoService","getTiposFormaIngresso","arrTiposFormaIngresso","enem","TipoFormaIngressoDTO","descricao","temEntregaDocumentacao","temLocal","temProva","podeEscolherDataProva","vestibularOnline","vestibularPresencial","portadorDiploma","transferencia","reingresso","cursoExtensao","posGraduacao","idFormaIngresso","validadeSubscpriptionPeriod","idsFormaIngresso","getUltimaProva","ultimaProva","ProvaDTO","sortArrayProvas","sort","a","b","TipoPagamentoService","VestibularService","insert","vestibularDTO","post","observe","put","filtroTexto","pageSize","findByCurso","idCurso","idVestibular"],"sources":["./src/app/components/header-gc/components/popover-listar-inscricoes/popover-listar-inscricoes.component.html","./src/app/components/header-gc/components/popover-listar-inscricoes/popover-listar-inscricoes.component.ts","./src/app/components/header-gc/header-gc.component.html","./src/app/components/header-gc/header-gc.component.ts","./src/app/config/tipo-forma-ingresso.config.ts","./src/app/config/tipo-pagamento.config.ts","./src/app/models/vestibular/provaDTO.ts","./src/app/models/vestibular/tipoFormaIngressoDTO.ts","./src/app/services/prova/prova.service.ts","./src/app/pages/modulo-gc/vestibular/gc-listar-vestibulares/gc-listar-vestibulares.page.html","./src/app/pages/modulo-gc/vestibular/gc-listar-vestibulares/gc-listar-vestibulares.page.ts","./src/app/pages/modulo-gc/vestibular/gc-listar-vestibulares/gc-listar-vestibulares-routing.module.ts","./src/app/pages/modulo-gc/vestibular/gc-listar-vestibulares/gc-listar-vestibulares.module.ts","./src/app/services/common/data-sharing.service.ts","./src/app/services/forma-ingresso/forma-ingresso.service.ts","./src/app/services/tipo-pagamento/tipo-pagamento.service.ts","./src/app/services/vestibular/vestibular.service.ts"],"sourcesContent":["
\n\n
\n \n {{inscricao.candidato.nome}} {{inscricao.candidato.sobrenome}}, inscrição {{inscricao.id}}, enviou nova documentação.\n \n
\n\n
","import { PopoverController } from '@ionic/angular';\nimport { InscricaoDTO } from '../../../../models/vestibular/inscricaoDTO';\nimport { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-popover-listar-inscricoes',\n templateUrl: './popover-listar-inscricoes.component.html',\n styleUrls: ['./popover-listar-inscricoes.component.scss'],\n})\nexport class PopoverListarInscricoesComponent implements OnInit {\n\n constructor( private popoverController: PopoverController ) { }\n\n inscricoes: InscricaoDTO[];\n\n ngOnInit() {}\n\n\n find(idInscricao: number){\n\n //fecha o popover e indica o id da inscrição para disparar o método find do componente header-gc\n this.popoverController.dismiss(idInscricao);\n }\n}\n"," \n\n \n \"logo\"\n\n \n\n 0\">\n {{inscricoesRecentementeAtualizadas.length}}\n \n \n\n \n \n \n \n \n \n \n \n \n\n\n \n \n\n \n\n \n\n\n\n\n\n","import { DataSharingService } from './../../services/common/data-sharing.service';\nimport { PopoverListarInscricoesComponent } from './components/popover-listar-inscricoes/popover-listar-inscricoes.component';\nimport { PopoverController } from '@ionic/angular';\nimport { InscricaoDTO } from '../../models/vestibular/inscricaoDTO';\nimport { InscricaoService } from './../../services/inscricao/inscricao.service';\nimport { UsuarioDTO } from '../../models/controle-acesso/usuarioDTO';\nimport { StorageService } from './../../services/storage/storage.service';\nimport { FunctionsService } from './../../services/common/functions.service';\nimport { Component, OnInit, ViewChild } from '@angular/core';\nimport { interval, Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-header-gc',\n templateUrl: './header-gc.component.html',\n styleUrls: ['./header-gc.component.scss'],\n})\nexport class HeaderGcComponent implements OnInit {\n\n \n\n showingSubmenu = '';\n menuGCItems = [];\n usuarioLogado: UsuarioDTO = null;\n\n showNotificacaoNovosDocsEnviados: boolean = false;\n inscricoesRecentementeAtualizadas: InscricaoDTO[] = [];\n\n subscription: Subscription;\n\n constructor( private storageService : StorageService\n , private functionsService: FunctionsService\n , private inscricaoService: InscricaoService\n , private popoverController: PopoverController\n , private dataSharingService: DataSharingService ) { \n\n this.usuarioLogado = this.storageService.getUsuarioLogado(); \n \n if(location.pathname.indexOf('modulo-gc/gc-analisar-documentacao-inscricao')>-1){\n this.showNotificacaoNovosDocsEnviados = true;\n \n this.getMostRecentUpdated('inscrição');\n\n //repetir a consulta de inscrições recentemente atualizadas a cada 60 segundos\n const source = interval(60000);\n this.subscription = source.subscribe(val => this.getMostRecentUpdated('inscrição'));\n\n }else if(location.pathname.indexOf('modulo-gc/gc-analisar-documentacao-matricula')>-1){\n \n this.showNotificacaoNovosDocsEnviados = true;\n this.getMostRecentUpdated('matrícula');\n\n //repetir a consulta de inscrições recentemente atualizadas a cada 60 segundos\n const source = interval(60000);\n this.subscription = source.subscribe(val => this.getMostRecentUpdated('matrícula'));\n }else {\n // Cancelar a execução de this.getMostRecentUpdated\n this.showNotificacaoNovosDocsEnviados = false;\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n }\n\n getMostRecentUpdated(tipoDocumentos: string){\n\n if(tipoDocumentos=='inscrição'){\n this.inscricaoService.findByUltimosDocsInscricaoEnviados().subscribe({\n next:(resp)=>{\n this.inscricoesRecentementeAtualizadas = resp;\n \n },\n error:(error)=>{\n console.log(error);\n }\n });\n \n }else if(tipoDocumentos == 'matrícula'){\n\n this.inscricaoService.findByUltimosDocsMatriculaEnviados().subscribe({\n next:(resp)=>{\n this.inscricoesRecentementeAtualizadas = resp;\n \n },\n error:(error)=>{\n console.log(error);\n }\n });\n\n }\n \n\n }\n\n ngOnInit() {\n \n }\n\n ngOnDestroy() {\n \n //mata a repetição das consultas de atualização da tela\n if(this.subscription){\n this.subscription.unsubscribe();\n }\n \n }\n\n /**\n * método disparado pelo evento mouseout \n */\n hideSubmenu(event, idSubmenu: string) { \n \n let element = document.getElementById(idSubmenu);\n //this.showingSubmenu = idSubmenu; \n if(element){\n element.style.visibility = 'hidden';\n }\n \n \n }\n\n /**\n * método disparado pelo evento mouseenter \n */\n showSubmenu(idSubmenu: string){\n \n this.showingSubmenu = idSubmenu;\n\n let element = document.getElementById(idSubmenu);\n \n if(element){\n element.style.visibility = 'visible';\n }\n \n\n }\n\n\n /*\n método usado para tablets, disparado através do click no menu, pois em tablet não tem cursor do mouse\n */\n showHideSubmenu(idSubmenu: string){\n \n this.showingSubmenu = idSubmenu;\n\n let element = document.getElementById(idSubmenu);\n \n if(element){\n\n if(element.style.visibility === 'visible'){\n element.style.visibility = 'hidden';\n }else{\n element.style.visibility = 'visible';\n }\n }\n \n }\n\n\n \n goToPath(path:string){\n\n if(path){\n this.functionsService.goToPath(path);\n }\n }\n \n\n logoff(){\n this.storageService.setUsuarioLogado(null);\n this.functionsService.goToPath('modulo-gc/gc-login');\n\n }\n\n\n async openPopoverListarInscricoes(event) {\n \n let tipoDocumentos = 'inscrição';\n if(location.pathname.indexOf('modulo-gc/gc-analisar-documentacao-matricula')>-1){\n tipoDocumentos = 'matrícula'\n }\n const popover = await this.popoverController.create({\n component: PopoverListarInscricoesComponent,\n componentProps: { 'inscricoes': this.inscricoesRecentementeAtualizadas\n , 'tipoDocumentos': tipoDocumentos},\n translucent: false,\n showBackdrop: true,\n backdropDismiss: true,\n event: event,\n trigger: event,\n //cssClass: 'popover-listar-inscricoes', //definido no global.css \n \n });\n\n await popover.present();\n \n //quando fechar o popover\n await popover.onDidDismiss().then((data)=>{\n\n //se tiver selecionado uma inscrição o campo data.data estará preenchido do contrário será null\n if(data && data.data){\n\n //informa ao serviço de notificação/compartilhamento de dados entre componentes o id da inscrição selecionada\n //este id será utilizado para preencher a tela de análise de docs com a inscrição selecionada\n this.dataSharingService.idInscricaoSelecionada.next( data.data ); \n\n //atualiza a inscrição selecionada para ela sair da lista\n for(var i=0; i{\n\n //atualizar o contador no ícone de notificações\n this.getMostRecentUpdated(tipoDocumentos);\n\n },\n error:(error)=>{\n console.log(error);\n }\n });\n\n }\n }\n \n }\n \n });\n \n }\n}\n","export const TIPO_FORMA_INGRESSO = {\r\n \r\n VESTIBULAR_ONLINE: \"VESTIBULAR_ONLINE\",\r\n\tVESTIBULAR_PRESENCIAL: \"VESTIBULAR_PRESENCIAL\",\r\n\tENEM: \"ENEM\",\r\n\tPORTADOR_DIPLOMA: \"PORTADOR_DIPLOMA\",\r\n\tTRANSFERENCIA: \"TRANSFERENCIA\",\r\n REINGRESSO_POS_ABANDONO: \"REINGRESSO_POS_ABANDONO\",\r\n\tCURSO_EXTENSAO: \"CURSO_EXTENSAO\",\r\n\tPOS_GRADUACAO: \"POS_GRADUACAO\"\r\n \r\n}","export const TIPO_PAGAMENTO = {\r\n \r\n BOLETO: \"BOLETO\",\r\n CREDITO_VISTA: \"CREDITO_VISTA\",\r\n CREDITO_PARCELADO_SEM_JUROS: \"CREDITO_PARCELADO_SEM_JUROS\",\r\n CREDITO_PARCELADO_COM_JUROS: \"CREDITO_PARCELADO_COM_JUROS\",\r\n DEBITO: \"DEBITO\",\r\n RECORRENCIA: \"RECORRENCIA\",\r\n PIX_QRCODE: \"PIX_QRCODE\",\r\n CHECKOUT_GETNET: \"CHECKOUT_GETNET\"\r\n}","export class ProvaDTO{\r\n\r\n id!: number;\r\n dataInicio!: Date;\r\n dataFim!:Date;\r\n horaInicio!: string;\r\n horaFim!: string;\r\n local!: string;\r\n totalVagas!: number;\r\n totalInscricoes!: number; //essa propriedade não é preenchida pela api\r\n idVestibular!: number;\r\n idFormaIngresso !: number;\r\n}","import { VestibularDTO } from './vestibularDTO';\r\nimport { FuncionarioDTO } from '../controle-acesso/funcionarioDTO';\r\nimport { CandidatoDTO } from './candidatoDTO';\r\n\r\nexport class TipoFormaIngressoDTO{\r\n\r\n codigo!: number;\r\n nome!: string;\r\n descricao!: string;\r\n temProva!: boolean;\r\n temEntregaDocumentacao!:boolean;\r\n temLocal!:boolean;\r\n podeEscolherDataProva!:boolean\r\n \r\n}","import { HttpClient } from '@angular/common/http';\nimport { ProvaDTO } from './../../models/vestibular/provaDTO';\nimport { Observable } from 'rxjs/internal/Observable';\nimport { API_CONFIG } from 'src/app/config/api.config';\nimport { FormaIngressoDTO } from './../../models/vestibular/formaIngressoDTO';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ProvaService {\n\n constructor(private http: HttpClient) { }\n\n findAll() : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/provas');\n\n }\n\n \n isOutOfDate(prova: ProvaDTO, antecedenciaMinimaAgendamento: number){\n \n if(!antecedenciaMinimaAgendamento || antecedenciaMinimaAgendamento===0){\n antecedenciaMinimaAgendamento = 1;\n }\n const dataInicioProva = new Date(prova.dataInicio);\n let dataMaximaAgendamento = dataInicioProva;\n //subtrai-se a qtd de dias de antecedência\n dataMaximaAgendamento.setDate( dataMaximaAgendamento.getDate()-antecedenciaMinimaAgendamento);\n dataMaximaAgendamento.setHours(23,59,59);\n\n //data máxima de agendamento é anterior a agora?\n if(dataMaximaAgendamento.getTime() {\n\n return this.http.get( API_CONFIG.apiURL+'/provas/countInscritos?idProva=' + idProva);\n\n }\n\n\n \n\n\n}\n","\n\n\n\n \n\n \n
\n
\n
\n Graduação\n
\n
\n Pós-Graduação\n
\n
\n Extensão\n
\n
\n
\n \n
\n
\n
\n\n \n AGENDAMENTOS\n \n \n\n \n \n \n\n \n \n Filtro\n \n \n \n\n \n \n \n Filtrar\n \n\n \n \n \n \n \n \n \n
\n Período de Inscrições\n
\n \n \n \n \n \n  Em andamento\n \n \n \n \n  Não iniciado\n \n\n \n \n  Encerrado\n \n \n \n \n \n\n
\n
\n
\n\n
\n\n
\n
\n\n\n \n \n  {{mensagem}}\n \n \n \n \n\n \n \n \n\n
\n
#{{vestibular.id}} - {{vestibular.codigoEdital}}
\n \n \n \n
\n \n \n 1\" >{{getInscritosVestibular(vestibular)}} inscrições\n {{getInscritosVestibular(vestibular)}} inscrição\n Nenhuma inscrição\n \n\n \n Cursos\n
\n {{cursoUnidade.curso.nome}} ({{cursoUnidade.unidade.nome}}) - {{cursoUnidade.curso.habilitacao?.nome}}\n
\n \n
\n
\n \n \n Forma de Pagamento\n 1\">Formas de Pagamento\n \n
\n {{getNomeTipoPagamento(vestibularTipoPagamento.tipoPagamento)}}\n
\n
\n\n
\n \n \n \n \n \n \n \n {{getNomeFormaIngressoFormatado(formaIngresso.tipo.toString())}}\n \n \n {{vestibular.codigoEdital}}\n \n \n \n \n \n \n \n \n
\n Taxa de Inscrição \n
\n {{formaIngresso.valorTaxaInscricao | currency}}\n
\n\n
\n Período de Inscrição \n
\n {{formaIngresso.dataInicioInscricao | date:'dd/MM/yy HH:mm'}} até {{formaIngresso.dataFimInscricao | date:'dd/MM/yy HH:mm'}}\n
\n\n
\n Agendamento de Prova \n
\n 0\" >Até {{formaIngresso.antecedenciaMinimaAgendamentoProva}} dias antes da prova\n Até 1 dia antes da prova\n Desabilitado\n
\n\n
\n Agendamento de Prova \n
\n 0\" >Até {{formaIngresso.antecedenciaMinimaAgendamentoProva}} dias antes da prova\n Até 1 dia antes da prova\n
\n \n
\n Escolha da prova de idioma
\n Habilitado\n Desabilitado\n
\n\n
0 && !getTipoFormaIngresso(formaIngresso.tipo).temLocal && formaIngresso.habilitarAgendamentoProva \" class=\"ion-margin-top\">\n Provas Online\n\n
\n {{prova.dataInicio | date:'dd/MM/yy'}} {{prova.horaInicio}} às {{prova.horaFim}}\n 1\" [class.text-warning]=\"prova.totalInscricoes>0\"> - {{(prova.totalVagas) - prova.totalInscricoes}} de {{prova.totalVagas}} vagas disponíveis\n 0\"> - {{(prova.totalVagas) - prova.totalInscricoes}} de {{prova.totalVagas}} vaga disponível\n
\n
\n\n
0 && !getTipoFormaIngresso(formaIngresso.tipo).temLocal && !formaIngresso.habilitarAgendamentoProva \" class=\"ion-margin-top\">\n Data Limite para Realizar Prova Online\n
\n {{formaIngresso.dataLimiteProvaSemAgendamento | date: 'dd/MM/yyyy HH:mm'}}\n
\n \n\n \n
\n Curso Moodle\n
\n {{formaIngresso.urlCursoOnlineMoodle}}\n
\n \n \n
\n Data Limite para Realizar o Curso\n
\n {{formaIngresso.dataLimiteCursoOnlineMoodle | date: 'dd/MM/yyyy HH:mm'}}\n
\n\n \n
0 && getTipoFormaIngresso(formaIngresso.tipo).temLocal\" class=\"ion-margin-top\">\n Provas Presenciais
\n
\n {{prova.dataInicio | date:'dd/MM/yy'}} {{prova.horaInicio}} às {{prova.horaFim}}\n 1\" [class.text-warning]=\"prova.totalInscricoes>0\"> - {{(prova.totalVagas) - prova.totalInscricoes}} de {{prova.totalVagas}} vagas disponíveis\n 0\"> - {{(prova.totalVagas) - prova.totalInscricoes}} de {{prova.totalVagas}} vaga disponível\n
\n
\n\n
0 && getTipoFormaIngresso(formaIngresso.tipo).temLocal\" class=\"ion-margin-top\">\n Local da Prova
\n
\n \n
\n
\n
\n
\n \n
\n Entrega da Documentação para Inscrição\n
\n {{formaIngresso.dataInicioEntregaDocumentacaoInscricao | date:'dd/MM/yy HH:mm'}} até {{formaIngresso.dataFimEntregaDocumentacaoInscricao | date:'dd/MM/yy HH:mm'}}\n
\n\n
\n Período de Matrícula\n
\n {{formaIngresso.dataInicioMatricula | date:'dd/MM/yy HH:mm'}} até {{formaIngresso.dataFimMatricula | date:'dd/MM/yy HH:mm'}}\n
\n \n
\n Envio de Documentação Matrícula
\n Habilitado\n Desabilitado\n
\n\n \n
\n \n Benefício para Matrícula Imediata\n \n \n
\n Matrícula realizada até {{formaIngresso.qtdDiasMatriculaRapida}} dia1\">s após aprovação\n
\n
\n {{formaIngresso.documentosMatriculaRapida.length}} documento1\">s para matrícula rápida\n
\n
\n\n \n\n
\n Total de Inscrições
\n {{formaIngresso.totalInscricoes}} 1\" >inscritosinscrito
\n 0\" >{{formaIngresso.totalInscricoesComProvaAgendada}} 1\" >inscritos com prova agendadainscrito com prova agendada\n
\n \n \n
\n
\n \n \n \n \n \n \n\n
\n
\n\n\n \n \n \n \n
\n","import { FormaIngressoService } from '../../../../services/forma-ingresso/forma-ingresso.service';\nimport { PermissaoAcessoService } from '../../../../services/permissao-acesso/permissao-acesso.service';\nimport { FunctionsService } from '../../../../services/common/functions.service';\nimport { Component, OnInit, ViewChild } from '@angular/core';\nimport { VestibularDTO } from 'src/app/models/vestibular/vestibularDTO';\nimport { VestibularService } from 'src/app/services/vestibular/vestibular.service';\nimport { ProvaDTO } from 'src/app/models/vestibular/provaDTO';\nimport { ProvaService } from 'src/app/services/prova/prova.service';\nimport { FormaIngressoDTO } from 'src/app/models/vestibular/formaIngressoDTO';\nimport { TIPO_FORMA_INGRESSO } from 'src/app/config/tipo-forma-ingresso.config';\nimport { PERIODO_INSCRICAO } from 'src/app/config/periodo_inscricao.config';\nimport { API_CONFIG } from 'src/app/config/api.config';\nimport { ArquivoDTO } from 'src/app/models/arquivoDTO';\nimport { ArquivoService } from 'src/app/services/arquivo/arquivo.service';\nimport { TipoFormaIngressoDTO } from 'src/app/models/vestibular/tipoFormaIngressoDTO';\nimport * as Quill from 'quill';\nimport { TipoPagamentoService } from 'src/app/services/tipo-pagamento/tipo-pagamento.service';\nimport { IonInfiniteScroll } from '@ionic/angular';\nimport { Router } from '@angular/router';\nimport { CursoDTO } from 'src/app/models/curso/cursoDTO';\nimport { UnidadeDTO } from 'src/app/models/curso/unidadeDTO';\n\nconst quill: any = Quill\nconst icons = quill.import('ui/icons');\n\ninterface CursoUnidadeDTO {\n curso: CursoDTO;\n unidade: UnidadeDTO;\n}\n\n@Component({\n selector: 'app-gc-listar-vestibulares',\n templateUrl: './gc-listar-vestibulares.page.html',\n styleUrls: ['./gc-listar-vestibulares.page.scss'],\n})\nexport class GcListarVestibularesPage implements OnInit {\n\n @ViewChild(IonInfiniteScroll) infiniteScroll: IonInfiniteScroll;\n\n PERIODO_ABERTO = PERIODO_INSCRICAO.ABERTO;\n PERIODO_ENCERRADO = PERIODO_INSCRICAO.ENCERRADO;\n PERIODO_NAO_INICIADO = PERIODO_INSCRICAO.NAO_INICIADO;\n\n canCreateEdit: boolean;\n canRemove: boolean; \n \n vestibulares: VestibularDTO[] = [];\n provas: ProvaDTO[] = [];\n\n VESTIBULAR_ONLINE = TIPO_FORMA_INGRESSO.VESTIBULAR_ONLINE;\n VESTIBULAR_PRESENCIAL = TIPO_FORMA_INGRESSO.VESTIBULAR_PRESENCIAL;\n CURSO_EXTENSAO = TIPO_FORMA_INGRESSO.CURSO_EXTENSAO;\n \n\n\n filtro: string = '';\n statusPeriodoInscricao: string = this.PERIODO_ABERTO;\n mensagem: string = '';\n\n\n page = 0;\n size = 100;\n \n\n constructor( private functionsService: FunctionsService\n , private permissaoAcessoService: PermissaoAcessoService\n , private vestibularService: VestibularService \n , private provaService: ProvaService \n , private formaIngressoService: FormaIngressoService\n , private arquivoService: ArquivoService\n , private tipoPagamentoService: TipoPagamentoService \n , private router: Router ) { \n\n //altera os ícones do quill editor, pois os defaults são em inglês\n icons['bold'] = 'N';\n icons['italic'] = 'I';\n icons['underline'] = 'S';\n icons['strike'] = 'ab'; \n\n }\n\n ngOnInit() {\n }\n\n\n \n\n checkAccessControl(){\n\n this.permissaoAcessoService.canCreateAndEdit(window.location.href).subscribe({\n next:(resp)=>{\n this.canCreateEdit = resp;\n },\n error:(error)=>{\n this.canCreateEdit = false;\n }\n });\n\n this.permissaoAcessoService.canRemove(window.location.href).subscribe({\n next:(resp)=>{\n this.canRemove = resp;\n },\n error:(error)=>{\n this.canRemove = false;\n }\n });\n\n \n\n\n }\n\n\n ionViewWillEnter(){\n\n //verificar as permissões de acesso\n this.checkAccessControl();\n\n this.vestibulares = [];\n\n this.findByFilter();\n }\n\n\n\n findByFilter(resetArray: boolean = true){\n \n this.functionsService.presentLoading();\n \n if(resetArray){ //zera a listagem \n this.page = 0;\n this.vestibulares = [];\n this.infiniteScroll.disabled = false; \n }\n\n \n\n if(resetArray){\n\n //na primeira rodada faz a contagem\n this.vestibularService.countByFilter(this.filtro, this.statusPeriodoInscricao).subscribe({\n next:(resp)=>{\n this.mensagem = resp + ' registro(s) encontrado(s).';\n },\n error:(error)=>{\n console.log(error);\n this.mensagem = 'Não foi possível calcular o total de registros.';\n } \n });\n\n }\n\n \n this.vestibularService.findByFilter( this.filtro\n , this.statusPeriodoInscricao\n , this.page\n , this.size\n , 'DESC' ).subscribe({\n next:(resp) => {\n\n if(resp.length0){\n this.setCountInscritos(prova);\n }\n \n }\n }\n }\n\n this.vestibulares.push(vestibular);\n \n } \n \n\n if(this.vestibulares.length===0 && this.page===0){\n this.mensagem = 'A consulta não retornou registros.';\n }else{\n //this.mensagem = '';\n this.page++; //atualiza o contador de página\n }\n \n this.functionsService.dismissLoading();\n /*\n if(this.vestibulares.length===0){\n this.mensagem = 'A consulta não retornou registros.'\n this.functionsService.dismissLoading();\n }else{\n this.mensagem = this.vestibulares.length + ' registro(s) retornado(s)';\n \n //busca todas as provas cadastradas para depois add a qtd de inscritos em cada uma delas\n this.provaService.findAll().subscribe(\n respProva=>{\n this.provas = respProva;\n this.functionsService.dismissLoading();\n },\n errorProva=>{\n console.log(errorProva);\n this.functionsService.dismissLoading();\n }\n );\n \n \n }\n */\n\n\n },\n error:(error) => {\n this.functionsService.dismissLoading();\n this.functionsService.showErrorAlert('Atenção!', 'Ocorreu um erro ao realizar a consulta.', error, ['Ok']);\n }\n });\n\n }\n\n\n countInscritos(formaIngresso: FormaIngressoDTO){\n\n this.formaIngressoService.countInscritos(formaIngresso.id).subscribe(\n respCount=>{\n formaIngresso.totalInscricoes = respCount;\n if(formaIngresso.tipo === TIPO_FORMA_INGRESSO.VESTIBULAR_ONLINE || formaIngresso.tipo === TIPO_FORMA_INGRESSO.VESTIBULAR_PRESENCIAL){\n this.countInscritosComProvaAgendada(formaIngresso);\n }\n },\n errorCount=>{\n console.log(errorCount);\n formaIngresso.totalInscricoes = 0;\n }\n );\n }\n\n\n countInscritosComProvaAgendada(formaIngresso: FormaIngressoDTO){\n\n this.formaIngressoService.countInscritosComProvaAgendada(formaIngresso.id).subscribe(\n respCount=>{\n formaIngresso.totalInscricoesComProvaAgendada = respCount;\n },\n errorCount=>{\n console.log(errorCount);\n formaIngresso.totalInscricoesComProvaAgendada = 0;\n }\n );\n }\n\n setCountInscritos(prova: ProvaDTO){\n\n this.provaService.countInscritos(prova.id).subscribe(\n respCount=>{\n prova.totalInscricoes = respCount;\n \n },\n errorCount=>{\n console.log(errorCount);\n prova.totalInscricoes = 0;\n }\n );\n }\n\n\n getInscritosVestibular(vestibular: VestibularDTO): number{\n\n let qtd = 0;\n\n for(var i=0; i document.activeElement;\n active.blur();\n \n setTimeout(() => {\n if(this.page>0){\n this.findByFilter(false);\n event.target.complete();\n }\n \n }, 1);\n }\n\n\n async delete(vestibular: VestibularDTO){\n\n const confirma = await this.functionsService.showConfirmAlert( 'Confirma?'\n , 'Confirma a exclusão do agendamento ' + vestibular.codigoEdital + '?'\n , 'Ok'\n , 'Cancelar' );\n\n if(!confirma){\n return;\n }\n\n this.functionsService.presentLoading();\n\n this.vestibularService.delete(vestibular.id).subscribe({\n next:(resp)=>{\n\n this.functionsService.dismissLoading();\n this.findByFilter(true);\n\n },\n error:(error)=>{\n console.log(error);\n this.functionsService.dismissLoading();\n\n this.functionsService.showAlert( 'Atenção!', 'Ocorreu um erro ao processar a exclusão.
Por favor, tente novamente.', ['Ok']);\n }\n });\n }\n\n\n edit(vestibular: VestibularDTO){\n\n if(vestibular.formasIngresso[0].tipo==TIPO_FORMA_INGRESSO.CURSO_EXTENSAO){\n \n this.router.navigate(['/modulo-gc/gc-agendar-extensao'], { queryParams: { id: vestibular.id } });\n\n }else if(vestibular.formasIngresso[0].tipo==TIPO_FORMA_INGRESSO.POS_GRADUACAO){\n \n this.router.navigate(['/modulo-gc/gc-agendar-pos-graduacao'], { queryParams: { id: vestibular.id } });\n \n }else{\n\n this.router.navigate(['/modulo-gc/gc-agendar-graduacao'], { queryParams: { id: vestibular.id } }); \n }\n\n }\n\n\n i\n \n getCursosSemRepeticao(vestibular: VestibularDTO): CursoUnidadeDTO[] {\n const cursosMap = new Map();\n \n for (const vestibularCurso of vestibular.vestibularCursos) {\n const cursoId = vestibularCurso.curso.id;\n \n // O Map armazena o curso e a unidade como um objeto\n if (!cursosMap.has(cursoId)) {\n cursosMap.set(cursoId, {\n curso: vestibularCurso.curso,\n unidade: vestibularCurso.unidade\n });\n }\n }\n \n return Array.from(cursosMap.values());\n }\n \n\n\n\n}\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { GcListarVestibularesPage } from './gc-listar-vestibulares.page';\n\nconst routes: Routes = [\n {\n path: '',\n component: GcListarVestibularesPage\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class GcListarVestibularesPageRoutingModule {}\n","import { ComponentsModule } from '../../../../components/components.module';\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { IonicModule } from '@ionic/angular';\n\nimport { GcListarVestibularesPageRoutingModule } from './gc-listar-vestibulares-routing.module';\n\nimport { GcListarVestibularesPage } from './gc-listar-vestibulares.page';\nimport { QuillModule } from 'ngx-quill';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n IonicModule,\n GcListarVestibularesPageRoutingModule,\n ComponentsModule,\n QuillModule,\n \n ],\n declarations: [GcListarVestibularesPage]\n})\nexport class GcListarVestibularesPageModule {}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DataSharingService {\n\n //serviço usado para emitir a mensagem para outros componentes que precisem saber quando o usuário está logado ou não\n public isUserLoggedIn: BehaviorSubject = new BehaviorSubject(false);\n \n //serviço usado para emitir a mensagem do header para a página gc-analisar-documentacao\n public idInscricaoSelecionada: BehaviorSubject = new BehaviorSubject(0);\n \n \n constructor() { }\n\n}\n","import { ProvaDTO } from '../../models/vestibular/provaDTO';\nimport { TIPO_FORMA_INGRESSO } from './../../config/tipo-forma-ingresso.config';\nimport { TipoFormaIngressoDTO } from '../../models/vestibular/tipoFormaIngressoDTO';\nimport { API_CONFIG } from './../../config/api.config';\nimport { Observable } from 'rxjs/internal/Observable';\nimport { FormaIngressoDTO } from '../../models/vestibular/formaIngressoDTO';\nimport { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class FormaIngressoService {\n\n constructor(private http: HttpClient) { }\n\n findAll() : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/formasingresso');\n\n }\n\n find(id: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/formasingresso/' + id);\n\n }\n\n \n getTiposFormaIngresso() : TipoFormaIngressoDTO[] {\n\n let arrTiposFormaIngresso: TipoFormaIngressoDTO[] = [];\n \n let enem = new TipoFormaIngressoDTO();\n enem.nome = TIPO_FORMA_INGRESSO.ENEM;\n enem.descricao = 'Utilize sua nota do ENEM para ingressar em um dos nossos cursos de graduação.';\n enem.temEntregaDocumentacao = true;\n enem.temLocal = false;\n enem.temProva = false;\n enem.podeEscolherDataProva = false;\n\n arrTiposFormaIngresso.push(enem);\n \n let vestibularOnline = new TipoFormaIngressoDTO();\n vestibularOnline.nome = TIPO_FORMA_INGRESSO.VESTIBULAR_ONLINE;\n vestibularOnline.descricao = 'Redação Online disponível para ser realizada 48h após a sua inscrição.';\n vestibularOnline.temEntregaDocumentacao = false;\n vestibularOnline.temLocal = false;\n vestibularOnline.temProva = true;\n vestibularOnline.podeEscolherDataProva = true;\n\n arrTiposFormaIngresso.push(vestibularOnline);\n\n let vestibularPresencial = new TipoFormaIngressoDTO();\n vestibularPresencial.nome = TIPO_FORMA_INGRESSO.VESTIBULAR_PRESENCIAL;\n vestibularPresencial.descricao = 'Redação Presencial realizada nas Faculdades Souza Marques em data e horário previamente definidos.';\n vestibularPresencial.temEntregaDocumentacao = false;\n vestibularPresencial.temLocal = true;\n vestibularPresencial.temProva = true;\n vestibularPresencial.podeEscolherDataProva = false;\n \n arrTiposFormaIngresso.push(vestibularPresencial);\n\n let portadorDiploma = new TipoFormaIngressoDTO();\n portadorDiploma.nome = TIPO_FORMA_INGRESSO.PORTADOR_DIPLOMA;\n portadorDiploma.descricao = 'Ingresse em um de nossos cursos de graduação utilizando seu Diploma.';\n portadorDiploma.temEntregaDocumentacao = true;\n portadorDiploma.temLocal = false;\n portadorDiploma.temProva = false;\n portadorDiploma.podeEscolherDataProva = false;\n \n arrTiposFormaIngresso.push(portadorDiploma);\n\n\n let transferencia = new TipoFormaIngressoDTO();\n transferencia.nome = TIPO_FORMA_INGRESSO.TRANSFERENCIA;\n transferencia.descricao = 'Ingresse em um de nossos cursos de graduação realizando a transferência de outra universidade.';\n transferencia.temEntregaDocumentacao = true;\n transferencia.temLocal = false;\n transferencia.temProva = false;\n transferencia.podeEscolherDataProva = false;\n \n arrTiposFormaIngresso.push(transferencia);\n\n\n let reingresso = new TipoFormaIngressoDTO();\n reingresso.nome = TIPO_FORMA_INGRESSO.REINGRESSO_POS_ABANDONO;\n reingresso.descricao = 'Reingresse no curso que você abandonou.';\n reingresso.temEntregaDocumentacao = true;\n reingresso.temLocal = false;\n reingresso.temProva = false;\n reingresso.podeEscolherDataProva = false;\n \n arrTiposFormaIngresso.push(reingresso);\n\n\n let cursoExtensao = new TipoFormaIngressoDTO();\n cursoExtensao.nome = TIPO_FORMA_INGRESSO.CURSO_EXTENSAO;\n cursoExtensao.descricao = 'Curso de Extensão.';\n cursoExtensao.temEntregaDocumentacao = false;\n cursoExtensao.temLocal = false;\n cursoExtensao.temProva = false;\n cursoExtensao.podeEscolherDataProva = false;\n \n arrTiposFormaIngresso.push(cursoExtensao);\n\n let posGraduacao = new TipoFormaIngressoDTO();\n posGraduacao.nome = TIPO_FORMA_INGRESSO.POS_GRADUACAO;\n posGraduacao.descricao = 'Pós-Graduação.';\n posGraduacao.temEntregaDocumentacao = true;\n posGraduacao.temLocal = false;\n posGraduacao.temProva = false;\n posGraduacao.podeEscolherDataProva = false;\n \n arrTiposFormaIngresso.push(posGraduacao);\n \n return arrTiposFormaIngresso;\n\n }\n\n getTipoFormaIngresso(descricao: any) : TipoFormaIngressoDTO {\n\n if(descricao === TIPO_FORMA_INGRESSO.ENEM){\n\n let enem = new TipoFormaIngressoDTO();\n enem.nome = TIPO_FORMA_INGRESSO.ENEM;\n enem.descricao = 'Utilize sua nota do ENEM para ingressar em um dos nossos cursos de graduação.';\n enem.temEntregaDocumentacao = true;\n enem.temLocal = false;\n enem.temProva = false;\n enem.podeEscolherDataProva = false;\n\n return enem;\n\n }else if(descricao === TIPO_FORMA_INGRESSO.VESTIBULAR_ONLINE){\n \n let vestibularOnline = new TipoFormaIngressoDTO();\n vestibularOnline.nome = TIPO_FORMA_INGRESSO.VESTIBULAR_ONLINE;\n vestibularOnline.descricao = 'Redação Online disponível para ser realizada 48h após a sua inscrição.';\n vestibularOnline.temEntregaDocumentacao = false;\n vestibularOnline.temLocal = false;\n vestibularOnline.temProva = true;\n vestibularOnline.podeEscolherDataProva = true;\n\n return vestibularOnline;\n\n }else if(descricao === TIPO_FORMA_INGRESSO.VESTIBULAR_PRESENCIAL){\n\n let vestibularPresencial = new TipoFormaIngressoDTO();\n vestibularPresencial.nome = TIPO_FORMA_INGRESSO.VESTIBULAR_PRESENCIAL;\n vestibularPresencial.descricao = 'Redação Presencial realizada nas Faculdades Souza Marques em data e horário previamente definidos.';\n vestibularPresencial.temEntregaDocumentacao = false;\n vestibularPresencial.temLocal = true;\n vestibularPresencial.temProva = true;\n vestibularPresencial.podeEscolherDataProva = true;\n\n return vestibularPresencial;\n \n }else if(descricao === TIPO_FORMA_INGRESSO.PORTADOR_DIPLOMA){\n\n let portadorDiploma = new TipoFormaIngressoDTO();\n portadorDiploma.nome = TIPO_FORMA_INGRESSO.PORTADOR_DIPLOMA;\n portadorDiploma.descricao = 'Ingresse em um de nossos cursos de graduação utilizando seu diploma em outras áreas.';\n portadorDiploma.temEntregaDocumentacao = true;\n portadorDiploma.temLocal = false;\n portadorDiploma.temProva = false;\n portadorDiploma.podeEscolherDataProva = false;\n\n return portadorDiploma;\n\n }else if(descricao === TIPO_FORMA_INGRESSO.TRANSFERENCIA){\n\n let transferencia = new TipoFormaIngressoDTO();\n transferencia.nome = TIPO_FORMA_INGRESSO.TRANSFERENCIA;\n transferencia.descricao = 'Ingresse em um de nossos cursos transferindo-se de outras instituições.';\n transferencia.temEntregaDocumentacao = true;\n transferencia.temLocal = false;\n transferencia.temProva = false;\n transferencia.podeEscolherDataProva = false;\n\n return transferencia;\n \n }else if(descricao === TIPO_FORMA_INGRESSO.REINGRESSO_POS_ABANDONO){\n\n let reingresso = new TipoFormaIngressoDTO();\n reingresso.nome = TIPO_FORMA_INGRESSO.REINGRESSO_POS_ABANDONO;\n reingresso.descricao = 'Reingresse no curso que você abandonou.';\n reingresso.temEntregaDocumentacao = true;\n reingresso.temLocal = false;\n reingresso.temProva = false;\n reingresso.podeEscolherDataProva = false;\n\n return reingresso;\n \n }else if(descricao === TIPO_FORMA_INGRESSO.CURSO_EXTENSAO){\n\n let cursoExtensao = new TipoFormaIngressoDTO();\n cursoExtensao.nome = TIPO_FORMA_INGRESSO.CURSO_EXTENSAO;\n cursoExtensao.descricao = 'Curso de Extensão.';\n cursoExtensao.temEntregaDocumentacao = false;\n cursoExtensao.temLocal = false;\n cursoExtensao.temProva = false;\n cursoExtensao.podeEscolherDataProva = false;\n\n return cursoExtensao;\n\n }else if(descricao === TIPO_FORMA_INGRESSO.POS_GRADUACAO){\n\n let posGraduacao = new TipoFormaIngressoDTO();\n posGraduacao.nome = TIPO_FORMA_INGRESSO.POS_GRADUACAO;\n posGraduacao.descricao = 'Pós-Graduação.';\n posGraduacao.temEntregaDocumentacao = true;\n posGraduacao.temLocal = false;\n posGraduacao.temProva = false;\n posGraduacao.podeEscolherDataProva = false;\n\n return posGraduacao;\n }\n\n return null;\n\n }\n\n getNomeFormatado(tipo: string) : string {\n\n if(tipo === TIPO_FORMA_INGRESSO.ENEM){\n return 'ENEM';\n }else if(tipo === TIPO_FORMA_INGRESSO.VESTIBULAR_ONLINE){\n return 'Vestibular Online';\n }else if(tipo === TIPO_FORMA_INGRESSO.VESTIBULAR_PRESENCIAL){\n return 'Vestibular Presencial';\n }else if(tipo === TIPO_FORMA_INGRESSO.PORTADOR_DIPLOMA){\n return 'Portador de Diploma';\n }else if(tipo === TIPO_FORMA_INGRESSO.TRANSFERENCIA){\n return 'Transferência Externa';\n }else if(tipo === TIPO_FORMA_INGRESSO.REINGRESSO_POS_ABANDONO){\n return 'Reingresso após Abandono';\n }else if(tipo === TIPO_FORMA_INGRESSO.CURSO_EXTENSAO){\n return 'Curso de Extensão';\n }else if(tipo === TIPO_FORMA_INGRESSO.POS_GRADUACAO){\n return 'Pós-Graduação';\n }\n\n return '';\n\n }\n\n \n countInscritos(idFormaIngresso: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/formasingresso/countInscritos?idFormaIngresso=' + idFormaIngresso);\n\n }\n\n countInscritosComProvaAgendada(idFormaIngresso: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/formasingresso/countInscritosComProvaAgendada?idFormaIngresso=' + idFormaIngresso);\n\n }\n\n validadeSubscpriptionPeriod(idsFormaIngresso: number[]) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/formasingresso/validadeSubscpriptionPeriod?idsFormaIngresso=' + idsFormaIngresso); \n\n }\n\n \n\n getUltimaProva(formaIngresso: FormaIngressoDTO): ProvaDTO{\n\n \n let ultimaProva = new ProvaDTO();\n ultimaProva.dataInicio = new Date('1950-01-01');\n\n for(var i=0; i new Date(ultimaProva.dataInicio).getTime()){\n ultimaProva = prova;\n }\n\n }\n\n return ultimaProva;\n\n }\n\n sortArrayProvas(formaIngresso: FormaIngressoDTO){\n\n //ordena o array de provas pela data da prova\n formaIngresso.provas.sort(function (a, b) {\n \n if (new Date(a.dataInicio).getTime() > new Date(b.dataInicio).getTime()) {\n return 1;\n }\n if ( new Date(a.dataInicio).getTime() < new Date(b.dataInicio).getTime()) {\n return -1;\n }\n // a must be equal to b\n return 0;\n });\n\n }\n}\n","import { TIPO_PAGAMENTO } from './../../config/tipo-pagamento.config';\nimport { Observable } from 'rxjs/internal/Observable';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TipoPagamentoService {\n\n constructor() { }\n\n\n getName(tipo: string) :string {\n\n if(tipo === TIPO_PAGAMENTO.BOLETO){\n return 'Boleto';\n }\n\n if(tipo === TIPO_PAGAMENTO.CREDITO_VISTA){\n return 'Crédito a Vista';\n }\n\n if(tipo === TIPO_PAGAMENTO.CREDITO_PARCELADO_SEM_JUROS){\n return 'Credito Parcelado S/ Juros';\n }\n\n if(tipo === TIPO_PAGAMENTO.CREDITO_PARCELADO_COM_JUROS){\n return 'Credito Parcelado C/ Juros';\n }\n\n if(tipo === TIPO_PAGAMENTO.DEBITO){\n return 'Débito';\n }\n\n if(tipo === TIPO_PAGAMENTO.PIX_QRCODE){\n return 'PIX';\n }\n\n if(tipo === TIPO_PAGAMENTO.RECORRENCIA){\n return 'Recorrência';\n }\n\n if(tipo === TIPO_PAGAMENTO.CHECKOUT_GETNET){\n return 'Checkout da Getnet';\n }\n\n }\n}\n","import { API_CONFIG } from './../../config/api.config';\nimport { Observable } from 'rxjs/internal/Observable';\nimport { VestibularDTO } from '../../models/vestibular/vestibularDTO';\nimport { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class VestibularService {\n\n constructor( private http: HttpClient ){ \n }\n\n insert(vestibularDTO: VestibularDTO) : Observable {\n \n \n return this.http.post( API_CONFIG.apiURL+'/vestibulares'\n , vestibularDTO\n , { observe: 'response' });\n\n }\n\n update(vestibularDTO: VestibularDTO) : Observable {\n\n return this.http.put( API_CONFIG.apiURL+'/vestibulares/' + vestibularDTO.id\n , vestibularDTO\n , { observe: 'response' });\n\n }\n\n\n findAll() : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/vestibulares');\n\n }\n\n findByFilter( filtroTexto: string\n , statusPeriodoInscricao: string\n , page: number\n , pageSize: number\n , sort: string = 'ASC') : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/vestibulares/findByFilter?filtroTexto='+filtroTexto + '&statusPeriodoInscricao='+statusPeriodoInscricao+'&page='+page+'&size='+pageSize+'&sort='+sort);\n\n }\n\n countByFilter(filtroTexto: string, statusPeriodoInscricao: string) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/vestibulares/countByFilter?filtroTexto='+filtroTexto + '&statusPeriodoInscricao='+statusPeriodoInscricao);\n\n }\n\n findByCurso(idCurso: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/vestibulares/findByCurso?idCurso='+idCurso);\n\n }\n\n find(id: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/vestibulares/' + id);\n\n }\n\n countInscritos(idVestibular: number) : Observable {\n\n return this.http.get( API_CONFIG.apiURL+'/vestibulares/countInscritos?idVestibular=' + idVestibular);\n\n }\n\n \n\n delete(id: number) : Observable {\n\n return this.http.delete( `${API_CONFIG.apiURL}${'/vestibulares/'}${id}`);\n\n }\n\n}\n"],"sourceRoot":"webpack:///","file":"9105.d3019ad91a363933.js"}