mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5218] Fix custom stencil usage on Start Process Form (#5999)
* [ADF-5218] Fix custom stencil usage on Start Process Form * Fix e2e test * Fix task form provider * Fix people tests * Add docs * Update stencil docs * Remove outdated docs * Update task details component
This commit is contained in:
@@ -29,17 +29,13 @@ import {
|
||||
OnDestroy
|
||||
} from '@angular/core';
|
||||
import { FormComponent } from './form.component';
|
||||
import { ContentLinkModel, FormService, WidgetVisibilityService, FormRenderingService, FormOutcomeModel } from '@alfresco/adf-core';
|
||||
import { ProcessFormRenderingService } from './process-form-rendering.service';
|
||||
import { ContentLinkModel, FormService, WidgetVisibilityService, FormOutcomeModel } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-start-form',
|
||||
templateUrl: './start-form.component.html',
|
||||
styleUrls: ['./start-form.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
providers: [
|
||||
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
|
||||
]
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class StartFormComponent extends FormComponent implements OnChanges, OnInit, OnDestroy {
|
||||
|
||||
|
@@ -23,22 +23,17 @@ import {
|
||||
FormOutcomeEvent,
|
||||
AuthenticationService,
|
||||
TranslationService,
|
||||
FormFieldModel,
|
||||
FormRenderingService
|
||||
FormFieldModel
|
||||
} from '@alfresco/adf-core';
|
||||
import { TaskDetailsModel } from '../../models/task-details.model';
|
||||
import { TaskListService } from '../../services/tasklist.service';
|
||||
import { UserRepresentation, LightGroupRepresentation, LightUserRepresentation } from '@alfresco/js-api';
|
||||
import { Observable } from 'rxjs';
|
||||
import { ProcessFormRenderingService } from '../../../form/process-form-rendering.service';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-task-form',
|
||||
templateUrl: './task-form.component.html',
|
||||
styleUrls: ['./task-form.component.scss'],
|
||||
providers: [
|
||||
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
|
||||
]
|
||||
styleUrls: ['./task-form.component.scss']
|
||||
})
|
||||
export class TaskFormComponent implements OnInit {
|
||||
|
||||
|
Reference in New Issue
Block a user