amis-ui 6.14.0-beta.9 → 7.0.0-next.1

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 (769) hide show
  1. package/esm/HTMLFilterContext.js +1 -1
  2. package/esm/components/404.js +1 -1
  3. package/esm/components/Alert.d.ts +40 -40
  4. package/esm/components/Alert.js +1 -1
  5. package/esm/components/Alert2.d.ts +20 -20
  6. package/esm/components/Alert2.js +1 -1
  7. package/esm/components/AlphabetIndexer.js +1 -1
  8. package/esm/components/AnchorNav.d.ts +10 -10
  9. package/esm/components/AnchorNav.js +1 -1
  10. package/esm/components/AnchorNavSection.js +1 -1
  11. package/esm/components/ArrayInput.d.ts +40 -40
  12. package/esm/components/ArrayInput.js +3 -4
  13. package/esm/components/AsideNav.js +1 -1
  14. package/esm/components/AssociatedSelection.d.ts +40 -40
  15. package/esm/components/AssociatedSelection.js +1 -1
  16. package/esm/components/AutoFoldedList.js +1 -1
  17. package/esm/components/AutoSizer.js +1 -1
  18. package/esm/components/Avatar.d.ts +70 -70
  19. package/esm/components/Avatar.js +1 -1
  20. package/esm/components/Badge.js +1 -1
  21. package/esm/components/BaiduMapPicker.js +1 -1
  22. package/esm/components/BarCode.js +1 -1
  23. package/esm/components/Breadcrumb.js +1 -1
  24. package/esm/components/Button.d.ts +40 -40
  25. package/esm/components/Button.js +3 -2
  26. package/esm/components/CalendarMobile.d.ts +40 -40
  27. package/esm/components/CalendarMobile.js +1 -1
  28. package/esm/components/Card.d.ts +40 -40
  29. package/esm/components/Card.js +1 -1
  30. package/esm/components/Cascader.js +1 -1
  31. package/esm/components/ChainedDropdownSelection.d.ts +40 -40
  32. package/esm/components/ChainedDropdownSelection.js +1 -1
  33. package/esm/components/ChainedSelection.d.ts +40 -40
  34. package/esm/components/ChainedSelection.js +1 -1
  35. package/esm/components/Checkbox.d.ts +10 -10
  36. package/esm/components/Checkbox.js +1 -1
  37. package/esm/components/CityArea.js +1 -1
  38. package/esm/components/CityDB.js +1 -1
  39. package/esm/components/CodeMirror.js +1 -1
  40. package/esm/components/Collapse.d.ts +36 -35
  41. package/esm/components/Collapse.js +43 -24
  42. package/esm/components/CollapseGroup.d.ts +20 -20
  43. package/esm/components/CollapseGroup.js +1 -1
  44. package/esm/components/ColorPicker.d.ts +40 -40
  45. package/esm/components/ColorPicker.js +3 -4
  46. package/esm/components/Combo.js +1 -1
  47. package/esm/components/ConditionBuilder.js +1 -1
  48. package/esm/components/ConfirmBox.d.ts +40 -40
  49. package/esm/components/ConfirmBox.js +3 -4
  50. package/esm/components/ContextMenu.d.ts +3 -2
  51. package/esm/components/ContextMenu.js +22 -9
  52. package/esm/components/DatePicker.d.ts +40 -40
  53. package/esm/components/DatePicker.js +1 -1
  54. package/esm/components/DateRangePicker.d.ts +40 -40
  55. package/esm/components/DateRangePicker.js +3 -4
  56. package/esm/components/DiffEditor.js +1 -1
  57. package/esm/components/DndContainer.js +1 -1
  58. package/esm/components/Drawer.d.ts +11 -10
  59. package/esm/components/Drawer.js +7 -3
  60. package/esm/components/DropDownSelection.d.ts +40 -40
  61. package/esm/components/DropDownSelection.js +3 -4
  62. package/esm/components/DropdownContextMenus.js +1 -1
  63. package/esm/components/Editor.d.ts +40 -40
  64. package/esm/components/Editor.js +1 -1
  65. package/esm/components/Form.js +1 -1
  66. package/esm/components/FormField.js +1 -1
  67. package/esm/components/FormulaPicker.js +1 -1
  68. package/esm/components/GaodeMapPicker.js +1 -1
  69. package/esm/components/GridNav.js +1 -1
  70. package/esm/components/GridNavItem.js +1 -1
  71. package/esm/components/GroupedSelection.d.ts +40 -40
  72. package/esm/components/GroupedSelection.js +1 -1
  73. package/esm/components/HeadCellDropDown.js +1 -1
  74. package/esm/components/HorizontalScroll.js +1 -1
  75. package/esm/components/Html.js +1 -1
  76. package/esm/components/Icon.js +1 -1
  77. package/esm/components/ImageGallery.d.ts +40 -40
  78. package/esm/components/ImageGallery.js +1 -1
  79. package/esm/components/Input.js +1 -1
  80. package/esm/components/InputBox.d.ts +10 -10
  81. package/esm/components/InputBox.js +1 -1
  82. package/esm/components/InputBoxWithSuggestion.js +3 -4
  83. package/esm/components/InputJSONSchema.js +1 -1
  84. package/esm/components/InputTable.js +1 -1
  85. package/esm/components/JSONSchemaEditor.js +1 -1
  86. package/esm/components/Layout.js +1 -1
  87. package/esm/components/Link.js +1 -1
  88. package/esm/components/ListGroup.d.ts +10 -10
  89. package/esm/components/ListGroup.js +1 -1
  90. package/esm/components/ListMenu.d.ts +40 -40
  91. package/esm/components/ListMenu.js +1 -1
  92. package/esm/components/LocationPicker.d.ts +40 -40
  93. package/esm/components/LocationPicker.js +1 -1
  94. package/esm/components/Markdown.js +1 -1
  95. package/esm/components/Menu.js +1 -1
  96. package/esm/components/MixedInput.js +1 -1
  97. package/esm/components/MobileDevTool.js +1 -1
  98. package/esm/components/Modal.d.ts +82 -80
  99. package/esm/components/Modal.js +10 -5
  100. package/esm/components/ModalManager.js +1 -1
  101. package/esm/components/MonthRangePicker.d.ts +40 -40
  102. package/esm/components/MultilineText.d.ts +40 -40
  103. package/esm/components/MultilineText.js +1 -1
  104. package/esm/components/NumberInput.d.ts +10 -10
  105. package/esm/components/NumberInput.js +1 -1
  106. package/esm/components/OverflowTpl.js +4 -5
  107. package/esm/components/Pagination.d.ts +80 -80
  108. package/esm/components/Pagination.js +1 -1
  109. package/esm/components/PdfViewer.js +1 -1
  110. package/esm/components/Picker.js +1 -1
  111. package/esm/components/PickerColumn.js +1 -1
  112. package/esm/components/PickerContainer.js +1 -1
  113. package/esm/components/PopOverContainer.js +4 -5
  114. package/esm/components/PopUp.d.ts +81 -80
  115. package/esm/components/PopUp.js +4 -3
  116. package/esm/components/Progress.d.ts +20 -20
  117. package/esm/components/Progress.js +1 -1
  118. package/esm/components/PullRefresh.js +1 -1
  119. package/esm/components/Radios.d.ts +10 -10
  120. package/esm/components/Radios.js +1 -1
  121. package/esm/components/Range.js +3 -4
  122. package/esm/components/Rating.d.ts +10 -10
  123. package/esm/components/Rating.js +1 -1
  124. package/esm/components/ResultBox.d.ts +40 -40
  125. package/esm/components/ResultBox.js +1 -1
  126. package/esm/components/ResultList.d.ts +40 -40
  127. package/esm/components/ResultList.js +3 -4
  128. package/esm/components/ResultTableList.d.ts +40 -40
  129. package/esm/components/ResultTableList.js +1 -1
  130. package/esm/components/ResultTreeList.d.ts +40 -40
  131. package/esm/components/ResultTreeList.js +1 -1
  132. package/esm/components/RichText.js +1 -1
  133. package/esm/components/SearchBox.d.ts +40 -40
  134. package/esm/components/SearchBox.js +1 -1
  135. package/esm/components/Select.d.ts +199 -199
  136. package/esm/components/Select.js +3 -4
  137. package/esm/components/SelectMobile.js +3 -4
  138. package/esm/components/Selection.d.ts +40 -40
  139. package/esm/components/Selection.js +1 -1
  140. package/esm/components/Shape.js +1 -1
  141. package/esm/components/Signature.js +1 -1
  142. package/esm/components/Slider.js +1 -1
  143. package/esm/components/SparkLine.d.ts +40 -40
  144. package/esm/components/SparkLine.js +1 -1
  145. package/esm/components/Spinner.d.ts +21 -20
  146. package/esm/components/Spinner.js +6 -4
  147. package/esm/components/Steps.js +1 -1
  148. package/esm/components/Switch.d.ts +10 -10
  149. package/esm/components/Switch.js +1 -1
  150. package/esm/components/Tab.js +1 -1
  151. package/esm/components/Table.js +1 -1
  152. package/esm/components/TableSelection.d.ts +40 -40
  153. package/esm/components/TableSelection.js +1 -1
  154. package/esm/components/Tabs.d.ts +81 -80
  155. package/esm/components/Tabs.js +11 -8
  156. package/esm/components/TabsTransfer.d.ts +40 -40
  157. package/esm/components/TabsTransfer.js +1 -1
  158. package/esm/components/TabsTransferPicker.js +1 -1
  159. package/esm/components/Tag.d.ts +40 -40
  160. package/esm/components/Tag.js +1 -1
  161. package/esm/components/Textarea.d.ts +40 -40
  162. package/esm/components/Textarea.js +3 -4
  163. package/esm/components/Timeline.js +1 -1
  164. package/esm/components/TimelineItem.d.ts +1 -1
  165. package/esm/components/TimelineItem.js +1 -1
  166. package/esm/components/Tinymce.js +8 -6
  167. package/esm/components/TitleBar.js +1 -1
  168. package/esm/components/Toast.d.ts +81 -80
  169. package/esm/components/Toast.js +4 -3
  170. package/esm/components/Tooltip.js +1 -1
  171. package/esm/components/TooltipWrapper.d.ts +31 -31
  172. package/esm/components/TooltipWrapper.js +3 -4
  173. package/esm/components/Transfer.d.ts +40 -40
  174. package/esm/components/Transfer.js +1 -1
  175. package/esm/components/TransferDropDown.d.ts +40 -40
  176. package/esm/components/TransferDropDown.js +1 -1
  177. package/esm/components/TransferPicker.js +1 -1
  178. package/esm/components/TransferSearch.js +1 -1
  179. package/esm/components/Tree.d.ts +43 -40
  180. package/esm/components/Tree.js +22 -8
  181. package/esm/components/TreeSelection.d.ts +40 -40
  182. package/esm/components/TreeSelection.js +1 -1
  183. package/esm/components/UserSelect.d.ts +40 -40
  184. package/esm/components/UserSelect.js +1 -1
  185. package/esm/components/UserTabSelect.d.ts +40 -40
  186. package/esm/components/UserTabSelect.js +1 -1
  187. package/esm/components/VerificationCode.js +1 -1
  188. package/esm/components/VirtualList.js +1 -1
  189. package/esm/components/WithRemoteConfig.d.ts +12 -12
  190. package/esm/components/WithRemoteConfig.js +1 -1
  191. package/esm/components/WithStore.js +1 -1
  192. package/esm/components/calendar/Calendar.js +1 -1
  193. package/esm/components/calendar/CalendarContainer.js +1 -1
  194. package/esm/components/calendar/DaysView.js +1 -1
  195. package/esm/components/calendar/MonthsView.js +1 -1
  196. package/esm/components/calendar/QuartersView.js +1 -1
  197. package/esm/components/calendar/TimeView.js +1 -1
  198. package/esm/components/calendar/YearsView.js +1 -1
  199. package/esm/components/condition-builder/Expression.js +1 -1
  200. package/esm/components/condition-builder/Field.js +1 -1
  201. package/esm/components/condition-builder/Func.js +1 -1
  202. package/esm/components/condition-builder/Group.js +11 -7
  203. package/esm/components/condition-builder/GroupOrItem.js +4 -2
  204. package/esm/components/condition-builder/InputSwitch.js +1 -1
  205. package/esm/components/condition-builder/Item.js +3 -4
  206. package/esm/components/condition-builder/Value.js +3 -2
  207. package/esm/components/condition-builder/config.js +1 -1
  208. package/esm/components/condition-builder/index.js +7 -3
  209. package/esm/components/formula/CodeEditor.js +1 -1
  210. package/esm/components/formula/Editor.d.ts +41 -40
  211. package/esm/components/formula/Editor.js +4 -3
  212. package/esm/components/formula/FuncList.js +1 -1
  213. package/esm/components/formula/Input.js +1 -1
  214. package/esm/components/formula/Picker.d.ts +40 -40
  215. package/esm/components/formula/Picker.js +1 -1
  216. package/esm/components/formula/VariableList.js +1 -1
  217. package/esm/components/formula/plugin.js +1 -1
  218. package/esm/components/icons.js +1 -1
  219. package/esm/components/json-schema/Array.js +1 -1
  220. package/esm/components/json-schema/Item.js +1 -1
  221. package/esm/components/json-schema/Object.js +1 -1
  222. package/esm/components/json-schema/index.js +1 -1
  223. package/esm/components/menu/MenuContext.js +1 -1
  224. package/esm/components/menu/MenuItem.js +1 -1
  225. package/esm/components/menu/PanelMenu.js +1 -1
  226. package/esm/components/menu/SubMenu.js +1 -1
  227. package/esm/components/menu/index.d.ts +30 -30
  228. package/esm/components/menu/index.js +1 -1
  229. package/esm/components/schema-editor/Array.js +1 -1
  230. package/esm/components/schema-editor/Common.js +1 -1
  231. package/esm/components/schema-editor/Item.js +1 -1
  232. package/esm/components/schema-editor/Object.js +1 -1
  233. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  234. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  235. package/esm/components/schema-editor/index.d.ts +40 -40
  236. package/esm/components/schema-editor/index.js +1 -1
  237. package/esm/components/table/Cell.js +1 -1
  238. package/esm/components/table/ColGroup.js +1 -1
  239. package/esm/components/table/Head.js +1 -1
  240. package/esm/components/table/HeadCellDropDown.js +3 -4
  241. package/esm/components/table/HeadCellFilter.d.ts +40 -40
  242. package/esm/components/table/HeadCellFilter.js +3 -4
  243. package/esm/components/table/HeadCellSelect.d.ts +40 -40
  244. package/esm/components/table/HeadCellSelect.js +3 -4
  245. package/esm/components/table/HeadCellSort.js +1 -1
  246. package/esm/components/table/ItemActionsWrapper.js +1 -1
  247. package/esm/components/table/Row.js +1 -1
  248. package/esm/components/table/SummaryRow.js +1 -1
  249. package/esm/components/table/index.d.ts +80 -80
  250. package/esm/components/table/index.js +6 -6
  251. package/esm/components/table/util.d.ts +14 -14
  252. package/esm/components/table/util.js +1 -1
  253. package/esm/components/virtual-list/AutoSizer.js +3 -4
  254. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  255. package/esm/components/virtual-list/constants.js +1 -1
  256. package/esm/components/virtual-list/index.js +1 -1
  257. package/esm/components/withBadge.js +1 -1
  258. package/esm/hooks/use-click-away.js +1 -1
  259. package/esm/hooks/use-on-screen.js +1 -1
  260. package/esm/hooks/use-set-state.js +1 -1
  261. package/esm/hooks/use-sub-form.js +1 -1
  262. package/esm/hooks/use-touch.js +1 -1
  263. package/esm/hooks/use-update-effect.js +1 -1
  264. package/esm/hooks/use-validation-resolver.js +1 -1
  265. package/esm/icons/alert-danger.svg.js +1 -1
  266. package/esm/icons/alert-info.svg.js +1 -1
  267. package/esm/icons/alert-success.svg.js +1 -1
  268. package/esm/icons/alert-warning.svg.js +1 -1
  269. package/esm/icons/arrow-double-left.svg.js +1 -1
  270. package/esm/icons/arrow-double-right.svg.js +1 -1
  271. package/esm/icons/back.svg.js +1 -1
  272. package/esm/icons/calendar.svg.js +1 -1
  273. package/esm/icons/caret.svg.js +1 -1
  274. package/esm/icons/check.svg.js +1 -1
  275. package/esm/icons/clock.svg.js +1 -1
  276. package/esm/icons/close-small.svg.js +1 -1
  277. package/esm/icons/close.svg.js +1 -1
  278. package/esm/icons/cloud-upload.svg.js +1 -1
  279. package/esm/icons/column-filter.svg.js +1 -1
  280. package/esm/icons/columns.svg.js +1 -1
  281. package/esm/icons/compress-alt.svg.js +1 -1
  282. package/esm/icons/copy.svg.js +1 -1
  283. package/esm/icons/date.svg.js +1 -1
  284. package/esm/icons/department.svg.js +1 -1
  285. package/esm/icons/desk-empty.svg.js +1 -1
  286. package/esm/icons/dot.svg.js +1 -1
  287. package/esm/icons/down-arrow-bold.svg.js +1 -1
  288. package/esm/icons/down.svg.js +1 -1
  289. package/esm/icons/download.svg.js +1 -1
  290. package/esm/icons/drag-bar.svg.js +1 -1
  291. package/esm/icons/drag.svg.js +1 -1
  292. package/esm/icons/edit.svg.js +1 -1
  293. package/esm/icons/ellipsis-v.svg.js +1 -1
  294. package/esm/icons/enter.svg.js +1 -1
  295. package/esm/icons/exchange.svg.js +1 -1
  296. package/esm/icons/expand-alt.svg.js +1 -1
  297. package/esm/icons/fail.svg.js +1 -1
  298. package/esm/icons/file.svg.js +1 -1
  299. package/esm/icons/filter.svg.js +1 -1
  300. package/esm/icons/folder.svg.js +1 -1
  301. package/esm/icons/fullscreen.svg.js +1 -1
  302. package/esm/icons/function.svg.js +1 -1
  303. package/esm/icons/home.svg.js +1 -1
  304. package/esm/icons/if.svg.js +1 -1
  305. package/esm/icons/image.svg.js +1 -1
  306. package/esm/icons/info-circle.svg.js +1 -1
  307. package/esm/icons/info.svg.js +1 -1
  308. package/esm/icons/input-clear.svg.js +1 -1
  309. package/esm/icons/invisible.svg.js +1 -1
  310. package/esm/icons/left-arrow.svg.js +1 -1
  311. package/esm/icons/loading-outline.svg.js +1 -1
  312. package/esm/icons/location.svg.js +1 -1
  313. package/esm/icons/menu.svg.js +1 -1
  314. package/esm/icons/minus.svg.js +1 -1
  315. package/esm/icons/move.svg.js +1 -1
  316. package/esm/icons/mute.svg.js +1 -1
  317. package/esm/icons/new-edit.svg.js +1 -1
  318. package/esm/icons/pause.svg.js +1 -1
  319. package/esm/icons/pencil.svg.js +1 -1
  320. package/esm/icons/play.svg.js +1 -1
  321. package/esm/icons/plus-cicle.svg.js +1 -1
  322. package/esm/icons/plus-fine.svg.js +1 -1
  323. package/esm/icons/plus.svg.js +1 -1
  324. package/esm/icons/post.svg.js +1 -1
  325. package/esm/icons/question-mark.svg.js +1 -1
  326. package/esm/icons/question.svg.js +1 -1
  327. package/esm/icons/question2.svg.js +1 -1
  328. package/esm/icons/redo.svg.js +1 -1
  329. package/esm/icons/refresh.svg.js +1 -1
  330. package/esm/icons/reload.svg.js +1 -1
  331. package/esm/icons/remove.svg.js +1 -1
  332. package/esm/icons/retry.svg.js +1 -1
  333. package/esm/icons/right-arrow-bold.svg.js +1 -1
  334. package/esm/icons/right-arrow.svg.js +1 -1
  335. package/esm/icons/right-double-arrow.svg.js +1 -1
  336. package/esm/icons/role.svg.js +1 -1
  337. package/esm/icons/rotate-left.svg.js +1 -1
  338. package/esm/icons/rotate-right.svg.js +1 -1
  339. package/esm/icons/rotate-screen.svg.js +1 -1
  340. package/esm/icons/scale-origin.svg.js +1 -1
  341. package/esm/icons/schedule.svg.js +1 -1
  342. package/esm/icons/search.svg.js +1 -1
  343. package/esm/icons/setting.svg.js +1 -1
  344. package/esm/icons/slider-handle-icon.svg.js +1 -1
  345. package/esm/icons/sort-asc.svg.js +1 -1
  346. package/esm/icons/sort-default.svg.js +1 -1
  347. package/esm/icons/sort-desc.svg.js +1 -1
  348. package/esm/icons/star.svg.js +1 -1
  349. package/esm/icons/status-close.svg.js +1 -1
  350. package/esm/icons/steps-finsh.svg.js +1 -1
  351. package/esm/icons/sub-plus.svg.js +1 -1
  352. package/esm/icons/success.svg.js +1 -1
  353. package/esm/icons/transparent.svg.js +1 -1
  354. package/esm/icons/trash.svg.js +1 -1
  355. package/esm/icons/tree-down.svg.js +1 -1
  356. package/esm/icons/undo-normal.svg.js +1 -1
  357. package/esm/icons/undo.svg.js +1 -1
  358. package/esm/icons/unfullscreen.svg.js +1 -1
  359. package/esm/icons/upload.svg.js +1 -1
  360. package/esm/icons/user-remove.svg.js +1 -1
  361. package/esm/icons/view.svg.js +1 -1
  362. package/esm/icons/volume.svg.js +1 -1
  363. package/esm/icons/warning-mark.svg.js +1 -1
  364. package/esm/icons/warning.svg.js +1 -1
  365. package/esm/icons/window-restore.svg.js +1 -1
  366. package/esm/icons/zoom-in.svg.js +1 -1
  367. package/esm/icons/zoom-out.svg.js +1 -1
  368. package/esm/index.js +1 -1
  369. package/esm/locale/de-DE.js +1 -1
  370. package/esm/locale/en-US.js +1 -1
  371. package/esm/locale/zh-CN.js +1 -1
  372. package/esm/themes/ang.js +1 -1
  373. package/esm/themes/antd.js +1 -1
  374. package/esm/themes/cxd.js +1 -1
  375. package/esm/themes/dark.js +1 -1
  376. package/esm/utils/vectorComputed.js +1 -1
  377. package/esm/withRemoteConfig.js +1 -1
  378. package/esm/withStore.js +1 -1
  379. package/lib/HTMLFilterContext.js +1 -1
  380. package/lib/components/404.js +1 -1
  381. package/lib/components/Alert.d.ts +40 -40
  382. package/lib/components/Alert.js +1 -1
  383. package/lib/components/Alert2.js +1 -1
  384. package/lib/components/AlphabetIndexer.js +1 -1
  385. package/lib/components/AnchorNav.d.ts +10 -10
  386. package/lib/components/AnchorNav.js +1 -1
  387. package/lib/components/AnchorNavSection.js +1 -1
  388. package/lib/components/ArrayInput.d.ts +40 -40
  389. package/lib/components/ArrayInput.js +2 -3
  390. package/lib/components/AsideNav.js +1 -1
  391. package/lib/components/AssociatedSelection.d.ts +40 -40
  392. package/lib/components/AssociatedSelection.js +1 -1
  393. package/lib/components/AutoFoldedList.js +1 -1
  394. package/lib/components/AutoSizer.js +1 -1
  395. package/lib/components/Avatar.d.ts +50 -50
  396. package/lib/components/Avatar.js +1 -1
  397. package/lib/components/Badge.d.ts +1 -1
  398. package/lib/components/Badge.js +1 -1
  399. package/lib/components/BaiduMapPicker.js +1 -1
  400. package/lib/components/BarCode.js +1 -1
  401. package/lib/components/Breadcrumb.js +1 -1
  402. package/lib/components/Button.d.ts +20 -20
  403. package/lib/components/Button.js +3 -2
  404. package/lib/components/CalendarMobile.d.ts +40 -40
  405. package/lib/components/CalendarMobile.js +1 -1
  406. package/lib/components/Card.d.ts +50 -50
  407. package/lib/components/Card.js +1 -1
  408. package/lib/components/Cascader.js +1 -1
  409. package/lib/components/ChainedDropdownSelection.d.ts +40 -40
  410. package/lib/components/ChainedDropdownSelection.js +1 -1
  411. package/lib/components/ChainedSelection.d.ts +40 -40
  412. package/lib/components/ChainedSelection.js +1 -1
  413. package/lib/components/Checkbox.d.ts +10 -10
  414. package/lib/components/Checkbox.js +1 -1
  415. package/lib/components/CityArea.js +1 -1
  416. package/lib/components/CityDB.js +1 -1
  417. package/lib/components/CodeMirror.js +1 -1
  418. package/lib/components/Collapse.d.ts +26 -25
  419. package/lib/components/Collapse.js +43 -24
  420. package/lib/components/CollapseGroup.d.ts +20 -20
  421. package/lib/components/CollapseGroup.js +1 -1
  422. package/lib/components/ColorPicker.d.ts +40 -40
  423. package/lib/components/ColorPicker.js +3 -4
  424. package/lib/components/Combo.js +1 -1
  425. package/lib/components/ConditionBuilder.js +1 -1
  426. package/lib/components/ConfirmBox.js +2 -3
  427. package/lib/components/ContextMenu.d.ts +3 -2
  428. package/lib/components/ContextMenu.js +22 -9
  429. package/lib/components/DatePicker.d.ts +40 -40
  430. package/lib/components/DatePicker.js +1 -1
  431. package/lib/components/DateRangePicker.d.ts +40 -40
  432. package/lib/components/DateRangePicker.js +3 -4
  433. package/lib/components/DiffEditor.js +1 -1
  434. package/lib/components/DndContainer.js +1 -1
  435. package/lib/components/Drawer.d.ts +21 -20
  436. package/lib/components/Drawer.js +7 -3
  437. package/lib/components/DropDownSelection.d.ts +40 -40
  438. package/lib/components/DropDownSelection.js +3 -4
  439. package/lib/components/DropdownContextMenus.js +1 -1
  440. package/lib/components/Editor.d.ts +40 -40
  441. package/lib/components/Editor.js +1 -1
  442. package/lib/components/Form.js +1 -1
  443. package/lib/components/FormField.js +1 -1
  444. package/lib/components/FormulaPicker.js +1 -1
  445. package/lib/components/GaodeMapPicker.js +1 -1
  446. package/lib/components/GridNav.js +1 -1
  447. package/lib/components/GridNavItem.js +1 -1
  448. package/lib/components/GroupedSelection.d.ts +40 -40
  449. package/lib/components/GroupedSelection.js +1 -1
  450. package/lib/components/HeadCellDropDown.js +1 -1
  451. package/lib/components/HorizontalScroll.js +1 -1
  452. package/lib/components/Html.js +1 -1
  453. package/lib/components/Icon.js +1 -1
  454. package/lib/components/ImageGallery.d.ts +40 -40
  455. package/lib/components/ImageGallery.js +1 -1
  456. package/lib/components/Input.js +1 -1
  457. package/lib/components/InputBox.d.ts +10 -10
  458. package/lib/components/InputBox.js +1 -1
  459. package/lib/components/InputBoxWithSuggestion.js +2 -3
  460. package/lib/components/InputJSONSchema.js +1 -1
  461. package/lib/components/InputTable.js +1 -1
  462. package/lib/components/JSONSchemaEditor.js +1 -1
  463. package/lib/components/Layout.js +1 -1
  464. package/lib/components/Link.js +1 -1
  465. package/lib/components/ListGroup.d.ts +10 -10
  466. package/lib/components/ListGroup.js +1 -1
  467. package/lib/components/ListMenu.d.ts +40 -40
  468. package/lib/components/ListMenu.js +1 -1
  469. package/lib/components/LocationPicker.d.ts +40 -40
  470. package/lib/components/LocationPicker.js +1 -1
  471. package/lib/components/Markdown.js +1 -1
  472. package/lib/components/Menu.js +1 -1
  473. package/lib/components/MixedInput.js +1 -1
  474. package/lib/components/MobileDevTool.js +1 -1
  475. package/lib/components/Modal.d.ts +82 -80
  476. package/lib/components/Modal.js +10 -5
  477. package/lib/components/ModalManager.js +1 -1
  478. package/lib/components/MonthRangePicker.d.ts +40 -40
  479. package/lib/components/MultilineText.d.ts +40 -40
  480. package/lib/components/MultilineText.js +1 -1
  481. package/lib/components/NumberInput.d.ts +10 -10
  482. package/lib/components/NumberInput.js +1 -1
  483. package/lib/components/OverflowTpl.js +4 -5
  484. package/lib/components/Pagination.d.ts +40 -40
  485. package/lib/components/Pagination.js +1 -1
  486. package/lib/components/PdfViewer.js +1 -1
  487. package/lib/components/Picker.js +1 -1
  488. package/lib/components/PickerColumn.js +1 -1
  489. package/lib/components/PickerContainer.js +1 -1
  490. package/lib/components/PopOverContainer.js +3 -4
  491. package/lib/components/PopUp.d.ts +81 -80
  492. package/lib/components/PopUp.js +4 -3
  493. package/lib/components/Progress.d.ts +50 -50
  494. package/lib/components/Progress.js +1 -1
  495. package/lib/components/PullRefresh.js +1 -1
  496. package/lib/components/Radios.d.ts +10 -10
  497. package/lib/components/Radios.js +1 -1
  498. package/lib/components/Range.js +2 -3
  499. package/lib/components/Rating.d.ts +10 -10
  500. package/lib/components/Rating.js +1 -1
  501. package/lib/components/ResultBox.d.ts +40 -40
  502. package/lib/components/ResultBox.js +1 -1
  503. package/lib/components/ResultList.d.ts +40 -40
  504. package/lib/components/ResultList.js +3 -4
  505. package/lib/components/ResultTableList.d.ts +40 -40
  506. package/lib/components/ResultTableList.js +1 -1
  507. package/lib/components/ResultTreeList.d.ts +40 -40
  508. package/lib/components/ResultTreeList.js +1 -1
  509. package/lib/components/RichText.js +1 -1
  510. package/lib/components/SearchBox.d.ts +40 -40
  511. package/lib/components/SearchBox.js +1 -1
  512. package/lib/components/Select.d.ts +199 -199
  513. package/lib/components/Select.js +2 -3
  514. package/lib/components/SelectMobile.js +3 -4
  515. package/lib/components/Selection.d.ts +40 -40
  516. package/lib/components/Selection.js +1 -1
  517. package/lib/components/Shape.js +1 -1
  518. package/lib/components/Signature.js +1 -1
  519. package/lib/components/Slider.js +1 -1
  520. package/lib/components/SparkLine.d.ts +40 -40
  521. package/lib/components/SparkLine.js +1 -1
  522. package/lib/components/Spinner.d.ts +11 -10
  523. package/lib/components/Spinner.js +6 -4
  524. package/lib/components/Steps.js +1 -1
  525. package/lib/components/Switch.d.ts +10 -10
  526. package/lib/components/Switch.js +1 -1
  527. package/lib/components/Tab.js +1 -1
  528. package/lib/components/Table.js +1 -1
  529. package/lib/components/TableSelection.d.ts +40 -40
  530. package/lib/components/TableSelection.js +1 -1
  531. package/lib/components/Tabs.d.ts +41 -40
  532. package/lib/components/Tabs.js +10 -7
  533. package/lib/components/TabsTransfer.d.ts +40 -40
  534. package/lib/components/TabsTransfer.js +1 -1
  535. package/lib/components/TabsTransferPicker.js +1 -1
  536. package/lib/components/Tag.d.ts +40 -40
  537. package/lib/components/Tag.js +1 -1
  538. package/lib/components/Textarea.d.ts +40 -40
  539. package/lib/components/Textarea.js +3 -4
  540. package/lib/components/Timeline.js +1 -1
  541. package/lib/components/TimelineItem.js +1 -1
  542. package/lib/components/Tinymce.js +8 -6
  543. package/lib/components/TitleBar.js +1 -1
  544. package/lib/components/Toast.d.ts +41 -40
  545. package/lib/components/Toast.js +4 -3
  546. package/lib/components/Tooltip.js +1 -1
  547. package/lib/components/TooltipWrapper.d.ts +11 -11
  548. package/lib/components/TooltipWrapper.js +2 -3
  549. package/lib/components/Transfer.d.ts +40 -40
  550. package/lib/components/Transfer.js +1 -1
  551. package/lib/components/TransferDropDown.d.ts +40 -40
  552. package/lib/components/TransferDropDown.js +1 -1
  553. package/lib/components/TransferPicker.js +1 -1
  554. package/lib/components/TransferSearch.js +1 -1
  555. package/lib/components/Tree.d.ts +43 -40
  556. package/lib/components/Tree.js +22 -8
  557. package/lib/components/TreeSelection.d.ts +40 -40
  558. package/lib/components/TreeSelection.js +1 -1
  559. package/lib/components/UserSelect.d.ts +40 -40
  560. package/lib/components/UserSelect.js +1 -1
  561. package/lib/components/UserTabSelect.d.ts +40 -40
  562. package/lib/components/UserTabSelect.js +1 -1
  563. package/lib/components/VerificationCode.js +1 -1
  564. package/lib/components/VirtualList.js +1 -1
  565. package/lib/components/WithRemoteConfig.d.ts +12 -12
  566. package/lib/components/WithRemoteConfig.js +1 -1
  567. package/lib/components/WithStore.js +1 -1
  568. package/lib/components/calendar/Calendar.js +1 -1
  569. package/lib/components/calendar/CalendarContainer.js +1 -1
  570. package/lib/components/calendar/DaysView.js +1 -1
  571. package/lib/components/calendar/MonthsView.js +1 -1
  572. package/lib/components/calendar/QuartersView.js +1 -1
  573. package/lib/components/calendar/TimeView.js +1 -1
  574. package/lib/components/calendar/YearsView.js +1 -1
  575. package/lib/components/condition-builder/Expression.js +1 -1
  576. package/lib/components/condition-builder/Field.js +1 -1
  577. package/lib/components/condition-builder/Func.js +1 -1
  578. package/lib/components/condition-builder/Group.js +11 -7
  579. package/lib/components/condition-builder/GroupOrItem.js +4 -2
  580. package/lib/components/condition-builder/InputSwitch.js +1 -1
  581. package/lib/components/condition-builder/Item.js +2 -3
  582. package/lib/components/condition-builder/Value.js +3 -2
  583. package/lib/components/condition-builder/config.js +1 -1
  584. package/lib/components/condition-builder/index.js +7 -3
  585. package/lib/components/formula/CodeEditor.js +1 -1
  586. package/lib/components/formula/Editor.d.ts +41 -40
  587. package/lib/components/formula/Editor.js +4 -3
  588. package/lib/components/formula/FuncList.js +1 -1
  589. package/lib/components/formula/Input.js +1 -1
  590. package/lib/components/formula/Picker.d.ts +40 -40
  591. package/lib/components/formula/Picker.js +1 -1
  592. package/lib/components/formula/VariableList.js +1 -1
  593. package/lib/components/formula/plugin.js +1 -1
  594. package/lib/components/icons.js +1 -1
  595. package/lib/components/json-schema/Array.js +1 -1
  596. package/lib/components/json-schema/Item.js +1 -1
  597. package/lib/components/json-schema/Object.js +1 -1
  598. package/lib/components/json-schema/index.js +1 -1
  599. package/lib/components/menu/MenuContext.js +1 -1
  600. package/lib/components/menu/MenuItem.js +1 -1
  601. package/lib/components/menu/PanelMenu.js +1 -1
  602. package/lib/components/menu/SubMenu.js +1 -1
  603. package/lib/components/menu/index.d.ts +10 -10
  604. package/lib/components/menu/index.js +1 -1
  605. package/lib/components/schema-editor/Array.js +1 -1
  606. package/lib/components/schema-editor/Common.js +1 -1
  607. package/lib/components/schema-editor/Item.js +1 -1
  608. package/lib/components/schema-editor/Object.js +1 -1
  609. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  610. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  611. package/lib/components/schema-editor/index.d.ts +40 -40
  612. package/lib/components/schema-editor/index.js +1 -1
  613. package/lib/components/table/Cell.js +1 -1
  614. package/lib/components/table/ColGroup.js +1 -1
  615. package/lib/components/table/Head.js +1 -1
  616. package/lib/components/table/HeadCellDropDown.js +2 -3
  617. package/lib/components/table/HeadCellFilter.d.ts +40 -40
  618. package/lib/components/table/HeadCellFilter.js +3 -4
  619. package/lib/components/table/HeadCellSelect.d.ts +40 -40
  620. package/lib/components/table/HeadCellSelect.js +2 -3
  621. package/lib/components/table/HeadCellSort.js +1 -1
  622. package/lib/components/table/ItemActionsWrapper.js +1 -1
  623. package/lib/components/table/Row.js +1 -1
  624. package/lib/components/table/SummaryRow.js +1 -1
  625. package/lib/components/table/index.d.ts +40 -40
  626. package/lib/components/table/index.js +6 -6
  627. package/lib/components/table/util.d.ts +13 -13
  628. package/lib/components/table/util.js +1 -1
  629. package/lib/components/virtual-list/AutoSizer.js +2 -3
  630. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  631. package/lib/components/virtual-list/constants.js +1 -1
  632. package/lib/components/virtual-list/index.js +1 -1
  633. package/lib/components/withBadge.js +1 -1
  634. package/lib/hooks/use-click-away.js +1 -1
  635. package/lib/hooks/use-on-screen.js +1 -1
  636. package/lib/hooks/use-set-state.js +1 -1
  637. package/lib/hooks/use-sub-form.js +1 -1
  638. package/lib/hooks/use-touch.js +1 -1
  639. package/lib/hooks/use-update-effect.js +1 -1
  640. package/lib/hooks/use-validation-resolver.js +1 -1
  641. package/lib/icons/alert-danger.svg.js +1 -1
  642. package/lib/icons/alert-info.svg.js +1 -1
  643. package/lib/icons/alert-success.svg.js +1 -1
  644. package/lib/icons/alert-warning.svg.js +1 -1
  645. package/lib/icons/arrow-double-left.svg.js +1 -1
  646. package/lib/icons/arrow-double-right.svg.js +1 -1
  647. package/lib/icons/back.svg.js +1 -1
  648. package/lib/icons/calendar.svg.js +1 -1
  649. package/lib/icons/caret.svg.js +1 -1
  650. package/lib/icons/check.svg.js +1 -1
  651. package/lib/icons/clock.svg.js +1 -1
  652. package/lib/icons/close-small.svg.js +1 -1
  653. package/lib/icons/close.svg.js +1 -1
  654. package/lib/icons/cloud-upload.svg.js +1 -1
  655. package/lib/icons/column-filter.svg.js +1 -1
  656. package/lib/icons/columns.svg.js +1 -1
  657. package/lib/icons/compress-alt.svg.js +1 -1
  658. package/lib/icons/copy.svg.js +1 -1
  659. package/lib/icons/date.svg.js +1 -1
  660. package/lib/icons/department.svg.js +1 -1
  661. package/lib/icons/desk-empty.svg.js +1 -1
  662. package/lib/icons/dot.svg.js +1 -1
  663. package/lib/icons/down-arrow-bold.svg.js +1 -1
  664. package/lib/icons/down.svg.js +1 -1
  665. package/lib/icons/download.svg.js +1 -1
  666. package/lib/icons/drag-bar.svg.js +1 -1
  667. package/lib/icons/drag.svg.js +1 -1
  668. package/lib/icons/edit.svg.js +1 -1
  669. package/lib/icons/ellipsis-v.svg.js +1 -1
  670. package/lib/icons/enter.svg.js +1 -1
  671. package/lib/icons/exchange.svg.js +1 -1
  672. package/lib/icons/expand-alt.svg.js +1 -1
  673. package/lib/icons/fail.svg.js +1 -1
  674. package/lib/icons/file.svg.js +1 -1
  675. package/lib/icons/filter.svg.js +1 -1
  676. package/lib/icons/folder.svg.js +1 -1
  677. package/lib/icons/fullscreen.svg.js +1 -1
  678. package/lib/icons/function.svg.js +1 -1
  679. package/lib/icons/home.svg.js +1 -1
  680. package/lib/icons/if.svg.js +1 -1
  681. package/lib/icons/image.svg.js +1 -1
  682. package/lib/icons/info-circle.svg.js +1 -1
  683. package/lib/icons/info.svg.js +1 -1
  684. package/lib/icons/input-clear.svg.js +1 -1
  685. package/lib/icons/invisible.svg.js +1 -1
  686. package/lib/icons/left-arrow.svg.js +1 -1
  687. package/lib/icons/loading-outline.svg.js +1 -1
  688. package/lib/icons/location.svg.js +1 -1
  689. package/lib/icons/menu.svg.js +1 -1
  690. package/lib/icons/minus.svg.js +1 -1
  691. package/lib/icons/move.svg.js +1 -1
  692. package/lib/icons/mute.svg.js +1 -1
  693. package/lib/icons/new-edit.svg.js +1 -1
  694. package/lib/icons/pause.svg.js +1 -1
  695. package/lib/icons/pencil.svg.js +1 -1
  696. package/lib/icons/play.svg.js +1 -1
  697. package/lib/icons/plus-cicle.svg.js +1 -1
  698. package/lib/icons/plus-fine.svg.js +1 -1
  699. package/lib/icons/plus.svg.js +1 -1
  700. package/lib/icons/post.svg.js +1 -1
  701. package/lib/icons/question-mark.svg.js +1 -1
  702. package/lib/icons/question.svg.js +1 -1
  703. package/lib/icons/question2.svg.js +1 -1
  704. package/lib/icons/redo.svg.js +1 -1
  705. package/lib/icons/refresh.svg.js +1 -1
  706. package/lib/icons/reload.svg.js +1 -1
  707. package/lib/icons/remove.svg.js +1 -1
  708. package/lib/icons/retry.svg.js +1 -1
  709. package/lib/icons/right-arrow-bold.svg.js +1 -1
  710. package/lib/icons/right-arrow.svg.js +1 -1
  711. package/lib/icons/right-double-arrow.svg.js +1 -1
  712. package/lib/icons/role.svg.js +1 -1
  713. package/lib/icons/rotate-left.svg.js +1 -1
  714. package/lib/icons/rotate-right.svg.js +1 -1
  715. package/lib/icons/rotate-screen.svg.js +1 -1
  716. package/lib/icons/scale-origin.svg.js +1 -1
  717. package/lib/icons/schedule.svg.js +1 -1
  718. package/lib/icons/search.svg.js +1 -1
  719. package/lib/icons/setting.svg.js +1 -1
  720. package/lib/icons/slider-handle-icon.svg.js +1 -1
  721. package/lib/icons/sort-asc.svg.js +1 -1
  722. package/lib/icons/sort-default.svg.js +1 -1
  723. package/lib/icons/sort-desc.svg.js +1 -1
  724. package/lib/icons/star.svg.js +1 -1
  725. package/lib/icons/status-close.svg.js +1 -1
  726. package/lib/icons/steps-finsh.svg.js +1 -1
  727. package/lib/icons/sub-plus.svg.js +1 -1
  728. package/lib/icons/success.svg.js +1 -1
  729. package/lib/icons/transparent.svg.js +1 -1
  730. package/lib/icons/trash.svg.js +1 -1
  731. package/lib/icons/tree-down.svg.js +1 -1
  732. package/lib/icons/undo-normal.svg.js +1 -1
  733. package/lib/icons/undo.svg.js +1 -1
  734. package/lib/icons/unfullscreen.svg.js +1 -1
  735. package/lib/icons/upload.svg.js +1 -1
  736. package/lib/icons/user-remove.svg.js +1 -1
  737. package/lib/icons/view.svg.js +1 -1
  738. package/lib/icons/volume.svg.js +1 -1
  739. package/lib/icons/warning-mark.svg.js +1 -1
  740. package/lib/icons/warning.svg.js +1 -1
  741. package/lib/icons/window-restore.svg.js +1 -1
  742. package/lib/icons/zoom-in.svg.js +1 -1
  743. package/lib/icons/zoom-out.svg.js +1 -1
  744. package/lib/index.js +1 -1
  745. package/lib/locale/de-DE.js +1 -1
  746. package/lib/locale/en-US.js +1 -1
  747. package/lib/locale/zh-CN.js +1 -1
  748. package/lib/scss/helper.scss.js +1 -1
  749. package/lib/scss/themes/ang.scss.js +1 -1
  750. package/lib/scss/themes/antd.scss.js +1 -1
  751. package/lib/scss/themes/cxd.scss.js +1 -1
  752. package/lib/scss/themes/dark.scss.js +1 -1
  753. package/lib/scss/themes/default.scss.js +1 -1
  754. package/lib/themes/ang.css +20 -16
  755. package/lib/themes/ang.js +1 -1
  756. package/lib/themes/antd.css +20 -16
  757. package/lib/themes/antd.js +1 -1
  758. package/lib/themes/cxd.css +20 -16
  759. package/lib/themes/cxd.js +1 -1
  760. package/lib/themes/dark.css +20 -16
  761. package/lib/themes/dark.js +1 -1
  762. package/lib/themes/default.css +20 -16
  763. package/lib/utils/vectorComputed.js +1 -1
  764. package/lib/withRemoteConfig.js +1 -1
  765. package/lib/withStore.js +1 -1
  766. package/package.json +8 -8
  767. package/scss/components/_button.scss +2 -1
  768. package/scss/components/form/_select.scss +1 -1
  769. package/scss/components/form/_tree.scss +4 -0
@@ -1,12 +1,11 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __decorate, __metadata } from 'tslib';
7
7
  import React__default from 'react';
8
- import { findDOMNode } from 'react-dom';
9
- import { findTree, noop, getVariable, autobind, themeable, localeable } from 'amis-core';
8
+ import { findTree, findDomCompat, noop, getVariable, autobind, themeable, localeable } from 'amis-core';
10
9
  import { Icon } from '../icons.js';
11
10
  import Expression from './Expression.js';
12
11
  import { OperationMap } from './config.js';
@@ -117,7 +116,7 @@ var ConditionItem = /** @class */ (function (_super) {
117
116
  return operator;
118
117
  }
119
118
  });
120
- return (React__default.createElement(PopOverContainer, { mobileUI: mobileUI, disabled: !!((value === null || value === void 0 ? void 0 : value.op) && operators.length < 2), popOverContainer: popOverContainer || (function () { return findDOMNode(_this); }), popOverRender: function (_a) {
119
+ return (React__default.createElement(PopOverContainer, { mobileUI: mobileUI, disabled: !!((value === null || value === void 0 ? void 0 : value.op) && operators.length < 2), popOverContainer: popOverContainer || (function () { return findDomCompat(_this); }), popOverRender: function (_a) {
121
120
  var onClose = _a.onClose;
122
121
  return (React__default.createElement(GroupedSelection, { onClick: onClose, option2value: option2value, onChange: _this.handleOperatorChange, options: options_1, value: value.op, multiple: false, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('operator-group') }));
123
122
  } }, function (_a) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -20,12 +20,13 @@ var Value = /** @class */ (function (_super) {
20
20
  return _super !== null && _super.apply(this, arguments) || this;
21
21
  }
22
22
  Value.prototype.renderCustomValue = function (props) {
23
- var _a = this.props, renderEtrValue = _a.renderEtrValue, data = _a.data, cx = _a.classnames;
23
+ var _a = this.props, renderEtrValue = _a.renderEtrValue, data = _a.data, cx = _a.classnames, disabled = _a.disabled;
24
24
  var field = props.inputSettings;
25
25
  return renderEtrValue
26
26
  ? renderEtrValue(__assign(__assign({}, field.value), { name: 'TMP_WHATEVER_NAME' }), // name 随便输入,应该是 value 传入的为主,目前表单项内部逻辑还有问题先传一个 name
27
27
  {
28
28
  data: data,
29
+ disabled: disabled,
29
30
  onChange: props.onChange,
30
31
  value: props.value,
31
32
  inputClassName: cx(field.className, props.className)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -153,7 +153,9 @@ var QueryBuilder = /** @class */ (function (_super) {
153
153
  return (React__default.createElement("div", { className: cx('CPGroup-result'), dangerouslySetInnerHTML: html }));
154
154
  };
155
155
  QueryBuilder.prototype.renderBody = function (onChange, value, popOverContainer) {
156
- var _a = this.props, cx = _a.classnames, fieldClassName = _a.fieldClassName, fields = _a.fields, funcs = _a.funcs, showNot = _a.showNot, showANDOR = _a.showANDOR, data = _a.data, disabled = _a.disabled, _b = _a.draggable, draggable = _b === void 0 ? true : _b, searchable = _a.searchable, builderMode = _a.builderMode, formula = _a.formula, renderEtrValue = _a.renderEtrValue, selectMode = _a.selectMode, isAddBtnVisibleOn = _a.isAddBtnVisibleOn, isAddGroupBtnVisibleOn = _a.isAddGroupBtnVisibleOn, showIf = _a.showIf, uniqueFields = _a.uniqueFields, formulaForIf = _a.formulaForIf, testIdBuilder = _a.testIdBuilder;
156
+ var _a;
157
+ var _b = this.props, cx = _b.classnames, fieldClassName = _b.fieldClassName, fields = _b.fields, funcs = _b.funcs, showNot = _b.showNot, showANDOR = _b.showANDOR, data = _b.data, _c = _b.draggable, draggable = _c === void 0 ? true : _c, searchable = _b.searchable, builderMode = _b.builderMode, formula = _b.formula, renderEtrValue = _b.renderEtrValue, selectMode = _b.selectMode, isAddBtnVisibleOn = _b.isAddBtnVisibleOn, isAddGroupBtnVisibleOn = _b.isAddGroupBtnVisibleOn, showIf = _b.showIf, uniqueFields = _b.uniqueFields, formulaForIf = _b.formulaForIf, testIdBuilder = _b.testIdBuilder;
158
+ var disabled = (_a = value === null || value === void 0 ? void 0 : value.disabled) !== null && _a !== void 0 ? _a : this.props.disabled;
157
159
  var normalizedValue = Array.isArray(value === null || value === void 0 ? void 0 : value.children)
158
160
  ? __assign(__assign({}, value), { children: mapTree(value.children, function (value) {
159
161
  if (value.id) {
@@ -175,7 +177,9 @@ var QueryBuilder = /** @class */ (function (_super) {
175
177
  };
176
178
  QueryBuilder.prototype.render = function () {
177
179
  var _this = this;
178
- var _a = this.props, cx = _a.classnames, placeholder = _a.placeholder, _b = _a.embed, embed = _b === void 0 ? true : _b, pickerIcon = _a.pickerIcon, locale = _a.locale, translate = _a.translate, classPrefix = _a.classPrefix, onFinalChange = _a.onChange, value = _a.value, title = _a.title, disabled = _a.disabled, popOverContainer = _a.popOverContainer, testIdBuilder = _a.testIdBuilder, mobileUI = _a.mobileUI;
180
+ var _a;
181
+ var _b = this.props, cx = _b.classnames, placeholder = _b.placeholder, _c = _b.embed, embed = _c === void 0 ? true : _c, pickerIcon = _b.pickerIcon, locale = _b.locale, translate = _b.translate, classPrefix = _b.classPrefix, onFinalChange = _b.onChange, value = _b.value, title = _b.title, popOverContainer = _b.popOverContainer, testIdBuilder = _b.testIdBuilder, mobileUI = _b.mobileUI;
182
+ var disabled = (_a = value === null || value === void 0 ? void 0 : value.disabled) !== null && _a !== void 0 ? _a : this.props.disabled;
179
183
  if (embed) {
180
184
  return this.renderBody(onFinalChange, value, popOverContainer);
181
185
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -67,6 +67,7 @@ export declare class FormulaEditor extends React.Component<FormulaEditorProps, F
67
67
  state: FormulaState;
68
68
  unmounted: boolean;
69
69
  editor: React.RefObject<any>;
70
+ transitionRef: React.RefObject<HTMLDivElement>;
70
71
  static buildFunctions(functions?: Array<any>, functionsFilter?: (functions: Array<FuncGroup>) => Array<FuncGroup>): Promise<any>;
71
72
  static defaultProps: Pick<FormulaEditorProps, 'variables' | 'evalMode'>;
72
73
  static replaceStrByIndex(str: string, idx: number, key: string, replaceKey: string): string;
@@ -104,7 +105,7 @@ export declare class FormulaEditor extends React.Component<FormulaEditorProps, F
104
105
  render(): React.JSX.Element;
105
106
  }
106
107
  declare const _default: {
107
- new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
108
+ new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
108
109
  variables?: Array<VariableItem> | undefined;
109
110
  evalMode?: boolean | undefined;
110
111
  } & {} & {
@@ -116,7 +117,7 @@ declare const _default: {
116
117
  getWrappedInstance: () => any;
117
118
  render(): React.JSX.Element;
118
119
  context: unknown;
119
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
120
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
120
121
  variables?: Array<VariableItem> | undefined;
121
122
  evalMode?: boolean | undefined;
122
123
  } & {} & {
@@ -124,7 +125,7 @@ declare const _default: {
124
125
  translate?: (str: string, ...args: any[]) => string;
125
126
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
126
127
  forceUpdate(callback?: (() => void) | undefined): void;
127
- readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
128
+ readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
128
129
  variables?: Array<VariableItem> | undefined;
129
130
  evalMode?: boolean | undefined;
130
131
  } & {} & {
@@ -136,7 +137,7 @@ declare const _default: {
136
137
  [key: string]: React.ReactInstance;
137
138
  };
138
139
  componentDidMount?(): void;
139
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
140
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
140
141
  variables?: Array<VariableItem> | undefined;
141
142
  evalMode?: boolean | undefined;
142
143
  } & {} & {
@@ -145,14 +146,14 @@ declare const _default: {
145
146
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
146
147
  componentWillUnmount?(): void;
147
148
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
148
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
149
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
149
150
  variables?: Array<VariableItem> | undefined;
150
151
  evalMode?: boolean | undefined;
151
152
  } & {} & {
152
153
  locale?: string;
153
154
  translate?: (str: string, ...args: any[]) => string;
154
155
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
155
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
156
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
156
157
  variables?: Array<VariableItem> | undefined;
157
158
  evalMode?: boolean | undefined;
158
159
  } & {} & {
@@ -161,28 +162,28 @@ declare const _default: {
161
162
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
162
163
  componentWillMount?(): void;
163
164
  UNSAFE_componentWillMount?(): void;
164
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
165
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
165
166
  variables?: Array<VariableItem> | undefined;
166
167
  evalMode?: boolean | undefined;
167
168
  } & {} & {
168
169
  locale?: string;
169
170
  translate?: (str: string, ...args: any[]) => string;
170
171
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
171
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
172
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
172
173
  variables?: Array<VariableItem> | undefined;
173
174
  evalMode?: boolean | undefined;
174
175
  } & {} & {
175
176
  locale?: string;
176
177
  translate?: (str: string, ...args: any[]) => string;
177
178
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
178
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
179
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
179
180
  variables?: Array<VariableItem> | undefined;
180
181
  evalMode?: boolean | undefined;
181
182
  } & {} & {
182
183
  locale?: string;
183
184
  translate?: (str: string, ...args: any[]) => string;
184
185
  }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
185
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
186
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
186
187
  variables?: Array<VariableItem> | undefined;
187
188
  evalMode?: boolean | undefined;
188
189
  } & {} & {
@@ -193,7 +194,7 @@ declare const _default: {
193
194
  displayName: string;
194
195
  contextType: React.Context<string>;
195
196
  ComposedComponent: React.ComponentType<{
196
- new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
197
+ new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
197
198
  variables?: Array<VariableItem> | undefined;
198
199
  evalMode?: boolean | undefined;
199
200
  } & {} & {
@@ -205,7 +206,7 @@ declare const _default: {
205
206
  getWrappedInstance(): any;
206
207
  render(): React.JSX.Element;
207
208
  context: unknown;
208
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
209
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
209
210
  variables?: Array<VariableItem> | undefined;
210
211
  evalMode?: boolean | undefined;
211
212
  } & {} & {
@@ -213,7 +214,7 @@ declare const _default: {
213
214
  translate?: (str: string, ...args: any[]) => string;
214
215
  }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
215
216
  forceUpdate(callback?: (() => void) | undefined): void;
216
- readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
217
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
217
218
  variables?: Array<VariableItem> | undefined;
218
219
  evalMode?: boolean | undefined;
219
220
  } & {} & {
@@ -225,7 +226,7 @@ declare const _default: {
225
226
  [key: string]: React.ReactInstance;
226
227
  };
227
228
  componentDidMount?(): void;
228
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
229
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
229
230
  variables?: Array<VariableItem> | undefined;
230
231
  evalMode?: boolean | undefined;
231
232
  } & {} & {
@@ -234,14 +235,14 @@ declare const _default: {
234
235
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
235
236
  componentWillUnmount?(): void;
236
237
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
237
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
238
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
238
239
  variables?: Array<VariableItem> | undefined;
239
240
  evalMode?: boolean | undefined;
240
241
  } & {} & {
241
242
  locale?: string;
242
243
  translate?: (str: string, ...args: any[]) => string;
243
244
  }>, prevState: Readonly<{}>): any;
244
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
245
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
245
246
  variables?: Array<VariableItem> | undefined;
246
247
  evalMode?: boolean | undefined;
247
248
  } & {} & {
@@ -250,28 +251,28 @@ declare const _default: {
250
251
  }>, prevState: Readonly<{}>, snapshot?: any): void;
251
252
  componentWillMount?(): void;
252
253
  UNSAFE_componentWillMount?(): void;
253
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
254
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
254
255
  variables?: Array<VariableItem> | undefined;
255
256
  evalMode?: boolean | undefined;
256
257
  } & {} & {
257
258
  locale?: string;
258
259
  translate?: (str: string, ...args: any[]) => string;
259
260
  }>, nextContext: any): void;
260
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
261
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
261
262
  variables?: Array<VariableItem> | undefined;
262
263
  evalMode?: boolean | undefined;
263
264
  } & {} & {
264
265
  locale?: string;
265
266
  translate?: (str: string, ...args: any[]) => string;
266
267
  }>, nextContext: any): void;
267
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
268
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
268
269
  variables?: Array<VariableItem> | undefined;
269
270
  evalMode?: boolean | undefined;
270
271
  } & {} & {
271
272
  locale?: string;
272
273
  translate?: (str: string, ...args: any[]) => string;
273
274
  }>, nextState: Readonly<{}>, nextContext: any): void;
274
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
275
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
275
276
  variables?: Array<VariableItem> | undefined;
276
277
  evalMode?: boolean | undefined;
277
278
  } & {} & {
@@ -286,7 +287,7 @@ declare const _default: {
286
287
  ComposedComponent: typeof FormulaEditor;
287
288
  }>;
288
289
  } & import("hoist-non-react-statics").NonReactStatics<{
289
- new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
290
+ new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
290
291
  variables?: Array<VariableItem> | undefined;
291
292
  evalMode?: boolean | undefined;
292
293
  } & {} & {
@@ -298,7 +299,7 @@ declare const _default: {
298
299
  getWrappedInstance(): any;
299
300
  render(): React.JSX.Element;
300
301
  context: unknown;
301
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
302
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
302
303
  variables?: Array<VariableItem> | undefined;
303
304
  evalMode?: boolean | undefined;
304
305
  } & {} & {
@@ -306,7 +307,7 @@ declare const _default: {
306
307
  translate?: (str: string, ...args: any[]) => string;
307
308
  }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
308
309
  forceUpdate(callback?: (() => void) | undefined): void;
309
- readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
310
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
310
311
  variables?: Array<VariableItem> | undefined;
311
312
  evalMode?: boolean | undefined;
312
313
  } & {} & {
@@ -318,7 +319,7 @@ declare const _default: {
318
319
  [key: string]: React.ReactInstance;
319
320
  };
320
321
  componentDidMount?(): void;
321
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
322
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
322
323
  variables?: Array<VariableItem> | undefined;
323
324
  evalMode?: boolean | undefined;
324
325
  } & {} & {
@@ -327,14 +328,14 @@ declare const _default: {
327
328
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
328
329
  componentWillUnmount?(): void;
329
330
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
330
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
331
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
331
332
  variables?: Array<VariableItem> | undefined;
332
333
  evalMode?: boolean | undefined;
333
334
  } & {} & {
334
335
  locale?: string;
335
336
  translate?: (str: string, ...args: any[]) => string;
336
337
  }>, prevState: Readonly<{}>): any;
337
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
338
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
338
339
  variables?: Array<VariableItem> | undefined;
339
340
  evalMode?: boolean | undefined;
340
341
  } & {} & {
@@ -343,28 +344,28 @@ declare const _default: {
343
344
  }>, prevState: Readonly<{}>, snapshot?: any): void;
344
345
  componentWillMount?(): void;
345
346
  UNSAFE_componentWillMount?(): void;
346
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
347
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
347
348
  variables?: Array<VariableItem> | undefined;
348
349
  evalMode?: boolean | undefined;
349
350
  } & {} & {
350
351
  locale?: string;
351
352
  translate?: (str: string, ...args: any[]) => string;
352
353
  }>, nextContext: any): void;
353
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
354
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
354
355
  variables?: Array<VariableItem> | undefined;
355
356
  evalMode?: boolean | undefined;
356
357
  } & {} & {
357
358
  locale?: string;
358
359
  translate?: (str: string, ...args: any[]) => string;
359
360
  }>, nextContext: any): void;
360
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
361
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
361
362
  variables?: Array<VariableItem> | undefined;
362
363
  evalMode?: boolean | undefined;
363
364
  } & {} & {
364
365
  locale?: string;
365
366
  translate?: (str: string, ...args: any[]) => string;
366
367
  }>, nextState: Readonly<{}>, nextContext: any): void;
367
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
368
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
368
369
  variables?: Array<VariableItem> | undefined;
369
370
  evalMode?: boolean | undefined;
370
371
  } & {} & {
@@ -379,7 +380,7 @@ declare const _default: {
379
380
  ComposedComponent: typeof FormulaEditor;
380
381
  }, {}> & {
381
382
  ComposedComponent: {
382
- new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
383
+ new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
383
384
  variables?: Array<VariableItem> | undefined;
384
385
  evalMode?: boolean | undefined;
385
386
  } & {} & {
@@ -391,7 +392,7 @@ declare const _default: {
391
392
  getWrappedInstance(): any;
392
393
  render(): React.JSX.Element;
393
394
  context: unknown;
394
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
395
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
395
396
  variables?: Array<VariableItem> | undefined;
396
397
  evalMode?: boolean | undefined;
397
398
  } & {} & {
@@ -399,7 +400,7 @@ declare const _default: {
399
400
  translate?: (str: string, ...args: any[]) => string;
400
401
  }>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
401
402
  forceUpdate(callback?: (() => void) | undefined): void;
402
- readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
403
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
403
404
  variables?: Array<VariableItem> | undefined;
404
405
  evalMode?: boolean | undefined;
405
406
  } & {} & {
@@ -411,7 +412,7 @@ declare const _default: {
411
412
  [key: string]: React.ReactInstance;
412
413
  };
413
414
  componentDidMount?(): void;
414
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
415
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
415
416
  variables?: Array<VariableItem> | undefined;
416
417
  evalMode?: boolean | undefined;
417
418
  } & {} & {
@@ -420,14 +421,14 @@ declare const _default: {
420
421
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
421
422
  componentWillUnmount?(): void;
422
423
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
423
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
424
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
424
425
  variables?: Array<VariableItem> | undefined;
425
426
  evalMode?: boolean | undefined;
426
427
  } & {} & {
427
428
  locale?: string;
428
429
  translate?: (str: string, ...args: any[]) => string;
429
430
  }>, prevState: Readonly<{}>): any;
430
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
431
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
431
432
  variables?: Array<VariableItem> | undefined;
432
433
  evalMode?: boolean | undefined;
433
434
  } & {} & {
@@ -436,28 +437,28 @@ declare const _default: {
436
437
  }>, prevState: Readonly<{}>, snapshot?: any): void;
437
438
  componentWillMount?(): void;
438
439
  UNSAFE_componentWillMount?(): void;
439
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
440
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
440
441
  variables?: Array<VariableItem> | undefined;
441
442
  evalMode?: boolean | undefined;
442
443
  } & {} & {
443
444
  locale?: string;
444
445
  translate?: (str: string, ...args: any[]) => string;
445
446
  }>, nextContext: any): void;
446
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
447
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
447
448
  variables?: Array<VariableItem> | undefined;
448
449
  evalMode?: boolean | undefined;
449
450
  } & {} & {
450
451
  locale?: string;
451
452
  translate?: (str: string, ...args: any[]) => string;
452
453
  }>, nextContext: any): void;
453
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
454
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
454
455
  variables?: Array<VariableItem> | undefined;
455
456
  evalMode?: boolean | undefined;
456
457
  } & {} & {
457
458
  locale?: string;
458
459
  translate?: (str: string, ...args: any[]) => string;
459
460
  }>, nextState: Readonly<{}>, nextContext: any): void;
460
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "header" | "style" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
461
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
461
462
  variables?: Array<VariableItem> | undefined;
462
463
  evalMode?: boolean | undefined;
463
464
  } & {} & {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -39,6 +39,7 @@ var FormulaEditor = /** @class */ (function (_super) {
39
39
  };
40
40
  _this.unmounted = false;
41
41
  _this.editor = React__default.createRef();
42
+ _this.transitionRef = React__default.createRef();
42
43
  _this.runCode = debounce(_this.runCode.bind(_this), 250, {
43
44
  leading: false,
44
45
  trailing: true
@@ -339,8 +340,8 @@ var FormulaEditor = /** @class */ (function (_super) {
339
340
  React__default.createElement("span", null, __('FormulaEditor.sourceMode')),
340
341
  React__default.createElement(Switch, { value: isCodeMode, onChange: this.handleIsCodeModeChange }))),
341
342
  React__default.createElement(CodeEditor, { evalMode: evalMode, functions: functions, variables: variables, className: cx('FormulaEditor-editor'), value: value, onChange: this.handleOnChange, ref: this.editor, onFocus: this.handleFocus, onBlur: this.handleBlur, autoFocus: true }),
342
- React__default.createElement(Transition, { mountOnEnter: true, unmountOnExit: true, key: "run-panel", in: showRunPanel, timeout: 300 }, function (status) {
343
- return (React__default.createElement("div", { className: cx("FormulaEditor-runPanel", collapseStyles[status]) },
343
+ React__default.createElement(Transition, { mountOnEnter: true, unmountOnExit: true, key: "run-panel", in: showRunPanel, timeout: 300, nodeRef: this.transitionRef }, function (status) {
344
+ return (React__default.createElement("div", { ref: _this.transitionRef, className: cx("FormulaEditor-runPanel", collapseStyles[status]) },
344
345
  React__default.createElement("div", { className: cx("FormulaEditor-runPanel-context") },
345
346
  React__default.createElement("header", null, __('FormulaEditor.runContext')),
346
347
  React__default.createElement("div", null,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-ui v6.14.0-beta.9
2
+ * amis-ui v7.0.0-next.1
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5