amis 1.9.1-beta.13 → 1.9.1-beta.19
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/Select.js +2 -2
- package/lib/components/Select.js.map +2 -2
- package/lib/components/formula/Editor.d.ts +44 -40
- package/lib/components/formula/Editor.js +16 -5
- package/lib/components/formula/Editor.js.map +2 -2
- package/lib/components/formula/Picker.d.ts +88 -41
- package/lib/components/formula/Picker.js +49 -22
- package/lib/components/formula/Picker.js.map +2 -2
- package/lib/index.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.js +2 -1
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/CRUD.js +3 -0
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Form/InputFormula.d.ts +6 -2
- package/lib/renderers/Form/InputFormula.js +4 -3
- package/lib/renderers/Form/InputFormula.js.map +2 -2
- package/lib/renderers/Form/InputTree.d.ts +4 -0
- package/lib/renderers/Form/InputTree.js +2 -2
- package/lib/renderers/Form/InputTree.js.map +2 -2
- package/lib/renderers/Table/index.js +2 -1
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/renderers/Tabs.d.ts +6 -2
- package/lib/renderers/Tabs.js +21 -0
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/themes/ang-ie11.css +45 -6
- package/lib/themes/ang.css +40 -6
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +45 -6
- package/lib/themes/antd.css +40 -6
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +45 -6
- package/lib/themes/cxd.css +40 -6
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +45 -6
- package/lib/themes/dark.css +40 -6
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +45 -6
- package/lib/themes/default.css +40 -6
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/formula.js +4 -3
- package/lib/utils/formula.js.map +2 -2
- package/package.json +2 -2
- package/schema.json +41 -38
- package/scss/components/_formula.scss +45 -4
- package/scss/components/form/_checks.scss +47 -44
- package/scss/components/form/_select.scss +3 -2
- package/sdk/ang-ie11.css +52 -6
- package/sdk/ang.css +47 -6
- package/sdk/antd-ie11.css +52 -6
- package/sdk/antd.css +47 -6
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +52 -6
- package/sdk/cxd.css +47 -6
- package/sdk/dark-ie11.css +52 -6
- package/sdk/dark.css +47 -6
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +16 -16
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +52 -6
- package/sdk/sdk.css +47 -6
- package/sdk/sdk.js +1339 -1339
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/components/Select.tsx +3 -6
- package/src/components/formula/Editor.tsx +51 -23
- package/src/components/formula/Picker.tsx +67 -9
- package/src/locale/zh-CN.ts +1 -1
- package/src/renderers/Action.tsx +2 -1
- package/src/renderers/CRUD.tsx +2 -0
- package/src/renderers/Form/InputFormula.tsx +11 -3
- package/src/renderers/Form/InputTree.tsx +7 -0
- package/src/renderers/Table/index.tsx +9 -7
- package/src/renderers/Tabs.tsx +33 -3
- package/src/utils/formula.ts +5 -3
@@ -15,11 +15,15 @@ export interface FormulaPickerProps extends FormulaEditorProps {
|
|
15
15
|
/**
|
16
16
|
* 控件模式
|
17
17
|
*/
|
18
|
-
mode?: 'button' | 'input-button';
|
18
|
+
mode?: 'button' | 'input-button' | 'input-group';
|
19
19
|
/**
|
20
20
|
* 边框模式,全边框,还是半边框,或者没边框。
|
21
21
|
*/
|
22
22
|
borderMode?: 'full' | 'half' | 'none';
|
23
|
+
/**
|
24
|
+
* 只展示变量,不需要其他面板
|
25
|
+
*/
|
26
|
+
onlyVariable?: boolean;
|
23
27
|
/**
|
24
28
|
* 按钮Label,inputMode为button时生效
|
25
29
|
*/
|
@@ -81,13 +85,16 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
|
|
81
85
|
constructor(props: FormulaPickerProps);
|
82
86
|
static defaultProps: {
|
83
87
|
evalMode: boolean;
|
88
|
+
onlyVariable: boolean;
|
84
89
|
};
|
85
90
|
state: FormulaPickerState;
|
86
91
|
handleConfirm(): void;
|
87
92
|
renderFormulaValue(item: any): "" | JSX.Element;
|
88
93
|
handleInputChange(value: string): void;
|
94
|
+
handleInputGroupChange(e: React.ChangeEvent<HTMLInputElement>): void;
|
89
95
|
handleEditorChange(value: string): void;
|
90
96
|
handleEditorConfirm(): void;
|
97
|
+
confirm(value: string): void;
|
91
98
|
handleClick(): Promise<void>;
|
92
99
|
close(e?: any, callback?: () => void): void;
|
93
100
|
updateState(state?: any): void;
|
@@ -95,8 +102,9 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
|
|
95
102
|
render(): JSX.Element;
|
96
103
|
}
|
97
104
|
declare const _default: {
|
98
|
-
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
105
|
+
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
99
106
|
evalMode: boolean;
|
107
|
+
onlyVariable: boolean;
|
100
108
|
}, never>> & {
|
101
109
|
locale?: string | undefined;
|
102
110
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -106,15 +114,17 @@ declare const _default: {
|
|
106
114
|
getWrappedInstance(): any;
|
107
115
|
render(): JSX.Element;
|
108
116
|
context: any;
|
109
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
117
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
110
118
|
evalMode: boolean;
|
119
|
+
onlyVariable: boolean;
|
111
120
|
}, never>> & {
|
112
121
|
locale?: string | undefined;
|
113
122
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
114
123
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
115
124
|
forceUpdate(callback?: (() => void) | undefined): void;
|
116
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
125
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
117
126
|
evalMode: boolean;
|
127
|
+
onlyVariable: boolean;
|
118
128
|
}, never>> & {
|
119
129
|
locale?: string | undefined;
|
120
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -126,48 +136,55 @@ declare const _default: {
|
|
126
136
|
[key: string]: React.ReactInstance;
|
127
137
|
};
|
128
138
|
componentDidMount?(): void;
|
129
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
139
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
130
140
|
evalMode: boolean;
|
141
|
+
onlyVariable: boolean;
|
131
142
|
}, never>> & {
|
132
143
|
locale?: string | undefined;
|
133
144
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
134
145
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
135
146
|
componentWillUnmount?(): void;
|
136
147
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
137
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
148
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
138
149
|
evalMode: boolean;
|
150
|
+
onlyVariable: boolean;
|
139
151
|
}, never>> & {
|
140
152
|
locale?: string | undefined;
|
141
153
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
142
154
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
143
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
155
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
144
156
|
evalMode: boolean;
|
157
|
+
onlyVariable: boolean;
|
145
158
|
}, never>> & {
|
146
159
|
locale?: string | undefined;
|
147
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
148
161
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
149
162
|
componentWillMount?(): void;
|
150
163
|
UNSAFE_componentWillMount?(): void;
|
151
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
164
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
152
165
|
evalMode: boolean;
|
166
|
+
onlyVariable: boolean;
|
153
167
|
}, never>> & {
|
154
168
|
locale?: string | undefined;
|
155
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
156
170
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
157
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
171
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
158
172
|
evalMode: boolean;
|
173
|
+
onlyVariable: boolean;
|
159
174
|
}, never>> & {
|
160
175
|
locale?: string | undefined;
|
161
176
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
162
177
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
163
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
178
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
164
179
|
evalMode: boolean;
|
180
|
+
onlyVariable: boolean;
|
165
181
|
}, never>> & {
|
166
182
|
locale?: string | undefined;
|
167
183
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
168
184
|
}, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
169
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
185
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
170
186
|
evalMode: boolean;
|
187
|
+
onlyVariable: boolean;
|
171
188
|
}, never>> & {
|
172
189
|
locale?: string | undefined;
|
173
190
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -176,8 +193,9 @@ declare const _default: {
|
|
176
193
|
displayName: string;
|
177
194
|
contextType: React.Context<string>;
|
178
195
|
ComposedComponent: React.ComponentType<{
|
179
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
196
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
180
197
|
evalMode: boolean;
|
198
|
+
onlyVariable: boolean;
|
181
199
|
}, never>> & {
|
182
200
|
locale?: string | undefined;
|
183
201
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -187,15 +205,17 @@ declare const _default: {
|
|
187
205
|
getWrappedInstance(): any;
|
188
206
|
render(): JSX.Element;
|
189
207
|
context: any;
|
190
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
208
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
191
209
|
evalMode: boolean;
|
210
|
+
onlyVariable: boolean;
|
192
211
|
}, never>> & {
|
193
212
|
locale?: string | undefined;
|
194
213
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
195
214
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
196
215
|
forceUpdate(callback?: (() => void) | undefined): void;
|
197
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
216
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
198
217
|
evalMode: boolean;
|
218
|
+
onlyVariable: boolean;
|
199
219
|
}, never>> & {
|
200
220
|
locale?: string | undefined;
|
201
221
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -207,48 +227,55 @@ declare const _default: {
|
|
207
227
|
[key: string]: React.ReactInstance;
|
208
228
|
};
|
209
229
|
componentDidMount?(): void;
|
210
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
230
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
211
231
|
evalMode: boolean;
|
232
|
+
onlyVariable: boolean;
|
212
233
|
}, never>> & {
|
213
234
|
locale?: string | undefined;
|
214
235
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
215
236
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
216
237
|
componentWillUnmount?(): void;
|
217
238
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
218
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
239
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
219
240
|
evalMode: boolean;
|
241
|
+
onlyVariable: boolean;
|
220
242
|
}, never>> & {
|
221
243
|
locale?: string | undefined;
|
222
244
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
223
245
|
}>, prevState: Readonly<{}>): any;
|
224
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
246
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
225
247
|
evalMode: boolean;
|
248
|
+
onlyVariable: boolean;
|
226
249
|
}, never>> & {
|
227
250
|
locale?: string | undefined;
|
228
251
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
229
252
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
230
253
|
componentWillMount?(): void;
|
231
254
|
UNSAFE_componentWillMount?(): void;
|
232
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
255
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
233
256
|
evalMode: boolean;
|
257
|
+
onlyVariable: boolean;
|
234
258
|
}, never>> & {
|
235
259
|
locale?: string | undefined;
|
236
260
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
237
261
|
}>, nextContext: any): void;
|
238
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
262
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
239
263
|
evalMode: boolean;
|
264
|
+
onlyVariable: boolean;
|
240
265
|
}, never>> & {
|
241
266
|
locale?: string | undefined;
|
242
267
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
243
268
|
}>, nextContext: any): void;
|
244
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
269
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
245
270
|
evalMode: boolean;
|
271
|
+
onlyVariable: boolean;
|
246
272
|
}, never>> & {
|
247
273
|
locale?: string | undefined;
|
248
274
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
249
275
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
250
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
276
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
251
277
|
evalMode: boolean;
|
278
|
+
onlyVariable: boolean;
|
252
279
|
}, never>> & {
|
253
280
|
locale?: string | undefined;
|
254
281
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -261,8 +288,9 @@ declare const _default: {
|
|
261
288
|
ComposedComponent: typeof FormulaPicker;
|
262
289
|
}>;
|
263
290
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
264
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
291
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
265
292
|
evalMode: boolean;
|
293
|
+
onlyVariable: boolean;
|
266
294
|
}, never>> & {
|
267
295
|
locale?: string | undefined;
|
268
296
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -272,15 +300,17 @@ declare const _default: {
|
|
272
300
|
getWrappedInstance(): any;
|
273
301
|
render(): JSX.Element;
|
274
302
|
context: any;
|
275
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
303
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
276
304
|
evalMode: boolean;
|
305
|
+
onlyVariable: boolean;
|
277
306
|
}, never>> & {
|
278
307
|
locale?: string | undefined;
|
279
308
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
280
309
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
281
310
|
forceUpdate(callback?: (() => void) | undefined): void;
|
282
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
311
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
283
312
|
evalMode: boolean;
|
313
|
+
onlyVariable: boolean;
|
284
314
|
}, never>> & {
|
285
315
|
locale?: string | undefined;
|
286
316
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -292,48 +322,55 @@ declare const _default: {
|
|
292
322
|
[key: string]: React.ReactInstance;
|
293
323
|
};
|
294
324
|
componentDidMount?(): void;
|
295
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
325
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
296
326
|
evalMode: boolean;
|
327
|
+
onlyVariable: boolean;
|
297
328
|
}, never>> & {
|
298
329
|
locale?: string | undefined;
|
299
330
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
300
331
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
301
332
|
componentWillUnmount?(): void;
|
302
333
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
303
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
334
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
304
335
|
evalMode: boolean;
|
336
|
+
onlyVariable: boolean;
|
305
337
|
}, never>> & {
|
306
338
|
locale?: string | undefined;
|
307
339
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
308
340
|
}>, prevState: Readonly<{}>): any;
|
309
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
341
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
310
342
|
evalMode: boolean;
|
343
|
+
onlyVariable: boolean;
|
311
344
|
}, never>> & {
|
312
345
|
locale?: string | undefined;
|
313
346
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
314
347
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
315
348
|
componentWillMount?(): void;
|
316
349
|
UNSAFE_componentWillMount?(): void;
|
317
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
350
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
318
351
|
evalMode: boolean;
|
352
|
+
onlyVariable: boolean;
|
319
353
|
}, never>> & {
|
320
354
|
locale?: string | undefined;
|
321
355
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
322
356
|
}>, nextContext: any): void;
|
323
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
357
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
324
358
|
evalMode: boolean;
|
359
|
+
onlyVariable: boolean;
|
325
360
|
}, never>> & {
|
326
361
|
locale?: string | undefined;
|
327
362
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
328
363
|
}>, nextContext: any): void;
|
329
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
364
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
330
365
|
evalMode: boolean;
|
366
|
+
onlyVariable: boolean;
|
331
367
|
}, never>> & {
|
332
368
|
locale?: string | undefined;
|
333
369
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
334
370
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
335
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
371
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
336
372
|
evalMode: boolean;
|
373
|
+
onlyVariable: boolean;
|
337
374
|
}, never>> & {
|
338
375
|
locale?: string | undefined;
|
339
376
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -346,8 +383,9 @@ declare const _default: {
|
|
346
383
|
ComposedComponent: typeof FormulaPicker;
|
347
384
|
}, {}> & {
|
348
385
|
ComposedComponent: {
|
349
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
386
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
350
387
|
evalMode: boolean;
|
388
|
+
onlyVariable: boolean;
|
351
389
|
}, never>> & {
|
352
390
|
locale?: string | undefined;
|
353
391
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -357,15 +395,17 @@ declare const _default: {
|
|
357
395
|
getWrappedInstance(): any;
|
358
396
|
render(): JSX.Element;
|
359
397
|
context: any;
|
360
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
398
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
361
399
|
evalMode: boolean;
|
400
|
+
onlyVariable: boolean;
|
362
401
|
}, never>> & {
|
363
402
|
locale?: string | undefined;
|
364
403
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
365
404
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
366
405
|
forceUpdate(callback?: (() => void) | undefined): void;
|
367
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
406
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
368
407
|
evalMode: boolean;
|
408
|
+
onlyVariable: boolean;
|
369
409
|
}, never>> & {
|
370
410
|
locale?: string | undefined;
|
371
411
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -377,48 +417,55 @@ declare const _default: {
|
|
377
417
|
[key: string]: React.ReactInstance;
|
378
418
|
};
|
379
419
|
componentDidMount?(): void;
|
380
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
420
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
381
421
|
evalMode: boolean;
|
422
|
+
onlyVariable: boolean;
|
382
423
|
}, never>> & {
|
383
424
|
locale?: string | undefined;
|
384
425
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
385
426
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
386
427
|
componentWillUnmount?(): void;
|
387
428
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
388
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
429
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
389
430
|
evalMode: boolean;
|
431
|
+
onlyVariable: boolean;
|
390
432
|
}, never>> & {
|
391
433
|
locale?: string | undefined;
|
392
434
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
393
435
|
}>, prevState: Readonly<{}>): any;
|
394
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
436
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
395
437
|
evalMode: boolean;
|
438
|
+
onlyVariable: boolean;
|
396
439
|
}, never>> & {
|
397
440
|
locale?: string | undefined;
|
398
441
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
399
442
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
400
443
|
componentWillMount?(): void;
|
401
444
|
UNSAFE_componentWillMount?(): void;
|
402
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
445
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
403
446
|
evalMode: boolean;
|
447
|
+
onlyVariable: boolean;
|
404
448
|
}, never>> & {
|
405
449
|
locale?: string | undefined;
|
406
450
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
407
451
|
}>, nextContext: any): void;
|
408
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
452
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
409
453
|
evalMode: boolean;
|
454
|
+
onlyVariable: boolean;
|
410
455
|
}, never>> & {
|
411
456
|
locale?: string | undefined;
|
412
457
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
413
458
|
}>, nextContext: any): void;
|
414
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
459
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
415
460
|
evalMode: boolean;
|
461
|
+
onlyVariable: boolean;
|
416
462
|
}, never>> & {
|
417
463
|
locale?: string | undefined;
|
418
464
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
419
465
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
420
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode">> & Partial<Pick<{
|
466
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "data" | "header" | "source" | "title" | "children" | "className" | "theme" | "value" | "icon" | "disabled" | "level" | "variables" | "size" | "placeholder" | "onChange" | "mode" | "clearable" | "borderMode" | "onConfirm" | "onRef" | "btnLabel" | "allowInput" | "functions" | "variableMode" | "variableClassName" | "functionClassName" | "btnSize" | "onPickerOpen"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("../../locale").LocaleProps>, "evalMode" | "onlyVariable">> & Partial<Pick<{
|
421
467
|
evalMode: boolean;
|
468
|
+
onlyVariable: boolean;
|
422
469
|
}, never>> & {
|
423
470
|
locale?: string | undefined;
|
424
471
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|