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

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