import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select'; import { EpPropMergeType } from 'element-plus/es/utils'; import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus'; import { LooseRequired } from '@vue/shared'; import { RecordType, PlusColumn, FieldValueType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'plus-pro-components'; import { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'plus-pro-components'; import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue'; import { default as DisplayItem } from './src/index.vue'; export type PlusDisplayItemInstance = InstanceType; export type { PlusDisplayItemProps } from './src/index.vue'; export declare const PlusDisplayItem: { new (...args: any[]): CreateComponentPublicInstance; default: number; }; formProps: { type: PropType; default: () => {}; }; rest: { type: PropType; default: () => {}; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; editable: { type: PropType; default: boolean; }; row: { type: PropType; required: true; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { startCellEdit: () => void; stopCellEdit: () => void; getDisplayItemInstance: () => { isEdit: Ref; index: number; rowIndex: number; cellIndex: any; prop: string; formInstance: ComputedRef; }; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (data: { value: FieldValueType; prop: string; row: RecordType; }) => void; }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{ index: { type: PropType; default: number; }; formProps: { type: PropType; default: () => {}; }; rest: { type: PropType; default: () => {}; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; editable: { type: PropType; default: boolean; }; row: { type: PropType; required: true; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { index: number; formProps: PlusFormProps; rest: RecordType; column: PlusColumn; editable: boolean | "click" | "dblclick"; row: RecordType; }, true, {}, {}, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ index: { type: PropType; default: number; }; formProps: { type: PropType; default: () => {}; }; rest: { type: PropType; default: () => {}; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; editable: { type: PropType; default: boolean; }; row: { type: PropType; required: true; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { startCellEdit: () => void; stopCellEdit: () => void; getDisplayItemInstance: () => { isEdit: Ref; index: number; rowIndex: number; cellIndex: any; prop: string; formInstance: ComputedRef; }; }, {}, {}, {}, { index: number; formProps: PlusFormProps; rest: RecordType; column: PlusColumn; editable: boolean | "click" | "dblclick"; row: RecordType; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & ComponentOptionsBase; default: number; }; formProps: { type: PropType; default: () => {}; }; rest: { type: PropType; default: () => {}; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; editable: { type: PropType; default: boolean; }; row: { type: PropType; required: true; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { startCellEdit: () => void; stopCellEdit: () => void; getDisplayItemInstance: () => { isEdit: Ref; index: number; rowIndex: number; cellIndex: any; prop: string; formInstance: ComputedRef; }; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (data: { value: FieldValueType; prop: string; row: RecordType; }) => void; }, string, { index: number; formProps: PlusFormProps; rest: RecordType; column: PlusColumn; editable: boolean | "click" | "dblclick"; row: RecordType; }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: Partial, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & { readonly label: string | ComputedRef; readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; readonly hasLabel: boolean | Ref | ComputedRef; readonly tooltip: string | Partial< Mutable & { style?: CSSProperties | undefined; class?: any; } & RecordType> | ComputedRef | ComputedRef & { style?: CSSProperties | undefined; class?: any; } & RecordType>>; readonly formItemProps: PropsItemType< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }>; readonly fieldProps: PropsItemType | EpPropMergeType | undefined; step: string | number; format: string | ProgressFn | undefined; filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined; id: string | [string, string]; effect: string; height: string | number; autosize: InputAutoSize; } & Mutable & 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>>>>; readonly options: OptionsType; readonly fieldSlots: { [slotName: string]: (data?: any) => RenderTypes; }; readonly valueType: TableValueType | FormItemValueType; readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined; readonly fieldChildrenSlot: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; readonly renderErrorMessage: ((props: PlusColumn & { value?: FieldValueType; error?: string | undefined; label?: string | undefined; }) => RenderTypes) | undefined; readonly optionsMap: { label?: string | undefined; value?: string | undefined; } | undefined; readonly clearable: boolean; readonly index: number; } & { readonly clearable: boolean; }; label: string; fieldProps: RecordType; formItemProps: RecordType; options: OptionsRow[]; fieldInstance?: any; valueIsReady?: Ref | undefined; prop: string; modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; hasLabel: boolean | Ref | ComputedRef; tooltip: string | Partial< Mutable & { style?: CSSProperties | undefined; class?: any; } & RecordType> | ComputedRef | ComputedRef & { style?: CSSProperties | undefined; class?: any; } & RecordType>>; fieldSlots: { [slotName: string]: (data?: any) => RenderTypes; }; valueType: TableValueType | FormItemValueType; renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined; fieldChildrenSlot: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; renderErrorMessage: ((props: PlusColumn & { value?: FieldValueType; error?: string | undefined; label?: string | undefined; }) => RenderTypes) | undefined; optionsMap: { label?: string | undefined; value?: string | undefined; } | undefined; clearable: boolean; index: number; }) => any>> & Partial, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & { readonly label: string | ComputedRef; readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; readonly hasLabel: boolean | Ref | ComputedRef; readonly tooltip: string | Partial< Mutable & { style?: CSSProperties | undefined; class?: any; } & RecordType> | ComputedRef | ComputedRef & { style?: CSSProperties | undefined; class?: any; } & RecordType>>; readonly formItemProps: PropsItemType< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }>; readonly fieldProps: PropsItemType | EpPropMergeType | undefined; step: string | number; format: string | ProgressFn | undefined; filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined; id: string | [string, string]; effect: string; height: string | number; autosize: InputAutoSize; } & Mutable & 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>>>>; readonly options: OptionsType; readonly fieldSlots: { [slotName: string]: (data?: any) => RenderTypes; }; readonly valueType: TableValueType | FormItemValueType; readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined; readonly fieldChildrenSlot: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; readonly renderErrorMessage: ((props: PlusColumn & { value?: FieldValueType; error?: string | undefined; label?: string | undefined; }) => RenderTypes) | undefined; readonly optionsMap: { label?: string | undefined; value?: string | undefined; } | undefined; readonly clearable: boolean; readonly index: number; } & { readonly clearable: boolean; }; label: string; fieldProps: RecordType; formItemProps: RecordType; options: OptionsRow[]; fieldInstance?: any; valueIsReady?: Ref | undefined; prop: string; modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; hasLabel: boolean | Ref | ComputedRef; tooltip: string | Partial< Mutable & { style?: CSSProperties | undefined; class?: any; } & RecordType> | ComputedRef | ComputedRef & { style?: CSSProperties | undefined; class?: any; } & RecordType>>; fieldSlots: { [slotName: string]: (data?: any) => RenderTypes; }; valueType: TableValueType | FormItemValueType; renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined; fieldChildrenSlot: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; renderErrorMessage: ((props: PlusColumn & { value?: FieldValueType; error?: string | undefined; label?: string | undefined; }) => RenderTypes) | undefined; optionsMap: { label?: string | undefined; value?: string | undefined; } | undefined; clearable: boolean; index: number; }) => any>> & Partial, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & { readonly label: string | ComputedRef; readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; readonly hasLabel: boolean | Ref | ComputedRef; readonly tooltip: string | Partial< Mutable & { style?: CSSProperties | undefined; class?: any; } & RecordType> | ComputedRef | ComputedRef & { style?: CSSProperties | undefined; class?: any; } & RecordType>>; readonly formItemProps: PropsItemType< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }>; readonly fieldProps: PropsItemType | EpPropMergeType | undefined; step: string | number; format: string | ProgressFn | undefined; filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined; id: string | [string, string]; effect: string; height: string | number; autosize: InputAutoSize; } & Mutable & 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>>>>; readonly options: OptionsType; readonly fieldSlots: { [slotName: string]: (data?: any) => RenderTypes; }; readonly valueType: TableValueType | FormItemValueType; readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined; readonly fieldChildrenSlot: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; readonly renderErrorMessage: ((props: PlusColumn & { value?: FieldValueType; error?: string | undefined; label?: string | undefined; }) => RenderTypes) | undefined; readonly optionsMap: { label?: string | undefined; value?: string | undefined; } | undefined; readonly clearable: boolean; readonly index: number; } & { readonly clearable: boolean; }; label: string; fieldProps: RecordType; formItemProps: RecordType; options: OptionsRow[]; fieldInstance?: any; valueIsReady?: Ref | undefined; prop: string; modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null; hasLabel: boolean | Ref | ComputedRef; tooltip: string | Partial< Mutable & { style?: CSSProperties | undefined; class?: any; } & RecordType> | ComputedRef | ComputedRef & { style?: CSSProperties | undefined; class?: any; } & RecordType>>; fieldSlots: { [slotName: string]: (data?: any) => RenderTypes; }; valueType: TableValueType | FormItemValueType; renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined; fieldChildrenSlot: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; renderErrorMessage: ((props: PlusColumn & { value?: FieldValueType; error?: string | undefined; label?: string | undefined; }) => RenderTypes) | undefined; optionsMap: { label?: string | undefined; value?: string | undefined; } | undefined; clearable: boolean; index: number; }) => any>> & Partial[]; value: any; }) => any>> & { "edit-icon"?(_: {}): any; }; });