amis-ui 6.0.0 → 6.2.0

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