2021-12-09 14:52:39 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {MenuComponent} from './menu.component';
|
|
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
|
|
import {AlertModalModule} from '../../utils/modal/alertModal.module';
|
|
|
|
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
|
|
|
|
import {AdminToolServiceModule} from "../../services/adminToolService.module";
|
|
|
|
import {InputModule} from "../../sharedComponents/input/input.module";
|
|
|
|
import {PageContentModule} from "../sharedComponents/page-content/page-content.module";
|
|
|
|
import {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module";
|
|
|
|
import {MenuRoutingModule} from "./menu-routing.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, edit, remove} from "../../utils/icons/icons";
|
2021-12-09 14:52:39 +01:00
|
|
|
import {LoadingModule} from "../../utils/loading/loading.module";
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, RouterModule, FormsModule, AdminToolServiceModule,
|
|
|
|
AlertModalModule, ReactiveFormsModule, MatSlideToggleModule, InputModule, PageContentModule, AdminTabsModule, MenuRoutingModule, SearchInputModule, IconsModule, LoadingModule
|
|
|
|
],
|
|
|
|
declarations: [MenuComponent],
|
|
|
|
exports: [MenuComponent]
|
|
|
|
})
|
|
|
|
export class MenuModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
2022-01-13 14:46:22 +01:00
|
|
|
this.iconsService.registerIcons([add, edit, remove]);
|
2021-12-09 14:52:39 +01:00
|
|
|
}
|
|
|
|
}
|