amis 1.6.0 → 1.6.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Alert.d.ts +588 -588
- package/lib/components/Alert2.d.ts +125 -20
- package/lib/components/AnchorNav.d.ts +104 -20
- package/lib/components/ArrayInput.d.ts +420 -420
- package/lib/components/AsideNav.d.ts +125 -125
- package/lib/components/AssociatedSelection.d.ts +504 -504
- package/lib/components/Avatar.d.ts +461 -20
- package/lib/components/Button.d.ts +167 -20
- package/lib/components/CalendarMobile.d.ts +420 -84
- package/lib/components/Card.d.ts +671 -20
- package/lib/components/ChainedSelection.d.ts +504 -504
- package/lib/components/Checkbox.d.ts +104 -20
- package/lib/components/Collapse.d.ts +587 -20
- package/lib/components/CollapseGroup.d.ts +230 -20
- package/lib/components/ColorPicker.d.ts +504 -504
- package/lib/components/DatePicker.d.ts +588 -588
- package/lib/components/DateRangePicker.d.ts +1008 -1008
- package/lib/components/Drawer.d.ts +125 -20
- package/lib/components/Editor.d.ts +840 -672
- package/lib/components/GroupedSelection.d.ts +504 -504
- package/lib/components/Html.d.ts +62 -62
- package/lib/components/InputBox.d.ts +83 -83
- package/lib/components/Layout.d.ts +146 -146
- package/lib/components/ListGroup.d.ts +62 -62
- package/lib/components/ListMenu.d.ts +504 -504
- package/lib/components/LocationPicker.d.ts +336 -336
- package/lib/components/Modal.d.ts +420 -420
- package/lib/components/MonthRangePicker.d.ts +924 -924
- package/lib/components/NumberInput.d.ts +104 -20
- package/lib/components/PopUp.d.ts +672 -672
- package/lib/components/Progress.d.ts +440 -20
- package/lib/components/Radios.d.ts +167 -167
- package/lib/components/Rating.d.ts +272 -314
- package/lib/components/ResultBox.d.ts +504 -84
- package/lib/components/ResultList.d.ts +336 -84
- package/lib/components/SearchBox.d.ts +336 -336
- package/lib/components/Select.d.ts +4977 -4977
- package/lib/components/Selection.d.ts +504 -504
- package/lib/components/SparkLine.d.ts +336 -336
- package/lib/components/Spinner.d.ts +146 -146
- package/lib/components/Switch.d.ts +83 -83
- package/lib/components/TableSelection.d.ts +672 -672
- package/lib/components/Tabs.d.ts +83 -20
- package/lib/components/TitleBar.d.ts +146 -125
- package/lib/components/Toast.d.ts +504 -84
- package/lib/components/TooltipWrapper.d.ts +125 -20
- package/lib/components/Transfer.d.ts +252 -84
- package/lib/components/TransferDropDown.d.ts +252 -84
- package/lib/components/Tree.d.ts +2688 -2688
- package/lib/components/TreeSelection.d.ts +588 -588
- package/lib/components/formula/Editor.d.ts +420 -84
- package/lib/index.js +1 -1
- package/lib/renderers/Dialog.d.ts +420 -420
- package/lib/renderers/Form/InputCity.d.ts +672 -672
- package/lib/renderers/Form/InputColor.d.ts +504 -504
- package/lib/renderers/Nav.d.ts +62 -62
- package/package.json +1 -1
- package/sdk/ang-ie11.css +1 -0
- package/sdk/ang.css +1 -0
- package/sdk/antd-ie11.css +1 -0
- package/sdk/antd.css +1 -0
- 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 +1 -0
- package/sdk/cxd.css +1 -0
- package/sdk/dark-ie11.css +1 -0
- package/sdk/dark.css +1 -0
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +3 -3
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -0
- package/sdk/sdk.css +1 -0
- package/sdk/sdk.js +1318 -1253
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
@@ -84,21 +84,37 @@ export declare class FormulaEditor extends React.Component<FormulaEditorProps, F
|
|
84
84
|
render(): JSX.Element;
|
85
85
|
}
|
86
86
|
declare const _default: {
|
87
|
-
new (props: (Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
87
|
+
new (props: (Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
88
|
+
evalMode?: boolean | undefined;
|
89
|
+
functions?: FuncGroup[] | undefined;
|
90
|
+
variables?: VariableItem[] | undefined;
|
91
|
+
} & {} & {
|
88
92
|
locale?: string | undefined;
|
89
93
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
90
|
-
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
94
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
95
|
+
evalMode?: boolean | undefined;
|
96
|
+
functions?: FuncGroup[] | undefined;
|
97
|
+
variables?: VariableItem[] | undefined;
|
98
|
+
} & {} & {
|
91
99
|
locale?: string | undefined;
|
92
100
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
93
101
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>): {
|
94
102
|
render(): JSX.Element;
|
95
103
|
context: any;
|
96
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
104
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
105
|
+
evalMode?: boolean | undefined;
|
106
|
+
functions?: FuncGroup[] | undefined;
|
107
|
+
variables?: VariableItem[] | undefined;
|
108
|
+
} & {} & {
|
97
109
|
locale?: string | undefined;
|
98
110
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
99
111
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
100
112
|
forceUpdate(callback?: (() => void) | undefined): void;
|
101
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
113
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
114
|
+
evalMode?: boolean | undefined;
|
115
|
+
functions?: FuncGroup[] | undefined;
|
116
|
+
variables?: VariableItem[] | undefined;
|
117
|
+
} & {} & {
|
102
118
|
locale?: string | undefined;
|
103
119
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
104
120
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
|
@@ -109,51 +125,91 @@ declare const _default: {
|
|
109
125
|
[key: string]: React.ReactInstance;
|
110
126
|
};
|
111
127
|
componentDidMount?(): void;
|
112
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
128
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
129
|
+
evalMode?: boolean | undefined;
|
130
|
+
functions?: FuncGroup[] | undefined;
|
131
|
+
variables?: VariableItem[] | undefined;
|
132
|
+
} & {} & {
|
113
133
|
locale?: string | undefined;
|
114
134
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
115
135
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
116
136
|
componentWillUnmount?(): void;
|
117
137
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
118
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
138
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
139
|
+
evalMode?: boolean | undefined;
|
140
|
+
functions?: FuncGroup[] | undefined;
|
141
|
+
variables?: VariableItem[] | undefined;
|
142
|
+
} & {} & {
|
119
143
|
locale?: string | undefined;
|
120
144
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
121
145
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
122
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
146
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
147
|
+
evalMode?: boolean | undefined;
|
148
|
+
functions?: FuncGroup[] | undefined;
|
149
|
+
variables?: VariableItem[] | undefined;
|
150
|
+
} & {} & {
|
123
151
|
locale?: string | undefined;
|
124
152
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
125
153
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
126
154
|
componentWillMount?(): void;
|
127
155
|
UNSAFE_componentWillMount?(): void;
|
128
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
156
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
157
|
+
evalMode?: boolean | undefined;
|
158
|
+
functions?: FuncGroup[] | undefined;
|
159
|
+
variables?: VariableItem[] | undefined;
|
160
|
+
} & {} & {
|
129
161
|
locale?: string | undefined;
|
130
162
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
131
163
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
132
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
164
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
165
|
+
evalMode?: boolean | undefined;
|
166
|
+
functions?: FuncGroup[] | undefined;
|
167
|
+
variables?: VariableItem[] | undefined;
|
168
|
+
} & {} & {
|
133
169
|
locale?: string | undefined;
|
134
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
135
171
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
136
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
172
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
173
|
+
evalMode?: boolean | undefined;
|
174
|
+
functions?: FuncGroup[] | undefined;
|
175
|
+
variables?: VariableItem[] | undefined;
|
176
|
+
} & {} & {
|
137
177
|
locale?: string | undefined;
|
138
178
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
139
179
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
140
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
180
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
181
|
+
evalMode?: boolean | undefined;
|
182
|
+
functions?: FuncGroup[] | undefined;
|
183
|
+
variables?: VariableItem[] | undefined;
|
184
|
+
} & {} & {
|
141
185
|
locale?: string | undefined;
|
142
186
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
143
187
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
144
188
|
};
|
145
|
-
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
189
|
+
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
190
|
+
evalMode?: boolean | undefined;
|
191
|
+
functions?: FuncGroup[] | undefined;
|
192
|
+
variables?: VariableItem[] | undefined;
|
193
|
+
} & {} & {
|
146
194
|
locale?: string | undefined;
|
147
195
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
148
196
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps, context: any): {
|
149
197
|
render(): JSX.Element;
|
150
198
|
context: any;
|
151
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
199
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
200
|
+
evalMode?: boolean | undefined;
|
201
|
+
functions?: FuncGroup[] | undefined;
|
202
|
+
variables?: VariableItem[] | undefined;
|
203
|
+
} & {} & {
|
152
204
|
locale?: string | undefined;
|
153
205
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
154
206
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
155
207
|
forceUpdate(callback?: (() => void) | undefined): void;
|
156
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
208
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
209
|
+
evalMode?: boolean | undefined;
|
210
|
+
functions?: FuncGroup[] | undefined;
|
211
|
+
variables?: VariableItem[] | undefined;
|
212
|
+
} & {} & {
|
157
213
|
locale?: string | undefined;
|
158
214
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
159
215
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
|
@@ -164,35 +220,63 @@ declare const _default: {
|
|
164
220
|
[key: string]: React.ReactInstance;
|
165
221
|
};
|
166
222
|
componentDidMount?(): void;
|
167
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
223
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
224
|
+
evalMode?: boolean | undefined;
|
225
|
+
functions?: FuncGroup[] | undefined;
|
226
|
+
variables?: VariableItem[] | undefined;
|
227
|
+
} & {} & {
|
168
228
|
locale?: string | undefined;
|
169
229
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
170
230
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
171
231
|
componentWillUnmount?(): void;
|
172
232
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
173
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
233
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
234
|
+
evalMode?: boolean | undefined;
|
235
|
+
functions?: FuncGroup[] | undefined;
|
236
|
+
variables?: VariableItem[] | undefined;
|
237
|
+
} & {} & {
|
174
238
|
locale?: string | undefined;
|
175
239
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
176
240
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
177
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
241
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
242
|
+
evalMode?: boolean | undefined;
|
243
|
+
functions?: FuncGroup[] | undefined;
|
244
|
+
variables?: VariableItem[] | undefined;
|
245
|
+
} & {} & {
|
178
246
|
locale?: string | undefined;
|
179
247
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
180
248
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
181
249
|
componentWillMount?(): void;
|
182
250
|
UNSAFE_componentWillMount?(): void;
|
183
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
251
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
252
|
+
evalMode?: boolean | undefined;
|
253
|
+
functions?: FuncGroup[] | undefined;
|
254
|
+
variables?: VariableItem[] | undefined;
|
255
|
+
} & {} & {
|
184
256
|
locale?: string | undefined;
|
185
257
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
186
258
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
187
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
259
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
260
|
+
evalMode?: boolean | undefined;
|
261
|
+
functions?: FuncGroup[] | undefined;
|
262
|
+
variables?: VariableItem[] | undefined;
|
263
|
+
} & {} & {
|
188
264
|
locale?: string | undefined;
|
189
265
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
190
266
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
191
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
267
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
268
|
+
evalMode?: boolean | undefined;
|
269
|
+
functions?: FuncGroup[] | undefined;
|
270
|
+
variables?: VariableItem[] | undefined;
|
271
|
+
} & {} & {
|
192
272
|
locale?: string | undefined;
|
193
273
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
194
274
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
195
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
275
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
276
|
+
evalMode?: boolean | undefined;
|
277
|
+
functions?: FuncGroup[] | undefined;
|
278
|
+
variables?: VariableItem[] | undefined;
|
279
|
+
} & {} & {
|
196
280
|
locale?: string | undefined;
|
197
281
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
198
282
|
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -200,21 +284,37 @@ declare const _default: {
|
|
200
284
|
displayName: string;
|
201
285
|
contextType: React.Context<string>;
|
202
286
|
ComposedComponent: React.ComponentType<{
|
203
|
-
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
287
|
+
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
288
|
+
evalMode?: boolean | undefined;
|
289
|
+
functions?: FuncGroup[] | undefined;
|
290
|
+
variables?: VariableItem[] | undefined;
|
291
|
+
} & {} & {
|
204
292
|
locale?: string | undefined;
|
205
293
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
206
|
-
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
294
|
+
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
295
|
+
evalMode?: boolean | undefined;
|
296
|
+
functions?: FuncGroup[] | undefined;
|
297
|
+
variables?: VariableItem[] | undefined;
|
298
|
+
} & {} & {
|
207
299
|
locale?: string | undefined;
|
208
300
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
209
301
|
}>): {
|
210
302
|
render(): JSX.Element;
|
211
303
|
context: any;
|
212
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
304
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
305
|
+
evalMode?: boolean | undefined;
|
306
|
+
functions?: FuncGroup[] | undefined;
|
307
|
+
variables?: VariableItem[] | undefined;
|
308
|
+
} & {} & {
|
213
309
|
locale?: string | undefined;
|
214
310
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
215
311
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
216
312
|
forceUpdate(callback?: (() => void) | undefined): void;
|
217
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
313
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
314
|
+
evalMode?: boolean | undefined;
|
315
|
+
functions?: FuncGroup[] | undefined;
|
316
|
+
variables?: VariableItem[] | undefined;
|
317
|
+
} & {} & {
|
218
318
|
locale?: string | undefined;
|
219
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
220
320
|
}> & Readonly<{
|
@@ -225,51 +325,91 @@ declare const _default: {
|
|
225
325
|
[key: string]: React.ReactInstance;
|
226
326
|
};
|
227
327
|
componentDidMount?(): void;
|
228
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
328
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
329
|
+
evalMode?: boolean | undefined;
|
330
|
+
functions?: FuncGroup[] | undefined;
|
331
|
+
variables?: VariableItem[] | undefined;
|
332
|
+
} & {} & {
|
229
333
|
locale?: string | undefined;
|
230
334
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
231
335
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
232
336
|
componentWillUnmount?(): void;
|
233
337
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
234
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
338
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
339
|
+
evalMode?: boolean | undefined;
|
340
|
+
functions?: FuncGroup[] | undefined;
|
341
|
+
variables?: VariableItem[] | undefined;
|
342
|
+
} & {} & {
|
235
343
|
locale?: string | undefined;
|
236
344
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
237
345
|
}>, prevState: Readonly<{}>): any;
|
238
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
346
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
347
|
+
evalMode?: boolean | undefined;
|
348
|
+
functions?: FuncGroup[] | undefined;
|
349
|
+
variables?: VariableItem[] | undefined;
|
350
|
+
} & {} & {
|
239
351
|
locale?: string | undefined;
|
240
352
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
241
353
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
242
354
|
componentWillMount?(): void;
|
243
355
|
UNSAFE_componentWillMount?(): void;
|
244
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
356
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
357
|
+
evalMode?: boolean | undefined;
|
358
|
+
functions?: FuncGroup[] | undefined;
|
359
|
+
variables?: VariableItem[] | undefined;
|
360
|
+
} & {} & {
|
245
361
|
locale?: string | undefined;
|
246
362
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
247
363
|
}>, nextContext: any): void;
|
248
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
364
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
365
|
+
evalMode?: boolean | undefined;
|
366
|
+
functions?: FuncGroup[] | undefined;
|
367
|
+
variables?: VariableItem[] | undefined;
|
368
|
+
} & {} & {
|
249
369
|
locale?: string | undefined;
|
250
370
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
251
371
|
}>, nextContext: any): void;
|
252
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
372
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
373
|
+
evalMode?: boolean | undefined;
|
374
|
+
functions?: FuncGroup[] | undefined;
|
375
|
+
variables?: VariableItem[] | undefined;
|
376
|
+
} & {} & {
|
253
377
|
locale?: string | undefined;
|
254
378
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
255
379
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
256
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
380
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
381
|
+
evalMode?: boolean | undefined;
|
382
|
+
functions?: FuncGroup[] | undefined;
|
383
|
+
variables?: VariableItem[] | undefined;
|
384
|
+
} & {} & {
|
257
385
|
locale?: string | undefined;
|
258
386
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
259
387
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
260
388
|
};
|
261
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
389
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
390
|
+
evalMode?: boolean | undefined;
|
391
|
+
functions?: FuncGroup[] | undefined;
|
392
|
+
variables?: VariableItem[] | undefined;
|
393
|
+
} & {} & {
|
262
394
|
locale?: string | undefined;
|
263
395
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
264
396
|
}, context: any): {
|
265
397
|
render(): JSX.Element;
|
266
398
|
context: any;
|
267
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
399
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
400
|
+
evalMode?: boolean | undefined;
|
401
|
+
functions?: FuncGroup[] | undefined;
|
402
|
+
variables?: VariableItem[] | undefined;
|
403
|
+
} & {} & {
|
268
404
|
locale?: string | undefined;
|
269
405
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
270
406
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
271
407
|
forceUpdate(callback?: (() => void) | undefined): void;
|
272
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
408
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
409
|
+
evalMode?: boolean | undefined;
|
410
|
+
functions?: FuncGroup[] | undefined;
|
411
|
+
variables?: VariableItem[] | undefined;
|
412
|
+
} & {} & {
|
273
413
|
locale?: string | undefined;
|
274
414
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
275
415
|
}> & Readonly<{
|
@@ -280,35 +420,63 @@ declare const _default: {
|
|
280
420
|
[key: string]: React.ReactInstance;
|
281
421
|
};
|
282
422
|
componentDidMount?(): void;
|
283
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
423
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
424
|
+
evalMode?: boolean | undefined;
|
425
|
+
functions?: FuncGroup[] | undefined;
|
426
|
+
variables?: VariableItem[] | undefined;
|
427
|
+
} & {} & {
|
284
428
|
locale?: string | undefined;
|
285
429
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
286
430
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
287
431
|
componentWillUnmount?(): void;
|
288
432
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
289
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
433
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
434
|
+
evalMode?: boolean | undefined;
|
435
|
+
functions?: FuncGroup[] | undefined;
|
436
|
+
variables?: VariableItem[] | undefined;
|
437
|
+
} & {} & {
|
290
438
|
locale?: string | undefined;
|
291
439
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
292
440
|
}>, prevState: Readonly<{}>): any;
|
293
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
441
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
442
|
+
evalMode?: boolean | undefined;
|
443
|
+
functions?: FuncGroup[] | undefined;
|
444
|
+
variables?: VariableItem[] | undefined;
|
445
|
+
} & {} & {
|
294
446
|
locale?: string | undefined;
|
295
447
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
296
448
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
297
449
|
componentWillMount?(): void;
|
298
450
|
UNSAFE_componentWillMount?(): void;
|
299
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
451
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
452
|
+
evalMode?: boolean | undefined;
|
453
|
+
functions?: FuncGroup[] | undefined;
|
454
|
+
variables?: VariableItem[] | undefined;
|
455
|
+
} & {} & {
|
300
456
|
locale?: string | undefined;
|
301
457
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
302
458
|
}>, nextContext: any): void;
|
303
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
459
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
460
|
+
evalMode?: boolean | undefined;
|
461
|
+
functions?: FuncGroup[] | undefined;
|
462
|
+
variables?: VariableItem[] | undefined;
|
463
|
+
} & {} & {
|
304
464
|
locale?: string | undefined;
|
305
465
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
306
466
|
}>, nextContext: any): void;
|
307
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
467
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
468
|
+
evalMode?: boolean | undefined;
|
469
|
+
functions?: FuncGroup[] | undefined;
|
470
|
+
variables?: VariableItem[] | undefined;
|
471
|
+
} & {} & {
|
308
472
|
locale?: string | undefined;
|
309
473
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
310
474
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
311
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
475
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
476
|
+
evalMode?: boolean | undefined;
|
477
|
+
functions?: FuncGroup[] | undefined;
|
478
|
+
variables?: VariableItem[] | undefined;
|
479
|
+
} & {} & {
|
312
480
|
locale?: string | undefined;
|
313
481
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
314
482
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -320,21 +488,37 @@ declare const _default: {
|
|
320
488
|
ComposedComponent: typeof FormulaEditor;
|
321
489
|
}>;
|
322
490
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
323
|
-
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
491
|
+
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
492
|
+
evalMode?: boolean | undefined;
|
493
|
+
functions?: FuncGroup[] | undefined;
|
494
|
+
variables?: VariableItem[] | undefined;
|
495
|
+
} & {} & {
|
324
496
|
locale?: string | undefined;
|
325
497
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
326
|
-
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
498
|
+
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
499
|
+
evalMode?: boolean | undefined;
|
500
|
+
functions?: FuncGroup[] | undefined;
|
501
|
+
variables?: VariableItem[] | undefined;
|
502
|
+
} & {} & {
|
327
503
|
locale?: string | undefined;
|
328
504
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
329
505
|
}>): {
|
330
506
|
render(): JSX.Element;
|
331
507
|
context: any;
|
332
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
508
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
509
|
+
evalMode?: boolean | undefined;
|
510
|
+
functions?: FuncGroup[] | undefined;
|
511
|
+
variables?: VariableItem[] | undefined;
|
512
|
+
} & {} & {
|
333
513
|
locale?: string | undefined;
|
334
514
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
335
515
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
336
516
|
forceUpdate(callback?: (() => void) | undefined): void;
|
337
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
517
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
518
|
+
evalMode?: boolean | undefined;
|
519
|
+
functions?: FuncGroup[] | undefined;
|
520
|
+
variables?: VariableItem[] | undefined;
|
521
|
+
} & {} & {
|
338
522
|
locale?: string | undefined;
|
339
523
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
340
524
|
}> & Readonly<{
|
@@ -345,51 +529,91 @@ declare const _default: {
|
|
345
529
|
[key: string]: React.ReactInstance;
|
346
530
|
};
|
347
531
|
componentDidMount?(): void;
|
348
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
532
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
533
|
+
evalMode?: boolean | undefined;
|
534
|
+
functions?: FuncGroup[] | undefined;
|
535
|
+
variables?: VariableItem[] | undefined;
|
536
|
+
} & {} & {
|
349
537
|
locale?: string | undefined;
|
350
538
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
351
539
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
352
540
|
componentWillUnmount?(): void;
|
353
541
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
354
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
542
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
543
|
+
evalMode?: boolean | undefined;
|
544
|
+
functions?: FuncGroup[] | undefined;
|
545
|
+
variables?: VariableItem[] | undefined;
|
546
|
+
} & {} & {
|
355
547
|
locale?: string | undefined;
|
356
548
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
357
549
|
}>, prevState: Readonly<{}>): any;
|
358
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
550
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
551
|
+
evalMode?: boolean | undefined;
|
552
|
+
functions?: FuncGroup[] | undefined;
|
553
|
+
variables?: VariableItem[] | undefined;
|
554
|
+
} & {} & {
|
359
555
|
locale?: string | undefined;
|
360
556
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
361
557
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
362
558
|
componentWillMount?(): void;
|
363
559
|
UNSAFE_componentWillMount?(): void;
|
364
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
560
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
561
|
+
evalMode?: boolean | undefined;
|
562
|
+
functions?: FuncGroup[] | undefined;
|
563
|
+
variables?: VariableItem[] | undefined;
|
564
|
+
} & {} & {
|
365
565
|
locale?: string | undefined;
|
366
566
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
367
567
|
}>, nextContext: any): void;
|
368
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
568
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
569
|
+
evalMode?: boolean | undefined;
|
570
|
+
functions?: FuncGroup[] | undefined;
|
571
|
+
variables?: VariableItem[] | undefined;
|
572
|
+
} & {} & {
|
369
573
|
locale?: string | undefined;
|
370
574
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
371
575
|
}>, nextContext: any): void;
|
372
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
576
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
577
|
+
evalMode?: boolean | undefined;
|
578
|
+
functions?: FuncGroup[] | undefined;
|
579
|
+
variables?: VariableItem[] | undefined;
|
580
|
+
} & {} & {
|
373
581
|
locale?: string | undefined;
|
374
582
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
375
583
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
376
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
584
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
585
|
+
evalMode?: boolean | undefined;
|
586
|
+
functions?: FuncGroup[] | undefined;
|
587
|
+
variables?: VariableItem[] | undefined;
|
588
|
+
} & {} & {
|
377
589
|
locale?: string | undefined;
|
378
590
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
379
591
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
380
592
|
};
|
381
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
593
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
594
|
+
evalMode?: boolean | undefined;
|
595
|
+
functions?: FuncGroup[] | undefined;
|
596
|
+
variables?: VariableItem[] | undefined;
|
597
|
+
} & {} & {
|
382
598
|
locale?: string | undefined;
|
383
599
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
384
600
|
}, context: any): {
|
385
601
|
render(): JSX.Element;
|
386
602
|
context: any;
|
387
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
603
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
604
|
+
evalMode?: boolean | undefined;
|
605
|
+
functions?: FuncGroup[] | undefined;
|
606
|
+
variables?: VariableItem[] | undefined;
|
607
|
+
} & {} & {
|
388
608
|
locale?: string | undefined;
|
389
609
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
390
610
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
391
611
|
forceUpdate(callback?: (() => void) | undefined): void;
|
392
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
612
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
613
|
+
evalMode?: boolean | undefined;
|
614
|
+
functions?: FuncGroup[] | undefined;
|
615
|
+
variables?: VariableItem[] | undefined;
|
616
|
+
} & {} & {
|
393
617
|
locale?: string | undefined;
|
394
618
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
395
619
|
}> & Readonly<{
|
@@ -400,35 +624,63 @@ declare const _default: {
|
|
400
624
|
[key: string]: React.ReactInstance;
|
401
625
|
};
|
402
626
|
componentDidMount?(): void;
|
403
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
627
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
628
|
+
evalMode?: boolean | undefined;
|
629
|
+
functions?: FuncGroup[] | undefined;
|
630
|
+
variables?: VariableItem[] | undefined;
|
631
|
+
} & {} & {
|
404
632
|
locale?: string | undefined;
|
405
633
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
406
634
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
407
635
|
componentWillUnmount?(): void;
|
408
636
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
409
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
637
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
638
|
+
evalMode?: boolean | undefined;
|
639
|
+
functions?: FuncGroup[] | undefined;
|
640
|
+
variables?: VariableItem[] | undefined;
|
641
|
+
} & {} & {
|
410
642
|
locale?: string | undefined;
|
411
643
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
412
644
|
}>, prevState: Readonly<{}>): any;
|
413
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
645
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
646
|
+
evalMode?: boolean | undefined;
|
647
|
+
functions?: FuncGroup[] | undefined;
|
648
|
+
variables?: VariableItem[] | undefined;
|
649
|
+
} & {} & {
|
414
650
|
locale?: string | undefined;
|
415
651
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
416
652
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
417
653
|
componentWillMount?(): void;
|
418
654
|
UNSAFE_componentWillMount?(): void;
|
419
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
655
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
656
|
+
evalMode?: boolean | undefined;
|
657
|
+
functions?: FuncGroup[] | undefined;
|
658
|
+
variables?: VariableItem[] | undefined;
|
659
|
+
} & {} & {
|
420
660
|
locale?: string | undefined;
|
421
661
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
422
662
|
}>, nextContext: any): void;
|
423
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
663
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
664
|
+
evalMode?: boolean | undefined;
|
665
|
+
functions?: FuncGroup[] | undefined;
|
666
|
+
variables?: VariableItem[] | undefined;
|
667
|
+
} & {} & {
|
424
668
|
locale?: string | undefined;
|
425
669
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
426
670
|
}>, nextContext: any): void;
|
427
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
671
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
672
|
+
evalMode?: boolean | undefined;
|
673
|
+
functions?: FuncGroup[] | undefined;
|
674
|
+
variables?: VariableItem[] | undefined;
|
675
|
+
} & {} & {
|
428
676
|
locale?: string | undefined;
|
429
677
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
430
678
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
431
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
679
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
680
|
+
evalMode?: boolean | undefined;
|
681
|
+
functions?: FuncGroup[] | undefined;
|
682
|
+
variables?: VariableItem[] | undefined;
|
683
|
+
} & {} & {
|
432
684
|
locale?: string | undefined;
|
433
685
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
434
686
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -440,21 +692,37 @@ declare const _default: {
|
|
440
692
|
ComposedComponent: typeof FormulaEditor;
|
441
693
|
}, {}> & {
|
442
694
|
ComposedComponent: {
|
443
|
-
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
695
|
+
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
696
|
+
evalMode?: boolean | undefined;
|
697
|
+
functions?: FuncGroup[] | undefined;
|
698
|
+
variables?: VariableItem[] | undefined;
|
699
|
+
} & {} & {
|
444
700
|
locale?: string | undefined;
|
445
701
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
446
|
-
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
702
|
+
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
703
|
+
evalMode?: boolean | undefined;
|
704
|
+
functions?: FuncGroup[] | undefined;
|
705
|
+
variables?: VariableItem[] | undefined;
|
706
|
+
} & {} & {
|
447
707
|
locale?: string | undefined;
|
448
708
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
449
709
|
}>): {
|
450
710
|
render(): JSX.Element;
|
451
711
|
context: any;
|
452
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
712
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
713
|
+
evalMode?: boolean | undefined;
|
714
|
+
functions?: FuncGroup[] | undefined;
|
715
|
+
variables?: VariableItem[] | undefined;
|
716
|
+
} & {} & {
|
453
717
|
locale?: string | undefined;
|
454
718
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
455
719
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
456
720
|
forceUpdate(callback?: (() => void) | undefined): void;
|
457
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
721
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
722
|
+
evalMode?: boolean | undefined;
|
723
|
+
functions?: FuncGroup[] | undefined;
|
724
|
+
variables?: VariableItem[] | undefined;
|
725
|
+
} & {} & {
|
458
726
|
locale?: string | undefined;
|
459
727
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
460
728
|
}> & Readonly<{
|
@@ -465,51 +733,91 @@ declare const _default: {
|
|
465
733
|
[key: string]: React.ReactInstance;
|
466
734
|
};
|
467
735
|
componentDidMount?(): void;
|
468
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
736
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
737
|
+
evalMode?: boolean | undefined;
|
738
|
+
functions?: FuncGroup[] | undefined;
|
739
|
+
variables?: VariableItem[] | undefined;
|
740
|
+
} & {} & {
|
469
741
|
locale?: string | undefined;
|
470
742
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
471
743
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
472
744
|
componentWillUnmount?(): void;
|
473
745
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
474
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
746
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
747
|
+
evalMode?: boolean | undefined;
|
748
|
+
functions?: FuncGroup[] | undefined;
|
749
|
+
variables?: VariableItem[] | undefined;
|
750
|
+
} & {} & {
|
475
751
|
locale?: string | undefined;
|
476
752
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
477
753
|
}>, prevState: Readonly<{}>): any;
|
478
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
754
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
755
|
+
evalMode?: boolean | undefined;
|
756
|
+
functions?: FuncGroup[] | undefined;
|
757
|
+
variables?: VariableItem[] | undefined;
|
758
|
+
} & {} & {
|
479
759
|
locale?: string | undefined;
|
480
760
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
481
761
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
482
762
|
componentWillMount?(): void;
|
483
763
|
UNSAFE_componentWillMount?(): void;
|
484
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
764
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
765
|
+
evalMode?: boolean | undefined;
|
766
|
+
functions?: FuncGroup[] | undefined;
|
767
|
+
variables?: VariableItem[] | undefined;
|
768
|
+
} & {} & {
|
485
769
|
locale?: string | undefined;
|
486
770
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
487
771
|
}>, nextContext: any): void;
|
488
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
772
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
773
|
+
evalMode?: boolean | undefined;
|
774
|
+
functions?: FuncGroup[] | undefined;
|
775
|
+
variables?: VariableItem[] | undefined;
|
776
|
+
} & {} & {
|
489
777
|
locale?: string | undefined;
|
490
778
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
491
779
|
}>, nextContext: any): void;
|
492
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
780
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
781
|
+
evalMode?: boolean | undefined;
|
782
|
+
functions?: FuncGroup[] | undefined;
|
783
|
+
variables?: VariableItem[] | undefined;
|
784
|
+
} & {} & {
|
493
785
|
locale?: string | undefined;
|
494
786
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
495
787
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
496
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
788
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
789
|
+
evalMode?: boolean | undefined;
|
790
|
+
functions?: FuncGroup[] | undefined;
|
791
|
+
variables?: VariableItem[] | undefined;
|
792
|
+
} & {} & {
|
497
793
|
locale?: string | undefined;
|
498
794
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
499
795
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
500
796
|
};
|
501
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
797
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
798
|
+
evalMode?: boolean | undefined;
|
799
|
+
functions?: FuncGroup[] | undefined;
|
800
|
+
variables?: VariableItem[] | undefined;
|
801
|
+
} & {} & {
|
502
802
|
locale?: string | undefined;
|
503
803
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
504
804
|
}, context: any): {
|
505
805
|
render(): JSX.Element;
|
506
806
|
context: any;
|
507
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
807
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
808
|
+
evalMode?: boolean | undefined;
|
809
|
+
functions?: FuncGroup[] | undefined;
|
810
|
+
variables?: VariableItem[] | undefined;
|
811
|
+
} & {} & {
|
508
812
|
locale?: string | undefined;
|
509
813
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
510
814
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
511
815
|
forceUpdate(callback?: (() => void) | undefined): void;
|
512
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
816
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
817
|
+
evalMode?: boolean | undefined;
|
818
|
+
functions?: FuncGroup[] | undefined;
|
819
|
+
variables?: VariableItem[] | undefined;
|
820
|
+
} & {} & {
|
513
821
|
locale?: string | undefined;
|
514
822
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
515
823
|
}> & Readonly<{
|
@@ -520,35 +828,63 @@ declare const _default: {
|
|
520
828
|
[key: string]: React.ReactInstance;
|
521
829
|
};
|
522
830
|
componentDidMount?(): void;
|
523
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
831
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
832
|
+
evalMode?: boolean | undefined;
|
833
|
+
functions?: FuncGroup[] | undefined;
|
834
|
+
variables?: VariableItem[] | undefined;
|
835
|
+
} & {} & {
|
524
836
|
locale?: string | undefined;
|
525
837
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
526
838
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
527
839
|
componentWillUnmount?(): void;
|
528
840
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
529
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
841
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
842
|
+
evalMode?: boolean | undefined;
|
843
|
+
functions?: FuncGroup[] | undefined;
|
844
|
+
variables?: VariableItem[] | undefined;
|
845
|
+
} & {} & {
|
530
846
|
locale?: string | undefined;
|
531
847
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
532
848
|
}>, prevState: Readonly<{}>): any;
|
533
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
849
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
850
|
+
evalMode?: boolean | undefined;
|
851
|
+
functions?: FuncGroup[] | undefined;
|
852
|
+
variables?: VariableItem[] | undefined;
|
853
|
+
} & {} & {
|
534
854
|
locale?: string | undefined;
|
535
855
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
536
856
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
537
857
|
componentWillMount?(): void;
|
538
858
|
UNSAFE_componentWillMount?(): void;
|
539
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
859
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
860
|
+
evalMode?: boolean | undefined;
|
861
|
+
functions?: FuncGroup[] | undefined;
|
862
|
+
variables?: VariableItem[] | undefined;
|
863
|
+
} & {} & {
|
540
864
|
locale?: string | undefined;
|
541
865
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
542
866
|
}>, nextContext: any): void;
|
543
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
867
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
868
|
+
evalMode?: boolean | undefined;
|
869
|
+
functions?: FuncGroup[] | undefined;
|
870
|
+
variables?: VariableItem[] | undefined;
|
871
|
+
} & {} & {
|
544
872
|
locale?: string | undefined;
|
545
873
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
546
874
|
}>, nextContext: any): void;
|
547
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
875
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
876
|
+
evalMode?: boolean | undefined;
|
877
|
+
functions?: FuncGroup[] | undefined;
|
878
|
+
variables?: VariableItem[] | undefined;
|
879
|
+
} & {} & {
|
548
880
|
locale?: string | undefined;
|
549
881
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
550
882
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
551
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> &
|
883
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & {
|
884
|
+
evalMode?: boolean | undefined;
|
885
|
+
functions?: FuncGroup[] | undefined;
|
886
|
+
variables?: VariableItem[] | undefined;
|
887
|
+
} & {} & {
|
552
888
|
locale?: string | undefined;
|
553
889
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
554
890
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|