amis-ui 6.13.0-beta.21 → 6.13.0-beta.23

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 (704) hide show
  1. package/esm/components/404.js +1 -1
  2. package/esm/components/Alert.js +1 -1
  3. package/esm/components/Alert2.js +1 -1
  4. package/esm/components/AlphabetIndexer.js +1 -1
  5. package/esm/components/AnchorNav.js +1 -1
  6. package/esm/components/AnchorNavSection.js +1 -1
  7. package/esm/components/ArrayInput.js +1 -1
  8. package/esm/components/AsideNav.js +1 -1
  9. package/esm/components/AssociatedSelection.js +1 -1
  10. package/esm/components/AutoFoldedList.js +1 -1
  11. package/esm/components/AutoSizer.js +1 -1
  12. package/esm/components/Avatar.js +1 -1
  13. package/esm/components/Badge.js +1 -1
  14. package/esm/components/BaiduMapPicker.js +1 -1
  15. package/esm/components/BarCode.js +1 -1
  16. package/esm/components/Breadcrumb.js +1 -1
  17. package/esm/components/Button.d.ts +10 -10
  18. package/esm/components/Button.js +1 -1
  19. package/esm/components/CalendarMobile.js +1 -1
  20. package/esm/components/Card.js +1 -1
  21. package/esm/components/Cascader.js +1 -1
  22. package/esm/components/ChainedDropdownSelection.js +1 -1
  23. package/esm/components/ChainedSelection.js +1 -1
  24. package/esm/components/Checkbox.js +1 -1
  25. package/esm/components/CityArea.js +1 -1
  26. package/esm/components/CityDB.js +1 -1
  27. package/esm/components/CodeMirror.js +1 -1
  28. package/esm/components/Collapse.js +1 -1
  29. package/esm/components/CollapseGroup.js +1 -1
  30. package/esm/components/ColorPicker.js +1 -1
  31. package/esm/components/Combo.js +1 -1
  32. package/esm/components/ConditionBuilder.js +1 -1
  33. package/esm/components/ConfirmBox.js +1 -1
  34. package/esm/components/ContextMenu.js +7 -2
  35. package/esm/components/DatePicker.d.ts +3 -3
  36. package/esm/components/DatePicker.js +1 -1
  37. package/esm/components/DateRangePicker.js +1 -1
  38. package/esm/components/DiffEditor.js +1 -1
  39. package/esm/components/DndContainer.js +1 -1
  40. package/esm/components/Drawer.d.ts +11 -10
  41. package/esm/components/Drawer.js +5 -2
  42. package/esm/components/DropDownSelection.js +1 -1
  43. package/esm/components/DropdownContextMenus.js +1 -1
  44. package/esm/components/Editor.js +1 -1
  45. package/esm/components/Form.js +1 -1
  46. package/esm/components/FormField.js +1 -1
  47. package/esm/components/FormulaPicker.js +1 -1
  48. package/esm/components/GaodeMapPicker.js +1 -1
  49. package/esm/components/GridNav.js +1 -1
  50. package/esm/components/GridNavItem.js +1 -1
  51. package/esm/components/GroupedSelection.js +1 -1
  52. package/esm/components/HeadCellDropDown.js +1 -1
  53. package/esm/components/HorizontalScroll.js +1 -1
  54. package/esm/components/Html.js +1 -1
  55. package/esm/components/Icon.js +1 -1
  56. package/esm/components/ImageGallery.js +1 -1
  57. package/esm/components/Input.js +1 -1
  58. package/esm/components/InputBox.d.ts +10 -10
  59. package/esm/components/InputBox.js +1 -1
  60. package/esm/components/InputBoxWithSuggestion.js +1 -1
  61. package/esm/components/InputJSONSchema.js +1 -1
  62. package/esm/components/InputTable.js +1 -1
  63. package/esm/components/JSONSchemaEditor.js +1 -1
  64. package/esm/components/Layout.js +1 -1
  65. package/esm/components/Link.js +1 -1
  66. package/esm/components/ListGroup.d.ts +10 -10
  67. package/esm/components/ListGroup.js +1 -1
  68. package/esm/components/ListMenu.js +1 -1
  69. package/esm/components/LocationPicker.js +1 -1
  70. package/esm/components/Markdown.js +1 -1
  71. package/esm/components/Menu.js +1 -1
  72. package/esm/components/MixedInput.js +1 -1
  73. package/esm/components/MobileDevTool.js +1 -1
  74. package/esm/components/Modal.js +1 -1
  75. package/esm/components/ModalManager.js +1 -1
  76. package/esm/components/MultilineText.js +1 -1
  77. package/esm/components/NumberInput.js +1 -1
  78. package/esm/components/OverflowTpl.js +1 -1
  79. package/esm/components/Pagination.js +12 -10
  80. package/esm/components/PdfViewer.js +1 -1
  81. package/esm/components/Picker.js +1 -1
  82. package/esm/components/PickerColumn.js +1 -1
  83. package/esm/components/PickerContainer.js +1 -1
  84. package/esm/components/PopOverContainer.js +1 -1
  85. package/esm/components/PopUp.js +1 -1
  86. package/esm/components/Progress.js +1 -1
  87. package/esm/components/PullRefresh.js +1 -1
  88. package/esm/components/Radios.js +9 -2
  89. package/esm/components/Range.js +1 -1
  90. package/esm/components/Rating.js +1 -1
  91. package/esm/components/ResultBox.d.ts +40 -40
  92. package/esm/components/ResultBox.js +1 -1
  93. package/esm/components/ResultList.js +1 -1
  94. package/esm/components/ResultTableList.js +1 -1
  95. package/esm/components/ResultTreeList.js +1 -1
  96. package/esm/components/RichText.js +1 -1
  97. package/esm/components/SearchBox.js +1 -1
  98. package/esm/components/Select.js +9 -3
  99. package/esm/components/SelectMobile.js +1 -1
  100. package/esm/components/Selection.js +1 -1
  101. package/esm/components/Shape.js +1 -1
  102. package/esm/components/Signature.js +1 -1
  103. package/esm/components/Slider.js +1 -1
  104. package/esm/components/SparkLine.js +1 -1
  105. package/esm/components/Spinner.js +1 -1
  106. package/esm/components/Steps.js +1 -1
  107. package/esm/components/Switch.js +1 -1
  108. package/esm/components/Tab.js +1 -1
  109. package/esm/components/Table.js +1 -1
  110. package/esm/components/TableSelection.js +1 -1
  111. package/esm/components/Tabs.js +1 -1
  112. package/esm/components/TabsTransfer.js +1 -1
  113. package/esm/components/TabsTransferPicker.js +1 -1
  114. package/esm/components/Tag.js +1 -1
  115. package/esm/components/Textarea.js +1 -1
  116. package/esm/components/Timeline.js +1 -1
  117. package/esm/components/TimelineItem.js +1 -1
  118. package/esm/components/Tinymce.js +1 -1
  119. package/esm/components/TitleBar.js +1 -1
  120. package/esm/components/Toast.js +1 -1
  121. package/esm/components/Tooltip.js +1 -1
  122. package/esm/components/TooltipWrapper.js +1 -1
  123. package/esm/components/Transfer.js +1 -1
  124. package/esm/components/TransferDropDown.js +1 -1
  125. package/esm/components/TransferPicker.js +1 -1
  126. package/esm/components/TransferSearch.js +1 -1
  127. package/esm/components/Tree.js +3 -2
  128. package/esm/components/TreeSelection.js +1 -1
  129. package/esm/components/UserSelect.js +1 -1
  130. package/esm/components/UserTabSelect.js +1 -1
  131. package/esm/components/VerificationCode.js +1 -1
  132. package/esm/components/VirtualList.js +1 -1
  133. package/esm/components/WithRemoteConfig.js +1 -1
  134. package/esm/components/WithStore.js +1 -1
  135. package/esm/components/calendar/Calendar.js +1 -1
  136. package/esm/components/calendar/CalendarContainer.js +1 -1
  137. package/esm/components/calendar/DaysView.js +1 -1
  138. package/esm/components/calendar/MonthsView.js +1 -1
  139. package/esm/components/calendar/QuartersView.js +1 -1
  140. package/esm/components/calendar/TimeView.js +1 -1
  141. package/esm/components/calendar/YearsView.js +1 -1
  142. package/esm/components/condition-builder/Expression.js +1 -1
  143. package/esm/components/condition-builder/Field.js +1 -1
  144. package/esm/components/condition-builder/Func.js +1 -1
  145. package/esm/components/condition-builder/Group.js +1 -1
  146. package/esm/components/condition-builder/GroupOrItem.js +1 -1
  147. package/esm/components/condition-builder/InputSwitch.js +1 -1
  148. package/esm/components/condition-builder/Item.js +1 -1
  149. package/esm/components/condition-builder/Value.js +1 -1
  150. package/esm/components/condition-builder/config.js +1 -1
  151. package/esm/components/condition-builder/index.js +1 -1
  152. package/esm/components/formula/CodeEditor.js +1 -1
  153. package/esm/components/formula/Editor.js +21 -5
  154. package/esm/components/formula/FuncList.js +2 -1
  155. package/esm/components/formula/Input.js +1 -1
  156. package/esm/components/formula/Picker.js +1 -1
  157. package/esm/components/formula/VariableList.js +2 -1
  158. package/esm/components/formula/plugin.js +1 -1
  159. package/esm/components/icons.js +3 -1
  160. package/esm/components/json-schema/Array.js +1 -1
  161. package/esm/components/json-schema/Item.js +1 -1
  162. package/esm/components/json-schema/Object.js +1 -1
  163. package/esm/components/json-schema/index.js +1 -1
  164. package/esm/components/menu/MenuContext.js +1 -1
  165. package/esm/components/menu/MenuItem.js +1 -1
  166. package/esm/components/menu/PanelMenu.js +1 -1
  167. package/esm/components/menu/SubMenu.js +1 -1
  168. package/esm/components/menu/index.d.ts +10 -10
  169. package/esm/components/menu/index.js +1 -1
  170. package/esm/components/schema-editor/Array.js +1 -1
  171. package/esm/components/schema-editor/Common.js +1 -1
  172. package/esm/components/schema-editor/Item.js +1 -1
  173. package/esm/components/schema-editor/Object.js +1 -1
  174. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  175. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  176. package/esm/components/schema-editor/index.js +1 -1
  177. package/esm/components/table/Cell.js +1 -1
  178. package/esm/components/table/ColGroup.js +1 -1
  179. package/esm/components/table/Head.js +1 -1
  180. package/esm/components/table/HeadCellDropDown.js +1 -1
  181. package/esm/components/table/HeadCellFilter.js +1 -1
  182. package/esm/components/table/HeadCellSelect.js +1 -1
  183. package/esm/components/table/HeadCellSort.js +1 -1
  184. package/esm/components/table/ItemActionsWrapper.js +1 -1
  185. package/esm/components/table/Row.js +1 -1
  186. package/esm/components/table/SummaryRow.js +1 -1
  187. package/esm/components/table/index.js +1 -1
  188. package/esm/components/table/util.js +1 -1
  189. package/esm/components/virtual-list/AutoSizer.js +1 -1
  190. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  191. package/esm/components/virtual-list/constants.js +1 -1
  192. package/esm/components/virtual-list/index.js +1 -1
  193. package/esm/components/withBadge.js +1 -1
  194. package/esm/hooks/use-click-away.js +1 -1
  195. package/esm/hooks/use-on-screen.js +1 -1
  196. package/esm/hooks/use-set-state.js +1 -1
  197. package/esm/hooks/use-sub-form.js +1 -1
  198. package/esm/hooks/use-touch.js +1 -1
  199. package/esm/hooks/use-update-effect.js +1 -1
  200. package/esm/hooks/use-validation-resolver.js +1 -1
  201. package/esm/icons/alert-danger.svg.js +1 -1
  202. package/esm/icons/alert-info.svg.js +1 -1
  203. package/esm/icons/alert-success.svg.js +1 -1
  204. package/esm/icons/alert-warning.svg.js +1 -1
  205. package/esm/icons/arrow-double-left.svg.js +1 -1
  206. package/esm/icons/arrow-double-right.svg.js +1 -1
  207. package/esm/icons/back.svg.js +1 -1
  208. package/esm/icons/calendar.svg.js +1 -1
  209. package/esm/icons/caret.svg.js +1 -1
  210. package/esm/icons/check.svg.js +1 -1
  211. package/esm/icons/clock.svg.js +1 -1
  212. package/esm/icons/close-small.svg.js +1 -1
  213. package/esm/icons/close.svg.js +1 -1
  214. package/esm/icons/cloud-upload.svg.js +1 -1
  215. package/esm/icons/column-filter.svg.js +1 -1
  216. package/esm/icons/columns.svg.js +1 -1
  217. package/esm/icons/compress-alt.svg.js +1 -1
  218. package/esm/icons/copy.svg.js +1 -1
  219. package/esm/icons/date.svg.js +1 -1
  220. package/esm/icons/department.svg.js +1 -1
  221. package/esm/icons/desk-empty.svg.js +1 -1
  222. package/esm/icons/dot.svg.js +1 -1
  223. package/esm/icons/down-arrow-bold.svg.js +1 -1
  224. package/esm/icons/down.svg.js +1 -1
  225. package/esm/icons/download.svg.js +1 -1
  226. package/esm/icons/drag-bar.svg.js +1 -1
  227. package/esm/icons/drag.svg.js +1 -1
  228. package/esm/icons/edit.svg.js +1 -1
  229. package/esm/icons/ellipsis-v.svg.js +1 -1
  230. package/esm/icons/enter.svg.js +1 -1
  231. package/esm/icons/exchange.svg.js +1 -1
  232. package/esm/icons/expand-alt.svg.js +1 -1
  233. package/esm/icons/fail.svg.js +1 -1
  234. package/esm/icons/file.svg.js +1 -1
  235. package/esm/icons/filter.svg.js +1 -1
  236. package/esm/icons/folder.svg.js +1 -1
  237. package/esm/icons/fullscreen.svg.js +1 -1
  238. package/esm/icons/function.svg.js +1 -1
  239. package/esm/icons/home.svg.js +1 -1
  240. package/esm/icons/if.svg.js +1 -1
  241. package/esm/icons/image.svg.js +1 -1
  242. package/esm/icons/info-circle.svg.js +1 -1
  243. package/esm/icons/info.svg.js +1 -1
  244. package/esm/icons/input-clear.svg.js +1 -1
  245. package/esm/icons/invisible.svg.js +1 -1
  246. package/esm/icons/left-arrow.svg.js +1 -1
  247. package/esm/icons/loading-outline.svg.js +1 -1
  248. package/esm/icons/location.svg.js +1 -1
  249. package/esm/icons/menu.svg.js +1 -1
  250. package/esm/icons/minus.svg.js +1 -1
  251. package/esm/icons/move.svg.js +1 -1
  252. package/esm/icons/mute.svg.js +1 -1
  253. package/esm/icons/new-edit.svg.js +1 -1
  254. package/esm/icons/pause.svg.js +1 -1
  255. package/esm/icons/pencil.svg.js +1 -1
  256. package/esm/icons/play.svg.js +1 -1
  257. package/esm/icons/plus-cicle.svg.js +1 -1
  258. package/esm/icons/plus-fine.svg.js +1 -1
  259. package/esm/icons/plus.svg.js +1 -1
  260. package/esm/icons/post.svg.js +1 -1
  261. package/esm/icons/question-mark.svg.js +1 -1
  262. package/esm/icons/question.svg.js +1 -1
  263. package/esm/icons/question2.svg.js +34 -0
  264. package/esm/icons/redo.svg.js +1 -1
  265. package/esm/icons/refresh.svg.js +1 -1
  266. package/esm/icons/reload.svg.js +1 -1
  267. package/esm/icons/remove.svg.js +1 -1
  268. package/esm/icons/retry.svg.js +1 -1
  269. package/esm/icons/right-arrow-bold.svg.js +1 -1
  270. package/esm/icons/right-arrow.svg.js +1 -1
  271. package/esm/icons/right-double-arrow.svg.js +1 -1
  272. package/esm/icons/role.svg.js +1 -1
  273. package/esm/icons/rotate-left.svg.js +1 -1
  274. package/esm/icons/rotate-right.svg.js +1 -1
  275. package/esm/icons/rotate-screen.svg.js +1 -1
  276. package/esm/icons/scale-origin.svg.js +1 -1
  277. package/esm/icons/schedule.svg.js +1 -1
  278. package/esm/icons/search.svg.js +1 -1
  279. package/esm/icons/setting.svg.js +1 -1
  280. package/esm/icons/slider-handle-icon.svg.js +1 -1
  281. package/esm/icons/sort-asc.svg.js +1 -1
  282. package/esm/icons/sort-default.svg.js +1 -1
  283. package/esm/icons/sort-desc.svg.js +1 -1
  284. package/esm/icons/star.svg.js +1 -1
  285. package/esm/icons/status-close.svg.js +1 -1
  286. package/esm/icons/steps-finsh.svg.js +1 -1
  287. package/esm/icons/sub-plus.svg.js +1 -1
  288. package/esm/icons/success.svg.js +1 -1
  289. package/esm/icons/transparent.svg.js +1 -1
  290. package/esm/icons/trash.svg.js +1 -1
  291. package/esm/icons/tree-down.svg.js +1 -1
  292. package/esm/icons/undo-normal.svg.js +1 -1
  293. package/esm/icons/undo.svg.js +1 -1
  294. package/esm/icons/unfullscreen.svg.js +1 -1
  295. package/esm/icons/upload.svg.js +1 -1
  296. package/esm/icons/user-remove.svg.js +1 -1
  297. package/esm/icons/view.svg.js +1 -1
  298. package/esm/icons/volume.svg.js +1 -1
  299. package/esm/icons/warning-mark.svg.js +1 -1
  300. package/esm/icons/warning.svg.js +1 -1
  301. package/esm/icons/window-restore.svg.js +1 -1
  302. package/esm/icons/zoom-in.svg.js +1 -1
  303. package/esm/icons/zoom-out.svg.js +1 -1
  304. package/esm/index.js +1 -1
  305. package/esm/locale/de-DE.js +1 -1
  306. package/esm/locale/en-US.js +1 -1
  307. package/esm/locale/zh-CN.js +2 -2
  308. package/esm/themes/ang.js +1 -1
  309. package/esm/themes/antd.js +1 -1
  310. package/esm/themes/cxd.js +1 -1
  311. package/esm/themes/dark.js +1 -1
  312. package/esm/utils/vectorComputed.js +1 -1
  313. package/esm/withRemoteConfig.js +1 -1
  314. package/esm/withStore.js +1 -1
  315. package/lib/components/404.js +1 -1
  316. package/lib/components/Alert.d.ts +120 -120
  317. package/lib/components/Alert.js +1 -1
  318. package/lib/components/Alert2.d.ts +20 -20
  319. package/lib/components/Alert2.js +1 -1
  320. package/lib/components/AlphabetIndexer.js +1 -1
  321. package/lib/components/AnchorNav.d.ts +20 -20
  322. package/lib/components/AnchorNav.js +1 -1
  323. package/lib/components/AnchorNavSection.js +1 -1
  324. package/lib/components/ArrayInput.d.ts +40 -40
  325. package/lib/components/ArrayInput.js +1 -1
  326. package/lib/components/AsideNav.js +1 -1
  327. package/lib/components/AssociatedSelection.d.ts +120 -120
  328. package/lib/components/AssociatedSelection.js +1 -1
  329. package/lib/components/AutoFoldedList.js +1 -1
  330. package/lib/components/AutoSizer.js +1 -1
  331. package/lib/components/Avatar.d.ts +100 -100
  332. package/lib/components/Avatar.js +1 -1
  333. package/lib/components/Badge.js +1 -1
  334. package/lib/components/BaiduMapPicker.js +1 -1
  335. package/lib/components/BarCode.js +1 -1
  336. package/lib/components/Breadcrumb.js +1 -1
  337. package/lib/components/Button.d.ts +30 -30
  338. package/lib/components/Button.js +1 -1
  339. package/lib/components/CalendarMobile.d.ts +40 -40
  340. package/lib/components/CalendarMobile.js +1 -1
  341. package/lib/components/Card.d.ts +90 -90
  342. package/lib/components/Card.js +1 -1
  343. package/lib/components/Cascader.js +1 -1
  344. package/lib/components/ChainedDropdownSelection.d.ts +120 -120
  345. package/lib/components/ChainedDropdownSelection.js +1 -1
  346. package/lib/components/ChainedSelection.d.ts +120 -120
  347. package/lib/components/ChainedSelection.js +1 -1
  348. package/lib/components/Checkbox.d.ts +10 -10
  349. package/lib/components/Checkbox.js +1 -1
  350. package/lib/components/CityArea.js +1 -1
  351. package/lib/components/CityDB.js +1 -1
  352. package/lib/components/CodeMirror.js +1 -1
  353. package/lib/components/Collapse.d.ts +140 -140
  354. package/lib/components/Collapse.js +1 -1
  355. package/lib/components/CollapseGroup.d.ts +30 -30
  356. package/lib/components/CollapseGroup.js +1 -1
  357. package/lib/components/ColorPicker.d.ts +40 -40
  358. package/lib/components/ColorPicker.js +1 -1
  359. package/lib/components/Combo.js +1 -1
  360. package/lib/components/ConditionBuilder.js +1 -1
  361. package/lib/components/ConfirmBox.d.ts +80 -80
  362. package/lib/components/ConfirmBox.js +1 -1
  363. package/lib/components/ContextMenu.js +7 -2
  364. package/lib/components/DatePicker.d.ts +84 -84
  365. package/lib/components/DatePicker.js +1 -1
  366. package/lib/components/DateRangePicker.d.ts +80 -80
  367. package/lib/components/DateRangePicker.js +1 -1
  368. package/lib/components/DiffEditor.js +1 -1
  369. package/lib/components/DndContainer.js +1 -1
  370. package/lib/components/Drawer.d.ts +31 -30
  371. package/lib/components/Drawer.js +5 -2
  372. package/lib/components/DropDownSelection.d.ts +120 -120
  373. package/lib/components/DropDownSelection.js +1 -1
  374. package/lib/components/DropdownContextMenus.js +1 -1
  375. package/lib/components/Editor.d.ts +160 -160
  376. package/lib/components/Editor.js +1 -1
  377. package/lib/components/Form.js +1 -1
  378. package/lib/components/FormField.js +1 -1
  379. package/lib/components/FormulaPicker.js +1 -1
  380. package/lib/components/GaodeMapPicker.js +1 -1
  381. package/lib/components/GridNav.js +1 -1
  382. package/lib/components/GridNavItem.js +1 -1
  383. package/lib/components/GroupedSelection.d.ts +120 -120
  384. package/lib/components/GroupedSelection.js +1 -1
  385. package/lib/components/HeadCellDropDown.js +1 -1
  386. package/lib/components/HorizontalScroll.js +1 -1
  387. package/lib/components/Html.js +1 -1
  388. package/lib/components/Icon.js +1 -1
  389. package/lib/components/ImageGallery.d.ts +40 -40
  390. package/lib/components/ImageGallery.js +1 -1
  391. package/lib/components/Input.js +1 -1
  392. package/lib/components/InputBox.d.ts +10 -10
  393. package/lib/components/InputBox.js +1 -1
  394. package/lib/components/InputBoxWithSuggestion.js +1 -1
  395. package/lib/components/InputJSONSchema.js +1 -1
  396. package/lib/components/InputTable.js +1 -1
  397. package/lib/components/JSONSchemaEditor.js +1 -1
  398. package/lib/components/Layout.js +1 -1
  399. package/lib/components/Link.js +1 -1
  400. package/lib/components/ListGroup.d.ts +10 -10
  401. package/lib/components/ListGroup.js +1 -1
  402. package/lib/components/ListMenu.d.ts +80 -80
  403. package/lib/components/ListMenu.js +1 -1
  404. package/lib/components/LocationPicker.d.ts +40 -40
  405. package/lib/components/LocationPicker.js +1 -1
  406. package/lib/components/Markdown.js +1 -1
  407. package/lib/components/Menu.js +1 -1
  408. package/lib/components/MixedInput.js +1 -1
  409. package/lib/components/MobileDevTool.js +1 -1
  410. package/lib/components/Modal.d.ts +120 -120
  411. package/lib/components/Modal.js +1 -1
  412. package/lib/components/ModalManager.js +1 -1
  413. package/lib/components/MonthRangePicker.d.ts +80 -80
  414. package/lib/components/MultilineText.d.ts +40 -40
  415. package/lib/components/MultilineText.js +1 -1
  416. package/lib/components/NumberInput.d.ts +30 -30
  417. package/lib/components/NumberInput.js +1 -1
  418. package/lib/components/OverflowTpl.js +1 -1
  419. package/lib/components/Pagination.d.ts +80 -80
  420. package/lib/components/Pagination.js +12 -10
  421. package/lib/components/PdfViewer.js +1 -1
  422. package/lib/components/Picker.js +1 -1
  423. package/lib/components/PickerColumn.js +1 -1
  424. package/lib/components/PickerContainer.js +1 -1
  425. package/lib/components/PopOverContainer.js +1 -1
  426. package/lib/components/PopUp.d.ts +120 -120
  427. package/lib/components/PopUp.js +1 -1
  428. package/lib/components/Progress.d.ts +50 -50
  429. package/lib/components/Progress.js +1 -1
  430. package/lib/components/PullRefresh.js +1 -1
  431. package/lib/components/Radios.d.ts +20 -20
  432. package/lib/components/Radios.js +9 -2
  433. package/lib/components/Range.js +1 -1
  434. package/lib/components/Rating.d.ts +20 -20
  435. package/lib/components/Rating.js +1 -1
  436. package/lib/components/ResultBox.d.ts +80 -80
  437. package/lib/components/ResultBox.js +1 -1
  438. package/lib/components/ResultList.d.ts +80 -80
  439. package/lib/components/ResultList.js +1 -1
  440. package/lib/components/ResultTableList.d.ts +120 -120
  441. package/lib/components/ResultTableList.js +1 -1
  442. package/lib/components/ResultTreeList.d.ts +40 -40
  443. package/lib/components/ResultTreeList.js +1 -1
  444. package/lib/components/RichText.js +1 -1
  445. package/lib/components/SearchBox.d.ts +120 -120
  446. package/lib/components/SearchBox.js +1 -1
  447. package/lib/components/Select.d.ts +1510 -1510
  448. package/lib/components/Select.js +9 -3
  449. package/lib/components/SelectMobile.js +1 -1
  450. package/lib/components/Selection.d.ts +120 -120
  451. package/lib/components/Selection.js +1 -1
  452. package/lib/components/Shape.js +1 -1
  453. package/lib/components/Signature.js +1 -1
  454. package/lib/components/Slider.js +1 -1
  455. package/lib/components/SparkLine.d.ts +40 -40
  456. package/lib/components/SparkLine.js +1 -1
  457. package/lib/components/Spinner.d.ts +80 -80
  458. package/lib/components/Spinner.js +1 -1
  459. package/lib/components/Steps.js +1 -1
  460. package/lib/components/Switch.d.ts +10 -10
  461. package/lib/components/Switch.js +1 -1
  462. package/lib/components/Tab.js +1 -1
  463. package/lib/components/Table.js +1 -1
  464. package/lib/components/TableSelection.d.ts +120 -120
  465. package/lib/components/TableSelection.js +1 -1
  466. package/lib/components/Tabs.d.ts +40 -40
  467. package/lib/components/Tabs.js +1 -1
  468. package/lib/components/TabsTransfer.d.ts +40 -40
  469. package/lib/components/TabsTransfer.js +1 -1
  470. package/lib/components/TabsTransferPicker.js +1 -1
  471. package/lib/components/Tag.d.ts +60 -60
  472. package/lib/components/Tag.js +1 -1
  473. package/lib/components/Textarea.d.ts +40 -40
  474. package/lib/components/Textarea.js +1 -1
  475. package/lib/components/Timeline.js +1 -1
  476. package/lib/components/TimelineItem.d.ts +1 -1
  477. package/lib/components/TimelineItem.js +1 -1
  478. package/lib/components/Tinymce.js +1 -1
  479. package/lib/components/TitleBar.js +1 -1
  480. package/lib/components/Toast.d.ts +80 -80
  481. package/lib/components/Toast.js +1 -1
  482. package/lib/components/Tooltip.js +1 -1
  483. package/lib/components/TooltipWrapper.d.ts +20 -20
  484. package/lib/components/TooltipWrapper.js +1 -1
  485. package/lib/components/Transfer.d.ts +169 -169
  486. package/lib/components/Transfer.js +1 -1
  487. package/lib/components/TransferDropDown.d.ts +160 -160
  488. package/lib/components/TransferDropDown.js +1 -1
  489. package/lib/components/TransferPicker.js +1 -1
  490. package/lib/components/TransferSearch.js +1 -1
  491. package/lib/components/Tree.d.ts +200 -200
  492. package/lib/components/Tree.js +3 -2
  493. package/lib/components/TreeSelection.d.ts +160 -160
  494. package/lib/components/TreeSelection.js +1 -1
  495. package/lib/components/UserSelect.d.ts +40 -40
  496. package/lib/components/UserSelect.js +1 -1
  497. package/lib/components/UserTabSelect.d.ts +40 -40
  498. package/lib/components/UserTabSelect.js +1 -1
  499. package/lib/components/VerificationCode.js +1 -1
  500. package/lib/components/VirtualList.js +1 -1
  501. package/lib/components/WithRemoteConfig.js +1 -1
  502. package/lib/components/WithStore.js +1 -1
  503. package/lib/components/calendar/Calendar.js +1 -1
  504. package/lib/components/calendar/CalendarContainer.js +1 -1
  505. package/lib/components/calendar/DaysView.js +1 -1
  506. package/lib/components/calendar/MonthsView.js +1 -1
  507. package/lib/components/calendar/QuartersView.js +1 -1
  508. package/lib/components/calendar/TimeView.js +1 -1
  509. package/lib/components/calendar/YearsView.js +1 -1
  510. package/lib/components/condition-builder/Expression.js +1 -1
  511. package/lib/components/condition-builder/Field.js +1 -1
  512. package/lib/components/condition-builder/Func.js +1 -1
  513. package/lib/components/condition-builder/Group.js +1 -1
  514. package/lib/components/condition-builder/GroupOrItem.js +1 -1
  515. package/lib/components/condition-builder/InputSwitch.js +1 -1
  516. package/lib/components/condition-builder/Item.js +1 -1
  517. package/lib/components/condition-builder/Value.js +1 -1
  518. package/lib/components/condition-builder/config.js +1 -1
  519. package/lib/components/condition-builder/index.js +1 -1
  520. package/lib/components/formula/CodeEditor.js +1 -1
  521. package/lib/components/formula/Editor.d.ts +80 -80
  522. package/lib/components/formula/Editor.js +20 -4
  523. package/lib/components/formula/FuncList.js +2 -1
  524. package/lib/components/formula/Input.js +1 -1
  525. package/lib/components/formula/Picker.d.ts +40 -40
  526. package/lib/components/formula/Picker.js +1 -1
  527. package/lib/components/formula/VariableList.js +2 -1
  528. package/lib/components/formula/plugin.js +1 -1
  529. package/lib/components/icons.js +3 -1
  530. package/lib/components/json-schema/Array.js +1 -1
  531. package/lib/components/json-schema/Item.js +1 -1
  532. package/lib/components/json-schema/Object.js +1 -1
  533. package/lib/components/json-schema/index.js +1 -1
  534. package/lib/components/menu/MenuContext.js +1 -1
  535. package/lib/components/menu/MenuItem.js +1 -1
  536. package/lib/components/menu/PanelMenu.js +1 -1
  537. package/lib/components/menu/SubMenu.js +1 -1
  538. package/lib/components/menu/index.d.ts +80 -80
  539. package/lib/components/menu/index.js +1 -1
  540. package/lib/components/schema-editor/Array.js +1 -1
  541. package/lib/components/schema-editor/Common.js +1 -1
  542. package/lib/components/schema-editor/Item.js +1 -1
  543. package/lib/components/schema-editor/Object.js +1 -1
  544. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  545. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  546. package/lib/components/schema-editor/index.d.ts +40 -40
  547. package/lib/components/schema-editor/index.js +1 -1
  548. package/lib/components/table/Cell.js +1 -1
  549. package/lib/components/table/ColGroup.js +1 -1
  550. package/lib/components/table/Head.js +1 -1
  551. package/lib/components/table/HeadCellDropDown.js +1 -1
  552. package/lib/components/table/HeadCellFilter.d.ts +40 -40
  553. package/lib/components/table/HeadCellFilter.js +1 -1
  554. package/lib/components/table/HeadCellSelect.d.ts +40 -40
  555. package/lib/components/table/HeadCellSelect.js +1 -1
  556. package/lib/components/table/HeadCellSort.js +1 -1
  557. package/lib/components/table/ItemActionsWrapper.js +1 -1
  558. package/lib/components/table/Row.js +1 -1
  559. package/lib/components/table/SummaryRow.js +1 -1
  560. package/lib/components/table/index.d.ts +160 -160
  561. package/lib/components/table/index.js +1 -1
  562. package/lib/components/table/util.d.ts +3 -3
  563. package/lib/components/table/util.js +1 -1
  564. package/lib/components/virtual-list/AutoSizer.js +1 -1
  565. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  566. package/lib/components/virtual-list/constants.js +1 -1
  567. package/lib/components/virtual-list/index.js +1 -1
  568. package/lib/components/withBadge.js +1 -1
  569. package/lib/hooks/use-click-away.js +1 -1
  570. package/lib/hooks/use-on-screen.js +1 -1
  571. package/lib/hooks/use-set-state.js +1 -1
  572. package/lib/hooks/use-sub-form.js +1 -1
  573. package/lib/hooks/use-touch.js +1 -1
  574. package/lib/hooks/use-update-effect.js +1 -1
  575. package/lib/hooks/use-validation-resolver.js +1 -1
  576. package/lib/icons/alert-danger.svg.js +1 -1
  577. package/lib/icons/alert-info.svg.js +1 -1
  578. package/lib/icons/alert-success.svg.js +1 -1
  579. package/lib/icons/alert-warning.svg.js +1 -1
  580. package/lib/icons/arrow-double-left.svg.js +1 -1
  581. package/lib/icons/arrow-double-right.svg.js +1 -1
  582. package/lib/icons/back.svg.js +1 -1
  583. package/lib/icons/calendar.svg.js +1 -1
  584. package/lib/icons/caret.svg.js +1 -1
  585. package/lib/icons/check.svg.js +1 -1
  586. package/lib/icons/clock.svg.js +1 -1
  587. package/lib/icons/close-small.svg.js +1 -1
  588. package/lib/icons/close.svg.js +1 -1
  589. package/lib/icons/cloud-upload.svg.js +1 -1
  590. package/lib/icons/column-filter.svg.js +1 -1
  591. package/lib/icons/columns.svg.js +1 -1
  592. package/lib/icons/compress-alt.svg.js +1 -1
  593. package/lib/icons/copy.svg.js +1 -1
  594. package/lib/icons/date.svg.js +1 -1
  595. package/lib/icons/department.svg.js +1 -1
  596. package/lib/icons/desk-empty.svg.js +1 -1
  597. package/lib/icons/dot.svg.js +1 -1
  598. package/lib/icons/down-arrow-bold.svg.js +1 -1
  599. package/lib/icons/down.svg.js +1 -1
  600. package/lib/icons/download.svg.js +1 -1
  601. package/lib/icons/drag-bar.svg.js +1 -1
  602. package/lib/icons/drag.svg.js +1 -1
  603. package/lib/icons/edit.svg.js +1 -1
  604. package/lib/icons/ellipsis-v.svg.js +1 -1
  605. package/lib/icons/enter.svg.js +1 -1
  606. package/lib/icons/exchange.svg.js +1 -1
  607. package/lib/icons/expand-alt.svg.js +1 -1
  608. package/lib/icons/fail.svg.js +1 -1
  609. package/lib/icons/file.svg.js +1 -1
  610. package/lib/icons/filter.svg.js +1 -1
  611. package/lib/icons/folder.svg.js +1 -1
  612. package/lib/icons/fullscreen.svg.js +1 -1
  613. package/lib/icons/function.svg.js +1 -1
  614. package/lib/icons/home.svg.js +1 -1
  615. package/lib/icons/if.svg.js +1 -1
  616. package/lib/icons/image.svg.js +1 -1
  617. package/lib/icons/info-circle.svg.js +1 -1
  618. package/lib/icons/info.svg.js +1 -1
  619. package/lib/icons/input-clear.svg.js +1 -1
  620. package/lib/icons/invisible.svg.js +1 -1
  621. package/lib/icons/left-arrow.svg.js +1 -1
  622. package/lib/icons/loading-outline.svg.js +1 -1
  623. package/lib/icons/location.svg.js +1 -1
  624. package/lib/icons/menu.svg.js +1 -1
  625. package/lib/icons/minus.svg.js +1 -1
  626. package/lib/icons/move.svg.js +1 -1
  627. package/lib/icons/mute.svg.js +1 -1
  628. package/lib/icons/new-edit.svg.js +1 -1
  629. package/lib/icons/pause.svg.js +1 -1
  630. package/lib/icons/pencil.svg.js +1 -1
  631. package/lib/icons/play.svg.js +1 -1
  632. package/lib/icons/plus-cicle.svg.js +1 -1
  633. package/lib/icons/plus-fine.svg.js +1 -1
  634. package/lib/icons/plus.svg.js +1 -1
  635. package/lib/icons/post.svg.js +1 -1
  636. package/lib/icons/question-mark.svg.js +1 -1
  637. package/lib/icons/question.svg.js +1 -1
  638. package/lib/icons/question2.svg.js +41 -0
  639. package/lib/icons/redo.svg.js +1 -1
  640. package/lib/icons/refresh.svg.js +1 -1
  641. package/lib/icons/reload.svg.js +1 -1
  642. package/lib/icons/remove.svg.js +1 -1
  643. package/lib/icons/retry.svg.js +1 -1
  644. package/lib/icons/right-arrow-bold.svg.js +1 -1
  645. package/lib/icons/right-arrow.svg.js +1 -1
  646. package/lib/icons/right-double-arrow.svg.js +1 -1
  647. package/lib/icons/role.svg.js +1 -1
  648. package/lib/icons/rotate-left.svg.js +1 -1
  649. package/lib/icons/rotate-right.svg.js +1 -1
  650. package/lib/icons/rotate-screen.svg.js +1 -1
  651. package/lib/icons/scale-origin.svg.js +1 -1
  652. package/lib/icons/schedule.svg.js +1 -1
  653. package/lib/icons/search.svg.js +1 -1
  654. package/lib/icons/setting.svg.js +1 -1
  655. package/lib/icons/slider-handle-icon.svg.js +1 -1
  656. package/lib/icons/sort-asc.svg.js +1 -1
  657. package/lib/icons/sort-default.svg.js +1 -1
  658. package/lib/icons/sort-desc.svg.js +1 -1
  659. package/lib/icons/star.svg.js +1 -1
  660. package/lib/icons/status-close.svg.js +1 -1
  661. package/lib/icons/steps-finsh.svg.js +1 -1
  662. package/lib/icons/sub-plus.svg.js +1 -1
  663. package/lib/icons/success.svg.js +1 -1
  664. package/lib/icons/transparent.svg.js +1 -1
  665. package/lib/icons/trash.svg.js +1 -1
  666. package/lib/icons/tree-down.svg.js +1 -1
  667. package/lib/icons/undo-normal.svg.js +1 -1
  668. package/lib/icons/undo.svg.js +1 -1
  669. package/lib/icons/unfullscreen.svg.js +1 -1
  670. package/lib/icons/upload.svg.js +1 -1
  671. package/lib/icons/user-remove.svg.js +1 -1
  672. package/lib/icons/view.svg.js +1 -1
  673. package/lib/icons/volume.svg.js +1 -1
  674. package/lib/icons/warning-mark.svg.js +1 -1
  675. package/lib/icons/warning.svg.js +1 -1
  676. package/lib/icons/window-restore.svg.js +1 -1
  677. package/lib/icons/zoom-in.svg.js +1 -1
  678. package/lib/icons/zoom-out.svg.js +1 -1
  679. package/lib/index.js +1 -1
  680. package/lib/locale/de-DE.js +1 -1
  681. package/lib/locale/en-US.js +1 -1
  682. package/lib/locale/zh-CN.js +2 -2
  683. package/lib/scss/helper.scss.js +1 -1
  684. package/lib/scss/themes/ang.scss.js +1 -1
  685. package/lib/scss/themes/antd.scss.js +1 -1
  686. package/lib/scss/themes/cxd.scss.js +1 -1
  687. package/lib/scss/themes/dark.scss.js +1 -1
  688. package/lib/scss/themes/default.scss.js +1 -1
  689. package/lib/themes/ang.css +13 -2
  690. package/lib/themes/ang.js +1 -1
  691. package/lib/themes/antd.css +13 -2
  692. package/lib/themes/antd.js +1 -1
  693. package/lib/themes/cxd.css +13 -2
  694. package/lib/themes/cxd.js +1 -1
  695. package/lib/themes/dark.css +13 -2
  696. package/lib/themes/dark.js +1 -1
  697. package/lib/themes/default.css +13 -2
  698. package/lib/utils/vectorComputed.js +1 -1
  699. package/lib/withRemoteConfig.js +1 -1
  700. package/lib/withStore.js +1 -1
  701. package/package.json +3 -3
  702. package/scss/components/_pagination.scss +1 -2
  703. package/scss/components/form/_select.scss +13 -0
  704. package/scss/layout/_layout.scss +1 -0
@@ -70,15 +70,15 @@ export declare class Editor extends React.Component<EditorProps, EditorState> {
70
70
  render(): React.JSX.Element;
71
71
  }
72
72
  declare const _default: {
73
- new (props: Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
73
+ new (props: Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
74
+ editorTheme?: string | undefined;
74
75
  width?: string | number | undefined;
75
76
  height?: string | number | undefined;
77
+ language?: string | undefined;
78
+ allowFullscreen?: boolean | undefined;
76
79
  options?: {
77
80
  [propName: string]: any;
78
81
  } | undefined;
79
- language?: string | undefined;
80
- editorTheme?: string | undefined;
81
- allowFullscreen?: boolean | undefined;
82
82
  } & {} & {
83
83
  locale?: string | undefined;
84
84
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -88,29 +88,29 @@ declare const _default: {
88
88
  getWrappedInstance(): any;
89
89
  render(): React.JSX.Element;
90
90
  context: unknown;
91
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
91
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
92
+ editorTheme?: string | undefined;
92
93
  width?: string | number | undefined;
93
94
  height?: string | number | undefined;
95
+ language?: string | undefined;
96
+ allowFullscreen?: boolean | undefined;
94
97
  options?: {
95
98
  [propName: string]: any;
96
99
  } | undefined;
97
- language?: string | undefined;
98
- editorTheme?: string | undefined;
99
- allowFullscreen?: boolean | undefined;
100
100
  } & {} & {
101
101
  locale?: string | undefined;
102
102
  translate?: ((str: string, ...args: any[]) => string) | undefined;
103
103
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
104
104
  forceUpdate(callback?: (() => void) | undefined): void;
105
- readonly props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
105
+ readonly props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
106
+ editorTheme?: string | undefined;
106
107
  width?: string | number | undefined;
107
108
  height?: string | number | undefined;
109
+ language?: string | undefined;
110
+ allowFullscreen?: boolean | undefined;
108
111
  options?: {
109
112
  [propName: string]: any;
110
113
  } | undefined;
111
- language?: string | undefined;
112
- editorTheme?: string | undefined;
113
- allowFullscreen?: boolean | undefined;
114
114
  } & {} & {
115
115
  locale?: string | undefined;
116
116
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -120,97 +120,97 @@ declare const _default: {
120
120
  [key: string]: React.ReactInstance;
121
121
  };
122
122
  componentDidMount?(): void;
123
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
123
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
124
+ editorTheme?: string | undefined;
124
125
  width?: string | number | undefined;
125
126
  height?: string | number | undefined;
127
+ language?: string | undefined;
128
+ allowFullscreen?: boolean | undefined;
126
129
  options?: {
127
130
  [propName: string]: any;
128
131
  } | undefined;
129
- language?: string | undefined;
130
- editorTheme?: string | undefined;
131
- allowFullscreen?: boolean | undefined;
132
132
  } & {} & {
133
133
  locale?: string | undefined;
134
134
  translate?: ((str: string, ...args: any[]) => string) | undefined;
135
135
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
136
136
  componentWillUnmount?(): void;
137
137
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
138
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
138
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
139
+ editorTheme?: string | undefined;
139
140
  width?: string | number | undefined;
140
141
  height?: string | number | undefined;
142
+ language?: string | undefined;
143
+ allowFullscreen?: boolean | undefined;
141
144
  options?: {
142
145
  [propName: string]: any;
143
146
  } | undefined;
144
- language?: string | undefined;
145
- editorTheme?: string | undefined;
146
- allowFullscreen?: boolean | undefined;
147
147
  } & {} & {
148
148
  locale?: string | undefined;
149
149
  translate?: ((str: string, ...args: any[]) => string) | undefined;
150
150
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
151
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
151
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
152
+ editorTheme?: string | undefined;
152
153
  width?: string | number | undefined;
153
154
  height?: string | number | undefined;
155
+ language?: string | undefined;
156
+ allowFullscreen?: boolean | undefined;
154
157
  options?: {
155
158
  [propName: string]: any;
156
159
  } | undefined;
157
- language?: string | undefined;
158
- editorTheme?: string | undefined;
159
- allowFullscreen?: boolean | undefined;
160
160
  } & {} & {
161
161
  locale?: string | undefined;
162
162
  translate?: ((str: string, ...args: any[]) => string) | undefined;
163
163
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
164
164
  componentWillMount?(): void;
165
165
  UNSAFE_componentWillMount?(): void;
166
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
166
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
167
+ editorTheme?: string | undefined;
167
168
  width?: string | number | undefined;
168
169
  height?: string | number | undefined;
170
+ language?: string | undefined;
171
+ allowFullscreen?: boolean | undefined;
169
172
  options?: {
170
173
  [propName: string]: any;
171
174
  } | undefined;
172
- language?: string | undefined;
173
- editorTheme?: string | undefined;
174
- allowFullscreen?: boolean | undefined;
175
175
  } & {} & {
176
176
  locale?: string | undefined;
177
177
  translate?: ((str: string, ...args: any[]) => string) | undefined;
178
178
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
179
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
179
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
180
+ editorTheme?: string | undefined;
180
181
  width?: string | number | undefined;
181
182
  height?: string | number | undefined;
183
+ language?: string | undefined;
184
+ allowFullscreen?: boolean | undefined;
182
185
  options?: {
183
186
  [propName: string]: any;
184
187
  } | undefined;
185
- language?: string | undefined;
186
- editorTheme?: string | undefined;
187
- allowFullscreen?: boolean | undefined;
188
188
  } & {} & {
189
189
  locale?: string | undefined;
190
190
  translate?: ((str: string, ...args: any[]) => string) | undefined;
191
191
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
192
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
192
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
193
+ editorTheme?: string | undefined;
193
194
  width?: string | number | undefined;
194
195
  height?: string | number | undefined;
196
+ language?: string | undefined;
197
+ allowFullscreen?: boolean | undefined;
195
198
  options?: {
196
199
  [propName: string]: any;
197
200
  } | undefined;
198
- language?: string | undefined;
199
- editorTheme?: string | undefined;
200
- allowFullscreen?: boolean | undefined;
201
201
  } & {} & {
202
202
  locale?: string | undefined;
203
203
  translate?: ((str: string, ...args: any[]) => string) | undefined;
204
204
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
205
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
205
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
206
+ editorTheme?: string | undefined;
206
207
  width?: string | number | undefined;
207
208
  height?: string | number | undefined;
209
+ language?: string | undefined;
210
+ allowFullscreen?: boolean | undefined;
208
211
  options?: {
209
212
  [propName: string]: any;
210
213
  } | undefined;
211
- language?: string | undefined;
212
- editorTheme?: string | undefined;
213
- allowFullscreen?: boolean | undefined;
214
214
  } & {} & {
215
215
  locale?: string | undefined;
216
216
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -219,15 +219,15 @@ declare const _default: {
219
219
  displayName: string;
220
220
  contextType: React.Context<string>;
221
221
  ComposedComponent: React.ComponentType<{
222
- new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
222
+ new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
223
+ editorTheme?: string | undefined;
223
224
  width?: string | number | undefined;
224
225
  height?: string | number | undefined;
226
+ language?: string | undefined;
227
+ allowFullscreen?: boolean | undefined;
225
228
  options?: {
226
229
  [propName: string]: any;
227
230
  } | undefined;
228
- language?: string | undefined;
229
- editorTheme?: string | undefined;
230
- allowFullscreen?: boolean | undefined;
231
231
  } & {} & {
232
232
  locale?: string | undefined;
233
233
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -237,29 +237,29 @@ declare const _default: {
237
237
  getWrappedInstance(): any;
238
238
  render(): React.JSX.Element;
239
239
  context: unknown;
240
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
240
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
241
+ editorTheme?: string | undefined;
241
242
  width?: string | number | undefined;
242
243
  height?: string | number | undefined;
244
+ language?: string | undefined;
245
+ allowFullscreen?: boolean | undefined;
243
246
  options?: {
244
247
  [propName: string]: any;
245
248
  } | undefined;
246
- language?: string | undefined;
247
- editorTheme?: string | undefined;
248
- allowFullscreen?: boolean | undefined;
249
249
  } & {} & {
250
250
  locale?: string | undefined;
251
251
  translate?: ((str: string, ...args: any[]) => string) | undefined;
252
252
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
253
253
  forceUpdate(callback?: (() => void) | undefined): void;
254
- readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
254
+ readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
255
+ editorTheme?: string | undefined;
255
256
  width?: string | number | undefined;
256
257
  height?: string | number | undefined;
258
+ language?: string | undefined;
259
+ allowFullscreen?: boolean | undefined;
257
260
  options?: {
258
261
  [propName: string]: any;
259
262
  } | undefined;
260
- language?: string | undefined;
261
- editorTheme?: string | undefined;
262
- allowFullscreen?: boolean | undefined;
263
263
  } & {} & {
264
264
  locale?: string | undefined;
265
265
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -269,97 +269,97 @@ declare const _default: {
269
269
  [key: string]: React.ReactInstance;
270
270
  };
271
271
  componentDidMount?(): void;
272
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
272
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
273
+ editorTheme?: string | undefined;
273
274
  width?: string | number | undefined;
274
275
  height?: string | number | undefined;
276
+ language?: string | undefined;
277
+ allowFullscreen?: boolean | undefined;
275
278
  options?: {
276
279
  [propName: string]: any;
277
280
  } | undefined;
278
- language?: string | undefined;
279
- editorTheme?: string | undefined;
280
- allowFullscreen?: boolean | undefined;
281
281
  } & {} & {
282
282
  locale?: string | undefined;
283
283
  translate?: ((str: string, ...args: any[]) => string) | undefined;
284
284
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
285
285
  componentWillUnmount?(): void;
286
286
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
287
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
287
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
288
+ editorTheme?: string | undefined;
288
289
  width?: string | number | undefined;
289
290
  height?: string | number | undefined;
291
+ language?: string | undefined;
292
+ allowFullscreen?: boolean | undefined;
290
293
  options?: {
291
294
  [propName: string]: any;
292
295
  } | undefined;
293
- language?: string | undefined;
294
- editorTheme?: string | undefined;
295
- allowFullscreen?: boolean | undefined;
296
296
  } & {} & {
297
297
  locale?: string | undefined;
298
298
  translate?: ((str: string, ...args: any[]) => string) | undefined;
299
299
  }>, prevState: Readonly<{}>): any;
300
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
300
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
301
+ editorTheme?: string | undefined;
301
302
  width?: string | number | undefined;
302
303
  height?: string | number | undefined;
304
+ language?: string | undefined;
305
+ allowFullscreen?: boolean | undefined;
303
306
  options?: {
304
307
  [propName: string]: any;
305
308
  } | undefined;
306
- language?: string | undefined;
307
- editorTheme?: string | undefined;
308
- allowFullscreen?: boolean | undefined;
309
309
  } & {} & {
310
310
  locale?: string | undefined;
311
311
  translate?: ((str: string, ...args: any[]) => string) | undefined;
312
312
  }>, prevState: Readonly<{}>, snapshot?: any): void;
313
313
  componentWillMount?(): void;
314
314
  UNSAFE_componentWillMount?(): void;
315
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
315
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
316
+ editorTheme?: string | undefined;
316
317
  width?: string | number | undefined;
317
318
  height?: string | number | undefined;
319
+ language?: string | undefined;
320
+ allowFullscreen?: boolean | undefined;
318
321
  options?: {
319
322
  [propName: string]: any;
320
323
  } | undefined;
321
- language?: string | undefined;
322
- editorTheme?: string | undefined;
323
- allowFullscreen?: boolean | undefined;
324
324
  } & {} & {
325
325
  locale?: string | undefined;
326
326
  translate?: ((str: string, ...args: any[]) => string) | undefined;
327
327
  }>, nextContext: any): void;
328
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
328
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
329
+ editorTheme?: string | undefined;
329
330
  width?: string | number | undefined;
330
331
  height?: string | number | undefined;
332
+ language?: string | undefined;
333
+ allowFullscreen?: boolean | undefined;
331
334
  options?: {
332
335
  [propName: string]: any;
333
336
  } | undefined;
334
- language?: string | undefined;
335
- editorTheme?: string | undefined;
336
- allowFullscreen?: boolean | undefined;
337
337
  } & {} & {
338
338
  locale?: string | undefined;
339
339
  translate?: ((str: string, ...args: any[]) => string) | undefined;
340
340
  }>, nextContext: any): void;
341
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
341
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
342
+ editorTheme?: string | undefined;
342
343
  width?: string | number | undefined;
343
344
  height?: string | number | undefined;
345
+ language?: string | undefined;
346
+ allowFullscreen?: boolean | undefined;
344
347
  options?: {
345
348
  [propName: string]: any;
346
349
  } | undefined;
347
- language?: string | undefined;
348
- editorTheme?: string | undefined;
349
- allowFullscreen?: boolean | undefined;
350
350
  } & {} & {
351
351
  locale?: string | undefined;
352
352
  translate?: ((str: string, ...args: any[]) => string) | undefined;
353
353
  }>, nextState: Readonly<{}>, nextContext: any): void;
354
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
354
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
355
+ editorTheme?: string | undefined;
355
356
  width?: string | number | undefined;
356
357
  height?: string | number | undefined;
358
+ language?: string | undefined;
359
+ allowFullscreen?: boolean | undefined;
357
360
  options?: {
358
361
  [propName: string]: any;
359
362
  } | undefined;
360
- language?: string | undefined;
361
- editorTheme?: string | undefined;
362
- allowFullscreen?: boolean | undefined;
363
363
  } & {} & {
364
364
  locale?: string | undefined;
365
365
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -372,15 +372,15 @@ declare const _default: {
372
372
  ComposedComponent: typeof Editor;
373
373
  }>;
374
374
  } & import("hoist-non-react-statics").NonReactStatics<{
375
- new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
375
+ new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
376
+ editorTheme?: string | undefined;
376
377
  width?: string | number | undefined;
377
378
  height?: string | number | undefined;
379
+ language?: string | undefined;
380
+ allowFullscreen?: boolean | undefined;
378
381
  options?: {
379
382
  [propName: string]: any;
380
383
  } | undefined;
381
- language?: string | undefined;
382
- editorTheme?: string | undefined;
383
- allowFullscreen?: boolean | undefined;
384
384
  } & {} & {
385
385
  locale?: string | undefined;
386
386
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -390,29 +390,29 @@ declare const _default: {
390
390
  getWrappedInstance(): any;
391
391
  render(): React.JSX.Element;
392
392
  context: unknown;
393
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
393
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
394
+ editorTheme?: string | undefined;
394
395
  width?: string | number | undefined;
395
396
  height?: string | number | undefined;
397
+ language?: string | undefined;
398
+ allowFullscreen?: boolean | undefined;
396
399
  options?: {
397
400
  [propName: string]: any;
398
401
  } | undefined;
399
- language?: string | undefined;
400
- editorTheme?: string | undefined;
401
- allowFullscreen?: boolean | undefined;
402
402
  } & {} & {
403
403
  locale?: string | undefined;
404
404
  translate?: ((str: string, ...args: any[]) => string) | undefined;
405
405
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
406
406
  forceUpdate(callback?: (() => void) | undefined): void;
407
- readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
407
+ readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
408
+ editorTheme?: string | undefined;
408
409
  width?: string | number | undefined;
409
410
  height?: string | number | undefined;
411
+ language?: string | undefined;
412
+ allowFullscreen?: boolean | undefined;
410
413
  options?: {
411
414
  [propName: string]: any;
412
415
  } | undefined;
413
- language?: string | undefined;
414
- editorTheme?: string | undefined;
415
- allowFullscreen?: boolean | undefined;
416
416
  } & {} & {
417
417
  locale?: string | undefined;
418
418
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -422,97 +422,97 @@ declare const _default: {
422
422
  [key: string]: React.ReactInstance;
423
423
  };
424
424
  componentDidMount?(): void;
425
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
425
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
426
+ editorTheme?: string | undefined;
426
427
  width?: string | number | undefined;
427
428
  height?: string | number | undefined;
429
+ language?: string | undefined;
430
+ allowFullscreen?: boolean | undefined;
428
431
  options?: {
429
432
  [propName: string]: any;
430
433
  } | undefined;
431
- language?: string | undefined;
432
- editorTheme?: string | undefined;
433
- allowFullscreen?: boolean | undefined;
434
434
  } & {} & {
435
435
  locale?: string | undefined;
436
436
  translate?: ((str: string, ...args: any[]) => string) | undefined;
437
437
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
438
438
  componentWillUnmount?(): void;
439
439
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
440
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
440
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
441
+ editorTheme?: string | undefined;
441
442
  width?: string | number | undefined;
442
443
  height?: string | number | undefined;
444
+ language?: string | undefined;
445
+ allowFullscreen?: boolean | undefined;
443
446
  options?: {
444
447
  [propName: string]: any;
445
448
  } | undefined;
446
- language?: string | undefined;
447
- editorTheme?: string | undefined;
448
- allowFullscreen?: boolean | undefined;
449
449
  } & {} & {
450
450
  locale?: string | undefined;
451
451
  translate?: ((str: string, ...args: any[]) => string) | undefined;
452
452
  }>, prevState: Readonly<{}>): any;
453
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
453
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
454
+ editorTheme?: string | undefined;
454
455
  width?: string | number | undefined;
455
456
  height?: string | number | undefined;
457
+ language?: string | undefined;
458
+ allowFullscreen?: boolean | undefined;
456
459
  options?: {
457
460
  [propName: string]: any;
458
461
  } | undefined;
459
- language?: string | undefined;
460
- editorTheme?: string | undefined;
461
- allowFullscreen?: boolean | undefined;
462
462
  } & {} & {
463
463
  locale?: string | undefined;
464
464
  translate?: ((str: string, ...args: any[]) => string) | undefined;
465
465
  }>, prevState: Readonly<{}>, snapshot?: any): void;
466
466
  componentWillMount?(): void;
467
467
  UNSAFE_componentWillMount?(): void;
468
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
468
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
469
+ editorTheme?: string | undefined;
469
470
  width?: string | number | undefined;
470
471
  height?: string | number | undefined;
472
+ language?: string | undefined;
473
+ allowFullscreen?: boolean | undefined;
471
474
  options?: {
472
475
  [propName: string]: any;
473
476
  } | undefined;
474
- language?: string | undefined;
475
- editorTheme?: string | undefined;
476
- allowFullscreen?: boolean | undefined;
477
477
  } & {} & {
478
478
  locale?: string | undefined;
479
479
  translate?: ((str: string, ...args: any[]) => string) | undefined;
480
480
  }>, nextContext: any): void;
481
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
481
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
482
+ editorTheme?: string | undefined;
482
483
  width?: string | number | undefined;
483
484
  height?: string | number | undefined;
485
+ language?: string | undefined;
486
+ allowFullscreen?: boolean | undefined;
484
487
  options?: {
485
488
  [propName: string]: any;
486
489
  } | undefined;
487
- language?: string | undefined;
488
- editorTheme?: string | undefined;
489
- allowFullscreen?: boolean | undefined;
490
490
  } & {} & {
491
491
  locale?: string | undefined;
492
492
  translate?: ((str: string, ...args: any[]) => string) | undefined;
493
493
  }>, nextContext: any): void;
494
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
494
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
495
+ editorTheme?: string | undefined;
495
496
  width?: string | number | undefined;
496
497
  height?: string | number | undefined;
498
+ language?: string | undefined;
499
+ allowFullscreen?: boolean | undefined;
497
500
  options?: {
498
501
  [propName: string]: any;
499
502
  } | undefined;
500
- language?: string | undefined;
501
- editorTheme?: string | undefined;
502
- allowFullscreen?: boolean | undefined;
503
503
  } & {} & {
504
504
  locale?: string | undefined;
505
505
  translate?: ((str: string, ...args: any[]) => string) | undefined;
506
506
  }>, nextState: Readonly<{}>, nextContext: any): void;
507
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
507
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
508
+ editorTheme?: string | undefined;
508
509
  width?: string | number | undefined;
509
510
  height?: string | number | undefined;
511
+ language?: string | undefined;
512
+ allowFullscreen?: boolean | undefined;
510
513
  options?: {
511
514
  [propName: string]: any;
512
515
  } | undefined;
513
- language?: string | undefined;
514
- editorTheme?: string | undefined;
515
- allowFullscreen?: boolean | undefined;
516
516
  } & {} & {
517
517
  locale?: string | undefined;
518
518
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -525,15 +525,15 @@ declare const _default: {
525
525
  ComposedComponent: typeof Editor;
526
526
  }, {}> & {
527
527
  ComposedComponent: {
528
- new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
528
+ new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
529
+ editorTheme?: string | undefined;
529
530
  width?: string | number | undefined;
530
531
  height?: string | number | undefined;
532
+ language?: string | undefined;
533
+ allowFullscreen?: boolean | undefined;
531
534
  options?: {
532
535
  [propName: string]: any;
533
536
  } | undefined;
534
- language?: string | undefined;
535
- editorTheme?: string | undefined;
536
- allowFullscreen?: boolean | undefined;
537
537
  } & {} & {
538
538
  locale?: string | undefined;
539
539
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -543,29 +543,29 @@ declare const _default: {
543
543
  getWrappedInstance(): any;
544
544
  render(): React.JSX.Element;
545
545
  context: unknown;
546
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
546
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
547
+ editorTheme?: string | undefined;
547
548
  width?: string | number | undefined;
548
549
  height?: string | number | undefined;
550
+ language?: string | undefined;
551
+ allowFullscreen?: boolean | undefined;
549
552
  options?: {
550
553
  [propName: string]: any;
551
554
  } | undefined;
552
- language?: string | undefined;
553
- editorTheme?: string | undefined;
554
- allowFullscreen?: boolean | undefined;
555
555
  } & {} & {
556
556
  locale?: string | undefined;
557
557
  translate?: ((str: string, ...args: any[]) => string) | undefined;
558
558
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
559
559
  forceUpdate(callback?: (() => void) | undefined): void;
560
- readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
560
+ readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
561
+ editorTheme?: string | undefined;
561
562
  width?: string | number | undefined;
562
563
  height?: string | number | undefined;
564
+ language?: string | undefined;
565
+ allowFullscreen?: boolean | undefined;
563
566
  options?: {
564
567
  [propName: string]: any;
565
568
  } | undefined;
566
- language?: string | undefined;
567
- editorTheme?: string | undefined;
568
- allowFullscreen?: boolean | undefined;
569
569
  } & {} & {
570
570
  locale?: string | undefined;
571
571
  translate?: ((str: string, ...args: any[]) => string) | undefined;
@@ -575,97 +575,97 @@ declare const _default: {
575
575
  [key: string]: React.ReactInstance;
576
576
  };
577
577
  componentDidMount?(): void;
578
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
578
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
579
+ editorTheme?: string | undefined;
579
580
  width?: string | number | undefined;
580
581
  height?: string | number | undefined;
582
+ language?: string | undefined;
583
+ allowFullscreen?: boolean | undefined;
581
584
  options?: {
582
585
  [propName: string]: any;
583
586
  } | undefined;
584
- language?: string | undefined;
585
- editorTheme?: string | undefined;
586
- allowFullscreen?: boolean | undefined;
587
587
  } & {} & {
588
588
  locale?: string | undefined;
589
589
  translate?: ((str: string, ...args: any[]) => string) | undefined;
590
590
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
591
591
  componentWillUnmount?(): void;
592
592
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
593
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
593
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
594
+ editorTheme?: string | undefined;
594
595
  width?: string | number | undefined;
595
596
  height?: string | number | undefined;
597
+ language?: string | undefined;
598
+ allowFullscreen?: boolean | undefined;
596
599
  options?: {
597
600
  [propName: string]: any;
598
601
  } | undefined;
599
- language?: string | undefined;
600
- editorTheme?: string | undefined;
601
- allowFullscreen?: boolean | undefined;
602
602
  } & {} & {
603
603
  locale?: string | undefined;
604
604
  translate?: ((str: string, ...args: any[]) => string) | undefined;
605
605
  }>, prevState: Readonly<{}>): any;
606
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
606
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
607
+ editorTheme?: string | undefined;
607
608
  width?: string | number | undefined;
608
609
  height?: string | number | undefined;
610
+ language?: string | undefined;
611
+ allowFullscreen?: boolean | undefined;
609
612
  options?: {
610
613
  [propName: string]: any;
611
614
  } | undefined;
612
- language?: string | undefined;
613
- editorTheme?: string | undefined;
614
- allowFullscreen?: boolean | undefined;
615
615
  } & {} & {
616
616
  locale?: string | undefined;
617
617
  translate?: ((str: string, ...args: any[]) => string) | undefined;
618
618
  }>, prevState: Readonly<{}>, snapshot?: any): void;
619
619
  componentWillMount?(): void;
620
620
  UNSAFE_componentWillMount?(): void;
621
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
621
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
622
+ editorTheme?: string | undefined;
622
623
  width?: string | number | undefined;
623
624
  height?: string | number | undefined;
625
+ language?: string | undefined;
626
+ allowFullscreen?: boolean | undefined;
624
627
  options?: {
625
628
  [propName: string]: any;
626
629
  } | undefined;
627
- language?: string | undefined;
628
- editorTheme?: string | undefined;
629
- allowFullscreen?: boolean | undefined;
630
630
  } & {} & {
631
631
  locale?: string | undefined;
632
632
  translate?: ((str: string, ...args: any[]) => string) | undefined;
633
633
  }>, nextContext: any): void;
634
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
634
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
635
+ editorTheme?: string | undefined;
635
636
  width?: string | number | undefined;
636
637
  height?: string | number | undefined;
638
+ language?: string | undefined;
639
+ allowFullscreen?: boolean | undefined;
637
640
  options?: {
638
641
  [propName: string]: any;
639
642
  } | undefined;
640
- language?: string | undefined;
641
- editorTheme?: string | undefined;
642
- allowFullscreen?: boolean | undefined;
643
643
  } & {} & {
644
644
  locale?: string | undefined;
645
645
  translate?: ((str: string, ...args: any[]) => string) | undefined;
646
646
  }>, nextContext: any): void;
647
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
647
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
648
+ editorTheme?: string | undefined;
648
649
  width?: string | number | undefined;
649
650
  height?: string | number | undefined;
651
+ language?: string | undefined;
652
+ allowFullscreen?: boolean | undefined;
650
653
  options?: {
651
654
  [propName: string]: any;
652
655
  } | undefined;
653
- language?: string | undefined;
654
- editorTheme?: string | undefined;
655
- allowFullscreen?: boolean | undefined;
656
656
  } & {} & {
657
657
  locale?: string | undefined;
658
658
  translate?: ((str: string, ...args: any[]) => string) | undefined;
659
659
  }>, nextState: Readonly<{}>, nextContext: any): void;
660
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "classPrefix" | "classnames" | "theme" | "mobileUI" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "placeholder" | "context" | "isDiffEditor" | "editorDidMount" | "editorWillMount" | "editorWillUnmount" | "editorFactory"> & {
660
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "className" | "classnames" | "mobileUI" | "style" | "classPrefix" | "theme" | "onChange" | "value" | "disabled" | "placeholder" | "defaultValue" | "onFocus" | "onBlur" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
661
+ editorTheme?: string | undefined;
661
662
  width?: string | number | undefined;
662
663
  height?: string | number | undefined;
664
+ language?: string | undefined;
665
+ allowFullscreen?: boolean | undefined;
663
666
  options?: {
664
667
  [propName: string]: any;
665
668
  } | undefined;
666
- language?: string | undefined;
667
- editorTheme?: string | undefined;
668
- allowFullscreen?: boolean | undefined;
669
669
  } & {} & {
670
670
  locale?: string | undefined;
671
671
  translate?: ((str: string, ...args: any[]) => string) | undefined;