@szjy/workflow 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +22906 -22738
- package/dist/index.umd.js +235 -235
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +5 -1
- package/dist/packages/components/Workflow/biz-logic/leave/get-construction-org/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-construction-org/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-construction-org/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +36 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-end/index.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-end/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/reform/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/reform/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/reform/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/sign-receipt/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/sign-receipt/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/sign-receipt/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/endUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +36 -0
- package/dist/packages/components/Workflow/slots.d.ts +9 -0
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/dist/packages/components/Workflow/biz-logic/leave/approval/util.d.ts +0 -10
@@ -6,10 +6,14 @@ export declare const ELE_GET_USER_INFO = "GET_USER_INFO";
|
|
6
6
|
export declare const ELE_GET_SINGLE_USER = "GET_SINGLE_USER";
|
7
7
|
export declare const ELE_GET_MULTI_USER = "GET_MULTI_USER";
|
8
8
|
export declare const ELE_GET_SUPERVISORY_ORG = "GET_SUPERVISORY_ORG";
|
9
|
+
export declare const ELE_GET_CONSTRUCTION_ORG = "GET_CONSTRUCTION_ORG";
|
9
10
|
export declare const ELE_COUNTER_SIGN = "COUNTER_SIGN";
|
10
11
|
export declare const ELE_APPROVAL = "APPROVAL";
|
12
|
+
export declare const ELE_SIGN_RECEIPT = "SIGN_RECEIPT";
|
13
|
+
export declare const ELE_REFORM = "REFORM";
|
11
14
|
export declare const ELE_LEAVE_GATEWAY = "LEAVE_GATEWAY";
|
12
15
|
export declare const ELE_SET_WORK_STATUS = "SET_WORK_STATUS";
|
16
|
+
export declare const ELE_LEAVE_END = "LEAVE_END";
|
13
17
|
export declare const GET_USER_TYPES: {
|
14
18
|
CREATOR: string;
|
15
19
|
USER_ID: string;
|
@@ -24,7 +28,7 @@ export declare const GET_USER_TYPES_OPTIONS: {
|
|
24
28
|
}[];
|
25
29
|
export declare const GET_ORG_TYPES: {
|
26
30
|
ORG_ID: string;
|
27
|
-
|
31
|
+
GET_ORG_TASK_OUTPUT: string;
|
28
32
|
UNKNOWN: string;
|
29
33
|
};
|
30
34
|
export declare const GET_ORG_TYPES_OPTIONS: {
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type Create from 'diagram-js/lib/features/create/Create';
|
2
|
+
import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
|
3
|
+
export declare const getConstructionOrgPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
4
|
+
"get-construction-org": {
|
5
|
+
group: string;
|
6
|
+
title: string;
|
7
|
+
imageUrl: any;
|
8
|
+
action: {
|
9
|
+
click: (event: any) => void;
|
10
|
+
dragstart: (event: any) => void;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
@@ -3,6 +3,15 @@ import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
|
|
3
3
|
import type { Element } from 'bpmn-js/lib/model/Types';
|
4
4
|
import type { DefineComponent } from 'vue';
|
5
5
|
export declare const getBizPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
6
|
+
"leave-end": {
|
7
|
+
group: string;
|
8
|
+
title: string;
|
9
|
+
imageUrl: any;
|
10
|
+
action: {
|
11
|
+
click: (event: any) => void;
|
12
|
+
dragstart: (event: any) => void;
|
13
|
+
};
|
14
|
+
};
|
6
15
|
"set-workflow-status": {
|
7
16
|
group: string;
|
8
17
|
title: string;
|
@@ -21,6 +30,24 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
|
|
21
30
|
dragstart: (event: any) => void;
|
22
31
|
};
|
23
32
|
};
|
33
|
+
"reform-user": {
|
34
|
+
group: string;
|
35
|
+
title: string;
|
36
|
+
imageUrl: any;
|
37
|
+
action: {
|
38
|
+
click: (event: any) => void;
|
39
|
+
dragstart: (event: any) => void;
|
40
|
+
};
|
41
|
+
};
|
42
|
+
"sign-receipt-user": {
|
43
|
+
group: string;
|
44
|
+
title: string;
|
45
|
+
imageUrl: any;
|
46
|
+
action: {
|
47
|
+
click: (event: any) => void;
|
48
|
+
dragstart: (event: any) => void;
|
49
|
+
};
|
50
|
+
};
|
24
51
|
"approval-user": {
|
25
52
|
group: string;
|
26
53
|
title: string;
|
@@ -66,6 +93,15 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
|
|
66
93
|
dragstart: (event: any) => void;
|
67
94
|
};
|
68
95
|
};
|
96
|
+
"get-construction-org": {
|
97
|
+
group: string;
|
98
|
+
title: string;
|
99
|
+
imageUrl: any;
|
100
|
+
action: {
|
101
|
+
click: (event: any) => void;
|
102
|
+
dragstart: (event: any) => void;
|
103
|
+
};
|
104
|
+
};
|
69
105
|
"get-supervisory-org": {
|
70
106
|
group: string;
|
71
107
|
title: string;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type Create from 'diagram-js/lib/features/create/Create';
|
2
|
+
import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
|
3
|
+
export declare const leaveEndPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
4
|
+
"leave-end": {
|
5
|
+
group: string;
|
6
|
+
title: string;
|
7
|
+
imageUrl: any;
|
8
|
+
action: {
|
9
|
+
click: (event: any) => void;
|
10
|
+
dragstart: (event: any) => void;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type Create from 'diagram-js/lib/features/create/Create';
|
2
|
+
import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
|
3
|
+
export declare const reformPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
4
|
+
"reform-user": {
|
5
|
+
group: string;
|
6
|
+
title: string;
|
7
|
+
imageUrl: any;
|
8
|
+
action: {
|
9
|
+
click: (event: any) => void;
|
10
|
+
dragstart: (event: any) => void;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type Create from 'diagram-js/lib/features/create/Create';
|
2
|
+
import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
|
3
|
+
export declare const signReceiptPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
4
|
+
"sign-receipt-user": {
|
5
|
+
group: string;
|
6
|
+
title: string;
|
7
|
+
imageUrl: any;
|
8
|
+
action: {
|
9
|
+
click: (event: any) => void;
|
10
|
+
dragstart: (event: any) => void;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
@@ -2,5 +2,7 @@ import type { Element } from 'bpmn-js/lib/model/Types';
|
|
2
2
|
import type { UserJSON } from '../types';
|
3
3
|
export declare const addTaskListenerItem: (element: Element, event: string, expression: string, fields?: FieldPropertyForm[]) => void;
|
4
4
|
export declare const initApprovalItems: (element: Element) => void;
|
5
|
+
export declare const initSignReceiptItems: (element: Element) => void;
|
6
|
+
export declare const initReformItems: (element: Element) => void;
|
5
7
|
export declare const getUserValue: (element: Element) => any;
|
6
8
|
export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
|
@@ -14,6 +14,15 @@ export default class CustomPaletteProvider extends PaletteProvider {
|
|
14
14
|
translate: (template: string, replacements?: TranslateReplacements | undefined) => string;
|
15
15
|
constructor(create: Create, elementFactory: ElementFactory<Connection, Label, Root, Shape>, globalConnect: GlobalConnect, handTool: HandTool, lassoTool: LassoTool, palette: Palette, spaceTool: BpmnSpaceTool, translate: (template: string, replacements?: TranslateReplacements | undefined) => string);
|
16
16
|
getPaletteEntries(): import("diagram-js/lib/features/palette/PaletteProvider").PaletteEntries & {
|
17
|
+
"leave-end": {
|
18
|
+
group: string;
|
19
|
+
title: string;
|
20
|
+
imageUrl: any;
|
21
|
+
action: {
|
22
|
+
click: (event: any) => void;
|
23
|
+
dragstart: (event: any) => void;
|
24
|
+
};
|
25
|
+
};
|
17
26
|
"set-workflow-status": {
|
18
27
|
group: string;
|
19
28
|
title: string;
|
@@ -32,6 +41,24 @@ export default class CustomPaletteProvider extends PaletteProvider {
|
|
32
41
|
dragstart: (event: any) => void;
|
33
42
|
};
|
34
43
|
};
|
44
|
+
"reform-user": {
|
45
|
+
group: string;
|
46
|
+
title: string;
|
47
|
+
imageUrl: any;
|
48
|
+
action: {
|
49
|
+
click: (event: any) => void;
|
50
|
+
dragstart: (event: any) => void;
|
51
|
+
};
|
52
|
+
};
|
53
|
+
"sign-receipt-user": {
|
54
|
+
group: string;
|
55
|
+
title: string;
|
56
|
+
imageUrl: any;
|
57
|
+
action: {
|
58
|
+
click: (event: any) => void;
|
59
|
+
dragstart: (event: any) => void;
|
60
|
+
};
|
61
|
+
};
|
35
62
|
"approval-user": {
|
36
63
|
group: string;
|
37
64
|
title: string;
|
@@ -77,6 +104,15 @@ export default class CustomPaletteProvider extends PaletteProvider {
|
|
77
104
|
dragstart: (event: any) => void;
|
78
105
|
};
|
79
106
|
};
|
107
|
+
"get-construction-org": {
|
108
|
+
group: string;
|
109
|
+
title: string;
|
110
|
+
imageUrl: any;
|
111
|
+
action: {
|
112
|
+
click: (event: any) => void;
|
113
|
+
dragstart: (event: any) => void;
|
114
|
+
};
|
115
|
+
};
|
80
116
|
"get-supervisory-org": {
|
81
117
|
group: string;
|
82
118
|
title: string;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare const SLOT_NAMES: {
|
2
|
+
readonly TOOLBAR_PREFIX: "TOOLBAR_PREFIX";
|
3
|
+
};
|
4
|
+
type SlotNames = keyof typeof SLOT_NAMES;
|
5
|
+
export declare const slotKeyName: (name: SlotNames) => string;
|
6
|
+
export declare const initSlotRegistry: () => void;
|
7
|
+
export declare const isSlotExist: (name: SlotNames) => boolean;
|
8
|
+
export declare const getSlotByName: (name: SlotNames) => unknown;
|
9
|
+
export {};
|