mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-307] remove NgIf and NgFor imports
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
Input,
|
||||
@@ -49,8 +45,6 @@ import { VarDirective } from '../../shared/utils/var.directive';
|
||||
UploaderComponent,
|
||||
AsyncPipe,
|
||||
ComcolPageLogoComponent,
|
||||
NgIf,
|
||||
NgClass,
|
||||
VarDirective,
|
||||
],
|
||||
})
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -23,7 +22,7 @@ import { TruncatablePartComponent } from '../../../../../shared/truncatable/trun
|
||||
selector: 'ds-journal-issue-sidebar-search-list-element',
|
||||
templateUrl: '../../../../../shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "JournalIssue" within the context of
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -23,7 +22,7 @@ import { TruncatablePartComponent } from '../../../../../shared/truncatable/trun
|
||||
selector: 'ds-journal-volume-sidebar-search-list-element',
|
||||
templateUrl: '../../../../../shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "JournalVolume" within the context of
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -23,7 +22,7 @@ import { TruncatablePartComponent } from '../../../../../shared/truncatable/trun
|
||||
selector: 'ds-journal-sidebar-search-list-element',
|
||||
templateUrl: '../../../../../shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "Journal" within the context of
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -22,7 +21,7 @@ import { TruncatablePartComponent } from '../../../../../shared/truncatable/trun
|
||||
selector: 'ds-org-unit-sidebar-search-list-element',
|
||||
templateUrl: '../../../../../shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "OrgUnit" within the context of
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
@@ -29,7 +28,7 @@ import { TruncatablePartComponent } from '../../../../../shared/truncatable/trun
|
||||
selector: 'ds-person-sidebar-search-list-element',
|
||||
templateUrl: '../../../../../shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "Person" within the context of
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -22,7 +21,7 @@ import { TruncatablePartComponent } from '../../../../../shared/truncatable/trun
|
||||
selector: 'ds-project-sidebar-search-list-element',
|
||||
templateUrl: '../../../../../shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "Project" within the context of
|
||||
|
@@ -1,6 +1,5 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
NgTemplateOutlet,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
@@ -47,7 +46,7 @@ import { ViewModeSwitchComponent } from '../shared/view-mode-switch/view-mode-sw
|
||||
},
|
||||
],
|
||||
standalone: true,
|
||||
imports: [NgIf, NgTemplateOutlet, PageWithSidebarComponent, ViewModeSwitchComponent, ThemedSearchResultsComponent, ThemedSearchSidebarComponent, ThemedSearchFormComponent, SearchLabelsComponent, AsyncPipe, TranslateModule],
|
||||
imports: [NgTemplateOutlet, PageWithSidebarComponent, ViewModeSwitchComponent, ThemedSearchResultsComponent, ThemedSearchSidebarComponent, ThemedSearchFormComponent, SearchLabelsComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
|
||||
export class ConfigurationSearchPageComponent extends SearchComponent {
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
@@ -47,7 +45,7 @@ import { DSOSelectorComponent } from '../dso-selector.component';
|
||||
styleUrls: ['../dso-selector.component.scss'],
|
||||
templateUrl: '../dso-selector.component.html',
|
||||
standalone: true,
|
||||
imports: [FormsModule, ReactiveFormsModule, InfiniteScrollModule, NgIf, NgFor, HoverClassDirective, NgClass, ListableObjectComponentLoaderComponent, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
imports: [FormsModule, ReactiveFormsModule, InfiniteScrollModule, HoverClassDirective, NgClass, ListableObjectComponentLoaderComponent, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component rendering a list of collections to select from
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
OnInit,
|
||||
@@ -33,7 +32,7 @@ import {
|
||||
selector: 'ds-base-edit-collection-selector',
|
||||
templateUrl: '../dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [ DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class EditCollectionSelectorComponent extends DSOSelectorModalWrapperComponent implements OnInit {
|
||||
objectType = DSpaceObjectType.COLLECTION;
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
OnInit,
|
||||
@@ -33,7 +32,7 @@ import {
|
||||
selector: 'ds-base-edit-community-selector',
|
||||
templateUrl: '../dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
|
||||
export class EditCommunitySelectorComponent extends DSOSelectorModalWrapperComponent implements OnInit {
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
OnInit,
|
||||
@@ -57,7 +56,7 @@ import {
|
||||
selector: 'ds-export-batch-selector',
|
||||
templateUrl: '../dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [ DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class ExportBatchSelectorComponent extends DSOSelectorModalWrapperComponent implements OnInit {
|
||||
objectType = DSpaceObjectType.DSPACEOBJECT;
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
EventEmitter,
|
||||
@@ -30,7 +29,7 @@ import {
|
||||
selector: 'ds-import-batch-selector',
|
||||
templateUrl: '../dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [ DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class ImportBatchSelectorComponent extends DSOSelectorModalWrapperComponent implements OnInit {
|
||||
objectType = DSpaceObjectType.DSPACEOBJECT;
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -22,7 +21,7 @@ import { SidebarSearchListElementComponent } from '../sidebar-search-list-elemen
|
||||
selector: 'ds-community-sidebar-search-list-element',
|
||||
templateUrl: '../sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link CommunitySearchResult} within the context of a sidebar search modal
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -22,7 +21,7 @@ import { SidebarSearchListElementComponent } from '../../sidebar-search-list-ele
|
||||
selector: 'ds-publication-sidebar-search-list-element',
|
||||
templateUrl: '../../sidebar-search-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||
imports: [TruncatablePartComponent, NgClass, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* Component displaying a list element for a {@link ItemSearchResult} of type "Publication" within the context of
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgForOf,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
@@ -72,11 +70,9 @@ enum SubKey {
|
||||
ContextHelpDirective,
|
||||
ReactiveFormsModule,
|
||||
PaginationComponent,
|
||||
NgIf,
|
||||
AsyncPipe,
|
||||
RouterLink,
|
||||
NgClass,
|
||||
NgForOf,
|
||||
BtnDisabledDirective,
|
||||
],
|
||||
})
|
||||
|
@@ -2,8 +2,6 @@ import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgComponentOutlet,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
@@ -22,7 +20,7 @@ import { BrowserOnlyPipe } from '../../../../../app/shared/utils/browser-only.pi
|
||||
// styleUrls: ['./admin-sidebar.component.scss']
|
||||
styleUrls: ['../../../../../app/admin/admin-sidebar/admin-sidebar.component.scss'],
|
||||
standalone: true,
|
||||
imports: [NgIf, NgbDropdownModule, NgClass, NgFor, NgComponentOutlet, AsyncPipe, TranslateModule, BrowserOnlyPipe],
|
||||
imports: [ NgbDropdownModule, NgClass, NgComponentOutlet, AsyncPipe, TranslateModule, BrowserOnlyPipe],
|
||||
})
|
||||
export class AdminSidebarComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -27,7 +24,6 @@ import { ThemedThumbnailComponent } from '../../../../../app/thumbnail/themed-th
|
||||
standalone: true,
|
||||
imports: [
|
||||
FormComponent,
|
||||
NgIf,
|
||||
VarDirective,
|
||||
ThemedThumbnailComponent,
|
||||
AsyncPipe,
|
||||
|
@@ -1,7 +1,5 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgFor,
|
||||
NgIf,
|
||||
NgTemplateOutlet,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
@@ -22,7 +20,7 @@ import { VarDirective } from '../../../../app/shared/utils/var.directive';
|
||||
// styleUrls: ['./breadcrumbs.component.scss']
|
||||
styleUrls: ['../../../../app/breadcrumbs/breadcrumbs.component.scss'],
|
||||
standalone: true,
|
||||
imports: [VarDirective, NgIf, NgTemplateOutlet, NgFor, RouterLink, NgbTooltipModule, AsyncPipe, TranslateModule],
|
||||
imports: [VarDirective, NgTemplateOutlet, RouterLink, NgbTooltipModule, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class BreadcrumbsComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -41,7 +38,6 @@ import { ViewTrackerComponent } from '../../../../app/statistics/angulartics/dsp
|
||||
imports: [
|
||||
ThemedComcolPageContentComponent,
|
||||
ErrorComponent,
|
||||
NgIf,
|
||||
ThemedLoadingComponent,
|
||||
TranslateModule,
|
||||
ViewTrackerComponent,
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -23,7 +20,6 @@ import { VarDirective } from '../../../../../app/shared/utils/var.directive';
|
||||
RouterLink,
|
||||
AsyncPipe,
|
||||
VarDirective,
|
||||
NgIf,
|
||||
TranslateModule,
|
||||
ThemedLoadingComponent,
|
||||
AlertComponent,
|
||||
|
@@ -2,7 +2,6 @@ import { CdkTreeModule } from '@angular/cdk/tree';
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
@@ -26,7 +25,7 @@ import { TruncatablePartComponent } from '../../../../../app/shared/truncatable/
|
||||
// templateUrl: './community-list.component.html'
|
||||
templateUrl: '../../../../../app/community-list-page/community-list/community-list.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedLoadingComponent, CdkTreeModule, NgClass, RouterLink, TruncatableComponent, TruncatablePartComponent, AsyncPipe, TranslateModule],
|
||||
imports: [ ThemedLoadingComponent, CdkTreeModule, NgClass, RouterLink, TruncatableComponent, TruncatablePartComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class CommunityListComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -40,7 +37,6 @@ import { ViewTrackerComponent } from '../../../../app/statistics/angulartics/dsp
|
||||
ThemedComcolPageContentComponent,
|
||||
ErrorComponent,
|
||||
ThemedLoadingComponent,
|
||||
NgIf,
|
||||
TranslateModule,
|
||||
ThemedCommunityPageSubCommunityListComponent,
|
||||
ThemedCollectionPageSubCollectionListComponent,
|
||||
|
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -23,7 +19,7 @@ import { ThemedLoadingComponent } from '../../../../../app/shared/loading/themed
|
||||
// templateUrl: './dso-edit-metadata.component.html',
|
||||
templateUrl: '../../../../../app/dso-shared/dso-edit-metadata/dso-edit-metadata.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DsoEditMetadataHeadersComponent, MetadataFieldSelectorComponent, DsoEditMetadataValueHeadersComponent, DsoEditMetadataValueComponent, NgFor, DsoEditMetadataFieldValuesComponent, AlertComponent, ThemedLoadingComponent, AsyncPipe, TranslateModule, BtnDisabledDirective],
|
||||
imports: [ DsoEditMetadataHeadersComponent, MetadataFieldSelectorComponent, DsoEditMetadataValueHeadersComponent, DsoEditMetadataValueComponent, DsoEditMetadataFieldValuesComponent, AlertComponent, ThemedLoadingComponent, AsyncPipe, TranslateModule, BtnDisabledDirective],
|
||||
})
|
||||
export class DsoEditMetadataComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -26,7 +23,7 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
|
||||
// templateUrl: './journal-issue.component.html',
|
||||
templateUrl: '../../../../../../../app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedResultsBackButtonComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, GenericItemPageFieldComponent, RelatedItemsComponent, RouterLink, AsyncPipe, TranslateModule],
|
||||
imports: [ ThemedResultsBackButtonComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, GenericItemPageFieldComponent, RelatedItemsComponent, RouterLink, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* The component for displaying metadata and relations of an item of the type Journal Issue
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -26,7 +23,7 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
|
||||
// templateUrl: './journal-volume.component.html',
|
||||
templateUrl: '../../../../../../../app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedResultsBackButtonComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, GenericItemPageFieldComponent, RelatedItemsComponent, RouterLink, AsyncPipe, TranslateModule],
|
||||
imports: [ ThemedResultsBackButtonComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, GenericItemPageFieldComponent, RelatedItemsComponent, RouterLink, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* The component for displaying metadata and relations of an item of the type Journal Volume
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -27,7 +24,7 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
|
||||
// templateUrl: './journal.component.html',
|
||||
templateUrl: '../../../../../../../app/entity-groups/journal-entities/item-pages/journal/journal.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedResultsBackButtonComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, GenericItemPageFieldComponent, RelatedItemsComponent, RouterLink, TabbedRelatedEntitiesSearchComponent, AsyncPipe, TranslateModule],
|
||||
imports: [ ThemedResultsBackButtonComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, GenericItemPageFieldComponent, RelatedItemsComponent, RouterLink, TabbedRelatedEntitiesSearchComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
/**
|
||||
* The component for displaying metadata and relations of an item of the type Journal
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
DatePipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
@@ -16,7 +15,7 @@ import { FooterComponent as BaseComponent } from '../../../../app/footer/footer.
|
||||
// templateUrl: './footer.component.html'
|
||||
templateUrl: '../../../../app/footer/footer.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, RouterLink, AsyncPipe, DatePipe, TranslateModule],
|
||||
imports: [ RouterLink, AsyncPipe, DatePipe, TranslateModule],
|
||||
})
|
||||
export class FooterComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -22,7 +19,6 @@ import { BrowserOnlyPipe } from '../../../../../app/shared/utils/browser-only.pi
|
||||
BrowserOnlyPipe,
|
||||
ProfilePageSecurityFormComponent,
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
BtnDisabledDirective,
|
||||
],
|
||||
})
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
@@ -24,7 +21,7 @@ import { ImpersonateNavbarComponent } from '../../../../app/shared/impersonate-n
|
||||
// templateUrl: 'header.component.html',
|
||||
templateUrl: '../../../../app/header/header.component.html',
|
||||
standalone: true,
|
||||
imports: [RouterLink, ThemedLangSwitchComponent, NgbDropdownModule, ThemedSearchNavbarComponent, ContextHelpToggleComponent, ThemedAuthNavMenuComponent, ImpersonateNavbarComponent, TranslateModule, AsyncPipe, NgIf],
|
||||
imports: [RouterLink, ThemedLangSwitchComponent, NgbDropdownModule, ThemedSearchNavbarComponent, ContextHelpToggleComponent, ThemedAuthNavMenuComponent, ImpersonateNavbarComponent, TranslateModule, AsyncPipe],
|
||||
})
|
||||
export class HeaderComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
NgTemplateOutlet,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
@@ -25,7 +24,7 @@ import { ViewTrackerComponent } from '../../../../app/statistics/angulartics/dsp
|
||||
// templateUrl: './home-page.component.html'
|
||||
templateUrl: '../../../../app/home-page/home-page.component.html',
|
||||
standalone: true,
|
||||
imports: [ThemedHomeNewsComponent, NgTemplateOutlet, NgIf, ViewTrackerComponent, ThemedSearchFormComponent, ThemedTopLevelCommunityListComponent, RecentItemListComponent, AsyncPipe, TranslateModule, NgClass, SuggestionsPopupComponent, ThemedConfigurationSearchPageComponent, PageWithSidebarComponent, HomeCoarComponent],
|
||||
imports: [ThemedHomeNewsComponent, NgTemplateOutlet, ViewTrackerComponent, ThemedSearchFormComponent, ThemedTopLevelCommunityListComponent, RecentItemListComponent, AsyncPipe, TranslateModule, NgClass, SuggestionsPopupComponent, ThemedConfigurationSearchPageComponent, PageWithSidebarComponent, HomeCoarComponent],
|
||||
})
|
||||
export class HomePageComponent extends BaseComponent {
|
||||
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
FormsModule,
|
||||
@@ -17,7 +16,7 @@ import { ErrorComponent } from '../../../../../../app/shared/error/error.compone
|
||||
// styleUrls: ['./feedback-form.component.scss'],
|
||||
styleUrls: ['../../../../../../app/info/feedback/feedback-form/feedback-form.component.scss'],
|
||||
standalone: true,
|
||||
imports: [FormsModule, ReactiveFormsModule, NgIf, ErrorComponent, TranslateModule, BtnDisabledDirective],
|
||||
imports: [FormsModule, ReactiveFormsModule, ErrorComponent, TranslateModule, BtnDisabledDirective],
|
||||
})
|
||||
export class FeedbackFormComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -18,7 +15,6 @@ import { AlertComponent } from '../../../../../app/shared/alert/alert.component'
|
||||
standalone: true,
|
||||
imports: [
|
||||
AlertComponent,
|
||||
NgIf,
|
||||
TranslateModule,
|
||||
RouterLink,
|
||||
AsyncPipe,
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgForOf,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
@@ -30,9 +28,7 @@ import {
|
||||
standalone: true,
|
||||
imports: [
|
||||
TranslateModule,
|
||||
NgForOf,
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
RouterLink,
|
||||
ItemOperationComponent,
|
||||
NgClass,
|
||||
|
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgForOf,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -23,12 +19,10 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
|
||||
standalone: true,
|
||||
imports: [
|
||||
PaginationComponent,
|
||||
NgIf,
|
||||
TranslateModule,
|
||||
AsyncPipe,
|
||||
VarDirective,
|
||||
ThemedThumbnailComponent,
|
||||
NgForOf,
|
||||
ThemedFileDownloadLinkComponent,
|
||||
FileSizePipe,
|
||||
MetadataFieldWrapperComponent,
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
KeyValuePipe,
|
||||
NgForOf,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
@@ -46,8 +44,6 @@ import { ViewTrackerComponent } from '../../../../../app/statistics/angulartics/
|
||||
ThemedFullFileSectionComponent,
|
||||
CollectionsComponent,
|
||||
ItemVersionsComponent,
|
||||
NgIf,
|
||||
NgForOf,
|
||||
AsyncPipe,
|
||||
KeyValuePipe,
|
||||
RouterLink,
|
||||
|
@@ -1,7 +1,3 @@
|
||||
import {
|
||||
NgForOf,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -17,10 +13,8 @@ import { BtnDisabledDirective } from '../../../../../../app/shared/btn-disabled.
|
||||
styleUrls: ['../../../../../../app/item-page/media-viewer/media-viewer-video/media-viewer-video.component.scss'],
|
||||
standalone: true,
|
||||
imports: [
|
||||
NgForOf,
|
||||
NgbDropdownModule,
|
||||
TranslateModule,
|
||||
NgIf,
|
||||
BtnDisabledDirective,
|
||||
],
|
||||
})
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -23,7 +20,6 @@ import { ThemedThumbnailComponent } from '../../../../../app/thumbnail/themed-th
|
||||
ThemedMediaViewerImageComponent,
|
||||
ThemedThumbnailComponent,
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
ThemedMediaViewerVideoComponent,
|
||||
TranslateModule,
|
||||
ThemedLoadingComponent,
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -46,7 +43,6 @@ import { ViewTrackerComponent } from '../../../../../app/statistics/angulartics/
|
||||
ThemedLoadingComponent,
|
||||
TranslateModule,
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
NotifyRequestsStatusComponent,
|
||||
QaEventNotificationComponent,
|
||||
],
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -42,7 +39,7 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
|
||||
templateUrl: '../../../../../../../app/item-page/simple/item-types/publication/publication.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedResultsBackButtonComponent, MiradorViewerComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, ThemedMediaViewerComponent, ThemedFileSectionComponent, ItemPageDateFieldComponent, ThemedMetadataRepresentationListComponent, GenericItemPageFieldComponent, RelatedItemsComponent, ItemPageAbstractFieldComponent, ItemPageUriFieldComponent, CollectionsComponent, RouterLink, AsyncPipe, TranslateModule],
|
||||
imports: [ThemedResultsBackButtonComponent, MiradorViewerComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, ThemedMediaViewerComponent, ThemedFileSectionComponent, ItemPageDateFieldComponent, ThemedMetadataRepresentationListComponent, GenericItemPageFieldComponent, RelatedItemsComponent, ItemPageAbstractFieldComponent, ItemPageUriFieldComponent, CollectionsComponent, RouterLink, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class PublicationComponent extends BaseComponent {
|
||||
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -46,7 +43,6 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: true,
|
||||
imports: [
|
||||
NgIf,
|
||||
ThemedResultsBackButtonComponent,
|
||||
MiradorViewerComponent,
|
||||
ThemedItemPageTitleFieldComponent,
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
@@ -42,7 +39,6 @@ import { ThemedSearchComponent } from '../../../../app/shared/search/themed-sear
|
||||
MyDSpaceNewSubmissionComponent,
|
||||
AsyncPipe,
|
||||
RoleDirective,
|
||||
NgIf,
|
||||
SuggestionsNotificationComponent,
|
||||
MyDspaceQaEventsNotificationsComponent,
|
||||
],
|
||||
|
@@ -1,8 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgComponentOutlet,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLinkActive } from '@angular/router';
|
||||
@@ -23,8 +21,6 @@ import { HoverOutsideDirective } from '../../../../../app/shared/utils/hover-out
|
||||
AsyncPipe,
|
||||
HoverOutsideDirective,
|
||||
NgComponentOutlet,
|
||||
NgFor,
|
||||
NgIf,
|
||||
RouterLinkActive,
|
||||
],
|
||||
})
|
||||
|
@@ -2,8 +2,6 @@ import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgComponentOutlet,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
@@ -24,7 +22,7 @@ import { slideMobileNav } from '../../../../app/shared/animations/slide';
|
||||
templateUrl: '../../../../app/navbar/navbar.component.html',
|
||||
animations: [slideMobileNav],
|
||||
standalone: true,
|
||||
imports: [NgbDropdownModule, NgClass, NgIf, ThemedUserMenuComponent, NgFor, NgComponentOutlet, AsyncPipe, TranslateModule],
|
||||
imports: [NgbDropdownModule, NgClass, ThemedUserMenuComponent, NgComponentOutlet, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class NavbarComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
FormsModule,
|
||||
@@ -19,7 +16,7 @@ import { BtnDisabledDirective } from '../../../../app/shared/btn-disabled.direct
|
||||
// templateUrl: './register-email-form.component.html',
|
||||
templateUrl: '../../../../app/register-email-form/register-email-form.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, FormsModule, ReactiveFormsModule, AlertComponent, GoogleRecaptchaComponent, AsyncPipe, TranslateModule, BtnDisabledDirective],
|
||||
imports: [ FormsModule, ReactiveFormsModule, AlertComponent, GoogleRecaptchaComponent, AsyncPipe, TranslateModule, BtnDisabledDirective],
|
||||
})
|
||||
export class RegisterEmailFormComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgForOf,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -24,10 +20,8 @@ import { BtnDisabledDirective } from '../../../../../app/shared/btn-disabled.dir
|
||||
imports: [
|
||||
ProfilePageSecurityFormComponent,
|
||||
TranslateModule,
|
||||
NgIf,
|
||||
AsyncPipe,
|
||||
ReactiveFormsModule,
|
||||
NgForOf,
|
||||
BtnDisabledDirective,
|
||||
],
|
||||
})
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { DenyRequestCopyComponent as BaseComponent } from 'src/app/request-copy/deny-request-copy/deny-request-copy.component';
|
||||
@@ -17,7 +14,7 @@ import { VarDirective } from '../../../../../app/shared/utils/var.directive';
|
||||
// templateUrl: './deny-request-copy.component.html',
|
||||
templateUrl: './../../../../../app/request-copy/deny-request-copy/deny-request-copy.component.html',
|
||||
standalone: true,
|
||||
imports: [VarDirective, NgIf, ThemedEmailRequestCopyComponent, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
imports: [VarDirective, ThemedEmailRequestCopyComponent, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class DenyRequestCopyComponent
|
||||
extends BaseComponent {
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { NgClass } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -16,7 +13,7 @@ import { BtnDisabledDirective } from '../../../../../app/shared/btn-disabled.dir
|
||||
// templateUrl: './email-request-copy.component.html',
|
||||
templateUrl: './../../../../../app/request-copy/email-request-copy/email-request-copy.component.html',
|
||||
standalone: true,
|
||||
imports: [FormsModule, NgClass, NgIf, TranslateModule, BtnDisabledDirective],
|
||||
imports: [FormsModule, NgClass, TranslateModule, BtnDisabledDirective],
|
||||
})
|
||||
export class EmailRequestCopyComponent
|
||||
extends BaseComponent {
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -18,6 +15,6 @@ import { VarDirective } from '../../../../../app/shared/utils/var.directive';
|
||||
// templateUrl: './grant-request-copy.component.html',
|
||||
templateUrl: './../../../../../app/request-copy/grant-request-copy/grant-request-copy.component.html',
|
||||
standalone: true,
|
||||
imports: [VarDirective, NgIf, ThemedEmailRequestCopyComponent, FormsModule, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
imports: [VarDirective, ThemedEmailRequestCopyComponent, FormsModule, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class GrantRequestCopyComponent extends BaseComponent {}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
@@ -32,7 +31,6 @@ import { SystemWideAlertBannerComponent } from '../../../../app/system-wide-aler
|
||||
SystemWideAlertBannerComponent,
|
||||
ThemedHeaderNavbarWrapperComponent,
|
||||
ThemedBreadcrumbsComponent,
|
||||
NgIf,
|
||||
NgClass,
|
||||
ThemedLoadingComponent,
|
||||
RouterOutlet,
|
||||
|
@@ -1,6 +1,5 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
NgTemplateOutlet,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
@@ -35,7 +34,7 @@ import { ViewModeSwitchComponent } from '../../../../app/shared/view-mode-switch
|
||||
},
|
||||
],
|
||||
standalone: true,
|
||||
imports: [NgIf, NgTemplateOutlet, PageWithSidebarComponent, ViewModeSwitchComponent, ThemedSearchResultsComponent, ThemedSearchSidebarComponent, ThemedSearchFormComponent, SearchLabelsComponent, AsyncPipe, TranslateModule],
|
||||
imports: [ NgTemplateOutlet, PageWithSidebarComponent, ViewModeSwitchComponent, ThemedSearchResultsComponent, ThemedSearchSidebarComponent, ThemedSearchFormComponent, SearchLabelsComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
@@ -31,7 +30,7 @@ import { BrowserOnlyPipe } from '../../../../../app/shared/utils/browser-only.pi
|
||||
styleUrls: ['../../../../../app/shared/auth-nav-menu/auth-nav-menu.component.scss'],
|
||||
animations: [fadeInOut, fadeOut],
|
||||
standalone: true,
|
||||
imports: [NgClass, NgIf, NgbDropdownModule, ThemedLogInComponent, RouterLink, RouterLinkActive, ThemedUserMenuComponent, AsyncPipe, TranslateModule, BrowserOnlyPipe],
|
||||
imports: [NgClass, NgbDropdownModule, ThemedLogInComponent, RouterLink, RouterLinkActive, ThemedUserMenuComponent, AsyncPipe, TranslateModule, BrowserOnlyPipe],
|
||||
})
|
||||
export class AuthNavMenuComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
FormsModule,
|
||||
@@ -21,7 +17,7 @@ import { ThemedLoadingComponent } from '../../../../../app/shared/loading/themed
|
||||
styleUrls: ['../../../../../app/shared/collection-dropdown/collection-dropdown.component.scss'],
|
||||
// styleUrls: ['./collection-dropdown.component.scss']
|
||||
standalone: true,
|
||||
imports: [NgIf, FormsModule, ReactiveFormsModule, InfiniteScrollModule, NgFor, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
imports: [ FormsModule, ReactiveFormsModule, InfiniteScrollModule, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class CollectionDropdownComponent extends BaseComponent {
|
||||
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -11,7 +10,7 @@ import { CreateCollectionParentSelectorComponent as BaseComponent } from '../../
|
||||
// templateUrl: './create-collection-parent-selector.component.html',
|
||||
templateUrl: '../../../../../../../app/shared/dso-selector/modal-wrappers/dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class CreateCollectionParentSelectorComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -11,7 +10,7 @@ import { CreateItemParentSelectorComponent as BaseComponent } from '../../../../
|
||||
// templateUrl: './create-item-parent-selector.component.html',
|
||||
templateUrl: '../../../../../../../app/shared/dso-selector/modal-wrappers/create-item-parent-selector/create-item-parent-selector.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, AuthorizedCollectionSelectorComponent, TranslateModule],
|
||||
imports: [AuthorizedCollectionSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class CreateItemParentSelectorComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -11,7 +10,7 @@ import { EditCollectionSelectorComponent as BaseComponent } from '../../../../..
|
||||
// templateUrl: './edit-collection-selector.component.html',
|
||||
templateUrl: '../../../../../../../app/shared/dso-selector/modal-wrappers/dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class EditCollectionSelectorComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -11,7 +10,7 @@ import { EditCommunitySelectorComponent as BaseComponent } from '../../../../../
|
||||
// templateUrl: './edit-community-selector.component.html',
|
||||
templateUrl: '../../../../../../../app/shared/dso-selector/modal-wrappers/dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class EditCommunitySelectorComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { EditItemSelectorComponent as BaseComponent } from 'src/app/shared/dso-selector/modal-wrappers/edit-item-selector/edit-item-selector.component';
|
||||
@@ -11,7 +10,7 @@ import { DSOSelectorComponent } from '../../../../../../../app/shared/dso-select
|
||||
// templateUrl: './edit-item-selector.component.html',
|
||||
templateUrl: '../../../../../../../app/shared/dso-selector/modal-wrappers/dso-selector-modal-wrapper.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||
imports: [DSOSelectorComponent, TranslateModule],
|
||||
})
|
||||
export class EditItemSelectorComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgClass,
|
||||
NgIf,
|
||||
NgTemplateOutlet,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
@@ -17,7 +16,7 @@ import { FileDownloadLinkComponent as BaseComponent } from '../../../../../app/s
|
||||
// styleUrls: ['./file-download-link.component.scss'],
|
||||
styleUrls: ['../../../../../app/shared/file-download-link/file-download-link.component.scss'],
|
||||
standalone: true,
|
||||
imports: [RouterLink, NgClass, NgIf, NgTemplateOutlet, AsyncPipe, TranslateModule],
|
||||
imports: [RouterLink, NgClass, NgTemplateOutlet, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class FileDownloadLinkComponent extends BaseComponent {
|
||||
}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@@ -18,7 +15,6 @@ import { ThemedSearchResultsComponent } from '../../../../../../../../../../app/
|
||||
imports: [
|
||||
TranslateModule,
|
||||
ThemedSearchResultsComponent,
|
||||
NgIf,
|
||||
AsyncPipe,
|
||||
BtnDisabledDirective,
|
||||
],
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { LoadingComponent as BaseComponent } from '../../../../../app/shared/loading/loading.component';
|
||||
@@ -10,7 +9,6 @@ import { LoadingComponent as BaseComponent } from '../../../../../app/shared/loa
|
||||
templateUrl: '../../../../../app/shared/loading/loading.component.html',
|
||||
// templateUrl: './loading.component.html'
|
||||
standalone: true,
|
||||
imports: [NgIf],
|
||||
})
|
||||
export class LoadingComponent extends BaseComponent {
|
||||
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
|
||||
@@ -17,7 +16,7 @@ import { CollectionListElementComponent as BaseComponent } from '../../../../../
|
||||
// templateUrl: './collection-list-element.component.html'
|
||||
templateUrl: '../../../../../../app/shared/object-list/collection-list-element/collection-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, RouterLink],
|
||||
imports: [ RouterLink],
|
||||
})
|
||||
/**
|
||||
* Component representing list element for a collection
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
|
||||
@@ -17,7 +16,7 @@ import { CommunityListElementComponent as BaseComponent } from '../../../../../.
|
||||
// templateUrl: './community-list-element.component.html'
|
||||
templateUrl: '../../../../../../app/shared/object-list/community-list-element/community-list-element.component.html',
|
||||
standalone: true,
|
||||
imports: [NgIf, RouterLink],
|
||||
imports: [ RouterLink],
|
||||
})
|
||||
/**
|
||||
* Component representing a list element for a community
|
||||
|
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
NgClass,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { NgClass } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { ImportableListItemControlComponent } from '../../../../../app/shared/object-collection/shared/importable-list-item-control/importable-list-item-control.component';
|
||||
@@ -22,7 +18,7 @@ import { BrowserOnlyPipe } from '../../../../../app/shared/utils/browser-only.pi
|
||||
styleUrls: ['../../../../../app/shared/object-list/object-list.component.scss'],
|
||||
// templateUrl: './object-list.component.html'
|
||||
templateUrl: '../../../../../app/shared/object-list/object-list.component.html',
|
||||
imports: [PaginationComponent, NgIf, NgClass, NgFor, SelectableListItemControlComponent, ImportableListItemControlComponent, ListableObjectComponentLoaderComponent, BrowserOnlyPipe],
|
||||
imports: [PaginationComponent, NgClass, SelectableListItemControlComponent, ImportableListItemControlComponent, ListableObjectComponentLoaderComponent, BrowserOnlyPipe],
|
||||
standalone: true,
|
||||
})
|
||||
|
||||
|
@@ -5,10 +5,6 @@
|
||||
*
|
||||
* https://www.atmire.com/software-license/
|
||||
*/
|
||||
import {
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -33,7 +29,7 @@ import { SidebarDropdownComponent } from '../../../../../../app/shared/sidebar/s
|
||||
},
|
||||
],
|
||||
standalone: true,
|
||||
imports: [NgIf, SidebarDropdownComponent, NgFor, FormsModule, PageSizeSelectorComponent, TranslateModule],
|
||||
imports: [ SidebarDropdownComponent, FormsModule, PageSizeSelectorComponent, TranslateModule],
|
||||
})
|
||||
|
||||
export class SearchSettingsComponent extends BaseComponent {}
|
||||
|
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
@@ -29,7 +26,6 @@ import { SubmissionImportExternalComponent as BaseComponent } from '../../../../
|
||||
ObjectCollectionComponent,
|
||||
ThemedLoadingComponent,
|
||||
AlertComponent,
|
||||
NgIf,
|
||||
AsyncPipe,
|
||||
SubmissionImportExternalSearchbarComponent,
|
||||
TranslateModule,
|
||||
|
Reference in New Issue
Block a user