import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { LoginComponent } from './components/login/login.component';
import { HomeComponent } from './components/home/home.component';
import { BuscarunidadeComponent } from './components/buscarunidade/buscarunidade.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { GraficoComponent } from './components/grafico/grafico.component';
import { MapaComponent } from './components/mapa/mapa.component';
import { CadPacienteComponent } from './components/cad-paciente/cad-paciente.component';
import { SobreNosComponent } from './components/sobre-nos/sobre-nos.component';
import { CadUnidadeComponent } from './components/cad-unidade/cad-unidade.component';
import { FormsModule } from '@angular/forms';
import { HomePrivadaComponent } from './components/home-privada/home-privada.component';
import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
import { GoogleMapsModule } from '@angular/google-maps';
// import { AgmCoreModule } from '@agm/core';
import { InfoDoencaComponent } from './components/info-doenca/info-doenca.component';
import { PageNotFoundComponent } from './components/page-not-found/page-not-found.component';
import { SaibaMaisComponent } from './components/saiba-mais/saiba-mais.component';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { NavbarModule } from './components/navbar/navbar.module';
import { CadDialogComponent } from './components/cad-dialog/cad-dialog.component';
import { MatDialogModule } from '@angular/material/dialog';
import { FooterModalComponent } from './components/home/footer-modal/footer-modal/footer-modal.component';
import { GraficoSPComponent } from './components/grafico-sp/grafico-sp.component';
import { PerfilComponent } from './components/perfil/perfil.component';
import { DiseaseSearchFilterPipe } from './components/info-doenca/pipe/disease-search-filter.pipe';
import { ModalCIDComponent } from './components/list-pacientes/modal-cid/modal-cid.component';
import { ConfirmModalComponent } from './components/confirm-modal/confirm-modal.component';

@NgModule({
  declarations: [
    AppComponent,
    LoginComponent,
    HomeComponent,
    BuscarunidadeComponent,
    GraficoComponent,
    MapaComponent,
    CadPacienteComponent,
    SobreNosComponent,
    CadUnidadeComponent,
    HomePrivadaComponent,
    CadUnidadeComponent,
    InfoDoencaComponent,
    PageNotFoundComponent,
    SaibaMaisComponent,
    CadDialogComponent,
    FooterModalComponent,
    GraficoSPComponent,
    PerfilComponent,
    DiseaseSearchFilterPipe,
    ModalCIDComponent,
    ConfirmModalComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule, 
    FormsModule,
    HttpClientModule,
    FormsModule,
    HttpClientJsonpModule,
    GoogleMapsModule,
    FormsModule,
    NgbModule,
    NavbarModule,
    MatDialogModule
  

  ],
  exports: [AppComponent],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
