yc-vep-ui 0.3.6 → 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/file.vue.d.ts +1 -5
- package/dist/components/Upload/image.vue.d.ts +5 -1
- package/dist/components/Upload/index.vue.d.ts +17 -14
- 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/components/utils/render.d.ts +2 -0
- package/dist/components/utils/tools.d.ts +1 -1
- 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 +18 -9
- package/dist/utils/rsaCrypto.d.ts +10 -0
- package/dist/vep-ui.js +2 -2
- package/package.json +3 -2
- package/dist/entry-Bz7nuE3y.js +0 -2291
|
@@ -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;
|
|
@@ -8,11 +8,7 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
change: (...args: any[]) => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{
|
|
14
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
13
|
export default _default;
|
|
18
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { IUploadProps } from './type';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
"update:fileList": (...args: any[]) => void;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{
|
|
5
|
+
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
7
|
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;
|
|
@@ -16,14 +19,20 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
16
19
|
onExceed?: ((...args: any[]) => any) | undefined;
|
|
17
20
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
18
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
-
uploadInstance: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<IUploadProps> & Readonly<{
|
|
22
|
+
uploadInstance: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<IUploadProps> & Readonly<{
|
|
23
|
+
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:fileList": (...args: any[]) => void;
|
|
26
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
20
27
|
P: {};
|
|
21
28
|
B: {};
|
|
22
29
|
D: {};
|
|
23
30
|
C: {};
|
|
24
31
|
M: {};
|
|
25
32
|
Defaults: {};
|
|
26
|
-
}, Readonly<IUploadProps> & Readonly<{
|
|
33
|
+
}, Readonly<IUploadProps> & Readonly<{
|
|
34
|
+
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {}, {}, {}, {}, {}> | ({
|
|
27
36
|
$: import('vue').ComponentInternalInstance;
|
|
28
37
|
$data: {};
|
|
29
38
|
$props: {
|
|
@@ -36,7 +45,7 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
36
45
|
readonly defaultValue?: import('./type').IUploadRawFile[] | undefined;
|
|
37
46
|
readonly fileList: import('./type').IUploadRawFile[];
|
|
38
47
|
readonly action?: string | undefined;
|
|
39
|
-
readonly onChange?: ((
|
|
48
|
+
readonly onChange?: ((file: any, files: import('./type').IUploadRawFile[]) => void) | undefined;
|
|
40
49
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
41
50
|
$attrs: import('vue').Attrs;
|
|
42
51
|
$refs: {
|
|
@@ -48,13 +57,9 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
48
57
|
$root: import('vue').ComponentPublicInstance | null;
|
|
49
58
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
50
59
|
$host: Element | null;
|
|
51
|
-
$emit: (event:
|
|
60
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
52
61
|
$el: any;
|
|
53
|
-
$options: import('vue').ComponentOptionsBase<Readonly<IUploadProps> & Readonly<{
|
|
54
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
-
change: (...args: any[]) => void;
|
|
57
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
62
|
+
$options: import('vue').ComponentOptionsBase<Readonly<IUploadProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
58
63
|
beforeCreate?: (() => void) | (() => void)[];
|
|
59
64
|
created?: (() => void) | (() => void)[];
|
|
60
65
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -74,9 +79,7 @@ declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {},
|
|
|
74
79
|
$forceUpdate: () => void;
|
|
75
80
|
$nextTick: typeof import('vue').nextTick;
|
|
76
81
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
77
|
-
} & Readonly<{}> & Omit<Readonly<IUploadProps> & Readonly<{
|
|
78
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
79
|
-
}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
82
|
+
} & Readonly<{}> & Omit<Readonly<IUploadProps> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
80
83
|
$slots: {
|
|
81
84
|
tip?(_: {}): any;
|
|
82
85
|
};
|
|
@@ -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';
|
|
@@ -38,6 +38,8 @@ declare function text(props: TextProps & {
|
|
|
38
38
|
declare function staffSelect(props: any): any;
|
|
39
39
|
declare function upload(props: IUploadProps & {
|
|
40
40
|
modelValue?: any[];
|
|
41
|
+
data?: any;
|
|
42
|
+
prop?: string;
|
|
41
43
|
}): any;
|
|
42
44
|
declare const _default: {
|
|
43
45
|
button: typeof button;
|
|
@@ -2,4 +2,4 @@ import { IField } from '../type';
|
|
|
2
2
|
export declare function getLabelWidth(width?: string | number): string;
|
|
3
3
|
export declare function getValueWidth(width: number | string): string;
|
|
4
4
|
export declare function getRenderAttr<T>(field: IField<T>, data: T): any;
|
|
5
|
-
export declare function renderNode<T>(field: IField<T>, data: T
|
|
5
|
+
export declare function renderNode<T>(field: IField<T>, data: T): any;
|