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