@szjy/workflow 0.1.13 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.mjs +46649 -42027
- package/dist/index.umd.js +1203 -989
- package/dist/packages/components/Workflow/contants.d.ts +4 -0
- package/dist/packages/components/Workflow/index.vue.d.ts +25 -4
- package/dist/packages/components/Workflow/main.vue.d.ts +18 -0
- package/dist/packages/components/Workflow/store/modeler.d.ts +4 -1
- package/dist/packages/components/Workflow/utils/discreteApi.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -29,3 +29,7 @@ export declare const LISTENER_ALLOWED_TYPES: string[];
|
|
29
29
|
export declare const USER_ASSIGN_PROP_KEYS: readonly ["assignee", "candidateUsers", "candidateGroups", "dueDate", "followUpDate", "priority"];
|
30
30
|
export declare const MULTIINSTANCE_PROP_KEYS: readonly ["loopCardinality", "completionCondition", "collection", "elementVariable"];
|
31
31
|
export declare const IMPLEMENTATION_PROP_KEYS: readonly ["", "class", "expression", "delegateExpression", "dmn", "external", "connector", "resultVariable"];
|
32
|
+
export declare const WORKFLOW_MODE: {
|
33
|
+
NORMAL: string;
|
34
|
+
PREVIEW: string;
|
35
|
+
};
|
@@ -1,15 +1,36 @@
|
|
1
1
|
import { getPermissionJSON, initXmlToStore, updateProcessId, setPermissionByFields, updatePermFields } from "./exposeApi";
|
2
2
|
import BpmnModeler from 'bpmn-js/lib/Modeler.js';
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
mode: {
|
5
|
+
type: StringConstructor;
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
height: {
|
9
|
+
type: StringConstructor;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
}, {
|
4
13
|
getWorkflowXml: () => Promise<string | undefined>;
|
5
14
|
initXmlToStore: typeof initXmlToStore;
|
6
15
|
updateProcessId: typeof updateProcessId;
|
7
16
|
getPermissionJSON: typeof getPermissionJSON;
|
8
17
|
setPermissionByFields: typeof setPermissionByFields;
|
9
18
|
updatePermFields: typeof updatePermFields;
|
10
|
-
},
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
11
20
|
init: (modeler: BpmnModeler) => void;
|
12
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
22
|
+
mode: {
|
23
|
+
type: StringConstructor;
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
height: {
|
27
|
+
type: StringConstructor;
|
28
|
+
default: string;
|
29
|
+
};
|
30
|
+
}>> & {
|
13
31
|
onInit?: ((modeler: BpmnModeler) => any) | undefined;
|
14
|
-
}, {
|
32
|
+
}, {
|
33
|
+
height: string;
|
34
|
+
mode: string;
|
35
|
+
}, {}>;
|
15
36
|
export default _default;
|
@@ -10,6 +10,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
type: PropType<string>;
|
11
11
|
default: string;
|
12
12
|
};
|
13
|
+
mode: {
|
14
|
+
type: PropType<string>;
|
15
|
+
default: string;
|
16
|
+
};
|
17
|
+
height: {
|
18
|
+
type: PropType<string>;
|
19
|
+
default: string;
|
20
|
+
};
|
13
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
14
22
|
"modeler-init": (modeler: BpmnModeler) => void;
|
15
23
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -17,9 +25,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
17
25
|
type: PropType<string>;
|
18
26
|
default: string;
|
19
27
|
};
|
28
|
+
mode: {
|
29
|
+
type: PropType<string>;
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
height: {
|
33
|
+
type: PropType<string>;
|
34
|
+
default: string;
|
35
|
+
};
|
20
36
|
}>> & {
|
21
37
|
"onModeler-init"?: ((modeler: BpmnModeler) => any) | undefined;
|
22
38
|
}, {
|
39
|
+
height: string;
|
23
40
|
label: string;
|
41
|
+
mode: string;
|
24
42
|
}, {}>;
|
25
43
|
export default _default;
|
@@ -23,6 +23,7 @@ declare const useModelerStore: import("pinia").StoreDefinition<"modeler", import
|
|
23
23
|
activeElementId: import("vue").Ref<string | undefined>;
|
24
24
|
setModeler: (modelerInput: Modeler | undefined) => void;
|
25
25
|
setElement: (element: Element | undefined) => void;
|
26
|
+
setMode: (modeInput: string) => void;
|
26
27
|
}, "modeler" | "moddle" | "modeling" | "canvas" | "elementRegistry" | "activeElement" | "activeElementId">>, Pick<{
|
27
28
|
modeler: import("vue").ShallowRef<Modeler | undefined>;
|
28
29
|
moddle: import("vue").ShallowRef<any>;
|
@@ -44,6 +45,7 @@ declare const useModelerStore: import("pinia").StoreDefinition<"modeler", import
|
|
44
45
|
activeElementId: import("vue").Ref<string | undefined>;
|
45
46
|
setModeler: (modelerInput: Modeler | undefined) => void;
|
46
47
|
setElement: (element: Element | undefined) => void;
|
48
|
+
setMode: (modeInput: string) => void;
|
47
49
|
}, never>, Pick<{
|
48
50
|
modeler: import("vue").ShallowRef<Modeler | undefined>;
|
49
51
|
moddle: import("vue").ShallowRef<any>;
|
@@ -65,5 +67,6 @@ declare const useModelerStore: import("pinia").StoreDefinition<"modeler", import
|
|
65
67
|
activeElementId: import("vue").Ref<string | undefined>;
|
66
68
|
setModeler: (modelerInput: Modeler | undefined) => void;
|
67
69
|
setElement: (element: Element | undefined) => void;
|
68
|
-
|
70
|
+
setMode: (modeInput: string) => void;
|
71
|
+
}, "setModeler" | "setElement" | "setMode">>;
|
69
72
|
export default useModelerStore;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const message: import("naive-ui").MessageApi, notification: import("naive-ui").NotificationApi, dialog: import("naive-ui").DialogApi, loadingBar: import("naive-ui/es/loading-bar/src/LoadingBarProvider").LoadingBarInst, modal: import("naive-ui").ModalApi;
|
2
|
+
export { message, notification, dialog, loadingBar, modal };
|