[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:
davidcanonieto
2020-08-14 20:45:07 +01:00
committed by GitHub
parent f5378a61ff
commit 5850f4c929
5 changed files with 17 additions and 180 deletions

View File

@@ -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 {

View File

@@ -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 {