amis-editor 4.1.0-beta.4 → 5.2.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (420) hide show
  1. package/lib/component/BaseControl.d.ts +1831 -0
  2. package/lib/component/BaseControl.js +366 -0
  3. package/{dist/component/base → lib/component}/InputComponentName.d.ts +1 -1
  4. package/lib/component/InputComponentName.js +44 -0
  5. package/{dist → lib}/component/TableViewEditor.d.ts +2 -2
  6. package/lib/component/TableViewEditor.js +528 -0
  7. package/lib/event-action/actions.d.ts +3 -0
  8. package/lib/event-action/actions.js +188 -0
  9. package/lib/event-action/schema.d.ts +13 -0
  10. package/lib/event-action/schema.js +134 -0
  11. package/{dist → lib}/index.d.ts +27 -31
  12. package/lib/index.js +181 -0
  13. package/{dist → lib}/plugin/Alert.d.ts +5 -3
  14. package/lib/plugin/Alert.js +113 -0
  15. package/lib/plugin/AnchorNav.d.ts +48 -0
  16. package/lib/plugin/AnchorNav.js +297 -0
  17. package/{dist → lib}/plugin/Audio.d.ts +1 -1
  18. package/lib/plugin/Audio.js +157 -0
  19. package/{dist → lib}/plugin/Avatar.d.ts +11 -2
  20. package/lib/plugin/Avatar.js +305 -0
  21. package/{dist → lib}/plugin/Breadcrumb.d.ts +1 -1
  22. package/lib/plugin/Breadcrumb.js +116 -0
  23. package/{dist → lib}/plugin/Button.d.ts +7 -3
  24. package/lib/plugin/Button.js +297 -0
  25. package/lib/plugin/ButtonGroup.d.ts +39 -0
  26. package/lib/plugin/ButtonGroup.js +139 -0
  27. package/{dist → lib}/plugin/ButtonToolbar.d.ts +5 -11
  28. package/lib/plugin/ButtonToolbar.js +89 -0
  29. package/{dist → lib}/plugin/CRUD.d.ts +3 -1
  30. package/lib/plugin/CRUD.js +1528 -0
  31. package/{dist → lib}/plugin/Card.d.ts +2 -1
  32. package/lib/plugin/Card.js +233 -0
  33. package/{dist → lib}/plugin/Cards.d.ts +3 -2
  34. package/lib/plugin/Cards.js +254 -0
  35. package/{dist → lib}/plugin/Carousel.d.ts +2 -1
  36. package/lib/plugin/Carousel.js +358 -0
  37. package/{dist → lib}/plugin/Chart.d.ts +4 -1
  38. package/lib/plugin/Chart.js +192 -0
  39. package/{dist → lib}/plugin/CodeView.d.ts +1 -1
  40. package/lib/plugin/CodeView.js +68 -0
  41. package/{dist → lib}/plugin/Collapse.d.ts +3 -1
  42. package/lib/plugin/Collapse.js +138 -0
  43. package/{dist → lib}/plugin/CollapseGroup.d.ts +29 -5
  44. package/lib/plugin/CollapseGroup.js +237 -0
  45. package/{dist → lib}/plugin/Container.d.ts +3 -2
  46. package/lib/plugin/Container.js +100 -0
  47. package/{dist → lib}/plugin/Custom.d.ts +4 -1
  48. package/lib/plugin/Custom.js +109 -0
  49. package/lib/plugin/CustomRegion.d.ts +40 -0
  50. package/lib/plugin/CustomRegion.js +154 -0
  51. package/{dist → lib}/plugin/Date.d.ts +1 -1
  52. package/lib/plugin/Date.js +82 -0
  53. package/{dist → lib}/plugin/Datetime.d.ts +1 -1
  54. package/lib/plugin/Datetime.js +77 -0
  55. package/{dist → lib}/plugin/Dialog.d.ts +13 -3
  56. package/lib/plugin/Dialog.js +214 -0
  57. package/{dist → lib}/plugin/Divider.d.ts +1 -1
  58. package/lib/plugin/Divider.js +49 -0
  59. package/{dist → lib}/plugin/Drawer.d.ts +13 -3
  60. package/lib/plugin/Drawer.js +240 -0
  61. package/{dist → lib}/plugin/DropDownButton.d.ts +13 -12
  62. package/lib/plugin/DropDownButton.js +229 -0
  63. package/{dist → lib}/plugin/Each.d.ts +2 -2
  64. package/lib/plugin/Each.js +131 -0
  65. package/{dist → lib}/plugin/Flex.d.ts +2 -1
  66. package/lib/plugin/Flex.js +203 -0
  67. package/{dist → lib}/plugin/Form/ButtonGroupSelect.d.ts +7 -2
  68. package/lib/plugin/Form/ButtonGroupSelect.js +161 -0
  69. package/{dist → lib}/plugin/Form/ButtonToolbar.d.ts +8 -7
  70. package/lib/plugin/Form/ButtonToolbar.js +107 -0
  71. package/{dist → lib}/plugin/Form/ChainedSelect.d.ts +8 -2
  72. package/lib/plugin/Form/ChainedSelect.js +183 -0
  73. package/{dist → lib}/plugin/Form/Checkbox.d.ts +7 -2
  74. package/lib/plugin/Form/Checkbox.js +174 -0
  75. package/{dist → lib}/plugin/Form/Checkboxes.d.ts +8 -2
  76. package/lib/plugin/Form/Checkboxes.js +213 -0
  77. package/lib/plugin/Form/CodeEditor.d.ts +25 -0
  78. package/lib/plugin/Form/CodeEditor.js +201 -0
  79. package/{dist → lib}/plugin/Form/Combo.d.ts +4 -1
  80. package/lib/plugin/Form/Combo.js +546 -0
  81. package/{dist → lib}/plugin/Form/ConditionBuilder.d.ts +1 -1
  82. package/lib/plugin/Form/ConditionBuilder.js +302 -0
  83. package/{dist → lib}/plugin/Form/Control.d.ts +7 -2
  84. package/lib/plugin/Form/Control.js +88 -0
  85. package/{dist → lib}/plugin/Form/DiffEditor.d.ts +8 -2
  86. package/lib/plugin/Form/DiffEditor.js +204 -0
  87. package/{dist → lib}/plugin/Form/FieldSet.d.ts +1 -1
  88. package/lib/plugin/Form/FieldSet.js +152 -0
  89. package/lib/plugin/Form/Form.d.ts +42 -0
  90. package/lib/plugin/Form/Form.js +846 -0
  91. package/lib/plugin/Form/Formula.d.ts +27 -0
  92. package/lib/plugin/Form/Formula.js +82 -0
  93. package/{dist → lib}/plugin/Form/Group.d.ts +1 -1
  94. package/lib/plugin/Form/Group.js +252 -0
  95. package/{dist → lib}/plugin/Form/Hidden.d.ts +1 -1
  96. package/lib/plugin/Form/Hidden.js +58 -0
  97. package/{dist → lib}/plugin/Form/InputArray.d.ts +1 -1
  98. package/lib/plugin/Form/InputArray.js +181 -0
  99. package/{dist → lib}/plugin/Form/InputCity.d.ts +6 -2
  100. package/lib/plugin/Form/InputCity.js +139 -0
  101. package/{dist → lib}/plugin/Form/InputColor.d.ts +20 -18
  102. package/lib/plugin/Form/InputColor.js +295 -0
  103. package/lib/plugin/Form/InputDate.d.ts +26 -0
  104. package/lib/plugin/Form/InputDate.js +357 -0
  105. package/lib/plugin/Form/InputDateRange.d.ts +26 -0
  106. package/lib/plugin/Form/InputDateRange.js +350 -0
  107. package/{dist → lib}/plugin/Form/InputDateTime.d.ts +4 -4
  108. package/lib/plugin/Form/InputDateTime.js +50 -0
  109. package/lib/plugin/Form/InputDateTimeRange.d.ts +20 -0
  110. package/lib/plugin/Form/InputDateTimeRange.js +51 -0
  111. package/{dist → lib}/plugin/Form/InputEmail.d.ts +1 -0
  112. package/lib/plugin/Form/InputEmail.js +45 -0
  113. package/lib/plugin/Form/InputExcel.d.ts +23 -0
  114. package/lib/plugin/Form/InputExcel.js +121 -0
  115. package/{dist → lib}/plugin/Form/InputFile.d.ts +7 -3
  116. package/lib/plugin/Form/InputFile.js +354 -0
  117. package/{dist → lib}/plugin/Form/InputGroup.d.ts +1 -1
  118. package/lib/plugin/Form/InputGroup.js +100 -0
  119. package/{dist → lib}/plugin/Form/InputImage.d.ts +6 -2
  120. package/lib/plugin/Form/InputImage.js +271 -0
  121. package/{dist → lib}/plugin/Form/InputKV.d.ts +7 -1
  122. package/lib/plugin/Form/InputKV.js +129 -0
  123. package/{dist → lib}/plugin/Form/InputMonth.d.ts +1 -0
  124. package/lib/plugin/Form/InputMonth.js +48 -0
  125. package/{dist/plugin/Form/InputDate.d.ts → lib/plugin/Form/InputMonthRange.d.ts} +4 -4
  126. package/lib/plugin/Form/InputMonthRange.js +51 -0
  127. package/{dist → lib}/plugin/Form/InputNumber.d.ts +7 -2
  128. package/lib/plugin/Form/InputNumber.js +263 -0
  129. package/{dist → lib}/plugin/Form/InputPassword.d.ts +1 -0
  130. package/lib/plugin/Form/InputPassword.js +45 -0
  131. package/{dist → lib}/plugin/Form/InputQuarter.d.ts +1 -0
  132. package/lib/plugin/Form/InputQuarter.js +48 -0
  133. package/{dist → lib}/plugin/Form/InputQuarterRange.d.ts +4 -4
  134. package/lib/plugin/Form/InputQuarterRange.js +51 -0
  135. package/{dist → lib}/plugin/Form/InputRange.d.ts +7 -2
  136. package/lib/plugin/Form/InputRange.js +292 -0
  137. package/lib/plugin/Form/InputRating.d.ts +25 -0
  138. package/lib/plugin/Form/InputRating.js +357 -0
  139. package/{dist → lib}/plugin/Form/InputRepeat.d.ts +1 -1
  140. package/lib/plugin/Form/InputRepeat.js +65 -0
  141. package/{dist → lib}/plugin/Form/InputRichText.d.ts +1 -1
  142. package/lib/plugin/Form/InputRichText.js +193 -0
  143. package/{dist → lib}/plugin/Form/InputSubForm.d.ts +2 -1
  144. package/lib/plugin/Form/InputSubForm.js +160 -0
  145. package/{dist → lib}/plugin/Form/InputTable.d.ts +1 -1
  146. package/lib/plugin/Form/InputTable.js +400 -0
  147. package/{dist → lib}/plugin/Form/InputTag.d.ts +6 -2
  148. package/lib/plugin/Form/InputTag.js +155 -0
  149. package/lib/plugin/Form/InputText.d.ts +42 -0
  150. package/lib/plugin/Form/InputText.js +328 -0
  151. package/{dist → lib}/plugin/Form/InputTime.d.ts +3 -3
  152. package/lib/plugin/Form/InputTime.js +48 -0
  153. package/{dist/plugin/Form/InputDateTimeRange.d.ts → lib/plugin/Form/InputTimeRange.d.ts} +4 -4
  154. package/lib/plugin/Form/InputTimeRange.js +51 -0
  155. package/{dist → lib}/plugin/Form/InputTree.d.ts +6 -2
  156. package/lib/plugin/Form/InputTree.js +375 -0
  157. package/{dist → lib}/plugin/Form/InputURL.d.ts +2 -0
  158. package/lib/plugin/Form/InputURL.js +46 -0
  159. package/{dist → lib}/plugin/Form/InputYear.d.ts +1 -0
  160. package/lib/plugin/Form/InputYear.js +48 -0
  161. package/{dist/plugin/Form/InputMonthRange.d.ts → lib/plugin/Form/InputYearRange.d.ts} +4 -4
  162. package/lib/plugin/Form/InputYearRange.js +51 -0
  163. package/{dist → lib}/plugin/Form/Item.d.ts +2 -2
  164. package/lib/plugin/Form/Item.js +265 -0
  165. package/{dist → lib}/plugin/Form/ListSelect.d.ts +6 -2
  166. package/lib/plugin/Form/ListSelect.js +130 -0
  167. package/{dist/plugin/Form/InputDateRange.d.ts → lib/plugin/Form/LocationPicker.d.ts} +5 -6
  168. package/lib/plugin/Form/LocationPicker.js +74 -0
  169. package/{dist → lib}/plugin/Form/MatrixCheckboxes.d.ts +7 -2
  170. package/lib/plugin/Form/MatrixCheckboxes.js +234 -0
  171. package/{dist → lib}/plugin/Form/NestedSelect.d.ts +8 -2
  172. package/lib/plugin/Form/NestedSelect.js +328 -0
  173. package/{dist → lib}/plugin/Form/Picker.d.ts +1 -1
  174. package/lib/plugin/Form/Picker.js +169 -0
  175. package/{dist → lib}/plugin/Form/Radios.d.ts +7 -2
  176. package/lib/plugin/Form/Radios.js +189 -0
  177. package/{dist → lib}/plugin/Form/Select.d.ts +7 -2
  178. package/lib/plugin/Form/Select.js +304 -0
  179. package/{dist → lib}/plugin/Form/Static.d.ts +4 -3
  180. package/lib/plugin/Form/Static.js +312 -0
  181. package/{dist → lib}/plugin/Form/Switch.d.ts +9 -2
  182. package/lib/plugin/Form/Switch.js +219 -0
  183. package/{dist → lib}/plugin/Form/TabsTransfer.d.ts +5 -2
  184. package/lib/plugin/Form/TabsTransfer.js +348 -0
  185. package/{dist → lib}/plugin/Form/Textarea.d.ts +8 -2
  186. package/lib/plugin/Form/Textarea.js +190 -0
  187. package/{dist → lib}/plugin/Form/Transfer.d.ts +5 -2
  188. package/lib/plugin/Form/Transfer.js +414 -0
  189. package/{dist → lib}/plugin/Form/TreeSelect.d.ts +6 -2
  190. package/lib/plugin/Form/TreeSelect.js +375 -0
  191. package/{dist → lib}/plugin/Form/UUID.d.ts +1 -1
  192. package/lib/plugin/Form/UUID.js +55 -0
  193. package/{dist → lib}/plugin/Grid.d.ts +3 -2
  194. package/lib/plugin/Grid.js +680 -0
  195. package/{dist → lib}/plugin/HBox.d.ts +3 -2
  196. package/lib/plugin/HBox.js +594 -0
  197. package/{dist → lib}/plugin/IFrame.d.ts +6 -5
  198. package/lib/plugin/IFrame.js +94 -0
  199. package/{dist → lib}/plugin/Image.d.ts +1 -1
  200. package/lib/plugin/Image.js +264 -0
  201. package/{dist → lib}/plugin/Images.d.ts +1 -1
  202. package/lib/plugin/Images.js +214 -0
  203. package/{dist → lib}/plugin/Json.d.ts +2 -1
  204. package/lib/plugin/Json.js +82 -0
  205. package/{dist → lib}/plugin/Link.d.ts +2 -1
  206. package/lib/plugin/Link.js +120 -0
  207. package/{dist → lib}/plugin/List.d.ts +3 -2
  208. package/lib/plugin/List.js +220 -0
  209. package/{dist → lib}/plugin/ListItem.d.ts +1 -1
  210. package/lib/plugin/ListItem.js +195 -0
  211. package/{dist → lib}/plugin/Log.d.ts +1 -1
  212. package/lib/plugin/Log.js +62 -0
  213. package/{dist → lib}/plugin/Mapping.d.ts +2 -1
  214. package/lib/plugin/Mapping.js +149 -0
  215. package/{dist → lib}/plugin/Markdown.d.ts +2 -1
  216. package/lib/plugin/Markdown.js +58 -0
  217. package/lib/plugin/Nav.d.ts +48 -0
  218. package/lib/plugin/Nav.js +181 -0
  219. package/{dist → lib}/plugin/Operation.d.ts +1 -1
  220. package/lib/plugin/Operation.js +84 -0
  221. package/{dist → lib}/plugin/Others/Action.d.ts +6 -2
  222. package/lib/plugin/Others/Action.js +350 -0
  223. package/{dist → lib}/plugin/Others/TableCell.d.ts +1 -1
  224. package/lib/plugin/Others/TableCell.js +393 -0
  225. package/{dist → lib}/plugin/Page.d.ts +7 -4
  226. package/lib/plugin/Page.js +363 -0
  227. package/lib/plugin/Pagination.d.ts +51 -0
  228. package/lib/plugin/Pagination.js +247 -0
  229. package/{dist → lib}/plugin/Panel.d.ts +1 -1
  230. package/lib/plugin/Panel.js +222 -0
  231. package/{dist → lib}/plugin/Plain.d.ts +1 -1
  232. package/lib/plugin/Plain.js +88 -0
  233. package/{dist → lib}/plugin/Progress.d.ts +7 -2
  234. package/lib/plugin/Progress.js +258 -0
  235. package/{dist → lib}/plugin/Property.d.ts +1 -1
  236. package/lib/plugin/Property.js +147 -0
  237. package/{dist → lib}/plugin/QRCode.d.ts +2 -1
  238. package/lib/plugin/QRCode.js +107 -0
  239. package/{dist → lib}/plugin/Reset.d.ts +0 -1
  240. package/lib/plugin/Reset.js +38 -0
  241. package/{dist → lib}/plugin/Service.d.ts +5 -1
  242. package/lib/plugin/Service.js +217 -0
  243. package/{dist → lib}/plugin/Sparkline.d.ts +2 -1
  244. package/lib/plugin/Sparkline.js +50 -0
  245. package/{dist → lib}/plugin/Status.d.ts +2 -1
  246. package/lib/plugin/Status.js +86 -0
  247. package/{dist → lib}/plugin/Steps.d.ts +2 -1
  248. package/lib/plugin/Steps.js +136 -0
  249. package/{dist → lib}/plugin/Submit.d.ts +0 -1
  250. package/lib/plugin/Submit.js +38 -0
  251. package/{dist → lib}/plugin/Table.d.ts +7 -2
  252. package/lib/plugin/Table.js +594 -0
  253. package/{dist → lib}/plugin/TableView.d.ts +2 -1
  254. package/lib/plugin/TableView.js +744 -0
  255. package/{dist → lib}/plugin/Tabs.d.ts +34 -2
  256. package/lib/plugin/Tabs.js +429 -0
  257. package/{dist → lib}/plugin/Tasks.d.ts +2 -1
  258. package/lib/plugin/Tasks.js +263 -0
  259. package/{dist → lib}/plugin/Time.d.ts +1 -1
  260. package/lib/plugin/Time.js +77 -0
  261. package/{dist → lib}/plugin/TooltipWrapper.d.ts +12 -1
  262. package/lib/plugin/TooltipWrapper.js +281 -0
  263. package/{dist → lib}/plugin/Tpl.d.ts +3 -2
  264. package/lib/plugin/Tpl.js +183 -0
  265. package/{dist → lib}/plugin/Video.d.ts +2 -1
  266. package/lib/plugin/Video.js +140 -0
  267. package/{dist → lib}/plugin/WebComponent.d.ts +2 -1
  268. package/lib/plugin/WebComponent.js +70 -0
  269. package/{dist → lib}/plugin/Wizard.d.ts +16 -4
  270. package/lib/plugin/Wizard.js +799 -0
  271. package/{dist → lib}/plugin/Wrapper.d.ts +2 -1
  272. package/lib/plugin/Wrapper.js +136 -0
  273. package/lib/renderer/APIControl.d.ts +7526 -0
  274. package/lib/renderer/APIControl.js +791 -0
  275. package/lib/renderer/BadgeControl.d.ts +134 -0
  276. package/lib/renderer/BadgeControl.js +290 -0
  277. package/lib/renderer/DataBindingControl.d.ts +14 -0
  278. package/lib/renderer/DataBindingControl.js +91 -0
  279. package/lib/renderer/DataMappingControl.d.ts +11 -0
  280. package/lib/renderer/DataMappingControl.js +73 -0
  281. package/lib/renderer/DataPickerControl.d.ts +13 -0
  282. package/lib/renderer/DataPickerControl.js +83 -0
  283. package/lib/renderer/DateShortCutControl.d.ts +83 -0
  284. package/lib/renderer/DateShortCutControl.js +254 -0
  285. package/lib/renderer/FormulaControl.d.ts +96 -0
  286. package/lib/renderer/FormulaControl.js +324 -0
  287. package/{dist/component/Control → lib/renderer}/OptionControl.d.ts +25 -36
  288. package/lib/renderer/OptionControl.js +672 -0
  289. package/{dist/component/Control → lib/renderer}/PopoverEdit.d.ts +4 -4
  290. package/lib/renderer/RangePartsControl.d.ts +91 -0
  291. package/lib/renderer/RangePartsControl.js +392 -0
  292. package/lib/renderer/StatusControl.d.ts +39 -0
  293. package/lib/renderer/StatusControl.js +171 -0
  294. package/lib/renderer/SwitchMoreControl.d.ts +222 -0
  295. package/lib/renderer/SwitchMoreControl.js +302 -0
  296. package/lib/renderer/ValidationControl.d.ts +65 -0
  297. package/lib/renderer/ValidationControl.js +279 -0
  298. package/lib/renderer/ValidationItem.d.ts +46 -0
  299. package/lib/renderer/ValidationItem.js +147 -0
  300. package/lib/renderer/style-control/Background.d.ts +17 -0
  301. package/lib/renderer/style-control/Background.js +493 -0
  302. package/lib/renderer/style-control/Border.d.ts +18 -0
  303. package/lib/renderer/style-control/Border.js +191 -0
  304. package/lib/renderer/style-control/BoxModel.d.ts +17 -0
  305. package/lib/renderer/style-control/BoxModel.js +73 -0
  306. package/lib/renderer/style-control/BoxShadow.d.ts +18 -0
  307. package/lib/renderer/style-control/BoxShadow.js +125 -0
  308. package/lib/renderer/style-control/Display.d.ts +14 -0
  309. package/lib/renderer/style-control/Display.js +233 -0
  310. package/lib/renderer/style-control/Font.d.ts +16 -0
  311. package/lib/renderer/style-control/Font.js +239 -0
  312. package/lib/renderer/style-control/font-family.d.ts +11 -0
  313. package/lib/renderer/style-control/font-family.js +149 -0
  314. package/lib/renderer/style-control/transformation.d.ts +29 -0
  315. package/lib/renderer/style-control/transformation.js +84 -0
  316. package/lib/renderer/style-control/types.d.ts +8 -0
  317. package/lib/tpl/api.d.ts +1 -0
  318. package/lib/tpl/api.js +378 -0
  319. package/lib/tpl/common.d.ts +1 -0
  320. package/lib/tpl/common.js +808 -0
  321. package/lib/tpl/horizontal.d.ts +1 -0
  322. package/lib/tpl/horizontal.js +260 -0
  323. package/lib/tpl/index.d.ts +7 -0
  324. package/lib/tpl/options.d.ts +1 -0
  325. package/lib/tpl/options.js +265 -0
  326. package/{dist/component/schemaTpl.d.ts → lib/tpl/style.d.ts} +0 -4
  327. package/lib/tpl/style.js +372 -0
  328. package/lib/tpl/validations.d.ts +1 -0
  329. package/lib/tpl/validations.js +568 -0
  330. package/lib/util.d.ts +24 -0
  331. package/lib/util.js +64 -0
  332. package/lib/validator.d.ts +62 -0
  333. package/lib/validator.js +417 -0
  334. package/package.json +36 -25
  335. package/dist/150a58f3318ca7541ed9.png +0 -0
  336. package/dist/471adb97c322b226e589.png +0 -0
  337. package/dist/4de5f42360bc5946c3c2.png +0 -0
  338. package/dist/4e9968bba3855f088fed.png +0 -0
  339. package/dist/7f09c38ebc687fea847a.png +0 -0
  340. package/dist/c94073576487510314ea.png +0 -0
  341. package/dist/cebfe0bc5a1dbde02da1.svg +0 -10
  342. package/dist/compat.d.ts +0 -30
  343. package/dist/component/Breadcrumb.d.ts +0 -12
  344. package/dist/component/ClassNameControl.d.ts +0 -31
  345. package/dist/component/CommonConfigWrapper.d.ts +0 -6
  346. package/dist/component/ContainerWrapper.d.ts +0 -12
  347. package/dist/component/Control/APIControl.d.ts +0 -504
  348. package/dist/component/Control/ValidationControl.d.ts +0 -30
  349. package/dist/component/Editor.d.ts +0 -62
  350. package/dist/component/HighlightBox.d.ts +0 -29
  351. package/dist/component/IFrameBridge.d.ts +0 -32
  352. package/dist/component/IFramePreview.d.ts +0 -37
  353. package/dist/component/MiniEditor.d.ts +0 -9
  354. package/dist/component/NodeWrapper.d.ts +0 -20
  355. package/dist/component/Panel/AMisCodeEditor.d.ts +0 -37
  356. package/dist/component/Panel/AvailableRenderersPanel.d.ts +0 -10
  357. package/dist/component/Panel/CodeEditorPanel.d.ts +0 -6
  358. package/dist/component/Panel/ContextMenuPanel.d.ts +0 -8
  359. package/dist/component/Panel/DrawerPanel.d.ts +0 -15
  360. package/dist/component/Panel/DrawerRendererPanel.d.ts +0 -15
  361. package/dist/component/Panel/InsertSubRendererPanel.d.ts +0 -11
  362. package/dist/component/Panel/LeftPanels.d.ts +0 -20
  363. package/dist/component/Panel/Outline.d.ts +0 -18
  364. package/dist/component/Panel/RenderersPanel.d.ts +0 -32
  365. package/dist/component/Panel/RightPanels.d.ts +0 -21
  366. package/dist/component/Panel/TargetNamePanel.d.ts +0 -7
  367. package/dist/component/PopOverForm.d.ts +0 -22
  368. package/dist/component/Preview.d.ts +0 -65
  369. package/dist/component/RegionHLBox.d.ts +0 -20
  370. package/dist/component/RegionWrapper.d.ts +0 -192
  371. package/dist/component/RendererThumb.d.ts +0 -22
  372. package/dist/component/ScaffoldModal.d.ts +0 -24
  373. package/dist/component/SubEditor.d.ts +0 -67
  374. package/dist/component/VRenderer.d.ts +0 -177
  375. package/dist/component/base/BackTop.d.ts +0 -26
  376. package/dist/component/base/ErrorRenderer.d.ts +0 -4
  377. package/dist/component/base/SearchRendererPanel.d.ts +0 -59
  378. package/dist/component/base/WidthDraggableBtn.d.ts +0 -16
  379. package/dist/component/base/WidthDraggableContainer.d.ts +0 -2
  380. package/dist/component/remarkTpl.d.ts +0 -150
  381. package/dist/dnd/default.d.ts +0 -47
  382. package/dist/dnd/index.d.ts +0 -119
  383. package/dist/dnd/interface.d.ts +0 -14
  384. package/dist/dnd/position-h.d.ts +0 -7
  385. package/dist/env.d.ts +0 -5
  386. package/dist/exports.d.ts +0 -8
  387. package/dist/exports.min.js +0 -1
  388. package/dist/icons/index.d.ts +0 -2
  389. package/dist/index.min.js +0 -1
  390. package/dist/manager.d.ts +0 -445
  391. package/dist/mocker.d.ts +0 -1
  392. package/dist/plugin/AnchorNav.d.ts +0 -67
  393. package/dist/plugin/ButtonGroup.d.ts +0 -60
  394. package/dist/plugin/ErrorRenderer.d.ts +0 -7
  395. package/dist/plugin/Form/CodeEditor.d.ts +0 -40
  396. package/dist/plugin/Form/Form.d.ts +0 -20
  397. package/dist/plugin/Form/Formula.d.ts +0 -51
  398. package/dist/plugin/Form/InputExcel.d.ts +0 -58
  399. package/dist/plugin/Form/InputRating.d.ts +0 -19
  400. package/dist/plugin/Form/InputText.d.ts +0 -20
  401. package/dist/plugin/Form/LocationPicker.d.ts +0 -48
  402. package/dist/plugin/Nav.d.ts +0 -162
  403. package/dist/plugin/Others/BasicToolbar.d.ts +0 -11
  404. package/dist/plugin/Others/DataDebug.d.ts +0 -19
  405. package/dist/plugin/Others/Unknown.d.ts +0 -5
  406. package/dist/plugin/Panel/AvailableRenderers.d.ts +0 -8
  407. package/dist/plugin/Panel/Code.d.ts +0 -9
  408. package/dist/plugin/Panel/Name.d.ts +0 -8
  409. package/dist/plugin.d.ts +0 -600
  410. package/dist/store/editor.d.ts +0 -985
  411. package/dist/store/node.d.ts +0 -259
  412. package/dist/style.css +0 -1
  413. package/dist/util.d.ts +0 -72
  414. package/static/Code-hover.png +0 -0
  415. package/static/Code.png +0 -0
  416. package/static/Outline-hover.png +0 -0
  417. package/static/Outline.png +0 -0
  418. package/static/Renderers-hover.png +0 -0
  419. package/static/Renderers.png +0 -0
  420. package/static/side_hide_left.svg +0 -10
@@ -1,985 +0,0 @@
1
- import { Instance } from 'mobx-state-tree';
2
- import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm, PopOverForm } from '../plugin';
3
- import { Schema } from 'amis/lib/types';
4
- import { EditorNodeType } from './node';
5
- export interface SchemaHistory {
6
- versionId: number;
7
- schema: any;
8
- }
9
- export declare type SubEditorContext = {
10
- title: string;
11
- value: any;
12
- onChange: (value: any, diff: any) => void;
13
- slot?: any;
14
- data?: any;
15
- validate?: (value: any) => void | string | Promise<void | string>;
16
- canUndo?: boolean;
17
- canRedo?: boolean;
18
- typeMutable?: boolean;
19
- memberImmutable?: boolean | Array<string>;
20
- props?: any;
21
- };
22
- export declare type PatchItem = {
23
- op: 'update' | 'replace';
24
- target: string;
25
- value: any;
26
- } | {
27
- op: 'delete';
28
- target: string;
29
- } | {
30
- op: 'push';
31
- target: string;
32
- key: string;
33
- value: any;
34
- } | {
35
- op: 'splice';
36
- target: string;
37
- key: string;
38
- args: Array<any>;
39
- };
40
- export interface ScaffoldFormContext extends ScaffoldForm {
41
- value: any;
42
- callback: (value: any) => void;
43
- }
44
- export interface PopOverFormContext extends PopOverForm {
45
- target: () => HTMLElement;
46
- value: any;
47
- callback: (value: any, diff: any) => void;
48
- }
49
- /**
50
- * 搜集的 name 信息
51
- */
52
- export interface TargetName {
53
- type: string;
54
- name: string;
55
- editorId: string;
56
- }
57
- export declare const EditorStore: import("mobx-state-tree").IModelType<{
58
- isMobile: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
59
- isSubEditor: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
60
- amisDocHost: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
61
- root: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
62
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
63
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
64
- isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
65
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
66
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
67
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
68
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
69
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
70
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
71
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
72
- state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
73
- widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
74
- heightMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
75
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
76
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
77
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
78
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
79
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
80
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
81
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
82
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
83
- }, {
84
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
85
- } & {
86
- readonly info: RendererInfo;
87
- setInfo(value: RendererInfo): void;
88
- readonly isVitualRenderer: boolean;
89
- readonly clickable: boolean;
90
- readonly draggable: boolean;
91
- readonly moveable: boolean;
92
- readonly removable: boolean;
93
- readonly duplicatable: boolean;
94
- readonly replaceable: boolean;
95
- memberImmutable(region: string): boolean;
96
- readonly isRegion: boolean;
97
- readonly childRegions: any[];
98
- readonly uniqueChildren: any[];
99
- readonly sameIdChild: any;
100
- readonly singleRegion: boolean;
101
- isExists(id: string): boolean;
102
- getChildById(id: string): any;
103
- readonly parent: any;
104
- readonly host: any;
105
- readonly firstChild: any;
106
- readonly index: any;
107
- readonly prevSibling: any;
108
- readonly nextSibling: any;
109
- readonly schema: any;
110
- readonly schemaParent: any;
111
- readonly isSecondFactor: boolean;
112
- } & {
113
- updateIsCommonConfig: (value: boolean) => void;
114
- addChild(props: {
115
- id: string;
116
- label: string;
117
- path: string;
118
- isCommonConfig?: boolean | undefined;
119
- info?: RendererInfo | undefined;
120
- region?: string | undefined;
121
- getData?: (() => any) | undefined;
122
- preferTag?: string | undefined;
123
- schemaPath?: string | undefined;
124
- regionInfo?: import("../plugin").RegionConfig | undefined;
125
- widthMutable?: boolean | undefined;
126
- memberIndex?: number | undefined;
127
- }): any;
128
- removeChild(child: any): void;
129
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
130
- patch(store: any, force?: boolean): void;
131
- updateSchema(value: any): void;
132
- setComponent(value: any): void;
133
- getComponent(): any;
134
- calculateHighlightBox(root?: any): void;
135
- resetHighlightBox(root: any): void;
136
- updateState(state: any, replace?: boolean): void;
137
- setWidthMutable(value: any): void;
138
- setHeightMutable(value: any): void;
139
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
140
- theme: import("mobx-state-tree").IType<string | undefined, string, string>;
141
- hoverId: import("mobx-state-tree").IType<string | undefined, string, string>;
142
- hoverRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
143
- activeId: import("mobx-state-tree").IType<string | undefined, string, string>;
144
- activeRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
145
- mouseMoveRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
146
- selections: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[], string[], string[]>, [undefined]>;
147
- contextId: import("mobx-state-tree").IType<string | undefined, string, string>;
148
- dragMode: import("mobx-state-tree").IType<string | undefined, string, string>;
149
- dragId: import("mobx-state-tree").IType<string | undefined, string, string>;
150
- dragType: import("mobx-state-tree").IType<string | undefined, string, string>;
151
- dragSchema: import("mobx-state-tree").IType<any, any, any>;
152
- dropId: import("mobx-state-tree").IType<string | undefined, string, string>;
153
- dropRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
154
- planDropId: import("mobx-state-tree").IType<string | undefined, string, string>;
155
- planDropRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
156
- insertId: import("mobx-state-tree").IType<string | undefined, string, string>;
157
- insertRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
158
- insertRenderers: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<SubRendererInfo[], SubRendererInfo[], SubRendererInfo[]>, [undefined]>;
159
- insertRenderersKeywords: import("mobx-state-tree").IType<string | undefined, string, string>;
160
- insertTag: import("mobx-state-tree").IType<string | undefined, string, string>;
161
- insertSelected: import("mobx-state-tree").IType<string | undefined, string, string>;
162
- insertMode: import("mobx-state-tree").IType<string | undefined, string, string>;
163
- insertOrigId: import("mobx-state-tree").IType<string | undefined, string, string>;
164
- insertBeforeId: import("mobx-state-tree").IType<string | undefined, string, string>;
165
- showInsertRenderer: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
166
- schema: import("mobx-state-tree").IType<any, any, any>;
167
- versionId: import("mobx-state-tree").IType<number | undefined, number, number>;
168
- schemaHistory: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<SchemaHistory, SchemaHistory, SchemaHistory>>, [undefined]>;
169
- toolbars: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<ToolbarItem[], ToolbarItem[], ToolbarItem[]>, [undefined]>;
170
- panels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<PanelItem[], PanelItem[], PanelItem[]>, [undefined]>;
171
- showCustomRenderersPanel: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
172
- renderersTabsKey: import("mobx-state-tree").IType<string | undefined, string, string>;
173
- renderersPanelUUID: import("mobx-state-tree").IType<string | undefined, string, string>;
174
- subRenderers: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<SubRendererInfo[], SubRendererInfo[], SubRendererInfo[]>, [undefined]>;
175
- subRenderersKeywords: import("mobx-state-tree").IType<string | undefined, string, string>;
176
- subRenderersTag: import("mobx-state-tree").IType<string | undefined, string, string>;
177
- subRendererRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
178
- customRenderersPanelUUID: import("mobx-state-tree").IType<string | undefined, string, string>;
179
- customRenderersKeywords: import("mobx-state-tree").IType<string | undefined, string, string>;
180
- customRenderersTag: import("mobx-state-tree").IType<string | undefined, string, string>;
181
- panelKey: import("mobx-state-tree").IType<string | undefined, string, string>;
182
- leftPanelKey: import("mobx-state-tree").IType<string | undefined, string, string>;
183
- leftPanelOpenStatus: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
184
- jsonSchemaUri: import("mobx-state-tree").IType<string | undefined, string, string>;
185
- scaffoldForm: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<ScaffoldFormContext, ScaffoldFormContext, ScaffoldFormContext>>;
186
- scaffoldFormBuzy: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
187
- scaffoldError: import("mobx-state-tree").IType<string | undefined, string, string>;
188
- popOverForm: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<PopOverFormContext, PopOverFormContext, PopOverFormContext>>;
189
- subEditorContext: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<SubEditorContext, SubEditorContext, SubEditorContext>>;
190
- calculateStarted: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
191
- targetNames: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<TargetName, TargetName, TargetName>>, [undefined]>;
192
- ctx: import("mobx-state-tree").IType<any, any, any>;
193
- }, {
194
- readonly filteredSchema: any;
195
- readonly filteredSchemaForPreview: any;
196
- isHoved(id: string): boolean | "";
197
- isActive(id: string): boolean | "";
198
- isContextOn(id: string): boolean | "";
199
- readonly activeContainerId: string;
200
- isRegionHighlighted(id: string, region: string): boolean;
201
- isRegionHighlightHover(id: string, region: string): boolean;
202
- isRegionActive(id: string, region: string): boolean;
203
- isRegionDragEnter(id: string, region: string): boolean;
204
- readonly highlightNodes: ({
205
- parentId: string;
206
- parentRegion: string;
207
- isCommonConfig: boolean;
208
- id: string;
209
- label: string;
210
- regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>>) | undefined;
211
- path: string;
212
- schemaPath: string;
213
- region: string;
214
- preferTag: string;
215
- state: any;
216
- widthMutable: boolean;
217
- heightMutable: boolean;
218
- memberIndex: number;
219
- folded: boolean;
220
- patched: boolean;
221
- x: number;
222
- y: number;
223
- w: number;
224
- h: number;
225
- children: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
226
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
227
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
228
- } & {
229
- readonly info: RendererInfo;
230
- setInfo(value: RendererInfo): void;
231
- readonly isVitualRenderer: boolean;
232
- readonly clickable: boolean;
233
- readonly draggable: boolean;
234
- readonly moveable: boolean;
235
- readonly removable: boolean;
236
- readonly duplicatable: boolean;
237
- readonly replaceable: boolean;
238
- memberImmutable(region: string): boolean;
239
- readonly isRegion: boolean;
240
- readonly childRegions: any[];
241
- readonly uniqueChildren: any[];
242
- readonly sameIdChild: any;
243
- readonly singleRegion: boolean;
244
- isExists(id: string): boolean;
245
- getChildById(id: string): any;
246
- readonly parent: any;
247
- readonly host: any;
248
- readonly firstChild: any;
249
- readonly index: any;
250
- readonly prevSibling: any;
251
- readonly nextSibling: any;
252
- readonly schema: any;
253
- readonly schemaParent: any;
254
- readonly isSecondFactor: boolean;
255
- } & {
256
- updateIsCommonConfig: (value: boolean) => void;
257
- addChild(props: {
258
- id: string;
259
- label: string;
260
- path: string;
261
- isCommonConfig?: boolean | undefined;
262
- info?: RendererInfo | undefined;
263
- region?: string | undefined;
264
- getData?: (() => any) | undefined;
265
- preferTag?: string | undefined;
266
- schemaPath?: string | undefined;
267
- regionInfo?: import("../plugin").RegionConfig | undefined;
268
- widthMutable?: boolean | undefined;
269
- memberIndex?: number | undefined;
270
- }): any;
271
- removeChild(child: any): void;
272
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
273
- patch(store: any, force?: boolean): void;
274
- updateSchema(value: any): void;
275
- setComponent(value: any): void;
276
- getComponent(): any;
277
- calculateHighlightBox(root?: any): void;
278
- resetHighlightBox(root: any): void;
279
- updateState(state: any, replace?: boolean): void;
280
- setWidthMutable(value: any): void;
281
- setHeightMutable(value: any): void;
282
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
283
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
284
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
285
- isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
286
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
287
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
288
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
289
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
290
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
291
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
292
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
293
- state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
294
- widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
295
- heightMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
296
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
297
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
298
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
299
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
300
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
301
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
302
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
303
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
304
- }, {
305
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
306
- } & {
307
- readonly info: RendererInfo;
308
- setInfo(value: RendererInfo): void;
309
- readonly isVitualRenderer: boolean;
310
- readonly clickable: boolean;
311
- readonly draggable: boolean;
312
- readonly moveable: boolean;
313
- readonly removable: boolean;
314
- readonly duplicatable: boolean;
315
- readonly replaceable: boolean;
316
- memberImmutable(region: string): boolean;
317
- readonly isRegion: boolean;
318
- readonly childRegions: any[];
319
- readonly uniqueChildren: any[];
320
- readonly sameIdChild: any;
321
- readonly singleRegion: boolean;
322
- isExists(id: string): boolean;
323
- getChildById(id: string): any;
324
- readonly parent: any;
325
- readonly host: any;
326
- readonly firstChild: any;
327
- readonly index: any;
328
- readonly prevSibling: any;
329
- readonly nextSibling: any;
330
- readonly schema: any;
331
- readonly schemaParent: any;
332
- readonly isSecondFactor: boolean;
333
- } & {
334
- updateIsCommonConfig: (value: boolean) => void;
335
- addChild(props: {
336
- id: string;
337
- label: string;
338
- path: string;
339
- isCommonConfig?: boolean | undefined;
340
- info?: RendererInfo | undefined;
341
- region?: string | undefined;
342
- getData?: (() => any) | undefined;
343
- preferTag?: string | undefined;
344
- schemaPath?: string | undefined;
345
- regionInfo?: import("../plugin").RegionConfig | undefined;
346
- widthMutable?: boolean | undefined;
347
- memberIndex?: number | undefined;
348
- }): any;
349
- removeChild(child: any): void;
350
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
351
- patch(store: any, force?: boolean): void;
352
- updateSchema(value: any): void;
353
- setComponent(value: any): void;
354
- getComponent(): any;
355
- calculateHighlightBox(root?: any): void;
356
- resetHighlightBox(root: any): void;
357
- updateState(state: any, replace?: boolean): void;
358
- setWidthMutable(value: any): void;
359
- setHeightMutable(value: any): void;
360
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
361
- getNodeById(id: string, region?: string | undefined): EditorNodeType | undefined;
362
- readonly activeNodeInfo: RendererInfo | null | undefined;
363
- getSchema(id?: string | undefined): any;
364
- getSchemaParentById(id: string): any;
365
- getSchemaPath(id: string): string;
366
- getPanelKey(): string;
367
- getLeftPanelKey(): string;
368
- readonly leftPanels: PanelItem[];
369
- readonly rightPanels: PanelItem[];
370
- readonly contextMenuPanel: PanelItem | undefined;
371
- getPanels(): Array<PanelItem>;
372
- getLeftPanels(): Array<PanelItem>;
373
- readonly sortedToolbars: ToolbarItem[];
374
- readonly sortedSecondaryToolbars: ToolbarItem[];
375
- readonly sortedSpecialToolbars: ToolbarItem[];
376
- readonly value: any;
377
- getValueOf(id: string): any;
378
- readonly valueWithoutHiddenProps: any;
379
- readonly outline: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
380
- readonly bcn: ({
381
- parentId: string;
382
- parentRegion: string;
383
- isCommonConfig: boolean;
384
- id: string;
385
- label: string;
386
- regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>>) | undefined;
387
- path: string;
388
- schemaPath: string;
389
- region: string;
390
- preferTag: string;
391
- state: any;
392
- widthMutable: boolean;
393
- heightMutable: boolean;
394
- memberIndex: number;
395
- folded: boolean;
396
- patched: boolean;
397
- x: number;
398
- y: number;
399
- w: number;
400
- h: number;
401
- children: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
402
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
403
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
404
- } & {
405
- readonly info: RendererInfo;
406
- setInfo(value: RendererInfo): void;
407
- readonly isVitualRenderer: boolean;
408
- readonly clickable: boolean;
409
- readonly draggable: boolean;
410
- readonly moveable: boolean;
411
- readonly removable: boolean;
412
- readonly duplicatable: boolean;
413
- readonly replaceable: boolean;
414
- memberImmutable(region: string): boolean;
415
- readonly isRegion: boolean;
416
- readonly childRegions: any[];
417
- readonly uniqueChildren: any[];
418
- readonly sameIdChild: any;
419
- readonly singleRegion: boolean;
420
- isExists(id: string): boolean;
421
- getChildById(id: string): any;
422
- readonly parent: any;
423
- readonly host: any;
424
- readonly firstChild: any;
425
- readonly index: any;
426
- readonly prevSibling: any;
427
- readonly nextSibling: any;
428
- readonly schema: any;
429
- readonly schemaParent: any;
430
- readonly isSecondFactor: boolean;
431
- } & {
432
- updateIsCommonConfig: (value: boolean) => void;
433
- addChild(props: {
434
- id: string;
435
- label: string;
436
- path: string;
437
- isCommonConfig?: boolean | undefined;
438
- info?: RendererInfo | undefined;
439
- region?: string | undefined;
440
- getData?: (() => any) | undefined;
441
- preferTag?: string | undefined;
442
- schemaPath?: string | undefined;
443
- regionInfo?: import("../plugin").RegionConfig | undefined;
444
- widthMutable?: boolean | undefined;
445
- memberIndex?: number | undefined;
446
- }): any;
447
- removeChild(child: any): void;
448
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
449
- patch(store: any, force?: boolean): void;
450
- updateSchema(value: any): void;
451
- setComponent(value: any): void;
452
- getComponent(): any;
453
- calculateHighlightBox(root?: any): void;
454
- resetHighlightBox(root: any): void;
455
- updateState(state: any, replace?: boolean): void;
456
- setWidthMutable(value: any): void;
457
- setHeightMutable(value: any): void;
458
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
459
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
460
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
461
- isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
462
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
463
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
464
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
465
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
466
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
467
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
468
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
469
- state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
470
- widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
471
- heightMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
472
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
473
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
474
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
475
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
476
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
477
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
478
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
479
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
480
- }, {
481
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
482
- } & {
483
- readonly info: RendererInfo;
484
- setInfo(value: RendererInfo): void;
485
- readonly isVitualRenderer: boolean;
486
- readonly clickable: boolean;
487
- readonly draggable: boolean;
488
- readonly moveable: boolean;
489
- readonly removable: boolean;
490
- readonly duplicatable: boolean;
491
- readonly replaceable: boolean;
492
- memberImmutable(region: string): boolean;
493
- readonly isRegion: boolean;
494
- readonly childRegions: any[];
495
- readonly uniqueChildren: any[];
496
- readonly sameIdChild: any;
497
- readonly singleRegion: boolean;
498
- isExists(id: string): boolean;
499
- getChildById(id: string): any;
500
- readonly parent: any;
501
- readonly host: any;
502
- readonly firstChild: any;
503
- readonly index: any;
504
- readonly prevSibling: any;
505
- readonly nextSibling: any;
506
- readonly schema: any;
507
- readonly schemaParent: any;
508
- readonly isSecondFactor: boolean;
509
- } & {
510
- updateIsCommonConfig: (value: boolean) => void;
511
- addChild(props: {
512
- id: string;
513
- label: string;
514
- path: string;
515
- isCommonConfig?: boolean | undefined;
516
- info?: RendererInfo | undefined;
517
- region?: string | undefined;
518
- getData?: (() => any) | undefined;
519
- preferTag?: string | undefined;
520
- schemaPath?: string | undefined;
521
- regionInfo?: import("../plugin").RegionConfig | undefined;
522
- widthMutable?: boolean | undefined;
523
- memberIndex?: number | undefined;
524
- }): any;
525
- removeChild(child: any): void;
526
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
527
- patch(store: any, force?: boolean): void;
528
- updateSchema(value: any): void;
529
- setComponent(value: any): void;
530
- getComponent(): any;
531
- calculateHighlightBox(root?: any): void;
532
- resetHighlightBox(root: any): void;
533
- updateState(state: any, replace?: boolean): void;
534
- setWidthMutable(value: any): void;
535
- setHeightMutable(value: any): void;
536
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
537
- readonly activePath: ({
538
- parentId: string;
539
- parentRegion: string;
540
- isCommonConfig: boolean;
541
- id: string;
542
- label: string;
543
- regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>>) | undefined;
544
- path: string;
545
- schemaPath: string;
546
- region: string;
547
- preferTag: string;
548
- state: any;
549
- widthMutable: boolean;
550
- heightMutable: boolean;
551
- memberIndex: number;
552
- folded: boolean;
553
- patched: boolean;
554
- x: number;
555
- y: number;
556
- w: number;
557
- h: number;
558
- children: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
559
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
560
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
561
- } & {
562
- readonly info: RendererInfo;
563
- setInfo(value: RendererInfo): void;
564
- readonly isVitualRenderer: boolean;
565
- readonly clickable: boolean;
566
- readonly draggable: boolean;
567
- readonly moveable: boolean;
568
- readonly removable: boolean;
569
- readonly duplicatable: boolean;
570
- readonly replaceable: boolean;
571
- memberImmutable(region: string): boolean;
572
- readonly isRegion: boolean;
573
- readonly childRegions: any[];
574
- readonly uniqueChildren: any[];
575
- readonly sameIdChild: any;
576
- readonly singleRegion: boolean;
577
- isExists(id: string): boolean;
578
- getChildById(id: string): any;
579
- readonly parent: any;
580
- readonly host: any;
581
- readonly firstChild: any;
582
- readonly index: any;
583
- readonly prevSibling: any;
584
- readonly nextSibling: any;
585
- readonly schema: any;
586
- readonly schemaParent: any;
587
- readonly isSecondFactor: boolean;
588
- } & {
589
- updateIsCommonConfig: (value: boolean) => void;
590
- addChild(props: {
591
- id: string;
592
- label: string;
593
- path: string;
594
- isCommonConfig?: boolean | undefined;
595
- info?: RendererInfo | undefined;
596
- region?: string | undefined;
597
- getData?: (() => any) | undefined;
598
- preferTag?: string | undefined;
599
- schemaPath?: string | undefined;
600
- regionInfo?: import("../plugin").RegionConfig | undefined;
601
- widthMutable?: boolean | undefined;
602
- memberIndex?: number | undefined;
603
- }): any;
604
- removeChild(child: any): void;
605
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
606
- patch(store: any, force?: boolean): void;
607
- updateSchema(value: any): void;
608
- setComponent(value: any): void;
609
- getComponent(): any;
610
- calculateHighlightBox(root?: any): void;
611
- resetHighlightBox(root: any): void;
612
- updateState(state: any, replace?: boolean): void;
613
- setWidthMutable(value: any): void;
614
- setHeightMutable(value: any): void;
615
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
616
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
617
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
618
- isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
619
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
620
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
621
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
622
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
623
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
624
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
625
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
626
- state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
627
- widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
628
- heightMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
629
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
630
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
631
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
632
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
633
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
634
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
635
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
636
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
637
- }, {
638
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
639
- } & {
640
- readonly info: RendererInfo;
641
- setInfo(value: RendererInfo): void;
642
- readonly isVitualRenderer: boolean;
643
- readonly clickable: boolean;
644
- readonly draggable: boolean;
645
- readonly moveable: boolean;
646
- readonly removable: boolean;
647
- readonly duplicatable: boolean;
648
- readonly replaceable: boolean;
649
- memberImmutable(region: string): boolean;
650
- readonly isRegion: boolean;
651
- readonly childRegions: any[];
652
- readonly uniqueChildren: any[];
653
- readonly sameIdChild: any;
654
- readonly singleRegion: boolean;
655
- isExists(id: string): boolean;
656
- getChildById(id: string): any;
657
- readonly parent: any;
658
- readonly host: any;
659
- readonly firstChild: any;
660
- readonly index: any;
661
- readonly prevSibling: any;
662
- readonly nextSibling: any;
663
- readonly schema: any;
664
- readonly schemaParent: any;
665
- readonly isSecondFactor: boolean;
666
- } & {
667
- updateIsCommonConfig: (value: boolean) => void;
668
- addChild(props: {
669
- id: string;
670
- label: string;
671
- path: string;
672
- isCommonConfig?: boolean | undefined;
673
- info?: RendererInfo | undefined;
674
- region?: string | undefined;
675
- getData?: (() => any) | undefined;
676
- preferTag?: string | undefined;
677
- schemaPath?: string | undefined;
678
- regionInfo?: import("../plugin").RegionConfig | undefined;
679
- widthMutable?: boolean | undefined;
680
- memberIndex?: number | undefined;
681
- }): any;
682
- removeChild(child: any): void;
683
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
684
- patch(store: any, force?: boolean): void;
685
- updateSchema(value: any): void;
686
- setComponent(value: any): void;
687
- getComponent(): any;
688
- calculateHighlightBox(root?: any): void;
689
- resetHighlightBox(root: any): void;
690
- updateState(state: any, replace?: boolean): void;
691
- setWidthMutable(value: any): void;
692
- setHeightMutable(value: any): void;
693
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
694
- getNodePathById(id: string): ({
695
- parentId: string;
696
- parentRegion: string;
697
- isCommonConfig: boolean;
698
- id: string;
699
- label: string;
700
- regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>>) | undefined;
701
- path: string;
702
- schemaPath: string;
703
- region: string;
704
- preferTag: string;
705
- state: any;
706
- widthMutable: boolean;
707
- heightMutable: boolean;
708
- memberIndex: number;
709
- folded: boolean;
710
- patched: boolean;
711
- x: number;
712
- y: number;
713
- w: number;
714
- h: number;
715
- children: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
716
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
717
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
718
- } & {
719
- readonly info: RendererInfo;
720
- setInfo(value: RendererInfo): void;
721
- readonly isVitualRenderer: boolean;
722
- readonly clickable: boolean;
723
- readonly draggable: boolean;
724
- readonly moveable: boolean;
725
- readonly removable: boolean;
726
- readonly duplicatable: boolean;
727
- readonly replaceable: boolean;
728
- memberImmutable(region: string): boolean;
729
- readonly isRegion: boolean;
730
- readonly childRegions: any[];
731
- readonly uniqueChildren: any[];
732
- readonly sameIdChild: any;
733
- readonly singleRegion: boolean;
734
- isExists(id: string): boolean;
735
- getChildById(id: string): any;
736
- readonly parent: any;
737
- readonly host: any;
738
- readonly firstChild: any;
739
- readonly index: any;
740
- readonly prevSibling: any;
741
- readonly nextSibling: any;
742
- readonly schema: any;
743
- readonly schemaParent: any;
744
- readonly isSecondFactor: boolean;
745
- } & {
746
- updateIsCommonConfig: (value: boolean) => void;
747
- addChild(props: {
748
- id: string;
749
- label: string;
750
- path: string;
751
- isCommonConfig?: boolean | undefined;
752
- info?: RendererInfo | undefined;
753
- region?: string | undefined;
754
- getData?: (() => any) | undefined;
755
- preferTag?: string | undefined;
756
- schemaPath?: string | undefined;
757
- regionInfo?: import("../plugin").RegionConfig | undefined;
758
- widthMutable?: boolean | undefined;
759
- memberIndex?: number | undefined;
760
- }): any;
761
- removeChild(child: any): void;
762
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
763
- patch(store: any, force?: boolean): void;
764
- updateSchema(value: any): void;
765
- setComponent(value: any): void;
766
- getComponent(): any;
767
- calculateHighlightBox(root?: any): void;
768
- resetHighlightBox(root: any): void;
769
- updateState(state: any, replace?: boolean): void;
770
- setWidthMutable(value: any): void;
771
- setHeightMutable(value: any): void;
772
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
773
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
774
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
775
- isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
776
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
777
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
778
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
779
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
780
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
781
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
782
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
783
- state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
784
- widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
785
- heightMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
786
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
787
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
788
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
789
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
790
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
791
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
792
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
793
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
794
- }, {
795
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
796
- } & {
797
- readonly info: RendererInfo;
798
- setInfo(value: RendererInfo): void;
799
- readonly isVitualRenderer: boolean;
800
- readonly clickable: boolean;
801
- readonly draggable: boolean;
802
- readonly moveable: boolean;
803
- readonly removable: boolean;
804
- readonly duplicatable: boolean;
805
- readonly replaceable: boolean;
806
- memberImmutable(region: string): boolean;
807
- readonly isRegion: boolean;
808
- readonly childRegions: any[];
809
- readonly uniqueChildren: any[];
810
- readonly sameIdChild: any;
811
- readonly singleRegion: boolean;
812
- isExists(id: string): boolean;
813
- getChildById(id: string): any;
814
- readonly parent: any;
815
- readonly host: any;
816
- readonly firstChild: any;
817
- readonly index: any;
818
- readonly prevSibling: any;
819
- readonly nextSibling: any;
820
- readonly schema: any;
821
- readonly schemaParent: any;
822
- readonly isSecondFactor: boolean;
823
- } & {
824
- updateIsCommonConfig: (value: boolean) => void;
825
- addChild(props: {
826
- id: string;
827
- label: string;
828
- path: string;
829
- isCommonConfig?: boolean | undefined;
830
- info?: RendererInfo | undefined;
831
- region?: string | undefined;
832
- getData?: (() => any) | undefined;
833
- preferTag?: string | undefined;
834
- schemaPath?: string | undefined;
835
- regionInfo?: import("../plugin").RegionConfig | undefined;
836
- widthMutable?: boolean | undefined;
837
- memberIndex?: number | undefined;
838
- }): any;
839
- removeChild(child: any): void;
840
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
841
- patch(store: any, force?: boolean): void;
842
- updateSchema(value: any): void;
843
- setComponent(value: any): void;
844
- getComponent(): any;
845
- calculateHighlightBox(root?: any): void;
846
- resetHighlightBox(root: any): void;
847
- updateState(state: any, replace?: boolean): void;
848
- setWidthMutable(value: any): void;
849
- setHeightMutable(value: any): void;
850
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
851
- readonly dragging: boolean;
852
- readonly needPatch: boolean;
853
- readonly schemaRaw: any;
854
- /** 获取平台预置组件(基础组件)
855
- * 备注:disabledRendererPlugin 为 true 则不在面板中展示
856
- */
857
- readonly subRenderersByOrder: SubRendererInfo[];
858
- /** 获取自定义组件
859
- * 备注:disabledRendererPlugin 为 true 则不在面板中展示
860
- */
861
- readonly customRenderersByOrder: SubRendererInfo[];
862
- /** 根据关键字过滤组件 */
863
- groupedRenderersByKeyword(_subRenderers: Array<SubRendererInfo>, keywords?: string | undefined): {
864
- [propName: string]: SubRendererInfo[];
865
- };
866
- /** 根据关键字过滤预置组件
867
- * 备注:组件搜索中需要
868
- */
869
- groupedSubRenderersByKeyword(_subRenderers?: SubRendererInfo[] | undefined, keywords?: string | undefined): {
870
- [propName: string]: SubRendererInfo[];
871
- };
872
- /**
873
- * 根据当前分类和关键字获取预置组件
874
- * 备注:组件面板展示需要
875
- */
876
- readonly groupedSubRenderers: {
877
- [propName: string]: SubRendererInfo[];
878
- };
879
- /** 根据关键字过滤自定义组件 */
880
- groupedCustomRenderersByKeyword(_subRenderers?: SubRendererInfo[] | undefined, keywords?: string | undefined): {
881
- [propName: string]: SubRendererInfo[];
882
- };
883
- /**
884
- * 根据当前分类和关键字获取自定义组件
885
- */
886
- readonly groupedCustomRenderers: {
887
- [propName: string]: SubRendererInfo[];
888
- };
889
- getSubRendererById(id: string): any;
890
- readonly groupedInsertRenderers: {
891
- [propName: string]: SubRendererInfo[];
892
- };
893
- readonly selectedInsertRendererInfo: SubRendererInfo | undefined;
894
- readonly subEditorSlotPath: string;
895
- readonly subEditorValue: any;
896
- readonly canUndo: boolean;
897
- readonly canRedo: boolean;
898
- } & {
899
- setLayer(value: any): void;
900
- getLayer(): HTMLElement | undefined;
901
- setDoc(value: any): void;
902
- getDoc(): Document;
903
- setIframe(value: any): void;
904
- getIframe(): HTMLIFrameElement | undefined;
905
- setIsMobile(value?: boolean | undefined): void;
906
- setCtx(value: any): void;
907
- setTheme(value: string): void;
908
- setIsSubEditor(isSubEditor: boolean): void;
909
- setShowCustomRenderersPanel(_showCustomRenderersPanel: boolean): void;
910
- setSchema(json: any): void;
911
- insertSchema(event: PluginEvent<InsertEventContext>): any;
912
- moveSchema(event: PluginEvent<MoveEventContext>): void;
913
- setActiveId(id: string, region?: string, selections?: Array<string>): void;
914
- setSelections(ids: Array<string>): void;
915
- clearSelection(): void;
916
- setHoverId(id: string, region?: string | undefined): void;
917
- setMouseMoveRegion(region: string): void;
918
- setInsertId(id: string): void;
919
- setContextId(id: string): void;
920
- setDragId(id: string, mode?: 'move' | 'copy', type?: string, schema?: any): void;
921
- setDropId(id: string, region?: string): void;
922
- setPlanDropId(id: string, region: string): void;
923
- setActiveToolbars(activeToolbars: Array<ToolbarItem>): void;
924
- setPanels(panels: Array<PanelItem>): void;
925
- setSubRenderers(renderers: Array<SubRendererInfo>): void;
926
- changeSubRenderersKeywords(keywords: string): void;
927
- changeSubRenderersTag(tag: string): void;
928
- resetSubRenderersKeywords(): void;
929
- changeCustomRenderersKeywords(keywords: string): void;
930
- changeCustomRenderersTag(tag: string): void;
931
- resetCustomRenderersKeywords(): void;
932
- changeSubRendererRegion(region: string): void;
933
- changePanelKey(key: string): void;
934
- changeLeftPanelKey(key: string): void;
935
- changeRenderersTabsKey(key: string): void;
936
- changeLeftPanelOpenStatus(isOpenStatus: boolean): void;
937
- showRendererPanel(tag?: string | undefined, msg?: string | undefined): void;
938
- changeValue(value: Schema, diff?: any): void;
939
- changeValueById(id: string, value: Schema, diff?: any, replace?: boolean | undefined, noTrace?: boolean | undefined): void;
940
- moveUp(id: string): void;
941
- moveDown(id: string): void;
942
- del(id: string): void;
943
- delMulti(ids: Array<string>): void;
944
- duplicate(id: string | Array<string>): void;
945
- emptyRegion(id: string, region: string): void;
946
- replaceChild(id: string, json: any): void;
947
- setInsertRegion(region: string, id?: string, tag?: string, mode?: 'insert' | 'replace', originId?: string, beforeId?: string | undefined): void;
948
- closeInsertPanel(): void;
949
- showInsertRendererPanel(): void;
950
- closeInsertRendererPanel(): void;
951
- setInsertRenderers(renderers: Array<SubRendererInfo>): void;
952
- changeInsertRenderersKeywords(keywords: string): void;
953
- resetInsertRenderersKeywords(): void;
954
- setInsertTag(tag: string): void;
955
- setInsertSelected(id: string): void;
956
- setJSONSchemaUri(schemaUri: string): void;
957
- openSubEditor(context: SubEditorContext): void;
958
- confirmSubEditor([valueRaw]: any): void;
959
- closeSubEditor(): void;
960
- subEditorOnChange(): void;
961
- undoSubEditor(): void;
962
- redoSubEditor(): void;
963
- subEditorRef(ref: any): void;
964
- openScaffoldForm(context: ScaffoldFormContext): void;
965
- closeScaffoldForm(): void;
966
- setScaffoldBuzy(value: any): void;
967
- setScaffoldError(msg?: string): void;
968
- openPopOverForm(context: PopOverFormContext): void;
969
- closePopOverForm(): void;
970
- calculateHighlightBox(ids: Array<string>): void;
971
- resetHighlightBox(ids: Array<string>): void;
972
- /**
973
- * 更新可供 target 及 reload 使用的名称列表
974
- */
975
- updateTargetName(): void;
976
- traceableSetSchema(schema: any, noTrace?: boolean | undefined): void;
977
- undo(): void;
978
- redo(): void;
979
- resetHistory(): void;
980
- /**
981
- * 原来 MiniEditor 里面的逻辑,目前是 pageEditor 中使用了
982
- */
983
- applyPatches(patches: Array<PatchItem>): void;
984
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
985
- export declare type EditorStoreType = Instance<typeof EditorStore>;