amis 1.6.0 → 1.6.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/components/Alert.d.ts +588 -588
  2. package/lib/components/Alert2.d.ts +125 -20
  3. package/lib/components/AnchorNav.d.ts +104 -20
  4. package/lib/components/ArrayInput.d.ts +420 -420
  5. package/lib/components/AsideNav.d.ts +125 -125
  6. package/lib/components/AssociatedSelection.d.ts +504 -504
  7. package/lib/components/Avatar.d.ts +461 -20
  8. package/lib/components/Button.d.ts +167 -20
  9. package/lib/components/CalendarMobile.d.ts +420 -84
  10. package/lib/components/Card.d.ts +671 -20
  11. package/lib/components/ChainedSelection.d.ts +504 -504
  12. package/lib/components/Checkbox.d.ts +104 -20
  13. package/lib/components/Collapse.d.ts +587 -20
  14. package/lib/components/CollapseGroup.d.ts +230 -20
  15. package/lib/components/ColorPicker.d.ts +504 -504
  16. package/lib/components/DatePicker.d.ts +588 -588
  17. package/lib/components/DateRangePicker.d.ts +1008 -1008
  18. package/lib/components/Drawer.d.ts +125 -20
  19. package/lib/components/Editor.d.ts +840 -672
  20. package/lib/components/GroupedSelection.d.ts +504 -504
  21. package/lib/components/Html.d.ts +62 -62
  22. package/lib/components/InputBox.d.ts +83 -83
  23. package/lib/components/Layout.d.ts +146 -146
  24. package/lib/components/ListGroup.d.ts +62 -62
  25. package/lib/components/ListMenu.d.ts +504 -504
  26. package/lib/components/LocationPicker.d.ts +336 -336
  27. package/lib/components/Modal.d.ts +420 -420
  28. package/lib/components/MonthRangePicker.d.ts +924 -924
  29. package/lib/components/NumberInput.d.ts +104 -20
  30. package/lib/components/PopUp.d.ts +672 -672
  31. package/lib/components/Progress.d.ts +440 -20
  32. package/lib/components/Radios.d.ts +167 -167
  33. package/lib/components/Rating.d.ts +272 -314
  34. package/lib/components/ResultBox.d.ts +504 -84
  35. package/lib/components/ResultList.d.ts +336 -84
  36. package/lib/components/SearchBox.d.ts +336 -336
  37. package/lib/components/Select.d.ts +4977 -4977
  38. package/lib/components/Selection.d.ts +504 -504
  39. package/lib/components/SparkLine.d.ts +336 -336
  40. package/lib/components/Spinner.d.ts +146 -146
  41. package/lib/components/Switch.d.ts +83 -83
  42. package/lib/components/TableSelection.d.ts +672 -672
  43. package/lib/components/Tabs.d.ts +83 -20
  44. package/lib/components/TitleBar.d.ts +146 -125
  45. package/lib/components/Toast.d.ts +504 -84
  46. package/lib/components/TooltipWrapper.d.ts +125 -20
  47. package/lib/components/Transfer.d.ts +252 -84
  48. package/lib/components/TransferDropDown.d.ts +252 -84
  49. package/lib/components/Tree.d.ts +2688 -2688
  50. package/lib/components/TreeSelection.d.ts +588 -588
  51. package/lib/components/formula/Editor.d.ts +420 -84
  52. package/lib/index.js +1 -1
  53. package/lib/renderers/Dialog.d.ts +420 -420
  54. package/lib/renderers/Form/InputCity.d.ts +672 -672
  55. package/lib/renderers/Form/InputColor.d.ts +504 -504
  56. package/lib/renderers/Nav.d.ts +62 -62
  57. package/package.json +1 -1
  58. package/sdk/ang-ie11.css +1 -0
  59. package/sdk/ang.css +1 -0
  60. package/sdk/antd-ie11.css +1 -0
  61. package/sdk/antd.css +1 -0
  62. package/sdk/charts.js +14 -14
  63. package/sdk/codemirror.js +7 -7
  64. package/sdk/color-picker.js +65 -65
  65. package/sdk/cropperjs.js +2 -2
  66. package/sdk/cxd-ie11.css +1 -0
  67. package/sdk/cxd.css +1 -0
  68. package/sdk/dark-ie11.css +1 -0
  69. package/sdk/dark.css +1 -0
  70. package/sdk/exceljs.js +1 -1
  71. package/sdk/markdown.js +69 -69
  72. package/sdk/papaparse.js +3 -3
  73. package/sdk/renderers/Form/CityDB.js +1 -1
  74. package/sdk/rest.js +18 -18
  75. package/sdk/rich-text.js +62 -62
  76. package/sdk/sdk-ie11.css +1 -0
  77. package/sdk/sdk.css +1 -0
  78. package/sdk/sdk.js +1318 -1253
  79. package/sdk/thirds/hls.js/hls.js +1 -1
  80. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  81. package/sdk/tinymce.js +57 -57
@@ -34,33 +34,33 @@ export declare class SearchBox extends React.Component<SearchBoxProps> {
34
34
  render(): JSX.Element;
35
35
  }
36
36
  declare const _default: {
37
- new (props: (Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
38
- mini: boolean;
39
- searchImediately: boolean;
40
- }, never>> & {
37
+ new (props: (Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
38
+ mini?: boolean | undefined;
39
+ searchImediately?: boolean | undefined;
40
+ } & {} & {
41
41
  locale?: string | undefined;
42
42
  translate?: ((str: string, ...args: any[]) => string) | undefined;
43
- }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
44
- mini: boolean;
45
- searchImediately: boolean;
46
- }, never>> & {
43
+ }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
44
+ mini?: boolean | undefined;
45
+ searchImediately?: boolean | undefined;
46
+ } & {} & {
47
47
  locale?: string | undefined;
48
48
  translate?: ((str: string, ...args: any[]) => string) | undefined;
49
49
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
50
50
  render(): JSX.Element;
51
51
  context: any;
52
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
53
- mini: boolean;
54
- searchImediately: boolean;
55
- }, never>> & {
52
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
53
+ mini?: boolean | undefined;
54
+ searchImediately?: boolean | undefined;
55
+ } & {} & {
56
56
  locale?: string | undefined;
57
57
  translate?: ((str: string, ...args: any[]) => string) | undefined;
58
58
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
59
59
  forceUpdate(callback?: (() => void) | undefined): void;
60
- readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
61
- mini: boolean;
62
- searchImediately: boolean;
63
- }, never>> & {
60
+ readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
61
+ mini?: boolean | undefined;
62
+ searchImediately?: boolean | undefined;
63
+ } & {} & {
64
64
  locale?: string | undefined;
65
65
  translate?: ((str: string, ...args: any[]) => string) | undefined;
66
66
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -71,81 +71,81 @@ declare const _default: {
71
71
  [key: string]: React.ReactInstance;
72
72
  };
73
73
  componentDidMount?(): void;
74
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
75
- mini: boolean;
76
- searchImediately: boolean;
77
- }, never>> & {
74
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
75
+ mini?: boolean | undefined;
76
+ searchImediately?: boolean | undefined;
77
+ } & {} & {
78
78
  locale?: string | undefined;
79
79
  translate?: ((str: string, ...args: any[]) => string) | undefined;
80
80
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
81
81
  componentWillUnmount?(): void;
82
82
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
83
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
84
- mini: boolean;
85
- searchImediately: boolean;
86
- }, never>> & {
83
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
84
+ mini?: boolean | undefined;
85
+ searchImediately?: boolean | undefined;
86
+ } & {} & {
87
87
  locale?: string | undefined;
88
88
  translate?: ((str: string, ...args: any[]) => string) | undefined;
89
89
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
90
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
91
- mini: boolean;
92
- searchImediately: boolean;
93
- }, never>> & {
90
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
91
+ mini?: boolean | undefined;
92
+ searchImediately?: boolean | undefined;
93
+ } & {} & {
94
94
  locale?: string | undefined;
95
95
  translate?: ((str: string, ...args: any[]) => string) | undefined;
96
96
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
97
97
  componentWillMount?(): void;
98
98
  UNSAFE_componentWillMount?(): void;
99
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
100
- mini: boolean;
101
- searchImediately: boolean;
102
- }, never>> & {
99
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
100
+ mini?: boolean | undefined;
101
+ searchImediately?: boolean | undefined;
102
+ } & {} & {
103
103
  locale?: string | undefined;
104
104
  translate?: ((str: string, ...args: any[]) => string) | undefined;
105
105
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
106
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
107
- mini: boolean;
108
- searchImediately: boolean;
109
- }, never>> & {
106
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
107
+ mini?: boolean | undefined;
108
+ searchImediately?: boolean | undefined;
109
+ } & {} & {
110
110
  locale?: string | undefined;
111
111
  translate?: ((str: string, ...args: any[]) => string) | undefined;
112
112
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
113
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
114
- mini: boolean;
115
- searchImediately: boolean;
116
- }, never>> & {
113
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
114
+ mini?: boolean | undefined;
115
+ searchImediately?: boolean | undefined;
116
+ } & {} & {
117
117
  locale?: string | undefined;
118
118
  translate?: ((str: string, ...args: any[]) => string) | undefined;
119
119
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
120
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
121
- mini: boolean;
122
- searchImediately: boolean;
123
- }, never>> & {
120
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
121
+ mini?: boolean | undefined;
122
+ searchImediately?: boolean | undefined;
123
+ } & {} & {
124
124
  locale?: string | undefined;
125
125
  translate?: ((str: string, ...args: any[]) => string) | undefined;
126
126
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
127
127
  };
128
- new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
129
- mini: boolean;
130
- searchImediately: boolean;
131
- }, never>> & {
128
+ new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
129
+ mini?: boolean | undefined;
130
+ searchImediately?: boolean | undefined;
131
+ } & {} & {
132
132
  locale?: string | undefined;
133
133
  translate?: ((str: string, ...args: any[]) => string) | undefined;
134
134
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
135
135
  render(): JSX.Element;
136
136
  context: any;
137
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
138
- mini: boolean;
139
- searchImediately: boolean;
140
- }, never>> & {
137
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
138
+ mini?: boolean | undefined;
139
+ searchImediately?: boolean | undefined;
140
+ } & {} & {
141
141
  locale?: string | undefined;
142
142
  translate?: ((str: string, ...args: any[]) => string) | undefined;
143
143
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
144
144
  forceUpdate(callback?: (() => void) | undefined): void;
145
- readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
146
- mini: boolean;
147
- searchImediately: boolean;
148
- }, never>> & {
145
+ readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
146
+ mini?: boolean | undefined;
147
+ searchImediately?: boolean | undefined;
148
+ } & {} & {
149
149
  locale?: string | undefined;
150
150
  translate?: ((str: string, ...args: any[]) => string) | undefined;
151
151
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -156,56 +156,56 @@ declare const _default: {
156
156
  [key: string]: React.ReactInstance;
157
157
  };
158
158
  componentDidMount?(): void;
159
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
160
- mini: boolean;
161
- searchImediately: boolean;
162
- }, never>> & {
159
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
160
+ mini?: boolean | undefined;
161
+ searchImediately?: boolean | undefined;
162
+ } & {} & {
163
163
  locale?: string | undefined;
164
164
  translate?: ((str: string, ...args: any[]) => string) | undefined;
165
165
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
166
166
  componentWillUnmount?(): void;
167
167
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
168
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
169
- mini: boolean;
170
- searchImediately: boolean;
171
- }, never>> & {
168
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
169
+ mini?: boolean | undefined;
170
+ searchImediately?: boolean | undefined;
171
+ } & {} & {
172
172
  locale?: string | undefined;
173
173
  translate?: ((str: string, ...args: any[]) => string) | undefined;
174
174
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
175
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
176
- mini: boolean;
177
- searchImediately: boolean;
178
- }, never>> & {
175
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
176
+ mini?: boolean | undefined;
177
+ searchImediately?: boolean | undefined;
178
+ } & {} & {
179
179
  locale?: string | undefined;
180
180
  translate?: ((str: string, ...args: any[]) => string) | undefined;
181
181
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
182
182
  componentWillMount?(): void;
183
183
  UNSAFE_componentWillMount?(): void;
184
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
185
- mini: boolean;
186
- searchImediately: boolean;
187
- }, never>> & {
184
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
185
+ mini?: boolean | undefined;
186
+ searchImediately?: boolean | undefined;
187
+ } & {} & {
188
188
  locale?: string | undefined;
189
189
  translate?: ((str: string, ...args: any[]) => string) | undefined;
190
190
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
191
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
192
- mini: boolean;
193
- searchImediately: boolean;
194
- }, never>> & {
191
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
192
+ mini?: boolean | undefined;
193
+ searchImediately?: boolean | undefined;
194
+ } & {} & {
195
195
  locale?: string | undefined;
196
196
  translate?: ((str: string, ...args: any[]) => string) | undefined;
197
197
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
198
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
199
- mini: boolean;
200
- searchImediately: boolean;
201
- }, never>> & {
198
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
199
+ mini?: boolean | undefined;
200
+ searchImediately?: boolean | undefined;
201
+ } & {} & {
202
202
  locale?: string | undefined;
203
203
  translate?: ((str: string, ...args: any[]) => string) | undefined;
204
204
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
205
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
206
- mini: boolean;
207
- searchImediately: boolean;
208
- }, never>> & {
205
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
206
+ mini?: boolean | undefined;
207
+ searchImediately?: boolean | undefined;
208
+ } & {} & {
209
209
  locale?: string | undefined;
210
210
  translate?: ((str: string, ...args: any[]) => string) | undefined;
211
211
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -213,33 +213,33 @@ declare const _default: {
213
213
  displayName: string;
214
214
  contextType: React.Context<string>;
215
215
  ComposedComponent: React.ComponentType<{
216
- new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
217
- mini: boolean;
218
- searchImediately: boolean;
219
- }, never>> & {
216
+ new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
217
+ mini?: boolean | undefined;
218
+ searchImediately?: boolean | undefined;
219
+ } & {} & {
220
220
  locale?: string | undefined;
221
221
  translate?: ((str: string, ...args: any[]) => string) | undefined;
222
- }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
223
- mini: boolean;
224
- searchImediately: boolean;
225
- }, never>> & {
222
+ }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
223
+ mini?: boolean | undefined;
224
+ searchImediately?: boolean | undefined;
225
+ } & {} & {
226
226
  locale?: string | undefined;
227
227
  translate?: ((str: string, ...args: any[]) => string) | undefined;
228
228
  }>): {
229
229
  render(): JSX.Element;
230
230
  context: any;
231
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
232
- mini: boolean;
233
- searchImediately: boolean;
234
- }, never>> & {
231
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
232
+ mini?: boolean | undefined;
233
+ searchImediately?: boolean | undefined;
234
+ } & {} & {
235
235
  locale?: string | undefined;
236
236
  translate?: ((str: string, ...args: any[]) => string) | undefined;
237
237
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
238
238
  forceUpdate(callback?: (() => void) | undefined): void;
239
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
240
- mini: boolean;
241
- searchImediately: boolean;
242
- }, never>> & {
239
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
240
+ mini?: boolean | undefined;
241
+ searchImediately?: boolean | undefined;
242
+ } & {} & {
243
243
  locale?: string | undefined;
244
244
  translate?: ((str: string, ...args: any[]) => string) | undefined;
245
245
  }> & Readonly<{
@@ -250,81 +250,81 @@ declare const _default: {
250
250
  [key: string]: React.ReactInstance;
251
251
  };
252
252
  componentDidMount?(): void;
253
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
254
- mini: boolean;
255
- searchImediately: boolean;
256
- }, never>> & {
253
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
254
+ mini?: boolean | undefined;
255
+ searchImediately?: boolean | undefined;
256
+ } & {} & {
257
257
  locale?: string | undefined;
258
258
  translate?: ((str: string, ...args: any[]) => string) | undefined;
259
259
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
260
260
  componentWillUnmount?(): void;
261
261
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
262
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
263
- mini: boolean;
264
- searchImediately: boolean;
265
- }, never>> & {
262
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
263
+ mini?: boolean | undefined;
264
+ searchImediately?: boolean | undefined;
265
+ } & {} & {
266
266
  locale?: string | undefined;
267
267
  translate?: ((str: string, ...args: any[]) => string) | undefined;
268
268
  }>, prevState: Readonly<{}>): any;
269
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
270
- mini: boolean;
271
- searchImediately: boolean;
272
- }, never>> & {
269
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
270
+ mini?: boolean | undefined;
271
+ searchImediately?: boolean | undefined;
272
+ } & {} & {
273
273
  locale?: string | undefined;
274
274
  translate?: ((str: string, ...args: any[]) => string) | undefined;
275
275
  }>, prevState: Readonly<{}>, snapshot?: any): void;
276
276
  componentWillMount?(): void;
277
277
  UNSAFE_componentWillMount?(): void;
278
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
279
- mini: boolean;
280
- searchImediately: boolean;
281
- }, never>> & {
278
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
279
+ mini?: boolean | undefined;
280
+ searchImediately?: boolean | undefined;
281
+ } & {} & {
282
282
  locale?: string | undefined;
283
283
  translate?: ((str: string, ...args: any[]) => string) | undefined;
284
284
  }>, nextContext: any): void;
285
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
286
- mini: boolean;
287
- searchImediately: boolean;
288
- }, never>> & {
285
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
286
+ mini?: boolean | undefined;
287
+ searchImediately?: boolean | undefined;
288
+ } & {} & {
289
289
  locale?: string | undefined;
290
290
  translate?: ((str: string, ...args: any[]) => string) | undefined;
291
291
  }>, nextContext: any): void;
292
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
293
- mini: boolean;
294
- searchImediately: boolean;
295
- }, never>> & {
292
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
293
+ mini?: boolean | undefined;
294
+ searchImediately?: boolean | undefined;
295
+ } & {} & {
296
296
  locale?: string | undefined;
297
297
  translate?: ((str: string, ...args: any[]) => string) | undefined;
298
298
  }>, nextState: Readonly<{}>, nextContext: any): void;
299
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
300
- mini: boolean;
301
- searchImediately: boolean;
302
- }, never>> & {
299
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
300
+ mini?: boolean | undefined;
301
+ searchImediately?: boolean | undefined;
302
+ } & {} & {
303
303
  locale?: string | undefined;
304
304
  translate?: ((str: string, ...args: any[]) => string) | undefined;
305
305
  }>, nextState: Readonly<{}>, nextContext: any): void;
306
306
  };
307
- new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
308
- mini: boolean;
309
- searchImediately: boolean;
310
- }, never>> & {
307
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
308
+ mini?: boolean | undefined;
309
+ searchImediately?: boolean | undefined;
310
+ } & {} & {
311
311
  locale?: string | undefined;
312
312
  translate?: ((str: string, ...args: any[]) => string) | undefined;
313
313
  }, context: any): {
314
314
  render(): JSX.Element;
315
315
  context: any;
316
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
317
- mini: boolean;
318
- searchImediately: boolean;
319
- }, never>> & {
316
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
317
+ mini?: boolean | undefined;
318
+ searchImediately?: boolean | undefined;
319
+ } & {} & {
320
320
  locale?: string | undefined;
321
321
  translate?: ((str: string, ...args: any[]) => string) | undefined;
322
322
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
323
323
  forceUpdate(callback?: (() => void) | undefined): void;
324
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
325
- mini: boolean;
326
- searchImediately: boolean;
327
- }, never>> & {
324
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
325
+ mini?: boolean | undefined;
326
+ searchImediately?: boolean | undefined;
327
+ } & {} & {
328
328
  locale?: string | undefined;
329
329
  translate?: ((str: string, ...args: any[]) => string) | undefined;
330
330
  }> & Readonly<{
@@ -335,56 +335,56 @@ declare const _default: {
335
335
  [key: string]: React.ReactInstance;
336
336
  };
337
337
  componentDidMount?(): void;
338
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
339
- mini: boolean;
340
- searchImediately: boolean;
341
- }, never>> & {
338
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
339
+ mini?: boolean | undefined;
340
+ searchImediately?: boolean | undefined;
341
+ } & {} & {
342
342
  locale?: string | undefined;
343
343
  translate?: ((str: string, ...args: any[]) => string) | undefined;
344
344
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
345
345
  componentWillUnmount?(): void;
346
346
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
347
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
348
- mini: boolean;
349
- searchImediately: boolean;
350
- }, never>> & {
347
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
348
+ mini?: boolean | undefined;
349
+ searchImediately?: boolean | undefined;
350
+ } & {} & {
351
351
  locale?: string | undefined;
352
352
  translate?: ((str: string, ...args: any[]) => string) | undefined;
353
353
  }>, prevState: Readonly<{}>): any;
354
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
355
- mini: boolean;
356
- searchImediately: boolean;
357
- }, never>> & {
354
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
355
+ mini?: boolean | undefined;
356
+ searchImediately?: boolean | undefined;
357
+ } & {} & {
358
358
  locale?: string | undefined;
359
359
  translate?: ((str: string, ...args: any[]) => string) | undefined;
360
360
  }>, prevState: Readonly<{}>, snapshot?: any): void;
361
361
  componentWillMount?(): void;
362
362
  UNSAFE_componentWillMount?(): void;
363
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
364
- mini: boolean;
365
- searchImediately: boolean;
366
- }, never>> & {
363
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
364
+ mini?: boolean | undefined;
365
+ searchImediately?: boolean | undefined;
366
+ } & {} & {
367
367
  locale?: string | undefined;
368
368
  translate?: ((str: string, ...args: any[]) => string) | undefined;
369
369
  }>, nextContext: any): void;
370
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
371
- mini: boolean;
372
- searchImediately: boolean;
373
- }, never>> & {
370
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
371
+ mini?: boolean | undefined;
372
+ searchImediately?: boolean | undefined;
373
+ } & {} & {
374
374
  locale?: string | undefined;
375
375
  translate?: ((str: string, ...args: any[]) => string) | undefined;
376
376
  }>, nextContext: any): void;
377
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
378
- mini: boolean;
379
- searchImediately: boolean;
380
- }, never>> & {
377
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
378
+ mini?: boolean | undefined;
379
+ searchImediately?: boolean | undefined;
380
+ } & {} & {
381
381
  locale?: string | undefined;
382
382
  translate?: ((str: string, ...args: any[]) => string) | undefined;
383
383
  }>, nextState: Readonly<{}>, nextContext: any): void;
384
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
385
- mini: boolean;
386
- searchImediately: boolean;
387
- }, never>> & {
384
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
385
+ mini?: boolean | undefined;
386
+ searchImediately?: boolean | undefined;
387
+ } & {} & {
388
388
  locale?: string | undefined;
389
389
  translate?: ((str: string, ...args: any[]) => string) | undefined;
390
390
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -396,33 +396,33 @@ declare const _default: {
396
396
  ComposedComponent: typeof SearchBox;
397
397
  }>;
398
398
  } & import("hoist-non-react-statics").NonReactStatics<{
399
- new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
400
- mini: boolean;
401
- searchImediately: boolean;
402
- }, never>> & {
399
+ new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
400
+ mini?: boolean | undefined;
401
+ searchImediately?: boolean | undefined;
402
+ } & {} & {
403
403
  locale?: string | undefined;
404
404
  translate?: ((str: string, ...args: any[]) => string) | undefined;
405
- }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
406
- mini: boolean;
407
- searchImediately: boolean;
408
- }, never>> & {
405
+ }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
406
+ mini?: boolean | undefined;
407
+ searchImediately?: boolean | undefined;
408
+ } & {} & {
409
409
  locale?: string | undefined;
410
410
  translate?: ((str: string, ...args: any[]) => string) | undefined;
411
411
  }>): {
412
412
  render(): JSX.Element;
413
413
  context: any;
414
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
415
- mini: boolean;
416
- searchImediately: boolean;
417
- }, never>> & {
414
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
415
+ mini?: boolean | undefined;
416
+ searchImediately?: boolean | undefined;
417
+ } & {} & {
418
418
  locale?: string | undefined;
419
419
  translate?: ((str: string, ...args: any[]) => string) | undefined;
420
420
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
421
421
  forceUpdate(callback?: (() => void) | undefined): void;
422
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
423
- mini: boolean;
424
- searchImediately: boolean;
425
- }, never>> & {
422
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
423
+ mini?: boolean | undefined;
424
+ searchImediately?: boolean | undefined;
425
+ } & {} & {
426
426
  locale?: string | undefined;
427
427
  translate?: ((str: string, ...args: any[]) => string) | undefined;
428
428
  }> & Readonly<{
@@ -433,81 +433,81 @@ declare const _default: {
433
433
  [key: string]: React.ReactInstance;
434
434
  };
435
435
  componentDidMount?(): void;
436
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
437
- mini: boolean;
438
- searchImediately: boolean;
439
- }, never>> & {
436
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
437
+ mini?: boolean | undefined;
438
+ searchImediately?: boolean | undefined;
439
+ } & {} & {
440
440
  locale?: string | undefined;
441
441
  translate?: ((str: string, ...args: any[]) => string) | undefined;
442
442
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
443
443
  componentWillUnmount?(): void;
444
444
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
445
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
446
- mini: boolean;
447
- searchImediately: boolean;
448
- }, never>> & {
445
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
446
+ mini?: boolean | undefined;
447
+ searchImediately?: boolean | undefined;
448
+ } & {} & {
449
449
  locale?: string | undefined;
450
450
  translate?: ((str: string, ...args: any[]) => string) | undefined;
451
451
  }>, prevState: Readonly<{}>): any;
452
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
453
- mini: boolean;
454
- searchImediately: boolean;
455
- }, never>> & {
452
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
453
+ mini?: boolean | undefined;
454
+ searchImediately?: boolean | undefined;
455
+ } & {} & {
456
456
  locale?: string | undefined;
457
457
  translate?: ((str: string, ...args: any[]) => string) | undefined;
458
458
  }>, prevState: Readonly<{}>, snapshot?: any): void;
459
459
  componentWillMount?(): void;
460
460
  UNSAFE_componentWillMount?(): void;
461
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
462
- mini: boolean;
463
- searchImediately: boolean;
464
- }, never>> & {
461
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
462
+ mini?: boolean | undefined;
463
+ searchImediately?: boolean | undefined;
464
+ } & {} & {
465
465
  locale?: string | undefined;
466
466
  translate?: ((str: string, ...args: any[]) => string) | undefined;
467
467
  }>, nextContext: any): void;
468
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
469
- mini: boolean;
470
- searchImediately: boolean;
471
- }, never>> & {
468
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
469
+ mini?: boolean | undefined;
470
+ searchImediately?: boolean | undefined;
471
+ } & {} & {
472
472
  locale?: string | undefined;
473
473
  translate?: ((str: string, ...args: any[]) => string) | undefined;
474
474
  }>, nextContext: any): void;
475
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
476
- mini: boolean;
477
- searchImediately: boolean;
478
- }, never>> & {
475
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
476
+ mini?: boolean | undefined;
477
+ searchImediately?: boolean | undefined;
478
+ } & {} & {
479
479
  locale?: string | undefined;
480
480
  translate?: ((str: string, ...args: any[]) => string) | undefined;
481
481
  }>, nextState: Readonly<{}>, nextContext: any): void;
482
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
483
- mini: boolean;
484
- searchImediately: boolean;
485
- }, never>> & {
482
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
483
+ mini?: boolean | undefined;
484
+ searchImediately?: boolean | undefined;
485
+ } & {} & {
486
486
  locale?: string | undefined;
487
487
  translate?: ((str: string, ...args: any[]) => string) | undefined;
488
488
  }>, nextState: Readonly<{}>, nextContext: any): void;
489
489
  };
490
- new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
491
- mini: boolean;
492
- searchImediately: boolean;
493
- }, never>> & {
490
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
491
+ mini?: boolean | undefined;
492
+ searchImediately?: boolean | undefined;
493
+ } & {} & {
494
494
  locale?: string | undefined;
495
495
  translate?: ((str: string, ...args: any[]) => string) | undefined;
496
496
  }, context: any): {
497
497
  render(): JSX.Element;
498
498
  context: any;
499
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
500
- mini: boolean;
501
- searchImediately: boolean;
502
- }, never>> & {
499
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
500
+ mini?: boolean | undefined;
501
+ searchImediately?: boolean | undefined;
502
+ } & {} & {
503
503
  locale?: string | undefined;
504
504
  translate?: ((str: string, ...args: any[]) => string) | undefined;
505
505
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
506
506
  forceUpdate(callback?: (() => void) | undefined): void;
507
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
508
- mini: boolean;
509
- searchImediately: boolean;
510
- }, never>> & {
507
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
508
+ mini?: boolean | undefined;
509
+ searchImediately?: boolean | undefined;
510
+ } & {} & {
511
511
  locale?: string | undefined;
512
512
  translate?: ((str: string, ...args: any[]) => string) | undefined;
513
513
  }> & Readonly<{
@@ -518,56 +518,56 @@ declare const _default: {
518
518
  [key: string]: React.ReactInstance;
519
519
  };
520
520
  componentDidMount?(): void;
521
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
522
- mini: boolean;
523
- searchImediately: boolean;
524
- }, never>> & {
521
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
522
+ mini?: boolean | undefined;
523
+ searchImediately?: boolean | undefined;
524
+ } & {} & {
525
525
  locale?: string | undefined;
526
526
  translate?: ((str: string, ...args: any[]) => string) | undefined;
527
527
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
528
528
  componentWillUnmount?(): void;
529
529
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
530
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
531
- mini: boolean;
532
- searchImediately: boolean;
533
- }, never>> & {
530
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
531
+ mini?: boolean | undefined;
532
+ searchImediately?: boolean | undefined;
533
+ } & {} & {
534
534
  locale?: string | undefined;
535
535
  translate?: ((str: string, ...args: any[]) => string) | undefined;
536
536
  }>, prevState: Readonly<{}>): any;
537
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
538
- mini: boolean;
539
- searchImediately: boolean;
540
- }, never>> & {
537
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
538
+ mini?: boolean | undefined;
539
+ searchImediately?: boolean | undefined;
540
+ } & {} & {
541
541
  locale?: string | undefined;
542
542
  translate?: ((str: string, ...args: any[]) => string) | undefined;
543
543
  }>, prevState: Readonly<{}>, snapshot?: any): void;
544
544
  componentWillMount?(): void;
545
545
  UNSAFE_componentWillMount?(): void;
546
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
547
- mini: boolean;
548
- searchImediately: boolean;
549
- }, never>> & {
546
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
547
+ mini?: boolean | undefined;
548
+ searchImediately?: boolean | undefined;
549
+ } & {} & {
550
550
  locale?: string | undefined;
551
551
  translate?: ((str: string, ...args: any[]) => string) | undefined;
552
552
  }>, nextContext: any): void;
553
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
554
- mini: boolean;
555
- searchImediately: boolean;
556
- }, never>> & {
553
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
554
+ mini?: boolean | undefined;
555
+ searchImediately?: boolean | undefined;
556
+ } & {} & {
557
557
  locale?: string | undefined;
558
558
  translate?: ((str: string, ...args: any[]) => string) | undefined;
559
559
  }>, nextContext: any): void;
560
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
561
- mini: boolean;
562
- searchImediately: boolean;
563
- }, never>> & {
560
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
561
+ mini?: boolean | undefined;
562
+ searchImediately?: boolean | undefined;
563
+ } & {} & {
564
564
  locale?: string | undefined;
565
565
  translate?: ((str: string, ...args: any[]) => string) | undefined;
566
566
  }>, nextState: Readonly<{}>, nextContext: any): void;
567
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
568
- mini: boolean;
569
- searchImediately: boolean;
570
- }, never>> & {
567
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
568
+ mini?: boolean | undefined;
569
+ searchImediately?: boolean | undefined;
570
+ } & {} & {
571
571
  locale?: string | undefined;
572
572
  translate?: ((str: string, ...args: any[]) => string) | undefined;
573
573
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -579,33 +579,33 @@ declare const _default: {
579
579
  ComposedComponent: typeof SearchBox;
580
580
  }, {}> & {
581
581
  ComposedComponent: {
582
- new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
583
- mini: boolean;
584
- searchImediately: boolean;
585
- }, never>> & {
582
+ new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
583
+ mini?: boolean | undefined;
584
+ searchImediately?: boolean | undefined;
585
+ } & {} & {
586
586
  locale?: string | undefined;
587
587
  translate?: ((str: string, ...args: any[]) => string) | undefined;
588
- }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
589
- mini: boolean;
590
- searchImediately: boolean;
591
- }, never>> & {
588
+ }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
589
+ mini?: boolean | undefined;
590
+ searchImediately?: boolean | undefined;
591
+ } & {} & {
592
592
  locale?: string | undefined;
593
593
  translate?: ((str: string, ...args: any[]) => string) | undefined;
594
594
  }>): {
595
595
  render(): JSX.Element;
596
596
  context: any;
597
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
598
- mini: boolean;
599
- searchImediately: boolean;
600
- }, never>> & {
597
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
598
+ mini?: boolean | undefined;
599
+ searchImediately?: boolean | undefined;
600
+ } & {} & {
601
601
  locale?: string | undefined;
602
602
  translate?: ((str: string, ...args: any[]) => string) | undefined;
603
603
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
604
604
  forceUpdate(callback?: (() => void) | undefined): void;
605
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
606
- mini: boolean;
607
- searchImediately: boolean;
608
- }, never>> & {
605
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
606
+ mini?: boolean | undefined;
607
+ searchImediately?: boolean | undefined;
608
+ } & {} & {
609
609
  locale?: string | undefined;
610
610
  translate?: ((str: string, ...args: any[]) => string) | undefined;
611
611
  }> & Readonly<{
@@ -616,81 +616,81 @@ declare const _default: {
616
616
  [key: string]: React.ReactInstance;
617
617
  };
618
618
  componentDidMount?(): void;
619
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
620
- mini: boolean;
621
- searchImediately: boolean;
622
- }, never>> & {
619
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
620
+ mini?: boolean | undefined;
621
+ searchImediately?: boolean | undefined;
622
+ } & {} & {
623
623
  locale?: string | undefined;
624
624
  translate?: ((str: string, ...args: any[]) => string) | undefined;
625
625
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
626
626
  componentWillUnmount?(): void;
627
627
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
628
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
629
- mini: boolean;
630
- searchImediately: boolean;
631
- }, never>> & {
628
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
629
+ mini?: boolean | undefined;
630
+ searchImediately?: boolean | undefined;
631
+ } & {} & {
632
632
  locale?: string | undefined;
633
633
  translate?: ((str: string, ...args: any[]) => string) | undefined;
634
634
  }>, prevState: Readonly<{}>): any;
635
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
636
- mini: boolean;
637
- searchImediately: boolean;
638
- }, never>> & {
635
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
636
+ mini?: boolean | undefined;
637
+ searchImediately?: boolean | undefined;
638
+ } & {} & {
639
639
  locale?: string | undefined;
640
640
  translate?: ((str: string, ...args: any[]) => string) | undefined;
641
641
  }>, prevState: Readonly<{}>, snapshot?: any): void;
642
642
  componentWillMount?(): void;
643
643
  UNSAFE_componentWillMount?(): void;
644
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
645
- mini: boolean;
646
- searchImediately: boolean;
647
- }, never>> & {
644
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
645
+ mini?: boolean | undefined;
646
+ searchImediately?: boolean | undefined;
647
+ } & {} & {
648
648
  locale?: string | undefined;
649
649
  translate?: ((str: string, ...args: any[]) => string) | undefined;
650
650
  }>, nextContext: any): void;
651
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
652
- mini: boolean;
653
- searchImediately: boolean;
654
- }, never>> & {
651
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
652
+ mini?: boolean | undefined;
653
+ searchImediately?: boolean | undefined;
654
+ } & {} & {
655
655
  locale?: string | undefined;
656
656
  translate?: ((str: string, ...args: any[]) => string) | undefined;
657
657
  }>, nextContext: any): void;
658
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
659
- mini: boolean;
660
- searchImediately: boolean;
661
- }, never>> & {
658
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
659
+ mini?: boolean | undefined;
660
+ searchImediately?: boolean | undefined;
661
+ } & {} & {
662
662
  locale?: string | undefined;
663
663
  translate?: ((str: string, ...args: any[]) => string) | undefined;
664
664
  }>, nextState: Readonly<{}>, nextContext: any): void;
665
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
666
- mini: boolean;
667
- searchImediately: boolean;
668
- }, never>> & {
665
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
666
+ mini?: boolean | undefined;
667
+ searchImediately?: boolean | undefined;
668
+ } & {} & {
669
669
  locale?: string | undefined;
670
670
  translate?: ((str: string, ...args: any[]) => string) | undefined;
671
671
  }>, nextState: Readonly<{}>, nextContext: any): void;
672
672
  };
673
- new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
674
- mini: boolean;
675
- searchImediately: boolean;
676
- }, never>> & {
673
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
674
+ mini?: boolean | undefined;
675
+ searchImediately?: boolean | undefined;
676
+ } & {} & {
677
677
  locale?: string | undefined;
678
678
  translate?: ((str: string, ...args: any[]) => string) | undefined;
679
679
  }, context: any): {
680
680
  render(): JSX.Element;
681
681
  context: any;
682
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
683
- mini: boolean;
684
- searchImediately: boolean;
685
- }, never>> & {
682
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
683
+ mini?: boolean | undefined;
684
+ searchImediately?: boolean | undefined;
685
+ } & {} & {
686
686
  locale?: string | undefined;
687
687
  translate?: ((str: string, ...args: any[]) => string) | undefined;
688
688
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
689
689
  forceUpdate(callback?: (() => void) | undefined): void;
690
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
691
- mini: boolean;
692
- searchImediately: boolean;
693
- }, never>> & {
690
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
691
+ mini?: boolean | undefined;
692
+ searchImediately?: boolean | undefined;
693
+ } & {} & {
694
694
  locale?: string | undefined;
695
695
  translate?: ((str: string, ...args: any[]) => string) | undefined;
696
696
  }> & Readonly<{
@@ -701,56 +701,56 @@ declare const _default: {
701
701
  [key: string]: React.ReactInstance;
702
702
  };
703
703
  componentDidMount?(): void;
704
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
705
- mini: boolean;
706
- searchImediately: boolean;
707
- }, never>> & {
704
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
705
+ mini?: boolean | undefined;
706
+ searchImediately?: boolean | undefined;
707
+ } & {} & {
708
708
  locale?: string | undefined;
709
709
  translate?: ((str: string, ...args: any[]) => string) | undefined;
710
710
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
711
711
  componentWillUnmount?(): void;
712
712
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
713
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
714
- mini: boolean;
715
- searchImediately: boolean;
716
- }, never>> & {
713
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
714
+ mini?: boolean | undefined;
715
+ searchImediately?: boolean | undefined;
716
+ } & {} & {
717
717
  locale?: string | undefined;
718
718
  translate?: ((str: string, ...args: any[]) => string) | undefined;
719
719
  }>, prevState: Readonly<{}>): any;
720
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
721
- mini: boolean;
722
- searchImediately: boolean;
723
- }, never>> & {
720
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
721
+ mini?: boolean | undefined;
722
+ searchImediately?: boolean | undefined;
723
+ } & {} & {
724
724
  locale?: string | undefined;
725
725
  translate?: ((str: string, ...args: any[]) => string) | undefined;
726
726
  }>, prevState: Readonly<{}>, snapshot?: any): void;
727
727
  componentWillMount?(): void;
728
728
  UNSAFE_componentWillMount?(): void;
729
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
730
- mini: boolean;
731
- searchImediately: boolean;
732
- }, never>> & {
729
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
730
+ mini?: boolean | undefined;
731
+ searchImediately?: boolean | undefined;
732
+ } & {} & {
733
733
  locale?: string | undefined;
734
734
  translate?: ((str: string, ...args: any[]) => string) | undefined;
735
735
  }>, nextContext: any): void;
736
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
737
- mini: boolean;
738
- searchImediately: boolean;
739
- }, never>> & {
736
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
737
+ mini?: boolean | undefined;
738
+ searchImediately?: boolean | undefined;
739
+ } & {} & {
740
740
  locale?: string | undefined;
741
741
  translate?: ((str: string, ...args: any[]) => string) | undefined;
742
742
  }>, nextContext: any): void;
743
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
744
- mini: boolean;
745
- searchImediately: boolean;
746
- }, never>> & {
743
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
744
+ mini?: boolean | undefined;
745
+ searchImediately?: boolean | undefined;
746
+ } & {} & {
747
747
  locale?: string | undefined;
748
748
  translate?: ((str: string, ...args: any[]) => string) | undefined;
749
749
  }>, nextState: Readonly<{}>, nextContext: any): void;
750
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
751
- mini: boolean;
752
- searchImediately: boolean;
753
- }, never>> & {
750
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & {
751
+ mini?: boolean | undefined;
752
+ searchImediately?: boolean | undefined;
753
+ } & {} & {
754
754
  locale?: string | undefined;
755
755
  translate?: ((str: string, ...args: any[]) => string) | undefined;
756
756
  }>, nextState: Readonly<{}>, nextContext: any): void;