verben-workflow-ui 0.5.62 → 0.5.64
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/task-history/task-history.component.mjs +3 -3
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +38 -9
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +13 -3
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +5 -1
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +3 -17
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +10 -23
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +2 -2
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +2 -8
- 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-components-workflow-designer.mjs +59 -17
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +12 -45
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -1
- package/package.json +19 -19
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +6 -2
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +1 -0
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +1 -0
- package/src/lib/components/workflows/workflows.facade.d.ts +1 -1
- package/src/lib/components/workflows/workflows.state.d.ts +1 -3
- package/styles/styles.css +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-workflow-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.64",
|
|
4
4
|
"style": "styles/styles.css",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./styles": {
|
|
@@ -21,12 +21,6 @@
|
|
|
21
21
|
"esm": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
|
|
22
22
|
"default": "./fesm2022/verben-workflow-ui-src-lib-pipes.mjs"
|
|
23
23
|
},
|
|
24
|
-
"./src/lib/services": {
|
|
25
|
-
"types": "./src/lib/services/index.d.ts",
|
|
26
|
-
"esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
27
|
-
"esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
28
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
|
|
29
|
-
},
|
|
30
24
|
"./src/lib/models": {
|
|
31
25
|
"types": "./src/lib/models/index.d.ts",
|
|
32
26
|
"esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
@@ -51,6 +45,18 @@
|
|
|
51
45
|
"esm": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
52
46
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-designer.mjs"
|
|
53
47
|
},
|
|
48
|
+
"./src/lib/services": {
|
|
49
|
+
"types": "./src/lib/services/index.d.ts",
|
|
50
|
+
"esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
51
|
+
"esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
52
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./src/lib/components/file-render": {
|
|
55
|
+
"types": "./src/lib/components/file-render/index.d.ts",
|
|
56
|
+
"esm2022": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
57
|
+
"esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
58
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
|
|
59
|
+
},
|
|
54
60
|
"./src/lib/components/expiration": {
|
|
55
61
|
"types": "./src/lib/components/expiration/index.d.ts",
|
|
56
62
|
"esm2022": "./esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs",
|
|
@@ -63,12 +69,6 @@
|
|
|
63
69
|
"esm": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
|
|
64
70
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs"
|
|
65
71
|
},
|
|
66
|
-
"./src/lib/components/file-render": {
|
|
67
|
-
"types": "./src/lib/components/file-render/index.d.ts",
|
|
68
|
-
"esm2022": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
69
|
-
"esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
70
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
|
|
71
|
-
},
|
|
72
72
|
"./src/lib/components/flowable-status": {
|
|
73
73
|
"types": "./src/lib/components/flowable-status/index.d.ts",
|
|
74
74
|
"esm2022": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
|
|
@@ -147,18 +147,18 @@
|
|
|
147
147
|
"esm": "./esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs",
|
|
148
148
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs"
|
|
149
149
|
},
|
|
150
|
-
"./src/lib/components/tasks": {
|
|
151
|
-
"types": "./src/lib/components/tasks/index.d.ts",
|
|
152
|
-
"esm2022": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
153
|
-
"esm": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
154
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs"
|
|
155
|
-
},
|
|
156
150
|
"./src/lib/components/wf": {
|
|
157
151
|
"types": "./src/lib/components/wf/index.d.ts",
|
|
158
152
|
"esm2022": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
159
153
|
"esm": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
160
154
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-wf.mjs"
|
|
161
155
|
},
|
|
156
|
+
"./src/lib/components/tasks": {
|
|
157
|
+
"types": "./src/lib/components/tasks/index.d.ts",
|
|
158
|
+
"esm2022": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
159
|
+
"esm": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
160
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs"
|
|
161
|
+
},
|
|
162
162
|
"./src/lib/components/workflow": {
|
|
163
163
|
"types": "./src/lib/components/workflow/index.d.ts",
|
|
164
164
|
"esm2022": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
@@ -2,25 +2,29 @@ import { EventEmitter, OnInit, WritableSignal } from '@angular/core';
|
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { FlowableStatus, OperationAction } from 'verben-workflow-ui/src/lib/models';
|
|
4
4
|
import { WorkflowDataService } from '../workflow-data.service';
|
|
5
|
+
import { WorkflowDesignerState } from '../workflow-designer.state';
|
|
5
6
|
import { Connection } from '../workflow-designer.types';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ActionDialogComponent implements OnInit {
|
|
8
9
|
private fb;
|
|
9
10
|
private dataService;
|
|
11
|
+
private state;
|
|
10
12
|
visible: import("@angular/core").InputSignal<boolean>;
|
|
11
13
|
actionData: import("@angular/core").InputSignal<Connection | null>;
|
|
12
14
|
closed: EventEmitter<any>;
|
|
13
15
|
saved: EventEmitter<Connection>;
|
|
16
|
+
deleted: EventEmitter<string>;
|
|
14
17
|
actionForm: FormGroup;
|
|
15
18
|
operationActions: WritableSignal<OperationAction[]>;
|
|
16
19
|
flowableStatuses: WritableSignal<FlowableStatus[]>;
|
|
17
|
-
constructor(fb: FormBuilder, dataService: WorkflowDataService);
|
|
20
|
+
constructor(fb: FormBuilder, dataService: WorkflowDataService, state: WorkflowDesignerState);
|
|
18
21
|
ngOnInit(): void;
|
|
19
22
|
saveAction(): void;
|
|
23
|
+
deleteAction(): void;
|
|
20
24
|
private loadOperationActions;
|
|
21
25
|
private loadFlowableStatuses;
|
|
22
26
|
onDialogClose(eventData: any): void;
|
|
23
27
|
onDialogOpen(eventData: any): void;
|
|
24
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionDialogComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionDialogComponent, "lib-action-dialog", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "actionData": { "alias": "actionData"; "required": true; "isSignal": true; }; }, { "closed": "closed"; "saved": "saved"; }, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionDialogComponent, "lib-action-dialog", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "actionData": { "alias": "actionData"; "required": true; "isSignal": true; }; }, { "closed": "closed"; "saved": "saved"; "deleted": "deleted"; }, never, never, false, never>;
|
|
26
30
|
}
|
|
@@ -100,6 +100,7 @@ export declare class DesignerCanvasComponent implements OnInit {
|
|
|
100
100
|
}): void;
|
|
101
101
|
onStageDialogClosed(): void;
|
|
102
102
|
onActionDialogClosed(): void;
|
|
103
|
+
onActionDialogDeleted(connectionId: string): void;
|
|
103
104
|
onEscalationDialogClosed(): void;
|
|
104
105
|
onStageDialogSaved(stageData: Partial<WorkflowStage>): void;
|
|
105
106
|
onActionDialogSaved(actionData: Connection): void;
|
|
@@ -11,6 +11,7 @@ export declare class WorkflowDataService {
|
|
|
11
11
|
getTags(skip?: number, limit?: number): Promise<Paged<Tag>>;
|
|
12
12
|
saveWorkflows(requests: Partial<Workflow>[]): Promise<any | ErrorResponse>;
|
|
13
13
|
deleteWorkflowStages(requests: WorkflowStage['Code'][]): Promise<any>;
|
|
14
|
+
deleteWorkflowActions(requests: string[]): Promise<any>;
|
|
14
15
|
saveEscalations(requests: Partial<Escalation>[]): Promise<Escalation[]>;
|
|
15
16
|
deleteEscalations(requests: Escalation['Code'][]): Promise<any>;
|
|
16
17
|
searchEscalationWithParam(params: Pick<Escalation, 'Workflow' | 'Stage' | 'Type'>, skip?: number, limit?: number, sortOrder?: string): Promise<Paged<Escalation>>;
|
|
@@ -23,7 +23,7 @@ export declare class WorkflowFacade {
|
|
|
23
23
|
private handleSearch;
|
|
24
24
|
filter(filterParams: IDataFilter[]): Promise<void>;
|
|
25
25
|
loadMore(): Promise<void>;
|
|
26
|
-
|
|
26
|
+
loadData(skip: number, limit: number): Promise<Workflow[] | void>;
|
|
27
27
|
loadRequests(): Promise<void>;
|
|
28
28
|
loadOperations(): Promise<void>;
|
|
29
29
|
loadRequestsWithParam(param: string): Promise<void>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { IDataFilter } from 'verben-ng-ui';
|
|
3
|
-
import { Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
4
|
-
import { QueryParams } from 'verben-workflow-ui/src/lib/models';
|
|
5
|
-
import { WorkflowOperation } from 'verben-workflow-ui/src/lib/models';
|
|
3
|
+
import { QueryParams, Workflow, WorkflowOperation } from 'verben-workflow-ui/src/lib/models';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class WorkflowsState {
|
|
8
6
|
private updating$;
|
package/styles/styles.css
CHANGED
|
@@ -1389,6 +1389,11 @@ video {
|
|
|
1389
1389
|
.outline {
|
|
1390
1390
|
outline-style: solid;
|
|
1391
1391
|
}
|
|
1392
|
+
.ring {
|
|
1393
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1394
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1395
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1396
|
+
}
|
|
1392
1397
|
.blur {
|
|
1393
1398
|
--tw-blur: blur(8px);
|
|
1394
1399
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|