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