@dfsj/components 3.4.0 → 3.5.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/components/Boards/src/Boards.vue.d.ts +6 -10
  3. package/dist/components/Boards/src/Boards.vue2.js +1 -1
  4. package/dist/components/ClickOutSide/src/ClickOutSide.vue.d.ts +2 -2
  5. package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +1 -1
  6. package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +80 -7
  7. package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +6 -6
  8. package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +6 -6
  9. package/dist/components/DatePicker/src/index.d.ts +52 -49
  10. package/dist/components/Descriptions/src/Descriptions.vue.d.ts +1 -96
  11. package/dist/components/Descriptions/src/Descriptions.vue2.js +1 -1
  12. package/dist/components/Editor/src/Editor.vue.d.ts +6 -6
  13. package/dist/components/Editor/src/Editor.vue2.js +1 -1
  14. package/dist/components/Form/src/Form.vue.d.ts +1 -153
  15. package/dist/components/Form/src/Form.vue2.js +2 -2
  16. package/dist/components/Form/src/components/useRenderCheckbox.js +1 -1
  17. package/dist/components/Form/src/components/useRenderRadio.js +1 -1
  18. package/dist/components/Form/src/useForm.js +11 -11
  19. package/dist/components/Highlight/src/Highlight.vue.d.ts +1 -40
  20. package/dist/components/Icon/src/Icon.vue.d.ts +5 -5
  21. package/dist/components/Icon/src/Icon.vue2.js +1 -1
  22. package/dist/components/Icon/src/SvgIcon.vue.d.ts +5 -5
  23. package/dist/components/InputPassword/src/InputPassword.vue.d.ts +6 -6
  24. package/dist/components/Modal/src/BasicModal.vue.d.ts +1 -314
  25. package/dist/components/Modal/src/BasicModal.vue2.js +1 -1
  26. package/dist/components/Modal/src/components/ModalFooter.vue.d.ts +5 -5
  27. package/dist/components/Modal/src/components/ModalHeader.vue.d.ts +5 -5
  28. package/dist/components/Modal/src/hooks/useModalDrag.d.ts +1 -1
  29. package/dist/components/Modal/src/hooks/useTimeout.d.ts +2 -2
  30. package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
  31. package/dist/components/Modal/src/props.d.ts +6 -4
  32. package/dist/components/NodeAxis/src/CanvasNodeRender.js +3 -2
  33. package/dist/components/NodeAxis/src/NodeAxis.d.ts +5 -5
  34. package/dist/components/NodeAxis/src/NodeAxis.vue.d.ts +5 -5
  35. package/dist/components/Stateful/src/Stateful.vue.d.ts +5 -5
  36. package/dist/components/Table/src/Table.vue.d.ts +1 -536
  37. package/dist/components/Table/src/Table.vue2.js +7 -7
  38. package/dist/components/Table/src/components/ColumnSetting.vue.d.ts +6 -6
  39. package/dist/components/Table/src/components/ColumnSetting.vue2.js +3 -3
  40. package/dist/components/Table/src/components/TableActions.vue.d.ts +1 -19
  41. package/dist/components/Table/src/useTable.js +9 -9
  42. package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +8 -7
  43. package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +7 -7
  44. package/dist/components/UnifyChart/src/hooks/useLoader.d.ts +1 -1
  45. package/dist/components/UnifyChart/src/hooks/useLoader.js +1 -1
  46. package/dist/components/Video/src/VideoPlayer.vue.d.ts +5 -5
  47. package/dist/components/Video/src/VideoPlayerToolbar.vue.d.ts +5 -5
  48. package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +1 -1
  49. package/dist/components/Visual/src/BufferLayerPlayer.js +5 -5
  50. package/dist/components/Windows/src/ModalWrap.vue.d.ts +5 -5
  51. package/dist/components/Windows/src/Windows.vue.d.ts +6 -4
  52. package/dist/index.min.css +2 -2
  53. package/dist/node_modules/.pnpm/{@vueuse_core@10.11.0_vue@3.4.31_typescript@5.2.2_ → @vueuse_core@10.11.1_vue@3.5.11_typescript@5.6.2_}/node_modules/@vueuse/core/index.js +5 -5
  54. package/dist/utils/index.d.ts +1 -1
  55. package/dist/utils/is.d.ts +3 -3
  56. package/package.json +8 -8
  57. /package/dist/node_modules/.pnpm/{@vueuse_shared@10.11.0_vue@3.4.31_typescript@5.2.2_ → @vueuse_shared@10.11.1_vue@3.5.11_typescript@5.6.2_}/node_modules/@vueuse/shared/index.js +0 -0
@@ -1,537 +1,2 @@
1
- import { ComponentSize, ElTooltipProps } from 'element-plus';
2
- import { CSSProperties, PropType } from 'vue';
3
- import type { Pagination, TableColumn } from './types';
4
- import { Recordable } from '../../../types';
5
- declare const _default: import("vue").DefineComponent<{
6
- pageSize: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
7
- default: number;
8
- } & {
9
- default: number;
10
- };
11
- currentPage: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
12
- default: number;
13
- } & {
14
- default: number;
15
- };
16
- showAction: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
17
- default: boolean;
18
- };
19
- showOverflowTooltip: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
20
- default: boolean;
21
- };
22
- columns: {
23
- type: PropType<TableColumn[]>;
24
- default: () => any[];
25
- };
26
- pagination: {
27
- type: PropType<Pagination>;
28
- default: () => Pagination | undefined;
29
- };
30
- reserveSelection: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
31
- default: boolean;
32
- };
33
- loading: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
34
- default: boolean;
35
- };
36
- reserveIndex: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
37
- default: boolean;
38
- };
39
- align: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
40
- default: string;
41
- } & {
42
- validator: import("vue-types/dist/types").ValidatorFunction<string>;
43
- } & {
44
- default: string;
45
- };
46
- headerAlign: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
47
- default: string;
48
- } & {
49
- validator: import("vue-types/dist/types").ValidatorFunction<string>;
50
- } & {
51
- default: string;
52
- };
53
- data: {
54
- type: PropType<Recordable[]>;
55
- default: () => any[];
56
- };
57
- preview: {
58
- type: PropType<string[]>;
59
- default: () => any[];
60
- };
61
- height: import("vue-types").VueTypeDef<string | number>;
62
- maxHeight: import("vue-types").VueTypeDef<string | number>;
63
- stripe: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
64
- default: boolean;
65
- };
66
- border: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
67
- default: boolean;
68
- };
69
- size: {
70
- type: PropType<"" | "small" | "default" | "large">;
71
- validator: (v: ComponentSize) => boolean;
72
- };
73
- fit: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
74
- default: boolean;
75
- };
76
- showHeader: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
77
- default: boolean;
78
- };
79
- highlightCurrentRow: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
80
- default: boolean;
81
- };
82
- currentRowKey: import("vue-types").VueTypeDef<string | number>;
83
- rowClassName: {
84
- type: PropType<(row: Recordable, rowIndex: number) => string | string>;
85
- default: string;
86
- };
87
- rowStyle: {
88
- type: PropType<(row: Recordable, rowIndex: number) => Recordable | CSSProperties>;
89
- default: () => any;
90
- };
91
- cellClassName: {
92
- type: PropType<(row: Recordable, column: any, rowIndex: number) => string | string>;
93
- default: string;
94
- };
95
- cellStyle: {
96
- type: PropType<(row: Recordable, column: any, rowIndex: number) => Recordable | CSSProperties>;
97
- default: () => any;
98
- };
99
- headerRowClassName: {
100
- type: PropType<(row: Recordable, rowIndex: number) => string | string>;
101
- default: string;
102
- };
103
- headerRowStyle: {
104
- type: PropType<(row: Recordable, rowIndex: number) => Recordable | CSSProperties>;
105
- default: () => any;
106
- };
107
- headerCellClassName: {
108
- type: PropType<(row: Recordable, column: any, rowIndex: number) => string | string>;
109
- default: string;
110
- };
111
- headerCellStyle: {
112
- type: PropType<(row: Recordable, column: any, rowIndex: number) => Recordable | CSSProperties>;
113
- default: () => any;
114
- };
115
- rowKey: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
116
- default: string;
117
- } & {
118
- default: string;
119
- };
120
- emptyText: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
121
- default: string;
122
- } & {
123
- default: string;
124
- };
125
- defaultExpandAll: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
126
- default: boolean;
127
- };
128
- expandRowKeys: {
129
- type: PropType<string[]>;
130
- default: () => any[];
131
- };
132
- defaultSort: {
133
- type: PropType<{
134
- prop: string;
135
- order: string;
136
- }>;
137
- default: () => {};
138
- };
139
- tooltipEffect: {
140
- type: PropType<"dark" | "light">;
141
- default: string;
142
- };
143
- tooltipOptions: {
144
- type: PropType<Pick<ElTooltipProps, "popperClass" | "showArrow" | "effect" | "enterable" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>;
145
- default: () => {
146
- enterable: boolean;
147
- placement: string;
148
- showArrow: boolean;
149
- hideAfter: number;
150
- popperOptions: {
151
- strategy: string;
152
- };
153
- };
154
- };
155
- showSummary: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
156
- default: boolean;
157
- };
158
- sumText: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
159
- default: string;
160
- } & {
161
- default: string;
162
- };
163
- summaryMethod: {
164
- type: PropType<(param: {
165
- columns: any[];
166
- data: any[];
167
- }) => any[]>;
168
- default: () => any;
169
- };
170
- spanMethod: {
171
- type: PropType<(param: {
172
- row: any;
173
- column: any;
174
- rowIndex: number;
175
- columnIndex: number;
176
- }) => any[]>;
177
- default: () => any;
178
- };
179
- selectOnIndeterminate: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
180
- default: boolean;
181
- };
182
- indent: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
183
- default: number;
184
- } & {
185
- default: number;
186
- };
187
- lazy: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
188
- default: boolean;
189
- };
190
- load: {
191
- type: PropType<(row: Recordable, treeNode: any, resolve: Function) => void>;
192
- default: () => any;
193
- };
194
- treeProps: {
195
- type: PropType<{
196
- hasChildren?: string;
197
- children?: string;
198
- label?: string;
199
- }>;
200
- default: () => {
201
- hasChildren: string;
202
- children: string;
203
- label: string;
204
- };
205
- };
206
- tableLayout: {
207
- type: PropType<"auto" | "fixed">;
208
- default: string;
209
- };
210
- scrollbarAlwaysOn: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
211
- default: boolean;
212
- };
213
- flexible: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
214
- default: boolean;
215
- };
216
- customContent: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
217
- default: boolean;
218
- };
219
- cardBodyStyle: {
220
- type: PropType<CSSProperties>;
221
- default: () => {};
222
- };
223
- cardBodyClass: {
224
- type: PropType<string>;
225
- default: string;
226
- };
227
- cardWrapStyle: {
228
- type: PropType<CSSProperties>;
229
- default: () => {};
230
- };
231
- cardWrapClass: {
232
- type: PropType<string>;
233
- default: string;
234
- };
235
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:pageSize" | "update:currentPage" | "register" | "refresh")[], "update:pageSize" | "update:currentPage" | "register" | "refresh", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
236
- pageSize: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
237
- default: number;
238
- } & {
239
- default: number;
240
- };
241
- currentPage: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
242
- default: number;
243
- } & {
244
- default: number;
245
- };
246
- showAction: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
247
- default: boolean;
248
- };
249
- showOverflowTooltip: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
250
- default: boolean;
251
- };
252
- columns: {
253
- type: PropType<TableColumn[]>;
254
- default: () => any[];
255
- };
256
- pagination: {
257
- type: PropType<Pagination>;
258
- default: () => Pagination | undefined;
259
- };
260
- reserveSelection: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
261
- default: boolean;
262
- };
263
- loading: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
264
- default: boolean;
265
- };
266
- reserveIndex: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
267
- default: boolean;
268
- };
269
- align: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
270
- default: string;
271
- } & {
272
- validator: import("vue-types/dist/types").ValidatorFunction<string>;
273
- } & {
274
- default: string;
275
- };
276
- headerAlign: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
277
- default: string;
278
- } & {
279
- validator: import("vue-types/dist/types").ValidatorFunction<string>;
280
- } & {
281
- default: string;
282
- };
283
- data: {
284
- type: PropType<Recordable[]>;
285
- default: () => any[];
286
- };
287
- preview: {
288
- type: PropType<string[]>;
289
- default: () => any[];
290
- };
291
- height: import("vue-types").VueTypeDef<string | number>;
292
- maxHeight: import("vue-types").VueTypeDef<string | number>;
293
- stripe: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
294
- default: boolean;
295
- };
296
- border: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
297
- default: boolean;
298
- };
299
- size: {
300
- type: PropType<"" | "small" | "default" | "large">;
301
- validator: (v: ComponentSize) => boolean;
302
- };
303
- fit: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
304
- default: boolean;
305
- };
306
- showHeader: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
307
- default: boolean;
308
- };
309
- highlightCurrentRow: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
310
- default: boolean;
311
- };
312
- currentRowKey: import("vue-types").VueTypeDef<string | number>;
313
- rowClassName: {
314
- type: PropType<(row: Recordable, rowIndex: number) => string | string>;
315
- default: string;
316
- };
317
- rowStyle: {
318
- type: PropType<(row: Recordable, rowIndex: number) => Recordable | CSSProperties>;
319
- default: () => any;
320
- };
321
- cellClassName: {
322
- type: PropType<(row: Recordable, column: any, rowIndex: number) => string | string>;
323
- default: string;
324
- };
325
- cellStyle: {
326
- type: PropType<(row: Recordable, column: any, rowIndex: number) => Recordable | CSSProperties>;
327
- default: () => any;
328
- };
329
- headerRowClassName: {
330
- type: PropType<(row: Recordable, rowIndex: number) => string | string>;
331
- default: string;
332
- };
333
- headerRowStyle: {
334
- type: PropType<(row: Recordable, rowIndex: number) => Recordable | CSSProperties>;
335
- default: () => any;
336
- };
337
- headerCellClassName: {
338
- type: PropType<(row: Recordable, column: any, rowIndex: number) => string | string>;
339
- default: string;
340
- };
341
- headerCellStyle: {
342
- type: PropType<(row: Recordable, column: any, rowIndex: number) => Recordable | CSSProperties>;
343
- default: () => any;
344
- };
345
- rowKey: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
346
- default: string;
347
- } & {
348
- default: string;
349
- };
350
- emptyText: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
351
- default: string;
352
- } & {
353
- default: string;
354
- };
355
- defaultExpandAll: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
356
- default: boolean;
357
- };
358
- expandRowKeys: {
359
- type: PropType<string[]>;
360
- default: () => any[];
361
- };
362
- defaultSort: {
363
- type: PropType<{
364
- prop: string;
365
- order: string;
366
- }>;
367
- default: () => {};
368
- };
369
- tooltipEffect: {
370
- type: PropType<"dark" | "light">;
371
- default: string;
372
- };
373
- tooltipOptions: {
374
- type: PropType<Pick<ElTooltipProps, "popperClass" | "showArrow" | "effect" | "enterable" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>;
375
- default: () => {
376
- enterable: boolean;
377
- placement: string;
378
- showArrow: boolean;
379
- hideAfter: number;
380
- popperOptions: {
381
- strategy: string;
382
- };
383
- };
384
- };
385
- showSummary: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
386
- default: boolean;
387
- };
388
- sumText: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
389
- default: string;
390
- } & {
391
- default: string;
392
- };
393
- summaryMethod: {
394
- type: PropType<(param: {
395
- columns: any[];
396
- data: any[];
397
- }) => any[]>;
398
- default: () => any;
399
- };
400
- spanMethod: {
401
- type: PropType<(param: {
402
- row: any;
403
- column: any;
404
- rowIndex: number;
405
- columnIndex: number;
406
- }) => any[]>;
407
- default: () => any;
408
- };
409
- selectOnIndeterminate: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
410
- default: boolean;
411
- };
412
- indent: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
413
- default: number;
414
- } & {
415
- default: number;
416
- };
417
- lazy: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
418
- default: boolean;
419
- };
420
- load: {
421
- type: PropType<(row: Recordable, treeNode: any, resolve: Function) => void>;
422
- default: () => any;
423
- };
424
- treeProps: {
425
- type: PropType<{
426
- hasChildren?: string;
427
- children?: string;
428
- label?: string;
429
- }>;
430
- default: () => {
431
- hasChildren: string;
432
- children: string;
433
- label: string;
434
- };
435
- };
436
- tableLayout: {
437
- type: PropType<"auto" | "fixed">;
438
- default: string;
439
- };
440
- scrollbarAlwaysOn: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
441
- default: boolean;
442
- };
443
- flexible: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
444
- default: boolean;
445
- };
446
- customContent: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
447
- default: boolean;
448
- };
449
- cardBodyStyle: {
450
- type: PropType<CSSProperties>;
451
- default: () => {};
452
- };
453
- cardBodyClass: {
454
- type: PropType<string>;
455
- default: string;
456
- };
457
- cardWrapStyle: {
458
- type: PropType<CSSProperties>;
459
- default: () => {};
460
- };
461
- cardWrapClass: {
462
- type: PropType<string>;
463
- default: string;
464
- };
465
- }>> & {
466
- "onUpdate:pageSize"?: (...args: any[]) => any;
467
- "onUpdate:currentPage"?: (...args: any[]) => any;
468
- onRegister?: (...args: any[]) => any;
469
- onRefresh?: (...args: any[]) => any;
470
- }, {
471
- fit: boolean;
472
- loading: boolean;
473
- lazy: boolean;
474
- preview: string[];
475
- pageSize: number;
476
- currentPage: number;
477
- data: Recordable[];
478
- stripe: boolean;
479
- border: boolean;
480
- rowKey: string;
481
- showHeader: boolean;
482
- showSummary: boolean;
483
- sumText: string;
484
- summaryMethod: (param: {
485
- columns: any[];
486
- data: any[];
487
- }) => any[];
488
- rowClassName: (row: Recordable, rowIndex: number) => string | string;
489
- rowStyle: (row: Recordable, rowIndex: number) => Recordable | CSSProperties;
490
- cellClassName: (row: Recordable, column: any, rowIndex: number) => string | string;
491
- cellStyle: (row: Recordable, column: any, rowIndex: number) => Recordable | CSSProperties;
492
- headerRowClassName: (row: Recordable, rowIndex: number) => string | string;
493
- headerRowStyle: (row: Recordable, rowIndex: number) => Recordable | CSSProperties;
494
- headerCellClassName: (row: Recordable, column: any, rowIndex: number) => string | string;
495
- headerCellStyle: (row: Recordable, column: any, rowIndex: number) => Recordable | CSSProperties;
496
- highlightCurrentRow: boolean;
497
- emptyText: string;
498
- expandRowKeys: string[];
499
- defaultExpandAll: boolean;
500
- defaultSort: {
501
- prop: string;
502
- order: string;
503
- };
504
- tooltipEffect: "dark" | "light";
505
- tooltipOptions: Pick<ElTooltipProps, "popperClass" | "showArrow" | "effect" | "enterable" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">;
506
- spanMethod: (param: {
507
- row: any;
508
- column: any;
509
- rowIndex: number;
510
- columnIndex: number;
511
- }) => any[];
512
- selectOnIndeterminate: boolean;
513
- indent: number;
514
- treeProps: {
515
- hasChildren: string;
516
- children: string;
517
- label: string;
518
- };
519
- load: (row: Recordable, treeNode: any, resolve: Function) => void;
520
- tableLayout: "auto" | "fixed";
521
- scrollbarAlwaysOn: boolean;
522
- flexible: boolean;
523
- showOverflowTooltip: boolean;
524
- columns: TableColumn[];
525
- align: string;
526
- headerAlign: string;
527
- reserveSelection: boolean;
528
- showAction: boolean;
529
- pagination: Pagination;
530
- reserveIndex: boolean;
531
- customContent: boolean;
532
- cardBodyStyle: CSSProperties;
533
- cardBodyClass: string;
534
- cardWrapStyle: CSSProperties;
535
- cardWrapClass: string;
536
- }, {}>;
1
+ declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
537
2
  export default _default;
@@ -1,5 +1,5 @@
1
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
1
  import { defineComponent, ref, onMounted, unref, computed, watch, withDirectives, createVNode, Fragment, mergeProps, resolveDirective, isVNode } from 'vue';
2
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
3
3
  import { ElImage, ElPagination, ElTable, ElTableColumn, ElConfigProvider, ElCard, ElEmpty } from 'element-plus';
4
4
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
5
5
  import propTypes from '../../../utils/propTypes.js';
@@ -238,7 +238,7 @@ var script = defineComponent({
238
238
  mergeProps$1.value = Object.assign(unref(mergeProps$1), props);
239
239
  outsideProps.value = _objectSpread({}, props);
240
240
  };
241
- var setColumn = function setColumn(columnProps, columnsChildren) {
241
+ var _setColumn = function setColumn(columnProps, columnsChildren) {
242
242
  var _unref = unref(getProps),
243
243
  columns = _unref.columns;
244
244
  var _iterator = _createForOfIteratorHelper(columnsChildren || columns),
@@ -255,7 +255,7 @@ var script = defineComponent({
255
255
  if (v.field === item.field) {
256
256
  set(v, item.path, item.value);
257
257
  } else if ((_v$children = v.children) !== null && _v$children !== void 0 && _v$children.length) {
258
- setColumn(columnProps, v.children);
258
+ _setColumn(columnProps, v.children);
259
259
  }
260
260
  }
261
261
  } catch (err) {
@@ -304,7 +304,7 @@ var script = defineComponent({
304
304
  };
305
305
  expose({
306
306
  setProps: setProps,
307
- setColumn: setColumn,
307
+ setColumn: _setColumn,
308
308
  delColumn: delColumn,
309
309
  addColumn: addColumn,
310
310
  elTableRef: elTableRef
@@ -348,7 +348,7 @@ var script = defineComponent({
348
348
  delete bindValue.align;
349
349
  return bindValue;
350
350
  });
351
- var renderTreeTableColumn = function renderTreeTableColumn(columnsChildren) {
351
+ var _renderTreeTableColumn = function renderTreeTableColumn(columnsChildren) {
352
352
  var _unref4 = unref(getProps),
353
353
  align = _unref4.align,
354
354
  headerAlign = _unref4.headerAlign,
@@ -370,7 +370,7 @@ var script = defineComponent({
370
370
  return item === v.field;
371
371
  });
372
372
  }
373
- return children && children.length ? renderTreeTableColumn(children) : props !== null && props !== void 0 && (_props$slots = props.slots) !== null && _props$slots !== void 0 && _props$slots["default"] ? (_props$slots2 = props.slots)["default"].apply(_props$slots2, arguments) : v !== null && v !== void 0 && v.formatter ? v === null || v === void 0 || (_v$formatter = v.formatter) === null || _v$formatter === void 0 ? void 0 : _v$formatter.call(v, data.row, data.column, get(data.row, v.field), data.$index) : isImageUrl ? renderPreview(get(data.row, v.field)) : get(data.row, v.field);
373
+ return children && children.length ? _renderTreeTableColumn(children) : props !== null && props !== void 0 && (_props$slots = props.slots) !== null && _props$slots !== void 0 && _props$slots["default"] ? (_props$slots2 = props.slots)["default"].apply(_props$slots2, arguments) : v !== null && v !== void 0 && v.formatter ? v === null || v === void 0 || (_v$formatter = v.formatter) === null || _v$formatter === void 0 ? void 0 : _v$formatter.call(v, data.row, data.column, get(data.row, v.field), data.$index) : isImageUrl ? renderPreview(get(data.row, v.field)) : get(data.row, v.field);
374
374
  }
375
375
  };
376
376
  if (props !== null && props !== void 0 && (_props$slots3 = props.slots) !== null && _props$slots3 !== void 0 && _props$slots3.header) {
@@ -457,7 +457,7 @@ var script = defineComponent({
457
457
  field: v.field,
458
458
  index: data.$index
459
459
  });
460
- return children && children.length ? renderTreeTableColumn(children) : _slots ? _slots : _props !== null && _props !== void 0 && (_props$slots5 = _props.slots) !== null && _props$slots5 !== void 0 && _props$slots5["default"] ? (_props$slots6 = _props.slots)["default"].apply(_props$slots6, arguments) : v !== null && v !== void 0 && v.formatter ? v === null || v === void 0 || (_v$formatter2 = v.formatter) === null || _v$formatter2 === void 0 ? void 0 : _v$formatter2.call(v, data.row, data.column, get(data.row, v.field), data.$index) : isImageUrl ? renderPreview(get(data.row, v.field)) : get(data.row, v.field);
460
+ return children && children.length ? _renderTreeTableColumn(children) : _slots ? _slots : _props !== null && _props !== void 0 && (_props$slots5 = _props.slots) !== null && _props$slots5 !== void 0 && _props$slots5["default"] ? (_props$slots6 = _props.slots)["default"].apply(_props$slots6, arguments) : v !== null && v !== void 0 && v.formatter ? v === null || v === void 0 || (_v$formatter2 = v.formatter) === null || _v$formatter2 === void 0 ? void 0 : _v$formatter2.call(v, data.row, data.column, get(data.row, v.field), data.$index) : isImageUrl ? renderPreview(get(data.row, v.field)) : get(data.row, v.field);
461
461
  }
462
462
  };
463
463
  if (getSlot(slots, "".concat(v.field, "-header"))) {
@@ -1,6 +1,6 @@
1
1
  import { TableColumn } from '../types';
2
2
  import { PropType } from 'vue';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  columns: {
5
5
  type: PropType<TableColumn[]>;
6
6
  default: () => any[];
@@ -9,9 +9,9 @@ declare const _default: import("vue").DefineComponent<{
9
9
  type: BooleanConstructor;
10
10
  default: boolean;
11
11
  };
12
- }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
13
  [key: string]: any;
14
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "update:modelValue")[], "confirm" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "update:modelValue")[], "confirm" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  columns: {
16
16
  type: PropType<TableColumn[]>;
17
17
  default: () => any[];
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
- }>> & {
23
+ }>> & Readonly<{
24
24
  onConfirm?: (...args: any[]) => any;
25
25
  "onUpdate:modelValue"?: (...args: any[]) => any;
26
- }, {
26
+ }>, {
27
27
  columns: TableColumn[];
28
28
  modelValue: boolean;
29
- }, {}>;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
30
  export default _default;
@@ -141,7 +141,7 @@ var script = defineComponent({
141
141
  onClick: restore
142
142
  }, {
143
143
  "default": withCtx(function () {
144
- return [createTextVNode("还原")];
144
+ return _cache[5] || (_cache[5] = [createTextVNode("还原")]);
145
145
  }),
146
146
  _: 1
147
147
  }), createVNode(_component_ElButton, {
@@ -149,7 +149,7 @@ var script = defineComponent({
149
149
  onClick: confirm
150
150
  }, {
151
151
  "default": withCtx(function () {
152
- return [createTextVNode("确定")];
152
+ return _cache[6] || (_cache[6] = [createTextVNode("确定")]);
153
153
  }),
154
154
  _: 1
155
155
  })])];
@@ -173,7 +173,7 @@ var script = defineComponent({
173
173
  _: 1
174
174
  })]), createVNode(unref(ElText), null, {
175
175
  "default": withCtx(function () {
176
- return [createTextVNode("固定 / 排序")];
176
+ return _cache[4] || (_cache[4] = [createTextVNode("固定 / 排序")]);
177
177
  }),
178
178
  _: 1
179
179
  })]), (_settingColumns$value2 = settingColumns.value) !== null && _settingColumns$value2 !== void 0 && _settingColumns$value2.length ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(unref(VueDraggable), {
@@ -1,20 +1,2 @@
1
- import { PropType } from 'vue';
2
- import { TableColumn } from '../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- columns: {
5
- type: PropType<TableColumn[]>;
6
- default: () => any[];
7
- };
8
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("refresh" | "changSize" | "confirm")[], "refresh" | "changSize" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
- columns: {
10
- type: PropType<TableColumn[]>;
11
- default: () => any[];
12
- };
13
- }>> & {
14
- onRefresh?: (...args: any[]) => any;
15
- onChangSize?: (...args: any[]) => any;
16
- onConfirm?: (...args: any[]) => any;
17
- }, {
18
- columns: TableColumn[];
19
- }, {}>;
1
+ declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
20
2
  export default _default;