UNPKG

@wocwin/t-ui-plus

Version:

Page level components developed based on Element Plus.

113 lines (111 loc) 2.58 kB
import { 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: (StringConstructor | BooleanConstructor)[]; }; 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; }; /** * 空数据时表头是否显示校验红点 */ isEmptyDataRequired: { type: BooleanConstructor; default: boolean; }; saveBtnTxt: { type: StringConstructor; default: string; }; }; export type TTableProps = ExtractPropTypes<typeof tableProps>;