@antdv/pro-field
Version:
原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。
111 lines (110 loc) • 16.7 kB
TypeScript
import type { CheckboxValueType } from 'ant-design-vue/es/checkbox/interface';
import type { ExtractPublicPropTypes, VNode } from 'vue';
export declare const fieldCheckboxProps: {
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 layout: import("@antdv/pro-utils").VueTypeDef<"horizontal" | "vertical">;
readonly options: import("@antdv/pro-utils").VueTypeValidateDef<(string | number | import("ant-design-vue/lib/checkbox").CheckboxOptionType)[], import("@antdv/pro-utils").ValidatorFunction<(string | number | import("ant-design-vue/lib/checkbox").CheckboxOptionType)[]>>;
};
export type FieldCheckboxProps = ExtractPublicPropTypes<typeof fieldCheckboxProps>;
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>;
} & {
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 layout: import("@antdv/pro-utils").VueTypeDef<"horizontal" | "vertical">;
readonly options: import("@antdv/pro-utils").VueTypeValidateDef<(string | number | import("ant-design-vue/lib/checkbox").CheckboxOptionType)[], import("@antdv/pro-utils").ValidatorFunction<(string | number | import("ant-design-vue/lib/checkbox").CheckboxOptionType)[]>>;
}>, () => string | number | boolean | void | VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> | (string | number | boolean | void | VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> | null | undefined)[] | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
'update:value': (val: CheckboxValueType[]) => 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 layout: import("@antdv/pro-utils").VueTypeDef<"horizontal" | "vertical">;
readonly options: import("@antdv/pro-utils").VueTypeValidateDef<(string | number | import("ant-design-vue/lib/checkbox").CheckboxOptionType)[], import("@antdv/pro-utils").ValidatorFunction<(string | number | import("ant-design-vue/lib/checkbox").CheckboxOptionType)[]>>;
}>> & Readonly<{
"onUpdate:value"?: ((val: CheckboxValueType[]) => any) | undefined;
}>, {
readonly bordered: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;