@vunk/form 1.3.0 → 1.3.1
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/components/button/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +96 -0
- package/components/button/src/index.vue.d.ts +495 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +120 -0
- package/components/cascader/src/index.vue.d.ts +13955 -0
- package/components/cascader/src/types.d.ts +7 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/src/ctx.d.ts +89 -0
- package/components/checkbox/src/index.vue.d.ts +1099 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/src/ctx.d.ts +80 -0
- package/components/color-picker/src/index.vue.d.ts +11135 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/src/ctx.d.ts +158 -0
- package/components/date-picker/src/index.vue.d.ts +590 -0
- package/components/date-picker/src/types.d.ts +20 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/src/ctx.d.ts +177 -0
- package/components/date-picker-range/src/index.vue.d.ts +410 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +84 -0
- package/components/download-plus/src/index.vue.d.ts +1020 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +2259 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +223 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1249 -0
- package/components/esri-input-geojson/src/types.d.ts +22 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
- package/components/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +84 -0
- package/components/form/src/index.vue.d.ts +789 -0
- package/components/form/src/types.d.ts +12 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/ctx.d.ts +62 -0
- package/components/form-item/src/index.vue.d.ts +320 -0
- package/components/form-item/src/types.d.ts +6 -0
- package/components/form-item-renderer/index.d.ts +5 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +38 -0
- package/components/form-item-renderer/src/symbols.d.ts +2 -0
- package/components/form-item-renderer/src/types.d.ts +7 -0
- package/components/form-item-renderer-template/index.d.ts +4 -0
- package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
- package/components/form-item-renderer-template/src/types.d.ts +1 -0
- package/components/geoinput/index.d.ts +4 -0
- package/components/geoinput/src/ctx.d.ts +228 -0
- package/components/geoinput/src/index.vue.d.ts +519 -0
- package/components/geoinput/src/types.d.ts +12 -0
- package/components/geoinput-read/index.d.ts +5 -0
- package/components/geoinput-read/src/append.vue.d.ts +383 -0
- package/components/geoinput-read/src/core.vue.d.ts +644 -0
- package/components/geoinput-read/src/ctx.d.ts +199 -0
- package/components/geoinput-read/src/index.vue.d.ts +1169 -0
- package/components/geoinput-read/src/types.d.ts +3 -0
- package/components/geoinput-update/index.d.ts +5 -0
- package/components/geoinput-update/src/append.vue.d.ts +2246 -0
- package/components/geoinput-update/src/ctx.d.ts +207 -0
- package/components/geoinput-update/src/index.vue.d.ts +1302 -0
- package/components/geoinput-update/src/types.d.ts +6 -0
- package/components/input/index.d.ts +5 -0
- package/components/input/src/ctx.d.ts +148 -0
- package/components/input/src/index.vue.d.ts +809 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +179 -0
- package/components/input-link/src/index.vue.d.ts +385 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/src/ctx.d.ts +90 -0
- package/components/input-number/src/index.vue.d.ts +1783 -0
- package/components/input-number/src/types.d.ts +8 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +70 -0
- package/components/monaco-editor/src/index.vue.d.ts +209 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.d.ts +4 -0
- package/components/radio/src/ctx.d.ts +82 -0
- package/components/radio/src/index.vue.d.ts +629 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/select/index.d.ts +4 -0
- package/components/select/src/ctx.d.ts +156 -0
- package/components/select/src/index.vue.d.ts +13405 -0
- package/components/select/src/types.d.ts +11 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +127 -0
- package/components/slider/src/index.vue.d.ts +341 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.d.ts +4 -0
- package/components/switch/src/ctx.d.ts +114 -0
- package/components/switch/src/index.vue.d.ts +584 -0
- package/components/switch/src/types.d.ts +8 -0
- package/components/templates-default/index.d.ts +4 -0
- package/components/templates-default/src/ctx.d.ts +19 -0
- package/components/templates-default/src/index.vue.d.ts +198 -0
- package/components/templates-default/src/types.d.ts +53 -0
- package/components/templates-element-plus/index.d.ts +4 -0
- package/components/templates-element-plus/src/ctx.d.ts +9 -0
- package/components/templates-element-plus/src/index.vue.d.ts +206 -0
- package/components/templates-element-plus/src/types.d.ts +13 -0
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/index.vue.d.ts +43 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-layout/index.d.ts +4 -0
- package/components/templates-layout/src/ctx.d.ts +9 -0
- package/components/templates-layout/src/index.vue.d.ts +161 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-mapbox/index.d.ts +4 -0
- package/components/templates-mapbox/src/ctx.d.ts +11 -0
- package/components/templates-mapbox/src/index.vue.d.ts +43 -0
- package/components/templates-mapbox/src/types.d.ts +3 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +43 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/src/ctx.d.ts +180 -0
- package/components/upload/src/file.vue.d.ts +363 -0
- package/components/upload/src/index.vue.d.ts +2784 -0
- package/components/upload/src/types.d.ts +7 -0
- package/components/upload-plus/index.d.ts +6 -0
- package/components/upload-plus/src/api.d.ts +38 -0
- package/components/upload-plus/src/const.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +103 -0
- package/components/upload-plus/src/index.vue.d.ts +1077 -0
- package/components/upload-plus/src/types.d.ts +32 -0
- package/components/van-cascader/index.d.ts +4 -0
- package/components/van-cascader/src/ctx.d.ts +118 -0
- package/components/van-cascader/src/index.vue.d.ts +13312 -0
- package/components/van-cascader/src/types.d.ts +1 -0
- package/components/var-datetime-picker/index.d.ts +4 -0
- package/components/var-datetime-picker/src/const.d.ts +10 -0
- package/components/var-datetime-picker/src/ctx.d.ts +67 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +771 -0
- package/components/var-datetime-picker/src/types.d.ts +22 -0
- package/components/vditor/index.d.ts +4 -0
- package/components/vditor/src/ctx.d.ts +77 -0
- package/components/vditor/src/index.vue.d.ts +324 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
data: {
|
|
3
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
}>, {
|
|
7
|
+
pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[], KI extends keyof T>(data: T, opts?: {
|
|
8
|
+
excludes?: EX;
|
|
9
|
+
includes?: KI[];
|
|
10
|
+
}) => { [P in EX extends (infer KE)[] ? Exclude<KI, KE> : KI]: T[P]; };
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
data: {
|
|
13
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
|
+
data: import("@vunk/core").NormalObject;
|
|
18
|
+
}, {}, {
|
|
19
|
+
ElRow: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
20
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
21
|
+
readonly gutter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
22
|
+
readonly justify: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "center" | "space-around" | "space-between" | "space-evenly" | "end" | "start", unknown, "start", boolean>;
|
|
23
|
+
readonly align: {
|
|
24
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "middle", unknown>>;
|
|
25
|
+
readonly required: false;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
32
|
+
readonly gutter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
33
|
+
readonly justify: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "center" | "space-around" | "space-between" | "space-evenly" | "end" | "start", unknown, "start", boolean>;
|
|
34
|
+
readonly align: {
|
|
35
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "middle", unknown>>;
|
|
36
|
+
readonly required: false;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
+
__epPropKey: true;
|
|
39
|
+
};
|
|
40
|
+
}>> & {
|
|
41
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
42
|
+
}>>;
|
|
43
|
+
ns: {
|
|
44
|
+
namespace: import("vue").ComputedRef<string>;
|
|
45
|
+
b: (blockSuffix?: string) => string;
|
|
46
|
+
e: (element?: string | undefined) => string;
|
|
47
|
+
m: (modifier?: string | undefined) => string;
|
|
48
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
49
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
50
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
51
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
52
|
+
is: {
|
|
53
|
+
(name: string, state: boolean | undefined): string;
|
|
54
|
+
(name: string): string;
|
|
55
|
+
};
|
|
56
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
57
|
+
cssVarName: (name: string) => string;
|
|
58
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
59
|
+
cssVarBlockName: (name: string) => string;
|
|
60
|
+
};
|
|
61
|
+
gutter: import("vue").ComputedRef<number>;
|
|
62
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
63
|
+
rowKls: import("vue").ComputedRef<string[]>;
|
|
64
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
66
|
+
readonly gutter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
67
|
+
readonly justify: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "center" | "space-around" | "space-between" | "space-evenly" | "end" | "start", unknown, "start", boolean>;
|
|
68
|
+
readonly align: {
|
|
69
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom" | "middle", unknown>>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
}>>, {
|
|
75
|
+
readonly justify: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "center" | "space-around" | "space-between" | "space-evenly" | "end" | "start", unknown>;
|
|
76
|
+
readonly tag: string;
|
|
77
|
+
readonly gutter: number;
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
79
|
+
ElCol: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
80
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
81
|
+
readonly span: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 24, boolean>;
|
|
82
|
+
readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
83
|
+
readonly pull: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
84
|
+
readonly push: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
85
|
+
readonly xs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
86
|
+
readonly sm: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
87
|
+
readonly md: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
88
|
+
readonly lg: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
89
|
+
readonly xl: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
90
|
+
}, {
|
|
91
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
93
|
+
readonly span: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 24, boolean>;
|
|
94
|
+
readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
95
|
+
readonly pull: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
96
|
+
readonly push: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
97
|
+
readonly xs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
98
|
+
readonly sm: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
99
|
+
readonly md: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
100
|
+
readonly lg: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
101
|
+
readonly xl: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
102
|
+
}>> & {
|
|
103
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
104
|
+
}>>;
|
|
105
|
+
gutter: import("vue").ComputedRef<number>;
|
|
106
|
+
ns: {
|
|
107
|
+
namespace: import("vue").ComputedRef<string>;
|
|
108
|
+
b: (blockSuffix?: string) => string;
|
|
109
|
+
e: (element?: string | undefined) => string;
|
|
110
|
+
m: (modifier?: string | undefined) => string;
|
|
111
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
112
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
113
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
114
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
115
|
+
is: {
|
|
116
|
+
(name: string, state: boolean | undefined): string;
|
|
117
|
+
(name: string): string;
|
|
118
|
+
};
|
|
119
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
120
|
+
cssVarName: (name: string) => string;
|
|
121
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
122
|
+
cssVarBlockName: (name: string) => string;
|
|
123
|
+
};
|
|
124
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
125
|
+
colKls: import("vue").ComputedRef<(string | string[])[]>;
|
|
126
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
128
|
+
readonly span: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 24, boolean>;
|
|
129
|
+
readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
130
|
+
readonly pull: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
131
|
+
readonly push: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
132
|
+
readonly xs: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
133
|
+
readonly sm: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
134
|
+
readonly md: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
135
|
+
readonly lg: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
136
|
+
readonly xl: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
137
|
+
}>>, {
|
|
138
|
+
readonly offset: number;
|
|
139
|
+
readonly push: number;
|
|
140
|
+
readonly tag: string;
|
|
141
|
+
readonly span: number;
|
|
142
|
+
readonly pull: number;
|
|
143
|
+
readonly xs: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown>;
|
|
144
|
+
readonly sm: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown>;
|
|
145
|
+
readonly md: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown>;
|
|
146
|
+
readonly lg: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown>;
|
|
147
|
+
readonly xl: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize) | ((new (...args: any[]) => import("element-plus").ColSize & {}) | (() => import("element-plus").ColSize))[], unknown, unknown>;
|
|
148
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
149
|
+
VkfFormItemRendererTemplate: {
|
|
150
|
+
new (...args: any[]): any;
|
|
151
|
+
__isFragment?: never;
|
|
152
|
+
__isTeleport?: never;
|
|
153
|
+
__isSuspense?: never;
|
|
154
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
155
|
+
[x: string]: any;
|
|
156
|
+
[x: symbol]: any;
|
|
157
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
158
|
+
install(app: import("vue").App): void;
|
|
159
|
+
};
|
|
160
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
161
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { VueComponentPropsType } from '@vunk/core';
|
|
2
|
+
import { ElCol, ElRow } from 'element-plus';
|
|
3
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
+
export interface ElRowSource<S> extends VueComponentPropsType<typeof ElRow>, BasicSource {
|
|
5
|
+
templateType: 'ElRow';
|
|
6
|
+
templateSlots: S[];
|
|
7
|
+
}
|
|
8
|
+
export interface ElColSource<S> extends VueComponentPropsType<typeof ElCol>, BasicSource {
|
|
9
|
+
templateType: 'ElCol';
|
|
10
|
+
templateSlots: S[];
|
|
11
|
+
}
|
|
12
|
+
type GlobalValues = 'inherit' | 'initial' | 'unset';
|
|
13
|
+
interface VkfFlex {
|
|
14
|
+
justify?: 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'baseline' | 'first baseline' | 'last baseline' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'safe center' | 'unsafe center' | GlobalValues;
|
|
15
|
+
align?: 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center' | GlobalValues;
|
|
16
|
+
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse' | GlobalValues;
|
|
17
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse' | GlobalValues | 'revert' | 'revert-layer';
|
|
18
|
+
}
|
|
19
|
+
type IntrinsicSizing = 'max-content' | 'min-content' | 'fit-content';
|
|
20
|
+
interface VkfFlexItem {
|
|
21
|
+
grow?: number | GlobalValues | 'revert';
|
|
22
|
+
shrink?: number | GlobalValues | 'revert';
|
|
23
|
+
basis?: string | IntrinsicSizing | GlobalValues | 'revert' | 'revert-layer' | 'content';
|
|
24
|
+
overflow?: 'hidden' | 'visible' | 'scroll' | 'auto' | string;
|
|
25
|
+
}
|
|
26
|
+
export interface VkfFlexSource<S> extends VkfFlex, VkfFlexItem, BasicSource {
|
|
27
|
+
templateType: 'VkfFlex';
|
|
28
|
+
templateSlots?: S[];
|
|
29
|
+
[s: string]: any;
|
|
30
|
+
}
|
|
31
|
+
export type Source<S> = ElRowSource<S> | ElColSource<S> | VkfFlexSource<S>;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NormalObject, SetDataEvent } from '@vunk/core';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<NormalObject>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const emits: {
|
|
10
|
+
setData: (data: SetDataEvent) => SetDataEvent;
|
|
11
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
data: {
|
|
3
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
}>, {
|
|
7
|
+
getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined, safe?: boolean) => any;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
setData: (data: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
data: {
|
|
12
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
onSetData?: (data: import("@vunk/core").SetDataEvent) => any;
|
|
17
|
+
}>, {
|
|
18
|
+
data: import("@vunk/core").NormalObject;
|
|
19
|
+
}, {}, {
|
|
20
|
+
VkfGeoinput: {
|
|
21
|
+
new (...args: any[]): any;
|
|
22
|
+
__isFragment?: never;
|
|
23
|
+
__isTeleport?: never;
|
|
24
|
+
__isSuspense?: never;
|
|
25
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
[x: symbol]: any;
|
|
28
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
29
|
+
install(app: import("vue").App): void;
|
|
30
|
+
};
|
|
31
|
+
VkfFormItemRendererTemplate: {
|
|
32
|
+
new (...args: any[]): any;
|
|
33
|
+
__isFragment?: never;
|
|
34
|
+
__isTeleport?: never;
|
|
35
|
+
__isSuspense?: never;
|
|
36
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
[x: symbol]: any;
|
|
39
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
40
|
+
install(app: import("vue").App): void;
|
|
41
|
+
};
|
|
42
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NormalObject, SetDataEvent } from '@vunk/core';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<NormalObject>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const emits: {
|
|
10
|
+
setData: (data: SetDataEvent) => SetDataEvent;
|
|
11
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
data: {
|
|
3
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
}>, {
|
|
7
|
+
getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined, safe?: boolean) => any;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
setData: (data: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
data: {
|
|
12
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
onSetData?: (data: import("@vunk/core").SetDataEvent) => any;
|
|
17
|
+
}>, {
|
|
18
|
+
data: import("@vunk/core").NormalObject;
|
|
19
|
+
}, {}, {
|
|
20
|
+
VkfFormItemRendererTemplate: {
|
|
21
|
+
new (...args: any[]): any;
|
|
22
|
+
__isFragment?: never;
|
|
23
|
+
__isTeleport?: never;
|
|
24
|
+
__isSuspense?: never;
|
|
25
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
[x: symbol]: any;
|
|
28
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
29
|
+
install(app: import("vue").App): void;
|
|
30
|
+
};
|
|
31
|
+
VkfDatePickerRange: {
|
|
32
|
+
new (...args: any[]): any;
|
|
33
|
+
__isFragment?: never;
|
|
34
|
+
__isTeleport?: never;
|
|
35
|
+
__isSuspense?: never;
|
|
36
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
[x: symbol]: any;
|
|
39
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
40
|
+
install(app: import("vue").App): void;
|
|
41
|
+
};
|
|
42
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { Func } from '@vunk/core';
|
|
2
|
+
import { UploadFile } from 'element-plus';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
export declare const props: {
|
|
5
|
+
tip: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
preview: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
beforeUpload: {
|
|
14
|
+
type: FunctionConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
onDownload: {
|
|
18
|
+
type: PropType<Func<UploadFile>>;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
beforeRemove: {
|
|
22
|
+
readonly type: import("vue").PropType<(uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;
|
|
23
|
+
readonly required: false;
|
|
24
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
|
+
__epPropKey: true;
|
|
26
|
+
};
|
|
27
|
+
onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
28
|
+
(): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
29
|
+
new (): any;
|
|
30
|
+
readonly prototype: any;
|
|
31
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
32
|
+
(): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
33
|
+
new (): any;
|
|
34
|
+
readonly prototype: any;
|
|
35
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
36
|
+
onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
37
|
+
(): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
38
|
+
new (): any;
|
|
39
|
+
readonly prototype: any;
|
|
40
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
41
|
+
(): (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
42
|
+
new (): any;
|
|
43
|
+
readonly prototype: any;
|
|
44
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
45
|
+
onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
46
|
+
(): (uploadFile: UploadFile) => void;
|
|
47
|
+
new (): any;
|
|
48
|
+
readonly prototype: any;
|
|
49
|
+
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
50
|
+
(): (uploadFile: UploadFile) => void;
|
|
51
|
+
new (): any;
|
|
52
|
+
readonly prototype: any;
|
|
53
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
54
|
+
onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
55
|
+
(): (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
56
|
+
new (): any;
|
|
57
|
+
readonly prototype: any;
|
|
58
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
59
|
+
(): (response: any, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
60
|
+
new (): any;
|
|
61
|
+
readonly prototype: any;
|
|
62
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
63
|
+
onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
64
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
65
|
+
new (): any;
|
|
66
|
+
readonly prototype: any;
|
|
67
|
+
} | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
68
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
69
|
+
new (): any;
|
|
70
|
+
readonly prototype: any;
|
|
71
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
72
|
+
onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
73
|
+
(): (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
74
|
+
new (): any;
|
|
75
|
+
readonly prototype: any;
|
|
76
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
77
|
+
(): (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
78
|
+
new (): any;
|
|
79
|
+
readonly prototype: any;
|
|
80
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
81
|
+
onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
82
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
83
|
+
new (): any;
|
|
84
|
+
readonly prototype: any;
|
|
85
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
86
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
87
|
+
new (): any;
|
|
88
|
+
readonly prototype: any;
|
|
89
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
90
|
+
crossorigin: {
|
|
91
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => ("" | "anonymous" | "use-credentials") & {}) | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
92
|
+
readonly required: false;
|
|
93
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
|
+
__epPropKey: true;
|
|
95
|
+
};
|
|
96
|
+
action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
97
|
+
headers: {
|
|
98
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
};
|
|
103
|
+
method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
104
|
+
data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>) | import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>>) | (() => ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>) | import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>>) | ((new (...args: any[]) => ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>) | import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>>) | (() => ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>) | import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>>))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
105
|
+
multiple: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
106
|
+
name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
107
|
+
drag: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
108
|
+
withCredentials: BooleanConstructor;
|
|
109
|
+
showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
|
+
accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
111
|
+
fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
112
|
+
autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
|
+
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;
|
|
114
|
+
httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
115
|
+
(): import("element-plus").UploadRequestHandler;
|
|
116
|
+
new (): any;
|
|
117
|
+
readonly prototype: any;
|
|
118
|
+
} | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
119
|
+
(): import("element-plus").UploadRequestHandler;
|
|
120
|
+
new (): any;
|
|
121
|
+
readonly prototype: any;
|
|
122
|
+
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
123
|
+
disabled: BooleanConstructor;
|
|
124
|
+
limit: NumberConstructor;
|
|
125
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
126
|
+
formItemSize: {
|
|
127
|
+
type: PropType<"default" | "small" | "large">;
|
|
128
|
+
default: "default" | "small" | "large";
|
|
129
|
+
};
|
|
130
|
+
formItemSlots: {
|
|
131
|
+
type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
132
|
+
default: any;
|
|
133
|
+
};
|
|
134
|
+
elRef: {
|
|
135
|
+
type: PropType<any>;
|
|
136
|
+
required: boolean;
|
|
137
|
+
};
|
|
138
|
+
inline: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
readonly: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: any;
|
|
145
|
+
};
|
|
146
|
+
labelPosition: {
|
|
147
|
+
type: PropType<"right">;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
label: StringConstructor;
|
|
151
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
152
|
+
prop: {
|
|
153
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
154
|
+
readonly required: false;
|
|
155
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
156
|
+
__epPropKey: true;
|
|
157
|
+
};
|
|
158
|
+
rules: {
|
|
159
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
160
|
+
readonly required: false;
|
|
161
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
162
|
+
__epPropKey: true;
|
|
163
|
+
};
|
|
164
|
+
error: StringConstructor;
|
|
165
|
+
validateStatus: {
|
|
166
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
167
|
+
readonly required: false;
|
|
168
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
+
__epPropKey: true;
|
|
170
|
+
};
|
|
171
|
+
for: StringConstructor;
|
|
172
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
173
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
174
|
+
};
|
|
175
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"required", keyof T2> | Extract<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"multiple", keyof T2> | Extract<"onChange", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"drag", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"crossorigin", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"method", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"listType", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2> | Extract<"onDownload", keyof T2> | Extract<"preview", keyof T2> | Extract<"tip", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"disabled" | "required" | "name" | "data" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "multiple" | "onChange" | "withCredentials" | "drag" | "beforeUpload" | "beforeRemove" | "onRemove" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit" | "onDownload" | "preview" | "tip", keyof T2>, KE> : Extract<"disabled" | "required" | "name" | "data" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "multiple" | "onChange" | "withCredentials" | "drag" | "beforeUpload" | "beforeRemove" | "onRemove" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit" | "onDownload" | "preview" | "tip", keyof T2>]: { [k in Extract<"disabled" | "required" | "name" | "data" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "multiple" | "onChange" | "withCredentials" | "drag" | "beforeUpload" | "beforeRemove" | "onRemove" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit" | "onDownload" | "preview" | "tip", keyof T2>]: T2[k]; }[P]; }>;
|
|
176
|
+
export declare const emits: {
|
|
177
|
+
'update:fileList': any;
|
|
178
|
+
remove: (e: UploadFile) => UploadFile;
|
|
179
|
+
};
|
|
180
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("remove" | "update:fileList")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"remove" | "update:fileList", KE> : "remove" | "update:fileList"]: { [k in "remove" | "update:fileList"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|