mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
96252: Clean up SharedModule & CoreModule
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import { APP_BASE_HREF, CommonModule, DOCUMENT } from '@angular/common';
|
import { APP_BASE_HREF, CommonModule, DOCUMENT } from '@angular/common';
|
||||||
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { AbstractControl } from '@angular/forms';
|
|
||||||
import { BrowserModule } from '@angular/platform-browser';
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
|
|
||||||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||||
|
@@ -2,7 +2,6 @@ import { CommonModule } from '@angular/common';
|
|||||||
import { HttpClient } from '@angular/common/http';
|
import { HttpClient } from '@angular/common/http';
|
||||||
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
|
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
|
||||||
|
|
||||||
import { DynamicFormLayoutService, DynamicFormService, DynamicFormValidationService } from '@ng-dynamic-forms/core';
|
|
||||||
import { EffectsModule } from '@ngrx/effects';
|
import { EffectsModule } from '@ngrx/effects';
|
||||||
|
|
||||||
import { Action, StoreConfig, StoreModule } from '@ngrx/store';
|
import { Action, StoreConfig, StoreModule } from '@ngrx/store';
|
||||||
@@ -23,7 +22,6 @@ import { ObjectSelectService } from '../shared/object-select/object-select.servi
|
|||||||
import { PaginationComponentOptions } from '../shared/pagination/pagination-component-options.model';
|
import { PaginationComponentOptions } from '../shared/pagination/pagination-component-options.model';
|
||||||
import { CSSVariableService } from '../shared/sass-helper/sass-helper.service';
|
import { CSSVariableService } from '../shared/sass-helper/sass-helper.service';
|
||||||
import { SidebarService } from '../shared/sidebar/sidebar.service';
|
import { SidebarService } from '../shared/sidebar/sidebar.service';
|
||||||
import { SectionFormOperationsService } from '../submission/sections/form/section-form-operations.service';
|
|
||||||
import { AuthenticatedGuard } from './auth/authenticated.guard';
|
import { AuthenticatedGuard } from './auth/authenticated.guard';
|
||||||
import { AuthStatus } from './auth/models/auth-status.model';
|
import { AuthStatus } from './auth/models/auth-status.model';
|
||||||
import { BrowseService } from './browse/browse.service';
|
import { BrowseService } from './browse/browse.service';
|
||||||
|
@@ -394,10 +394,6 @@ const COMPONENTS = [
|
|||||||
ItemDetailPreviewComponent,
|
ItemDetailPreviewComponent,
|
||||||
ItemDetailPreviewFieldComponent,
|
ItemDetailPreviewFieldComponent,
|
||||||
ClaimedTaskActionsComponent,
|
ClaimedTaskActionsComponent,
|
||||||
ClaimedTaskActionsApproveComponent,
|
|
||||||
ClaimedTaskActionsRejectComponent,
|
|
||||||
ClaimedTaskActionsReturnToPoolComponent,
|
|
||||||
ClaimedTaskActionsEditMetadataComponent,
|
|
||||||
ClaimedTaskActionsLoaderComponent,
|
ClaimedTaskActionsLoaderComponent,
|
||||||
ItemActionsComponent,
|
ItemActionsComponent,
|
||||||
PoolTaskActionsComponent,
|
PoolTaskActionsComponent,
|
||||||
@@ -412,87 +408,30 @@ const COMPONENTS = [
|
|||||||
ValidationSuggestionsComponent,
|
ValidationSuggestionsComponent,
|
||||||
DsoInputSuggestionsComponent,
|
DsoInputSuggestionsComponent,
|
||||||
DSOSelectorComponent,
|
DSOSelectorComponent,
|
||||||
CreateCommunityParentSelectorComponent,
|
|
||||||
ThemedCreateCommunityParentSelectorComponent,
|
|
||||||
CreateCollectionParentSelectorComponent,
|
|
||||||
ThemedCreateCollectionParentSelectorComponent,
|
|
||||||
CreateItemParentSelectorComponent,
|
|
||||||
ThemedCreateItemParentSelectorComponent,
|
|
||||||
EditCommunitySelectorComponent,
|
|
||||||
ThemedEditCommunitySelectorComponent,
|
|
||||||
EditCollectionSelectorComponent,
|
|
||||||
ThemedEditCollectionSelectorComponent,
|
|
||||||
EditItemSelectorComponent,
|
|
||||||
ThemedEditItemSelectorComponent,
|
|
||||||
CommunitySearchResultListElementComponent,
|
|
||||||
CollectionSearchResultListElementComponent,
|
|
||||||
BrowseByComponent,
|
|
||||||
|
|
||||||
CollectionSearchResultGridElementComponent,
|
|
||||||
CommunitySearchResultGridElementComponent,
|
|
||||||
SearchExportCsvComponent,
|
SearchExportCsvComponent,
|
||||||
PageSizeSelectorComponent,
|
PageSizeSelectorComponent,
|
||||||
ListableObjectComponentLoaderComponent,
|
ListableObjectComponentLoaderComponent,
|
||||||
CollectionListElementComponent,
|
|
||||||
CommunityListElementComponent,
|
|
||||||
CollectionGridElementComponent,
|
|
||||||
CommunityGridElementComponent,
|
|
||||||
BrowseByComponent,
|
|
||||||
AbstractTrackableComponent,
|
AbstractTrackableComponent,
|
||||||
ComcolMetadataComponent,
|
ComcolMetadataComponent,
|
||||||
TypeBadgeComponent,
|
TypeBadgeComponent,
|
||||||
AccessStatusBadgeComponent,
|
AccessStatusBadgeComponent,
|
||||||
BrowseByComponent,
|
|
||||||
AbstractTrackableComponent,
|
|
||||||
|
|
||||||
ItemSelectComponent,
|
ItemSelectComponent,
|
||||||
CollectionSelectComponent,
|
CollectionSelectComponent,
|
||||||
MetadataRepresentationLoaderComponent,
|
MetadataRepresentationLoaderComponent,
|
||||||
SelectableListItemControlComponent,
|
SelectableListItemControlComponent,
|
||||||
|
|
||||||
ImportableListItemControlComponent,
|
ImportableListItemControlComponent,
|
||||||
|
|
||||||
LogInShibbolethComponent,
|
|
||||||
LogInOidcComponent,
|
|
||||||
LogInOrcidComponent,
|
|
||||||
LogInPasswordComponent,
|
|
||||||
LogInContainerComponent,
|
LogInContainerComponent,
|
||||||
ItemVersionsComponent,
|
ItemVersionsComponent,
|
||||||
ItemSearchResultListElementComponent,
|
|
||||||
ItemVersionsNoticeComponent,
|
ItemVersionsNoticeComponent,
|
||||||
ModifyItemOverviewComponent,
|
ModifyItemOverviewComponent,
|
||||||
ImpersonateNavbarComponent,
|
ImpersonateNavbarComponent,
|
||||||
FileDownloadLinkComponent,
|
|
||||||
BitstreamDownloadPageComponent,
|
|
||||||
BitstreamRequestACopyPageComponent,
|
|
||||||
CollectionDropdownComponent,
|
|
||||||
EntityDropdownComponent,
|
EntityDropdownComponent,
|
||||||
ExportMetadataSelectorComponent,
|
ExportMetadataSelectorComponent,
|
||||||
ImportBatchSelectorComponent,
|
ImportBatchSelectorComponent,
|
||||||
ExportBatchSelectorComponent,
|
ExportBatchSelectorComponent,
|
||||||
ConfirmationModalComponent,
|
ConfirmationModalComponent,
|
||||||
AuthorizedCollectionSelectorComponent,
|
AuthorizedCollectionSelectorComponent,
|
||||||
CurationFormComponent,
|
|
||||||
SearchResultListElementComponent,
|
|
||||||
SearchResultGridElementComponent,
|
|
||||||
ItemListElementComponent,
|
|
||||||
ItemGridElementComponent,
|
|
||||||
ItemSearchResultGridElementComponent,
|
|
||||||
BrowseEntryListElementComponent,
|
|
||||||
SearchResultDetailElementComponent,
|
|
||||||
PlainTextMetadataListElementComponent,
|
|
||||||
ItemMetadataListElementComponent,
|
|
||||||
MetadataRepresentationListElementComponent,
|
|
||||||
ItemMetadataRepresentationListElementComponent,
|
|
||||||
BundleListElementComponent,
|
|
||||||
StartsWithDateComponent,
|
|
||||||
StartsWithTextComponent,
|
|
||||||
SidebarSearchListElementComponent,
|
|
||||||
PublicationSidebarSearchListElementComponent,
|
|
||||||
CollectionSidebarSearchListElementComponent,
|
|
||||||
CommunitySidebarSearchListElementComponent,
|
|
||||||
SearchNavbarComponent,
|
SearchNavbarComponent,
|
||||||
ScopeSelectorModalComponent,
|
|
||||||
ItemPageTitleFieldComponent,
|
ItemPageTitleFieldComponent,
|
||||||
ThemedSearchNavbarComponent,
|
ThemedSearchNavbarComponent,
|
||||||
];
|
];
|
||||||
@@ -605,6 +544,7 @@ const DIRECTIVES = [
|
|||||||
declarations: [
|
declarations: [
|
||||||
...PIPES,
|
...PIPES,
|
||||||
...COMPONENTS,
|
...COMPONENTS,
|
||||||
|
...ENTRY_COMPONENTS,
|
||||||
...DIRECTIVES,
|
...DIRECTIVES,
|
||||||
...SHARED_ITEM_PAGE_COMPONENTS,
|
...SHARED_ITEM_PAGE_COMPONENTS,
|
||||||
ItemVersionsSummaryModalComponent,
|
ItemVersionsSummaryModalComponent,
|
||||||
@@ -617,9 +557,10 @@ const DIRECTIVES = [
|
|||||||
...MODULES,
|
...MODULES,
|
||||||
...PIPES,
|
...PIPES,
|
||||||
...COMPONENTS,
|
...COMPONENTS,
|
||||||
|
...ENTRY_COMPONENTS,
|
||||||
...SHARED_ITEM_PAGE_COMPONENTS,
|
...SHARED_ITEM_PAGE_COMPONENTS,
|
||||||
...DIRECTIVES,
|
...DIRECTIVES,
|
||||||
TranslateModule
|
TranslateModule,
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user