@vtj/ui 0.8.91 → 0.8.93
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/index.mjs +3 -3
- package/dist/index.umd.js +3 -3
- package/package.json +4 -4
- package/types/components/action/Action.d.ts +52 -124
- package/types/components/action/Trigger.d.ts +7 -81
- package/types/components/action/hooks.d.ts +6 -6
- package/types/components/action/types.d.ts +3 -41
- package/types/components/action-bar/ActionBar.d.ts +37 -285
- package/types/components/action-bar/types.d.ts +5 -43
- package/types/components/attachment/Attachment.d.ts +10 -8
- package/types/components/container/Container.d.ts +10 -8
- package/types/components/container/types.d.ts +2 -2
- package/types/components/data-item/DataItem.d.ts +38 -36
- package/types/components/dialog/Dialog.d.ts +14 -16
- package/types/components/dialog/types.d.ts +2 -4
- package/types/components/dialog-form/DialogForm.d.ts +12 -11
- package/types/components/dialog-form/types.d.ts +2 -3
- package/types/components/dialog-grid/DialogGrid.d.ts +8 -6
- package/types/components/field/Field.d.ts +23 -25
- package/types/components/field/editors/SelectEditor.d.ts +8 -6
- package/types/components/field/types.d.ts +3 -5
- package/types/components/form/Form.d.ts +10 -8
- package/types/components/grid/Grid.d.ts +281 -295
- package/types/components/grid/hooks/useEditRender.d.ts +2 -2
- package/types/components/grid/hooks/useLoader.d.ts +251 -267
- package/types/components/grid/hooks/useProps.d.ts +44 -44
- package/types/components/grid/hooks/useState.d.ts +251 -267
- package/types/components/grid/props.d.ts +3 -4
- package/types/components/header/Header.d.ts +8 -6
- package/types/components/icon/Icon.d.ts +9 -11
- package/types/components/icon/types.d.ts +2 -4
- package/types/components/import-button/ImportButton.d.ts +6 -4
- package/types/components/input-unit/InputUnit.d.ts +4 -4
- package/types/components/input-unit/types.d.ts +1 -1
- package/types/components/list/List.d.ts +12 -10
- package/types/components/mask/Mask.d.ts +41 -39
- package/types/components/mask/components/Avatar.d.ts +4 -2
- package/types/components/mask/components/Brand.d.ts +7 -5
- package/types/components/mask/components/Content.d.ts +4 -2
- package/types/components/mask/components/Sidebar.d.ts +4 -2
- package/types/components/mask/components/Toolbar.d.ts +6 -4
- package/types/components/panel/Panel.d.ts +20 -328
- package/types/components/panel/types.d.ts +6 -170
- package/types/components/picker/Picker.d.ts +14 -341
- package/types/components/picker/props.d.ts +7 -176
- package/types/components/qr-code/QrCode.d.ts +6 -4
- package/types/components/query-form/QueryForm.d.ts +29 -27
- package/types/components/tabs/Tabs.d.ts +48 -222
- package/types/components/tabs/types.d.ts +1 -1
- package/types/components/test/Test.d.ts +36 -34
- package/types/install.d.ts +1 -1
- package/types/utils/util.d.ts +1 -1
- package/types/version.d.ts +2 -2
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { Options } from 'sortablejs';
|
|
1
|
+
import { PickerLoader, PickerColumns, PickerFields, PickerDialogProps, PickerGridProps } from './types';
|
|
2
|
+
import { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
|
|
5
4
|
declare const _default: DefineComponent<{
|
|
6
5
|
columns: {
|
|
7
|
-
type: PropType<
|
|
6
|
+
type: PropType<PickerColumns>;
|
|
8
7
|
};
|
|
9
8
|
fields: {
|
|
10
|
-
type: PropType<
|
|
9
|
+
type: PropType<PickerFields>;
|
|
11
10
|
};
|
|
12
11
|
model: {
|
|
13
12
|
type: PropType<Record<string, any>>;
|
|
14
13
|
};
|
|
15
14
|
loader: {
|
|
16
|
-
type: PropType<
|
|
15
|
+
type: PropType<PickerLoader>;
|
|
17
16
|
};
|
|
18
17
|
modelValue: {
|
|
19
18
|
type: (StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
@@ -45,173 +44,10 @@ declare const _default: DefineComponent<{
|
|
|
45
44
|
type: BooleanConstructor;
|
|
46
45
|
};
|
|
47
46
|
dialogProps: {
|
|
48
|
-
type: PropType<
|
|
49
|
-
modelValue: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
title: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
};
|
|
56
|
-
subtitle: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
};
|
|
59
|
-
icon: {
|
|
60
|
-
type: PropType<IconParam>;
|
|
61
|
-
};
|
|
62
|
-
size: {
|
|
63
|
-
type: PropType<BaseSize>;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
width: {
|
|
67
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
height: {
|
|
71
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
left: {
|
|
75
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
76
|
-
};
|
|
77
|
-
top: {
|
|
78
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
79
|
-
};
|
|
80
|
-
modal: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
draggable: {
|
|
85
|
-
type: PropType<boolean | DraggableOptions>;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
resizable: {
|
|
89
|
-
type: PropType<boolean | ResizableOptions>;
|
|
90
|
-
};
|
|
91
|
-
closable: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
maximizable: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
minimizable: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
mode: {
|
|
104
|
-
type: PropType<DialogMode>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
content: {
|
|
108
|
-
type: PropType<Record<string, any> | VNode<RendererNode, RendererElement, {
|
|
109
|
-
[key: string]: any;
|
|
110
|
-
}> | DefineComponent<any, any, any, any>>;
|
|
111
|
-
};
|
|
112
|
-
src: {
|
|
113
|
-
type: StringConstructor;
|
|
114
|
-
};
|
|
115
|
-
componentInstance: {
|
|
116
|
-
type: PropType<Record<string, any> | null>;
|
|
117
|
-
};
|
|
118
|
-
beforeClose: {
|
|
119
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
120
|
-
};
|
|
121
|
-
submit: {
|
|
122
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
123
|
-
};
|
|
124
|
-
cancel: {
|
|
125
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
126
|
-
};
|
|
127
|
-
bodyPadding: {
|
|
128
|
-
type: BooleanConstructor;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
|
-
primary: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
};
|
|
134
|
-
}>>>>>>;
|
|
47
|
+
type: PropType<PickerDialogProps>;
|
|
135
48
|
};
|
|
136
49
|
gridProps: {
|
|
137
|
-
type: PropType<
|
|
138
|
-
id: {
|
|
139
|
-
type: StringConstructor;
|
|
140
|
-
};
|
|
141
|
-
columns: {
|
|
142
|
-
type: PropType<GridColumns>;
|
|
143
|
-
default(): GridColumns;
|
|
144
|
-
};
|
|
145
|
-
loader: {
|
|
146
|
-
type: PropType<GridLoader>;
|
|
147
|
-
};
|
|
148
|
-
rowSortable: {
|
|
149
|
-
type: PropType<boolean | Options>;
|
|
150
|
-
default: boolean;
|
|
151
|
-
};
|
|
152
|
-
columnSortable: {
|
|
153
|
-
type: PropType<boolean | Options>;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
customable: {
|
|
157
|
-
type: BooleanConstructor;
|
|
158
|
-
};
|
|
159
|
-
getCustom: {
|
|
160
|
-
type: PropType<(id: string) => Promise< GridCustomInfo>>;
|
|
161
|
-
};
|
|
162
|
-
saveCustom: {
|
|
163
|
-
type: PropType<(info: GridCustomInfo) => Promise<any>>;
|
|
164
|
-
};
|
|
165
|
-
resizable: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
pager: {
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
};
|
|
172
|
-
page: {
|
|
173
|
-
type: NumberConstructor;
|
|
174
|
-
default: number;
|
|
175
|
-
};
|
|
176
|
-
pageSize: {
|
|
177
|
-
type: NumberConstructor;
|
|
178
|
-
default: number;
|
|
179
|
-
};
|
|
180
|
-
pageSizes: {
|
|
181
|
-
type: PropType<number[]>;
|
|
182
|
-
default: () => number[];
|
|
183
|
-
};
|
|
184
|
-
auto: {
|
|
185
|
-
type: BooleanConstructor;
|
|
186
|
-
default: boolean;
|
|
187
|
-
};
|
|
188
|
-
virtual: {
|
|
189
|
-
type: BooleanConstructor;
|
|
190
|
-
default: boolean;
|
|
191
|
-
};
|
|
192
|
-
cellRenders: {
|
|
193
|
-
type: PropType<GridCellRenders>;
|
|
194
|
-
};
|
|
195
|
-
editRenders: {
|
|
196
|
-
type: PropType<GridEditRenders>;
|
|
197
|
-
};
|
|
198
|
-
filterRenders: {
|
|
199
|
-
type: PropType<GridFilterRenders>;
|
|
200
|
-
};
|
|
201
|
-
editable: {
|
|
202
|
-
type: BooleanConstructor;
|
|
203
|
-
default: boolean;
|
|
204
|
-
};
|
|
205
|
-
sumFields: {
|
|
206
|
-
type: PropType<string[]>;
|
|
207
|
-
};
|
|
208
|
-
avgFields: {
|
|
209
|
-
type: PropType<string[]>;
|
|
210
|
-
};
|
|
211
|
-
sumAllFields: {
|
|
212
|
-
type: PropType<Record<string, number>>;
|
|
213
|
-
};
|
|
214
|
-
}>>>>>>;
|
|
50
|
+
type: PropType<PickerGridProps>;
|
|
215
51
|
};
|
|
216
52
|
formProps: {
|
|
217
53
|
type: PropType<Record<string, any>>;
|
|
@@ -227,7 +63,7 @@ declare const _default: DefineComponent<{
|
|
|
227
63
|
label: string;
|
|
228
64
|
value: any;
|
|
229
65
|
}[]>;
|
|
230
|
-
setOptions: (rows: any, append?: boolean
|
|
66
|
+
setOptions: (rows: any, append?: boolean) => void;
|
|
231
67
|
current: Ref<any>;
|
|
232
68
|
visible: Ref<boolean>;
|
|
233
69
|
dialogRef: Ref<any>;
|
|
@@ -238,16 +74,16 @@ declare const _default: DefineComponent<{
|
|
|
238
74
|
picked: (value: any, data: any) => void;
|
|
239
75
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
240
76
|
columns: {
|
|
241
|
-
type: PropType<
|
|
77
|
+
type: PropType<PickerColumns>;
|
|
242
78
|
};
|
|
243
79
|
fields: {
|
|
244
|
-
type: PropType<
|
|
80
|
+
type: PropType<PickerFields>;
|
|
245
81
|
};
|
|
246
82
|
model: {
|
|
247
83
|
type: PropType<Record<string, any>>;
|
|
248
84
|
};
|
|
249
85
|
loader: {
|
|
250
|
-
type: PropType<
|
|
86
|
+
type: PropType<PickerLoader>;
|
|
251
87
|
};
|
|
252
88
|
modelValue: {
|
|
253
89
|
type: (StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
@@ -279,173 +115,10 @@ declare const _default: DefineComponent<{
|
|
|
279
115
|
type: BooleanConstructor;
|
|
280
116
|
};
|
|
281
117
|
dialogProps: {
|
|
282
|
-
type: PropType<
|
|
283
|
-
modelValue: {
|
|
284
|
-
type: BooleanConstructor;
|
|
285
|
-
default: boolean;
|
|
286
|
-
};
|
|
287
|
-
title: {
|
|
288
|
-
type: StringConstructor;
|
|
289
|
-
};
|
|
290
|
-
subtitle: {
|
|
291
|
-
type: StringConstructor;
|
|
292
|
-
};
|
|
293
|
-
icon: {
|
|
294
|
-
type: PropType<IconParam>;
|
|
295
|
-
};
|
|
296
|
-
size: {
|
|
297
|
-
type: PropType<BaseSize>;
|
|
298
|
-
default: string;
|
|
299
|
-
};
|
|
300
|
-
width: {
|
|
301
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
302
|
-
default: string;
|
|
303
|
-
};
|
|
304
|
-
height: {
|
|
305
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
306
|
-
default: string;
|
|
307
|
-
};
|
|
308
|
-
left: {
|
|
309
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
310
|
-
};
|
|
311
|
-
top: {
|
|
312
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
313
|
-
};
|
|
314
|
-
modal: {
|
|
315
|
-
type: BooleanConstructor;
|
|
316
|
-
default: boolean;
|
|
317
|
-
};
|
|
318
|
-
draggable: {
|
|
319
|
-
type: PropType<boolean | DraggableOptions>;
|
|
320
|
-
default: boolean;
|
|
321
|
-
};
|
|
322
|
-
resizable: {
|
|
323
|
-
type: PropType<boolean | ResizableOptions>;
|
|
324
|
-
};
|
|
325
|
-
closable: {
|
|
326
|
-
type: BooleanConstructor;
|
|
327
|
-
default: boolean;
|
|
328
|
-
};
|
|
329
|
-
maximizable: {
|
|
330
|
-
type: BooleanConstructor;
|
|
331
|
-
default: boolean;
|
|
332
|
-
};
|
|
333
|
-
minimizable: {
|
|
334
|
-
type: BooleanConstructor;
|
|
335
|
-
default: boolean;
|
|
336
|
-
};
|
|
337
|
-
mode: {
|
|
338
|
-
type: PropType<DialogMode>;
|
|
339
|
-
default: string;
|
|
340
|
-
};
|
|
341
|
-
content: {
|
|
342
|
-
type: PropType<Record<string, any> | VNode<RendererNode, RendererElement, {
|
|
343
|
-
[key: string]: any;
|
|
344
|
-
}> | DefineComponent<any, any, any, any>>;
|
|
345
|
-
};
|
|
346
|
-
src: {
|
|
347
|
-
type: StringConstructor;
|
|
348
|
-
};
|
|
349
|
-
componentInstance: {
|
|
350
|
-
type: PropType<Record<string, any> | null>;
|
|
351
|
-
};
|
|
352
|
-
beforeClose: {
|
|
353
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
354
|
-
};
|
|
355
|
-
submit: {
|
|
356
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
357
|
-
};
|
|
358
|
-
cancel: {
|
|
359
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
360
|
-
};
|
|
361
|
-
bodyPadding: {
|
|
362
|
-
type: BooleanConstructor;
|
|
363
|
-
default: boolean;
|
|
364
|
-
};
|
|
365
|
-
primary: {
|
|
366
|
-
type: BooleanConstructor;
|
|
367
|
-
};
|
|
368
|
-
}>>>>>>;
|
|
118
|
+
type: PropType<PickerDialogProps>;
|
|
369
119
|
};
|
|
370
120
|
gridProps: {
|
|
371
|
-
type: PropType<
|
|
372
|
-
id: {
|
|
373
|
-
type: StringConstructor;
|
|
374
|
-
};
|
|
375
|
-
columns: {
|
|
376
|
-
type: PropType<GridColumns>;
|
|
377
|
-
default(): GridColumns;
|
|
378
|
-
};
|
|
379
|
-
loader: {
|
|
380
|
-
type: PropType<GridLoader>;
|
|
381
|
-
};
|
|
382
|
-
rowSortable: {
|
|
383
|
-
type: PropType<boolean | Options>;
|
|
384
|
-
default: boolean;
|
|
385
|
-
};
|
|
386
|
-
columnSortable: {
|
|
387
|
-
type: PropType<boolean | Options>;
|
|
388
|
-
default: boolean;
|
|
389
|
-
};
|
|
390
|
-
customable: {
|
|
391
|
-
type: BooleanConstructor;
|
|
392
|
-
};
|
|
393
|
-
getCustom: {
|
|
394
|
-
type: PropType<(id: string) => Promise< GridCustomInfo>>;
|
|
395
|
-
};
|
|
396
|
-
saveCustom: {
|
|
397
|
-
type: PropType<(info: GridCustomInfo) => Promise<any>>;
|
|
398
|
-
};
|
|
399
|
-
resizable: {
|
|
400
|
-
type: BooleanConstructor;
|
|
401
|
-
default: boolean;
|
|
402
|
-
};
|
|
403
|
-
pager: {
|
|
404
|
-
type: BooleanConstructor;
|
|
405
|
-
};
|
|
406
|
-
page: {
|
|
407
|
-
type: NumberConstructor;
|
|
408
|
-
default: number;
|
|
409
|
-
};
|
|
410
|
-
pageSize: {
|
|
411
|
-
type: NumberConstructor;
|
|
412
|
-
default: number;
|
|
413
|
-
};
|
|
414
|
-
pageSizes: {
|
|
415
|
-
type: PropType<number[]>;
|
|
416
|
-
default: () => number[];
|
|
417
|
-
};
|
|
418
|
-
auto: {
|
|
419
|
-
type: BooleanConstructor;
|
|
420
|
-
default: boolean;
|
|
421
|
-
};
|
|
422
|
-
virtual: {
|
|
423
|
-
type: BooleanConstructor;
|
|
424
|
-
default: boolean;
|
|
425
|
-
};
|
|
426
|
-
cellRenders: {
|
|
427
|
-
type: PropType<GridCellRenders>;
|
|
428
|
-
};
|
|
429
|
-
editRenders: {
|
|
430
|
-
type: PropType<GridEditRenders>;
|
|
431
|
-
};
|
|
432
|
-
filterRenders: {
|
|
433
|
-
type: PropType<GridFilterRenders>;
|
|
434
|
-
};
|
|
435
|
-
editable: {
|
|
436
|
-
type: BooleanConstructor;
|
|
437
|
-
default: boolean;
|
|
438
|
-
};
|
|
439
|
-
sumFields: {
|
|
440
|
-
type: PropType<string[]>;
|
|
441
|
-
};
|
|
442
|
-
avgFields: {
|
|
443
|
-
type: PropType<string[]>;
|
|
444
|
-
};
|
|
445
|
-
sumAllFields: {
|
|
446
|
-
type: PropType<Record<string, number>>;
|
|
447
|
-
};
|
|
448
|
-
}>>>>>>;
|
|
121
|
+
type: PropType<PickerGridProps>;
|
|
449
122
|
};
|
|
450
123
|
formProps: {
|
|
451
124
|
type: PropType<Record<string, any>>;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { PropType
|
|
2
|
-
import {
|
|
3
|
-
import { DraggableOptions, ResizableOptions } from '../..';
|
|
4
|
-
import { Options } from 'sortablejs';
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PickerColumns, PickerFields, PickerDialogProps, PickerGridProps, PickerLoader } from './types';
|
|
5
3
|
|
|
6
4
|
export declare const pickerProps: {
|
|
7
5
|
/**
|
|
8
6
|
* 表格列配置
|
|
9
7
|
*/
|
|
10
8
|
columns: {
|
|
11
|
-
type: PropType<
|
|
9
|
+
type: PropType<PickerColumns>;
|
|
12
10
|
};
|
|
13
11
|
/**
|
|
14
12
|
* 查询条件表单字段
|
|
15
13
|
*/
|
|
16
14
|
fields: {
|
|
17
|
-
type: PropType<
|
|
15
|
+
type: PropType<PickerFields>;
|
|
18
16
|
};
|
|
19
17
|
/**
|
|
20
18
|
* 查询表单字段值
|
|
@@ -26,7 +24,7 @@ export declare const pickerProps: {
|
|
|
26
24
|
* 表格数据加载器
|
|
27
25
|
*/
|
|
28
26
|
loader: {
|
|
29
|
-
type: PropType<
|
|
27
|
+
type: PropType<PickerLoader>;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* 值
|
|
@@ -88,180 +86,13 @@ export declare const pickerProps: {
|
|
|
88
86
|
* 弹窗组件配置参数
|
|
89
87
|
*/
|
|
90
88
|
dialogProps: {
|
|
91
|
-
type: PropType<
|
|
92
|
-
modelValue: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
title: {
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
};
|
|
99
|
-
subtitle: {
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
};
|
|
102
|
-
icon: {
|
|
103
|
-
type: PropType< IconParam>;
|
|
104
|
-
};
|
|
105
|
-
size: {
|
|
106
|
-
type: PropType< BaseSize>;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
width: {
|
|
110
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
height: {
|
|
114
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
left: {
|
|
118
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
119
|
-
};
|
|
120
|
-
top: {
|
|
121
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
122
|
-
};
|
|
123
|
-
modal: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
|
-
draggable: {
|
|
128
|
-
type: PropType<boolean | DraggableOptions>;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
|
-
resizable: {
|
|
132
|
-
type: PropType<boolean | ResizableOptions>;
|
|
133
|
-
};
|
|
134
|
-
closable: {
|
|
135
|
-
type: BooleanConstructor;
|
|
136
|
-
default: boolean;
|
|
137
|
-
};
|
|
138
|
-
maximizable: {
|
|
139
|
-
type: BooleanConstructor; /**
|
|
140
|
-
* 表格组件配置参数
|
|
141
|
-
*/
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
minimizable: {
|
|
145
|
-
type: BooleanConstructor;
|
|
146
|
-
default: boolean;
|
|
147
|
-
};
|
|
148
|
-
mode: {
|
|
149
|
-
type: PropType< DialogMode>;
|
|
150
|
-
default: string;
|
|
151
|
-
};
|
|
152
|
-
content: {
|
|
153
|
-
type: PropType<Record<string, any> | VNode<RendererNode, RendererElement, {
|
|
154
|
-
[key: string]: any;
|
|
155
|
-
}> | DefineComponent<any, any, any, any>>;
|
|
156
|
-
};
|
|
157
|
-
src: {
|
|
158
|
-
type: StringConstructor;
|
|
159
|
-
};
|
|
160
|
-
componentInstance: {
|
|
161
|
-
type: PropType<Record<string, any> | null>;
|
|
162
|
-
};
|
|
163
|
-
beforeClose: {
|
|
164
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
165
|
-
};
|
|
166
|
-
submit: {
|
|
167
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
168
|
-
};
|
|
169
|
-
cancel: {
|
|
170
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
171
|
-
};
|
|
172
|
-
bodyPadding: {
|
|
173
|
-
type: BooleanConstructor;
|
|
174
|
-
default: boolean;
|
|
175
|
-
};
|
|
176
|
-
primary: {
|
|
177
|
-
type: BooleanConstructor;
|
|
178
|
-
};
|
|
179
|
-
}>>>>>>;
|
|
89
|
+
type: PropType<PickerDialogProps>;
|
|
180
90
|
};
|
|
181
91
|
/**
|
|
182
92
|
* 表格组件配置参数
|
|
183
93
|
*/
|
|
184
94
|
gridProps: {
|
|
185
|
-
type: PropType<
|
|
186
|
-
id: {
|
|
187
|
-
type: StringConstructor;
|
|
188
|
-
};
|
|
189
|
-
columns: {
|
|
190
|
-
type: PropType< GridColumns>;
|
|
191
|
-
default(): GridColumns;
|
|
192
|
-
};
|
|
193
|
-
loader: {
|
|
194
|
-
type: PropType< GridLoader>;
|
|
195
|
-
};
|
|
196
|
-
rowSortable: {
|
|
197
|
-
type: PropType<boolean | Options>;
|
|
198
|
-
default: boolean;
|
|
199
|
-
};
|
|
200
|
-
columnSortable: {
|
|
201
|
-
type: PropType<boolean | Options>;
|
|
202
|
-
default: boolean;
|
|
203
|
-
};
|
|
204
|
-
customable: {
|
|
205
|
-
type: BooleanConstructor;
|
|
206
|
-
};
|
|
207
|
-
getCustom: {
|
|
208
|
-
type: PropType<(id: string) => Promise< GridCustomInfo>>; /**
|
|
209
|
-
* 查询参数名称
|
|
210
|
-
*/
|
|
211
|
-
};
|
|
212
|
-
saveCustom: {
|
|
213
|
-
type: PropType<(info: GridCustomInfo) => Promise<any>>;
|
|
214
|
-
};
|
|
215
|
-
resizable: {
|
|
216
|
-
type: BooleanConstructor;
|
|
217
|
-
default: boolean;
|
|
218
|
-
};
|
|
219
|
-
pager: {
|
|
220
|
-
type: BooleanConstructor;
|
|
221
|
-
};
|
|
222
|
-
page: {
|
|
223
|
-
type: NumberConstructor;
|
|
224
|
-
default: number;
|
|
225
|
-
};
|
|
226
|
-
pageSize: {
|
|
227
|
-
type: NumberConstructor;
|
|
228
|
-
default: number;
|
|
229
|
-
};
|
|
230
|
-
pageSizes: {
|
|
231
|
-
type: PropType<number[]>;
|
|
232
|
-
default: () => number[];
|
|
233
|
-
};
|
|
234
|
-
auto: {
|
|
235
|
-
type: BooleanConstructor;
|
|
236
|
-
default: boolean;
|
|
237
|
-
};
|
|
238
|
-
virtual: {
|
|
239
|
-
type: BooleanConstructor;
|
|
240
|
-
default: boolean;
|
|
241
|
-
};
|
|
242
|
-
cellRenders: {
|
|
243
|
-
type: PropType< GridCellRenders>;
|
|
244
|
-
};
|
|
245
|
-
editRenders: {
|
|
246
|
-
type: PropType< GridEditRenders>;
|
|
247
|
-
};
|
|
248
|
-
filterRenders: {
|
|
249
|
-
type: PropType< GridFilterRenders>;
|
|
250
|
-
};
|
|
251
|
-
editable: {
|
|
252
|
-
type: BooleanConstructor;
|
|
253
|
-
default: boolean;
|
|
254
|
-
};
|
|
255
|
-
sumFields: {
|
|
256
|
-
type: PropType<string[]>;
|
|
257
|
-
};
|
|
258
|
-
avgFields: {
|
|
259
|
-
type: PropType<string[]>;
|
|
260
|
-
};
|
|
261
|
-
sumAllFields: {
|
|
262
|
-
type: PropType<Record<string, number>>;
|
|
263
|
-
};
|
|
264
|
-
}>>>>>>;
|
|
95
|
+
type: PropType<PickerGridProps>;
|
|
265
96
|
};
|
|
266
97
|
/**
|
|
267
98
|
* 查询表单参数
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { QrCodeProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
tip?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QrCodeProps>, {
|
|
5
8
|
size: number;
|
|
6
9
|
tip: string;
|
|
7
10
|
}>, {
|
|
@@ -18,9 +21,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
18
21
|
}, {
|
|
19
22
|
size: number;
|
|
20
23
|
tip: string;
|
|
21
|
-
}, {}
|
|
22
|
-
|
|
23
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
26
|
export default _default;
|
|
25
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
28
|
type __VLS_TypePropsToRuntimeProps<T> = {
|