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