verben-workflow-ui 0.5.78 → 0.5.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +30 -13
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +62 -11
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +6 -2
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +6 -1
- package/esm2022/src/lib/components/forms/forms.component.mjs +4 -4
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +3 -3
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +3 -38
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +2 -2
- package/esm2022/src/lib/models/DataType.mjs +7 -1
- package/esm2022/src/lib/models/EAVEntity.mjs +2 -0
- package/esm2022/src/lib/models/FormEntity.mjs +1 -1
- package/esm2022/src/lib/models/public-api.mjs +2 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +97 -20
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +4 -39
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +2 -2
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +6 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +1 -1
- package/package.json +40 -40
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +1 -0
- package/src/lib/components/form-group/form-group.component.d.ts +6 -1
- package/src/lib/components/form-group/form-group.module.d.ts +3 -2
- package/src/lib/components/my-queue/my-queue.facade.d.ts +0 -1
- package/src/lib/models/DataType.d.ts +7 -1
- package/src/lib/models/EAVEntity.d.ts +4 -0
- package/src/lib/models/FormEntity.d.ts +1 -0
- package/src/lib/models/public-api.d.ts +1 -0
|
@@ -5,6 +5,7 @@ import { CardData, CardDataViewComponent, ColumnDefinition, DataTableComponent,
|
|
|
5
5
|
import { FormEntity, PagedResult, Status } from 'verben-workflow-ui/src/lib/models';
|
|
6
6
|
import { EnvironmentService, HttpWebRequestService, UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
7
7
|
import { FormsService } from './form-group.service';
|
|
8
|
+
import { EAVEntity } from 'verben-workflow-ui/src/lib/models';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class FormGroupComponent implements OnInit {
|
|
10
11
|
private utilService;
|
|
@@ -41,6 +42,8 @@ export declare class FormGroupComponent implements OnInit {
|
|
|
41
42
|
currentSorts: IDataFilter[];
|
|
42
43
|
searchTerm$: Subject<string>;
|
|
43
44
|
statusOptions: Status[];
|
|
45
|
+
eavEntities: EAVEntity[];
|
|
46
|
+
workflowAPI: string;
|
|
44
47
|
users: FormEntity[];
|
|
45
48
|
visibleColumns: IDataFilter[];
|
|
46
49
|
filterArray: IDataFilter[];
|
|
@@ -67,7 +70,7 @@ export declare class FormGroupComponent implements OnInit {
|
|
|
67
70
|
userCardClicked(item: CardData, toggleView?: boolean): void;
|
|
68
71
|
saveFormGroup(): Promise<void>;
|
|
69
72
|
toggleIsValidate(value: boolean, row: FormEntity): void;
|
|
70
|
-
|
|
73
|
+
tableSaveFormGroup(form: FormEntity, callBack: () => any): Promise<void>;
|
|
71
74
|
updateTable(): void;
|
|
72
75
|
onFieldCountChange(value: any, source: FormEntity): void;
|
|
73
76
|
getFieldCount(source: FormEntity): string;
|
|
@@ -98,6 +101,8 @@ export declare class FormGroupComponent implements OnInit {
|
|
|
98
101
|
}): void;
|
|
99
102
|
handleExport(exportedData: Partial<any>[]): void;
|
|
100
103
|
private downloadCSV;
|
|
104
|
+
getEAVEntities(): Promise<EAVEntity[] | undefined>;
|
|
105
|
+
publishEAV(entity: FormEntity): Promise<void>;
|
|
101
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
|
|
102
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "lib-form-group", never, { "path": { "alias": "path"; "required": false; }; "application": { "alias": "application"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; }, { "onViewProcessClicked": "onViewProcessClicked"; }, never, never, false, never>;
|
|
103
108
|
}
|
|
@@ -5,10 +5,11 @@ import * as i2 from "@angular/common";
|
|
|
5
5
|
import * as i3 from "@angular/forms";
|
|
6
6
|
import * as i4 from "verben-ng-ui";
|
|
7
7
|
import * as i5 from "./form-fields/form-fields.module";
|
|
8
|
-
import * as i6 from "
|
|
8
|
+
import * as i6 from "verben-workflow-ui/src/lib/shared";
|
|
9
|
+
import * as i7 from "@angular/router";
|
|
9
10
|
export declare const appRoutes: Routes;
|
|
10
11
|
export declare class FormGroupLibModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupLibModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormGroupLibModule, [typeof i1.FormGroupComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.VerbenaInputModule, typeof i5.FormsFieldLibModule, typeof i6.RouterModule], [typeof i1.FormGroupComponent]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormGroupLibModule, [typeof i1.FormGroupComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.VerbenaInputModule, typeof i5.FormsFieldLibModule, typeof i6.SharedModule, typeof i7.RouterModule], [typeof i1.FormGroupComponent]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormGroupLibModule>;
|
|
14
15
|
}
|
|
@@ -34,7 +34,6 @@ export declare class MyQueueFacade {
|
|
|
34
34
|
passOn(action: WorkflowAction, request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
|
|
35
35
|
passBack(action: WorkflowAction, request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
|
|
36
36
|
skipTo(from: WorkflowAction['FromStage'], to: WorkflowAction['ToStage'], request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
|
|
37
|
-
pickTask(action: WorkflowAction, request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
|
|
38
37
|
reAssign(request: Task, comment: string, currentUser: string): Promise<void>;
|
|
39
38
|
fillForm(form: Form, taskCode: string): Promise<Form>;
|
|
40
39
|
loadMore(queue?: boolean): Promise<void>;
|
|
@@ -14,5 +14,11 @@ export declare enum DataType {
|
|
|
14
14
|
Video = "Video",
|
|
15
15
|
Audio = "Audio",
|
|
16
16
|
SingleFileSelection = "SingleFileSelection",
|
|
17
|
-
MultiFileSelection = "MultiFileSelection"
|
|
17
|
+
MultiFileSelection = "MultiFileSelection",
|
|
18
|
+
DateTime = "DateTime",
|
|
19
|
+
DateTimeOffset = "DateTimeOffset",
|
|
20
|
+
None = "None",
|
|
21
|
+
JSON = "JSON",
|
|
22
|
+
Boolean = "Boolean",
|
|
23
|
+
SmallInt = "SmallInt"
|
|
18
24
|
}
|