/// import React from 'react'; import { FormulaEditorProps, FuncGroup, VariableItem } from './Editor'; export declare const InputSchemaType: readonly ["text", "number", "boolean", "date", "time", "datetime", "select"]; export type FormulaPickerInputSettingType = (typeof InputSchemaType)[number]; export interface FormulaPickerInputSettings { type: FormulaPickerInputSettingType; [propName: string]: any; } export interface FormulaPickerProps extends Omit { size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full'; /** * 混合模式,意味着这个输入框既可以输入不同文本 * 也可以输入公式。 * 当输入公式时,值格式为 ${公式内容} * 其他内容当字符串。 */ mixedMode?: boolean; /** * 编辑器标题 */ title?: string; /** * 按钮图标 */ icon?: string; /** * 控件模式 */ mode?: 'button' | 'input-button' | 'input-group'; /** * 边框模式,全边框,还是半边框,或者没边框。 */ borderMode?: 'full' | 'half' | 'none'; /** * 按钮Label,inputMode为button时生效 */ btnLabel?: string; /** * 按钮样式 */ level?: 'info' | 'success' | 'warning' | 'danger' | 'link' | 'primary' | 'dark' | 'light'; /** * 按钮大小 */ btnSize?: 'xs' | 'sm' | 'md' | 'lg'; /** * 禁用状态 */ disabled?: boolean; /** * 是否允许输入,否需要点击fx在弹窗中输入 */ allowInput?: boolean; /** * 占位文本 */ placeholder?: string; /** * 可清除 */ clearable?: boolean; /** * 支持通过上下文变量配置value */ source?: string; /** * 外层透传的 data,和source配合使用 */ data?: any; /** * 输入框的展示类型 */ inputSettings?: FormulaPickerInputSettings; /** * 公式弹出的时候,可以外部设置 variables 和 functions */ onPickerOpen?: (props: FormulaPickerProps) => any; children?: (props: { onClick: (e: React.MouseEvent) => void; setState: (state: any) => void; isOpened: boolean; }) => JSX.Element; onConfirm?: (value?: any) => void; onRef?: (node: any) => void; popOverContainer?: any; variables?: Array | string | ((props: any) => Array); } export interface FormulaPickerState { isOpened: boolean; value: any; editorValue: string; isError: boolean | string; variables?: Array; functions?: Array; variableMode?: any; } export declare class FormulaPicker extends React.Component { state: FormulaPickerState; static defaultProps: { evalMode: boolean; }; constructor(props: FormulaPickerProps); componentDidMount(): Promise; componentDidUpdate(prevProps: FormulaPickerProps): Promise; value2EditorValue(props: FormulaPickerProps): string; isTextInput(): boolean; handleConfirm(): void; renderFormulaValue(item: any): React.JSX.Element | ""; handleInputChange(value: string): void; handleInputGroupChange(e: React.ChangeEvent): void; handleEditorChange(value: string): void; handleEditorConfirm(): void; confirm(value: string): void; handleClick(): Promise; close(e?: any, callback?: () => void): void; updateState(state?: any): void; validate(value: string): any; render(): React.JSX.Element; } declare const _default: { new (props: Omit, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType<{ new (props: Pick, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof FormulaPicker; }>; } & import("hoist-non-react-statics").NonReactStatics<{ new (props: Pick, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof FormulaPicker; }, {}> & { ComposedComponent: { new (props: Pick, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; /** * 编辑器标题 */ }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "data" | "header" | "source" | "title" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "clearable" | "popOverContainer" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "editorOptions" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize"> & { evalMode?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof FormulaPicker; }; }; export default _default;