@luck-design-biz/luckda 0.0.24-2 → 0.0.25-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/es/components/Builder/index.js +6 -4
  2. package/es/components/IconFont/index.js +5 -0
  3. package/es/components/LDActions/index.js +133 -0
  4. package/es/components/LDActions/index.less +65 -0
  5. package/es/components/LdAutoForm/index.js +1 -1
  6. package/es/components/LdCom/index.js +2 -1
  7. package/es/components/LdFormList/index.js +15 -10
  8. package/es/components/LdGrid/index.js +14 -8
  9. package/es/components/LdGridForm/index.js +5 -4
  10. package/es/components/LdRuntimeCom/index.js +20 -7
  11. package/es/components/LdTree/index.js +112 -31
  12. package/es/components/LdTree/index.less +6 -1
  13. package/es/helper/ldBuilder.js +28 -12
  14. package/es/helper/ldComBuild.js +29 -14
  15. package/es/index.js +1 -0
  16. package/es/locales/zh-CN.js +230 -0
  17. package/es/lowcode/constants/api-url.js +464 -262
  18. package/es/lowcode/constants/event-topics.js +4 -0
  19. package/es/lowcode/constants/index.js +31 -2
  20. package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +32 -0
  21. package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
  22. package/es/lowcode/engine/meta/box.props.default.json +4 -3
  23. package/es/lowcode/engine/meta/box.props.json +2 -4
  24. package/es/lowcode/engine/meta/button.props.default.json +5 -2
  25. package/es/lowcode/engine/meta/button.props.json +9 -9
  26. package/es/lowcode/engine/meta/cardlist.props.default.json +4 -2
  27. package/es/lowcode/engine/meta/cardlist.props.json +2 -3
  28. package/es/lowcode/engine/meta/components-list.json +1 -1
  29. package/es/lowcode/engine/meta/dialog.props.default.json +4 -2
  30. package/es/lowcode/engine/meta/dialog.props.json +1 -2
  31. package/es/lowcode/engine/meta/drawer.props.default.json +4 -2
  32. package/es/lowcode/engine/meta/drawer.props.json +1 -2
  33. package/es/lowcode/engine/meta/form.props.default.json +52 -4
  34. package/es/lowcode/engine/meta/form.props.json +596 -64
  35. package/es/lowcode/engine/meta/iframe.props.default.json +1 -1
  36. package/es/lowcode/engine/meta/iframe.props.json +1 -1
  37. package/es/lowcode/engine/meta/image.props.default.json +5 -2
  38. package/es/lowcode/engine/meta/image.props.json +3 -3
  39. package/es/lowcode/engine/meta/imex.props.default.json +5 -2
  40. package/es/lowcode/engine/meta/imex.props.json +2 -2
  41. package/es/lowcode/engine/meta/js-editor/auto-complete.json +152 -26
  42. package/es/lowcode/engine/meta/jsx.props.default.json +2 -1
  43. package/es/lowcode/engine/meta/jsx.props.json +10 -5
  44. package/es/lowcode/engine/meta/layout.props.default.json +5 -2
  45. package/es/lowcode/engine/meta/layout.props.json +1 -2
  46. package/es/lowcode/engine/meta/link.props.default.json +5 -2
  47. package/es/lowcode/engine/meta/link.props.json +3 -3
  48. package/es/lowcode/engine/meta/local/local.zh-cn.js +97 -0
  49. package/es/lowcode/engine/meta/page.props.default.json +12 -0
  50. package/es/lowcode/engine/meta/page.props.json +49 -0
  51. package/es/lowcode/engine/meta/pagecontent.props.default.json +6 -0
  52. package/es/lowcode/engine/meta/pagecontent.props.json +7 -0
  53. package/es/lowcode/engine/meta/pagefooter.props.default.json +6 -0
  54. package/es/lowcode/engine/meta/pagefooter.props.json +7 -0
  55. package/es/lowcode/engine/meta/pageheader.props.default.json +6 -0
  56. package/es/lowcode/engine/meta/pageheader.props.json +7 -0
  57. package/es/lowcode/engine/meta/section.props.default.json +7 -6
  58. package/es/lowcode/engine/meta/section.props.json +52 -49
  59. package/es/lowcode/engine/meta/split.props.default.json +9 -4
  60. package/es/lowcode/engine/meta/split.props.json +14 -29
  61. package/es/lowcode/engine/meta/table.props.default.json +23 -3
  62. package/es/lowcode/engine/meta/table.props.json +257 -55
  63. package/es/lowcode/engine/meta/tabs.props.default.json +16 -9
  64. package/es/lowcode/engine/meta/tabs.props.json +57 -81
  65. package/es/lowcode/engine/meta/text.props.default.json +5 -2
  66. package/es/lowcode/engine/meta/text.props.json +3 -3
  67. package/es/lowcode/engine/meta/tree.props.default.json +20 -7
  68. package/es/lowcode/engine/meta/tree.props.json +225 -79
  69. package/es/lowcode/engine/provider/ContextProvider/index.js +177 -0
  70. package/es/lowcode/engine/provider/RemoteSourceProvider.js +174 -0
  71. package/es/lowcode/engine/tools/dataProcess.js +64 -2
  72. package/es/lowcode/engine/tools/helper.js +97 -18
  73. package/es/lowcode/engine/tools/useCanvasRender.js +73 -0
  74. package/es/lowcode/engine/tools/usePromiseState.js +23 -12
  75. package/es/lowcode/engine/tools/useTodo.js +78 -0
  76. package/es/lowcode/index.js +1 -0
  77. package/es/lowcode/painter/Components.js +47 -21
  78. package/es/lowcode/painter/Design.js +34 -2
  79. package/es/lowcode/painter/DesignOperator.js +48 -31
  80. package/es/lowcode/painter/DesignToolbar.js +324 -16
  81. package/es/lowcode/painter/I18n.js +2 -2
  82. package/es/lowcode/painter/Outline.js +31 -26
  83. package/es/lowcode/painter/Panel.js +99 -142
  84. package/es/lowcode/painter/Ribbon.js +1 -1
  85. package/es/lowcode/painter/components/ActionBindModal.js +293 -0
  86. package/es/lowcode/painter/components/AdvancePanel.js +140 -0
  87. package/es/lowcode/painter/components/AttrsPanel.js +145 -0
  88. package/es/lowcode/painter/components/Collapse.js +20 -9
  89. package/es/lowcode/painter/components/ColorInput.js +5 -3
  90. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +137 -0
  91. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +50 -0
  92. package/es/lowcode/painter/components/DragDrop/Overlay.js +8 -0
  93. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +67 -0
  94. package/es/lowcode/painter/components/FieldSelector.js +44 -0
  95. package/es/lowcode/painter/components/ListEditor.js +26 -11
  96. package/es/lowcode/painter/components/PanelItem.js +1 -1
  97. package/es/lowcode/painter/components/PopConfirm.js +10 -3
  98. package/es/lowcode/painter/components/SortBox.js +11 -4
  99. package/es/lowcode/painter/components/TreeEditor.js +13 -0
  100. package/es/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
  101. package/es/lowcode/painter/components/code-editor/JSEditor.js +25 -14
  102. package/es/lowcode/painter/components/code-editor/JsonEditor.js +41 -0
  103. package/es/lowcode/painter/components/field-setting/BatchSetting.js +154 -0
  104. package/es/lowcode/painter/components/field-setting/CheckRules.js +126 -0
  105. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +287 -0
  106. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +290 -0
  107. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +63 -0
  108. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +116 -0
  109. package/es/lowcode/painter/components/field-setting/SettingUI.js +438 -0
  110. package/es/lowcode/painter/components/field-setting/index.js +373 -0
  111. package/es/lowcode/painter/index.js +3 -28
  112. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +25 -0
  113. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +101 -0
  114. package/es/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +74 -13
  115. package/es/lowcode/painter/panel-section/BlockEditor/index.js +27 -0
  116. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +45 -0
  117. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +235 -0
  118. package/es/lowcode/painter/panel-section/DataSetSelector.js +115 -43
  119. package/es/lowcode/painter/panel-section/FieldsSetting.js +329 -0
  120. package/es/lowcode/painter/panel-section/I18nInput.js +20 -0
  121. package/es/lowcode/painter/panel-section/Icon.js +14 -14
  122. package/es/lowcode/painter/panel-section/IconConditionSelector.js +111 -0
  123. package/es/lowcode/painter/panel-section/IconSelector.js +5 -2
  124. package/es/lowcode/painter/panel-section/ImpExp.js +91 -0
  125. package/es/lowcode/painter/panel-section/JSEditor.js +49 -0
  126. package/es/lowcode/painter/panel-section/LayoutRatio.js +6 -7
  127. package/es/lowcode/painter/panel-section/SerialsSelector.js +44 -0
  128. package/es/lowcode/painter/panel-section/SplitDisplay.js +248 -0
  129. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  130. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -22
  131. package/es/lowcode/painter/panel-section/TabItems.js +46 -30
  132. package/es/lowcode/painter/panel-section/TableTopFilter.js +306 -0
  133. package/es/lowcode/painter/panel-section/TableZebra.js +66 -6
  134. package/es/lowcode/painter/panel-section/TreeRootEditor.js +78 -0
  135. package/es/lowcode/painter/style/action-bind-modal.less +102 -0
  136. package/es/lowcode/painter/style/collapse.less +6 -0
  137. package/es/lowcode/painter/style/components.less +5 -4
  138. package/es/lowcode/painter/style/design.less +7 -4
  139. package/es/lowcode/painter/style/dragdrop.less +10 -0
  140. package/es/lowcode/painter/style/fields-setting.less +25 -0
  141. package/es/lowcode/painter/style/impexp.less +7 -0
  142. package/es/lowcode/painter/style/list-editor.less +36 -0
  143. package/es/lowcode/painter/style/panel-attrs.less +43 -0
  144. package/es/lowcode/painter/style/panel.less +6 -37
  145. package/es/lowcode/painter/style/pop-confirm.less +9 -2
  146. package/es/lowcode/painter/style/split-display.less +28 -0
  147. package/es/lowcode/painter/style/treedragdrop.less +19 -0
  148. package/es/lowcode/preview/index.js +27 -0
  149. package/es/lowcode/view/Canvas.js +34 -139
  150. package/es/lowcode/view/Loading.js +6 -2
  151. package/es/lowcode/view/Page.js +16 -14
  152. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +9 -0
  153. package/es/lowcode/view/lc-components/Box/index.js +11 -2
  154. package/es/lowcode/view/lc-components/Box/index.less +0 -1
  155. package/es/lowcode/view/lc-components/Box/meta.json +2 -4
  156. package/es/lowcode/view/lc-components/Button/FunctionDesign.js +8 -10
  157. package/es/lowcode/view/lc-components/Button/FunctionLive.js +3 -6
  158. package/es/lowcode/view/lc-components/Button/FunctionPreview.js +6 -0
  159. package/es/lowcode/view/lc-components/Button/index.js +43 -20
  160. package/es/lowcode/view/lc-components/Button/meta.json +9 -9
  161. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +9 -0
  162. package/es/lowcode/view/lc-components/CardList/index.js +1 -0
  163. package/es/lowcode/view/lc-components/CardList/meta.json +2 -3
  164. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +16 -24
  165. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +9 -0
  166. package/es/lowcode/view/lc-components/Dialog/index.js +1 -0
  167. package/es/lowcode/view/lc-components/Dialog/meta.json +1 -2
  168. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +4 -2
  169. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +9 -0
  170. package/es/lowcode/view/lc-components/Drawer/index.js +17 -0
  171. package/es/lowcode/view/lc-components/Drawer/index.less +3 -0
  172. package/es/lowcode/view/lc-components/Drawer/meta.json +1 -2
  173. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +93 -2
  174. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +9 -0
  175. package/es/lowcode/view/lc-components/Form/index.js +290 -13
  176. package/es/lowcode/view/lc-components/Form/index.less +5 -0
  177. package/es/lowcode/view/lc-components/Form/meta.json +546 -64
  178. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +9 -0
  179. package/es/lowcode/view/lc-components/Iframe/index.js +1 -0
  180. package/es/lowcode/view/lc-components/Iframe/meta.json +1 -1
  181. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +9 -0
  182. package/es/lowcode/view/lc-components/ImEx/index.js +1 -0
  183. package/es/lowcode/view/lc-components/ImEx/meta.json +2 -2
  184. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +9 -0
  185. package/es/lowcode/view/lc-components/Image/index.js +1 -0
  186. package/es/lowcode/view/lc-components/Image/meta.json +3 -3
  187. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +9 -0
  188. package/es/lowcode/view/lc-components/JSX/index.js +19 -6
  189. package/es/lowcode/view/lc-components/JSX/meta.json +8 -5
  190. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +23 -22
  191. package/es/lowcode/view/lc-components/Layout/FunctionLive.js +3 -8
  192. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +9 -0
  193. package/es/lowcode/view/lc-components/Layout/index.js +1 -0
  194. package/es/lowcode/view/lc-components/Layout/meta.json +1 -2
  195. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +9 -0
  196. package/es/lowcode/view/lc-components/Link/index.js +1 -0
  197. package/es/lowcode/view/lc-components/Link/meta.json +3 -3
  198. package/es/lowcode/view/lc-components/Page/meta.json +49 -0
  199. package/es/lowcode/view/lc-components/PageContent/index.js +53 -0
  200. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -0
  201. package/es/lowcode/view/lc-components/PageFooter/index.js +38 -0
  202. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -0
  203. package/es/lowcode/view/lc-components/PageHeader/index.js +40 -0
  204. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -0
  205. package/es/lowcode/view/lc-components/PageModal/index.js +23 -0
  206. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +31 -2
  207. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +9 -0
  208. package/es/lowcode/view/lc-components/Section/index.js +115 -24
  209. package/es/lowcode/view/lc-components/Section/index.less +7 -0
  210. package/es/lowcode/view/lc-components/Section/meta.json +48 -49
  211. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +57 -2
  212. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +9 -0
  213. package/es/lowcode/view/lc-components/Split/index.js +46 -7
  214. package/es/lowcode/view/lc-components/Split/meta.json +10 -29
  215. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +41 -4
  216. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +9 -0
  217. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +96 -0
  218. package/es/lowcode/view/lc-components/Table/index.js +365 -48
  219. package/es/lowcode/view/lc-components/Table/meta.json +229 -55
  220. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +70 -2
  221. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +1 -0
  222. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +10 -0
  223. package/es/lowcode/view/lc-components/Tabs/index.js +113 -10
  224. package/es/lowcode/view/lc-components/Tabs/meta.json +53 -81
  225. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +9 -0
  226. package/es/lowcode/view/lc-components/Text/index.js +1 -0
  227. package/es/lowcode/view/lc-components/Text/meta.json +3 -3
  228. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +63 -3
  229. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +26 -0
  230. package/es/lowcode/view/lc-components/Tree/index.js +323 -8
  231. package/es/lowcode/view/lc-components/Tree/index.less +5 -0
  232. package/es/lowcode/view/lc-components/Tree/meta.json +224 -80
  233. package/es/lowcode/view/lc-components/Wrapper.js +44 -27
  234. package/es/lowcode/view/style/page.less +3 -0
  235. package/es/services.js +5 -3
  236. package/es/upload/Form/gridForm.js +7 -3
  237. package/es/utils/grid.js +2 -2
  238. package/lib/components/Builder/index.js +4 -1
  239. package/lib/components/IconFont/index.js +11 -0
  240. package/lib/components/LDActions/index.js +141 -0
  241. package/lib/components/LDActions/index.less +65 -0
  242. package/lib/components/LdAutoForm/index.js +1 -1
  243. package/lib/components/LdCom/index.js +2 -1
  244. package/lib/components/LdFormList/index.js +14 -9
  245. package/lib/components/LdGrid/index.js +13 -7
  246. package/lib/components/LdGridForm/index.js +4 -3
  247. package/lib/components/LdRuntimeCom/index.js +21 -8
  248. package/lib/components/LdTree/index.js +112 -31
  249. package/lib/components/LdTree/index.less +6 -1
  250. package/lib/helper/ldBuilder.js +28 -12
  251. package/lib/helper/ldComBuild.js +27 -12
  252. package/lib/index.js +8 -0
  253. package/lib/locales/zh-CN.js +236 -0
  254. package/lib/lowcode/constants/api-url.js +465 -263
  255. package/lib/lowcode/constants/event-topics.js +5 -1
  256. package/lib/lowcode/constants/index.js +32 -3
  257. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +38 -0
  258. package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
  259. package/lib/lowcode/engine/meta/box.props.default.json +4 -3
  260. package/lib/lowcode/engine/meta/box.props.json +2 -4
  261. package/lib/lowcode/engine/meta/button.props.default.json +5 -2
  262. package/lib/lowcode/engine/meta/button.props.json +9 -9
  263. package/lib/lowcode/engine/meta/cardlist.props.default.json +4 -2
  264. package/lib/lowcode/engine/meta/cardlist.props.json +2 -3
  265. package/lib/lowcode/engine/meta/components-list.json +1 -1
  266. package/lib/lowcode/engine/meta/dialog.props.default.json +4 -2
  267. package/lib/lowcode/engine/meta/dialog.props.json +1 -2
  268. package/lib/lowcode/engine/meta/drawer.props.default.json +4 -2
  269. package/lib/lowcode/engine/meta/drawer.props.json +1 -2
  270. package/lib/lowcode/engine/meta/form.props.default.json +52 -4
  271. package/lib/lowcode/engine/meta/form.props.json +596 -64
  272. package/lib/lowcode/engine/meta/iframe.props.default.json +1 -1
  273. package/lib/lowcode/engine/meta/iframe.props.json +1 -1
  274. package/lib/lowcode/engine/meta/image.props.default.json +5 -2
  275. package/lib/lowcode/engine/meta/image.props.json +3 -3
  276. package/lib/lowcode/engine/meta/imex.props.default.json +5 -2
  277. package/lib/lowcode/engine/meta/imex.props.json +2 -2
  278. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +152 -26
  279. package/lib/lowcode/engine/meta/jsx.props.default.json +2 -1
  280. package/lib/lowcode/engine/meta/jsx.props.json +10 -5
  281. package/lib/lowcode/engine/meta/layout.props.default.json +5 -2
  282. package/lib/lowcode/engine/meta/layout.props.json +1 -2
  283. package/lib/lowcode/engine/meta/link.props.default.json +5 -2
  284. package/lib/lowcode/engine/meta/link.props.json +3 -3
  285. package/lib/lowcode/engine/meta/local/local.zh-cn.js +103 -0
  286. package/lib/lowcode/engine/meta/page.props.default.json +12 -0
  287. package/lib/lowcode/engine/meta/page.props.json +49 -0
  288. package/lib/lowcode/engine/meta/pagecontent.props.default.json +6 -0
  289. package/lib/lowcode/engine/meta/pagecontent.props.json +7 -0
  290. package/lib/lowcode/engine/meta/pagefooter.props.default.json +6 -0
  291. package/lib/lowcode/engine/meta/pagefooter.props.json +7 -0
  292. package/lib/lowcode/engine/meta/pageheader.props.default.json +6 -0
  293. package/lib/lowcode/engine/meta/pageheader.props.json +7 -0
  294. package/lib/lowcode/engine/meta/section.props.default.json +7 -6
  295. package/lib/lowcode/engine/meta/section.props.json +52 -49
  296. package/lib/lowcode/engine/meta/split.props.default.json +9 -4
  297. package/lib/lowcode/engine/meta/split.props.json +14 -29
  298. package/lib/lowcode/engine/meta/table.props.default.json +23 -3
  299. package/lib/lowcode/engine/meta/table.props.json +257 -55
  300. package/lib/lowcode/engine/meta/tabs.props.default.json +16 -9
  301. package/lib/lowcode/engine/meta/tabs.props.json +57 -81
  302. package/lib/lowcode/engine/meta/text.props.default.json +5 -2
  303. package/lib/lowcode/engine/meta/text.props.json +3 -3
  304. package/lib/lowcode/engine/meta/tree.props.default.json +20 -7
  305. package/lib/lowcode/engine/meta/tree.props.json +225 -79
  306. package/lib/lowcode/engine/provider/ContextProvider/index.js +185 -0
  307. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +182 -0
  308. package/lib/lowcode/engine/tools/dataProcess.js +64 -1
  309. package/lib/lowcode/engine/tools/helper.js +101 -17
  310. package/lib/lowcode/engine/tools/useCanvasRender.js +88 -0
  311. package/lib/lowcode/engine/tools/usePromiseState.js +22 -12
  312. package/lib/lowcode/engine/tools/useTodo.js +85 -0
  313. package/lib/lowcode/index.js +7 -0
  314. package/lib/lowcode/painter/Components.js +46 -20
  315. package/lib/lowcode/painter/Design.js +32 -0
  316. package/lib/lowcode/painter/DesignOperator.js +45 -28
  317. package/lib/lowcode/painter/DesignToolbar.js +321 -13
  318. package/lib/lowcode/painter/I18n.js +1 -1
  319. package/lib/lowcode/painter/Outline.js +29 -24
  320. package/lib/lowcode/painter/Panel.js +96 -139
  321. package/lib/lowcode/painter/Ribbon.js +1 -1
  322. package/lib/lowcode/painter/components/ActionBindModal.js +300 -0
  323. package/lib/lowcode/painter/components/AdvancePanel.js +148 -0
  324. package/lib/lowcode/painter/components/AttrsPanel.js +153 -0
  325. package/lib/lowcode/painter/components/Collapse.js +20 -9
  326. package/lib/lowcode/painter/components/ColorInput.js +5 -3
  327. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +146 -0
  328. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +57 -0
  329. package/lib/lowcode/painter/components/DragDrop/Overlay.js +15 -0
  330. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +75 -0
  331. package/lib/lowcode/painter/components/FieldSelector.js +52 -0
  332. package/lib/lowcode/painter/components/ListEditor.js +25 -10
  333. package/lib/lowcode/painter/components/PanelItem.js +1 -1
  334. package/lib/lowcode/painter/components/PopConfirm.js +10 -3
  335. package/lib/lowcode/painter/components/SortBox.js +12 -5
  336. package/lib/lowcode/painter/components/TreeEditor.js +20 -0
  337. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +14 -2
  338. package/lib/lowcode/painter/components/code-editor/JSEditor.js +25 -14
  339. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +48 -0
  340. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +161 -0
  341. package/lib/lowcode/painter/components/field-setting/CheckRules.js +133 -0
  342. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +295 -0
  343. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +298 -0
  344. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +70 -0
  345. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +123 -0
  346. package/lib/lowcode/painter/components/field-setting/SettingUI.js +446 -0
  347. package/lib/lowcode/painter/components/field-setting/index.js +380 -0
  348. package/lib/lowcode/painter/index.js +3 -30
  349. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +32 -0
  350. package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/ActionEditor.js +20 -66
  351. package/lib/lowcode/painter/{components/actions-editor → panel-section/ActionsEditor}/index.js +71 -10
  352. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +34 -0
  353. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +52 -0
  354. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +242 -0
  355. package/lib/lowcode/painter/panel-section/DataSetSelector.js +112 -40
  356. package/lib/lowcode/painter/panel-section/FieldsSetting.js +337 -0
  357. package/lib/lowcode/painter/panel-section/I18nInput.js +27 -0
  358. package/lib/lowcode/painter/panel-section/Icon.js +16 -14
  359. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +119 -0
  360. package/lib/lowcode/painter/panel-section/IconSelector.js +5 -2
  361. package/lib/lowcode/painter/panel-section/ImpExp.js +98 -0
  362. package/lib/lowcode/painter/panel-section/JSEditor.js +57 -0
  363. package/lib/lowcode/painter/panel-section/LayoutRatio.js +5 -6
  364. package/lib/lowcode/painter/panel-section/SerialsSelector.js +51 -0
  365. package/lib/lowcode/painter/panel-section/SplitDisplay.js +256 -0
  366. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  367. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +3 -23
  368. package/lib/lowcode/painter/panel-section/TabItems.js +45 -29
  369. package/lib/lowcode/painter/panel-section/TableTopFilter.js +314 -0
  370. package/lib/lowcode/painter/panel-section/TableZebra.js +67 -6
  371. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +86 -0
  372. package/lib/lowcode/painter/style/action-bind-modal.less +102 -0
  373. package/lib/lowcode/painter/style/collapse.less +6 -0
  374. package/lib/lowcode/painter/style/components.less +5 -4
  375. package/lib/lowcode/painter/style/design.less +7 -4
  376. package/lib/lowcode/painter/style/dragdrop.less +10 -0
  377. package/lib/lowcode/painter/style/fields-setting.less +25 -0
  378. package/lib/lowcode/painter/style/impexp.less +7 -0
  379. package/lib/lowcode/painter/style/list-editor.less +36 -0
  380. package/lib/lowcode/painter/style/panel-attrs.less +43 -0
  381. package/lib/lowcode/painter/style/panel.less +6 -37
  382. package/lib/lowcode/painter/style/pop-confirm.less +9 -2
  383. package/lib/lowcode/painter/style/split-display.less +28 -0
  384. package/lib/lowcode/painter/style/treedragdrop.less +19 -0
  385. package/lib/lowcode/preview/index.js +35 -0
  386. package/lib/lowcode/view/Canvas.js +32 -145
  387. package/lib/lowcode/view/Loading.js +6 -2
  388. package/lib/lowcode/view/Page.js +12 -10
  389. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +16 -0
  390. package/lib/lowcode/view/lc-components/Box/index.js +11 -2
  391. package/lib/lowcode/view/lc-components/Box/index.less +0 -1
  392. package/lib/lowcode/view/lc-components/Box/meta.json +2 -4
  393. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +8 -10
  394. package/lib/lowcode/view/lc-components/Button/FunctionLive.js +3 -6
  395. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +13 -0
  396. package/lib/lowcode/view/lc-components/Button/index.js +41 -18
  397. package/lib/lowcode/view/lc-components/Button/meta.json +9 -9
  398. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +16 -0
  399. package/lib/lowcode/view/lc-components/CardList/index.js +1 -0
  400. package/lib/lowcode/view/lc-components/CardList/meta.json +2 -3
  401. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +15 -24
  402. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +16 -0
  403. package/lib/lowcode/view/lc-components/Dialog/index.js +1 -0
  404. package/lib/lowcode/view/lc-components/Dialog/meta.json +1 -2
  405. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +4 -2
  406. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +16 -0
  407. package/lib/lowcode/view/lc-components/Drawer/index.js +17 -0
  408. package/lib/lowcode/view/lc-components/Drawer/index.less +3 -0
  409. package/lib/lowcode/view/lc-components/Drawer/meta.json +1 -2
  410. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +94 -2
  411. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +16 -0
  412. package/lib/lowcode/view/lc-components/Form/index.js +289 -12
  413. package/lib/lowcode/view/lc-components/Form/index.less +5 -0
  414. package/lib/lowcode/view/lc-components/Form/meta.json +546 -64
  415. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +16 -0
  416. package/lib/lowcode/view/lc-components/Iframe/index.js +1 -0
  417. package/lib/lowcode/view/lc-components/Iframe/meta.json +1 -1
  418. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +16 -0
  419. package/lib/lowcode/view/lc-components/ImEx/index.js +1 -0
  420. package/lib/lowcode/view/lc-components/ImEx/meta.json +2 -2
  421. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +16 -0
  422. package/lib/lowcode/view/lc-components/Image/index.js +1 -0
  423. package/lib/lowcode/view/lc-components/Image/meta.json +3 -3
  424. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +16 -0
  425. package/lib/lowcode/view/lc-components/JSX/index.js +19 -6
  426. package/lib/lowcode/view/lc-components/JSX/meta.json +8 -5
  427. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +24 -22
  428. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +3 -8
  429. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +16 -0
  430. package/lib/lowcode/view/lc-components/Layout/index.js +1 -0
  431. package/lib/lowcode/view/lc-components/Layout/meta.json +1 -2
  432. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +16 -0
  433. package/lib/lowcode/view/lc-components/Link/index.js +1 -0
  434. package/lib/lowcode/view/lc-components/Link/meta.json +3 -3
  435. package/lib/lowcode/view/lc-components/Page/meta.json +49 -0
  436. package/lib/lowcode/view/lc-components/PageContent/index.js +61 -0
  437. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -0
  438. package/lib/lowcode/view/lc-components/PageFooter/index.js +46 -0
  439. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -0
  440. package/lib/lowcode/view/lc-components/PageHeader/index.js +48 -0
  441. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -0
  442. package/lib/lowcode/view/lc-components/PageModal/index.js +30 -0
  443. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +31 -2
  444. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +16 -0
  445. package/lib/lowcode/view/lc-components/Section/index.js +114 -23
  446. package/lib/lowcode/view/lc-components/Section/index.less +7 -0
  447. package/lib/lowcode/view/lc-components/Section/meta.json +48 -49
  448. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +58 -2
  449. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +16 -0
  450. package/lib/lowcode/view/lc-components/Split/index.js +45 -6
  451. package/lib/lowcode/view/lc-components/Split/meta.json +10 -29
  452. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +43 -5
  453. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +16 -0
  454. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +104 -0
  455. package/lib/lowcode/view/lc-components/Table/index.js +364 -47
  456. package/lib/lowcode/view/lc-components/Table/meta.json +229 -55
  457. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +71 -2
  458. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +2 -1
  459. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +17 -0
  460. package/lib/lowcode/view/lc-components/Tabs/index.js +112 -9
  461. package/lib/lowcode/view/lc-components/Tabs/meta.json +53 -81
  462. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +16 -0
  463. package/lib/lowcode/view/lc-components/Text/index.js +1 -0
  464. package/lib/lowcode/view/lc-components/Text/meta.json +3 -3
  465. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +64 -3
  466. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +33 -0
  467. package/lib/lowcode/view/lc-components/Tree/index.js +321 -6
  468. package/lib/lowcode/view/lc-components/Tree/index.less +5 -0
  469. package/lib/lowcode/view/lc-components/Tree/meta.json +224 -80
  470. package/lib/lowcode/view/lc-components/Wrapper.js +42 -25
  471. package/lib/lowcode/view/style/page.less +3 -0
  472. package/lib/services.js +5 -3
  473. package/lib/upload/Form/gridForm.js +7 -3
  474. package/lib/utils/grid.js +2 -2
  475. package/package.json +12 -7
  476. package/es/lowcode/engine/provider/ContextProvider.js +0 -169
  477. package/es/lowcode/painter/components/actions-editor/ActionEditor.js +0 -147
  478. package/es/lowcode/painter/panel-section/TableActions.js +0 -19
  479. package/lib/lowcode/engine/provider/ContextProvider.js +0 -177
  480. package/lib/lowcode/painter/panel-section/TableActions.js +0 -26
@@ -6,6 +6,6 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "supportFullScreen": true
11
11
  }
@@ -27,6 +27,6 @@
27
27
  "default": true
28
28
  }
29
29
  ],
30
- "style": {},
30
+ "css": {},
31
31
  "advance": {}
32
32
  }
@@ -6,11 +6,14 @@
6
6
  "groupName": "基础",
7
7
  "desc": "用于显示图像或照片。以便用户可以轻松地创建具有自定义图片样式和布局的界面。",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "width": 350,
11
11
  "height": 200,
12
12
  "autoWidth": false,
13
13
  "fit": "fill",
14
14
  "roundRadios": "0",
15
- "preview": false
15
+ "preview": false,
16
+ "advance": {
17
+ "events": {}
18
+ }
16
19
  }
@@ -72,13 +72,13 @@
72
72
  "key": "title",
73
73
  "name": "标题",
74
74
  "desc": "图片html原生title",
75
- "type": "string"
75
+ "type": "_I18nInput"
76
76
  },
77
77
  {
78
78
  "key": "alt",
79
79
  "name": "替代文本",
80
80
  "desc": "图片加载失败的占位文字",
81
- "type": "string"
81
+ "type": "_I18nInput"
82
82
  },
83
83
  {
84
84
  "key": "preview",
@@ -88,7 +88,7 @@
88
88
  "default": false
89
89
  }
90
90
  ],
91
- "style": {},
91
+ "css": {},
92
92
  "advance": {
93
93
  "events": [
94
94
  {
@@ -6,7 +6,10 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "type": "export",
11
- "title": "导入|导出"
11
+ "title": "导入|导出",
12
+ "advance": {
13
+ "events": {}
14
+ }
12
15
  }
@@ -34,7 +34,7 @@
34
34
  "key": "title",
35
35
  "name": "标题",
36
36
  "desc": "按钮上显示的文字",
37
- "type": "string",
37
+ "type": "_I18nInput",
38
38
  "default": "导入|导出"
39
39
  },
40
40
  {
@@ -50,7 +50,7 @@
50
50
  "type": "string"
51
51
  }
52
52
  ],
53
- "style": {},
53
+ "css": {},
54
54
  "advance": {
55
55
  "events": [
56
56
  {
@@ -1,29 +1,155 @@
1
1
  [
2
2
  {
3
- "name":"Botton",
4
- "triggerWord": "btn",
5
- "completions": [
6
- {
7
- "label": "onClick",
8
- "kind": "Method",
9
- "insertText": "onClick(event=>{\n\t\n})"
10
- }
11
- ]
12
- },
13
- {
14
- "name":"Context",
15
- "triggerWord": "ctx",
16
- "completions": [
17
- {
18
- "label": "customMethod",
19
- "kind": "Method",
20
- "insertText": "customMethod((btn,event)=>{\n\t\n})"
21
- },
22
- {
23
- "label": "customProperty",
24
- "kind": "Property",
25
- "insertText": "customProperty"
26
- }
27
- ]
3
+ "name": "Box",
4
+ "triggerWord": "box",
5
+ "completions": []
6
+ },
7
+ {
8
+ "name": "Button",
9
+ "triggerWord": "button",
10
+ "completions": []
11
+ },
12
+ {
13
+ "name": "CardList",
14
+ "triggerWord": "cardlist",
15
+ "completions": []
16
+ },
17
+ {
18
+ "name": "Dialog",
19
+ "triggerWord": "dialog",
20
+ "completions": []
21
+ },
22
+ {
23
+ "name": "Drawer",
24
+ "triggerWord": "drawer",
25
+ "completions": [
26
+ {
27
+ "label": "open",
28
+ "kind": "property",
29
+ "insertText": "open",
30
+ "documentation": " /**\r\n * 是否打开\r\n * @property\r\n */\r"
31
+ },
32
+ {
33
+ "label": "doOpen",
34
+ "kind": "method",
35
+ "insertText": "doOpen",
36
+ "documentation": " /**\r\n * 打开弹窗\r\n * @method\r\n */\r"
37
+ },
38
+ {
39
+ "label": "doClose",
40
+ "kind": "method",
41
+ "insertText": "doClose",
42
+ "documentation": " /**\r\n * 关闭弹窗\r\n * @method\r\n */\r"
43
+ },
44
+ {
45
+ "label": "toggle",
46
+ "kind": "method",
47
+ "insertText": "toggle",
48
+ "documentation": " /**\r\n * @method\r\n * 切换弹窗\r\n */\r"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "name": "Form",
54
+ "triggerWord": "form",
55
+ "completions": []
56
+ },
57
+ {
58
+ "name": "Iframe",
59
+ "triggerWord": "iframe",
60
+ "completions": []
61
+ },
62
+ {
63
+ "name": "Image",
64
+ "triggerWord": "image",
65
+ "completions": []
66
+ },
67
+ {
68
+ "name": "ImEx",
69
+ "triggerWord": "imex",
70
+ "completions": []
71
+ },
72
+ {
73
+ "name": "JSX",
74
+ "triggerWord": "jsx",
75
+ "completions": []
76
+ },
77
+ {
78
+ "name": "Layout",
79
+ "triggerWord": "layout",
80
+ "completions": []
81
+ },
82
+ {
83
+ "name": "Link",
84
+ "triggerWord": "link",
85
+ "completions": []
86
+ },
87
+ {
88
+ "name": "PageContent",
89
+ "triggerWord": "pagecontent",
90
+ "completions": []
91
+ },
92
+ {
93
+ "name": "PageFooter",
94
+ "triggerWord": "pagefooter",
95
+ "completions": []
96
+ },
97
+ {
98
+ "name": "PageHeader",
99
+ "triggerWord": "pageheader",
100
+ "completions": []
101
+ },
102
+ {
103
+ "name": "PageModal",
104
+ "triggerWord": "pagemodal",
105
+ "completions": []
106
+ },
107
+ {
108
+ "name": "Section",
109
+ "triggerWord": "section",
110
+ "completions": []
111
+ },
112
+ {
113
+ "name": "Split",
114
+ "triggerWord": "split",
115
+ "completions": []
116
+ },
117
+ {
118
+ "name": "Table",
119
+ "triggerWord": "table",
120
+ "completions": []
121
+ },
122
+ {
123
+ "name": "Tabs",
124
+ "triggerWord": "tabs",
125
+ "completions": []
126
+ },
127
+ {
128
+ "name": "Text",
129
+ "triggerWord": "text",
130
+ "completions": []
131
+ },
132
+ {
133
+ "name": "Tree",
134
+ "triggerWord": "tree",
135
+ "completions": []
136
+ },
137
+ {
138
+ "name": "ContextProvider",
139
+ "triggerWord": "ctx",
140
+ "completions": [
141
+ {
142
+ "label": "getParentElement",
143
+ "kind": "method",
144
+ "insertText": "getParentElement(id)",
145
+ "documentation": " /**\r\n * @method\r\n * @param {string} id - 组件id\r\n * @return {object}\r\n */\r"
146
+ },
147
+ {
148
+ "label": "getUrlParams",
149
+ "kind": "method",
150
+ "insertText": "getUrlParams",
151
+ "documentation": " /**\r\n * @method\r\n * @return {object}\r\n */\r"
152
+ }
153
+ ]
28
154
  }
29
- ]
155
+ ]
@@ -6,5 +6,6 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "style": {}
9
+ "css": "width: 100%; height: auto;",
10
+ "render": "function Component() {\n\treturn(\n\t\t<div>\n\t\t\t此为自定义代码组件,请使用 JSX 语法\n\t\t</div>\n\t)\n}"
10
11
  }
@@ -9,17 +9,22 @@
9
9
  "props": [
10
10
  {
11
11
  "key": "id",
12
- "desc": "唯一标识",
12
+ "name": "唯一标识",
13
13
  "type": "string",
14
14
  "disabled": true
15
15
  },
16
16
  {
17
17
  "key": "render",
18
18
  "name": "编辑jsx代码",
19
- "desc": "可执行的jsx代码",
20
- "type": "_CodeEditor"
19
+ "desc": "编写可执行的完整jsx组件代码",
20
+ "type": "_JSEditor",
21
+ "default": "function Component() {\n\treturn(\n\t\t<div>\n\t\t\t此为自定义代码组件,请使用 JSX 语法\n\t\t</div>\n\t)\n}",
22
+ "mustConfirm": true,
23
+ "wrapper": "collapse",
24
+ "wrapperProps": {
25
+ "suppressIcon": true
26
+ }
21
27
  }
22
28
  ],
23
- "style": {},
24
- "advance": {}
29
+ "css": "width: 100%; height: auto;"
25
30
  }
@@ -6,8 +6,11 @@
6
6
  "groupName": "布局",
7
7
  "desc": "布局容器是一种提供列比例、列间距、行间距和样式等配置选项的元素,用于创建灵活的页面布局。它使用户能够轻松组织和排列组件,并实现各种复杂的布局需求。",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "columnRatio": "12:3:9",
11
11
  "columnSpacing": 16,
12
- "lineSpacing": 16
12
+ "lineSpacing": 16,
13
+ "advance": {
14
+ "events": {}
15
+ }
13
16
  }
@@ -10,7 +10,6 @@
10
10
  {
11
11
  "key": "id",
12
12
  "name": "唯一标识",
13
- "desc": "组件的唯一标识符,不能够与其它组件重名,不能够为空,且只能够使用以字母开头的,下划线以及数字的组合",
14
13
  "type": "string",
15
14
  "disabled": true
16
15
  },
@@ -88,7 +87,7 @@
88
87
  "default": 16
89
88
  }
90
89
  ],
91
- "style": {},
90
+ "css": {},
92
91
  "advance": {
93
92
  "events": [
94
93
  {
@@ -6,9 +6,12 @@
6
6
  "groupName": "基础",
7
7
  "desc": "用于创建可点击的链接,以便用户可以跳转到其他页面或访问相关内容。超链组件提供了简单而直观的方式来创建和管理链接。",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": {},
10
10
  "textOverflow": false,
11
11
  "type": "page",
12
12
  "isLayer": false,
13
- "effect": "hidden"
13
+ "effect": "hidden",
14
+ "advance": {
15
+ "events": {}
16
+ }
14
17
  }
@@ -17,7 +17,7 @@
17
17
  "key": "content",
18
18
  "name": "内容",
19
19
  "desc": "超链接的展示内容",
20
- "type": "string"
20
+ "type": "_I18nInput"
21
21
  },
22
22
  {
23
23
  "key": "textOverflow",
@@ -66,7 +66,7 @@
66
66
  "key": "serials",
67
67
  "name": "资源串",
68
68
  "desc": "挂接模块资源串",
69
- "type": "string"
69
+ "type": "_SerialsSelector"
70
70
  },
71
71
  {
72
72
  "key": "effect",
@@ -86,7 +86,7 @@
86
86
  "default": "hidden"
87
87
  }
88
88
  ],
89
- "style": {},
89
+ "css": {},
90
90
  "advance": {
91
91
  "events": [
92
92
  {
@@ -0,0 +1,97 @@
1
+ export default {
2
+ "luckda.lowcode.page": "页面",
3
+ "luckda.lowcode.modal": "模态视图层",
4
+ "luckda.lowcode.painter.I18n.search": "搜索文案",
5
+ "luckda.lowcode.painter.I18n.add": "新增文案",
6
+ "luckda.lowcode.painter.components.search": "搜索组件",
7
+ "ccm.dev.page.set.components.base": "基础组件",
8
+ "ccm.dev.page.set.components.dataset": "数据集字段",
9
+ "luckda.lowcode.painter.panel-section.width-height": "请输入数值",
10
+ "luckda.lowcode.painter.edit": "编辑",
11
+ "luckda.lowcode.painter.delete": "删除",
12
+ "luckda.lowcode.painter.panel-section.tabsitems.edit": "添加",
13
+ "luckda.lowcode.painter.panel-section.tabsitems.delete": "删除",
14
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.tabname": "名称",
15
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.tabname.placeholder": "请输入标签名称",
16
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.id": "编号",
17
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.reskey": "控制效果",
18
+ "luckda.lowcode.painter.panel-section.tabsitems.editor.reskey.placeholder": "请输入资源串",
19
+ "luckda.lowcode.painter.panel-section.Layoutratio.err": "必须是数字或者数字加:号的组合,且数字之和必须等于12",
20
+ "luckda.lowcode.painter.panel-section.Layoutratio.label": "列比例",
21
+ "luckda.lowcode.painter.panel-section.Layoutratio.placeholder": "请输入列比例",
22
+ "luckda.lowcode.painter.panel-section.style-panel.sourceedit": "源码编辑",
23
+ "luckda.lowcode.painter.import": "导入",
24
+ "luckda.lowcode.painter.export": "导出",
25
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.big": "大",
26
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.middle": "中",
27
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.small": "小",
28
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.none": "无",
29
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.custom": "自定义",
30
+ "luckda.lowcode.painter.panel-section.style-panel.box-shadow.detail.color": "颜色",
31
+ "luckda.lowcode.painter.panel-section.style-panel.padding.top": "上边距",
32
+ "luckda.lowcode.painter.panel-section.style-panel.padding.right": "右边距",
33
+ "luckda.lowcode.painter.panel-section.style-panel.padding.down": "下边距",
34
+ "luckda.lowcode.painter.panel-section.style-panel.padding.left": "左边距",
35
+ "luckda.lowcode.painter.panel-section.style-panel.margin.top": "上间距",
36
+ "luckda.lowcode.painter.panel-section.style-panel.margin.right": "右间距",
37
+ "luckda.lowcode.painter.panel-section.style-panel.margin.down": "下间距",
38
+ "luckda.lowcode.painter.panel-section.style-panel.margin.left": "左间距",
39
+ "luckda.lowcode.painter.panel-section.style-panel.group-name": "样式设置",
40
+ "luckda.lowcode.painter.panel-section.style-panel.width": "请输入宽高度",
41
+ "luckda.lowcode.painter.panel-section.style-panel.display": "显示",
42
+ "luckda.lowcode.painter.panel-section.style-panel.margin.superbig": "超大(24px)",
43
+ "luckda.lowcode.painter.panel-section.style-panel.margin.big": "大(20px)",
44
+ "luckda.lowcode.painter.panel-section.style-panel.margin.middle": "中(16px)",
45
+ "luckda.lowcode.painter.panel-section.style-panel.margin.small": "小(12px)",
46
+ "luckda.lowcode.painter.panel-section.style-panel.margin.supersmall": "超小(8px)",
47
+ "luckda.lowcode.painter.panel-section.style-panel.margin.none": "无(0px)",
48
+ "luckda.lowcode.painter.panel-section.style-panel.margin.default": "默认",
49
+ "luckda.lowcode.painter.panel-section.style-panel.font.weight": "字重",
50
+ "luckda.lowcode.painter.panel-section.style-panel.font.style": "样式",
51
+ "luckda.lowcode.painter.panel-section.style-panel.font.color": "字体颜色",
52
+ "luckda.lowcode.painter.panel-section.style-panel.font.size": "字体大小",
53
+ "luckda.lowcode.painter.panel-section.style-panel.font.align": "对齐",
54
+ "luckda.lowcode.painter.panel-section.style-panel.font.align.left": "左对齐",
55
+ "luckda.lowcode.painter.panel-section.style-panel.font.align.center": "自适应",
56
+ "luckda.lowcode.painter.panel-section.style-panel.font.style.none": "无",
57
+ "luckda.lowcode.painter.panel-section.style-panel.font.style.underline": "下划线",
58
+ "luckda.lowcode.painter.panel-section.style-panel.font.style.line-through": "中划线",
59
+ "luckda.lowcode.painter.panel-section.style-panel.font": "文字",
60
+ "luckda.lowcode.painter.panel-section.style-panel.font.h1": "一级标题",
61
+ "luckda.lowcode.painter.panel-section.style-panel.font.h2": "二级标题",
62
+ "luckda.lowcode.painter.panel-section.style-panel.font.h3": "三级标题",
63
+ "luckda.lowcode.painter.panel-section.style-panel.font.paragraph": "段落",
64
+ "luckda.lowcode.painter.panel-section.style-panel.font.default": "无",
65
+ "luckda.lowcode.painter.panel-section.style-panel.font.custom": "自定义",
66
+ "luckda.lowcode.painter.panel-section.style-panel.display.block": "块",
67
+ "luckda.lowcode.painter.panel-section.style-panel.display.inline-block": "行内块",
68
+ "luckda.lowcode.painter.panel-section.style-panel.display.inline": "行内",
69
+ "luckda.lowcode.painter.panel-section.style-panel.display.flex": "弹性",
70
+ "luckda.lowcode.painter.panel-section.style-panel.display.direct.row": "方向:横向",
71
+ "luckda.lowcode.painter.panel-section.style-panel.display.direct.column": "方向:纵向反转",
72
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-start": "交叉轴:起始对齐",
73
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.center": "交叉轴:居中",
74
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.flex-end": "交叉轴:终点对齐",
75
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.stretch": "交叉轴:拉伸",
76
+ "luckda.lowcode.painter.panel-section.style-panel.display.align-items.baseline": "交叉轴:基线",
77
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-start": "水平轴:起始对齐",
78
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.center": "水平轴:居中对齐",
79
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.flex-end": "水平轴:结束对齐",
80
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.space-between": "水平轴:两端对齐",
81
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.space-around": "水平轴:均匀对齐,项目周围间隔相等",
82
+ "luckda.lowcode.painter.panel-section.style-panel.display.justify.space-evenly": "水平轴:均匀分布,所有项目与容器边缘的间隔相等",
83
+ "luckda.lowcode.painter.panel-section.style-panel.border-radius": " 圆角",
84
+ "luckda.lowcode.painter.panel-section.style-panel.border-radius.width": "半径",
85
+ "luckda.lowcode.painter.panel-section.style-panel.border": "边框",
86
+ "luckda.lowcode.painter.panel-section.style-panel.border.style": "边框",
87
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.none": "无",
88
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.solid": "实线条",
89
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.dotted": "点线",
90
+ "luckda.lowcode.painter.panel-section.style-panel.border.style.dashed": "虚线",
91
+ "luckda.lowcode.painter.panel-section.style-panel.border.width": "线宽",
92
+ "luckda.lowcode.painter.panel-section.style-panel.border.color": "颜色",
93
+ "luckda.lowcode.painter.panel-section.style-panel.background": "背景",
94
+ "luckda.lowcode.painter.coder": "编码器",
95
+ "luckda.lowcode.painter.panel-section.components.listeditor.add": "添加一项",
96
+ "luckda.lowcode.painter.components.fullscreen.tip": "全屏"
97
+ };
@@ -0,0 +1,12 @@
1
+ {
2
+ "component": "Page",
3
+ "name": "页面",
4
+ "group": "build-in",
5
+ "css": "background-color: transparent;",
6
+ "enableHeader": "false",
7
+ "fixedHeader": "true",
8
+ "enableFooter": "false",
9
+ "advance": {
10
+ "events": {}
11
+ }
12
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "component": "Page",
3
+ "name": "页面",
4
+ "group": "build-in",
5
+ "props": [
6
+ {
7
+ "key": "pageSlot",
8
+ "name": "页面插槽",
9
+ "type": "group",
10
+ "props": [
11
+ {
12
+ "key": "enableHeader",
13
+ "name": "启用页头",
14
+ "type": "switch",
15
+ "default": "false"
16
+ },
17
+ {
18
+ "key": "fixedHeader",
19
+ "name": "固定页头",
20
+ "type": "switch",
21
+ "default": "true"
22
+ },
23
+ {
24
+ "key": "enableFooter",
25
+ "name": "启用页尾",
26
+ "type": "switch",
27
+ "default": "false"
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ "css": "background-color: transparent;",
33
+ "advance": {
34
+ "events": [
35
+ {
36
+ "key": "onPageMount",
37
+ "name": "组件首次渲染时",
38
+ "desc": "在组件首次渲染时,执行方法",
39
+ "func": "(params)=>{\n\t\n}"
40
+ },
41
+ {
42
+ "key": "onPageUnmount",
43
+ "name": "组件卸载时",
44
+ "desc": "在组件卸载时,执行方法。",
45
+ "func": "(params)=>{\n\t\n}"
46
+ }
47
+ ]
48
+ }
49
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "component": "PageContent",
3
+ "name": "页面内容",
4
+ "group": "build-in",
5
+ "css": "background-color: transparent"
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "component": "PageContent",
3
+ "name": "页面内容",
4
+ "group": "build-in",
5
+ "props": [],
6
+ "css": "background-color: transparent"
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "component": "PageFooter",
3
+ "name": "页面尾",
4
+ "group": "build-in",
5
+ "css": "width: 100%; height: 80px; background-color: transparent"
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "component": "PageFooter",
3
+ "name": "页面尾",
4
+ "group": "build-in",
5
+ "props": [],
6
+ "css": "width: 100%; height: 80px; background-color: transparent"
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "component": "PageHeader",
3
+ "name": "页面头",
4
+ "group": "build-in",
5
+ "css": "width: 100%; height:120px; background-color: #fff; margin-bottom: 8px"
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "component": "PageHeader",
3
+ "name": "页面头",
4
+ "group": "build-in",
5
+ "props": [],
6
+ "css": "width: 100%; height:120px; background-color: #fff; margin-bottom: 8px"
7
+ }
@@ -6,12 +6,13 @@
6
6
  "groupName": "布局",
7
7
  "desc": "分组组件用于将相关组件或内容进行分组和组织。使用户能够轻松创建具有分组效果的界面,并根据需要进行定制。s",
8
8
  "order": 1,
9
- "style": {},
9
+ "css": "width: 100%;",
10
10
  "collapse": true,
11
- "showHeader": true,
11
+ "simple": false,
12
+ "padding": true,
13
+ "destroyInactivePanel": false,
12
14
  "title": "分组",
13
- "showHeaderDivider": true,
14
- "showBorder": false,
15
- "withMargin": false,
16
- "withPadding": true
15
+ "advance": {
16
+ "events": {}
17
+ }
17
18
  }