import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ClientListComponent } from './client-list/client-list.component';
import { ObjectsViewModule } from '@objects-view/objects-view.module';
import { MassMessageRoutingModule } from './mass-message-routing.module';
import { ClientSendMassMessageComponent } from './client-send-mass-message/client-send-mass-message.component';
import {
  ClientSendMassMessageFormComponent
} from './tabs/client-send-mass-message-form/client-send-mass-message-form.component';
import { UiModule } from '@shared/ui/ui.module';
import { ErrorHandlingModule } from '@shared/error-handling/error-handling.module';
import { EditorComponent } from '@tinymce/tinymce-angular';
import {
  InsertMassMessageTemplateDialogComponent
} from './dialogs/insert-mass-message-template-dialog/insert-mass-message-template-dialog.component';
import { CommonDialogsModule } from '@shared/common-dialogs/common-dialogs.module';

@NgModule({
  declarations: [
    ClientListComponent,
    ClientSendMassMessageComponent,
    ClientSendMassMessageFormComponent,
    InsertMassMessageTemplateDialogComponent,
  ],
  imports: [
    CommonModule,
    MassMessageRoutingModule,
    ObjectsViewModule,
    UiModule,
    ErrorHandlingModule,
    EditorComponent,
    CommonDialogsModule,
  ]
})
export class MassMessageModule {
}
