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.
Files changed (81) hide show
  1. package/lib/components/Alert.d.ts +588 -588
  2. package/lib/components/Alert2.d.ts +125 -20
  3. package/lib/components/AnchorNav.d.ts +104 -20
  4. package/lib/components/ArrayInput.d.ts +420 -420
  5. package/lib/components/AsideNav.d.ts +125 -125
  6. package/lib/components/AssociatedSelection.d.ts +504 -504
  7. package/lib/components/Avatar.d.ts +461 -20
  8. package/lib/components/Button.d.ts +167 -20
  9. package/lib/components/CalendarMobile.d.ts +420 -84
  10. package/lib/components/Card.d.ts +671 -20
  11. package/lib/components/ChainedSelection.d.ts +504 -504
  12. package/lib/components/Checkbox.d.ts +104 -20
  13. package/lib/components/Collapse.d.ts +587 -20
  14. package/lib/components/CollapseGroup.d.ts +230 -20
  15. package/lib/components/ColorPicker.d.ts +504 -504
  16. package/lib/components/DatePicker.d.ts +588 -588
  17. package/lib/components/DateRangePicker.d.ts +1008 -1008
  18. package/lib/components/Drawer.d.ts +125 -20
  19. package/lib/components/Editor.d.ts +840 -672
  20. package/lib/components/GroupedSelection.d.ts +504 -504
  21. package/lib/components/Html.d.ts +62 -62
  22. package/lib/components/InputBox.d.ts +83 -83
  23. package/lib/components/Layout.d.ts +146 -146
  24. package/lib/components/ListGroup.d.ts +62 -62
  25. package/lib/components/ListMenu.d.ts +504 -504
  26. package/lib/components/LocationPicker.d.ts +336 -336
  27. package/lib/components/Modal.d.ts +420 -420
  28. package/lib/components/MonthRangePicker.d.ts +924 -924
  29. package/lib/components/NumberInput.d.ts +104 -20
  30. package/lib/components/PopUp.d.ts +672 -672
  31. package/lib/components/Progress.d.ts +440 -20
  32. package/lib/components/Radios.d.ts +167 -167
  33. package/lib/components/Rating.d.ts +272 -314
  34. package/lib/components/ResultBox.d.ts +504 -84
  35. package/lib/components/ResultList.d.ts +336 -84
  36. package/lib/components/SearchBox.d.ts +336 -336
  37. package/lib/components/Select.d.ts +4977 -4977
  38. package/lib/components/Selection.d.ts +504 -504
  39. package/lib/components/SparkLine.d.ts +336 -336
  40. package/lib/components/Spinner.d.ts +146 -146
  41. package/lib/components/Switch.d.ts +83 -83
  42. package/lib/components/TableSelection.d.ts +672 -672
  43. package/lib/components/Tabs.d.ts +83 -20
  44. package/lib/components/TitleBar.d.ts +146 -125
  45. package/lib/components/Toast.d.ts +504 -84
  46. package/lib/components/TooltipWrapper.d.ts +125 -20
  47. package/lib/components/Transfer.d.ts +252 -84
  48. package/lib/components/TransferDropDown.d.ts +252 -84
  49. package/lib/components/Tree.d.ts +2688 -2688
  50. package/lib/components/TreeSelection.d.ts +588 -588
  51. package/lib/components/formula/Editor.d.ts +420 -84
  52. package/lib/index.js +1 -1
  53. package/lib/renderers/Dialog.d.ts +420 -420
  54. package/lib/renderers/Form/InputCity.d.ts +672 -672
  55. package/lib/renderers/Form/InputColor.d.ts +504 -504
  56. package/lib/renderers/Nav.d.ts +62 -62
  57. package/package.json +1 -1
  58. package/sdk/ang-ie11.css +1 -0
  59. package/sdk/ang.css +1 -0
  60. package/sdk/antd-ie11.css +1 -0
  61. package/sdk/antd.css +1 -0
  62. package/sdk/charts.js +14 -14
  63. package/sdk/codemirror.js +7 -7
  64. package/sdk/color-picker.js +65 -65
  65. package/sdk/cropperjs.js +2 -2
  66. package/sdk/cxd-ie11.css +1 -0
  67. package/sdk/cxd.css +1 -0
  68. package/sdk/dark-ie11.css +1 -0
  69. package/sdk/dark.css +1 -0
  70. package/sdk/exceljs.js +1 -1
  71. package/sdk/markdown.js +69 -69
  72. package/sdk/papaparse.js +3 -3
  73. package/sdk/renderers/Form/CityDB.js +1 -1
  74. package/sdk/rest.js +18 -18
  75. package/sdk/rich-text.js +62 -62
  76. package/sdk/sdk-ie11.css +1 -0
  77. package/sdk/sdk.css +1 -0
  78. package/sdk/sdk.js +1318 -1253
  79. package/sdk/thirds/hls.js/hls.js +1 -1
  80. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  81. 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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
28
- width: number;
29
- height: number;
30
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
34
- width: number;
35
- height: number;
36
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
43
- width: number;
44
- height: number;
45
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
51
- width: number;
52
- height: number;
53
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
65
- width: number;
66
- height: number;
67
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
74
- width: number;
75
- height: number;
76
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
81
- width: number;
82
- height: number;
83
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
90
- width: number;
91
- height: number;
92
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
97
- width: number;
98
- height: number;
99
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
104
- width: number;
105
- height: number;
106
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
111
- width: number;
112
- height: number;
113
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
119
- width: number;
120
- height: number;
121
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
128
- width: number;
129
- height: number;
130
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
136
- width: number;
137
- height: number;
138
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
150
- width: number;
151
- height: number;
152
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
159
- width: number;
160
- height: number;
161
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
166
- width: number;
167
- height: number;
168
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
175
- width: number;
176
- height: number;
177
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
182
- width: number;
183
- height: number;
184
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
189
- width: number;
190
- height: number;
191
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
196
- width: number;
197
- height: number;
198
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
207
- width: number;
208
- height: number;
209
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
213
- width: number;
214
- height: number;
215
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
222
- width: number;
223
- height: number;
224
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
230
- width: number;
231
- height: number;
232
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
244
- width: number;
245
- height: number;
246
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
253
- width: number;
254
- height: number;
255
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
260
- width: number;
261
- height: number;
262
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
269
- width: number;
270
- height: number;
271
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
276
- width: number;
277
- height: number;
278
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
283
- width: number;
284
- height: number;
285
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
290
- width: number;
291
- height: number;
292
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
298
- width: number;
299
- height: number;
300
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
307
- width: number;
308
- height: number;
309
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
315
- width: number;
316
- height: number;
317
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
329
- width: number;
330
- height: number;
331
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
338
- width: number;
339
- height: number;
340
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
345
- width: number;
346
- height: number;
347
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
354
- width: number;
355
- height: number;
356
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
361
- width: number;
362
- height: number;
363
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
368
- width: number;
369
- height: number;
370
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
375
- width: number;
376
- height: number;
377
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
390
- width: number;
391
- height: number;
392
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
396
- width: number;
397
- height: number;
398
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
405
- width: number;
406
- height: number;
407
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
413
- width: number;
414
- height: number;
415
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
427
- width: number;
428
- height: number;
429
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
436
- width: number;
437
- height: number;
438
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
443
- width: number;
444
- height: number;
445
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
452
- width: number;
453
- height: number;
454
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
459
- width: number;
460
- height: number;
461
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
466
- width: number;
467
- height: number;
468
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
473
- width: number;
474
- height: number;
475
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
481
- width: number;
482
- height: number;
483
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
490
- width: number;
491
- height: number;
492
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
498
- width: number;
499
- height: number;
500
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
512
- width: number;
513
- height: number;
514
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
521
- width: number;
522
- height: number;
523
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
528
- width: number;
529
- height: number;
530
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
537
- width: number;
538
- height: number;
539
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
544
- width: number;
545
- height: number;
546
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
551
- width: number;
552
- height: number;
553
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
558
- width: number;
559
- height: number;
560
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
573
- width: number;
574
- height: number;
575
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
579
- width: number;
580
- height: number;
581
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
588
- width: number;
589
- height: number;
590
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
596
- width: number;
597
- height: number;
598
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
610
- width: number;
611
- height: number;
612
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
619
- width: number;
620
- height: number;
621
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
626
- width: number;
627
- height: number;
628
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
635
- width: number;
636
- height: number;
637
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
642
- width: number;
643
- height: number;
644
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
649
- width: number;
650
- height: number;
651
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
656
- width: number;
657
- height: number;
658
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
664
- width: number;
665
- height: number;
666
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
673
- width: number;
674
- height: number;
675
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
681
- width: number;
682
- height: number;
683
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
695
- width: number;
696
- height: number;
697
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
704
- width: number;
705
- height: number;
706
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
711
- width: number;
712
- height: number;
713
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
720
- width: number;
721
- height: number;
722
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
727
- width: number;
728
- height: number;
729
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
734
- width: number;
735
- height: number;
736
- }, never>> & {
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"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
741
- width: number;
742
- height: number;
743
- }, never>> & {
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;