@szjy/workflow 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. package/README.md +25 -0
  2. package/dist/index.d.ts +2 -1
  3. package/dist/index.mjs +127748 -0
  4. package/dist/index.umd.js +4129 -95
  5. package/dist/packages/components/Hello/component.d.ts +2 -0
  6. package/dist/packages/components/Workflow/PropertyPanel/index.vue.d.ts +2 -0
  7. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementAsyncContinuations.vue.d.ts +2 -0
  8. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementCandidateStarter.vue.d.ts +2 -0
  9. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementConditional.vue.d.ts +2 -0
  10. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementDocumentations.vue.d.ts +2 -0
  11. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementExtensionProperties.vue.d.ts +2 -0
  12. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFieldInjection.vue.d.ts +2 -0
  13. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFormType.vue.d.ts +2 -0
  14. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementGenerations.vue.d.ts +2 -0
  15. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementHOC.d.ts +12 -0
  16. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementImplementation.vue.d.ts +2 -0
  17. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementJobExecution.vue.d.ts +2 -0
  18. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementListeners.vue.d.ts +14 -0
  19. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementMultiInstance.vue.d.ts +2 -0
  20. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementStartInitiator.vue.d.ts +2 -0
  21. package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementUserAssignment.vue.d.ts +2 -0
  22. package/dist/packages/components/Workflow/PropertyPanel/ui/FieldList.vue.d.ts +36 -0
  23. package/dist/packages/components/Workflow/PropertyPanel/ui/HasEdit.vue.d.ts +2 -0
  24. package/dist/packages/components/Workflow/PropertyPanel/ui/JsonEditor.vue.d.ts +14 -0
  25. package/dist/packages/components/Workflow/Toolbar.vue.d.ts +2 -0
  26. package/dist/packages/components/Workflow/biz-logic/form-permissions/FormPermissionProperty.vue.d.ts +2 -0
  27. package/dist/packages/components/Workflow/biz-logic/form-permissions/util.d.ts +2 -0
  28. package/dist/packages/components/Workflow/biz-logic/leave/approval/index.d.ts +3 -0
  29. package/dist/packages/components/Workflow/biz-logic/leave/approval/palette.d.ts +13 -0
  30. package/dist/packages/components/Workflow/biz-logic/leave/approval/property.vue.d.ts +2 -0
  31. package/dist/packages/components/Workflow/biz-logic/leave/approval/util.d.ts +10 -0
  32. package/dist/packages/components/Workflow/biz-logic/leave/common/CounterSignProperty.vue.d.ts +15 -0
  33. package/dist/packages/components/Workflow/biz-logic/leave/common/GatewayLineProperty.vue.d.ts +35 -0
  34. package/dist/packages/components/Workflow/biz-logic/leave/common/OrgTitleConfigProperty.vue.d.ts +24 -0
  35. package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts +35 -0
  36. package/dist/packages/components/Workflow/biz-logic/leave/common/WorkflowStatusProperty.vue.d.ts +15 -0
  37. package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +110 -0
  38. package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/index.d.ts +3 -0
  39. package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/palette.d.ts +13 -0
  40. package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/property.vue.d.ts +2 -0
  41. package/dist/packages/components/Workflow/biz-logic/leave/get-company/index.d.ts +3 -0
  42. package/dist/packages/components/Workflow/biz-logic/leave/get-company/palette.d.ts +13 -0
  43. package/dist/packages/components/Workflow/biz-logic/leave/get-company/property.vue.d.ts +2 -0
  44. package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/index.d.ts +3 -0
  45. package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/palette.d.ts +13 -0
  46. package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/property.vue.d.ts +2 -0
  47. package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/index.d.ts +3 -0
  48. package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/palette.d.ts +13 -0
  49. package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/property.vue.d.ts +2 -0
  50. package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/index.d.ts +3 -0
  51. package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/palette.d.ts +13 -0
  52. package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/property.vue.d.ts +2 -0
  53. package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/index.d.ts +3 -0
  54. package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/palette.d.ts +13 -0
  55. package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/property.vue.d.ts +2 -0
  56. package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +93 -0
  57. package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/index.d.ts +3 -0
  58. package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/palette.d.ts +13 -0
  59. package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/property.vue.d.ts +2 -0
  60. package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/index.d.ts +3 -0
  61. package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/palette.d.ts +13 -0
  62. package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/property.vue.d.ts +2 -0
  63. package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +42 -0
  64. package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +6 -0
  65. package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +13 -0
  66. package/dist/packages/components/Workflow/biz-logic/leave/utils/findElementUtil.d.ts +2 -0
  67. package/dist/packages/components/Workflow/biz-logic/leave/utils/gatewayUtil.d.ts +6 -0
  68. package/dist/packages/components/Workflow/biz-logic/leave/utils/orgUtil.d.ts +5 -0
  69. package/dist/packages/components/Workflow/biz-logic/leave/utils/titleUtil.d.ts +5 -0
  70. package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +15 -0
  71. package/dist/packages/components/Workflow/biz-logic/leave/utils/workStatusUtil.d.ts +5 -0
  72. package/dist/packages/components/Workflow/bpmn-icons/getIconType.d.ts +2 -0
  73. package/dist/packages/components/Workflow/bpmn-icons/index.d.ts +113 -0
  74. package/dist/packages/components/Workflow/component.d.ts +2 -0
  75. package/dist/packages/components/Workflow/components/biz/ConditionValueCreator.vue.d.ts +28 -0
  76. package/dist/packages/components/Workflow/components/biz/CounterSignSelector.vue.d.ts +49 -0
  77. package/dist/packages/components/Workflow/components/biz/GatewayConditionSelector.vue.d.ts +39 -0
  78. package/dist/packages/components/Workflow/components/biz/OrgTitleSelector.vue.d.ts +67 -0
  79. package/dist/packages/components/Workflow/components/biz/UserSelector.vue.d.ts +39 -0
  80. package/dist/packages/components/Workflow/components/common/BpmnIcon.vue.d.ts +23 -0
  81. package/dist/packages/components/Workflow/components/common/CollapseTitle.vue.d.ts +14 -0
  82. package/dist/packages/components/Workflow/components/common/EditItem.vue.d.ts +39 -0
  83. package/dist/packages/components/Workflow/contants.d.ts +31 -0
  84. package/dist/packages/components/Workflow/customTranslate/index.d.ts +1 -0
  85. package/dist/packages/components/Workflow/exposeApi.d.ts +14 -0
  86. package/dist/packages/components/Workflow/index.vue.d.ts +13 -0
  87. package/dist/packages/components/Workflow/main.vue.d.ts +25 -0
  88. package/dist/packages/components/Workflow/palette/CustomPalette.d.ts +13 -0
  89. package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +103 -0
  90. package/dist/packages/components/Workflow/palette/index.d.ts +11 -0
  91. package/dist/packages/components/Workflow/palette/replaceDefault.d.ts +1 -0
  92. package/dist/packages/components/Workflow/store/bpmn-utils/FieldInjectionPropertiesUtil.d.ts +10 -0
  93. package/dist/packages/components/Workflow/store/bpmn-utils/asynchronousContinuationsUtil.d.ts +8 -0
  94. package/dist/packages/components/Workflow/store/bpmn-utils/candidateStarter.d.ts +6 -0
  95. package/dist/packages/components/Workflow/store/bpmn-utils/conditionUtil.d.ts +27 -0
  96. package/dist/packages/components/Workflow/store/bpmn-utils/documentationUtil.d.ts +3 -0
  97. package/dist/packages/components/Workflow/store/bpmn-utils/executionListenersUtil.d.ts +14 -0
  98. package/dist/packages/components/Workflow/store/bpmn-utils/extensionPropertiesUtil.d.ts +4 -0
  99. package/dist/packages/components/Workflow/store/bpmn-utils/formTypeUtil.d.ts +4 -0
  100. package/dist/packages/components/Workflow/store/bpmn-utils/idUtil.d.ts +3 -0
  101. package/dist/packages/components/Workflow/store/bpmn-utils/implementationUtil.d.ts +12 -0
  102. package/dist/packages/components/Workflow/store/bpmn-utils/initiatorUtil.d.ts +5 -0
  103. package/dist/packages/components/Workflow/store/bpmn-utils/jobExecutionUtil.d.ts +8 -0
  104. package/dist/packages/components/Workflow/store/bpmn-utils/listenersUtil.d.ts +16 -0
  105. package/dist/packages/components/Workflow/store/bpmn-utils/multiInstanceUtil.d.ts +8 -0
  106. package/dist/packages/components/Workflow/store/bpmn-utils/nameUtil.d.ts +3 -0
  107. package/dist/packages/components/Workflow/store/bpmn-utils/processUtil.d.ts +5 -0
  108. package/dist/packages/components/Workflow/store/bpmn-utils/scriptUtil.d.ts +3 -0
  109. package/dist/packages/components/Workflow/store/bpmn-utils/userAssignmentUtil.d.ts +8 -0
  110. package/dist/packages/components/Workflow/store/instance.d.ts +1 -0
  111. package/dist/packages/components/Workflow/store/modeler.d.ts +69 -0
  112. package/dist/packages/components/Workflow/store/permission/constants.d.ts +41 -0
  113. package/dist/packages/components/Workflow/store/permission/index.d.ts +27 -0
  114. package/dist/packages/components/Workflow/store/useElementUpdateListener.d.ts +1 -0
  115. package/dist/packages/components/Workflow/types/utils.d.ts +5 -0
  116. package/dist/packages/components/Workflow/utils/BpmnAsyncElement.d.ts +4 -0
  117. package/dist/packages/components/Workflow/utils/BpmnEventDefinitionUtil.d.ts +29 -0
  118. package/dist/packages/components/Workflow/utils/BpmnExtensionElementsUtil.d.ts +14 -0
  119. package/dist/packages/components/Workflow/utils/BpmnImplementationType.d.ts +27 -0
  120. package/dist/packages/components/Workflow/utils/BpmnValidator.d.ts +13 -0
  121. package/dist/packages/components/Workflow/utils/ElementUtil.d.ts +23 -0
  122. package/dist/packages/components/Workflow/utils/Logger.d.ts +13 -0
  123. package/dist/packages/components/Workflow/utils/common.d.ts +3 -0
  124. package/dist/packages/components/Workflow/utils/emitter.d.ts +8 -0
  125. package/dist/packages/components/Workflow/utils/parseBizString.d.ts +23 -0
  126. package/dist/packages/components/Workflow/xml.d.ts +1 -0
  127. package/dist/packages/components/components.d.ts +2 -0
  128. package/dist/packages/components/contants.d.ts +2 -0
  129. package/dist/packages/components/create.d.ts +13 -0
  130. package/dist/packages/components/installer.d.ts +2 -0
  131. package/dist/packages/i18n/en_US/configForm.d.ts +33 -0
  132. package/dist/packages/i18n/en_US/elements/events.d.ts +49 -0
  133. package/dist/packages/i18n/en_US/elements/gateway.d.ts +14 -0
  134. package/dist/packages/i18n/en_US/elements/other.d.ts +184 -0
  135. package/dist/packages/i18n/en_US/elements/tasks.d.ts +28 -0
  136. package/dist/packages/i18n/en_US/index.d.ts +394 -0
  137. package/dist/packages/i18n/en_US/lint.d.ts +5 -0
  138. package/dist/packages/i18n/en_US/panel.d.ts +88 -0
  139. package/dist/packages/i18n/en_US/toolbar.d.ts +28 -0
  140. package/dist/packages/i18n/index.d.ts +790 -0
  141. package/dist/packages/i18n/zh_CN/configForm.d.ts +33 -0
  142. package/dist/packages/i18n/zh_CN/elements/events.d.ts +49 -0
  143. package/dist/packages/i18n/zh_CN/elements/gateway.d.ts +14 -0
  144. package/dist/packages/i18n/zh_CN/elements/other.d.ts +184 -0
  145. package/dist/packages/i18n/zh_CN/elements/tasks.d.ts +28 -0
  146. package/dist/packages/i18n/zh_CN/index.d.ts +394 -0
  147. package/dist/packages/i18n/zh_CN/lint.d.ts +5 -0
  148. package/dist/packages/i18n/zh_CN/panel.d.ts +88 -0
  149. package/dist/packages/i18n/zh_CN/toolbar.d.ts +28 -0
  150. package/dist/style.css +1 -0
  151. package/dist/vanilla-picker-CWMPCyEj.mjs +539 -0
  152. package/package.json +24 -5
  153. package/dist/packages/components/index.d.ts +0 -3
@@ -0,0 +1,39 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ textAlign: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ validator: (val: string) => boolean;
10
+ };
11
+ labelWidth: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ }, unknown, unknown, {
16
+ labelStyle(): {
17
+ width: string;
18
+ textAlign: "center";
19
+ };
20
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ label: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ textAlign: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ validator: (val: string) => boolean;
29
+ };
30
+ labelWidth: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ };
34
+ }>>, {
35
+ label: string;
36
+ labelWidth: number;
37
+ textAlign: string;
38
+ }, {}>;
39
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import type { GetValuesFromArray } from "./types/utils";
2
+ export declare const ACTIVIT_PREFIX = "activiti";
3
+ export declare const LISTEN_TYPE_OPTIONS: import("vue").Ref<({
4
+ label: string;
5
+ value: "class";
6
+ } | {
7
+ label: string;
8
+ value: "expression";
9
+ } | {
10
+ label: string;
11
+ value: "delegateExpression";
12
+ } | {
13
+ label: string;
14
+ value: "script";
15
+ })[]>;
16
+ export type ListenerTypeLiteral = GetValuesFromArray<typeof LISTEN_TYPE_OPTIONS.value, 'value'>;
17
+ export declare const SCRIPT_TYPE_OPTIONS: import("vue").Ref<({
18
+ label: string;
19
+ value: "external";
20
+ } | {
21
+ label: string;
22
+ value: "inline";
23
+ } | {
24
+ label: string;
25
+ value: "none";
26
+ })[]>;
27
+ export type ScriptTypeLiteral = GetValuesFromArray<typeof SCRIPT_TYPE_OPTIONS.value, 'value'>;
28
+ export declare const LISTENER_ALLOWED_TYPES: string[];
29
+ export declare const USER_ASSIGN_PROP_KEYS: readonly ["assignee", "candidateUsers", "candidateGroups", "dueDate", "followUpDate", "priority"];
30
+ export declare const MULTIINSTANCE_PROP_KEYS: readonly ["loopCardinality", "completionCondition", "collection", "elementVariable"];
31
+ export declare const IMPLEMENTATION_PROP_KEYS: readonly ["", "class", "expression", "delegateExpression", "dmn", "external", "connector", "resultVariable"];
@@ -0,0 +1 @@
1
+ export declare function customTranslate(template: string, replacements?: Record<string, string>): string;
@@ -0,0 +1,14 @@
1
+ export declare const getWorkflowXml: () => Promise<string | undefined>;
2
+ export declare function getPermissionJSON(): {
3
+ createFieldPermission: {
4
+ assigneeFieldPermissionMap: {
5
+ [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
6
+ };
7
+ othersFieldPermissionMap: {
8
+ [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
9
+ };
10
+ };
11
+ taskToFieldPermissionMap: any;
12
+ };
13
+ export declare function initXmlToStore(xml: string): Promise<void>;
14
+ export declare function updateProcessId(processId: string): void;
@@ -0,0 +1,13 @@
1
+ import { getPermissionJSON, initXmlToStore, updateProcessId } from "./exposeApi";
2
+ import BpmnModeler from 'bpmn-js/lib/Modeler.js';
3
+ declare const _default: import("vue").DefineComponent<{}, {
4
+ getWorkflowXml: () => Promise<string | undefined>;
5
+ getPermissionJSON: typeof getPermissionJSON;
6
+ initXmlToStore: typeof initXmlToStore;
7
+ updateProcessId: typeof updateProcessId;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ init: (modeler: BpmnModeler) => void;
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
11
+ onInit?: ((modeler: BpmnModeler) => any) | undefined;
12
+ }, {}, {}>;
13
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { PropType } from 'vue';
2
+ import BpmnModeler from 'bpmn-js/lib/Modeler.js';
3
+ import 'bpmn-js/dist/assets/diagram-js.css';
4
+ import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css';
5
+ import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css';
6
+ import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css';
7
+ import 'bpmn-js-properties-panel/dist/assets/properties-panel.css';
8
+ declare const _default: import("vue").DefineComponent<{
9
+ label: {
10
+ type: PropType<string>;
11
+ default: string;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "modeler-init": (modeler: BpmnModeler) => void;
15
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ label: {
17
+ type: PropType<string>;
18
+ default: string;
19
+ };
20
+ }>> & {
21
+ "onModeler-init"?: ((modeler: BpmnModeler) => any) | undefined;
22
+ }, {
23
+ label: string;
24
+ }, {}>;
25
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export declare function escapeCSS(str: string): string;
2
+ /**
3
+ * A palette containing modeling elements.
4
+ *
5
+ * @param {EventBus} eventBus
6
+ * @param {Canvas} canvas
7
+ */
8
+ declare function Palette(this: any, eventBus: any, canvas: any, elementFactory: any, create: any, paletteContainer: any, paletteEntries: any): void;
9
+ declare namespace Palette {
10
+ var $inject: string[];
11
+ var HTML_MARKUP: string;
12
+ }
13
+ export default Palette;
@@ -0,0 +1,103 @@
1
+ import PaletteProvider from "bpmn-js/lib/features/palette/PaletteProvider";
2
+ import type BpmnSpaceTool from 'bpmn-js/lib/features/space-tool/BpmnSpaceTool';
3
+ import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
4
+ import type Create from 'diagram-js/lib/features/create/Create';
5
+ import type GlobalConnect from 'diagram-js/lib/features/global-connect/GlobalConnect';
6
+ import type HandTool from 'diagram-js/lib/features/hand-tool/HandTool';
7
+ import type LassoTool from 'diagram-js/lib/features/lasso-tool/LassoTool';
8
+ import type Palette from 'diagram-js/lib/features/palette/Palette';
9
+ import type { TranslateReplacements } from 'diagram-js/lib/i18n/translate/translate';
10
+ import type { Connection, Label, Root, Shape } from 'diagram-js/lib/model/Types';
11
+ export default class CustomPaletteProvider extends PaletteProvider {
12
+ create: Create;
13
+ elementFactory: ElementFactory<Connection, Label, Root, Shape>;
14
+ translate: (template: string, replacements?: TranslateReplacements | undefined) => string;
15
+ constructor(create: Create, elementFactory: ElementFactory<Connection, Label, Root, Shape>, globalConnect: GlobalConnect, handTool: HandTool, lassoTool: LassoTool, palette: Palette, spaceTool: BpmnSpaceTool, translate: (template: string, replacements?: TranslateReplacements | undefined) => string);
16
+ getPaletteEntries(): import("diagram-js/lib/features/palette/PaletteProvider").PaletteEntries & {
17
+ "set-workflow-status": {
18
+ group: string;
19
+ title: string;
20
+ imageUrl: any;
21
+ action: {
22
+ click: (event: any) => void;
23
+ dragstart: (event: any) => void;
24
+ };
25
+ };
26
+ "leave-gateway": {
27
+ group: string;
28
+ title: string;
29
+ imageUrl: any;
30
+ action: {
31
+ click: (event: any) => void;
32
+ dragstart: (event: any) => void;
33
+ };
34
+ };
35
+ "approval-user": {
36
+ group: string;
37
+ title: string;
38
+ imageUrl: any;
39
+ action: {
40
+ click: (event: any) => void;
41
+ dragstart: (event: any) => void;
42
+ };
43
+ };
44
+ "counter-sign-user": {
45
+ group: string;
46
+ title: string;
47
+ imageUrl: any;
48
+ action: {
49
+ click: (event: any) => void;
50
+ dragstart: (event: any) => void;
51
+ };
52
+ };
53
+ "get-multi-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
+ "get-single-user": {
63
+ group: string;
64
+ title: string;
65
+ imageUrl: any;
66
+ action: {
67
+ click: (event: any) => void;
68
+ dragstart: (event: any) => void;
69
+ };
70
+ };
71
+ "get-user-info": {
72
+ group: string;
73
+ title: string;
74
+ imageUrl: any;
75
+ action: {
76
+ click: (event: any) => void;
77
+ dragstart: (event: any) => void;
78
+ };
79
+ };
80
+ "get-supervisory-org": {
81
+ group: string;
82
+ title: string;
83
+ imageUrl: any;
84
+ action: {
85
+ click: (event: any) => void;
86
+ dragstart: (event: any) => void;
87
+ };
88
+ };
89
+ "get-company": {
90
+ group: string;
91
+ title: string;
92
+ imageUrl: any;
93
+ action: {
94
+ click: (event: any) => void;
95
+ dragstart: (event: any) => void;
96
+ };
97
+ };
98
+ 'activity-separator': {
99
+ group: string;
100
+ separator: boolean;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,11 @@
1
+ import customPalette from './CustomPalette';
2
+ import PaletteProvider from './CustomPaletteProvider';
3
+ declare const _default: {
4
+ __depends__: {
5
+ __init__: string[];
6
+ palette: (string | typeof customPalette)[];
7
+ }[];
8
+ __init__: string[];
9
+ paletteProvider: (string | typeof PaletteProvider)[];
10
+ };
11
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const replaceDefaultPalette: () => void;
@@ -0,0 +1,10 @@
1
+ import type { Element, ModdleElement } from 'bpmn-js/lib/model/Types';
2
+ export declare function getFieldInjectionProperties(element: Element): ModdleElement[];
3
+ export declare function addFieldInParent(element: Element, parent: ModdleElement, property: FieldPropertyForm): void;
4
+ export declare function removeAllFieldInParent(element: Element, parent: ModdleElement): void;
5
+ export declare function addFieldProperty(element: Element, property: FieldPropertyForm): void;
6
+ export declare function removeFieldInjectionProperty(element: Element, property: ModdleElement): void;
7
+ export declare function updateField(element: Element, property: ModdleElement, props: FieldPropertyForm): void;
8
+ export declare function canFieldInjectable(element: Element): boolean;
9
+ export declare function updateFieldProperty(element: Element, field: ModdleElement, props: FieldPropertyForm): void;
10
+ export declare const toFormStyle: (field: BpmnFieldProperty) => FieldPropertyForm;
@@ -0,0 +1,8 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getACBefore(element: Element): boolean;
3
+ export declare function setACBefore(element: Element, value: boolean): void;
4
+ export declare function getACAfter(element: Element): boolean;
5
+ export declare function setACAfter(element: Element, value: boolean): void;
6
+ export declare function getACExclusive(element: Element): boolean;
7
+ export declare function setACExclusive(element: Element, value: boolean): void;
8
+ export declare function isAsynchronous(element: Element): boolean;
@@ -0,0 +1,6 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getCandidateStarterGroups(element: Element): string | undefined;
3
+ export declare function setCandidateStarterGroups(element: Element, value: string | undefined): void;
4
+ export declare function getCandidateStarterUsers(element: Element): string | undefined;
5
+ export declare function setCandidateStarterUsers(element: Element, value: string | undefined): void;
6
+ export declare function hasCandidateStarter(element: Element): boolean;
@@ -0,0 +1,27 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ import type { LiteralFromArray } from '../../types/utils';
3
+ declare const CONDITIONAL_SOURCES: readonly ["bpmn:Activity", "bpmn:ExclusiveGateway", "bpmn:InclusiveGateway", "bpmn:ComplexGateway"];
4
+ export type ConditionNodeType = LiteralFromArray<typeof CONDITIONAL_SOURCES>;
5
+ export declare function isConditionalSource(element: Element): boolean;
6
+ export declare function isSomeConditional(element: Element, type: ConditionNodeType): boolean;
7
+ export declare function isConditionEventDefinition(element: Element): boolean;
8
+ export declare function isExtendStartEvent(element: Element): boolean;
9
+ export declare function isCanbeConditional(element: Element): boolean;
10
+ export declare function getVariableNameValue(element: Element): string | undefined;
11
+ export declare function setVariableNameValue(element: Element, value: string | undefined): void;
12
+ export declare function getVariableEventsValue(element: Element): string | undefined;
13
+ export declare function setVariableEventsValue(element: Element, value: string | undefined): void;
14
+ export declare function getConditionTypeValue(element: Element): string;
15
+ export declare function setConditionTypeValue(element: Element, value: string): void;
16
+ export declare function getConditionExpressionValue(element: Element): string | undefined;
17
+ export declare function setConditionExpressionValue(element: Element, body: string | undefined): void;
18
+ export declare function getConditionScriptTypeValue(element: Element): string | undefined;
19
+ export declare function setConditionScriptTypeValue(element: Element, value: string | undefined): void;
20
+ export declare function getConditionScriptLanguageValue(element: Element): string | undefined;
21
+ export declare function setConditionScriptLanguageValue(element: Element, value: string | undefined): void;
22
+ export declare function getConditionScriptBodyValue(element: Element): string | undefined;
23
+ export declare function setConditionScriptBodyValue(element: Element, value: string | undefined): void;
24
+ export declare function getConditionScriptResourceValue(element: Element): string | undefined;
25
+ export declare function setConditionScriptResourceValue(element: Element, value: string | undefined): void;
26
+ export declare function getConditionTypeOptions(element: Element): Record<string, string>[];
27
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getDocumentValue(element: Element | undefined): string;
3
+ export declare function setDocumentValue(element: Element, value: string | undefined): void;
@@ -0,0 +1,14 @@
1
+ import type { Element, ModdleElement } from 'bpmn-js/lib/model/Types';
2
+ export declare function getExecutionListeners(element: Element): ModdleElement[];
3
+ export declare function addEmptyExtensionListener(element: Element): void;
4
+ export declare function addExecutionListener(element: Element, props: ExecutionListenerForm): void;
5
+ export declare function updateExecutionListener(element: Element, props: ExecutionListenerForm, listener: ModdleElement): void;
6
+ export declare function removeExecutionListener(element: Element, listener: ModdleElement): void;
7
+ export declare function isExecutable(element: Element): boolean;
8
+ export declare function getExecutionListenerType(listener: ModdleElement): string;
9
+ export declare function getListenersContainer(element: Element): ModdleElement;
10
+ export declare function getDefaultEvent(element: Element): "take" | "start";
11
+ export declare function getExecutionListenerTypes(element: Element): {
12
+ label: string;
13
+ value: string;
14
+ }[];
@@ -0,0 +1,4 @@
1
+ import type { Element, ModdleElement } from 'bpmn-js/lib/model/Types';
2
+ export declare function getExtensionProperties(element: Element): ModdleElement[];
3
+ export declare function addExtensionProperty(element: Element, property: Record<string, any>): void;
4
+ export declare function removeExtensionProperty(element: Element, property: ModdleElement): void;
@@ -0,0 +1,4 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getFormKey(element: Element): string | undefined;
3
+ export declare function setFormKey(element: Element, value: string | undefined): void;
4
+ export declare function isFormSupported(element: Element): boolean;
@@ -0,0 +1,3 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getIdValue(element: Element): string;
3
+ export declare function setIdValue(element: Element, value: string): import("naive-ui").MessageReactive | undefined;
@@ -0,0 +1,12 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ import { IMPLEMENTATION_PROP_KEYS } from '../../contants';
3
+ import type { LiteralFromArray } from '../../types/utils';
4
+ export type ImplementationProp = LiteralFromArray<typeof IMPLEMENTATION_PROP_KEYS>;
5
+ export declare const getTypeOptions: (element: Element) => {
6
+ value: string;
7
+ label: string;
8
+ }[];
9
+ export declare const setImplementationType: (element: Element, value: string) => void;
10
+ export declare function geImplementationPropValue<T>(element: Element, propKey: ImplementationProp): T;
11
+ export declare function getAllImplementationProps(element: Element): Record<ImplementationProp, any>;
12
+ export declare function setImplementationPropValue<T>(element: Element, propKey: ImplementationProp, value: T): void;
@@ -0,0 +1,5 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getInitiatorValue(element: Element): string | undefined;
3
+ export declare function setInitiatorValue(element: Element, value: string | undefined): void;
4
+ export declare function isStartInitializable(element: Element): boolean;
5
+ export declare function isUserAssignmentSupported(element: Element): boolean;
@@ -0,0 +1,8 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function retryTimeCycleVisible(element: Element): boolean;
3
+ export declare function taskPriorityVisible(element: Element): boolean;
4
+ export declare function isJobExecutable(element: Element): boolean;
5
+ export declare function getExternalTaskValue(element: Element): string | undefined;
6
+ export declare function setExternalTaskValue(element: Element, value: string | undefined): void;
7
+ export declare function getRetryTimeCycleValue(element: Element): string | undefined;
8
+ export declare function setRetryTimeCycleValue(element: Element, value: string | undefined): void;
@@ -0,0 +1,16 @@
1
+ import type { Element, ModdleElement } from 'bpmn-js/lib/model/Types';
2
+ export type ListenerElementType = 'TaskListener' | 'ExecutionListener';
3
+ export declare function getListenersByType(element: Element, elementType: ListenerElementType): ModdleElement[];
4
+ export declare function addEmptyExtensionListener(element: Element, elementType: ListenerElementType): void;
5
+ export declare function addListenerByType(element: Element, props: ListenerForm, elementType: ListenerElementType): void;
6
+ export declare function updateListenerByType(element: Element, props: ListenerForm, listener: ModdleElement, elementType: ListenerElementType): void;
7
+ export declare function removeListenerByType(element: Element, listener: ModdleElement): void;
8
+ export declare function hasTaskListeners(element: Element): boolean;
9
+ export declare function isExecutable(element: Element): boolean;
10
+ export declare function getListenerType(listener: ModdleElement, elementType: ListenerElementType): string;
11
+ export declare function getListenersContainer(element: Element): ModdleElement;
12
+ export declare function getListenerTypesOptions(element: Element, elementType: ListenerElementType): {
13
+ label: string;
14
+ value: string;
15
+ }[];
16
+ export declare function getDefaultEvent(element: Element, elementType: ListenerElementType): "create" | "take" | "start";
@@ -0,0 +1,8 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ import { MULTIINSTANCE_PROP_KEYS } from '../../contants';
3
+ import type { LiteralFromArray } from '../../types/utils';
4
+ export type MultiInstanceProp = LiteralFromArray<typeof MULTIINSTANCE_PROP_KEYS>;
5
+ export declare function getMultiInstancePropValue<T>(element: Element, propKey: MultiInstanceProp): T;
6
+ export declare function getAllMultiInstanceProps(element: Element): Record<MultiInstanceProp, any>;
7
+ export declare function setMultiInstancePropValue<T>(element: Element, propKey: MultiInstanceProp, value: T): void;
8
+ export declare function isMultiInstanceSupported(element: Element): boolean;
@@ -0,0 +1,3 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getNameValue(element: Element): string | undefined;
3
+ export declare function setNameValue(element: Element, value: string): void;
@@ -0,0 +1,5 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ export declare function getProcessExecutable(element: Element): boolean;
3
+ export declare function setProcessExecutable(element: Element, value: boolean): void;
4
+ export declare function getProcessVersionTag(element: Element): string | undefined;
5
+ export declare function setProcessVersionTag(element: Element, value: string): void;
@@ -0,0 +1,3 @@
1
+ import type { ModdleElement } from 'bpmn-js/lib/model/Types';
2
+ export declare function createScript(props: ScriptForm): ModdleElement;
3
+ export declare function getScriptType(script: ModdleElement & BpmnScript): string;
@@ -0,0 +1,8 @@
1
+ import type { Element } from 'bpmn-js/lib/model/Types';
2
+ import { USER_ASSIGN_PROP_KEYS } from '../../contants';
3
+ import type { LiteralFromArray } from '../../types/utils';
4
+ export type UserAssigneeProp = LiteralFromArray<typeof USER_ASSIGN_PROP_KEYS>;
5
+ export declare function getUserAssignPropValue<T>(element: Element, propKey: UserAssigneeProp): T;
6
+ export declare function getAllUserAssignProps(element: Element): Record<UserAssigneeProp, any>;
7
+ export declare function setUserAssignPropValue<T>(element: Element, propKey: UserAssigneeProp, value: T): void;
8
+ export declare function isUserAssignmentSupported(element: Element): boolean;
@@ -0,0 +1 @@
1
+ export declare const piniaInstance: import("pinia").Pinia;
@@ -0,0 +1,69 @@
1
+ import type Modeler from 'bpmn-js/lib/Modeler';
2
+ import type Modeling from 'bpmn-js/lib/features/modeling/Modeling';
3
+ import type Canvas from 'diagram-js/lib/core/Canvas';
4
+ import type { Element } from 'bpmn-js/lib/model/Types';
5
+ declare const useModelerStore: import("pinia").StoreDefinition<"modeler", import("pinia")._UnwrapAll<Pick<{
6
+ modeler: import("vue").ShallowRef<Modeler | undefined>;
7
+ moddle: import("vue").ShallowRef<any>;
8
+ modeling: import("vue").ShallowRef<Modeling<import("bpmn-js/lib/model/Types").Connection, Element, import("bpmn-js/lib/model/Types").Label, import("bpmn-js/lib/model/Types").Parent, import("bpmn-js/lib/model/Types").Shape> | undefined>;
9
+ canvas: import("vue").ShallowRef<Canvas | undefined>;
10
+ elementRegistry: import("vue").Ref<{
11
+ add: (element: import("diagram-js/lib/model/Types").ElementLike, gfx: SVGElement, secondaryGfx?: SVGElement | undefined) => void;
12
+ remove: (element: string | import("diagram-js/lib/model/Types").ElementLike) => void;
13
+ updateId: (element: string | import("diagram-js/lib/model/Types").ElementLike, newId: string) => void;
14
+ updateGraphics: (filter: string | import("diagram-js/lib/model/Types").ElementLike, gfx: SVGElement, secondary?: boolean | undefined) => SVGElement;
15
+ get: (filter: string | SVGElement) => import("diagram-js/lib/model/Types").ElementLike | undefined;
16
+ filter: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryFilterCallback) => import("diagram-js/lib/model/Types").ElementLike[];
17
+ find: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryFilterCallback) => import("diagram-js/lib/model/Types").ElementLike | undefined;
18
+ getAll: () => import("diagram-js/lib/model/Types").ElementLike[];
19
+ forEach: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryForEachCallback) => void;
20
+ getGraphics: (filter: string | import("diagram-js/lib/model/Types").ElementLike, secondary?: boolean | undefined) => SVGElement;
21
+ } | undefined>;
22
+ activeElement: import("vue").ShallowRef<Element | undefined>;
23
+ activeElementId: import("vue").Ref<string | undefined>;
24
+ setModeler: (modelerInput: Modeler | undefined) => void;
25
+ setElement: (element: Element | undefined) => void;
26
+ }, "modeler" | "moddle" | "modeling" | "canvas" | "elementRegistry" | "activeElement" | "activeElementId">>, Pick<{
27
+ modeler: import("vue").ShallowRef<Modeler | undefined>;
28
+ moddle: import("vue").ShallowRef<any>;
29
+ modeling: import("vue").ShallowRef<Modeling<import("bpmn-js/lib/model/Types").Connection, Element, import("bpmn-js/lib/model/Types").Label, import("bpmn-js/lib/model/Types").Parent, import("bpmn-js/lib/model/Types").Shape> | undefined>;
30
+ canvas: import("vue").ShallowRef<Canvas | undefined>;
31
+ elementRegistry: import("vue").Ref<{
32
+ add: (element: import("diagram-js/lib/model/Types").ElementLike, gfx: SVGElement, secondaryGfx?: SVGElement | undefined) => void;
33
+ remove: (element: string | import("diagram-js/lib/model/Types").ElementLike) => void;
34
+ updateId: (element: string | import("diagram-js/lib/model/Types").ElementLike, newId: string) => void;
35
+ updateGraphics: (filter: string | import("diagram-js/lib/model/Types").ElementLike, gfx: SVGElement, secondary?: boolean | undefined) => SVGElement;
36
+ get: (filter: string | SVGElement) => import("diagram-js/lib/model/Types").ElementLike | undefined;
37
+ filter: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryFilterCallback) => import("diagram-js/lib/model/Types").ElementLike[];
38
+ find: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryFilterCallback) => import("diagram-js/lib/model/Types").ElementLike | undefined;
39
+ getAll: () => import("diagram-js/lib/model/Types").ElementLike[];
40
+ forEach: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryForEachCallback) => void;
41
+ getGraphics: (filter: string | import("diagram-js/lib/model/Types").ElementLike, secondary?: boolean | undefined) => SVGElement;
42
+ } | undefined>;
43
+ activeElement: import("vue").ShallowRef<Element | undefined>;
44
+ activeElementId: import("vue").Ref<string | undefined>;
45
+ setModeler: (modelerInput: Modeler | undefined) => void;
46
+ setElement: (element: Element | undefined) => void;
47
+ }, never>, Pick<{
48
+ modeler: import("vue").ShallowRef<Modeler | undefined>;
49
+ moddle: import("vue").ShallowRef<any>;
50
+ modeling: import("vue").ShallowRef<Modeling<import("bpmn-js/lib/model/Types").Connection, Element, import("bpmn-js/lib/model/Types").Label, import("bpmn-js/lib/model/Types").Parent, import("bpmn-js/lib/model/Types").Shape> | undefined>;
51
+ canvas: import("vue").ShallowRef<Canvas | undefined>;
52
+ elementRegistry: import("vue").Ref<{
53
+ add: (element: import("diagram-js/lib/model/Types").ElementLike, gfx: SVGElement, secondaryGfx?: SVGElement | undefined) => void;
54
+ remove: (element: string | import("diagram-js/lib/model/Types").ElementLike) => void;
55
+ updateId: (element: string | import("diagram-js/lib/model/Types").ElementLike, newId: string) => void;
56
+ updateGraphics: (filter: string | import("diagram-js/lib/model/Types").ElementLike, gfx: SVGElement, secondary?: boolean | undefined) => SVGElement;
57
+ get: (filter: string | SVGElement) => import("diagram-js/lib/model/Types").ElementLike | undefined;
58
+ filter: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryFilterCallback) => import("diagram-js/lib/model/Types").ElementLike[];
59
+ find: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryFilterCallback) => import("diagram-js/lib/model/Types").ElementLike | undefined;
60
+ getAll: () => import("diagram-js/lib/model/Types").ElementLike[];
61
+ forEach: (fn: import("diagram-js/lib/core/ElementRegistry").ElementRegistryForEachCallback) => void;
62
+ getGraphics: (filter: string | import("diagram-js/lib/model/Types").ElementLike, secondary?: boolean | undefined) => SVGElement;
63
+ } | undefined>;
64
+ activeElement: import("vue").ShallowRef<Element | undefined>;
65
+ activeElementId: import("vue").Ref<string | undefined>;
66
+ setModeler: (modelerInput: Modeler | undefined) => void;
67
+ setElement: (element: Element | undefined) => void;
68
+ }, "setModeler" | "setElement">>;
69
+ export default useModelerStore;
@@ -0,0 +1,41 @@
1
+ export declare const PERMISSION_TYPE: {
2
+ readonly EDITABLE: "EDITABLE";
3
+ readonly READ_ONLY: "READ_ONLY";
4
+ readonly HIDDEN: "HIDDEN";
5
+ };
6
+ export declare const ASSIGNEE_MAP_KEY = "assigneeFieldPermissionMap";
7
+ export declare const OTHER_MAP_KEY = "othersFieldPermissionMap";
8
+ export type PermissionGroupName = "assigneeFieldPermissionMap" | "othersFieldPermissionMap";
9
+ export type PermissionType = keyof typeof PERMISSION_TYPE;
10
+ export declare const CREATION_KEY = "createFieldPermission";
11
+ export declare const EDITABLE_KEY = "taskToFieldPermissionMap";
12
+ export declare const PERMISSION_OPTIONS: ({
13
+ label: string;
14
+ value: "EDITABLE";
15
+ } | {
16
+ label: string;
17
+ value: "READ_ONLY";
18
+ })[];
19
+ export type TaskPermissionMap = {
20
+ [ASSIGNEE_MAP_KEY]: PermissionItem[];
21
+ [OTHER_MAP_KEY]: PermissionItem[];
22
+ };
23
+ export type AllTaskPermissionMap = {
24
+ [key: string]: TaskPermissionMap;
25
+ };
26
+ export type PermissionItem = {
27
+ key: string;
28
+ fieldName: string;
29
+ permission: PermissionType;
30
+ };
31
+ export declare const convertPermissionArrayToMap: (permissionArray?: PermissionItem[]) => {
32
+ [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
33
+ };
34
+ export declare const convertTaskPermissionMapToMap: (taskPermissionMap: Partial<TaskPermissionMap>) => {
35
+ assigneeFieldPermissionMap: {
36
+ [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
37
+ };
38
+ othersFieldPermissionMap: {
39
+ [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
40
+ };
41
+ };
@@ -0,0 +1,27 @@
1
+ import { type AllTaskPermissionMap, type PermissionGroupName, type PermissionType, type TaskPermissionMap } from './constants';
2
+ declare const usePermissionStore: import("pinia").StoreDefinition<"permission", import("pinia")._UnwrapAll<Pick<{
3
+ creationMap: import("vue").ShallowRef<Partial<TaskPermissionMap>>;
4
+ setCreationMap: (map: Partial<TaskPermissionMap>) => void;
5
+ allNodesMap: import("vue").Ref<AllTaskPermissionMap>;
6
+ curNodeId: import("vue").Ref<string>;
7
+ setCurNodeId: (id?: string) => void;
8
+ curNodeMap: import("vue").ComputedRef<TaskPermissionMap>;
9
+ updateFieldPermission: (groupName: PermissionGroupName, idx: number, permission: PermissionType) => void;
10
+ }, "creationMap" | "allNodesMap" | "curNodeId">>, Pick<{
11
+ creationMap: import("vue").ShallowRef<Partial<TaskPermissionMap>>;
12
+ setCreationMap: (map: Partial<TaskPermissionMap>) => void;
13
+ allNodesMap: import("vue").Ref<AllTaskPermissionMap>;
14
+ curNodeId: import("vue").Ref<string>;
15
+ setCurNodeId: (id?: string) => void;
16
+ curNodeMap: import("vue").ComputedRef<TaskPermissionMap>;
17
+ updateFieldPermission: (groupName: PermissionGroupName, idx: number, permission: PermissionType) => void;
18
+ }, "curNodeMap">, Pick<{
19
+ creationMap: import("vue").ShallowRef<Partial<TaskPermissionMap>>;
20
+ setCreationMap: (map: Partial<TaskPermissionMap>) => void;
21
+ allNodesMap: import("vue").Ref<AllTaskPermissionMap>;
22
+ curNodeId: import("vue").Ref<string>;
23
+ setCurNodeId: (id?: string) => void;
24
+ curNodeMap: import("vue").ComputedRef<TaskPermissionMap>;
25
+ updateFieldPermission: (groupName: PermissionGroupName, idx: number, permission: PermissionType) => void;
26
+ }, "setCreationMap" | "setCurNodeId" | "updateFieldPermission">>;
27
+ export default usePermissionStore;
@@ -0,0 +1 @@
1
+ export default function (listener: () => void): (() => void)[];
@@ -0,0 +1,5 @@
1
+ export type LiteralFromArray<T extends readonly any[]> = T[number];
2
+ type GetElementType<T extends unknown[]> = T extends (infer U)[] ? U : never;
3
+ type GetValue<T, U extends keyof T> = T[U];
4
+ export type GetValuesFromArray<T extends any[], U extends string> = GetValue<GetElementType<T>, U>;
5
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { ModdleElement } from 'bpmn-js/lib/model/Types';
2
+ export declare function isAsyncBefore(bo: ModdleElement): boolean;
3
+ export declare function isAsyncAfter(bo: ModdleElement): boolean;
4
+ export declare function isAsync(bo: ModdleElement): boolean;