-
+
diff --git a/src/app/navbar/navbar.component.ts b/src/app/navbar/navbar.component.ts
index 5e4dbe2ed2..8b922439cf 100644
--- a/src/app/navbar/navbar.component.ts
+++ b/src/app/navbar/navbar.component.ts
@@ -25,7 +25,6 @@ import { BrowseService } from '../core/browse/browse.service';
import { AuthorizationDataService } from '../core/data/feature-authorization/authorization-data.service';
import { slideMobileNav } from '../shared/animations/slide';
import { ThemedUserMenuComponent } from '../shared/auth-nav-menu/user-menu/themed-user-menu.component';
-import { UserMenuComponent } from '../shared/auth-nav-menu/user-menu/user-menu.component';
import {
HostWindowService,
WidthCategory,
@@ -39,12 +38,12 @@ import { ThemeService } from '../shared/theme-support/theme.service';
* Component representing the public navbar
*/
@Component({
- selector: 'ds-navbar',
+ selector: 'ds-base-navbar',
styleUrls: ['./navbar.component.scss'],
templateUrl: './navbar.component.html',
animations: [slideMobileNav],
standalone: true,
- imports: [NgbDropdownModule, NgClass, NgIf, UserMenuComponent, ThemedUserMenuComponent, NgFor, NgComponentOutlet, AsyncPipe, TranslateModule],
+ imports: [NgbDropdownModule, NgClass, NgIf, ThemedUserMenuComponent, NgFor, NgComponentOutlet, AsyncPipe, TranslateModule],
})
export class NavbarComponent extends MenuComponent implements OnInit {
/**
diff --git a/src/app/navbar/themed-navbar.component.ts b/src/app/navbar/themed-navbar.component.ts
index 1d125cf7e6..5186c618a6 100644
--- a/src/app/navbar/themed-navbar.component.ts
+++ b/src/app/navbar/themed-navbar.component.ts
@@ -7,10 +7,11 @@ import { NavbarComponent } from './navbar.component';
* Themed wrapper for NavbarComponent
*/
@Component({
- selector: 'ds-themed-navbar',
+ selector: 'ds-navbar',
styleUrls: [],
templateUrl: '../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [NavbarComponent],
})
export class ThemedNavbarComponent extends ThemedComponent {
protected getComponentName(): string {
diff --git a/src/app/notifications/qa/events/quality-assurance-events.component.ts b/src/app/notifications/qa/events/quality-assurance-events.component.ts
index 4a60e6d55c..5f137acc01 100644
--- a/src/app/notifications/qa/events/quality-assurance-events.component.ts
+++ b/src/app/notifications/qa/events/quality-assurance-events.component.ts
@@ -66,7 +66,7 @@ import {
import { getItemPageRoute } from '../../../item-page/item-page-routing-paths';
import { AlertComponent } from '../../../shared/alert/alert.component';
import { hasValue } from '../../../shared/empty.util';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import { NotificationsService } from '../../../shared/notifications/notifications.service';
import { ItemSearchResult } from '../../../shared/object-collection/shared/item-search-result.model';
import { PaginationComponent } from '../../../shared/pagination/pagination.component';
@@ -86,7 +86,7 @@ import { EPersonDataComponent } from './ePerson-data/ePerson-data.component';
templateUrl: './quality-assurance-events.component.html',
styleUrls: ['./quality-assurance-events.component.scss'],
standalone: true,
- imports: [AlertComponent, NgIf, LoadingComponent, PaginationComponent, NgFor, RouterLink, NgbTooltipModule, AsyncPipe, TranslateModule, EPersonDataComponent],
+ imports: [AlertComponent, NgIf, ThemedLoadingComponent, PaginationComponent, NgFor, RouterLink, NgbTooltipModule, AsyncPipe, TranslateModule, EPersonDataComponent],
})
export class QualityAssuranceEventsComponent implements OnInit, OnDestroy {
/**
diff --git a/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.html b/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.html
index 1004082a93..026f863412 100644
--- a/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.html
+++ b/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.html
@@ -38,7 +38,7 @@
-
0 && (isLoading$ | async) !== true"
+ 0 && (isLoading$ | async) !== true"
[searchResults]="(localEntitiesRD$ | async)"
[sortConfig]="this.searchOptions?.sort"
[searchConfig]="this.searchOptions"
@@ -51,7 +51,7 @@
[context]="context"
(deselectObject)="deselectEntity()"
(selectObject)="selectEntity($event)">
-
+
diff --git a/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.spec.ts b/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.spec.ts
index 8b098a89ee..dada55a423 100644
--- a/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.spec.ts
+++ b/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.spec.ts
@@ -19,7 +19,7 @@ import { Item } from '../../../core/shared/item.model';
import { PageInfo } from '../../../core/shared/page-info.model';
import { SearchService } from '../../../core/shared/search/search.service';
import { AlertComponent } from '../../../shared/alert/alert.component';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import {
ItemMockPid10,
NotificationsMockDspaceObject,
@@ -106,7 +106,7 @@ describe('ProjectEntryImportModalComponent test suite', () => {
.overrideComponent(ProjectEntryImportModalComponent, {
remove: {
imports: [
- LoadingComponent,
+ ThemedLoadingComponent,
ThemedSearchResultsComponent,
AlertComponent,
],
diff --git a/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.ts b/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.ts
index 08e89fec05..4b31e2316a 100644
--- a/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.ts
+++ b/src/app/notifications/qa/project-entry-import-modal/project-entry-import-modal.component.ts
@@ -33,7 +33,7 @@ import {
hasValue,
isNotEmpty,
} from '../../../shared/empty.util';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import { CollectionElementLinkType } from '../../../shared/object-collection/collection-element-link.type';
import { ListableObject } from '../../../shared/object-collection/shared/listable-object.model';
import { SelectableListService } from '../../../shared/object-list/selectable-list/selectable-list.service';
@@ -104,7 +104,7 @@ export interface QualityAssuranceEventData {
styleUrls: ['./project-entry-import-modal.component.scss'],
templateUrl: './project-entry-import-modal.component.html',
standalone: true,
- imports: [RouterLink, NgIf, FormsModule, LoadingComponent, ThemedSearchResultsComponent, AlertComponent, AsyncPipe, TranslateModule],
+ imports: [RouterLink, NgIf, FormsModule, ThemedLoadingComponent, ThemedSearchResultsComponent, AlertComponent, AsyncPipe, TranslateModule],
})
/**
* Component to display a modal window for linking a project to an Quality Assurance event
diff --git a/src/app/notifications/qa/source/quality-assurance-source.component.spec.ts b/src/app/notifications/qa/source/quality-assurance-source.component.spec.ts
index 220bf3f74a..36309fd937 100644
--- a/src/app/notifications/qa/source/quality-assurance-source.component.spec.ts
+++ b/src/app/notifications/qa/source/quality-assurance-source.component.spec.ts
@@ -16,7 +16,7 @@ import { of as observableOf } from 'rxjs';
import { PaginationService } from '../../../core/pagination/pagination.service';
import { AlertComponent } from '../../../shared/alert/alert.component';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import {
getMockNotificationsStateService,
qualityAssuranceSourceObjectMoreAbstract,
@@ -61,7 +61,7 @@ describe('QualityAssuranceSourceComponent test suite', () => {
remove: {
imports: [
AlertComponent,
- LoadingComponent,
+ ThemedLoadingComponent,
PaginationComponent,
],
},
diff --git a/src/app/notifications/qa/source/quality-assurance-source.component.ts b/src/app/notifications/qa/source/quality-assurance-source.component.ts
index b43fd597d5..a918b8c3b6 100644
--- a/src/app/notifications/qa/source/quality-assurance-source.component.ts
+++ b/src/app/notifications/qa/source/quality-assurance-source.component.ts
@@ -25,7 +25,7 @@ import { PaginationService } from '../../../core/pagination/pagination.service';
import { QualityAssuranceSourcePageParams } from '../../../quality-assurance-notifications-pages/quality-assurance-source-page-component/quality-assurance-source-page-resolver.service';
import { AlertComponent } from '../../../shared/alert/alert.component';
import { hasValue } from '../../../shared/empty.util';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import { PaginationComponent } from '../../../shared/pagination/pagination.component';
import { PaginationComponentOptions } from '../../../shared/pagination/pagination-component-options.model';
import { NotificationsStateService } from '../../notifications-state.service';
@@ -38,7 +38,7 @@ import { NotificationsStateService } from '../../notifications-state.service';
templateUrl: './quality-assurance-source.component.html',
styleUrls: ['./quality-assurance-source.component.scss'],
standalone: true,
- imports: [AlertComponent, NgIf, LoadingComponent, PaginationComponent, NgFor, RouterLink, AsyncPipe, TranslateModule, DatePipe],
+ imports: [AlertComponent, NgIf, ThemedLoadingComponent, PaginationComponent, NgFor, RouterLink, AsyncPipe, TranslateModule, DatePipe],
})
export class QualityAssuranceSourceComponent implements OnInit {
diff --git a/src/app/notifications/qa/topics/quality-assurance-topics.component.spec.ts b/src/app/notifications/qa/topics/quality-assurance-topics.component.spec.ts
index a08e970a29..c764128e46 100644
--- a/src/app/notifications/qa/topics/quality-assurance-topics.component.spec.ts
+++ b/src/app/notifications/qa/topics/quality-assurance-topics.component.spec.ts
@@ -18,7 +18,7 @@ import { ItemDataService } from 'src/app/core/data/item-data.service';
import { PaginationService } from '../../../core/pagination/pagination.service';
import { AlertComponent } from '../../../shared/alert/alert.component';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import {
getMockNotificationsStateService,
qualityAssuranceTopicObjectMoreAbstract,
@@ -69,7 +69,7 @@ describe('QualityAssuranceTopicsComponent test suite', () => {
remove: {
imports: [
AlertComponent,
- LoadingComponent,
+ ThemedLoadingComponent,
PaginationComponent,
],
},
diff --git a/src/app/notifications/qa/topics/quality-assurance-topics.component.ts b/src/app/notifications/qa/topics/quality-assurance-topics.component.ts
index dbf2e47201..0fcaa93805 100644
--- a/src/app/notifications/qa/topics/quality-assurance-topics.component.ts
+++ b/src/app/notifications/qa/topics/quality-assurance-topics.component.ts
@@ -41,7 +41,7 @@ import { getItemPageRoute } from '../../../item-page/item-page-routing-paths';
import { QualityAssuranceTopicsPageParams } from '../../../quality-assurance-notifications-pages/quality-assurance-topics-page/quality-assurance-topics-page-resolver.service';
import { AlertComponent } from '../../../shared/alert/alert.component';
import { hasValue } from '../../../shared/empty.util';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import { PaginationComponent } from '../../../shared/pagination/pagination.component';
import { PaginationComponentOptions } from '../../../shared/pagination/pagination-component-options.model';
import { NotificationsStateService } from '../../notifications-state.service';
@@ -54,7 +54,7 @@ import { NotificationsStateService } from '../../notifications-state.service';
templateUrl: './quality-assurance-topics.component.html',
styleUrls: ['./quality-assurance-topics.component.scss'],
standalone: true,
- imports: [AlertComponent, NgIf, LoadingComponent, PaginationComponent, NgFor, RouterLink, AsyncPipe, TranslateModule, DatePipe],
+ imports: [AlertComponent, NgIf, ThemedLoadingComponent, PaginationComponent, NgFor, RouterLink, AsyncPipe, TranslateModule, DatePipe],
})
export class QualityAssuranceTopicsComponent implements OnInit, OnDestroy, AfterViewInit {
/**
diff --git a/src/app/notifications/suggestion-actions/suggestion-actions.component.ts b/src/app/notifications/suggestion-actions/suggestion-actions.component.ts
index 666d22d57f..02eaf10321 100644
--- a/src/app/notifications/suggestion-actions/suggestion-actions.component.ts
+++ b/src/app/notifications/suggestion-actions/suggestion-actions.component.ts
@@ -15,7 +15,7 @@ import { take } from 'rxjs/operators';
import { Suggestion } from '../../core/notifications/models/suggestion.model';
import { Collection } from '../../core/shared/collection.model';
import { ItemType } from '../../core/shared/item-relationships/item-type.model';
-import { CreateItemParentSelectorComponent } from '../../shared/dso-selector/modal-wrappers/create-item-parent-selector/create-item-parent-selector.component';
+import { ThemedCreateItemParentSelectorComponent } from '../../shared/dso-selector/modal-wrappers/create-item-parent-selector/themed-create-item-parent-selector.component';
import { EntityDropdownComponent } from '../../shared/entity-dropdown/entity-dropdown.component';
import { SuggestionApproveAndImport } from '../suggestion-list-element/suggestion-approve-and-import';
@@ -69,7 +69,7 @@ export class SuggestionActionsComponent {
*/
openDialog(entity: ItemType) {
- const modalRef = this.modalService.open(CreateItemParentSelectorComponent);
+ const modalRef = this.modalService.open(ThemedCreateItemParentSelectorComponent);
modalRef.componentInstance.emitOnly = true;
modalRef.componentInstance.entityType = entity.label;
diff --git a/src/app/notifications/suggestion-targets/publication-claim/publication-claim.component.ts b/src/app/notifications/suggestion-targets/publication-claim/publication-claim.component.ts
index 95788bf4ba..136466b4ac 100644
--- a/src/app/notifications/suggestion-targets/publication-claim/publication-claim.component.ts
+++ b/src/app/notifications/suggestion-targets/publication-claim/publication-claim.component.ts
@@ -25,7 +25,7 @@ import {
import { SuggestionTarget } from '../../../core/notifications/models/suggestion-target.model';
import { PaginationService } from '../../../core/pagination/pagination.service';
import { hasValue } from '../../../shared/empty.util';
-import { LoadingComponent } from '../../../shared/loading/loading.component';
+import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
import { PaginationComponent } from '../../../shared/pagination/pagination.component';
import { PaginationComponentOptions } from '../../../shared/pagination/pagination-component-options.model';
import { getSuggestionPageRoute } from '../../../suggestions-page/suggestions-page-routing-paths';
@@ -40,7 +40,7 @@ import { SuggestionTargetsStateService } from '../suggestion-targets.state.servi
templateUrl: './publication-claim.component.html',
styleUrls: ['./publication-claim.component.scss'],
imports: [
- LoadingComponent,
+ ThemedLoadingComponent,
AsyncPipe,
TranslateModule,
PaginationComponent,
diff --git a/src/app/page-error/page-error.component.ts b/src/app/page-error/page-error.component.ts
index f53e4ed2b4..5a8f87ed59 100644
--- a/src/app/page-error/page-error.component.ts
+++ b/src/app/page-error/page-error.component.ts
@@ -9,7 +9,7 @@ import { TranslateModule } from '@ngx-translate/core';
* This component representing the `PageError` DSpace page.
*/
@Component({
- selector: 'ds-page-error',
+ selector: 'ds-base-page-error',
styleUrls: ['./page-error.component.scss'],
templateUrl: './page-error.component.html',
changeDetection: ChangeDetectionStrategy.Default,
diff --git a/src/app/page-error/themed-page-error.component.ts b/src/app/page-error/themed-page-error.component.ts
index 2e0e94d898..a3ee38fd60 100644
--- a/src/app/page-error/themed-page-error.component.ts
+++ b/src/app/page-error/themed-page-error.component.ts
@@ -7,10 +7,11 @@ import { PageErrorComponent } from './page-error.component';
* Themed wrapper for PageErrorComponent
*/
@Component({
- selector: 'ds-themed-page-error',
+ selector: 'ds-page-error',
styleUrls: [],
templateUrl: '../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [PageErrorComponent],
})
export class ThemedPageErrorComponent extends ThemedComponent {
diff --git a/src/app/page-internal-server-error/page-internal-server-error.component.ts b/src/app/page-internal-server-error/page-internal-server-error.component.ts
index 72d424fd20..c51757c4e1 100644
--- a/src/app/page-internal-server-error/page-internal-server-error.component.ts
+++ b/src/app/page-internal-server-error/page-internal-server-error.component.ts
@@ -10,7 +10,7 @@ import { ServerResponseService } from '../core/services/server-response.service'
* This component representing the `PageInternalServer` DSpace page.
*/
@Component({
- selector: 'ds-page-internal-server-error',
+ selector: 'ds-base-page-internal-server-error',
styleUrls: ['./page-internal-server-error.component.scss'],
templateUrl: './page-internal-server-error.component.html',
changeDetection: ChangeDetectionStrategy.Default,
diff --git a/src/app/page-internal-server-error/themed-page-internal-server-error.component.ts b/src/app/page-internal-server-error/themed-page-internal-server-error.component.ts
index 41be907e19..01146b2a88 100644
--- a/src/app/page-internal-server-error/themed-page-internal-server-error.component.ts
+++ b/src/app/page-internal-server-error/themed-page-internal-server-error.component.ts
@@ -7,10 +7,11 @@ import { PageInternalServerErrorComponent } from './page-internal-server-error.c
* Themed wrapper for PageInternalServerErrorComponent
*/
@Component({
- selector: 'ds-themed-page-internal-server-error',
+ selector: 'ds-page-internal-server-error',
styleUrls: [],
templateUrl: '../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [PageInternalServerErrorComponent],
})
export class ThemedPageInternalServerErrorComponent extends ThemedComponent {
diff --git a/src/app/pagenotfound/pagenotfound.component.ts b/src/app/pagenotfound/pagenotfound.component.ts
index e28f7992b2..8fd738c882 100644
--- a/src/app/pagenotfound/pagenotfound.component.ts
+++ b/src/app/pagenotfound/pagenotfound.component.ts
@@ -13,7 +13,7 @@ import { ServerResponseService } from '../core/services/server-response.service'
* This component representing the `PageNotFound` DSpace page.
*/
@Component({
- selector: 'ds-pagenotfound',
+ selector: 'ds-base-pagenotfound',
styleUrls: ['./pagenotfound.component.scss'],
templateUrl: './pagenotfound.component.html',
changeDetection: ChangeDetectionStrategy.Default,
diff --git a/src/app/pagenotfound/themed-pagenotfound.component.ts b/src/app/pagenotfound/themed-pagenotfound.component.ts
index 114ad27f81..d7308908ce 100644
--- a/src/app/pagenotfound/themed-pagenotfound.component.ts
+++ b/src/app/pagenotfound/themed-pagenotfound.component.ts
@@ -7,10 +7,11 @@ import { PageNotFoundComponent } from './pagenotfound.component';
* Themed wrapper for PageNotFoundComponent
*/
@Component({
- selector: 'ds-themed-pagenotfound',
+ selector: 'ds-pagenotfound',
styleUrls: [],
templateUrl: '../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [PageNotFoundComponent],
})
export class ThemedPageNotFoundComponent extends ThemedComponent {
diff --git a/src/app/process-page/detail/process-detail.component.html b/src/app/process-page/detail/process-detail.component.html
index 521aec12c2..7558939ef3 100644
--- a/src/app/process-page/detail/process-detail.component.html
+++ b/src/app/process-page/detail/process-detail.component.html
@@ -23,10 +23,10 @@
0" id="process-files"
[title]="'process.detail.output-files'">
-
+
{{getFileName(file)}}
({{(file?.sizeBytes) | dsFileSize }})
-
+
@@ -51,8 +51,8 @@
class="btn btn-primary" (click)="showProcessOutputLogs()">
{{ 'process.detail.logs.button' | translate }}
-
+
0">{{ (outputLogs$ | async) }}
-
+
0"
[paginationOptions]="(paginationOptions$ | async)"
diff --git a/src/app/process-page/processes/filetypes.model.ts b/src/app/process-page/processes/filetypes.model.ts
index 8ce8bff2c5..02e29b2323 100644
--- a/src/app/process-page/processes/filetypes.model.ts
+++ b/src/app/process-page/processes/filetypes.model.ts
@@ -17,19 +17,19 @@ export class Filetypes {
* The id of this {@link Filetypes}
*/
@autoserialize
- id: string;
+ id: string;
/**
* The values of this {@link Filetypes}
*/
@autoserialize
- values: string[];
+ values: string[];
/**
* The object type
*/
@excludeFromEquals
@autoserialize
- type: ResourceType;
+ type: ResourceType;
}
diff --git a/src/app/process-page/processes/process.model.ts b/src/app/process-page/processes/process.model.ts
index 7d28b24d36..60407f3e12 100644
--- a/src/app/process-page/processes/process.model.ts
+++ b/src/app/process-page/processes/process.model.ts
@@ -38,61 +38,61 @@ export class Process implements CacheableObject {
*/
@excludeFromEquals
@autoserialize
- type: ResourceType;
+ type: ResourceType;
/**
* The identifier for this process
*/
@autoserializeAs(String)
- processId: string;
+ processId: string;
/**
* The UUID for the user that started the process
*/
@autoserialize
- userId: string;
+ userId: string;
/**
* The creation time for this process
*/
@autoserialize
- creationTime: string;
+ creationTime: string;
/**
* The start time for this process
*/
@autoserialize
- startTime: string;
+ startTime: string;
/**
* The end time for this process
*/
@autoserialize
- endTime: string;
+ endTime: string;
/**
* The name of the script run by this process
*/
@autoserialize
- scriptName: string;
+ scriptName: string;
/**
* The status of this process
*/
@autoserialize
- processStatus: ProcessStatus;
+ processStatus: ProcessStatus;
/**
* The parameters for this process
*/
@autoserialize
- parameters: ProcessParameter[];
+ parameters: ProcessParameter[];
/**
* The {@link HALLink}s for this Process
*/
@deserialize
- _links: {
+ _links: {
self: HALLink,
script: HALLink,
output: HALLink,
@@ -105,27 +105,27 @@ export class Process implements CacheableObject {
* Will be undefined unless the script {@link HALLink} has been resolved.
*/
@link(SCRIPT)
- script?: Observable>;
+ script?: Observable>;
/**
* The output logs created by this Process
* Will be undefined unless the output {@link HALLink} has been resolved.
*/
@link(PROCESS_OUTPUT_TYPE)
- output?: Observable>;
+ output?: Observable>;
/**
* The files created by this Process
* Will be undefined unless the output {@link HALLink} has been resolved.
*/
@link(BITSTREAM, true)
- files?: Observable>>;
+ files?: Observable>>;
/**
* The filetypes present in this Process
* Will be undefined unless the output {@link HALLink} has been resolved.
*/
@link(FILETYPES)
- filetypes?: Observable>;
+ filetypes?: Observable>;
}
diff --git a/src/app/process-page/scripts/script.model.ts b/src/app/process-page/scripts/script.model.ts
index 7907695b10..3cd934336a 100644
--- a/src/app/process-page/scripts/script.model.ts
+++ b/src/app/process-page/scripts/script.model.ts
@@ -23,37 +23,37 @@ export class Script implements CacheableObject {
*/
@excludeFromEquals
@autoserialize
- type: ResourceType;
+ type: ResourceType;
/**
* The identifier of this script
*/
@autoserialize
- id: string;
+ id: string;
/**
* The name of this script
*/
@autoserialize
- name: string;
+ name: string;
/**
* A short description of this script
*/
@autoserialize
- description: string;
+ description: string;
/**
* The available parameters for this script
*/
@autoserialize
- parameters: ScriptParameter[];
+ parameters: ScriptParameter[];
/**
* The {@link HALLink}s for this Script
*/
@deserialize
- _links: {
+ _links: {
self: HALLink,
};
}
diff --git a/src/app/profile-page/profile-page-security-form/profile-page-security-form.component.ts b/src/app/profile-page/profile-page-security-form/profile-page-security-form.component.ts
index 929ff280c5..7c0bf9ea2d 100644
--- a/src/app/profile-page/profile-page-security-form/profile-page-security-form.component.ts
+++ b/src/app/profile-page/profile-page-security-form/profile-page-security-form.component.ts
@@ -86,13 +86,13 @@ export class ProfilePageSecurityFormComponent implements OnInit {
* Indicates whether the "checkPasswordEmpty" needs to be added or not
*/
@Input()
- passwordCanBeEmpty = true;
+ passwordCanBeEmpty = true;
/**
* Prefix for the form's label messages of this component
*/
@Input()
- FORM_PREFIX: string;
+ FORM_PREFIX: string;
private subs: Subscription[] = [];
diff --git a/src/app/profile-page/profile-page.component.ts b/src/app/profile-page/profile-page.component.ts
index e62faacc97..bee4c2d023 100644
--- a/src/app/profile-page/profile-page.component.ts
+++ b/src/app/profile-page/profile-page.component.ts
@@ -52,7 +52,7 @@ import { ProfilePageResearcherFormComponent } from './profile-page-researcher-fo
import { ProfilePageSecurityFormComponent } from './profile-page-security-form/profile-page-security-form.component';
@Component({
- selector: 'ds-profile-page',
+ selector: 'ds-base-profile-page',
styleUrls: ['./profile-page.component.scss'],
templateUrl: './profile-page.component.html',
imports: [
diff --git a/src/app/profile-page/themed-profile-page.component.ts b/src/app/profile-page/themed-profile-page.component.ts
index 8288c7b8dc..83149ff9f1 100644
--- a/src/app/profile-page/themed-profile-page.component.ts
+++ b/src/app/profile-page/themed-profile-page.component.ts
@@ -7,10 +7,11 @@ import { ProfilePageComponent } from './profile-page.component';
* Themed wrapper for ProfilePageComponent
*/
@Component({
- selector: 'ds-themed-profile-page',
+ selector: 'ds-profile-page',
styleUrls: [],
templateUrl: './../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [ProfilePageComponent],
})
export class ThemedProfilePageComponent extends ThemedComponent {
protected getComponentName(): string {
diff --git a/src/app/register-email-form/register-email-form.component.ts b/src/app/register-email-form/register-email-form.component.ts
index 25916fd87e..ac13abb865 100644
--- a/src/app/register-email-form/register-email-form.component.ts
+++ b/src/app/register-email-form/register-email-form.component.ts
@@ -63,7 +63,7 @@ export const TYPE_REQUEST_FORGOT = 'forgot';
export const TYPE_REQUEST_REGISTER = 'register';
@Component({
- selector: 'ds-register-email-form',
+ selector: 'ds-base-register-email-form',
templateUrl: './register-email-form.component.html',
standalone: true,
imports: [NgIf, FormsModule, ReactiveFormsModule, AlertComponent, GoogleRecaptchaComponent, AsyncPipe, TranslateModule],
@@ -82,13 +82,13 @@ export class RegisterEmailFormComponent implements OnDestroy, OnInit {
* The message prefix
*/
@Input()
- MESSAGE_PREFIX: string;
+ MESSAGE_PREFIX: string;
/**
* Type of register request to be done, register new email or forgot password (same endpoint)
*/
@Input()
- typeRequest: string = null;
+ typeRequest: string = null;
public AlertTypeEnum = AlertType;
diff --git a/src/app/register-email-form/themed-registry-email-form.component.ts b/src/app/register-email-form/themed-registry-email-form.component.ts
index 679e0c9a0f..8f95d3d707 100644
--- a/src/app/register-email-form/themed-registry-email-form.component.ts
+++ b/src/app/register-email-form/themed-registry-email-form.component.ts
@@ -10,10 +10,11 @@ import { RegisterEmailFormComponent } from './register-email-form.component';
* Themed wrapper for {@link RegisterEmailFormComponent}
*/
@Component({
- selector: 'ds-themed-register-email-form',
+ selector: 'ds-register-email-form',
styleUrls: [],
templateUrl: '../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [RegisterEmailFormComponent],
})
export class ThemedRegisterEmailFormComponent extends ThemedComponent {
diff --git a/src/app/register-page/create-profile/create-profile.component.ts b/src/app/register-page/create-profile/create-profile.component.ts
index 21e88edfcc..7e88c5a1c0 100644
--- a/src/app/register-page/create-profile/create-profile.component.ts
+++ b/src/app/register-page/create-profile/create-profile.component.ts
@@ -50,7 +50,7 @@ import { NotificationsService } from '../../shared/notifications/notifications.s
* Component that renders the create profile page to be used by a user registering through a token
*/
@Component({
- selector: 'ds-create-profile',
+ selector: 'ds-base-create-profile',
styleUrls: ['./create-profile.component.scss'],
templateUrl: './create-profile.component.html',
imports: [
diff --git a/src/app/register-page/create-profile/themed-create-profile.component.ts b/src/app/register-page/create-profile/themed-create-profile.component.ts
index cf5d6d2def..54f12a9d16 100644
--- a/src/app/register-page/create-profile/themed-create-profile.component.ts
+++ b/src/app/register-page/create-profile/themed-create-profile.component.ts
@@ -7,10 +7,11 @@ import { CreateProfileComponent } from './create-profile.component';
* Themed wrapper for CreateProfileComponent
*/
@Component({
- selector: 'ds-themed-create-profile',
+ selector: 'ds-create-profile',
styleUrls: [],
templateUrl: './../../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [CreateProfileComponent],
})
export class ThemedCreateProfileComponent extends ThemedComponent {
protected getComponentName(): string {
diff --git a/src/app/register-page/register-email/register-email.component.html b/src/app/register-page/register-email/register-email.component.html
index 6a87a4e9e0..1829bb2914 100644
--- a/src/app/register-page/register-email/register-email.component.html
+++ b/src/app/register-page/register-email/register-email.component.html
@@ -1,3 +1,3 @@
-
-
+
diff --git a/src/app/register-page/register-email/register-email.component.spec.ts b/src/app/register-page/register-email/register-email.component.spec.ts
index 8696c2fed5..3694c6088a 100644
--- a/src/app/register-page/register-email/register-email.component.spec.ts
+++ b/src/app/register-page/register-email/register-email.component.spec.ts
@@ -8,7 +8,6 @@ import {
import { ReactiveFormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
-import { RegisterEmailFormComponent } from '../../register-email-form/register-email-form.component';
import { ThemedRegisterEmailFormComponent } from '../../register-email-form/themed-registry-email-form.component';
import { RegisterEmailComponent } from './register-email.component';
@@ -24,7 +23,7 @@ describe('RegisterEmailComponent', () => {
})
.overrideComponent(RegisterEmailComponent, {
remove: {
- imports: [RegisterEmailFormComponent, ThemedRegisterEmailFormComponent],
+ imports: [ThemedRegisterEmailFormComponent],
},
})
.compileComponents();
diff --git a/src/app/register-page/register-email/register-email.component.ts b/src/app/register-page/register-email/register-email.component.ts
index 6164cb30d2..130a2c8518 100644
--- a/src/app/register-page/register-email/register-email.component.ts
+++ b/src/app/register-page/register-email/register-email.component.ts
@@ -1,17 +1,14 @@
import { Component } from '@angular/core';
import { ThemedRegisterEmailFormComponent } from 'src/app/register-email-form/themed-registry-email-form.component';
-import {
- RegisterEmailFormComponent,
- TYPE_REQUEST_REGISTER,
-} from '../../register-email-form/register-email-form.component';
+import { TYPE_REQUEST_REGISTER } from '../../register-email-form/register-email-form.component';
@Component({
- selector: 'ds-register-email',
+ selector: 'ds-base-register-email',
styleUrls: ['./register-email.component.scss'],
templateUrl: './register-email.component.html',
imports: [
- RegisterEmailFormComponent, ThemedRegisterEmailFormComponent,
+ ThemedRegisterEmailFormComponent,
],
standalone: true,
})
diff --git a/src/app/register-page/register-email/themed-register-email.component.ts b/src/app/register-page/register-email/themed-register-email.component.ts
index 987191d218..3f557f564c 100644
--- a/src/app/register-page/register-email/themed-register-email.component.ts
+++ b/src/app/register-page/register-email/themed-register-email.component.ts
@@ -7,10 +7,11 @@ import { RegisterEmailComponent } from './register-email.component';
* Themed wrapper for RegisterEmailComponent
*/
@Component({
- selector: 'ds-themed-register-email',
+ selector: 'ds-register-email',
styleUrls: [],
templateUrl: '../../shared/theme-support/themed.component.html',
standalone: true,
+ imports: [RegisterEmailComponent],
})
export class ThemedRegisterEmailComponent extends ThemedComponent {
protected getComponentName(): string {
diff --git a/src/app/request-copy/deny-request-copy/deny-request-copy.component.html b/src/app/request-copy/deny-request-copy/deny-request-copy.component.html
index e513212f94..b00bc079dd 100644
--- a/src/app/request-copy/deny-request-copy/deny-request-copy.component.html
+++ b/src/app/request-copy/deny-request-copy/deny-request-copy.component.html
@@ -3,7 +3,7 @@