import { EpPropMergeType } from 'element-plus/es/utils'; import { PlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'firefly-plus-components'; import { ElTooltipProps, TableColumnCtx, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, ColProps } from 'element-plus'; import { PlusColumn, RecordType, FieldValueType, Extras, TableValueType, FormItemValueType, OptionsType, OptionsRow, RenderTypes, PropsItemType, Mutable, OmitTypes, CascaderProps } from 'firefly-plus-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; }; editable: { type: PropType; default: boolean; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; row: { type: PropType; required: true; default: () => {}; }; rest: { type: PropType; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { startCellEdit: () => void; stopCellEdit: () => void; getDisplayItemInstance: () => { isEdit: Ref; index: number; 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; }; editable: { type: PropType; default: boolean; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; row: { type: PropType; required: true; default: () => {}; }; rest: { type: PropType; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { index: number; editable: boolean | "click" | "dblclick"; column: PlusColumn; row: RecordType; rest: RecordType; }, true, {}, {}, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ index: { type: PropType; default: number; }; editable: { type: PropType; default: boolean; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; row: { type: PropType; required: true; default: () => {}; }; rest: { type: PropType; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { startCellEdit: () => void; stopCellEdit: () => void; getDisplayItemInstance: () => { isEdit: Ref; index: number; prop: string; formInstance: ComputedRef; }; }, {}, {}, {}, { index: number; editable: boolean | "click" | "dblclick"; column: PlusColumn; row: RecordType; rest: RecordType; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & ComponentOptionsBase; default: number; }; editable: { type: PropType; default: boolean; }; column: { type: PropType; required: true; default: () => { prop: string; label: string; }; }; row: { type: PropType; required: true; default: () => {}; }; rest: { type: PropType; default: () => {}; }; }>> & { onChange?: ((data: { value: FieldValueType; prop: string; row: RecordType; }) => any) | undefined; }, { startCellEdit: () => void; stopCellEdit: () => void; getDisplayItemInstance: () => { isEdit: Ref; index: number; prop: string; formInstance: ComputedRef; }; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (data: { value: FieldValueType; prop: string; row: RecordType; }) => void; }, string, { index: number; editable: boolean | "click" | "dblclick"; column: PlusColumn; row: RecordType; rest: RecordType; }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: Partial | undefined; prop: string; width?: string | number | undefined; minWidth?: string | number | undefined; editable?: boolean | undefined; extras?: Extras | undefined; valueType?: TableValueType | FormItemValueType; hideInDescriptions?: boolean | Ref | ComputedRef | undefined; hideInForm?: boolean | Ref | ComputedRef | undefined; hideInTable?: boolean | Ref | ComputedRef | undefined; hideInSearch?: boolean | Ref | ComputedRef | undefined; descriptionsItemProps?: RecordType | undefined; options?: OptionsType | undefined; customGetStatus?: ((data: { options: OptionsRow[]; value: string | number; row: RecordType; }) => OptionsRow) | undefined; tooltip?: string | ElTooltipProps | undefined; render?: ((value: any, data: { row: RecordType; column: PlusColumn; index: number; }) => RenderTypes) | undefined; renderHTML?: ((value: any, data: { row: RecordType; column: PlusColumn; index: number; }) => string) | undefined; renderHeader?: ((label: string, props: PlusColumn) => RenderTypes) | undefined; renderDescriptionsItem?: ((data: { value: string; column: PlusColumn; row: RecordType; }) => RenderTypes) | undefined; renderDescriptionsLabel?: ((data: { label: string; column: PlusColumn; row: RecordType; }) => RenderTypes) | undefined; order?: number | ComputedRef | undefined; headerFilter?: boolean | undefined; disabledHeaderFilter?: boolean | undefined; tableColumnProps?: Partial, "label " | "prop" | "width" | "minWidth"> & { [key: string]: any; }> | undefined; preview?: boolean | undefined; linkText?: string | undefined; formatter?: ((value: any, data: { row: RecordType; column: PlusColumn; index: number; }) => string | number) | undefined; formProps?: PropsItemType | undefined; formItemProps?: PropsItemType< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }> | undefined; fieldProps?: PropsItemType | undefined; step: string | number; format: string | ProgressFn | undefined; filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined; id: string | [string, string]; effect: EpPropMergeType<(new (...args: any[]) => "dark" | "light") | (() => "dark" | "light") | ((new (...args: any[]) => "dark" | "light") | (() => "dark" | "light"))[], unknown, unknown>; 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>>>> | undefined; renderField?: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; colProps?: Partial< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }> | undefined; hasLabel?: boolean | Ref | ComputedRef | undefined; renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined; renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined; fieldSlots?: { [slotName: string]: (data?: any) => RenderTypes; } | undefined; fieldChildrenSlot?: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; }) => any>> & Partial | undefined; prop: string; width?: string | number | undefined; minWidth?: string | number | undefined; editable?: boolean | undefined; extras?: Extras | undefined; valueType?: TableValueType | FormItemValueType; hideInDescriptions?: boolean | Ref | ComputedRef | undefined; hideInForm?: boolean | Ref | ComputedRef | undefined; hideInTable?: boolean | Ref | ComputedRef | undefined; hideInSearch?: boolean | Ref | ComputedRef | undefined; descriptionsItemProps?: RecordType | undefined; options?: OptionsType | undefined; customGetStatus?: ((data: { options: OptionsRow[]; value: string | number; row: RecordType; }) => OptionsRow) | undefined; tooltip?: string | ElTooltipProps | undefined; render?: ((value: any, data: { row: RecordType; column: PlusColumn; index: number; }) => RenderTypes) | undefined; renderHTML?: ((value: any, data: { row: RecordType; column: PlusColumn; index: number; }) => string) | undefined; renderHeader?: ((label: string, props: PlusColumn) => RenderTypes) | undefined; renderDescriptionsItem?: ((data: { value: string; column: PlusColumn; row: RecordType; }) => RenderTypes) | undefined; renderDescriptionsLabel?: ((data: { label: string; column: PlusColumn; row: RecordType; }) => RenderTypes) | undefined; order?: number | ComputedRef | undefined; headerFilter?: boolean | undefined; disabledHeaderFilter?: boolean | undefined; tableColumnProps?: Partial, "label " | "prop" | "width" | "minWidth"> & { [key: string]: any; }> | undefined; preview?: boolean | undefined; linkText?: string | undefined; formatter?: ((value: any, data: { row: RecordType; column: PlusColumn; index: number; }) => string | number) | undefined; formProps?: PropsItemType | undefined; formItemProps?: PropsItemType< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }> | undefined; fieldProps?: PropsItemType | undefined; step: string | number; format: string | ProgressFn | undefined; filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined; id: string | [string, string]; effect: EpPropMergeType<(new (...args: any[]) => "dark" | "light") | (() => "dark" | "light") | ((new (...args: any[]) => "dark" | "light") | (() => "dark" | "light"))[], unknown, unknown>; 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>>>> | undefined; renderField?: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined; colProps?: Partial< Mutable & { [key: string]: any; style?: CSSProperties | undefined; }> | undefined; hasLabel?: boolean | Ref | ComputedRef | undefined; renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined; renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined; fieldSlots?: { [slotName: string]: (data?: any) => RenderTypes; } | undefined; fieldChildrenSlot?: ((option?: OptionsRow | undefined) => RenderTypes) | undefined; }) => any>> & Partial any>> & { "edit-icon"?(_: {}): any; }; });