UNPKG

tdesign-mobile-vue

Version:
95 lines (94 loc) 3.44 kB
import { AllValidateResult, Data } from './type'; export type FormItemValidateResult<T extends Data = Data> = { [key in keyof T]: boolean | AllValidateResult[]; }; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ arrow: BooleanConstructor; contentAlign: { type: import("vue").PropType<import("@/components").TdFormItemProps['contentAlign']>; default: import("@/components").TdFormItemProps['contentAlign']; validator(val: import("@/components").TdFormItemProps['contentAlign']): boolean; }; for: { type: StringConstructor; default: string; }; help: { type: import("vue").PropType<import("@/components").TdFormItemProps['help']>; }; label: { type: import("vue").PropType<import("@/components").TdFormItemProps['label']>; default: string; }; labelAlign: { type: import("vue").PropType<import("@/components").TdFormItemProps['labelAlign']>; validator(val: import("@/components").TdFormItemProps['labelAlign']): boolean; }; labelWidth: { type: import("vue").PropType<import("@/components").TdFormItemProps['labelWidth']>; }; name: { type: StringConstructor; default: string; }; requiredMark: { type: BooleanConstructor; default: any; }; rules: { type: import("vue").PropType<import("@/components").TdFormItemProps['rules']>; }; showErrorMessage: { type: BooleanConstructor; default: any; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ arrow: BooleanConstructor; contentAlign: { type: import("vue").PropType<import("@/components").TdFormItemProps['contentAlign']>; default: import("@/components").TdFormItemProps['contentAlign']; validator(val: import("@/components").TdFormItemProps['contentAlign']): boolean; }; for: { type: StringConstructor; default: string; }; help: { type: import("vue").PropType<import("@/components").TdFormItemProps['help']>; }; label: { type: import("vue").PropType<import("@/components").TdFormItemProps['label']>; default: string; }; labelAlign: { type: import("vue").PropType<import("@/components").TdFormItemProps['labelAlign']>; validator(val: import("@/components").TdFormItemProps['labelAlign']): boolean; }; labelWidth: { type: import("vue").PropType<import("@/components").TdFormItemProps['labelWidth']>; }; name: { type: StringConstructor; default: string; }; requiredMark: { type: BooleanConstructor; default: any; }; rules: { type: import("vue").PropType<import("@/components").TdFormItemProps['rules']>; }; showErrorMessage: { type: BooleanConstructor; default: any; }; }>> & Readonly<{}>, { arrow: boolean; contentAlign: "left" | "right"; for: string; label: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); name: string; requiredMark: boolean; showErrorMessage: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;