amis-ui 6.11.0-beta.8 → 6.11.0

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