@szjy/workflow 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +34992 -34918
- package/dist/index.umd.js +1017 -1017
- package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts +9 -4
- package/dist/packages/components/Workflow/biz-logic/leave/common/slots.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +1 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/approvalUtil.d.ts +3 -0
- package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +2 -1
- package/dist/packages/components/Workflow/components/biz/UserSelector.vue.d.ts +7 -2
- package/dist/packages/components/Workflow/components/biz/slots.d.ts +6 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/packages/components/Workflow/biz-logic/leave/common/UserConfigProperty.vue.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { type PropType } from 'vue';
|
2
2
|
import type { Element } from 'bpmn-js/lib/model/Types';
|
3
3
|
import { type UserJSON } from '../types';
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
5
5
|
label: {
|
6
6
|
type: PropType<string>;
|
7
7
|
default: string;
|
8
8
|
};
|
9
9
|
getUserValue: {
|
10
10
|
type: PropType<(element: Element) => UserJSON>;
|
11
|
-
default: (element: Element) =>
|
11
|
+
default: (element: Element) => Partial<UserJSON>;
|
12
12
|
};
|
13
13
|
updateUserValue: {
|
14
14
|
type: PropType<(element: Element, newUser: UserJSON) => void>;
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
};
|
26
26
|
getUserValue: {
|
27
27
|
type: PropType<(element: Element) => UserJSON>;
|
28
|
-
default: (element: Element) =>
|
28
|
+
default: (element: Element) => Partial<UserJSON>;
|
29
29
|
};
|
30
30
|
updateUserValue: {
|
31
31
|
type: PropType<(element: Element, newUser: UserJSON) => void>;
|
@@ -40,5 +40,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
40
40
|
showOrgBased: boolean;
|
41
41
|
getUserValue: (element: Element) => UserJSON;
|
42
42
|
updateUserValue: (element: Element, newUser: UserJSON) => void;
|
43
|
-
}, {}
|
43
|
+
}, {}>, Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>>;
|
44
44
|
export default _default;
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
46
|
+
new (): {
|
47
|
+
$slots: S;
|
48
|
+
};
|
49
|
+
};
|
@@ -28,6 +28,7 @@ export type ConditionJSON = {
|
|
28
28
|
conditionType: GATEWAY_CONDITION_KEYS;
|
29
29
|
approveCondition: Partial<ApproveConditionJSON>;
|
30
30
|
operatorCondition: OperatorConditionJSON;
|
31
|
+
additionalPendingTaskType?: string;
|
31
32
|
};
|
32
33
|
export type ApproveConditionJSON = {
|
33
34
|
approveTaskDefKey: string;
|
@@ -6,3 +6,6 @@ export declare const initSignReceiptItems: (element: Element) => void;
|
|
6
6
|
export declare const initReformItems: (element: Element) => void;
|
7
7
|
export declare const getUserValue: (element: Element) => any;
|
8
8
|
export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
|
9
|
+
export declare const KEY_ADD_TO_AFTER_REFORM_TASK = "addToMyCompleteAfterReformTask";
|
10
|
+
export declare const getReformTaskFieldValue: (element: Element) => boolean;
|
11
|
+
export declare const updateReformTaskListener: (element: Element, isAdd: boolean, isUpdateListener?: boolean) => void;
|
@@ -12,5 +12,6 @@ export declare const DEFAULT_USER_JSON: {
|
|
12
12
|
userId: string;
|
13
13
|
};
|
14
14
|
export declare const addUserItem: (element: Element, userJson: Partial<UserJSON>) => void;
|
15
|
-
export declare const
|
15
|
+
export declare const fixUserRelated: (userJson: Partial<UserJSON>) => void;
|
16
|
+
export declare const getUserValue: (element: Element) => Partial<UserJSON>;
|
16
17
|
export declare const updateUserValue: (element: Element, userJson: UserJSON) => void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType } from 'vue';
|
2
2
|
import { type UserJSON } from '../../biz-logic/leave/types';
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
4
4
|
user: {
|
5
5
|
type: PropType<UserJSON>;
|
6
6
|
required: true;
|
@@ -44,5 +44,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
44
44
|
label: string;
|
45
45
|
dialogTitle: string;
|
46
46
|
showOrgBased: boolean;
|
47
|
-
}, {}
|
47
|
+
}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
48
48
|
export default _default;
|
49
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
50
|
+
new (): {
|
51
|
+
$slots: S;
|
52
|
+
};
|
53
|
+
};
|