amis 1.6.0 → 1.6.1-beta.0
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/README.md +1 -0
- package/lib/RootRenderer.d.ts +2 -0
- package/lib/RootRenderer.js +19 -1
- package/lib/RootRenderer.js.map +2 -2
- package/lib/SchemaRenderer.js +52 -1
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/Scoped.d.ts +2 -0
- package/lib/Scoped.js +27 -1
- package/lib/Scoped.js.map +2 -2
- package/lib/actions/Action.d.ts +33 -0
- package/lib/actions/Action.js +100 -0
- package/lib/actions/Action.js.map +13 -0
- package/lib/actions/AjaxAction.d.ts +14 -0
- package/lib/actions/AjaxAction.js +68 -0
- package/lib/actions/AjaxAction.js.map +13 -0
- package/lib/actions/BreakAction.d.ts +12 -0
- package/lib/actions/BreakAction.js +28 -0
- package/lib/actions/BreakAction.js.map +13 -0
- package/lib/actions/BroadcastAction.d.ts +12 -0
- package/lib/actions/BroadcastAction.js +40 -0
- package/lib/actions/BroadcastAction.js.map +13 -0
- package/lib/actions/CmptAction.d.ts +12 -0
- package/lib/actions/CmptAction.js +40 -0
- package/lib/actions/CmptAction.js.map +13 -0
- package/lib/actions/ContinueAction.d.ts +12 -0
- package/lib/actions/ContinueAction.js +28 -0
- package/lib/actions/ContinueAction.js.map +13 -0
- package/lib/actions/CopyAction.d.ts +12 -0
- package/lib/actions/CopyAction.js +35 -0
- package/lib/actions/CopyAction.js.map +13 -0
- package/lib/actions/CustomAction.d.ts +12 -0
- package/lib/actions/CustomAction.js +43 -0
- package/lib/actions/CustomAction.js.map +13 -0
- package/lib/actions/DialogAction.d.ts +12 -0
- package/lib/actions/DialogAction.js +31 -0
- package/lib/actions/DialogAction.js.map +13 -0
- package/lib/actions/DrawerAction.d.ts +12 -0
- package/lib/actions/DrawerAction.js +31 -0
- package/lib/actions/DrawerAction.js.map +13 -0
- package/lib/actions/EmailAction.d.ts +12 -0
- package/lib/actions/EmailAction.js +37 -0
- package/lib/actions/EmailAction.js.map +13 -0
- package/lib/actions/LoopAction.d.ts +12 -0
- package/lib/actions/LoopAction.js +93 -0
- package/lib/actions/LoopAction.js.map +13 -0
- package/lib/actions/OpenPageAction.d.ts +12 -0
- package/lib/actions/OpenPageAction.js +33 -0
- package/lib/actions/OpenPageAction.js.map +13 -0
- package/lib/actions/ParallelAction.d.ts +5 -0
- package/lib/actions/ParallelAction.js +33 -0
- package/lib/actions/ParallelAction.js.map +13 -0
- package/lib/actions/SwitchAction.d.ts +8 -0
- package/lib/actions/SwitchAction.js +45 -0
- package/lib/actions/SwitchAction.js.map +13 -0
- package/lib/actions/index.d.ts +18 -0
- package/lib/actions/index.js +22 -0
- package/lib/actions/index.js.map +13 -0
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/CalendarMobile.d.ts +112 -86
- package/lib/components/CalendarMobile.js +85 -31
- package/lib/components/CalendarMobile.js.map +2 -2
- package/lib/components/Collapse.d.ts +20 -20
- package/lib/components/DatePicker.js +9 -3
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.js +1 -0
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/InputBox.d.ts +21 -21
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/ListMenu.d.ts +84 -84
- package/lib/components/MonthRangePicker.js +2 -1
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/Radios.d.ts +21 -21
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +84 -84
- package/lib/components/Select.d.ts +238 -238
- package/lib/components/Select.js +4 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/Timeline.js.map +2 -2
- package/lib/components/TimelineItem.d.ts +3 -2
- package/lib/components/TimelineItem.js +8 -9
- package/lib/components/TimelineItem.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/formula/plugin.js +0 -1
- package/lib/components/formula/plugin.js.map +2 -2
- package/lib/env.d.ts +4 -0
- package/lib/env.js.map +2 -2
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +78 -0
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +2 -2
- package/lib/renderers/Action.d.ts +1 -1
- package/lib/renderers/Action.js +26 -10
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Custom.d.ts +1 -1
- package/lib/renderers/Custom.js +1 -1
- package/lib/renderers/Custom.js.map +1 -1
- package/lib/renderers/Form/DiffEditor.d.ts +6 -0
- package/lib/renderers/Form/Editor.d.ts +6 -0
- package/lib/renderers/Form/Options.js +9 -7
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.js +3 -3
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/index.js +8 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Link.d.ts +1 -1
- package/lib/renderers/Link.js +27 -6
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/Nav.d.ts +21 -21
- package/lib/renderers/Remark.d.ts +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +180 -1
- package/lib/themes/ang.css +180 -1
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +184 -2
- package/lib/themes/antd.css +184 -2
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +182 -8
- package/lib/themes/cxd.css +182 -8
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +182 -1
- package/lib/themes/dark.css +182 -1
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +182 -8
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +14 -3
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/debug.d.ts +26 -0
- package/lib/utils/debug.js +351 -0
- package/lib/utils/debug.js.map +13 -0
- package/lib/utils/renderer-event.d.ts +38 -0
- package/lib/utils/renderer-event.js +28 -0
- package/lib/utils/renderer-event.js.map +13 -0
- package/package.json +1 -1
- package/scss/_properties.scss +2 -0
- package/scss/_variables.scss +1 -0
- package/scss/components/_calendar.scss +4 -0
- package/scss/components/_debug.scss +167 -0
- package/scss/components/_popup.scss +1 -1
- package/scss/components/form/_date-range.scss +33 -0
- package/scss/components/form/_form.scss +2 -0
- package/scss/themes/_antd-variables.scss +4 -1
- package/scss/themes/_common.scss +2 -0
- package/scss/themes/_cxd-variables.scss +2 -0
- package/scss/themes/_dark-variables.scss +3 -0
- package/scss/themes/cxd.scss +0 -7
- package/sdk/ang-ie11.css +211 -1
- package/sdk/ang.css +213 -1
- package/sdk/antd-ie11.css +213 -2
- package/sdk/antd.css +217 -2
- package/sdk/charts.js +16 -16
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +211 -8
- package/sdk/cxd.css +215 -8
- package/sdk/dark-ie11.css +211 -1
- package/sdk/dark.css +215 -1
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- 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 +211 -8
- package/sdk/sdk.css +215 -8
- package/sdk/sdk.js +1293 -1257
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/RootRenderer.tsx +27 -1
- package/src/SchemaRenderer.tsx +70 -4
- package/src/Scoped.tsx +46 -4
- package/src/actions/Action.ts +138 -0
- package/src/actions/AjaxAction.ts +58 -0
- package/src/actions/BreakAction.ts +27 -0
- package/src/actions/BroadcastAction.ts +41 -0
- package/src/actions/CmptAction.ts +36 -0
- package/src/actions/ContinueAction.ts +27 -0
- package/src/actions/CopyAction.ts +41 -0
- package/src/actions/CustomAction.ts +46 -0
- package/src/actions/DialogAction.ts +28 -0
- package/src/actions/DrawerAction.ts +28 -0
- package/src/actions/EmailAction.ts +38 -0
- package/src/actions/LoopAction.ts +77 -0
- package/src/actions/OpenPageAction.ts +39 -0
- package/src/actions/ParallelAction.ts +26 -0
- package/src/actions/SwitchAction.ts +35 -0
- package/src/actions/index.ts +20 -0
- package/src/components/CalendarMobile.tsx +127 -32
- package/src/components/DatePicker.tsx +32 -2
- package/src/components/DateRangePicker.tsx +2 -1
- package/src/components/MonthRangePicker.tsx +2 -1
- package/src/components/Select.tsx +4 -3
- package/src/components/Timeline.tsx +9 -4
- package/src/components/TimelineItem.tsx +62 -29
- package/src/components/formula/plugin.ts +0 -2
- package/src/env.tsx +22 -0
- package/src/factory.tsx +87 -1
- package/src/index.tsx +4 -0
- package/src/renderers/Action.tsx +11 -2
- package/src/renderers/Custom.tsx +1 -1
- package/src/renderers/Form/Options.tsx +15 -7
- package/src/renderers/Form/Select.tsx +7 -3
- package/src/renderers/Form/index.tsx +7 -1
- package/src/renderers/Link.tsx +18 -3
- package/src/store/formItem.ts +1 -1
- package/src/utils/api.ts +15 -2
- package/src/utils/debug.tsx +438 -0
- package/src/utils/renderer-event.ts +75 -0
@@ -34,7 +34,7 @@ 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" | "
|
37
|
+
new (props: (Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
38
38
|
placeholder: string;
|
39
39
|
itemRender: (option: Option) => JSX.Element;
|
40
40
|
getItemProps: (props: {
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
44
44
|
}, never>> & {
|
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" | "
|
47
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
48
48
|
placeholder: string;
|
49
49
|
itemRender: (option: Option) => JSX.Element;
|
50
50
|
getItemProps: (props: {
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
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" | "
|
60
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
61
61
|
placeholder: string;
|
62
62
|
itemRender: (option: Option) => JSX.Element;
|
63
63
|
getItemProps: (props: {
|
@@ -69,7 +69,7 @@ declare const _default: {
|
|
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" | "
|
72
|
+
readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
73
73
|
placeholder: string;
|
74
74
|
itemRender: (option: Option) => JSX.Element;
|
75
75
|
getItemProps: (props: {
|
@@ -87,7 +87,7 @@ 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" | "
|
90
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
91
91
|
placeholder: string;
|
92
92
|
itemRender: (option: Option) => JSX.Element;
|
93
93
|
getItemProps: (props: {
|
@@ -100,7 +100,7 @@ declare const _default: {
|
|
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" | "
|
103
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
104
104
|
placeholder: string;
|
105
105
|
itemRender: (option: Option) => JSX.Element;
|
106
106
|
getItemProps: (props: {
|
@@ -111,7 +111,7 @@ declare const _default: {
|
|
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" | "
|
114
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
115
115
|
placeholder: string;
|
116
116
|
itemRender: (option: Option) => JSX.Element;
|
117
117
|
getItemProps: (props: {
|
@@ -124,7 +124,7 @@ declare const _default: {
|
|
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" | "
|
127
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
128
128
|
placeholder: string;
|
129
129
|
itemRender: (option: Option) => JSX.Element;
|
130
130
|
getItemProps: (props: {
|
@@ -135,7 +135,7 @@ declare const _default: {
|
|
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" | "
|
138
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
139
139
|
placeholder: string;
|
140
140
|
itemRender: (option: Option) => JSX.Element;
|
141
141
|
getItemProps: (props: {
|
@@ -146,7 +146,7 @@ declare const _default: {
|
|
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" | "
|
149
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
150
150
|
placeholder: string;
|
151
151
|
itemRender: (option: Option) => JSX.Element;
|
152
152
|
getItemProps: (props: {
|
@@ -157,7 +157,7 @@ declare const _default: {
|
|
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" | "
|
160
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
161
161
|
placeholder: string;
|
162
162
|
itemRender: (option: Option) => JSX.Element;
|
163
163
|
getItemProps: (props: {
|
@@ -169,7 +169,7 @@ declare const _default: {
|
|
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" | "
|
172
|
+
new (props: Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
173
173
|
placeholder: string;
|
174
174
|
itemRender: (option: Option) => JSX.Element;
|
175
175
|
getItemProps: (props: {
|
@@ -182,7 +182,7 @@ declare const _default: {
|
|
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" | "
|
185
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
186
186
|
placeholder: string;
|
187
187
|
itemRender: (option: Option) => JSX.Element;
|
188
188
|
getItemProps: (props: {
|
@@ -194,7 +194,7 @@ declare const _default: {
|
|
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" | "
|
197
|
+
readonly props: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
198
198
|
placeholder: string;
|
199
199
|
itemRender: (option: Option) => JSX.Element;
|
200
200
|
getItemProps: (props: {
|
@@ -212,7 +212,7 @@ 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" | "
|
215
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
216
216
|
placeholder: string;
|
217
217
|
itemRender: (option: Option) => JSX.Element;
|
218
218
|
getItemProps: (props: {
|
@@ -225,7 +225,7 @@ declare const _default: {
|
|
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" | "
|
228
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
229
229
|
placeholder: string;
|
230
230
|
itemRender: (option: Option) => JSX.Element;
|
231
231
|
getItemProps: (props: {
|
@@ -236,7 +236,7 @@ declare const _default: {
|
|
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" | "
|
239
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
240
240
|
placeholder: string;
|
241
241
|
itemRender: (option: Option) => JSX.Element;
|
242
242
|
getItemProps: (props: {
|
@@ -249,7 +249,7 @@ declare const _default: {
|
|
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" | "
|
252
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
253
253
|
placeholder: string;
|
254
254
|
itemRender: (option: Option) => JSX.Element;
|
255
255
|
getItemProps: (props: {
|
@@ -260,7 +260,7 @@ declare const _default: {
|
|
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" | "
|
263
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
264
264
|
placeholder: string;
|
265
265
|
itemRender: (option: Option) => JSX.Element;
|
266
266
|
getItemProps: (props: {
|
@@ -271,7 +271,7 @@ declare const _default: {
|
|
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" | "
|
274
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
275
275
|
placeholder: string;
|
276
276
|
itemRender: (option: Option) => JSX.Element;
|
277
277
|
getItemProps: (props: {
|
@@ -282,7 +282,7 @@ declare const _default: {
|
|
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" | "
|
285
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
286
286
|
placeholder: string;
|
287
287
|
itemRender: (option: Option) => JSX.Element;
|
288
288
|
getItemProps: (props: {
|
@@ -297,7 +297,7 @@ 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" | "
|
300
|
+
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
301
301
|
placeholder: string;
|
302
302
|
itemRender: (option: Option) => JSX.Element;
|
303
303
|
getItemProps: (props: {
|
@@ -307,7 +307,7 @@ declare const _default: {
|
|
307
307
|
}, never>> & {
|
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" | "
|
310
|
+
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
311
311
|
placeholder: string;
|
312
312
|
itemRender: (option: Option) => JSX.Element;
|
313
313
|
getItemProps: (props: {
|
@@ -320,7 +320,7 @@ declare const _default: {
|
|
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" | "
|
323
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
324
324
|
placeholder: string;
|
325
325
|
itemRender: (option: Option) => JSX.Element;
|
326
326
|
getItemProps: (props: {
|
@@ -332,7 +332,7 @@ declare const _default: {
|
|
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" | "
|
335
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
336
336
|
placeholder: string;
|
337
337
|
itemRender: (option: Option) => JSX.Element;
|
338
338
|
getItemProps: (props: {
|
@@ -350,7 +350,7 @@ 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" | "
|
353
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
354
354
|
placeholder: string;
|
355
355
|
itemRender: (option: Option) => JSX.Element;
|
356
356
|
getItemProps: (props: {
|
@@ -363,7 +363,7 @@ declare const _default: {
|
|
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" | "
|
366
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
367
367
|
placeholder: string;
|
368
368
|
itemRender: (option: Option) => JSX.Element;
|
369
369
|
getItemProps: (props: {
|
@@ -374,7 +374,7 @@ declare const _default: {
|
|
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" | "
|
377
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
378
378
|
placeholder: string;
|
379
379
|
itemRender: (option: Option) => JSX.Element;
|
380
380
|
getItemProps: (props: {
|
@@ -387,7 +387,7 @@ declare const _default: {
|
|
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" | "
|
390
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
391
391
|
placeholder: string;
|
392
392
|
itemRender: (option: Option) => JSX.Element;
|
393
393
|
getItemProps: (props: {
|
@@ -398,7 +398,7 @@ declare const _default: {
|
|
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" | "
|
401
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
402
402
|
placeholder: string;
|
403
403
|
itemRender: (option: Option) => JSX.Element;
|
404
404
|
getItemProps: (props: {
|
@@ -409,7 +409,7 @@ declare const _default: {
|
|
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" | "
|
412
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
413
413
|
placeholder: string;
|
414
414
|
itemRender: (option: Option) => JSX.Element;
|
415
415
|
getItemProps: (props: {
|
@@ -420,7 +420,7 @@ declare const _default: {
|
|
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" | "
|
423
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
424
424
|
placeholder: string;
|
425
425
|
itemRender: (option: Option) => JSX.Element;
|
426
426
|
getItemProps: (props: {
|
@@ -432,7 +432,7 @@ declare const _default: {
|
|
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" | "
|
435
|
+
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
436
436
|
placeholder: string;
|
437
437
|
itemRender: (option: Option) => JSX.Element;
|
438
438
|
getItemProps: (props: {
|
@@ -445,7 +445,7 @@ declare const _default: {
|
|
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" | "
|
448
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
449
449
|
placeholder: string;
|
450
450
|
itemRender: (option: Option) => JSX.Element;
|
451
451
|
getItemProps: (props: {
|
@@ -457,7 +457,7 @@ declare const _default: {
|
|
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" | "
|
460
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
461
461
|
placeholder: string;
|
462
462
|
itemRender: (option: Option) => JSX.Element;
|
463
463
|
getItemProps: (props: {
|
@@ -475,7 +475,7 @@ 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" | "
|
478
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
479
479
|
placeholder: string;
|
480
480
|
itemRender: (option: Option) => JSX.Element;
|
481
481
|
getItemProps: (props: {
|
@@ -488,7 +488,7 @@ declare const _default: {
|
|
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" | "
|
491
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
492
492
|
placeholder: string;
|
493
493
|
itemRender: (option: Option) => JSX.Element;
|
494
494
|
getItemProps: (props: {
|
@@ -499,7 +499,7 @@ declare const _default: {
|
|
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" | "
|
502
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
503
503
|
placeholder: string;
|
504
504
|
itemRender: (option: Option) => JSX.Element;
|
505
505
|
getItemProps: (props: {
|
@@ -512,7 +512,7 @@ declare const _default: {
|
|
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" | "
|
515
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
516
516
|
placeholder: string;
|
517
517
|
itemRender: (option: Option) => JSX.Element;
|
518
518
|
getItemProps: (props: {
|
@@ -523,7 +523,7 @@ declare const _default: {
|
|
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" | "
|
526
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
527
527
|
placeholder: string;
|
528
528
|
itemRender: (option: Option) => JSX.Element;
|
529
529
|
getItemProps: (props: {
|
@@ -534,7 +534,7 @@ declare const _default: {
|
|
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" | "
|
537
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
538
538
|
placeholder: string;
|
539
539
|
itemRender: (option: Option) => JSX.Element;
|
540
540
|
getItemProps: (props: {
|
@@ -545,7 +545,7 @@ declare const _default: {
|
|
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" | "
|
548
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
549
549
|
placeholder: string;
|
550
550
|
itemRender: (option: Option) => JSX.Element;
|
551
551
|
getItemProps: (props: {
|
@@ -564,7 +564,7 @@ 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" | "
|
567
|
+
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
568
568
|
placeholder: string;
|
569
569
|
itemRender: (option: Option) => JSX.Element;
|
570
570
|
getItemProps: (props: {
|
@@ -574,7 +574,7 @@ declare const _default: {
|
|
574
574
|
}, never>> & {
|
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" | "
|
577
|
+
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
578
578
|
placeholder: string;
|
579
579
|
itemRender: (option: Option) => JSX.Element;
|
580
580
|
getItemProps: (props: {
|
@@ -587,7 +587,7 @@ declare const _default: {
|
|
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" | "
|
590
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
591
591
|
placeholder: string;
|
592
592
|
itemRender: (option: Option) => JSX.Element;
|
593
593
|
getItemProps: (props: {
|
@@ -599,7 +599,7 @@ declare const _default: {
|
|
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" | "
|
602
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
603
603
|
placeholder: string;
|
604
604
|
itemRender: (option: Option) => JSX.Element;
|
605
605
|
getItemProps: (props: {
|
@@ -617,7 +617,7 @@ 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" | "
|
620
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
621
621
|
placeholder: string;
|
622
622
|
itemRender: (option: Option) => JSX.Element;
|
623
623
|
getItemProps: (props: {
|
@@ -630,7 +630,7 @@ declare const _default: {
|
|
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" | "
|
633
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
634
634
|
placeholder: string;
|
635
635
|
itemRender: (option: Option) => JSX.Element;
|
636
636
|
getItemProps: (props: {
|
@@ -641,7 +641,7 @@ declare const _default: {
|
|
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" | "
|
644
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
645
645
|
placeholder: string;
|
646
646
|
itemRender: (option: Option) => JSX.Element;
|
647
647
|
getItemProps: (props: {
|
@@ -654,7 +654,7 @@ declare const _default: {
|
|
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" | "
|
657
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
658
658
|
placeholder: string;
|
659
659
|
itemRender: (option: Option) => JSX.Element;
|
660
660
|
getItemProps: (props: {
|
@@ -665,7 +665,7 @@ declare const _default: {
|
|
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" | "
|
668
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
669
669
|
placeholder: string;
|
670
670
|
itemRender: (option: Option) => JSX.Element;
|
671
671
|
getItemProps: (props: {
|
@@ -676,7 +676,7 @@ declare const _default: {
|
|
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" | "
|
679
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
680
680
|
placeholder: string;
|
681
681
|
itemRender: (option: Option) => JSX.Element;
|
682
682
|
getItemProps: (props: {
|
@@ -687,7 +687,7 @@ declare const _default: {
|
|
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" | "
|
690
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
691
691
|
placeholder: string;
|
692
692
|
itemRender: (option: Option) => JSX.Element;
|
693
693
|
getItemProps: (props: {
|
@@ -699,7 +699,7 @@ declare const _default: {
|
|
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" | "
|
702
|
+
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
703
703
|
placeholder: string;
|
704
704
|
itemRender: (option: Option) => JSX.Element;
|
705
705
|
getItemProps: (props: {
|
@@ -712,7 +712,7 @@ declare const _default: {
|
|
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" | "
|
715
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
716
716
|
placeholder: string;
|
717
717
|
itemRender: (option: Option) => JSX.Element;
|
718
718
|
getItemProps: (props: {
|
@@ -724,7 +724,7 @@ declare const _default: {
|
|
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" | "
|
727
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
728
728
|
placeholder: string;
|
729
729
|
itemRender: (option: Option) => JSX.Element;
|
730
730
|
getItemProps: (props: {
|
@@ -742,7 +742,7 @@ 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" | "
|
745
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
746
746
|
placeholder: string;
|
747
747
|
itemRender: (option: Option) => JSX.Element;
|
748
748
|
getItemProps: (props: {
|
@@ -755,7 +755,7 @@ declare const _default: {
|
|
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" | "
|
758
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
759
759
|
placeholder: string;
|
760
760
|
itemRender: (option: Option) => JSX.Element;
|
761
761
|
getItemProps: (props: {
|
@@ -766,7 +766,7 @@ declare const _default: {
|
|
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" | "
|
769
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
770
770
|
placeholder: string;
|
771
771
|
itemRender: (option: Option) => JSX.Element;
|
772
772
|
getItemProps: (props: {
|
@@ -779,7 +779,7 @@ declare const _default: {
|
|
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" | "
|
782
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
783
783
|
placeholder: string;
|
784
784
|
itemRender: (option: Option) => JSX.Element;
|
785
785
|
getItemProps: (props: {
|
@@ -790,7 +790,7 @@ declare const _default: {
|
|
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" | "
|
793
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
794
794
|
placeholder: string;
|
795
795
|
itemRender: (option: Option) => JSX.Element;
|
796
796
|
getItemProps: (props: {
|
@@ -801,7 +801,7 @@ declare const _default: {
|
|
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" | "
|
804
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
805
805
|
placeholder: string;
|
806
806
|
itemRender: (option: Option) => JSX.Element;
|
807
807
|
getItemProps: (props: {
|
@@ -812,7 +812,7 @@ declare const _default: {
|
|
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" | "
|
815
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
816
816
|
placeholder: string;
|
817
817
|
itemRender: (option: Option) => JSX.Element;
|
818
818
|
getItemProps: (props: {
|
@@ -831,7 +831,7 @@ 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" | "
|
834
|
+
new (props: (Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
835
835
|
placeholder: string;
|
836
836
|
itemRender: (option: Option) => JSX.Element;
|
837
837
|
getItemProps: (props: {
|
@@ -841,7 +841,7 @@ declare const _default: {
|
|
841
841
|
}, never>> & {
|
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" | "
|
844
|
+
}) | Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
845
845
|
placeholder: string;
|
846
846
|
itemRender: (option: Option) => JSX.Element;
|
847
847
|
getItemProps: (props: {
|
@@ -854,7 +854,7 @@ declare const _default: {
|
|
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" | "
|
857
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
858
858
|
placeholder: string;
|
859
859
|
itemRender: (option: Option) => JSX.Element;
|
860
860
|
getItemProps: (props: {
|
@@ -866,7 +866,7 @@ declare const _default: {
|
|
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" | "
|
869
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
870
870
|
placeholder: string;
|
871
871
|
itemRender: (option: Option) => JSX.Element;
|
872
872
|
getItemProps: (props: {
|
@@ -884,7 +884,7 @@ 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" | "
|
887
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
888
888
|
placeholder: string;
|
889
889
|
itemRender: (option: Option) => JSX.Element;
|
890
890
|
getItemProps: (props: {
|
@@ -897,7 +897,7 @@ declare const _default: {
|
|
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" | "
|
900
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
901
901
|
placeholder: string;
|
902
902
|
itemRender: (option: Option) => JSX.Element;
|
903
903
|
getItemProps: (props: {
|
@@ -908,7 +908,7 @@ declare const _default: {
|
|
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" | "
|
911
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
912
912
|
placeholder: string;
|
913
913
|
itemRender: (option: Option) => JSX.Element;
|
914
914
|
getItemProps: (props: {
|
@@ -921,7 +921,7 @@ declare const _default: {
|
|
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" | "
|
924
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
925
925
|
placeholder: string;
|
926
926
|
itemRender: (option: Option) => JSX.Element;
|
927
927
|
getItemProps: (props: {
|
@@ -932,7 +932,7 @@ declare const _default: {
|
|
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" | "
|
935
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
936
936
|
placeholder: string;
|
937
937
|
itemRender: (option: Option) => JSX.Element;
|
938
938
|
getItemProps: (props: {
|
@@ -943,7 +943,7 @@ declare const _default: {
|
|
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" | "
|
946
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
947
947
|
placeholder: string;
|
948
948
|
itemRender: (option: Option) => JSX.Element;
|
949
949
|
getItemProps: (props: {
|
@@ -954,7 +954,7 @@ declare const _default: {
|
|
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" | "
|
957
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
958
958
|
placeholder: string;
|
959
959
|
itemRender: (option: Option) => JSX.Element;
|
960
960
|
getItemProps: (props: {
|
@@ -966,7 +966,7 @@ declare const _default: {
|
|
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" | "
|
969
|
+
new (props: Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
970
970
|
placeholder: string;
|
971
971
|
itemRender: (option: Option) => JSX.Element;
|
972
972
|
getItemProps: (props: {
|
@@ -979,7 +979,7 @@ declare const _default: {
|
|
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" | "
|
982
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
983
983
|
placeholder: string;
|
984
984
|
itemRender: (option: Option) => JSX.Element;
|
985
985
|
getItemProps: (props: {
|
@@ -991,7 +991,7 @@ declare const _default: {
|
|
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" | "
|
994
|
+
readonly props: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
995
995
|
placeholder: string;
|
996
996
|
itemRender: (option: Option) => JSX.Element;
|
997
997
|
getItemProps: (props: {
|
@@ -1009,7 +1009,7 @@ 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" | "
|
1012
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1013
1013
|
placeholder: string;
|
1014
1014
|
itemRender: (option: Option) => JSX.Element;
|
1015
1015
|
getItemProps: (props: {
|
@@ -1022,7 +1022,7 @@ declare const _default: {
|
|
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" | "
|
1025
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1026
1026
|
placeholder: string;
|
1027
1027
|
itemRender: (option: Option) => JSX.Element;
|
1028
1028
|
getItemProps: (props: {
|
@@ -1033,7 +1033,7 @@ declare const _default: {
|
|
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" | "
|
1036
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1037
1037
|
placeholder: string;
|
1038
1038
|
itemRender: (option: Option) => JSX.Element;
|
1039
1039
|
getItemProps: (props: {
|
@@ -1046,7 +1046,7 @@ declare const _default: {
|
|
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" | "
|
1049
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1050
1050
|
placeholder: string;
|
1051
1051
|
itemRender: (option: Option) => JSX.Element;
|
1052
1052
|
getItemProps: (props: {
|
@@ -1057,7 +1057,7 @@ declare const _default: {
|
|
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" | "
|
1060
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1061
1061
|
placeholder: string;
|
1062
1062
|
itemRender: (option: Option) => JSX.Element;
|
1063
1063
|
getItemProps: (props: {
|
@@ -1068,7 +1068,7 @@ declare const _default: {
|
|
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" | "
|
1071
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1072
1072
|
placeholder: string;
|
1073
1073
|
itemRender: (option: Option) => JSX.Element;
|
1074
1074
|
getItemProps: (props: {
|
@@ -1079,7 +1079,7 @@ declare const _default: {
|
|
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" | "
|
1082
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ListMenuProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "disabled" | "onSelect" | "options" | "selectedOptions" | "prefix" | "highlightIndex"> & Partial<Pick<Omit<ListMenuProps, keyof LocaleProps>, "placeholder" | "itemRender" | "getItemProps">> & Partial<Pick<{
|
1083
1083
|
placeholder: string;
|
1084
1084
|
itemRender: (option: Option) => JSX.Element;
|
1085
1085
|
getItemProps: (props: {
|