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