amis-ui 6.2.2 → 6.3.0

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