django-vue3-admin-web/node_modules/@fast-crud/fast-crud/dist/d/components/crud/fs-table.d.ts
2025-10-20 21:21:14 +08:00

164 lines
3.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { PropType } from "vue";
import "./fs-table.less";
import { ConditionalRenderProps, EditableProps, TableColumnsProps } from "../../d";
/**
* fs-table,表格封装
* 支持el-table/a-table的参数
*/
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
tableVersion: {
type: PropType<string>;
};
/**
* table插槽
*/
slots: {
type: PropType<any>;
};
/**
* 单元格插槽
*/
cellSlots: {
type: PropType<any>;
};
/**
* 列配置支持el-table-column|a-table-column配置
*/
columns: {
type: PropType<TableColumnsProps>;
default: any;
};
/**
* 操作列
*/
rowHandle: {
type: PropType<any>;
};
/**
* 是否显示表格
*/
show: {
type: BooleanConstructor;
default: boolean;
};
/**
* 表格数据
*/
data: {
type: ArrayConstructor;
default: () => any[];
};
conditionalRender: {
type: PropType<ConditionalRenderProps>;
};
/**
* 行编辑,批量编辑
*/
editable: {
type: PropType<EditableProps>;
default(): {};
};
loading: {
type: BooleanConstructor;
default: boolean;
};
/**
* 当前sort状态
*/
sort: {
type: PropType<any>;
};
request: {
type: PropType<any>;
};
rowKey: {
type: (StringConstructor | FunctionConstructor)[];
default: string;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("value-change" | "row-handle" | "pagination-change" | "filter-change" | "sort-change" | "data-change")[], "value-change" | "row-handle" | "pagination-change" | "filter-change" | "sort-change" | "data-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
tableVersion: {
type: PropType<string>;
};
/**
* table插槽
*/
slots: {
type: PropType<any>;
};
/**
* 单元格插槽
*/
cellSlots: {
type: PropType<any>;
};
/**
* 列配置支持el-table-column|a-table-column配置
*/
columns: {
type: PropType<TableColumnsProps>;
default: any;
};
/**
* 操作列
*/
rowHandle: {
type: PropType<any>;
};
/**
* 是否显示表格
*/
show: {
type: BooleanConstructor;
default: boolean;
};
/**
* 表格数据
*/
data: {
type: ArrayConstructor;
default: () => any[];
};
conditionalRender: {
type: PropType<ConditionalRenderProps>;
};
/**
* 行编辑,批量编辑
*/
editable: {
type: PropType<EditableProps>;
default(): {};
};
loading: {
type: BooleanConstructor;
default: boolean;
};
/**
* 当前sort状态
*/
sort: {
type: PropType<any>;
};
request: {
type: PropType<any>;
};
rowKey: {
type: (StringConstructor | FunctionConstructor)[];
default: string;
};
}>> & Readonly<{
"onValue-change"?: (...args: any[]) => any;
"onRow-handle"?: (...args: any[]) => any;
"onPagination-change"?: (...args: any[]) => any;
"onFilter-change"?: (...args: any[]) => any;
"onSort-change"?: (...args: any[]) => any;
"onData-change"?: (...args: any[]) => any;
}>, {
columns: TableColumnsProps;
data: unknown[];
loading: boolean;
show: boolean;
editable: EditableProps;
rowKey: string | Function;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;