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
@@ -24,33 +24,33 @@ export declare class SparkLine extends React.Component<SparkLineProps> {
|
|
24
24
|
render(): JSX.Element;
|
25
25
|
}
|
26
26
|
declare const _default: {
|
27
|
-
new (props: (Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
28
|
-
|
29
|
-
|
30
|
-
}
|
27
|
+
new (props: (Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
28
|
+
height?: number | undefined;
|
29
|
+
width?: number | undefined;
|
30
|
+
} & {} & {
|
31
31
|
locale?: string | undefined;
|
32
32
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
33
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
34
|
-
|
35
|
-
|
36
|
-
}
|
33
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
34
|
+
height?: number | undefined;
|
35
|
+
width?: number | undefined;
|
36
|
+
} & {} & {
|
37
37
|
locale?: string | undefined;
|
38
38
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
39
39
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
40
40
|
render(): JSX.Element;
|
41
41
|
context: any;
|
42
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
43
|
-
|
44
|
-
|
45
|
-
}
|
42
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
43
|
+
height?: number | undefined;
|
44
|
+
width?: number | undefined;
|
45
|
+
} & {} & {
|
46
46
|
locale?: string | undefined;
|
47
47
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
48
48
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
49
49
|
forceUpdate(callback?: (() => void) | undefined): void;
|
50
|
-
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
51
|
-
|
52
|
-
|
53
|
-
}
|
50
|
+
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
51
|
+
height?: number | undefined;
|
52
|
+
width?: number | undefined;
|
53
|
+
} & {} & {
|
54
54
|
locale?: string | undefined;
|
55
55
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
56
56
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -61,81 +61,81 @@ declare const _default: {
|
|
61
61
|
[key: string]: React.ReactInstance;
|
62
62
|
};
|
63
63
|
componentDidMount?(): void;
|
64
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
65
|
-
|
66
|
-
|
67
|
-
}
|
64
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
65
|
+
height?: number | undefined;
|
66
|
+
width?: number | undefined;
|
67
|
+
} & {} & {
|
68
68
|
locale?: string | undefined;
|
69
69
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
70
70
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
71
71
|
componentWillUnmount?(): void;
|
72
72
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
73
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
74
|
-
|
75
|
-
|
76
|
-
}
|
73
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
74
|
+
height?: number | undefined;
|
75
|
+
width?: number | undefined;
|
76
|
+
} & {} & {
|
77
77
|
locale?: string | undefined;
|
78
78
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
79
79
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
80
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
81
|
-
|
82
|
-
|
83
|
-
}
|
80
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
81
|
+
height?: number | undefined;
|
82
|
+
width?: number | undefined;
|
83
|
+
} & {} & {
|
84
84
|
locale?: string | undefined;
|
85
85
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
86
86
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
87
87
|
componentWillMount?(): void;
|
88
88
|
UNSAFE_componentWillMount?(): void;
|
89
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
90
|
-
|
91
|
-
|
92
|
-
}
|
89
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
90
|
+
height?: number | undefined;
|
91
|
+
width?: number | undefined;
|
92
|
+
} & {} & {
|
93
93
|
locale?: string | undefined;
|
94
94
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
95
95
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
96
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
97
|
-
|
98
|
-
|
99
|
-
}
|
96
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
97
|
+
height?: number | undefined;
|
98
|
+
width?: number | undefined;
|
99
|
+
} & {} & {
|
100
100
|
locale?: string | undefined;
|
101
101
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
102
102
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
103
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
104
|
-
|
105
|
-
|
106
|
-
}
|
103
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
104
|
+
height?: number | undefined;
|
105
|
+
width?: number | undefined;
|
106
|
+
} & {} & {
|
107
107
|
locale?: string | undefined;
|
108
108
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
109
109
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
110
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
111
|
-
|
112
|
-
|
113
|
-
}
|
110
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
111
|
+
height?: number | undefined;
|
112
|
+
width?: number | undefined;
|
113
|
+
} & {} & {
|
114
114
|
locale?: string | undefined;
|
115
115
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
116
116
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
117
117
|
};
|
118
|
-
new (props: Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
119
|
-
|
120
|
-
|
121
|
-
}
|
118
|
+
new (props: Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
119
|
+
height?: number | undefined;
|
120
|
+
width?: number | undefined;
|
121
|
+
} & {} & {
|
122
122
|
locale?: string | undefined;
|
123
123
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
124
124
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
125
125
|
render(): JSX.Element;
|
126
126
|
context: any;
|
127
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
128
|
-
|
129
|
-
|
130
|
-
}
|
127
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
128
|
+
height?: number | undefined;
|
129
|
+
width?: number | undefined;
|
130
|
+
} & {} & {
|
131
131
|
locale?: string | undefined;
|
132
132
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
133
133
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
134
134
|
forceUpdate(callback?: (() => void) | undefined): void;
|
135
|
-
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
136
|
-
|
137
|
-
|
138
|
-
}
|
135
|
+
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
136
|
+
height?: number | undefined;
|
137
|
+
width?: number | undefined;
|
138
|
+
} & {} & {
|
139
139
|
locale?: string | undefined;
|
140
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
141
141
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -146,56 +146,56 @@ declare const _default: {
|
|
146
146
|
[key: string]: React.ReactInstance;
|
147
147
|
};
|
148
148
|
componentDidMount?(): void;
|
149
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
150
|
-
|
151
|
-
|
152
|
-
}
|
149
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
150
|
+
height?: number | undefined;
|
151
|
+
width?: number | undefined;
|
152
|
+
} & {} & {
|
153
153
|
locale?: string | undefined;
|
154
154
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
155
155
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
156
156
|
componentWillUnmount?(): void;
|
157
157
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
158
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
159
|
-
|
160
|
-
|
161
|
-
}
|
158
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
159
|
+
height?: number | undefined;
|
160
|
+
width?: number | undefined;
|
161
|
+
} & {} & {
|
162
162
|
locale?: string | undefined;
|
163
163
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
164
164
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
165
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
166
|
-
|
167
|
-
|
168
|
-
}
|
165
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
166
|
+
height?: number | undefined;
|
167
|
+
width?: number | undefined;
|
168
|
+
} & {} & {
|
169
169
|
locale?: string | undefined;
|
170
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
171
171
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
172
172
|
componentWillMount?(): void;
|
173
173
|
UNSAFE_componentWillMount?(): void;
|
174
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
175
|
-
|
176
|
-
|
177
|
-
}
|
174
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
175
|
+
height?: number | undefined;
|
176
|
+
width?: number | undefined;
|
177
|
+
} & {} & {
|
178
178
|
locale?: string | undefined;
|
179
179
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
180
180
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
181
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
182
|
-
|
183
|
-
|
184
|
-
}
|
181
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
182
|
+
height?: number | undefined;
|
183
|
+
width?: number | undefined;
|
184
|
+
} & {} & {
|
185
185
|
locale?: string | undefined;
|
186
186
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
187
187
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
188
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
189
|
-
|
190
|
-
|
191
|
-
}
|
188
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
189
|
+
height?: number | undefined;
|
190
|
+
width?: number | undefined;
|
191
|
+
} & {} & {
|
192
192
|
locale?: string | undefined;
|
193
193
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
194
194
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
195
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
196
|
-
|
197
|
-
|
198
|
-
}
|
195
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
196
|
+
height?: number | undefined;
|
197
|
+
width?: number | undefined;
|
198
|
+
} & {} & {
|
199
199
|
locale?: string | undefined;
|
200
200
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
201
201
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -203,33 +203,33 @@ declare const _default: {
|
|
203
203
|
displayName: string;
|
204
204
|
contextType: React.Context<string>;
|
205
205
|
ComposedComponent: React.ComponentType<{
|
206
|
-
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
207
|
-
|
208
|
-
|
209
|
-
}
|
206
|
+
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
207
|
+
height?: number | undefined;
|
208
|
+
width?: number | undefined;
|
209
|
+
} & {} & {
|
210
210
|
locale?: string | undefined;
|
211
211
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
212
|
-
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
213
|
-
|
214
|
-
|
215
|
-
}
|
212
|
+
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
213
|
+
height?: number | undefined;
|
214
|
+
width?: number | undefined;
|
215
|
+
} & {} & {
|
216
216
|
locale?: string | undefined;
|
217
217
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
218
218
|
}>): {
|
219
219
|
render(): JSX.Element;
|
220
220
|
context: any;
|
221
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
222
|
-
|
223
|
-
|
224
|
-
}
|
221
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
222
|
+
height?: number | undefined;
|
223
|
+
width?: number | undefined;
|
224
|
+
} & {} & {
|
225
225
|
locale?: string | undefined;
|
226
226
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
227
227
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
228
228
|
forceUpdate(callback?: (() => void) | undefined): void;
|
229
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
230
|
-
|
231
|
-
|
232
|
-
}
|
229
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
230
|
+
height?: number | undefined;
|
231
|
+
width?: number | undefined;
|
232
|
+
} & {} & {
|
233
233
|
locale?: string | undefined;
|
234
234
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
235
235
|
}> & Readonly<{
|
@@ -240,81 +240,81 @@ declare const _default: {
|
|
240
240
|
[key: string]: React.ReactInstance;
|
241
241
|
};
|
242
242
|
componentDidMount?(): void;
|
243
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
244
|
-
|
245
|
-
|
246
|
-
}
|
243
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
244
|
+
height?: number | undefined;
|
245
|
+
width?: number | undefined;
|
246
|
+
} & {} & {
|
247
247
|
locale?: string | undefined;
|
248
248
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
249
249
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
250
250
|
componentWillUnmount?(): void;
|
251
251
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
252
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
253
|
-
|
254
|
-
|
255
|
-
}
|
252
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
253
|
+
height?: number | undefined;
|
254
|
+
width?: number | undefined;
|
255
|
+
} & {} & {
|
256
256
|
locale?: string | undefined;
|
257
257
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
258
258
|
}>, prevState: Readonly<{}>): any;
|
259
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
260
|
-
|
261
|
-
|
262
|
-
}
|
259
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
260
|
+
height?: number | undefined;
|
261
|
+
width?: number | undefined;
|
262
|
+
} & {} & {
|
263
263
|
locale?: string | undefined;
|
264
264
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
265
265
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
266
266
|
componentWillMount?(): void;
|
267
267
|
UNSAFE_componentWillMount?(): void;
|
268
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
269
|
-
|
270
|
-
|
271
|
-
}
|
268
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
269
|
+
height?: number | undefined;
|
270
|
+
width?: number | undefined;
|
271
|
+
} & {} & {
|
272
272
|
locale?: string | undefined;
|
273
273
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
274
274
|
}>, nextContext: any): void;
|
275
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
276
|
-
|
277
|
-
|
278
|
-
}
|
275
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
276
|
+
height?: number | undefined;
|
277
|
+
width?: number | undefined;
|
278
|
+
} & {} & {
|
279
279
|
locale?: string | undefined;
|
280
280
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
281
281
|
}>, nextContext: any): void;
|
282
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
283
|
-
|
284
|
-
|
285
|
-
}
|
282
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
283
|
+
height?: number | undefined;
|
284
|
+
width?: number | undefined;
|
285
|
+
} & {} & {
|
286
286
|
locale?: string | undefined;
|
287
287
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
288
288
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
289
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
290
|
-
|
291
|
-
|
292
|
-
}
|
289
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
290
|
+
height?: number | undefined;
|
291
|
+
width?: number | undefined;
|
292
|
+
} & {} & {
|
293
293
|
locale?: string | undefined;
|
294
294
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
295
295
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
296
296
|
};
|
297
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
298
|
-
|
299
|
-
|
300
|
-
}
|
297
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
298
|
+
height?: number | undefined;
|
299
|
+
width?: number | undefined;
|
300
|
+
} & {} & {
|
301
301
|
locale?: string | undefined;
|
302
302
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
303
303
|
}, context: any): {
|
304
304
|
render(): JSX.Element;
|
305
305
|
context: any;
|
306
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
307
|
-
|
308
|
-
|
309
|
-
}
|
306
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
307
|
+
height?: number | undefined;
|
308
|
+
width?: number | undefined;
|
309
|
+
} & {} & {
|
310
310
|
locale?: string | undefined;
|
311
311
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
312
312
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
313
313
|
forceUpdate(callback?: (() => void) | undefined): void;
|
314
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
315
|
-
|
316
|
-
|
317
|
-
}
|
314
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
315
|
+
height?: number | undefined;
|
316
|
+
width?: number | undefined;
|
317
|
+
} & {} & {
|
318
318
|
locale?: string | undefined;
|
319
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
320
320
|
}> & Readonly<{
|
@@ -325,56 +325,56 @@ declare const _default: {
|
|
325
325
|
[key: string]: React.ReactInstance;
|
326
326
|
};
|
327
327
|
componentDidMount?(): void;
|
328
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
329
|
-
|
330
|
-
|
331
|
-
}
|
328
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
329
|
+
height?: number | undefined;
|
330
|
+
width?: number | undefined;
|
331
|
+
} & {} & {
|
332
332
|
locale?: string | undefined;
|
333
333
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
334
334
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
335
335
|
componentWillUnmount?(): void;
|
336
336
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
337
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
338
|
-
|
339
|
-
|
340
|
-
}
|
337
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
338
|
+
height?: number | undefined;
|
339
|
+
width?: number | undefined;
|
340
|
+
} & {} & {
|
341
341
|
locale?: string | undefined;
|
342
342
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
343
343
|
}>, prevState: Readonly<{}>): any;
|
344
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
345
|
-
|
346
|
-
|
347
|
-
}
|
344
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
345
|
+
height?: number | undefined;
|
346
|
+
width?: number | undefined;
|
347
|
+
} & {} & {
|
348
348
|
locale?: string | undefined;
|
349
349
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
350
350
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
351
351
|
componentWillMount?(): void;
|
352
352
|
UNSAFE_componentWillMount?(): void;
|
353
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
354
|
-
|
355
|
-
|
356
|
-
}
|
353
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
354
|
+
height?: number | undefined;
|
355
|
+
width?: number | undefined;
|
356
|
+
} & {} & {
|
357
357
|
locale?: string | undefined;
|
358
358
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
359
359
|
}>, nextContext: any): void;
|
360
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
361
|
-
|
362
|
-
|
363
|
-
}
|
360
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
361
|
+
height?: number | undefined;
|
362
|
+
width?: number | undefined;
|
363
|
+
} & {} & {
|
364
364
|
locale?: string | undefined;
|
365
365
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
366
366
|
}>, nextContext: any): void;
|
367
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
368
|
-
|
369
|
-
|
370
|
-
}
|
367
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
368
|
+
height?: number | undefined;
|
369
|
+
width?: number | undefined;
|
370
|
+
} & {} & {
|
371
371
|
locale?: string | undefined;
|
372
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
373
373
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
374
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
375
|
-
|
376
|
-
|
377
|
-
}
|
374
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
375
|
+
height?: number | undefined;
|
376
|
+
width?: number | undefined;
|
377
|
+
} & {} & {
|
378
378
|
locale?: string | undefined;
|
379
379
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
380
380
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -386,33 +386,33 @@ declare const _default: {
|
|
386
386
|
ComposedComponent: typeof SparkLine;
|
387
387
|
}>;
|
388
388
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
389
|
-
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
390
|
-
|
391
|
-
|
392
|
-
}
|
389
|
+
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
390
|
+
height?: number | undefined;
|
391
|
+
width?: number | undefined;
|
392
|
+
} & {} & {
|
393
393
|
locale?: string | undefined;
|
394
394
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
395
|
-
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
396
|
-
|
397
|
-
|
398
|
-
}
|
395
|
+
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
396
|
+
height?: number | undefined;
|
397
|
+
width?: number | undefined;
|
398
|
+
} & {} & {
|
399
399
|
locale?: string | undefined;
|
400
400
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
401
401
|
}>): {
|
402
402
|
render(): JSX.Element;
|
403
403
|
context: any;
|
404
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
405
|
-
|
406
|
-
|
407
|
-
}
|
404
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
405
|
+
height?: number | undefined;
|
406
|
+
width?: number | undefined;
|
407
|
+
} & {} & {
|
408
408
|
locale?: string | undefined;
|
409
409
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
410
410
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
411
411
|
forceUpdate(callback?: (() => void) | undefined): void;
|
412
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
413
|
-
|
414
|
-
|
415
|
-
}
|
412
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
413
|
+
height?: number | undefined;
|
414
|
+
width?: number | undefined;
|
415
|
+
} & {} & {
|
416
416
|
locale?: string | undefined;
|
417
417
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
418
418
|
}> & Readonly<{
|
@@ -423,81 +423,81 @@ declare const _default: {
|
|
423
423
|
[key: string]: React.ReactInstance;
|
424
424
|
};
|
425
425
|
componentDidMount?(): void;
|
426
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
427
|
-
|
428
|
-
|
429
|
-
}
|
426
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
427
|
+
height?: number | undefined;
|
428
|
+
width?: number | undefined;
|
429
|
+
} & {} & {
|
430
430
|
locale?: string | undefined;
|
431
431
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
432
432
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
433
433
|
componentWillUnmount?(): void;
|
434
434
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
435
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
436
|
-
|
437
|
-
|
438
|
-
}
|
435
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
436
|
+
height?: number | undefined;
|
437
|
+
width?: number | undefined;
|
438
|
+
} & {} & {
|
439
439
|
locale?: string | undefined;
|
440
440
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
441
441
|
}>, prevState: Readonly<{}>): any;
|
442
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
443
|
-
|
444
|
-
|
445
|
-
}
|
442
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
443
|
+
height?: number | undefined;
|
444
|
+
width?: number | undefined;
|
445
|
+
} & {} & {
|
446
446
|
locale?: string | undefined;
|
447
447
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
448
448
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
449
449
|
componentWillMount?(): void;
|
450
450
|
UNSAFE_componentWillMount?(): void;
|
451
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
452
|
-
|
453
|
-
|
454
|
-
}
|
451
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
452
|
+
height?: number | undefined;
|
453
|
+
width?: number | undefined;
|
454
|
+
} & {} & {
|
455
455
|
locale?: string | undefined;
|
456
456
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
457
457
|
}>, nextContext: any): void;
|
458
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
459
|
-
|
460
|
-
|
461
|
-
}
|
458
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
459
|
+
height?: number | undefined;
|
460
|
+
width?: number | undefined;
|
461
|
+
} & {} & {
|
462
462
|
locale?: string | undefined;
|
463
463
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
464
464
|
}>, nextContext: any): void;
|
465
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
466
|
-
|
467
|
-
|
468
|
-
}
|
465
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
466
|
+
height?: number | undefined;
|
467
|
+
width?: number | undefined;
|
468
|
+
} & {} & {
|
469
469
|
locale?: string | undefined;
|
470
470
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
471
471
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
472
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
473
|
-
|
474
|
-
|
475
|
-
}
|
472
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
473
|
+
height?: number | undefined;
|
474
|
+
width?: number | undefined;
|
475
|
+
} & {} & {
|
476
476
|
locale?: string | undefined;
|
477
477
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
478
478
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
479
479
|
};
|
480
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
481
|
-
|
482
|
-
|
483
|
-
}
|
480
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
481
|
+
height?: number | undefined;
|
482
|
+
width?: number | undefined;
|
483
|
+
} & {} & {
|
484
484
|
locale?: string | undefined;
|
485
485
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
486
486
|
}, context: any): {
|
487
487
|
render(): JSX.Element;
|
488
488
|
context: any;
|
489
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
490
|
-
|
491
|
-
|
492
|
-
}
|
489
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
490
|
+
height?: number | undefined;
|
491
|
+
width?: number | undefined;
|
492
|
+
} & {} & {
|
493
493
|
locale?: string | undefined;
|
494
494
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
495
495
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
496
496
|
forceUpdate(callback?: (() => void) | undefined): void;
|
497
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
498
|
-
|
499
|
-
|
500
|
-
}
|
497
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
498
|
+
height?: number | undefined;
|
499
|
+
width?: number | undefined;
|
500
|
+
} & {} & {
|
501
501
|
locale?: string | undefined;
|
502
502
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
503
503
|
}> & Readonly<{
|
@@ -508,56 +508,56 @@ declare const _default: {
|
|
508
508
|
[key: string]: React.ReactInstance;
|
509
509
|
};
|
510
510
|
componentDidMount?(): void;
|
511
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
512
|
-
|
513
|
-
|
514
|
-
}
|
511
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
512
|
+
height?: number | undefined;
|
513
|
+
width?: number | undefined;
|
514
|
+
} & {} & {
|
515
515
|
locale?: string | undefined;
|
516
516
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
517
517
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
518
518
|
componentWillUnmount?(): void;
|
519
519
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
520
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
521
|
-
|
522
|
-
|
523
|
-
}
|
520
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
521
|
+
height?: number | undefined;
|
522
|
+
width?: number | undefined;
|
523
|
+
} & {} & {
|
524
524
|
locale?: string | undefined;
|
525
525
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
526
526
|
}>, prevState: Readonly<{}>): any;
|
527
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
528
|
-
|
529
|
-
|
530
|
-
}
|
527
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
528
|
+
height?: number | undefined;
|
529
|
+
width?: number | undefined;
|
530
|
+
} & {} & {
|
531
531
|
locale?: string | undefined;
|
532
532
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
533
533
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
534
534
|
componentWillMount?(): void;
|
535
535
|
UNSAFE_componentWillMount?(): void;
|
536
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
537
|
-
|
538
|
-
|
539
|
-
}
|
536
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
537
|
+
height?: number | undefined;
|
538
|
+
width?: number | undefined;
|
539
|
+
} & {} & {
|
540
540
|
locale?: string | undefined;
|
541
541
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
542
542
|
}>, nextContext: any): void;
|
543
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
544
|
-
|
545
|
-
|
546
|
-
}
|
543
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
544
|
+
height?: number | undefined;
|
545
|
+
width?: number | undefined;
|
546
|
+
} & {} & {
|
547
547
|
locale?: string | undefined;
|
548
548
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
549
549
|
}>, nextContext: any): void;
|
550
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
551
|
-
|
552
|
-
|
553
|
-
}
|
550
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
551
|
+
height?: number | undefined;
|
552
|
+
width?: number | undefined;
|
553
|
+
} & {} & {
|
554
554
|
locale?: string | undefined;
|
555
555
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
556
556
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
557
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
558
|
-
|
559
|
-
|
560
|
-
}
|
557
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
558
|
+
height?: number | undefined;
|
559
|
+
width?: number | undefined;
|
560
|
+
} & {} & {
|
561
561
|
locale?: string | undefined;
|
562
562
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
563
563
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -569,33 +569,33 @@ declare const _default: {
|
|
569
569
|
ComposedComponent: typeof SparkLine;
|
570
570
|
}, {}> & {
|
571
571
|
ComposedComponent: {
|
572
|
-
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
573
|
-
|
574
|
-
|
575
|
-
}
|
572
|
+
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
573
|
+
height?: number | undefined;
|
574
|
+
width?: number | undefined;
|
575
|
+
} & {} & {
|
576
576
|
locale?: string | undefined;
|
577
577
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
578
|
-
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
579
|
-
|
580
|
-
|
581
|
-
}
|
578
|
+
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
579
|
+
height?: number | undefined;
|
580
|
+
width?: number | undefined;
|
581
|
+
} & {} & {
|
582
582
|
locale?: string | undefined;
|
583
583
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
584
584
|
}>): {
|
585
585
|
render(): JSX.Element;
|
586
586
|
context: any;
|
587
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
588
|
-
|
589
|
-
|
590
|
-
}
|
587
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
588
|
+
height?: number | undefined;
|
589
|
+
width?: number | undefined;
|
590
|
+
} & {} & {
|
591
591
|
locale?: string | undefined;
|
592
592
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
593
593
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
594
594
|
forceUpdate(callback?: (() => void) | undefined): void;
|
595
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
596
|
-
|
597
|
-
|
598
|
-
}
|
595
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
596
|
+
height?: number | undefined;
|
597
|
+
width?: number | undefined;
|
598
|
+
} & {} & {
|
599
599
|
locale?: string | undefined;
|
600
600
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
601
601
|
}> & Readonly<{
|
@@ -606,81 +606,81 @@ declare const _default: {
|
|
606
606
|
[key: string]: React.ReactInstance;
|
607
607
|
};
|
608
608
|
componentDidMount?(): void;
|
609
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
610
|
-
|
611
|
-
|
612
|
-
}
|
609
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
610
|
+
height?: number | undefined;
|
611
|
+
width?: number | undefined;
|
612
|
+
} & {} & {
|
613
613
|
locale?: string | undefined;
|
614
614
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
615
615
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
616
616
|
componentWillUnmount?(): void;
|
617
617
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
618
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
619
|
-
|
620
|
-
|
621
|
-
}
|
618
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
619
|
+
height?: number | undefined;
|
620
|
+
width?: number | undefined;
|
621
|
+
} & {} & {
|
622
622
|
locale?: string | undefined;
|
623
623
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
624
624
|
}>, prevState: Readonly<{}>): any;
|
625
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
626
|
-
|
627
|
-
|
628
|
-
}
|
625
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
626
|
+
height?: number | undefined;
|
627
|
+
width?: number | undefined;
|
628
|
+
} & {} & {
|
629
629
|
locale?: string | undefined;
|
630
630
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
631
631
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
632
632
|
componentWillMount?(): void;
|
633
633
|
UNSAFE_componentWillMount?(): void;
|
634
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
635
|
-
|
636
|
-
|
637
|
-
}
|
634
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
635
|
+
height?: number | undefined;
|
636
|
+
width?: number | undefined;
|
637
|
+
} & {} & {
|
638
638
|
locale?: string | undefined;
|
639
639
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
640
640
|
}>, nextContext: any): void;
|
641
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
642
|
-
|
643
|
-
|
644
|
-
}
|
641
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
642
|
+
height?: number | undefined;
|
643
|
+
width?: number | undefined;
|
644
|
+
} & {} & {
|
645
645
|
locale?: string | undefined;
|
646
646
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
647
647
|
}>, nextContext: any): void;
|
648
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
649
|
-
|
650
|
-
|
651
|
-
}
|
648
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
649
|
+
height?: number | undefined;
|
650
|
+
width?: number | undefined;
|
651
|
+
} & {} & {
|
652
652
|
locale?: string | undefined;
|
653
653
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
654
654
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
655
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
656
|
-
|
657
|
-
|
658
|
-
}
|
655
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
656
|
+
height?: number | undefined;
|
657
|
+
width?: number | undefined;
|
658
|
+
} & {} & {
|
659
659
|
locale?: string | undefined;
|
660
660
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
661
661
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
662
662
|
};
|
663
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
664
|
-
|
665
|
-
|
666
|
-
}
|
663
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
664
|
+
height?: number | undefined;
|
665
|
+
width?: number | undefined;
|
666
|
+
} & {} & {
|
667
667
|
locale?: string | undefined;
|
668
668
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
669
669
|
}, context: any): {
|
670
670
|
render(): JSX.Element;
|
671
671
|
context: any;
|
672
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
673
|
-
|
674
|
-
|
675
|
-
}
|
672
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
673
|
+
height?: number | undefined;
|
674
|
+
width?: number | undefined;
|
675
|
+
} & {} & {
|
676
676
|
locale?: string | undefined;
|
677
677
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
678
678
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
679
679
|
forceUpdate(callback?: (() => void) | undefined): void;
|
680
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
681
|
-
|
682
|
-
|
683
|
-
}
|
680
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
681
|
+
height?: number | undefined;
|
682
|
+
width?: number | undefined;
|
683
|
+
} & {} & {
|
684
684
|
locale?: string | undefined;
|
685
685
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
686
686
|
}> & Readonly<{
|
@@ -691,56 +691,56 @@ declare const _default: {
|
|
691
691
|
[key: string]: React.ReactInstance;
|
692
692
|
};
|
693
693
|
componentDidMount?(): void;
|
694
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
695
|
-
|
696
|
-
|
697
|
-
}
|
694
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
695
|
+
height?: number | undefined;
|
696
|
+
width?: number | undefined;
|
697
|
+
} & {} & {
|
698
698
|
locale?: string | undefined;
|
699
699
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
700
700
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
701
701
|
componentWillUnmount?(): void;
|
702
702
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
703
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
704
|
-
|
705
|
-
|
706
|
-
}
|
703
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
704
|
+
height?: number | undefined;
|
705
|
+
width?: number | undefined;
|
706
|
+
} & {} & {
|
707
707
|
locale?: string | undefined;
|
708
708
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
709
709
|
}>, prevState: Readonly<{}>): any;
|
710
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
711
|
-
|
712
|
-
|
713
|
-
}
|
710
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
711
|
+
height?: number | undefined;
|
712
|
+
width?: number | undefined;
|
713
|
+
} & {} & {
|
714
714
|
locale?: string | undefined;
|
715
715
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
716
716
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
717
717
|
componentWillMount?(): void;
|
718
718
|
UNSAFE_componentWillMount?(): void;
|
719
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
720
|
-
|
721
|
-
|
722
|
-
}
|
719
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
720
|
+
height?: number | undefined;
|
721
|
+
width?: number | undefined;
|
722
|
+
} & {} & {
|
723
723
|
locale?: string | undefined;
|
724
724
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
725
725
|
}>, nextContext: any): void;
|
726
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
727
|
-
|
728
|
-
|
729
|
-
}
|
726
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
727
|
+
height?: number | undefined;
|
728
|
+
width?: number | undefined;
|
729
|
+
} & {} & {
|
730
730
|
locale?: string | undefined;
|
731
731
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
732
732
|
}>, nextContext: any): void;
|
733
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
734
|
-
|
735
|
-
|
736
|
-
}
|
733
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
734
|
+
height?: number | undefined;
|
735
|
+
width?: number | undefined;
|
736
|
+
} & {} & {
|
737
737
|
locale?: string | undefined;
|
738
738
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
739
739
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
740
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> &
|
741
|
-
|
742
|
-
|
743
|
-
}
|
740
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & {
|
741
|
+
height?: number | undefined;
|
742
|
+
width?: number | undefined;
|
743
|
+
} & {} & {
|
744
744
|
locale?: string | undefined;
|
745
745
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
746
746
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|