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
@@ -34,49 +34,49 @@ export declare class ListMenu extends React.Component<ListMenuProps> {
|
|
34
34
|
render(): JSX.Element;
|
35
35
|
}
|
36
36
|
declare const _default: {
|
37
|
-
new (props: (Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
38
|
-
placeholder
|
39
|
-
itemRender
|
40
|
-
getItemProps
|
37
|
+
new (props: (Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
38
|
+
placeholder?: string | undefined;
|
39
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
40
|
+
getItemProps?: ((props: {
|
41
41
|
item: Option;
|
42
42
|
index: number;
|
43
|
-
}) =>
|
44
|
-
}
|
43
|
+
}) => any) | undefined;
|
44
|
+
} & {} & {
|
45
45
|
locale?: string | undefined;
|
46
46
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
47
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
48
|
-
placeholder
|
49
|
-
itemRender
|
50
|
-
getItemProps
|
47
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
48
|
+
placeholder?: string | undefined;
|
49
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
50
|
+
getItemProps?: ((props: {
|
51
51
|
item: Option;
|
52
52
|
index: number;
|
53
|
-
}) =>
|
54
|
-
}
|
53
|
+
}) => any) | undefined;
|
54
|
+
} & {} & {
|
55
55
|
locale?: string | undefined;
|
56
56
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
57
57
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
58
58
|
render(): JSX.Element;
|
59
59
|
context: any;
|
60
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
61
|
-
placeholder
|
62
|
-
itemRender
|
63
|
-
getItemProps
|
60
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
61
|
+
placeholder?: string | undefined;
|
62
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
63
|
+
getItemProps?: ((props: {
|
64
64
|
item: Option;
|
65
65
|
index: number;
|
66
|
-
}) =>
|
67
|
-
}
|
66
|
+
}) => any) | undefined;
|
67
|
+
} & {} & {
|
68
68
|
locale?: string | undefined;
|
69
69
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
70
70
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
71
71
|
forceUpdate(callback?: (() => void) | undefined): void;
|
72
|
-
readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
73
|
-
placeholder
|
74
|
-
itemRender
|
75
|
-
getItemProps
|
72
|
+
readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
73
|
+
placeholder?: string | undefined;
|
74
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
75
|
+
getItemProps?: ((props: {
|
76
76
|
item: Option;
|
77
77
|
index: number;
|
78
|
-
}) =>
|
79
|
-
}
|
78
|
+
}) => any) | undefined;
|
79
|
+
} & {} & {
|
80
80
|
locale?: string | undefined;
|
81
81
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
82
82
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -87,121 +87,121 @@ declare const _default: {
|
|
87
87
|
[key: string]: React.ReactInstance;
|
88
88
|
};
|
89
89
|
componentDidMount?(): void;
|
90
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
91
|
-
placeholder
|
92
|
-
itemRender
|
93
|
-
getItemProps
|
90
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
91
|
+
placeholder?: string | undefined;
|
92
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
93
|
+
getItemProps?: ((props: {
|
94
94
|
item: Option;
|
95
95
|
index: number;
|
96
|
-
}) =>
|
97
|
-
}
|
96
|
+
}) => any) | undefined;
|
97
|
+
} & {} & {
|
98
98
|
locale?: string | undefined;
|
99
99
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
100
100
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
101
101
|
componentWillUnmount?(): void;
|
102
102
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
103
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
104
|
-
placeholder
|
105
|
-
itemRender
|
106
|
-
getItemProps
|
103
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
104
|
+
placeholder?: string | undefined;
|
105
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
106
|
+
getItemProps?: ((props: {
|
107
107
|
item: Option;
|
108
108
|
index: number;
|
109
|
-
}) =>
|
110
|
-
}
|
109
|
+
}) => any) | undefined;
|
110
|
+
} & {} & {
|
111
111
|
locale?: string | undefined;
|
112
112
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
113
113
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
114
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
115
|
-
placeholder
|
116
|
-
itemRender
|
117
|
-
getItemProps
|
114
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
115
|
+
placeholder?: string | undefined;
|
116
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
117
|
+
getItemProps?: ((props: {
|
118
118
|
item: Option;
|
119
119
|
index: number;
|
120
|
-
}) =>
|
121
|
-
}
|
120
|
+
}) => any) | undefined;
|
121
|
+
} & {} & {
|
122
122
|
locale?: string | undefined;
|
123
123
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
124
124
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
125
125
|
componentWillMount?(): void;
|
126
126
|
UNSAFE_componentWillMount?(): void;
|
127
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
128
|
-
placeholder
|
129
|
-
itemRender
|
130
|
-
getItemProps
|
127
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
128
|
+
placeholder?: string | undefined;
|
129
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
130
|
+
getItemProps?: ((props: {
|
131
131
|
item: Option;
|
132
132
|
index: number;
|
133
|
-
}) =>
|
134
|
-
}
|
133
|
+
}) => any) | undefined;
|
134
|
+
} & {} & {
|
135
135
|
locale?: string | undefined;
|
136
136
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
137
137
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
138
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
139
|
-
placeholder
|
140
|
-
itemRender
|
141
|
-
getItemProps
|
138
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
139
|
+
placeholder?: string | undefined;
|
140
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
141
|
+
getItemProps?: ((props: {
|
142
142
|
item: Option;
|
143
143
|
index: number;
|
144
|
-
}) =>
|
145
|
-
}
|
144
|
+
}) => any) | undefined;
|
145
|
+
} & {} & {
|
146
146
|
locale?: string | undefined;
|
147
147
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
148
148
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
149
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
150
|
-
placeholder
|
151
|
-
itemRender
|
152
|
-
getItemProps
|
149
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
150
|
+
placeholder?: string | undefined;
|
151
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
152
|
+
getItemProps?: ((props: {
|
153
153
|
item: Option;
|
154
154
|
index: number;
|
155
|
-
}) =>
|
156
|
-
}
|
155
|
+
}) => any) | undefined;
|
156
|
+
} & {} & {
|
157
157
|
locale?: string | undefined;
|
158
158
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
159
159
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
160
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
161
|
-
placeholder
|
162
|
-
itemRender
|
163
|
-
getItemProps
|
160
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
161
|
+
placeholder?: string | undefined;
|
162
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
163
|
+
getItemProps?: ((props: {
|
164
164
|
item: Option;
|
165
165
|
index: number;
|
166
|
-
}) =>
|
167
|
-
}
|
166
|
+
}) => any) | undefined;
|
167
|
+
} & {} & {
|
168
168
|
locale?: string | undefined;
|
169
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
170
170
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
171
171
|
};
|
172
|
-
new (props: Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
173
|
-
placeholder
|
174
|
-
itemRender
|
175
|
-
getItemProps
|
172
|
+
new (props: Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
173
|
+
placeholder?: string | undefined;
|
174
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
175
|
+
getItemProps?: ((props: {
|
176
176
|
item: Option;
|
177
177
|
index: number;
|
178
|
-
}) =>
|
179
|
-
}
|
178
|
+
}) => any) | undefined;
|
179
|
+
} & {} & {
|
180
180
|
locale?: string | undefined;
|
181
181
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
182
182
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
183
183
|
render(): JSX.Element;
|
184
184
|
context: any;
|
185
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
186
|
-
placeholder
|
187
|
-
itemRender
|
188
|
-
getItemProps
|
185
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
186
|
+
placeholder?: string | undefined;
|
187
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
188
|
+
getItemProps?: ((props: {
|
189
189
|
item: Option;
|
190
190
|
index: number;
|
191
|
-
}) =>
|
192
|
-
}
|
191
|
+
}) => any) | undefined;
|
192
|
+
} & {} & {
|
193
193
|
locale?: string | undefined;
|
194
194
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
195
195
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
196
196
|
forceUpdate(callback?: (() => void) | undefined): void;
|
197
|
-
readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
198
|
-
placeholder
|
199
|
-
itemRender
|
200
|
-
getItemProps
|
197
|
+
readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
198
|
+
placeholder?: string | undefined;
|
199
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
200
|
+
getItemProps?: ((props: {
|
201
201
|
item: Option;
|
202
202
|
index: number;
|
203
|
-
}) =>
|
204
|
-
}
|
203
|
+
}) => any) | undefined;
|
204
|
+
} & {} & {
|
205
205
|
locale?: string | undefined;
|
206
206
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
207
207
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -212,84 +212,84 @@ declare const _default: {
|
|
212
212
|
[key: string]: React.ReactInstance;
|
213
213
|
};
|
214
214
|
componentDidMount?(): void;
|
215
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
216
|
-
placeholder
|
217
|
-
itemRender
|
218
|
-
getItemProps
|
215
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
216
|
+
placeholder?: string | undefined;
|
217
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
218
|
+
getItemProps?: ((props: {
|
219
219
|
item: Option;
|
220
220
|
index: number;
|
221
|
-
}) =>
|
222
|
-
}
|
221
|
+
}) => any) | undefined;
|
222
|
+
} & {} & {
|
223
223
|
locale?: string | undefined;
|
224
224
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
225
225
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
226
226
|
componentWillUnmount?(): void;
|
227
227
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
228
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
229
|
-
placeholder
|
230
|
-
itemRender
|
231
|
-
getItemProps
|
228
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
229
|
+
placeholder?: string | undefined;
|
230
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
231
|
+
getItemProps?: ((props: {
|
232
232
|
item: Option;
|
233
233
|
index: number;
|
234
|
-
}) =>
|
235
|
-
}
|
234
|
+
}) => any) | undefined;
|
235
|
+
} & {} & {
|
236
236
|
locale?: string | undefined;
|
237
237
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
238
238
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
239
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
240
|
-
placeholder
|
241
|
-
itemRender
|
242
|
-
getItemProps
|
239
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
240
|
+
placeholder?: string | undefined;
|
241
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
242
|
+
getItemProps?: ((props: {
|
243
243
|
item: Option;
|
244
244
|
index: number;
|
245
|
-
}) =>
|
246
|
-
}
|
245
|
+
}) => any) | undefined;
|
246
|
+
} & {} & {
|
247
247
|
locale?: string | undefined;
|
248
248
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
249
249
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
250
250
|
componentWillMount?(): void;
|
251
251
|
UNSAFE_componentWillMount?(): void;
|
252
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
253
|
-
placeholder
|
254
|
-
itemRender
|
255
|
-
getItemProps
|
252
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
253
|
+
placeholder?: string | undefined;
|
254
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
255
|
+
getItemProps?: ((props: {
|
256
256
|
item: Option;
|
257
257
|
index: number;
|
258
|
-
}) =>
|
259
|
-
}
|
258
|
+
}) => any) | undefined;
|
259
|
+
} & {} & {
|
260
260
|
locale?: string | undefined;
|
261
261
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
262
262
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
263
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
264
|
-
placeholder
|
265
|
-
itemRender
|
266
|
-
getItemProps
|
263
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
264
|
+
placeholder?: string | undefined;
|
265
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
266
|
+
getItemProps?: ((props: {
|
267
267
|
item: Option;
|
268
268
|
index: number;
|
269
|
-
}) =>
|
270
|
-
}
|
269
|
+
}) => any) | undefined;
|
270
|
+
} & {} & {
|
271
271
|
locale?: string | undefined;
|
272
272
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
273
273
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
274
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
275
|
-
placeholder
|
276
|
-
itemRender
|
277
|
-
getItemProps
|
274
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
275
|
+
placeholder?: string | undefined;
|
276
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
277
|
+
getItemProps?: ((props: {
|
278
278
|
item: Option;
|
279
279
|
index: number;
|
280
|
-
}) =>
|
281
|
-
}
|
280
|
+
}) => any) | undefined;
|
281
|
+
} & {} & {
|
282
282
|
locale?: string | undefined;
|
283
283
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
284
284
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
285
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
286
|
-
placeholder
|
287
|
-
itemRender
|
288
|
-
getItemProps
|
285
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
286
|
+
placeholder?: string | undefined;
|
287
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
288
|
+
getItemProps?: ((props: {
|
289
289
|
item: Option;
|
290
290
|
index: number;
|
291
|
-
}) =>
|
292
|
-
}
|
291
|
+
}) => any) | undefined;
|
292
|
+
} & {} & {
|
293
293
|
locale?: string | undefined;
|
294
294
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
295
295
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -297,49 +297,49 @@ declare const _default: {
|
|
297
297
|
displayName: string;
|
298
298
|
contextType: React.Context<string>;
|
299
299
|
ComposedComponent: React.ComponentType<{
|
300
|
-
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
301
|
-
placeholder
|
302
|
-
itemRender
|
303
|
-
getItemProps
|
300
|
+
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
301
|
+
placeholder?: string | undefined;
|
302
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
303
|
+
getItemProps?: ((props: {
|
304
304
|
item: Option;
|
305
305
|
index: number;
|
306
|
-
}) =>
|
307
|
-
}
|
306
|
+
}) => any) | undefined;
|
307
|
+
} & {} & {
|
308
308
|
locale?: string | undefined;
|
309
309
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
310
|
-
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
311
|
-
placeholder
|
312
|
-
itemRender
|
313
|
-
getItemProps
|
310
|
+
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
311
|
+
placeholder?: string | undefined;
|
312
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
313
|
+
getItemProps?: ((props: {
|
314
314
|
item: Option;
|
315
315
|
index: number;
|
316
|
-
}) =>
|
317
|
-
}
|
316
|
+
}) => any) | undefined;
|
317
|
+
} & {} & {
|
318
318
|
locale?: string | undefined;
|
319
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
320
320
|
}>): {
|
321
321
|
render(): JSX.Element;
|
322
322
|
context: any;
|
323
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
324
|
-
placeholder
|
325
|
-
itemRender
|
326
|
-
getItemProps
|
323
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
324
|
+
placeholder?: string | undefined;
|
325
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
326
|
+
getItemProps?: ((props: {
|
327
327
|
item: Option;
|
328
328
|
index: number;
|
329
|
-
}) =>
|
330
|
-
}
|
329
|
+
}) => any) | undefined;
|
330
|
+
} & {} & {
|
331
331
|
locale?: string | undefined;
|
332
332
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
333
333
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
334
334
|
forceUpdate(callback?: (() => void) | undefined): void;
|
335
|
-
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
336
|
-
placeholder
|
337
|
-
itemRender
|
338
|
-
getItemProps
|
335
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
336
|
+
placeholder?: string | undefined;
|
337
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
338
|
+
getItemProps?: ((props: {
|
339
339
|
item: Option;
|
340
340
|
index: number;
|
341
|
-
}) =>
|
342
|
-
}
|
341
|
+
}) => any) | undefined;
|
342
|
+
} & {} & {
|
343
343
|
locale?: string | undefined;
|
344
344
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
345
345
|
}> & Readonly<{
|
@@ -350,121 +350,121 @@ declare const _default: {
|
|
350
350
|
[key: string]: React.ReactInstance;
|
351
351
|
};
|
352
352
|
componentDidMount?(): void;
|
353
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
354
|
-
placeholder
|
355
|
-
itemRender
|
356
|
-
getItemProps
|
353
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
354
|
+
placeholder?: string | undefined;
|
355
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
356
|
+
getItemProps?: ((props: {
|
357
357
|
item: Option;
|
358
358
|
index: number;
|
359
|
-
}) =>
|
360
|
-
}
|
359
|
+
}) => any) | undefined;
|
360
|
+
} & {} & {
|
361
361
|
locale?: string | undefined;
|
362
362
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
363
363
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
364
364
|
componentWillUnmount?(): void;
|
365
365
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
366
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
367
|
-
placeholder
|
368
|
-
itemRender
|
369
|
-
getItemProps
|
366
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
367
|
+
placeholder?: string | undefined;
|
368
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
369
|
+
getItemProps?: ((props: {
|
370
370
|
item: Option;
|
371
371
|
index: number;
|
372
|
-
}) =>
|
373
|
-
}
|
372
|
+
}) => any) | undefined;
|
373
|
+
} & {} & {
|
374
374
|
locale?: string | undefined;
|
375
375
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
376
376
|
}>, prevState: Readonly<{}>): any;
|
377
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
378
|
-
placeholder
|
379
|
-
itemRender
|
380
|
-
getItemProps
|
377
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
378
|
+
placeholder?: string | undefined;
|
379
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
380
|
+
getItemProps?: ((props: {
|
381
381
|
item: Option;
|
382
382
|
index: number;
|
383
|
-
}) =>
|
384
|
-
}
|
383
|
+
}) => any) | undefined;
|
384
|
+
} & {} & {
|
385
385
|
locale?: string | undefined;
|
386
386
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
387
387
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
388
388
|
componentWillMount?(): void;
|
389
389
|
UNSAFE_componentWillMount?(): void;
|
390
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
391
|
-
placeholder
|
392
|
-
itemRender
|
393
|
-
getItemProps
|
390
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
391
|
+
placeholder?: string | undefined;
|
392
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
393
|
+
getItemProps?: ((props: {
|
394
394
|
item: Option;
|
395
395
|
index: number;
|
396
|
-
}) =>
|
397
|
-
}
|
396
|
+
}) => any) | undefined;
|
397
|
+
} & {} & {
|
398
398
|
locale?: string | undefined;
|
399
399
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
400
400
|
}>, nextContext: any): void;
|
401
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
402
|
-
placeholder
|
403
|
-
itemRender
|
404
|
-
getItemProps
|
401
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
402
|
+
placeholder?: string | undefined;
|
403
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
404
|
+
getItemProps?: ((props: {
|
405
405
|
item: Option;
|
406
406
|
index: number;
|
407
|
-
}) =>
|
408
|
-
}
|
407
|
+
}) => any) | undefined;
|
408
|
+
} & {} & {
|
409
409
|
locale?: string | undefined;
|
410
410
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
411
411
|
}>, nextContext: any): void;
|
412
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
413
|
-
placeholder
|
414
|
-
itemRender
|
415
|
-
getItemProps
|
412
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
413
|
+
placeholder?: string | undefined;
|
414
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
415
|
+
getItemProps?: ((props: {
|
416
416
|
item: Option;
|
417
417
|
index: number;
|
418
|
-
}) =>
|
419
|
-
}
|
418
|
+
}) => any) | undefined;
|
419
|
+
} & {} & {
|
420
420
|
locale?: string | undefined;
|
421
421
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
422
422
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
423
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
424
|
-
placeholder
|
425
|
-
itemRender
|
426
|
-
getItemProps
|
423
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
424
|
+
placeholder?: string | undefined;
|
425
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
426
|
+
getItemProps?: ((props: {
|
427
427
|
item: Option;
|
428
428
|
index: number;
|
429
|
-
}) =>
|
430
|
-
}
|
429
|
+
}) => any) | undefined;
|
430
|
+
} & {} & {
|
431
431
|
locale?: string | undefined;
|
432
432
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
433
433
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
434
434
|
};
|
435
|
-
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
436
|
-
placeholder
|
437
|
-
itemRender
|
438
|
-
getItemProps
|
435
|
+
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
436
|
+
placeholder?: string | undefined;
|
437
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
438
|
+
getItemProps?: ((props: {
|
439
439
|
item: Option;
|
440
440
|
index: number;
|
441
|
-
}) =>
|
442
|
-
}
|
441
|
+
}) => any) | undefined;
|
442
|
+
} & {} & {
|
443
443
|
locale?: string | undefined;
|
444
444
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
445
445
|
}, context: any): {
|
446
446
|
render(): JSX.Element;
|
447
447
|
context: any;
|
448
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
449
|
-
placeholder
|
450
|
-
itemRender
|
451
|
-
getItemProps
|
448
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
449
|
+
placeholder?: string | undefined;
|
450
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
451
|
+
getItemProps?: ((props: {
|
452
452
|
item: Option;
|
453
453
|
index: number;
|
454
|
-
}) =>
|
455
|
-
}
|
454
|
+
}) => any) | undefined;
|
455
|
+
} & {} & {
|
456
456
|
locale?: string | undefined;
|
457
457
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
458
458
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
459
459
|
forceUpdate(callback?: (() => void) | undefined): void;
|
460
|
-
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
461
|
-
placeholder
|
462
|
-
itemRender
|
463
|
-
getItemProps
|
460
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
461
|
+
placeholder?: string | undefined;
|
462
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
463
|
+
getItemProps?: ((props: {
|
464
464
|
item: Option;
|
465
465
|
index: number;
|
466
|
-
}) =>
|
467
|
-
}
|
466
|
+
}) => any) | undefined;
|
467
|
+
} & {} & {
|
468
468
|
locale?: string | undefined;
|
469
469
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
470
470
|
}> & Readonly<{
|
@@ -475,84 +475,84 @@ declare const _default: {
|
|
475
475
|
[key: string]: React.ReactInstance;
|
476
476
|
};
|
477
477
|
componentDidMount?(): void;
|
478
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
479
|
-
placeholder
|
480
|
-
itemRender
|
481
|
-
getItemProps
|
478
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
479
|
+
placeholder?: string | undefined;
|
480
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
481
|
+
getItemProps?: ((props: {
|
482
482
|
item: Option;
|
483
483
|
index: number;
|
484
|
-
}) =>
|
485
|
-
}
|
484
|
+
}) => any) | undefined;
|
485
|
+
} & {} & {
|
486
486
|
locale?: string | undefined;
|
487
487
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
488
488
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
489
489
|
componentWillUnmount?(): void;
|
490
490
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
491
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
492
|
-
placeholder
|
493
|
-
itemRender
|
494
|
-
getItemProps
|
491
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
492
|
+
placeholder?: string | undefined;
|
493
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
494
|
+
getItemProps?: ((props: {
|
495
495
|
item: Option;
|
496
496
|
index: number;
|
497
|
-
}) =>
|
498
|
-
}
|
497
|
+
}) => any) | undefined;
|
498
|
+
} & {} & {
|
499
499
|
locale?: string | undefined;
|
500
500
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
501
501
|
}>, prevState: Readonly<{}>): any;
|
502
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
503
|
-
placeholder
|
504
|
-
itemRender
|
505
|
-
getItemProps
|
502
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
503
|
+
placeholder?: string | undefined;
|
504
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
505
|
+
getItemProps?: ((props: {
|
506
506
|
item: Option;
|
507
507
|
index: number;
|
508
|
-
}) =>
|
509
|
-
}
|
508
|
+
}) => any) | undefined;
|
509
|
+
} & {} & {
|
510
510
|
locale?: string | undefined;
|
511
511
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
512
512
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
513
513
|
componentWillMount?(): void;
|
514
514
|
UNSAFE_componentWillMount?(): void;
|
515
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
516
|
-
placeholder
|
517
|
-
itemRender
|
518
|
-
getItemProps
|
515
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
516
|
+
placeholder?: string | undefined;
|
517
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
518
|
+
getItemProps?: ((props: {
|
519
519
|
item: Option;
|
520
520
|
index: number;
|
521
|
-
}) =>
|
522
|
-
}
|
521
|
+
}) => any) | undefined;
|
522
|
+
} & {} & {
|
523
523
|
locale?: string | undefined;
|
524
524
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
525
525
|
}>, nextContext: any): void;
|
526
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
527
|
-
placeholder
|
528
|
-
itemRender
|
529
|
-
getItemProps
|
526
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
527
|
+
placeholder?: string | undefined;
|
528
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
529
|
+
getItemProps?: ((props: {
|
530
530
|
item: Option;
|
531
531
|
index: number;
|
532
|
-
}) =>
|
533
|
-
}
|
532
|
+
}) => any) | undefined;
|
533
|
+
} & {} & {
|
534
534
|
locale?: string | undefined;
|
535
535
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
536
536
|
}>, nextContext: any): void;
|
537
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
538
|
-
placeholder
|
539
|
-
itemRender
|
540
|
-
getItemProps
|
537
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
538
|
+
placeholder?: string | undefined;
|
539
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
540
|
+
getItemProps?: ((props: {
|
541
541
|
item: Option;
|
542
542
|
index: number;
|
543
|
-
}) =>
|
544
|
-
}
|
543
|
+
}) => any) | undefined;
|
544
|
+
} & {} & {
|
545
545
|
locale?: string | undefined;
|
546
546
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
547
547
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
548
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
549
|
-
placeholder
|
550
|
-
itemRender
|
551
|
-
getItemProps
|
548
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
549
|
+
placeholder?: string | undefined;
|
550
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
551
|
+
getItemProps?: ((props: {
|
552
552
|
item: Option;
|
553
553
|
index: number;
|
554
|
-
}) =>
|
555
|
-
}
|
554
|
+
}) => any) | undefined;
|
555
|
+
} & {} & {
|
556
556
|
locale?: string | undefined;
|
557
557
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
558
558
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -564,49 +564,49 @@ declare const _default: {
|
|
564
564
|
ComposedComponent: typeof ListMenu;
|
565
565
|
}>;
|
566
566
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
567
|
-
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
568
|
-
placeholder
|
569
|
-
itemRender
|
570
|
-
getItemProps
|
567
|
+
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
568
|
+
placeholder?: string | undefined;
|
569
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
570
|
+
getItemProps?: ((props: {
|
571
571
|
item: Option;
|
572
572
|
index: number;
|
573
|
-
}) =>
|
574
|
-
}
|
573
|
+
}) => any) | undefined;
|
574
|
+
} & {} & {
|
575
575
|
locale?: string | undefined;
|
576
576
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
577
|
-
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
578
|
-
placeholder
|
579
|
-
itemRender
|
580
|
-
getItemProps
|
577
|
+
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
578
|
+
placeholder?: string | undefined;
|
579
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
580
|
+
getItemProps?: ((props: {
|
581
581
|
item: Option;
|
582
582
|
index: number;
|
583
|
-
}) =>
|
584
|
-
}
|
583
|
+
}) => any) | undefined;
|
584
|
+
} & {} & {
|
585
585
|
locale?: string | undefined;
|
586
586
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
587
587
|
}>): {
|
588
588
|
render(): JSX.Element;
|
589
589
|
context: any;
|
590
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
591
|
-
placeholder
|
592
|
-
itemRender
|
593
|
-
getItemProps
|
590
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
591
|
+
placeholder?: string | undefined;
|
592
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
593
|
+
getItemProps?: ((props: {
|
594
594
|
item: Option;
|
595
595
|
index: number;
|
596
|
-
}) =>
|
597
|
-
}
|
596
|
+
}) => any) | undefined;
|
597
|
+
} & {} & {
|
598
598
|
locale?: string | undefined;
|
599
599
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
600
600
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
601
601
|
forceUpdate(callback?: (() => void) | undefined): void;
|
602
|
-
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
603
|
-
placeholder
|
604
|
-
itemRender
|
605
|
-
getItemProps
|
602
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
603
|
+
placeholder?: string | undefined;
|
604
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
605
|
+
getItemProps?: ((props: {
|
606
606
|
item: Option;
|
607
607
|
index: number;
|
608
|
-
}) =>
|
609
|
-
}
|
608
|
+
}) => any) | undefined;
|
609
|
+
} & {} & {
|
610
610
|
locale?: string | undefined;
|
611
611
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
612
612
|
}> & Readonly<{
|
@@ -617,121 +617,121 @@ declare const _default: {
|
|
617
617
|
[key: string]: React.ReactInstance;
|
618
618
|
};
|
619
619
|
componentDidMount?(): void;
|
620
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
621
|
-
placeholder
|
622
|
-
itemRender
|
623
|
-
getItemProps
|
620
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
621
|
+
placeholder?: string | undefined;
|
622
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
623
|
+
getItemProps?: ((props: {
|
624
624
|
item: Option;
|
625
625
|
index: number;
|
626
|
-
}) =>
|
627
|
-
}
|
626
|
+
}) => any) | undefined;
|
627
|
+
} & {} & {
|
628
628
|
locale?: string | undefined;
|
629
629
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
630
630
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
631
631
|
componentWillUnmount?(): void;
|
632
632
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
633
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
634
|
-
placeholder
|
635
|
-
itemRender
|
636
|
-
getItemProps
|
633
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
634
|
+
placeholder?: string | undefined;
|
635
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
636
|
+
getItemProps?: ((props: {
|
637
637
|
item: Option;
|
638
638
|
index: number;
|
639
|
-
}) =>
|
640
|
-
}
|
639
|
+
}) => any) | undefined;
|
640
|
+
} & {} & {
|
641
641
|
locale?: string | undefined;
|
642
642
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
643
643
|
}>, prevState: Readonly<{}>): any;
|
644
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
645
|
-
placeholder
|
646
|
-
itemRender
|
647
|
-
getItemProps
|
644
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
645
|
+
placeholder?: string | undefined;
|
646
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
647
|
+
getItemProps?: ((props: {
|
648
648
|
item: Option;
|
649
649
|
index: number;
|
650
|
-
}) =>
|
651
|
-
}
|
650
|
+
}) => any) | undefined;
|
651
|
+
} & {} & {
|
652
652
|
locale?: string | undefined;
|
653
653
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
654
654
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
655
655
|
componentWillMount?(): void;
|
656
656
|
UNSAFE_componentWillMount?(): void;
|
657
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
658
|
-
placeholder
|
659
|
-
itemRender
|
660
|
-
getItemProps
|
657
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
658
|
+
placeholder?: string | undefined;
|
659
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
660
|
+
getItemProps?: ((props: {
|
661
661
|
item: Option;
|
662
662
|
index: number;
|
663
|
-
}) =>
|
664
|
-
}
|
663
|
+
}) => any) | undefined;
|
664
|
+
} & {} & {
|
665
665
|
locale?: string | undefined;
|
666
666
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
667
667
|
}>, nextContext: any): void;
|
668
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
669
|
-
placeholder
|
670
|
-
itemRender
|
671
|
-
getItemProps
|
668
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
669
|
+
placeholder?: string | undefined;
|
670
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
671
|
+
getItemProps?: ((props: {
|
672
672
|
item: Option;
|
673
673
|
index: number;
|
674
|
-
}) =>
|
675
|
-
}
|
674
|
+
}) => any) | undefined;
|
675
|
+
} & {} & {
|
676
676
|
locale?: string | undefined;
|
677
677
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
678
678
|
}>, nextContext: any): void;
|
679
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
680
|
-
placeholder
|
681
|
-
itemRender
|
682
|
-
getItemProps
|
679
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
680
|
+
placeholder?: string | undefined;
|
681
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
682
|
+
getItemProps?: ((props: {
|
683
683
|
item: Option;
|
684
684
|
index: number;
|
685
|
-
}) =>
|
686
|
-
}
|
685
|
+
}) => any) | undefined;
|
686
|
+
} & {} & {
|
687
687
|
locale?: string | undefined;
|
688
688
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
689
689
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
690
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
691
|
-
placeholder
|
692
|
-
itemRender
|
693
|
-
getItemProps
|
690
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
691
|
+
placeholder?: string | undefined;
|
692
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
693
|
+
getItemProps?: ((props: {
|
694
694
|
item: Option;
|
695
695
|
index: number;
|
696
|
-
}) =>
|
697
|
-
}
|
696
|
+
}) => any) | undefined;
|
697
|
+
} & {} & {
|
698
698
|
locale?: string | undefined;
|
699
699
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
700
700
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
701
701
|
};
|
702
|
-
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
703
|
-
placeholder
|
704
|
-
itemRender
|
705
|
-
getItemProps
|
702
|
+
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
703
|
+
placeholder?: string | undefined;
|
704
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
705
|
+
getItemProps?: ((props: {
|
706
706
|
item: Option;
|
707
707
|
index: number;
|
708
|
-
}) =>
|
709
|
-
}
|
708
|
+
}) => any) | undefined;
|
709
|
+
} & {} & {
|
710
710
|
locale?: string | undefined;
|
711
711
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
712
712
|
}, context: any): {
|
713
713
|
render(): JSX.Element;
|
714
714
|
context: any;
|
715
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
716
|
-
placeholder
|
717
|
-
itemRender
|
718
|
-
getItemProps
|
715
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
716
|
+
placeholder?: string | undefined;
|
717
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
718
|
+
getItemProps?: ((props: {
|
719
719
|
item: Option;
|
720
720
|
index: number;
|
721
|
-
}) =>
|
722
|
-
}
|
721
|
+
}) => any) | undefined;
|
722
|
+
} & {} & {
|
723
723
|
locale?: string | undefined;
|
724
724
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
725
725
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
726
726
|
forceUpdate(callback?: (() => void) | undefined): void;
|
727
|
-
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
728
|
-
placeholder
|
729
|
-
itemRender
|
730
|
-
getItemProps
|
727
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
728
|
+
placeholder?: string | undefined;
|
729
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
730
|
+
getItemProps?: ((props: {
|
731
731
|
item: Option;
|
732
732
|
index: number;
|
733
|
-
}) =>
|
734
|
-
}
|
733
|
+
}) => any) | undefined;
|
734
|
+
} & {} & {
|
735
735
|
locale?: string | undefined;
|
736
736
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
737
737
|
}> & Readonly<{
|
@@ -742,84 +742,84 @@ declare const _default: {
|
|
742
742
|
[key: string]: React.ReactInstance;
|
743
743
|
};
|
744
744
|
componentDidMount?(): void;
|
745
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
746
|
-
placeholder
|
747
|
-
itemRender
|
748
|
-
getItemProps
|
745
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
746
|
+
placeholder?: string | undefined;
|
747
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
748
|
+
getItemProps?: ((props: {
|
749
749
|
item: Option;
|
750
750
|
index: number;
|
751
|
-
}) =>
|
752
|
-
}
|
751
|
+
}) => any) | undefined;
|
752
|
+
} & {} & {
|
753
753
|
locale?: string | undefined;
|
754
754
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
755
755
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
756
756
|
componentWillUnmount?(): void;
|
757
757
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
758
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
759
|
-
placeholder
|
760
|
-
itemRender
|
761
|
-
getItemProps
|
758
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
759
|
+
placeholder?: string | undefined;
|
760
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
761
|
+
getItemProps?: ((props: {
|
762
762
|
item: Option;
|
763
763
|
index: number;
|
764
|
-
}) =>
|
765
|
-
}
|
764
|
+
}) => any) | undefined;
|
765
|
+
} & {} & {
|
766
766
|
locale?: string | undefined;
|
767
767
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
768
768
|
}>, prevState: Readonly<{}>): any;
|
769
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
770
|
-
placeholder
|
771
|
-
itemRender
|
772
|
-
getItemProps
|
769
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
770
|
+
placeholder?: string | undefined;
|
771
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
772
|
+
getItemProps?: ((props: {
|
773
773
|
item: Option;
|
774
774
|
index: number;
|
775
|
-
}) =>
|
776
|
-
}
|
775
|
+
}) => any) | undefined;
|
776
|
+
} & {} & {
|
777
777
|
locale?: string | undefined;
|
778
778
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
779
779
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
780
780
|
componentWillMount?(): void;
|
781
781
|
UNSAFE_componentWillMount?(): void;
|
782
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
783
|
-
placeholder
|
784
|
-
itemRender
|
785
|
-
getItemProps
|
782
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
783
|
+
placeholder?: string | undefined;
|
784
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
785
|
+
getItemProps?: ((props: {
|
786
786
|
item: Option;
|
787
787
|
index: number;
|
788
|
-
}) =>
|
789
|
-
}
|
788
|
+
}) => any) | undefined;
|
789
|
+
} & {} & {
|
790
790
|
locale?: string | undefined;
|
791
791
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
792
792
|
}>, nextContext: any): void;
|
793
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
794
|
-
placeholder
|
795
|
-
itemRender
|
796
|
-
getItemProps
|
793
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
794
|
+
placeholder?: string | undefined;
|
795
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
796
|
+
getItemProps?: ((props: {
|
797
797
|
item: Option;
|
798
798
|
index: number;
|
799
|
-
}) =>
|
800
|
-
}
|
799
|
+
}) => any) | undefined;
|
800
|
+
} & {} & {
|
801
801
|
locale?: string | undefined;
|
802
802
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
803
803
|
}>, nextContext: any): void;
|
804
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
805
|
-
placeholder
|
806
|
-
itemRender
|
807
|
-
getItemProps
|
804
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
805
|
+
placeholder?: string | undefined;
|
806
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
807
|
+
getItemProps?: ((props: {
|
808
808
|
item: Option;
|
809
809
|
index: number;
|
810
|
-
}) =>
|
811
|
-
}
|
810
|
+
}) => any) | undefined;
|
811
|
+
} & {} & {
|
812
812
|
locale?: string | undefined;
|
813
813
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
814
814
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
815
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
816
|
-
placeholder
|
817
|
-
itemRender
|
818
|
-
getItemProps
|
815
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
816
|
+
placeholder?: string | undefined;
|
817
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
818
|
+
getItemProps?: ((props: {
|
819
819
|
item: Option;
|
820
820
|
index: number;
|
821
|
-
}) =>
|
822
|
-
}
|
821
|
+
}) => any) | undefined;
|
822
|
+
} & {} & {
|
823
823
|
locale?: string | undefined;
|
824
824
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
825
825
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -831,49 +831,49 @@ declare const _default: {
|
|
831
831
|
ComposedComponent: typeof ListMenu;
|
832
832
|
}, {}> & {
|
833
833
|
ComposedComponent: {
|
834
|
-
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
835
|
-
placeholder
|
836
|
-
itemRender
|
837
|
-
getItemProps
|
834
|
+
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
835
|
+
placeholder?: string | undefined;
|
836
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
837
|
+
getItemProps?: ((props: {
|
838
838
|
item: Option;
|
839
839
|
index: number;
|
840
|
-
}) =>
|
841
|
-
}
|
840
|
+
}) => any) | undefined;
|
841
|
+
} & {} & {
|
842
842
|
locale?: string | undefined;
|
843
843
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
844
|
-
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
845
|
-
placeholder
|
846
|
-
itemRender
|
847
|
-
getItemProps
|
844
|
+
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
845
|
+
placeholder?: string | undefined;
|
846
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
847
|
+
getItemProps?: ((props: {
|
848
848
|
item: Option;
|
849
849
|
index: number;
|
850
|
-
}) =>
|
851
|
-
}
|
850
|
+
}) => any) | undefined;
|
851
|
+
} & {} & {
|
852
852
|
locale?: string | undefined;
|
853
853
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
854
854
|
}>): {
|
855
855
|
render(): JSX.Element;
|
856
856
|
context: any;
|
857
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
858
|
-
placeholder
|
859
|
-
itemRender
|
860
|
-
getItemProps
|
857
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
858
|
+
placeholder?: string | undefined;
|
859
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
860
|
+
getItemProps?: ((props: {
|
861
861
|
item: Option;
|
862
862
|
index: number;
|
863
|
-
}) =>
|
864
|
-
}
|
863
|
+
}) => any) | undefined;
|
864
|
+
} & {} & {
|
865
865
|
locale?: string | undefined;
|
866
866
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
867
867
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
868
868
|
forceUpdate(callback?: (() => void) | undefined): void;
|
869
|
-
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
870
|
-
placeholder
|
871
|
-
itemRender
|
872
|
-
getItemProps
|
869
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
870
|
+
placeholder?: string | undefined;
|
871
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
872
|
+
getItemProps?: ((props: {
|
873
873
|
item: Option;
|
874
874
|
index: number;
|
875
|
-
}) =>
|
876
|
-
}
|
875
|
+
}) => any) | undefined;
|
876
|
+
} & {} & {
|
877
877
|
locale?: string | undefined;
|
878
878
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
879
879
|
}> & Readonly<{
|
@@ -884,121 +884,121 @@ declare const _default: {
|
|
884
884
|
[key: string]: React.ReactInstance;
|
885
885
|
};
|
886
886
|
componentDidMount?(): void;
|
887
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
888
|
-
placeholder
|
889
|
-
itemRender
|
890
|
-
getItemProps
|
887
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
888
|
+
placeholder?: string | undefined;
|
889
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
890
|
+
getItemProps?: ((props: {
|
891
891
|
item: Option;
|
892
892
|
index: number;
|
893
|
-
}) =>
|
894
|
-
}
|
893
|
+
}) => any) | undefined;
|
894
|
+
} & {} & {
|
895
895
|
locale?: string | undefined;
|
896
896
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
897
897
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
898
898
|
componentWillUnmount?(): void;
|
899
899
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
900
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
901
|
-
placeholder
|
902
|
-
itemRender
|
903
|
-
getItemProps
|
900
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
901
|
+
placeholder?: string | undefined;
|
902
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
903
|
+
getItemProps?: ((props: {
|
904
904
|
item: Option;
|
905
905
|
index: number;
|
906
|
-
}) =>
|
907
|
-
}
|
906
|
+
}) => any) | undefined;
|
907
|
+
} & {} & {
|
908
908
|
locale?: string | undefined;
|
909
909
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
910
910
|
}>, prevState: Readonly<{}>): any;
|
911
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
912
|
-
placeholder
|
913
|
-
itemRender
|
914
|
-
getItemProps
|
911
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
912
|
+
placeholder?: string | undefined;
|
913
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
914
|
+
getItemProps?: ((props: {
|
915
915
|
item: Option;
|
916
916
|
index: number;
|
917
|
-
}) =>
|
918
|
-
}
|
917
|
+
}) => any) | undefined;
|
918
|
+
} & {} & {
|
919
919
|
locale?: string | undefined;
|
920
920
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
921
921
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
922
922
|
componentWillMount?(): void;
|
923
923
|
UNSAFE_componentWillMount?(): void;
|
924
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
925
|
-
placeholder
|
926
|
-
itemRender
|
927
|
-
getItemProps
|
924
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
925
|
+
placeholder?: string | undefined;
|
926
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
927
|
+
getItemProps?: ((props: {
|
928
928
|
item: Option;
|
929
929
|
index: number;
|
930
|
-
}) =>
|
931
|
-
}
|
930
|
+
}) => any) | undefined;
|
931
|
+
} & {} & {
|
932
932
|
locale?: string | undefined;
|
933
933
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
934
934
|
}>, nextContext: any): void;
|
935
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
936
|
-
placeholder
|
937
|
-
itemRender
|
938
|
-
getItemProps
|
935
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
936
|
+
placeholder?: string | undefined;
|
937
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
938
|
+
getItemProps?: ((props: {
|
939
939
|
item: Option;
|
940
940
|
index: number;
|
941
|
-
}) =>
|
942
|
-
}
|
941
|
+
}) => any) | undefined;
|
942
|
+
} & {} & {
|
943
943
|
locale?: string | undefined;
|
944
944
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
945
945
|
}>, nextContext: any): void;
|
946
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
947
|
-
placeholder
|
948
|
-
itemRender
|
949
|
-
getItemProps
|
946
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
947
|
+
placeholder?: string | undefined;
|
948
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
949
|
+
getItemProps?: ((props: {
|
950
950
|
item: Option;
|
951
951
|
index: number;
|
952
|
-
}) =>
|
953
|
-
}
|
952
|
+
}) => any) | undefined;
|
953
|
+
} & {} & {
|
954
954
|
locale?: string | undefined;
|
955
955
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
956
956
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
957
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
958
|
-
placeholder
|
959
|
-
itemRender
|
960
|
-
getItemProps
|
957
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
958
|
+
placeholder?: string | undefined;
|
959
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
960
|
+
getItemProps?: ((props: {
|
961
961
|
item: Option;
|
962
962
|
index: number;
|
963
|
-
}) =>
|
964
|
-
}
|
963
|
+
}) => any) | undefined;
|
964
|
+
} & {} & {
|
965
965
|
locale?: string | undefined;
|
966
966
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
967
967
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
968
968
|
};
|
969
|
-
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
970
|
-
placeholder
|
971
|
-
itemRender
|
972
|
-
getItemProps
|
969
|
+
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
970
|
+
placeholder?: string | undefined;
|
971
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
972
|
+
getItemProps?: ((props: {
|
973
973
|
item: Option;
|
974
974
|
index: number;
|
975
|
-
}) =>
|
976
|
-
}
|
975
|
+
}) => any) | undefined;
|
976
|
+
} & {} & {
|
977
977
|
locale?: string | undefined;
|
978
978
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
979
979
|
}, context: any): {
|
980
980
|
render(): JSX.Element;
|
981
981
|
context: any;
|
982
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
983
|
-
placeholder
|
984
|
-
itemRender
|
985
|
-
getItemProps
|
982
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
983
|
+
placeholder?: string | undefined;
|
984
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
985
|
+
getItemProps?: ((props: {
|
986
986
|
item: Option;
|
987
987
|
index: number;
|
988
|
-
}) =>
|
989
|
-
}
|
988
|
+
}) => any) | undefined;
|
989
|
+
} & {} & {
|
990
990
|
locale?: string | undefined;
|
991
991
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
992
992
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
993
993
|
forceUpdate(callback?: (() => void) | undefined): void;
|
994
|
-
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
995
|
-
placeholder
|
996
|
-
itemRender
|
997
|
-
getItemProps
|
994
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
995
|
+
placeholder?: string | undefined;
|
996
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
997
|
+
getItemProps?: ((props: {
|
998
998
|
item: Option;
|
999
999
|
index: number;
|
1000
|
-
}) =>
|
1001
|
-
}
|
1000
|
+
}) => any) | undefined;
|
1001
|
+
} & {} & {
|
1002
1002
|
locale?: string | undefined;
|
1003
1003
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1004
1004
|
}> & Readonly<{
|
@@ -1009,84 +1009,84 @@ declare const _default: {
|
|
1009
1009
|
[key: string]: React.ReactInstance;
|
1010
1010
|
};
|
1011
1011
|
componentDidMount?(): void;
|
1012
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1013
|
-
placeholder
|
1014
|
-
itemRender
|
1015
|
-
getItemProps
|
1012
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1013
|
+
placeholder?: string | undefined;
|
1014
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1015
|
+
getItemProps?: ((props: {
|
1016
1016
|
item: Option;
|
1017
1017
|
index: number;
|
1018
|
-
}) =>
|
1019
|
-
}
|
1018
|
+
}) => any) | undefined;
|
1019
|
+
} & {} & {
|
1020
1020
|
locale?: string | undefined;
|
1021
1021
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1022
1022
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
1023
1023
|
componentWillUnmount?(): void;
|
1024
1024
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
1025
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1026
|
-
placeholder
|
1027
|
-
itemRender
|
1028
|
-
getItemProps
|
1025
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1026
|
+
placeholder?: string | undefined;
|
1027
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1028
|
+
getItemProps?: ((props: {
|
1029
1029
|
item: Option;
|
1030
1030
|
index: number;
|
1031
|
-
}) =>
|
1032
|
-
}
|
1031
|
+
}) => any) | undefined;
|
1032
|
+
} & {} & {
|
1033
1033
|
locale?: string | undefined;
|
1034
1034
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1035
1035
|
}>, prevState: Readonly<{}>): any;
|
1036
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1037
|
-
placeholder
|
1038
|
-
itemRender
|
1039
|
-
getItemProps
|
1036
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1037
|
+
placeholder?: string | undefined;
|
1038
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1039
|
+
getItemProps?: ((props: {
|
1040
1040
|
item: Option;
|
1041
1041
|
index: number;
|
1042
|
-
}) =>
|
1043
|
-
}
|
1042
|
+
}) => any) | undefined;
|
1043
|
+
} & {} & {
|
1044
1044
|
locale?: string | undefined;
|
1045
1045
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1046
1046
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
1047
1047
|
componentWillMount?(): void;
|
1048
1048
|
UNSAFE_componentWillMount?(): void;
|
1049
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1050
|
-
placeholder
|
1051
|
-
itemRender
|
1052
|
-
getItemProps
|
1049
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1050
|
+
placeholder?: string | undefined;
|
1051
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1052
|
+
getItemProps?: ((props: {
|
1053
1053
|
item: Option;
|
1054
1054
|
index: number;
|
1055
|
-
}) =>
|
1056
|
-
}
|
1055
|
+
}) => any) | undefined;
|
1056
|
+
} & {} & {
|
1057
1057
|
locale?: string | undefined;
|
1058
1058
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1059
1059
|
}>, nextContext: any): void;
|
1060
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1061
|
-
placeholder
|
1062
|
-
itemRender
|
1063
|
-
getItemProps
|
1060
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1061
|
+
placeholder?: string | undefined;
|
1062
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1063
|
+
getItemProps?: ((props: {
|
1064
1064
|
item: Option;
|
1065
1065
|
index: number;
|
1066
|
-
}) =>
|
1067
|
-
}
|
1066
|
+
}) => any) | undefined;
|
1067
|
+
} & {} & {
|
1068
1068
|
locale?: string | undefined;
|
1069
1069
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1070
1070
|
}>, nextContext: any): void;
|
1071
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1072
|
-
placeholder
|
1073
|
-
itemRender
|
1074
|
-
getItemProps
|
1071
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1072
|
+
placeholder?: string | undefined;
|
1073
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1074
|
+
getItemProps?: ((props: {
|
1075
1075
|
item: Option;
|
1076
1076
|
index: number;
|
1077
|
-
}) =>
|
1078
|
-
}
|
1077
|
+
}) => any) | undefined;
|
1078
|
+
} & {} & {
|
1079
1079
|
locale?: string | undefined;
|
1080
1080
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1081
1081
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1082
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> &
|
1083
|
-
placeholder
|
1084
|
-
itemRender
|
1085
|
-
getItemProps
|
1082
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "options" | "selectedOptions" | "prefix" | "onSelect" | "highlightIndex"> & {
|
1083
|
+
placeholder?: string | undefined;
|
1084
|
+
itemRender?: ((option: Option) => JSX.Element) | undefined;
|
1085
|
+
getItemProps?: ((props: {
|
1086
1086
|
item: Option;
|
1087
1087
|
index: number;
|
1088
|
-
}) =>
|
1089
|
-
}
|
1088
|
+
}) => any) | undefined;
|
1089
|
+
} & {} & {
|
1090
1090
|
locale?: string | undefined;
|
1091
1091
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1092
1092
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|