2019-12-23 17:34:51 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
2019-12-20 12:38:13 +01:00
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
|
|
import {AlertModalModule} from '../../utils/modal/alertModal.module';
|
|
|
|
import {PagesComponent} from './pages.component';
|
2021-07-14 13:19:57 +02:00
|
|
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
|
|
import { MatChipsModule } from '@angular/material/chips';
|
|
|
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
|
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
2019-12-20 12:38:13 +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 {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module";
|
|
|
|
import {PageContentModule} from "../sharedComponents/page-content/page-content.module";
|
|
|
|
import {PagesRoutingModule} from "./pages-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-20 12:38:13 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2019-12-23 17:34:51 +01:00
|
|
|
CommonModule, RouterModule, FormsModule, AlertModalModule, ReactiveFormsModule, MatSlideToggleModule, AdminToolServiceModule, InputModule,
|
2021-02-01 20:17:55 +01:00
|
|
|
MatAutocompleteModule, MatFormFieldModule, MatChipsModule, AdminTabsModule, PageContentModule, PagesRoutingModule, SearchInputModule, IconsModule, LoadingModule
|
2019-12-20 12:38:13 +01:00
|
|
|
],
|
|
|
|
declarations: [PagesComponent],
|
|
|
|
exports: [PagesComponent]
|
|
|
|
})
|
2021-01-11 19:33:24 +01:00
|
|
|
export class PagesModule {
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|