amis 1.4.2-beta.1 → 1.4.2-beta.15

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 (449) hide show
  1. package/lib/Schema.d.ts +11 -3
  2. package/lib/Schema.js.map +1 -1
  3. package/lib/components/AnchorNav.d.ts +22 -21
  4. package/lib/components/AnchorNav.js +7 -3
  5. package/lib/components/AnchorNav.js.map +2 -2
  6. package/lib/components/ArrayInput.d.ts +84 -84
  7. package/lib/components/AssociatedSelection.d.ts +930 -0
  8. package/lib/components/AssociatedSelection.js +89 -0
  9. package/lib/components/AssociatedSelection.js.map +13 -0
  10. package/lib/components/Badge.js +2 -2
  11. package/lib/components/Badge.js.map +2 -2
  12. package/lib/components/{ChainedCheckboxes.d.ts → ChainedSelection.d.ts} +267 -98
  13. package/lib/components/{ChainedCheckboxes.js → ChainedSelection.js} +30 -24
  14. package/lib/components/ChainedSelection.js.map +13 -0
  15. package/lib/components/Checkbox.d.ts +20 -20
  16. package/lib/components/Collapse.d.ts +51 -23
  17. package/lib/components/Collapse.js +69 -11
  18. package/lib/components/Collapse.js.map +2 -2
  19. package/lib/components/CollapseGroup.d.ts +88 -0
  20. package/lib/components/CollapseGroup.js +81 -0
  21. package/lib/components/CollapseGroup.js.map +13 -0
  22. package/lib/components/ColorPicker.d.ts +84 -84
  23. package/lib/components/DatePicker.d.ts +84 -84
  24. package/lib/components/DateRangePicker.d.ts +84 -84
  25. package/lib/components/Editor.d.ts +84 -84
  26. package/lib/components/GridNav.d.ts +52 -0
  27. package/lib/components/GridNav.js +123 -0
  28. package/lib/components/GridNav.js.map +13 -0
  29. package/lib/components/GroupedSelection.d.ts +907 -0
  30. package/lib/components/GroupedSelection.js +48 -0
  31. package/lib/components/GroupedSelection.js.map +13 -0
  32. package/lib/components/InputBox.d.ts +22 -21
  33. package/lib/components/InputBox.js +10 -2
  34. package/lib/components/InputBox.js.map +2 -2
  35. package/lib/components/Link.d.ts +29 -36
  36. package/lib/components/Link.js +14 -15
  37. package/lib/components/Link.js.map +2 -2
  38. package/lib/components/ListGroup.d.ts +21 -21
  39. package/lib/components/ModalManager.js +1 -1
  40. package/lib/components/ModalManager.js.map +2 -2
  41. package/lib/components/MonthRangePicker.d.ts +84 -84
  42. package/lib/components/NumberInput.d.ts +20 -20
  43. package/lib/components/PickerColumn.d.ts +514 -0
  44. package/lib/components/PickerColumn.js +279 -0
  45. package/lib/components/PickerColumn.js.map +13 -0
  46. package/lib/components/PickerContainer.d.ts +513 -0
  47. package/lib/components/PickerContainer.js +96 -0
  48. package/lib/components/PickerContainer.js.map +13 -0
  49. package/lib/components/Radios.d.ts +22 -21
  50. package/lib/components/Radios.js +1 -0
  51. package/lib/components/Radios.js.map +2 -2
  52. package/lib/components/Rating.d.ts +21 -21
  53. package/lib/components/ResultBox.d.ts +84 -84
  54. package/lib/components/ResultBox.js +10 -2
  55. package/lib/components/ResultBox.js.map +2 -2
  56. package/lib/components/SearchBox.d.ts +84 -84
  57. package/lib/components/SearchBox.js +4 -4
  58. package/lib/components/SearchBox.js.map +2 -2
  59. package/lib/components/Select.d.ts +245 -237
  60. package/lib/components/Select.js +25 -4
  61. package/lib/components/Select.js.map +2 -2
  62. package/lib/components/{Checkboxes.d.ts → Selection.d.ts} +273 -98
  63. package/lib/components/Selection.js +134 -0
  64. package/lib/components/Selection.js.map +13 -0
  65. package/lib/components/{TableCheckboxes.d.ts → TableSelection.d.ts} +266 -96
  66. package/lib/components/{TableCheckboxes.js → TableSelection.js} +30 -30
  67. package/lib/components/TableSelection.js.map +13 -0
  68. package/lib/components/Tabs.d.ts +20 -20
  69. package/lib/components/TabsTransfer.d.ts +84 -84
  70. package/lib/components/TabsTransfer.js +9 -9
  71. package/lib/components/TabsTransfer.js.map +2 -2
  72. package/lib/components/TabsTransferPicker.d.ts +489 -0
  73. package/lib/components/TabsTransferPicker.js +60 -0
  74. package/lib/components/TabsTransferPicker.js.map +13 -0
  75. package/lib/components/Toast.d.ts +86 -85
  76. package/lib/components/Toast.js +6 -3
  77. package/lib/components/Toast.js.map +2 -2
  78. package/lib/components/Transfer.d.ts +908 -274
  79. package/lib/components/Transfer.js +31 -24
  80. package/lib/components/Transfer.js.map +2 -2
  81. package/lib/components/TransferDropDown.d.ts +488 -0
  82. package/lib/components/TransferDropDown.js +59 -0
  83. package/lib/components/TransferDropDown.js.map +13 -0
  84. package/lib/components/TransferPicker.d.ts +493 -0
  85. package/lib/components/TransferPicker.js +60 -0
  86. package/lib/components/TransferPicker.js.map +13 -0
  87. package/lib/components/Tree.d.ts +115 -84
  88. package/lib/components/Tree.js +183 -30
  89. package/lib/components/Tree.js.map +2 -2
  90. package/lib/components/{TreeCheckboxes.d.ts → TreeSelection.d.ts} +269 -99
  91. package/lib/components/{TreeCheckboxes.js → TreeSelection.js} +36 -32
  92. package/lib/components/TreeSelection.js.map +13 -0
  93. package/lib/components/WithRemoteConfig.js +1 -1
  94. package/lib/components/WithRemoteConfig.js.map +2 -2
  95. package/lib/components/condition-builder/Field.js +5 -2
  96. package/lib/components/condition-builder/Field.js.map +2 -2
  97. package/lib/components/condition-builder/Func.js +2 -2
  98. package/lib/components/condition-builder/Func.js.map +2 -2
  99. package/lib/components/condition-builder/InputSwitch.js +2 -2
  100. package/lib/components/condition-builder/InputSwitch.js.map +2 -2
  101. package/lib/components/condition-builder/Item.js +3 -3
  102. package/lib/components/condition-builder/Item.js.map +2 -2
  103. package/lib/components/icons.js +2 -0
  104. package/lib/components/icons.js.map +2 -2
  105. package/lib/components/index.d.ts +8 -8
  106. package/lib/components/index.js +16 -16
  107. package/lib/components/index.js.map +2 -2
  108. package/lib/envOverwrite.d.ts +1 -1
  109. package/lib/envOverwrite.js +24 -9
  110. package/lib/envOverwrite.js.map +2 -2
  111. package/lib/factory.d.ts +15 -1
  112. package/lib/factory.js +35 -6
  113. package/lib/factory.js.map +2 -2
  114. package/lib/helper.css.map +1 -1
  115. package/lib/hooks/index.d.ts +5 -0
  116. package/lib/hooks/index.js +14 -0
  117. package/lib/hooks/index.js.map +13 -0
  118. package/lib/hooks/use-set-state.d.ts +2 -0
  119. package/lib/hooks/use-set-state.js +15 -0
  120. package/lib/hooks/use-set-state.js.map +13 -0
  121. package/lib/hooks/use-touch.d.ts +16 -0
  122. package/lib/hooks/use-touch.js +73 -0
  123. package/lib/hooks/use-touch.js.map +13 -0
  124. package/lib/hooks/use-update-effect.d.ts +3 -0
  125. package/lib/hooks/use-update-effect.js +17 -0
  126. package/lib/hooks/use-update-effect.js.map +13 -0
  127. package/lib/icons/download.js +7 -0
  128. package/lib/icons/drag-bar.js +10 -3
  129. package/lib/index.d.ts +5 -0
  130. package/lib/index.js +6 -1
  131. package/lib/index.js.map +2 -2
  132. package/lib/locale/de-DE.js +2 -0
  133. package/lib/locale/de-DE.js.map +2 -2
  134. package/lib/locale/en-US.js +3 -0
  135. package/lib/locale/en-US.js.map +2 -2
  136. package/lib/locale/zh-CN.js +5 -2
  137. package/lib/locale/zh-CN.js.map +2 -2
  138. package/lib/renderers/Action.d.ts +4 -3
  139. package/lib/renderers/Action.js +17 -4
  140. package/lib/renderers/Action.js.map +2 -2
  141. package/lib/renderers/AnchorNav.d.ts +1 -0
  142. package/lib/renderers/AnchorNav.js +2 -2
  143. package/lib/renderers/AnchorNav.js.map +2 -2
  144. package/lib/renderers/Avatar.js +3 -3
  145. package/lib/renderers/Avatar.js.map +2 -2
  146. package/lib/renderers/Breadcrumb.js +1 -1
  147. package/lib/renderers/Breadcrumb.js.map +2 -2
  148. package/lib/renderers/CRUD.d.ts +9 -0
  149. package/lib/renderers/CRUD.js +24 -4
  150. package/lib/renderers/CRUD.js.map +2 -2
  151. package/lib/renderers/Card.d.ts +4 -0
  152. package/lib/renderers/Card.js +29 -23
  153. package/lib/renderers/Card.js.map +2 -2
  154. package/lib/renderers/Chart.js +1 -1
  155. package/lib/renderers/Chart.js.map +2 -2
  156. package/lib/renderers/Collapse.d.ts +25 -20
  157. package/lib/renderers/Collapse.js +10 -72
  158. package/lib/renderers/Collapse.js.map +2 -2
  159. package/lib/renderers/CollapseGroup.d.ts +42 -0
  160. package/lib/renderers/CollapseGroup.js +33 -0
  161. package/lib/renderers/CollapseGroup.js.map +13 -0
  162. package/lib/renderers/DropDownButton.js +1 -1
  163. package/lib/renderers/DropDownButton.js.map +2 -2
  164. package/lib/renderers/Form/DiffEditor.d.ts +4 -3
  165. package/lib/renderers/Form/Editor.d.ts +3 -2
  166. package/lib/renderers/Form/InputCity.d.ts +84 -84
  167. package/lib/renderers/Form/InputCity.js +7 -6
  168. package/lib/renderers/Form/InputCity.js.map +2 -2
  169. package/lib/renderers/Form/InputColor.d.ts +84 -84
  170. package/lib/renderers/Form/InputFile.d.ts +6 -0
  171. package/lib/renderers/Form/InputFile.js +28 -8
  172. package/lib/renderers/Form/InputFile.js.map +2 -2
  173. package/lib/renderers/Form/InputImage.js +11 -4
  174. package/lib/renderers/Form/InputImage.js.map +2 -2
  175. package/lib/renderers/Form/Item.d.ts +1 -1
  176. package/lib/renderers/Form/Item.js +2 -1
  177. package/lib/renderers/Form/Item.js.map +2 -2
  178. package/lib/renderers/Form/Options.js +13 -3
  179. package/lib/renderers/Form/Options.js.map +2 -2
  180. package/lib/renderers/Form/Select.d.ts +42 -4
  181. package/lib/renderers/Form/Select.js +37 -3
  182. package/lib/renderers/Form/Select.js.map +2 -2
  183. package/lib/renderers/Form/TabsTransferPicker.d.ts +48 -0
  184. package/lib/renderers/Form/TabsTransferPicker.js +29 -0
  185. package/lib/renderers/Form/TabsTransferPicker.js.map +13 -0
  186. package/lib/renderers/Form/Transfer.js +18 -3
  187. package/lib/renderers/Form/Transfer.js.map +2 -2
  188. package/lib/renderers/Form/TransferPicker.d.ts +52 -0
  189. package/lib/renderers/Form/TransferPicker.js +43 -0
  190. package/lib/renderers/Form/TransferPicker.js.map +13 -0
  191. package/lib/renderers/Form/TreeSelect.js +2 -2
  192. package/lib/renderers/Form/TreeSelect.js.map +2 -2
  193. package/lib/renderers/Form/index.d.ts +5 -0
  194. package/lib/renderers/Form/index.js +5 -3
  195. package/lib/renderers/Form/index.js.map +2 -2
  196. package/lib/renderers/Form/wrapControl.js +13 -1
  197. package/lib/renderers/Form/wrapControl.js.map +2 -2
  198. package/lib/renderers/GridNav.d.ts +99 -0
  199. package/lib/renderers/GridNav.js +82 -0
  200. package/lib/renderers/GridNav.js.map +13 -0
  201. package/lib/renderers/IFrame.js +1 -3
  202. package/lib/renderers/IFrame.js.map +2 -2
  203. package/lib/renderers/Json.d.ts +4 -0
  204. package/lib/renderers/Json.js +4 -13
  205. package/lib/renderers/Json.js.map +2 -2
  206. package/lib/renderers/Link.d.ts +4 -2
  207. package/lib/renderers/Link.js +15 -6
  208. package/lib/renderers/Link.js.map +2 -2
  209. package/lib/renderers/List.js +1 -1
  210. package/lib/renderers/List.js.map +2 -2
  211. package/lib/renderers/Mapping.d.ts +9 -2
  212. package/lib/renderers/Mapping.js +18 -6
  213. package/lib/renderers/Mapping.js.map +2 -2
  214. package/lib/renderers/Nav.d.ts +21 -21
  215. package/lib/renderers/Nav.js +39 -21
  216. package/lib/renderers/Nav.js.map +2 -2
  217. package/lib/renderers/Portlet.d.ts +125 -0
  218. package/lib/renderers/Portlet.js +156 -0
  219. package/lib/renderers/Portlet.js.map +13 -0
  220. package/lib/renderers/Property.js +2 -1
  221. package/lib/renderers/Property.js.map +2 -2
  222. package/lib/renderers/SearchBox.d.ts +6 -1
  223. package/lib/renderers/SearchBox.js +19 -5
  224. package/lib/renderers/SearchBox.js.map +2 -2
  225. package/lib/renderers/Table/TableContent.d.ts +4 -1
  226. package/lib/renderers/Table/TableContent.js +21 -1
  227. package/lib/renderers/Table/TableContent.js.map +2 -2
  228. package/lib/renderers/Table/index.d.ts +5 -1
  229. package/lib/renderers/Table/index.js +65 -30
  230. package/lib/renderers/Table/index.js.map +2 -2
  231. package/lib/renderers/Tabs.js +9 -1
  232. package/lib/renderers/Tabs.js.map +2 -2
  233. package/lib/renderers/WebComponent.js +1 -1
  234. package/lib/renderers/WebComponent.js.map +2 -2
  235. package/lib/store/combo.d.ts +2 -16
  236. package/lib/store/crud.js +3 -7
  237. package/lib/store/crud.js.map +2 -2
  238. package/lib/store/form.d.ts +1 -1
  239. package/lib/store/form.js +5 -6
  240. package/lib/store/form.js.map +2 -2
  241. package/lib/store/formItem.js +44 -4
  242. package/lib/store/formItem.js.map +2 -2
  243. package/lib/store/service.js +5 -4
  244. package/lib/store/service.js.map +2 -2
  245. package/lib/store/table.d.ts +3 -2
  246. package/lib/store/table.js +35 -12
  247. package/lib/store/table.js.map +2 -2
  248. package/lib/themes/ang-ie11.css +689 -175
  249. package/lib/themes/ang.css +689 -175
  250. package/lib/themes/ang.css.map +1 -1
  251. package/lib/themes/antd-ie11.css +689 -175
  252. package/lib/themes/antd.css +689 -175
  253. package/lib/themes/antd.css.map +1 -1
  254. package/lib/themes/cxd-ie11.css +728 -213
  255. package/lib/themes/cxd.css +728 -213
  256. package/lib/themes/cxd.css.map +1 -1
  257. package/lib/themes/dark-ie11.css +689 -175
  258. package/lib/themes/dark.css +689 -175
  259. package/lib/themes/dark.css.map +1 -1
  260. package/lib/themes/default.css +728 -213
  261. package/lib/themes/default.css.map +1 -1
  262. package/lib/types.d.ts +38 -1
  263. package/lib/types.js +0 -5
  264. package/lib/types.js.map +2 -2
  265. package/lib/utils/api.d.ts +4 -2
  266. package/lib/utils/api.js +104 -17
  267. package/lib/utils/api.js.map +2 -2
  268. package/lib/utils/dom.d.ts +4 -0
  269. package/lib/utils/dom.js +11 -1
  270. package/lib/utils/dom.js.map +2 -2
  271. package/lib/utils/helper.d.ts +8 -0
  272. package/lib/utils/helper.js +28 -2
  273. package/lib/utils/helper.js.map +2 -2
  274. package/lib/utils/icon.js +3 -0
  275. package/lib/utils/icon.js.map +2 -2
  276. package/package.json +1 -1
  277. package/schema.json +3326 -836
  278. package/scss/_mixins.scss +1 -3
  279. package/scss/_properties.scss +25 -1
  280. package/scss/base/_common.scss +3 -0
  281. package/scss/base/_normalize.scss +2 -0
  282. package/scss/components/_anchor-nav.scss +89 -29
  283. package/scss/components/_card.scss +8 -14
  284. package/scss/components/_collapse-group.scss +11 -0
  285. package/scss/components/_collapse.scss +48 -22
  286. package/scss/components/_grid-nav.scss +128 -0
  287. package/scss/components/_input-box.scss +1 -0
  288. package/scss/components/_mapping.scss +6 -0
  289. package/scss/components/_nav.scss +2 -2
  290. package/scss/components/_picker-columns.scss +124 -0
  291. package/scss/components/_popover.scss +13 -0
  292. package/scss/components/_portlet.scss +51 -0
  293. package/scss/components/_result-box.scss +1 -0
  294. package/scss/components/_spinner.scss +5 -4
  295. package/scss/components/_status.scss +1 -1
  296. package/scss/components/_table.scss +32 -0
  297. package/scss/components/form/_checks.scss +0 -351
  298. package/scss/components/form/_combo.scss +4 -0
  299. package/scss/components/form/_fieldset.scss +5 -1
  300. package/scss/components/form/_file.scss +11 -0
  301. package/scss/components/form/_form.scss +48 -0
  302. package/scss/components/form/_selection.scss +354 -0
  303. package/scss/components/form/_transfer.scss +75 -18
  304. package/scss/components/form/_tree.scss +42 -0
  305. package/scss/themes/_common.scss +7 -0
  306. package/scss/themes/_cxd-variables.scss +8 -6
  307. package/scss/themes/cxd.scss +17 -12
  308. package/sdk/ang-ie11.css +786 -196
  309. package/sdk/ang.css +820 -213
  310. package/sdk/antd-ie11.css +786 -196
  311. package/sdk/antd.css +820 -213
  312. package/sdk/charts.js +13 -13
  313. package/sdk/color-picker.js +65 -69
  314. package/sdk/cropperjs.js +2 -2
  315. package/sdk/cxd-ie11.css +825 -236
  316. package/sdk/cxd.css +862 -254
  317. package/sdk/dark-ie11.css +787 -197
  318. package/sdk/dark.css +820 -213
  319. package/sdk/exceljs.js +1 -1
  320. package/sdk/helper.css.map +1 -1
  321. package/sdk/iconfont.svg +2513 -0
  322. package/sdk/iconfont.ttf +0 -0
  323. package/sdk/iconfont.woff +0 -0
  324. package/sdk/locale/de-DE.js +2 -0
  325. package/sdk/markdown.js +69 -69
  326. package/sdk/papaparse.js +1 -1
  327. package/sdk/renderers/Form/CityDB.js +1 -1
  328. package/sdk/rest.js +20 -28
  329. package/sdk/rich-text.js +62 -62
  330. package/sdk/sdk-ie11.css +825 -236
  331. package/sdk/sdk.css +862 -254
  332. package/sdk/sdk.js +1243 -1175
  333. package/sdk/thirds/hls.js/hls.js +1 -1
  334. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  335. package/sdk/tinymce.js +57 -57
  336. package/src/Schema.ts +19 -1
  337. package/src/components/AnchorNav.tsx +15 -4
  338. package/src/components/{AssociatedCheckboxes.tsx → AssociatedSelection.tsx} +43 -37
  339. package/src/components/Badge.tsx +3 -3
  340. package/src/components/{ChainedCheckboxes.tsx → ChainedSelection.tsx} +57 -40
  341. package/src/components/Collapse.tsx +144 -20
  342. package/src/components/CollapseGroup.tsx +130 -0
  343. package/src/components/GridNav.tsx +233 -0
  344. package/src/components/{ListCheckboxes.tsx → GroupedSelection.tsx} +26 -21
  345. package/src/components/InputBox.tsx +10 -9
  346. package/src/components/Link.tsx +28 -37
  347. package/src/components/ModalManager.ts +1 -1
  348. package/src/components/PickerColumn.tsx +429 -0
  349. package/src/components/PickerContainer.tsx +128 -0
  350. package/src/components/Radios.tsx +3 -8
  351. package/src/components/ResultBox.tsx +9 -9
  352. package/src/components/SearchBox.tsx +4 -5
  353. package/src/components/Select.tsx +57 -5
  354. package/src/components/{Checkboxes.tsx → Selection.tsx} +75 -21
  355. package/src/components/{TableCheckboxes.tsx → TableSelection.tsx} +46 -25
  356. package/src/components/TabsTransfer.tsx +13 -7
  357. package/src/components/TabsTransferPicker.tsx +85 -0
  358. package/src/components/Toast.tsx +23 -16
  359. package/src/components/Transfer.tsx +71 -50
  360. package/src/components/TransferDropDown.tsx +120 -0
  361. package/src/components/TransferPicker.tsx +91 -0
  362. package/src/components/Tree.tsx +194 -8
  363. package/src/components/{TreeCheckboxes.tsx → TreeSelection.tsx} +33 -26
  364. package/src/components/WithRemoteConfig.tsx +7 -2
  365. package/src/components/condition-builder/Field.tsx +5 -5
  366. package/src/components/condition-builder/Func.tsx +3 -3
  367. package/src/components/condition-builder/InputSwitch.tsx +3 -3
  368. package/src/components/condition-builder/Item.tsx +5 -12
  369. package/src/components/icons.tsx +2 -0
  370. package/src/components/index.tsx +13 -13
  371. package/src/envOverwrite.ts +20 -8
  372. package/src/factory.tsx +70 -9
  373. package/src/hooks/index.ts +5 -0
  374. package/src/hooks/use-set-state.ts +19 -0
  375. package/src/hooks/use-touch.ts +100 -0
  376. package/src/hooks/use-update-effect.ts +16 -0
  377. package/src/icons/download.svg +4 -0
  378. package/src/icons/drag-bar.svg +12 -6
  379. package/src/index.tsx +5 -0
  380. package/src/locale/de-DE.ts +2 -0
  381. package/src/locale/en-US.ts +3 -0
  382. package/src/locale/zh-CN.ts +5 -2
  383. package/src/renderers/Action.tsx +28 -2
  384. package/src/renderers/AnchorNav.tsx +4 -0
  385. package/src/renderers/Avatar.tsx +8 -4
  386. package/src/renderers/Breadcrumb.tsx +5 -1
  387. package/src/renderers/CRUD.tsx +33 -3
  388. package/src/renderers/Card.tsx +63 -34
  389. package/src/renderers/Chart.tsx +6 -2
  390. package/src/renderers/Collapse.tsx +70 -115
  391. package/src/renderers/CollapseGroup.tsx +80 -0
  392. package/src/renderers/DropDownButton.tsx +1 -1
  393. package/src/renderers/Form/InputCity.tsx +4 -8
  394. package/src/renderers/Form/InputFile.tsx +65 -24
  395. package/src/renderers/Form/InputImage.tsx +11 -3
  396. package/src/renderers/Form/Item.tsx +3 -2
  397. package/src/renderers/Form/Options.tsx +16 -2
  398. package/src/renderers/Form/Select.tsx +162 -21
  399. package/src/renderers/Form/TabsTransferPicker.tsx +123 -0
  400. package/src/renderers/Form/Transfer.tsx +19 -4
  401. package/src/renderers/Form/TransferPicker.tsx +145 -0
  402. package/src/renderers/Form/TreeSelect.tsx +25 -0
  403. package/src/renderers/Form/index.tsx +15 -2
  404. package/src/renderers/Form/wrapControl.tsx +26 -1
  405. package/src/renderers/GridNav.tsx +204 -0
  406. package/src/renderers/IFrame.tsx +2 -4
  407. package/src/renderers/Json.tsx +9 -9
  408. package/src/renderers/Link.tsx +27 -13
  409. package/src/renderers/List.tsx +1 -1
  410. package/src/renderers/Mapping.tsx +27 -11
  411. package/src/renderers/Nav.tsx +108 -60
  412. package/src/renderers/Portlet.tsx +423 -0
  413. package/src/renderers/Property.tsx +3 -2
  414. package/src/renderers/SearchBox.tsx +23 -4
  415. package/src/renderers/Table/TableContent.tsx +40 -2
  416. package/src/renderers/Table/index.tsx +88 -43
  417. package/src/renderers/Tabs.tsx +9 -1
  418. package/src/renderers/WebComponent.tsx +2 -2
  419. package/src/store/crud.ts +3 -8
  420. package/src/store/form.ts +5 -10
  421. package/src/store/formItem.ts +94 -2
  422. package/src/store/service.ts +5 -4
  423. package/src/store/table.ts +55 -14
  424. package/src/types.ts +58 -1
  425. package/src/utils/api.ts +133 -26
  426. package/src/utils/dom.tsx +12 -0
  427. package/src/utils/helper.ts +27 -0
  428. package/src/utils/icon.tsx +4 -0
  429. package/tsconfig-for-declaration.json +1 -1
  430. package/dump.rdb +0 -0
  431. package/lib/components/AssociatedCheckboxes.d.ts +0 -762
  432. package/lib/components/AssociatedCheckboxes.js +0 -90
  433. package/lib/components/AssociatedCheckboxes.js.map +0 -13
  434. package/lib/components/ChainedCheckboxes.js.map +0 -13
  435. package/lib/components/Checkboxes.js +0 -101
  436. package/lib/components/Checkboxes.js.map +0 -13
  437. package/lib/components/ListCheckboxes.d.ts +0 -739
  438. package/lib/components/ListCheckboxes.js +0 -48
  439. package/lib/components/ListCheckboxes.js.map +0 -13
  440. package/lib/components/ListRadios.d.ts +0 -763
  441. package/lib/components/ListRadios.js +0 -86
  442. package/lib/components/ListRadios.js.map +0 -13
  443. package/lib/components/TableCheckboxes.js.map +0 -13
  444. package/lib/components/TreeCheckboxes.js.map +0 -13
  445. package/lib/components/TreeRadios.d.ts +0 -838
  446. package/lib/components/TreeRadios.js +0 -116
  447. package/lib/components/TreeRadios.js.map +0 -13
  448. package/src/components/ListRadios.tsx +0 -159
  449. package/src/components/TreeRadios.tsx +0 -202
@@ -16,6 +16,7 @@ interface ToastComponentProps extends ThemeProps, LocaleProps {
16
16
  closeButton: boolean;
17
17
  showIcon?: boolean;
18
18
  timeout: number;
19
+ errorTimeout: number;
19
20
  className?: string;
20
21
  }
21
22
  interface Item extends Config {
@@ -29,7 +30,7 @@ interface ToastComponentState {
29
30
  items: Array<Item>;
30
31
  }
31
32
  export declare class ToastComponent extends React.Component<ToastComponentProps, ToastComponentState> {
32
- static defaultProps: Pick<ToastComponentProps, 'position' | 'closeButton' | 'timeout'>;
33
+ static defaultProps: Pick<ToastComponentProps, 'position' | 'closeButton' | 'timeout' | 'errorTimeout'>;
33
34
  static themeKey: string;
34
35
  hasRendered: boolean;
35
36
  state: ToastComponentState;
@@ -44,21 +45,21 @@ export declare class ToastComponent extends React.Component<ToastComponentProps,
44
45
  render(): JSX.Element[] | null;
45
46
  }
46
47
  declare const _default: {
47
- new (props: (Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
48
+ new (props: (Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
48
49
  locale?: string | undefined;
49
50
  translate?: ((str: string, ...args: any[]) => string) | undefined;
50
- }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
51
+ }, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
51
52
  locale?: string | undefined;
52
53
  translate?: ((str: string, ...args: any[]) => string) | undefined;
53
54
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
54
55
  render(): JSX.Element;
55
56
  context: any;
56
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
57
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
57
58
  locale?: string | undefined;
58
59
  translate?: ((str: string, ...args: any[]) => string) | undefined;
59
60
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
60
61
  forceUpdate(callback?: (() => void) | undefined): void;
61
- readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
62
+ readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
62
63
  locale?: string | undefined;
63
64
  translate?: ((str: string, ...args: any[]) => string) | undefined;
64
65
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -69,51 +70,51 @@ declare const _default: {
69
70
  [key: string]: React.ReactInstance;
70
71
  };
71
72
  componentDidMount?(): void;
72
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
73
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
73
74
  locale?: string | undefined;
74
75
  translate?: ((str: string, ...args: any[]) => string) | undefined;
75
76
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
76
77
  componentWillUnmount?(): void;
77
78
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
78
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
79
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
79
80
  locale?: string | undefined;
80
81
  translate?: ((str: string, ...args: any[]) => string) | undefined;
81
82
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
82
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
83
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
83
84
  locale?: string | undefined;
84
85
  translate?: ((str: string, ...args: any[]) => string) | undefined;
85
86
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
86
87
  componentWillMount?(): void;
87
88
  UNSAFE_componentWillMount?(): void;
88
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
89
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
89
90
  locale?: string | undefined;
90
91
  translate?: ((str: string, ...args: any[]) => string) | undefined;
91
92
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
92
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
93
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
93
94
  locale?: string | undefined;
94
95
  translate?: ((str: string, ...args: any[]) => string) | undefined;
95
96
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
96
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
97
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
97
98
  locale?: string | undefined;
98
99
  translate?: ((str: string, ...args: any[]) => string) | undefined;
99
100
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
100
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
101
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
101
102
  locale?: string | undefined;
102
103
  translate?: ((str: string, ...args: any[]) => string) | undefined;
103
104
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
104
105
  };
105
- new (props: Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
106
+ new (props: Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
106
107
  locale?: string | undefined;
107
108
  translate?: ((str: string, ...args: any[]) => string) | undefined;
108
109
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
109
110
  render(): JSX.Element;
110
111
  context: any;
111
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
112
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
112
113
  locale?: string | undefined;
113
114
  translate?: ((str: string, ...args: any[]) => string) | undefined;
114
115
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
115
116
  forceUpdate(callback?: (() => void) | undefined): void;
116
- readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
117
+ readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
117
118
  locale?: string | undefined;
118
119
  translate?: ((str: string, ...args: any[]) => string) | undefined;
119
120
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -124,35 +125,35 @@ declare const _default: {
124
125
  [key: string]: React.ReactInstance;
125
126
  };
126
127
  componentDidMount?(): void;
127
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
128
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
128
129
  locale?: string | undefined;
129
130
  translate?: ((str: string, ...args: any[]) => string) | undefined;
130
131
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
131
132
  componentWillUnmount?(): void;
132
133
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
133
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
134
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
134
135
  locale?: string | undefined;
135
136
  translate?: ((str: string, ...args: any[]) => string) | undefined;
136
137
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
137
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
138
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
138
139
  locale?: string | undefined;
139
140
  translate?: ((str: string, ...args: any[]) => string) | undefined;
140
141
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
141
142
  componentWillMount?(): void;
142
143
  UNSAFE_componentWillMount?(): void;
143
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
144
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
144
145
  locale?: string | undefined;
145
146
  translate?: ((str: string, ...args: any[]) => string) | undefined;
146
147
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
147
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
148
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
148
149
  locale?: string | undefined;
149
150
  translate?: ((str: string, ...args: any[]) => string) | undefined;
150
151
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
151
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
152
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
152
153
  locale?: string | undefined;
153
154
  translate?: ((str: string, ...args: any[]) => string) | undefined;
154
155
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
155
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
156
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
156
157
  locale?: string | undefined;
157
158
  translate?: ((str: string, ...args: any[]) => string) | undefined;
158
159
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -160,21 +161,21 @@ declare const _default: {
160
161
  displayName: string;
161
162
  contextType: React.Context<string>;
162
163
  ComposedComponent: React.ComponentType<{
163
- new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
164
+ new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
164
165
  locale?: string | undefined;
165
166
  translate?: ((str: string, ...args: any[]) => string) | undefined;
166
- }) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
167
+ }) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
167
168
  locale?: string | undefined;
168
169
  translate?: ((str: string, ...args: any[]) => string) | undefined;
169
170
  }>): {
170
171
  render(): JSX.Element;
171
172
  context: any;
172
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
173
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
173
174
  locale?: string | undefined;
174
175
  translate?: ((str: string, ...args: any[]) => string) | undefined;
175
176
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
176
177
  forceUpdate(callback?: (() => void) | undefined): void;
177
- readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
178
+ readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
178
179
  locale?: string | undefined;
179
180
  translate?: ((str: string, ...args: any[]) => string) | undefined;
180
181
  }> & Readonly<{
@@ -185,51 +186,51 @@ declare const _default: {
185
186
  [key: string]: React.ReactInstance;
186
187
  };
187
188
  componentDidMount?(): void;
188
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
189
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
189
190
  locale?: string | undefined;
190
191
  translate?: ((str: string, ...args: any[]) => string) | undefined;
191
192
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
192
193
  componentWillUnmount?(): void;
193
194
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
194
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
195
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
195
196
  locale?: string | undefined;
196
197
  translate?: ((str: string, ...args: any[]) => string) | undefined;
197
198
  }>, prevState: Readonly<{}>): any;
198
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
199
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
199
200
  locale?: string | undefined;
200
201
  translate?: ((str: string, ...args: any[]) => string) | undefined;
201
202
  }>, prevState: Readonly<{}>, snapshot?: any): void;
202
203
  componentWillMount?(): void;
203
204
  UNSAFE_componentWillMount?(): void;
204
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
205
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
205
206
  locale?: string | undefined;
206
207
  translate?: ((str: string, ...args: any[]) => string) | undefined;
207
208
  }>, nextContext: any): void;
208
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
209
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
209
210
  locale?: string | undefined;
210
211
  translate?: ((str: string, ...args: any[]) => string) | undefined;
211
212
  }>, nextContext: any): void;
212
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
213
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
213
214
  locale?: string | undefined;
214
215
  translate?: ((str: string, ...args: any[]) => string) | undefined;
215
216
  }>, nextState: Readonly<{}>, nextContext: any): void;
216
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
217
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
217
218
  locale?: string | undefined;
218
219
  translate?: ((str: string, ...args: any[]) => string) | undefined;
219
220
  }>, nextState: Readonly<{}>, nextContext: any): void;
220
221
  };
221
- new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
222
+ new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
222
223
  locale?: string | undefined;
223
224
  translate?: ((str: string, ...args: any[]) => string) | undefined;
224
225
  }, context: any): {
225
226
  render(): JSX.Element;
226
227
  context: any;
227
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
228
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
228
229
  locale?: string | undefined;
229
230
  translate?: ((str: string, ...args: any[]) => string) | undefined;
230
231
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
231
232
  forceUpdate(callback?: (() => void) | undefined): void;
232
- readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
233
+ readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
233
234
  locale?: string | undefined;
234
235
  translate?: ((str: string, ...args: any[]) => string) | undefined;
235
236
  }> & Readonly<{
@@ -240,35 +241,35 @@ declare const _default: {
240
241
  [key: string]: React.ReactInstance;
241
242
  };
242
243
  componentDidMount?(): void;
243
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
244
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
244
245
  locale?: string | undefined;
245
246
  translate?: ((str: string, ...args: any[]) => string) | undefined;
246
247
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
247
248
  componentWillUnmount?(): void;
248
249
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
249
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
250
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
250
251
  locale?: string | undefined;
251
252
  translate?: ((str: string, ...args: any[]) => string) | undefined;
252
253
  }>, prevState: Readonly<{}>): any;
253
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
254
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
254
255
  locale?: string | undefined;
255
256
  translate?: ((str: string, ...args: any[]) => string) | undefined;
256
257
  }>, prevState: Readonly<{}>, snapshot?: any): void;
257
258
  componentWillMount?(): void;
258
259
  UNSAFE_componentWillMount?(): void;
259
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
260
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
260
261
  locale?: string | undefined;
261
262
  translate?: ((str: string, ...args: any[]) => string) | undefined;
262
263
  }>, nextContext: any): void;
263
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
264
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
264
265
  locale?: string | undefined;
265
266
  translate?: ((str: string, ...args: any[]) => string) | undefined;
266
267
  }>, nextContext: any): void;
267
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
268
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
268
269
  locale?: string | undefined;
269
270
  translate?: ((str: string, ...args: any[]) => string) | undefined;
270
271
  }>, nextState: Readonly<{}>, nextContext: any): void;
271
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
272
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
272
273
  locale?: string | undefined;
273
274
  translate?: ((str: string, ...args: any[]) => string) | undefined;
274
275
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -280,21 +281,21 @@ declare const _default: {
280
281
  ComposedComponent: typeof ToastComponent;
281
282
  }>;
282
283
  } & import("hoist-non-react-statics").NonReactStatics<{
283
- new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
284
+ new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
284
285
  locale?: string | undefined;
285
286
  translate?: ((str: string, ...args: any[]) => string) | undefined;
286
- }) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
287
+ }) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
287
288
  locale?: string | undefined;
288
289
  translate?: ((str: string, ...args: any[]) => string) | undefined;
289
290
  }>): {
290
291
  render(): JSX.Element;
291
292
  context: any;
292
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
293
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
293
294
  locale?: string | undefined;
294
295
  translate?: ((str: string, ...args: any[]) => string) | undefined;
295
296
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
296
297
  forceUpdate(callback?: (() => void) | undefined): void;
297
- readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
298
+ readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
298
299
  locale?: string | undefined;
299
300
  translate?: ((str: string, ...args: any[]) => string) | undefined;
300
301
  }> & Readonly<{
@@ -305,51 +306,51 @@ declare const _default: {
305
306
  [key: string]: React.ReactInstance;
306
307
  };
307
308
  componentDidMount?(): void;
308
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
309
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
309
310
  locale?: string | undefined;
310
311
  translate?: ((str: string, ...args: any[]) => string) | undefined;
311
312
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
312
313
  componentWillUnmount?(): void;
313
314
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
314
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
315
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
315
316
  locale?: string | undefined;
316
317
  translate?: ((str: string, ...args: any[]) => string) | undefined;
317
318
  }>, prevState: Readonly<{}>): any;
318
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
319
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
319
320
  locale?: string | undefined;
320
321
  translate?: ((str: string, ...args: any[]) => string) | undefined;
321
322
  }>, prevState: Readonly<{}>, snapshot?: any): void;
322
323
  componentWillMount?(): void;
323
324
  UNSAFE_componentWillMount?(): void;
324
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
325
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
325
326
  locale?: string | undefined;
326
327
  translate?: ((str: string, ...args: any[]) => string) | undefined;
327
328
  }>, nextContext: any): void;
328
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
329
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
329
330
  locale?: string | undefined;
330
331
  translate?: ((str: string, ...args: any[]) => string) | undefined;
331
332
  }>, nextContext: any): void;
332
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
333
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
333
334
  locale?: string | undefined;
334
335
  translate?: ((str: string, ...args: any[]) => string) | undefined;
335
336
  }>, nextState: Readonly<{}>, nextContext: any): void;
336
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
337
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
337
338
  locale?: string | undefined;
338
339
  translate?: ((str: string, ...args: any[]) => string) | undefined;
339
340
  }>, nextState: Readonly<{}>, nextContext: any): void;
340
341
  };
341
- new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
342
+ new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
342
343
  locale?: string | undefined;
343
344
  translate?: ((str: string, ...args: any[]) => string) | undefined;
344
345
  }, context: any): {
345
346
  render(): JSX.Element;
346
347
  context: any;
347
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
348
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
348
349
  locale?: string | undefined;
349
350
  translate?: ((str: string, ...args: any[]) => string) | undefined;
350
351
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
351
352
  forceUpdate(callback?: (() => void) | undefined): void;
352
- readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
353
+ readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
353
354
  locale?: string | undefined;
354
355
  translate?: ((str: string, ...args: any[]) => string) | undefined;
355
356
  }> & Readonly<{
@@ -360,35 +361,35 @@ declare const _default: {
360
361
  [key: string]: React.ReactInstance;
361
362
  };
362
363
  componentDidMount?(): void;
363
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
364
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
364
365
  locale?: string | undefined;
365
366
  translate?: ((str: string, ...args: any[]) => string) | undefined;
366
367
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
367
368
  componentWillUnmount?(): void;
368
369
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
369
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
370
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
370
371
  locale?: string | undefined;
371
372
  translate?: ((str: string, ...args: any[]) => string) | undefined;
372
373
  }>, prevState: Readonly<{}>): any;
373
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
374
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
374
375
  locale?: string | undefined;
375
376
  translate?: ((str: string, ...args: any[]) => string) | undefined;
376
377
  }>, prevState: Readonly<{}>, snapshot?: any): void;
377
378
  componentWillMount?(): void;
378
379
  UNSAFE_componentWillMount?(): void;
379
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
380
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
380
381
  locale?: string | undefined;
381
382
  translate?: ((str: string, ...args: any[]) => string) | undefined;
382
383
  }>, nextContext: any): void;
383
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
384
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
384
385
  locale?: string | undefined;
385
386
  translate?: ((str: string, ...args: any[]) => string) | undefined;
386
387
  }>, nextContext: any): void;
387
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
388
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
388
389
  locale?: string | undefined;
389
390
  translate?: ((str: string, ...args: any[]) => string) | undefined;
390
391
  }>, nextState: Readonly<{}>, nextContext: any): void;
391
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
392
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
392
393
  locale?: string | undefined;
393
394
  translate?: ((str: string, ...args: any[]) => string) | undefined;
394
395
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -400,21 +401,21 @@ declare const _default: {
400
401
  ComposedComponent: typeof ToastComponent;
401
402
  }, {}> & {
402
403
  ComposedComponent: {
403
- new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
404
+ new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
404
405
  locale?: string | undefined;
405
406
  translate?: ((str: string, ...args: any[]) => string) | undefined;
406
- }) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
407
+ }) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
407
408
  locale?: string | undefined;
408
409
  translate?: ((str: string, ...args: any[]) => string) | undefined;
409
410
  }>): {
410
411
  render(): JSX.Element;
411
412
  context: any;
412
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
413
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
413
414
  locale?: string | undefined;
414
415
  translate?: ((str: string, ...args: any[]) => string) | undefined;
415
416
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
416
417
  forceUpdate(callback?: (() => void) | undefined): void;
417
- readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
418
+ readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
418
419
  locale?: string | undefined;
419
420
  translate?: ((str: string, ...args: any[]) => string) | undefined;
420
421
  }> & Readonly<{
@@ -425,51 +426,51 @@ declare const _default: {
425
426
  [key: string]: React.ReactInstance;
426
427
  };
427
428
  componentDidMount?(): void;
428
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
429
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
429
430
  locale?: string | undefined;
430
431
  translate?: ((str: string, ...args: any[]) => string) | undefined;
431
432
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
432
433
  componentWillUnmount?(): void;
433
434
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
434
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
435
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
435
436
  locale?: string | undefined;
436
437
  translate?: ((str: string, ...args: any[]) => string) | undefined;
437
438
  }>, prevState: Readonly<{}>): any;
438
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
439
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
439
440
  locale?: string | undefined;
440
441
  translate?: ((str: string, ...args: any[]) => string) | undefined;
441
442
  }>, prevState: Readonly<{}>, snapshot?: any): void;
442
443
  componentWillMount?(): void;
443
444
  UNSAFE_componentWillMount?(): void;
444
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
445
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
445
446
  locale?: string | undefined;
446
447
  translate?: ((str: string, ...args: any[]) => string) | undefined;
447
448
  }>, nextContext: any): void;
448
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
449
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
449
450
  locale?: string | undefined;
450
451
  translate?: ((str: string, ...args: any[]) => string) | undefined;
451
452
  }>, nextContext: any): void;
452
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
453
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
453
454
  locale?: string | undefined;
454
455
  translate?: ((str: string, ...args: any[]) => string) | undefined;
455
456
  }>, nextState: Readonly<{}>, nextContext: any): void;
456
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
457
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
457
458
  locale?: string | undefined;
458
459
  translate?: ((str: string, ...args: any[]) => string) | undefined;
459
460
  }>, nextState: Readonly<{}>, nextContext: any): void;
460
461
  };
461
- new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
462
+ new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
462
463
  locale?: string | undefined;
463
464
  translate?: ((str: string, ...args: any[]) => string) | undefined;
464
465
  }, context: any): {
465
466
  render(): JSX.Element;
466
467
  context: any;
467
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
468
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
468
469
  locale?: string | undefined;
469
470
  translate?: ((str: string, ...args: any[]) => string) | undefined;
470
471
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
471
472
  forceUpdate(callback?: (() => void) | undefined): void;
472
- readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
473
+ readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
473
474
  locale?: string | undefined;
474
475
  translate?: ((str: string, ...args: any[]) => string) | undefined;
475
476
  }> & Readonly<{
@@ -480,35 +481,35 @@ declare const _default: {
480
481
  [key: string]: React.ReactInstance;
481
482
  };
482
483
  componentDidMount?(): void;
483
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
484
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
484
485
  locale?: string | undefined;
485
486
  translate?: ((str: string, ...args: any[]) => string) | undefined;
486
487
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
487
488
  componentWillUnmount?(): void;
488
489
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
489
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
490
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
490
491
  locale?: string | undefined;
491
492
  translate?: ((str: string, ...args: any[]) => string) | undefined;
492
493
  }>, prevState: Readonly<{}>): any;
493
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
494
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
494
495
  locale?: string | undefined;
495
496
  translate?: ((str: string, ...args: any[]) => string) | undefined;
496
497
  }>, prevState: Readonly<{}>, snapshot?: any): void;
497
498
  componentWillMount?(): void;
498
499
  UNSAFE_componentWillMount?(): void;
499
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
500
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
500
501
  locale?: string | undefined;
501
502
  translate?: ((str: string, ...args: any[]) => string) | undefined;
502
503
  }>, nextContext: any): void;
503
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
504
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
504
505
  locale?: string | undefined;
505
506
  translate?: ((str: string, ...args: any[]) => string) | undefined;
506
507
  }>, nextContext: any): void;
507
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
508
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
508
509
  locale?: string | undefined;
509
510
  translate?: ((str: string, ...args: any[]) => string) | undefined;
510
511
  }>, nextState: Readonly<{}>, nextContext: any): void;
511
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
512
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
512
513
  locale?: string | undefined;
513
514
  translate?: ((str: string, ...args: any[]) => string) | undefined;
514
515
  }>, nextState: Readonly<{}>, nextContext: any): void;