@antdv/pro-field
Version:
原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。
81 lines (80 loc) • 9.64 kB
TypeScript
import type { ExtractPublicPropTypes } from 'vue';
export declare const fieldDatePickerProps: {
readonly render: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: import("vue").VNode) => import("vue").VNode, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: import("vue").VNode) => import("vue").VNode>>;
readonly renderFormItem: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: import("vue").VNode) => import("vue").VNode | null, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: import("vue").VNode) => import("vue").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>;
} & {
labelRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>;
clearRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>;
labelTrigger: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>;
value: import("@antdv/pro-utils").VueTypeDef<string | number>;
format: import("@antdv/pro-utils").VueTypeValidateDef<string, import("@antdv/pro-utils").ValidatorFunction<string>> & {
required: true;
};
showTime: BooleanConstructor;
bordered: BooleanConstructor;
picker: import("@antdv/pro-utils").VueTypeDef<"time" | "date" | "week" | "month" | "quarter" | "year">;
};
export type FieldDatePickerProps = ExtractPublicPropTypes<typeof fieldDatePickerProps>;
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: import("vue").VNode) => import("vue").VNode, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: import("vue").VNode) => import("vue").VNode>>;
readonly renderFormItem: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: import("vue").VNode) => import("vue").VNode | null, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: import("vue").VNode) => import("vue").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>;
} & {
labelRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>;
clearRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>;
labelTrigger: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>;
value: import("@antdv/pro-utils").VueTypeDef<string | number>;
format: import("@antdv/pro-utils").VueTypeValidateDef<string, import("@antdv/pro-utils").ValidatorFunction<string>> & {
required: true;
};
showTime: BooleanConstructor;
bordered: BooleanConstructor;
picker: import("@antdv/pro-utils").VueTypeDef<"time" | "date" | "week" | "month" | "quarter" | "year">;
}>, () => import("vue").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: import("vue").VNode) => import("vue").VNode, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<Omit<import("../props").ProFieldFCRenderProps, "value" | "onChange">>, dom: import("vue").VNode) => import("vue").VNode>>;
readonly renderFormItem: import("@antdv/pro-utils").VueTypeValidateDef<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: import("vue").VNode) => import("vue").VNode | null, import("@antdv/pro-utils").ValidatorFunction<(text: any, props: import("vue").Ref<import("../props").ProFieldFCRenderProps>, dom: import("vue").VNode) => import("vue").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>;
} & {
labelRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>;
clearRef: import("@antdv/pro-utils").VueTypeValidateDef<HTMLElement, import("@antdv/pro-utils").ValidatorFunction<HTMLElement>>;
labelTrigger: import("@antdv/pro-utils").VueTypeValidateDef<boolean, import("@antdv/pro-utils").ValidatorFunction<boolean>>;
value: import("@antdv/pro-utils").VueTypeDef<string | number>;
format: import("@antdv/pro-utils").VueTypeValidateDef<string, import("@antdv/pro-utils").ValidatorFunction<string>> & {
required: true;
};
showTime: BooleanConstructor;
bordered: BooleanConstructor;
picker: import("@antdv/pro-utils").VueTypeDef<"time" | "date" | "week" | "month" | "quarter" | "year">;
}>> & Readonly<{
"onUpdate:value"?: ((val: any) => any) | undefined;
}>, {
bordered: boolean;
showTime: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;