yc-vep-ui 0.3.7 → 0.3.8
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/components/Icons/index.d.ts +4 -0
- package/dist/components/Icons/svg/Bell.vue.d.ts +2 -0
- package/dist/components/Icons/svg/Clock.vue.d.ts +2 -0
- package/dist/components/Icons/svg/Info.vue.d.ts +2 -0
- package/dist/components/Icons/svg/Share.vue.d.ts +2 -0
- package/dist/components/Upload/index.vue.d.ts +5 -3
- package/dist/components/YcApproval/History.vue.d.ts +8 -0
- package/dist/components/YcApproval/ReadScope.vue.d.ts +10 -0
- package/dist/components/YcApproval/Remind.vue.d.ts +44 -0
- package/dist/components/YcApproval/api.d.ts +1 -0
- package/dist/components/YcApproval/useBtnActive.d.ts +6 -0
- package/dist/components/YcApproval/useDetail.d.ts +103 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/entry-D3QkTN2N.js +4791 -0
- package/dist/entry.d.ts +14 -17
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useDictionary.d.ts +25 -0
- package/dist/hooks/useRoute.d.ts +20 -0
- package/dist/hooks/useUser.d.ts +4 -0
- package/dist/index.css +16 -7
- package/dist/utils/rsaCrypto.d.ts +10 -0
- package/dist/vep-ui.js +2 -2
- package/package.json +3 -2
- package/dist/entry-C2idE4D3.js +0 -2275
|
@@ -7,3 +7,7 @@ export { default as ArrowRight } from './svg/ArrowRight.vue';
|
|
|
7
7
|
export { default as ArrowUp } from './svg/ArrowUp.vue';
|
|
8
8
|
export { default as Refresh } from './svg/Refresh.vue';
|
|
9
9
|
export { default as Promotion } from './svg/Promotion.vue';
|
|
10
|
+
export { default as Info } from './svg/Info.vue';
|
|
11
|
+
export { default as Share } from './svg/Share.vue';
|
|
12
|
+
export { default as Clock } from './svg/Clock.vue';
|
|
13
|
+
export { default as Bell } from './svg/Bell.vue';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IUploadProps } from './type';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = IUploadProps & {
|
|
3
|
+
data?: Record<string, any>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
6
|
success: (...args: any[]) => void;
|
|
4
7
|
change: (...args: any[]) => void;
|
|
5
8
|
error: (...args: any[]) => void;
|
|
@@ -7,7 +10,7 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
7
10
|
"update:fileList": (...args: any[]) => void;
|
|
8
11
|
exceed: (...args: any[]) => void;
|
|
9
12
|
remove: (...args: any[]) => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
14
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
12
15
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
16
|
onError?: ((...args: any[]) => any) | undefined;
|
|
@@ -37,7 +40,6 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
37
40
|
readonly limit?: number | undefined;
|
|
38
41
|
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
39
42
|
readonly prop?: string | undefined;
|
|
40
|
-
readonly data?: Record<string, any> | undefined;
|
|
41
43
|
readonly text?: string | undefined;
|
|
42
44
|
readonly type?: "file" | "image" | "dialog:image" | undefined;
|
|
43
45
|
readonly defaultValue?: import('./type').IUploadRawFile[] | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IHistory } from './type';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
formData: {
|
|
4
|
+
historyList: IHistory[];
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled: boolean;
|
|
3
|
+
formData: any;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
6
|
+
formData: {
|
|
7
|
+
readScope: string;
|
|
8
|
+
};
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IInstanceHandlerList } from './type';
|
|
2
|
+
interface IProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
formData: {
|
|
5
|
+
instanceHandlerList?: IInstanceHandlerList[];
|
|
6
|
+
processInfo?: {
|
|
7
|
+
processId?: string;
|
|
8
|
+
activityCode?: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
declare function validate(): boolean;
|
|
13
|
+
declare function getValues(): ({
|
|
14
|
+
assignee: string[];
|
|
15
|
+
assigneeName: string[];
|
|
16
|
+
instanceId?: number | undefined;
|
|
17
|
+
activityId?: string | undefined;
|
|
18
|
+
activityCode?: string | undefined;
|
|
19
|
+
activityName?: string | undefined;
|
|
20
|
+
assigneeJson?: any;
|
|
21
|
+
preData?: {
|
|
22
|
+
label: string;
|
|
23
|
+
name: string;
|
|
24
|
+
account: string;
|
|
25
|
+
} | undefined;
|
|
26
|
+
} | {
|
|
27
|
+
assignee: string;
|
|
28
|
+
assigneeName: string;
|
|
29
|
+
instanceId?: number | undefined;
|
|
30
|
+
activityId?: string | undefined;
|
|
31
|
+
activityCode?: string | undefined;
|
|
32
|
+
activityName?: string | undefined;
|
|
33
|
+
assigneeJson?: any;
|
|
34
|
+
preData?: {
|
|
35
|
+
label: string;
|
|
36
|
+
name: string;
|
|
37
|
+
account: string;
|
|
38
|
+
} | undefined;
|
|
39
|
+
})[];
|
|
40
|
+
declare const _default: import('vue').DefineComponent<IProps, {
|
|
41
|
+
getValues: typeof getValues;
|
|
42
|
+
validate: typeof validate;
|
|
43
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { IFormData } from './type';
|
|
2
|
+
export declare function operateProcess(data: IFormData): Promise<any>;
|
|
3
|
+
interface IProps {
|
|
4
|
+
processCode?: string;
|
|
5
|
+
getData?: () => any;
|
|
6
|
+
}
|
|
7
|
+
export declare function useDetail(props: IProps): {
|
|
8
|
+
processInfoRef: import('vue').Ref<any, any>;
|
|
9
|
+
readScopeRef: import('vue').Ref<any, any>;
|
|
10
|
+
remindRef: import('vue').Ref<{
|
|
11
|
+
getValues: () => IFormData["processInfo"][];
|
|
12
|
+
validate: () => Promise<boolean>;
|
|
13
|
+
}, {
|
|
14
|
+
getValues: () => IFormData["processInfo"][];
|
|
15
|
+
validate: () => Promise<boolean>;
|
|
16
|
+
} | {
|
|
17
|
+
getValues: () => IFormData["processInfo"][];
|
|
18
|
+
validate: () => Promise<boolean>;
|
|
19
|
+
}>;
|
|
20
|
+
disabled: import('vue').Ref<boolean, boolean>;
|
|
21
|
+
states: {
|
|
22
|
+
code: string;
|
|
23
|
+
confirmVisible: boolean;
|
|
24
|
+
nextAssigneeVisible: boolean;
|
|
25
|
+
nextActivityVisible: boolean;
|
|
26
|
+
buttonList: {
|
|
27
|
+
code: string;
|
|
28
|
+
name: string;
|
|
29
|
+
}[];
|
|
30
|
+
currentHandlers: string;
|
|
31
|
+
current: any;
|
|
32
|
+
activityName: string;
|
|
33
|
+
};
|
|
34
|
+
confirmFields: import('vue').ComputedRef<IField<{
|
|
35
|
+
comments: string;
|
|
36
|
+
nextAssignee?: string;
|
|
37
|
+
nextActivity?: string;
|
|
38
|
+
}>[] | undefined>;
|
|
39
|
+
formData: {
|
|
40
|
+
processInfo: {
|
|
41
|
+
processId?: string | undefined;
|
|
42
|
+
processTitle: string;
|
|
43
|
+
processCode?: string | undefined;
|
|
44
|
+
processVersion?: number | undefined;
|
|
45
|
+
createdBy: string;
|
|
46
|
+
createdByName: string;
|
|
47
|
+
creationDate: string;
|
|
48
|
+
activityId: string;
|
|
49
|
+
activityCode: string;
|
|
50
|
+
activityName: string;
|
|
51
|
+
assignee: string;
|
|
52
|
+
assigneeName: string;
|
|
53
|
+
};
|
|
54
|
+
processData: {
|
|
55
|
+
attachment: string;
|
|
56
|
+
direction: string;
|
|
57
|
+
signScope: string;
|
|
58
|
+
readScope: string;
|
|
59
|
+
};
|
|
60
|
+
action?: string | undefined;
|
|
61
|
+
nextAssignee?: string | undefined;
|
|
62
|
+
nextActivity?: string | undefined;
|
|
63
|
+
comments?: string | undefined;
|
|
64
|
+
instanceHandlerList?: {
|
|
65
|
+
instanceId?: number | undefined;
|
|
66
|
+
activityId?: string | undefined;
|
|
67
|
+
activityCode?: string | undefined;
|
|
68
|
+
activityName?: string | undefined;
|
|
69
|
+
assignee?: string | undefined;
|
|
70
|
+
assigneeJson?: any;
|
|
71
|
+
assigneeName?: string | undefined;
|
|
72
|
+
preData?: {
|
|
73
|
+
label: string;
|
|
74
|
+
name: string;
|
|
75
|
+
account: string;
|
|
76
|
+
} | undefined;
|
|
77
|
+
}[] | undefined;
|
|
78
|
+
businessData?: any;
|
|
79
|
+
historyList: {
|
|
80
|
+
rowId: string;
|
|
81
|
+
id: number;
|
|
82
|
+
instanceId: string;
|
|
83
|
+
action: string;
|
|
84
|
+
actionName: string;
|
|
85
|
+
comments: string;
|
|
86
|
+
activityId: string;
|
|
87
|
+
activityCode: string;
|
|
88
|
+
activityName: string;
|
|
89
|
+
allAssignee: string;
|
|
90
|
+
allAssigneeName: string;
|
|
91
|
+
createdBy: string;
|
|
92
|
+
creationDate: string;
|
|
93
|
+
lastUpdatedBy: string;
|
|
94
|
+
lastUpdateDate: string;
|
|
95
|
+
objectVersionNumber: number;
|
|
96
|
+
fullName: string;
|
|
97
|
+
}[];
|
|
98
|
+
};
|
|
99
|
+
baseFields: import('vue').ComputedRef<IField<import('./type').IProcessInfo>[]>;
|
|
100
|
+
buttonClick: (code: string) => Promise<void>;
|
|
101
|
+
onConfirmSubmit: (data: any) => Promise<void>;
|
|
102
|
+
};
|
|
103
|
+
export {};
|
|
@@ -9,3 +9,4 @@ export * as UiDescriptions from './Descriptions/index.vue';
|
|
|
9
9
|
export * as UiDialog from './Dialog/index.vue';
|
|
10
10
|
export * as UiStaffSelect from './StaffSelect/index.vue';
|
|
11
11
|
export * as UiUpload from './Upload/index.vue';
|
|
12
|
+
export * as YcApproval from './YcApproval/index.vue';
|