Merge branch 'main' into task/main/CST-15591

This commit is contained in:
Alisa Ismailati
2024-10-09 16:51:37 +02:00
170 changed files with 25548 additions and 12844 deletions

View File

@@ -7,6 +7,7 @@ import {
ChangeDetectionStrategy,
Component,
Inject,
OnInit,
} from '@angular/core';
import {
TranslateModule,
@@ -48,7 +49,7 @@ import { SectionsService } from '../sections.service';
standalone: true,
})
export class SubmissionSectionDuplicatesComponent extends SectionModelComponent {
export class SubmissionSectionDuplicatesComponent extends SectionModelComponent implements OnInit {
protected readonly Metadata = Metadata;
/**
* The Alert categories.

View File

@@ -7,6 +7,7 @@ import {
ChangeDetectionStrategy,
Component,
Inject,
OnInit,
} from '@angular/core';
import {
TranslateModule,
@@ -47,7 +48,7 @@ import { SectionsService } from '../sections.service';
standalone: true,
})
export class SubmissionSectionIdentifiersComponent extends SectionModelComponent {
export class SubmissionSectionIdentifiersComponent extends SectionModelComponent implements OnInit {
/**
* The Alert categories.
* @type {AlertType}
@@ -76,7 +77,6 @@ export class SubmissionSectionIdentifiersComponent extends SectionModelComponent
/**
* Initialize instance variables.
*
* @param {PaginationService} paginationService
* @param {TranslateService} translate
* @param {SectionsService} sectionService
* @param {SubmissionService} submissionService
@@ -93,7 +93,7 @@ export class SubmissionSectionIdentifiersComponent extends SectionModelComponent
super(injectedCollectionId, injectedSectionData, injectedSubmissionId);
}
ngOnInit() {
ngOnInit(): void {
super.ngOnInit();
}

View File

@@ -135,7 +135,7 @@ export class SubmissionSectionCoarNotifyComponent extends SectionModelComponent
/**
* Method called when section is initialized
* Retriev available NotifyConfigs
* Retrieve available NotifyConfigs
*/
setCoarNotifyConfig() {
this.subs.push(

View File

@@ -124,7 +124,7 @@ export class SectionsService {
});
});
// Itereate over the previous error list
// Iterate over the previous error list
prevErrors.forEach((error: SubmissionSectionError) => {
const errorPaths: SectionErrorPath[] = parseSectionErrorPaths(error.path);

View File

@@ -11,7 +11,7 @@ import { TranslateModule } from '@ngx-translate/core';
import { Metadata } from '../../../../core/submission/models/sherpa-policies-details.model';
/**
* This component represents a section that contains the matadata informations.
* This component represents a section that contains the metadata information.
*/
@Component({
selector: 'ds-metadata-information',

View File

@@ -14,7 +14,7 @@ import { AlertType } from '../../../../shared/alert/alert-type';
import { ContentAccordionComponent } from '../content-accordion/content-accordion.component';
/**
* This component represents a section that contains the publisher policy informations.
* This component represents a section that contains the publisher policy information.
*/
@Component({
selector: 'ds-publisher-policy',

View File

@@ -35,7 +35,7 @@ import { PublicationInformationComponent } from './publication-information/publi
import { PublisherPolicyComponent } from './publisher-policy/publisher-policy.component';
/**
* This component represents a section for the sherpa policy informations structure.
* This component represents a section for the sherpa policy information structure.
*/
@Component({
selector: 'ds-section-sherpa-policies',