2021-05-19 13:40:29 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {HttpClientModule} from '@angular/common/http';
|
|
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
|
|
|
|
import {PagingModule} from '../../openaireLibrary/utils/paging.module';
|
|
|
|
import {SearchPagingModule} from '../../openaireLibrary/searchPages/searchUtils/searchPaging.module';
|
|
|
|
|
|
|
|
import {ErrorMessagesModule} from '../../openaireLibrary/utils/errorMessages.module';
|
|
|
|
import {AlertModalModule} from '../../openaireLibrary/utils/modal/alertModal.module';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {PageContentModule} from "../../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
|
|
|
|
import {InputModule} from "../../openaireLibrary/sharedComponents/input/input.module";
|
|
|
|
import {SearchInputModule} from "../../openaireLibrary/sharedComponents/search-input/search-input.module";
|
|
|
|
import {NoLoadPaging} from "../../openaireLibrary/searchPages/searchUtils/no-load-paging.module";
|
|
|
|
import {LoadingModule} from "../../openaireLibrary/utils/loading/loading.module";
|
|
|
|
import {IconsModule} from "../../openaireLibrary/utils/icons/icons.module";
|
|
|
|
import {IconsService} from "../../openaireLibrary/utils/icons/icons.service";
|
2022-07-04 20:45:20 +02:00
|
|
|
import {filters} from "../../openaireLibrary/utils/icons/icons";
|
2021-05-19 13:40:29 +02:00
|
|
|
import {FullScreenModalModule} from "../../openaireLibrary/utils/modal/full-screen-modal/full-screen-modal.module";
|
|
|
|
import {ResultPreviewModule} from "../../openaireLibrary/utils/result-preview/result-preview.module";
|
2022-07-04 20:45:20 +02:00
|
|
|
import {
|
|
|
|
SearchDataprovidersServiceModule
|
|
|
|
} from "../../openaireLibrary/connect/contentProviders/searchDataprovidersService.module";
|
2021-05-19 13:40:29 +02:00
|
|
|
import {ManageContentProvidersComponent} from "./manage-content-providers.component";
|
|
|
|
import {RemoveContentProvidersComponent} from "./remove-content-providers.component";
|
|
|
|
import {AddContentProvidersComponent} from "./add-content-providers.component";
|
|
|
|
import {ManageCommunityContentProvidersService} from "../../services/manageContentProviders.service";
|
|
|
|
import {SearchDataprovidersService} from "../../openaireLibrary/services/searchDataproviders.service";
|
2022-07-04 20:45:20 +02:00
|
|
|
import {CriteriaModule} from "./criteria/criteria.module";
|
2021-05-19 13:40:29 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
HttpClientModule,
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
RouterModule,
|
|
|
|
PagingModule, SearchPagingModule,
|
|
|
|
ErrorMessagesModule,
|
|
|
|
AlertModalModule,
|
|
|
|
SearchDataprovidersServiceModule,
|
|
|
|
PageContentModule,
|
|
|
|
InputModule,
|
|
|
|
SearchInputModule,
|
|
|
|
RouterModule.forChild([
|
|
|
|
{
|
|
|
|
path: '', component: ManageContentProvidersComponent
|
|
|
|
}
|
|
|
|
]),
|
2022-07-04 20:45:20 +02:00
|
|
|
NoLoadPaging, LoadingModule, IconsModule, FullScreenModalModule, ResultPreviewModule, CriteriaModule
|
2021-05-19 13:40:29 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
ManageContentProvidersComponent,
|
|
|
|
RemoveContentProvidersComponent,
|
|
|
|
AddContentProvidersComponent
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
ManageCommunityContentProvidersService,
|
|
|
|
SearchDataprovidersService
|
|
|
|
],
|
|
|
|
exports: [ManageContentProvidersComponent]
|
|
|
|
})
|
|
|
|
|
|
|
|
export class CommunityContentProvidersModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
2022-07-02 13:45:34 +02:00
|
|
|
this.iconsService.registerIcons([filters]);
|
2021-05-19 13:40:29 +02:00
|
|
|
}
|
|
|
|
}
|