@szjy/workflow 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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
- }, "setModeler" | "setElement">>;
70
+ setMode: (modeInput: string) => void;
71
+ }, "setModeler" | "setElement" | "setMode">>;
69
72
  export default useModelerStore;