2020-12-18 16:09:38 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
2019-12-18 16:14:21 +01:00
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {EntitiesComponent} from './entities.component';
|
|
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
|
|
import {AlertModalModule} from '../../utils/modal/alertModal.module';
|
2021-07-14 13:19:57 +02:00
|
|
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
2019-12-18 16:14:21 +01:00
|
|
|
import {AdminToolServiceModule} from "../../services/adminToolService.module";
|
2020-11-12 18:57:32 +01:00
|
|
|
import {InputModule} from "../../sharedComponents/input/input.module";
|
2021-01-11 10:21:42 +01:00
|
|
|
import {PageContentModule} from "../sharedComponents/page-content/page-content.module";
|
|
|
|
import {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module";
|
|
|
|
import {EntitiesRoutingModule} from "./entities-routing.module";
|
2021-01-11 19:33:24 +01:00
|
|
|
import {SearchInputModule} from "../../sharedComponents/search-input/search-input.module";
|
|
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
|
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
|
|
|
import {add} from "../../utils/icons/icons";
|
2021-02-01 20:17:55 +01:00
|
|
|
import {LoadingModule} from "../../utils/loading/loading.module";
|
2019-12-18 16:14:21 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, RouterModule, FormsModule, AdminToolServiceModule,
|
2021-02-01 20:17:55 +01:00
|
|
|
AlertModalModule, ReactiveFormsModule, MatSlideToggleModule, InputModule, PageContentModule, AdminTabsModule, EntitiesRoutingModule, SearchInputModule, IconsModule, LoadingModule
|
2019-12-18 16:14:21 +01:00
|
|
|
],
|
|
|
|
declarations: [EntitiesComponent],
|
|
|
|
exports: [EntitiesComponent]
|
|
|
|
})
|
2021-01-11 19:33:24 +01:00
|
|
|
export class EntitiesModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
|
|
|
this.iconsService.registerIcons([add]);
|
|
|
|
}
|
|
|
|
}
|