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
@@ -75,68 +75,60 @@ export declare class Rating extends React.Component<RatingProps, any> {
75
75
  render(): JSX.Element;
76
76
  }
77
77
  declare const _default: {
78
- new (props: (Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
79
- containerClass: string;
80
- readOnly: boolean;
81
- half: boolean;
82
- allowClear: boolean;
83
- value: number;
84
- count: number;
85
- char: JSX.Element;
86
- colors: {
87
- '2': string;
88
- '3': string;
89
- '5': string;
90
- };
91
- textPosition: textPositionType;
92
- }, never>> & import("../theme").ThemeOutterProps) | Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
93
- containerClass: string;
94
- readOnly: boolean;
95
- half: boolean;
96
- allowClear: boolean;
97
- value: number;
98
- count: number;
99
- char: JSX.Element;
100
- colors: {
101
- '2': string;
102
- '3': string;
103
- '5': string;
104
- };
105
- textPosition: textPositionType;
106
- }, never>> & import("../theme").ThemeOutterProps>): {
78
+ new (props: (Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
79
+ value?: number | undefined;
80
+ char?: React.ReactNode;
81
+ readOnly?: boolean | undefined;
82
+ half?: boolean | undefined;
83
+ count?: number | undefined;
84
+ allowClear?: boolean | undefined;
85
+ colors?: string | {
86
+ [propName: string]: string;
87
+ } | undefined;
88
+ textPosition?: textPositionType | undefined;
89
+ containerClass?: string | undefined;
90
+ } & {} & import("../theme").ThemeOutterProps) | Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
91
+ value?: number | undefined;
92
+ char?: React.ReactNode;
93
+ readOnly?: boolean | undefined;
94
+ half?: boolean | undefined;
95
+ count?: number | undefined;
96
+ allowClear?: boolean | undefined;
97
+ colors?: string | {
98
+ [propName: string]: string;
99
+ } | undefined;
100
+ textPosition?: textPositionType | undefined;
101
+ containerClass?: string | undefined;
102
+ } & {} & import("../theme").ThemeOutterProps>): {
107
103
  render(): JSX.Element;
108
104
  context: any;
109
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
110
- containerClass: string;
111
- readOnly: boolean;
112
- half: boolean;
113
- allowClear: boolean;
114
- value: number;
115
- count: number;
116
- char: JSX.Element;
117
- colors: {
118
- '2': string;
119
- '3': string;
120
- '5': string;
121
- };
122
- textPosition: textPositionType;
123
- }, never>> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
105
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
106
+ value?: number | undefined;
107
+ char?: React.ReactNode;
108
+ readOnly?: boolean | undefined;
109
+ half?: boolean | undefined;
110
+ count?: number | undefined;
111
+ allowClear?: boolean | undefined;
112
+ colors?: string | {
113
+ [propName: string]: string;
114
+ } | undefined;
115
+ textPosition?: textPositionType | undefined;
116
+ containerClass?: string | undefined;
117
+ } & {} & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
124
118
  forceUpdate(callback?: (() => void) | undefined): void;
125
- readonly props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
126
- containerClass: string;
127
- readOnly: boolean;
128
- half: boolean;
129
- allowClear: boolean;
130
- value: number;
131
- count: number;
132
- char: JSX.Element;
133
- colors: {
134
- '2': string;
135
- '3': string;
136
- '5': string;
137
- };
138
- textPosition: textPositionType;
139
- }, never>> & import("../theme").ThemeOutterProps> & Readonly<{
119
+ readonly props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
120
+ value?: number | undefined;
121
+ char?: React.ReactNode;
122
+ readOnly?: boolean | undefined;
123
+ half?: boolean | undefined;
124
+ count?: number | undefined;
125
+ allowClear?: boolean | undefined;
126
+ colors?: string | {
127
+ [propName: string]: string;
128
+ } | undefined;
129
+ textPosition?: textPositionType | undefined;
130
+ containerClass?: string | undefined;
131
+ } & {} & import("../theme").ThemeOutterProps> & Readonly<{
140
132
  children?: React.ReactNode;
141
133
  }>;
142
134
  state: Readonly<{}>;
@@ -144,164 +136,144 @@ declare const _default: {
144
136
  [key: string]: React.ReactInstance;
145
137
  };
146
138
  componentDidMount?(): void;
147
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
148
- containerClass: string;
149
- readOnly: boolean;
150
- half: boolean;
151
- allowClear: boolean;
152
- value: number;
153
- count: number;
154
- char: JSX.Element;
155
- colors: {
156
- '2': string;
157
- '3': string;
158
- '5': string;
159
- };
160
- textPosition: textPositionType;
161
- }, never>> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
139
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
140
+ value?: number | undefined;
141
+ char?: React.ReactNode;
142
+ readOnly?: boolean | undefined;
143
+ half?: boolean | undefined;
144
+ count?: number | undefined;
145
+ allowClear?: boolean | undefined;
146
+ colors?: string | {
147
+ [propName: string]: string;
148
+ } | undefined;
149
+ textPosition?: textPositionType | undefined;
150
+ containerClass?: string | undefined;
151
+ } & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
162
152
  componentWillUnmount?(): void;
163
153
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
164
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
165
- containerClass: string;
166
- readOnly: boolean;
167
- half: boolean;
168
- allowClear: boolean;
169
- value: number;
170
- count: number;
171
- char: JSX.Element;
172
- colors: {
173
- '2': string;
174
- '3': string;
175
- '5': string;
176
- };
177
- textPosition: textPositionType;
178
- }, never>> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
179
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
180
- containerClass: string;
181
- readOnly: boolean;
182
- half: boolean;
183
- allowClear: boolean;
184
- value: number;
185
- count: number;
186
- char: JSX.Element;
187
- colors: {
188
- '2': string;
189
- '3': string;
190
- '5': string;
191
- };
192
- textPosition: textPositionType;
193
- }, never>> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
154
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
155
+ value?: number | undefined;
156
+ char?: React.ReactNode;
157
+ readOnly?: boolean | undefined;
158
+ half?: boolean | undefined;
159
+ count?: number | undefined;
160
+ allowClear?: boolean | undefined;
161
+ colors?: string | {
162
+ [propName: string]: string;
163
+ } | undefined;
164
+ textPosition?: textPositionType | undefined;
165
+ containerClass?: string | undefined;
166
+ } & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
167
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
168
+ value?: number | undefined;
169
+ char?: React.ReactNode;
170
+ readOnly?: boolean | undefined;
171
+ half?: boolean | undefined;
172
+ count?: number | undefined;
173
+ allowClear?: boolean | undefined;
174
+ colors?: string | {
175
+ [propName: string]: string;
176
+ } | undefined;
177
+ textPosition?: textPositionType | undefined;
178
+ containerClass?: string | undefined;
179
+ } & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
194
180
  componentWillMount?(): void;
195
181
  UNSAFE_componentWillMount?(): void;
196
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
197
- containerClass: string;
198
- readOnly: boolean;
199
- half: boolean;
200
- allowClear: boolean;
201
- value: number;
202
- count: number;
203
- char: JSX.Element;
204
- colors: {
205
- '2': string;
206
- '3': string;
207
- '5': string;
208
- };
209
- textPosition: textPositionType;
210
- }, never>> & import("../theme").ThemeOutterProps>, nextContext: any): void;
211
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
212
- containerClass: string;
213
- readOnly: boolean;
214
- half: boolean;
215
- allowClear: boolean;
216
- value: number;
217
- count: number;
218
- char: JSX.Element;
219
- colors: {
220
- '2': string;
221
- '3': string;
222
- '5': string;
223
- };
224
- textPosition: textPositionType;
225
- }, never>> & import("../theme").ThemeOutterProps>, nextContext: any): void;
226
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
227
- containerClass: string;
228
- readOnly: boolean;
229
- half: boolean;
230
- allowClear: boolean;
231
- value: number;
232
- count: number;
233
- char: JSX.Element;
234
- colors: {
235
- '2': string;
236
- '3': string;
237
- '5': string;
238
- };
239
- textPosition: textPositionType;
240
- }, never>> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
241
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
242
- containerClass: string;
243
- readOnly: boolean;
244
- half: boolean;
245
- allowClear: boolean;
246
- value: number;
247
- count: number;
248
- char: JSX.Element;
249
- colors: {
250
- '2': string;
251
- '3': string;
252
- '5': string;
253
- };
254
- textPosition: textPositionType;
255
- }, never>> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
182
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
183
+ value?: number | undefined;
184
+ char?: React.ReactNode;
185
+ readOnly?: boolean | undefined;
186
+ half?: boolean | undefined;
187
+ count?: number | undefined;
188
+ allowClear?: boolean | undefined;
189
+ colors?: string | {
190
+ [propName: string]: string;
191
+ } | undefined;
192
+ textPosition?: textPositionType | undefined;
193
+ containerClass?: string | undefined;
194
+ } & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
195
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
196
+ value?: number | undefined;
197
+ char?: React.ReactNode;
198
+ readOnly?: boolean | undefined;
199
+ half?: boolean | undefined;
200
+ count?: number | undefined;
201
+ allowClear?: boolean | undefined;
202
+ colors?: string | {
203
+ [propName: string]: string;
204
+ } | undefined;
205
+ textPosition?: textPositionType | undefined;
206
+ containerClass?: string | undefined;
207
+ } & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
208
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
209
+ value?: number | undefined;
210
+ char?: React.ReactNode;
211
+ readOnly?: boolean | undefined;
212
+ half?: boolean | undefined;
213
+ count?: number | undefined;
214
+ allowClear?: boolean | undefined;
215
+ colors?: string | {
216
+ [propName: string]: string;
217
+ } | undefined;
218
+ textPosition?: textPositionType | undefined;
219
+ containerClass?: string | undefined;
220
+ } & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
221
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
222
+ value?: number | undefined;
223
+ char?: React.ReactNode;
224
+ readOnly?: boolean | undefined;
225
+ half?: boolean | undefined;
226
+ count?: number | undefined;
227
+ allowClear?: boolean | undefined;
228
+ colors?: string | {
229
+ [propName: string]: string;
230
+ } | undefined;
231
+ textPosition?: textPositionType | undefined;
232
+ containerClass?: string | undefined;
233
+ } & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
256
234
  };
257
- new (props: Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
258
- containerClass: string;
259
- readOnly: boolean;
260
- half: boolean;
261
- allowClear: boolean;
262
- value: number;
263
- count: number;
264
- char: JSX.Element;
265
- colors: {
266
- '2': string;
267
- '3': string;
268
- '5': string;
269
- };
270
- textPosition: textPositionType;
271
- }, never>> & import("../theme").ThemeOutterProps, context: any): {
235
+ new (props: Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
236
+ value?: number | undefined;
237
+ char?: React.ReactNode;
238
+ readOnly?: boolean | undefined;
239
+ half?: boolean | undefined;
240
+ count?: number | undefined;
241
+ allowClear?: boolean | undefined;
242
+ colors?: string | {
243
+ [propName: string]: string;
244
+ } | undefined;
245
+ textPosition?: textPositionType | undefined;
246
+ containerClass?: string | undefined;
247
+ } & {} & import("../theme").ThemeOutterProps, context: any): {
272
248
  render(): JSX.Element;
273
249
  context: any;
274
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
275
- containerClass: string;
276
- readOnly: boolean;
277
- half: boolean;
278
- allowClear: boolean;
279
- value: number;
280
- count: number;
281
- char: JSX.Element;
282
- colors: {
283
- '2': string;
284
- '3': string;
285
- '5': string;
286
- };
287
- textPosition: textPositionType;
288
- }, never>> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
250
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
251
+ value?: number | undefined;
252
+ char?: React.ReactNode;
253
+ readOnly?: boolean | undefined;
254
+ half?: boolean | undefined;
255
+ count?: number | undefined;
256
+ allowClear?: boolean | undefined;
257
+ colors?: string | {
258
+ [propName: string]: string;
259
+ } | undefined;
260
+ textPosition?: textPositionType | undefined;
261
+ containerClass?: string | undefined;
262
+ } & {} & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
289
263
  forceUpdate(callback?: (() => void) | undefined): void;
290
- readonly props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
291
- containerClass: string;
292
- readOnly: boolean;
293
- half: boolean;
294
- allowClear: boolean;
295
- value: number;
296
- count: number;
297
- char: JSX.Element;
298
- colors: {
299
- '2': string;
300
- '3': string;
301
- '5': string;
302
- };
303
- textPosition: textPositionType;
304
- }, never>> & import("../theme").ThemeOutterProps> & Readonly<{
264
+ readonly props: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
265
+ value?: number | undefined;
266
+ char?: React.ReactNode;
267
+ readOnly?: boolean | undefined;
268
+ half?: boolean | undefined;
269
+ count?: number | undefined;
270
+ allowClear?: boolean | undefined;
271
+ colors?: string | {
272
+ [propName: string]: string;
273
+ } | undefined;
274
+ textPosition?: textPositionType | undefined;
275
+ containerClass?: string | undefined;
276
+ } & {} & import("../theme").ThemeOutterProps> & Readonly<{
305
277
  children?: React.ReactNode;
306
278
  }>;
307
279
  state: Readonly<{}>;
@@ -309,115 +281,101 @@ declare const _default: {
309
281
  [key: string]: React.ReactInstance;
310
282
  };
311
283
  componentDidMount?(): void;
312
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
313
- containerClass: string;
314
- readOnly: boolean;
315
- half: boolean;
316
- allowClear: boolean;
317
- value: number;
318
- count: number;
319
- char: JSX.Element;
320
- colors: {
321
- '2': string;
322
- '3': string;
323
- '5': string;
324
- };
325
- textPosition: textPositionType;
326
- }, never>> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
284
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
285
+ value?: number | undefined;
286
+ char?: React.ReactNode;
287
+ readOnly?: boolean | undefined;
288
+ half?: boolean | undefined;
289
+ count?: number | undefined;
290
+ allowClear?: boolean | undefined;
291
+ colors?: string | {
292
+ [propName: string]: string;
293
+ } | undefined;
294
+ textPosition?: textPositionType | undefined;
295
+ containerClass?: string | undefined;
296
+ } & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
327
297
  componentWillUnmount?(): void;
328
298
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
329
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
330
- containerClass: string;
331
- readOnly: boolean;
332
- half: boolean;
333
- allowClear: boolean;
334
- value: number;
335
- count: number;
336
- char: JSX.Element;
337
- colors: {
338
- '2': string;
339
- '3': string;
340
- '5': string;
341
- };
342
- textPosition: textPositionType;
343
- }, never>> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
344
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
345
- containerClass: string;
346
- readOnly: boolean;
347
- half: boolean;
348
- allowClear: boolean;
349
- value: number;
350
- count: number;
351
- char: JSX.Element;
352
- colors: {
353
- '2': string;
354
- '3': string;
355
- '5': string;
356
- };
357
- textPosition: textPositionType;
358
- }, never>> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
299
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
300
+ value?: number | undefined;
301
+ char?: React.ReactNode;
302
+ readOnly?: boolean | undefined;
303
+ half?: boolean | undefined;
304
+ count?: number | undefined;
305
+ allowClear?: boolean | undefined;
306
+ colors?: string | {
307
+ [propName: string]: string;
308
+ } | undefined;
309
+ textPosition?: textPositionType | undefined;
310
+ containerClass?: string | undefined;
311
+ } & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
312
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
313
+ value?: number | undefined;
314
+ char?: React.ReactNode;
315
+ readOnly?: boolean | undefined;
316
+ half?: boolean | undefined;
317
+ count?: number | undefined;
318
+ allowClear?: boolean | undefined;
319
+ colors?: string | {
320
+ [propName: string]: string;
321
+ } | undefined;
322
+ textPosition?: textPositionType | undefined;
323
+ containerClass?: string | undefined;
324
+ } & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
359
325
  componentWillMount?(): void;
360
326
  UNSAFE_componentWillMount?(): void;
361
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
362
- containerClass: string;
363
- readOnly: boolean;
364
- half: boolean;
365
- allowClear: boolean;
366
- value: number;
367
- count: number;
368
- char: JSX.Element;
369
- colors: {
370
- '2': string;
371
- '3': string;
372
- '5': string;
373
- };
374
- textPosition: textPositionType;
375
- }, never>> & import("../theme").ThemeOutterProps>, nextContext: any): void;
376
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
377
- containerClass: string;
378
- readOnly: boolean;
379
- half: boolean;
380
- allowClear: boolean;
381
- value: number;
382
- count: number;
383
- char: JSX.Element;
384
- colors: {
385
- '2': string;
386
- '3': string;
387
- '5': string;
388
- };
389
- textPosition: textPositionType;
390
- }, never>> & import("../theme").ThemeOutterProps>, nextContext: any): void;
391
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
392
- containerClass: string;
393
- readOnly: boolean;
394
- half: boolean;
395
- allowClear: boolean;
396
- value: number;
397
- count: number;
398
- char: JSX.Element;
399
- colors: {
400
- '2': string;
401
- '3': string;
402
- '5': string;
403
- };
404
- textPosition: textPositionType;
405
- }, never>> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
406
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & Partial<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "value" | "char" | "readOnly" | "half" | "count" | "allowClear" | "colors" | "textPosition" | "containerClass">> & Partial<Pick<{
407
- containerClass: string;
408
- readOnly: boolean;
409
- half: boolean;
410
- allowClear: boolean;
411
- value: number;
412
- count: number;
413
- char: JSX.Element;
414
- colors: {
415
- '2': string;
416
- '3': string;
417
- '5': string;
418
- };
419
- textPosition: textPositionType;
420
- }, never>> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
327
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
328
+ value?: number | undefined;
329
+ char?: React.ReactNode;
330
+ readOnly?: boolean | undefined;
331
+ half?: boolean | undefined;
332
+ count?: number | undefined;
333
+ allowClear?: boolean | undefined;
334
+ colors?: string | {
335
+ [propName: string]: string;
336
+ } | undefined;
337
+ textPosition?: textPositionType | undefined;
338
+ containerClass?: string | undefined;
339
+ } & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
340
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
341
+ value?: number | undefined;
342
+ char?: React.ReactNode;
343
+ readOnly?: boolean | undefined;
344
+ half?: boolean | undefined;
345
+ count?: number | undefined;
346
+ allowClear?: boolean | undefined;
347
+ colors?: string | {
348
+ [propName: string]: string;
349
+ } | undefined;
350
+ textPosition?: textPositionType | undefined;
351
+ containerClass?: string | undefined;
352
+ } & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
353
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
354
+ value?: number | undefined;
355
+ char?: React.ReactNode;
356
+ readOnly?: boolean | undefined;
357
+ half?: boolean | undefined;
358
+ count?: number | undefined;
359
+ allowClear?: boolean | undefined;
360
+ colors?: string | {
361
+ [propName: string]: string;
362
+ } | undefined;
363
+ textPosition?: textPositionType | undefined;
364
+ containerClass?: string | undefined;
365
+ } & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
366
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<RatingProps, keyof import("../theme").ThemeProps>, "style" | "key" | "disabled" | "id" | "onChange" | "inactiveColor" | "texts" | "charClassName" | "textClassName" | "onHoverChange"> & {
367
+ value?: number | undefined;
368
+ char?: React.ReactNode;
369
+ readOnly?: boolean | undefined;
370
+ half?: boolean | undefined;
371
+ count?: number | undefined;
372
+ allowClear?: boolean | undefined;
373
+ colors?: string | {
374
+ [propName: string]: string;
375
+ } | undefined;
376
+ textPosition?: textPositionType | undefined;
377
+ containerClass?: string | undefined;
378
+ } & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
421
379
  };
422
380
  displayName: string;
423
381
  contextType: React.Context<string>;