amis 1.5.6-beta.4 → 1.5.8-beta.2

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 (427) hide show
  1. package/.husky/pre-commit +1 -1
  2. package/lib/Schema.d.ts +3 -2
  3. package/lib/Schema.js.map +1 -1
  4. package/lib/components/AsideNav.d.ts +1 -1
  5. package/lib/components/AsideNav.js.map +1 -1
  6. package/lib/components/AssociatedSelection.d.ts +84 -84
  7. package/lib/components/AssociatedSelection.js +2 -2
  8. package/lib/components/AssociatedSelection.js.map +2 -2
  9. package/lib/components/Avatar.d.ts +135 -0
  10. package/lib/components/Avatar.js +120 -0
  11. package/lib/components/Avatar.js.map +13 -0
  12. package/lib/components/BaiduMapPicker.js.map +2 -2
  13. package/lib/components/CalendarMobile.d.ts +547 -0
  14. package/lib/components/CalendarMobile.js +432 -0
  15. package/lib/components/CalendarMobile.js.map +13 -0
  16. package/lib/components/Card.d.ts +20 -20
  17. package/lib/components/Card.js +1 -1
  18. package/lib/components/Card.js.map +2 -2
  19. package/lib/components/ChainedSelection.d.ts +84 -84
  20. package/lib/components/ChainedSelection.js +15 -3
  21. package/lib/components/ChainedSelection.js.map +2 -2
  22. package/lib/components/CodeMirror.d.ts +26 -0
  23. package/lib/components/CodeMirror.js +104 -0
  24. package/lib/components/CodeMirror.js.map +13 -0
  25. package/lib/components/Collapse.d.ts +22 -21
  26. package/lib/components/Collapse.js +1 -1
  27. package/lib/components/Collapse.js.map +2 -2
  28. package/lib/components/ColorPicker.d.ts +85 -84
  29. package/lib/components/ColorPicker.js +15 -3
  30. package/lib/components/ColorPicker.js.map +2 -2
  31. package/lib/components/DatePicker.d.ts +84 -84
  32. package/lib/components/DatePicker.js +15 -5
  33. package/lib/components/DatePicker.js.map +2 -2
  34. package/lib/components/DateRangePicker.d.ts +86 -84
  35. package/lib/components/DateRangePicker.js +22 -5
  36. package/lib/components/DateRangePicker.js.map +2 -2
  37. package/lib/components/GroupedSelection.d.ts +84 -84
  38. package/lib/components/GroupedSelection.js +14 -2
  39. package/lib/components/GroupedSelection.js.map +2 -2
  40. package/lib/components/MonthRangePicker.d.ts +86 -84
  41. package/lib/components/MonthRangePicker.js +20 -5
  42. package/lib/components/MonthRangePicker.js.map +2 -2
  43. package/lib/components/Overlay.d.ts +1 -1
  44. package/lib/components/Overlay.js.map +1 -1
  45. package/lib/components/Picker.js +9 -4
  46. package/lib/components/Picker.js.map +2 -2
  47. package/lib/components/PickerColumn.js +0 -1
  48. package/lib/components/PickerColumn.js.map +2 -2
  49. package/lib/components/PickerContainer.d.ts +5 -1
  50. package/lib/components/PickerContainer.js +14 -7
  51. package/lib/components/PickerContainer.js.map +2 -2
  52. package/lib/components/PopUp.d.ts +94 -0
  53. package/lib/components/PopUp.js +58 -0
  54. package/lib/components/PopUp.js.map +13 -0
  55. package/lib/components/Rating.d.ts +203 -73
  56. package/lib/components/Rating.js +147 -31
  57. package/lib/components/Rating.js.map +2 -2
  58. package/lib/components/ResultBox.js +2 -1
  59. package/lib/components/ResultBox.js.map +2 -2
  60. package/lib/components/ResultList.d.ts +9 -2
  61. package/lib/components/ResultList.js +22 -2
  62. package/lib/components/ResultList.js.map +2 -2
  63. package/lib/components/Select.d.ts +237 -237
  64. package/lib/components/Select.js +1 -1
  65. package/lib/components/Select.js.map +1 -1
  66. package/lib/components/Selection.d.ts +94 -86
  67. package/lib/components/Selection.js +11 -2
  68. package/lib/components/Selection.js.map +2 -2
  69. package/lib/components/Steps.d.ts +1 -0
  70. package/lib/components/Steps.js +5 -3
  71. package/lib/components/Steps.js.map +2 -2
  72. package/lib/components/TableSelection.d.ts +85 -85
  73. package/lib/components/TableSelection.js +1 -9
  74. package/lib/components/TableSelection.js.map +2 -2
  75. package/lib/components/Tabs.js +31 -33
  76. package/lib/components/Tabs.js.map +2 -2
  77. package/lib/components/TabsTransfer.d.ts +87 -256
  78. package/lib/components/TabsTransfer.js +52 -9
  79. package/lib/components/TabsTransfer.js.map +2 -2
  80. package/lib/components/TabsTransferPicker.d.ts +1 -1
  81. package/lib/components/TabsTransferPicker.js +21 -19
  82. package/lib/components/TabsTransferPicker.js.map +2 -2
  83. package/lib/components/Timeline.d.ts +69 -0
  84. package/lib/components/Timeline.js +16 -0
  85. package/lib/components/Timeline.js.map +13 -0
  86. package/lib/components/TimelineItem.d.ts +516 -0
  87. package/lib/components/TimelineItem.js +41 -0
  88. package/lib/components/TimelineItem.js.map +13 -0
  89. package/lib/components/Transfer.d.ts +100 -98
  90. package/lib/components/Transfer.js +2 -3
  91. package/lib/components/Transfer.js.map +2 -2
  92. package/lib/components/TransferDropDown.d.ts +84 -84
  93. package/lib/components/TransferDropDown.js +1 -5
  94. package/lib/components/TransferDropDown.js.map +2 -2
  95. package/lib/components/TransferPicker.d.ts +1 -1
  96. package/lib/components/TransferPicker.js +21 -19
  97. package/lib/components/TransferPicker.js.map +2 -2
  98. package/lib/components/TreeSelection.d.ts +85 -85
  99. package/lib/components/TreeSelection.js +7 -1
  100. package/lib/components/TreeSelection.js.map +2 -2
  101. package/lib/components/calendar/Calendar.d.ts +5 -0
  102. package/lib/components/calendar/Calendar.js +15 -2
  103. package/lib/components/calendar/Calendar.js.map +2 -2
  104. package/lib/components/calendar/DaysView.d.ts +1 -0
  105. package/lib/components/calendar/DaysView.js +25 -13
  106. package/lib/components/calendar/DaysView.js.map +2 -2
  107. package/lib/components/calendar/MonthsView.d.ts +28 -0
  108. package/lib/components/calendar/MonthsView.js +79 -3
  109. package/lib/components/calendar/MonthsView.js.map +2 -2
  110. package/lib/components/calendar/QuartersView.d.ts +1 -0
  111. package/lib/components/calendar/QuartersView.js +2 -2
  112. package/lib/components/calendar/QuartersView.js.map +2 -2
  113. package/lib/components/calendar/TimeView.d.ts +5 -0
  114. package/lib/components/calendar/TimeView.js +8 -5
  115. package/lib/components/calendar/TimeView.js.map +2 -2
  116. package/lib/components/calendar/YearsView.js +6 -4
  117. package/lib/components/calendar/YearsView.js.map +2 -2
  118. package/lib/components/condition-builder/Field.js +1 -4
  119. package/lib/components/condition-builder/Field.js.map +2 -2
  120. package/lib/components/condition-builder/Func.js +1 -1
  121. package/lib/components/condition-builder/Func.js.map +2 -2
  122. package/lib/components/formula/Editor.d.ts +563 -0
  123. package/lib/components/formula/Editor.js +187 -0
  124. package/lib/components/formula/Editor.js.map +13 -0
  125. package/lib/components/formula/FuncList.d.ts +67 -0
  126. package/lib/components/formula/FuncList.js +36 -0
  127. package/lib/components/formula/FuncList.js.map +13 -0
  128. package/lib/components/formula/Picker.d.ts +493 -0
  129. package/lib/components/formula/Picker.js +48 -0
  130. package/lib/components/formula/Picker.js.map +13 -0
  131. package/lib/components/formula/VariableList.d.ts +9 -0
  132. package/lib/components/formula/VariableList.js +15 -0
  133. package/lib/components/formula/VariableList.js.map +13 -0
  134. package/lib/components/formula/plugin.d.ts +18 -0
  135. package/lib/components/formula/plugin.js +136 -0
  136. package/lib/components/formula/plugin.js.map +13 -0
  137. package/lib/components/icons.js +4 -0
  138. package/lib/components/icons.js.map +2 -2
  139. package/lib/components/index.d.ts +2 -1
  140. package/lib/components/index.js +4 -2
  141. package/lib/components/index.js.map +2 -2
  142. package/lib/components/virtual-list/SizeAndPositionManager.js.map +2 -2
  143. package/lib/components/virtual-list/index.js +1 -2
  144. package/lib/components/virtual-list/index.js.map +2 -2
  145. package/lib/factory.js +5 -0
  146. package/lib/factory.js.map +2 -2
  147. package/lib/helper.css +57 -57
  148. package/lib/helper.css.map +1 -1
  149. package/lib/icons/star.js +12 -0
  150. package/lib/icons/tree-down.js +7 -0
  151. package/lib/index.d.ts +2 -0
  152. package/lib/index.js +3 -1
  153. package/lib/index.js.map +2 -2
  154. package/lib/locale/de-DE.js +13 -2
  155. package/lib/locale/de-DE.js.map +2 -2
  156. package/lib/locale/en-US.js +13 -2
  157. package/lib/locale/en-US.js.map +2 -2
  158. package/lib/locale/zh-CN.js +12 -1
  159. package/lib/locale/zh-CN.js.map +2 -2
  160. package/lib/renderers/Avatar.d.ts +35 -26
  161. package/lib/renderers/Avatar.js +14 -19
  162. package/lib/renderers/Avatar.js.map +2 -2
  163. package/lib/renderers/CRUD.js +1 -2
  164. package/lib/renderers/CRUD.js.map +2 -2
  165. package/lib/renderers/Card.js +6 -5
  166. package/lib/renderers/Card.js.map +2 -2
  167. package/lib/renderers/Custom.js.map +2 -2
  168. package/lib/renderers/Each.js +5 -2
  169. package/lib/renderers/Each.js.map +2 -2
  170. package/lib/renderers/Flex.js +1 -5
  171. package/lib/renderers/Flex.js.map +2 -2
  172. package/lib/renderers/Form/ChartRadios.js.map +2 -2
  173. package/lib/renderers/Form/Checkboxes.js.map +2 -2
  174. package/lib/renderers/Form/DiffEditor.js +2 -1
  175. package/lib/renderers/Form/DiffEditor.js.map +2 -2
  176. package/lib/renderers/Form/InputCity.d.ts +84 -84
  177. package/lib/renderers/Form/InputColor.d.ts +84 -84
  178. package/lib/renderers/Form/InputColor.js +1 -1
  179. package/lib/renderers/Form/InputColor.js.map +2 -2
  180. package/lib/renderers/Form/InputDate.js +6 -4
  181. package/lib/renderers/Form/InputDate.js.map +2 -2
  182. package/lib/renderers/Form/InputDateRange.js +1 -1
  183. package/lib/renderers/Form/InputDateRange.js.map +2 -2
  184. package/lib/renderers/Form/InputFormula.d.ts +38 -0
  185. package/lib/renderers/Form/InputFormula.js +25 -0
  186. package/lib/renderers/Form/InputFormula.js.map +13 -0
  187. package/lib/renderers/Form/InputImage.d.ts +1 -0
  188. package/lib/renderers/Form/InputImage.js +8 -4
  189. package/lib/renderers/Form/InputImage.js.map +2 -2
  190. package/lib/renderers/Form/InputMonthRange.js +1 -1
  191. package/lib/renderers/Form/InputMonthRange.js.map +2 -2
  192. package/lib/renderers/Form/InputQuarterRange.js +1 -1
  193. package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
  194. package/lib/renderers/Form/InputRating.d.ts +37 -0
  195. package/lib/renderers/Form/InputRating.js +6 -2
  196. package/lib/renderers/Form/InputRating.js.map +2 -2
  197. package/lib/renderers/Form/InputYearRange.js +1 -1
  198. package/lib/renderers/Form/InputYearRange.js.map +2 -2
  199. package/lib/renderers/Form/Item.js +11 -4
  200. package/lib/renderers/Form/Item.js.map +2 -2
  201. package/lib/renderers/Form/NestedSelect.js +1 -1
  202. package/lib/renderers/Form/NestedSelect.js.map +2 -2
  203. package/lib/renderers/Form/Select.js +1 -1
  204. package/lib/renderers/Form/Select.js.map +2 -2
  205. package/lib/renderers/Form/TabsTransfer.d.ts +5 -32
  206. package/lib/renderers/Form/TabsTransfer.js +20 -1
  207. package/lib/renderers/Form/TabsTransfer.js.map +2 -2
  208. package/lib/renderers/Form/TabsTransferPicker.d.ts +5 -35
  209. package/lib/renderers/Form/TabsTransferPicker.js +21 -2
  210. package/lib/renderers/Form/TabsTransferPicker.js.map +2 -2
  211. package/lib/renderers/Form/Transfer.d.ts +15 -4
  212. package/lib/renderers/Form/Transfer.js +55 -18
  213. package/lib/renderers/Form/Transfer.js.map +2 -2
  214. package/lib/renderers/Form/TransferPicker.d.ts +3 -32
  215. package/lib/renderers/Form/TransferPicker.js +1 -1
  216. package/lib/renderers/Form/TransferPicker.js.map +2 -2
  217. package/lib/renderers/Form/TreeSelect.d.ts +1 -0
  218. package/lib/renderers/Form/TreeSelect.js +11 -8
  219. package/lib/renderers/Form/TreeSelect.js.map +2 -2
  220. package/lib/renderers/Form/index.js +2 -1
  221. package/lib/renderers/Form/index.js.map +2 -2
  222. package/lib/renderers/IFrame.js +0 -2
  223. package/lib/renderers/IFrame.js.map +2 -2
  224. package/lib/renderers/Json.js +7 -0
  225. package/lib/renderers/Json.js.map +2 -2
  226. package/lib/renderers/Nav.js +4 -1
  227. package/lib/renderers/Nav.js.map +2 -2
  228. package/lib/renderers/Remark.d.ts +4 -0
  229. package/lib/renderers/Remark.js +38 -7
  230. package/lib/renderers/Remark.js.map +2 -2
  231. package/lib/renderers/Steps.js +5 -5
  232. package/lib/renderers/Steps.js.map +2 -2
  233. package/lib/renderers/Table/TableRow.js +4 -1
  234. package/lib/renderers/Table/TableRow.js.map +2 -2
  235. package/lib/renderers/Table/index.js +4 -1
  236. package/lib/renderers/Table/index.js.map +2 -2
  237. package/lib/renderers/Tabs.js +1 -1
  238. package/lib/renderers/Tabs.js.map +2 -2
  239. package/lib/renderers/Timeline.d.ts +65 -0
  240. package/lib/renderers/Timeline.js +54 -0
  241. package/lib/renderers/Timeline.js.map +13 -0
  242. package/lib/renderers/Video.js.map +2 -2
  243. package/lib/store/combo.js.map +2 -2
  244. package/lib/store/formItem.js +6 -6
  245. package/lib/store/formItem.js.map +2 -2
  246. package/lib/store/table.js +1 -1
  247. package/lib/store/table.js.map +2 -2
  248. package/lib/themes/ang-ie11.css +952 -23
  249. package/lib/themes/ang.css +952 -23
  250. package/lib/themes/ang.css.map +1 -1
  251. package/lib/themes/antd-ie11.css +987 -23
  252. package/lib/themes/antd.css +987 -23
  253. package/lib/themes/antd.css.map +1 -1
  254. package/lib/themes/cxd-ie11.css +991 -24
  255. package/lib/themes/cxd.css +991 -24
  256. package/lib/themes/cxd.css.map +1 -1
  257. package/lib/themes/dark-ie11.css +953 -23
  258. package/lib/themes/dark.css +953 -23
  259. package/lib/themes/dark.css.map +1 -1
  260. package/lib/themes/default.css +991 -24
  261. package/lib/themes/default.css.map +1 -1
  262. package/lib/utils/RootClose.js +3 -1
  263. package/lib/utils/RootClose.js.map +2 -2
  264. package/lib/utils/api.js +2 -2
  265. package/lib/utils/api.js.map +2 -2
  266. package/lib/utils/helper.d.ts +1 -1
  267. package/lib/utils/helper.js +1 -1
  268. package/lib/utils/helper.js.map +2 -2
  269. package/package.json +12 -3
  270. package/schema.json +1224 -671
  271. package/scss/_properties.scss +11 -1
  272. package/scss/_variables.scss +1 -1
  273. package/scss/components/_avatar.scss +27 -9
  274. package/scss/components/_calendar.scss +280 -0
  275. package/scss/components/_card.scss +1 -1
  276. package/scss/components/_collapse-group.scss +1 -3
  277. package/scss/components/_formula.scss +146 -0
  278. package/scss/components/_modal.scss +18 -0
  279. package/scss/components/_panel.scss +45 -0
  280. package/scss/components/_popup.scss +127 -0
  281. package/scss/components/_steps.scss +60 -0
  282. package/scss/components/_timeline.scss +198 -0
  283. package/scss/components/form/_color.scss +4 -0
  284. package/scss/components/form/_date-range.scss +4 -0
  285. package/scss/components/form/_date.scss +3 -0
  286. package/scss/components/form/_form.scss +168 -0
  287. package/scss/components/form/_rating.scss +60 -21
  288. package/scss/components/form/_result-list.scss +2 -0
  289. package/scss/components/form/_selection.scss +5 -4
  290. package/scss/components/form/_tree-select.scss +4 -0
  291. package/scss/helper/background/_background-color.scss +1 -1
  292. package/scss/helper/border/_border-color.scss +1 -1
  293. package/scss/helper/typography/_text-color.scss +1 -1
  294. package/scss/themes/_antd-variables.scss +42 -0
  295. package/scss/themes/_common.scss +3 -0
  296. package/scss/themes/_cxd-variables.scss +50 -1
  297. package/scss/themes/_dark-variables.scss +1 -0
  298. package/sdk/ang-ie11.css +1692 -19
  299. package/sdk/ang.css +1705 -24
  300. package/sdk/antd-ie11.css +1692 -19
  301. package/sdk/antd.css +1740 -24
  302. package/sdk/charts.js +17 -17
  303. package/sdk/codemirror.js +14 -0
  304. package/sdk/color-picker.js +65 -65
  305. package/sdk/cropperjs.js +3 -3
  306. package/sdk/cxd-ie11.css +1693 -20
  307. package/sdk/cxd.css +1744 -25
  308. package/sdk/dark-ie11.css +1693 -20
  309. package/sdk/dark.css +1706 -24
  310. package/sdk/exceljs.js +1 -1
  311. package/sdk/helper.css +57 -57
  312. package/sdk/helper.css.map +1 -1
  313. package/sdk/locale/de-DE.js +13 -2
  314. package/sdk/markdown.js +69 -69
  315. package/sdk/papaparse.js +1 -1
  316. package/sdk/renderers/Form/CityDB.js +1 -1
  317. package/sdk/rest.js +18 -18
  318. package/sdk/rich-text.js +62 -62
  319. package/sdk/sdk-ie11.css +1693 -20
  320. package/sdk/sdk.css +1744 -25
  321. package/sdk/sdk.js +1235 -1275
  322. package/sdk/thirds/hls.js/hls.js +18 -18
  323. package/sdk/thirds/mpegts.js/mpegts.js +2 -2
  324. package/sdk/tinymce.js +57 -57
  325. package/src/Schema.ts +4 -0
  326. package/src/components/AsideNav.tsx +1 -1
  327. package/src/components/AssociatedSelection.tsx +5 -1
  328. package/src/components/Avatar.tsx +253 -0
  329. package/src/components/BaiduMapPicker.tsx +19 -14
  330. package/src/components/CalendarMobile.tsx +563 -0
  331. package/src/components/Card.tsx +2 -2
  332. package/src/components/ChainedSelection.tsx +16 -3
  333. package/src/components/CodeMirror.tsx +99 -0
  334. package/src/components/Collapse.tsx +3 -2
  335. package/src/components/ColorPicker.tsx +43 -3
  336. package/src/components/DatePicker.tsx +44 -8
  337. package/src/components/DateRangePicker.tsx +64 -5
  338. package/src/components/GroupedSelection.tsx +14 -2
  339. package/src/components/MonthRangePicker.tsx +59 -5
  340. package/src/components/Overlay.tsx +1 -1
  341. package/src/components/Picker.tsx +41 -36
  342. package/src/components/PickerColumn.tsx +22 -25
  343. package/src/components/PickerContainer.tsx +23 -7
  344. package/src/components/PopUp.tsx +118 -0
  345. package/src/components/Rating.tsx +235 -47
  346. package/src/components/ResultBox.tsx +4 -1
  347. package/src/components/ResultList.tsx +36 -6
  348. package/src/components/Select.tsx +1 -1
  349. package/src/components/Selection.tsx +21 -3
  350. package/src/components/Steps.tsx +27 -9
  351. package/src/components/TableSelection.tsx +1 -44
  352. package/src/components/Tabs.tsx +65 -54
  353. package/src/components/TabsTransfer.tsx +78 -9
  354. package/src/components/TabsTransferPicker.tsx +25 -13
  355. package/src/components/Timeline.tsx +31 -0
  356. package/src/components/TimelineItem.tsx +107 -0
  357. package/src/components/Transfer.tsx +11 -8
  358. package/src/components/TransferDropDown.tsx +1 -7
  359. package/src/components/TransferPicker.tsx +25 -14
  360. package/src/components/TreeSelection.tsx +7 -1
  361. package/src/components/calendar/Calendar.tsx +26 -6
  362. package/src/components/calendar/DaysView.tsx +79 -31
  363. package/src/components/calendar/MonthsView.tsx +116 -2
  364. package/src/components/calendar/QuartersView.tsx +3 -2
  365. package/src/components/calendar/TimeView.tsx +26 -16
  366. package/src/components/calendar/YearsView.tsx +14 -16
  367. package/src/components/condition-builder/Field.tsx +1 -3
  368. package/src/components/condition-builder/Func.tsx +1 -1
  369. package/src/components/formula/Editor.tsx +266 -0
  370. package/src/components/formula/FuncList.tsx +84 -0
  371. package/src/components/formula/Picker.tsx +87 -0
  372. package/src/components/formula/VariableList.tsx +49 -0
  373. package/src/components/formula/plugin.ts +177 -0
  374. package/src/components/icons.tsx +4 -0
  375. package/src/components/index.tsx +2 -0
  376. package/src/components/virtual-list/SizeAndPositionManager.ts +6 -3
  377. package/src/components/virtual-list/index.tsx +4 -6
  378. package/src/factory.tsx +6 -0
  379. package/src/icons/star.svg +12 -0
  380. package/src/icons/tree-down.svg +5 -0
  381. package/src/index.tsx +2 -0
  382. package/src/locale/de-DE.ts +13 -2
  383. package/src/locale/en-US.ts +13 -2
  384. package/src/locale/zh-CN.ts +12 -1
  385. package/src/renderers/Avatar.tsx +83 -74
  386. package/src/renderers/CRUD.tsx +1 -3
  387. package/src/renderers/Card.tsx +10 -6
  388. package/src/renderers/Custom.tsx +6 -3
  389. package/src/renderers/Each.tsx +4 -4
  390. package/src/renderers/Flex.tsx +3 -7
  391. package/src/renderers/Form/ChartRadios.tsx +2 -7
  392. package/src/renderers/Form/Checkboxes.tsx +1 -1
  393. package/src/renderers/Form/DiffEditor.tsx +2 -3
  394. package/src/renderers/Form/InputColor.tsx +1 -2
  395. package/src/renderers/Form/InputDate.tsx +39 -18
  396. package/src/renderers/Form/InputDateRange.tsx +1 -0
  397. package/src/renderers/Form/InputFormula.tsx +80 -0
  398. package/src/renderers/Form/InputImage.tsx +9 -4
  399. package/src/renderers/Form/InputMonthRange.tsx +1 -0
  400. package/src/renderers/Form/InputQuarterRange.tsx +1 -0
  401. package/src/renderers/Form/InputRating.tsx +66 -3
  402. package/src/renderers/Form/InputYearRange.tsx +1 -0
  403. package/src/renderers/Form/Item.tsx +15 -4
  404. package/src/renderers/Form/NestedSelect.tsx +1 -1
  405. package/src/renderers/Form/Select.tsx +0 -1
  406. package/src/renderers/Form/TabsTransfer.tsx +28 -38
  407. package/src/renderers/Form/TabsTransferPicker.tsx +28 -46
  408. package/src/renderers/Form/Transfer.tsx +75 -24
  409. package/src/renderers/Form/TransferPicker.tsx +6 -38
  410. package/src/renderers/Form/TreeSelect.tsx +80 -63
  411. package/src/renderers/Form/index.tsx +2 -1
  412. package/src/renderers/IFrame.tsx +0 -2
  413. package/src/renderers/Json.tsx +5 -0
  414. package/src/renderers/Nav.tsx +4 -1
  415. package/src/renderers/Remark.tsx +67 -18
  416. package/src/renderers/Steps.tsx +13 -13
  417. package/src/renderers/Table/TableRow.tsx +3 -1
  418. package/src/renderers/Table/index.tsx +7 -1
  419. package/src/renderers/Tabs.tsx +6 -2
  420. package/src/renderers/Timeline.tsx +141 -0
  421. package/src/renderers/Video.tsx +4 -20
  422. package/src/store/combo.ts +1 -3
  423. package/src/store/formItem.ts +2 -2
  424. package/src/store/table.ts +2 -1
  425. package/src/utils/RootClose.ts +5 -1
  426. package/src/utils/api.ts +5 -2
  427. package/src/utils/helper.ts +1 -1
@@ -0,0 +1,563 @@
1
+ /// <reference types="codemirror" />
2
+ /// <reference types="hoist-non-react-statics" />
3
+ /**
4
+ * @file 公式编辑器
5
+ */
6
+ import React from 'react';
7
+ import { FormulaPlugin } from './plugin';
8
+ import { ThemeProps } from '../../theme';
9
+ import { LocaleProps } from '../../locale';
10
+ export interface VariableItem {
11
+ label: string;
12
+ value?: string;
13
+ children?: Array<VariableItem>;
14
+ selectMode?: 'tree' | 'tabs';
15
+ }
16
+ export interface FuncGroup {
17
+ groupName: string;
18
+ items: Array<FuncItem>;
19
+ }
20
+ export interface FuncItem {
21
+ name: string;
22
+ [propName: string]: any;
23
+ }
24
+ export interface FormulaEditorProps extends ThemeProps, LocaleProps {
25
+ onChange?: (value: string) => void;
26
+ value: string;
27
+ /**
28
+ * evalMode 即直接就是表达式,否则
29
+ * 需要 ${这里面才是表达式}
30
+ * 默认为 true
31
+ */
32
+ evalMode?: boolean;
33
+ /**
34
+ * 用于提示的变量集合,默认为空
35
+ */
36
+ variables: Array<VariableItem>;
37
+ /**
38
+ * 变量展现模式,可选值:'tabs' | 'tree'
39
+ */
40
+ variableMode?: 'tabs' | 'tree';
41
+ /**
42
+ * 函数集合,默认不需要传,即 amis-formula 里面那个函数
43
+ * 如果有扩充,则需要传。
44
+ */
45
+ functions: Array<FuncGroup>;
46
+ /**
47
+ * 顶部标题,默认为表达式
48
+ */
49
+ header: string;
50
+ }
51
+ export interface FunctionsProps {
52
+ name: string;
53
+ items: FunctionProps[];
54
+ }
55
+ export interface FunctionProps {
56
+ name: string;
57
+ intro: string;
58
+ usage: string;
59
+ example: string;
60
+ }
61
+ export interface FormulaState {
62
+ focused: boolean;
63
+ }
64
+ export declare class FormulaEditor extends React.Component<FormulaEditorProps, FormulaState> {
65
+ state: FormulaState;
66
+ editorPlugin?: FormulaPlugin;
67
+ static buildDefaultFunctions(doc: Array<{
68
+ namespace: string;
69
+ name: string;
70
+ [propName: string]: any;
71
+ }>): FuncGroup[];
72
+ static defaultProps: Pick<FormulaEditorProps, 'functions' | 'variables' | 'evalMode'>;
73
+ static highlightValue(value: string, variables: Array<VariableItem>, functions: Array<FuncGroup>): string;
74
+ componentWillUnmount(): void;
75
+ handleFocus(): void;
76
+ handleBlur(): void;
77
+ insertValue(value: any, type: 'variable' | 'func'): void;
78
+ handleEditorMounted(cm: any, editor: any): void;
79
+ validate(): any;
80
+ handleFunctionSelect(item: FuncItem): void;
81
+ handleVariableSelect(item: VariableItem): void;
82
+ handleOnChange(value: any): void;
83
+ editorFactory(dom: HTMLElement, cm: any): import("codemirror").Editor;
84
+ render(): JSX.Element;
85
+ }
86
+ declare const _default: {
87
+ new (props: (Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
88
+ locale?: string | undefined;
89
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
90
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
91
+ locale?: string | undefined;
92
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
93
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>): {
94
+ render(): JSX.Element;
95
+ context: any;
96
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
97
+ locale?: string | undefined;
98
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
99
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
100
+ forceUpdate(callback?: (() => void) | undefined): void;
101
+ readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
102
+ locale?: string | undefined;
103
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
104
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
105
+ children?: React.ReactNode;
106
+ }>;
107
+ state: Readonly<{}>;
108
+ refs: {
109
+ [key: string]: React.ReactInstance;
110
+ };
111
+ componentDidMount?(): void;
112
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
113
+ locale?: string | undefined;
114
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
115
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
116
+ componentWillUnmount?(): void;
117
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
118
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
119
+ locale?: string | undefined;
120
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
121
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
122
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
123
+ locale?: string | undefined;
124
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
125
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
126
+ componentWillMount?(): void;
127
+ UNSAFE_componentWillMount?(): void;
128
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
129
+ locale?: string | undefined;
130
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
131
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
132
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
133
+ locale?: string | undefined;
134
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
135
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
136
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
137
+ locale?: string | undefined;
138
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
139
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
140
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
141
+ locale?: string | undefined;
142
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
143
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
144
+ };
145
+ new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
146
+ locale?: string | undefined;
147
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
148
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps, context: any): {
149
+ render(): JSX.Element;
150
+ context: any;
151
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
152
+ locale?: string | undefined;
153
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
154
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
155
+ forceUpdate(callback?: (() => void) | undefined): void;
156
+ readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
157
+ locale?: string | undefined;
158
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
159
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
160
+ children?: React.ReactNode;
161
+ }>;
162
+ state: Readonly<{}>;
163
+ refs: {
164
+ [key: string]: React.ReactInstance;
165
+ };
166
+ componentDidMount?(): void;
167
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
168
+ locale?: string | undefined;
169
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
170
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
171
+ componentWillUnmount?(): void;
172
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
173
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
174
+ locale?: string | undefined;
175
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
176
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
177
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
178
+ locale?: string | undefined;
179
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
180
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
181
+ componentWillMount?(): void;
182
+ UNSAFE_componentWillMount?(): void;
183
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
184
+ locale?: string | undefined;
185
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
186
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
187
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
188
+ locale?: string | undefined;
189
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
190
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
191
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
192
+ locale?: string | undefined;
193
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
194
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
195
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
196
+ locale?: string | undefined;
197
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
198
+ }, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
199
+ };
200
+ displayName: string;
201
+ contextType: React.Context<string>;
202
+ ComposedComponent: React.ComponentType<{
203
+ new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
204
+ locale?: string | undefined;
205
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
206
+ }) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
207
+ locale?: string | undefined;
208
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
209
+ }>): {
210
+ render(): JSX.Element;
211
+ context: any;
212
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
213
+ locale?: string | undefined;
214
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
215
+ }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
216
+ forceUpdate(callback?: (() => void) | undefined): void;
217
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
218
+ locale?: string | undefined;
219
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
220
+ }> & Readonly<{
221
+ children?: React.ReactNode;
222
+ }>;
223
+ state: Readonly<{}>;
224
+ refs: {
225
+ [key: string]: React.ReactInstance;
226
+ };
227
+ componentDidMount?(): void;
228
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
229
+ locale?: string | undefined;
230
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
231
+ }>, nextState: Readonly<{}>, nextContext: any): boolean;
232
+ componentWillUnmount?(): void;
233
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
234
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
235
+ locale?: string | undefined;
236
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
237
+ }>, prevState: Readonly<{}>): any;
238
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
239
+ locale?: string | undefined;
240
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
241
+ }>, prevState: Readonly<{}>, snapshot?: any): void;
242
+ componentWillMount?(): void;
243
+ UNSAFE_componentWillMount?(): void;
244
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
245
+ locale?: string | undefined;
246
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
247
+ }>, nextContext: any): void;
248
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
249
+ locale?: string | undefined;
250
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
251
+ }>, nextContext: any): void;
252
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
253
+ locale?: string | undefined;
254
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
255
+ }>, nextState: Readonly<{}>, nextContext: any): void;
256
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
257
+ locale?: string | undefined;
258
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
259
+ }>, nextState: Readonly<{}>, nextContext: any): void;
260
+ };
261
+ new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
262
+ locale?: string | undefined;
263
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
264
+ }, context: any): {
265
+ render(): JSX.Element;
266
+ context: any;
267
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
268
+ locale?: string | undefined;
269
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
270
+ }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
271
+ forceUpdate(callback?: (() => void) | undefined): void;
272
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
273
+ locale?: string | undefined;
274
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
275
+ }> & Readonly<{
276
+ children?: React.ReactNode;
277
+ }>;
278
+ state: Readonly<{}>;
279
+ refs: {
280
+ [key: string]: React.ReactInstance;
281
+ };
282
+ componentDidMount?(): void;
283
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
284
+ locale?: string | undefined;
285
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
286
+ }>, nextState: Readonly<{}>, nextContext: any): boolean;
287
+ componentWillUnmount?(): void;
288
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
289
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
290
+ locale?: string | undefined;
291
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
292
+ }>, prevState: Readonly<{}>): any;
293
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
294
+ locale?: string | undefined;
295
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
296
+ }>, prevState: Readonly<{}>, snapshot?: any): void;
297
+ componentWillMount?(): void;
298
+ UNSAFE_componentWillMount?(): void;
299
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
300
+ locale?: string | undefined;
301
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
302
+ }>, nextContext: any): void;
303
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
304
+ locale?: string | undefined;
305
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
306
+ }>, nextContext: any): void;
307
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
308
+ locale?: string | undefined;
309
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
310
+ }>, nextState: Readonly<{}>, nextContext: any): void;
311
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
312
+ locale?: string | undefined;
313
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
314
+ }>, nextState: Readonly<{}>, nextContext: any): void;
315
+ };
316
+ displayName: string;
317
+ contextType: React.Context<string>;
318
+ ComposedComponent: React.ComponentType<typeof FormulaEditor>;
319
+ } & import("hoist-non-react-statics").NonReactStatics<typeof FormulaEditor, {}> & {
320
+ ComposedComponent: typeof FormulaEditor;
321
+ }>;
322
+ } & import("hoist-non-react-statics").NonReactStatics<{
323
+ new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
324
+ locale?: string | undefined;
325
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
326
+ }) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
327
+ locale?: string | undefined;
328
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
329
+ }>): {
330
+ render(): JSX.Element;
331
+ context: any;
332
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
333
+ locale?: string | undefined;
334
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
335
+ }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
336
+ forceUpdate(callback?: (() => void) | undefined): void;
337
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
338
+ locale?: string | undefined;
339
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
340
+ }> & Readonly<{
341
+ children?: React.ReactNode;
342
+ }>;
343
+ state: Readonly<{}>;
344
+ refs: {
345
+ [key: string]: React.ReactInstance;
346
+ };
347
+ componentDidMount?(): void;
348
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
349
+ locale?: string | undefined;
350
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
351
+ }>, nextState: Readonly<{}>, nextContext: any): boolean;
352
+ componentWillUnmount?(): void;
353
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
354
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
355
+ locale?: string | undefined;
356
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
357
+ }>, prevState: Readonly<{}>): any;
358
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
359
+ locale?: string | undefined;
360
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
361
+ }>, prevState: Readonly<{}>, snapshot?: any): void;
362
+ componentWillMount?(): void;
363
+ UNSAFE_componentWillMount?(): void;
364
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
365
+ locale?: string | undefined;
366
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
367
+ }>, nextContext: any): void;
368
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
369
+ locale?: string | undefined;
370
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
371
+ }>, nextContext: any): void;
372
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
373
+ locale?: string | undefined;
374
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
375
+ }>, nextState: Readonly<{}>, nextContext: any): void;
376
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
377
+ locale?: string | undefined;
378
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
379
+ }>, nextState: Readonly<{}>, nextContext: any): void;
380
+ };
381
+ new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
382
+ locale?: string | undefined;
383
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
384
+ }, context: any): {
385
+ render(): JSX.Element;
386
+ context: any;
387
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
388
+ locale?: string | undefined;
389
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
390
+ }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
391
+ forceUpdate(callback?: (() => void) | undefined): void;
392
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
393
+ locale?: string | undefined;
394
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
395
+ }> & Readonly<{
396
+ children?: React.ReactNode;
397
+ }>;
398
+ state: Readonly<{}>;
399
+ refs: {
400
+ [key: string]: React.ReactInstance;
401
+ };
402
+ componentDidMount?(): void;
403
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
404
+ locale?: string | undefined;
405
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
406
+ }>, nextState: Readonly<{}>, nextContext: any): boolean;
407
+ componentWillUnmount?(): void;
408
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
409
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
410
+ locale?: string | undefined;
411
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
412
+ }>, prevState: Readonly<{}>): any;
413
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
414
+ locale?: string | undefined;
415
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
416
+ }>, prevState: Readonly<{}>, snapshot?: any): void;
417
+ componentWillMount?(): void;
418
+ UNSAFE_componentWillMount?(): void;
419
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
420
+ locale?: string | undefined;
421
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
422
+ }>, nextContext: any): void;
423
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
424
+ locale?: string | undefined;
425
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
426
+ }>, nextContext: any): void;
427
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
428
+ locale?: string | undefined;
429
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
430
+ }>, nextState: Readonly<{}>, nextContext: any): void;
431
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
432
+ locale?: string | undefined;
433
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
434
+ }>, nextState: Readonly<{}>, nextContext: any): void;
435
+ };
436
+ displayName: string;
437
+ contextType: React.Context<string>;
438
+ ComposedComponent: React.ComponentType<typeof FormulaEditor>;
439
+ } & import("hoist-non-react-statics").NonReactStatics<typeof FormulaEditor, {}> & {
440
+ ComposedComponent: typeof FormulaEditor;
441
+ }, {}> & {
442
+ ComposedComponent: {
443
+ new (props: (Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
444
+ locale?: string | undefined;
445
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
446
+ }) | Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
447
+ locale?: string | undefined;
448
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
449
+ }>): {
450
+ render(): JSX.Element;
451
+ context: any;
452
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
453
+ locale?: string | undefined;
454
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
455
+ }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
456
+ forceUpdate(callback?: (() => void) | undefined): void;
457
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
458
+ locale?: string | undefined;
459
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
460
+ }> & Readonly<{
461
+ children?: React.ReactNode;
462
+ }>;
463
+ state: Readonly<{}>;
464
+ refs: {
465
+ [key: string]: React.ReactInstance;
466
+ };
467
+ componentDidMount?(): void;
468
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
469
+ locale?: string | undefined;
470
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
471
+ }>, nextState: Readonly<{}>, nextContext: any): boolean;
472
+ componentWillUnmount?(): void;
473
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
474
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
475
+ locale?: string | undefined;
476
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
477
+ }>, prevState: Readonly<{}>): any;
478
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
479
+ locale?: string | undefined;
480
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
481
+ }>, prevState: Readonly<{}>, snapshot?: any): void;
482
+ componentWillMount?(): void;
483
+ UNSAFE_componentWillMount?(): void;
484
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
485
+ locale?: string | undefined;
486
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
487
+ }>, nextContext: any): void;
488
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
489
+ locale?: string | undefined;
490
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
491
+ }>, nextContext: any): void;
492
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
493
+ locale?: string | undefined;
494
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
495
+ }>, nextState: Readonly<{}>, nextContext: any): void;
496
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
497
+ locale?: string | undefined;
498
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
499
+ }>, nextState: Readonly<{}>, nextContext: any): void;
500
+ };
501
+ new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
502
+ locale?: string | undefined;
503
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
504
+ }, context: any): {
505
+ render(): JSX.Element;
506
+ context: any;
507
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
508
+ locale?: string | undefined;
509
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
510
+ }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
511
+ forceUpdate(callback?: (() => void) | undefined): void;
512
+ readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
513
+ locale?: string | undefined;
514
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
515
+ }> & Readonly<{
516
+ children?: React.ReactNode;
517
+ }>;
518
+ state: Readonly<{}>;
519
+ refs: {
520
+ [key: string]: React.ReactInstance;
521
+ };
522
+ componentDidMount?(): void;
523
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
524
+ locale?: string | undefined;
525
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
526
+ }>, nextState: Readonly<{}>, nextContext: any): boolean;
527
+ componentWillUnmount?(): void;
528
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
529
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
530
+ locale?: string | undefined;
531
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
532
+ }>, prevState: Readonly<{}>): any;
533
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
534
+ locale?: string | undefined;
535
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
536
+ }>, prevState: Readonly<{}>, snapshot?: any): void;
537
+ componentWillMount?(): void;
538
+ UNSAFE_componentWillMount?(): void;
539
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
540
+ locale?: string | undefined;
541
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
542
+ }>, nextContext: any): void;
543
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
544
+ locale?: string | undefined;
545
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
546
+ }>, nextContext: any): void;
547
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
548
+ locale?: string | undefined;
549
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
550
+ }>, nextState: Readonly<{}>, nextContext: any): void;
551
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "className" | "theme" | "value" | "onChange" | "variableMode"> & Partial<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "evalMode" | "functions" | "variables">> & Partial<Pick<Pick<FormulaEditorProps, "evalMode" | "functions" | "variables">, never>> & {
552
+ locale?: string | undefined;
553
+ translate?: ((str: string, ...args: any[]) => string) | undefined;
554
+ }>, nextState: Readonly<{}>, nextContext: any): void;
555
+ };
556
+ displayName: string;
557
+ contextType: React.Context<string>;
558
+ ComposedComponent: React.ComponentType<typeof FormulaEditor>;
559
+ } & import("hoist-non-react-statics").NonReactStatics<typeof FormulaEditor, {}> & {
560
+ ComposedComponent: typeof FormulaEditor;
561
+ };
562
+ };
563
+ export default _default;