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";
|
2022-01-13 14:46:22 +01:00
|
|
|
import {add, edit, remove} 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) {
|
2022-01-13 14:46:22 +01:00
|
|
|
this.iconsService.registerIcons([add, edit, remove]);
|
2021-01-11 19:33:24 +01:00
|
|
|
}
|
|
|
|
}
|