gzhr-ui 1.1.3 → 1.1.5
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/es/index.mjs +6 -5
- package/dist/es/{table-DYSZBHc3.mjs → table-CBaBaY5j.mjs} +1086 -938
- package/dist/index.css +1 -1
- package/dist/types/components/index.d.ts +104 -0
- package/dist/types/components/table/index.d.ts +13 -0
- package/dist/types/components/table/src/index.vue.d.ts +7 -0
- package/dist/types/components/tableSelect/index.d.ts +90 -0
- package/dist/types/components/tableSelect/index.vue.d.ts +38 -0
- package/dist/types/components/tableSelect/table.vue.d.ts +26 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.js +16 -16
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './button';
|
|
2
2
|
export * from './table';
|
|
3
3
|
export * from './icon';
|
|
4
|
+
export * from './tableSelect';
|
|
4
5
|
declare const HrUI: {
|
|
5
6
|
install(app: any): void;
|
|
6
7
|
HrButton: {
|
|
@@ -46,8 +47,11 @@ declare const HrUI: {
|
|
|
46
47
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
47
48
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
48
49
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
49
52
|
}>, {
|
|
50
53
|
gridRef: import('vue').Ref<import('vxe-pc-ui').VxeGridInstance<any> | undefined, import('vxe-pc-ui').VxeGridInstance<any> | undefined>;
|
|
54
|
+
getFieldTotal: (data: any, field: any) => any;
|
|
51
55
|
gridOptions: import('vue').ComputedRef<import('vxe-pc-ui').VxeGridProps<any>>;
|
|
52
56
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
57
|
FilterSearch: (...args: any[]) => void;
|
|
@@ -62,6 +66,8 @@ declare const HrUI: {
|
|
|
62
66
|
ChooseBefor: (...args: any[]) => void;
|
|
63
67
|
ExportAllMethod: (...args: any[]) => void;
|
|
64
68
|
CheckboxChange: (...args: any[]) => void;
|
|
69
|
+
tableSelectChange: (...args: any[]) => void;
|
|
70
|
+
tableSelectRemote: (...args: any[]) => void;
|
|
65
71
|
}, import('vue').PublicProps, {
|
|
66
72
|
data: unknown[];
|
|
67
73
|
gridRef: Record<string, any>;
|
|
@@ -102,8 +108,11 @@ declare const HrUI: {
|
|
|
102
108
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
103
109
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
104
110
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
111
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
112
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
105
113
|
}>, {
|
|
106
114
|
gridRef: import('vue').Ref<import('vxe-pc-ui').VxeGridInstance<any> | undefined, import('vxe-pc-ui').VxeGridInstance<any> | undefined>;
|
|
115
|
+
getFieldTotal: (data: any, field: any) => any;
|
|
107
116
|
gridOptions: import('vue').ComputedRef<import('vxe-pc-ui').VxeGridProps<any>>;
|
|
108
117
|
}, {}, {}, {}, {
|
|
109
118
|
data: unknown[];
|
|
@@ -142,8 +151,11 @@ declare const HrUI: {
|
|
|
142
151
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
143
152
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
144
153
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
145
156
|
}>, {
|
|
146
157
|
gridRef: import('vue').Ref<import('vxe-pc-ui').VxeGridInstance<any> | undefined, import('vxe-pc-ui').VxeGridInstance<any> | undefined>;
|
|
158
|
+
getFieldTotal: (data: any, field: any) => any;
|
|
147
159
|
gridOptions: import('vue').ComputedRef<import('vxe-pc-ui').VxeGridProps<any>>;
|
|
148
160
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
149
161
|
FilterSearch: (...args: any[]) => void;
|
|
@@ -158,6 +170,8 @@ declare const HrUI: {
|
|
|
158
170
|
ChooseBefor: (...args: any[]) => void;
|
|
159
171
|
ExportAllMethod: (...args: any[]) => void;
|
|
160
172
|
CheckboxChange: (...args: any[]) => void;
|
|
173
|
+
tableSelectChange: (...args: any[]) => void;
|
|
174
|
+
tableSelectRemote: (...args: any[]) => void;
|
|
161
175
|
}, string, {
|
|
162
176
|
data: unknown[];
|
|
163
177
|
gridRef: Record<string, any>;
|
|
@@ -191,5 +205,95 @@ declare const HrUI: {
|
|
|
191
205
|
size?: string | number;
|
|
192
206
|
svgClass?: string;
|
|
193
207
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
208
|
+
HrTableSelect: {
|
|
209
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
210
|
+
modelValue?: any;
|
|
211
|
+
} & {
|
|
212
|
+
columns: {
|
|
213
|
+
title: string;
|
|
214
|
+
field: string;
|
|
215
|
+
width?: number | string;
|
|
216
|
+
}[];
|
|
217
|
+
width?: string | number;
|
|
218
|
+
}> & Readonly<{
|
|
219
|
+
onChange?: ((data: {
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
}) => any) | undefined;
|
|
222
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
223
|
+
"onRemote-method"?: ((param: {
|
|
224
|
+
query: string;
|
|
225
|
+
tableData: any[];
|
|
226
|
+
loading: boolean;
|
|
227
|
+
}) => any) | undefined;
|
|
228
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
229
|
+
change: (data: {
|
|
230
|
+
[key: string]: any;
|
|
231
|
+
}) => any;
|
|
232
|
+
"update:modelValue": (modelValue: any) => any;
|
|
233
|
+
"remote-method": (param: {
|
|
234
|
+
query: string;
|
|
235
|
+
tableData: any[];
|
|
236
|
+
loading: boolean;
|
|
237
|
+
}) => any;
|
|
238
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
239
|
+
P: {};
|
|
240
|
+
B: {};
|
|
241
|
+
D: {};
|
|
242
|
+
C: {};
|
|
243
|
+
M: {};
|
|
244
|
+
Defaults: {};
|
|
245
|
+
}, Readonly<{
|
|
246
|
+
modelValue?: any;
|
|
247
|
+
} & {
|
|
248
|
+
columns: {
|
|
249
|
+
title: string;
|
|
250
|
+
field: string;
|
|
251
|
+
width?: number | string;
|
|
252
|
+
}[];
|
|
253
|
+
width?: string | number;
|
|
254
|
+
}> & Readonly<{
|
|
255
|
+
onChange?: ((data: {
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
}) => any) | undefined;
|
|
258
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
259
|
+
"onRemote-method"?: ((param: {
|
|
260
|
+
query: string;
|
|
261
|
+
tableData: any[];
|
|
262
|
+
loading: boolean;
|
|
263
|
+
}) => any) | undefined;
|
|
264
|
+
}>, {}, {}, {}, {}, {}>;
|
|
265
|
+
__isFragment?: never;
|
|
266
|
+
__isTeleport?: never;
|
|
267
|
+
__isSuspense?: never;
|
|
268
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
269
|
+
modelValue?: any;
|
|
270
|
+
} & {
|
|
271
|
+
columns: {
|
|
272
|
+
title: string;
|
|
273
|
+
field: string;
|
|
274
|
+
width?: number | string;
|
|
275
|
+
}[];
|
|
276
|
+
width?: string | number;
|
|
277
|
+
}> & Readonly<{
|
|
278
|
+
onChange?: ((data: {
|
|
279
|
+
[key: string]: any;
|
|
280
|
+
}) => any) | undefined;
|
|
281
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
282
|
+
"onRemote-method"?: ((param: {
|
|
283
|
+
query: string;
|
|
284
|
+
tableData: any[];
|
|
285
|
+
loading: boolean;
|
|
286
|
+
}) => any) | undefined;
|
|
287
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
288
|
+
change: (data: {
|
|
289
|
+
[key: string]: any;
|
|
290
|
+
}) => any;
|
|
291
|
+
"update:modelValue": (modelValue: any) => any;
|
|
292
|
+
"remote-method": (param: {
|
|
293
|
+
query: string;
|
|
294
|
+
tableData: any[];
|
|
295
|
+
loading: boolean;
|
|
296
|
+
}) => any;
|
|
297
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
194
298
|
};
|
|
195
299
|
export default HrUI;
|
|
@@ -29,8 +29,11 @@ export declare const HrTable: {
|
|
|
29
29
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
32
34
|
}>, {
|
|
33
35
|
gridRef: import('vue').Ref<VxeUI.VxeGridInstance<any> | undefined, VxeUI.VxeGridInstance<any> | undefined>;
|
|
36
|
+
getFieldTotal: (data: any, field: any) => any;
|
|
34
37
|
gridOptions: import('vue').ComputedRef<VxeUI.VxeGridProps<any>>;
|
|
35
38
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
39
|
FilterSearch: (...args: any[]) => void;
|
|
@@ -45,6 +48,8 @@ export declare const HrTable: {
|
|
|
45
48
|
ChooseBefor: (...args: any[]) => void;
|
|
46
49
|
ExportAllMethod: (...args: any[]) => void;
|
|
47
50
|
CheckboxChange: (...args: any[]) => void;
|
|
51
|
+
tableSelectChange: (...args: any[]) => void;
|
|
52
|
+
tableSelectRemote: (...args: any[]) => void;
|
|
48
53
|
}, import('vue').PublicProps, {
|
|
49
54
|
data: unknown[];
|
|
50
55
|
gridRef: Record<string, any>;
|
|
@@ -85,8 +90,11 @@ export declare const HrTable: {
|
|
|
85
90
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
86
91
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
87
92
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
88
95
|
}>, {
|
|
89
96
|
gridRef: import('vue').Ref<VxeUI.VxeGridInstance<any> | undefined, VxeUI.VxeGridInstance<any> | undefined>;
|
|
97
|
+
getFieldTotal: (data: any, field: any) => any;
|
|
90
98
|
gridOptions: import('vue').ComputedRef<VxeUI.VxeGridProps<any>>;
|
|
91
99
|
}, {}, {}, {}, {
|
|
92
100
|
data: unknown[];
|
|
@@ -125,8 +133,11 @@ export declare const HrTable: {
|
|
|
125
133
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
126
134
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
127
135
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
128
138
|
}>, {
|
|
129
139
|
gridRef: import('vue').Ref<VxeUI.VxeGridInstance<any> | undefined, VxeUI.VxeGridInstance<any> | undefined>;
|
|
140
|
+
getFieldTotal: (data: any, field: any) => any;
|
|
130
141
|
gridOptions: import('vue').ComputedRef<VxeUI.VxeGridProps<any>>;
|
|
131
142
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
132
143
|
FilterSearch: (...args: any[]) => void;
|
|
@@ -141,6 +152,8 @@ export declare const HrTable: {
|
|
|
141
152
|
ChooseBefor: (...args: any[]) => void;
|
|
142
153
|
ExportAllMethod: (...args: any[]) => void;
|
|
143
154
|
CheckboxChange: (...args: any[]) => void;
|
|
155
|
+
tableSelectChange: (...args: any[]) => void;
|
|
156
|
+
tableSelectRemote: (...args: any[]) => void;
|
|
144
157
|
}, string, {
|
|
145
158
|
data: unknown[];
|
|
146
159
|
gridRef: Record<string, any>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { VxeGridInstance, VxeGridProps } from 'vxe-table';
|
|
2
|
+
/** 获取表格数据对应列的合计数 */
|
|
3
|
+
declare function getFieldTotal(data: any, field: any): any;
|
|
2
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
5
|
config: {
|
|
4
6
|
type: ObjectConstructor;
|
|
@@ -17,6 +19,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
19
|
};
|
|
18
20
|
}>, {
|
|
19
21
|
gridRef: import('vue').Ref<VxeGridInstance<any> | undefined, VxeGridInstance<any> | undefined>;
|
|
22
|
+
getFieldTotal: typeof getFieldTotal;
|
|
20
23
|
gridOptions: import('vue').ComputedRef<VxeGridProps<any>>;
|
|
21
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
25
|
FilterSearch: (...args: any[]) => void;
|
|
@@ -31,6 +34,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
34
|
ChooseBefor: (...args: any[]) => void;
|
|
32
35
|
ExportAllMethod: (...args: any[]) => void;
|
|
33
36
|
CheckboxChange: (...args: any[]) => void;
|
|
37
|
+
tableSelectChange: (...args: any[]) => void;
|
|
38
|
+
tableSelectRemote: (...args: any[]) => void;
|
|
34
39
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
40
|
config: {
|
|
36
41
|
type: ObjectConstructor;
|
|
@@ -60,6 +65,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
60
65
|
onChooseBefor?: ((...args: any[]) => any) | undefined;
|
|
61
66
|
onExportAllMethod?: ((...args: any[]) => any) | undefined;
|
|
62
67
|
onCheckboxChange?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
onTableSelectChange?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
onTableSelectRemote?: ((...args: any[]) => any) | undefined;
|
|
63
70
|
}>, {
|
|
64
71
|
data: unknown[];
|
|
65
72
|
gridRef: Record<string, any>;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const HrTableSelect: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
modelValue?: any;
|
|
4
|
+
} & {
|
|
5
|
+
columns: {
|
|
6
|
+
title: string;
|
|
7
|
+
field: string;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
}[];
|
|
10
|
+
width?: string | number;
|
|
11
|
+
}> & Readonly<{
|
|
12
|
+
onChange?: ((data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
16
|
+
"onRemote-method"?: ((param: {
|
|
17
|
+
query: string;
|
|
18
|
+
tableData: any[];
|
|
19
|
+
loading: boolean;
|
|
20
|
+
}) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
change: (data: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
"update:modelValue": (modelValue: any) => any;
|
|
26
|
+
"remote-method": (param: {
|
|
27
|
+
query: string;
|
|
28
|
+
tableData: any[];
|
|
29
|
+
loading: boolean;
|
|
30
|
+
}) => any;
|
|
31
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<{
|
|
39
|
+
modelValue?: any;
|
|
40
|
+
} & {
|
|
41
|
+
columns: {
|
|
42
|
+
title: string;
|
|
43
|
+
field: string;
|
|
44
|
+
width?: number | string;
|
|
45
|
+
}[];
|
|
46
|
+
width?: string | number;
|
|
47
|
+
}> & Readonly<{
|
|
48
|
+
onChange?: ((data: {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}) => any) | undefined;
|
|
51
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
52
|
+
"onRemote-method"?: ((param: {
|
|
53
|
+
query: string;
|
|
54
|
+
tableData: any[];
|
|
55
|
+
loading: boolean;
|
|
56
|
+
}) => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, {}>;
|
|
58
|
+
__isFragment?: never;
|
|
59
|
+
__isTeleport?: never;
|
|
60
|
+
__isSuspense?: never;
|
|
61
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
62
|
+
modelValue?: any;
|
|
63
|
+
} & {
|
|
64
|
+
columns: {
|
|
65
|
+
title: string;
|
|
66
|
+
field: string;
|
|
67
|
+
width?: number | string;
|
|
68
|
+
}[];
|
|
69
|
+
width?: string | number;
|
|
70
|
+
}> & Readonly<{
|
|
71
|
+
onChange?: ((data: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
75
|
+
"onRemote-method"?: ((param: {
|
|
76
|
+
query: string;
|
|
77
|
+
tableData: any[];
|
|
78
|
+
loading: boolean;
|
|
79
|
+
}) => any) | undefined;
|
|
80
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
81
|
+
change: (data: {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
}) => any;
|
|
84
|
+
"update:modelValue": (modelValue: any) => any;
|
|
85
|
+
"remote-method": (param: {
|
|
86
|
+
query: string;
|
|
87
|
+
tableData: any[];
|
|
88
|
+
loading: boolean;
|
|
89
|
+
}) => any;
|
|
90
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
/**表格列配置 */
|
|
3
|
+
columns: {
|
|
4
|
+
/**标题 */
|
|
5
|
+
title: string;
|
|
6
|
+
/**字段名 */
|
|
7
|
+
field: string;
|
|
8
|
+
/**列宽 */
|
|
9
|
+
width?: number | string;
|
|
10
|
+
}[];
|
|
11
|
+
/**表格宽度 */
|
|
12
|
+
width?: string | number;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_PublicProps = {
|
|
15
|
+
modelValue?: any;
|
|
16
|
+
} & typeof __VLS_typeProps;
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
change: (data: {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}) => any;
|
|
21
|
+
"update:modelValue": (modelValue: any) => any;
|
|
22
|
+
"remote-method": (param: {
|
|
23
|
+
query: string;
|
|
24
|
+
tableData: any[];
|
|
25
|
+
loading: boolean;
|
|
26
|
+
}) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
+
onChange?: ((data: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}) => any) | undefined;
|
|
31
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
32
|
+
"onRemote-method"?: ((param: {
|
|
33
|
+
query: string;
|
|
34
|
+
tableData: any[];
|
|
35
|
+
loading: boolean;
|
|
36
|
+
}) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
/**表格列配置 */
|
|
3
|
+
columns: {
|
|
4
|
+
/**标题 */
|
|
5
|
+
title: string;
|
|
6
|
+
/**字段名 */
|
|
7
|
+
field: string;
|
|
8
|
+
/**列宽 */
|
|
9
|
+
width?: number | string;
|
|
10
|
+
}[];
|
|
11
|
+
/**高亮行索引 */
|
|
12
|
+
highlight: number;
|
|
13
|
+
/**加载动画 */
|
|
14
|
+
loading: boolean;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_PublicProps = {
|
|
17
|
+
modelValue?: {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}[];
|
|
20
|
+
} & typeof __VLS_typeProps;
|
|
21
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
change: (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|