amis 1.9.1-beta.11 → 1.9.1-beta.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. package/lib/RootRenderer.js +14 -0
  2. package/lib/RootRenderer.js.map +2 -2
  3. package/lib/SchemaRenderer.js +8 -3
  4. package/lib/SchemaRenderer.js.map +2 -2
  5. package/lib/components/Alert2.d.ts +10 -10
  6. package/lib/components/DateRangePicker.js +11 -9
  7. package/lib/components/DateRangePicker.js.map +2 -2
  8. package/lib/components/SearchBox.d.ts +40 -40
  9. package/lib/components/Select.d.ts +193 -193
  10. package/lib/components/Select.js +2 -4
  11. package/lib/components/Select.js.map +2 -2
  12. package/lib/components/virtual-list/index.js +1 -1
  13. package/lib/components/virtual-list/index.js.map +1 -1
  14. package/lib/index.js +1 -1
  15. package/lib/locale/de-DE.js +1 -0
  16. package/lib/locale/de-DE.js.map +2 -2
  17. package/lib/locale/en-US.js +1 -0
  18. package/lib/locale/en-US.js.map +2 -2
  19. package/lib/locale/zh-CN.js +5 -2
  20. package/lib/locale/zh-CN.js.map +2 -2
  21. package/lib/renderers/Action.d.ts +6 -0
  22. package/lib/renderers/Action.js.map +2 -2
  23. package/lib/renderers/CRUD.js +2 -1
  24. package/lib/renderers/CRUD.js.map +2 -2
  25. package/lib/renderers/Card.js +5 -4
  26. package/lib/renderers/Card.js.map +2 -2
  27. package/lib/renderers/Carousel.d.ts +1 -1
  28. package/lib/renderers/Carousel.js +5 -1
  29. package/lib/renderers/Carousel.js.map +2 -2
  30. package/lib/renderers/Form/InputImage.js +1 -1
  31. package/lib/renderers/Form/InputImage.js.map +2 -2
  32. package/lib/renderers/Form/InputText.js +1 -1
  33. package/lib/renderers/Form/InputText.js.map +2 -2
  34. package/lib/renderers/Form/Options.js +1 -0
  35. package/lib/renderers/Form/Options.js.map +2 -2
  36. package/lib/renderers/Form/Select.d.ts +12 -0
  37. package/lib/renderers/Form/Select.js +1 -3
  38. package/lib/renderers/Form/Select.js.map +2 -2
  39. package/lib/renderers/Form/wrapControl.js +72 -19
  40. package/lib/renderers/Form/wrapControl.js.map +2 -2
  41. package/lib/renderers/Service.js +1 -0
  42. package/lib/renderers/Service.js.map +2 -2
  43. package/lib/renderers/Table/TableContent.d.ts +2 -2
  44. package/lib/renderers/Table/TableContent.js +4 -16
  45. package/lib/renderers/Table/TableContent.js.map +2 -2
  46. package/lib/renderers/Table/index.d.ts +2 -5
  47. package/lib/renderers/Table/index.js +2 -2
  48. package/lib/renderers/Table/index.js.map +2 -2
  49. package/lib/store/table.js +7 -3
  50. package/lib/store/table.js.map +2 -2
  51. package/lib/themes/ang-ie11.css +0 -1
  52. package/lib/themes/ang.css +0 -1
  53. package/lib/themes/ang.css.map +1 -1
  54. package/lib/themes/antd-ie11.css +0 -1
  55. package/lib/themes/antd.css +0 -1
  56. package/lib/themes/antd.css.map +1 -1
  57. package/lib/themes/cxd-ie11.css +8 -1
  58. package/lib/themes/cxd.css +8 -1
  59. package/lib/themes/cxd.css.map +1 -1
  60. package/lib/themes/dark-ie11.css +0 -1
  61. package/lib/themes/dark.css +0 -1
  62. package/lib/themes/dark.css.map +1 -1
  63. package/lib/themes/default-ie11.css +8 -1
  64. package/lib/themes/default.css +8 -1
  65. package/lib/themes/default.css.map +1 -1
  66. package/lib/types.d.ts +1 -1
  67. package/lib/types.js.map +1 -1
  68. package/lib/utils/formula.d.ts +16 -0
  69. package/lib/utils/formula.js +207 -0
  70. package/lib/utils/formula.js.map +13 -0
  71. package/lib/utils/grammar.d.ts +4 -0
  72. package/lib/utils/grammar.js +47 -0
  73. package/lib/utils/grammar.js.map +13 -0
  74. package/lib/utils/helper.js +1 -0
  75. package/lib/utils/helper.js.map +2 -2
  76. package/lib/utils/tpl.js +3 -0
  77. package/lib/utils/tpl.js.map +2 -2
  78. package/package.json +1 -1
  79. package/schema.json +278 -222
  80. package/scss/components/_collapse.scss +1 -1
  81. package/scss/themes/cxd.scss +12 -0
  82. package/sdk/ang-ie11.css +0 -1
  83. package/sdk/ang.css +0 -1
  84. package/sdk/antd-ie11.css +0 -1
  85. package/sdk/antd.css +0 -1
  86. package/sdk/barcode.js +51 -51
  87. package/sdk/charts.js +14 -14
  88. package/sdk/codemirror.js +7 -7
  89. package/sdk/color-picker.js +65 -65
  90. package/sdk/cropperjs.js +2 -2
  91. package/sdk/cxd-ie11.css +9 -1
  92. package/sdk/cxd.css +9 -1
  93. package/sdk/dark-ie11.css +0 -1
  94. package/sdk/dark.css +0 -1
  95. package/sdk/exceljs.js +1 -1
  96. package/sdk/locale/de-DE.js +1 -0
  97. package/sdk/markdown.js +69 -69
  98. package/sdk/papaparse.js +1 -1
  99. package/sdk/renderers/Form/CityDB.js +1 -1
  100. package/sdk/rest.js +16 -16
  101. package/sdk/rich-text.js +62 -62
  102. package/sdk/sdk-ie11.css +9 -1
  103. package/sdk/sdk.css +9 -1
  104. package/sdk/sdk.js +1695 -1665
  105. package/sdk/thirds/hls.js/hls.js +1 -1
  106. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  107. package/sdk/tinymce.js +57 -57
  108. package/src/RootRenderer.tsx +14 -0
  109. package/src/SchemaRenderer.tsx +4 -2
  110. package/src/components/DateRangePicker.tsx +73 -60
  111. package/src/components/Select.tsx +2 -4
  112. package/src/components/virtual-list/index.tsx +1 -1
  113. package/src/locale/de-DE.ts +1 -0
  114. package/src/locale/en-US.ts +1 -0
  115. package/src/locale/zh-CN.ts +5 -2
  116. package/src/renderers/Action.tsx +8 -0
  117. package/src/renderers/CRUD.tsx +2 -1
  118. package/src/renderers/Card.tsx +10 -5
  119. package/src/renderers/Carousel.tsx +10 -4
  120. package/src/renderers/Form/InputImage.tsx +1 -1
  121. package/src/renderers/Form/InputText.tsx +1 -0
  122. package/src/renderers/Form/Options.tsx +1 -0
  123. package/src/renderers/Form/Select.tsx +13 -3
  124. package/src/renderers/Form/wrapControl.tsx +90 -22
  125. package/src/renderers/Service.tsx +1 -0
  126. package/src/renderers/Table/TableContent.tsx +22 -34
  127. package/src/renderers/Table/index.tsx +4 -8
  128. package/src/store/table.ts +10 -3
  129. package/src/types.ts +1 -0
  130. package/src/utils/formula.ts +240 -0
  131. package/src/utils/grammar.ts +53 -0
  132. package/src/utils/helper.ts +2 -1
  133. package/src/utils/tpl.ts +2 -0
@@ -45,7 +45,7 @@ export declare class SearchBox extends React.Component<SearchBoxProps, SearchBox
45
45
  render(): JSX.Element;
46
46
  }
47
47
  declare const _default: {
48
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
48
+ new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
49
49
  mini: boolean;
50
50
  enhance: boolean;
51
51
  clearable: boolean;
@@ -59,7 +59,7 @@ declare const _default: {
59
59
  getWrappedInstance(): any;
60
60
  render(): JSX.Element;
61
61
  context: any;
62
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
62
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
63
63
  mini: boolean;
64
64
  enhance: boolean;
65
65
  clearable: boolean;
@@ -69,7 +69,7 @@ declare const _default: {
69
69
  translate?: ((str: string, ...args: any[]) => string) | undefined;
70
70
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
71
71
  forceUpdate(callback?: (() => void) | undefined): void;
72
- readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
72
+ readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
73
73
  mini: boolean;
74
74
  enhance: boolean;
75
75
  clearable: boolean;
@@ -85,7 +85,7 @@ declare const _default: {
85
85
  [key: string]: React.ReactInstance;
86
86
  };
87
87
  componentDidMount?(): void;
88
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
88
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
89
89
  mini: boolean;
90
90
  enhance: boolean;
91
91
  clearable: boolean;
@@ -96,7 +96,7 @@ declare const _default: {
96
96
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
97
97
  componentWillUnmount?(): void;
98
98
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
99
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
99
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
100
100
  mini: boolean;
101
101
  enhance: boolean;
102
102
  clearable: boolean;
@@ -105,7 +105,7 @@ declare const _default: {
105
105
  locale?: string | undefined;
106
106
  translate?: ((str: string, ...args: any[]) => string) | undefined;
107
107
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
108
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
108
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
109
109
  mini: boolean;
110
110
  enhance: boolean;
111
111
  clearable: boolean;
@@ -116,7 +116,7 @@ declare const _default: {
116
116
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
117
117
  componentWillMount?(): void;
118
118
  UNSAFE_componentWillMount?(): void;
119
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
119
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
120
120
  mini: boolean;
121
121
  enhance: boolean;
122
122
  clearable: boolean;
@@ -125,7 +125,7 @@ declare const _default: {
125
125
  locale?: string | undefined;
126
126
  translate?: ((str: string, ...args: any[]) => string) | undefined;
127
127
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
128
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
128
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
129
129
  mini: boolean;
130
130
  enhance: boolean;
131
131
  clearable: boolean;
@@ -134,7 +134,7 @@ declare const _default: {
134
134
  locale?: string | undefined;
135
135
  translate?: ((str: string, ...args: any[]) => string) | undefined;
136
136
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
137
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
137
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
138
138
  mini: boolean;
139
139
  enhance: boolean;
140
140
  clearable: boolean;
@@ -143,7 +143,7 @@ declare const _default: {
143
143
  locale?: string | undefined;
144
144
  translate?: ((str: string, ...args: any[]) => string) | undefined;
145
145
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
146
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
146
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
147
147
  mini: boolean;
148
148
  enhance: boolean;
149
149
  clearable: boolean;
@@ -156,7 +156,7 @@ declare const _default: {
156
156
  displayName: string;
157
157
  contextType: React.Context<string>;
158
158
  ComposedComponent: React.ComponentType<{
159
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
159
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
160
160
  mini: boolean;
161
161
  enhance: boolean;
162
162
  clearable: boolean;
@@ -170,7 +170,7 @@ declare const _default: {
170
170
  getWrappedInstance(): any;
171
171
  render(): JSX.Element;
172
172
  context: any;
173
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
173
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
174
174
  mini: boolean;
175
175
  enhance: boolean;
176
176
  clearable: boolean;
@@ -180,7 +180,7 @@ declare const _default: {
180
180
  translate?: ((str: string, ...args: any[]) => string) | undefined;
181
181
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
182
182
  forceUpdate(callback?: (() => void) | undefined): void;
183
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
183
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
184
184
  mini: boolean;
185
185
  enhance: boolean;
186
186
  clearable: boolean;
@@ -196,7 +196,7 @@ declare const _default: {
196
196
  [key: string]: React.ReactInstance;
197
197
  };
198
198
  componentDidMount?(): void;
199
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
199
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
200
200
  mini: boolean;
201
201
  enhance: boolean;
202
202
  clearable: boolean;
@@ -207,7 +207,7 @@ declare const _default: {
207
207
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
208
208
  componentWillUnmount?(): void;
209
209
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
210
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
210
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
211
211
  mini: boolean;
212
212
  enhance: boolean;
213
213
  clearable: boolean;
@@ -216,7 +216,7 @@ declare const _default: {
216
216
  locale?: string | undefined;
217
217
  translate?: ((str: string, ...args: any[]) => string) | undefined;
218
218
  }>, prevState: Readonly<{}>): any;
219
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
219
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
220
220
  mini: boolean;
221
221
  enhance: boolean;
222
222
  clearable: boolean;
@@ -227,7 +227,7 @@ declare const _default: {
227
227
  }>, prevState: Readonly<{}>, snapshot?: any): void;
228
228
  componentWillMount?(): void;
229
229
  UNSAFE_componentWillMount?(): void;
230
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
230
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
231
231
  mini: boolean;
232
232
  enhance: boolean;
233
233
  clearable: boolean;
@@ -236,7 +236,7 @@ declare const _default: {
236
236
  locale?: string | undefined;
237
237
  translate?: ((str: string, ...args: any[]) => string) | undefined;
238
238
  }>, nextContext: any): void;
239
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
239
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
240
240
  mini: boolean;
241
241
  enhance: boolean;
242
242
  clearable: boolean;
@@ -245,7 +245,7 @@ declare const _default: {
245
245
  locale?: string | undefined;
246
246
  translate?: ((str: string, ...args: any[]) => string) | undefined;
247
247
  }>, nextContext: any): void;
248
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
248
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
249
249
  mini: boolean;
250
250
  enhance: boolean;
251
251
  clearable: boolean;
@@ -254,7 +254,7 @@ declare const _default: {
254
254
  locale?: string | undefined;
255
255
  translate?: ((str: string, ...args: any[]) => string) | undefined;
256
256
  }>, nextState: Readonly<{}>, nextContext: any): void;
257
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
257
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
258
258
  mini: boolean;
259
259
  enhance: boolean;
260
260
  clearable: boolean;
@@ -271,7 +271,7 @@ declare const _default: {
271
271
  ComposedComponent: typeof SearchBox;
272
272
  }>;
273
273
  } & import("hoist-non-react-statics").NonReactStatics<{
274
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
274
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
275
275
  mini: boolean;
276
276
  enhance: boolean;
277
277
  clearable: boolean;
@@ -285,7 +285,7 @@ declare const _default: {
285
285
  getWrappedInstance(): any;
286
286
  render(): JSX.Element;
287
287
  context: any;
288
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
288
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
289
289
  mini: boolean;
290
290
  enhance: boolean;
291
291
  clearable: boolean;
@@ -295,7 +295,7 @@ declare const _default: {
295
295
  translate?: ((str: string, ...args: any[]) => string) | undefined;
296
296
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
297
297
  forceUpdate(callback?: (() => void) | undefined): void;
298
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
298
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
299
299
  mini: boolean;
300
300
  enhance: boolean;
301
301
  clearable: boolean;
@@ -311,7 +311,7 @@ declare const _default: {
311
311
  [key: string]: React.ReactInstance;
312
312
  };
313
313
  componentDidMount?(): void;
314
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
314
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
315
315
  mini: boolean;
316
316
  enhance: boolean;
317
317
  clearable: boolean;
@@ -322,7 +322,7 @@ declare const _default: {
322
322
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
323
323
  componentWillUnmount?(): void;
324
324
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
325
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
325
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
326
326
  mini: boolean;
327
327
  enhance: boolean;
328
328
  clearable: boolean;
@@ -331,7 +331,7 @@ declare const _default: {
331
331
  locale?: string | undefined;
332
332
  translate?: ((str: string, ...args: any[]) => string) | undefined;
333
333
  }>, prevState: Readonly<{}>): any;
334
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
334
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
335
335
  mini: boolean;
336
336
  enhance: boolean;
337
337
  clearable: boolean;
@@ -342,7 +342,7 @@ declare const _default: {
342
342
  }>, prevState: Readonly<{}>, snapshot?: any): void;
343
343
  componentWillMount?(): void;
344
344
  UNSAFE_componentWillMount?(): void;
345
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
345
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
346
346
  mini: boolean;
347
347
  enhance: boolean;
348
348
  clearable: boolean;
@@ -351,7 +351,7 @@ declare const _default: {
351
351
  locale?: string | undefined;
352
352
  translate?: ((str: string, ...args: any[]) => string) | undefined;
353
353
  }>, nextContext: any): void;
354
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
354
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
355
355
  mini: boolean;
356
356
  enhance: boolean;
357
357
  clearable: boolean;
@@ -360,7 +360,7 @@ declare const _default: {
360
360
  locale?: string | undefined;
361
361
  translate?: ((str: string, ...args: any[]) => string) | undefined;
362
362
  }>, nextContext: any): void;
363
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
363
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
364
364
  mini: boolean;
365
365
  enhance: boolean;
366
366
  clearable: boolean;
@@ -369,7 +369,7 @@ declare const _default: {
369
369
  locale?: string | undefined;
370
370
  translate?: ((str: string, ...args: any[]) => string) | undefined;
371
371
  }>, nextState: Readonly<{}>, nextContext: any): void;
372
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
372
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
373
373
  mini: boolean;
374
374
  enhance: boolean;
375
375
  clearable: boolean;
@@ -386,7 +386,7 @@ declare const _default: {
386
386
  ComposedComponent: typeof SearchBox;
387
387
  }, {}> & {
388
388
  ComposedComponent: {
389
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
389
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
390
390
  mini: boolean;
391
391
  enhance: boolean;
392
392
  clearable: boolean;
@@ -400,7 +400,7 @@ declare const _default: {
400
400
  getWrappedInstance(): any;
401
401
  render(): JSX.Element;
402
402
  context: any;
403
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
403
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
404
404
  mini: boolean;
405
405
  enhance: boolean;
406
406
  clearable: boolean;
@@ -410,7 +410,7 @@ declare const _default: {
410
410
  translate?: ((str: string, ...args: any[]) => string) | undefined;
411
411
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
412
412
  forceUpdate(callback?: (() => void) | undefined): void;
413
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
413
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
414
414
  mini: boolean;
415
415
  enhance: boolean;
416
416
  clearable: boolean;
@@ -426,7 +426,7 @@ declare const _default: {
426
426
  [key: string]: React.ReactInstance;
427
427
  };
428
428
  componentDidMount?(): void;
429
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
429
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
430
430
  mini: boolean;
431
431
  enhance: boolean;
432
432
  clearable: boolean;
@@ -437,7 +437,7 @@ declare const _default: {
437
437
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
438
438
  componentWillUnmount?(): void;
439
439
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
440
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
440
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
441
441
  mini: boolean;
442
442
  enhance: boolean;
443
443
  clearable: boolean;
@@ -446,7 +446,7 @@ declare const _default: {
446
446
  locale?: string | undefined;
447
447
  translate?: ((str: string, ...args: any[]) => string) | undefined;
448
448
  }>, prevState: Readonly<{}>): any;
449
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
449
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
450
450
  mini: boolean;
451
451
  enhance: boolean;
452
452
  clearable: boolean;
@@ -457,7 +457,7 @@ declare const _default: {
457
457
  }>, prevState: Readonly<{}>, snapshot?: any): void;
458
458
  componentWillMount?(): void;
459
459
  UNSAFE_componentWillMount?(): void;
460
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
460
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
461
461
  mini: boolean;
462
462
  enhance: boolean;
463
463
  clearable: boolean;
@@ -466,7 +466,7 @@ declare const _default: {
466
466
  locale?: string | undefined;
467
467
  translate?: ((str: string, ...args: any[]) => string) | undefined;
468
468
  }>, nextContext: any): void;
469
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
469
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
470
470
  mini: boolean;
471
471
  enhance: boolean;
472
472
  clearable: boolean;
@@ -475,7 +475,7 @@ declare const _default: {
475
475
  locale?: string | undefined;
476
476
  translate?: ((str: string, ...args: any[]) => string) | undefined;
477
477
  }>, nextContext: any): void;
478
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
478
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
479
479
  mini: boolean;
480
480
  enhance: boolean;
481
481
  clearable: boolean;
@@ -484,7 +484,7 @@ declare const _default: {
484
484
  locale?: string | undefined;
485
485
  translate?: ((str: string, ...args: any[]) => string) | undefined;
486
486
  }>, nextState: Readonly<{}>, nextContext: any): void;
487
- 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>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
487
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "clearable" | "enhance" | "mini" | "searchImediately">> & Partial<Pick<{
488
488
  mini: boolean;
489
489
  enhance: boolean;
490
490
  clearable: boolean;