import { InputProps } from 'antd/es/input'; import { PopconfirmProps } from 'antd/es/popconfirm'; import { FormInstance } from 'antd/es/form'; import React from 'react'; import { ProColumnProps } from '../index'; export interface ContainerProps { trigger?: 'click' | 'hover'; size?: 'small' | 'middle' | 'large'; mode?: 'popup' | 'current'; type?: 'input' | 'select'; } export interface StateProps { popValue?: string; confirmValue?: string; } export interface PopupProps { type?: string; label?: string | React.ReactNode; title?: string | React.ReactNode; tip?: string | React.ReactNode; trim?: boolean; labelWidth?: string | number; fieldProps?: any; columns?: ProColumnProps; [key: string]: any; } export interface LabelProps extends InputProps { visible?: boolean; open?: boolean; onVisibleChange?: (open: boolean) => void; onChange?: (value: React.ChangeEvent) => void; editable?: boolean; onEdit?: () => void; } export interface PopupConfirmProps extends Partial { popupProps?: PopupProps; viewEmpty?: '-'; onConfirm?: (e?: any) => void; onFinish?: (e?: any) => void; onOpenChange?: (e?: any) => void; trigger?: 'click' | 'hover'; value?: any; form?: FormInstance; disabled?: boolean; [key: string]: any; }