@visactor/vue-vtable 1.25.0 → 1.25.1-alpha.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 (143) hide show
  1. package/cjs/components/component/menu.js +3 -3
  2. package/cjs/components/component/tooltip.js +3 -3
  3. package/cjs/components/custom/checkBox.js +3 -3
  4. package/cjs/components/custom/group.js +3 -3
  5. package/cjs/components/custom/image.js +3 -3
  6. package/cjs/components/custom/radio.js +3 -3
  7. package/cjs/components/custom/tag.js +3 -3
  8. package/cjs/components/custom/text.js +3 -3
  9. package/cjs/components/custom/vtable-vue-attribute-plugin.js +622 -408
  10. package/cjs/components/list/list-column.js +3 -3
  11. package/cjs/components/pivot/pivot-column-dimension.js +3 -3
  12. package/cjs/components/pivot/pivot-column-header-title.js +3 -3
  13. package/cjs/components/pivot/pivot-corner.js +3 -3
  14. package/cjs/components/pivot/pivot-indicator.js +3 -3
  15. package/cjs/components/pivot/pivot-row-dimension.js +3 -3
  16. package/cjs/components/pivot/pivot-row-header-title.js +3 -3
  17. package/cjs/constants.js +1 -0
  18. package/cjs/edit/editor.js +209 -194
  19. package/cjs/edit/util.js +51 -31
  20. package/cjs/eventsUtils.js +97 -60
  21. package/cjs/hooks/useCellRender.js +27 -20
  22. package/cjs/hooks/useEditorRender.js +75 -52
  23. package/cjs/index.js +5 -5
  24. package/cjs/tables/base-table.vue.js +266 -237
  25. package/cjs/tables/chartModule.js +2 -2
  26. package/cjs/tables/list-table.vue.js +41 -39
  27. package/cjs/tables/pivot-chart.vue.js +35 -37
  28. package/cjs/tables/pivot-table.vue.js +36 -38
  29. package/cjs/utils/customLayoutUtils.js +109 -96
  30. package/cjs/utils/slotUtils.js +85 -88
  31. package/cjs/utils/stringUtils.js +14 -12
  32. package/cjs/utils/vnodeUtils.js +3 -2
  33. package/dist/vue-vtable.js +1715 -1358
  34. package/dist/vue-vtable.min.js +1 -1
  35. package/es/components/component/menu.js +3 -3
  36. package/es/components/component/tooltip.js +3 -3
  37. package/es/components/custom/checkBox.js +3 -3
  38. package/es/components/custom/group.js +3 -3
  39. package/es/components/custom/image.js +3 -3
  40. package/es/components/custom/radio.js +3 -3
  41. package/es/components/custom/tag.js +3 -3
  42. package/es/components/custom/text.js +3 -3
  43. package/es/components/custom/vtable-vue-attribute-plugin.js +622 -408
  44. package/es/components/list/list-column.js +3 -3
  45. package/es/components/pivot/pivot-column-dimension.js +3 -3
  46. package/es/components/pivot/pivot-column-header-title.js +3 -3
  47. package/es/components/pivot/pivot-corner.js +3 -3
  48. package/es/components/pivot/pivot-indicator.js +3 -3
  49. package/es/components/pivot/pivot-row-dimension.js +3 -3
  50. package/es/components/pivot/pivot-row-header-title.js +3 -3
  51. package/es/constants.js +1 -0
  52. package/es/edit/editor.js +209 -194
  53. package/es/edit/util.js +51 -31
  54. package/es/eventsUtils.js +97 -60
  55. package/es/hooks/useCellRender.js +27 -20
  56. package/es/hooks/useEditorRender.js +75 -52
  57. package/es/index.js +3 -3
  58. package/es/tables/base-table.vue.js +266 -237
  59. package/es/tables/chartModule.js +2 -2
  60. package/es/tables/list-table.vue.js +41 -39
  61. package/es/tables/pivot-chart.vue.js +35 -37
  62. package/es/tables/pivot-table.vue.js +36 -38
  63. package/es/utils/customLayoutUtils.js +109 -96
  64. package/es/utils/slotUtils.js +85 -88
  65. package/es/utils/stringUtils.js +14 -12
  66. package/es/utils/vnodeUtils.js +3 -2
  67. package/package.json +5 -5
  68. package/cjs/components/component/menu.d.ts +0 -14
  69. package/cjs/components/component/tooltip.d.ts +0 -11
  70. package/cjs/components/custom/checkBox.d.ts +0 -20
  71. package/cjs/components/custom/custom-layout.d.ts +0 -20
  72. package/cjs/components/custom/group.d.ts +0 -6
  73. package/cjs/components/custom/image.d.ts +0 -6
  74. package/cjs/components/custom/radio.d.ts +0 -17
  75. package/cjs/components/custom/tag.d.ts +0 -16
  76. package/cjs/components/custom/text.d.ts +0 -6
  77. package/cjs/components/custom/vtable-vue-attribute-plugin.d.ts +0 -62
  78. package/cjs/components/index.d.ts +0 -15
  79. package/cjs/components/list/list-column.d.ts +0 -7
  80. package/cjs/components/pivot/pivot-column-dimension.d.ts +0 -11
  81. package/cjs/components/pivot/pivot-column-header-title.d.ts +0 -7
  82. package/cjs/components/pivot/pivot-corner.d.ts +0 -7
  83. package/cjs/components/pivot/pivot-indicator.d.ts +0 -7
  84. package/cjs/components/pivot/pivot-row-dimension.d.ts +0 -11
  85. package/cjs/components/pivot/pivot-row-header-title.d.ts +0 -7
  86. package/cjs/constants.d.ts +0 -1
  87. package/cjs/edit/editor.d.ts +0 -50
  88. package/cjs/edit/index.d.ts +0 -2
  89. package/cjs/edit/util.d.ts +0 -4
  90. package/cjs/eventsUtils.d.ts +0 -120
  91. package/cjs/hooks/index.d.ts +0 -2
  92. package/cjs/hooks/useCellRender.d.ts +0 -2
  93. package/cjs/hooks/useEditorRender.d.ts +0 -2
  94. package/cjs/index.d.ts +0 -6
  95. package/cjs/tables/base-table.vue.d.ts +0 -543
  96. package/cjs/tables/chartModule.d.ts +0 -1
  97. package/cjs/tables/index.d.ts +0 -5
  98. package/cjs/tables/list-table.vue.d.ts +0 -38
  99. package/cjs/tables/pivot-chart.vue.d.ts +0 -38
  100. package/cjs/tables/pivot-table.vue.d.ts +0 -38
  101. package/cjs/utils/customLayoutUtils.d.ts +0 -5
  102. package/cjs/utils/slotUtils.d.ts +0 -28
  103. package/cjs/utils/stringUtils.d.ts +0 -2
  104. package/cjs/utils/vnodeUtils.d.ts +0 -1
  105. package/cjs/utils.d.ts +0 -4
  106. package/es/components/component/menu.d.ts +0 -14
  107. package/es/components/component/tooltip.d.ts +0 -11
  108. package/es/components/custom/checkBox.d.ts +0 -20
  109. package/es/components/custom/custom-layout.d.ts +0 -20
  110. package/es/components/custom/group.d.ts +0 -6
  111. package/es/components/custom/image.d.ts +0 -6
  112. package/es/components/custom/radio.d.ts +0 -17
  113. package/es/components/custom/tag.d.ts +0 -16
  114. package/es/components/custom/text.d.ts +0 -6
  115. package/es/components/custom/vtable-vue-attribute-plugin.d.ts +0 -62
  116. package/es/components/index.d.ts +0 -15
  117. package/es/components/list/list-column.d.ts +0 -7
  118. package/es/components/pivot/pivot-column-dimension.d.ts +0 -11
  119. package/es/components/pivot/pivot-column-header-title.d.ts +0 -7
  120. package/es/components/pivot/pivot-corner.d.ts +0 -7
  121. package/es/components/pivot/pivot-indicator.d.ts +0 -7
  122. package/es/components/pivot/pivot-row-dimension.d.ts +0 -11
  123. package/es/components/pivot/pivot-row-header-title.d.ts +0 -7
  124. package/es/constants.d.ts +0 -1
  125. package/es/edit/editor.d.ts +0 -50
  126. package/es/edit/index.d.ts +0 -2
  127. package/es/edit/util.d.ts +0 -4
  128. package/es/eventsUtils.d.ts +0 -120
  129. package/es/hooks/index.d.ts +0 -2
  130. package/es/hooks/useCellRender.d.ts +0 -2
  131. package/es/hooks/useEditorRender.d.ts +0 -2
  132. package/es/index.d.ts +0 -6
  133. package/es/tables/base-table.vue.d.ts +0 -543
  134. package/es/tables/chartModule.d.ts +0 -1
  135. package/es/tables/index.d.ts +0 -5
  136. package/es/tables/list-table.vue.d.ts +0 -38
  137. package/es/tables/pivot-chart.vue.d.ts +0 -38
  138. package/es/tables/pivot-table.vue.d.ts +0 -38
  139. package/es/utils/customLayoutUtils.d.ts +0 -5
  140. package/es/utils/slotUtils.d.ts +0 -28
  141. package/es/utils/stringUtils.d.ts +0 -2
  142. package/es/utils/vnodeUtils.d.ts +0 -1
  143. package/es/utils.d.ts +0 -4
@@ -1,543 +0,0 @@
1
- import type * as VTable from '@visactor/vtable';
2
- import type { EventsProps } from '../eventsUtils';
3
- export type IVTable = VTable.ListTable | VTable.PivotTable | VTable.PivotChart;
4
- export type IOption = VTable.ListTableConstructorOptions | VTable.PivotTableConstructorOptions | VTable.PivotChartConstructorOptions;
5
- export interface BaseTableProps extends EventsProps {
6
- type?: string;
7
- options?: IOption;
8
- records?: Record<string, unknown>[];
9
- width?: number | string;
10
- height?: number | string;
11
- onReady?: (instance: IVTable, isInitial: boolean) => void;
12
- onError?: (err: Error) => void;
13
- keepColumnWidthChange?: boolean;
14
- }
15
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
- type: {
17
- type: StringConstructor;
18
- required: false;
19
- };
20
- options: {
21
- type: any;
22
- required: false;
23
- };
24
- records: {
25
- type: ArrayConstructor;
26
- required: false;
27
- };
28
- width: {
29
- type: (StringConstructor | NumberConstructor)[];
30
- required: false;
31
- default: string;
32
- };
33
- height: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- required: false;
36
- default: string;
37
- };
38
- onReady: {
39
- type: FunctionConstructor;
40
- required: false;
41
- };
42
- onError: {
43
- type: FunctionConstructor;
44
- required: false;
45
- };
46
- keepColumnWidthChange: {
47
- type: BooleanConstructor;
48
- required: false;
49
- };
50
- onClickCell: {
51
- type: FunctionConstructor;
52
- required: false;
53
- };
54
- onDblClickCell: {
55
- type: FunctionConstructor;
56
- required: false;
57
- };
58
- onMouseDownCell: {
59
- type: FunctionConstructor;
60
- required: false;
61
- };
62
- onMouseUpCell: {
63
- type: FunctionConstructor;
64
- required: false;
65
- };
66
- onSelectedCell: {
67
- type: FunctionConstructor;
68
- required: false;
69
- };
70
- onKeyDown: {
71
- type: FunctionConstructor;
72
- required: false;
73
- };
74
- onMouseEnterTable: {
75
- type: FunctionConstructor;
76
- required: false;
77
- };
78
- onMouseLeaveTable: {
79
- type: FunctionConstructor;
80
- required: false;
81
- };
82
- onMouseDownTable: {
83
- type: FunctionConstructor;
84
- required: false;
85
- };
86
- onMouseMoveCell: {
87
- type: FunctionConstructor;
88
- required: false;
89
- };
90
- onMouseEnterCell: {
91
- type: FunctionConstructor;
92
- required: false;
93
- };
94
- onMouseLeaveCell: {
95
- type: FunctionConstructor;
96
- required: false;
97
- };
98
- onContextMenuCell: {
99
- type: FunctionConstructor;
100
- required: false;
101
- };
102
- onContextMenuCanvas: {
103
- type: FunctionConstructor;
104
- required: false;
105
- };
106
- onResizeColumn: {
107
- type: FunctionConstructor;
108
- required: false;
109
- };
110
- onResizeColumnEnd: {
111
- type: FunctionConstructor;
112
- required: false;
113
- };
114
- onChangeHeaderPosition: {
115
- type: FunctionConstructor;
116
- required: false;
117
- };
118
- onChangeHeaderPositionStart: {
119
- type: FunctionConstructor;
120
- required: false;
121
- };
122
- onChangeHeaderPositionFail: {
123
- type: FunctionConstructor;
124
- required: false;
125
- };
126
- onSortClick: {
127
- type: FunctionConstructor;
128
- required: false;
129
- };
130
- onFreezeClick: {
131
- type: FunctionConstructor;
132
- required: false;
133
- };
134
- onScroll: {
135
- type: FunctionConstructor;
136
- required: false;
137
- };
138
- onDropdownMenuClick: {
139
- type: FunctionConstructor;
140
- required: false;
141
- };
142
- onMouseOverChartSymbol: {
143
- type: FunctionConstructor;
144
- required: false;
145
- };
146
- onDragSelectEnd: {
147
- type: FunctionConstructor;
148
- required: false;
149
- };
150
- onDropdownIconClick: {
151
- type: FunctionConstructor;
152
- required: false;
153
- };
154
- onDropdownMenuClear: {
155
- type: FunctionConstructor;
156
- required: false;
157
- };
158
- onTreeHierarchyStateChange: {
159
- type: FunctionConstructor;
160
- required: false;
161
- };
162
- onShowMenu: {
163
- type: FunctionConstructor;
164
- required: false;
165
- };
166
- onHideMenu: {
167
- type: FunctionConstructor;
168
- required: false;
169
- };
170
- onIconClick: {
171
- type: FunctionConstructor;
172
- required: false;
173
- };
174
- onLegendItemClick: {
175
- type: FunctionConstructor;
176
- required: false;
177
- };
178
- onLegendItemHover: {
179
- type: FunctionConstructor;
180
- required: false;
181
- };
182
- onLegendItemUnHover: {
183
- type: FunctionConstructor;
184
- required: false;
185
- };
186
- onLegendChange: {
187
- type: FunctionConstructor;
188
- required: false;
189
- };
190
- onMouseEnterAxis: {
191
- type: FunctionConstructor;
192
- required: false;
193
- };
194
- onMouseLeaveAxis: {
195
- type: FunctionConstructor;
196
- required: false;
197
- };
198
- onCheckboxStateChange: {
199
- type: FunctionConstructor;
200
- required: false;
201
- };
202
- onRadioStateChange: {
203
- type: FunctionConstructor;
204
- required: false;
205
- };
206
- onAfterRender: {
207
- type: FunctionConstructor;
208
- required: false;
209
- };
210
- onInitialized: {
211
- type: FunctionConstructor;
212
- required: false;
213
- };
214
- onPivotSortClick: {
215
- type: FunctionConstructor;
216
- required: false;
217
- };
218
- onDrillMenuClick: {
219
- type: FunctionConstructor;
220
- required: false;
221
- };
222
- onVChartEventType: {
223
- type: FunctionConstructor;
224
- required: false;
225
- };
226
- onChangeCellValue: {
227
- type: FunctionConstructor;
228
- required: false;
229
- };
230
- onMousedownFillHandle: {
231
- type: FunctionConstructor;
232
- required: false;
233
- };
234
- onDragFillHandleEnd: {
235
- type: FunctionConstructor;
236
- required: false;
237
- };
238
- onDblclickFillHandle: {
239
- type: FunctionConstructor;
240
- required: false;
241
- };
242
- onScrollVerticalEnd: {
243
- type: FunctionConstructor;
244
- required: false;
245
- };
246
- onScrollHorizontalEnd: {
247
- type: FunctionConstructor;
248
- required: false;
249
- };
250
- onChangCellValue: {
251
- type: FunctionConstructor;
252
- required: false;
253
- };
254
- onEmptyTipClick: {
255
- type: FunctionConstructor;
256
- required: false;
257
- };
258
- onEmptyTipDblClick: {
259
- type: FunctionConstructor;
260
- required: false;
261
- };
262
- onButtonClick: {
263
- type: FunctionConstructor;
264
- required: false;
265
- };
266
- onBeforeCacheChartImage: {
267
- type: FunctionConstructor;
268
- required: false;
269
- };
270
- onPastedData: {
271
- type: FunctionConstructor;
272
- required: false;
273
- };
274
- }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
275
- [key: string]: any;
276
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
277
- type: {
278
- type: StringConstructor;
279
- required: false;
280
- };
281
- options: {
282
- type: any;
283
- required: false;
284
- };
285
- records: {
286
- type: ArrayConstructor;
287
- required: false;
288
- };
289
- width: {
290
- type: (StringConstructor | NumberConstructor)[];
291
- required: false;
292
- default: string;
293
- };
294
- height: {
295
- type: (StringConstructor | NumberConstructor)[];
296
- required: false;
297
- default: string;
298
- };
299
- onReady: {
300
- type: FunctionConstructor;
301
- required: false;
302
- };
303
- onError: {
304
- type: FunctionConstructor;
305
- required: false;
306
- };
307
- keepColumnWidthChange: {
308
- type: BooleanConstructor;
309
- required: false;
310
- };
311
- onClickCell: {
312
- type: FunctionConstructor;
313
- required: false;
314
- };
315
- onDblClickCell: {
316
- type: FunctionConstructor;
317
- required: false;
318
- };
319
- onMouseDownCell: {
320
- type: FunctionConstructor;
321
- required: false;
322
- };
323
- onMouseUpCell: {
324
- type: FunctionConstructor;
325
- required: false;
326
- };
327
- onSelectedCell: {
328
- type: FunctionConstructor;
329
- required: false;
330
- };
331
- onKeyDown: {
332
- type: FunctionConstructor;
333
- required: false;
334
- };
335
- onMouseEnterTable: {
336
- type: FunctionConstructor;
337
- required: false;
338
- };
339
- onMouseLeaveTable: {
340
- type: FunctionConstructor;
341
- required: false;
342
- };
343
- onMouseDownTable: {
344
- type: FunctionConstructor;
345
- required: false;
346
- };
347
- onMouseMoveCell: {
348
- type: FunctionConstructor;
349
- required: false;
350
- };
351
- onMouseEnterCell: {
352
- type: FunctionConstructor;
353
- required: false;
354
- };
355
- onMouseLeaveCell: {
356
- type: FunctionConstructor;
357
- required: false;
358
- };
359
- onContextMenuCell: {
360
- type: FunctionConstructor;
361
- required: false;
362
- };
363
- onContextMenuCanvas: {
364
- type: FunctionConstructor;
365
- required: false;
366
- };
367
- onResizeColumn: {
368
- type: FunctionConstructor;
369
- required: false;
370
- };
371
- onResizeColumnEnd: {
372
- type: FunctionConstructor;
373
- required: false;
374
- };
375
- onChangeHeaderPosition: {
376
- type: FunctionConstructor;
377
- required: false;
378
- };
379
- onChangeHeaderPositionStart: {
380
- type: FunctionConstructor;
381
- required: false;
382
- };
383
- onChangeHeaderPositionFail: {
384
- type: FunctionConstructor;
385
- required: false;
386
- };
387
- onSortClick: {
388
- type: FunctionConstructor;
389
- required: false;
390
- };
391
- onFreezeClick: {
392
- type: FunctionConstructor;
393
- required: false;
394
- };
395
- onScroll: {
396
- type: FunctionConstructor;
397
- required: false;
398
- };
399
- onDropdownMenuClick: {
400
- type: FunctionConstructor;
401
- required: false;
402
- };
403
- onMouseOverChartSymbol: {
404
- type: FunctionConstructor;
405
- required: false;
406
- };
407
- onDragSelectEnd: {
408
- type: FunctionConstructor;
409
- required: false;
410
- };
411
- onDropdownIconClick: {
412
- type: FunctionConstructor;
413
- required: false;
414
- };
415
- onDropdownMenuClear: {
416
- type: FunctionConstructor;
417
- required: false;
418
- };
419
- onTreeHierarchyStateChange: {
420
- type: FunctionConstructor;
421
- required: false;
422
- };
423
- onShowMenu: {
424
- type: FunctionConstructor;
425
- required: false;
426
- };
427
- onHideMenu: {
428
- type: FunctionConstructor;
429
- required: false;
430
- };
431
- onIconClick: {
432
- type: FunctionConstructor;
433
- required: false;
434
- };
435
- onLegendItemClick: {
436
- type: FunctionConstructor;
437
- required: false;
438
- };
439
- onLegendItemHover: {
440
- type: FunctionConstructor;
441
- required: false;
442
- };
443
- onLegendItemUnHover: {
444
- type: FunctionConstructor;
445
- required: false;
446
- };
447
- onLegendChange: {
448
- type: FunctionConstructor;
449
- required: false;
450
- };
451
- onMouseEnterAxis: {
452
- type: FunctionConstructor;
453
- required: false;
454
- };
455
- onMouseLeaveAxis: {
456
- type: FunctionConstructor;
457
- required: false;
458
- };
459
- onCheckboxStateChange: {
460
- type: FunctionConstructor;
461
- required: false;
462
- };
463
- onRadioStateChange: {
464
- type: FunctionConstructor;
465
- required: false;
466
- };
467
- onAfterRender: {
468
- type: FunctionConstructor;
469
- required: false;
470
- };
471
- onInitialized: {
472
- type: FunctionConstructor;
473
- required: false;
474
- };
475
- onPivotSortClick: {
476
- type: FunctionConstructor;
477
- required: false;
478
- };
479
- onDrillMenuClick: {
480
- type: FunctionConstructor;
481
- required: false;
482
- };
483
- onVChartEventType: {
484
- type: FunctionConstructor;
485
- required: false;
486
- };
487
- onChangeCellValue: {
488
- type: FunctionConstructor;
489
- required: false;
490
- };
491
- onMousedownFillHandle: {
492
- type: FunctionConstructor;
493
- required: false;
494
- };
495
- onDragFillHandleEnd: {
496
- type: FunctionConstructor;
497
- required: false;
498
- };
499
- onDblclickFillHandle: {
500
- type: FunctionConstructor;
501
- required: false;
502
- };
503
- onScrollVerticalEnd: {
504
- type: FunctionConstructor;
505
- required: false;
506
- };
507
- onScrollHorizontalEnd: {
508
- type: FunctionConstructor;
509
- required: false;
510
- };
511
- onChangCellValue: {
512
- type: FunctionConstructor;
513
- required: false;
514
- };
515
- onEmptyTipClick: {
516
- type: FunctionConstructor;
517
- required: false;
518
- };
519
- onEmptyTipDblClick: {
520
- type: FunctionConstructor;
521
- required: false;
522
- };
523
- onButtonClick: {
524
- type: FunctionConstructor;
525
- required: false;
526
- };
527
- onBeforeCacheChartImage: {
528
- type: FunctionConstructor;
529
- required: false;
530
- };
531
- onPastedData: {
532
- type: FunctionConstructor;
533
- required: false;
534
- };
535
- }>> & Readonly<{
536
- [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
537
- }>, {
538
- options: any;
539
- width: string | number;
540
- height: string | number;
541
- keepColumnWidthChange: boolean;
542
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
543
- export default _default;
@@ -1 +0,0 @@
1
- export declare const registerChartModule: (name: string, chart: any) => void;
@@ -1,5 +0,0 @@
1
- export { default as ListTable } from './list-table.vue';
2
- export { default as PivotTable } from './pivot-table.vue';
3
- export { default as PivotChart } from './pivot-chart.vue';
4
- export { registerChartModule } from './chartModule';
5
- export { register } from '@visactor/vtable';
@@ -1,38 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- options: {
3
- type: ObjectConstructor;
4
- required: true;
5
- };
6
- records: {
7
- type: ArrayConstructor;
8
- required: false;
9
- };
10
- width: {
11
- type: (StringConstructor | NumberConstructor)[];
12
- required: false;
13
- };
14
- height: {
15
- type: (StringConstructor | NumberConstructor)[];
16
- required: false;
17
- };
18
- }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
- [key: string]: any;
20
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- options: {
22
- type: ObjectConstructor;
23
- required: true;
24
- };
25
- records: {
26
- type: ArrayConstructor;
27
- required: false;
28
- };
29
- width: {
30
- type: (StringConstructor | NumberConstructor)[];
31
- required: false;
32
- };
33
- height: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- required: false;
36
- };
37
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
- export default _default;
@@ -1,38 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- options: {
3
- type: ObjectConstructor;
4
- required: true;
5
- };
6
- records: {
7
- type: ArrayConstructor;
8
- required: false;
9
- };
10
- width: {
11
- type: (StringConstructor | NumberConstructor)[];
12
- required: false;
13
- };
14
- height: {
15
- type: (StringConstructor | NumberConstructor)[];
16
- required: false;
17
- };
18
- }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
- [key: string]: any;
20
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- options: {
22
- type: ObjectConstructor;
23
- required: true;
24
- };
25
- records: {
26
- type: ArrayConstructor;
27
- required: false;
28
- };
29
- width: {
30
- type: (StringConstructor | NumberConstructor)[];
31
- required: false;
32
- };
33
- height: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- required: false;
36
- };
37
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
- export default _default;
@@ -1,38 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- options: {
3
- type: ObjectConstructor;
4
- required: true;
5
- };
6
- records: {
7
- type: ArrayConstructor;
8
- required: false;
9
- };
10
- width: {
11
- type: (StringConstructor | NumberConstructor)[];
12
- required: false;
13
- };
14
- height: {
15
- type: (StringConstructor | NumberConstructor)[];
16
- required: false;
17
- };
18
- }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
- [key: string]: any;
20
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- options: {
22
- type: ObjectConstructor;
23
- required: true;
24
- };
25
- records: {
26
- type: ArrayConstructor;
27
- required: false;
28
- };
29
- width: {
30
- type: (StringConstructor | NumberConstructor)[];
31
- required: false;
32
- };
33
- height: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- required: false;
36
- };
37
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
- export default _default;
@@ -1,5 +0,0 @@
1
- export declare function createCustomLayout(children: any, isHeader?: boolean, args?: any): any;
2
- export declare function createCustomLayoutHandler(children: any, isHeader?: boolean): (args: any) => {
3
- rootContainer: any;
4
- renderDefault: boolean;
5
- };
@@ -1,28 +0,0 @@
1
- import type { ColumnDefine, ICornerDefine, IIndicator, IDimension, ITitleDefine } from '@visactor/vtable';
2
- import type { TooltipProps } from '../components/component/tooltip';
3
- import type { MenuProps } from '../components/component/menu';
4
- export declare function extractPivotSlotOptions(vnodes: any[]): {
5
- columns: ColumnDefine[];
6
- columnHeaderTitle: ITitleDefine[];
7
- rows: IDimension[];
8
- rowHeaderTitle: ITitleDefine[];
9
- indicators: IIndicator[];
10
- corner: ICornerDefine;
11
- tooltip: TooltipProps;
12
- menu: MenuProps;
13
- };
14
- export declare function extractListSlotOptions(vnodes: any[]): {
15
- columns: ColumnDefine[];
16
- tooltip: TooltipProps;
17
- menu: MenuProps;
18
- };
19
- export declare function mergeSlotOptions(propsOptions: Record<string, unknown>, slotOptions: Record<string, any>): {
20
- columns: any;
21
- columnHeaderTitle: any;
22
- rows: any;
23
- rowHeaderTitle: any;
24
- indicators: any;
25
- corner: any;
26
- tooltip: any;
27
- menu: any;
28
- };
@@ -1,2 +0,0 @@
1
- export declare function toCamelCase(str: string): string;
2
- export declare function convertPropsToCamelCase(props: Record<string, any>): Record<string, any>;
@@ -1 +0,0 @@
1
- export declare function flattenVNodes(vnodes: any[]): any[];
package/es/utils.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './utils/stringUtils';
2
- export * from './utils/vnodeUtils';
3
- export * from './utils/customLayoutUtils';
4
- export * from './utils/slotUtils';