@luck-design-biz/luckda 0.0.25-14 → 0.0.25-16

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 (852) 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 +0 -0
  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 -1
  32. package/es/lowcode/constants/api-url.js +84 -84
  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 +2 -2
  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/fielddate.props.default.json +0 -0
  64. package/es/lowcode/engine/meta/fielddate.props.json +0 -0
  65. package/es/lowcode/engine/meta/fielddict.props.default.json +0 -0
  66. package/es/lowcode/engine/meta/fielddict.props.json +0 -0
  67. package/es/lowcode/engine/meta/fieldeditor.props.default.json +0 -0
  68. package/es/lowcode/engine/meta/fieldeditor.props.json +0 -0
  69. package/es/lowcode/engine/meta/fieldgroup.props.default.json +0 -0
  70. package/es/lowcode/engine/meta/fieldgroup.props.json +0 -0
  71. package/es/lowcode/engine/meta/fieldnumber.props.default.json +0 -0
  72. package/es/lowcode/engine/meta/fieldnumber.props.json +0 -0
  73. package/es/lowcode/engine/meta/fieldradio.props.default.json +0 -0
  74. package/es/lowcode/engine/meta/fieldradio.props.json +0 -0
  75. package/es/lowcode/engine/meta/fieldregion.props.default.json +0 -0
  76. package/es/lowcode/engine/meta/fieldregion.props.json +0 -0
  77. package/es/lowcode/engine/meta/fieldselect.props.default.json +0 -0
  78. package/es/lowcode/engine/meta/fieldselect.props.json +0 -0
  79. package/es/lowcode/engine/meta/fieldstring.props.default.json +0 -0
  80. package/es/lowcode/engine/meta/fieldstring.props.json +0 -0
  81. package/es/lowcode/engine/meta/fieldswitch.props.default.json +0 -0
  82. package/es/lowcode/engine/meta/fieldswitch.props.json +0 -0
  83. package/es/lowcode/engine/meta/fieldtextarea.props.default.json +0 -0
  84. package/es/lowcode/engine/meta/fieldtextarea.props.json +0 -0
  85. package/es/lowcode/engine/meta/fieldupload.props.default.json +0 -0
  86. package/es/lowcode/engine/meta/fieldupload.props.json +0 -0
  87. package/es/lowcode/engine/meta/fielduser.props.default.json +0 -0
  88. package/es/lowcode/engine/meta/fielduser.props.json +0 -0
  89. package/es/lowcode/engine/meta/fieldyear.props.default.json +0 -0
  90. package/es/lowcode/engine/meta/fieldyear.props.json +0 -0
  91. package/es/lowcode/engine/meta/form.props.default.json +2 -2
  92. package/es/lowcode/engine/meta/form.props.json +2 -2
  93. package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
  94. package/es/lowcode/engine/meta/iframe.props.json +0 -0
  95. package/es/lowcode/engine/meta/image.props.default.json +0 -0
  96. package/es/lowcode/engine/meta/image.props.json +0 -0
  97. package/es/lowcode/engine/meta/imex.props.default.json +0 -0
  98. package/es/lowcode/engine/meta/imex.props.json +0 -0
  99. package/es/lowcode/engine/meta/js-editor/auto-complete.json +67 -13
  100. package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
  101. package/es/lowcode/engine/meta/jsx.props.json +0 -0
  102. package/es/lowcode/engine/meta/layout.props.default.json +0 -0
  103. package/es/lowcode/engine/meta/layout.props.json +0 -0
  104. package/es/lowcode/engine/meta/link.props.default.json +0 -0
  105. package/es/lowcode/engine/meta/link.props.json +0 -0
  106. package/es/lowcode/engine/meta/page.props.default.json +0 -0
  107. package/es/lowcode/engine/meta/page.props.json +0 -0
  108. package/es/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  109. package/es/lowcode/engine/meta/pagecontent.props.json +0 -0
  110. package/es/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  111. package/es/lowcode/engine/meta/pagefooter.props.json +0 -0
  112. package/es/lowcode/engine/meta/pageheader.props.default.json +0 -0
  113. package/es/lowcode/engine/meta/pageheader.props.json +0 -0
  114. package/es/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  115. package/es/lowcode/engine/meta/pagelayout.props.json +0 -0
  116. package/es/lowcode/engine/meta/section.props.default.json +0 -0
  117. package/es/lowcode/engine/meta/section.props.json +0 -0
  118. package/es/lowcode/engine/meta/split.props.default.json +0 -0
  119. package/es/lowcode/engine/meta/split.props.json +0 -0
  120. package/es/lowcode/engine/meta/table.props.default.json +2 -1
  121. package/es/lowcode/engine/meta/table.props.json +2 -1
  122. package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
  123. package/es/lowcode/engine/meta/tabs.props.json +0 -0
  124. package/es/lowcode/engine/meta/text.props.default.json +0 -0
  125. package/es/lowcode/engine/meta/text.props.json +0 -0
  126. package/es/lowcode/engine/meta/tree.props.default.json +0 -0
  127. package/es/lowcode/engine/meta/tree.props.json +0 -0
  128. package/es/lowcode/engine/provider/ContextProvider/index.js +83 -40
  129. package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
  130. package/es/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
  131. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  132. package/es/lowcode/engine/tools/diff.js +0 -0
  133. package/es/lowcode/engine/tools/helper.js +0 -0
  134. package/es/lowcode/engine/tools/useCanvasRender.js +0 -0
  135. package/es/lowcode/engine/tools/usePageDataStore.js +15 -1
  136. package/es/lowcode/engine/tools/usePromiseState.js +0 -0
  137. package/es/lowcode/engine/tools/useTodo.js +0 -0
  138. package/es/lowcode/index.js +0 -0
  139. package/es/lowcode/painter/Components.js +2 -2
  140. package/es/lowcode/painter/Design.js +0 -0
  141. package/es/lowcode/painter/DesignOperator.js +0 -0
  142. package/es/lowcode/painter/DesignToolbar.js +0 -0
  143. package/es/lowcode/painter/I18n.js +0 -0
  144. package/es/lowcode/painter/Outline.js +0 -0
  145. package/es/lowcode/painter/Panel.js +0 -0
  146. package/es/lowcode/painter/Ribbon.js +0 -0
  147. package/es/lowcode/painter/components/ActionBindModal.js +0 -0
  148. package/es/lowcode/painter/components/AdvancePanel.js +0 -0
  149. package/es/lowcode/painter/components/AttrsPanel.js +0 -0
  150. package/es/lowcode/painter/components/Collapse.js +26 -26
  151. package/es/lowcode/painter/components/ColorInput.js +24 -24
  152. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
  153. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  154. package/es/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  155. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  156. package/es/lowcode/painter/components/FieldSelector.js +0 -0
  157. package/es/lowcode/painter/components/ListEditor.js +24 -24
  158. package/es/lowcode/painter/components/NumberInput.js +28 -28
  159. package/es/lowcode/painter/components/PanelItem.js +24 -24
  160. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  161. package/es/lowcode/painter/components/PopForm.js +27 -27
  162. package/es/lowcode/painter/components/PreviewIframe.js +8 -44
  163. package/es/lowcode/painter/components/RuleInput.js +30 -30
  164. package/es/lowcode/painter/components/SortBox.js +22 -22
  165. package/es/lowcode/painter/components/TreeEditor.js +0 -0
  166. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  167. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  168. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  169. package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  170. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  171. package/es/lowcode/painter/components/code-editor/index.js +0 -0
  172. package/es/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  173. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  174. package/es/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  175. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  176. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
  177. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  178. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
  179. package/es/lowcode/painter/components/field-setting/SettingUI.js +0 -0
  180. package/es/lowcode/painter/components/field-setting/index.js +0 -0
  181. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  182. package/es/lowcode/painter/index.js +0 -0
  183. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  184. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  185. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  186. package/es/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  187. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  188. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  189. package/es/lowcode/painter/panel-section/ButtonType.js +0 -0
  190. package/es/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  191. package/es/lowcode/painter/panel-section/DataSetSelector.js +0 -0
  192. package/es/lowcode/painter/panel-section/FieldsSetting.js +0 -0
  193. package/es/lowcode/painter/panel-section/I18nInput.js +0 -0
  194. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  195. package/es/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  196. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  197. package/es/lowcode/painter/panel-section/ImpExp.js +64 -55
  198. package/es/lowcode/painter/panel-section/ImpExpAlone.js +38 -22
  199. package/es/lowcode/painter/panel-section/JSEditor.js +0 -0
  200. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  201. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +18 -1
  202. package/es/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  203. package/es/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  204. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  205. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  206. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  207. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  208. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  209. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  210. package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  211. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  212. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  213. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  214. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  215. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  216. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  217. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  218. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  219. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  220. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  221. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  222. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  223. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  224. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  225. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  226. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  227. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  228. package/es/lowcode/painter/panel-section/TabItems.js +0 -0
  229. package/es/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  230. package/es/lowcode/painter/panel-section/TableZebra.js +0 -0
  231. package/es/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  232. package/es/lowcode/painter/panel-section/WidthHeight.js +0 -0
  233. package/es/lowcode/painter/services/I18n.js +0 -0
  234. package/es/lowcode/painter/style/action-bind-modal.less +102 -102
  235. package/es/lowcode/painter/style/actions-editor.less +15 -15
  236. package/es/lowcode/painter/style/border-editor.less +36 -36
  237. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  238. package/es/lowcode/painter/style/border-selector.less +39 -39
  239. package/es/lowcode/painter/style/button-type.less +5 -5
  240. package/es/lowcode/painter/style/collapse.less +28 -28
  241. package/es/lowcode/painter/style/color-input.less +19 -19
  242. package/es/lowcode/painter/style/components.less +91 -91
  243. package/es/lowcode/painter/style/design.less +158 -158
  244. package/es/lowcode/painter/style/display.less +17 -17
  245. package/es/lowcode/painter/style/dragdrop.less +10 -10
  246. package/es/lowcode/painter/style/fields-setting.less +25 -25
  247. package/es/lowcode/painter/style/font-editor.less +9 -9
  248. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  249. package/es/lowcode/painter/style/icon-selector.less +22 -22
  250. package/es/lowcode/painter/style/icon.less +10 -10
  251. package/es/lowcode/painter/style/impexp.less +7 -7
  252. package/es/lowcode/painter/style/index.less +6 -6
  253. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  254. package/es/lowcode/painter/style/list-editor.less +95 -95
  255. package/es/lowcode/painter/style/number-input.less +17 -17
  256. package/es/lowcode/painter/style/outline.less +28 -28
  257. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  258. package/es/lowcode/painter/style/panel-attrs.less +43 -43
  259. package/es/lowcode/painter/style/panel-item.less +54 -54
  260. package/es/lowcode/painter/style/panel.less +98 -98
  261. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  262. package/es/lowcode/painter/style/pop-form.less +19 -19
  263. package/es/lowcode/painter/style/radio.less +24 -24
  264. package/es/lowcode/painter/style/ribbon.less +5 -5
  265. package/es/lowcode/painter/style/rule-input.less +12 -12
  266. package/es/lowcode/painter/style/split-display.less +18 -18
  267. package/es/lowcode/painter/style/style-panel.less +37 -37
  268. package/es/lowcode/painter/style/tabitems.less +90 -90
  269. package/es/lowcode/painter/style/treedragdrop.less +19 -19
  270. package/es/lowcode/preview/index.js +0 -0
  271. package/es/lowcode/view/Canvas.js +0 -0
  272. package/es/lowcode/view/Loading.js +0 -0
  273. package/es/lowcode/view/Page.js +0 -0
  274. package/es/lowcode/view/index.js +0 -0
  275. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +1 -1
  276. package/es/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  277. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  278. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  279. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  280. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  281. package/es/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  282. package/es/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  283. package/es/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  284. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  285. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  286. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  287. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  288. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  289. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  290. package/es/lowcode/view/lc-components/CardList/index.js +0 -0
  291. package/es/lowcode/view/lc-components/CardList/meta.json +153 -153
  292. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
  293. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  294. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  295. package/es/lowcode/view/lc-components/Dialog/index.js +13 -13
  296. package/es/lowcode/view/lc-components/Dialog/index.less +3 -3
  297. package/es/lowcode/view/lc-components/Dialog/meta.json +150 -150
  298. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  299. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  300. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  301. package/es/lowcode/view/lc-components/Drawer/index.js +12 -12
  302. package/es/lowcode/view/lc-components/Drawer/index.less +9 -9
  303. package/es/lowcode/view/lc-components/Drawer/meta.json +131 -131
  304. package/es/lowcode/view/lc-components/FieldColor/meta.json +146 -146
  305. package/es/lowcode/view/lc-components/FieldComplex/meta.json +122 -122
  306. package/es/lowcode/view/lc-components/FieldDate/meta.json +128 -128
  307. package/es/lowcode/view/lc-components/FieldDict/meta.json +127 -127
  308. package/es/lowcode/view/lc-components/FieldEditor/meta.json +127 -127
  309. package/es/lowcode/view/lc-components/FieldGroup/meta.json +156 -156
  310. package/es/lowcode/view/lc-components/FieldNumber/meta.json +131 -131
  311. package/es/lowcode/view/lc-components/FieldRadio/meta.json +104 -104
  312. package/es/lowcode/view/lc-components/FieldRegion/meta.json +110 -110
  313. package/es/lowcode/view/lc-components/FieldSelect/meta.json +141 -141
  314. package/es/lowcode/view/lc-components/FieldString/meta.json +141 -141
  315. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +114 -114
  316. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +132 -132
  317. package/es/lowcode/view/lc-components/FieldUpload/meta.json +154 -154
  318. package/es/lowcode/view/lc-components/FieldUser/meta.json +165 -165
  319. package/es/lowcode/view/lc-components/FieldYear/meta.json +118 -118
  320. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  321. package/es/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  322. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  323. package/es/lowcode/view/lc-components/Form/index.js +20 -20
  324. package/es/lowcode/view/lc-components/Form/index.less +4 -4
  325. package/es/lowcode/view/lc-components/Form/meta.json +616 -616
  326. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  327. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  328. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  329. package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
  330. package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
  331. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  332. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  333. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  334. package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
  335. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  336. package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
  337. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  338. package/es/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  339. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  340. package/es/lowcode/view/lc-components/Image/index.js +0 -0
  341. package/es/lowcode/view/lc-components/Image/meta.json +114 -114
  342. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  343. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  344. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  345. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  346. package/es/lowcode/view/lc-components/JSX/index.js +0 -0
  347. package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
  348. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  349. package/es/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  350. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  351. package/es/lowcode/view/lc-components/Layout/index.js +16 -16
  352. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  353. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  354. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  355. package/es/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  356. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  357. package/es/lowcode/view/lc-components/Link/index.js +0 -0
  358. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  359. package/es/lowcode/view/lc-components/Page/meta.json +49 -49
  360. package/es/lowcode/view/lc-components/PageContent/index.js +0 -0
  361. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  362. package/es/lowcode/view/lc-components/PageFooter/index.js +0 -0
  363. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  364. package/es/lowcode/view/lc-components/PageHeader/index.js +0 -0
  365. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  366. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +18 -13
  367. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  368. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  369. package/es/lowcode/view/lc-components/PageLayout/index.js +4 -2
  370. package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  371. package/es/lowcode/view/lc-components/PageModal/index.js +0 -0
  372. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  373. package/es/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  374. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  375. package/es/lowcode/view/lc-components/Section/index.js +0 -0
  376. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  377. package/es/lowcode/view/lc-components/Section/meta.json +107 -107
  378. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  379. package/es/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  380. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  381. package/es/lowcode/view/lc-components/Split/index.js +0 -0
  382. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  383. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  384. package/es/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  385. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  386. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  387. package/es/lowcode/view/lc-components/Table/components/TopImex.js +4 -1
  388. package/es/lowcode/view/lc-components/Table/index.js +14 -15
  389. package/es/lowcode/view/lc-components/Table/meta.json +445 -405
  390. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  391. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  392. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  393. package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
  394. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  395. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  396. package/es/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  397. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  398. package/es/lowcode/view/lc-components/Text/index.js +0 -0
  399. package/es/lowcode/view/lc-components/Text/meta.json +66 -66
  400. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  401. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  402. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  403. package/es/lowcode/view/lc-components/Tree/index.js +96 -96
  404. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  405. package/es/lowcode/view/lc-components/Tree/meta.json +363 -363
  406. package/es/lowcode/view/lc-components/Wrapper.js +0 -0
  407. package/es/lowcode/view/style/canvas.less +5 -5
  408. package/es/lowcode/view/style/loading.less +84 -84
  409. package/es/lowcode/view/style/page.less +7 -7
  410. package/es/services.js +0 -0
  411. package/es/upload/FilesWall/file.png +0 -0
  412. package/es/upload/FilesWall/index.js +13 -13
  413. package/es/upload/FilesWall/index.less +74 -74
  414. package/es/upload/Form/gridForm.js +0 -0
  415. package/es/upload/Form/index.js +0 -0
  416. package/es/upload/Form/index.less +7 -7
  417. package/es/upload/FormItem/index.js +15 -15
  418. package/es/upload/GridCell/index.js +0 -0
  419. package/es/upload/index.js +0 -0
  420. package/es/utils/action.js +0 -0
  421. package/es/utils/form.js +21 -21
  422. package/es/utils/grid.js +0 -0
  423. package/es/utils/index.js +0 -0
  424. package/lib/components/Builder/index.js +0 -0
  425. package/lib/components/ComplexItem/index.js +0 -0
  426. package/lib/components/ComplexItem/service.js +0 -0
  427. package/lib/components/IconFont/index.js +0 -0
  428. package/lib/components/LDActions/index.js +0 -0
  429. package/lib/components/LDActions/index.less +68 -68
  430. package/lib/components/LdAutoForm/index.js +0 -0
  431. package/lib/components/LdCard/index.js +0 -0
  432. package/lib/components/LdCard/model.js +0 -0
  433. package/lib/components/LdCom/index.js +0 -0
  434. package/lib/components/LdFormList/index.js +0 -0
  435. package/lib/components/LdFormList/model.js +0 -0
  436. package/lib/components/LdGrid/index.js +4 -4
  437. package/lib/components/LdGrid/model.js +0 -0
  438. package/lib/components/LdGridForm/index.js +0 -0
  439. package/lib/components/LdGridForm/index.less +7 -7
  440. package/lib/components/LdInfoPanel/index.js +0 -0
  441. package/lib/components/LdPop/index.js +0 -0
  442. package/lib/components/LdTree/index.js +0 -0
  443. package/lib/components/LdTree/index.less +40 -40
  444. package/lib/helper/FromItems.js +0 -0
  445. package/lib/helper/action.js +6 -6
  446. package/lib/helper/form.js +14 -14
  447. package/lib/helper/index.less +7 -7
  448. package/lib/helper/ldBuilder.js +0 -0
  449. package/lib/helper/ldComBuild.js +0 -0
  450. package/lib/helper/props_config.js +0 -0
  451. package/lib/index.js +0 -0
  452. package/lib/locales/zh-CN.js +0 -1
  453. package/lib/lowcode/constants/api-url.js +84 -84
  454. package/lib/lowcode/constants/event-topics.js +0 -0
  455. package/lib/lowcode/constants/index.js +0 -0
  456. package/lib/lowcode/engine/factory/DataFactory.js +0 -0
  457. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
  458. package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
  459. package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
  460. package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
  461. package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +0 -0
  462. package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
  463. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
  464. package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
  465. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
  466. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
  467. package/lib/lowcode/engine/factory/panel-item-factory/index.js +0 -0
  468. package/lib/lowcode/engine/launcher.js +0 -0
  469. package/lib/lowcode/engine/meta/box.props.default.json +0 -0
  470. package/lib/lowcode/engine/meta/box.props.json +0 -0
  471. package/lib/lowcode/engine/meta/button.props.default.json +0 -0
  472. package/lib/lowcode/engine/meta/button.props.json +0 -0
  473. package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
  474. package/lib/lowcode/engine/meta/cardlist.props.json +0 -0
  475. package/lib/lowcode/engine/meta/components-list.json +2 -2
  476. package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
  477. package/lib/lowcode/engine/meta/dialog.props.json +0 -0
  478. package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
  479. package/lib/lowcode/engine/meta/drawer.props.json +0 -0
  480. package/lib/lowcode/engine/meta/fieldcolor.props.default.json +0 -0
  481. package/lib/lowcode/engine/meta/fieldcolor.props.json +0 -0
  482. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +0 -0
  483. package/lib/lowcode/engine/meta/fieldcomplex.props.json +0 -0
  484. package/lib/lowcode/engine/meta/fielddate.props.default.json +0 -0
  485. package/lib/lowcode/engine/meta/fielddate.props.json +0 -0
  486. package/lib/lowcode/engine/meta/fielddict.props.default.json +0 -0
  487. package/lib/lowcode/engine/meta/fielddict.props.json +0 -0
  488. package/lib/lowcode/engine/meta/fieldeditor.props.default.json +0 -0
  489. package/lib/lowcode/engine/meta/fieldeditor.props.json +0 -0
  490. package/lib/lowcode/engine/meta/fieldgroup.props.default.json +0 -0
  491. package/lib/lowcode/engine/meta/fieldgroup.props.json +0 -0
  492. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +0 -0
  493. package/lib/lowcode/engine/meta/fieldnumber.props.json +0 -0
  494. package/lib/lowcode/engine/meta/fieldradio.props.default.json +0 -0
  495. package/lib/lowcode/engine/meta/fieldradio.props.json +0 -0
  496. package/lib/lowcode/engine/meta/fieldregion.props.default.json +0 -0
  497. package/lib/lowcode/engine/meta/fieldregion.props.json +0 -0
  498. package/lib/lowcode/engine/meta/fieldselect.props.default.json +0 -0
  499. package/lib/lowcode/engine/meta/fieldselect.props.json +0 -0
  500. package/lib/lowcode/engine/meta/fieldstring.props.default.json +0 -0
  501. package/lib/lowcode/engine/meta/fieldstring.props.json +0 -0
  502. package/lib/lowcode/engine/meta/fieldswitch.props.default.json +0 -0
  503. package/lib/lowcode/engine/meta/fieldswitch.props.json +0 -0
  504. package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +0 -0
  505. package/lib/lowcode/engine/meta/fieldtextarea.props.json +0 -0
  506. package/lib/lowcode/engine/meta/fieldupload.props.default.json +0 -0
  507. package/lib/lowcode/engine/meta/fieldupload.props.json +0 -0
  508. package/lib/lowcode/engine/meta/fielduser.props.default.json +0 -0
  509. package/lib/lowcode/engine/meta/fielduser.props.json +0 -0
  510. package/lib/lowcode/engine/meta/fieldyear.props.default.json +0 -0
  511. package/lib/lowcode/engine/meta/fieldyear.props.json +0 -0
  512. package/lib/lowcode/engine/meta/form.props.default.json +2 -2
  513. package/lib/lowcode/engine/meta/form.props.json +2 -2
  514. package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
  515. package/lib/lowcode/engine/meta/iframe.props.json +0 -0
  516. package/lib/lowcode/engine/meta/image.props.default.json +0 -0
  517. package/lib/lowcode/engine/meta/image.props.json +0 -0
  518. package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
  519. package/lib/lowcode/engine/meta/imex.props.json +0 -0
  520. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +67 -13
  521. package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
  522. package/lib/lowcode/engine/meta/jsx.props.json +0 -0
  523. package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
  524. package/lib/lowcode/engine/meta/layout.props.json +0 -0
  525. package/lib/lowcode/engine/meta/link.props.default.json +0 -0
  526. package/lib/lowcode/engine/meta/link.props.json +0 -0
  527. package/lib/lowcode/engine/meta/page.props.default.json +0 -0
  528. package/lib/lowcode/engine/meta/page.props.json +0 -0
  529. package/lib/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  530. package/lib/lowcode/engine/meta/pagecontent.props.json +0 -0
  531. package/lib/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  532. package/lib/lowcode/engine/meta/pagefooter.props.json +0 -0
  533. package/lib/lowcode/engine/meta/pageheader.props.default.json +0 -0
  534. package/lib/lowcode/engine/meta/pageheader.props.json +0 -0
  535. package/lib/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  536. package/lib/lowcode/engine/meta/pagelayout.props.json +0 -0
  537. package/lib/lowcode/engine/meta/section.props.default.json +0 -0
  538. package/lib/lowcode/engine/meta/section.props.json +0 -0
  539. package/lib/lowcode/engine/meta/split.props.default.json +0 -0
  540. package/lib/lowcode/engine/meta/split.props.json +0 -0
  541. package/lib/lowcode/engine/meta/table.props.default.json +2 -1
  542. package/lib/lowcode/engine/meta/table.props.json +2 -1
  543. package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
  544. package/lib/lowcode/engine/meta/tabs.props.json +0 -0
  545. package/lib/lowcode/engine/meta/text.props.default.json +0 -0
  546. package/lib/lowcode/engine/meta/text.props.json +0 -0
  547. package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
  548. package/lib/lowcode/engine/meta/tree.props.json +0 -0
  549. package/lib/lowcode/engine/provider/ContextProvider/index.js +83 -40
  550. package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
  551. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
  552. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  553. package/lib/lowcode/engine/tools/diff.js +0 -0
  554. package/lib/lowcode/engine/tools/helper.js +0 -0
  555. package/lib/lowcode/engine/tools/useCanvasRender.js +0 -0
  556. package/lib/lowcode/engine/tools/usePageDataStore.js +15 -1
  557. package/lib/lowcode/engine/tools/usePromiseState.js +0 -0
  558. package/lib/lowcode/engine/tools/useTodo.js +0 -0
  559. package/lib/lowcode/index.js +0 -0
  560. package/lib/lowcode/painter/Components.js +2 -2
  561. package/lib/lowcode/painter/Design.js +0 -0
  562. package/lib/lowcode/painter/DesignOperator.js +0 -0
  563. package/lib/lowcode/painter/DesignToolbar.js +0 -0
  564. package/lib/lowcode/painter/I18n.js +0 -0
  565. package/lib/lowcode/painter/Outline.js +0 -0
  566. package/lib/lowcode/painter/Panel.js +0 -0
  567. package/lib/lowcode/painter/Ribbon.js +0 -0
  568. package/lib/lowcode/painter/components/ActionBindModal.js +0 -0
  569. package/lib/lowcode/painter/components/AdvancePanel.js +0 -0
  570. package/lib/lowcode/painter/components/AttrsPanel.js +0 -0
  571. package/lib/lowcode/painter/components/Collapse.js +26 -26
  572. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  573. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
  574. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  575. package/lib/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  576. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  577. package/lib/lowcode/painter/components/FieldSelector.js +0 -0
  578. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  579. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  580. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  581. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  582. package/lib/lowcode/painter/components/PopForm.js +27 -27
  583. package/lib/lowcode/painter/components/PreviewIframe.js +8 -45
  584. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  585. package/lib/lowcode/painter/components/SortBox.js +22 -22
  586. package/lib/lowcode/painter/components/TreeEditor.js +0 -0
  587. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  588. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  589. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  590. package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  591. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  592. package/lib/lowcode/painter/components/code-editor/index.js +0 -0
  593. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  594. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  595. package/lib/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  596. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  597. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
  598. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  599. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
  600. package/lib/lowcode/painter/components/field-setting/SettingUI.js +0 -0
  601. package/lib/lowcode/painter/components/field-setting/index.js +0 -0
  602. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  603. package/lib/lowcode/painter/index.js +0 -0
  604. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  605. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  606. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  607. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  608. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  609. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  610. package/lib/lowcode/painter/panel-section/ButtonType.js +0 -0
  611. package/lib/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  612. package/lib/lowcode/painter/panel-section/DataSetSelector.js +0 -0
  613. package/lib/lowcode/painter/panel-section/FieldsSetting.js +0 -0
  614. package/lib/lowcode/painter/panel-section/I18nInput.js +0 -0
  615. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  616. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  617. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  618. package/lib/lowcode/painter/panel-section/ImpExp.js +63 -54
  619. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +37 -21
  620. package/lib/lowcode/painter/panel-section/JSEditor.js +0 -0
  621. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  622. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +18 -1
  623. package/lib/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  624. package/lib/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  625. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  626. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  627. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  628. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  629. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  630. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  631. package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  632. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  633. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  634. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  635. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  636. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  637. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  638. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  639. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  640. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  641. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  642. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  643. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  644. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  645. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  646. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  647. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  648. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  649. package/lib/lowcode/painter/panel-section/TabItems.js +0 -0
  650. package/lib/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  651. package/lib/lowcode/painter/panel-section/TableZebra.js +0 -0
  652. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  653. package/lib/lowcode/painter/panel-section/WidthHeight.js +0 -0
  654. package/lib/lowcode/painter/services/I18n.js +0 -0
  655. package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
  656. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  657. package/lib/lowcode/painter/style/border-editor.less +36 -36
  658. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  659. package/lib/lowcode/painter/style/border-selector.less +39 -39
  660. package/lib/lowcode/painter/style/button-type.less +5 -5
  661. package/lib/lowcode/painter/style/collapse.less +28 -28
  662. package/lib/lowcode/painter/style/color-input.less +19 -19
  663. package/lib/lowcode/painter/style/components.less +91 -91
  664. package/lib/lowcode/painter/style/design.less +158 -158
  665. package/lib/lowcode/painter/style/display.less +17 -17
  666. package/lib/lowcode/painter/style/dragdrop.less +10 -10
  667. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  668. package/lib/lowcode/painter/style/font-editor.less +9 -9
  669. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  670. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  671. package/lib/lowcode/painter/style/icon.less +10 -10
  672. package/lib/lowcode/painter/style/impexp.less +7 -7
  673. package/lib/lowcode/painter/style/index.less +6 -6
  674. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  675. package/lib/lowcode/painter/style/list-editor.less +95 -95
  676. package/lib/lowcode/painter/style/number-input.less +17 -17
  677. package/lib/lowcode/painter/style/outline.less +28 -28
  678. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  679. package/lib/lowcode/painter/style/panel-attrs.less +43 -43
  680. package/lib/lowcode/painter/style/panel-item.less +54 -54
  681. package/lib/lowcode/painter/style/panel.less +98 -98
  682. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  683. package/lib/lowcode/painter/style/pop-form.less +19 -19
  684. package/lib/lowcode/painter/style/radio.less +24 -24
  685. package/lib/lowcode/painter/style/ribbon.less +5 -5
  686. package/lib/lowcode/painter/style/rule-input.less +12 -12
  687. package/lib/lowcode/painter/style/split-display.less +18 -18
  688. package/lib/lowcode/painter/style/style-panel.less +37 -37
  689. package/lib/lowcode/painter/style/tabitems.less +90 -90
  690. package/lib/lowcode/painter/style/treedragdrop.less +19 -19
  691. package/lib/lowcode/preview/index.js +0 -0
  692. package/lib/lowcode/view/Canvas.js +0 -0
  693. package/lib/lowcode/view/Loading.js +0 -0
  694. package/lib/lowcode/view/Page.js +0 -0
  695. package/lib/lowcode/view/index.js +0 -0
  696. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +1 -1
  697. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  698. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  699. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  700. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  701. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  702. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  703. package/lib/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  704. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  705. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  706. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  707. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  708. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  709. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  710. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  711. package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
  712. package/lib/lowcode/view/lc-components/CardList/meta.json +153 -153
  713. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
  714. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  715. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  716. package/lib/lowcode/view/lc-components/Dialog/index.js +13 -13
  717. package/lib/lowcode/view/lc-components/Dialog/index.less +3 -3
  718. package/lib/lowcode/view/lc-components/Dialog/meta.json +150 -150
  719. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  720. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  721. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  722. package/lib/lowcode/view/lc-components/Drawer/index.js +12 -12
  723. package/lib/lowcode/view/lc-components/Drawer/index.less +9 -9
  724. package/lib/lowcode/view/lc-components/Drawer/meta.json +131 -131
  725. package/lib/lowcode/view/lc-components/FieldColor/meta.json +146 -146
  726. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +122 -122
  727. package/lib/lowcode/view/lc-components/FieldDate/meta.json +128 -128
  728. package/lib/lowcode/view/lc-components/FieldDict/meta.json +127 -127
  729. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +127 -127
  730. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +156 -156
  731. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +131 -131
  732. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +104 -104
  733. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +110 -110
  734. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +141 -141
  735. package/lib/lowcode/view/lc-components/FieldString/meta.json +141 -141
  736. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +114 -114
  737. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +132 -132
  738. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +154 -154
  739. package/lib/lowcode/view/lc-components/FieldUser/meta.json +165 -165
  740. package/lib/lowcode/view/lc-components/FieldYear/meta.json +118 -118
  741. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  742. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  743. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  744. package/lib/lowcode/view/lc-components/Form/index.js +20 -20
  745. package/lib/lowcode/view/lc-components/Form/index.less +4 -4
  746. package/lib/lowcode/view/lc-components/Form/meta.json +616 -616
  747. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  748. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  749. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  750. package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
  751. package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
  752. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  753. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  754. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  755. package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
  756. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  757. package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
  758. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  759. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  760. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  761. package/lib/lowcode/view/lc-components/Image/index.js +0 -0
  762. package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
  763. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  764. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  765. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  766. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  767. package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
  768. package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
  769. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  770. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  771. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  772. package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
  773. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  774. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  775. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  776. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  777. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  778. package/lib/lowcode/view/lc-components/Link/index.js +0 -0
  779. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  780. package/lib/lowcode/view/lc-components/Page/meta.json +49 -49
  781. package/lib/lowcode/view/lc-components/PageContent/index.js +0 -0
  782. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  783. package/lib/lowcode/view/lc-components/PageFooter/index.js +0 -0
  784. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  785. package/lib/lowcode/view/lc-components/PageHeader/index.js +0 -0
  786. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  787. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +17 -12
  788. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  789. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  790. package/lib/lowcode/view/lc-components/PageLayout/index.js +4 -2
  791. package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  792. package/lib/lowcode/view/lc-components/PageModal/index.js +0 -0
  793. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  794. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  795. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  796. package/lib/lowcode/view/lc-components/Section/index.js +0 -0
  797. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  798. package/lib/lowcode/view/lc-components/Section/meta.json +107 -107
  799. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  800. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  801. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  802. package/lib/lowcode/view/lc-components/Split/index.js +0 -0
  803. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  804. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  805. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  806. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  807. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  808. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +4 -1
  809. package/lib/lowcode/view/lc-components/Table/index.js +12 -13
  810. package/lib/lowcode/view/lc-components/Table/meta.json +445 -405
  811. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  812. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  813. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  814. package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
  815. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  816. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  817. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  818. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  819. package/lib/lowcode/view/lc-components/Text/index.js +0 -0
  820. package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
  821. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  822. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  823. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  824. package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
  825. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  826. package/lib/lowcode/view/lc-components/Tree/meta.json +363 -363
  827. package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
  828. package/lib/lowcode/view/style/canvas.less +5 -5
  829. package/lib/lowcode/view/style/loading.less +84 -84
  830. package/lib/lowcode/view/style/page.less +7 -7
  831. package/lib/services.js +0 -0
  832. package/lib/upload/FilesWall/file.png +0 -0
  833. package/lib/upload/FilesWall/index.js +13 -13
  834. package/lib/upload/FilesWall/index.less +74 -74
  835. package/lib/upload/Form/gridForm.js +0 -0
  836. package/lib/upload/Form/index.js +0 -0
  837. package/lib/upload/Form/index.less +7 -7
  838. package/lib/upload/FormItem/index.js +15 -15
  839. package/lib/upload/GridCell/index.js +0 -0
  840. package/lib/upload/index.js +0 -0
  841. package/lib/utils/action.js +0 -0
  842. package/lib/utils/form.js +21 -21
  843. package/lib/utils/grid.js +0 -0
  844. package/lib/utils/index.js +0 -0
  845. package/lowcode.js +1 -1
  846. package/package.json +173 -173
  847. package/upload.js +1 -1
  848. package/utils.js +1 -1
  849. package/es/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
  850. package/es/lowcode/engine/meta/fielddatadic.props.json +0 -73
  851. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
  852. package/lib/lowcode/engine/meta/fielddatadic.props.json +0 -73
@@ -1,405 +1,445 @@
1
- {
2
- "component": "Table",
3
- "name": "表格",
4
- "desc": "用于展示和管理数据,实现数据的可视化和交互。用户可以根据配置数据集和表格属性,快速构建表格。",
5
- "icon": "icon-table",
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": "dataset",
18
- "name": "数据集",
19
- "type": "_DataSetSelector",
20
- "component": "table",
21
- "next": {
22
- "name": "字段配置",
23
- "props": [
24
- {
25
- "key": "fields",
26
- "name": "#字段配置器",
27
- "type": "_FieldsSetting"
28
- }
29
- ]
30
- }
31
- },
32
- {
33
- "key": "autoLoad",
34
- "name": "自动加载",
35
- "desc": "首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭",
36
- "type": "switch",
37
- "default": true
38
- },
39
- {
40
- "key": "readOnly",
41
- "name": "只读",
42
- "type": "switch",
43
- "default": false
44
- },
45
- {
46
- "key": "draggable",
47
- "name": "拖拽排序",
48
- "type": "switch",
49
- "default": false
50
- },
51
- {
52
- "key": "topSetting",
53
- "name": "顶部操作",
54
- "type": "group",
55
- "default": true,
56
- "next": {
57
- "name": "顶部操作",
58
- "props": [
59
- {
60
- "key": "topActionGroup",
61
- "name": "顶部按钮组",
62
- "type": "_ActionsEditor",
63
- "default": { "display": "button", "max": 2, "moreText": "操作", "todoList": [] },
64
- "defaultCode": "function todo() { \n \n}",
65
- "wrapper": "collapse"
66
- },
67
- {
68
- "key": "topFilter",
69
- "name": "顶部过滤器",
70
- "type": "_TableTopFilter",
71
- "wrapper": "collapse"
72
- }
73
- ]
74
- }
75
- },
76
- {
77
- "key": "actionsColumn",
78
- "name": "操作列",
79
- "type": "group",
80
- "default": true,
81
- "next": {
82
- "name": "操作列",
83
- "props": [
84
- {
85
- "key": "suppressActions",
86
- "name": "隐藏操作列",
87
- "type": "switch",
88
- "default": false
89
- },
90
- {
91
- "key": "actionsColumnWidth",
92
- "name": "列宽",
93
- "type": "_WidthHeight",
94
- "options": [{ "label": "px", "value": "px" }],
95
- "convertInt": true,
96
- "default": 160
97
- },
98
- {
99
- "key": "actions",
100
- "name": "表格操作项",
101
- "type": "_ActionsEditor",
102
- "default": { "display": "text", "max": 2, "moreText": "更多操作", "todoList": [] },
103
- "defaultCode": "function onActionClick(data, rowIndex, params) {\n\n}",
104
- "wrapper": "collapse",
105
- "wrapperProps": { "suppressIcon": true }
106
- }
107
- ]
108
- }
109
- },
110
- {
111
- "key": "rowSelectionSetting",
112
- "name": "行选择器",
113
- "type": "group",
114
- "default": true,
115
- "next": {
116
- "name": "行选择器",
117
- "props": [
118
- {
119
- "key": "rowSelection",
120
- "name": "开启行选择器",
121
- "type": "switch",
122
- "default": false
123
- },
124
- {
125
- "key": "suppressRowSelectionPagination",
126
- "name": "停用分页多选",
127
- "desc": "停用分页多选后,选择器将不记录跨页的行选择,而只记录当前页的行选择",
128
- "type": "switch",
129
- "default": false
130
- },
131
- {
132
- "key": "rowSelectionMode",
133
- "name": "选择器模式",
134
- "type": "segmented",
135
- "options": [
136
- {
137
- "label": "复选",
138
- "value": "multiple"
139
- },
140
- {
141
- "label": "单选",
142
- "value": "single"
143
- }
144
- ],
145
- "default": "multiple"
146
- },
147
- {
148
- "key": "bantchActions",
149
- "name": "批量操作",
150
- "type": "_ActionsEditor",
151
- "default": { "todoList": [] },
152
- "defaultCode": "function onBatchOperationsClick(key, selectedRows) {\n\n}",
153
- "suppressDisplay": true,
154
- "suppressMax": true,
155
- "suppressMore": true,
156
- "wrapper": "collapse",
157
- "wrapperProps": { "suppressIcon": true }
158
- },
159
- {
160
- "key": "defaultRowSelectedCode",
161
- "name": "默认选中行",
162
- "type": "_JSEditor",
163
- "defaultCode": "function getRowDefaultSelected(data, node) { \n return false; \n}",
164
- "mustConfirm": true,
165
- "wrapper": "collapse",
166
- "wrapperProps": { "suppressIcon": true }
167
- },
168
- {
169
- "key": "rowSelectableCode",
170
- "name": "行是否可选",
171
- "type": "_JSEditor",
172
- "defaultCode": "function getRowSelectable(data, node) { \n return true; \n}",
173
- "mustConfirm": true,
174
- "wrapper": "collapse",
175
- "wrapperProps": { "suppressIcon": true }
176
- }
177
- ]
178
- }
179
- },
180
- {
181
- "key": "impexpSetting",
182
- "name": "导入导出",
183
- "type": "group",
184
- "props": [
185
- {
186
- "key": "impexp",
187
- "name": "#导入导出",
188
- "type": "_ImpExp",
189
- "default": { "export": true },
190
- "wrapperProps": { "suppressIcon": true }
191
- }
192
- ]
193
- },
194
- {
195
- "key": "styleSetting",
196
- "name": "风格和样式",
197
- "type": "group",
198
- "props": [
199
- {
200
- "key": "width",
201
- "name": "宽度",
202
- "type": "_WidthHeight",
203
- "default": "100%"
204
- },
205
- {
206
- "key": "height",
207
- "name": "高度",
208
- "type": "_WidthHeight",
209
- "default": "100%"
210
- },
211
- {
212
- "key": "zebra",
213
- "name": "斑马纹",
214
- "desc": "设置条件后按条件显示斑马纹,未设置条件按偶数行显示斑马纹,删除色码将不显示斑马纹",
215
- "type": "_TableZebra",
216
- "default": false
217
- },
218
- {
219
- "key": "suppressPreset",
220
- "name": "关闭预设",
221
- "type": "switch",
222
- "default": false
223
- },
224
- {
225
- "key": "bordered",
226
- "name": "边框线",
227
- "type": "switch",
228
- "default": false
229
- },
230
- {
231
- "key": "renderIndex",
232
- "name": "显示序号",
233
- "type": "switch",
234
- "default": true
235
- }
236
- ]
237
- },
238
- {
239
- "key": "paginationSetting",
240
- "name": "分页设置",
241
- "type": "group",
242
- "props": [
243
- {
244
- "key": "pagination",
245
- "name": "开启分页",
246
- "type": "switch",
247
- "default": true
248
- },
249
- {
250
- "key": "showSizeChanger",
251
- "name": "pageSize选择",
252
- "type": "switch",
253
- "default": true
254
- },
255
- {
256
- "key": "showQuickJumper",
257
- "name": "快速跳转",
258
- "type": "switch",
259
- "default": true
260
- },
261
- {
262
- "key": "hideOnSinglePage",
263
- "name": "单页无分页器",
264
- "desc": "只有一页时隐藏分页器",
265
- "type": "switch",
266
- "default": false
267
- },
268
- {
269
- "key": "paginationSimple",
270
- "name": "简单分页",
271
- "type": "switch",
272
- "default": false
273
- },
274
- {
275
- "key": "pageSize",
276
- "name": "每页条数",
277
- "type": "number",
278
- "default": 30
279
- }
280
- ]
281
- },
282
- {
283
- "key": "advance",
284
- "name": "高级设置",
285
- "type": "group",
286
- "default": true,
287
- "next": {
288
- "name": "高级设置",
289
- "props": [
290
- {
291
- "key": "formatDataSource",
292
- "name": "格式化数据",
293
- "type": "_JSEditor",
294
- "defaultCode": "function formatDataSource(list, detail) { \n return []; \n}",
295
- "mustConfirm": true,
296
- "wrapper": "collapse",
297
- "wrapperProps": { "suppressIcon": true }
298
- },
299
- {
300
- "key": "getDataPath",
301
- "name": "构建树层级",
302
- "type": "_JSEditor",
303
- "defaultCode": "function getDataPath(data) { \n return []; \n}",
304
- "mustConfirm": true,
305
- "wrapper": "collapse",
306
- "wrapperProps": { "suppressIcon": true }
307
- },
308
- {
309
- "key": "columnsRewrite",
310
- "name": "重写表格列",
311
- "desc": "自定义某些表格列",
312
- "type": "_JSEditor",
313
- "defaultCode": "function columnsRewrite(columns) { \n return columns; \n}",
314
- "mustConfirm": true,
315
- "wrapper": "collapse",
316
- "wrapperProps": { "suppressIcon": true }
317
- },
318
- {
319
- "key": "columnsReset",
320
- "name": "重置表格列",
321
- "desc": "完全自定义所有表格列,优先级大于columnsRewrite",
322
- "type": "_JSEditor",
323
- "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
324
- "mustConfirm": true,
325
- "wrapper": "collapse",
326
- "wrapperProps": { "suppressIcon": true }
327
- },
328
- {
329
- "key": "modelParams",
330
- "name": "model参数",
331
- "type": "_JSEditor",
332
- "defaultCode": "function getModelParams() { \n return {}; \n}",
333
- "mustConfirm": true,
334
- "wrapper": "collapse",
335
- "wrapperProps": { "suppressIcon": true }
336
- }
337
- ]
338
- }
339
- }
340
- ],
341
- "advance": {
342
- "events": [
343
- {
344
- "key": "onMount",
345
- "name": "组件首次渲染时",
346
- "desc": "在组件首次渲染时,执行方法",
347
- "func": "function onMount(params) {\n\t\n}"
348
- },
349
- {
350
- "key": "onUnmount",
351
- "name": "组件卸载时",
352
- "desc": "在组件卸载时,执行方法。",
353
- "func": "function onUnmount() {\n\t\n}"
354
- },
355
- {
356
- "key": "onRowClick",
357
- "name": "行单击",
358
- "desc": "单击表格行时,执行方法",
359
- "func": "function onRowClick(data, rowIndex, params) {\n\t\n}"
360
- },
361
- {
362
- "key": "onRowDoubleClick",
363
- "name": "行双击",
364
- "desc": "双击表格行时,执行方法",
365
- "func": "function onRowDoubleClick(data, rowIndex, params) {\n\t\n}"
366
- },
367
- {
368
- "key": "onRowSelected",
369
- "name": "行选择",
370
- "desc": "选中行时,执行方法",
371
- "func": "function onRowSelected(data, isSelected, SelectedRows, params) {\n\t\n}"
372
- },
373
- {
374
- "key": "onRowSelectChange",
375
- "name": "行选择变化",
376
- "desc": "行选中发生变化时,执行方法",
377
- "func": "function onRowSelectChange(rows, nodes, params) {\n\t\n}"
378
- },
379
- {
380
- "key": "onRowDragged",
381
- "name": "行拖拽后",
382
- "desc": "拖拽行使其顺序发生变化后,执行方法",
383
- "func": "function onRowDragged(toId, fromId, params) {\n\t\n}"
384
- },
385
- {
386
- "key": "onPagePublicResourceChanged",
387
- "name": "页面共享资源变化后",
388
- "desc": "当页面共享资源发生变化后(pagePublicResourceChanged),执行方法",
389
- "func": "function onPagePublicResourceChanged(resource, prevResource, instance) {\n\t\n}"
390
- },
391
- {
392
- "key": "afterInit",
393
- "name": "初始化后的回调",
394
- "desc": "组件及数据加载完成后,执行方法",
395
- "func": "function afterInit(res, dispatch, props) {\n\t\n}"
396
- },
397
- {
398
- "key": "afterQuery",
399
- "name": "数据读取回调",
400
- "desc": "读取数据源后执行方法,返回接口中原始数据",
401
- "func": "function afterQuery(res) {\n\t\n}"
402
- }
403
- ]
404
- }
405
- }
1
+ {
2
+ "component": "Table",
3
+ "name": "表格",
4
+ "desc": "用于展示和管理数据,实现数据的可视化和交互。用户可以根据配置数据集和表格属性,快速构建表格。",
5
+ "icon": "icon-table",
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": "dataset",
18
+ "name": "数据集",
19
+ "type": "_DataSetSelector",
20
+ "component": "table",
21
+ "next": {
22
+ "name": "字段配置",
23
+ "props": [
24
+ {
25
+ "key": "fields",
26
+ "name": "#字段配置器",
27
+ "type": "_FieldsSetting"
28
+ }
29
+ ]
30
+ }
31
+ },
32
+ {
33
+ "key": "autoLoad",
34
+ "name": "自动加载",
35
+ "desc": "首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭",
36
+ "type": "switch",
37
+ "default": true
38
+ },
39
+ {
40
+ "key": "readOnly",
41
+ "name": "只读",
42
+ "type": "switch",
43
+ "default": false
44
+ },
45
+ {
46
+ "key": "draggable",
47
+ "name": "拖拽排序",
48
+ "type": "switch",
49
+ "default": false
50
+ },
51
+ {
52
+ "key": "topSetting",
53
+ "name": "顶部操作",
54
+ "type": "group",
55
+ "default": true,
56
+ "next": {
57
+ "name": "顶部操作",
58
+ "props": [
59
+ {
60
+ "key": "topActionGroup",
61
+ "name": "顶部按钮组",
62
+ "type": "_ActionsEditor",
63
+ "default": {
64
+ "display": "button",
65
+ "max": 2,
66
+ "moreText": "操作",
67
+ "todoList": []
68
+ },
69
+ "defaultCode": "function todo() { \n \n}",
70
+ "wrapper": "collapse"
71
+ },
72
+ {
73
+ "key": "topFilter",
74
+ "name": "顶部过滤器",
75
+ "type": "_TableTopFilter",
76
+ "wrapper": "collapse"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ {
82
+ "key": "actionsColumn",
83
+ "name": "操作列",
84
+ "type": "group",
85
+ "default": true,
86
+ "next": {
87
+ "name": "操作列",
88
+ "props": [
89
+ {
90
+ "key": "suppressActions",
91
+ "name": "隐藏操作列",
92
+ "type": "switch",
93
+ "default": false
94
+ },
95
+ {
96
+ "key": "actionsColumnWidth",
97
+ "name": "列宽",
98
+ "type": "_WidthHeight",
99
+ "options": [
100
+ {
101
+ "label": "px",
102
+ "value": "px"
103
+ }
104
+ ],
105
+ "convertInt": true,
106
+ "default": 160
107
+ },
108
+ {
109
+ "key": "actions",
110
+ "name": "表格操作项",
111
+ "type": "_ActionsEditor",
112
+ "default": {
113
+ "display": "text",
114
+ "max": 2,
115
+ "moreText": "更多操作",
116
+ "todoList": []
117
+ },
118
+ "defaultCode": "function onActionClick(data, rowIndex, params) {\n\n}",
119
+ "wrapper": "collapse",
120
+ "wrapperProps": {
121
+ "suppressIcon": true
122
+ }
123
+ }
124
+ ]
125
+ }
126
+ },
127
+ {
128
+ "key": "rowSelectionSetting",
129
+ "name": "行选择器",
130
+ "type": "group",
131
+ "default": true,
132
+ "next": {
133
+ "name": "行选择器",
134
+ "props": [
135
+ {
136
+ "key": "rowSelection",
137
+ "name": "开启行选择器",
138
+ "type": "switch",
139
+ "default": false
140
+ },
141
+ {
142
+ "key": "suppressRowSelectionPagination",
143
+ "name": "停用分页多选",
144
+ "desc": "停用分页多选后,选择器将不记录跨页的行选择,而只记录当前页的行选择",
145
+ "type": "switch",
146
+ "default": false
147
+ },
148
+ {
149
+ "key": "rowSelectionMode",
150
+ "name": "选择器模式",
151
+ "type": "segmented",
152
+ "options": [
153
+ {
154
+ "label": "复选",
155
+ "value": "multiple"
156
+ },
157
+ {
158
+ "label": "单选",
159
+ "value": "single"
160
+ }
161
+ ],
162
+ "default": "multiple"
163
+ },
164
+ {
165
+ "key": "bantchActions",
166
+ "name": "批量操作",
167
+ "type": "_ActionsEditor",
168
+ "default": {
169
+ "todoList": []
170
+ },
171
+ "defaultCode": "function onBatchOperationsClick(key, selectedRows) {\n\n}",
172
+ "suppressDisplay": true,
173
+ "suppressMax": true,
174
+ "suppressMore": true,
175
+ "wrapper": "collapse",
176
+ "wrapperProps": {
177
+ "suppressIcon": true
178
+ }
179
+ },
180
+ {
181
+ "key": "defaultRowSelectedCode",
182
+ "name": "默认选中行",
183
+ "type": "_JSEditor",
184
+ "defaultCode": "function getRowDefaultSelected(data, node) { \n return false; \n}",
185
+ "mustConfirm": true,
186
+ "wrapper": "collapse",
187
+ "wrapperProps": {
188
+ "suppressIcon": true
189
+ }
190
+ },
191
+ {
192
+ "key": "rowSelectableCode",
193
+ "name": "行是否可选",
194
+ "type": "_JSEditor",
195
+ "defaultCode": "function getRowSelectable(data, node) { \n return true; \n}",
196
+ "mustConfirm": true,
197
+ "wrapper": "collapse",
198
+ "wrapperProps": {
199
+ "suppressIcon": true
200
+ }
201
+ }
202
+ ]
203
+ }
204
+ },
205
+ {
206
+ "key": "impexpSetting",
207
+ "name": "导入导出",
208
+ "type": "group",
209
+ "props": [
210
+ {
211
+ "key": "impexp",
212
+ "name": "#导入导出",
213
+ "type": "_ImpExp",
214
+ "default": {
215
+ "export": true,
216
+ "import": true
217
+ },
218
+ "wrapperProps": {
219
+ "suppressIcon": true
220
+ }
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "key": "styleSetting",
226
+ "name": "风格和样式",
227
+ "type": "group",
228
+ "props": [
229
+ {
230
+ "key": "width",
231
+ "name": "宽度",
232
+ "type": "_WidthHeight",
233
+ "default": "100%"
234
+ },
235
+ {
236
+ "key": "height",
237
+ "name": "高度",
238
+ "type": "_WidthHeight",
239
+ "default": "100%"
240
+ },
241
+ {
242
+ "key": "zebra",
243
+ "name": "斑马纹",
244
+ "desc": "设置条件后按条件显示斑马纹,未设置条件按偶数行显示斑马纹,删除色码将不显示斑马纹",
245
+ "type": "_TableZebra",
246
+ "default": false
247
+ },
248
+ {
249
+ "key": "suppressPreset",
250
+ "name": "关闭预设",
251
+ "type": "switch",
252
+ "default": false
253
+ },
254
+ {
255
+ "key": "bordered",
256
+ "name": "边框线",
257
+ "type": "switch",
258
+ "default": false
259
+ },
260
+ {
261
+ "key": "renderIndex",
262
+ "name": "显示序号",
263
+ "type": "switch",
264
+ "default": true
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "key": "paginationSetting",
270
+ "name": "分页设置",
271
+ "type": "group",
272
+ "props": [
273
+ {
274
+ "key": "pagination",
275
+ "name": "开启分页",
276
+ "type": "switch",
277
+ "default": true
278
+ },
279
+ {
280
+ "key": "showSizeChanger",
281
+ "name": "pageSize选择",
282
+ "type": "switch",
283
+ "default": true
284
+ },
285
+ {
286
+ "key": "showQuickJumper",
287
+ "name": "快速跳转",
288
+ "type": "switch",
289
+ "default": true
290
+ },
291
+ {
292
+ "key": "hideOnSinglePage",
293
+ "name": "单页无分页器",
294
+ "desc": "只有一页时隐藏分页器",
295
+ "type": "switch",
296
+ "default": false
297
+ },
298
+ {
299
+ "key": "paginationSimple",
300
+ "name": "简单分页",
301
+ "type": "switch",
302
+ "default": false
303
+ },
304
+ {
305
+ "key": "pageSize",
306
+ "name": "每页条数",
307
+ "type": "number",
308
+ "default": 30
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "key": "advance",
314
+ "name": "高级设置",
315
+ "type": "group",
316
+ "default": true,
317
+ "next": {
318
+ "name": "高级设置",
319
+ "props": [
320
+ {
321
+ "key": "formatDataSource",
322
+ "name": "格式化数据",
323
+ "type": "_JSEditor",
324
+ "defaultCode": "function formatDataSource(list, detail) { \n return []; \n}",
325
+ "mustConfirm": true,
326
+ "wrapper": "collapse",
327
+ "wrapperProps": {
328
+ "suppressIcon": true
329
+ }
330
+ },
331
+ {
332
+ "key": "getDataPath",
333
+ "name": "构建树层级",
334
+ "type": "_JSEditor",
335
+ "defaultCode": "function getDataPath(data) { \n return []; \n}",
336
+ "mustConfirm": true,
337
+ "wrapper": "collapse",
338
+ "wrapperProps": {
339
+ "suppressIcon": true
340
+ }
341
+ },
342
+ {
343
+ "key": "columnsRewrite",
344
+ "name": "重写表格列",
345
+ "desc": "自定义某些表格列",
346
+ "type": "_JSEditor",
347
+ "defaultCode": "function columnsRewrite(columns) { \n return columns; \n}",
348
+ "mustConfirm": true,
349
+ "wrapper": "collapse",
350
+ "wrapperProps": {
351
+ "suppressIcon": true
352
+ }
353
+ },
354
+ {
355
+ "key": "columnsReset",
356
+ "name": "重置表格列",
357
+ "desc": "完全自定义所有表格列,优先级大于columnsRewrite",
358
+ "type": "_JSEditor",
359
+ "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
360
+ "mustConfirm": true,
361
+ "wrapper": "collapse",
362
+ "wrapperProps": {
363
+ "suppressIcon": true
364
+ }
365
+ },
366
+ {
367
+ "key": "modelParams",
368
+ "name": "model参数",
369
+ "type": "_JSEditor",
370
+ "defaultCode": "function getModelParams() { \n return {}; \n}",
371
+ "mustConfirm": true,
372
+ "wrapper": "collapse",
373
+ "wrapperProps": {
374
+ "suppressIcon": true
375
+ }
376
+ }
377
+ ]
378
+ }
379
+ }
380
+ ],
381
+ "advance": {
382
+ "events": [
383
+ {
384
+ "key": "onMount",
385
+ "name": "组件首次渲染时",
386
+ "desc": "在组件首次渲染时,执行方法",
387
+ "func": "function onMount(params) {\n\t\n}"
388
+ },
389
+ {
390
+ "key": "onUnmount",
391
+ "name": "组件卸载时",
392
+ "desc": "在组件卸载时,执行方法。",
393
+ "func": "function onUnmount() {\n\t\n}"
394
+ },
395
+ {
396
+ "key": "onRowClick",
397
+ "name": "行单击",
398
+ "desc": "单击表格行时,执行方法",
399
+ "func": "function onRowClick(data, rowIndex, params) {\n\t\n}"
400
+ },
401
+ {
402
+ "key": "onRowDoubleClick",
403
+ "name": "行双击",
404
+ "desc": "双击表格行时,执行方法",
405
+ "func": "function onRowDoubleClick(data, rowIndex, params) {\n\t\n}"
406
+ },
407
+ {
408
+ "key": "onRowSelected",
409
+ "name": "行选择",
410
+ "desc": "选中行时,执行方法",
411
+ "func": "function onRowSelected(data, isSelected, SelectedRows, params) {\n\t\n}"
412
+ },
413
+ {
414
+ "key": "onRowSelectChange",
415
+ "name": "行选择变化",
416
+ "desc": "行选中发生变化时,执行方法",
417
+ "func": "function onRowSelectChange(rows, nodes, params) {\n\t\n}"
418
+ },
419
+ {
420
+ "key": "onRowDragged",
421
+ "name": "行拖拽后",
422
+ "desc": "拖拽行使其顺序发生变化后,执行方法",
423
+ "func": "function onRowDragged(toId, fromId, params) {\n\t\n}"
424
+ },
425
+ {
426
+ "key": "onPagePublicResourceChanged",
427
+ "name": "页面共享资源变化后",
428
+ "desc": "当页面共享资源发生变化后(pagePublicResourceChanged),执行方法",
429
+ "func": "function onPagePublicResourceChanged(resource, prevResource, instance) {\n\t\n}"
430
+ },
431
+ {
432
+ "key": "afterInit",
433
+ "name": "初始化后的回调",
434
+ "desc": "组件及数据加载完成后,执行方法",
435
+ "func": "function afterInit(res, dispatch, props) {\n\t\n}"
436
+ },
437
+ {
438
+ "key": "afterQuery",
439
+ "name": "数据读取回调",
440
+ "desc": "读取数据源后执行方法,返回接口中原始数据",
441
+ "func": "function afterQuery(res) {\n\t\n}"
442
+ }
443
+ ]
444
+ }
445
+ }