amis-editor 3.3.9 → 4.0.1-beta.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. package/dist/150a58f3318ca7541ed9.png +0 -0
  2. package/dist/471adb97c322b226e589.png +0 -0
  3. package/dist/4de5f42360bc5946c3c2.png +0 -0
  4. package/dist/4e9968bba3855f088fed.png +0 -0
  5. package/dist/7f09c38ebc687fea847a.png +0 -0
  6. package/dist/c94073576487510314ea.png +0 -0
  7. package/dist/component/AvailableRenderersPanel.d.ts +13 -1
  8. package/dist/component/BackTop.d.ts +26 -0
  9. package/dist/component/Breadcrumb.d.ts +1 -1
  10. package/dist/component/InputComponentName.d.ts +8 -0
  11. package/dist/component/Outline.d.ts +6 -0
  12. package/dist/component/Preview.d.ts +2 -0
  13. package/dist/component/RegionHLBox.d.ts +1 -8
  14. package/dist/dnd/default.d.ts +1 -1
  15. package/dist/dnd/index.d.ts +1 -1
  16. package/dist/index.d.ts +3 -4
  17. package/dist/index.min.js +1 -1
  18. package/dist/manager.d.ts +442 -0
  19. package/dist/plugin/BasicToolbar.d.ts +1 -1
  20. package/dist/plugin/Date.d.ts +1 -0
  21. package/dist/plugin/Datetime.d.ts +3 -0
  22. package/dist/plugin/Form/FieldSet.d.ts +1 -0
  23. package/dist/plugin/Form/Group.d.ts +1 -0
  24. package/dist/plugin/Form/InputExcel.d.ts +13 -1
  25. package/dist/plugin/Form/InputKV.d.ts +28 -0
  26. package/dist/plugin/Form/Item.d.ts +1 -1
  27. package/dist/plugin/Grid.d.ts +17 -20
  28. package/dist/plugin/HBox.d.ts +1 -0
  29. package/dist/plugin/Log.d.ts +1 -0
  30. package/dist/plugin/Plain.d.ts +1 -0
  31. package/dist/plugin/Reset.d.ts +1 -0
  32. package/dist/plugin/Steps.d.ts +1 -7
  33. package/dist/plugin/Submit.d.ts +1 -0
  34. package/dist/plugin/Time.d.ts +3 -0
  35. package/dist/plugin/WebComponent.d.ts +1 -0
  36. package/dist/plugin/Wrapper.d.ts +1 -0
  37. package/dist/plugin.d.ts +18 -0
  38. package/dist/store/editor.d.ts +5 -1
  39. package/dist/style.css +1 -1
  40. package/package.json +9 -7
  41. package/publish-local.sh +37 -0
  42. package/static/Code-hover.png +0 -0
  43. package/static/Code.png +0 -0
  44. package/static/Outline-hover.png +0 -0
  45. package/static/Outline.png +0 -0
  46. package/static/Renderers-hover.png +0 -0
  47. package/static/Renderers.png +0 -0
  48. package/dist/npm/src/compat.d.ts +0 -30
  49. package/dist/npm/src/component/AvailableRenderersPanel.d.ts +0 -8
  50. package/dist/npm/src/component/Breadcrumb.d.ts +0 -12
  51. package/dist/npm/src/component/ClassNameControl.d.ts +0 -31
  52. package/dist/npm/src/component/CodeEditor.d.ts +0 -34
  53. package/dist/npm/src/component/CodeEditorPanel.d.ts +0 -12
  54. package/dist/npm/src/component/ContainerWrapper.d.ts +0 -12
  55. package/dist/npm/src/component/Editor.d.ts +0 -48
  56. package/dist/npm/src/component/ErrorRenderer.d.ts +0 -4
  57. package/dist/npm/src/component/HighlightBox.d.ts +0 -13
  58. package/dist/npm/src/component/InsertSubRendererPanel.d.ts +0 -11
  59. package/dist/npm/src/component/MiniEditor.d.ts +0 -8
  60. package/dist/npm/src/component/NodeWrapper.d.ts +0 -20
  61. package/dist/npm/src/component/Outline.d.ts +0 -12
  62. package/dist/npm/src/component/Panels.d.ts +0 -17
  63. package/dist/npm/src/component/Preview.d.ts +0 -43
  64. package/dist/npm/src/component/RegionHLBox.d.ts +0 -27
  65. package/dist/npm/src/component/RegionWrapper.d.ts +0 -150
  66. package/dist/npm/src/component/RendererThumb.d.ts +0 -23
  67. package/dist/npm/src/component/ScaffoldModal.d.ts +0 -53
  68. package/dist/npm/src/component/SubEditor.d.ts +0 -71
  69. package/dist/npm/src/component/VRenderer.d.ts +0 -142
  70. package/dist/npm/src/component/schemaTpl.d.ts +0 -4
  71. package/dist/npm/src/dnd/default.d.ts +0 -47
  72. package/dist/npm/src/dnd/index.d.ts +0 -119
  73. package/dist/npm/src/dnd/interface.d.ts +0 -14
  74. package/dist/npm/src/dnd/position-h.d.ts +0 -7
  75. package/dist/npm/src/env.d.ts +0 -5
  76. package/dist/npm/src/index.d.ts +0 -126
  77. package/dist/npm/src/mocker.d.ts +0 -1
  78. package/dist/npm/src/plugin/Action.d.ts +0 -6
  79. package/dist/npm/src/plugin/Alert.d.ts +0 -18
  80. package/dist/npm/src/plugin/Audio.d.ts +0 -21
  81. package/dist/npm/src/plugin/AvailableRenderers.d.ts +0 -8
  82. package/dist/npm/src/plugin/BasicToolbar.d.ts +0 -9
  83. package/dist/npm/src/plugin/Button.d.ts +0 -24
  84. package/dist/npm/src/plugin/ButtonGroup.d.ts +0 -59
  85. package/dist/npm/src/plugin/ButtonToolbar.d.ts +0 -35
  86. package/dist/npm/src/plugin/CRUD.d.ts +0 -28
  87. package/dist/npm/src/plugin/Card.d.ts +0 -55
  88. package/dist/npm/src/plugin/Cards.d.ts +0 -69
  89. package/dist/npm/src/plugin/Carousel.d.ts +0 -31
  90. package/dist/npm/src/plugin/Chart.d.ts +0 -44
  91. package/dist/npm/src/plugin/Code.d.ts +0 -9
  92. package/dist/npm/src/plugin/Collapse.d.ts +0 -21
  93. package/dist/npm/src/plugin/Container.d.ts +0 -20
  94. package/dist/npm/src/plugin/Date.d.ts +0 -19
  95. package/dist/npm/src/plugin/Datetime.d.ts +0 -10
  96. package/dist/npm/src/plugin/Dialog.d.ts +0 -18
  97. package/dist/npm/src/plugin/DiffEditor.d.ts +0 -19
  98. package/dist/npm/src/plugin/Divider.d.ts +0 -13
  99. package/dist/npm/src/plugin/Drawer.d.ts +0 -16
  100. package/dist/npm/src/plugin/DropDownButton.d.ts +0 -41
  101. package/dist/npm/src/plugin/Each.d.ts +0 -35
  102. package/dist/npm/src/plugin/ErrorRenderer.d.ts +0 -6
  103. package/dist/npm/src/plugin/Form/Array.d.ts +0 -26
  104. package/dist/npm/src/plugin/Form/Button.d.ts +0 -11
  105. package/dist/npm/src/plugin/Form/ButtonGroup.d.ts +0 -21
  106. package/dist/npm/src/plugin/Form/ButtonToolbar.d.ts +0 -26
  107. package/dist/npm/src/plugin/Form/ChainedSelect.d.ts +0 -18
  108. package/dist/npm/src/plugin/Form/Checkbox.d.ts +0 -18
  109. package/dist/npm/src/plugin/Form/Checkboxes.d.ts +0 -23
  110. package/dist/npm/src/plugin/Form/City.d.ts +0 -18
  111. package/dist/npm/src/plugin/Form/Color.d.ts +0 -18
  112. package/dist/npm/src/plugin/Form/Combo.d.ts +0 -37
  113. package/dist/npm/src/plugin/Form/Container.d.ts +0 -36
  114. package/dist/npm/src/plugin/Form/Date.d.ts +0 -20
  115. package/dist/npm/src/plugin/Form/DateRange.d.ts +0 -20
  116. package/dist/npm/src/plugin/Form/DateTime.d.ts +0 -19
  117. package/dist/npm/src/plugin/Form/DiffEditor.d.ts +0 -18
  118. package/dist/npm/src/plugin/Form/Editor.d.ts +0 -39
  119. package/dist/npm/src/plugin/Form/Email.d.ts +0 -24
  120. package/dist/npm/src/plugin/Form/FieldSet.d.ts +0 -25
  121. package/dist/npm/src/plugin/Form/File.d.ts +0 -18
  122. package/dist/npm/src/plugin/Form/Form.d.ts +0 -18
  123. package/dist/npm/src/plugin/Form/Formula.d.ts +0 -50
  124. package/dist/npm/src/plugin/Form/Grid.d.ts +0 -32
  125. package/dist/npm/src/plugin/Form/Group.d.ts +0 -23
  126. package/dist/npm/src/plugin/Form/HBox.d.ts +0 -72
  127. package/dist/npm/src/plugin/Form/Hidden.d.ts +0 -22
  128. package/dist/npm/src/plugin/Form/Image.d.ts +0 -19
  129. package/dist/npm/src/plugin/Form/InputGroup.d.ts +0 -33
  130. package/dist/npm/src/plugin/Form/Item.d.ts +0 -10
  131. package/dist/npm/src/plugin/Form/List.d.ts +0 -23
  132. package/dist/npm/src/plugin/Form/Matrix.d.ts +0 -25
  133. package/dist/npm/src/plugin/Form/NestedSelect.d.ts +0 -72
  134. package/dist/npm/src/plugin/Form/Number.d.ts +0 -19
  135. package/dist/npm/src/plugin/Form/Panel.d.ts +0 -23
  136. package/dist/npm/src/plugin/Form/Password.d.ts +0 -24
  137. package/dist/npm/src/plugin/Form/Picker.d.ts +0 -25
  138. package/dist/npm/src/plugin/Form/QRCode.d.ts +0 -19
  139. package/dist/npm/src/plugin/Form/Radios.d.ts +0 -23
  140. package/dist/npm/src/plugin/Form/Range.d.ts +0 -18
  141. package/dist/npm/src/plugin/Form/Rating.d.ts +0 -18
  142. package/dist/npm/src/plugin/Form/Repeat.d.ts +0 -18
  143. package/dist/npm/src/plugin/Form/Reset.d.ts +0 -6
  144. package/dist/npm/src/plugin/Form/RichText.d.ts +0 -18
  145. package/dist/npm/src/plugin/Form/Select.d.ts +0 -23
  146. package/dist/npm/src/plugin/Form/Service.d.ts +0 -23
  147. package/dist/npm/src/plugin/Form/Static.d.ts +0 -22
  148. package/dist/npm/src/plugin/Form/SubForm.d.ts +0 -62
  149. package/dist/npm/src/plugin/Form/Submit.d.ts +0 -6
  150. package/dist/npm/src/plugin/Form/Switch.d.ts +0 -19
  151. package/dist/npm/src/plugin/Form/Table.d.ts +0 -33
  152. package/dist/npm/src/plugin/Form/Tabs.d.ts +0 -16
  153. package/dist/npm/src/plugin/Form/Tag.d.ts +0 -20
  154. package/dist/npm/src/plugin/Form/Text.d.ts +0 -19
  155. package/dist/npm/src/plugin/Form/Textarea.d.ts +0 -19
  156. package/dist/npm/src/plugin/Form/Time.d.ts +0 -18
  157. package/dist/npm/src/plugin/Form/Tree.d.ts +0 -72
  158. package/dist/npm/src/plugin/Form/TreeSelect.d.ts +0 -72
  159. package/dist/npm/src/plugin/Form/Url.d.ts +0 -24
  160. package/dist/npm/src/plugin/Grid.d.ts +0 -30
  161. package/dist/npm/src/plugin/HBox.d.ts +0 -32
  162. package/dist/npm/src/plugin/IFrame.d.ts +0 -28
  163. package/dist/npm/src/plugin/Image.d.ts +0 -19
  164. package/dist/npm/src/plugin/Images.d.ts +0 -24
  165. package/dist/npm/src/plugin/Json.d.ts +0 -24
  166. package/dist/npm/src/plugin/Link.d.ts +0 -20
  167. package/dist/npm/src/plugin/List.d.ts +0 -53
  168. package/dist/npm/src/plugin/ListItem.d.ts +0 -16
  169. package/dist/npm/src/plugin/Mapping.d.ts +0 -35
  170. package/dist/npm/src/plugin/Nav.d.ts +0 -161
  171. package/dist/npm/src/plugin/Operation.d.ts +0 -25
  172. package/dist/npm/src/plugin/Page.d.ts +0 -26
  173. package/dist/npm/src/plugin/Panel.d.ts +0 -16
  174. package/dist/npm/src/plugin/Plain.d.ts +0 -18
  175. package/dist/npm/src/plugin/Progress.d.ts +0 -19
  176. package/dist/npm/src/plugin/QRCode.d.ts +0 -19
  177. package/dist/npm/src/plugin/Reset.d.ts +0 -10
  178. package/dist/npm/src/plugin/Service.d.ts +0 -24
  179. package/dist/npm/src/plugin/Status.d.ts +0 -19
  180. package/dist/npm/src/plugin/Submit.d.ts +0 -10
  181. package/dist/npm/src/plugin/Switch.d.ts +0 -21
  182. package/dist/npm/src/plugin/Table.d.ts +0 -18
  183. package/dist/npm/src/plugin/TableCell.d.ts +0 -8
  184. package/dist/npm/src/plugin/Tabs.d.ts +0 -43
  185. package/dist/npm/src/plugin/Tasks.d.ts +0 -41
  186. package/dist/npm/src/plugin/Time.d.ts +0 -10
  187. package/dist/npm/src/plugin/Tpl.d.ts +0 -16
  188. package/dist/npm/src/plugin/Unknown.d.ts +0 -5
  189. package/dist/npm/src/plugin/Video.d.ts +0 -24
  190. package/dist/npm/src/plugin/Wizard.d.ts +0 -40
  191. package/dist/npm/src/plugin/Wrapper.d.ts +0 -20
  192. package/dist/npm/src/plugin.d.ts +0 -486
  193. package/dist/npm/src/store/editor.d.ts +0 -731
  194. package/dist/npm/src/store/node.d.ts +0 -208
  195. package/dist/npm/src/util.d.ts +0 -45
  196. package/dist/plugin/DiffEditor.d.ts +0 -19
  197. package/dist/plugin/Form/AnchorNav.d.ts +0 -17
  198. package/dist/plugin/Form/Array.d.ts +0 -27
  199. package/dist/plugin/Form/Button.d.ts +0 -11
  200. package/dist/plugin/Form/ButtonGroup.d.ts +0 -22
  201. package/dist/plugin/Form/City.d.ts +0 -19
  202. package/dist/plugin/Form/Color.d.ts +0 -39
  203. package/dist/plugin/Form/Container.d.ts +0 -37
  204. package/dist/plugin/Form/Date.d.ts +0 -20
  205. package/dist/plugin/Form/DateRange.d.ts +0 -20
  206. package/dist/plugin/Form/DateTime.d.ts +0 -19
  207. package/dist/plugin/Form/Email.d.ts +0 -25
  208. package/dist/plugin/Form/File.d.ts +0 -19
  209. package/dist/plugin/Form/Grid.d.ts +0 -32
  210. package/dist/plugin/Form/HBox.d.ts +0 -73
  211. package/dist/plugin/Form/Image.d.ts +0 -20
  212. package/dist/plugin/Form/List.d.ts +0 -24
  213. package/dist/plugin/Form/Location.d.ts +0 -48
  214. package/dist/plugin/Form/Matrix.d.ts +0 -26
  215. package/dist/plugin/Form/Month.d.ts +0 -16
  216. package/dist/plugin/Form/MonthRange.d.ts +0 -20
  217. package/dist/plugin/Form/Number.d.ts +0 -20
  218. package/dist/plugin/Form/Panel.d.ts +0 -24
  219. package/dist/plugin/Form/Password.d.ts +0 -25
  220. package/dist/plugin/Form/QRCode.d.ts +0 -20
  221. package/dist/plugin/Form/Range.d.ts +0 -19
  222. package/dist/plugin/Form/Rating.d.ts +0 -19
  223. package/dist/plugin/Form/Repeat.d.ts +0 -19
  224. package/dist/plugin/Form/Reset.d.ts +0 -7
  225. package/dist/plugin/Form/RichText.d.ts +0 -19
  226. package/dist/plugin/Form/Service.d.ts +0 -24
  227. package/dist/plugin/Form/SubForm.d.ts +0 -64
  228. package/dist/plugin/Form/Submit.d.ts +0 -6
  229. package/dist/plugin/Form/Table.d.ts +0 -34
  230. package/dist/plugin/Form/Tabs.d.ts +0 -17
  231. package/dist/plugin/Form/Tag.d.ts +0 -21
  232. package/dist/plugin/Form/Text.d.ts +0 -20
  233. package/dist/plugin/Form/Time.d.ts +0 -19
  234. package/dist/plugin/Form/Tree.d.ts +0 -73
  235. package/dist/plugin/Form/Url.d.ts +0 -25
  236. package/dist/plugin/Form/Year.d.ts +0 -16
  237. package/dist/plugin/Switch.d.ts +0 -21
  238. package/dist/src/compat.d.ts +0 -30
  239. package/dist/src/component/AvailableRenderersPanel.d.ts +0 -8
  240. package/dist/src/component/Breadcrumb.d.ts +0 -12
  241. package/dist/src/component/ClassNameControl.d.ts +0 -31
  242. package/dist/src/component/CodeEditor.d.ts +0 -37
  243. package/dist/src/component/CodeEditorPanel.d.ts +0 -12
  244. package/dist/src/component/CommonConfigWrapper.d.ts +0 -6
  245. package/dist/src/component/ContainerWrapper.d.ts +0 -12
  246. package/dist/src/component/Editor.d.ts +0 -60
  247. package/dist/src/component/ErrorRenderer.d.ts +0 -4
  248. package/dist/src/component/HighlightBox.d.ts +0 -22
  249. package/dist/src/component/IFrameBridge.d.ts +0 -32
  250. package/dist/src/component/IFramePreview.d.ts +0 -37
  251. package/dist/src/component/InsertSubRendererPanel.d.ts +0 -11
  252. package/dist/src/component/MiniEditor.d.ts +0 -9
  253. package/dist/src/component/NodeWrapper.d.ts +0 -20
  254. package/dist/src/component/Outline.d.ts +0 -12
  255. package/dist/src/component/Panels.d.ts +0 -17
  256. package/dist/src/component/PopOverForm.d.ts +0 -22
  257. package/dist/src/component/Preview.d.ts +0 -62
  258. package/dist/src/component/RegionHLBox.d.ts +0 -27
  259. package/dist/src/component/RegionWrapper.d.ts +0 -181
  260. package/dist/src/component/RendererThumb.d.ts +0 -22
  261. package/dist/src/component/ScaffoldModal.d.ts +0 -24
  262. package/dist/src/component/SubEditor.d.ts +0 -67
  263. package/dist/src/component/TableViewEditor.d.ts +0 -79
  264. package/dist/src/component/TargetNamePanel.d.ts +0 -7
  265. package/dist/src/component/VRenderer.d.ts +0 -169
  266. package/dist/src/component/schemaTpl.d.ts +0 -4
  267. package/dist/src/dnd/default.d.ts +0 -47
  268. package/dist/src/dnd/index.d.ts +0 -119
  269. package/dist/src/dnd/interface.d.ts +0 -14
  270. package/dist/src/dnd/position-h.d.ts +0 -7
  271. package/dist/src/env.d.ts +0 -5
  272. package/dist/src/icons/index.d.ts +0 -2
  273. package/dist/src/index.d.ts +0 -151
  274. package/dist/src/mocker.d.ts +0 -1
  275. package/dist/src/plugin/Action.d.ts +0 -6
  276. package/dist/src/plugin/Alert.d.ts +0 -19
  277. package/dist/src/plugin/AnchorNav.d.ts +0 -66
  278. package/dist/src/plugin/Audio.d.ts +0 -21
  279. package/dist/src/plugin/AvailableRenderers.d.ts +0 -8
  280. package/dist/src/plugin/Avatar.d.ts +0 -17
  281. package/dist/src/plugin/BasicToolbar.d.ts +0 -11
  282. package/dist/src/plugin/Breadcrumb.d.ts +0 -25
  283. package/dist/src/plugin/Button.d.ts +0 -24
  284. package/dist/src/plugin/ButtonGroup.d.ts +0 -59
  285. package/dist/src/plugin/ButtonToolbar.d.ts +0 -35
  286. package/dist/src/plugin/CRUD.d.ts +0 -144
  287. package/dist/src/plugin/Card.d.ts +0 -55
  288. package/dist/src/plugin/Cards.d.ts +0 -69
  289. package/dist/src/plugin/Carousel.d.ts +0 -38
  290. package/dist/src/plugin/Chart.d.ts +0 -46
  291. package/dist/src/plugin/Code.d.ts +0 -9
  292. package/dist/src/plugin/CodeView.d.ts +0 -18
  293. package/dist/src/plugin/Collapse.d.ts +0 -21
  294. package/dist/src/plugin/Container.d.ts +0 -20
  295. package/dist/src/plugin/Custom.d.ts +0 -23
  296. package/dist/src/plugin/DataDebug.d.ts +0 -20
  297. package/dist/src/plugin/Date.d.ts +0 -19
  298. package/dist/src/plugin/Datetime.d.ts +0 -13
  299. package/dist/src/plugin/Dialog.d.ts +0 -20
  300. package/dist/src/plugin/DiffEditor.d.ts +0 -19
  301. package/dist/src/plugin/Divider.d.ts +0 -14
  302. package/dist/src/plugin/Drawer.d.ts +0 -17
  303. package/dist/src/plugin/DropDownButton.d.ts +0 -41
  304. package/dist/src/plugin/Each.d.ts +0 -35
  305. package/dist/src/plugin/ErrorRenderer.d.ts +0 -6
  306. package/dist/src/plugin/Flex.d.ts +0 -28
  307. package/dist/src/plugin/Form/Array.d.ts +0 -26
  308. package/dist/src/plugin/Form/Button.d.ts +0 -11
  309. package/dist/src/plugin/Form/ButtonGroup.d.ts +0 -21
  310. package/dist/src/plugin/Form/ButtonGroupSelect.d.ts +0 -22
  311. package/dist/src/plugin/Form/ButtonToolbar.d.ts +0 -27
  312. package/dist/src/plugin/Form/ChainedSelect.d.ts +0 -19
  313. package/dist/src/plugin/Form/Checkbox.d.ts +0 -19
  314. package/dist/src/plugin/Form/Checkboxes.d.ts +0 -24
  315. package/dist/src/plugin/Form/City.d.ts +0 -18
  316. package/dist/src/plugin/Form/Color.d.ts +0 -39
  317. package/dist/src/plugin/Form/Combo.d.ts +0 -38
  318. package/dist/src/plugin/Form/ConditionBuilder.d.ts +0 -43
  319. package/dist/src/plugin/Form/Container.d.ts +0 -36
  320. package/dist/src/plugin/Form/Control.d.ts +0 -21
  321. package/dist/src/plugin/Form/Date.d.ts +0 -20
  322. package/dist/src/plugin/Form/DateRange.d.ts +0 -20
  323. package/dist/src/plugin/Form/DateTime.d.ts +0 -19
  324. package/dist/src/plugin/Form/DiffEditor.d.ts +0 -19
  325. package/dist/src/plugin/Form/Editor.d.ts +0 -40
  326. package/dist/src/plugin/Form/Email.d.ts +0 -24
  327. package/dist/src/plugin/Form/FieldSet.d.ts +0 -26
  328. package/dist/src/plugin/Form/File.d.ts +0 -18
  329. package/dist/src/plugin/Form/Form.d.ts +0 -18
  330. package/dist/src/plugin/Form/Formula.d.ts +0 -51
  331. package/dist/src/plugin/Form/Grid.d.ts +0 -32
  332. package/dist/src/plugin/Form/Group.d.ts +0 -25
  333. package/dist/src/plugin/Form/HBox.d.ts +0 -72
  334. package/dist/src/plugin/Form/Hidden.d.ts +0 -24
  335. package/dist/src/plugin/Form/Image.d.ts +0 -19
  336. package/dist/src/plugin/Form/InputArray.d.ts +0 -27
  337. package/dist/src/plugin/Form/InputCity.d.ts +0 -19
  338. package/dist/src/plugin/Form/InputDate.d.ts +0 -20
  339. package/dist/src/plugin/Form/InputDateRange.d.ts +0 -20
  340. package/dist/src/plugin/Form/InputDateTime.d.ts +0 -19
  341. package/dist/src/plugin/Form/InputDateTimeRange.d.ts +0 -20
  342. package/dist/src/plugin/Form/InputEmail.d.ts +0 -25
  343. package/dist/src/plugin/Form/InputFile.d.ts +0 -19
  344. package/dist/src/plugin/Form/InputGroup.d.ts +0 -34
  345. package/dist/src/plugin/Form/InputImage.d.ts +0 -20
  346. package/dist/src/plugin/Form/InputMonth.d.ts +0 -16
  347. package/dist/src/plugin/Form/InputMonthRange.d.ts +0 -20
  348. package/dist/src/plugin/Form/InputNumber.d.ts +0 -20
  349. package/dist/src/plugin/Form/InputPassword.d.ts +0 -25
  350. package/dist/src/plugin/Form/InputQuarter.d.ts +0 -16
  351. package/dist/src/plugin/Form/InputQuarterRange.d.ts +0 -20
  352. package/dist/src/plugin/Form/InputRange.d.ts +0 -19
  353. package/dist/src/plugin/Form/InputRating.d.ts +0 -19
  354. package/dist/src/plugin/Form/InputRepeat.d.ts +0 -19
  355. package/dist/src/plugin/Form/InputRichText.d.ts +0 -19
  356. package/dist/src/plugin/Form/InputSubForm.d.ts +0 -64
  357. package/dist/src/plugin/Form/InputTable.d.ts +0 -40
  358. package/dist/src/plugin/Form/InputTag.d.ts +0 -21
  359. package/dist/src/plugin/Form/InputText.d.ts +0 -20
  360. package/dist/src/plugin/Form/InputTime.d.ts +0 -19
  361. package/dist/src/plugin/Form/InputTree.d.ts +0 -73
  362. package/dist/src/plugin/Form/InputURL.d.ts +0 -25
  363. package/dist/src/plugin/Form/InputYear.d.ts +0 -16
  364. package/dist/src/plugin/Form/Item.d.ts +0 -10
  365. package/dist/src/plugin/Form/List.d.ts +0 -23
  366. package/dist/src/plugin/Form/ListSelect.d.ts +0 -24
  367. package/dist/src/plugin/Form/LocationPicker.d.ts +0 -48
  368. package/dist/src/plugin/Form/Matrix.d.ts +0 -25
  369. package/dist/src/plugin/Form/MatrixCheckboxes.d.ts +0 -26
  370. package/dist/src/plugin/Form/NestedSelect.d.ts +0 -73
  371. package/dist/src/plugin/Form/Number.d.ts +0 -19
  372. package/dist/src/plugin/Form/Panel.d.ts +0 -23
  373. package/dist/src/plugin/Form/Password.d.ts +0 -24
  374. package/dist/src/plugin/Form/Picker.d.ts +0 -26
  375. package/dist/src/plugin/Form/QRCode.d.ts +0 -19
  376. package/dist/src/plugin/Form/Radios.d.ts +0 -24
  377. package/dist/src/plugin/Form/Range.d.ts +0 -18
  378. package/dist/src/plugin/Form/Rating.d.ts +0 -18
  379. package/dist/src/plugin/Form/Repeat.d.ts +0 -18
  380. package/dist/src/plugin/Form/Reset.d.ts +0 -7
  381. package/dist/src/plugin/Form/RichText.d.ts +0 -18
  382. package/dist/src/plugin/Form/Select.d.ts +0 -24
  383. package/dist/src/plugin/Form/Service.d.ts +0 -23
  384. package/dist/src/plugin/Form/Static.d.ts +0 -23
  385. package/dist/src/plugin/Form/SubForm.d.ts +0 -62
  386. package/dist/src/plugin/Form/Submit.d.ts +0 -6
  387. package/dist/src/plugin/Form/Switch.d.ts +0 -20
  388. package/dist/src/plugin/Form/Table.d.ts +0 -33
  389. package/dist/src/plugin/Form/Tabs.d.ts +0 -16
  390. package/dist/src/plugin/Form/TabsTransfer.d.ts +0 -74
  391. package/dist/src/plugin/Form/Tag.d.ts +0 -20
  392. package/dist/src/plugin/Form/Text.d.ts +0 -19
  393. package/dist/src/plugin/Form/Textarea.d.ts +0 -20
  394. package/dist/src/plugin/Form/Time.d.ts +0 -18
  395. package/dist/src/plugin/Form/Transfer.d.ts +0 -68
  396. package/dist/src/plugin/Form/Tree.d.ts +0 -72
  397. package/dist/src/plugin/Form/TreeSelect.d.ts +0 -73
  398. package/dist/src/plugin/Form/UUID.d.ts +0 -23
  399. package/dist/src/plugin/Form/Url.d.ts +0 -24
  400. package/dist/src/plugin/Grid.d.ts +0 -49
  401. package/dist/src/plugin/HBox.d.ts +0 -44
  402. package/dist/src/plugin/IFrame.d.ts +0 -28
  403. package/dist/src/plugin/Image.d.ts +0 -19
  404. package/dist/src/plugin/Images.d.ts +0 -24
  405. package/dist/src/plugin/Json.d.ts +0 -24
  406. package/dist/src/plugin/Link.d.ts +0 -20
  407. package/dist/src/plugin/List.d.ts +0 -53
  408. package/dist/src/plugin/ListItem.d.ts +0 -16
  409. package/dist/src/plugin/Log.d.ts +0 -16
  410. package/dist/src/plugin/Mapping.d.ts +0 -35
  411. package/dist/src/plugin/Markdown.d.ts +0 -19
  412. package/dist/src/plugin/Name.d.ts +0 -8
  413. package/dist/src/plugin/Nav.d.ts +0 -161
  414. package/dist/src/plugin/Operation.d.ts +0 -25
  415. package/dist/src/plugin/Page.d.ts +0 -27
  416. package/dist/src/plugin/Panel.d.ts +0 -17
  417. package/dist/src/plugin/Plain.d.ts +0 -19
  418. package/dist/src/plugin/Progress.d.ts +0 -19
  419. package/dist/src/plugin/Property.d.ts +0 -26
  420. package/dist/src/plugin/QRCode.d.ts +0 -19
  421. package/dist/src/plugin/Reset.d.ts +0 -11
  422. package/dist/src/plugin/Service.d.ts +0 -24
  423. package/dist/src/plugin/Sparkline.d.ts +0 -28
  424. package/dist/src/plugin/Status.d.ts +0 -19
  425. package/dist/src/plugin/Steps.d.ts +0 -43
  426. package/dist/src/plugin/Submit.d.ts +0 -10
  427. package/dist/src/plugin/Switch.d.ts +0 -21
  428. package/dist/src/plugin/Table.d.ts +0 -19
  429. package/dist/src/plugin/TableCell.d.ts +0 -9
  430. package/dist/src/plugin/TableView.d.ts +0 -132
  431. package/dist/src/plugin/Tabs.d.ts +0 -43
  432. package/dist/src/plugin/Tasks.d.ts +0 -41
  433. package/dist/src/plugin/Time.d.ts +0 -13
  434. package/dist/src/plugin/Tpl.d.ts +0 -18
  435. package/dist/src/plugin/Unknown.d.ts +0 -5
  436. package/dist/src/plugin/Video.d.ts +0 -24
  437. package/dist/src/plugin/WebComponent.d.ts +0 -47
  438. package/dist/src/plugin/Wizard.d.ts +0 -40
  439. package/dist/src/plugin/Wrapper.d.ts +0 -20
  440. package/dist/src/plugin.d.ts +0 -560
  441. package/dist/src/store/editor.d.ts +0 -891
  442. package/dist/src/store/node.d.ts +0 -247
  443. package/dist/src/util.d.ts +0 -62
@@ -1,731 +0,0 @@
1
- import { Instance } from 'mobx-state-tree';
2
- import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm } from '../plugin';
3
- import { Schema } from '@fex/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 declare const EditorStore: import("mobx-state-tree").IModelType<{
45
- root: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
46
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
47
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
48
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
49
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
50
- info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>;
51
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
52
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
53
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
54
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
55
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
56
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
57
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
58
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
59
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
60
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
61
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
62
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
63
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
64
- }, {
65
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
66
- } & {
67
- readonly clickable: boolean;
68
- readonly draggable: boolean;
69
- readonly moveable: boolean;
70
- readonly removable: boolean;
71
- readonly duplicatable: boolean;
72
- readonly replaceable: boolean;
73
- memberImmutable(region: string): boolean;
74
- readonly isRegion: boolean;
75
- readonly childRegions: any[];
76
- readonly uniqueChildren: any[];
77
- readonly sameIdChild: any;
78
- readonly singleRegion: boolean;
79
- isExists(id: string): boolean;
80
- getChildById(id: string): any;
81
- readonly parent: any;
82
- readonly host: any;
83
- readonly prevSibling: any;
84
- readonly nextSibling: any;
85
- readonly schema: any;
86
- readonly schemaParent: any;
87
- } & {
88
- addChild(props: {
89
- id: string;
90
- label: string;
91
- path: string;
92
- info?: RendererInfo | undefined;
93
- region?: string | undefined;
94
- getData?: (() => any) | undefined;
95
- preferTag?: string | undefined;
96
- schemaPath?: string | undefined;
97
- regionInfo?: import("../plugin").RegionConfig | undefined;
98
- }): any;
99
- removeChild(child: any): void;
100
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
101
- patch(store: any, force?: boolean): void;
102
- setComponent(value: any): void;
103
- getComponent(): any;
104
- calculateHighlightBox(root?: any): void;
105
- resetHighlightBox(root: any): void;
106
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
107
- hoverId: import("mobx-state-tree").IType<string | undefined, string, string>;
108
- hoverRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
109
- activeId: import("mobx-state-tree").IType<string | undefined, string, string>;
110
- contextId: import("mobx-state-tree").IType<string | undefined, string, string>;
111
- dragMode: import("mobx-state-tree").IType<string | undefined, string, string>;
112
- dragId: import("mobx-state-tree").IType<string | undefined, string, string>;
113
- dragType: import("mobx-state-tree").IType<string | undefined, string, string>;
114
- dragSchema: import("mobx-state-tree").IType<any, any, any>;
115
- dropId: import("mobx-state-tree").IType<string | undefined, string, string>;
116
- dropRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
117
- planDropId: import("mobx-state-tree").IType<string | undefined, string, string>;
118
- planDropRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
119
- insertId: import("mobx-state-tree").IType<string | undefined, string, string>;
120
- insertRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
121
- insertRenderers: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<SubRendererInfo[], SubRendererInfo[], SubRendererInfo[]>, [undefined]>;
122
- insertRenderersKeywords: import("mobx-state-tree").IType<string | undefined, string, string>;
123
- insertTag: import("mobx-state-tree").IType<string | undefined, string, string>;
124
- insertSelected: import("mobx-state-tree").IType<string | undefined, string, string>;
125
- insertMode: import("mobx-state-tree").IType<string | undefined, string, string>;
126
- insertOrigId: import("mobx-state-tree").IType<string | undefined, string, string>;
127
- insertBeforeId: import("mobx-state-tree").IType<string | undefined, string, string>;
128
- schema: import("mobx-state-tree").IType<any, any, any>;
129
- versionId: import("mobx-state-tree").IType<number | undefined, number, number>;
130
- schemaHistory: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<SchemaHistory, SchemaHistory, SchemaHistory>>, [undefined]>;
131
- toolbars: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<ToolbarItem[], ToolbarItem[], ToolbarItem[]>, [undefined]>;
132
- panels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<PanelItem[], PanelItem[], PanelItem[]>, [undefined]>;
133
- subRenderersKeywords: import("mobx-state-tree").IType<string | undefined, string, string>;
134
- subRendererRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
135
- subRenderers: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<SubRendererInfo[], SubRendererInfo[], SubRendererInfo[]>, [undefined]>;
136
- panelKey: import("mobx-state-tree").IType<string | undefined, string, string>;
137
- leftPanelKey: import("mobx-state-tree").IType<string | undefined, string, string>;
138
- jsonSchemaUri: import("mobx-state-tree").IType<string | undefined, string, string>;
139
- scaffoldForm: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<ScaffoldFormContext, ScaffoldFormContext, ScaffoldFormContext>>;
140
- subEditorContext: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<SubEditorContext, SubEditorContext, SubEditorContext>>;
141
- calculateStarted: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
142
- }, {
143
- readonly filteredSchema: any;
144
- isHoved(id: string): boolean | "";
145
- isActive(id: string): boolean | "";
146
- isContextOn(id: string): boolean | "";
147
- readonly activeContainerId: string;
148
- isRegionHighlighted(id: string, region: string): boolean;
149
- isRegionActive(id: string, region: string): boolean;
150
- isRegionDragEnter(id: string, region: string): boolean;
151
- readonly highlightNodes: ({
152
- parentId: string;
153
- parentRegion: string;
154
- id: string;
155
- label: string;
156
- info: (RendererInfo & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>>) | undefined;
157
- 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;
158
- path: string;
159
- schemaPath: string;
160
- region: string;
161
- preferTag: string;
162
- memberIndex: number;
163
- folded: boolean;
164
- patched: boolean;
165
- x: number;
166
- y: number;
167
- w: number;
168
- h: number;
169
- 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]>>;
170
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
171
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
172
- } & {
173
- readonly clickable: boolean;
174
- readonly draggable: boolean;
175
- readonly moveable: boolean;
176
- readonly removable: boolean;
177
- readonly duplicatable: boolean;
178
- readonly replaceable: boolean;
179
- memberImmutable(region: string): boolean;
180
- readonly isRegion: boolean;
181
- readonly childRegions: any[];
182
- readonly uniqueChildren: any[];
183
- readonly sameIdChild: any;
184
- readonly singleRegion: boolean;
185
- isExists(id: string): boolean;
186
- getChildById(id: string): any;
187
- readonly parent: any;
188
- readonly host: any;
189
- readonly prevSibling: any;
190
- readonly nextSibling: any;
191
- readonly schema: any;
192
- readonly schemaParent: any;
193
- } & {
194
- addChild(props: {
195
- id: string;
196
- label: string;
197
- path: string;
198
- info?: RendererInfo | undefined;
199
- region?: string | undefined;
200
- getData?: (() => any) | undefined;
201
- preferTag?: string | undefined;
202
- schemaPath?: string | undefined;
203
- regionInfo?: import("../plugin").RegionConfig | undefined;
204
- }): any;
205
- removeChild(child: any): void;
206
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
207
- patch(store: any, force?: boolean): void;
208
- setComponent(value: any): void;
209
- getComponent(): any;
210
- calculateHighlightBox(root?: any): void;
211
- resetHighlightBox(root: any): void;
212
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
213
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
214
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
215
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
216
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
217
- info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>;
218
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
219
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
220
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
221
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
222
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
223
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
224
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
225
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
226
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
227
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
228
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
229
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
230
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
231
- }, {
232
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
233
- } & {
234
- readonly clickable: boolean;
235
- readonly draggable: boolean;
236
- readonly moveable: boolean;
237
- readonly removable: boolean;
238
- readonly duplicatable: boolean;
239
- readonly replaceable: boolean;
240
- memberImmutable(region: string): boolean;
241
- readonly isRegion: boolean;
242
- readonly childRegions: any[];
243
- readonly uniqueChildren: any[];
244
- readonly sameIdChild: any;
245
- readonly singleRegion: boolean;
246
- isExists(id: string): boolean;
247
- getChildById(id: string): any;
248
- readonly parent: any;
249
- readonly host: any;
250
- readonly prevSibling: any;
251
- readonly nextSibling: any;
252
- readonly schema: any;
253
- readonly schemaParent: any;
254
- } & {
255
- addChild(props: {
256
- id: string;
257
- label: string;
258
- path: string;
259
- info?: RendererInfo | undefined;
260
- region?: string | undefined;
261
- getData?: (() => any) | undefined;
262
- preferTag?: string | undefined;
263
- schemaPath?: string | undefined;
264
- regionInfo?: import("../plugin").RegionConfig | undefined;
265
- }): any;
266
- removeChild(child: any): void;
267
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
268
- patch(store: any, force?: boolean): void;
269
- setComponent(value: any): void;
270
- getComponent(): any;
271
- calculateHighlightBox(root?: any): void;
272
- resetHighlightBox(root: any): void;
273
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
274
- getNodeById(id: string, region?: string | undefined): EditorNodeType | undefined;
275
- readonly activeNodeInfo: RendererInfo | null | undefined;
276
- getSchema(id?: string | undefined): any;
277
- getSchemaParentById(id: string): any;
278
- getSchemaPath(id: string): string;
279
- getPanelKey(): string;
280
- getLeftPanelKey(): string;
281
- readonly leftPanels: PanelItem[];
282
- readonly rightPanels: PanelItem[];
283
- getPanels(): Array<PanelItem>;
284
- getLeftPanels(): Array<PanelItem>;
285
- readonly sortedToolbars: ToolbarItem[];
286
- readonly sortedSecondaryToolbars: ToolbarItem[];
287
- readonly sortedSpecialToolbars: ToolbarItem[];
288
- readonly value: any;
289
- getValueOf(id: string): any;
290
- readonly valueWithoutHiddenProps: any;
291
- 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]>>;
292
- readonly bcn: ({
293
- parentId: string;
294
- parentRegion: string;
295
- id: string;
296
- label: string;
297
- info: (RendererInfo & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>>) | undefined;
298
- 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;
299
- path: string;
300
- schemaPath: string;
301
- region: string;
302
- preferTag: string;
303
- memberIndex: number;
304
- folded: boolean;
305
- patched: boolean;
306
- x: number;
307
- y: number;
308
- w: number;
309
- h: number;
310
- 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]>>;
311
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
312
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
313
- } & {
314
- readonly clickable: boolean;
315
- readonly draggable: boolean;
316
- readonly moveable: boolean;
317
- readonly removable: boolean;
318
- readonly duplicatable: boolean;
319
- readonly replaceable: boolean;
320
- memberImmutable(region: string): boolean;
321
- readonly isRegion: boolean;
322
- readonly childRegions: any[];
323
- readonly uniqueChildren: any[];
324
- readonly sameIdChild: any;
325
- readonly singleRegion: boolean;
326
- isExists(id: string): boolean;
327
- getChildById(id: string): any;
328
- readonly parent: any;
329
- readonly host: any;
330
- readonly prevSibling: any;
331
- readonly nextSibling: any;
332
- readonly schema: any;
333
- readonly schemaParent: any;
334
- } & {
335
- addChild(props: {
336
- id: string;
337
- label: string;
338
- path: string;
339
- info?: RendererInfo | undefined;
340
- region?: string | undefined;
341
- getData?: (() => any) | undefined;
342
- preferTag?: string | undefined;
343
- schemaPath?: string | undefined;
344
- regionInfo?: import("../plugin").RegionConfig | undefined;
345
- }): any;
346
- removeChild(child: any): void;
347
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
348
- patch(store: any, force?: boolean): void;
349
- setComponent(value: any): void;
350
- getComponent(): any;
351
- calculateHighlightBox(root?: any): void;
352
- resetHighlightBox(root: any): void;
353
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
354
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
355
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
356
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
357
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
358
- info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>;
359
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
360
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
361
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
362
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
363
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
364
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
365
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
366
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
367
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
368
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
369
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
370
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
371
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
372
- }, {
373
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
374
- } & {
375
- readonly clickable: boolean;
376
- readonly draggable: boolean;
377
- readonly moveable: boolean;
378
- readonly removable: boolean;
379
- readonly duplicatable: boolean;
380
- readonly replaceable: boolean;
381
- memberImmutable(region: string): boolean;
382
- readonly isRegion: boolean;
383
- readonly childRegions: any[];
384
- readonly uniqueChildren: any[];
385
- readonly sameIdChild: any;
386
- readonly singleRegion: boolean;
387
- isExists(id: string): boolean;
388
- getChildById(id: string): any;
389
- readonly parent: any;
390
- readonly host: any;
391
- readonly prevSibling: any;
392
- readonly nextSibling: any;
393
- readonly schema: any;
394
- readonly schemaParent: any;
395
- } & {
396
- addChild(props: {
397
- id: string;
398
- label: string;
399
- path: string;
400
- info?: RendererInfo | undefined;
401
- region?: string | undefined;
402
- getData?: (() => any) | undefined;
403
- preferTag?: string | undefined;
404
- schemaPath?: string | undefined;
405
- regionInfo?: import("../plugin").RegionConfig | undefined;
406
- }): any;
407
- removeChild(child: any): void;
408
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
409
- patch(store: any, force?: boolean): void;
410
- setComponent(value: any): void;
411
- getComponent(): any;
412
- calculateHighlightBox(root?: any): void;
413
- resetHighlightBox(root: any): void;
414
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
415
- readonly activePath: ({
416
- parentId: string;
417
- parentRegion: string;
418
- id: string;
419
- label: string;
420
- info: (RendererInfo & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>>) | undefined;
421
- 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;
422
- path: string;
423
- schemaPath: string;
424
- region: string;
425
- preferTag: string;
426
- memberIndex: number;
427
- folded: boolean;
428
- patched: boolean;
429
- x: number;
430
- y: number;
431
- w: number;
432
- h: number;
433
- 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]>>;
434
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
435
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
436
- } & {
437
- readonly clickable: boolean;
438
- readonly draggable: boolean;
439
- readonly moveable: boolean;
440
- readonly removable: boolean;
441
- readonly duplicatable: boolean;
442
- readonly replaceable: boolean;
443
- memberImmutable(region: string): boolean;
444
- readonly isRegion: boolean;
445
- readonly childRegions: any[];
446
- readonly uniqueChildren: any[];
447
- readonly sameIdChild: any;
448
- readonly singleRegion: boolean;
449
- isExists(id: string): boolean;
450
- getChildById(id: string): any;
451
- readonly parent: any;
452
- readonly host: any;
453
- readonly prevSibling: any;
454
- readonly nextSibling: any;
455
- readonly schema: any;
456
- readonly schemaParent: any;
457
- } & {
458
- addChild(props: {
459
- id: string;
460
- label: string;
461
- path: string;
462
- info?: RendererInfo | undefined;
463
- region?: string | undefined;
464
- getData?: (() => any) | undefined;
465
- preferTag?: string | undefined;
466
- schemaPath?: string | undefined;
467
- regionInfo?: import("../plugin").RegionConfig | undefined;
468
- }): any;
469
- removeChild(child: any): void;
470
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
471
- patch(store: any, force?: boolean): void;
472
- setComponent(value: any): void;
473
- getComponent(): any;
474
- calculateHighlightBox(root?: any): void;
475
- resetHighlightBox(root: any): void;
476
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
477
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
478
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
479
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
480
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
481
- info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>;
482
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
483
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
484
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
485
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
486
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
487
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
488
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
489
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
490
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
491
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
492
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
493
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
494
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
495
- }, {
496
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
497
- } & {
498
- readonly clickable: boolean;
499
- readonly draggable: boolean;
500
- readonly moveable: boolean;
501
- readonly removable: boolean;
502
- readonly duplicatable: boolean;
503
- readonly replaceable: boolean;
504
- memberImmutable(region: string): boolean;
505
- readonly isRegion: boolean;
506
- readonly childRegions: any[];
507
- readonly uniqueChildren: any[];
508
- readonly sameIdChild: any;
509
- readonly singleRegion: boolean;
510
- isExists(id: string): boolean;
511
- getChildById(id: string): any;
512
- readonly parent: any;
513
- readonly host: any;
514
- readonly prevSibling: any;
515
- readonly nextSibling: any;
516
- readonly schema: any;
517
- readonly schemaParent: any;
518
- } & {
519
- addChild(props: {
520
- id: string;
521
- label: string;
522
- path: string;
523
- info?: RendererInfo | undefined;
524
- region?: string | undefined;
525
- getData?: (() => any) | undefined;
526
- preferTag?: string | undefined;
527
- schemaPath?: string | undefined;
528
- regionInfo?: import("../plugin").RegionConfig | undefined;
529
- }): any;
530
- removeChild(child: any): void;
531
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
532
- patch(store: any, force?: boolean): void;
533
- setComponent(value: any): void;
534
- getComponent(): any;
535
- calculateHighlightBox(root?: any): void;
536
- resetHighlightBox(root: any): void;
537
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
538
- getNodePathById(id: string): ({
539
- parentId: string;
540
- parentRegion: string;
541
- id: string;
542
- label: string;
543
- info: (RendererInfo & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>>) | undefined;
544
- 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;
545
- path: string;
546
- schemaPath: string;
547
- region: string;
548
- preferTag: string;
549
- memberIndex: number;
550
- folded: boolean;
551
- patched: boolean;
552
- x: number;
553
- y: number;
554
- w: number;
555
- h: number;
556
- 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]>>;
557
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
558
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
559
- } & {
560
- readonly clickable: boolean;
561
- readonly draggable: boolean;
562
- readonly moveable: boolean;
563
- readonly removable: boolean;
564
- readonly duplicatable: boolean;
565
- readonly replaceable: boolean;
566
- memberImmutable(region: string): boolean;
567
- readonly isRegion: boolean;
568
- readonly childRegions: any[];
569
- readonly uniqueChildren: any[];
570
- readonly sameIdChild: any;
571
- readonly singleRegion: boolean;
572
- isExists(id: string): boolean;
573
- getChildById(id: string): any;
574
- readonly parent: any;
575
- readonly host: any;
576
- readonly prevSibling: any;
577
- readonly nextSibling: any;
578
- readonly schema: any;
579
- readonly schemaParent: any;
580
- } & {
581
- addChild(props: {
582
- id: string;
583
- label: string;
584
- path: string;
585
- info?: RendererInfo | undefined;
586
- region?: string | undefined;
587
- getData?: (() => any) | undefined;
588
- preferTag?: string | undefined;
589
- schemaPath?: string | undefined;
590
- regionInfo?: import("../plugin").RegionConfig | undefined;
591
- }): any;
592
- removeChild(child: any): void;
593
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
594
- patch(store: any, force?: boolean): void;
595
- setComponent(value: any): void;
596
- getComponent(): any;
597
- calculateHighlightBox(root?: any): void;
598
- resetHighlightBox(root: any): void;
599
- } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
600
- parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
601
- parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
602
- id: import("mobx-state-tree").IType<string | undefined, string, string>;
603
- label: import("mobx-state-tree").IType<string | undefined, string, string>;
604
- info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>;
605
- regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
606
- path: import("mobx-state-tree").IType<string | undefined, string, string>;
607
- schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
608
- region: import("mobx-state-tree").IType<string | undefined, string, string>;
609
- preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
610
- memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
611
- folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
612
- patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
613
- x: import("mobx-state-tree").IType<number | undefined, number, number>;
614
- y: import("mobx-state-tree").IType<number | undefined, number, number>;
615
- w: import("mobx-state-tree").IType<number | undefined, number, number>;
616
- h: import("mobx-state-tree").IType<number | undefined, number, number>;
617
- children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
618
- }, {
619
- getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
620
- } & {
621
- readonly clickable: boolean;
622
- readonly draggable: boolean;
623
- readonly moveable: boolean;
624
- readonly removable: boolean;
625
- readonly duplicatable: boolean;
626
- readonly replaceable: boolean;
627
- memberImmutable(region: string): boolean;
628
- readonly isRegion: boolean;
629
- readonly childRegions: any[];
630
- readonly uniqueChildren: any[];
631
- readonly sameIdChild: any;
632
- readonly singleRegion: boolean;
633
- isExists(id: string): boolean;
634
- getChildById(id: string): any;
635
- readonly parent: any;
636
- readonly host: any;
637
- readonly prevSibling: any;
638
- readonly nextSibling: any;
639
- readonly schema: any;
640
- readonly schemaParent: any;
641
- } & {
642
- addChild(props: {
643
- id: string;
644
- label: string;
645
- path: string;
646
- info?: RendererInfo | undefined;
647
- region?: string | undefined;
648
- getData?: (() => any) | undefined;
649
- preferTag?: string | undefined;
650
- schemaPath?: string | undefined;
651
- regionInfo?: import("../plugin").RegionConfig | undefined;
652
- }): any;
653
- removeChild(child: any): void;
654
- toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
655
- patch(store: any, force?: boolean): void;
656
- setComponent(value: any): void;
657
- getComponent(): any;
658
- calculateHighlightBox(root?: any): void;
659
- resetHighlightBox(root: any): void;
660
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
661
- readonly dragging: boolean;
662
- readonly needPatch: boolean;
663
- readonly schemaRaw: any;
664
- readonly groupedSubRenderers: {
665
- [propName: string]: SubRendererInfo[];
666
- };
667
- getSubRendererById(id: string): SubRendererInfo | undefined;
668
- readonly groupedInsertRenderers: {
669
- [propName: string]: SubRendererInfo[];
670
- };
671
- readonly selectedInsertRendererInfo: SubRendererInfo | undefined;
672
- readonly subEditorSlotPath: string;
673
- readonly subEditorValue: any;
674
- readonly canUndo: boolean;
675
- readonly canRedo: boolean;
676
- } & {
677
- setSchema(json: any): void;
678
- insertSchema(event: PluginEvent<InsertEventContext>): void;
679
- moveSchema(event: PluginEvent<MoveEventContext>): void;
680
- setActiveId(id: string): void;
681
- setHoverId(id: string, region?: string | undefined): void;
682
- setInsertId(id: string): void;
683
- setContextId(id: string): void;
684
- setDragId(id: string, mode?: 'move' | 'copy', type?: string, schema?: any): void;
685
- setDropId(id: string, region?: string): void;
686
- setPlanDropId(id: string, region: string): void;
687
- setActiveToolbars(activeToolbars: Array<ToolbarItem>): void;
688
- setPanels(panels: Array<PanelItem>): void;
689
- setSubRenderers(renderers: Array<SubRendererInfo>): void;
690
- changeSubRenderersKeywords(keywords: string): void;
691
- resetSubRenderersKeywords(): void;
692
- changeSubRendererRegion(region: string): void;
693
- changePanelKey(key: string, force?: boolean): void;
694
- changeLeftPanelKey(key: string, force?: boolean): void;
695
- changeValue(value: Schema, diff?: any): void;
696
- changeValueById(id: string, value: Schema, diff?: any, replace?: boolean | undefined, noTrace?: boolean | undefined): void;
697
- moveUp(id: string): void;
698
- moveDown(id: string): void;
699
- del(id: string): void;
700
- duplicate(id: string): void;
701
- emptyRegion(id: string, region: string): void;
702
- replaceChild(id: string, json: any): void;
703
- setInsertRegion(region: string, id?: string, tag?: string, mode?: 'insert' | 'replace', originId?: string, beforeId?: string | undefined): void;
704
- closeInsertPanel(): void;
705
- setInsertRenderers(renderers: Array<SubRendererInfo>): void;
706
- changeInsertRenderersKeywords(keywords: string): void;
707
- resetInsertRenderersKeywords(): void;
708
- setInsertTag(tag: string): void;
709
- setInsertSelected(id: string): void;
710
- setJSONSchemaUri(schemaUri: string): void;
711
- openSubEditor(context: SubEditorContext): void;
712
- confirmSubEditor([valueRaw]: any): void;
713
- closeSubEditor(): void;
714
- subEditorOnChange(): void;
715
- undoSubEditor(): void;
716
- redoSubEditor(): void;
717
- subEditorRef(ref: any): void;
718
- openScaffoldForm(context: ScaffoldFormContext): void;
719
- closeScaffoldForm(): void;
720
- calculateHighlightBox(ids: Array<string>): void;
721
- resetHighlightBox(ids: Array<string>): void;
722
- traceableSetSchema(schema: any, noTrace?: boolean | undefined): void;
723
- undo(): void;
724
- redo(): void;
725
- resetHistory(): void;
726
- /**
727
- * 原来 MiniEditor 里面的逻辑,目前是 pageEditor 中使用了
728
- */
729
- applyPatches(patches: Array<PatchItem>): void;
730
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
731
- export declare type EditorStoreType = Instance<typeof EditorStore>;