@szjy/workflow 0.1.4 → 0.1.6

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.
Files changed (20) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.mjs +21481 -21364
  3. package/dist/index.umd.js +231 -231
  4. package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +3 -0
  5. package/dist/packages/components/Workflow/biz-logic/leave/get-construction-org/index.d.ts +3 -0
  6. package/dist/packages/components/Workflow/biz-logic/leave/get-construction-org/palette.d.ts +13 -0
  7. package/dist/packages/components/Workflow/biz-logic/leave/get-construction-org/property.vue.d.ts +2 -0
  8. package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +27 -0
  9. package/dist/packages/components/Workflow/biz-logic/leave/multi-sign-receipt/index.d.ts +3 -0
  10. package/dist/packages/components/Workflow/biz-logic/leave/multi-sign-receipt/palette.d.ts +13 -0
  11. package/dist/packages/components/Workflow/biz-logic/leave/multi-sign-receipt/property.vue.d.ts +2 -0
  12. package/dist/packages/components/Workflow/biz-logic/leave/sign-receipt/index.d.ts +3 -0
  13. package/dist/packages/components/Workflow/biz-logic/leave/sign-receipt/palette.d.ts +13 -0
  14. package/dist/packages/components/Workflow/biz-logic/leave/sign-receipt/property.vue.d.ts +2 -0
  15. package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +1 -0
  16. package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +1 -0
  17. package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +27 -0
  18. package/dist/packages/components/Workflow/slots.d.ts +9 -0
  19. package/dist/style.css +1 -1
  20. package/package.json +1 -1
@@ -6,8 +6,11 @@ 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";
11
+ export declare const ELE_MULTI_SIGN_RECEIPT = "MULTI_SIGN_RECEIPT";
10
12
  export declare const ELE_APPROVAL = "APPROVAL";
13
+ export declare const ELE_SIGN_RECEIPT = "SIGN_RECEIPT";
11
14
  export declare const ELE_REFORM = "REFORM";
12
15
  export declare const ELE_LEAVE_GATEWAY = "LEAVE_GATEWAY";
13
16
  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,24 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
39
39
  dragstart: (event: any) => void;
40
40
  };
41
41
  };
42
+ "multi-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
+ };
51
+ "sign-receipt-user": {
52
+ group: string;
53
+ title: string;
54
+ imageUrl: any;
55
+ action: {
56
+ click: (event: any) => void;
57
+ dragstart: (event: any) => void;
58
+ };
59
+ };
42
60
  "approval-user": {
43
61
  group: string;
44
62
  title: string;
@@ -84,6 +102,15 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
84
102
  dragstart: (event: any) => void;
85
103
  };
86
104
  };
105
+ "get-construction-org": {
106
+ group: string;
107
+ title: string;
108
+ imageUrl: any;
109
+ action: {
110
+ click: (event: any) => void;
111
+ dragstart: (event: any) => void;
112
+ };
113
+ };
87
114
  "get-supervisory-org": {
88
115
  group: string;
89
116
  title: string;
@@ -0,0 +1,3 @@
1
+ export * from './palette';
2
+ import MultiSignReceiptProperty from './property.vue';
3
+ export { MultiSignReceiptProperty };
@@ -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 multiSignReceiptPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
4
+ "multi-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;
@@ -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;
@@ -7,6 +7,7 @@ export declare const DEFAULT_COMPLETE_CONDITION: {
7
7
  maxRejectedCount: number;
8
8
  };
9
9
  export declare const initCounterSignrItems: (element: Element) => void;
10
+ export declare const initMultiSignReceiptItems: (element: Element) => void;
10
11
  export declare const getUserValue: (element: Element) => any;
11
12
  export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
12
13
  export declare const getConditionValue: (element: Element) => any;
@@ -50,6 +50,24 @@ export default class CustomPaletteProvider extends PaletteProvider {
50
50
  dragstart: (event: any) => void;
51
51
  };
52
52
  };
53
+ "multi-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
+ };
62
+ "sign-receipt-user": {
63
+ group: string;
64
+ title: string;
65
+ imageUrl: any;
66
+ action: {
67
+ click: (event: any) => void;
68
+ dragstart: (event: any) => void;
69
+ };
70
+ };
53
71
  "approval-user": {
54
72
  group: string;
55
73
  title: string;
@@ -95,6 +113,15 @@ export default class CustomPaletteProvider extends PaletteProvider {
95
113
  dragstart: (event: any) => void;
96
114
  };
97
115
  };
116
+ "get-construction-org": {
117
+ group: string;
118
+ title: string;
119
+ imageUrl: any;
120
+ action: {
121
+ click: (event: any) => void;
122
+ dragstart: (event: any) => void;
123
+ };
124
+ };
98
125
  "get-supervisory-org": {
99
126
  group: string;
100
127
  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 {};