amis-ui 2.2.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (585) hide show
  1. package/esm/components/404.js +1 -1
  2. package/esm/components/Alert.js +1 -1
  3. package/esm/components/Alert2.js +1 -1
  4. package/esm/components/AnchorNav.js +2 -2
  5. package/esm/components/ArrayInput.js +1 -1
  6. package/esm/components/AsideNav.d.ts +11 -11
  7. package/esm/components/AsideNav.js +1 -1
  8. package/esm/components/AssociatedSelection.d.ts +40 -40
  9. package/esm/components/AssociatedSelection.js +3 -3
  10. package/esm/components/Avatar.js +1 -1
  11. package/esm/components/Badge.js +1 -1
  12. package/esm/components/BaiduMapPicker.js +1 -1
  13. package/esm/components/BarCode.js +1 -1
  14. package/esm/components/Breadcrumb.js +1 -1
  15. package/esm/components/Button.js +4 -5
  16. package/esm/components/CalendarMobile.js +1 -1
  17. package/esm/components/Card.js +1 -1
  18. package/esm/components/Cascader.js +1 -1
  19. package/esm/components/ChainedSelection.d.ts +40 -40
  20. package/esm/components/ChainedSelection.js +7 -5
  21. package/esm/components/Checkbox.js +1 -1
  22. package/esm/components/CityArea.js +1 -1
  23. package/esm/components/CityDB.js +1 -1
  24. package/esm/components/CodeMirror.js +1 -1
  25. package/esm/components/Collapse.js +1 -1
  26. package/esm/components/CollapseGroup.js +1 -1
  27. package/esm/components/ColorPicker.js +1 -1
  28. package/esm/components/ContextMenu.js +1 -1
  29. package/esm/components/DatePicker.js +1 -1
  30. package/esm/components/DateRangePicker.js +4 -2
  31. package/esm/components/Drawer.js +1 -1
  32. package/esm/components/Editor.js +1 -1
  33. package/esm/components/Form.js +1 -1
  34. package/esm/components/FormField.js +1 -1
  35. package/esm/components/GridNav.js +1 -1
  36. package/esm/components/GroupedSelection.d.ts +41 -41
  37. package/esm/components/GroupedSelection.js +12 -5
  38. package/esm/components/Html.js +1 -1
  39. package/esm/components/ImageGallery.d.ts +10 -3
  40. package/esm/components/ImageGallery.js +18 -6
  41. package/esm/components/Input.js +1 -1
  42. package/esm/components/InputBox.js +1 -1
  43. package/esm/components/InputBoxWithSuggestion.js +1 -1
  44. package/esm/components/Layout.js +1 -1
  45. package/esm/components/Link.js +1 -1
  46. package/esm/components/ListGroup.js +1 -1
  47. package/esm/components/ListMenu.js +1 -1
  48. package/esm/components/LocationPicker.js +1 -1
  49. package/esm/components/Markdown.js +1 -1
  50. package/esm/components/Modal.d.ts +18 -18
  51. package/esm/components/Modal.js +1 -1
  52. package/esm/components/ModalManager.js +1 -1
  53. package/esm/components/NumberInput.d.ts +19 -10
  54. package/esm/components/NumberInput.js +38 -9
  55. package/esm/components/Pagination.js +2 -2
  56. package/esm/components/Picker.js +1 -1
  57. package/esm/components/PickerColumn.js +1 -1
  58. package/esm/components/PickerContainer.js +1 -1
  59. package/esm/components/PopOverContainer.js +1 -1
  60. package/esm/components/PopUp.js +1 -1
  61. package/esm/components/Progress.js +1 -1
  62. package/esm/components/PullRefresh.js +1 -1
  63. package/esm/components/Radios.js +1 -1
  64. package/esm/components/Range.js +5 -3
  65. package/esm/components/Rating.js +1 -1
  66. package/esm/components/ResultBox.js +1 -1
  67. package/esm/components/ResultList.d.ts +45 -42
  68. package/esm/components/ResultList.js +10 -8
  69. package/esm/components/ResultTableList.d.ts +41 -40
  70. package/esm/components/ResultTableList.js +3 -3
  71. package/esm/components/ResultTreeList.d.ts +41 -40
  72. package/esm/components/ResultTreeList.js +4 -4
  73. package/esm/components/RichText.js +1 -1
  74. package/esm/components/SearchBox.js +1 -1
  75. package/esm/components/Select.d.ts +193 -193
  76. package/esm/components/Select.js +1 -1
  77. package/esm/components/Selection.d.ts +42 -40
  78. package/esm/components/Selection.js +6 -3
  79. package/esm/components/SparkLine.js +1 -1
  80. package/esm/components/Spinner.d.ts +23 -1
  81. package/esm/components/Spinner.js +122 -23
  82. package/esm/components/Steps.js +1 -1
  83. package/esm/components/Switch.js +1 -1
  84. package/esm/components/TableSelection.d.ts +40 -40
  85. package/esm/components/TableSelection.js +1 -1
  86. package/esm/components/Tabs.js +1 -1
  87. package/esm/components/TabsTransfer.js +1 -1
  88. package/esm/components/TabsTransferPicker.js +1 -1
  89. package/esm/components/Tag.js +1 -1
  90. package/esm/components/Textarea.js +2 -2
  91. package/esm/components/Timeline.js +1 -1
  92. package/esm/components/TimelineItem.js +1 -1
  93. package/esm/components/Tinymce.js +2 -2
  94. package/esm/components/TitleBar.js +1 -1
  95. package/esm/components/Toast.js +1 -1
  96. package/esm/components/Tooltip.js +1 -1
  97. package/esm/components/TooltipWrapper.js +1 -1
  98. package/esm/components/Transfer.d.ts +50 -50
  99. package/esm/components/Transfer.js +12 -12
  100. package/esm/components/TransferDropDown.d.ts +40 -40
  101. package/esm/components/TransferDropDown.js +1 -1
  102. package/esm/components/TransferPicker.js +1 -1
  103. package/esm/components/TransferSearch.d.ts +40 -42
  104. package/esm/components/TransferSearch.js +2 -8
  105. package/esm/components/Tree.js +3 -2
  106. package/esm/components/TreeSelection.d.ts +40 -40
  107. package/esm/components/TreeSelection.js +1 -1
  108. package/esm/components/UserSelect.d.ts +5 -1
  109. package/esm/components/UserSelect.js +87 -28
  110. package/esm/components/UserTabSelect.d.ts +4 -3
  111. package/esm/components/UserTabSelect.js +64 -18
  112. package/esm/components/WithRemoteConfig.js +1 -1
  113. package/esm/components/WithStore.js +1 -1
  114. package/esm/components/calendar/Calendar.js +1 -1
  115. package/esm/components/calendar/CalendarContainer.js +1 -1
  116. package/esm/components/calendar/DaysView.js +1 -1
  117. package/esm/components/calendar/MonthsView.js +1 -1
  118. package/esm/components/calendar/QuartersView.js +1 -1
  119. package/esm/components/calendar/TimeView.js +1 -1
  120. package/esm/components/calendar/YearsView.js +1 -1
  121. package/esm/components/condition-builder/Expression.d.ts +1 -0
  122. package/esm/components/condition-builder/Expression.js +3 -3
  123. package/esm/components/condition-builder/Field.d.ts +2 -1
  124. package/esm/components/condition-builder/Field.js +9 -5
  125. package/esm/components/condition-builder/Formula.js +1 -1
  126. package/esm/components/condition-builder/Func.js +1 -1
  127. package/esm/components/condition-builder/Group.d.ts +1 -0
  128. package/esm/components/condition-builder/Group.js +3 -3
  129. package/esm/components/condition-builder/GroupOrItem.d.ts +1 -0
  130. package/esm/components/condition-builder/GroupOrItem.js +3 -3
  131. package/esm/components/condition-builder/InputSwitch.js +1 -1
  132. package/esm/components/condition-builder/Item.d.ts +1 -0
  133. package/esm/components/condition-builder/Item.js +3 -3
  134. package/esm/components/condition-builder/Value.js +1 -1
  135. package/esm/components/condition-builder/config.js +1 -1
  136. package/esm/components/condition-builder/index.d.ts +1 -0
  137. package/esm/components/condition-builder/index.js +3 -3
  138. package/esm/components/formula/Editor.d.ts +2 -0
  139. package/esm/components/formula/Editor.js +17 -6
  140. package/esm/components/formula/FuncList.js +1 -1
  141. package/esm/components/formula/Picker.d.ts +65 -54
  142. package/esm/components/formula/Picker.js +22 -9
  143. package/esm/components/formula/VariableList.js +1 -1
  144. package/esm/components/formula/plugin.d.ts +1 -1
  145. package/esm/components/formula/plugin.js +6 -4
  146. package/esm/components/icons.js +1 -1
  147. package/esm/components/json-schema/Array.js +1 -1
  148. package/esm/components/json-schema/Item.js +1 -1
  149. package/esm/components/json-schema/Object.js +1 -1
  150. package/esm/components/json-schema/index.js +1 -1
  151. package/esm/components/schema-editor/Array.js +1 -1
  152. package/esm/components/schema-editor/Common.js +1 -1
  153. package/esm/components/schema-editor/Item.js +1 -1
  154. package/esm/components/schema-editor/Object.js +1 -1
  155. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  156. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  157. package/esm/components/schema-editor/index.js +1 -1
  158. package/esm/components/table/Cell.js +1 -1
  159. package/esm/components/table/HeadCellDropDown.js +1 -1
  160. package/esm/components/table/HeadCellFilter.js +1 -1
  161. package/esm/components/table/HeadCellSelect.js +1 -1
  162. package/esm/components/table/HeadCellSort.js +1 -1
  163. package/esm/components/table/ItemActionsWrapper.js +1 -1
  164. package/esm/components/table/index.d.ts +49 -43
  165. package/esm/components/table/index.js +98 -51
  166. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  167. package/esm/components/virtual-list/constants.js +1 -1
  168. package/esm/components/virtual-list/index.js +1 -1
  169. package/esm/hooks/use-set-state.js +1 -1
  170. package/esm/hooks/use-touch.js +1 -1
  171. package/esm/hooks/use-update-effect.js +1 -1
  172. package/esm/hooks/use-validation-resolver.js +1 -1
  173. package/esm/icons/alert-danger.svg.js +1 -1
  174. package/esm/icons/alert-info.svg.js +1 -1
  175. package/esm/icons/alert-success.svg.js +1 -1
  176. package/esm/icons/alert-warning.svg.js +1 -1
  177. package/esm/icons/back.svg.js +1 -1
  178. package/esm/icons/calendar.svg.js +1 -1
  179. package/esm/icons/caret.svg.js +1 -1
  180. package/esm/icons/check-circle.svg.js +1 -1
  181. package/esm/icons/check.svg.js +1 -1
  182. package/esm/icons/clock.svg.js +1 -1
  183. package/esm/icons/close-small.svg.js +1 -1
  184. package/esm/icons/close.svg.js +1 -1
  185. package/esm/icons/cloud-upload.svg.js +1 -1
  186. package/esm/icons/column-filter.svg.js +1 -1
  187. package/esm/icons/columns.svg.js +1 -1
  188. package/esm/icons/compress-alt.svg.js +1 -1
  189. package/esm/icons/copy.svg.js +1 -1
  190. package/esm/icons/date.svg.js +1 -1
  191. package/esm/icons/department.svg.js +1 -1
  192. package/esm/icons/desk-empty.svg.js +1 -1
  193. package/esm/icons/dot.svg.js +1 -1
  194. package/esm/icons/down-arrow-bold.svg.js +1 -1
  195. package/esm/icons/down.svg.js +1 -1
  196. package/esm/icons/download.svg.js +1 -1
  197. package/esm/icons/drag-bar.svg.js +1 -1
  198. package/esm/icons/drag.svg.js +1 -1
  199. package/esm/icons/edit.svg.js +1 -1
  200. package/esm/icons/ellipsis-v.svg.js +1 -1
  201. package/esm/icons/enter.svg.js +1 -1
  202. package/esm/icons/exchange.svg.js +1 -1
  203. package/esm/icons/expand-alt.svg.js +1 -1
  204. package/esm/icons/fail.svg.js +1 -1
  205. package/esm/icons/file.svg.js +1 -1
  206. package/esm/icons/filter.svg.js +1 -1
  207. package/esm/icons/folder.svg.js +1 -1
  208. package/esm/icons/function.svg.js +1 -1
  209. package/esm/icons/home.svg.js +1 -1
  210. package/esm/icons/image.svg.js +1 -1
  211. package/esm/icons/info-circle.svg.js +1 -1
  212. package/esm/icons/info.svg.js +1 -1
  213. package/esm/icons/input-clear.svg.js +1 -1
  214. package/esm/icons/invisible.svg.js +1 -1
  215. package/esm/icons/left-arrow.svg.js +1 -1
  216. package/esm/icons/loading-outline.svg.js +1 -1
  217. package/esm/icons/location.svg.js +1 -1
  218. package/esm/icons/menu.svg.js +1 -1
  219. package/esm/icons/minus.svg.js +1 -1
  220. package/esm/icons/move.svg.js +1 -1
  221. package/esm/icons/mute.svg.js +1 -1
  222. package/esm/icons/new-edit.svg.js +1 -1
  223. package/esm/icons/pause.svg.js +1 -1
  224. package/esm/icons/pencil.svg.js +1 -1
  225. package/esm/icons/play.svg.js +1 -1
  226. package/esm/icons/plus-cicle.svg.js +1 -1
  227. package/esm/icons/plus-fine.svg.js +1 -1
  228. package/esm/icons/plus.svg.js +1 -1
  229. package/esm/icons/post.svg.js +1 -1
  230. package/esm/icons/question-mark.svg.js +1 -1
  231. package/esm/icons/question.svg.js +1 -1
  232. package/esm/icons/redo.svg.js +1 -1
  233. package/esm/icons/refresh.svg.js +1 -1
  234. package/esm/icons/reload.svg.js +1 -1
  235. package/esm/icons/remove.svg.js +1 -1
  236. package/esm/icons/retry.svg.js +1 -1
  237. package/esm/icons/right-arrow-bold.svg.js +1 -1
  238. package/esm/icons/right-arrow.svg.js +1 -1
  239. package/esm/icons/right-double-arrow.svg.js +1 -1
  240. package/esm/icons/role.svg.js +1 -1
  241. package/esm/icons/rotate-left.svg.js +1 -1
  242. package/esm/icons/rotate-right.svg.js +1 -1
  243. package/esm/icons/scale-origin.svg.js +1 -1
  244. package/esm/icons/schedule.svg.js +1 -1
  245. package/esm/icons/search.svg.js +1 -1
  246. package/esm/icons/setting.svg.js +1 -1
  247. package/esm/icons/slider-handle-icon.svg.js +1 -1
  248. package/esm/icons/sort-asc.svg.js +1 -1
  249. package/esm/icons/sort-default.svg.js +1 -1
  250. package/esm/icons/sort-desc.svg.js +1 -1
  251. package/esm/icons/star.svg.js +1 -1
  252. package/esm/icons/status-close.svg.js +1 -1
  253. package/esm/icons/status-fail.svg.js +1 -1
  254. package/esm/icons/status-info.svg.js +1 -1
  255. package/esm/icons/status-success.svg.js +1 -1
  256. package/esm/icons/status-warning.svg.js +1 -1
  257. package/esm/icons/steps-finsh.svg.js +1 -1
  258. package/esm/icons/success.svg.js +1 -1
  259. package/esm/icons/transparent.svg.js +1 -1
  260. package/esm/icons/trash.svg.js +1 -1
  261. package/esm/icons/tree-down.svg.js +1 -1
  262. package/esm/icons/undo.svg.js +1 -1
  263. package/esm/icons/upload.svg.js +1 -1
  264. package/esm/icons/user-remove.svg.js +1 -1
  265. package/esm/icons/view.svg.js +1 -1
  266. package/esm/icons/volume.svg.js +1 -1
  267. package/esm/icons/warning-mark.svg.js +1 -1
  268. package/esm/icons/warning.svg.js +1 -1
  269. package/esm/icons/window-restore.svg.js +1 -1
  270. package/esm/icons/zoom-in.svg.js +1 -1
  271. package/esm/icons/zoom-out.svg.js +1 -1
  272. package/esm/index.js +1 -1
  273. package/esm/locale/de-DE.js +8 -2
  274. package/esm/locale/en-US.js +8 -3
  275. package/esm/locale/zh-CN.js +8 -3
  276. package/esm/themes/ang.js +1 -1
  277. package/esm/themes/antd.js +1 -1
  278. package/esm/themes/cxd.js +1 -1
  279. package/esm/themes/dark.js +1 -1
  280. package/lib/components/404.js +1 -1
  281. package/lib/components/Alert.js +1 -1
  282. package/lib/components/Alert2.js +1 -1
  283. package/lib/components/AnchorNav.js +2 -2
  284. package/lib/components/ArrayInput.js +1 -1
  285. package/lib/components/AsideNav.d.ts +11 -11
  286. package/lib/components/AsideNav.js +1 -1
  287. package/lib/components/AssociatedSelection.d.ts +40 -40
  288. package/lib/components/AssociatedSelection.js +3 -3
  289. package/lib/components/Avatar.js +1 -1
  290. package/lib/components/Badge.js +1 -1
  291. package/lib/components/BaiduMapPicker.js +1 -1
  292. package/lib/components/BarCode.js +1 -1
  293. package/lib/components/Breadcrumb.js +1 -1
  294. package/lib/components/Button.js +4 -5
  295. package/lib/components/CalendarMobile.js +1 -1
  296. package/lib/components/Card.js +1 -1
  297. package/lib/components/Cascader.js +1 -1
  298. package/lib/components/ChainedSelection.d.ts +40 -40
  299. package/lib/components/ChainedSelection.js +7 -5
  300. package/lib/components/Checkbox.js +1 -1
  301. package/lib/components/CityArea.js +1 -1
  302. package/lib/components/CityDB.js +1 -1
  303. package/lib/components/CodeMirror.js +1 -1
  304. package/lib/components/Collapse.js +1 -1
  305. package/lib/components/CollapseGroup.js +1 -1
  306. package/lib/components/ColorPicker.js +1 -1
  307. package/lib/components/ContextMenu.js +1 -1
  308. package/lib/components/DatePicker.js +1 -1
  309. package/lib/components/DateRangePicker.js +4 -2
  310. package/lib/components/Drawer.js +1 -1
  311. package/lib/components/Editor.js +1 -1
  312. package/lib/components/Form.js +1 -1
  313. package/lib/components/FormField.js +1 -1
  314. package/lib/components/GridNav.js +1 -1
  315. package/lib/components/GroupedSelection.d.ts +41 -41
  316. package/lib/components/GroupedSelection.js +12 -5
  317. package/lib/components/Html.js +1 -1
  318. package/lib/components/ImageGallery.d.ts +10 -3
  319. package/lib/components/ImageGallery.js +18 -6
  320. package/lib/components/Input.js +1 -1
  321. package/lib/components/InputBox.js +1 -1
  322. package/lib/components/InputBoxWithSuggestion.js +1 -1
  323. package/lib/components/Layout.js +1 -1
  324. package/lib/components/Link.js +1 -1
  325. package/lib/components/ListGroup.js +1 -1
  326. package/lib/components/ListMenu.js +1 -1
  327. package/lib/components/LocationPicker.js +1 -1
  328. package/lib/components/Markdown.js +1 -1
  329. package/lib/components/Modal.d.ts +18 -18
  330. package/lib/components/Modal.js +1 -1
  331. package/lib/components/ModalManager.js +1 -1
  332. package/lib/components/NumberInput.d.ts +19 -10
  333. package/lib/components/NumberInput.js +38 -9
  334. package/lib/components/Pagination.js +2 -2
  335. package/lib/components/Picker.js +1 -1
  336. package/lib/components/PickerColumn.js +1 -1
  337. package/lib/components/PickerContainer.js +1 -1
  338. package/lib/components/PopOverContainer.js +1 -1
  339. package/lib/components/PopUp.js +1 -1
  340. package/lib/components/Progress.js +1 -1
  341. package/lib/components/PullRefresh.js +1 -1
  342. package/lib/components/Radios.js +1 -1
  343. package/lib/components/Range.js +5 -3
  344. package/lib/components/Rating.js +1 -1
  345. package/lib/components/ResultBox.js +1 -1
  346. package/lib/components/ResultList.d.ts +45 -42
  347. package/lib/components/ResultList.js +10 -8
  348. package/lib/components/ResultTableList.d.ts +41 -40
  349. package/lib/components/ResultTableList.js +3 -3
  350. package/lib/components/ResultTreeList.d.ts +41 -40
  351. package/lib/components/ResultTreeList.js +4 -4
  352. package/lib/components/RichText.js +1 -1
  353. package/lib/components/SearchBox.js +1 -1
  354. package/lib/components/Select.d.ts +193 -193
  355. package/lib/components/Select.js +1 -1
  356. package/lib/components/Selection.d.ts +42 -40
  357. package/lib/components/Selection.js +6 -3
  358. package/lib/components/SparkLine.js +1 -1
  359. package/lib/components/Spinner.d.ts +23 -1
  360. package/lib/components/Spinner.js +122 -23
  361. package/lib/components/Steps.js +1 -1
  362. package/lib/components/Switch.js +1 -1
  363. package/lib/components/TableSelection.d.ts +40 -40
  364. package/lib/components/TableSelection.js +1 -1
  365. package/lib/components/Tabs.js +1 -1
  366. package/lib/components/TabsTransfer.js +1 -1
  367. package/lib/components/TabsTransferPicker.js +1 -1
  368. package/lib/components/Tag.js +1 -1
  369. package/lib/components/Textarea.js +2 -2
  370. package/lib/components/Timeline.js +1 -1
  371. package/lib/components/TimelineItem.js +1 -1
  372. package/lib/components/Tinymce.js +2 -2
  373. package/lib/components/TitleBar.js +1 -1
  374. package/lib/components/Toast.js +1 -1
  375. package/lib/components/Tooltip.js +1 -1
  376. package/lib/components/TooltipWrapper.js +1 -1
  377. package/lib/components/Transfer.d.ts +50 -50
  378. package/lib/components/Transfer.js +12 -12
  379. package/lib/components/TransferDropDown.d.ts +40 -40
  380. package/lib/components/TransferDropDown.js +1 -1
  381. package/lib/components/TransferPicker.js +1 -1
  382. package/lib/components/TransferSearch.d.ts +40 -42
  383. package/lib/components/TransferSearch.js +2 -8
  384. package/lib/components/Tree.js +3 -2
  385. package/lib/components/TreeSelection.d.ts +40 -40
  386. package/lib/components/TreeSelection.js +1 -1
  387. package/lib/components/UserSelect.d.ts +5 -1
  388. package/lib/components/UserSelect.js +86 -27
  389. package/lib/components/UserTabSelect.d.ts +4 -3
  390. package/lib/components/UserTabSelect.js +64 -18
  391. package/lib/components/WithRemoteConfig.js +1 -1
  392. package/lib/components/WithStore.js +1 -1
  393. package/lib/components/calendar/Calendar.js +1 -1
  394. package/lib/components/calendar/CalendarContainer.js +1 -1
  395. package/lib/components/calendar/DaysView.js +1 -1
  396. package/lib/components/calendar/MonthsView.js +1 -1
  397. package/lib/components/calendar/QuartersView.js +1 -1
  398. package/lib/components/calendar/TimeView.js +1 -1
  399. package/lib/components/calendar/YearsView.js +1 -1
  400. package/lib/components/condition-builder/Expression.d.ts +1 -0
  401. package/lib/components/condition-builder/Expression.js +3 -3
  402. package/lib/components/condition-builder/Field.d.ts +2 -1
  403. package/lib/components/condition-builder/Field.js +9 -5
  404. package/lib/components/condition-builder/Formula.js +1 -1
  405. package/lib/components/condition-builder/Func.js +1 -1
  406. package/lib/components/condition-builder/Group.d.ts +1 -0
  407. package/lib/components/condition-builder/Group.js +3 -3
  408. package/lib/components/condition-builder/GroupOrItem.d.ts +1 -0
  409. package/lib/components/condition-builder/GroupOrItem.js +3 -3
  410. package/lib/components/condition-builder/InputSwitch.js +1 -1
  411. package/lib/components/condition-builder/Item.d.ts +1 -0
  412. package/lib/components/condition-builder/Item.js +3 -3
  413. package/lib/components/condition-builder/Value.js +1 -1
  414. package/lib/components/condition-builder/config.js +1 -1
  415. package/lib/components/condition-builder/index.d.ts +1 -0
  416. package/lib/components/condition-builder/index.js +3 -3
  417. package/lib/components/formula/Editor.d.ts +2 -0
  418. package/lib/components/formula/Editor.js +17 -6
  419. package/lib/components/formula/FuncList.js +1 -1
  420. package/lib/components/formula/Picker.d.ts +65 -54
  421. package/lib/components/formula/Picker.js +22 -9
  422. package/lib/components/formula/VariableList.js +1 -1
  423. package/lib/components/formula/plugin.d.ts +1 -1
  424. package/lib/components/formula/plugin.js +6 -4
  425. package/lib/components/icons.js +1 -1
  426. package/lib/components/json-schema/Array.js +1 -1
  427. package/lib/components/json-schema/Item.js +1 -1
  428. package/lib/components/json-schema/Object.js +1 -1
  429. package/lib/components/json-schema/index.js +1 -1
  430. package/lib/components/schema-editor/Array.js +1 -1
  431. package/lib/components/schema-editor/Common.js +1 -1
  432. package/lib/components/schema-editor/Item.js +1 -1
  433. package/lib/components/schema-editor/Object.js +1 -1
  434. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  435. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  436. package/lib/components/schema-editor/index.js +1 -1
  437. package/lib/components/table/Cell.js +1 -1
  438. package/lib/components/table/HeadCellDropDown.js +1 -1
  439. package/lib/components/table/HeadCellFilter.js +1 -1
  440. package/lib/components/table/HeadCellSelect.js +1 -1
  441. package/lib/components/table/HeadCellSort.js +1 -1
  442. package/lib/components/table/ItemActionsWrapper.js +1 -1
  443. package/lib/components/table/index.d.ts +49 -43
  444. package/lib/components/table/index.js +98 -51
  445. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  446. package/lib/components/virtual-list/constants.js +1 -1
  447. package/lib/components/virtual-list/index.js +1 -1
  448. package/lib/helper.css +8335 -38
  449. package/lib/hooks/use-set-state.js +1 -1
  450. package/lib/hooks/use-touch.js +1 -1
  451. package/lib/hooks/use-update-effect.js +1 -1
  452. package/lib/hooks/use-validation-resolver.js +1 -1
  453. package/lib/icons/alert-danger.svg.js +1 -1
  454. package/lib/icons/alert-info.svg.js +1 -1
  455. package/lib/icons/alert-success.svg.js +1 -1
  456. package/lib/icons/alert-warning.svg.js +1 -1
  457. package/lib/icons/back.svg.js +1 -1
  458. package/lib/icons/calendar.svg.js +1 -1
  459. package/lib/icons/caret.svg.js +1 -1
  460. package/lib/icons/check-circle.svg.js +1 -1
  461. package/lib/icons/check.svg.js +1 -1
  462. package/lib/icons/clock.svg.js +1 -1
  463. package/lib/icons/close-small.svg.js +1 -1
  464. package/lib/icons/close.svg.js +1 -1
  465. package/lib/icons/cloud-upload.svg.js +1 -1
  466. package/lib/icons/column-filter.svg.js +1 -1
  467. package/lib/icons/columns.svg.js +1 -1
  468. package/lib/icons/compress-alt.svg.js +1 -1
  469. package/lib/icons/copy.svg.js +1 -1
  470. package/lib/icons/date.svg.js +1 -1
  471. package/lib/icons/department.svg.js +1 -1
  472. package/lib/icons/desk-empty.svg.js +1 -1
  473. package/lib/icons/dot.svg.js +1 -1
  474. package/lib/icons/down-arrow-bold.svg.js +1 -1
  475. package/lib/icons/down.svg.js +1 -1
  476. package/lib/icons/download.svg.js +1 -1
  477. package/lib/icons/drag-bar.svg.js +1 -1
  478. package/lib/icons/drag.svg.js +1 -1
  479. package/lib/icons/edit.svg.js +1 -1
  480. package/lib/icons/ellipsis-v.svg.js +1 -1
  481. package/lib/icons/enter.svg.js +1 -1
  482. package/lib/icons/exchange.svg.js +1 -1
  483. package/lib/icons/expand-alt.svg.js +1 -1
  484. package/lib/icons/fail.svg.js +1 -1
  485. package/lib/icons/file.svg.js +1 -1
  486. package/lib/icons/filter.svg.js +1 -1
  487. package/lib/icons/folder.svg.js +1 -1
  488. package/lib/icons/function.svg.js +1 -1
  489. package/lib/icons/home.svg.js +1 -1
  490. package/lib/icons/image.svg.js +1 -1
  491. package/lib/icons/info-circle.svg.js +1 -1
  492. package/lib/icons/info.svg.js +1 -1
  493. package/lib/icons/input-clear.svg.js +1 -1
  494. package/lib/icons/invisible.svg.js +1 -1
  495. package/lib/icons/left-arrow.svg.js +1 -1
  496. package/lib/icons/loading-outline.svg.js +1 -1
  497. package/lib/icons/location.svg.js +1 -1
  498. package/lib/icons/menu.svg.js +1 -1
  499. package/lib/icons/minus.svg.js +1 -1
  500. package/lib/icons/move.svg.js +1 -1
  501. package/lib/icons/mute.svg.js +1 -1
  502. package/lib/icons/new-edit.svg.js +1 -1
  503. package/lib/icons/pause.svg.js +1 -1
  504. package/lib/icons/pencil.svg.js +1 -1
  505. package/lib/icons/play.svg.js +1 -1
  506. package/lib/icons/plus-cicle.svg.js +1 -1
  507. package/lib/icons/plus-fine.svg.js +1 -1
  508. package/lib/icons/plus.svg.js +1 -1
  509. package/lib/icons/post.svg.js +1 -1
  510. package/lib/icons/question-mark.svg.js +1 -1
  511. package/lib/icons/question.svg.js +1 -1
  512. package/lib/icons/redo.svg.js +1 -1
  513. package/lib/icons/refresh.svg.js +1 -1
  514. package/lib/icons/reload.svg.js +1 -1
  515. package/lib/icons/remove.svg.js +1 -1
  516. package/lib/icons/retry.svg.js +1 -1
  517. package/lib/icons/right-arrow-bold.svg.js +1 -1
  518. package/lib/icons/right-arrow.svg.js +1 -1
  519. package/lib/icons/right-double-arrow.svg.js +1 -1
  520. package/lib/icons/role.svg.js +1 -1
  521. package/lib/icons/rotate-left.svg.js +1 -1
  522. package/lib/icons/rotate-right.svg.js +1 -1
  523. package/lib/icons/scale-origin.svg.js +1 -1
  524. package/lib/icons/schedule.svg.js +1 -1
  525. package/lib/icons/search.svg.js +1 -1
  526. package/lib/icons/setting.svg.js +1 -1
  527. package/lib/icons/slider-handle-icon.svg.js +1 -1
  528. package/lib/icons/sort-asc.svg.js +1 -1
  529. package/lib/icons/sort-default.svg.js +1 -1
  530. package/lib/icons/sort-desc.svg.js +1 -1
  531. package/lib/icons/star.svg.js +1 -1
  532. package/lib/icons/status-close.svg.js +1 -1
  533. package/lib/icons/status-fail.svg.js +1 -1
  534. package/lib/icons/status-info.svg.js +1 -1
  535. package/lib/icons/status-success.svg.js +1 -1
  536. package/lib/icons/status-warning.svg.js +1 -1
  537. package/lib/icons/steps-finsh.svg.js +1 -1
  538. package/lib/icons/success.svg.js +1 -1
  539. package/lib/icons/transparent.svg.js +1 -1
  540. package/lib/icons/trash.svg.js +1 -1
  541. package/lib/icons/tree-down.svg.js +1 -1
  542. package/lib/icons/undo.svg.js +1 -1
  543. package/lib/icons/upload.svg.js +1 -1
  544. package/lib/icons/user-remove.svg.js +1 -1
  545. package/lib/icons/view.svg.js +1 -1
  546. package/lib/icons/volume.svg.js +1 -1
  547. package/lib/icons/warning-mark.svg.js +1 -1
  548. package/lib/icons/warning.svg.js +1 -1
  549. package/lib/icons/window-restore.svg.js +1 -1
  550. package/lib/icons/zoom-in.svg.js +1 -1
  551. package/lib/icons/zoom-out.svg.js +1 -1
  552. package/lib/index.js +1 -1
  553. package/lib/locale/de-DE.js +8 -2
  554. package/lib/locale/en-US.js +8 -3
  555. package/lib/locale/zh-CN.js +8 -3
  556. package/lib/scss/helper.scss.js +1 -1
  557. package/lib/scss/themes/ang.scss.js +1 -1
  558. package/lib/scss/themes/antd.scss.js +1 -1
  559. package/lib/scss/themes/cxd.scss.js +1 -1
  560. package/lib/scss/themes/dark.scss.js +1 -1
  561. package/lib/scss/themes/default.scss.js +1 -1
  562. package/lib/themes/ang.css +8847 -5617
  563. package/lib/themes/ang.js +1 -1
  564. package/lib/themes/antd.css +8955 -5731
  565. package/lib/themes/antd.js +1 -1
  566. package/lib/themes/cxd.css +8855 -5630
  567. package/lib/themes/cxd.js +1 -1
  568. package/lib/themes/dark.css +8940 -5709
  569. package/lib/themes/dark.js +1 -1
  570. package/lib/themes/default.css +8855 -5630
  571. package/package.json +22 -22
  572. package/scss/_mixins.scss +10 -0
  573. package/scss/_thirds.scss +6 -6
  574. package/scss/components/_anchor-nav.scss +9 -2
  575. package/scss/components/_collapse.scss +4 -4
  576. package/scss/components/_spinner.scss +6 -0
  577. package/scss/components/_table.scss +1 -1
  578. package/scss/components/form/_fieldset.scss +20 -0
  579. package/scss/components/form/_input-group.scss +5 -0
  580. package/scss/components/form/_selection.scss +6 -1
  581. package/scss/components/form/_textarea.scss +4 -2
  582. package/scss/components/form/_user-select.scss +35 -2
  583. package/scss/themes/_antd-variables.scss +4 -2
  584. package/scss/themes/_cxd-variables.scss +5 -1
  585. package/scss/themes/_dark-variables.scss +3 -0
@@ -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,12 +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);
85
92
  componentDidUpdate(prevProps: FormulaPickerProps): void;
93
+ value2EditorValue(props: FormulaPickerProps): string;
86
94
  handleConfirm(): void;
87
95
  renderFormulaValue(item: any): JSX.Element | "";
88
96
  handleInputChange(value: string): void;
@@ -97,7 +105,7 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
97
105
  render(): JSX.Element;
98
106
  }
99
107
  declare const _default: {
100
- new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
108
+ new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
101
109
  evalMode: boolean;
102
110
  }, never>> & {
103
111
  locale?: string | undefined;
@@ -108,14 +116,14 @@ declare const _default: {
108
116
  getWrappedInstance(): any;
109
117
  render(): JSX.Element;
110
118
  context: any;
111
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
119
+ 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" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
112
120
  evalMode: boolean;
113
121
  }, never>> & {
114
122
  locale?: string | undefined;
115
123
  translate?: ((str: string, ...args: any[]) => string) | undefined;
116
124
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
117
125
  forceUpdate(callback?: (() => void) | undefined): void;
118
- readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
126
+ readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
119
127
  evalMode: boolean;
120
128
  }, never>> & {
121
129
  locale?: string | undefined;
@@ -128,7 +136,7 @@ declare const _default: {
128
136
  [key: string]: React.ReactInstance;
129
137
  };
130
138
  componentDidMount?(): void;
131
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
139
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
132
140
  evalMode: boolean;
133
141
  }, never>> & {
134
142
  locale?: string | undefined;
@@ -136,13 +144,13 @@ declare const _default: {
136
144
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
137
145
  componentWillUnmount?(): void;
138
146
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
139
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
147
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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
148
  evalMode: boolean;
141
149
  }, never>> & {
142
150
  locale?: string | undefined;
143
151
  translate?: ((str: string, ...args: any[]) => string) | undefined;
144
152
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
145
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
153
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
146
154
  evalMode: boolean;
147
155
  }, never>> & {
148
156
  locale?: string | undefined;
@@ -150,25 +158,25 @@ declare const _default: {
150
158
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
151
159
  componentWillMount?(): void;
152
160
  UNSAFE_componentWillMount?(): void;
153
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
161
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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
162
  evalMode: boolean;
155
163
  }, never>> & {
156
164
  locale?: string | undefined;
157
165
  translate?: ((str: string, ...args: any[]) => string) | undefined;
158
166
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
159
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
167
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
160
168
  evalMode: boolean;
161
169
  }, never>> & {
162
170
  locale?: string | undefined;
163
171
  translate?: ((str: string, ...args: any[]) => string) | undefined;
164
172
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
165
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
173
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
166
174
  evalMode: boolean;
167
175
  }, never>> & {
168
176
  locale?: string | undefined;
169
177
  translate?: ((str: string, ...args: any[]) => string) | undefined;
170
178
  }, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
171
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
179
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
172
180
  evalMode: boolean;
173
181
  }, never>> & {
174
182
  locale?: string | undefined;
@@ -178,7 +186,7 @@ declare const _default: {
178
186
  displayName: string;
179
187
  contextType: React.Context<string>;
180
188
  ComposedComponent: React.ComponentType<{
181
- new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
189
+ new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
182
190
  evalMode: boolean;
183
191
  }, never>> & {
184
192
  locale?: string | undefined;
@@ -187,19 +195,20 @@ declare const _default: {
187
195
  ref: any;
188
196
  childRef(ref: any): void;
189
197
  getWrappedInstance(): any;
190
- render(): JSX.Element;
198
+ render(): JSX.Element; /**
199
+ * 按钮大小
200
+ */
191
201
  context: any;
192
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
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" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
193
203
  evalMode: boolean;
194
204
  }, never>> & {
195
- /**
205
+ locale?: string | undefined;
206
+ translate?: ((str: string, ...args: any[]) => string) | undefined; /**
196
207
  * 外层透传的 data,和source配合使用
197
208
  */
198
- locale?: string | undefined;
199
- translate?: ((str: string, ...args: any[]) => string) | undefined;
200
209
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
201
210
  forceUpdate(callback?: (() => void) | undefined): void;
202
- readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
211
+ readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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
212
  evalMode: boolean;
204
213
  }, never>> & {
205
214
  locale?: string | undefined;
@@ -212,7 +221,7 @@ declare const _default: {
212
221
  [key: string]: React.ReactInstance;
213
222
  };
214
223
  componentDidMount?(): void;
215
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
224
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
216
225
  evalMode: boolean;
217
226
  }, never>> & {
218
227
  locale?: string | undefined;
@@ -220,13 +229,13 @@ declare const _default: {
220
229
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
221
230
  componentWillUnmount?(): void;
222
231
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
223
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
232
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
224
233
  evalMode: boolean;
225
234
  }, never>> & {
226
235
  locale?: string | undefined;
227
236
  translate?: ((str: string, ...args: any[]) => string) | undefined;
228
237
  }>, prevState: Readonly<{}>): any;
229
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
238
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
230
239
  evalMode: boolean;
231
240
  }, never>> & {
232
241
  locale?: string | undefined;
@@ -234,25 +243,25 @@ declare const _default: {
234
243
  }>, prevState: Readonly<{}>, snapshot?: any): void;
235
244
  componentWillMount?(): void;
236
245
  UNSAFE_componentWillMount?(): void;
237
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
246
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
238
247
  evalMode: boolean;
239
248
  }, never>> & {
240
249
  locale?: string | undefined;
241
250
  translate?: ((str: string, ...args: any[]) => string) | undefined;
242
251
  }>, nextContext: any): void;
243
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
252
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
244
253
  evalMode: boolean;
245
254
  }, never>> & {
246
255
  locale?: string | undefined;
247
256
  translate?: ((str: string, ...args: any[]) => string) | undefined;
248
257
  }>, nextContext: any): void;
249
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
258
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
250
259
  evalMode: boolean;
251
260
  }, never>> & {
252
261
  locale?: string | undefined;
253
262
  translate?: ((str: string, ...args: any[]) => string) | undefined;
254
263
  }>, nextState: Readonly<{}>, nextContext: any): void;
255
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
264
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
256
265
  evalMode: boolean;
257
266
  }, never>> & {
258
267
  locale?: string | undefined;
@@ -266,7 +275,7 @@ declare const _default: {
266
275
  ComposedComponent: typeof FormulaPicker;
267
276
  }>;
268
277
  } & import("hoist-non-react-statics").NonReactStatics<{
269
- new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
278
+ new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
270
279
  evalMode: boolean;
271
280
  }, never>> & {
272
281
  locale?: string | undefined;
@@ -275,19 +284,20 @@ declare const _default: {
275
284
  ref: any;
276
285
  childRef(ref: any): void;
277
286
  getWrappedInstance(): any;
278
- render(): JSX.Element;
287
+ render(): JSX.Element; /**
288
+ * 按钮大小
289
+ */
279
290
  context: any;
280
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
291
+ 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" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
281
292
  evalMode: boolean;
282
293
  }, never>> & {
283
- /**
294
+ locale?: string | undefined;
295
+ translate?: ((str: string, ...args: any[]) => string) | undefined; /**
284
296
  * 外层透传的 data,和source配合使用
285
297
  */
286
- locale?: string | undefined;
287
- translate?: ((str: string, ...args: any[]) => string) | undefined;
288
298
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
289
299
  forceUpdate(callback?: (() => void) | undefined): void;
290
- readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
300
+ readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
291
301
  evalMode: boolean;
292
302
  }, never>> & {
293
303
  locale?: string | undefined;
@@ -300,7 +310,7 @@ declare const _default: {
300
310
  [key: string]: React.ReactInstance;
301
311
  };
302
312
  componentDidMount?(): void;
303
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
313
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
304
314
  evalMode: boolean;
305
315
  }, never>> & {
306
316
  locale?: string | undefined;
@@ -308,13 +318,13 @@ declare const _default: {
308
318
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
309
319
  componentWillUnmount?(): void;
310
320
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
311
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
321
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
312
322
  evalMode: boolean;
313
323
  }, never>> & {
314
324
  locale?: string | undefined;
315
325
  translate?: ((str: string, ...args: any[]) => string) | undefined;
316
326
  }>, prevState: Readonly<{}>): any;
317
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
327
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
318
328
  evalMode: boolean;
319
329
  }, never>> & {
320
330
  locale?: string | undefined;
@@ -322,25 +332,25 @@ declare const _default: {
322
332
  }>, prevState: Readonly<{}>, snapshot?: any): void;
323
333
  componentWillMount?(): void;
324
334
  UNSAFE_componentWillMount?(): void;
325
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
335
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
326
336
  evalMode: boolean;
327
337
  }, never>> & {
328
338
  locale?: string | undefined;
329
339
  translate?: ((str: string, ...args: any[]) => string) | undefined;
330
340
  }>, nextContext: any): void;
331
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
341
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
332
342
  evalMode: boolean;
333
343
  }, never>> & {
334
344
  locale?: string | undefined;
335
345
  translate?: ((str: string, ...args: any[]) => string) | undefined;
336
346
  }>, nextContext: any): void;
337
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
347
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
338
348
  evalMode: boolean;
339
349
  }, never>> & {
340
350
  locale?: string | undefined;
341
351
  translate?: ((str: string, ...args: any[]) => string) | undefined;
342
352
  }>, nextState: Readonly<{}>, nextContext: any): void;
343
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
353
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
344
354
  evalMode: boolean;
345
355
  }, never>> & {
346
356
  locale?: string | undefined;
@@ -354,7 +364,7 @@ declare const _default: {
354
364
  ComposedComponent: typeof FormulaPicker;
355
365
  }, {}> & {
356
366
  ComposedComponent: {
357
- new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
367
+ new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
358
368
  evalMode: boolean;
359
369
  }, never>> & {
360
370
  locale?: string | undefined;
@@ -363,19 +373,20 @@ declare const _default: {
363
373
  ref: any;
364
374
  childRef(ref: any): void;
365
375
  getWrappedInstance(): any;
366
- render(): JSX.Element;
376
+ render(): JSX.Element; /**
377
+ * 按钮大小
378
+ */
367
379
  context: any;
368
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
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" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
369
381
  evalMode: boolean;
370
382
  }, never>> & {
371
- /**
383
+ locale?: string | undefined;
384
+ translate?: ((str: string, ...args: any[]) => string) | undefined; /**
372
385
  * 外层透传的 data,和source配合使用
373
386
  */
374
- locale?: string | undefined;
375
- translate?: ((str: string, ...args: any[]) => string) | undefined;
376
387
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
377
388
  forceUpdate(callback?: (() => void) | undefined): void;
378
- readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
389
+ readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
379
390
  evalMode: boolean;
380
391
  }, never>> & {
381
392
  locale?: string | undefined;
@@ -388,7 +399,7 @@ declare const _default: {
388
399
  [key: string]: React.ReactInstance;
389
400
  };
390
401
  componentDidMount?(): void;
391
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
402
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
392
403
  evalMode: boolean;
393
404
  }, never>> & {
394
405
  locale?: string | undefined;
@@ -396,13 +407,13 @@ declare const _default: {
396
407
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
397
408
  componentWillUnmount?(): void;
398
409
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
399
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
410
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
400
411
  evalMode: boolean;
401
412
  }, never>> & {
402
413
  locale?: string | undefined;
403
414
  translate?: ((str: string, ...args: any[]) => string) | undefined;
404
415
  }>, prevState: Readonly<{}>): any;
405
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
416
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
406
417
  evalMode: boolean;
407
418
  }, never>> & {
408
419
  locale?: string | undefined;
@@ -410,25 +421,25 @@ declare const _default: {
410
421
  }>, prevState: Readonly<{}>, snapshot?: any): void;
411
422
  componentWillMount?(): void;
412
423
  UNSAFE_componentWillMount?(): void;
413
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
424
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
414
425
  evalMode: boolean;
415
426
  }, never>> & {
416
427
  locale?: string | undefined;
417
428
  translate?: ((str: string, ...args: any[]) => string) | undefined;
418
429
  }>, nextContext: any): void;
419
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
430
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
420
431
  evalMode: boolean;
421
432
  }, never>> & {
422
433
  locale?: string | undefined;
423
434
  translate?: ((str: string, ...args: any[]) => string) | undefined;
424
435
  }>, nextContext: any): void;
425
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
436
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
426
437
  evalMode: boolean;
427
438
  }, never>> & {
428
439
  locale?: string | undefined;
429
440
  translate?: ((str: string, ...args: any[]) => string) | undefined;
430
441
  }>, nextState: Readonly<{}>, nextContext: any): void;
431
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "level" | "mode" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
442
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "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<{
432
443
  evalMode: boolean;
433
444
  }, never>> & {
434
445
  locale?: string | undefined;