amis 1.6.0 → 1.6.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Alert.d.ts +588 -588
- package/lib/components/Alert2.d.ts +125 -20
- package/lib/components/AnchorNav.d.ts +104 -20
- package/lib/components/ArrayInput.d.ts +420 -420
- package/lib/components/AsideNav.d.ts +125 -125
- package/lib/components/AssociatedSelection.d.ts +504 -504
- package/lib/components/Avatar.d.ts +461 -20
- package/lib/components/Button.d.ts +167 -20
- package/lib/components/CalendarMobile.d.ts +420 -84
- package/lib/components/Card.d.ts +671 -20
- package/lib/components/ChainedSelection.d.ts +504 -504
- package/lib/components/Checkbox.d.ts +104 -20
- package/lib/components/Collapse.d.ts +587 -20
- package/lib/components/CollapseGroup.d.ts +230 -20
- package/lib/components/ColorPicker.d.ts +504 -504
- package/lib/components/DatePicker.d.ts +588 -588
- package/lib/components/DateRangePicker.d.ts +1008 -1008
- package/lib/components/Drawer.d.ts +125 -20
- package/lib/components/Editor.d.ts +840 -672
- package/lib/components/GroupedSelection.d.ts +504 -504
- package/lib/components/Html.d.ts +62 -62
- package/lib/components/InputBox.d.ts +83 -83
- package/lib/components/Layout.d.ts +146 -146
- package/lib/components/ListGroup.d.ts +62 -62
- package/lib/components/ListMenu.d.ts +504 -504
- package/lib/components/LocationPicker.d.ts +336 -336
- package/lib/components/Modal.d.ts +420 -420
- package/lib/components/MonthRangePicker.d.ts +924 -924
- package/lib/components/NumberInput.d.ts +104 -20
- package/lib/components/PopUp.d.ts +672 -672
- package/lib/components/Progress.d.ts +440 -20
- package/lib/components/Radios.d.ts +167 -167
- package/lib/components/Rating.d.ts +272 -314
- package/lib/components/ResultBox.d.ts +504 -84
- package/lib/components/ResultList.d.ts +336 -84
- package/lib/components/SearchBox.d.ts +336 -336
- package/lib/components/Select.d.ts +4977 -4977
- package/lib/components/Selection.d.ts +504 -504
- package/lib/components/SparkLine.d.ts +336 -336
- package/lib/components/Spinner.d.ts +146 -146
- package/lib/components/Switch.d.ts +83 -83
- package/lib/components/TableSelection.d.ts +672 -672
- package/lib/components/Tabs.d.ts +83 -20
- package/lib/components/TitleBar.d.ts +146 -125
- package/lib/components/Toast.d.ts +504 -84
- package/lib/components/TooltipWrapper.d.ts +125 -20
- package/lib/components/Transfer.d.ts +252 -84
- package/lib/components/TransferDropDown.d.ts +252 -84
- package/lib/components/Tree.d.ts +2688 -2688
- package/lib/components/TreeSelection.d.ts +588 -588
- package/lib/components/formula/Editor.d.ts +420 -84
- package/lib/index.js +1 -1
- package/lib/renderers/Dialog.d.ts +420 -420
- package/lib/renderers/Form/InputCity.d.ts +672 -672
- package/lib/renderers/Form/InputColor.d.ts +504 -504
- package/lib/renderers/Nav.d.ts +62 -62
- package/package.json +1 -1
- package/sdk/ang-ie11.css +1 -0
- package/sdk/ang.css +1 -0
- package/sdk/antd-ie11.css +1 -0
- package/sdk/antd.css +1 -0
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1 -0
- package/sdk/cxd.css +1 -0
- package/sdk/dark-ie11.css +1 -0
- package/sdk/dark.css +1 -0
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +3 -3
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -0
- package/sdk/sdk.css +1 -0
- package/sdk/sdk.js +1318 -1253
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
@@ -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"> &
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
allowClear
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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"> &
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
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"> &
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
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"> &
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
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"> &
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
allowClear
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
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"> &
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
allowClear
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
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"> &
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
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"> &
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
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"> &
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
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"> &
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
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"> &
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
allowClear
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
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"> &
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
allowClear
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
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>;
|