@szjy/workflow 0.1.4 → 0.1.5

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.
@@ -6,8 +6,10 @@ 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";
11
13
  export declare const ELE_REFORM = "REFORM";
12
14
  export declare const ELE_LEAVE_GATEWAY = "LEAVE_GATEWAY";
13
15
  export declare const ELE_SET_WORK_STATUS = "SET_WORK_STATUS";
@@ -0,0 +1,3 @@
1
+ export * from './palette';
2
+ import GetConstructionOrgProperty from './property.vue';
3
+ export { GetConstructionOrgProperty };
@@ -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
+ };
@@ -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;
@@ -39,6 +39,15 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
39
39
  dragstart: (event: any) => void;
40
40
  };
41
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
+ };
42
51
  "approval-user": {
43
52
  group: string;
44
53
  title: string;
@@ -84,6 +93,15 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
84
93
  dragstart: (event: any) => void;
85
94
  };
86
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
+ };
87
105
  "get-supervisory-org": {
88
106
  group: string;
89
107
  title: string;
@@ -0,0 +1,3 @@
1
+ export * from './palette';
2
+ import SignReceiptProperty from './property.vue';
3
+ export { SignReceiptProperty };
@@ -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
+ };
@@ -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,6 +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;
5
6
  export declare const initReformItems: (element: Element) => void;
6
7
  export declare const getUserValue: (element: Element) => any;
7
8
  export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
@@ -50,6 +50,15 @@ export default class CustomPaletteProvider extends PaletteProvider {
50
50
  dragstart: (event: any) => void;
51
51
  };
52
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
+ };
53
62
  "approval-user": {
54
63
  group: string;
55
64
  title: string;
@@ -95,6 +104,15 @@ export default class CustomPaletteProvider extends PaletteProvider {
95
104
  dragstart: (event: any) => void;
96
105
  };
97
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
+ };
98
116
  "get-supervisory-org": {
99
117
  group: string;
100
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 {};