@szjy/workflow 0.1.3 → 0.1.4

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.
@@ -8,8 +8,10 @@ export declare const ELE_GET_MULTI_USER = "GET_MULTI_USER";
8
8
  export declare const ELE_GET_SUPERVISORY_ORG = "GET_SUPERVISORY_ORG";
9
9
  export declare const ELE_COUNTER_SIGN = "COUNTER_SIGN";
10
10
  export declare const ELE_APPROVAL = "APPROVAL";
11
+ export declare const ELE_REFORM = "REFORM";
11
12
  export declare const ELE_LEAVE_GATEWAY = "LEAVE_GATEWAY";
12
13
  export declare const ELE_SET_WORK_STATUS = "SET_WORK_STATUS";
14
+ export declare const ELE_LEAVE_END = "LEAVE_END";
13
15
  export declare const GET_USER_TYPES: {
14
16
  CREATOR: string;
15
17
  USER_ID: string;
@@ -24,7 +26,7 @@ export declare const GET_USER_TYPES_OPTIONS: {
24
26
  }[];
25
27
  export declare const GET_ORG_TYPES: {
26
28
  ORG_ID: string;
27
- GET_TASK_OUTPUT: string;
29
+ GET_ORG_TASK_OUTPUT: string;
28
30
  UNKNOWN: string;
29
31
  };
30
32
  export declare const GET_ORG_TYPES_OPTIONS: {
@@ -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,15 @@ 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
+ };
24
42
  "approval-user": {
25
43
  group: string;
26
44
  title: string;
@@ -0,0 +1,2 @@
1
+ export * from './palette';
2
+ export {};
@@ -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,3 @@
1
+ export * from './palette';
2
+ import ReformProperty from './property.vue';
3
+ export { ReformProperty };
@@ -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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -2,5 +2,6 @@ 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 initReformItems: (element: Element) => void;
5
6
  export declare const getUserValue: (element: Element) => any;
6
7
  export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
@@ -0,0 +1,3 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare const addExecutionListenerItem: (element: Element, event: string, expression: string, fields?: FieldPropertyForm[]) => void;
3
+ export declare const initLeaveEndItems: (element: Element) => 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,15 @@ 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
+ };
35
53
  "approval-user": {
36
54
  group: string;
37
55
  title: string;