mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-20480 Full Screen User Task Forms (#9341)
* AAE-20480 Full Screen User Task Forms * AAE-20480 Attend review comments * AAE-20480 Remove leftovers * AAE-20480 Enable changing the display mode from task-form-cloud * AAE-20480 Fix fullscreen mode header * AAE-20480 Fix review comments * AAE-20480 Allow hiding the full screen toolbar by configuration * AAE-20480 Add review comments * AAE-20480 Create display mode service
This commit is contained in:
@@ -57,6 +57,7 @@ export interface FormRepresentationModel {
|
||||
[key: string]: any;
|
||||
fields?: any[];
|
||||
};
|
||||
displayMode: string;
|
||||
}
|
||||
export class FormModel implements ProcessFormModel {
|
||||
static UNSET_TASK_NAME: string = 'Nameless task';
|
||||
@@ -72,6 +73,7 @@ export class FormModel implements ProcessFormModel {
|
||||
readonly processDefinitionId: string;
|
||||
readonly selectedOutcome: string;
|
||||
readonly enableFixedSpace: boolean;
|
||||
readonly displayMode: any;
|
||||
|
||||
fieldsCache: FormFieldModel[] = [];
|
||||
|
||||
@@ -113,6 +115,7 @@ export class FormModel implements ProcessFormModel {
|
||||
this.processVariables = json.processVariables || [];
|
||||
this.enableFixedSpace = enableFixedSpace;
|
||||
this.confirmMessage = json.confirmMessage || {};
|
||||
this.displayMode = json.displayMode;
|
||||
|
||||
this.tabs = (json.tabs || []).map((tabJson) => new TabModel(this, tabJson));
|
||||
|
||||
|
Reference in New Issue
Block a user