@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
101 lines (100 loc) • 2.34 kB
TypeScript
import type { PropType, ExtractPropTypes } from "vue";
export declare const tableProps: {
table: {
type: ObjectConstructor;
default: () => {};
required: boolean;
};
columns: {
type: ArrayConstructor;
default: () => never[];
};
btnPermissions: {
type: ArrayConstructor;
default: () => never[];
};
title: {
type: StringConstructor;
};
tableTitle: StringConstructor;
align: {
type: PropType<"left" | "center" | "right">;
default: string;
};
isTree: {
type: BooleanConstructor;
default: boolean;
};
isRowSort: {
type: BooleanConstructor;
default: boolean;
};
isRowSortIcon: {
type: BooleanConstructor;
default: boolean;
};
rowSortIconBind: {
type: ObjectConstructor;
default: () => {};
};
isCopy: {
type: BooleanConstructor;
default: boolean;
};
rowClickRadio: {
type: BooleanConstructor;
default: boolean;
};
defaultRadioCol: NumberConstructor;
isPaginationCumulative: {
type: BooleanConstructor;
default: boolean;
};
isShowPagination: {
type: BooleanConstructor;
default: boolean;
};
isShowFooterBtn: {
type: BooleanConstructor;
default: boolean;
};
columnSetting: {
type: BooleanConstructor;
default: boolean;
};
highlightCurrentRow: {
type: BooleanConstructor;
default: boolean;
};
sortable: {
type: (BooleanConstructor | StringConstructor)[];
};
isKeyup: {
type: BooleanConstructor;
default: boolean;
};
isSlotToolbar: BooleanConstructor;
isSlotTitle: BooleanConstructor;
border: {
type: BooleanConstructor;
default: boolean;
};
tableLoading: {
type: BooleanConstructor;
default: boolean;
};
loadingTxt: {
type: StringConstructor;
default: string;
};
useVirtual: BooleanConstructor;
virtualShowSize: {
type: NumberConstructor;
default: number;
};
footerBtnAlign: {
type: StringConstructor;
default: string;
};
};
export type TTableProps = ExtractPropTypes<typeof tableProps>;