amis 1.5.6-beta.0 → 1.5.7
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/Root.js +1 -1
- package/lib/Root.js.map +2 -2
- package/lib/Schema.d.ts +1 -1
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.js +4 -4
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/components/AsideNav.d.ts +1 -1
- package/lib/components/AsideNav.js.map +1 -1
- package/lib/components/Card.d.ts +20 -20
- package/lib/components/Card.js +1 -1
- package/lib/components/Card.js.map +2 -2
- package/lib/components/CodeMirror.d.ts +26 -0
- package/lib/components/CodeMirror.js +104 -0
- package/lib/components/CodeMirror.js.map +13 -0
- package/lib/components/Collapse.d.ts +22 -21
- package/lib/components/Collapse.js +5 -7
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +5 -3
- package/lib/components/CollapseGroup.js.map +2 -2
- package/lib/components/ColorPicker.d.ts +85 -84
- package/lib/components/ColorPicker.js +15 -3
- package/lib/components/ColorPicker.js.map +2 -2
- package/lib/components/DatePicker.d.ts +84 -84
- package/lib/components/DatePicker.js +7 -3
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +85 -84
- package/lib/components/DateRangePicker.js +5 -3
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/LocationPicker.d.ts +84 -84
- package/lib/components/MonthRangePicker.d.ts +85 -84
- package/lib/components/MonthRangePicker.js +5 -3
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/PickerContainer.d.ts +2 -1
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/PopUp.d.ts +93 -0
- package/lib/components/PopUp.js +58 -0
- package/lib/components/PopUp.js.map +13 -0
- package/lib/components/Rating.d.ts +203 -73
- package/lib/components/Rating.js +147 -31
- package/lib/components/Rating.js.map +2 -2
- package/lib/components/Select.d.ts +237 -237
- package/lib/components/Steps.d.ts +1 -0
- package/lib/components/Steps.js +5 -3
- package/lib/components/Steps.js.map +2 -2
- package/lib/components/Tabs.d.ts +20 -20
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/TabsTransferPicker.js.map +2 -2
- package/lib/components/TransferPicker.d.ts +0 -1
- package/lib/components/TransferPicker.js +2 -15
- package/lib/components/TransferPicker.js.map +2 -2
- package/lib/components/formula/Editor.d.ts +560 -0
- package/lib/components/formula/Editor.js +186 -0
- package/lib/components/formula/Editor.js.map +13 -0
- package/lib/components/formula/FuncList.d.ts +67 -0
- package/lib/components/formula/FuncList.js +35 -0
- package/lib/components/formula/FuncList.js.map +13 -0
- package/lib/components/formula/Picker.d.ts +493 -0
- package/lib/components/formula/Picker.js +48 -0
- package/lib/components/formula/Picker.js.map +13 -0
- package/lib/components/formula/VariableList.d.ts +9 -0
- package/lib/components/formula/VariableList.js +15 -0
- package/lib/components/formula/VariableList.js.map +13 -0
- package/lib/components/formula/plugin.d.ts +18 -0
- package/lib/components/formula/plugin.js +136 -0
- package/lib/components/formula/plugin.js.map +13 -0
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +2 -2
- package/lib/helper.css +57 -57
- package/lib/helper.css.map +1 -1
- package/lib/icons/star.js +12 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/index.js.map +2 -2
- package/lib/renderers/CRUD.js +1 -2
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Collapse.js +8 -2
- package/lib/renderers/Collapse.js.map +2 -2
- package/lib/renderers/CollapseGroup.js.map +2 -2
- package/lib/renderers/Form/InputCity.d.ts +84 -84
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputColor.js +2 -2
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputDate.js +2 -2
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/InputDateRange.js +2 -2
- package/lib/renderers/Form/InputDateRange.js.map +2 -2
- package/lib/renderers/Form/InputFormula.d.ts +35 -0
- package/lib/renderers/Form/InputFormula.js +25 -0
- package/lib/renderers/Form/InputFormula.js.map +13 -0
- package/lib/renderers/Form/InputMonthRange.js +2 -2
- package/lib/renderers/Form/InputMonthRange.js.map +2 -2
- package/lib/renderers/Form/InputQuarterRange.js +2 -2
- package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
- package/lib/renderers/Form/InputRating.d.ts +37 -0
- package/lib/renderers/Form/InputRating.js +6 -2
- package/lib/renderers/Form/InputRating.js.map +2 -2
- package/lib/renderers/Form/InputYearRange.js +2 -2
- package/lib/renderers/Form/InputYearRange.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.d.ts +1 -0
- package/lib/renderers/Form/TreeSelect.js +11 -8
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/index.js +2 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Json.js +7 -0
- package/lib/renderers/Json.js.map +2 -2
- package/lib/renderers/Nav.js +4 -1
- package/lib/renderers/Nav.js.map +2 -2
- package/lib/renderers/Steps.js +2 -2
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/renderers/Table/TableRow.js +4 -1
- package/lib/renderers/Table/TableRow.js.map +2 -2
- package/lib/store/formItem.js +17 -7
- package/lib/store/formItem.js.map +2 -2
- package/lib/store/table.js +1 -1
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +305 -10
- package/lib/themes/ang.css +305 -10
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +305 -10
- package/lib/themes/antd.css +305 -10
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +307 -11
- package/lib/themes/cxd.css +307 -11
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +305 -10
- package/lib/themes/dark.css +305 -10
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +307 -11
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +2 -2
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/helper.js +2 -7
- package/lib/utils/helper.js.map +2 -2
- package/package.json +5 -3
- package/schema.json +59 -7
- package/scss/_properties.scss +3 -1
- package/scss/_variables.scss +1 -1
- package/scss/components/_formula.scss +122 -0
- package/scss/components/_popup.scss +123 -0
- package/scss/components/_steps.scss +60 -0
- package/scss/components/form/_color.scss +4 -0
- package/scss/components/form/_date-range.scss +4 -0
- package/scss/components/form/_date.scss +3 -0
- package/scss/components/form/_rating.scss +60 -21
- package/scss/components/form/_tree-select.scss +4 -0
- package/scss/helper/background/_background-color.scss +1 -1
- package/scss/helper/border/_border-color.scss +1 -1
- package/scss/helper/typography/_text-color.scss +1 -1
- package/scss/themes/_common.scss +2 -0
- package/scss/themes/_cxd-variables.scss +3 -1
- package/sdk/ang-ie11.css +922 -8
- package/sdk/ang.css +926 -10
- package/sdk/antd-ie11.css +922 -8
- package/sdk/antd.css +926 -10
- package/sdk/charts.js +17 -17
- package/sdk/codemirror.js +14 -0
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +3 -3
- package/sdk/cxd-ie11.css +923 -9
- package/sdk/cxd.css +928 -11
- package/sdk/dark-ie11.css +922 -8
- package/sdk/dark.css +926 -10
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css +57 -57
- package/sdk/helper.css.map +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 +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +923 -9
- package/sdk/sdk.css +928 -11
- package/sdk/sdk.js +1318 -1208
- package/sdk/thirds/hls.js/hls.js +18 -18
- package/sdk/thirds/mpegts.js/mpegts.js +2 -2
- package/sdk/tinymce.js +57 -57
- package/src/Root.tsx +1 -0
- package/src/Schema.ts +1 -0
- package/src/SchemaRenderer.tsx +4 -0
- package/src/components/AsideNav.tsx +1 -1
- package/src/components/Card.tsx +2 -2
- package/src/components/CodeMirror.tsx +99 -0
- package/src/components/Collapse.tsx +22 -14
- package/src/components/CollapseGroup.tsx +9 -11
- package/src/components/ColorPicker.tsx +45 -3
- package/src/components/DatePicker.tsx +33 -3
- package/src/components/DateRangePicker.tsx +17 -3
- package/src/components/MonthRangePicker.tsx +18 -4
- package/src/components/PickerContainer.tsx +10 -6
- package/src/components/PopUp.tsx +133 -0
- package/src/components/Rating.tsx +235 -47
- package/src/components/Steps.tsx +8 -3
- package/src/components/TabsTransferPicker.tsx +1 -1
- package/src/components/TransferPicker.tsx +1 -11
- package/src/components/formula/Editor.tsx +261 -0
- package/src/components/formula/FuncList.tsx +82 -0
- package/src/components/formula/Picker.tsx +86 -0
- package/src/components/formula/VariableList.tsx +49 -0
- package/src/components/formula/plugin.ts +177 -0
- package/src/components/icons.tsx +2 -0
- package/src/components/index.tsx +2 -0
- package/src/icons/star.svg +12 -0
- package/src/index.tsx +1 -0
- package/src/renderers/CRUD.tsx +1 -3
- package/src/renderers/Collapse.tsx +27 -27
- package/src/renderers/CollapseGroup.tsx +13 -12
- package/src/renderers/Form/InputColor.tsx +2 -3
- package/src/renderers/Form/InputDate.tsx +2 -0
- package/src/renderers/Form/InputDateRange.tsx +2 -0
- package/src/renderers/Form/InputFormula.tsx +75 -0
- package/src/renderers/Form/InputMonthRange.tsx +2 -0
- package/src/renderers/Form/InputQuarterRange.tsx +2 -0
- package/src/renderers/Form/InputRating.tsx +66 -3
- package/src/renderers/Form/InputYearRange.tsx +2 -0
- package/src/renderers/Form/TreeSelect.tsx +82 -63
- package/src/renderers/Form/index.tsx +2 -1
- package/src/renderers/Json.tsx +5 -0
- package/src/renderers/Nav.tsx +4 -1
- package/src/renderers/Steps.tsx +4 -2
- package/src/renderers/Table/TableRow.tsx +3 -1
- package/src/store/formItem.ts +17 -2
- package/src/store/table.ts +2 -1
- package/src/utils/api.ts +5 -2
- package/src/utils/helper.ts +5 -14
@@ -0,0 +1,560 @@
|
|
1
|
+
/// <reference types="codemirror" />
|
2
|
+
/// <reference types="hoist-non-react-statics" />
|
3
|
+
/**
|
4
|
+
* @file 公式编辑器
|
5
|
+
*/
|
6
|
+
import React from 'react';
|
7
|
+
import { FormulaPlugin } from './plugin';
|
8
|
+
import { ThemeProps } from '../../theme';
|
9
|
+
import { LocaleProps } from '../../locale';
|
10
|
+
export interface VariableItem {
|
11
|
+
label: string;
|
12
|
+
value?: string;
|
13
|
+
children?: Array<VariableItem>;
|
14
|
+
selectMode?: 'tree' | 'tabs';
|
15
|
+
}
|
16
|
+
export interface FuncGroup {
|
17
|
+
groupName: string;
|
18
|
+
items: Array<FuncItem>;
|
19
|
+
}
|
20
|
+
export interface FuncItem {
|
21
|
+
name: string;
|
22
|
+
[propName: string]: any;
|
23
|
+
}
|
24
|
+
export interface FormulaEditorProps extends ThemeProps, LocaleProps {
|
25
|
+
onChange?: (value: string) => void;
|
26
|
+
value: string;
|
27
|
+
/**
|
28
|
+
* evalMode 即直接就是表达式,否则
|
29
|
+
* 需要 ${这里面才是表达式}
|
30
|
+
* 默认为 true
|
31
|
+
*/
|
32
|
+
evalMode?: boolean;
|
33
|
+
/**
|
34
|
+
* 用于提示的变量集合,默认为空
|
35
|
+
*/
|
36
|
+
variables: Array<VariableItem>;
|
37
|
+
variableMode?: 'tabs' | 'tree';
|
38
|
+
/**
|
39
|
+
* 函数集合,默认不需要传,即 amis-formula 里面那个函数
|
40
|
+
* 如果有扩充,则需要传。
|
41
|
+
*/
|
42
|
+
functions: Array<FuncGroup>;
|
43
|
+
/**
|
44
|
+
* 顶部标题,默认为表达式
|
45
|
+
*/
|
46
|
+
header: string;
|
47
|
+
}
|
48
|
+
export interface FunctionsProps {
|
49
|
+
name: string;
|
50
|
+
items: FunctionProps[];
|
51
|
+
}
|
52
|
+
export interface FunctionProps {
|
53
|
+
name: string;
|
54
|
+
intro: string;
|
55
|
+
usage: string;
|
56
|
+
example: string;
|
57
|
+
}
|
58
|
+
export interface FormulaState {
|
59
|
+
focused: boolean;
|
60
|
+
}
|
61
|
+
export declare class FormulaEditor extends React.Component<FormulaEditorProps, FormulaState> {
|
62
|
+
state: FormulaState;
|
63
|
+
editorPlugin?: FormulaPlugin;
|
64
|
+
static buildDefaultFunctions(doc: Array<{
|
65
|
+
namespace: string;
|
66
|
+
name: string;
|
67
|
+
[propName: string]: any;
|
68
|
+
}>): FuncGroup[];
|
69
|
+
static defaultProps: Pick<FormulaEditorProps, 'functions' | 'variables' | 'evalMode'>;
|
70
|
+
static highlightValue(value: string, variables: Array<VariableItem>, functions: Array<FuncGroup>): string;
|
71
|
+
componentWillUnmount(): void;
|
72
|
+
handleFocus(): void;
|
73
|
+
handleBlur(): void;
|
74
|
+
insertValue(value: any, type: 'variable' | 'func'): void;
|
75
|
+
handleEditorMounted(cm: any, editor: any): void;
|
76
|
+
validate(): any;
|
77
|
+
handleFunctionSelect(item: FuncItem): void;
|
78
|
+
handleVariableSelect(item: VariableItem): void;
|
79
|
+
handleOnChange(value: any): void;
|
80
|
+
editorFactory(dom: HTMLElement, cm: any): import("codemirror").Editor;
|
81
|
+
render(): JSX.Element;
|
82
|
+
}
|
83
|
+
declare const _default: {
|
84
|
+
new (props: (Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
85
|
+
locale?: string | undefined;
|
86
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
87
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
88
|
+
locale?: string | undefined;
|
89
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
90
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>): {
|
91
|
+
render(): JSX.Element;
|
92
|
+
context: any;
|
93
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
94
|
+
locale?: string | undefined;
|
95
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
96
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
97
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
98
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
99
|
+
locale?: string | undefined;
|
100
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
101
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
|
102
|
+
children?: React.ReactNode;
|
103
|
+
}>;
|
104
|
+
state: Readonly<{}>;
|
105
|
+
refs: {
|
106
|
+
[key: string]: React.ReactInstance;
|
107
|
+
};
|
108
|
+
componentDidMount?(): void;
|
109
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
110
|
+
locale?: string | undefined;
|
111
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
112
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
113
|
+
componentWillUnmount?(): void;
|
114
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
115
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
116
|
+
locale?: string | undefined;
|
117
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
118
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
119
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
120
|
+
locale?: string | undefined;
|
121
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
122
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
123
|
+
componentWillMount?(): void;
|
124
|
+
UNSAFE_componentWillMount?(): void;
|
125
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
126
|
+
locale?: string | undefined;
|
127
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
128
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
129
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
130
|
+
locale?: string | undefined;
|
131
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
132
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
133
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
134
|
+
locale?: string | undefined;
|
135
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
136
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
137
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
138
|
+
locale?: string | undefined;
|
139
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
140
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
141
|
+
};
|
142
|
+
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
143
|
+
locale?: string | undefined;
|
144
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
145
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps, context: any): {
|
146
|
+
render(): JSX.Element;
|
147
|
+
context: any;
|
148
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
149
|
+
locale?: string | undefined;
|
150
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
151
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
152
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
153
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
154
|
+
locale?: string | undefined;
|
155
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
156
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
|
157
|
+
children?: React.ReactNode;
|
158
|
+
}>;
|
159
|
+
state: Readonly<{}>;
|
160
|
+
refs: {
|
161
|
+
[key: string]: React.ReactInstance;
|
162
|
+
};
|
163
|
+
componentDidMount?(): void;
|
164
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
165
|
+
locale?: string | undefined;
|
166
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
167
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
168
|
+
componentWillUnmount?(): void;
|
169
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
170
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
171
|
+
locale?: string | undefined;
|
172
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
173
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
174
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
175
|
+
locale?: string | undefined;
|
176
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
177
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
178
|
+
componentWillMount?(): void;
|
179
|
+
UNSAFE_componentWillMount?(): void;
|
180
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
181
|
+
locale?: string | undefined;
|
182
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
183
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
184
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
185
|
+
locale?: string | undefined;
|
186
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
187
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
188
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
189
|
+
locale?: string | undefined;
|
190
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
191
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
192
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
193
|
+
locale?: string | undefined;
|
194
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
195
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
196
|
+
};
|
197
|
+
displayName: string;
|
198
|
+
contextType: React.Context<string>;
|
199
|
+
ComposedComponent: React.ComponentType<{
|
200
|
+
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
201
|
+
locale?: string | undefined;
|
202
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
203
|
+
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
204
|
+
locale?: string | undefined;
|
205
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
206
|
+
}>): {
|
207
|
+
render(): JSX.Element;
|
208
|
+
context: any;
|
209
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
210
|
+
locale?: string | undefined;
|
211
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
212
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
213
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
214
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
215
|
+
locale?: string | undefined;
|
216
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
217
|
+
}> & Readonly<{
|
218
|
+
children?: React.ReactNode;
|
219
|
+
}>;
|
220
|
+
state: Readonly<{}>;
|
221
|
+
refs: {
|
222
|
+
[key: string]: React.ReactInstance;
|
223
|
+
};
|
224
|
+
componentDidMount?(): void;
|
225
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
226
|
+
locale?: string | undefined;
|
227
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
228
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
229
|
+
componentWillUnmount?(): void;
|
230
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
231
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
232
|
+
locale?: string | undefined;
|
233
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
234
|
+
}>, prevState: Readonly<{}>): any;
|
235
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
236
|
+
locale?: string | undefined;
|
237
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
238
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
239
|
+
componentWillMount?(): void;
|
240
|
+
UNSAFE_componentWillMount?(): void;
|
241
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
242
|
+
locale?: string | undefined;
|
243
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
244
|
+
}>, nextContext: any): void;
|
245
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
246
|
+
locale?: string | undefined;
|
247
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
248
|
+
}>, nextContext: any): void;
|
249
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
250
|
+
locale?: string | undefined;
|
251
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
252
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
253
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
254
|
+
locale?: string | undefined;
|
255
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
256
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
257
|
+
};
|
258
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
259
|
+
locale?: string | undefined;
|
260
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
261
|
+
}, context: any): {
|
262
|
+
render(): JSX.Element;
|
263
|
+
context: any;
|
264
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
265
|
+
locale?: string | undefined;
|
266
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
267
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
268
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
269
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
270
|
+
locale?: string | undefined;
|
271
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
272
|
+
}> & Readonly<{
|
273
|
+
children?: React.ReactNode;
|
274
|
+
}>;
|
275
|
+
state: Readonly<{}>;
|
276
|
+
refs: {
|
277
|
+
[key: string]: React.ReactInstance;
|
278
|
+
};
|
279
|
+
componentDidMount?(): void;
|
280
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
281
|
+
locale?: string | undefined;
|
282
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
283
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
284
|
+
componentWillUnmount?(): void;
|
285
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
286
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
287
|
+
locale?: string | undefined;
|
288
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
289
|
+
}>, prevState: Readonly<{}>): any;
|
290
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
291
|
+
locale?: string | undefined;
|
292
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
293
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
294
|
+
componentWillMount?(): void;
|
295
|
+
UNSAFE_componentWillMount?(): void;
|
296
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
297
|
+
locale?: string | undefined;
|
298
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
299
|
+
}>, nextContext: any): void;
|
300
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
301
|
+
locale?: string | undefined;
|
302
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
303
|
+
}>, nextContext: any): void;
|
304
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
305
|
+
locale?: string | undefined;
|
306
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
307
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
308
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
309
|
+
locale?: string | undefined;
|
310
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
311
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
312
|
+
};
|
313
|
+
displayName: string;
|
314
|
+
contextType: React.Context<string>;
|
315
|
+
ComposedComponent: React.ComponentType<typeof FormulaEditor>;
|
316
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof FormulaEditor, {}> & {
|
317
|
+
ComposedComponent: typeof FormulaEditor;
|
318
|
+
}>;
|
319
|
+
} & import("hoist-non-react-statics").NonReactStatics<{
|
320
|
+
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
321
|
+
locale?: string | undefined;
|
322
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
323
|
+
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
324
|
+
locale?: string | undefined;
|
325
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
326
|
+
}>): {
|
327
|
+
render(): JSX.Element;
|
328
|
+
context: any;
|
329
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
330
|
+
locale?: string | undefined;
|
331
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
332
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
333
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
334
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
335
|
+
locale?: string | undefined;
|
336
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
337
|
+
}> & Readonly<{
|
338
|
+
children?: React.ReactNode;
|
339
|
+
}>;
|
340
|
+
state: Readonly<{}>;
|
341
|
+
refs: {
|
342
|
+
[key: string]: React.ReactInstance;
|
343
|
+
};
|
344
|
+
componentDidMount?(): void;
|
345
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
346
|
+
locale?: string | undefined;
|
347
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
348
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
349
|
+
componentWillUnmount?(): void;
|
350
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
351
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
352
|
+
locale?: string | undefined;
|
353
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
354
|
+
}>, prevState: Readonly<{}>): any;
|
355
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
356
|
+
locale?: string | undefined;
|
357
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
358
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
359
|
+
componentWillMount?(): void;
|
360
|
+
UNSAFE_componentWillMount?(): void;
|
361
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
362
|
+
locale?: string | undefined;
|
363
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
364
|
+
}>, nextContext: any): void;
|
365
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
366
|
+
locale?: string | undefined;
|
367
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
368
|
+
}>, nextContext: any): void;
|
369
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
370
|
+
locale?: string | undefined;
|
371
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
372
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
373
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
374
|
+
locale?: string | undefined;
|
375
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
376
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
377
|
+
};
|
378
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
379
|
+
locale?: string | undefined;
|
380
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
381
|
+
}, context: any): {
|
382
|
+
render(): JSX.Element;
|
383
|
+
context: any;
|
384
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
385
|
+
locale?: string | undefined;
|
386
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
387
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
388
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
389
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
390
|
+
locale?: string | undefined;
|
391
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
392
|
+
}> & Readonly<{
|
393
|
+
children?: React.ReactNode;
|
394
|
+
}>;
|
395
|
+
state: Readonly<{}>;
|
396
|
+
refs: {
|
397
|
+
[key: string]: React.ReactInstance;
|
398
|
+
};
|
399
|
+
componentDidMount?(): void;
|
400
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
401
|
+
locale?: string | undefined;
|
402
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
403
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
404
|
+
componentWillUnmount?(): void;
|
405
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
406
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
407
|
+
locale?: string | undefined;
|
408
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
409
|
+
}>, prevState: Readonly<{}>): any;
|
410
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
411
|
+
locale?: string | undefined;
|
412
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
413
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
414
|
+
componentWillMount?(): void;
|
415
|
+
UNSAFE_componentWillMount?(): void;
|
416
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
417
|
+
locale?: string | undefined;
|
418
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
419
|
+
}>, nextContext: any): void;
|
420
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
421
|
+
locale?: string | undefined;
|
422
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
423
|
+
}>, nextContext: any): void;
|
424
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
425
|
+
locale?: string | undefined;
|
426
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
427
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
428
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
429
|
+
locale?: string | undefined;
|
430
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
431
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
432
|
+
};
|
433
|
+
displayName: string;
|
434
|
+
contextType: React.Context<string>;
|
435
|
+
ComposedComponent: React.ComponentType<typeof FormulaEditor>;
|
436
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof FormulaEditor, {}> & {
|
437
|
+
ComposedComponent: typeof FormulaEditor;
|
438
|
+
}, {}> & {
|
439
|
+
ComposedComponent: {
|
440
|
+
new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
441
|
+
locale?: string | undefined;
|
442
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
443
|
+
}) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
444
|
+
locale?: string | undefined;
|
445
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
446
|
+
}>): {
|
447
|
+
render(): JSX.Element;
|
448
|
+
context: any;
|
449
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
450
|
+
locale?: string | undefined;
|
451
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
452
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
453
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
454
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
455
|
+
locale?: string | undefined;
|
456
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
457
|
+
}> & Readonly<{
|
458
|
+
children?: React.ReactNode;
|
459
|
+
}>;
|
460
|
+
state: Readonly<{}>;
|
461
|
+
refs: {
|
462
|
+
[key: string]: React.ReactInstance;
|
463
|
+
};
|
464
|
+
componentDidMount?(): void;
|
465
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
466
|
+
locale?: string | undefined;
|
467
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
468
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
469
|
+
componentWillUnmount?(): void;
|
470
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
471
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
472
|
+
locale?: string | undefined;
|
473
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
474
|
+
}>, prevState: Readonly<{}>): any;
|
475
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
476
|
+
locale?: string | undefined;
|
477
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
478
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
479
|
+
componentWillMount?(): void;
|
480
|
+
UNSAFE_componentWillMount?(): void;
|
481
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
482
|
+
locale?: string | undefined;
|
483
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
484
|
+
}>, nextContext: any): void;
|
485
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
486
|
+
locale?: string | undefined;
|
487
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
488
|
+
}>, nextContext: any): void;
|
489
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
490
|
+
locale?: string | undefined;
|
491
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
492
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
493
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
494
|
+
locale?: string | undefined;
|
495
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
496
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
497
|
+
};
|
498
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
499
|
+
locale?: string | undefined;
|
500
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
501
|
+
}, context: any): {
|
502
|
+
render(): JSX.Element;
|
503
|
+
context: any;
|
504
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
505
|
+
locale?: string | undefined;
|
506
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
507
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
508
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
509
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
510
|
+
locale?: string | undefined;
|
511
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
512
|
+
}> & Readonly<{
|
513
|
+
children?: React.ReactNode;
|
514
|
+
}>;
|
515
|
+
state: Readonly<{}>;
|
516
|
+
refs: {
|
517
|
+
[key: string]: React.ReactInstance;
|
518
|
+
};
|
519
|
+
componentDidMount?(): void;
|
520
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
521
|
+
locale?: string | undefined;
|
522
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
523
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
524
|
+
componentWillUnmount?(): void;
|
525
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
526
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
527
|
+
locale?: string | undefined;
|
528
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
529
|
+
}>, prevState: Readonly<{}>): any;
|
530
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
531
|
+
locale?: string | undefined;
|
532
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
533
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
534
|
+
componentWillMount?(): void;
|
535
|
+
UNSAFE_componentWillMount?(): void;
|
536
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
537
|
+
locale?: string | undefined;
|
538
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
539
|
+
}>, nextContext: any): void;
|
540
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
541
|
+
locale?: string | undefined;
|
542
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
543
|
+
}>, nextContext: any): void;
|
544
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
545
|
+
locale?: string | undefined;
|
546
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
547
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
548
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
|
549
|
+
locale?: string | undefined;
|
550
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
551
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
552
|
+
};
|
553
|
+
displayName: string;
|
554
|
+
contextType: React.Context<string>;
|
555
|
+
ComposedComponent: React.ComponentType<typeof FormulaEditor>;
|
556
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof FormulaEditor, {}> & {
|
557
|
+
ComposedComponent: typeof FormulaEditor;
|
558
|
+
};
|
559
|
+
};
|
560
|
+
export default _default;
|