UNPKG

@antdv/pro-field

Version:

原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。

52 lines (51 loc) 6.57 kB
import type { SlotsType, VNode } from 'vue'; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly render: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: VNode) => VNode, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: VNode) => VNode>>; readonly renderFormItem: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: VNode) => VNode | null, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: VNode) => VNode | null>>; readonly text: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly fieldProps: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly mode: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldFCMode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldFCMode>>; readonly plain: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly light: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly label: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").VueNode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").VueNode>>; readonly valueEnum: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProSchemaValueEnumObj | import("@antdv/pro-utils").ProSchemaValueEnumMap, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProSchemaValueEnumObj | import("@antdv/pro-utils").ProSchemaValueEnumMap>>; readonly proFieldKey: import("@antdv/pro-utils").VueTypeDef<import("@antdv/pro-utils").Key>; } & { prefix: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").VueNode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").VueNode>>; suffix: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").VueNode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").VueNode>>; value: import("@antdv/pro-utils").VueTypeDef<string | number>; precision: import("@antdv/pro-utils").VueTypeValidateDef<number, import("@antdv/pro-utils").ValidatorFunction<number>>; showColor: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; showSymbol: import("@antdv/pro-utils").VueTypeDef<boolean | ((value: any) => boolean)>; placeholder: import("@antdv/pro-utils").VueTypeValidateDef<string, import("@antdv/pro-utils").ValidatorFunction<string>>; }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:value': (val: any) => true; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly render: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: VNode) => VNode, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: VNode) => VNode>>; readonly renderFormItem: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: VNode) => VNode | null, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: VNode) => VNode | null>>; readonly text: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly fieldProps: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly mode: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldFCMode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldFCMode>>; readonly plain: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly light: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly label: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").VueNode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").VueNode>>; readonly valueEnum: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProSchemaValueEnumObj | import("@antdv/pro-utils").ProSchemaValueEnumMap, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProSchemaValueEnumObj | import("@antdv/pro-utils").ProSchemaValueEnumMap>>; readonly proFieldKey: import("@antdv/pro-utils").VueTypeDef<import("@antdv/pro-utils").Key>; } & { prefix: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").VueNode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").VueNode>>; suffix: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").VueNode, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").VueNode>>; value: import("@antdv/pro-utils").VueTypeDef<string | number>; precision: import("@antdv/pro-utils").VueTypeValidateDef<number, import("@antdv/pro-utils").ValidatorFunction<number>>; showColor: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; showSymbol: import("@antdv/pro-utils").VueTypeDef<boolean | ((value: any) => boolean)>; placeholder: import("@antdv/pro-utils").VueTypeValidateDef<string, import("@antdv/pro-utils").ValidatorFunction<string>>; }>> & Readonly<{ "onUpdate:value"?: ((val: any) => any) | undefined; }>, {}, SlotsType<{ default: () => VNode[]; prefix: () => VNode[]; suffix: () => VNode[]; }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;