@szjy/workflow 0.1.23 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.mjs +18175 -18032
- package/dist/index.umd.js +205 -205
- package/dist/packages/components/Workflow/biz-logic/esign/FormEsignProperty.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +1 -1
- package/dist/packages/components/Workflow/exposeApi.d.ts +8 -0
- package/dist/packages/components/Workflow/index.vue.d.ts +3 -1
- package/dist/packages/components/Workflow/store/esign/index.d.ts +53 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -4,7 +4,7 @@ export declare const addTaskListenerItem: (element: Element, event: string, expr
|
|
4
4
|
export declare const initApprovalItems: (element: Element) => void;
|
5
5
|
export declare const initSignReceiptItems: (element: Element) => void;
|
6
6
|
export declare const initReformItems: (element: Element) => void;
|
7
|
-
export declare const getUserValue: (element: Element) =>
|
7
|
+
export declare const getUserValue: (element: Element) => UserJSON;
|
8
8
|
export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
|
9
9
|
export declare const KEY_ADD_TO_AFTER_REFORM_TASK = "addToMyCompleteAfterReformTask";
|
10
10
|
export declare const getReformTaskFieldValue: (element: Element) => boolean;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { FieldItemType, FieldPermissionConfigMapNode, PermissionJSONLike } from "./store/permission/constants";
|
2
|
+
import { EsignJSONLike } from './store/esign';
|
2
3
|
export declare const getWorkflowXml: () => Promise<string | undefined>;
|
3
4
|
export declare function initXmlToStore(xml: string): Promise<void>;
|
4
5
|
export declare function updateProcessId(processId: string): void;
|
@@ -8,3 +9,10 @@ export declare function getPermissionJSON(): {
|
|
8
9
|
};
|
9
10
|
export declare function setPermissionByFields(permissonJSON: PermissionJSONLike, fields: FieldItemType[]): void;
|
10
11
|
export declare function updatePermFields(fields: FieldItemType[]): void;
|
12
|
+
export declare function getEsignJSON(): {
|
13
|
+
initEsignConfig: {};
|
14
|
+
taskToEsignConfigMap: {
|
15
|
+
[key: string]: import("./store/esign").EsignConfig;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
export declare function setEsignConfig(esignJSON: EsignJSONLike): void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { getPermissionJSON, initXmlToStore, updateProcessId, setPermissionByFields, updatePermFields } from "./exposeApi";
|
1
|
+
import { getPermissionJSON, initXmlToStore, updateProcessId, setPermissionByFields, updatePermFields, getEsignJSON, setEsignConfig } from "./exposeApi";
|
2
2
|
import BpmnModeler from 'bpmn-js/lib/Modeler.js';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
4
|
mode: {
|
@@ -16,6 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
16
16
|
getPermissionJSON: typeof getPermissionJSON;
|
17
17
|
setPermissionByFields: typeof setPermissionByFields;
|
18
18
|
updatePermFields: typeof updatePermFields;
|
19
|
+
getEsignJSON: typeof getEsignJSON;
|
20
|
+
setEsignConfig: typeof setEsignConfig;
|
19
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
20
22
|
init: (modeler: BpmnModeler) => void;
|
21
23
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -0,0 +1,53 @@
|
|
1
|
+
export type EsignConfig = {
|
2
|
+
needSign?: boolean;
|
3
|
+
needSeal?: boolean;
|
4
|
+
};
|
5
|
+
type TaskIdMapEsignConfig = {
|
6
|
+
[key: string]: EsignConfig;
|
7
|
+
};
|
8
|
+
declare const EDITABLE_KEY = "taskToEsignConfigMap";
|
9
|
+
export type EsignJSONLike = {
|
10
|
+
[EDITABLE_KEY]?: TaskIdMapEsignConfig;
|
11
|
+
[key: string]: any;
|
12
|
+
};
|
13
|
+
declare const useEsignStore: import("pinia").StoreDefinition<"esign", import("pinia")._UnwrapAll<Pick<{
|
14
|
+
allTaskEsignMap: import("vue").Ref<TaskIdMapEsignConfig>;
|
15
|
+
curNodeId: import("vue").Ref<string>;
|
16
|
+
setCurNodeId: (id?: string) => void;
|
17
|
+
setTaskConfig: (id?: string, config?: EsignConfig) => void;
|
18
|
+
curTaskMap: import("vue").ComputedRef<any>;
|
19
|
+
getTaskConfig: (id?: string) => EsignConfig;
|
20
|
+
updateEsingConfig: (newConfig?: EsignConfig) => void;
|
21
|
+
getEsignJSON: () => {
|
22
|
+
initEsignConfig: {};
|
23
|
+
taskToEsignConfigMap: TaskIdMapEsignConfig;
|
24
|
+
};
|
25
|
+
initFromEsignJSON: (json: EsignJSONLike) => void;
|
26
|
+
}, "curNodeId" | "allTaskEsignMap">>, Pick<{
|
27
|
+
allTaskEsignMap: import("vue").Ref<TaskIdMapEsignConfig>;
|
28
|
+
curNodeId: import("vue").Ref<string>;
|
29
|
+
setCurNodeId: (id?: string) => void;
|
30
|
+
setTaskConfig: (id?: string, config?: EsignConfig) => void;
|
31
|
+
curTaskMap: import("vue").ComputedRef<any>;
|
32
|
+
getTaskConfig: (id?: string) => EsignConfig;
|
33
|
+
updateEsingConfig: (newConfig?: EsignConfig) => void;
|
34
|
+
getEsignJSON: () => {
|
35
|
+
initEsignConfig: {};
|
36
|
+
taskToEsignConfigMap: TaskIdMapEsignConfig;
|
37
|
+
};
|
38
|
+
initFromEsignJSON: (json: EsignJSONLike) => void;
|
39
|
+
}, "curTaskMap">, Pick<{
|
40
|
+
allTaskEsignMap: import("vue").Ref<TaskIdMapEsignConfig>;
|
41
|
+
curNodeId: import("vue").Ref<string>;
|
42
|
+
setCurNodeId: (id?: string) => void;
|
43
|
+
setTaskConfig: (id?: string, config?: EsignConfig) => void;
|
44
|
+
curTaskMap: import("vue").ComputedRef<any>;
|
45
|
+
getTaskConfig: (id?: string) => EsignConfig;
|
46
|
+
updateEsingConfig: (newConfig?: EsignConfig) => void;
|
47
|
+
getEsignJSON: () => {
|
48
|
+
initEsignConfig: {};
|
49
|
+
taskToEsignConfigMap: TaskIdMapEsignConfig;
|
50
|
+
};
|
51
|
+
initFromEsignJSON: (json: EsignJSONLike) => void;
|
52
|
+
}, "setCurNodeId" | "setTaskConfig" | "getTaskConfig" | "updateEsingConfig" | "getEsignJSON" | "initFromEsignJSON">>;
|
53
|
+
export default useEsignStore;
|