
import { AdminFormComponent } from './modules/Administrador/pages/admin-form/admin-form.component';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';


import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { SharedModule } from './shared/shared.module';
import { AuthModule } from './auth/auth.module';

import { NivelesEducativosComponent } from './modules/Administrador/pages/niveles-educativos/niveles-educativos.component';
import { MaterialModule } from './material/material.module';
import { RouterModule } from '@angular/router';
import { HttpClientModule } from '@angular/common/http';
import { NgIdleKeepaliveModule } from '@ng-idle/keepalive';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { AdministradorModule } from "./modules/Administrador/administrador.module";
import { PropertiesPanelComponent } from './modules/Administrador/pages/admin-form/properties-panel/properties-panel.component';
import { ConfigurationPanelComponent } from './modules/Administrador/pages/admin-form/configuration-panel/configuration-panel.component';
import { HashLocationStrategy, LocationStrategy } from '@angular/common';



@NgModule({
  declarations: [
    AppComponent,
    NivelesEducativosComponent,
    AdminFormComponent,
    PropertiesPanelComponent,
    ConfigurationPanelComponent

  ],
  providers: [
    provideAnimationsAsync(),
    { provide: LocationStrategy, useClass: HashLocationStrategy }
  ],
  bootstrap: [AppComponent],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    SharedModule,
    AuthModule,
    MaterialModule,
    RouterModule,
    HttpClientModule,
    NgIdleKeepaliveModule.forRoot(),
    AdministradorModule
  ]
})
export class AppModule { }
