2021-03-31 13:23:24 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {IsCommunity} from '../../connect/communityGuard/isCommunity.guard';
|
|
|
|
import {ConnectAdminLoginGuard} from '../../connect/communityGuard/connectAdminLoginGuard.guard';
|
|
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
|
|
import {AlertModalModule} from '../../utils/modal/alertModal.module';
|
|
|
|
import {SafeHtmlPipeModule} from '../../utils/pipes/safeHTMLPipe.module';
|
2021-07-14 13:19:57 +02:00
|
|
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
2021-03-31 13:23:24 +02:00
|
|
|
import {AdminToolServiceModule} from '../../services/adminToolService.module';
|
|
|
|
import {InputModule} from '../../sharedComponents/input/input.module';
|
|
|
|
import {SearchInputModule} from '../../sharedComponents/search-input/search-input.module';
|
|
|
|
import {IconsModule} from '../../utils/icons/icons.module';
|
|
|
|
import {IconsService} from '../../utils/icons/icons.service';
|
2022-01-13 14:46:22 +01:00
|
|
|
import {add, arrow_left, edit, remove} from '../../utils/icons/icons';
|
2021-03-31 13:23:24 +02:00
|
|
|
import {LoadingModule} from '../../utils/loading/loading.module';
|
|
|
|
import {HTMLToStringPipeModule} from '../../utils/pipes/HTMLToStringPipe.module';
|
|
|
|
import {ClassHelpContentsRoutingModule} from './class-help-contents-routing.module';
|
|
|
|
import {ClassHelpContentsComponent} from './class-help-contents.component';
|
|
|
|
import {PageContentModule} from '../sharedComponents/page-content/page-content.module';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, RouterModule, FormsModule, SafeHtmlPipeModule,
|
|
|
|
AlertModalModule, ReactiveFormsModule, MatSlideToggleModule, AdminToolServiceModule, InputModule, ClassHelpContentsRoutingModule,
|
|
|
|
SearchInputModule, IconsModule, LoadingModule, HTMLToStringPipeModule, PageContentModule
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
ClassHelpContentsComponent
|
|
|
|
],
|
|
|
|
providers: [IsCommunity, ConnectAdminLoginGuard],
|
|
|
|
exports: [ClassHelpContentsComponent]
|
|
|
|
})
|
|
|
|
export class ClassHelpContentsModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
2022-01-13 14:46:22 +01:00
|
|
|
this.iconsService.registerIcons([add, arrow_left, edit, remove])
|
2021-03-31 13:23:24 +02:00
|
|
|
}
|
|
|
|
}
|