yc-vep-ui 0.0.62 → 0.0.64
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/Editor/index.vue.d.ts +1 -1
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/svg/Plus.vue.d.ts +2 -0
- package/dist/components/StaffSelect/dialog.vue.d.ts +2 -2
- package/dist/components/StaffSelect/index.vue.d.ts +3 -3
- package/dist/components/Upload/file.vue.d.ts +22 -0
- package/dist/components/Upload/image.vue.d.ts +2 -0
- package/dist/components/Upload/index.vue.d.ts +87 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/utils/render.d.ts +3 -0
- package/dist/vep-ui.es.js +1643 -1393
- package/dist/vep-ui.umd.js +1 -1
- package/dist/yc-vep-ui.css +41 -34
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
8
8
|
change: (...args: any[]) => void;
|
|
9
9
|
"update:modelValue": (value: string) => void;
|
|
10
10
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
11
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
14
|
editorRef: HTMLDivElement;
|
|
15
15
|
}, HTMLDivElement>;
|
|
@@ -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;
|
|
@@ -9,11 +9,11 @@ declare function validate(): boolean;
|
|
|
9
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
10
10
|
validate: typeof validate;
|
|
11
11
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (...args: any[]) => void;
|
|
13
12
|
change: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
15
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -21,13 +21,13 @@ declare const _default: import('vue').DefineComponent<IStaffSelectProps, {
|
|
|
21
21
|
data?: import('./type.d').StaffOption[];
|
|
22
22
|
required?: boolean;
|
|
23
23
|
}> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
validate: () => boolean;
|
|
28
28
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
-
"update:modelValue": (...args: any[]) => void;
|
|
30
29
|
change: (...args: any[]) => void;
|
|
30
|
+
"update:modelValue": (...args: any[]) => void;
|
|
31
31
|
}, import('vue').PublicProps, {
|
|
32
32
|
disabled: boolean;
|
|
33
33
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -45,8 +45,8 @@ declare const _default: import('vue').DefineComponent<IStaffSelectProps, {
|
|
|
45
45
|
data?: import('./type.d').StaffOption[];
|
|
46
46
|
required?: boolean;
|
|
47
47
|
}> & Readonly<{
|
|
48
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
48
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
validate: () => boolean;
|
|
52
52
|
}, {}, {}, {}, {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IUploadProps } from './type';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
tip?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
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>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -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, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { IUploadProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IUploadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
success: (...args: any[]) => void;
|
|
4
|
+
change: (...args: any[]) => void;
|
|
5
|
+
error: (...args: any[]) => void;
|
|
6
|
+
"update:modelValue": (...args: any[]) => void;
|
|
7
|
+
"update:fileList": (...args: any[]) => void;
|
|
8
|
+
exceed: (...args: any[]) => void;
|
|
9
|
+
remove: (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<IUploadProps> & Readonly<{
|
|
11
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
onExceed?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
uploadInstance: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
20
|
+
P: {};
|
|
21
|
+
B: {};
|
|
22
|
+
D: {};
|
|
23
|
+
C: {};
|
|
24
|
+
M: {};
|
|
25
|
+
Defaults: {};
|
|
26
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}> | ({
|
|
27
|
+
$: import('vue').ComponentInternalInstance;
|
|
28
|
+
$data: {};
|
|
29
|
+
$props: {
|
|
30
|
+
readonly icon?: any;
|
|
31
|
+
readonly limit?: number | undefined;
|
|
32
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
33
|
+
readonly prop?: string | undefined;
|
|
34
|
+
readonly text?: string | undefined;
|
|
35
|
+
readonly type?: "file" | "image" | "dialog:image" | undefined;
|
|
36
|
+
readonly defaultValue?: import('./type').IUploadRawFile[] | undefined;
|
|
37
|
+
readonly fileList: import('./type').IUploadRawFile[];
|
|
38
|
+
readonly action?: string | undefined;
|
|
39
|
+
readonly onChange?: (((val: import('./type').IUploadRawFile[]) => void) & ((...args: any[]) => any)) | undefined;
|
|
40
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
41
|
+
$attrs: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
$refs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
$slots: Readonly<{
|
|
48
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
49
|
+
}>;
|
|
50
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
51
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
52
|
+
$host: Element | null;
|
|
53
|
+
$emit: (event: "change", ...args: any[]) => void;
|
|
54
|
+
$el: any;
|
|
55
|
+
$options: import('vue').ComponentOptionsBase<Readonly<IUploadProps> & Readonly<{
|
|
56
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
change: (...args: any[]) => void;
|
|
59
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
60
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
61
|
+
created?: (() => void) | (() => void)[];
|
|
62
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
63
|
+
mounted?: (() => void) | (() => void)[];
|
|
64
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
65
|
+
updated?: (() => void) | (() => void)[];
|
|
66
|
+
activated?: (() => void) | (() => void)[];
|
|
67
|
+
deactivated?: (() => void) | (() => void)[];
|
|
68
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
69
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
70
|
+
destroyed?: (() => void) | (() => void)[];
|
|
71
|
+
unmounted?: (() => void) | (() => void)[];
|
|
72
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
73
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
74
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
75
|
+
};
|
|
76
|
+
$forceUpdate: () => void;
|
|
77
|
+
$nextTick: typeof import('vue').nextTick;
|
|
78
|
+
$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;
|
|
79
|
+
} & Readonly<{}> & Omit<Readonly<IUploadProps> & Readonly<{
|
|
80
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
82
|
+
$slots: {
|
|
83
|
+
tip?(_: {}): any;
|
|
84
|
+
};
|
|
85
|
+
}) | null;
|
|
86
|
+
}, any>;
|
|
87
|
+
export default _default;
|
|
@@ -8,4 +8,5 @@ export * as UiInfiniteScroll from './InfiniteScroll/index.vue';
|
|
|
8
8
|
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
|
+
export * as UiUpload from './Upload/index.vue';
|
|
11
12
|
export * as Icons from './Icons';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IUploadProps } from '../type.d';
|
|
1
2
|
type ButtonProps = any;
|
|
2
3
|
type LinkProps = any;
|
|
3
4
|
type TagProps = any;
|
|
@@ -35,6 +36,7 @@ declare function text(props: TextProps & {
|
|
|
35
36
|
prop: string;
|
|
36
37
|
}): any;
|
|
37
38
|
declare function staffSelect(props: any): any;
|
|
39
|
+
declare function upload(props: IUploadProps): any;
|
|
38
40
|
declare const _default: {
|
|
39
41
|
button: typeof button;
|
|
40
42
|
link: typeof link;
|
|
@@ -51,5 +53,6 @@ declare const _default: {
|
|
|
51
53
|
radio: typeof radio;
|
|
52
54
|
text: typeof text;
|
|
53
55
|
staffSelect: typeof staffSelect;
|
|
56
|
+
upload: typeof upload;
|
|
54
57
|
};
|
|
55
58
|
export default _default;
|