@aimerthyr/virtual-table 1.2.0 → 1.3.0

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.d.ts CHANGED
@@ -289,9 +289,9 @@ export declare interface VTablePopoverProps {
289
289
  /** 显示状态变化回调 */
290
290
  onOpenChange: (value: boolean) => void;
291
291
  /** 触发区域 */
292
- trigger: () => VNode_2;
292
+ trigger: () => VNode_2[];
293
293
  /** 下拉内容 */
294
- content: () => VNode_2;
294
+ content: () => VNode_2[];
295
295
  }
296
296
 
297
297
  /** props 类型定义 */
@@ -398,20 +398,20 @@ export declare interface VTableSlots<TData = any> {
398
398
  customHeader?: (props: {
399
399
  columns: VTableColumn[];
400
400
  table: Table<TData>;
401
- }) => VNode_2;
401
+ }) => VNode_2[];
402
402
  /** 自定义单元格 */
403
- bodyCell?: (props: VTableBodyCellProps<TData>) => VNode_2;
403
+ bodyCell?: (props: VTableBodyCellProps<TData>) => VNode_2[];
404
404
  /** 自定义列头 */
405
405
  headerCell?: (props: {
406
406
  columnKey: string;
407
407
  column: VTableColumn;
408
- }) => VNode_2;
408
+ }) => VNode_2[];
409
409
  /** 自定义筛选图标 */
410
410
  customFilterIcon?: (props: {
411
411
  columnKey: string;
412
412
  filtered: boolean;
413
413
  column: VTableColumn;
414
- }) => VNode_2;
414
+ }) => VNode_2[];
415
415
  /** 自定义筛选下拉 */
416
416
  customFilterDropdown?: (props: {
417
417
  confirm: () => void;
@@ -419,30 +419,30 @@ export declare interface VTableSlots<TData = any> {
419
419
  setFilterValue: (value: any) => void;
420
420
  column: VTableColumn;
421
421
  filterModelValue: any;
422
- }) => VNode_2;
422
+ }) => VNode_2[];
423
423
  /** 自定义展开行 */
424
424
  expandedRowRender?: (props: {
425
425
  row: TData;
426
- }) => VNode_2;
426
+ }) => VNode_2[];
427
427
  /** 自定义 Popover */
428
- customPopover?: (props: VTablePopoverProps) => VNode_2;
428
+ customPopover?: (props: VTablePopoverProps) => VNode_2[];
429
429
  /** 自定义分页器 */
430
- customPagination?: (props: VTablePaginationProps) => VNode_2;
430
+ customPagination?: (props: VTablePaginationProps) => VNode_2[];
431
431
  /** 自定义 checkbox */
432
- customCheckbox?: (props: VTableCheckboxProps) => VNode_2;
432
+ customCheckbox?: (props: VTableCheckboxProps) => VNode_2[];
433
433
  /** 自定义空状态 */
434
- customEmpty?: () => VNode_2;
434
+ customEmpty?: () => VNode_2[];
435
435
  /** 自定义 loading 图标 */
436
- customLoadingIcon?: () => VNode_2;
436
+ customLoadingIcon?: () => VNode_2[];
437
437
  /** 自定义加载没有更多区域 */
438
- customLoadNoMore?: () => VNode_2;
438
+ customLoadNoMore?: () => VNode_2[];
439
439
  /** 自定义表尾 */
440
- customFooter?: () => VNode_2;
440
+ customFooter?: () => VNode_2[];
441
441
  /** 自定义展开图标 */
442
- customExpandIcon?: (props: VTableExpandIconProps) => VNode_2;
442
+ customExpandIcon?: (props: VTableExpandIconProps) => VNode_2[];
443
443
  /** 自定义组件图标 */
444
- customSorterIcon?: (props: VTableSorterIconProps) => VNode_2;
445
- [key: string]: ((...args: any[]) => VNode_2) | undefined;
444
+ customSorterIcon?: (props: VTableSorterIconProps) => VNode_2[];
445
+ [key: string]: ((...args: any[]) => VNode_2[]) | undefined;
446
446
  }
447
447
 
448
448
  /** 排序图标自定义组件接口定义 */