2025-09-09 17:04:57 +08:00
|
|
|
import { defineAsyncComponent } from 'vue';
|
|
|
|
|
|
|
|
|
|
export { setupVbenVxeTable } from './init';
|
|
|
|
|
export { default as VbenVxeTableToolbar } from './table-toolbar.vue';
|
2024-12-12 22:28:03 +08:00
|
|
|
export type { VxeTableGridOptions } from './types';
|
2024-10-04 23:05:28 +08:00
|
|
|
export * from './use-vxe-grid';
|
2024-12-12 22:28:03 +08:00
|
|
|
export { default as VbenVxeGrid } from './use-vxe-grid.vue';
|
2025-09-09 17:04:57 +08:00
|
|
|
export { useTableToolbar } from './use-vxe-toolbar';
|
2025-08-02 23:28:59 +08:00
|
|
|
export * from './validation';
|
2025-09-09 17:04:57 +08:00
|
|
|
|
2025-05-09 13:09:24 +08:00
|
|
|
export type {
|
|
|
|
|
VxeGridListeners,
|
|
|
|
|
VxeGridProps,
|
2025-05-27 10:36:30 +08:00
|
|
|
VxeGridPropTypes,
|
2025-05-09 13:09:24 +08:00
|
|
|
VxeTableInstance,
|
|
|
|
|
} from 'vxe-table';
|
2025-09-09 17:04:57 +08:00
|
|
|
|
|
|
|
|
// 异步导出 vxe-table 相关组件提供给需要单独使用 vxe-table 的场景
|
|
|
|
|
export const AsyncVxeTable = defineAsyncComponent(() =>
|
|
|
|
|
import('vxe-table').then((mod) => mod.VxeTable),
|
|
|
|
|
);
|
|
|
|
|
export const AsyncVxeColumn = defineAsyncComponent(() =>
|
|
|
|
|
import('vxe-table').then((mod) => mod.VxeColumn),
|
|
|
|
|
);
|
|
|
|
|
export const AsyncVxeToolbar = defineAsyncComponent(() =>
|
|
|
|
|
import('vxe-table').then((mod) => mod.VxeToolbar),
|
|
|
|
|
);
|