amis 1.6.0 → 1.6.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Alert.d.ts +588 -588
- package/lib/components/Alert2.d.ts +125 -20
- package/lib/components/AnchorNav.d.ts +104 -20
- package/lib/components/ArrayInput.d.ts +420 -420
- package/lib/components/AsideNav.d.ts +125 -125
- package/lib/components/AssociatedSelection.d.ts +504 -504
- package/lib/components/Avatar.d.ts +461 -20
- package/lib/components/Button.d.ts +167 -20
- package/lib/components/CalendarMobile.d.ts +420 -84
- package/lib/components/Card.d.ts +671 -20
- package/lib/components/ChainedSelection.d.ts +504 -504
- package/lib/components/Checkbox.d.ts +104 -20
- package/lib/components/Collapse.d.ts +587 -20
- package/lib/components/CollapseGroup.d.ts +230 -20
- package/lib/components/ColorPicker.d.ts +504 -504
- package/lib/components/DatePicker.d.ts +588 -588
- package/lib/components/DateRangePicker.d.ts +1008 -1008
- package/lib/components/Drawer.d.ts +125 -20
- package/lib/components/Editor.d.ts +840 -672
- package/lib/components/GroupedSelection.d.ts +504 -504
- package/lib/components/Html.d.ts +62 -62
- package/lib/components/InputBox.d.ts +83 -83
- package/lib/components/Layout.d.ts +146 -146
- package/lib/components/ListGroup.d.ts +62 -62
- package/lib/components/ListMenu.d.ts +504 -504
- package/lib/components/LocationPicker.d.ts +336 -336
- package/lib/components/Modal.d.ts +420 -420
- package/lib/components/MonthRangePicker.d.ts +924 -924
- package/lib/components/NumberInput.d.ts +104 -20
- package/lib/components/PopUp.d.ts +672 -672
- package/lib/components/Progress.d.ts +440 -20
- package/lib/components/Radios.d.ts +167 -167
- package/lib/components/Rating.d.ts +272 -314
- package/lib/components/ResultBox.d.ts +504 -84
- package/lib/components/ResultList.d.ts +336 -84
- package/lib/components/SearchBox.d.ts +336 -336
- package/lib/components/Select.d.ts +4977 -4977
- package/lib/components/Selection.d.ts +504 -504
- package/lib/components/SparkLine.d.ts +336 -336
- package/lib/components/Spinner.d.ts +146 -146
- package/lib/components/Switch.d.ts +83 -83
- package/lib/components/TableSelection.d.ts +672 -672
- package/lib/components/Tabs.d.ts +83 -20
- package/lib/components/TitleBar.d.ts +146 -125
- package/lib/components/Toast.d.ts +504 -84
- package/lib/components/TooltipWrapper.d.ts +125 -20
- package/lib/components/Transfer.d.ts +252 -84
- package/lib/components/TransferDropDown.d.ts +252 -84
- package/lib/components/Tree.d.ts +2688 -2688
- package/lib/components/TreeSelection.d.ts +588 -588
- package/lib/components/formula/Editor.d.ts +420 -84
- package/lib/index.js +1 -1
- package/lib/renderers/Dialog.d.ts +420 -420
- package/lib/renderers/Form/InputCity.d.ts +672 -672
- package/lib/renderers/Form/InputColor.d.ts +504 -504
- package/lib/renderers/Nav.d.ts +62 -62
- package/package.json +1 -1
- package/sdk/ang-ie11.css +1 -0
- package/sdk/ang.css +1 -0
- package/sdk/antd-ie11.css +1 -0
- package/sdk/antd.css +1 -0
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1 -0
- package/sdk/cxd.css +1 -0
- package/sdk/dark-ie11.css +1 -0
- package/sdk/dark.css +1 -0
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +3 -3
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -0
- package/sdk/sdk.css +1 -0
- package/sdk/sdk.js +1318 -1253
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
|
@@ -34,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"> &
|
|
38
|
-
mini
|
|
39
|
-
searchImediately
|
|
40
|
-
}
|
|
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"> &
|
|
44
|
-
mini
|
|
45
|
-
searchImediately
|
|
46
|
-
}
|
|
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"> &
|
|
53
|
-
mini
|
|
54
|
-
searchImediately
|
|
55
|
-
}
|
|
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"> &
|
|
61
|
-
mini
|
|
62
|
-
searchImediately
|
|
63
|
-
}
|
|
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"> &
|
|
75
|
-
mini
|
|
76
|
-
searchImediately
|
|
77
|
-
}
|
|
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"> &
|
|
84
|
-
mini
|
|
85
|
-
searchImediately
|
|
86
|
-
}
|
|
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"> &
|
|
91
|
-
mini
|
|
92
|
-
searchImediately
|
|
93
|
-
}
|
|
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"> &
|
|
100
|
-
mini
|
|
101
|
-
searchImediately
|
|
102
|
-
}
|
|
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"> &
|
|
107
|
-
mini
|
|
108
|
-
searchImediately
|
|
109
|
-
}
|
|
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"> &
|
|
114
|
-
mini
|
|
115
|
-
searchImediately
|
|
116
|
-
}
|
|
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"> &
|
|
121
|
-
mini
|
|
122
|
-
searchImediately
|
|
123
|
-
}
|
|
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"> &
|
|
129
|
-
mini
|
|
130
|
-
searchImediately
|
|
131
|
-
}
|
|
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"> &
|
|
138
|
-
mini
|
|
139
|
-
searchImediately
|
|
140
|
-
}
|
|
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"> &
|
|
146
|
-
mini
|
|
147
|
-
searchImediately
|
|
148
|
-
}
|
|
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"> &
|
|
160
|
-
mini
|
|
161
|
-
searchImediately
|
|
162
|
-
}
|
|
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"> &
|
|
169
|
-
mini
|
|
170
|
-
searchImediately
|
|
171
|
-
}
|
|
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"> &
|
|
176
|
-
mini
|
|
177
|
-
searchImediately
|
|
178
|
-
}
|
|
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"> &
|
|
185
|
-
mini
|
|
186
|
-
searchImediately
|
|
187
|
-
}
|
|
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"> &
|
|
192
|
-
mini
|
|
193
|
-
searchImediately
|
|
194
|
-
}
|
|
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"> &
|
|
199
|
-
mini
|
|
200
|
-
searchImediately
|
|
201
|
-
}
|
|
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"> &
|
|
206
|
-
mini
|
|
207
|
-
searchImediately
|
|
208
|
-
}
|
|
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"> &
|
|
217
|
-
mini
|
|
218
|
-
searchImediately
|
|
219
|
-
}
|
|
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"> &
|
|
223
|
-
mini
|
|
224
|
-
searchImediately
|
|
225
|
-
}
|
|
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"> &
|
|
232
|
-
mini
|
|
233
|
-
searchImediately
|
|
234
|
-
}
|
|
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"> &
|
|
240
|
-
mini
|
|
241
|
-
searchImediately
|
|
242
|
-
}
|
|
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"> &
|
|
254
|
-
mini
|
|
255
|
-
searchImediately
|
|
256
|
-
}
|
|
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"> &
|
|
263
|
-
mini
|
|
264
|
-
searchImediately
|
|
265
|
-
}
|
|
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"> &
|
|
270
|
-
mini
|
|
271
|
-
searchImediately
|
|
272
|
-
}
|
|
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"> &
|
|
279
|
-
mini
|
|
280
|
-
searchImediately
|
|
281
|
-
}
|
|
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"> &
|
|
286
|
-
mini
|
|
287
|
-
searchImediately
|
|
288
|
-
}
|
|
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"> &
|
|
293
|
-
mini
|
|
294
|
-
searchImediately
|
|
295
|
-
}
|
|
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"> &
|
|
300
|
-
mini
|
|
301
|
-
searchImediately
|
|
302
|
-
}
|
|
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"> &
|
|
308
|
-
mini
|
|
309
|
-
searchImediately
|
|
310
|
-
}
|
|
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"> &
|
|
317
|
-
mini
|
|
318
|
-
searchImediately
|
|
319
|
-
}
|
|
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"> &
|
|
325
|
-
mini
|
|
326
|
-
searchImediately
|
|
327
|
-
}
|
|
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"> &
|
|
339
|
-
mini
|
|
340
|
-
searchImediately
|
|
341
|
-
}
|
|
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"> &
|
|
348
|
-
mini
|
|
349
|
-
searchImediately
|
|
350
|
-
}
|
|
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"> &
|
|
355
|
-
mini
|
|
356
|
-
searchImediately
|
|
357
|
-
}
|
|
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"> &
|
|
364
|
-
mini
|
|
365
|
-
searchImediately
|
|
366
|
-
}
|
|
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"> &
|
|
371
|
-
mini
|
|
372
|
-
searchImediately
|
|
373
|
-
}
|
|
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"> &
|
|
378
|
-
mini
|
|
379
|
-
searchImediately
|
|
380
|
-
}
|
|
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"> &
|
|
385
|
-
mini
|
|
386
|
-
searchImediately
|
|
387
|
-
}
|
|
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"> &
|
|
400
|
-
mini
|
|
401
|
-
searchImediately
|
|
402
|
-
}
|
|
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"> &
|
|
406
|
-
mini
|
|
407
|
-
searchImediately
|
|
408
|
-
}
|
|
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"> &
|
|
415
|
-
mini
|
|
416
|
-
searchImediately
|
|
417
|
-
}
|
|
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"> &
|
|
423
|
-
mini
|
|
424
|
-
searchImediately
|
|
425
|
-
}
|
|
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"> &
|
|
437
|
-
mini
|
|
438
|
-
searchImediately
|
|
439
|
-
}
|
|
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"> &
|
|
446
|
-
mini
|
|
447
|
-
searchImediately
|
|
448
|
-
}
|
|
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"> &
|
|
453
|
-
mini
|
|
454
|
-
searchImediately
|
|
455
|
-
}
|
|
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"> &
|
|
462
|
-
mini
|
|
463
|
-
searchImediately
|
|
464
|
-
}
|
|
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"> &
|
|
469
|
-
mini
|
|
470
|
-
searchImediately
|
|
471
|
-
}
|
|
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"> &
|
|
476
|
-
mini
|
|
477
|
-
searchImediately
|
|
478
|
-
}
|
|
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"> &
|
|
483
|
-
mini
|
|
484
|
-
searchImediately
|
|
485
|
-
}
|
|
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"> &
|
|
491
|
-
mini
|
|
492
|
-
searchImediately
|
|
493
|
-
}
|
|
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"> &
|
|
500
|
-
mini
|
|
501
|
-
searchImediately
|
|
502
|
-
}
|
|
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"> &
|
|
508
|
-
mini
|
|
509
|
-
searchImediately
|
|
510
|
-
}
|
|
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"> &
|
|
522
|
-
mini
|
|
523
|
-
searchImediately
|
|
524
|
-
}
|
|
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"> &
|
|
531
|
-
mini
|
|
532
|
-
searchImediately
|
|
533
|
-
}
|
|
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"> &
|
|
538
|
-
mini
|
|
539
|
-
searchImediately
|
|
540
|
-
}
|
|
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"> &
|
|
547
|
-
mini
|
|
548
|
-
searchImediately
|
|
549
|
-
}
|
|
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"> &
|
|
554
|
-
mini
|
|
555
|
-
searchImediately
|
|
556
|
-
}
|
|
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"> &
|
|
561
|
-
mini
|
|
562
|
-
searchImediately
|
|
563
|
-
}
|
|
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"> &
|
|
568
|
-
mini
|
|
569
|
-
searchImediately
|
|
570
|
-
}
|
|
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"> &
|
|
583
|
-
mini
|
|
584
|
-
searchImediately
|
|
585
|
-
}
|
|
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"> &
|
|
589
|
-
mini
|
|
590
|
-
searchImediately
|
|
591
|
-
}
|
|
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"> &
|
|
598
|
-
mini
|
|
599
|
-
searchImediately
|
|
600
|
-
}
|
|
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"> &
|
|
606
|
-
mini
|
|
607
|
-
searchImediately
|
|
608
|
-
}
|
|
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"> &
|
|
620
|
-
mini
|
|
621
|
-
searchImediately
|
|
622
|
-
}
|
|
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"> &
|
|
629
|
-
mini
|
|
630
|
-
searchImediately
|
|
631
|
-
}
|
|
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"> &
|
|
636
|
-
mini
|
|
637
|
-
searchImediately
|
|
638
|
-
}
|
|
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"> &
|
|
645
|
-
mini
|
|
646
|
-
searchImediately
|
|
647
|
-
}
|
|
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"> &
|
|
652
|
-
mini
|
|
653
|
-
searchImediately
|
|
654
|
-
}
|
|
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"> &
|
|
659
|
-
mini
|
|
660
|
-
searchImediately
|
|
661
|
-
}
|
|
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"> &
|
|
666
|
-
mini
|
|
667
|
-
searchImediately
|
|
668
|
-
}
|
|
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"> &
|
|
674
|
-
mini
|
|
675
|
-
searchImediately
|
|
676
|
-
}
|
|
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"> &
|
|
683
|
-
mini
|
|
684
|
-
searchImediately
|
|
685
|
-
}
|
|
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"> &
|
|
691
|
-
mini
|
|
692
|
-
searchImediately
|
|
693
|
-
}
|
|
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"> &
|
|
705
|
-
mini
|
|
706
|
-
searchImediately
|
|
707
|
-
}
|
|
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"> &
|
|
714
|
-
mini
|
|
715
|
-
searchImediately
|
|
716
|
-
}
|
|
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"> &
|
|
721
|
-
mini
|
|
722
|
-
searchImediately
|
|
723
|
-
}
|
|
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"> &
|
|
730
|
-
mini
|
|
731
|
-
searchImediately
|
|
732
|
-
}
|
|
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"> &
|
|
737
|
-
mini
|
|
738
|
-
searchImediately
|
|
739
|
-
}
|
|
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"> &
|
|
744
|
-
mini
|
|
745
|
-
searchImediately
|
|
746
|
-
}
|
|
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"> &
|
|
751
|
-
mini
|
|
752
|
-
searchImediately
|
|
753
|
-
}
|
|
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;
|