UNPKG

d-render

Version:

数据渲染库 - form、table、search-form

72 lines (71 loc) 1.92 kB
import type { ExtractPropTypes, PropType } from 'vue'; export interface ITreeProps { children: string; hasChildren?: string; } export declare const tableProps: { data: { type: PropType<IAnyObject[]>; required: boolean; default: () => never[]; }; size: { type: StringConstructor; validate: (val: string) => boolean; }; border: { type: BooleanConstructor; default: undefined; }; showDisabledButton: { type: BooleanConstructor; default: undefined; }; dangerButton: { type: BooleanConstructor; default: undefined; }; columns: { type: PropType<ITableColumnConfig[]>; default: () => never[]; }; offset: NumberConstructor; hideIndex: BooleanConstructor; indexFixed: BooleanConstructor; height: StringConstructor; selectType: { type: StringConstructor; validate: (val: string) => boolean; }; selectable: FunctionConstructor; selectRadio: (StringConstructor | NumberConstructor)[]; selectLabel: StringConstructor; selectColumns: ArrayConstructor; tableHeaderLabel: StringConstructor; inForm: BooleanConstructor; rowKey: PropType<string>; treeProps: { type: PropType<{ children: string; hasChildren?: string | undefined; }>; default: () => {}; }; defaultExpendAll: BooleanConstructor; withTableHandle: BooleanConstructor; handlerWidth: { type: StringConstructor; }; handlerLimit: { type: NumberConstructor; default: number; }; fieldKey: StringConstructor; ruleKey: StringConstructor; dependOnValues: PropType<IAnyObject>; editType: { type: PropType<"row" | "all" | "cell">; default: string; }; }; export type TTableProps = ExtractPropTypes<typeof tableProps>;