@luck-design-biz/luckda 0.0.25-22 → 0.0.25-24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (858) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/es/components/Builder/index.js +0 -0
  4. package/es/components/ComplexItem/index.js +0 -0
  5. package/es/components/ComplexItem/service.js +0 -0
  6. package/es/components/IconFont/index.js +0 -0
  7. package/es/components/LDActions/index.js +0 -0
  8. package/es/components/LDActions/index.less +68 -68
  9. package/es/components/LdAutoForm/index.js +1 -1
  10. package/es/components/LdCard/index.js +0 -0
  11. package/es/components/LdCard/model.js +0 -0
  12. package/es/components/LdCom/index.js +0 -0
  13. package/es/components/LdFormList/index.js +0 -0
  14. package/es/components/LdFormList/model.js +0 -0
  15. package/es/components/LdGrid/index.js +4 -4
  16. package/es/components/LdGrid/model.js +0 -0
  17. package/es/components/LdGridForm/index.js +0 -0
  18. package/es/components/LdGridForm/index.less +7 -7
  19. package/es/components/LdInfoPanel/index.js +0 -0
  20. package/es/components/LdPop/index.js +0 -0
  21. package/es/components/LdTree/index.js +0 -0
  22. package/es/components/LdTree/index.less +40 -40
  23. package/es/helper/FromItems.js +0 -0
  24. package/es/helper/action.js +6 -6
  25. package/es/helper/form.js +14 -14
  26. package/es/helper/index.less +7 -7
  27. package/es/helper/ldBuilder.js +0 -0
  28. package/es/helper/ldComBuild.js +0 -0
  29. package/es/helper/props_config.js +0 -0
  30. package/es/index.js +0 -0
  31. package/es/locales/zh-CN.js +0 -0
  32. package/es/lowcode/constants/api-url.js +87 -87
  33. package/es/lowcode/constants/event-topics.js +0 -0
  34. package/es/lowcode/constants/index.js +0 -0
  35. package/es/lowcode/engine/factory/DataFactory.js +0 -0
  36. package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
  37. package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
  38. package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
  39. package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
  40. package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +0 -0
  41. package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
  42. package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
  43. package/es/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
  44. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
  45. package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
  46. package/es/lowcode/engine/factory/panel-item-factory/index.js +0 -0
  47. package/es/lowcode/engine/launcher.js +0 -0
  48. package/es/lowcode/engine/meta/box.props.default.json +0 -0
  49. package/es/lowcode/engine/meta/box.props.json +0 -0
  50. package/es/lowcode/engine/meta/button.props.default.json +0 -0
  51. package/es/lowcode/engine/meta/button.props.json +0 -0
  52. package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
  53. package/es/lowcode/engine/meta/cardlist.props.json +0 -0
  54. package/es/lowcode/engine/meta/components-list.json +0 -0
  55. package/es/lowcode/engine/meta/dialog.props.default.json +0 -0
  56. package/es/lowcode/engine/meta/dialog.props.json +0 -0
  57. package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
  58. package/es/lowcode/engine/meta/drawer.props.json +0 -0
  59. package/es/lowcode/engine/meta/fieldcolor.props.default.json +0 -0
  60. package/es/lowcode/engine/meta/fieldcolor.props.json +0 -0
  61. package/es/lowcode/engine/meta/fieldcomplex.props.default.json +0 -0
  62. package/es/lowcode/engine/meta/fieldcomplex.props.json +0 -0
  63. package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  64. package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
  65. package/es/lowcode/engine/meta/fielddate.props.default.json +0 -0
  66. package/es/lowcode/engine/meta/fielddate.props.json +0 -0
  67. package/es/lowcode/engine/meta/fielddict.props.default.json +0 -0
  68. package/es/lowcode/engine/meta/fielddict.props.json +0 -0
  69. package/es/lowcode/engine/meta/fieldeditor.props.default.json +0 -0
  70. package/es/lowcode/engine/meta/fieldeditor.props.json +0 -0
  71. package/es/lowcode/engine/meta/fieldgroup.props.default.json +0 -0
  72. package/es/lowcode/engine/meta/fieldgroup.props.json +0 -0
  73. package/es/lowcode/engine/meta/fieldnumber.props.default.json +0 -0
  74. package/es/lowcode/engine/meta/fieldnumber.props.json +0 -0
  75. package/es/lowcode/engine/meta/fieldradio.props.default.json +0 -0
  76. package/es/lowcode/engine/meta/fieldradio.props.json +0 -0
  77. package/es/lowcode/engine/meta/fieldregion.props.default.json +0 -0
  78. package/es/lowcode/engine/meta/fieldregion.props.json +0 -0
  79. package/es/lowcode/engine/meta/fieldselect.props.default.json +0 -0
  80. package/es/lowcode/engine/meta/fieldselect.props.json +0 -0
  81. package/es/lowcode/engine/meta/fieldstring.props.default.json +0 -0
  82. package/es/lowcode/engine/meta/fieldstring.props.json +0 -0
  83. package/es/lowcode/engine/meta/fieldswitch.props.default.json +0 -0
  84. package/es/lowcode/engine/meta/fieldswitch.props.json +0 -0
  85. package/es/lowcode/engine/meta/fieldtextarea.props.default.json +0 -0
  86. package/es/lowcode/engine/meta/fieldtextarea.props.json +0 -0
  87. package/es/lowcode/engine/meta/fieldupload.props.default.json +0 -0
  88. package/es/lowcode/engine/meta/fieldupload.props.json +0 -0
  89. package/es/lowcode/engine/meta/fielduser.props.default.json +0 -0
  90. package/es/lowcode/engine/meta/fielduser.props.json +0 -0
  91. package/es/lowcode/engine/meta/fieldyear.props.default.json +0 -0
  92. package/es/lowcode/engine/meta/fieldyear.props.json +0 -0
  93. package/es/lowcode/engine/meta/form.props.default.json +0 -0
  94. package/es/lowcode/engine/meta/form.props.json +0 -0
  95. package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
  96. package/es/lowcode/engine/meta/iframe.props.json +0 -0
  97. package/es/lowcode/engine/meta/image.props.default.json +0 -0
  98. package/es/lowcode/engine/meta/image.props.json +0 -0
  99. package/es/lowcode/engine/meta/imex.props.default.json +0 -0
  100. package/es/lowcode/engine/meta/imex.props.json +0 -0
  101. package/es/lowcode/engine/meta/js-editor/auto-complete.json +20 -20
  102. package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
  103. package/es/lowcode/engine/meta/jsx.props.json +0 -0
  104. package/es/lowcode/engine/meta/layout.props.default.json +0 -0
  105. package/es/lowcode/engine/meta/layout.props.json +0 -0
  106. package/es/lowcode/engine/meta/link.props.default.json +0 -0
  107. package/es/lowcode/engine/meta/link.props.json +0 -0
  108. package/es/lowcode/engine/meta/page.props.default.json +0 -0
  109. package/es/lowcode/engine/meta/page.props.json +0 -0
  110. package/es/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  111. package/es/lowcode/engine/meta/pagecontent.props.json +0 -0
  112. package/es/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  113. package/es/lowcode/engine/meta/pagefooter.props.json +0 -0
  114. package/es/lowcode/engine/meta/pageheader.props.default.json +0 -0
  115. package/es/lowcode/engine/meta/pageheader.props.json +0 -0
  116. package/es/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  117. package/es/lowcode/engine/meta/pagelayout.props.json +0 -0
  118. package/es/lowcode/engine/meta/section.props.default.json +0 -0
  119. package/es/lowcode/engine/meta/section.props.json +0 -0
  120. package/es/lowcode/engine/meta/split.props.default.json +0 -0
  121. package/es/lowcode/engine/meta/split.props.json +0 -0
  122. package/es/lowcode/engine/meta/table.props.default.json +0 -0
  123. package/es/lowcode/engine/meta/table.props.json +0 -0
  124. package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
  125. package/es/lowcode/engine/meta/tabs.props.json +0 -0
  126. package/es/lowcode/engine/meta/text.props.default.json +0 -0
  127. package/es/lowcode/engine/meta/text.props.json +0 -0
  128. package/es/lowcode/engine/meta/tree.props.default.json +0 -0
  129. package/es/lowcode/engine/meta/tree.props.json +0 -0
  130. package/es/lowcode/engine/provider/ContextProvider/index.js +50 -50
  131. package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +0 -0
  132. package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
  133. package/es/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
  134. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  135. package/es/lowcode/engine/tools/diff.js +0 -0
  136. package/es/lowcode/engine/tools/helper.js +0 -0
  137. package/es/lowcode/engine/tools/useCanvasRender.js +0 -0
  138. package/es/lowcode/engine/tools/useCombinedRefs.js +0 -0
  139. package/es/lowcode/engine/tools/usePageDataStore.js +0 -0
  140. package/es/lowcode/engine/tools/usePromiseState.js +0 -0
  141. package/es/lowcode/engine/tools/useTodo.js +0 -0
  142. package/es/lowcode/index.js +0 -0
  143. package/es/lowcode/painter/Components.js +2 -2
  144. package/es/lowcode/painter/Design.js +0 -0
  145. package/es/lowcode/painter/DesignOperator.js +0 -0
  146. package/es/lowcode/painter/DesignToolbar.js +1 -8
  147. package/es/lowcode/painter/I18n.js +0 -0
  148. package/es/lowcode/painter/Outline.js +2 -2
  149. package/es/lowcode/painter/Panel.js +0 -0
  150. package/es/lowcode/painter/Ribbon.js +1 -1
  151. package/es/lowcode/painter/components/ActionBindModal.js +1 -3
  152. package/es/lowcode/painter/components/AdvancePanel.js +0 -0
  153. package/es/lowcode/painter/components/AttrsPanel.js +0 -0
  154. package/es/lowcode/painter/components/Collapse.js +26 -26
  155. package/es/lowcode/painter/components/ColorInput.js +24 -24
  156. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +1 -1
  157. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  158. package/es/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  159. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  160. package/es/lowcode/painter/components/FieldSelector.js +0 -0
  161. package/es/lowcode/painter/components/ListEditor.js +24 -24
  162. package/es/lowcode/painter/components/NumberInput.js +28 -28
  163. package/es/lowcode/painter/components/PanelItem.js +24 -24
  164. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  165. package/es/lowcode/painter/components/PopForm.js +27 -27
  166. package/es/lowcode/painter/components/PreviewIframe.js +0 -0
  167. package/es/lowcode/painter/components/RuleInput.js +30 -30
  168. package/es/lowcode/painter/components/SortBox.js +22 -22
  169. package/es/lowcode/painter/components/TreeEditor.js +0 -0
  170. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -51
  171. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  172. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  173. package/es/lowcode/painter/components/code-editor/JSEditor.js +46 -22
  174. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  175. package/es/lowcode/painter/components/code-editor/index.js +0 -0
  176. package/es/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  177. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  178. package/es/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  179. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  180. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -2
  181. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  182. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -1
  183. package/es/lowcode/painter/components/field-setting/SettingUI.js +0 -1
  184. package/es/lowcode/painter/components/field-setting/index.js +0 -0
  185. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  186. package/es/lowcode/painter/index.js +0 -0
  187. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  188. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  189. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  190. package/es/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  191. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  192. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  193. package/es/lowcode/painter/panel-section/ButtonType.js +0 -0
  194. package/es/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  195. package/es/lowcode/painter/panel-section/DataSetSelector.js +0 -0
  196. package/es/lowcode/painter/panel-section/FieldState.js +0 -0
  197. package/es/lowcode/painter/panel-section/FieldsSetting.js +1 -2
  198. package/es/lowcode/painter/panel-section/I18nInput.js +0 -0
  199. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  200. package/es/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  201. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  202. package/es/lowcode/painter/panel-section/ImpExp.js +0 -0
  203. package/es/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
  204. package/es/lowcode/painter/panel-section/JSEditor.js +0 -0
  205. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  206. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
  207. package/es/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  208. package/es/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  209. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  210. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  211. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  212. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  213. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  214. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  215. package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  216. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  217. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  218. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  219. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  220. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  221. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  222. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  223. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  224. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  225. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  226. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  227. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  228. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  229. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  230. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  231. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  232. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  233. package/es/lowcode/painter/panel-section/TabItems.js +0 -0
  234. package/es/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  235. package/es/lowcode/painter/panel-section/TableZebra.js +0 -0
  236. package/es/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  237. package/es/lowcode/painter/panel-section/WidthHeight.js +0 -0
  238. package/es/lowcode/painter/services/I18n.js +0 -0
  239. package/es/lowcode/painter/style/action-bind-modal.less +102 -102
  240. package/es/lowcode/painter/style/actions-editor.less +15 -15
  241. package/es/lowcode/painter/style/border-editor.less +36 -36
  242. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  243. package/es/lowcode/painter/style/border-selector.less +39 -39
  244. package/es/lowcode/painter/style/button-type.less +5 -5
  245. package/es/lowcode/painter/style/collapse.less +28 -28
  246. package/es/lowcode/painter/style/color-input.less +19 -19
  247. package/es/lowcode/painter/style/components.less +91 -91
  248. package/es/lowcode/painter/style/design.less +159 -159
  249. package/es/lowcode/painter/style/display.less +17 -17
  250. package/es/lowcode/painter/style/dragdrop.less +10 -10
  251. package/es/lowcode/painter/style/fields-setting.less +25 -25
  252. package/es/lowcode/painter/style/font-editor.less +9 -9
  253. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  254. package/es/lowcode/painter/style/icon-selector.less +22 -22
  255. package/es/lowcode/painter/style/icon.less +10 -10
  256. package/es/lowcode/painter/style/impexp.less +7 -7
  257. package/es/lowcode/painter/style/index.less +6 -6
  258. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  259. package/es/lowcode/painter/style/list-editor.less +95 -95
  260. package/es/lowcode/painter/style/number-input.less +17 -17
  261. package/es/lowcode/painter/style/outline.less +28 -28
  262. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  263. package/es/lowcode/painter/style/panel-attrs.less +43 -43
  264. package/es/lowcode/painter/style/panel-item.less +54 -54
  265. package/es/lowcode/painter/style/panel.less +98 -98
  266. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  267. package/es/lowcode/painter/style/pop-form.less +19 -19
  268. package/es/lowcode/painter/style/radio.less +24 -24
  269. package/es/lowcode/painter/style/ribbon.less +5 -5
  270. package/es/lowcode/painter/style/rule-input.less +12 -12
  271. package/es/lowcode/painter/style/split-display.less +18 -18
  272. package/es/lowcode/painter/style/style-panel.less +37 -37
  273. package/es/lowcode/painter/style/tabitems.less +90 -90
  274. package/es/lowcode/painter/style/treedragdrop.less +19 -19
  275. package/es/lowcode/preview/index.js +0 -0
  276. package/es/lowcode/view/Canvas.js +0 -0
  277. package/es/lowcode/view/Loading.js +0 -0
  278. package/es/lowcode/view/Page.js +0 -0
  279. package/es/lowcode/view/index.js +0 -0
  280. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
  281. package/es/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  282. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  283. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  284. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  285. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  286. package/es/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  287. package/es/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  288. package/es/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  289. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  290. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  291. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  292. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  293. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  294. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  295. package/es/lowcode/view/lc-components/CardList/index.js +0 -0
  296. package/es/lowcode/view/lc-components/CardList/meta.json +153 -153
  297. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +23 -4
  298. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  299. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  300. package/es/lowcode/view/lc-components/Dialog/index.js +18 -16
  301. package/es/lowcode/view/lc-components/Dialog/index.less +8 -3
  302. package/es/lowcode/view/lc-components/Dialog/meta.json +150 -150
  303. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  304. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  305. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  306. package/es/lowcode/view/lc-components/Drawer/index.js +12 -12
  307. package/es/lowcode/view/lc-components/Drawer/index.less +9 -9
  308. package/es/lowcode/view/lc-components/Drawer/meta.json +131 -131
  309. package/es/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  310. package/es/lowcode/view/lc-components/FieldComplex/meta.json +133 -133
  311. package/es/lowcode/view/lc-components/FieldDate/meta.json +139 -139
  312. package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  313. package/es/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
  314. package/es/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
  315. package/es/lowcode/view/lc-components/FieldNumber/meta.json +142 -142
  316. package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  317. package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  318. package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  319. package/es/lowcode/view/lc-components/FieldString/meta.json +152 -152
  320. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  321. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  322. package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  323. package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  324. package/es/lowcode/view/lc-components/FieldYear/meta.json +129 -129
  325. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  326. package/es/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  327. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  328. package/es/lowcode/view/lc-components/Form/index.js +54 -55
  329. package/es/lowcode/view/lc-components/Form/index.less +4 -4
  330. package/es/lowcode/view/lc-components/Form/meta.json +610 -610
  331. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  332. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  333. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  334. package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
  335. package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
  336. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  337. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  338. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  339. package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
  340. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  341. package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
  342. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  343. package/es/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  344. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  345. package/es/lowcode/view/lc-components/Image/index.js +0 -0
  346. package/es/lowcode/view/lc-components/Image/meta.json +114 -114
  347. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  348. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  349. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  350. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  351. package/es/lowcode/view/lc-components/JSX/index.js +0 -0
  352. package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
  353. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  354. package/es/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  355. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  356. package/es/lowcode/view/lc-components/Layout/index.js +16 -16
  357. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  358. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  359. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  360. package/es/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  361. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  362. package/es/lowcode/view/lc-components/Link/index.js +0 -0
  363. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  364. package/es/lowcode/view/lc-components/Page/meta.json +55 -55
  365. package/es/lowcode/view/lc-components/PageContent/index.js +0 -0
  366. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  367. package/es/lowcode/view/lc-components/PageFooter/index.js +0 -0
  368. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  369. package/es/lowcode/view/lc-components/PageHeader/index.js +0 -0
  370. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  371. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
  372. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  373. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  374. package/es/lowcode/view/lc-components/PageLayout/index.js +0 -0
  375. package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  376. package/es/lowcode/view/lc-components/PageModal/index.js +0 -0
  377. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  378. package/es/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  379. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  380. package/es/lowcode/view/lc-components/Section/index.js +0 -0
  381. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  382. package/es/lowcode/view/lc-components/Section/meta.json +107 -107
  383. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  384. package/es/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  385. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  386. package/es/lowcode/view/lc-components/Split/index.js +0 -0
  387. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  388. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  389. package/es/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  390. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  391. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  392. package/es/lowcode/view/lc-components/Table/components/TopImex.js +0 -0
  393. package/es/lowcode/view/lc-components/Table/index.js +144 -144
  394. package/es/lowcode/view/lc-components/Table/meta.json +450 -450
  395. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  396. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  397. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  398. package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
  399. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  400. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  401. package/es/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  402. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  403. package/es/lowcode/view/lc-components/Text/index.js +0 -0
  404. package/es/lowcode/view/lc-components/Text/meta.json +66 -66
  405. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  406. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  407. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  408. package/es/lowcode/view/lc-components/Tree/index.js +0 -0
  409. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  410. package/es/lowcode/view/lc-components/Tree/meta.json +357 -357
  411. package/es/lowcode/view/lc-components/Wrapper.js +0 -0
  412. package/es/lowcode/view/style/canvas.less +5 -5
  413. package/es/lowcode/view/style/loading.less +84 -84
  414. package/es/lowcode/view/style/page.less +7 -7
  415. package/es/services.js +0 -0
  416. package/es/upload/FilesWall/file.png +0 -0
  417. package/es/upload/FilesWall/index.js +13 -13
  418. package/es/upload/FilesWall/index.less +74 -74
  419. package/es/upload/Form/gridForm.js +0 -0
  420. package/es/upload/Form/index.js +0 -0
  421. package/es/upload/Form/index.less +7 -7
  422. package/es/upload/FormItem/index.js +15 -15
  423. package/es/upload/GridCell/index.js +0 -0
  424. package/es/upload/index.js +0 -0
  425. package/es/utils/action.js +0 -0
  426. package/es/utils/form.js +21 -21
  427. package/es/utils/grid.js +0 -0
  428. package/es/utils/index.js +0 -0
  429. package/lib/components/Builder/index.js +0 -0
  430. package/lib/components/ComplexItem/index.js +0 -0
  431. package/lib/components/ComplexItem/service.js +0 -0
  432. package/lib/components/IconFont/index.js +0 -0
  433. package/lib/components/LDActions/index.js +0 -0
  434. package/lib/components/LDActions/index.less +68 -68
  435. package/lib/components/LdAutoForm/index.js +1 -1
  436. package/lib/components/LdCard/index.js +0 -0
  437. package/lib/components/LdCard/model.js +0 -0
  438. package/lib/components/LdCom/index.js +0 -0
  439. package/lib/components/LdFormList/index.js +0 -0
  440. package/lib/components/LdFormList/model.js +0 -0
  441. package/lib/components/LdGrid/index.js +4 -4
  442. package/lib/components/LdGrid/model.js +0 -0
  443. package/lib/components/LdGridForm/index.js +0 -0
  444. package/lib/components/LdGridForm/index.less +7 -7
  445. package/lib/components/LdInfoPanel/index.js +0 -0
  446. package/lib/components/LdPop/index.js +0 -0
  447. package/lib/components/LdTree/index.js +0 -0
  448. package/lib/components/LdTree/index.less +40 -40
  449. package/lib/helper/FromItems.js +0 -0
  450. package/lib/helper/action.js +6 -6
  451. package/lib/helper/form.js +14 -14
  452. package/lib/helper/index.less +7 -7
  453. package/lib/helper/ldBuilder.js +0 -0
  454. package/lib/helper/ldComBuild.js +0 -0
  455. package/lib/helper/props_config.js +0 -0
  456. package/lib/index.js +0 -0
  457. package/lib/locales/zh-CN.js +0 -0
  458. package/lib/lowcode/constants/api-url.js +87 -87
  459. package/lib/lowcode/constants/event-topics.js +0 -0
  460. package/lib/lowcode/constants/index.js +0 -0
  461. package/lib/lowcode/engine/factory/DataFactory.js +0 -0
  462. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
  463. package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
  464. package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
  465. package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
  466. package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +0 -0
  467. package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
  468. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
  469. package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
  470. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
  471. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
  472. package/lib/lowcode/engine/factory/panel-item-factory/index.js +0 -0
  473. package/lib/lowcode/engine/launcher.js +0 -0
  474. package/lib/lowcode/engine/meta/box.props.default.json +0 -0
  475. package/lib/lowcode/engine/meta/box.props.json +0 -0
  476. package/lib/lowcode/engine/meta/button.props.default.json +0 -0
  477. package/lib/lowcode/engine/meta/button.props.json +0 -0
  478. package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
  479. package/lib/lowcode/engine/meta/cardlist.props.json +0 -0
  480. package/lib/lowcode/engine/meta/components-list.json +0 -0
  481. package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
  482. package/lib/lowcode/engine/meta/dialog.props.json +0 -0
  483. package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
  484. package/lib/lowcode/engine/meta/drawer.props.json +0 -0
  485. package/lib/lowcode/engine/meta/fieldcolor.props.default.json +0 -0
  486. package/lib/lowcode/engine/meta/fieldcolor.props.json +0 -0
  487. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +0 -0
  488. package/lib/lowcode/engine/meta/fieldcomplex.props.json +0 -0
  489. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  490. package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
  491. package/lib/lowcode/engine/meta/fielddate.props.default.json +0 -0
  492. package/lib/lowcode/engine/meta/fielddate.props.json +0 -0
  493. package/lib/lowcode/engine/meta/fielddict.props.default.json +0 -0
  494. package/lib/lowcode/engine/meta/fielddict.props.json +0 -0
  495. package/lib/lowcode/engine/meta/fieldeditor.props.default.json +0 -0
  496. package/lib/lowcode/engine/meta/fieldeditor.props.json +0 -0
  497. package/lib/lowcode/engine/meta/fieldgroup.props.default.json +0 -0
  498. package/lib/lowcode/engine/meta/fieldgroup.props.json +0 -0
  499. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +0 -0
  500. package/lib/lowcode/engine/meta/fieldnumber.props.json +0 -0
  501. package/lib/lowcode/engine/meta/fieldradio.props.default.json +0 -0
  502. package/lib/lowcode/engine/meta/fieldradio.props.json +0 -0
  503. package/lib/lowcode/engine/meta/fieldregion.props.default.json +0 -0
  504. package/lib/lowcode/engine/meta/fieldregion.props.json +0 -0
  505. package/lib/lowcode/engine/meta/fieldselect.props.default.json +0 -0
  506. package/lib/lowcode/engine/meta/fieldselect.props.json +0 -0
  507. package/lib/lowcode/engine/meta/fieldstring.props.default.json +0 -0
  508. package/lib/lowcode/engine/meta/fieldstring.props.json +0 -0
  509. package/lib/lowcode/engine/meta/fieldswitch.props.default.json +0 -0
  510. package/lib/lowcode/engine/meta/fieldswitch.props.json +0 -0
  511. package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +0 -0
  512. package/lib/lowcode/engine/meta/fieldtextarea.props.json +0 -0
  513. package/lib/lowcode/engine/meta/fieldupload.props.default.json +0 -0
  514. package/lib/lowcode/engine/meta/fieldupload.props.json +0 -0
  515. package/lib/lowcode/engine/meta/fielduser.props.default.json +0 -0
  516. package/lib/lowcode/engine/meta/fielduser.props.json +0 -0
  517. package/lib/lowcode/engine/meta/fieldyear.props.default.json +0 -0
  518. package/lib/lowcode/engine/meta/fieldyear.props.json +0 -0
  519. package/lib/lowcode/engine/meta/form.props.default.json +0 -0
  520. package/lib/lowcode/engine/meta/form.props.json +0 -0
  521. package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
  522. package/lib/lowcode/engine/meta/iframe.props.json +0 -0
  523. package/lib/lowcode/engine/meta/image.props.default.json +0 -0
  524. package/lib/lowcode/engine/meta/image.props.json +0 -0
  525. package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
  526. package/lib/lowcode/engine/meta/imex.props.json +0 -0
  527. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +20 -20
  528. package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
  529. package/lib/lowcode/engine/meta/jsx.props.json +0 -0
  530. package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
  531. package/lib/lowcode/engine/meta/layout.props.json +0 -0
  532. package/lib/lowcode/engine/meta/link.props.default.json +0 -0
  533. package/lib/lowcode/engine/meta/link.props.json +0 -0
  534. package/lib/lowcode/engine/meta/page.props.default.json +0 -0
  535. package/lib/lowcode/engine/meta/page.props.json +0 -0
  536. package/lib/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  537. package/lib/lowcode/engine/meta/pagecontent.props.json +0 -0
  538. package/lib/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  539. package/lib/lowcode/engine/meta/pagefooter.props.json +0 -0
  540. package/lib/lowcode/engine/meta/pageheader.props.default.json +0 -0
  541. package/lib/lowcode/engine/meta/pageheader.props.json +0 -0
  542. package/lib/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  543. package/lib/lowcode/engine/meta/pagelayout.props.json +0 -0
  544. package/lib/lowcode/engine/meta/section.props.default.json +0 -0
  545. package/lib/lowcode/engine/meta/section.props.json +0 -0
  546. package/lib/lowcode/engine/meta/split.props.default.json +0 -0
  547. package/lib/lowcode/engine/meta/split.props.json +0 -0
  548. package/lib/lowcode/engine/meta/table.props.default.json +0 -0
  549. package/lib/lowcode/engine/meta/table.props.json +0 -0
  550. package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
  551. package/lib/lowcode/engine/meta/tabs.props.json +0 -0
  552. package/lib/lowcode/engine/meta/text.props.default.json +0 -0
  553. package/lib/lowcode/engine/meta/text.props.json +0 -0
  554. package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
  555. package/lib/lowcode/engine/meta/tree.props.json +0 -0
  556. package/lib/lowcode/engine/provider/ContextProvider/index.js +50 -50
  557. package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js +0 -0
  558. package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
  559. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
  560. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  561. package/lib/lowcode/engine/tools/diff.js +0 -0
  562. package/lib/lowcode/engine/tools/helper.js +0 -0
  563. package/lib/lowcode/engine/tools/useCanvasRender.js +0 -0
  564. package/lib/lowcode/engine/tools/useCombinedRefs.js +0 -0
  565. package/lib/lowcode/engine/tools/usePageDataStore.js +0 -0
  566. package/lib/lowcode/engine/tools/usePromiseState.js +0 -0
  567. package/lib/lowcode/engine/tools/useTodo.js +0 -0
  568. package/lib/lowcode/index.js +0 -0
  569. package/lib/lowcode/painter/Components.js +2 -2
  570. package/lib/lowcode/painter/Design.js +0 -0
  571. package/lib/lowcode/painter/DesignOperator.js +0 -0
  572. package/lib/lowcode/painter/DesignToolbar.js +1 -8
  573. package/lib/lowcode/painter/I18n.js +0 -0
  574. package/lib/lowcode/painter/Outline.js +2 -2
  575. package/lib/lowcode/painter/Panel.js +0 -0
  576. package/lib/lowcode/painter/Ribbon.js +1 -1
  577. package/lib/lowcode/painter/components/ActionBindModal.js +1 -3
  578. package/lib/lowcode/painter/components/AdvancePanel.js +0 -0
  579. package/lib/lowcode/painter/components/AttrsPanel.js +0 -0
  580. package/lib/lowcode/painter/components/Collapse.js +26 -26
  581. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  582. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +1 -1
  583. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  584. package/lib/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  585. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  586. package/lib/lowcode/painter/components/FieldSelector.js +0 -0
  587. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  588. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  589. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  590. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  591. package/lib/lowcode/painter/components/PopForm.js +27 -27
  592. package/lib/lowcode/painter/components/PreviewIframe.js +0 -0
  593. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  594. package/lib/lowcode/painter/components/SortBox.js +22 -22
  595. package/lib/lowcode/painter/components/TreeEditor.js +0 -0
  596. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -51
  597. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  598. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  599. package/lib/lowcode/painter/components/code-editor/JSEditor.js +45 -21
  600. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  601. package/lib/lowcode/painter/components/code-editor/index.js +0 -0
  602. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  603. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  604. package/lib/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  605. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  606. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -2
  607. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  608. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -1
  609. package/lib/lowcode/painter/components/field-setting/SettingUI.js +0 -1
  610. package/lib/lowcode/painter/components/field-setting/index.js +0 -0
  611. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  612. package/lib/lowcode/painter/index.js +0 -0
  613. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  614. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  615. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  616. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  617. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  618. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  619. package/lib/lowcode/painter/panel-section/ButtonType.js +0 -0
  620. package/lib/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  621. package/lib/lowcode/painter/panel-section/DataSetSelector.js +0 -0
  622. package/lib/lowcode/painter/panel-section/FieldState.js +0 -0
  623. package/lib/lowcode/painter/panel-section/FieldsSetting.js +1 -2
  624. package/lib/lowcode/painter/panel-section/I18nInput.js +0 -0
  625. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  626. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  627. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  628. package/lib/lowcode/painter/panel-section/ImpExp.js +0 -0
  629. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
  630. package/lib/lowcode/painter/panel-section/JSEditor.js +0 -0
  631. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  632. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
  633. package/lib/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  634. package/lib/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  635. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  636. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  637. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  638. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  639. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  640. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  641. package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  642. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  643. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  644. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  645. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  646. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  647. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  648. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  649. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  650. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  651. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  652. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  653. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  654. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  655. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  656. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  657. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  658. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  659. package/lib/lowcode/painter/panel-section/TabItems.js +0 -0
  660. package/lib/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  661. package/lib/lowcode/painter/panel-section/TableZebra.js +0 -0
  662. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  663. package/lib/lowcode/painter/panel-section/WidthHeight.js +0 -0
  664. package/lib/lowcode/painter/services/I18n.js +0 -0
  665. package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
  666. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  667. package/lib/lowcode/painter/style/border-editor.less +36 -36
  668. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  669. package/lib/lowcode/painter/style/border-selector.less +39 -39
  670. package/lib/lowcode/painter/style/button-type.less +5 -5
  671. package/lib/lowcode/painter/style/collapse.less +28 -28
  672. package/lib/lowcode/painter/style/color-input.less +19 -19
  673. package/lib/lowcode/painter/style/components.less +91 -91
  674. package/lib/lowcode/painter/style/design.less +159 -159
  675. package/lib/lowcode/painter/style/display.less +17 -17
  676. package/lib/lowcode/painter/style/dragdrop.less +10 -10
  677. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  678. package/lib/lowcode/painter/style/font-editor.less +9 -9
  679. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  680. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  681. package/lib/lowcode/painter/style/icon.less +10 -10
  682. package/lib/lowcode/painter/style/impexp.less +7 -7
  683. package/lib/lowcode/painter/style/index.less +6 -6
  684. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  685. package/lib/lowcode/painter/style/list-editor.less +95 -95
  686. package/lib/lowcode/painter/style/number-input.less +17 -17
  687. package/lib/lowcode/painter/style/outline.less +28 -28
  688. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  689. package/lib/lowcode/painter/style/panel-attrs.less +43 -43
  690. package/lib/lowcode/painter/style/panel-item.less +54 -54
  691. package/lib/lowcode/painter/style/panel.less +98 -98
  692. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  693. package/lib/lowcode/painter/style/pop-form.less +19 -19
  694. package/lib/lowcode/painter/style/radio.less +24 -24
  695. package/lib/lowcode/painter/style/ribbon.less +5 -5
  696. package/lib/lowcode/painter/style/rule-input.less +12 -12
  697. package/lib/lowcode/painter/style/split-display.less +18 -18
  698. package/lib/lowcode/painter/style/style-panel.less +37 -37
  699. package/lib/lowcode/painter/style/tabitems.less +90 -90
  700. package/lib/lowcode/painter/style/treedragdrop.less +19 -19
  701. package/lib/lowcode/preview/index.js +0 -0
  702. package/lib/lowcode/view/Canvas.js +0 -0
  703. package/lib/lowcode/view/Loading.js +0 -0
  704. package/lib/lowcode/view/Page.js +0 -0
  705. package/lib/lowcode/view/index.js +0 -0
  706. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
  707. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  708. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  709. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  710. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  711. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  712. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  713. package/lib/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  714. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  715. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  716. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  717. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  718. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  719. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  720. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  721. package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
  722. package/lib/lowcode/view/lc-components/CardList/meta.json +153 -153
  723. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +24 -4
  724. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  725. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  726. package/lib/lowcode/view/lc-components/Dialog/index.js +18 -16
  727. package/lib/lowcode/view/lc-components/Dialog/index.less +8 -3
  728. package/lib/lowcode/view/lc-components/Dialog/meta.json +150 -150
  729. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  730. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  731. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  732. package/lib/lowcode/view/lc-components/Drawer/index.js +12 -12
  733. package/lib/lowcode/view/lc-components/Drawer/index.less +9 -9
  734. package/lib/lowcode/view/lc-components/Drawer/meta.json +131 -131
  735. package/lib/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  736. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +133 -133
  737. package/lib/lowcode/view/lc-components/FieldDate/meta.json +139 -139
  738. package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  739. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
  740. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
  741. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +142 -142
  742. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  743. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  744. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  745. package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -152
  746. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  747. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  748. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  749. package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  750. package/lib/lowcode/view/lc-components/FieldYear/meta.json +129 -129
  751. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  752. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  753. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  754. package/lib/lowcode/view/lc-components/Form/index.js +54 -55
  755. package/lib/lowcode/view/lc-components/Form/index.less +4 -4
  756. package/lib/lowcode/view/lc-components/Form/meta.json +610 -610
  757. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  758. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  759. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  760. package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
  761. package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
  762. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  763. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  764. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  765. package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
  766. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  767. package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
  768. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  769. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  770. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  771. package/lib/lowcode/view/lc-components/Image/index.js +0 -0
  772. package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
  773. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  774. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  775. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  776. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  777. package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
  778. package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
  779. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  780. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  781. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  782. package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
  783. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  784. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  785. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  786. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  787. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  788. package/lib/lowcode/view/lc-components/Link/index.js +0 -0
  789. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  790. package/lib/lowcode/view/lc-components/Page/meta.json +55 -55
  791. package/lib/lowcode/view/lc-components/PageContent/index.js +0 -0
  792. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  793. package/lib/lowcode/view/lc-components/PageFooter/index.js +0 -0
  794. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  795. package/lib/lowcode/view/lc-components/PageHeader/index.js +0 -0
  796. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  797. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
  798. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  799. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  800. package/lib/lowcode/view/lc-components/PageLayout/index.js +0 -0
  801. package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  802. package/lib/lowcode/view/lc-components/PageModal/index.js +0 -0
  803. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  804. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  805. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  806. package/lib/lowcode/view/lc-components/Section/index.js +0 -0
  807. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  808. package/lib/lowcode/view/lc-components/Section/meta.json +107 -107
  809. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  810. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  811. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  812. package/lib/lowcode/view/lc-components/Split/index.js +0 -0
  813. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  814. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  815. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  816. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  817. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  818. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +0 -0
  819. package/lib/lowcode/view/lc-components/Table/index.js +144 -144
  820. package/lib/lowcode/view/lc-components/Table/meta.json +450 -450
  821. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  822. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  823. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  824. package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
  825. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  826. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  827. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  828. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  829. package/lib/lowcode/view/lc-components/Text/index.js +0 -0
  830. package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
  831. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  832. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  833. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  834. package/lib/lowcode/view/lc-components/Tree/index.js +0 -0
  835. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  836. package/lib/lowcode/view/lc-components/Tree/meta.json +357 -357
  837. package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
  838. package/lib/lowcode/view/style/canvas.less +5 -5
  839. package/lib/lowcode/view/style/loading.less +84 -84
  840. package/lib/lowcode/view/style/page.less +7 -7
  841. package/lib/services.js +0 -0
  842. package/lib/upload/FilesWall/file.png +0 -0
  843. package/lib/upload/FilesWall/index.js +13 -13
  844. package/lib/upload/FilesWall/index.less +74 -74
  845. package/lib/upload/Form/gridForm.js +0 -0
  846. package/lib/upload/Form/index.js +0 -0
  847. package/lib/upload/Form/index.less +7 -7
  848. package/lib/upload/FormItem/index.js +15 -15
  849. package/lib/upload/GridCell/index.js +0 -0
  850. package/lib/upload/index.js +0 -0
  851. package/lib/utils/action.js +0 -0
  852. package/lib/utils/form.js +21 -21
  853. package/lib/utils/grid.js +0 -0
  854. package/lib/utils/index.js +0 -0
  855. package/lowcode.js +1 -1
  856. package/package.json +173 -173
  857. package/upload.js +1 -1
  858. package/utils.js +1 -1
@@ -1,610 +1,610 @@
1
- {
2
- "component": "Form",
3
- "name": "复杂表单",
4
- "desc": "复杂表单组件是用于收集、验证和提交用户输入数据的重要组件。",
5
- "icon": "icon-form",
6
- "group": "advance",
7
- "groupName": "高级",
8
- "order": 1,
9
- "props": [
10
- {
11
- "key": "id",
12
- "name": "唯一标识",
13
- "type": "string",
14
- "disabled": true
15
- },
16
- {
17
- "key": "readOnly",
18
- "name": "只读",
19
- "desc": "是否只读",
20
- "type": "switch",
21
- "default": false
22
- },
23
- {
24
- "key": "ribbonSetting",
25
- "name": "功能区设置",
26
- "type": "group",
27
- "default": true,
28
- "next": {
29
- "name": "功能区设置",
30
- "props": [
31
- {
32
- "key": "showSave",
33
- "name": "保存按钮",
34
- "desc": "是否展示保存按钮",
35
- "type": "switch",
36
- "default": true
37
- },
38
- {
39
- "key": "saveTitle",
40
- "name": "保存按钮标题",
41
- "type": "_I18nInput",
42
- "default": "保存"
43
- },
44
- {
45
- "key": "settingLayout",
46
- "name": "按钮布局",
47
- "type": "segmented",
48
- "options": [
49
- {
50
- "label": "顶部",
51
- "value": "top"
52
- },
53
- {
54
- "label": "底部",
55
- "value": "bottom"
56
- }
57
- ],
58
- "default": "bottom"
59
- },
60
- {
61
- "key": "getContainer",
62
- "name": "挂载节点",
63
- "desc": "指定功能区挂载的页面节点",
64
- "type": "_ComponentSelector",
65
- "filter": [
66
- ["id", "page_root"],
67
- ["meta.group", "container"],
68
- ["meta.group", "build-in"]
69
- ]
70
- },
71
- {
72
- "key": "renderFormLeft",
73
- "name": "按钮区域左侧渲染",
74
- "type": "_JSEditor",
75
- "defaultCode": "function renderFormLeft() { \n return null; \n}",
76
- "mustConfirm": true,
77
- "wrapper": "collapse",
78
- "wrapperProps": {
79
- "suppressIcon": true
80
- }
81
- },
82
- {
83
- "key": "renderFormRight",
84
- "name": "按钮区域右侧渲染",
85
- "type": "_JSEditor",
86
- "defaultCode": "function renderFormRight() { \n return null; \n}",
87
- "mustConfirm": true,
88
- "wrapper": "collapse",
89
- "wrapperProps": {
90
- "suppressIcon": true
91
- }
92
- }
93
- ]
94
- }
95
- },
96
- {
97
- "key": "blocks",
98
- "name": "区块",
99
- "type": "_BlocksEditor",
100
- "default": [
101
- {
102
- "id": "block_main",
103
- "name": "主区块",
104
- "type": "auto",
105
- "serialEffect": "disable",
106
- "mode": ["add", "update", "edit", "info"],
107
- "cols": 4,
108
- "readOnly": false,
109
- "order": 1
110
- }
111
- ],
112
- "wrapper": "hidden",
113
- "innerProps": [
114
- {
115
- "key": "dataset",
116
- "name": "数据集",
117
- "desc": "选择系统中的可用树形数据集",
118
- "type": "_DataSetSelector",
119
- "component": "form",
120
- "next": {
121
- "name": "字段配置",
122
- "props": [
123
- {
124
- "key": "fields",
125
- "name": "#字段配置器",
126
- "type": "_FieldsSetting"
127
- }
128
- ]
129
- }
130
- },
131
- {
132
- "key": "name",
133
- "name": "区块名称",
134
- "type": "_I18nInput"
135
- },
136
- {
137
- "key": "serial",
138
- "name": "资源串",
139
- "type": "_SerialsSelector"
140
- },
141
- {
142
- "key": "serialEffect",
143
- "name": "资源串效果",
144
- "type": "segmented",
145
- "options": [
146
- {
147
- "label": "禁用",
148
- "value": "disable"
149
- },
150
- {
151
- "label": "隐藏",
152
- "value": "hidden"
153
- }
154
- ],
155
- "default": "hidden"
156
- },
157
- {
158
- "key": "mode",
159
- "name": "适用模式",
160
- "type": "checkbox",
161
- "options": [
162
- {
163
- "label": "add",
164
- "value": "add"
165
- },
166
- {
167
- "label": "update",
168
- "value": "update"
169
- },
170
- {
171
- "label": "edit",
172
- "value": "edit"
173
- },
174
- {
175
- "label": "info",
176
- "value": "info"
177
- }
178
- ]
179
- },
180
- {
181
- "key": "header",
182
- "name": "表头类型",
183
- "type": "select",
184
- "options": [
185
- {
186
- "label": "折叠面板",
187
- "value": "collapse"
188
- },
189
- {
190
- "label": "分隔线",
191
- "value": "divider"
192
- },
193
- {
194
- "label": "无",
195
- "value": false
196
- }
197
- ],
198
- "default": "collapse"
199
- },
200
- {
201
- "key": "blockSettings",
202
- "name": "区块详细设计",
203
- "type": "_BlockEditor",
204
- "wrapper": "hidden",
205
- "default": {
206
- "form": { "readOnly": false, "col": 4 },
207
- "table": {
208
- "readOnly": false,
209
- "suppressPreset": false,
210
- "height": "100%",
211
- "bordered": false,
212
- "popTitleKey": "title",
213
- "draggable": false,
214
- "orderByAdd": "asc",
215
- "suppressActions": false,
216
- "actionsColumnWidth": 160
217
- },
218
- "uploadForm": {
219
- "readOnly": false,
220
- "suppressPreset": false,
221
- "height": "300px",
222
- "bordered": false,
223
- "showNote": false,
224
- "zipName": "download",
225
- "useResetActions": false
226
- }
227
- },
228
- "next": {
229
- "name": "区块详细设计",
230
- "_auto_props": [
231
- {
232
- "key": "readOnly",
233
- "name": "只读",
234
- "type": "switch",
235
- "default": false
236
- },
237
- {
238
- "key": "cols",
239
- "name": "默认列数",
240
- "type": "number",
241
- "default": 4
242
- },
243
- {
244
- "key": "defaultDataSourceFormat",
245
- "name": "格式化默认数据",
246
- "desc": "格式化新增时默认数据",
247
- "type": "_JSEditor",
248
- "defaultCode": "function defaultDataSourceFormat(defaultValues) { \n return defaultValues; \n}",
249
- "mustConfirm": true,
250
- "wrapper": "collapse",
251
- "wrapperProps": { "suppressIcon": true }
252
- },
253
- {
254
- "key": "dataSourceFormat",
255
- "name": "格式化数据",
256
- "desc": "格式化单表提交数据",
257
- "type": "_JSEditor",
258
- "defaultCode": "function dataSourceFormat(dataSetKey, values, submitData) { \n return { [dataSetKey]: submitData }; \n}",
259
- "mustConfirm": true,
260
- "wrapper": "collapse",
261
- "wrapperProps": { "suppressIcon": true }
262
- }
263
- ],
264
- "_grid_props": [
265
- {
266
- "key": "readOnly",
267
- "name": "只读",
268
- "type": "switch"
269
- },
270
- {
271
- "key": "suppressPreset",
272
- "name": "关闭预设",
273
- "type": "switch"
274
- },
275
- {
276
- "key": "height",
277
- "name": "高度",
278
- "type": "_WidthHeight"
279
- },
280
- {
281
- "key": "bordered",
282
- "name": "边框线",
283
- "type": "switch"
284
- },
285
- {
286
- "key": "draggable",
287
- "name": "拖拽排序",
288
- "type": "switch"
289
- },
290
- {
291
- "key": "orderByAdd",
292
- "name": "排序方式",
293
- "type": "segmented",
294
- "options": [
295
- {
296
- "label": "升序",
297
- "value": "asc"
298
- },
299
- {
300
- "label": "降序",
301
- "value": "desc"
302
- }
303
- ]
304
- },
305
- {
306
- "key": "actionsColumn",
307
- "name": "操作列",
308
- "type": "group",
309
- "props": [
310
- {
311
- "key": "suppressActions",
312
- "name": "隐藏操作列",
313
- "type": "switch"
314
- },
315
- {
316
- "key": "actionsColumnWidth",
317
- "name": "列宽",
318
- "type": "_ActionsColumnWidth",
319
- "convertInt": true,
320
- "options": [{ "label": "px", "value": "px" }]
321
- },
322
- {
323
- "key": "actionsColumnReset",
324
- "name": "重写操列",
325
- "desc": "重写操列",
326
- "type": "_JSEditor",
327
- "defaultCode": "function actionsColumnReset(data, index, actions, params) { \n \t \n}",
328
- "mustConfirm": true,
329
- "wrapper": "collapse",
330
- "wrapperProps": { "suppressIcon": true }
331
- }
332
- ]
333
- },
334
- {
335
- "key": "defaultDataSourceFormat",
336
- "name": "格式化默认数据",
337
- "desc": "格式化新增时默认数据",
338
- "type": "_JSEditor",
339
- "defaultCode": "function defaultDataSourceFormat(defaultValues) { \n return defaultValues; \n}",
340
- "mustConfirm": true,
341
- "wrapper": "collapse",
342
- "wrapperProps": { "suppressIcon": true }
343
- },
344
- {
345
- "key": "dataSourceFormat",
346
- "name": "格式化数据",
347
- "desc": "格式化单表提交数据",
348
- "type": "_JSEditor",
349
- "defaultCode": "function dataSourceFormat(dataSetKey, values, submitData, behaviorKey) { \n return { [dataSetKey]: { [`${behaviorKey}List`]: submitData } }; \n}",
350
- "mustConfirm": true,
351
- "wrapper": "collapse",
352
- "wrapperProps": { "suppressIcon": true }
353
- },
354
- {
355
- "key": "columnsReset",
356
- "name": "重置表格列",
357
- "desc": "重置表格列",
358
- "type": "_JSEditor",
359
- "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
360
- "mustConfirm": true,
361
- "wrapper": "collapse",
362
- "wrapperProps": { "suppressIcon": true }
363
- },
364
- {
365
- "key": "onGridFormReady",
366
- "name": "加载完成回调",
367
- "desc": "加载完成回调",
368
- "type": "_JSEditor",
369
- "defaultCode": "function onGridFormReady(ref, params, gridForm) { \n\t\n}",
370
- "mustConfirm": true,
371
- "wrapper": "collapse",
372
- "wrapperProps": { "suppressIcon": true }
373
- }
374
- ],
375
- "_writer_props": [
376
- {
377
- "key": "readOnly",
378
- "name": "只读",
379
- "type": "switch"
380
- },
381
- {
382
- "key": "suppressPreset",
383
- "name": "关闭预设",
384
- "type": "switch"
385
- },
386
- {
387
- "key": "height",
388
- "name": "高度",
389
- "type": "_WidthHeight"
390
- },
391
- {
392
- "key": "bordered",
393
- "name": "边框线",
394
- "type": "switch"
395
- },
396
- {
397
- "key": "draggable",
398
- "name": "拖拽排序",
399
- "type": "switch"
400
- },
401
- {
402
- "key": "orderByAdd",
403
- "name": "排序方式",
404
- "type": "segmented",
405
- "options": [
406
- {
407
- "label": "升序",
408
- "value": "asc"
409
- },
410
- {
411
- "label": "降序",
412
- "value": "desc"
413
- }
414
- ]
415
- },
416
- {
417
- "key": "actionsColumn",
418
- "name": "操作列",
419
- "type": "group",
420
- "props": [
421
- {
422
- "key": "suppressActions",
423
- "name": "隐藏操作列",
424
- "type": "switch"
425
- },
426
- {
427
- "key": "actionsColumnWidth",
428
- "name": "列宽",
429
- "type": "_ActionsColumnWidth",
430
- "convertInt": true,
431
- "options": [{ "label": "px", "value": "px" }]
432
- },
433
- {
434
- "key": "actionsColumnReset",
435
- "name": "重写操作列",
436
- "desc": "重写操作列",
437
- "type": "_JSEditor",
438
- "defaultCode": "function actionsColumnReset(data, index, actions, params) { \n \t \n}",
439
- "mustConfirm": true,
440
- "wrapper": "collapse",
441
- "wrapperProps": { "suppressIcon": true }
442
- }
443
- ]
444
- },
445
- {
446
- "key": "defaultDataSourceFormat",
447
- "name": "格式化默认数据",
448
- "desc": "格式化新增时默认数据",
449
- "type": "_JSEditor",
450
- "defaultCode": "function defaultDataSourceFormat(defaultValues) { \n return defaultValues; \n}",
451
- "mustConfirm": true,
452
- "wrapper": "collapse",
453
- "wrapperProps": { "suppressIcon": true }
454
- },
455
- {
456
- "key": "dataSourceFormat",
457
- "name": "格式化数据",
458
- "desc": "格式化单表提交数据",
459
- "type": "_JSEditor",
460
- "defaultCode": "function dataSourceFormat(dataSetKey, values, submitData, behaviorKey) { \n return { [dataSetKey]: { [`${behaviorKey}List`]: submitData } }; \n}",
461
- "mustConfirm": true,
462
- "wrapper": "collapse",
463
- "wrapperProps": { "suppressIcon": true }
464
- },
465
- {
466
- "key": "columnsReset",
467
- "name": "重置表格列",
468
- "desc": "重置表格列",
469
- "type": "_JSEditor",
470
- "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
471
- "mustConfirm": true,
472
- "wrapper": "collapse",
473
- "wrapperProps": { "suppressIcon": true }
474
- },
475
- {
476
- "key": "onGridFormReady",
477
- "name": "加载完成回调",
478
- "desc": "加载完成回调",
479
- "type": "_JSEditor",
480
- "defaultCode": "function onGridFormReady(ref, params, gridForm) { \n\t\n}",
481
- "mustConfirm": true,
482
- "wrapper": "collapse",
483
- "wrapperProps": { "suppressIcon": true }
484
- }
485
- ],
486
- "_uploadForm_props": [
487
- {
488
- "key": "readOnly",
489
- "name": "只读",
490
- "type": "switch"
491
- },
492
- {
493
- "key": "suppressPreset",
494
- "name": "关闭预设",
495
- "type": "switch"
496
- },
497
- {
498
- "key": "height",
499
- "name": "高度",
500
- "type": "_WidthHeight"
501
- },
502
- {
503
- "key": "bordered",
504
- "name": "边框线",
505
- "type": "switch"
506
- },
507
- {
508
- "key": "showNote",
509
- "name": "开启备注",
510
- "type": "switch"
511
- },
512
- {
513
- "key": "zipName",
514
- "name": "压缩包命名",
515
- "type": "_I18nInput"
516
- },
517
- {
518
- "key": "uploadUrl",
519
- "name": "上传地址",
520
- "desc": "自定义上传地址,不填使用默认上传地址",
521
- "type": "string"
522
- },
523
- {
524
- "key": "useResetActions",
525
- "name": "默认操作列",
526
- "type": "switch"
527
- },
528
- {
529
- "key": "resetActions",
530
- "name": "自定义操作列",
531
- "type": "_JSEditor",
532
- "defaultCode": "function resetActions(data, index, actionList, params) { \n return actionList; \n}",
533
- "mustConfirm": true,
534
- "wrapper": "collapse",
535
- "wrapperProps": { "suppressIcon": true }
536
- },
537
- {
538
- "key": "forbiddenTypes",
539
- "name": "禁止上传类型",
540
- "type": "_JSEditor",
541
- "defaultCode": "function forbiddenTypes() { \n return []; \n}",
542
- "mustConfirm": true,
543
- "wrapper": "collapse",
544
- "wrapperProps": { "suppressIcon": true }
545
- },
546
- {
547
- "key": "beforeUpload",
548
- "name": "上传前置事件",
549
- "type": "_JSEditor",
550
- "defaultCode": "function beforeUpload(file, fileList) { \n return true; \n}",
551
- "mustConfirm": true,
552
- "wrapper": "collapse",
553
- "wrapperProps": { "suppressIcon": true }
554
- },
555
- {
556
- "key": "onUploadChange",
557
- "name": "上传事件回调",
558
- "type": "_JSEditor",
559
- "defaultCode": "function onUploadChange(event) { \n\t\n}",
560
- "mustConfirm": true,
561
- "wrapper": "collapse",
562
- "wrapperProps": { "suppressIcon": true }
563
- }
564
- ]
565
- }
566
- }
567
- ]
568
- }
569
- ],
570
- "advance": {
571
- "events": [
572
- {
573
- "key": "onMount",
574
- "name": "组件首次渲染时",
575
- "desc": "在组件首次渲染时,执行方法",
576
- "func": "function onMount(instance) {\n\t\n}"
577
- },
578
- {
579
- "key": "beforeSave",
580
- "name": "保存前置事件",
581
- "desc": "保存前置事件,promise,返回false取消执行",
582
- "func": "function beforeSave(values, data) {\n return values; \n}"
583
- },
584
- {
585
- "key": "onSaveCallback",
586
- "name": "保存后回调",
587
- "desc": "保存后回调事件",
588
- "func": "function onSaveCallback(success, mainKey, res) {\n\t\n}"
589
- },
590
- {
591
- "key": "onUnmount",
592
- "name": "组件卸载时",
593
- "desc": "在组件卸载时,执行方法",
594
- "func": "function onUnmount(api, instance) {\n\t\n}"
595
- },
596
- {
597
- "key": "onValueChange",
598
- "name": "参数变化的事件",
599
- "desc": "参数变化时,执行方法",
600
- "func": "function onValueChange(change, data) {\n\t\n}"
601
- },
602
- {
603
- "key": "onChildChange",
604
- "name": "表单内容发生改变时的回调",
605
- "desc": "表单内容发生改变时的回调",
606
- "func": "function onChildChange(instance) {\n\t\n}"
607
- }
608
- ]
609
- }
610
- }
1
+ {
2
+ "component": "Form",
3
+ "name": "复杂表单",
4
+ "desc": "复杂表单组件是用于收集、验证和提交用户输入数据的重要组件。",
5
+ "icon": "icon-form",
6
+ "group": "advance",
7
+ "groupName": "高级",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "id",
12
+ "name": "唯一标识",
13
+ "type": "string",
14
+ "disabled": true
15
+ },
16
+ {
17
+ "key": "readOnly",
18
+ "name": "只读",
19
+ "desc": "是否只读",
20
+ "type": "switch",
21
+ "default": false
22
+ },
23
+ {
24
+ "key": "ribbonSetting",
25
+ "name": "功能区设置",
26
+ "type": "group",
27
+ "default": true,
28
+ "next": {
29
+ "name": "功能区设置",
30
+ "props": [
31
+ {
32
+ "key": "showSave",
33
+ "name": "保存按钮",
34
+ "desc": "是否展示保存按钮",
35
+ "type": "switch",
36
+ "default": true
37
+ },
38
+ {
39
+ "key": "saveTitle",
40
+ "name": "保存按钮标题",
41
+ "type": "_I18nInput",
42
+ "default": "保存"
43
+ },
44
+ {
45
+ "key": "settingLayout",
46
+ "name": "按钮布局",
47
+ "type": "segmented",
48
+ "options": [
49
+ {
50
+ "label": "顶部",
51
+ "value": "top"
52
+ },
53
+ {
54
+ "label": "底部",
55
+ "value": "bottom"
56
+ }
57
+ ],
58
+ "default": "bottom"
59
+ },
60
+ {
61
+ "key": "getContainer",
62
+ "name": "挂载节点",
63
+ "desc": "指定功能区挂载的页面节点",
64
+ "type": "_ComponentSelector",
65
+ "filter": [
66
+ ["id", "page_root"],
67
+ ["meta.group", "container"],
68
+ ["meta.group", "build-in"]
69
+ ]
70
+ },
71
+ {
72
+ "key": "renderFormLeft",
73
+ "name": "按钮区域左侧渲染",
74
+ "type": "_JSEditor",
75
+ "defaultCode": "function renderFormLeft() { \n return null; \n}",
76
+ "mustConfirm": true,
77
+ "wrapper": "collapse",
78
+ "wrapperProps": {
79
+ "suppressIcon": true
80
+ }
81
+ },
82
+ {
83
+ "key": "renderFormRight",
84
+ "name": "按钮区域右侧渲染",
85
+ "type": "_JSEditor",
86
+ "defaultCode": "function renderFormRight() { \n return null; \n}",
87
+ "mustConfirm": true,
88
+ "wrapper": "collapse",
89
+ "wrapperProps": {
90
+ "suppressIcon": true
91
+ }
92
+ }
93
+ ]
94
+ }
95
+ },
96
+ {
97
+ "key": "blocks",
98
+ "name": "区块",
99
+ "type": "_BlocksEditor",
100
+ "default": [
101
+ {
102
+ "id": "block_main",
103
+ "name": "主区块",
104
+ "type": "auto",
105
+ "serialEffect": "disable",
106
+ "mode": ["add", "update", "edit", "info"],
107
+ "cols": 4,
108
+ "readOnly": false,
109
+ "order": 1
110
+ }
111
+ ],
112
+ "wrapper": "hidden",
113
+ "innerProps": [
114
+ {
115
+ "key": "dataset",
116
+ "name": "数据集",
117
+ "desc": "选择系统中的可用树形数据集",
118
+ "type": "_DataSetSelector",
119
+ "component": "form",
120
+ "next": {
121
+ "name": "字段配置",
122
+ "props": [
123
+ {
124
+ "key": "fields",
125
+ "name": "#字段配置器",
126
+ "type": "_FieldsSetting"
127
+ }
128
+ ]
129
+ }
130
+ },
131
+ {
132
+ "key": "name",
133
+ "name": "区块名称",
134
+ "type": "_I18nInput"
135
+ },
136
+ {
137
+ "key": "serial",
138
+ "name": "资源串",
139
+ "type": "_SerialsSelector"
140
+ },
141
+ {
142
+ "key": "serialEffect",
143
+ "name": "资源串效果",
144
+ "type": "segmented",
145
+ "options": [
146
+ {
147
+ "label": "禁用",
148
+ "value": "disable"
149
+ },
150
+ {
151
+ "label": "隐藏",
152
+ "value": "hidden"
153
+ }
154
+ ],
155
+ "default": "hidden"
156
+ },
157
+ {
158
+ "key": "mode",
159
+ "name": "适用模式",
160
+ "type": "checkbox",
161
+ "options": [
162
+ {
163
+ "label": "add",
164
+ "value": "add"
165
+ },
166
+ {
167
+ "label": "update",
168
+ "value": "update"
169
+ },
170
+ {
171
+ "label": "edit",
172
+ "value": "edit"
173
+ },
174
+ {
175
+ "label": "info",
176
+ "value": "info"
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "key": "header",
182
+ "name": "表头类型",
183
+ "type": "select",
184
+ "options": [
185
+ {
186
+ "label": "折叠面板",
187
+ "value": "collapse"
188
+ },
189
+ {
190
+ "label": "分隔线",
191
+ "value": "divider"
192
+ },
193
+ {
194
+ "label": "无",
195
+ "value": false
196
+ }
197
+ ],
198
+ "default": "collapse"
199
+ },
200
+ {
201
+ "key": "blockSettings",
202
+ "name": "区块详细设计",
203
+ "type": "_BlockEditor",
204
+ "wrapper": "hidden",
205
+ "default": {
206
+ "form": { "readOnly": false, "col": 4 },
207
+ "table": {
208
+ "readOnly": false,
209
+ "suppressPreset": false,
210
+ "height": "100%",
211
+ "bordered": false,
212
+ "popTitleKey": "title",
213
+ "draggable": false,
214
+ "orderByAdd": "asc",
215
+ "suppressActions": false,
216
+ "actionsColumnWidth": 160
217
+ },
218
+ "uploadForm": {
219
+ "readOnly": false,
220
+ "suppressPreset": false,
221
+ "height": "300px",
222
+ "bordered": false,
223
+ "showNote": false,
224
+ "zipName": "download",
225
+ "useResetActions": false
226
+ }
227
+ },
228
+ "next": {
229
+ "name": "区块详细设计",
230
+ "_auto_props": [
231
+ {
232
+ "key": "readOnly",
233
+ "name": "只读",
234
+ "type": "switch",
235
+ "default": false
236
+ },
237
+ {
238
+ "key": "cols",
239
+ "name": "默认列数",
240
+ "type": "number",
241
+ "default": 4
242
+ },
243
+ {
244
+ "key": "defaultDataSourceFormat",
245
+ "name": "格式化默认数据",
246
+ "desc": "格式化新增时默认数据",
247
+ "type": "_JSEditor",
248
+ "defaultCode": "function defaultDataSourceFormat(defaultValues) { \n return defaultValues; \n}",
249
+ "mustConfirm": true,
250
+ "wrapper": "collapse",
251
+ "wrapperProps": { "suppressIcon": true }
252
+ },
253
+ {
254
+ "key": "dataSourceFormat",
255
+ "name": "格式化数据",
256
+ "desc": "格式化单表提交数据",
257
+ "type": "_JSEditor",
258
+ "defaultCode": "function dataSourceFormat(dataSetKey, values, submitData) { \n return { [dataSetKey]: submitData }; \n}",
259
+ "mustConfirm": true,
260
+ "wrapper": "collapse",
261
+ "wrapperProps": { "suppressIcon": true }
262
+ }
263
+ ],
264
+ "_grid_props": [
265
+ {
266
+ "key": "readOnly",
267
+ "name": "只读",
268
+ "type": "switch"
269
+ },
270
+ {
271
+ "key": "suppressPreset",
272
+ "name": "关闭预设",
273
+ "type": "switch"
274
+ },
275
+ {
276
+ "key": "height",
277
+ "name": "高度",
278
+ "type": "_WidthHeight"
279
+ },
280
+ {
281
+ "key": "bordered",
282
+ "name": "边框线",
283
+ "type": "switch"
284
+ },
285
+ {
286
+ "key": "draggable",
287
+ "name": "拖拽排序",
288
+ "type": "switch"
289
+ },
290
+ {
291
+ "key": "orderByAdd",
292
+ "name": "排序方式",
293
+ "type": "segmented",
294
+ "options": [
295
+ {
296
+ "label": "升序",
297
+ "value": "asc"
298
+ },
299
+ {
300
+ "label": "降序",
301
+ "value": "desc"
302
+ }
303
+ ]
304
+ },
305
+ {
306
+ "key": "actionsColumn",
307
+ "name": "操作列",
308
+ "type": "group",
309
+ "props": [
310
+ {
311
+ "key": "suppressActions",
312
+ "name": "隐藏操作列",
313
+ "type": "switch"
314
+ },
315
+ {
316
+ "key": "actionsColumnWidth",
317
+ "name": "列宽",
318
+ "type": "_ActionsColumnWidth",
319
+ "convertInt": true,
320
+ "options": [{ "label": "px", "value": "px" }]
321
+ },
322
+ {
323
+ "key": "actionsColumnReset",
324
+ "name": "重写操列",
325
+ "desc": "重写操列",
326
+ "type": "_JSEditor",
327
+ "defaultCode": "function actionsColumnReset(data, index, actions, params) { \n \t \n}",
328
+ "mustConfirm": true,
329
+ "wrapper": "collapse",
330
+ "wrapperProps": { "suppressIcon": true }
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "key": "defaultDataSourceFormat",
336
+ "name": "格式化默认数据",
337
+ "desc": "格式化新增时默认数据",
338
+ "type": "_JSEditor",
339
+ "defaultCode": "function defaultDataSourceFormat(defaultValues) { \n return defaultValues; \n}",
340
+ "mustConfirm": true,
341
+ "wrapper": "collapse",
342
+ "wrapperProps": { "suppressIcon": true }
343
+ },
344
+ {
345
+ "key": "dataSourceFormat",
346
+ "name": "格式化数据",
347
+ "desc": "格式化单表提交数据",
348
+ "type": "_JSEditor",
349
+ "defaultCode": "function dataSourceFormat(dataSetKey, values, submitData, behaviorKey) { \n return { [dataSetKey]: { [`${behaviorKey}List`]: submitData } }; \n}",
350
+ "mustConfirm": true,
351
+ "wrapper": "collapse",
352
+ "wrapperProps": { "suppressIcon": true }
353
+ },
354
+ {
355
+ "key": "columnsReset",
356
+ "name": "重置表格列",
357
+ "desc": "重置表格列",
358
+ "type": "_JSEditor",
359
+ "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
360
+ "mustConfirm": true,
361
+ "wrapper": "collapse",
362
+ "wrapperProps": { "suppressIcon": true }
363
+ },
364
+ {
365
+ "key": "onGridFormReady",
366
+ "name": "加载完成回调",
367
+ "desc": "加载完成回调",
368
+ "type": "_JSEditor",
369
+ "defaultCode": "function onGridFormReady(ref, params, gridForm) { \n\t\n}",
370
+ "mustConfirm": true,
371
+ "wrapper": "collapse",
372
+ "wrapperProps": { "suppressIcon": true }
373
+ }
374
+ ],
375
+ "_writer_props": [
376
+ {
377
+ "key": "readOnly",
378
+ "name": "只读",
379
+ "type": "switch"
380
+ },
381
+ {
382
+ "key": "suppressPreset",
383
+ "name": "关闭预设",
384
+ "type": "switch"
385
+ },
386
+ {
387
+ "key": "height",
388
+ "name": "高度",
389
+ "type": "_WidthHeight"
390
+ },
391
+ {
392
+ "key": "bordered",
393
+ "name": "边框线",
394
+ "type": "switch"
395
+ },
396
+ {
397
+ "key": "draggable",
398
+ "name": "拖拽排序",
399
+ "type": "switch"
400
+ },
401
+ {
402
+ "key": "orderByAdd",
403
+ "name": "排序方式",
404
+ "type": "segmented",
405
+ "options": [
406
+ {
407
+ "label": "升序",
408
+ "value": "asc"
409
+ },
410
+ {
411
+ "label": "降序",
412
+ "value": "desc"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ "key": "actionsColumn",
418
+ "name": "操作列",
419
+ "type": "group",
420
+ "props": [
421
+ {
422
+ "key": "suppressActions",
423
+ "name": "隐藏操作列",
424
+ "type": "switch"
425
+ },
426
+ {
427
+ "key": "actionsColumnWidth",
428
+ "name": "列宽",
429
+ "type": "_ActionsColumnWidth",
430
+ "convertInt": true,
431
+ "options": [{ "label": "px", "value": "px" }]
432
+ },
433
+ {
434
+ "key": "actionsColumnReset",
435
+ "name": "重写操作列",
436
+ "desc": "重写操作列",
437
+ "type": "_JSEditor",
438
+ "defaultCode": "function actionsColumnReset(data, index, actions, params) { \n \t \n}",
439
+ "mustConfirm": true,
440
+ "wrapper": "collapse",
441
+ "wrapperProps": { "suppressIcon": true }
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ "key": "defaultDataSourceFormat",
447
+ "name": "格式化默认数据",
448
+ "desc": "格式化新增时默认数据",
449
+ "type": "_JSEditor",
450
+ "defaultCode": "function defaultDataSourceFormat(defaultValues) { \n return defaultValues; \n}",
451
+ "mustConfirm": true,
452
+ "wrapper": "collapse",
453
+ "wrapperProps": { "suppressIcon": true }
454
+ },
455
+ {
456
+ "key": "dataSourceFormat",
457
+ "name": "格式化数据",
458
+ "desc": "格式化单表提交数据",
459
+ "type": "_JSEditor",
460
+ "defaultCode": "function dataSourceFormat(dataSetKey, values, submitData, behaviorKey) { \n return { [dataSetKey]: { [`${behaviorKey}List`]: submitData } }; \n}",
461
+ "mustConfirm": true,
462
+ "wrapper": "collapse",
463
+ "wrapperProps": { "suppressIcon": true }
464
+ },
465
+ {
466
+ "key": "columnsReset",
467
+ "name": "重置表格列",
468
+ "desc": "重置表格列",
469
+ "type": "_JSEditor",
470
+ "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
471
+ "mustConfirm": true,
472
+ "wrapper": "collapse",
473
+ "wrapperProps": { "suppressIcon": true }
474
+ },
475
+ {
476
+ "key": "onGridFormReady",
477
+ "name": "加载完成回调",
478
+ "desc": "加载完成回调",
479
+ "type": "_JSEditor",
480
+ "defaultCode": "function onGridFormReady(ref, params, gridForm) { \n\t\n}",
481
+ "mustConfirm": true,
482
+ "wrapper": "collapse",
483
+ "wrapperProps": { "suppressIcon": true }
484
+ }
485
+ ],
486
+ "_uploadForm_props": [
487
+ {
488
+ "key": "readOnly",
489
+ "name": "只读",
490
+ "type": "switch"
491
+ },
492
+ {
493
+ "key": "suppressPreset",
494
+ "name": "关闭预设",
495
+ "type": "switch"
496
+ },
497
+ {
498
+ "key": "height",
499
+ "name": "高度",
500
+ "type": "_WidthHeight"
501
+ },
502
+ {
503
+ "key": "bordered",
504
+ "name": "边框线",
505
+ "type": "switch"
506
+ },
507
+ {
508
+ "key": "showNote",
509
+ "name": "开启备注",
510
+ "type": "switch"
511
+ },
512
+ {
513
+ "key": "zipName",
514
+ "name": "压缩包命名",
515
+ "type": "_I18nInput"
516
+ },
517
+ {
518
+ "key": "uploadUrl",
519
+ "name": "上传地址",
520
+ "desc": "自定义上传地址,不填使用默认上传地址",
521
+ "type": "string"
522
+ },
523
+ {
524
+ "key": "useResetActions",
525
+ "name": "默认操作列",
526
+ "type": "switch"
527
+ },
528
+ {
529
+ "key": "resetActions",
530
+ "name": "自定义操作列",
531
+ "type": "_JSEditor",
532
+ "defaultCode": "function resetActions(data, index, actionList, params) { \n return actionList; \n}",
533
+ "mustConfirm": true,
534
+ "wrapper": "collapse",
535
+ "wrapperProps": { "suppressIcon": true }
536
+ },
537
+ {
538
+ "key": "forbiddenTypes",
539
+ "name": "禁止上传类型",
540
+ "type": "_JSEditor",
541
+ "defaultCode": "function forbiddenTypes() { \n return []; \n}",
542
+ "mustConfirm": true,
543
+ "wrapper": "collapse",
544
+ "wrapperProps": { "suppressIcon": true }
545
+ },
546
+ {
547
+ "key": "beforeUpload",
548
+ "name": "上传前置事件",
549
+ "type": "_JSEditor",
550
+ "defaultCode": "function beforeUpload(file, fileList) { \n return true; \n}",
551
+ "mustConfirm": true,
552
+ "wrapper": "collapse",
553
+ "wrapperProps": { "suppressIcon": true }
554
+ },
555
+ {
556
+ "key": "onUploadChange",
557
+ "name": "上传事件回调",
558
+ "type": "_JSEditor",
559
+ "defaultCode": "function onUploadChange(event) { \n\t\n}",
560
+ "mustConfirm": true,
561
+ "wrapper": "collapse",
562
+ "wrapperProps": { "suppressIcon": true }
563
+ }
564
+ ]
565
+ }
566
+ }
567
+ ]
568
+ }
569
+ ],
570
+ "advance": {
571
+ "events": [
572
+ {
573
+ "key": "onMount",
574
+ "name": "组件首次渲染时",
575
+ "desc": "在组件首次渲染时,执行方法",
576
+ "func": "function onMount(instance) {\n\t\n}"
577
+ },
578
+ {
579
+ "key": "beforeSave",
580
+ "name": "保存前置事件",
581
+ "desc": "保存前置事件,promise,返回false取消执行",
582
+ "func": "function beforeSave(values, data) {\n return values; \n}"
583
+ },
584
+ {
585
+ "key": "onSaveCallback",
586
+ "name": "保存后回调",
587
+ "desc": "保存后回调事件",
588
+ "func": "function onSaveCallback(success, mainKey, res) {\n\t\n}"
589
+ },
590
+ {
591
+ "key": "onUnmount",
592
+ "name": "组件卸载时",
593
+ "desc": "在组件卸载时,执行方法",
594
+ "func": "function onUnmount(api, instance) {\n\t\n}"
595
+ },
596
+ {
597
+ "key": "onValueChange",
598
+ "name": "参数变化的事件",
599
+ "desc": "参数变化时,执行方法",
600
+ "func": "function onValueChange(change, data) {\n\t\n}"
601
+ },
602
+ {
603
+ "key": "onChildChange",
604
+ "name": "表单内容发生改变时的回调",
605
+ "desc": "表单内容发生改变时的回调",
606
+ "func": "function onChildChange(instance) {\n\t\n}"
607
+ }
608
+ ]
609
+ }
610
+ }