import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ToastrModule } from 'ngx-toastr';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { MaterialModule } from './admin/shared/directives/material.module';
import { NgSelectModule } from '@ng-select/ng-select';
import { ConfigurationComponent } from './configuration/configuration.component';
import { ReactiveFormsModule } from '@angular/forms';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
// import { TranslateLoader, TranslateService, TranslateStore } from '@ngx-translate/core';

@NgModule({
    declarations: [
        AppComponent,
        ConfigurationComponent  // Declare AppComponent
    ],
    imports: [
        HttpClientModule,
        BrowserModule,
        BrowserAnimationsModule,
        AppRoutingModule,
        MaterialModule,
        NgSelectModule,
        ReactiveFormsModule,
        ToastrModule.forRoot(),
    ],
    providers: [
    provideAnimationsAsync(),
  ],
    bootstrap: [
        AppComponent
    ]
})
export class AppModule { }