amis-ui 6.0.0 → 6.2.0

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