amis 1.4.0 → 1.4.2-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/README.md +1 -1
  2. package/lib/Schema.d.ts +26 -2
  3. package/lib/Schema.js.map +1 -1
  4. package/lib/components/Alert.js +3 -1
  5. package/lib/components/Alert.js.map +2 -2
  6. package/lib/components/AnchorNav.d.ts +22 -21
  7. package/lib/components/AnchorNav.js +7 -3
  8. package/lib/components/AnchorNav.js.map +2 -2
  9. package/lib/components/ArrayInput.d.ts +84 -84
  10. package/lib/components/AssociatedSelection.d.ts +930 -0
  11. package/lib/components/AssociatedSelection.js +89 -0
  12. package/lib/components/AssociatedSelection.js.map +13 -0
  13. package/lib/components/Badge.d.ts +4 -3
  14. package/lib/components/Badge.js +42 -7
  15. package/lib/components/Badge.js.map +2 -2
  16. package/lib/components/Button.d.ts +24 -22
  17. package/lib/components/Button.js +13 -7
  18. package/lib/components/Button.js.map +2 -2
  19. package/lib/components/{ChainedCheckboxes.d.ts → ChainedSelection.d.ts} +267 -98
  20. package/lib/components/{ChainedCheckboxes.js → ChainedSelection.js} +30 -24
  21. package/lib/components/ChainedSelection.js.map +13 -0
  22. package/lib/components/Collapse.js +1 -1
  23. package/lib/components/Collapse.js.map +2 -2
  24. package/lib/components/ColorPicker.d.ts +84 -84
  25. package/lib/components/DatePicker.d.ts +84 -84
  26. package/lib/components/DatePicker.js +1 -1
  27. package/lib/components/DatePicker.js.map +2 -2
  28. package/lib/components/DateRangePicker.d.ts +84 -84
  29. package/lib/components/DateRangePicker.js +1 -1
  30. package/lib/components/DateRangePicker.js.map +2 -2
  31. package/lib/components/Editor.d.ts +84 -84
  32. package/lib/components/GroupedSelection.d.ts +907 -0
  33. package/lib/components/GroupedSelection.js +48 -0
  34. package/lib/components/GroupedSelection.js.map +13 -0
  35. package/lib/components/InputBox.js +1 -1
  36. package/lib/components/InputBox.js.map +2 -2
  37. package/lib/components/Link.d.ts +84 -0
  38. package/lib/components/Link.js +43 -0
  39. package/lib/components/Link.js.map +13 -0
  40. package/lib/components/ListGroup.d.ts +21 -21
  41. package/lib/components/ModalManager.js +1 -1
  42. package/lib/components/ModalManager.js.map +2 -2
  43. package/lib/components/MonthRangePicker.d.ts +84 -84
  44. package/lib/components/MonthRangePicker.js +1 -1
  45. package/lib/components/MonthRangePicker.js.map +2 -2
  46. package/lib/components/NumberInput.d.ts +20 -20
  47. package/lib/components/PickerColumn.d.ts +514 -0
  48. package/lib/components/PickerColumn.js +279 -0
  49. package/lib/components/PickerColumn.js.map +13 -0
  50. package/lib/components/PickerContainer.d.ts +513 -0
  51. package/lib/components/PickerContainer.js +96 -0
  52. package/lib/components/PickerContainer.js.map +13 -0
  53. package/lib/components/Radios.d.ts +22 -21
  54. package/lib/components/Radios.js +1 -0
  55. package/lib/components/Radios.js.map +2 -2
  56. package/lib/components/Rating.d.ts +21 -21
  57. package/lib/components/ResultBox.d.ts +84 -84
  58. package/lib/components/RichText.d.ts +6 -1
  59. package/lib/components/RichText.js +207 -8
  60. package/lib/components/RichText.js.map +2 -2
  61. package/lib/components/SearchBox.d.ts +84 -84
  62. package/lib/components/SearchBox.js +4 -4
  63. package/lib/components/SearchBox.js.map +2 -2
  64. package/lib/components/Select.d.ts +245 -237
  65. package/lib/components/Select.js +28 -4
  66. package/lib/components/Select.js.map +2 -2
  67. package/lib/components/{Checkboxes.d.ts → Selection.d.ts} +273 -98
  68. package/lib/components/Selection.js +134 -0
  69. package/lib/components/Selection.js.map +13 -0
  70. package/lib/components/SparkLine.d.ts +85 -84
  71. package/lib/components/SparkLine.js +2 -2
  72. package/lib/components/SparkLine.js.map +2 -2
  73. package/lib/components/{TableCheckboxes.d.ts → TableSelection.d.ts} +266 -96
  74. package/lib/components/{TableCheckboxes.js → TableSelection.js} +30 -30
  75. package/lib/components/TableSelection.js.map +13 -0
  76. package/lib/components/Tabs.d.ts +20 -20
  77. package/lib/components/TabsTransfer.d.ts +84 -84
  78. package/lib/components/TabsTransfer.js +9 -9
  79. package/lib/components/TabsTransfer.js.map +2 -2
  80. package/lib/components/TabsTransferPicker.d.ts +489 -0
  81. package/lib/components/TabsTransferPicker.js +60 -0
  82. package/lib/components/TabsTransferPicker.js.map +13 -0
  83. package/lib/components/Toast.js +2 -2
  84. package/lib/components/Toast.js.map +2 -2
  85. package/lib/components/Transfer.d.ts +908 -274
  86. package/lib/components/Transfer.js +31 -24
  87. package/lib/components/Transfer.js.map +2 -2
  88. package/lib/components/TransferDropDown.d.ts +487 -0
  89. package/lib/components/TransferDropDown.js +59 -0
  90. package/lib/components/TransferDropDown.js.map +13 -0
  91. package/lib/components/TransferPicker.d.ts +489 -0
  92. package/lib/components/TransferPicker.js +60 -0
  93. package/lib/components/TransferPicker.js.map +13 -0
  94. package/lib/components/Tree.d.ts +84 -84
  95. package/lib/components/Tree.js +5 -3
  96. package/lib/components/Tree.js.map +2 -2
  97. package/lib/components/{TreeCheckboxes.d.ts → TreeSelection.d.ts} +269 -99
  98. package/lib/components/{TreeCheckboxes.js → TreeSelection.js} +36 -32
  99. package/lib/components/TreeSelection.js.map +13 -0
  100. package/lib/components/WithRemoteConfig.js +1 -1
  101. package/lib/components/WithRemoteConfig.js.map +2 -2
  102. package/lib/components/calendar/DaysView.js +2 -2
  103. package/lib/components/calendar/DaysView.js.map +2 -2
  104. package/lib/components/condition-builder/Field.js +5 -2
  105. package/lib/components/condition-builder/Field.js.map +2 -2
  106. package/lib/components/condition-builder/Func.js +2 -2
  107. package/lib/components/condition-builder/Func.js.map +2 -2
  108. package/lib/components/condition-builder/InputSwitch.js +2 -2
  109. package/lib/components/condition-builder/InputSwitch.js.map +2 -2
  110. package/lib/components/condition-builder/Item.js +3 -3
  111. package/lib/components/condition-builder/Item.js.map +2 -2
  112. package/lib/components/icons.js +14 -0
  113. package/lib/components/icons.js.map +2 -2
  114. package/lib/components/index.d.ts +8 -8
  115. package/lib/components/index.js +16 -16
  116. package/lib/components/index.js.map +2 -2
  117. package/lib/envOverwrite.js.map +2 -2
  118. package/lib/factory.d.ts +4 -0
  119. package/lib/factory.js +4 -2
  120. package/lib/factory.js.map +2 -2
  121. package/lib/helper.css.map +1 -1
  122. package/lib/hooks/index.d.ts +5 -0
  123. package/lib/hooks/index.js +14 -0
  124. package/lib/hooks/index.js.map +13 -0
  125. package/lib/hooks/use-set-state.d.ts +2 -0
  126. package/lib/hooks/use-set-state.js +15 -0
  127. package/lib/hooks/use-set-state.js.map +13 -0
  128. package/lib/hooks/use-touch.d.ts +16 -0
  129. package/lib/hooks/use-touch.js +73 -0
  130. package/lib/hooks/use-touch.js.map +13 -0
  131. package/lib/hooks/use-update-effect.d.ts +3 -0
  132. package/lib/hooks/use-update-effect.js +17 -0
  133. package/lib/hooks/use-update-effect.js.map +13 -0
  134. package/lib/icons/clock.js +10 -0
  135. package/lib/icons/loading-outline.js +7 -0
  136. package/lib/icons/status-close.js +11 -0
  137. package/lib/icons/status-fail.js +11 -0
  138. package/lib/icons/status-info.js +10 -0
  139. package/lib/icons/status-success.js +11 -0
  140. package/lib/icons/status-warning.js +10 -0
  141. package/lib/index.d.ts +3 -0
  142. package/lib/index.js +4 -1
  143. package/lib/index.js.map +2 -2
  144. package/lib/locale/de-DE.js +4 -0
  145. package/lib/locale/de-DE.js.map +2 -2
  146. package/lib/locale/en-US.js +4 -0
  147. package/lib/locale/en-US.js.map +2 -2
  148. package/lib/locale/zh-CN.js +7 -3
  149. package/lib/locale/zh-CN.js.map +2 -2
  150. package/lib/renderers/Action.d.ts +17 -1
  151. package/lib/renderers/Action.js +21 -8
  152. package/lib/renderers/Action.js.map +2 -2
  153. package/lib/renderers/AnchorNav.d.ts +1 -0
  154. package/lib/renderers/AnchorNav.js +2 -2
  155. package/lib/renderers/AnchorNav.js.map +2 -2
  156. package/lib/renderers/Avatar.js +3 -3
  157. package/lib/renderers/Avatar.js.map +2 -2
  158. package/lib/renderers/Breadcrumb.js +1 -1
  159. package/lib/renderers/Breadcrumb.js.map +2 -2
  160. package/lib/renderers/CRUD.d.ts +9 -0
  161. package/lib/renderers/CRUD.js +43 -8
  162. package/lib/renderers/CRUD.js.map +2 -2
  163. package/lib/renderers/Card.d.ts +4 -0
  164. package/lib/renderers/Card.js +29 -23
  165. package/lib/renderers/Card.js.map +2 -2
  166. package/lib/renderers/Chart.js +1 -1
  167. package/lib/renderers/Chart.js.map +2 -2
  168. package/lib/renderers/Collapse.js +3 -2
  169. package/lib/renderers/Collapse.js.map +2 -2
  170. package/lib/renderers/Dialog.js +0 -3
  171. package/lib/renderers/Dialog.js.map +2 -2
  172. package/lib/renderers/Drawer.js +0 -3
  173. package/lib/renderers/Drawer.js.map +2 -2
  174. package/lib/renderers/DropDownButton.d.ts +9 -1
  175. package/lib/renderers/DropDownButton.js +8 -4
  176. package/lib/renderers/DropDownButton.js.map +2 -2
  177. package/lib/renderers/Form/Checkbox.d.ts +5 -0
  178. package/lib/renderers/Form/Checkbox.js +4 -0
  179. package/lib/renderers/Form/Checkbox.js.map +2 -2
  180. package/lib/renderers/Form/Combo.js +2 -2
  181. package/lib/renderers/Form/Combo.js.map +2 -2
  182. package/lib/renderers/Form/DiffEditor.d.ts +4 -3
  183. package/lib/renderers/Form/Editor.d.ts +3 -2
  184. package/lib/renderers/Form/InputCity.d.ts +84 -84
  185. package/lib/renderers/Form/InputCity.js +7 -6
  186. package/lib/renderers/Form/InputCity.js.map +2 -2
  187. package/lib/renderers/Form/InputColor.d.ts +84 -84
  188. package/lib/renderers/Form/InputFile.js +12 -6
  189. package/lib/renderers/Form/InputFile.js.map +2 -2
  190. package/lib/renderers/Form/InputImage.js +16 -7
  191. package/lib/renderers/Form/InputImage.js.map +2 -2
  192. package/lib/renderers/Form/Item.d.ts +1 -1
  193. package/lib/renderers/Form/Item.js.map +1 -1
  194. package/lib/renderers/Form/Options.js +19 -6
  195. package/lib/renderers/Form/Options.js.map +2 -2
  196. package/lib/renderers/Form/Picker.js +2 -2
  197. package/lib/renderers/Form/Picker.js.map +2 -2
  198. package/lib/renderers/Form/Select.d.ts +41 -4
  199. package/lib/renderers/Form/Select.js +37 -3
  200. package/lib/renderers/Form/Select.js.map +2 -2
  201. package/lib/renderers/Form/TabsTransferPicker.d.ts +48 -0
  202. package/lib/renderers/Form/TabsTransferPicker.js +29 -0
  203. package/lib/renderers/Form/TabsTransferPicker.js.map +13 -0
  204. package/lib/renderers/Form/Transfer.js +18 -3
  205. package/lib/renderers/Form/Transfer.js.map +2 -2
  206. package/lib/renderers/Form/TransferPicker.d.ts +48 -0
  207. package/lib/renderers/Form/TransferPicker.js +43 -0
  208. package/lib/renderers/Form/TransferPicker.js.map +13 -0
  209. package/lib/renderers/Form/TreeSelect.js +2 -2
  210. package/lib/renderers/Form/TreeSelect.js.map +2 -2
  211. package/lib/renderers/Form/index.d.ts +5 -0
  212. package/lib/renderers/Form/index.js +5 -3
  213. package/lib/renderers/Form/index.js.map +2 -2
  214. package/lib/renderers/Form/wrapControl.js +15 -3
  215. package/lib/renderers/Form/wrapControl.js.map +2 -2
  216. package/lib/renderers/IFrame.js +3 -5
  217. package/lib/renderers/IFrame.js.map +2 -2
  218. package/lib/renderers/Image.d.ts +1 -0
  219. package/lib/renderers/Image.js +15 -1
  220. package/lib/renderers/Image.js.map +2 -2
  221. package/lib/renderers/Json.d.ts +4 -0
  222. package/lib/renderers/Json.js +4 -13
  223. package/lib/renderers/Json.js.map +2 -2
  224. package/lib/renderers/Link.d.ts +18 -3
  225. package/lib/renderers/Link.js +27 -15
  226. package/lib/renderers/Link.js.map +2 -2
  227. package/lib/renderers/List.js +1 -1
  228. package/lib/renderers/List.js.map +2 -2
  229. package/lib/renderers/Log.d.ts +2 -2
  230. package/lib/renderers/Log.js +7 -1
  231. package/lib/renderers/Log.js.map +2 -2
  232. package/lib/renderers/Mapping.d.ts +9 -2
  233. package/lib/renderers/Mapping.js +18 -6
  234. package/lib/renderers/Mapping.js.map +2 -2
  235. package/lib/renderers/Nav.d.ts +81 -25
  236. package/lib/renderers/Nav.js +292 -31
  237. package/lib/renderers/Nav.js.map +2 -2
  238. package/lib/renderers/Page.js +1 -1
  239. package/lib/renderers/Page.js.map +2 -2
  240. package/lib/renderers/Portlet.d.ts +125 -0
  241. package/lib/renderers/Portlet.js +156 -0
  242. package/lib/renderers/Portlet.js.map +13 -0
  243. package/lib/renderers/Property.js +2 -1
  244. package/lib/renderers/Property.js.map +2 -2
  245. package/lib/renderers/SearchBox.d.ts +6 -1
  246. package/lib/renderers/SearchBox.js +19 -5
  247. package/lib/renderers/SearchBox.js.map +2 -2
  248. package/lib/renderers/SparkLine.d.ts +4 -0
  249. package/lib/renderers/SparkLine.js.map +2 -2
  250. package/lib/renderers/Table/ColumnToggler.d.ts +113 -0
  251. package/lib/renderers/Table/ColumnToggler.js +216 -0
  252. package/lib/renderers/Table/ColumnToggler.js.map +13 -0
  253. package/lib/renderers/Table/ItemActionsWrapper.d.ts +11 -0
  254. package/lib/renderers/Table/ItemActionsWrapper.js +31 -0
  255. package/lib/renderers/Table/ItemActionsWrapper.js.map +13 -0
  256. package/lib/renderers/Table/TableBody.d.ts +4 -0
  257. package/lib/renderers/Table/TableCell.js +3 -1
  258. package/lib/renderers/Table/TableCell.js.map +2 -2
  259. package/lib/renderers/Table/TableContent.d.ts +4 -1
  260. package/lib/renderers/Table/TableContent.js +21 -1
  261. package/lib/renderers/Table/TableContent.js.map +2 -2
  262. package/lib/renderers/Table/index.d.ts +19 -2
  263. package/lib/renderers/Table/index.js +172 -57
  264. package/lib/renderers/Table/index.js.map +2 -2
  265. package/lib/renderers/Tabs.js +9 -1
  266. package/lib/renderers/Tabs.js.map +2 -2
  267. package/lib/renderers/WebComponent.js +1 -1
  268. package/lib/renderers/WebComponent.js.map +2 -2
  269. package/lib/store/combo.d.ts +2 -16
  270. package/lib/store/crud.js +3 -7
  271. package/lib/store/crud.js.map +2 -2
  272. package/lib/store/form.d.ts +1 -1
  273. package/lib/store/form.js +5 -6
  274. package/lib/store/form.js.map +2 -2
  275. package/lib/store/service.js +5 -4
  276. package/lib/store/service.js.map +2 -2
  277. package/lib/store/table.d.ts +260 -3
  278. package/lib/store/table.js +64 -6
  279. package/lib/store/table.js.map +2 -2
  280. package/lib/themes/ang-ie11.css +1175 -255
  281. package/lib/themes/ang.css +1175 -255
  282. package/lib/themes/ang.css.map +1 -1
  283. package/lib/themes/antd-ie11.css +1175 -255
  284. package/lib/themes/antd.css +1175 -255
  285. package/lib/themes/antd.css.map +1 -1
  286. package/lib/themes/cxd-ie11.css +1761 -514
  287. package/lib/themes/cxd.css +1761 -514
  288. package/lib/themes/cxd.css.map +1 -1
  289. package/lib/themes/dark-ie11.css +1175 -255
  290. package/lib/themes/dark.css +1175 -255
  291. package/lib/themes/dark.css.map +1 -1
  292. package/lib/themes/default.css +1761 -514
  293. package/lib/themes/default.css.map +1 -1
  294. package/lib/types.d.ts +37 -0
  295. package/lib/types.js +0 -5
  296. package/lib/types.js.map +2 -2
  297. package/lib/utils/api.d.ts +3 -2
  298. package/lib/utils/api.js +31 -15
  299. package/lib/utils/api.js.map +2 -2
  300. package/lib/utils/dom.d.ts +4 -0
  301. package/lib/utils/dom.js +11 -1
  302. package/lib/utils/dom.js.map +2 -2
  303. package/lib/utils/handleAction.d.ts +7 -0
  304. package/lib/utils/handleAction.js +30 -0
  305. package/lib/utils/handleAction.js.map +13 -0
  306. package/lib/utils/helper.d.ts +3 -1
  307. package/lib/utils/helper.js +14 -5
  308. package/lib/utils/helper.js.map +2 -2
  309. package/lib/utils/icon.js +3 -0
  310. package/lib/utils/icon.js.map +2 -2
  311. package/lib/utils/tpl-builtin.d.ts +1 -1
  312. package/lib/utils/tpl-builtin.js +25 -15
  313. package/lib/utils/tpl-builtin.js.map +2 -2
  314. package/package.json +1 -2
  315. package/schema.json +3534 -1028
  316. package/scss/_mixins.scss +27 -0
  317. package/scss/_properties.scss +84 -13
  318. package/scss/_utilities.scss +4 -0
  319. package/scss/base/_normalize.scss +2 -0
  320. package/scss/components/_anchor-nav.scss +88 -29
  321. package/scss/components/_badge.scss +52 -1
  322. package/scss/components/_button.scss +34 -3
  323. package/scss/components/_card.scss +8 -14
  324. package/scss/components/_collapse.scss +41 -8
  325. package/scss/components/_column-toggler.scss +234 -0
  326. package/scss/components/_dropdown.scss +2 -1
  327. package/scss/components/_image-gallery.scss +1 -1
  328. package/scss/components/_images.scss +2 -1
  329. package/scss/components/_link.scss +6 -0
  330. package/scss/components/_mapping.scss +6 -0
  331. package/scss/components/_nav.scss +236 -154
  332. package/scss/components/_page.scss +5 -4
  333. package/scss/components/_picker-columns.scss +123 -0
  334. package/scss/components/_popover.scss +17 -0
  335. package/scss/components/_portlet.scss +51 -0
  336. package/scss/components/_progress.scss +2 -0
  337. package/scss/components/_status.scss +1 -1
  338. package/scss/components/_steps.scss +1 -1
  339. package/scss/components/_table.scss +51 -1
  340. package/scss/components/form/_checks.scss +0 -351
  341. package/scss/components/form/_color.scss +1 -0
  342. package/scss/components/form/_date-range.scss +2 -0
  343. package/scss/components/form/_date.scss +2 -0
  344. package/scss/components/form/_fieldset.scss +6 -3
  345. package/scss/components/form/_file.scss +5 -4
  346. package/scss/components/form/_form.scss +48 -0
  347. package/scss/components/form/_image.scss +7 -2
  348. package/scss/components/form/_list.scss +1 -0
  349. package/scss/components/form/_location.scss +1 -1
  350. package/scss/components/form/_selection.scss +354 -0
  351. package/scss/components/form/_text.scss +13 -0
  352. package/scss/components/form/_textarea.scss +10 -0
  353. package/scss/components/form/_transfer.scss +77 -18
  354. package/scss/themes/_common.scss +6 -0
  355. package/scss/themes/_cxd-colors.scss +56 -0
  356. package/scss/themes/_cxd-variables.scss +219 -91
  357. package/scss/themes/cxd.scss +370 -0
  358. package/sdk/ang-ie11.css +1596 -515
  359. package/sdk/ang.css +1395 -256
  360. package/sdk/antd-ie11.css +1397 -318
  361. package/sdk/antd.css +1395 -256
  362. package/sdk/charts.js +13 -13
  363. package/sdk/color-picker.js +65 -65
  364. package/sdk/cropperjs.js +2 -2
  365. package/sdk/cxd-ie11.css +2739 -1361
  366. package/sdk/cxd.css +2095 -588
  367. package/sdk/dark-ie11.css +1593 -512
  368. package/sdk/dark.css +1395 -256
  369. package/sdk/exceljs.js +1 -1
  370. package/sdk/helper.css.map +1 -1
  371. package/sdk/iconfont.svg +2513 -0
  372. package/sdk/iconfont.ttf +0 -0
  373. package/sdk/iconfont.woff +0 -0
  374. package/sdk/ie11-patch.css +1 -0
  375. package/sdk/locale/de-DE.js +4 -0
  376. package/sdk/markdown.js +69 -69
  377. package/sdk/papaparse.js +1 -1
  378. package/sdk/renderers/Form/CityDB.js +1 -1
  379. package/sdk/rest.js +18 -32
  380. package/sdk/rich-text.js +62 -64
  381. package/sdk/sdk-ie11.css +2739 -1361
  382. package/sdk/sdk.css +2095 -588
  383. package/sdk/sdk.js +1189 -1133
  384. package/sdk/thirds/hls.js/hls.js +1 -1
  385. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  386. package/sdk/tinymce.js +57 -57
  387. package/src/Schema.ts +32 -0
  388. package/src/components/Alert.tsx +3 -1
  389. package/src/components/AnchorNav.tsx +15 -4
  390. package/src/components/{AssociatedCheckboxes.tsx → AssociatedSelection.tsx} +41 -37
  391. package/src/components/Badge.tsx +96 -28
  392. package/src/components/Button.tsx +23 -7
  393. package/src/components/{ChainedCheckboxes.tsx → ChainedSelection.tsx} +57 -40
  394. package/src/components/Collapse.tsx +14 -9
  395. package/src/components/DatePicker.tsx +1 -1
  396. package/src/components/DateRangePicker.tsx +23 -11
  397. package/src/components/{ListCheckboxes.tsx → GroupedSelection.tsx} +26 -21
  398. package/src/components/InputBox.tsx +1 -1
  399. package/src/components/Link.tsx +85 -0
  400. package/src/components/ModalManager.ts +1 -1
  401. package/src/components/MonthRangePicker.tsx +10 -2
  402. package/src/components/PickerColumn.tsx +429 -0
  403. package/src/components/PickerContainer.tsx +128 -0
  404. package/src/components/Radios.tsx +3 -8
  405. package/src/components/RichText.tsx +244 -3
  406. package/src/components/SearchBox.tsx +4 -5
  407. package/src/components/Select.tsx +60 -5
  408. package/src/components/{Checkboxes.tsx → Selection.tsx} +75 -21
  409. package/src/components/SparkLine.tsx +4 -1
  410. package/src/components/{TableCheckboxes.tsx → TableSelection.tsx} +46 -25
  411. package/src/components/TabsTransfer.tsx +13 -7
  412. package/src/components/TabsTransferPicker.tsx +85 -0
  413. package/src/components/Toast.tsx +5 -5
  414. package/src/components/Transfer.tsx +71 -50
  415. package/src/components/TransferDropDown.tsx +117 -0
  416. package/src/components/TransferPicker.tsx +84 -0
  417. package/src/components/Tree.tsx +6 -8
  418. package/src/components/{TreeCheckboxes.tsx → TreeSelection.tsx} +33 -26
  419. package/src/components/WithRemoteConfig.tsx +7 -2
  420. package/src/components/calendar/DaysView.tsx +2 -2
  421. package/src/components/condition-builder/Field.tsx +5 -5
  422. package/src/components/condition-builder/Func.tsx +3 -3
  423. package/src/components/condition-builder/InputSwitch.tsx +3 -3
  424. package/src/components/condition-builder/Item.tsx +5 -12
  425. package/src/components/icons.tsx +15 -0
  426. package/src/components/index.tsx +13 -13
  427. package/src/envOverwrite.ts +0 -1
  428. package/src/factory.tsx +18 -3
  429. package/src/hooks/index.ts +5 -0
  430. package/src/hooks/use-set-state.ts +19 -0
  431. package/src/hooks/use-touch.ts +100 -0
  432. package/src/hooks/use-update-effect.ts +16 -0
  433. package/src/icons/clock.svg +1 -0
  434. package/src/icons/loading-outline.svg +4 -0
  435. package/src/icons/status-close.svg +10 -0
  436. package/src/icons/status-fail.svg +10 -0
  437. package/src/icons/status-info.svg +8 -0
  438. package/src/icons/status-success.svg +10 -0
  439. package/src/icons/status-warning.svg +8 -0
  440. package/src/index.tsx +3 -0
  441. package/src/locale/de-DE.ts +4 -0
  442. package/src/locale/en-US.ts +4 -0
  443. package/src/locale/zh-CN.ts +7 -3
  444. package/src/renderers/Action.tsx +99 -15
  445. package/src/renderers/AnchorNav.tsx +4 -0
  446. package/src/renderers/Avatar.tsx +8 -4
  447. package/src/renderers/Breadcrumb.tsx +5 -1
  448. package/src/renderers/CRUD.tsx +63 -28
  449. package/src/renderers/Card.tsx +63 -34
  450. package/src/renderers/Chart.tsx +6 -2
  451. package/src/renderers/Collapse.tsx +4 -2
  452. package/src/renderers/Dialog.tsx +0 -4
  453. package/src/renderers/Drawer.tsx +0 -4
  454. package/src/renderers/DropDownButton.tsx +26 -12
  455. package/src/renderers/Form/Checkbox.tsx +8 -0
  456. package/src/renderers/Form/Combo.tsx +2 -3
  457. package/src/renderers/Form/InputCity.tsx +4 -8
  458. package/src/renderers/Form/InputFile.tsx +30 -20
  459. package/src/renderers/Form/InputImage.tsx +16 -5
  460. package/src/renderers/Form/Item.tsx +1 -1
  461. package/src/renderers/Form/Options.tsx +32 -7
  462. package/src/renderers/Form/Picker.tsx +3 -2
  463. package/src/renderers/Form/Select.tsx +158 -21
  464. package/src/renderers/Form/TabsTransferPicker.tsx +123 -0
  465. package/src/renderers/Form/Transfer.tsx +19 -4
  466. package/src/renderers/Form/TransferPicker.tsx +139 -0
  467. package/src/renderers/Form/TreeSelect.tsx +25 -0
  468. package/src/renderers/Form/index.tsx +16 -2
  469. package/src/renderers/Form/wrapControl.tsx +28 -3
  470. package/src/renderers/IFrame.tsx +4 -5
  471. package/src/renderers/Image.tsx +10 -0
  472. package/src/renderers/Json.tsx +9 -9
  473. package/src/renderers/Link.tsx +53 -14
  474. package/src/renderers/List.tsx +1 -1
  475. package/src/renderers/Log.tsx +16 -3
  476. package/src/renderers/Mapping.tsx +27 -11
  477. package/src/renderers/Nav.tsx +392 -60
  478. package/src/renderers/Page.tsx +1 -1
  479. package/src/renderers/Portlet.tsx +423 -0
  480. package/src/renderers/Property.tsx +3 -2
  481. package/src/renderers/SearchBox.tsx +23 -4
  482. package/src/renderers/SparkLine.tsx +5 -0
  483. package/src/renderers/Table/ColumnToggler.tsx +544 -0
  484. package/src/renderers/Table/ItemActionsWrapper.tsx +44 -0
  485. package/src/renderers/Table/TableCell.tsx +16 -1
  486. package/src/renderers/Table/TableContent.tsx +40 -2
  487. package/src/renderers/Table/index.tsx +257 -80
  488. package/src/renderers/Tabs.tsx +9 -1
  489. package/src/renderers/WebComponent.tsx +2 -2
  490. package/src/store/crud.ts +3 -8
  491. package/src/store/form.ts +5 -10
  492. package/src/store/service.ts +5 -4
  493. package/src/store/table.ts +94 -6
  494. package/src/types.ts +57 -0
  495. package/src/utils/api.ts +52 -23
  496. package/src/utils/dom.tsx +12 -0
  497. package/src/utils/handleAction.ts +41 -0
  498. package/src/utils/helper.ts +12 -3
  499. package/src/utils/icon.tsx +4 -0
  500. package/src/utils/tpl-builtin.ts +48 -17
  501. package/dump.rdb +0 -0
  502. package/lib/components/AssociatedCheckboxes.d.ts +0 -762
  503. package/lib/components/AssociatedCheckboxes.js +0 -90
  504. package/lib/components/AssociatedCheckboxes.js.map +0 -13
  505. package/lib/components/ChainedCheckboxes.js.map +0 -13
  506. package/lib/components/Checkboxes.js +0 -101
  507. package/lib/components/Checkboxes.js.map +0 -13
  508. package/lib/components/ListCheckboxes.d.ts +0 -739
  509. package/lib/components/ListCheckboxes.js +0 -48
  510. package/lib/components/ListCheckboxes.js.map +0 -13
  511. package/lib/components/ListRadios.d.ts +0 -763
  512. package/lib/components/ListRadios.js +0 -86
  513. package/lib/components/ListRadios.js.map +0 -13
  514. package/lib/components/TableCheckboxes.js.map +0 -13
  515. package/lib/components/TreeCheckboxes.js.map +0 -13
  516. package/lib/components/TreeRadios.d.ts +0 -838
  517. package/lib/components/TreeRadios.js +0 -116
  518. package/lib/components/TreeRadios.js.map +0 -13
  519. package/src/components/ListRadios.tsx +0 -159
  520. package/src/components/TreeRadios.tsx +0 -202
@@ -34,13 +34,13 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
37
+ new (props: (Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
38
38
  mini: boolean;
39
39
  searchImediately: boolean;
40
40
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
43
+ }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
44
44
  mini: boolean;
45
45
  searchImediately: boolean;
46
46
  }, never>> & {
@@ -49,7 +49,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
52
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
53
53
  mini: boolean;
54
54
  searchImediately: boolean;
55
55
  }, never>> & {
@@ -57,7 +57,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
60
+ readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
61
61
  mini: boolean;
62
62
  searchImediately: boolean;
63
63
  }, never>> & {
@@ -71,7 +71,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
74
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
75
75
  mini: boolean;
76
76
  searchImediately: boolean;
77
77
  }, never>> & {
@@ -80,14 +80,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
83
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
84
84
  mini: boolean;
85
85
  searchImediately: boolean;
86
86
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
90
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
91
91
  mini: boolean;
92
92
  searchImediately: boolean;
93
93
  }, never>> & {
@@ -96,28 +96,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
99
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
100
100
  mini: boolean;
101
101
  searchImediately: boolean;
102
102
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
106
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
107
107
  mini: boolean;
108
108
  searchImediately: boolean;
109
109
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
113
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
114
114
  mini: boolean;
115
115
  searchImediately: boolean;
116
116
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
120
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
121
121
  mini: boolean;
122
122
  searchImediately: boolean;
123
123
  }, never>> & {
@@ -125,7 +125,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
128
+ new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
129
129
  mini: boolean;
130
130
  searchImediately: boolean;
131
131
  }, never>> & {
@@ -134,7 +134,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
137
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
138
138
  mini: boolean;
139
139
  searchImediately: boolean;
140
140
  }, never>> & {
@@ -142,7 +142,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
145
+ readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
146
146
  mini: boolean;
147
147
  searchImediately: boolean;
148
148
  }, never>> & {
@@ -156,7 +156,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
159
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
160
160
  mini: boolean;
161
161
  searchImediately: boolean;
162
162
  }, never>> & {
@@ -165,14 +165,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
168
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
169
169
  mini: boolean;
170
170
  searchImediately: boolean;
171
171
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
175
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
176
176
  mini: boolean;
177
177
  searchImediately: boolean;
178
178
  }, never>> & {
@@ -181,28 +181,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
184
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
185
185
  mini: boolean;
186
186
  searchImediately: boolean;
187
187
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
191
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
192
192
  mini: boolean;
193
193
  searchImediately: boolean;
194
194
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
198
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
199
199
  mini: boolean;
200
200
  searchImediately: boolean;
201
201
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
205
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
206
206
  mini: boolean;
207
207
  searchImediately: boolean;
208
208
  }, never>> & {
@@ -213,13 +213,13 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
216
+ new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
217
217
  mini: boolean;
218
218
  searchImediately: boolean;
219
219
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
222
+ }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
223
223
  mini: boolean;
224
224
  searchImediately: boolean;
225
225
  }, never>> & {
@@ -228,7 +228,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
231
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
232
232
  mini: boolean;
233
233
  searchImediately: boolean;
234
234
  }, never>> & {
@@ -236,7 +236,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
239
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
240
240
  mini: boolean;
241
241
  searchImediately: boolean;
242
242
  }, never>> & {
@@ -250,7 +250,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
253
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
254
254
  mini: boolean;
255
255
  searchImediately: boolean;
256
256
  }, never>> & {
@@ -259,14 +259,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
262
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
263
263
  mini: boolean;
264
264
  searchImediately: boolean;
265
265
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
269
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
270
270
  mini: boolean;
271
271
  searchImediately: boolean;
272
272
  }, never>> & {
@@ -275,28 +275,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
278
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
279
279
  mini: boolean;
280
280
  searchImediately: boolean;
281
281
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
285
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
286
286
  mini: boolean;
287
287
  searchImediately: boolean;
288
288
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
292
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
293
293
  mini: boolean;
294
294
  searchImediately: boolean;
295
295
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
299
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
300
300
  mini: boolean;
301
301
  searchImediately: boolean;
302
302
  }, never>> & {
@@ -304,7 +304,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
307
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
308
308
  mini: boolean;
309
309
  searchImediately: boolean;
310
310
  }, never>> & {
@@ -313,7 +313,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
316
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
317
317
  mini: boolean;
318
318
  searchImediately: boolean;
319
319
  }, never>> & {
@@ -321,7 +321,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
324
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
325
325
  mini: boolean;
326
326
  searchImediately: boolean;
327
327
  }, never>> & {
@@ -335,7 +335,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
338
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
339
339
  mini: boolean;
340
340
  searchImediately: boolean;
341
341
  }, never>> & {
@@ -344,14 +344,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
347
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
348
348
  mini: boolean;
349
349
  searchImediately: boolean;
350
350
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
354
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
355
355
  mini: boolean;
356
356
  searchImediately: boolean;
357
357
  }, never>> & {
@@ -360,28 +360,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
363
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
364
364
  mini: boolean;
365
365
  searchImediately: boolean;
366
366
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
370
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
371
371
  mini: boolean;
372
372
  searchImediately: boolean;
373
373
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
377
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
378
378
  mini: boolean;
379
379
  searchImediately: boolean;
380
380
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
384
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
385
385
  mini: boolean;
386
386
  searchImediately: boolean;
387
387
  }, never>> & {
@@ -396,13 +396,13 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
399
+ new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
400
400
  mini: boolean;
401
401
  searchImediately: boolean;
402
402
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
405
+ }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
406
406
  mini: boolean;
407
407
  searchImediately: boolean;
408
408
  }, never>> & {
@@ -411,7 +411,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
414
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
415
415
  mini: boolean;
416
416
  searchImediately: boolean;
417
417
  }, never>> & {
@@ -419,7 +419,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
422
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
423
423
  mini: boolean;
424
424
  searchImediately: boolean;
425
425
  }, never>> & {
@@ -433,7 +433,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
436
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
437
437
  mini: boolean;
438
438
  searchImediately: boolean;
439
439
  }, never>> & {
@@ -442,14 +442,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
445
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
446
446
  mini: boolean;
447
447
  searchImediately: boolean;
448
448
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
452
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
453
453
  mini: boolean;
454
454
  searchImediately: boolean;
455
455
  }, never>> & {
@@ -458,28 +458,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
461
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
462
462
  mini: boolean;
463
463
  searchImediately: boolean;
464
464
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
468
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
469
469
  mini: boolean;
470
470
  searchImediately: boolean;
471
471
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
475
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
476
476
  mini: boolean;
477
477
  searchImediately: boolean;
478
478
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
482
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
483
483
  mini: boolean;
484
484
  searchImediately: boolean;
485
485
  }, never>> & {
@@ -487,7 +487,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
490
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
491
491
  mini: boolean;
492
492
  searchImediately: boolean;
493
493
  }, never>> & {
@@ -496,7 +496,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
499
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
500
500
  mini: boolean;
501
501
  searchImediately: boolean;
502
502
  }, never>> & {
@@ -504,7 +504,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
507
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
508
508
  mini: boolean;
509
509
  searchImediately: boolean;
510
510
  }, never>> & {
@@ -518,7 +518,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
521
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
522
522
  mini: boolean;
523
523
  searchImediately: boolean;
524
524
  }, never>> & {
@@ -527,14 +527,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
530
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
531
531
  mini: boolean;
532
532
  searchImediately: boolean;
533
533
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
537
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
538
538
  mini: boolean;
539
539
  searchImediately: boolean;
540
540
  }, never>> & {
@@ -543,28 +543,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
546
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
547
547
  mini: boolean;
548
548
  searchImediately: boolean;
549
549
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
553
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
554
554
  mini: boolean;
555
555
  searchImediately: boolean;
556
556
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
560
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
561
561
  mini: boolean;
562
562
  searchImediately: boolean;
563
563
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
567
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
568
568
  mini: boolean;
569
569
  searchImediately: boolean;
570
570
  }, never>> & {
@@ -579,13 +579,13 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
582
+ new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
583
583
  mini: boolean;
584
584
  searchImediately: boolean;
585
585
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
588
+ }) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
589
589
  mini: boolean;
590
590
  searchImediately: boolean;
591
591
  }, never>> & {
@@ -594,7 +594,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
597
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
598
598
  mini: boolean;
599
599
  searchImediately: boolean;
600
600
  }, never>> & {
@@ -602,7 +602,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
605
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
606
606
  mini: boolean;
607
607
  searchImediately: boolean;
608
608
  }, never>> & {
@@ -616,7 +616,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
619
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
620
620
  mini: boolean;
621
621
  searchImediately: boolean;
622
622
  }, never>> & {
@@ -625,14 +625,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
628
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
629
629
  mini: boolean;
630
630
  searchImediately: boolean;
631
631
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
635
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
636
636
  mini: boolean;
637
637
  searchImediately: boolean;
638
638
  }, never>> & {
@@ -641,28 +641,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
644
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
645
645
  mini: boolean;
646
646
  searchImediately: boolean;
647
647
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
651
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
652
652
  mini: boolean;
653
653
  searchImediately: boolean;
654
654
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
658
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
659
659
  mini: boolean;
660
660
  searchImediately: boolean;
661
661
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
665
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
666
666
  mini: boolean;
667
667
  searchImediately: boolean;
668
668
  }, never>> & {
@@ -670,7 +670,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
673
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
674
674
  mini: boolean;
675
675
  searchImediately: boolean;
676
676
  }, never>> & {
@@ -679,7 +679,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
682
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
683
683
  mini: boolean;
684
684
  searchImediately: boolean;
685
685
  }, never>> & {
@@ -687,7 +687,7 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
690
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
691
691
  mini: boolean;
692
692
  searchImediately: boolean;
693
693
  }, never>> & {
@@ -701,7 +701,7 @@ 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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
704
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
705
705
  mini: boolean;
706
706
  searchImediately: boolean;
707
707
  }, never>> & {
@@ -710,14 +710,14 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
713
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
714
714
  mini: boolean;
715
715
  searchImediately: boolean;
716
716
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
720
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
721
721
  mini: boolean;
722
722
  searchImediately: boolean;
723
723
  }, never>> & {
@@ -726,28 +726,28 @@ declare const _default: {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
729
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
730
730
  mini: boolean;
731
731
  searchImediately: boolean;
732
732
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
736
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
737
737
  mini: boolean;
738
738
  searchImediately: boolean;
739
739
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
743
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
744
744
  mini: boolean;
745
745
  searchImediately: boolean;
746
746
  }, never>> & {
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" | "onSearch" | "onActiveChange" | "defaultActive" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
750
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
751
751
  mini: boolean;
752
752
  searchImediately: boolean;
753
753
  }, never>> & {