import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import { I18nModule, provideConfig } from '@spartacus/core';
import { FormErrorsModule } from '@spartacus/storefront';
import { AsmMainUiComponent } from './asm-main-ui/asm-main-ui.component';
import { AsmSessionTimerComponent } from './asm-session-timer/asm-session-timer.component';
import { FormatTimerPipe } from './asm-session-timer/format-timer.pipe';
import { AsmToggleUiComponent } from './asm-toggle-ui/asm-toggle-ui.component';
import { CSAgentLoginFormComponent } from './csagent-login-form/csagent-login-form.component';
import { CustomerEmulationComponent } from './customer-emulation/customer-emulation.component';
import { CustomerSelectionComponent } from './customer-selection/customer-selection.component';
import { defaultAsmLayoutConfig } from './default-asm-layout.config';
@NgModule({
imports: [CommonModule, ReactiveFormsModule, I18nModule, FormErrorsModule],
declarations: [
AsmMainUiComponent,
CSAgentLoginFormComponent,
CustomerSelectionComponent,
AsmSessionTimerComponent,
FormatTimerPipe,
CustomerEmulationComponent,
AsmToggleUiComponent,
],
exports: [
AsmMainUiComponent,
CSAgentLoginFormComponent,
CustomerSelectionComponent,
AsmSessionTimerComponent,
FormatTimerPipe,
CustomerEmulationComponent,
AsmToggleUiComponent,
],
providers: [provideConfig(defaultAsmLayoutConfig)],
})
export class AsmComponentsModule {}