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