UNPKG

tdesign-mobile-vue

Version:
75 lines (74 loc) 2.89 kB
import { PropType } from 'vue'; declare const _default: { bordered: BooleanConstructor; cellEmptyContent: { type: PropType<string | ((h: typeof import("vue").h, props: import("@/components").BaseTableCellParams<import("@/components").TableRowData>) => import("@/common").SlotReturnValue)>; }; columns: { type: PropType<import("@/components").BaseTableCol<import("@/components").TableRowData>[]>; default: () => import("@/components").BaseTableCol<import("@/components").TableRowData>[]; }; data: { type: PropType<import("@/components").TableRowData[]>; default: () => import("@/components").TableRowData[]; }; empty: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; fixedRows: { type: PropType<number[]>; }; height: { type: PropType<string | number>; }; loading: { type: PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; loadingProps: { type: PropType<Partial<import("@/loading").TdLoadingProps>>; }; maxHeight: { type: PropType<string | number>; }; rowAttributes: { type: PropType<import("@/components").TableRowAttributes<import("@/components").TableRowData>>; }; rowClassName: { type: PropType<((params: import("@/components").RowClassNameParams<import("@/components").TableRowData>) => import("@/common").ClassName) | import("@/common").ClassName>; }; rowKey: { type: StringConstructor; default: string; required: boolean; }; rowspanAndColspan: { type: PropType<import("@/components").TableRowspanAndColspanFunc<import("@/components").TableRowData>>; }; showHeader: { type: BooleanConstructor; default: boolean; }; stripe: BooleanConstructor; tableContentWidth: { type: StringConstructor; default: string; }; tableLayout: { type: PropType<"auto" | "fixed">; default: "auto" | "fixed"; validator(val: "auto" | "fixed"): boolean; }; verticalAlign: { type: PropType<"bottom" | "middle" | "top">; default: "bottom" | "middle" | "top"; validator(val: "bottom" | "middle" | "top"): boolean; }; onCellClick: PropType<(context: import("@/components").BaseTableCellEventContext<import("@/components").TableRowData>) => void>; onRowClick: PropType<(context: import("@/components").RowEventContext<import("@/components").TableRowData>) => void>; onScroll: PropType<(params: { e: Event; }) => void>; }; export default _default;