[DURACOM-191] fix build errors

This commit is contained in:
Andrea Barbasso
2024-03-05 11:45:57 +01:00
parent 9cd1db54c0
commit c5730e554d
11 changed files with 216 additions and 36 deletions

View File

@@ -1,19 +1,6 @@
import {
Component,
ComponentFactoryResolver,
EventEmitter,
Input,
OnChanges,
OnInit,
Output,
SimpleChanges,
Type,
ViewChild,
} from '@angular/core';
import { Component, EventEmitter, Input, Output, Type, } from '@angular/core';
import { getComponentByWorkflowTaskOption } from './claimed-task-actions-decorator';
import { ClaimedTask } from '../../../../core/tasks/models/claimed-task-object.model';
import { ClaimedTaskActionsDirective } from './claimed-task-actions.directive';
import { hasNoValue, hasValue, isNotEmpty } from '../../../empty.util';
import { MyDSpaceActionsResult } from '../../mydspace-actions';
import { Item } from '../../../../core/shared/item.model';
import { WorkflowItem } from '../../../../core/submission/models/workflowitem.model';
@@ -27,7 +14,6 @@ import { GenericConstructor } from '../../../../core/shared/generic-constructor'
selector: 'ds-claimed-task-actions-loader',
templateUrl: '../../../abstract-component-loader/abstract-component-loader.component.html',
standalone: true,
imports: [ClaimedTaskActionsDirective]
})
/**
* Component for loading a ClaimedTaskAction component depending on the "option" input
@@ -75,7 +61,7 @@ export class ClaimedTaskActionsLoaderComponent extends AbstractComponentLoaderCo
];
public getComponent(): GenericConstructor<ClaimedTaskActionsAbstractComponent> {
return getComponentByWorkflowTaskOption(this.option) as Type<unknown>;
return getComponentByWorkflowTaskOption(this.option);
}
}