UNPKG

@antdv/pro-field

Version:

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

111 lines (110 loc) 16.6 kB
import type { ExtractPublicPropTypes, SlotsType, VNode } from 'vue'; export declare const fieldCascaderProps: { 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>> & import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldValueEnumType, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldValueEnumType>>; readonly proFieldKey: import("@antdv/pro-utils").VueTypeDef<import("@antdv/pro-utils").Key>; readonly labelRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>; readonly clearRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>; readonly labelTrigger: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly value: import("@antdv/pro-utils").VueTypeDef<string | number | (string | number)[]>; readonly debounceTime: NumberConstructor; readonly request: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldRequestData, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldRequestData>>; readonly params: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly bordered: BooleanConstructor; readonly id: StringConstructor; readonly defaultKeyWords: StringConstructor; readonly fieldNames: import("@antdv/pro-utils").VueTypeValidateDef<import("ant-design-vue/es/vc-cascader").FieldNames, import("@antdv/pro-utils").ValidatorFunction<import("ant-design-vue/es/vc-cascader").FieldNames>>; readonly options: import("@antdv/pro-utils").VueTypeValidateDef<((string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[] | undefined)[][], import("@antdv/pro-utils").ValidatorFunction<((string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[] | undefined)[][]>>; readonly radioType: import("@antdv/pro-utils").VueTypeDef<"button" | "radio">; }; export type FieldCascaderProps = ExtractPublicPropTypes<typeof fieldCascaderProps>; declare const FieldCascader: 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>; } & { 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>> & import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldValueEnumType, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldValueEnumType>>; readonly proFieldKey: import("@antdv/pro-utils").VueTypeDef<import("@antdv/pro-utils").Key>; readonly labelRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>; readonly clearRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>; readonly labelTrigger: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly value: import("@antdv/pro-utils").VueTypeDef<string | number | (string | number)[]>; readonly debounceTime: NumberConstructor; readonly request: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldRequestData, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldRequestData>>; readonly params: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly bordered: BooleanConstructor; readonly id: StringConstructor; readonly defaultKeyWords: StringConstructor; readonly fieldNames: import("@antdv/pro-utils").VueTypeValidateDef<import("ant-design-vue/es/vc-cascader").FieldNames, import("@antdv/pro-utils").ValidatorFunction<import("ant-design-vue/es/vc-cascader").FieldNames>>; readonly options: import("@antdv/pro-utils").VueTypeValidateDef<((string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[] | undefined)[][], import("@antdv/pro-utils").ValidatorFunction<((string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[] | undefined)[][]>>; readonly radioType: import("@antdv/pro-utils").VueTypeDef<"button" | "radio">; }>, () => 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>; } & { 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>> & import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldValueEnumType, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldValueEnumType>>; readonly proFieldKey: import("@antdv/pro-utils").VueTypeDef<import("@antdv/pro-utils").Key>; readonly labelRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>; readonly clearRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>; readonly labelTrigger: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>; readonly value: import("@antdv/pro-utils").VueTypeDef<string | number | (string | number)[]>; readonly debounceTime: NumberConstructor; readonly request: import("@antdv/pro-utils").VueTypeValidateDef<import("@antdv/pro-utils").ProFieldRequestData, import("@antdv/pro-utils").ValidatorFunction<import("@antdv/pro-utils").ProFieldRequestData>>; readonly params: import("@antdv/pro-utils").VueTypeValidateDef<any, import("@antdv/pro-utils").ValidatorFunction<any>>; readonly bordered: BooleanConstructor; readonly id: StringConstructor; readonly defaultKeyWords: StringConstructor; readonly fieldNames: import("@antdv/pro-utils").VueTypeValidateDef<import("ant-design-vue/es/vc-cascader").FieldNames, import("@antdv/pro-utils").ValidatorFunction<import("ant-design-vue/es/vc-cascader").FieldNames>>; readonly options: import("@antdv/pro-utils").VueTypeValidateDef<((string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[] | undefined)[][], import("@antdv/pro-utils").ValidatorFunction<((string | number | import("ant-design-vue/es/radio/Group").RadioGroupChildOption)[] | undefined)[][]>>; readonly radioType: import("@antdv/pro-utils").VueTypeDef<"button" | "radio">; }>> & Readonly<{ "onUpdate:value"?: ((val: any) => any) | undefined; }>, { readonly bordered: boolean; }, SlotsType<{ default: () => VNode[]; label: () => VNode[]; }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default FieldCascader;