@szjy/workflow 0.1.18 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -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) => any;
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) => any;
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
+ };
@@ -0,0 +1,3 @@
1
+ export declare const SLOTS_BIZ_COMPS: {
2
+ USER_CONFIG_BOTTOM: string;
3
+ };
@@ -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 getUserValue: (element: Element) => any;
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
+ };
@@ -0,0 +1,6 @@
1
+ export declare const COMP_SLOTS: {
2
+ /**
3
+ * USER_SELECTOR 部分
4
+ */
5
+ USER_SELECTOR_BOTTOM: string;
6
+ };