@szjy/workflow 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +25 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +127680 -0
- package/dist/index.umd.js +4129 -95
- package/dist/packages/components/Workflow/PropertyPanel/index.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementAsyncContinuations.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementCandidateStarter.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementConditional.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementDocumentations.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementExtensionProperties.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFieldInjection.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementFormType.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementGenerations.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementHOC.d.ts +12 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementImplementation.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementJobExecution.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementListeners.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementMultiInstance.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementStartInitiator.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/property-group/ElementUserAssignment.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/ui/FieldList.vue.d.ts +36 -0
- package/dist/packages/components/Workflow/PropertyPanel/ui/HasEdit.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/PropertyPanel/ui/JsonEditor.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/Toolbar.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/form-permissions/FormPermissionProperty.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/form-permissions/util.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/approval/util.d.ts +10 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/CounterSignProperty.vue.d.ts +15 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/GatewayLineProperty.vue.d.ts +35 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/OrgTitleConfigProperty.vue.d.ts +24 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts +35 -0
- package/dist/packages/components/Workflow/biz-logic/leave/common/WorkflowStatusProperty.vue.d.ts +15 -0
- package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +110 -0
- package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/counter-sign/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-company/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-company/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-company/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-multi-user/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-single-user/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-supervisory-org/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/get-user-info/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +93 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/leave-gateway/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/index.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/palette.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/set-work-status/property.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +42 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +6 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +13 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/findElementUtil.d.ts +2 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/gatewayUtil.d.ts +6 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/orgUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/titleUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +15 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/workStatusUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/bpmn-icons/getIconType.d.ts +2 -0
- package/dist/packages/components/Workflow/bpmn-icons/index.d.ts +113 -0
- package/dist/packages/components/Workflow/components/biz/ConditionValueCreator.vue.d.ts +28 -0
- package/dist/packages/components/Workflow/components/biz/CounterSignSelector.vue.d.ts +49 -0
- package/dist/packages/components/Workflow/components/biz/GatewayConditionSelector.vue.d.ts +39 -0
- package/dist/packages/components/Workflow/components/biz/OrgTitleSelector.vue.d.ts +67 -0
- package/dist/packages/components/Workflow/components/biz/UserSelector.vue.d.ts +39 -0
- package/dist/packages/components/Workflow/components/common/BpmnIcon.vue.d.ts +23 -0
- package/dist/packages/components/Workflow/components/common/CollapseTitle.vue.d.ts +14 -0
- package/dist/packages/components/Workflow/components/common/EditItem.vue.d.ts +39 -0
- package/dist/packages/components/Workflow/contants.d.ts +31 -0
- package/dist/packages/components/Workflow/customTranslate/index.d.ts +1 -0
- package/dist/packages/components/Workflow/index.vue.d.ts +2 -0
- package/dist/packages/components/Workflow/main.vue.d.ts +6 -0
- package/dist/packages/components/Workflow/palette/CustomPalette.d.ts +13 -0
- package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +103 -0
- package/dist/packages/components/Workflow/palette/index.d.ts +11 -0
- package/dist/packages/components/Workflow/palette/replaceDefault.d.ts +1 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/FieldInjectionPropertiesUtil.d.ts +10 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/asynchronousContinuationsUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/candidateStarter.d.ts +6 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/conditionUtil.d.ts +27 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/documentationUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/executionListenersUtil.d.ts +14 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/extensionPropertiesUtil.d.ts +4 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/formTypeUtil.d.ts +4 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/idUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/implementationUtil.d.ts +12 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/initiatorUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/jobExecutionUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/listenersUtil.d.ts +16 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/multiInstanceUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/nameUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/processUtil.d.ts +5 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/scriptUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/store/bpmn-utils/userAssignmentUtil.d.ts +8 -0
- package/dist/packages/components/Workflow/store/instance.d.ts +1 -0
- package/dist/packages/components/Workflow/store/modeler.d.ts +69 -0
- package/dist/packages/components/Workflow/store/permission/constants.d.ts +41 -0
- package/dist/packages/components/Workflow/store/permission/index.d.ts +27 -0
- package/dist/packages/components/Workflow/store/useElementUpdateListener.d.ts +1 -0
- package/dist/packages/components/Workflow/types/utils.d.ts +5 -0
- package/dist/packages/components/Workflow/utils/BpmnAsyncElement.d.ts +4 -0
- package/dist/packages/components/Workflow/utils/BpmnEventDefinitionUtil.d.ts +29 -0
- package/dist/packages/components/Workflow/utils/BpmnExtensionElementsUtil.d.ts +14 -0
- package/dist/packages/components/Workflow/utils/BpmnImplementationType.d.ts +27 -0
- package/dist/packages/components/Workflow/utils/BpmnValidator.d.ts +13 -0
- package/dist/packages/components/Workflow/utils/ElementUtil.d.ts +23 -0
- package/dist/packages/components/Workflow/utils/Logger.d.ts +13 -0
- package/dist/packages/components/Workflow/utils/common.d.ts +3 -0
- package/dist/packages/components/Workflow/utils/emitter.d.ts +8 -0
- package/dist/packages/components/Workflow/utils/parseBizString.d.ts +23 -0
- package/dist/packages/components/Workflow/xml.d.ts +1 -0
- package/dist/packages/components/index.d.ts +2 -1
- package/dist/packages/components/installer.d.ts +1 -0
- package/dist/packages/i18n/en_US/configForm.d.ts +33 -0
- package/dist/packages/i18n/en_US/elements/events.d.ts +49 -0
- package/dist/packages/i18n/en_US/elements/gateway.d.ts +14 -0
- package/dist/packages/i18n/en_US/elements/other.d.ts +184 -0
- package/dist/packages/i18n/en_US/elements/tasks.d.ts +28 -0
- package/dist/packages/i18n/en_US/index.d.ts +394 -0
- package/dist/packages/i18n/en_US/lint.d.ts +5 -0
- package/dist/packages/i18n/en_US/panel.d.ts +88 -0
- package/dist/packages/i18n/en_US/toolbar.d.ts +28 -0
- package/dist/packages/i18n/index.d.ts +790 -0
- package/dist/packages/i18n/zh_CN/configForm.d.ts +33 -0
- package/dist/packages/i18n/zh_CN/elements/events.d.ts +49 -0
- package/dist/packages/i18n/zh_CN/elements/gateway.d.ts +14 -0
- package/dist/packages/i18n/zh_CN/elements/other.d.ts +184 -0
- package/dist/packages/i18n/zh_CN/elements/tasks.d.ts +28 -0
- package/dist/packages/i18n/zh_CN/index.d.ts +394 -0
- package/dist/packages/i18n/zh_CN/lint.d.ts +5 -0
- package/dist/packages/i18n/zh_CN/panel.d.ts +88 -0
- package/dist/packages/i18n/zh_CN/toolbar.d.ts +28 -0
- package/dist/style.css +1 -0
- package/dist/vanilla-picker-CWMPCyEj.mjs +539 -0
- package/package.json +24 -5
@@ -0,0 +1,93 @@
|
|
1
|
+
import type Create from 'diagram-js/lib/features/create/Create';
|
2
|
+
import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
|
3
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
4
|
+
import type { DefineComponent } from 'vue';
|
5
|
+
export declare const getBizPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
6
|
+
"set-workflow-status": {
|
7
|
+
group: string;
|
8
|
+
title: string;
|
9
|
+
imageUrl: any;
|
10
|
+
action: {
|
11
|
+
click: (event: any) => void;
|
12
|
+
dragstart: (event: any) => void;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
"leave-gateway": {
|
16
|
+
group: string;
|
17
|
+
title: string;
|
18
|
+
imageUrl: any;
|
19
|
+
action: {
|
20
|
+
click: (event: any) => void;
|
21
|
+
dragstart: (event: any) => void;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
"approval-user": {
|
25
|
+
group: string;
|
26
|
+
title: string;
|
27
|
+
imageUrl: any;
|
28
|
+
action: {
|
29
|
+
click: (event: any) => void;
|
30
|
+
dragstart: (event: any) => void;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
"counter-sign-user": {
|
34
|
+
group: string;
|
35
|
+
title: string;
|
36
|
+
imageUrl: any;
|
37
|
+
action: {
|
38
|
+
click: (event: any) => void;
|
39
|
+
dragstart: (event: any) => void;
|
40
|
+
};
|
41
|
+
};
|
42
|
+
"get-multi-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
|
+
"get-single-user": {
|
52
|
+
group: string;
|
53
|
+
title: string;
|
54
|
+
imageUrl: any;
|
55
|
+
action: {
|
56
|
+
click: (event: any) => void;
|
57
|
+
dragstart: (event: any) => void;
|
58
|
+
};
|
59
|
+
};
|
60
|
+
"get-user-info": {
|
61
|
+
group: string;
|
62
|
+
title: string;
|
63
|
+
imageUrl: any;
|
64
|
+
action: {
|
65
|
+
click: (event: any) => void;
|
66
|
+
dragstart: (event: any) => void;
|
67
|
+
};
|
68
|
+
};
|
69
|
+
"get-supervisory-org": {
|
70
|
+
group: string;
|
71
|
+
title: string;
|
72
|
+
imageUrl: any;
|
73
|
+
action: {
|
74
|
+
click: (event: any) => void;
|
75
|
+
dragstart: (event: any) => void;
|
76
|
+
};
|
77
|
+
};
|
78
|
+
"get-company": {
|
79
|
+
group: string;
|
80
|
+
title: string;
|
81
|
+
imageUrl: any;
|
82
|
+
action: {
|
83
|
+
click: (event: any) => void;
|
84
|
+
dragstart: (event: any) => void;
|
85
|
+
};
|
86
|
+
};
|
87
|
+
};
|
88
|
+
export declare const isBizCustom: (element: Element | undefined) => element is Element;
|
89
|
+
export declare const getBizCustomType: (element: Element | undefined) => any;
|
90
|
+
export declare const getBizProperties: (element: Element) => {
|
91
|
+
isBizCustom: boolean;
|
92
|
+
propComponents: DefineComponent<{}, {}, any>[];
|
93
|
+
};
|
@@ -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 leaveGatewayPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
4
|
+
"leave-gateway": {
|
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,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 setWorkflowStatusPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
|
4
|
+
"set-workflow-status": {
|
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,42 @@
|
|
1
|
+
import type { CONDITION_OPT_KEYS, CONDITION_VALUE_KEYS, GATEWAY_CONDITION_KEYS, WORKFLOW_STATUS_TYPES } from "./constant";
|
2
|
+
export type UserJSON = {
|
3
|
+
userIdType: string;
|
4
|
+
userId: string;
|
5
|
+
outputTaskDefKey: string;
|
6
|
+
};
|
7
|
+
export type JobTitleJSON = {
|
8
|
+
titleListType: string;
|
9
|
+
titleNameList: string[];
|
10
|
+
};
|
11
|
+
export type OrgJSON = {
|
12
|
+
orgVariableType: string;
|
13
|
+
orgId: string;
|
14
|
+
getOrgTaskDefKey: string;
|
15
|
+
};
|
16
|
+
export type CounterSignConditionJSON = {
|
17
|
+
minApprovedCount: number;
|
18
|
+
maxRejectedCount: number;
|
19
|
+
};
|
20
|
+
export type ConditionJSON = {
|
21
|
+
conditionType: GATEWAY_CONDITION_KEYS;
|
22
|
+
approveCondition: Partial<ApproveConditionJSON>;
|
23
|
+
operatorCondition: OperatorConditionJSON;
|
24
|
+
};
|
25
|
+
export type ApproveConditionJSON = {
|
26
|
+
approveTaskDefKey: string;
|
27
|
+
targetApproveStatus: boolean;
|
28
|
+
};
|
29
|
+
export type OperatorConditionJSON = {
|
30
|
+
operator: CONDITION_OPT_KEYS;
|
31
|
+
left: Partial<ConditionValueJSON>;
|
32
|
+
right: Partial<ConditionValueJSON>;
|
33
|
+
};
|
34
|
+
export type ConditionValueJSON = {
|
35
|
+
conditionValueType: CONDITION_VALUE_KEYS;
|
36
|
+
stringValue?: string;
|
37
|
+
numberValue?: string;
|
38
|
+
stringValueList?: string[];
|
39
|
+
taskDefKey?: string;
|
40
|
+
taskOutputKey?: string;
|
41
|
+
};
|
42
|
+
export type WorkflowStatusType = keyof typeof WORKFLOW_STATUS_TYPES;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { UserJSON } from '../types';
|
3
|
+
export declare const addTaskListenerItem: (element: Element, event: string, expression: string, fields?: FieldPropertyForm[]) => void;
|
4
|
+
export declare const initApprovalItems: (element: Element) => void;
|
5
|
+
export declare const getUserValue: (element: Element) => any;
|
6
|
+
export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { CounterSignConditionJSON, UserJSON } from '../types';
|
3
|
+
export declare const addTaskListenerItem: (element: Element, event: string, expression: string, fields?: FieldPropertyForm[]) => void;
|
4
|
+
export declare const updateTaskListenerItem: (element: Element, event: string, expression: string, fields?: FieldPropertyForm[]) => void;
|
5
|
+
export declare const DEFAULT_COMPLETE_CONDITION: {
|
6
|
+
minApprovedCount: number;
|
7
|
+
maxRejectedCount: number;
|
8
|
+
};
|
9
|
+
export declare const initCounterSignrItems: (element: Element) => void;
|
10
|
+
export declare const getUserValue: (element: Element) => any;
|
11
|
+
export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
|
12
|
+
export declare const getConditionValue: (element: Element) => any;
|
13
|
+
export declare const updateConditionValue: (element: Element, conditionJson: CounterSignConditionJSON, isUpdateListener?: boolean) => void;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { ConditionJSON } from '../types';
|
3
|
+
export declare const DEFAULT_CONDITION_JSON: ConditionJSON;
|
4
|
+
export declare const initApprovalItems: (element: Element) => void;
|
5
|
+
export declare const getConditionValue: (element: Element) => any;
|
6
|
+
export declare const updateConditionValue: (element: Element, conditionJson: ConditionJSON) => void;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { OrgJSON } from '../types';
|
3
|
+
export declare const addOrgItem: (element: Element, orgJson: Partial<OrgJSON>) => void;
|
4
|
+
export declare const getOrgValue: (element: Element) => any;
|
5
|
+
export declare const updateOrgValue: (element: Element, orgJson: Partial<OrgJSON>) => void;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { JobTitleJSON } from '../types';
|
3
|
+
export declare const addTitleItem: (element: Element, jobTitleJson: Partial<JobTitleJSON>) => void;
|
4
|
+
export declare const getTitleValue: (element: Element) => any;
|
5
|
+
export declare const updateTitleValue: (element: Element, jobTitleJson: Partial<JobTitleJSON>) => void;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { UserJSON } from '../types';
|
3
|
+
export declare const USER_ID_KEY = "userId";
|
4
|
+
export declare const getFieldContent: (userJson: Partial<UserJSON>) => {
|
5
|
+
name: string;
|
6
|
+
type: string;
|
7
|
+
value: string;
|
8
|
+
};
|
9
|
+
export declare const DEFAULT_USER_JSON: {
|
10
|
+
userIdType: string;
|
11
|
+
userId: string;
|
12
|
+
};
|
13
|
+
export declare const addUserItem: (element: Element, userJson: Partial<UserJSON>) => void;
|
14
|
+
export declare const getUserValue: (element: Element) => any;
|
15
|
+
export declare const updateUserValue: (element: Element, userJson: UserJSON) => void;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { Element } from 'bpmn-js/lib/model/Types';
|
2
|
+
import type { WorkflowStatusType } from '../types';
|
3
|
+
export declare const addStatusItem: (element: Element, statusType: WorkflowStatusType) => void;
|
4
|
+
export declare const getStatusValue: (element: Element) => any;
|
5
|
+
export declare const updateStatusValue: (element: Element, statusType: WorkflowStatusType) => void;
|
@@ -0,0 +1,113 @@
|
|
1
|
+
declare const bpmnIcons: {
|
2
|
+
Association: string;
|
3
|
+
BusinessRuleTask: string;
|
4
|
+
CallActivity: string;
|
5
|
+
Collaboration: string;
|
6
|
+
ConditionalFlow: string;
|
7
|
+
SequenceFlow: string;
|
8
|
+
DataInput: string;
|
9
|
+
DataInputAssociation: string;
|
10
|
+
DataOutput: string;
|
11
|
+
DataOutputAssociation: string;
|
12
|
+
DataObjectReference: string;
|
13
|
+
DataStoreReference: string;
|
14
|
+
DefaultFlow: string;
|
15
|
+
CancelEndEvent: string;
|
16
|
+
CompensateEndEvent: string;
|
17
|
+
ErrorEndEvent: string;
|
18
|
+
EscalationEndEvent: string;
|
19
|
+
LinkEndEvent: string;
|
20
|
+
MessageEndEvent: string;
|
21
|
+
MultipleEndEvent: string;
|
22
|
+
EndEvent: string;
|
23
|
+
SignalEndEvent: string;
|
24
|
+
TerminateEndEvent: string;
|
25
|
+
EventSubProcess: string;
|
26
|
+
ComplexGateway: string;
|
27
|
+
EventBasedGateway: string;
|
28
|
+
ExclusiveGateway: string;
|
29
|
+
Gateway: string;
|
30
|
+
InclusiveGateway: string;
|
31
|
+
ParallelGateway: string;
|
32
|
+
Group: string;
|
33
|
+
CancelIntermediateCatchEvent: string;
|
34
|
+
CompensateIntermediateCatchEvent: string;
|
35
|
+
ConditionalIntermediateCatchEvent: string;
|
36
|
+
ErrorIntermediateCatchEvent: string;
|
37
|
+
EscalationIntermediateCatchEvent: string;
|
38
|
+
LinkIntermediateCatchEvent: string;
|
39
|
+
MessageIntermediateCatchEvent: string;
|
40
|
+
MultipleIntermediateCatchEvent: string;
|
41
|
+
ConditionalIntermediateCatchEventNonInterrupting: string;
|
42
|
+
EscalationIntermediateCatchEventNonInterrupting: string;
|
43
|
+
MessageIntermediateCatchEventNonInterrupting: string;
|
44
|
+
MultipleIntermediateCatchEventNonInterrupting: string;
|
45
|
+
ParallelIntermediateCatchEventNonInterrupting: string;
|
46
|
+
SignalIntermediateCatchEventNonInterrupting: string;
|
47
|
+
TimerIntermediateCatchEventNonInterrupting: string;
|
48
|
+
ParallelMultipleIntermediateCatchEvent: string;
|
49
|
+
SignalIntermediateCatchEvent: string;
|
50
|
+
TimerIntermediateCatchEvent: string;
|
51
|
+
IntermediateThrowEvent: string;
|
52
|
+
CompensateIntermediateThrowEvent: string;
|
53
|
+
EscalationIntermediateThrowEvent: string;
|
54
|
+
LinkIntermediateThrowEvent: string;
|
55
|
+
MessageIntermediateThrowEvent: string;
|
56
|
+
MultipleIntermediateThrowEvent: string;
|
57
|
+
SignalIntermediateThrowEvent: string;
|
58
|
+
Lane: string;
|
59
|
+
ManualTask: string;
|
60
|
+
MessageFlow: string;
|
61
|
+
Participant: string;
|
62
|
+
Process: string;
|
63
|
+
ReceiveTask: string;
|
64
|
+
ScriptTask: string;
|
65
|
+
SendTask: string;
|
66
|
+
ServiceTask: string;
|
67
|
+
CompensateStartEvent: string;
|
68
|
+
ConditionalStartEvent: string;
|
69
|
+
ErrorStartEvent: string;
|
70
|
+
EscalationStartEvent: string;
|
71
|
+
MessageStartEvent: string;
|
72
|
+
MultipleStartEvent: string;
|
73
|
+
ConditionalStartEventNonInterrupting: string;
|
74
|
+
EscalationStartEventNonInterrupting: string;
|
75
|
+
MessageStartEventNonInterrupting: string;
|
76
|
+
MultipleStartEventNonInterrupting: string;
|
77
|
+
ParallelMultipleStartEventNonInterrupting: string;
|
78
|
+
SignalStartEventNonInterrupting: string;
|
79
|
+
TimerStartEventNonInterrupting: string;
|
80
|
+
CancelBoundaryEvent: string;
|
81
|
+
CompensateBoundaryEvent: string;
|
82
|
+
ConditionalBoundaryEvent: string;
|
83
|
+
ErrorBoundaryEvent: string;
|
84
|
+
EscalationBoundaryEvent: string;
|
85
|
+
LinkBoundaryEvent: string;
|
86
|
+
MessageBoundaryEvent: string;
|
87
|
+
MultipleBoundaryEvent: string;
|
88
|
+
BoundaryEvent: string;
|
89
|
+
ConditionalBoundaryEventNonInterrupting: string;
|
90
|
+
EscalationBoundaryEventNonInterrupting: string;
|
91
|
+
MessageBoundaryEventNonInterrupting: string;
|
92
|
+
MultipleBoundaryEventNonInterrupting: string;
|
93
|
+
ParallelBoundaryEventNonInterrupting: string;
|
94
|
+
SignalBoundaryEventNonInterrupting: string;
|
95
|
+
TimerBoundaryEventNonInterrupting: string;
|
96
|
+
ParallelMultipleBoundaryEvent: string;
|
97
|
+
SignalBoundaryEvent: string;
|
98
|
+
TimerBoundaryEvent: string;
|
99
|
+
StartEvent: string;
|
100
|
+
ParallelMultipleStartEvent: string;
|
101
|
+
SignalStartEvent: string;
|
102
|
+
TimerStartEvent: string;
|
103
|
+
CollapsedSubProcess: string;
|
104
|
+
CollapsedAdHocSubProcess: string;
|
105
|
+
ExpandedSubProcess: string;
|
106
|
+
ExpandedAdHocSubProcess: string;
|
107
|
+
Task: string;
|
108
|
+
TextAnnotation: string;
|
109
|
+
Transaction: string;
|
110
|
+
UserTask: string;
|
111
|
+
};
|
112
|
+
export type BpmnIconName = keyof typeof bpmnIcons;
|
113
|
+
export default bpmnIcons;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { type PropType } from 'vue';
|
2
|
+
import { type ConditionValueJSON } from '../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
expr: {
|
5
|
+
type: PropType<Partial<ConditionValueJSON>>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
label: {
|
9
|
+
type: PropType<string>;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
13
|
+
"update:expr": (newCondition: ConditionValueJSON) => void;
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
expr: {
|
16
|
+
type: PropType<Partial<ConditionValueJSON>>;
|
17
|
+
required: true;
|
18
|
+
};
|
19
|
+
label: {
|
20
|
+
type: PropType<string>;
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
}>> & {
|
24
|
+
"onUpdate:expr"?: ((newCondition: ConditionValueJSON) => any) | undefined;
|
25
|
+
}, {
|
26
|
+
label: string;
|
27
|
+
}, {}>;
|
28
|
+
export default _default;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { type PropType } from 'vue';
|
2
|
+
import { type CounterSignConditionJSON, type UserJSON } from '../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
user: {
|
5
|
+
type: PropType<UserJSON>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
condition: {
|
9
|
+
type: PropType<CounterSignConditionJSON>;
|
10
|
+
required: true;
|
11
|
+
};
|
12
|
+
label: {
|
13
|
+
type: PropType<string>;
|
14
|
+
default: string;
|
15
|
+
};
|
16
|
+
dialogTitle: {
|
17
|
+
type: PropType<string>;
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
21
|
+
"update:user": (newUser: UserJSON) => void;
|
22
|
+
"update:condition": (newCondition: CounterSignConditionJSON) => void;
|
23
|
+
"on-ok": (newUser: UserJSON, newCondition: CounterSignConditionJSON) => void;
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
25
|
+
user: {
|
26
|
+
type: PropType<UserJSON>;
|
27
|
+
required: true;
|
28
|
+
};
|
29
|
+
condition: {
|
30
|
+
type: PropType<CounterSignConditionJSON>;
|
31
|
+
required: true;
|
32
|
+
};
|
33
|
+
label: {
|
34
|
+
type: PropType<string>;
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
dialogTitle: {
|
38
|
+
type: PropType<string>;
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
}>> & {
|
42
|
+
"onUpdate:user"?: ((newUser: UserJSON) => any) | undefined;
|
43
|
+
"onOn-ok"?: ((newUser: UserJSON, newCondition: CounterSignConditionJSON) => any) | undefined;
|
44
|
+
"onUpdate:condition"?: ((newCondition: CounterSignConditionJSON) => any) | undefined;
|
45
|
+
}, {
|
46
|
+
label: string;
|
47
|
+
dialogTitle: string;
|
48
|
+
}, {}>;
|
49
|
+
export default _default;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { type PropType } from 'vue';
|
2
|
+
import { type ConditionJSON } from '../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
condition: {
|
5
|
+
type: PropType<ConditionJSON>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
label: {
|
9
|
+
type: PropType<string>;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
dialogTitle: {
|
13
|
+
type: PropType<string>;
|
14
|
+
default: string;
|
15
|
+
};
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
17
|
+
"update:condition": (newCondition: ConditionJSON) => void;
|
18
|
+
"on-ok": (newCondition: ConditionJSON) => void;
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
condition: {
|
21
|
+
type: PropType<ConditionJSON>;
|
22
|
+
required: true;
|
23
|
+
};
|
24
|
+
label: {
|
25
|
+
type: PropType<string>;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
dialogTitle: {
|
29
|
+
type: PropType<string>;
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
}>> & {
|
33
|
+
"onOn-ok"?: ((newCondition: ConditionJSON) => any) | undefined;
|
34
|
+
"onUpdate:condition"?: ((newCondition: ConditionJSON) => any) | undefined;
|
35
|
+
}, {
|
36
|
+
label: string;
|
37
|
+
dialogTitle: string;
|
38
|
+
}, {}>;
|
39
|
+
export default _default;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import { type PropType } from 'vue';
|
2
|
+
import { type JobTitleJSON, type OrgJSON } from '../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
org: {
|
5
|
+
type: PropType<OrgJSON>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
jobTitle: {
|
9
|
+
type: PropType<JobTitleJSON>;
|
10
|
+
required: false;
|
11
|
+
default: () => {
|
12
|
+
titleListType: string;
|
13
|
+
titleNameList: never[];
|
14
|
+
};
|
15
|
+
};
|
16
|
+
label: {
|
17
|
+
type: PropType<string>;
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
dialogTitle: {
|
21
|
+
type: PropType<string>;
|
22
|
+
default: string;
|
23
|
+
};
|
24
|
+
disableTitle: {
|
25
|
+
type: PropType<boolean>;
|
26
|
+
default: boolean;
|
27
|
+
};
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
29
|
+
"update:org": (newOrg: OrgJSON) => void;
|
30
|
+
"update:jobTitle": (newJobTitle: JobTitleJSON) => void;
|
31
|
+
"on-ok": (newOrg: OrgJSON, newJobTitle?: JobTitleJSON | undefined) => void;
|
32
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
33
|
+
org: {
|
34
|
+
type: PropType<OrgJSON>;
|
35
|
+
required: true;
|
36
|
+
};
|
37
|
+
jobTitle: {
|
38
|
+
type: PropType<JobTitleJSON>;
|
39
|
+
required: false;
|
40
|
+
default: () => {
|
41
|
+
titleListType: string;
|
42
|
+
titleNameList: never[];
|
43
|
+
};
|
44
|
+
};
|
45
|
+
label: {
|
46
|
+
type: PropType<string>;
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
dialogTitle: {
|
50
|
+
type: PropType<string>;
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
disableTitle: {
|
54
|
+
type: PropType<boolean>;
|
55
|
+
default: boolean;
|
56
|
+
};
|
57
|
+
}>> & {
|
58
|
+
"onOn-ok"?: ((newOrg: OrgJSON, newJobTitle?: JobTitleJSON | undefined) => any) | undefined;
|
59
|
+
"onUpdate:org"?: ((newOrg: OrgJSON) => any) | undefined;
|
60
|
+
"onUpdate:jobTitle"?: ((newJobTitle: JobTitleJSON) => any) | undefined;
|
61
|
+
}, {
|
62
|
+
label: string;
|
63
|
+
jobTitle: JobTitleJSON;
|
64
|
+
dialogTitle: string;
|
65
|
+
disableTitle: boolean;
|
66
|
+
}, {}>;
|
67
|
+
export default _default;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { type PropType } from 'vue';
|
2
|
+
import { type UserJSON } from '../../biz-logic/leave/types';
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
user: {
|
5
|
+
type: PropType<UserJSON>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
label: {
|
9
|
+
type: PropType<string>;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
dialogTitle: {
|
13
|
+
type: PropType<string>;
|
14
|
+
default: string;
|
15
|
+
};
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
17
|
+
"update:user": (newUser: UserJSON) => void;
|
18
|
+
"on-ok": (newUser: UserJSON) => void;
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
user: {
|
21
|
+
type: PropType<UserJSON>;
|
22
|
+
required: true;
|
23
|
+
};
|
24
|
+
label: {
|
25
|
+
type: PropType<string>;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
dialogTitle: {
|
29
|
+
type: PropType<string>;
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
}>> & {
|
33
|
+
"onUpdate:user"?: ((newUser: UserJSON) => any) | undefined;
|
34
|
+
"onOn-ok"?: ((newUser: UserJSON) => any) | undefined;
|
35
|
+
}, {
|
36
|
+
label: string;
|
37
|
+
dialogTitle: string;
|
38
|
+
}, {}>;
|
39
|
+
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
name: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
color: {
|
7
|
+
type: StringConstructor;
|
8
|
+
default: string;
|
9
|
+
};
|
10
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
11
|
+
name: {
|
12
|
+
type: StringConstructor;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
color: {
|
16
|
+
type: StringConstructor;
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
}>>, {
|
20
|
+
name: string;
|
21
|
+
color: string;
|
22
|
+
}, {}>;
|
23
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
title: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
title: {
|
8
|
+
type: StringConstructor;
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
}>>, {
|
12
|
+
title: string;
|
13
|
+
}, {}>;
|
14
|
+
export default _default;
|