amis-ui 2.8.0 → 3.0.0

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 (955) hide show
  1. package/esm/_virtual/index.js +1 -1
  2. package/esm/_virtual/react-is.development.js +1 -1
  3. package/esm/_virtual/react-is.production.min.js +1 -1
  4. package/esm/components/404.d.ts +3 -4
  5. package/esm/components/404.js +1 -1
  6. package/esm/components/Alert.d.ts +291 -295
  7. package/esm/components/Alert.js +18 -10
  8. package/esm/components/Alert2.d.ts +62 -13
  9. package/esm/components/Alert2.js +1 -1
  10. package/esm/components/AnchorNav.d.ts +55 -17
  11. package/esm/components/AnchorNav.js +1 -1
  12. package/esm/components/ArrayInput.d.ts +205 -213
  13. package/esm/components/ArrayInput.js +1 -1
  14. package/esm/components/AsideNav.d.ts +62 -64
  15. package/esm/components/AsideNav.js +1 -1
  16. package/esm/components/AssociatedSelection.d.ts +325 -333
  17. package/esm/components/AssociatedSelection.js +3 -3
  18. package/esm/components/Avatar.d.ts +222 -14
  19. package/esm/components/Avatar.js +2 -2
  20. package/esm/components/Badge.d.ts +7 -10
  21. package/esm/components/Badge.js +1 -1
  22. package/esm/components/BaiduMapPicker.d.ts +2 -4
  23. package/esm/components/BaiduMapPicker.js +1 -1
  24. package/esm/components/BarCode.d.ts +2 -4
  25. package/esm/components/BarCode.js +1 -1
  26. package/esm/components/Breadcrumb.d.ts +2 -4
  27. package/esm/components/Breadcrumb.js +1 -1
  28. package/esm/components/Button.d.ts +82 -14
  29. package/esm/components/Button.js +1 -1
  30. package/esm/components/CalendarMobile.d.ts +125 -53
  31. package/esm/components/CalendarMobile.js +1 -1
  32. package/esm/components/Card.d.ts +360 -12
  33. package/esm/components/Card.js +1 -1
  34. package/esm/components/Cascader.d.ts +2 -4
  35. package/esm/components/Cascader.js +1 -1
  36. package/esm/components/ChainedSelection.d.ts +326 -333
  37. package/esm/components/ChainedSelection.js +18 -2
  38. package/esm/components/Checkbox.d.ts +52 -13
  39. package/esm/components/Checkbox.js +2 -2
  40. package/esm/components/CityArea.d.ts +5 -13
  41. package/esm/components/CityArea.js +1 -1
  42. package/esm/components/CityDB.js +1 -1
  43. package/esm/components/CodeMirror.js +1 -1
  44. package/esm/components/Collapse.d.ts +323 -13
  45. package/esm/components/Collapse.js +1 -1
  46. package/esm/components/CollapseGroup.d.ts +132 -13
  47. package/esm/components/CollapseGroup.js +1 -1
  48. package/esm/components/ColorPicker.d.ts +245 -253
  49. package/esm/components/ColorPicker.js +1 -1
  50. package/esm/components/Combo.d.ts +8 -13
  51. package/esm/components/Combo.js +1 -1
  52. package/esm/components/ConfirmBox.d.ts +164 -172
  53. package/esm/components/ConfirmBox.js +1 -1
  54. package/esm/components/ContextMenu.d.ts +2 -4
  55. package/esm/components/ContextMenu.js +1 -1
  56. package/esm/components/DatePicker.d.ts +285 -294
  57. package/esm/components/DatePicker.js +2 -3
  58. package/esm/components/DateRangePicker.d.ts +608 -579
  59. package/esm/components/DateRangePicker.js +11 -7
  60. package/esm/components/DndContainer.d.ts +44 -132
  61. package/esm/components/DndContainer.js +1 -1
  62. package/esm/components/Drawer.d.ts +72 -13
  63. package/esm/components/Drawer.js +2 -2
  64. package/esm/components/Editor.d.ts +405 -333
  65. package/esm/components/Editor.js +25 -23
  66. package/esm/components/Form.js +1 -1
  67. package/esm/components/FormField.d.ts +16 -20
  68. package/esm/components/FormField.js +1 -1
  69. package/esm/components/GaodeMapPicker.d.ts +89 -0
  70. package/esm/components/GaodeMapPicker.js +204 -0
  71. package/esm/components/GridNav.d.ts +1 -0
  72. package/esm/components/GridNav.js +1 -1
  73. package/esm/components/GroupedSelection.d.ts +326 -333
  74. package/esm/components/GroupedSelection.js +18 -3
  75. package/esm/components/Html.d.ts +32 -33
  76. package/esm/components/Html.js +3 -3
  77. package/esm/components/ImageGallery.d.ts +130 -55
  78. package/esm/components/ImageGallery.js +5 -3
  79. package/esm/components/Input.js +1 -1
  80. package/esm/components/InputBox.d.ts +42 -44
  81. package/esm/components/InputBox.js +1 -1
  82. package/esm/components/InputBoxWithSuggestion.d.ts +5 -13
  83. package/esm/components/InputBoxWithSuggestion.js +7 -5
  84. package/esm/components/InputTable.d.ts +5 -13
  85. package/esm/components/InputTable.js +1 -1
  86. package/esm/components/Layout.d.ts +71 -73
  87. package/esm/components/Layout.js +1 -1
  88. package/esm/components/Link.d.ts +3 -5
  89. package/esm/components/Link.js +1 -1
  90. package/esm/components/ListGroup.d.ts +31 -33
  91. package/esm/components/ListGroup.js +1 -1
  92. package/esm/components/ListMenu.d.ts +246 -253
  93. package/esm/components/ListMenu.js +1 -1
  94. package/esm/components/LocationPicker.d.ts +165 -173
  95. package/esm/components/LocationPicker.js +14 -2
  96. package/esm/components/Markdown.js +1 -1
  97. package/esm/components/Modal.d.ts +217 -238
  98. package/esm/components/Modal.js +1 -1
  99. package/esm/components/ModalManager.js +1 -1
  100. package/esm/components/MonthRangePicker.d.ts +445 -453
  101. package/esm/components/MultilineText.d.ts +205 -213
  102. package/esm/components/MultilineText.js +1 -1
  103. package/esm/components/NumberInput.d.ts +74 -15
  104. package/esm/components/NumberInput.js +10 -5
  105. package/esm/components/Pagination.d.ts +325 -333
  106. package/esm/components/Pagination.js +1 -1
  107. package/esm/components/Picker.d.ts +5 -13
  108. package/esm/components/Picker.js +1 -1
  109. package/esm/components/PickerColumn.d.ts +8 -5
  110. package/esm/components/PickerColumn.js +1 -1
  111. package/esm/components/PickerContainer.d.ts +5 -13
  112. package/esm/components/PickerContainer.js +1 -1
  113. package/esm/components/PopOverContainer.d.ts +1 -1
  114. package/esm/components/PopOverContainer.js +9 -7
  115. package/esm/components/PopUp.d.ts +326 -333
  116. package/esm/components/PopUp.js +1 -1
  117. package/esm/components/Progress.d.ts +241 -13
  118. package/esm/components/Progress.js +1 -1
  119. package/esm/components/PullRefresh.d.ts +3 -4
  120. package/esm/components/PullRefresh.js +1 -1
  121. package/esm/components/Radios.d.ts +101 -103
  122. package/esm/components/Radios.js +1 -1
  123. package/esm/components/Range.d.ts +24 -9
  124. package/esm/components/Range.js +35 -4
  125. package/esm/components/Rating.d.ts +132 -114
  126. package/esm/components/Rating.js +1 -1
  127. package/esm/components/ResultBox.d.ts +245 -53
  128. package/esm/components/ResultBox.js +1 -1
  129. package/esm/components/ResultList.d.ts +285 -53
  130. package/esm/components/ResultList.js +1 -1
  131. package/esm/components/ResultTableList.d.ts +405 -413
  132. package/esm/components/ResultTableList.js +1 -1
  133. package/esm/components/ResultTreeList.d.ts +165 -53
  134. package/esm/components/ResultTreeList.js +1 -1
  135. package/esm/components/RichText.d.ts +1 -0
  136. package/esm/components/RichText.js +1 -1
  137. package/esm/components/SearchBox.d.ts +325 -333
  138. package/esm/components/SearchBox.js +1 -1
  139. package/esm/components/Select.d.ts +4471 -4509
  140. package/esm/components/Select.js +7 -5
  141. package/esm/components/Selection.d.ts +328 -333
  142. package/esm/components/Selection.js +11 -4
  143. package/esm/components/SparkLine.d.ts +165 -173
  144. package/esm/components/SparkLine.js +1 -1
  145. package/esm/components/Spinner.d.ts +161 -123
  146. package/esm/components/Spinner.js +3 -3
  147. package/esm/components/Steps.d.ts +4 -6
  148. package/esm/components/Steps.js +4 -2
  149. package/esm/components/Switch.d.ts +41 -43
  150. package/esm/components/Switch.js +1 -1
  151. package/esm/components/TableSelection.d.ts +408 -416
  152. package/esm/components/TableSelection.js +1 -1
  153. package/esm/components/Tabs.d.ts +370 -60
  154. package/esm/components/Tabs.js +4 -2
  155. package/esm/components/TabsTransfer.d.ts +166 -173
  156. package/esm/components/TabsTransfer.js +4 -4
  157. package/esm/components/TabsTransferPicker.d.ts +5 -13
  158. package/esm/components/TabsTransferPicker.js +1 -1
  159. package/esm/components/Tag.d.ts +204 -17
  160. package/esm/components/Tag.js +20 -4
  161. package/esm/components/Textarea.d.ts +285 -293
  162. package/esm/components/Textarea.js +1 -1
  163. package/esm/components/Timeline.d.ts +2 -4
  164. package/esm/components/Timeline.js +1 -1
  165. package/esm/components/TimelineItem.d.ts +5 -13
  166. package/esm/components/TimelineItem.js +1 -1
  167. package/esm/components/Tinymce.js +1 -1
  168. package/esm/components/TitleBar.d.ts +71 -63
  169. package/esm/components/TitleBar.js +1 -1
  170. package/esm/components/Toast.d.ts +287 -53
  171. package/esm/components/Toast.js +5 -5
  172. package/esm/components/Tooltip.d.ts +3 -4
  173. package/esm/components/Tooltip.js +3 -3
  174. package/esm/components/TooltipWrapper.d.ts +73 -16
  175. package/esm/components/TooltipWrapper.js +3 -3
  176. package/esm/components/Transfer.d.ts +375 -135
  177. package/esm/components/Transfer.js +10 -14
  178. package/esm/components/TransferDropDown.d.ts +325 -53
  179. package/esm/components/TransferDropDown.js +1 -1
  180. package/esm/components/TransferPicker.d.ts +5 -13
  181. package/esm/components/TransferPicker.js +1 -1
  182. package/esm/components/TransferSearch.d.ts +5 -13
  183. package/esm/components/TransferSearch.js +1 -1
  184. package/esm/components/Tree.d.ts +1455 -1457
  185. package/esm/components/Tree.js +94 -33
  186. package/esm/components/TreeSelection.d.ts +365 -373
  187. package/esm/components/TreeSelection.js +1 -1
  188. package/esm/components/UserSelect.d.ts +205 -213
  189. package/esm/components/UserSelect.js +4 -1
  190. package/esm/components/UserTabSelect.d.ts +45 -53
  191. package/esm/components/UserTabSelect.js +4 -1
  192. package/esm/components/WithRemoteConfig.d.ts +8 -17
  193. package/esm/components/WithRemoteConfig.js +1 -1
  194. package/esm/components/WithStore.d.ts +4 -8
  195. package/esm/components/WithStore.js +1 -1
  196. package/esm/components/calendar/Calendar.d.ts +2 -0
  197. package/esm/components/calendar/Calendar.js +3 -1
  198. package/esm/components/calendar/CalendarContainer.js +1 -1
  199. package/esm/components/calendar/DaysView.d.ts +1 -3
  200. package/esm/components/calendar/DaysView.js +3 -3
  201. package/esm/components/calendar/MonthsView.d.ts +2 -4
  202. package/esm/components/calendar/MonthsView.js +8 -8
  203. package/esm/components/calendar/QuartersView.d.ts +1 -3
  204. package/esm/components/calendar/QuartersView.js +1 -1
  205. package/esm/components/calendar/TimeView.d.ts +1 -3
  206. package/esm/components/calendar/TimeView.js +1 -1
  207. package/esm/components/calendar/YearsView.d.ts +1 -3
  208. package/esm/components/calendar/YearsView.js +1 -1
  209. package/esm/components/condition-builder/Expression.d.ts +7 -14
  210. package/esm/components/condition-builder/Expression.js +1 -1
  211. package/esm/components/condition-builder/Field.d.ts +5 -13
  212. package/esm/components/condition-builder/Field.js +1 -1
  213. package/esm/components/condition-builder/Formula.d.ts +5 -13
  214. package/esm/components/condition-builder/Formula.js +1 -1
  215. package/esm/components/condition-builder/Func.d.ts +7 -14
  216. package/esm/components/condition-builder/Func.js +1 -1
  217. package/esm/components/condition-builder/Group.d.ts +7 -15
  218. package/esm/components/condition-builder/Group.js +1 -1
  219. package/esm/components/condition-builder/GroupOrItem.d.ts +4 -5
  220. package/esm/components/condition-builder/GroupOrItem.js +1 -1
  221. package/esm/components/condition-builder/InputSwitch.d.ts +2 -4
  222. package/esm/components/condition-builder/InputSwitch.js +1 -1
  223. package/esm/components/condition-builder/Item.d.ts +8 -15
  224. package/esm/components/condition-builder/Item.js +7 -7
  225. package/esm/components/condition-builder/Value.d.ts +7 -14
  226. package/esm/components/condition-builder/Value.js +3 -12
  227. package/esm/components/condition-builder/config.d.ts +2 -1
  228. package/esm/components/condition-builder/config.js +1 -1
  229. package/esm/components/condition-builder/index.d.ts +7 -14
  230. package/esm/components/condition-builder/index.js +1 -1
  231. package/esm/components/condition-builder/types.d.ts +2 -39
  232. package/esm/components/formula/Editor.d.ts +165 -53
  233. package/esm/components/formula/Editor.js +1 -1
  234. package/esm/components/formula/FuncList.d.ts +2 -4
  235. package/esm/components/formula/FuncList.js +1 -1
  236. package/esm/components/formula/Picker.d.ts +125 -133
  237. package/esm/components/formula/Picker.js +1 -1
  238. package/esm/components/formula/VariableList.d.ts +2 -4
  239. package/esm/components/formula/VariableList.js +4 -4
  240. package/esm/components/formula/plugin.js +1 -1
  241. package/esm/components/icons.d.ts +2 -2
  242. package/esm/components/icons.js +1 -1
  243. package/esm/components/index.d.ts +6 -1
  244. package/esm/components/json-schema/Array.d.ts +0 -1
  245. package/esm/components/json-schema/Array.js +1 -1
  246. package/esm/components/json-schema/Item.d.ts +0 -1
  247. package/esm/components/json-schema/Item.js +1 -1
  248. package/esm/components/json-schema/Object.d.ts +0 -1
  249. package/esm/components/json-schema/Object.js +1 -1
  250. package/esm/components/json-schema/index.d.ts +5 -13
  251. package/esm/components/json-schema/index.js +1 -1
  252. package/esm/components/menu/MenuContext.js +1 -1
  253. package/esm/components/menu/MenuItem.d.ts +3 -8
  254. package/esm/components/menu/MenuItem.js +12 -26
  255. package/esm/components/menu/SubMenu.d.ts +2 -7
  256. package/esm/components/menu/SubMenu.js +15 -29
  257. package/esm/components/menu/index.d.ts +146 -18
  258. package/esm/components/menu/index.js +17 -15
  259. package/esm/components/schema-editor/Array.d.ts +0 -1
  260. package/esm/components/schema-editor/Array.js +1 -1
  261. package/esm/components/schema-editor/Common.js +1 -1
  262. package/esm/components/schema-editor/Item.js +1 -1
  263. package/esm/components/schema-editor/Object.d.ts +0 -1
  264. package/esm/components/schema-editor/Object.js +1 -1
  265. package/esm/components/schema-editor/SchemaVariableList.d.ts +7 -15
  266. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  267. package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +7 -15
  268. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  269. package/esm/components/schema-editor/index.d.ts +525 -53
  270. package/esm/components/schema-editor/index.js +1 -1
  271. package/esm/components/table/Cell.d.ts +245 -253
  272. package/esm/components/table/Cell.js +1 -1
  273. package/esm/components/table/HeadCellDropDown.d.ts +6 -14
  274. package/esm/components/table/HeadCellDropDown.js +1 -1
  275. package/esm/components/table/HeadCellFilter.d.ts +166 -174
  276. package/esm/components/table/HeadCellFilter.js +8 -3
  277. package/esm/components/table/HeadCellSelect.d.ts +126 -134
  278. package/esm/components/table/HeadCellSelect.js +4 -2
  279. package/esm/components/table/HeadCellSort.d.ts +5 -13
  280. package/esm/components/table/HeadCellSort.js +5 -5
  281. package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
  282. package/esm/components/table/ItemActionsWrapper.js +1 -1
  283. package/esm/components/table/index.d.ts +368 -376
  284. package/esm/components/table/index.js +106 -71
  285. package/esm/components/virtual-list/AutoSizer.js +1 -1
  286. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  287. package/esm/components/virtual-list/constants.js +1 -1
  288. package/esm/components/virtual-list/index.js +1 -1
  289. package/esm/hooks/use-set-state.js +1 -1
  290. package/esm/hooks/use-sub-form.js +1 -1
  291. package/esm/hooks/use-touch.js +1 -1
  292. package/esm/hooks/use-update-effect.js +1 -1
  293. package/esm/hooks/use-validation-resolver.js +1 -1
  294. package/esm/icons/alert-danger.svg.js +1 -1
  295. package/esm/icons/alert-info.svg.js +1 -1
  296. package/esm/icons/alert-success.svg.js +1 -1
  297. package/esm/icons/alert-warning.svg.js +1 -1
  298. package/esm/icons/back.svg.js +1 -1
  299. package/esm/icons/calendar.svg.js +1 -1
  300. package/esm/icons/caret.svg.js +1 -1
  301. package/esm/icons/check.svg.js +1 -1
  302. package/esm/icons/clock.svg.js +1 -1
  303. package/esm/icons/close-small.svg.js +1 -1
  304. package/esm/icons/close.svg.js +1 -1
  305. package/esm/icons/cloud-upload.svg.js +1 -1
  306. package/esm/icons/column-filter.svg.js +1 -1
  307. package/esm/icons/columns.svg.js +1 -1
  308. package/esm/icons/compress-alt.svg.js +1 -1
  309. package/esm/icons/copy.svg.js +1 -1
  310. package/esm/icons/date.svg.js +1 -1
  311. package/esm/icons/department.svg.js +1 -1
  312. package/esm/icons/desk-empty.svg.js +1 -1
  313. package/esm/icons/dot.svg.js +1 -1
  314. package/esm/icons/down-arrow-bold.svg.js +1 -1
  315. package/esm/icons/down.svg.js +1 -1
  316. package/esm/icons/download.svg.js +1 -1
  317. package/esm/icons/drag-bar.svg.js +1 -1
  318. package/esm/icons/drag.svg.js +1 -1
  319. package/esm/icons/edit.svg.js +1 -1
  320. package/esm/icons/ellipsis-v.svg.js +1 -1
  321. package/esm/icons/enter.svg.js +1 -1
  322. package/esm/icons/exchange.svg.js +1 -1
  323. package/esm/icons/expand-alt.svg.js +1 -1
  324. package/esm/icons/fail.svg.js +1 -1
  325. package/esm/icons/file.svg.js +1 -1
  326. package/esm/icons/filter.svg.js +1 -1
  327. package/esm/icons/folder.svg.js +1 -1
  328. package/esm/icons/function.svg.js +1 -1
  329. package/esm/icons/home.svg.js +1 -1
  330. package/esm/icons/image.svg.js +1 -1
  331. package/esm/icons/info-circle.svg.js +1 -1
  332. package/esm/icons/info.svg.js +1 -1
  333. package/esm/icons/input-clear.svg.js +1 -1
  334. package/esm/icons/invisible.svg.js +1 -1
  335. package/esm/icons/left-arrow.svg.js +1 -1
  336. package/esm/icons/loading-outline.svg.js +1 -1
  337. package/esm/icons/location.svg.js +1 -1
  338. package/esm/icons/menu.svg.js +1 -1
  339. package/esm/icons/minus.svg.js +1 -1
  340. package/esm/icons/move.svg.js +1 -1
  341. package/esm/icons/mute.svg.js +1 -1
  342. package/esm/icons/new-edit.svg.js +1 -1
  343. package/esm/icons/pause.svg.js +1 -1
  344. package/esm/icons/pencil.svg.js +1 -1
  345. package/esm/icons/play.svg.js +1 -1
  346. package/esm/icons/plus-cicle.svg.js +1 -1
  347. package/esm/icons/plus-fine.svg.js +1 -1
  348. package/esm/icons/plus.svg.js +1 -1
  349. package/esm/icons/post.svg.js +1 -1
  350. package/esm/icons/question-mark.svg.js +1 -1
  351. package/esm/icons/question.svg.js +1 -1
  352. package/esm/icons/redo.svg.js +1 -1
  353. package/esm/icons/refresh.svg.js +1 -1
  354. package/esm/icons/reload.svg.js +1 -1
  355. package/esm/icons/remove.svg.js +1 -1
  356. package/esm/icons/retry.svg.js +1 -1
  357. package/esm/icons/right-arrow-bold.svg.js +1 -1
  358. package/esm/icons/right-arrow.svg.js +1 -1
  359. package/esm/icons/right-double-arrow.svg.js +1 -1
  360. package/esm/icons/role.svg.js +1 -1
  361. package/esm/icons/rotate-left.svg.js +1 -1
  362. package/esm/icons/rotate-right.svg.js +1 -1
  363. package/esm/icons/scale-origin.svg.js +1 -1
  364. package/esm/icons/schedule.svg.js +1 -1
  365. package/esm/icons/search.svg.js +1 -1
  366. package/esm/icons/setting.svg.js +1 -1
  367. package/esm/icons/slider-handle-icon.svg.js +1 -1
  368. package/esm/icons/sort-asc.svg.js +1 -1
  369. package/esm/icons/sort-default.svg.js +1 -1
  370. package/esm/icons/sort-desc.svg.js +1 -1
  371. package/esm/icons/star.svg.js +1 -1
  372. package/esm/icons/status-close.svg.js +2 -2
  373. package/esm/icons/steps-finsh.svg.js +1 -1
  374. package/esm/icons/success.svg.js +1 -1
  375. package/esm/icons/transparent.svg.js +1 -1
  376. package/esm/icons/trash.svg.js +1 -1
  377. package/esm/icons/tree-down.svg.js +1 -1
  378. package/esm/icons/undo.svg.js +1 -1
  379. package/esm/icons/upload.svg.js +1 -1
  380. package/esm/icons/user-remove.svg.js +1 -1
  381. package/esm/icons/view.svg.js +1 -1
  382. package/esm/icons/volume.svg.js +1 -1
  383. package/esm/icons/warning-mark.svg.js +1 -1
  384. package/esm/icons/warning.svg.js +1 -1
  385. package/esm/icons/window-restore.svg.js +1 -1
  386. package/esm/icons/zoom-in.svg.js +1 -1
  387. package/esm/icons/zoom-out.svg.js +1 -1
  388. package/esm/index.d.ts +3 -0
  389. package/esm/index.js +5 -1
  390. package/esm/locale/de-DE.js +5 -2
  391. package/esm/locale/en-US.js +6 -2
  392. package/esm/locale/zh-CN.js +7 -3
  393. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
  394. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  395. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  396. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  397. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  398. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  399. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  400. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  401. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  402. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  403. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  404. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
  405. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  406. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  407. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  408. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  409. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  410. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  411. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  412. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  413. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  414. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  415. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  416. package/esm/node_modules/rc-overflow/es/Item.js +21 -31
  417. package/esm/node_modules/rc-overflow/es/Overflow.js +82 -125
  418. package/esm/node_modules/rc-overflow/es/RawItem.js +10 -16
  419. package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +20 -0
  420. package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +53 -0
  421. package/esm/node_modules/rc-overflow/es/index.js +1 -1
  422. package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
  423. package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
  424. package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
  425. package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
  426. package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
  427. package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
  428. package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  429. package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +9 -3
  430. package/esm/node_modules/rc-util/es/hooks/useEvent.js +21 -0
  431. package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  432. package/esm/node_modules/rc-util/es/raf.js +1 -1
  433. package/esm/node_modules/rc-util/es/ref.js +1 -1
  434. package/esm/node_modules/rc-util/es/warning.js +8 -2
  435. package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
  436. package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  437. package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
  438. package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  439. package/esm/themes/ang.js +1 -1
  440. package/esm/themes/antd.js +1 -1
  441. package/esm/themes/cxd.js +1 -1
  442. package/esm/themes/dark.js +1 -1
  443. package/lib/_virtual/index.js +1 -1
  444. package/lib/_virtual/react-is.development.js +1 -1
  445. package/lib/_virtual/react-is.production.min.js +1 -1
  446. package/lib/components/404.d.ts +3 -4
  447. package/lib/components/404.js +1 -1
  448. package/lib/components/Alert.d.ts +291 -295
  449. package/lib/components/Alert.js +18 -10
  450. package/lib/components/Alert2.d.ts +62 -13
  451. package/lib/components/Alert2.js +1 -1
  452. package/lib/components/AnchorNav.d.ts +55 -17
  453. package/lib/components/AnchorNav.js +1 -1
  454. package/lib/components/ArrayInput.d.ts +205 -213
  455. package/lib/components/ArrayInput.js +1 -1
  456. package/lib/components/AsideNav.d.ts +62 -64
  457. package/lib/components/AsideNav.js +1 -1
  458. package/lib/components/AssociatedSelection.d.ts +325 -333
  459. package/lib/components/AssociatedSelection.js +3 -3
  460. package/lib/components/Avatar.d.ts +222 -14
  461. package/lib/components/Avatar.js +2 -2
  462. package/lib/components/Badge.d.ts +7 -10
  463. package/lib/components/Badge.js +1 -1
  464. package/lib/components/BaiduMapPicker.d.ts +2 -4
  465. package/lib/components/BaiduMapPicker.js +1 -1
  466. package/lib/components/BarCode.d.ts +2 -4
  467. package/lib/components/BarCode.js +1 -1
  468. package/lib/components/Breadcrumb.d.ts +2 -4
  469. package/lib/components/Breadcrumb.js +1 -1
  470. package/lib/components/Button.d.ts +82 -14
  471. package/lib/components/Button.js +1 -1
  472. package/lib/components/CalendarMobile.d.ts +125 -53
  473. package/lib/components/CalendarMobile.js +1 -1
  474. package/lib/components/Card.d.ts +360 -12
  475. package/lib/components/Card.js +1 -1
  476. package/lib/components/Cascader.d.ts +2 -4
  477. package/lib/components/Cascader.js +1 -1
  478. package/lib/components/ChainedSelection.d.ts +326 -333
  479. package/lib/components/ChainedSelection.js +18 -2
  480. package/lib/components/Checkbox.d.ts +52 -13
  481. package/lib/components/Checkbox.js +2 -2
  482. package/lib/components/CityArea.d.ts +5 -13
  483. package/lib/components/CityArea.js +1 -1
  484. package/lib/components/CityDB.js +1 -1
  485. package/lib/components/CodeMirror.js +1 -1
  486. package/lib/components/Collapse.d.ts +323 -13
  487. package/lib/components/Collapse.js +1 -1
  488. package/lib/components/CollapseGroup.d.ts +132 -13
  489. package/lib/components/CollapseGroup.js +1 -1
  490. package/lib/components/ColorPicker.d.ts +245 -253
  491. package/lib/components/ColorPicker.js +1 -1
  492. package/lib/components/Combo.d.ts +8 -13
  493. package/lib/components/Combo.js +1 -1
  494. package/lib/components/ConfirmBox.d.ts +164 -172
  495. package/lib/components/ConfirmBox.js +1 -1
  496. package/lib/components/ContextMenu.d.ts +2 -4
  497. package/lib/components/ContextMenu.js +1 -1
  498. package/lib/components/DatePicker.d.ts +285 -294
  499. package/lib/components/DatePicker.js +2 -3
  500. package/lib/components/DateRangePicker.d.ts +608 -579
  501. package/lib/components/DateRangePicker.js +11 -7
  502. package/lib/components/DndContainer.d.ts +44 -132
  503. package/lib/components/DndContainer.js +1 -1
  504. package/lib/components/Drawer.d.ts +72 -13
  505. package/lib/components/Drawer.js +2 -2
  506. package/lib/components/Editor.d.ts +405 -333
  507. package/lib/components/Editor.js +25 -23
  508. package/lib/components/Form.js +1 -1
  509. package/lib/components/FormField.d.ts +16 -20
  510. package/lib/components/FormField.js +1 -1
  511. package/lib/components/GaodeMapPicker.d.ts +89 -0
  512. package/lib/components/GaodeMapPicker.js +214 -0
  513. package/lib/components/GridNav.d.ts +1 -0
  514. package/lib/components/GridNav.js +1 -1
  515. package/lib/components/GroupedSelection.d.ts +326 -333
  516. package/lib/components/GroupedSelection.js +18 -3
  517. package/lib/components/Html.d.ts +32 -33
  518. package/lib/components/Html.js +3 -3
  519. package/lib/components/ImageGallery.d.ts +130 -55
  520. package/lib/components/ImageGallery.js +5 -3
  521. package/lib/components/Input.js +1 -1
  522. package/lib/components/InputBox.d.ts +42 -44
  523. package/lib/components/InputBox.js +1 -1
  524. package/lib/components/InputBoxWithSuggestion.d.ts +5 -13
  525. package/lib/components/InputBoxWithSuggestion.js +7 -5
  526. package/lib/components/InputTable.d.ts +5 -13
  527. package/lib/components/InputTable.js +1 -1
  528. package/lib/components/Layout.d.ts +71 -73
  529. package/lib/components/Layout.js +1 -1
  530. package/lib/components/Link.d.ts +3 -5
  531. package/lib/components/Link.js +1 -1
  532. package/lib/components/ListGroup.d.ts +31 -33
  533. package/lib/components/ListGroup.js +1 -1
  534. package/lib/components/ListMenu.d.ts +246 -253
  535. package/lib/components/ListMenu.js +1 -1
  536. package/lib/components/LocationPicker.d.ts +165 -173
  537. package/lib/components/LocationPicker.js +14 -2
  538. package/lib/components/Markdown.js +1 -1
  539. package/lib/components/Modal.d.ts +217 -238
  540. package/lib/components/Modal.js +1 -1
  541. package/lib/components/ModalManager.js +1 -1
  542. package/lib/components/MonthRangePicker.d.ts +445 -453
  543. package/lib/components/MultilineText.d.ts +205 -213
  544. package/lib/components/MultilineText.js +1 -1
  545. package/lib/components/NumberInput.d.ts +74 -15
  546. package/lib/components/NumberInput.js +10 -5
  547. package/lib/components/Pagination.d.ts +325 -333
  548. package/lib/components/Pagination.js +1 -1
  549. package/lib/components/Picker.d.ts +5 -13
  550. package/lib/components/Picker.js +1 -1
  551. package/lib/components/PickerColumn.d.ts +8 -5
  552. package/lib/components/PickerColumn.js +1 -1
  553. package/lib/components/PickerContainer.d.ts +5 -13
  554. package/lib/components/PickerContainer.js +1 -1
  555. package/lib/components/PopOverContainer.d.ts +1 -1
  556. package/lib/components/PopOverContainer.js +10 -7
  557. package/lib/components/PopUp.d.ts +326 -333
  558. package/lib/components/PopUp.js +1 -1
  559. package/lib/components/Progress.d.ts +241 -13
  560. package/lib/components/Progress.js +1 -1
  561. package/lib/components/PullRefresh.d.ts +3 -4
  562. package/lib/components/PullRefresh.js +1 -1
  563. package/lib/components/Radios.d.ts +101 -103
  564. package/lib/components/Radios.js +1 -1
  565. package/lib/components/Range.d.ts +24 -9
  566. package/lib/components/Range.js +35 -4
  567. package/lib/components/Rating.d.ts +132 -114
  568. package/lib/components/Rating.js +1 -1
  569. package/lib/components/ResultBox.d.ts +245 -53
  570. package/lib/components/ResultBox.js +1 -1
  571. package/lib/components/ResultList.d.ts +285 -53
  572. package/lib/components/ResultList.js +1 -1
  573. package/lib/components/ResultTableList.d.ts +405 -413
  574. package/lib/components/ResultTableList.js +1 -1
  575. package/lib/components/ResultTreeList.d.ts +165 -53
  576. package/lib/components/ResultTreeList.js +1 -1
  577. package/lib/components/RichText.d.ts +1 -0
  578. package/lib/components/RichText.js +1 -1
  579. package/lib/components/SearchBox.d.ts +325 -333
  580. package/lib/components/SearchBox.js +1 -1
  581. package/lib/components/Select.d.ts +4471 -4509
  582. package/lib/components/Select.js +7 -5
  583. package/lib/components/Selection.d.ts +328 -333
  584. package/lib/components/Selection.js +10 -3
  585. package/lib/components/SparkLine.d.ts +165 -173
  586. package/lib/components/SparkLine.js +1 -1
  587. package/lib/components/Spinner.d.ts +161 -123
  588. package/lib/components/Spinner.js +3 -3
  589. package/lib/components/Steps.d.ts +4 -6
  590. package/lib/components/Steps.js +4 -2
  591. package/lib/components/Switch.d.ts +41 -43
  592. package/lib/components/Switch.js +1 -1
  593. package/lib/components/TableSelection.d.ts +408 -416
  594. package/lib/components/TableSelection.js +1 -1
  595. package/lib/components/Tabs.d.ts +370 -60
  596. package/lib/components/Tabs.js +4 -2
  597. package/lib/components/TabsTransfer.d.ts +166 -173
  598. package/lib/components/TabsTransfer.js +3 -3
  599. package/lib/components/TabsTransferPicker.d.ts +5 -13
  600. package/lib/components/TabsTransferPicker.js +1 -1
  601. package/lib/components/Tag.d.ts +204 -17
  602. package/lib/components/Tag.js +20 -4
  603. package/lib/components/Textarea.d.ts +285 -293
  604. package/lib/components/Textarea.js +1 -1
  605. package/lib/components/Timeline.d.ts +2 -4
  606. package/lib/components/Timeline.js +1 -1
  607. package/lib/components/TimelineItem.d.ts +5 -13
  608. package/lib/components/TimelineItem.js +1 -1
  609. package/lib/components/Tinymce.js +1 -1
  610. package/lib/components/TitleBar.d.ts +71 -63
  611. package/lib/components/TitleBar.js +1 -1
  612. package/lib/components/Toast.d.ts +287 -53
  613. package/lib/components/Toast.js +5 -5
  614. package/lib/components/Tooltip.d.ts +3 -4
  615. package/lib/components/Tooltip.js +3 -3
  616. package/lib/components/TooltipWrapper.d.ts +73 -16
  617. package/lib/components/TooltipWrapper.js +3 -3
  618. package/lib/components/Transfer.d.ts +375 -135
  619. package/lib/components/Transfer.js +9 -13
  620. package/lib/components/TransferDropDown.d.ts +325 -53
  621. package/lib/components/TransferDropDown.js +1 -1
  622. package/lib/components/TransferPicker.d.ts +5 -13
  623. package/lib/components/TransferPicker.js +1 -1
  624. package/lib/components/TransferSearch.d.ts +5 -13
  625. package/lib/components/TransferSearch.js +1 -1
  626. package/lib/components/Tree.d.ts +1455 -1457
  627. package/lib/components/Tree.js +93 -32
  628. package/lib/components/TreeSelection.d.ts +365 -373
  629. package/lib/components/TreeSelection.js +1 -1
  630. package/lib/components/UserSelect.d.ts +205 -213
  631. package/lib/components/UserSelect.js +4 -1
  632. package/lib/components/UserTabSelect.d.ts +45 -53
  633. package/lib/components/UserTabSelect.js +4 -1
  634. package/lib/components/WithRemoteConfig.d.ts +8 -17
  635. package/lib/components/WithRemoteConfig.js +1 -1
  636. package/lib/components/WithStore.d.ts +4 -8
  637. package/lib/components/WithStore.js +1 -1
  638. package/lib/components/calendar/Calendar.d.ts +2 -0
  639. package/lib/components/calendar/Calendar.js +3 -1
  640. package/lib/components/calendar/CalendarContainer.js +1 -1
  641. package/lib/components/calendar/DaysView.d.ts +1 -3
  642. package/lib/components/calendar/DaysView.js +3 -3
  643. package/lib/components/calendar/MonthsView.d.ts +2 -4
  644. package/lib/components/calendar/MonthsView.js +7 -7
  645. package/lib/components/calendar/QuartersView.d.ts +1 -3
  646. package/lib/components/calendar/QuartersView.js +1 -1
  647. package/lib/components/calendar/TimeView.d.ts +1 -3
  648. package/lib/components/calendar/TimeView.js +1 -1
  649. package/lib/components/calendar/YearsView.d.ts +1 -3
  650. package/lib/components/calendar/YearsView.js +1 -1
  651. package/lib/components/condition-builder/Expression.d.ts +7 -14
  652. package/lib/components/condition-builder/Expression.js +1 -1
  653. package/lib/components/condition-builder/Field.d.ts +5 -13
  654. package/lib/components/condition-builder/Field.js +1 -1
  655. package/lib/components/condition-builder/Formula.d.ts +5 -13
  656. package/lib/components/condition-builder/Formula.js +1 -1
  657. package/lib/components/condition-builder/Func.d.ts +7 -14
  658. package/lib/components/condition-builder/Func.js +1 -1
  659. package/lib/components/condition-builder/Group.d.ts +7 -15
  660. package/lib/components/condition-builder/Group.js +1 -1
  661. package/lib/components/condition-builder/GroupOrItem.d.ts +4 -5
  662. package/lib/components/condition-builder/GroupOrItem.js +1 -1
  663. package/lib/components/condition-builder/InputSwitch.d.ts +2 -4
  664. package/lib/components/condition-builder/InputSwitch.js +1 -1
  665. package/lib/components/condition-builder/Item.d.ts +8 -15
  666. package/lib/components/condition-builder/Item.js +6 -6
  667. package/lib/components/condition-builder/Value.d.ts +7 -14
  668. package/lib/components/condition-builder/Value.js +3 -12
  669. package/lib/components/condition-builder/config.d.ts +2 -1
  670. package/lib/components/condition-builder/config.js +1 -1
  671. package/lib/components/condition-builder/index.d.ts +7 -14
  672. package/lib/components/condition-builder/index.js +1 -1
  673. package/lib/components/condition-builder/types.d.ts +2 -39
  674. package/lib/components/formula/Editor.d.ts +165 -53
  675. package/lib/components/formula/Editor.js +1 -1
  676. package/lib/components/formula/FuncList.d.ts +2 -4
  677. package/lib/components/formula/FuncList.js +1 -1
  678. package/lib/components/formula/Picker.d.ts +125 -133
  679. package/lib/components/formula/Picker.js +1 -1
  680. package/lib/components/formula/VariableList.d.ts +2 -4
  681. package/lib/components/formula/VariableList.js +3 -3
  682. package/lib/components/formula/plugin.js +1 -1
  683. package/lib/components/icons.d.ts +2 -2
  684. package/lib/components/icons.js +1 -1
  685. package/lib/components/index.d.ts +6 -1
  686. package/lib/components/json-schema/Array.d.ts +0 -1
  687. package/lib/components/json-schema/Array.js +1 -1
  688. package/lib/components/json-schema/Item.d.ts +0 -1
  689. package/lib/components/json-schema/Item.js +1 -1
  690. package/lib/components/json-schema/Object.d.ts +0 -1
  691. package/lib/components/json-schema/Object.js +1 -1
  692. package/lib/components/json-schema/index.d.ts +5 -13
  693. package/lib/components/json-schema/index.js +1 -1
  694. package/lib/components/menu/MenuContext.js +1 -1
  695. package/lib/components/menu/MenuItem.d.ts +3 -8
  696. package/lib/components/menu/MenuItem.js +12 -26
  697. package/lib/components/menu/SubMenu.d.ts +2 -7
  698. package/lib/components/menu/SubMenu.js +15 -29
  699. package/lib/components/menu/index.d.ts +146 -18
  700. package/lib/components/menu/index.js +17 -15
  701. package/lib/components/schema-editor/Array.d.ts +0 -1
  702. package/lib/components/schema-editor/Array.js +1 -1
  703. package/lib/components/schema-editor/Common.js +1 -1
  704. package/lib/components/schema-editor/Item.js +1 -1
  705. package/lib/components/schema-editor/Object.d.ts +0 -1
  706. package/lib/components/schema-editor/Object.js +1 -1
  707. package/lib/components/schema-editor/SchemaVariableList.d.ts +7 -15
  708. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  709. package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +7 -15
  710. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  711. package/lib/components/schema-editor/index.d.ts +525 -53
  712. package/lib/components/schema-editor/index.js +1 -1
  713. package/lib/components/table/Cell.d.ts +245 -253
  714. package/lib/components/table/Cell.js +1 -1
  715. package/lib/components/table/HeadCellDropDown.d.ts +6 -14
  716. package/lib/components/table/HeadCellDropDown.js +1 -1
  717. package/lib/components/table/HeadCellFilter.d.ts +166 -174
  718. package/lib/components/table/HeadCellFilter.js +8 -3
  719. package/lib/components/table/HeadCellSelect.d.ts +126 -134
  720. package/lib/components/table/HeadCellSelect.js +4 -2
  721. package/lib/components/table/HeadCellSort.d.ts +5 -13
  722. package/lib/components/table/HeadCellSort.js +5 -5
  723. package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
  724. package/lib/components/table/ItemActionsWrapper.js +1 -1
  725. package/lib/components/table/index.d.ts +368 -376
  726. package/lib/components/table/index.js +106 -71
  727. package/lib/components/virtual-list/AutoSizer.js +1 -1
  728. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  729. package/lib/components/virtual-list/constants.js +1 -1
  730. package/lib/components/virtual-list/index.js +1 -1
  731. package/lib/helper.css +9569 -1234
  732. package/lib/hooks/use-set-state.js +1 -1
  733. package/lib/hooks/use-sub-form.js +1 -1
  734. package/lib/hooks/use-touch.js +1 -1
  735. package/lib/hooks/use-update-effect.js +1 -1
  736. package/lib/hooks/use-validation-resolver.js +1 -1
  737. package/lib/icons/alert-danger.svg.js +1 -1
  738. package/lib/icons/alert-info.svg.js +1 -1
  739. package/lib/icons/alert-success.svg.js +1 -1
  740. package/lib/icons/alert-warning.svg.js +1 -1
  741. package/lib/icons/back.svg.js +1 -1
  742. package/lib/icons/calendar.svg.js +1 -1
  743. package/lib/icons/caret.svg.js +1 -1
  744. package/lib/icons/check.svg.js +1 -1
  745. package/lib/icons/clock.svg.js +1 -1
  746. package/lib/icons/close-small.svg.js +1 -1
  747. package/lib/icons/close.svg.js +1 -1
  748. package/lib/icons/cloud-upload.svg.js +1 -1
  749. package/lib/icons/column-filter.svg.js +1 -1
  750. package/lib/icons/columns.svg.js +1 -1
  751. package/lib/icons/compress-alt.svg.js +1 -1
  752. package/lib/icons/copy.svg.js +1 -1
  753. package/lib/icons/date.svg.js +1 -1
  754. package/lib/icons/department.svg.js +1 -1
  755. package/lib/icons/desk-empty.svg.js +1 -1
  756. package/lib/icons/dot.svg.js +1 -1
  757. package/lib/icons/down-arrow-bold.svg.js +1 -1
  758. package/lib/icons/down.svg.js +1 -1
  759. package/lib/icons/download.svg.js +1 -1
  760. package/lib/icons/drag-bar.svg.js +1 -1
  761. package/lib/icons/drag.svg.js +1 -1
  762. package/lib/icons/edit.svg.js +1 -1
  763. package/lib/icons/ellipsis-v.svg.js +1 -1
  764. package/lib/icons/enter.svg.js +1 -1
  765. package/lib/icons/exchange.svg.js +1 -1
  766. package/lib/icons/expand-alt.svg.js +1 -1
  767. package/lib/icons/fail.svg.js +1 -1
  768. package/lib/icons/file.svg.js +1 -1
  769. package/lib/icons/filter.svg.js +1 -1
  770. package/lib/icons/folder.svg.js +1 -1
  771. package/lib/icons/function.svg.js +1 -1
  772. package/lib/icons/home.svg.js +1 -1
  773. package/lib/icons/image.svg.js +1 -1
  774. package/lib/icons/info-circle.svg.js +1 -1
  775. package/lib/icons/info.svg.js +1 -1
  776. package/lib/icons/input-clear.svg.js +1 -1
  777. package/lib/icons/invisible.svg.js +1 -1
  778. package/lib/icons/left-arrow.svg.js +1 -1
  779. package/lib/icons/loading-outline.svg.js +1 -1
  780. package/lib/icons/location.svg.js +1 -1
  781. package/lib/icons/menu.svg.js +1 -1
  782. package/lib/icons/minus.svg.js +1 -1
  783. package/lib/icons/move.svg.js +1 -1
  784. package/lib/icons/mute.svg.js +1 -1
  785. package/lib/icons/new-edit.svg.js +1 -1
  786. package/lib/icons/pause.svg.js +1 -1
  787. package/lib/icons/pencil.svg.js +1 -1
  788. package/lib/icons/play.svg.js +1 -1
  789. package/lib/icons/plus-cicle.svg.js +1 -1
  790. package/lib/icons/plus-fine.svg.js +1 -1
  791. package/lib/icons/plus.svg.js +1 -1
  792. package/lib/icons/post.svg.js +1 -1
  793. package/lib/icons/question-mark.svg.js +1 -1
  794. package/lib/icons/question.svg.js +1 -1
  795. package/lib/icons/redo.svg.js +1 -1
  796. package/lib/icons/refresh.svg.js +1 -1
  797. package/lib/icons/reload.svg.js +1 -1
  798. package/lib/icons/remove.svg.js +1 -1
  799. package/lib/icons/retry.svg.js +1 -1
  800. package/lib/icons/right-arrow-bold.svg.js +1 -1
  801. package/lib/icons/right-arrow.svg.js +1 -1
  802. package/lib/icons/right-double-arrow.svg.js +1 -1
  803. package/lib/icons/role.svg.js +1 -1
  804. package/lib/icons/rotate-left.svg.js +1 -1
  805. package/lib/icons/rotate-right.svg.js +1 -1
  806. package/lib/icons/scale-origin.svg.js +1 -1
  807. package/lib/icons/schedule.svg.js +1 -1
  808. package/lib/icons/search.svg.js +1 -1
  809. package/lib/icons/setting.svg.js +1 -1
  810. package/lib/icons/slider-handle-icon.svg.js +1 -1
  811. package/lib/icons/sort-asc.svg.js +1 -1
  812. package/lib/icons/sort-default.svg.js +1 -1
  813. package/lib/icons/sort-desc.svg.js +1 -1
  814. package/lib/icons/star.svg.js +1 -1
  815. package/lib/icons/status-close.svg.js +2 -2
  816. package/lib/icons/steps-finsh.svg.js +1 -1
  817. package/lib/icons/success.svg.js +1 -1
  818. package/lib/icons/transparent.svg.js +1 -1
  819. package/lib/icons/trash.svg.js +1 -1
  820. package/lib/icons/tree-down.svg.js +1 -1
  821. package/lib/icons/undo.svg.js +1 -1
  822. package/lib/icons/upload.svg.js +1 -1
  823. package/lib/icons/user-remove.svg.js +1 -1
  824. package/lib/icons/view.svg.js +1 -1
  825. package/lib/icons/volume.svg.js +1 -1
  826. package/lib/icons/warning-mark.svg.js +1 -1
  827. package/lib/icons/warning.svg.js +1 -1
  828. package/lib/icons/window-restore.svg.js +1 -1
  829. package/lib/icons/zoom-in.svg.js +1 -1
  830. package/lib/icons/zoom-out.svg.js +1 -1
  831. package/lib/index.d.ts +3 -0
  832. package/lib/index.js +9 -1
  833. package/lib/locale/de-DE.js +5 -2
  834. package/lib/locale/en-US.js +6 -2
  835. package/lib/locale/zh-CN.js +7 -3
  836. package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
  837. package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
  838. package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
  839. package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
  840. package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
  841. package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
  842. package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
  843. package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
  844. package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
  845. package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
  846. package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
  847. package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
  848. package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
  849. package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
  850. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
  851. package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  852. package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
  853. package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
  854. package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
  855. package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
  856. package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
  857. package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
  858. package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
  859. package/lib/node_modules/rc-overflow/es/Item.js +21 -31
  860. package/lib/node_modules/rc-overflow/es/Overflow.js +82 -125
  861. package/lib/node_modules/rc-overflow/es/RawItem.js +10 -16
  862. package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +24 -0
  863. package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +78 -0
  864. package/lib/node_modules/rc-overflow/es/index.js +1 -1
  865. package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
  866. package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
  867. package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
  868. package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
  869. package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
  870. package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
  871. package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
  872. package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +9 -2
  873. package/lib/node_modules/rc-util/es/hooks/useEvent.js +45 -0
  874. package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
  875. package/lib/node_modules/rc-util/es/raf.js +1 -1
  876. package/lib/node_modules/rc-util/es/ref.js +1 -1
  877. package/lib/node_modules/rc-util/es/warning.js +8 -2
  878. package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
  879. package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  880. package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
  881. package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  882. package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
  883. package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
  884. package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
  885. package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
  886. package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
  887. package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
  888. package/lib/themes/ang.css +3300 -2129
  889. package/lib/themes/ang.js +1 -1
  890. package/lib/themes/antd.css +3300 -2129
  891. package/lib/themes/antd.js +1 -1
  892. package/lib/themes/cxd.css +3300 -2129
  893. package/lib/themes/cxd.js +1 -1
  894. package/lib/themes/dark.css +3300 -2129
  895. package/lib/themes/dark.js +1 -1
  896. package/lib/themes/default.css +3300 -2129
  897. package/package.json +7 -7
  898. package/scss/_components.scss +1339 -158
  899. package/scss/_mixins.scss +1 -2
  900. package/scss/_properties.scss +5 -374
  901. package/scss/_variables.scss +1 -0
  902. package/scss/base/_common.scss +4 -0
  903. package/scss/components/_alert.scss +30 -9
  904. package/scss/components/_badge.scss +10 -3
  905. package/scss/components/_button-group.scss +35 -14
  906. package/scss/components/_calendar.scss +17 -1
  907. package/scss/components/_carousel.scss +9 -0
  908. package/scss/components/_collapse.scss +1 -1
  909. package/scss/components/_column-toggler.scss +5 -2
  910. package/scss/components/_condition-builder.scss +38 -22
  911. package/scss/components/_crud.scss +21 -5
  912. package/scss/components/_crud2.scss +21 -5
  913. package/scss/components/_drawer.scss +20 -12
  914. package/scss/components/_dropdown.scss +5 -0
  915. package/scss/components/_image-gallery.scss +9 -6
  916. package/scss/components/_images.scss +13 -5
  917. package/scss/components/_link.scss +2 -0
  918. package/scss/components/_menu.scss +245 -693
  919. package/scss/components/_modal.scss +23 -13
  920. package/scss/components/_nav.scss +6 -354
  921. package/scss/components/_progress.scss +11 -2
  922. package/scss/components/_result-box.scss +1 -0
  923. package/scss/components/_spinner.scss +9 -7
  924. package/scss/components/_status.scss +27 -11
  925. package/scss/components/_steps.scss +80 -36
  926. package/scss/components/_table2.scss +84 -40
  927. package/scss/components/_tag.scss +42 -36
  928. package/scss/components/_timeline.scss +20 -9
  929. package/scss/components/_toast.scss +64 -12
  930. package/scss/components/_wizard.scss +13 -7
  931. package/scss/components/form/_checks.scss +17 -3
  932. package/scss/components/form/_color.scss +5 -0
  933. package/scss/components/form/_combo.scss +28 -18
  934. package/scss/components/form/_date-range.scss +6 -0
  935. package/scss/components/form/_date.scss +9 -1
  936. package/scss/components/form/_fieldset.scss +62 -28
  937. package/scss/components/form/_form.scss +16 -0
  938. package/scss/components/form/_icon-picker.scss +2 -1
  939. package/scss/components/form/_icon-select.scss +18 -0
  940. package/scss/components/form/_image.scss +43 -7
  941. package/scss/components/form/_location.scss +6 -1
  942. package/scss/components/form/_number.scss +65 -10
  943. package/scss/components/form/_picker.scss +111 -12
  944. package/scss/components/form/_range.scss +6 -0
  945. package/scss/components/form/_rich-text.scss +81 -35
  946. package/scss/components/form/_select.scss +3 -5
  947. package/scss/components/form/_selection.scss +9 -0
  948. package/scss/components/form/_tag.scss +56 -6
  949. package/scss/components/form/_text.scss +8 -1
  950. package/scss/components/form/_transfer.scss +18 -26
  951. package/scss/components/form/_tree.scss +55 -23
  952. package/esm/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +0 -51
  953. package/esm/node_modules/rc-util/es/hooks/useState.js +0 -35
  954. package/lib/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +0 -55
  955. package/lib/node_modules/rc-util/es/hooks/useState.js +0 -59
@@ -72,14 +72,16 @@ export declare class Editor extends React.Component<EditorProps, EditorState> {
72
72
  render(): JSX.Element;
73
73
  }
74
74
  declare const _default: {
75
- new (props: Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
76
- language: string;
77
- editorTheme: string;
78
- width: string;
79
- height: string;
80
- allowFullscreen: boolean;
81
- options: {};
82
- }, never>> & {
75
+ new (props: Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
76
+ width?: string | number | undefined;
77
+ height?: string | number | undefined;
78
+ options?: {
79
+ [propName: string]: any;
80
+ } | undefined;
81
+ language?: string | undefined;
82
+ editorTheme?: string | undefined;
83
+ allowFullscreen?: boolean | undefined;
84
+ } & {} & {
83
85
  locale?: string | undefined;
84
86
  translate?: ((str: string, ...args: any[]) => string) | undefined;
85
87
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
@@ -87,115 +89,131 @@ declare const _default: {
87
89
  childRef(ref: any): void;
88
90
  getWrappedInstance(): any;
89
91
  render(): JSX.Element;
90
- context: any;
91
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
92
- language: string;
93
- editorTheme: string;
94
- width: string;
95
- height: string;
96
- allowFullscreen: boolean;
97
- options: {};
98
- }, never>> & {
92
+ context: unknown;
93
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
94
+ width?: string | number | undefined;
95
+ height?: string | number | undefined;
96
+ options?: {
97
+ [propName: string]: any;
98
+ } | undefined;
99
+ language?: string | undefined;
100
+ editorTheme?: string | undefined;
101
+ allowFullscreen?: boolean | undefined;
102
+ } & {} & {
99
103
  locale?: string | undefined;
100
104
  translate?: ((str: string, ...args: any[]) => string) | undefined;
101
105
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
102
106
  forceUpdate(callback?: (() => void) | undefined): void;
103
- readonly props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
104
- language: string;
105
- editorTheme: string;
106
- width: string;
107
- height: string;
108
- allowFullscreen: boolean;
109
- options: {};
110
- }, never>> & {
107
+ readonly props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
108
+ width?: string | number | undefined;
109
+ height?: string | number | undefined;
110
+ options?: {
111
+ [propName: string]: any;
112
+ } | undefined;
113
+ language?: string | undefined;
114
+ editorTheme?: string | undefined;
115
+ allowFullscreen?: boolean | undefined;
116
+ } & {} & {
111
117
  locale?: string | undefined;
112
118
  translate?: ((str: string, ...args: any[]) => string) | undefined;
113
- }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps> & Readonly<{
114
- children?: React.ReactNode;
115
- }>;
119
+ }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>;
116
120
  state: Readonly<{}>;
117
121
  refs: {
118
122
  [key: string]: React.ReactInstance;
119
123
  };
120
124
  componentDidMount?(): void;
121
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
122
- language: string;
123
- editorTheme: string;
124
- width: string;
125
- height: string;
126
- allowFullscreen: boolean;
127
- options: {};
128
- }, never>> & {
125
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
126
+ width?: string | number | undefined;
127
+ height?: string | number | undefined;
128
+ options?: {
129
+ [propName: string]: any;
130
+ } | undefined;
131
+ language?: string | undefined;
132
+ editorTheme?: string | undefined;
133
+ allowFullscreen?: boolean | undefined;
134
+ } & {} & {
129
135
  locale?: string | undefined;
130
136
  translate?: ((str: string, ...args: any[]) => string) | undefined;
131
137
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
132
138
  componentWillUnmount?(): void;
133
139
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
134
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
135
- language: string;
136
- editorTheme: string;
137
- width: string;
138
- height: string;
139
- allowFullscreen: boolean;
140
- options: {};
141
- }, never>> & {
140
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
141
+ width?: string | number | undefined;
142
+ height?: string | number | undefined;
143
+ options?: {
144
+ [propName: string]: any;
145
+ } | undefined;
146
+ language?: string | undefined;
147
+ editorTheme?: string | undefined;
148
+ allowFullscreen?: boolean | undefined;
149
+ } & {} & {
142
150
  locale?: string | undefined;
143
151
  translate?: ((str: string, ...args: any[]) => string) | undefined;
144
152
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
145
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
146
- language: string;
147
- editorTheme: string;
148
- width: string;
149
- height: string;
150
- allowFullscreen: boolean;
151
- options: {};
152
- }, never>> & {
153
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
154
+ width?: string | number | undefined;
155
+ height?: string | number | undefined;
156
+ options?: {
157
+ [propName: string]: any;
158
+ } | undefined;
159
+ language?: string | undefined;
160
+ editorTheme?: string | undefined;
161
+ allowFullscreen?: boolean | undefined;
162
+ } & {} & {
153
163
  locale?: string | undefined;
154
164
  translate?: ((str: string, ...args: any[]) => string) | undefined;
155
165
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
156
166
  componentWillMount?(): void;
157
167
  UNSAFE_componentWillMount?(): void;
158
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
159
- language: string;
160
- editorTheme: string;
161
- width: string;
162
- height: string;
163
- allowFullscreen: boolean;
164
- options: {};
165
- }, never>> & {
168
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
169
+ width?: string | number | undefined;
170
+ height?: string | number | undefined;
171
+ options?: {
172
+ [propName: string]: any;
173
+ } | undefined;
174
+ language?: string | undefined;
175
+ editorTheme?: string | undefined;
176
+ allowFullscreen?: boolean | undefined;
177
+ } & {} & {
166
178
  locale?: string | undefined;
167
179
  translate?: ((str: string, ...args: any[]) => string) | undefined;
168
180
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
169
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
170
- language: string;
171
- editorTheme: string;
172
- width: string;
173
- height: string;
174
- allowFullscreen: boolean;
175
- options: {};
176
- }, never>> & {
181
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
182
+ width?: string | number | undefined;
183
+ height?: string | number | undefined;
184
+ options?: {
185
+ [propName: string]: any;
186
+ } | undefined;
187
+ language?: string | undefined;
188
+ editorTheme?: string | undefined;
189
+ allowFullscreen?: boolean | undefined;
190
+ } & {} & {
177
191
  locale?: string | undefined;
178
192
  translate?: ((str: string, ...args: any[]) => string) | undefined;
179
193
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
180
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
181
- language: string;
182
- editorTheme: string;
183
- width: string;
184
- height: string;
185
- allowFullscreen: boolean;
186
- options: {};
187
- }, never>> & {
194
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
195
+ width?: string | number | undefined;
196
+ height?: string | number | undefined;
197
+ options?: {
198
+ [propName: string]: any;
199
+ } | undefined;
200
+ language?: string | undefined;
201
+ editorTheme?: string | undefined;
202
+ allowFullscreen?: boolean | undefined;
203
+ } & {} & {
188
204
  locale?: string | undefined;
189
205
  translate?: ((str: string, ...args: any[]) => string) | undefined;
190
206
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
191
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
192
- language: string;
193
- editorTheme: string;
194
- width: string;
195
- height: string;
196
- allowFullscreen: boolean;
197
- options: {};
198
- }, never>> & {
207
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
208
+ width?: string | number | undefined;
209
+ height?: string | number | undefined;
210
+ options?: {
211
+ [propName: string]: any;
212
+ } | undefined;
213
+ language?: string | undefined;
214
+ editorTheme?: string | undefined;
215
+ allowFullscreen?: boolean | undefined;
216
+ } & {} & {
199
217
  locale?: string | undefined;
200
218
  translate?: ((str: string, ...args: any[]) => string) | undefined;
201
219
  }, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -203,14 +221,16 @@ declare const _default: {
203
221
  displayName: string;
204
222
  contextType: React.Context<string>;
205
223
  ComposedComponent: React.ComponentType<{
206
- new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
207
- language: string;
208
- editorTheme: string;
209
- width: string;
210
- height: string;
211
- allowFullscreen: boolean;
212
- options: {};
213
- }, never>> & {
224
+ new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
225
+ width?: string | number | undefined;
226
+ height?: string | number | undefined;
227
+ options?: {
228
+ [propName: string]: any;
229
+ } | undefined;
230
+ language?: string | undefined;
231
+ editorTheme?: string | undefined;
232
+ allowFullscreen?: boolean | undefined;
233
+ } & {} & {
214
234
  locale?: string | undefined;
215
235
  translate?: ((str: string, ...args: any[]) => string) | undefined;
216
236
  }): {
@@ -218,115 +238,131 @@ declare const _default: {
218
238
  childRef(ref: any): void;
219
239
  getWrappedInstance(): any;
220
240
  render(): JSX.Element;
221
- context: any;
222
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
223
- language: string;
224
- editorTheme: string;
225
- width: string;
226
- height: string;
227
- allowFullscreen: boolean;
228
- options: {};
229
- }, never>> & {
241
+ context: unknown;
242
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
243
+ width?: string | number | undefined;
244
+ height?: string | number | undefined;
245
+ options?: {
246
+ [propName: string]: any;
247
+ } | undefined;
248
+ language?: string | undefined;
249
+ editorTheme?: string | undefined;
250
+ allowFullscreen?: boolean | undefined;
251
+ } & {} & {
230
252
  locale?: string | undefined;
231
253
  translate?: ((str: string, ...args: any[]) => string) | undefined;
232
254
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
233
255
  forceUpdate(callback?: (() => void) | undefined): void;
234
- readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
235
- language: string;
236
- editorTheme: string;
237
- width: string;
238
- height: string;
239
- allowFullscreen: boolean;
240
- options: {};
241
- }, never>> & {
256
+ readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
257
+ width?: string | number | undefined;
258
+ height?: string | number | undefined;
259
+ options?: {
260
+ [propName: string]: any;
261
+ } | undefined;
262
+ language?: string | undefined;
263
+ editorTheme?: string | undefined;
264
+ allowFullscreen?: boolean | undefined;
265
+ } & {} & {
242
266
  locale?: string | undefined;
243
267
  translate?: ((str: string, ...args: any[]) => string) | undefined;
244
- }> & Readonly<{
245
- children?: React.ReactNode;
246
268
  }>;
247
269
  state: Readonly<{}>;
248
270
  refs: {
249
271
  [key: string]: React.ReactInstance;
250
272
  };
251
273
  componentDidMount?(): void;
252
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
253
- language: string;
254
- editorTheme: string;
255
- width: string;
256
- height: string;
257
- allowFullscreen: boolean;
258
- options: {};
259
- }, never>> & {
274
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
275
+ width?: string | number | undefined;
276
+ height?: string | number | undefined;
277
+ options?: {
278
+ [propName: string]: any;
279
+ } | undefined;
280
+ language?: string | undefined;
281
+ editorTheme?: string | undefined;
282
+ allowFullscreen?: boolean | undefined;
283
+ } & {} & {
260
284
  locale?: string | undefined;
261
285
  translate?: ((str: string, ...args: any[]) => string) | undefined;
262
286
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
263
287
  componentWillUnmount?(): void;
264
288
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
265
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
266
- language: string;
267
- editorTheme: string;
268
- width: string;
269
- height: string;
270
- allowFullscreen: boolean;
271
- options: {};
272
- }, never>> & {
289
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
290
+ width?: string | number | undefined;
291
+ height?: string | number | undefined;
292
+ options?: {
293
+ [propName: string]: any;
294
+ } | undefined;
295
+ language?: string | undefined;
296
+ editorTheme?: string | undefined;
297
+ allowFullscreen?: boolean | undefined;
298
+ } & {} & {
273
299
  locale?: string | undefined;
274
300
  translate?: ((str: string, ...args: any[]) => string) | undefined;
275
301
  }>, prevState: Readonly<{}>): any;
276
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
277
- language: string;
278
- editorTheme: string;
279
- width: string;
280
- height: string;
281
- allowFullscreen: boolean;
282
- options: {};
283
- }, never>> & {
302
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
303
+ width?: string | number | undefined;
304
+ height?: string | number | undefined;
305
+ options?: {
306
+ [propName: string]: any;
307
+ } | undefined;
308
+ language?: string | undefined;
309
+ editorTheme?: string | undefined;
310
+ allowFullscreen?: boolean | undefined;
311
+ } & {} & {
284
312
  locale?: string | undefined;
285
313
  translate?: ((str: string, ...args: any[]) => string) | undefined;
286
314
  }>, prevState: Readonly<{}>, snapshot?: any): void;
287
315
  componentWillMount?(): void;
288
316
  UNSAFE_componentWillMount?(): void;
289
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
290
- language: string;
291
- editorTheme: string;
292
- width: string;
293
- height: string;
294
- allowFullscreen: boolean;
295
- options: {};
296
- }, never>> & {
317
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
318
+ width?: string | number | undefined;
319
+ height?: string | number | undefined;
320
+ options?: {
321
+ [propName: string]: any;
322
+ } | undefined;
323
+ language?: string | undefined;
324
+ editorTheme?: string | undefined;
325
+ allowFullscreen?: boolean | undefined;
326
+ } & {} & {
297
327
  locale?: string | undefined;
298
328
  translate?: ((str: string, ...args: any[]) => string) | undefined;
299
329
  }>, nextContext: any): void;
300
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
301
- language: string;
302
- editorTheme: string;
303
- width: string;
304
- height: string;
305
- allowFullscreen: boolean;
306
- options: {};
307
- }, never>> & {
330
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
331
+ width?: string | number | undefined;
332
+ height?: string | number | undefined;
333
+ options?: {
334
+ [propName: string]: any;
335
+ } | undefined;
336
+ language?: string | undefined;
337
+ editorTheme?: string | undefined;
338
+ allowFullscreen?: boolean | undefined;
339
+ } & {} & {
308
340
  locale?: string | undefined;
309
341
  translate?: ((str: string, ...args: any[]) => string) | undefined;
310
342
  }>, nextContext: any): void;
311
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
312
- language: string;
313
- editorTheme: string;
314
- width: string;
315
- height: string;
316
- allowFullscreen: boolean;
317
- options: {};
318
- }, never>> & {
343
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
344
+ width?: string | number | undefined;
345
+ height?: string | number | undefined;
346
+ options?: {
347
+ [propName: string]: any;
348
+ } | undefined;
349
+ language?: string | undefined;
350
+ editorTheme?: string | undefined;
351
+ allowFullscreen?: boolean | undefined;
352
+ } & {} & {
319
353
  locale?: string | undefined;
320
354
  translate?: ((str: string, ...args: any[]) => string) | undefined;
321
355
  }>, nextState: Readonly<{}>, nextContext: any): void;
322
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
323
- language: string;
324
- editorTheme: string;
325
- width: string;
326
- height: string;
327
- allowFullscreen: boolean;
328
- options: {};
329
- }, never>> & {
356
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
357
+ width?: string | number | undefined;
358
+ height?: string | number | undefined;
359
+ options?: {
360
+ [propName: string]: any;
361
+ } | undefined;
362
+ language?: string | undefined;
363
+ editorTheme?: string | undefined;
364
+ allowFullscreen?: boolean | undefined;
365
+ } & {} & {
330
366
  locale?: string | undefined;
331
367
  translate?: ((str: string, ...args: any[]) => string) | undefined;
332
368
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -338,14 +374,16 @@ declare const _default: {
338
374
  ComposedComponent: typeof Editor;
339
375
  }>;
340
376
  } & import("hoist-non-react-statics").NonReactStatics<{
341
- new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
342
- language: string;
343
- editorTheme: string;
344
- width: string;
345
- height: string;
346
- allowFullscreen: boolean;
347
- options: {};
348
- }, never>> & {
377
+ new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
378
+ width?: string | number | undefined;
379
+ height?: string | number | undefined;
380
+ options?: {
381
+ [propName: string]: any;
382
+ } | undefined;
383
+ language?: string | undefined;
384
+ editorTheme?: string | undefined;
385
+ allowFullscreen?: boolean | undefined;
386
+ } & {} & {
349
387
  locale?: string | undefined;
350
388
  translate?: ((str: string, ...args: any[]) => string) | undefined;
351
389
  }): {
@@ -353,115 +391,131 @@ declare const _default: {
353
391
  childRef(ref: any): void;
354
392
  getWrappedInstance(): any;
355
393
  render(): JSX.Element;
356
- context: any;
357
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
358
- language: string;
359
- editorTheme: string;
360
- width: string;
361
- height: string;
362
- allowFullscreen: boolean;
363
- options: {};
364
- }, never>> & {
394
+ context: unknown;
395
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
396
+ width?: string | number | undefined;
397
+ height?: string | number | undefined;
398
+ options?: {
399
+ [propName: string]: any;
400
+ } | undefined;
401
+ language?: string | undefined;
402
+ editorTheme?: string | undefined;
403
+ allowFullscreen?: boolean | undefined;
404
+ } & {} & {
365
405
  locale?: string | undefined;
366
406
  translate?: ((str: string, ...args: any[]) => string) | undefined;
367
407
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
368
408
  forceUpdate(callback?: (() => void) | undefined): void;
369
- readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
370
- language: string;
371
- editorTheme: string;
372
- width: string;
373
- height: string;
374
- allowFullscreen: boolean;
375
- options: {};
376
- }, never>> & {
409
+ readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
410
+ width?: string | number | undefined;
411
+ height?: string | number | undefined;
412
+ options?: {
413
+ [propName: string]: any;
414
+ } | undefined;
415
+ language?: string | undefined;
416
+ editorTheme?: string | undefined;
417
+ allowFullscreen?: boolean | undefined;
418
+ } & {} & {
377
419
  locale?: string | undefined;
378
420
  translate?: ((str: string, ...args: any[]) => string) | undefined;
379
- }> & Readonly<{
380
- children?: React.ReactNode;
381
421
  }>;
382
422
  state: Readonly<{}>;
383
423
  refs: {
384
424
  [key: string]: React.ReactInstance;
385
425
  };
386
426
  componentDidMount?(): void;
387
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
388
- language: string;
389
- editorTheme: string;
390
- width: string;
391
- height: string;
392
- allowFullscreen: boolean;
393
- options: {};
394
- }, never>> & {
427
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
428
+ width?: string | number | undefined;
429
+ height?: string | number | undefined;
430
+ options?: {
431
+ [propName: string]: any;
432
+ } | undefined;
433
+ language?: string | undefined;
434
+ editorTheme?: string | undefined;
435
+ allowFullscreen?: boolean | undefined;
436
+ } & {} & {
395
437
  locale?: string | undefined;
396
438
  translate?: ((str: string, ...args: any[]) => string) | undefined;
397
439
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
398
440
  componentWillUnmount?(): void;
399
441
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
400
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
401
- language: string;
402
- editorTheme: string;
403
- width: string;
404
- height: string;
405
- allowFullscreen: boolean;
406
- options: {};
407
- }, never>> & {
442
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
443
+ width?: string | number | undefined;
444
+ height?: string | number | undefined;
445
+ options?: {
446
+ [propName: string]: any;
447
+ } | undefined;
448
+ language?: string | undefined;
449
+ editorTheme?: string | undefined;
450
+ allowFullscreen?: boolean | undefined;
451
+ } & {} & {
408
452
  locale?: string | undefined;
409
453
  translate?: ((str: string, ...args: any[]) => string) | undefined;
410
454
  }>, prevState: Readonly<{}>): any;
411
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
412
- language: string;
413
- editorTheme: string;
414
- width: string;
415
- height: string;
416
- allowFullscreen: boolean;
417
- options: {};
418
- }, never>> & {
455
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
456
+ width?: string | number | undefined;
457
+ height?: string | number | undefined;
458
+ options?: {
459
+ [propName: string]: any;
460
+ } | undefined;
461
+ language?: string | undefined;
462
+ editorTheme?: string | undefined;
463
+ allowFullscreen?: boolean | undefined;
464
+ } & {} & {
419
465
  locale?: string | undefined;
420
466
  translate?: ((str: string, ...args: any[]) => string) | undefined;
421
467
  }>, prevState: Readonly<{}>, snapshot?: any): void;
422
468
  componentWillMount?(): void;
423
469
  UNSAFE_componentWillMount?(): void;
424
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
425
- language: string;
426
- editorTheme: string;
427
- width: string;
428
- height: string;
429
- allowFullscreen: boolean;
430
- options: {};
431
- }, never>> & {
470
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
471
+ width?: string | number | undefined;
472
+ height?: string | number | undefined;
473
+ options?: {
474
+ [propName: string]: any;
475
+ } | undefined;
476
+ language?: string | undefined;
477
+ editorTheme?: string | undefined;
478
+ allowFullscreen?: boolean | undefined;
479
+ } & {} & {
432
480
  locale?: string | undefined;
433
481
  translate?: ((str: string, ...args: any[]) => string) | undefined;
434
482
  }>, nextContext: any): void;
435
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
436
- language: string;
437
- editorTheme: string;
438
- width: string;
439
- height: string;
440
- allowFullscreen: boolean;
441
- options: {};
442
- }, never>> & {
483
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
484
+ width?: string | number | undefined;
485
+ height?: string | number | undefined;
486
+ options?: {
487
+ [propName: string]: any;
488
+ } | undefined;
489
+ language?: string | undefined;
490
+ editorTheme?: string | undefined;
491
+ allowFullscreen?: boolean | undefined;
492
+ } & {} & {
443
493
  locale?: string | undefined;
444
494
  translate?: ((str: string, ...args: any[]) => string) | undefined;
445
495
  }>, nextContext: any): void;
446
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
447
- language: string;
448
- editorTheme: string;
449
- width: string;
450
- height: string;
451
- allowFullscreen: boolean;
452
- options: {};
453
- }, never>> & {
496
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
497
+ width?: string | number | undefined;
498
+ height?: string | number | undefined;
499
+ options?: {
500
+ [propName: string]: any;
501
+ } | undefined;
502
+ language?: string | undefined;
503
+ editorTheme?: string | undefined;
504
+ allowFullscreen?: boolean | undefined;
505
+ } & {} & {
454
506
  locale?: string | undefined;
455
507
  translate?: ((str: string, ...args: any[]) => string) | undefined;
456
508
  }>, nextState: Readonly<{}>, nextContext: any): void;
457
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
458
- language: string;
459
- editorTheme: string;
460
- width: string;
461
- height: string;
462
- allowFullscreen: boolean;
463
- options: {};
464
- }, never>> & {
509
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
510
+ width?: string | number | undefined;
511
+ height?: string | number | undefined;
512
+ options?: {
513
+ [propName: string]: any;
514
+ } | undefined;
515
+ language?: string | undefined;
516
+ editorTheme?: string | undefined;
517
+ allowFullscreen?: boolean | undefined;
518
+ } & {} & {
465
519
  locale?: string | undefined;
466
520
  translate?: ((str: string, ...args: any[]) => string) | undefined;
467
521
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -473,14 +527,16 @@ declare const _default: {
473
527
  ComposedComponent: typeof Editor;
474
528
  }, {}> & {
475
529
  ComposedComponent: {
476
- new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
477
- language: string;
478
- editorTheme: string;
479
- width: string;
480
- height: string;
481
- allowFullscreen: boolean;
482
- options: {};
483
- }, never>> & {
530
+ new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
531
+ width?: string | number | undefined;
532
+ height?: string | number | undefined;
533
+ options?: {
534
+ [propName: string]: any;
535
+ } | undefined;
536
+ language?: string | undefined;
537
+ editorTheme?: string | undefined;
538
+ allowFullscreen?: boolean | undefined;
539
+ } & {} & {
484
540
  locale?: string | undefined;
485
541
  translate?: ((str: string, ...args: any[]) => string) | undefined;
486
542
  }): {
@@ -488,115 +544,131 @@ declare const _default: {
488
544
  childRef(ref: any): void;
489
545
  getWrappedInstance(): any;
490
546
  render(): JSX.Element;
491
- context: any;
492
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
493
- language: string;
494
- editorTheme: string;
495
- width: string;
496
- height: string;
497
- allowFullscreen: boolean;
498
- options: {};
499
- }, never>> & {
547
+ context: unknown;
548
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
549
+ width?: string | number | undefined;
550
+ height?: string | number | undefined;
551
+ options?: {
552
+ [propName: string]: any;
553
+ } | undefined;
554
+ language?: string | undefined;
555
+ editorTheme?: string | undefined;
556
+ allowFullscreen?: boolean | undefined;
557
+ } & {} & {
500
558
  locale?: string | undefined;
501
559
  translate?: ((str: string, ...args: any[]) => string) | undefined;
502
560
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
503
561
  forceUpdate(callback?: (() => void) | undefined): void;
504
- readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
505
- language: string;
506
- editorTheme: string;
507
- width: string;
508
- height: string;
509
- allowFullscreen: boolean;
510
- options: {};
511
- }, never>> & {
562
+ readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
563
+ width?: string | number | undefined;
564
+ height?: string | number | undefined;
565
+ options?: {
566
+ [propName: string]: any;
567
+ } | undefined;
568
+ language?: string | undefined;
569
+ editorTheme?: string | undefined;
570
+ allowFullscreen?: boolean | undefined;
571
+ } & {} & {
512
572
  locale?: string | undefined;
513
573
  translate?: ((str: string, ...args: any[]) => string) | undefined;
514
- }> & Readonly<{
515
- children?: React.ReactNode;
516
574
  }>;
517
575
  state: Readonly<{}>;
518
576
  refs: {
519
577
  [key: string]: React.ReactInstance;
520
578
  };
521
579
  componentDidMount?(): void;
522
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
523
- language: string;
524
- editorTheme: string;
525
- width: string;
526
- height: string;
527
- allowFullscreen: boolean;
528
- options: {};
529
- }, never>> & {
580
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
581
+ width?: string | number | undefined;
582
+ height?: string | number | undefined;
583
+ options?: {
584
+ [propName: string]: any;
585
+ } | undefined;
586
+ language?: string | undefined;
587
+ editorTheme?: string | undefined;
588
+ allowFullscreen?: boolean | undefined;
589
+ } & {} & {
530
590
  locale?: string | undefined;
531
591
  translate?: ((str: string, ...args: any[]) => string) | undefined;
532
592
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
533
593
  componentWillUnmount?(): void;
534
594
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
535
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
536
- language: string;
537
- editorTheme: string;
538
- width: string;
539
- height: string;
540
- allowFullscreen: boolean;
541
- options: {};
542
- }, never>> & {
595
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
596
+ width?: string | number | undefined;
597
+ height?: string | number | undefined;
598
+ options?: {
599
+ [propName: string]: any;
600
+ } | undefined;
601
+ language?: string | undefined;
602
+ editorTheme?: string | undefined;
603
+ allowFullscreen?: boolean | undefined;
604
+ } & {} & {
543
605
  locale?: string | undefined;
544
606
  translate?: ((str: string, ...args: any[]) => string) | undefined;
545
607
  }>, prevState: Readonly<{}>): any;
546
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
547
- language: string;
548
- editorTheme: string;
549
- width: string;
550
- height: string;
551
- allowFullscreen: boolean;
552
- options: {};
553
- }, never>> & {
608
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
609
+ width?: string | number | undefined;
610
+ height?: string | number | undefined;
611
+ options?: {
612
+ [propName: string]: any;
613
+ } | undefined;
614
+ language?: string | undefined;
615
+ editorTheme?: string | undefined;
616
+ allowFullscreen?: boolean | undefined;
617
+ } & {} & {
554
618
  locale?: string | undefined;
555
619
  translate?: ((str: string, ...args: any[]) => string) | undefined;
556
620
  }>, prevState: Readonly<{}>, snapshot?: any): void;
557
621
  componentWillMount?(): void;
558
622
  UNSAFE_componentWillMount?(): void;
559
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
560
- language: string;
561
- editorTheme: string;
562
- width: string;
563
- height: string;
564
- allowFullscreen: boolean;
565
- options: {};
566
- }, never>> & {
623
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
624
+ width?: string | number | undefined;
625
+ height?: string | number | undefined;
626
+ options?: {
627
+ [propName: string]: any;
628
+ } | undefined;
629
+ language?: string | undefined;
630
+ editorTheme?: string | undefined;
631
+ allowFullscreen?: boolean | undefined;
632
+ } & {} & {
567
633
  locale?: string | undefined;
568
634
  translate?: ((str: string, ...args: any[]) => string) | undefined;
569
635
  }>, nextContext: any): void;
570
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
571
- language: string;
572
- editorTheme: string;
573
- width: string;
574
- height: string;
575
- allowFullscreen: boolean;
576
- options: {};
577
- }, never>> & {
636
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
637
+ width?: string | number | undefined;
638
+ height?: string | number | undefined;
639
+ options?: {
640
+ [propName: string]: any;
641
+ } | undefined;
642
+ language?: string | undefined;
643
+ editorTheme?: string | undefined;
644
+ allowFullscreen?: boolean | undefined;
645
+ } & {} & {
578
646
  locale?: string | undefined;
579
647
  translate?: ((str: string, ...args: any[]) => string) | undefined;
580
648
  }>, nextContext: any): void;
581
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
582
- language: string;
583
- editorTheme: string;
584
- width: string;
585
- height: string;
586
- allowFullscreen: boolean;
587
- options: {};
588
- }, never>> & {
649
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
650
+ width?: string | number | undefined;
651
+ height?: string | number | undefined;
652
+ options?: {
653
+ [propName: string]: any;
654
+ } | undefined;
655
+ language?: string | undefined;
656
+ editorTheme?: string | undefined;
657
+ allowFullscreen?: boolean | undefined;
658
+ } & {} & {
589
659
  locale?: string | undefined;
590
660
  translate?: ((str: string, ...args: any[]) => string) | undefined;
591
661
  }>, nextState: Readonly<{}>, nextContext: any): void;
592
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & Partial<Pick<Omit<EditorProps, keyof LocaleProps>, "width" | "height" | "options" | "language" | "editorTheme" | "allowFullscreen">> & Partial<Pick<{
593
- language: string;
594
- editorTheme: string;
595
- width: string;
596
- height: string;
597
- allowFullscreen: boolean;
598
- options: {};
599
- }, never>> & {
662
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
663
+ width?: string | number | undefined;
664
+ height?: string | number | undefined;
665
+ options?: {
666
+ [propName: string]: any;
667
+ } | undefined;
668
+ language?: string | undefined;
669
+ editorTheme?: string | undefined;
670
+ allowFullscreen?: boolean | undefined;
671
+ } & {} & {
600
672
  locale?: string | undefined;
601
673
  translate?: ((str: string, ...args: any[]) => string) | undefined;
602
674
  }>, nextState: Readonly<{}>, nextContext: any): void;