import { PlusColumn, FieldValueType, RecordType, PropsItemType, Mutable, InputType, CascaderProps, OmitTypes } from 'haotai-ui/es/types'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, CSSProperties, PropType } from 'vue'; import { FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, ISelectProps, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus'; import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'haotai-ui'; export interface PlusRenderProps { /** * 渲染的类型 */ renderType?: 'form'; /** * 回调参数的第一个值 */ callbackValue?: FieldValueType; customFieldProps?: PlusColumn['fieldProps'] | PlusColumn['formItemProps']; render?: PlusColumn['renderField'] | ((...arg: any[]) => void); params?: Partial; handleChange?: (...arg: any[]) => void; } declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { renderType: undefined; callbackValue: string; customFieldProps: () => {}; params: () => {}; }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { renderType: undefined; callbackValue: string; customFieldProps: () => {}; params: () => {}; }>>>, { renderType: "form"; callbackValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; customFieldProps: PropsItemType< Mutable & { [key: string]: any; style?: CSSProperties; }> | PropsItemType & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>; params: Partial; }, {}>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {};