forked from hazza/dspace-angular
[DURACOM-191] run optimize imports and lint fix
This commit is contained in:
@@ -1,31 +1,49 @@
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { Script } from '../scripts/script.model';
|
||||
import {
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
Component,
|
||||
Input,
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
import {
|
||||
FormsModule,
|
||||
NgForm,
|
||||
} from '@angular/forms';
|
||||
import {
|
||||
NavigationExtras,
|
||||
Router,
|
||||
RouterLink,
|
||||
} from '@angular/router';
|
||||
import {
|
||||
TranslateModule,
|
||||
TranslateService,
|
||||
} from '@ngx-translate/core';
|
||||
|
||||
import { ScriptDataService } from '../../core/data/processes/script-data.service';
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { getFirstCompletedRemoteData } from '../../core/shared/operators';
|
||||
import { isEmpty } from '../../shared/empty.util';
|
||||
import { NotificationsService } from '../../shared/notifications/notifications.service';
|
||||
import { getProcessListRoute } from '../process-page-routing.paths';
|
||||
import { Process } from '../processes/process.model';
|
||||
import { ProcessParameter } from '../processes/process-parameter.model';
|
||||
import { ScriptDataService } from '../../core/data/processes/script-data.service';
|
||||
import { FormsModule, NgForm } from '@angular/forms';
|
||||
import { Script } from '../scripts/script.model';
|
||||
import { ScriptParameter } from '../scripts/script-parameter.model';
|
||||
import { NotificationsService } from '../../shared/notifications/notifications.service';
|
||||
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
||||
import { NavigationExtras, Router, RouterLink } from '@angular/router';
|
||||
import { getFirstCompletedRemoteData } from '../../core/shared/operators';
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { isEmpty } from '../../shared/empty.util';
|
||||
import { NgFor, NgIf } from '@angular/common';
|
||||
import { ScriptHelpComponent } from './script-help/script-help.component';
|
||||
import { ProcessParametersComponent } from './process-parameters/process-parameters.component';
|
||||
import { ScriptHelpComponent } from './script-help/script-help.component';
|
||||
import { ScriptsSelectComponent } from './scripts-select/scripts-select.component';
|
||||
import { getProcessListRoute } from '../process-page-routing.paths';
|
||||
|
||||
/**
|
||||
* Component to create a new script
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-process-form',
|
||||
templateUrl: './process-form.component.html',
|
||||
styleUrls: ['./process-form.component.scss'],
|
||||
standalone: true,
|
||||
imports: [FormsModule, ScriptsSelectComponent, ProcessParametersComponent, RouterLink, ScriptHelpComponent, NgIf, NgFor, TranslateModule]
|
||||
selector: 'ds-process-form',
|
||||
templateUrl: './process-form.component.html',
|
||||
styleUrls: ['./process-form.component.scss'],
|
||||
standalone: true,
|
||||
imports: [FormsModule, ScriptsSelectComponent, ProcessParametersComponent, RouterLink, ScriptHelpComponent, NgIf, NgFor, TranslateModule],
|
||||
})
|
||||
export class ProcessFormComponent implements OnInit {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user