@luck-design-biz/luckda 1.0.0-alpha → 1.0.1-10

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 (540) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/es/components/Builder/index.js +15 -3
  4. package/es/components/ComplexItem/index.js +65 -49
  5. package/es/components/LDActions/index.less +68 -68
  6. package/es/components/LdAutoForm/index.js +6 -4
  7. package/es/components/LdFormList/index.js +11 -10
  8. package/es/components/LdGrid/index.js +4 -4
  9. package/es/components/LdGridForm/index.js +40 -23
  10. package/es/components/LdGridForm/index.less +7 -7
  11. package/es/components/LdTree/index.less +40 -40
  12. package/es/helper/action.js +6 -6
  13. package/es/helper/form.js +15 -14
  14. package/es/helper/index.less +7 -7
  15. package/es/helper/ldBuilder.js +8 -3
  16. package/es/locales/zh-CN.js +41 -4
  17. package/es/lowcode/constants/api-url.js +87 -87
  18. package/es/lowcode/constants/event-topics.js +0 -2
  19. package/es/lowcode/engine/launcher.js +3 -1
  20. package/es/lowcode/engine/meta/box.props.json +3 -3
  21. package/es/lowcode/engine/meta/button.props.default.json +1 -1
  22. package/es/lowcode/engine/meta/button.props.json +2 -2
  23. package/es/lowcode/engine/meta/cardlist.props.default.json +1 -0
  24. package/es/lowcode/engine/meta/cardlist.props.json +2 -1
  25. package/es/lowcode/engine/meta/components-list.json +6 -126
  26. package/es/lowcode/engine/meta/dialog.props.default.json +4 -2
  27. package/es/lowcode/engine/meta/dialog.props.json +76 -20
  28. package/es/lowcode/engine/meta/drawer.props.default.json +15 -4
  29. package/es/lowcode/engine/meta/drawer.props.json +144 -24
  30. package/es/lowcode/engine/meta/fieldcomplex.props.default.json +1 -0
  31. package/es/lowcode/engine/meta/fieldcomplex.props.json +7 -0
  32. package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  33. package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
  34. package/es/lowcode/engine/meta/fielddate.props.default.json +2 -0
  35. package/es/lowcode/engine/meta/fielddate.props.json +4 -2
  36. package/es/lowcode/engine/meta/fieldnumber.props.default.json +1 -0
  37. package/es/lowcode/engine/meta/fieldnumber.props.json +3 -2
  38. package/es/lowcode/engine/meta/fielduser.props.default.json +1 -1
  39. package/es/lowcode/engine/meta/fielduser.props.json +1 -1
  40. package/es/lowcode/engine/meta/form.props.default.json +14 -4
  41. package/es/lowcode/engine/meta/form.props.json +53 -14
  42. package/es/lowcode/engine/meta/grouptree.props.default.json +16 -0
  43. package/es/lowcode/engine/meta/grouptree.props.json +89 -0
  44. package/es/lowcode/engine/meta/iframe.props.default.json +2 -1
  45. package/es/lowcode/engine/meta/iframe.props.json +3 -2
  46. package/es/lowcode/engine/meta/image.props.default.json +2 -1
  47. package/es/lowcode/engine/meta/image.props.json +3 -2
  48. package/es/lowcode/engine/meta/imex.props.default.json +2 -1
  49. package/es/lowcode/engine/meta/imex.props.json +27 -6
  50. package/es/lowcode/engine/meta/js-editor/auto-complete.json +65 -42
  51. package/es/lowcode/engine/meta/jsx.props.default.json +1 -1
  52. package/es/lowcode/engine/meta/jsx.props.json +1 -1
  53. package/es/lowcode/engine/meta/layout.props.default.json +1 -1
  54. package/es/lowcode/engine/meta/layout.props.json +5 -5
  55. package/es/lowcode/engine/meta/link.props.default.json +2 -1
  56. package/es/lowcode/engine/meta/link.props.json +3 -2
  57. package/es/lowcode/engine/meta/page.props.json +6 -0
  58. package/es/lowcode/engine/meta/pagelayout.props.default.json +1 -1
  59. package/es/lowcode/engine/meta/pagelayout.props.json +1 -1
  60. package/es/lowcode/engine/meta/section.props.json +2 -1
  61. package/es/lowcode/engine/meta/split.props.default.json +1 -1
  62. package/es/lowcode/engine/meta/split.props.json +1 -1
  63. package/es/lowcode/engine/meta/table.props.json +3 -3
  64. package/es/lowcode/engine/meta/text.props.default.json +4 -2
  65. package/es/lowcode/engine/meta/text.props.json +8 -6
  66. package/es/lowcode/engine/meta/tree.props.json +2 -2
  67. package/es/lowcode/engine/provider/ContextProvider/index.js +83 -66
  68. package/es/lowcode/engine/provider/ContextProvider/router.js +43 -0
  69. package/es/lowcode/engine/{tools → provider/ContextProvider}/usePageDataStore.js +9 -7
  70. package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +38 -15
  71. package/es/lowcode/engine/{tools → provider/ContextProvider}/useTodo.js +5 -7
  72. package/es/lowcode/engine/provider/ContextProvider/utils.js +157 -0
  73. package/es/lowcode/engine/provider/RemoteSourceProvider.js +1 -2
  74. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  75. package/es/lowcode/engine/tools/helper.js +28 -2
  76. package/es/lowcode/engine/tools/initDS.js +263 -0
  77. package/es/lowcode/engine/tools/useCanvasRender.js +13 -1
  78. package/es/lowcode/engine/tools/useCombinedRefs.js +3 -2
  79. package/es/lowcode/painter/Components.js +2 -2
  80. package/es/lowcode/painter/Design.js +1 -0
  81. package/es/lowcode/painter/DesignOperator.js +25 -11
  82. package/es/lowcode/painter/Panel.js +2 -2
  83. package/es/lowcode/painter/components/AdvancePanel.js +3 -3
  84. package/es/lowcode/painter/components/Collapse.js +31 -28
  85. package/es/lowcode/painter/components/ColorInput.js +24 -24
  86. package/es/lowcode/painter/components/ListEditor.js +24 -24
  87. package/es/lowcode/painter/components/NumberInput.js +29 -29
  88. package/es/lowcode/painter/components/PanelItem.js +24 -24
  89. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  90. package/es/lowcode/painter/components/PopForm.js +27 -27
  91. package/es/lowcode/painter/components/RuleInput.js +30 -30
  92. package/es/lowcode/painter/components/SortBox.js +22 -22
  93. package/es/lowcode/painter/components/TipIcon.js +16 -0
  94. package/es/lowcode/painter/components/VarEditor.js +456 -0
  95. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  96. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  97. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +25 -25
  98. package/es/lowcode/painter/components/code-editor/JSEditor.js +23 -21
  99. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  100. package/es/lowcode/painter/components/code-editor/VisionEditor.js +81 -0
  101. package/es/lowcode/painter/components/field-setting/SettingUI.js +47 -5
  102. package/es/lowcode/painter/components/field-setting/index.js +27 -13
  103. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +2 -1
  104. package/es/lowcode/painter/index.js +1 -0
  105. package/es/lowcode/painter/panel-section/BlockEditor/index.js +20 -6
  106. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +2 -2
  107. package/es/lowcode/painter/panel-section/ComplexPop.js +242 -0
  108. package/es/lowcode/painter/panel-section/DataSetSelector.js +8 -0
  109. package/es/lowcode/painter/panel-section/FieldsSetting.js +30 -4
  110. package/es/lowcode/painter/panel-section/GroupClassSelector.js +55 -0
  111. package/es/lowcode/painter/panel-section/I18nInput.js +4 -2
  112. package/es/lowcode/painter/panel-section/Icon.js +32 -27
  113. package/es/lowcode/painter/panel-section/IconConditionSelector.js +7 -7
  114. package/es/lowcode/painter/panel-section/IconSelector.js +17 -17
  115. package/es/lowcode/painter/panel-section/ImpExp.js +1 -27
  116. package/es/lowcode/painter/panel-section/ImpExpAlone.js +1 -2
  117. package/es/lowcode/painter/panel-section/LayoutRatio.js +22 -21
  118. package/es/lowcode/painter/panel-section/PageVars.js +300 -0
  119. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  120. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  121. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  122. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  123. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  124. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  125. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  126. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  127. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  128. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  129. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  130. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  131. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  132. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  133. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  134. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  135. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  136. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  137. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  138. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +6 -5
  139. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  140. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  141. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  142. package/es/lowcode/painter/panel-section/TabItems.js +6 -42
  143. package/es/lowcode/painter/panel-section/TextContent.js +79 -0
  144. package/es/lowcode/painter/services/complexPop.js +21 -0
  145. package/es/lowcode/painter/style/action-bind-modal.less +102 -102
  146. package/es/lowcode/painter/style/actions-editor.less +15 -15
  147. package/es/lowcode/painter/style/border-editor.less +36 -36
  148. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  149. package/es/lowcode/painter/style/border-selector.less +39 -39
  150. package/es/lowcode/painter/style/button-type.less +5 -5
  151. package/es/lowcode/painter/style/collapse.less +28 -28
  152. package/es/lowcode/painter/style/color-input.less +19 -19
  153. package/es/lowcode/painter/style/components.less +91 -91
  154. package/es/lowcode/painter/style/design.less +166 -160
  155. package/es/lowcode/painter/style/display.less +17 -17
  156. package/es/lowcode/painter/style/dragdrop.less +10 -10
  157. package/es/lowcode/painter/style/fields-setting.less +25 -25
  158. package/es/lowcode/painter/style/font-editor.less +9 -9
  159. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  160. package/es/lowcode/painter/style/icon-selector.less +22 -22
  161. package/es/lowcode/painter/style/icon.less +10 -10
  162. package/es/lowcode/painter/style/impexp.less +7 -7
  163. package/es/lowcode/painter/style/index.less +6 -6
  164. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  165. package/es/lowcode/painter/style/list-editor.less +95 -95
  166. package/es/lowcode/painter/style/number-input.less +17 -17
  167. package/es/lowcode/painter/style/outline.less +28 -28
  168. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  169. package/es/lowcode/painter/style/page-vars.less +25 -0
  170. package/es/lowcode/painter/style/panel-attrs.less +43 -43
  171. package/es/lowcode/painter/style/panel-item.less +54 -54
  172. package/es/lowcode/painter/style/panel.less +98 -98
  173. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  174. package/es/lowcode/painter/style/pop-form.less +19 -19
  175. package/es/lowcode/painter/style/radio.less +24 -24
  176. package/es/lowcode/painter/style/ribbon.less +5 -5
  177. package/es/lowcode/painter/style/rule-input.less +12 -12
  178. package/es/lowcode/painter/style/split-display.less +18 -18
  179. package/es/lowcode/painter/style/style-panel.less +37 -37
  180. package/es/lowcode/painter/style/tabitems.less +90 -90
  181. package/es/lowcode/painter/style/treedragdrop.less +19 -19
  182. package/es/lowcode/preview/index.js +1 -0
  183. package/es/lowcode/view/Canvas.js +24 -22
  184. package/es/lowcode/view/Loading.js +5 -7
  185. package/es/lowcode/view/Page.js +37 -15
  186. package/es/lowcode/view/index.js +1 -0
  187. package/es/lowcode/view/lc-components/Box/index.js +22 -7
  188. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  189. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  190. package/es/lowcode/view/lc-components/Button/index.js +40 -40
  191. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  192. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  193. package/es/lowcode/view/lc-components/CardList/meta.json +154 -153
  194. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +14 -6
  195. package/es/lowcode/view/lc-components/Dialog/index.js +34 -25
  196. package/es/lowcode/view/lc-components/Dialog/index.less +12 -8
  197. package/es/lowcode/view/lc-components/Dialog/meta.json +204 -150
  198. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +51 -8
  199. package/es/lowcode/view/lc-components/Drawer/index.js +149 -34
  200. package/es/lowcode/view/lc-components/Drawer/index.less +13 -10
  201. package/es/lowcode/view/lc-components/Drawer/meta.json +242 -131
  202. package/es/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  203. package/es/lowcode/view/lc-components/FieldComplex/meta.json +140 -133
  204. package/es/lowcode/view/lc-components/FieldDate/meta.json +141 -139
  205. package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  206. package/es/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
  207. package/es/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
  208. package/es/lowcode/view/lc-components/FieldNumber/meta.json +143 -142
  209. package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  210. package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  211. package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  212. package/es/lowcode/view/lc-components/FieldString/meta.json +152 -152
  213. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  214. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  215. package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  216. package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  217. package/es/lowcode/view/lc-components/FieldYear/meta.json +129 -129
  218. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
  219. package/es/lowcode/view/lc-components/Form/index.js +76 -51
  220. package/es/lowcode/view/lc-components/Form/meta.json +645 -610
  221. package/es/lowcode/view/lc-components/GroupTree/FunctionDesign.js +10 -0
  222. package/es/lowcode/view/lc-components/GroupTree/FunctionLive.js +10 -0
  223. package/es/lowcode/view/lc-components/GroupTree/FunctionPreview.js +10 -0
  224. package/es/lowcode/view/lc-components/GroupTree/index.js +201 -0
  225. package/es/lowcode/view/lc-components/GroupTree/meta.json +89 -0
  226. package/es/lowcode/view/lc-components/Iframe/meta.json +33 -32
  227. package/es/lowcode/view/lc-components/ImEx/index.js +199 -128
  228. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  229. package/es/lowcode/view/lc-components/ImEx/meta.json +134 -113
  230. package/es/lowcode/view/lc-components/Image/meta.json +115 -114
  231. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  232. package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
  233. package/es/lowcode/view/lc-components/Layout/index.js +38 -21
  234. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  235. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  236. package/es/lowcode/view/lc-components/Link/meta.json +113 -112
  237. package/es/lowcode/view/lc-components/Page/meta.json +61 -55
  238. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  239. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  240. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  241. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +5 -1
  242. package/es/lowcode/view/lc-components/PageLayout/meta.json +59 -59
  243. package/es/lowcode/view/lc-components/Section/index.js +2 -6
  244. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  245. package/es/lowcode/view/lc-components/Section/meta.json +108 -107
  246. package/es/lowcode/view/lc-components/Split/index.js +19 -4
  247. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  248. package/es/lowcode/view/lc-components/Table/index.js +175 -148
  249. package/es/lowcode/view/lc-components/Table/meta.json +450 -450
  250. package/es/lowcode/view/lc-components/Tabs/index.js +42 -39
  251. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  252. package/es/lowcode/view/lc-components/Text/index.js +9 -2
  253. package/es/lowcode/view/lc-components/Text/meta.json +56 -56
  254. package/es/lowcode/view/lc-components/Tree/index.js +102 -107
  255. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  256. package/es/lowcode/view/lc-components/Tree/meta.json +357 -357
  257. package/es/lowcode/view/lc-components/Wrapper.js +17 -2
  258. package/es/lowcode/view/style/canvas.less +5 -5
  259. package/es/lowcode/view/style/loading.less +98 -84
  260. package/es/lowcode/view/style/page.less +7 -7
  261. package/es/services.js +19 -0
  262. package/es/upload/FilesWall/index.js +13 -13
  263. package/es/upload/FilesWall/index.less +74 -74
  264. package/es/upload/Form/gridForm.js +17 -7
  265. package/es/upload/Form/index.less +7 -7
  266. package/es/upload/FormItem/index.js +18 -18
  267. package/es/utils/form.js +25 -25
  268. package/es/utils/grid.js +5 -4
  269. package/lib/components/Builder/index.js +13 -1
  270. package/lib/components/ComplexItem/index.js +62 -47
  271. package/lib/components/LDActions/index.less +68 -68
  272. package/lib/components/LdAutoForm/index.js +5 -3
  273. package/lib/components/LdFormList/index.js +12 -11
  274. package/lib/components/LdGrid/index.js +4 -4
  275. package/lib/components/LdGridForm/index.js +40 -23
  276. package/lib/components/LdGridForm/index.less +7 -7
  277. package/lib/components/LdTree/index.less +40 -40
  278. package/lib/helper/action.js +6 -6
  279. package/lib/helper/form.js +15 -14
  280. package/lib/helper/index.less +7 -7
  281. package/lib/helper/ldBuilder.js +8 -3
  282. package/lib/locales/zh-CN.js +41 -4
  283. package/lib/lowcode/constants/api-url.js +87 -87
  284. package/lib/lowcode/constants/event-topics.js +1 -3
  285. package/lib/lowcode/engine/launcher.js +3 -1
  286. package/lib/lowcode/engine/meta/box.props.json +3 -3
  287. package/lib/lowcode/engine/meta/button.props.default.json +1 -1
  288. package/lib/lowcode/engine/meta/button.props.json +2 -2
  289. package/lib/lowcode/engine/meta/cardlist.props.default.json +1 -0
  290. package/lib/lowcode/engine/meta/cardlist.props.json +2 -1
  291. package/lib/lowcode/engine/meta/components-list.json +6 -126
  292. package/lib/lowcode/engine/meta/dialog.props.default.json +4 -2
  293. package/lib/lowcode/engine/meta/dialog.props.json +76 -20
  294. package/lib/lowcode/engine/meta/drawer.props.default.json +15 -4
  295. package/lib/lowcode/engine/meta/drawer.props.json +144 -24
  296. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +1 -0
  297. package/lib/lowcode/engine/meta/fieldcomplex.props.json +7 -0
  298. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  299. package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
  300. package/lib/lowcode/engine/meta/fielddate.props.default.json +2 -0
  301. package/lib/lowcode/engine/meta/fielddate.props.json +4 -2
  302. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +1 -0
  303. package/lib/lowcode/engine/meta/fieldnumber.props.json +3 -2
  304. package/lib/lowcode/engine/meta/fielduser.props.default.json +1 -1
  305. package/lib/lowcode/engine/meta/fielduser.props.json +1 -1
  306. package/lib/lowcode/engine/meta/form.props.default.json +14 -4
  307. package/lib/lowcode/engine/meta/form.props.json +53 -14
  308. package/lib/lowcode/engine/meta/grouptree.props.default.json +16 -0
  309. package/lib/lowcode/engine/meta/grouptree.props.json +89 -0
  310. package/lib/lowcode/engine/meta/iframe.props.default.json +2 -1
  311. package/lib/lowcode/engine/meta/iframe.props.json +3 -2
  312. package/lib/lowcode/engine/meta/image.props.default.json +2 -1
  313. package/lib/lowcode/engine/meta/image.props.json +3 -2
  314. package/lib/lowcode/engine/meta/imex.props.default.json +2 -1
  315. package/lib/lowcode/engine/meta/imex.props.json +27 -6
  316. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +65 -42
  317. package/lib/lowcode/engine/meta/jsx.props.default.json +1 -1
  318. package/lib/lowcode/engine/meta/jsx.props.json +1 -1
  319. package/lib/lowcode/engine/meta/layout.props.default.json +1 -1
  320. package/lib/lowcode/engine/meta/layout.props.json +5 -5
  321. package/lib/lowcode/engine/meta/link.props.default.json +2 -1
  322. package/lib/lowcode/engine/meta/link.props.json +3 -2
  323. package/lib/lowcode/engine/meta/page.props.json +6 -0
  324. package/lib/lowcode/engine/meta/pagelayout.props.default.json +1 -1
  325. package/lib/lowcode/engine/meta/pagelayout.props.json +1 -1
  326. package/lib/lowcode/engine/meta/section.props.json +2 -1
  327. package/lib/lowcode/engine/meta/split.props.default.json +1 -1
  328. package/lib/lowcode/engine/meta/split.props.json +1 -1
  329. package/lib/lowcode/engine/meta/table.props.json +3 -3
  330. package/lib/lowcode/engine/meta/text.props.default.json +4 -2
  331. package/lib/lowcode/engine/meta/text.props.json +8 -6
  332. package/lib/lowcode/engine/meta/tree.props.json +2 -2
  333. package/lib/lowcode/engine/provider/ContextProvider/index.js +81 -64
  334. package/lib/lowcode/engine/provider/ContextProvider/router.js +57 -0
  335. package/lib/lowcode/engine/{tools → provider/ContextProvider}/usePageDataStore.js +9 -7
  336. package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js +38 -16
  337. package/lib/lowcode/engine/{tools → provider/ContextProvider}/useTodo.js +5 -7
  338. package/lib/lowcode/engine/provider/ContextProvider/utils.js +170 -0
  339. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +2 -3
  340. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  341. package/lib/lowcode/engine/tools/helper.js +29 -2
  342. package/lib/lowcode/engine/tools/initDS.js +270 -0
  343. package/lib/lowcode/engine/tools/useCanvasRender.js +13 -1
  344. package/lib/lowcode/engine/tools/useCombinedRefs.js +2 -1
  345. package/lib/lowcode/painter/Components.js +2 -2
  346. package/lib/lowcode/painter/Design.js +1 -0
  347. package/lib/lowcode/painter/DesignOperator.js +24 -10
  348. package/lib/lowcode/painter/Panel.js +2 -2
  349. package/lib/lowcode/painter/components/AdvancePanel.js +3 -3
  350. package/lib/lowcode/painter/components/Collapse.js +31 -28
  351. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  352. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  353. package/lib/lowcode/painter/components/NumberInput.js +29 -29
  354. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  355. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  356. package/lib/lowcode/painter/components/PopForm.js +27 -27
  357. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  358. package/lib/lowcode/painter/components/SortBox.js +22 -22
  359. package/lib/lowcode/painter/components/TipIcon.js +23 -0
  360. package/lib/lowcode/painter/components/VarEditor.js +463 -0
  361. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  362. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  363. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +25 -25
  364. package/lib/lowcode/painter/components/code-editor/JSEditor.js +23 -21
  365. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  366. package/lib/lowcode/painter/components/code-editor/VisionEditor.js +88 -0
  367. package/lib/lowcode/painter/components/field-setting/SettingUI.js +46 -4
  368. package/lib/lowcode/painter/components/field-setting/index.js +27 -13
  369. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +2 -1
  370. package/lib/lowcode/painter/index.js +1 -0
  371. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +19 -5
  372. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +2 -2
  373. package/lib/lowcode/painter/panel-section/ComplexPop.js +250 -0
  374. package/lib/lowcode/painter/panel-section/DataSetSelector.js +8 -0
  375. package/lib/lowcode/painter/panel-section/FieldsSetting.js +30 -4
  376. package/lib/lowcode/painter/panel-section/GroupClassSelector.js +63 -0
  377. package/lib/lowcode/painter/panel-section/I18nInput.js +4 -2
  378. package/lib/lowcode/painter/panel-section/Icon.js +31 -26
  379. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +6 -6
  380. package/lib/lowcode/painter/panel-section/IconSelector.js +17 -17
  381. package/lib/lowcode/painter/panel-section/ImpExp.js +0 -26
  382. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +0 -1
  383. package/lib/lowcode/painter/panel-section/LayoutRatio.js +22 -21
  384. package/lib/lowcode/painter/panel-section/PageVars.js +308 -0
  385. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  386. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  387. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  388. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  389. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  390. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  391. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  392. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  393. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  394. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  395. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  396. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  397. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  398. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  399. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  400. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  401. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  402. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  403. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  404. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +6 -5
  405. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  406. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  407. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  408. package/lib/lowcode/painter/panel-section/TabItems.js +6 -42
  409. package/lib/lowcode/painter/panel-section/TextContent.js +87 -0
  410. package/lib/lowcode/painter/services/complexPop.js +28 -0
  411. package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
  412. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  413. package/lib/lowcode/painter/style/border-editor.less +36 -36
  414. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  415. package/lib/lowcode/painter/style/border-selector.less +39 -39
  416. package/lib/lowcode/painter/style/button-type.less +5 -5
  417. package/lib/lowcode/painter/style/collapse.less +28 -28
  418. package/lib/lowcode/painter/style/color-input.less +19 -19
  419. package/lib/lowcode/painter/style/components.less +91 -91
  420. package/lib/lowcode/painter/style/design.less +166 -160
  421. package/lib/lowcode/painter/style/display.less +17 -17
  422. package/lib/lowcode/painter/style/dragdrop.less +10 -10
  423. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  424. package/lib/lowcode/painter/style/font-editor.less +9 -9
  425. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  426. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  427. package/lib/lowcode/painter/style/icon.less +10 -10
  428. package/lib/lowcode/painter/style/impexp.less +7 -7
  429. package/lib/lowcode/painter/style/index.less +6 -6
  430. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  431. package/lib/lowcode/painter/style/list-editor.less +95 -95
  432. package/lib/lowcode/painter/style/number-input.less +17 -17
  433. package/lib/lowcode/painter/style/outline.less +28 -28
  434. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  435. package/lib/lowcode/painter/style/page-vars.less +25 -0
  436. package/lib/lowcode/painter/style/panel-attrs.less +43 -43
  437. package/lib/lowcode/painter/style/panel-item.less +54 -54
  438. package/lib/lowcode/painter/style/panel.less +98 -98
  439. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  440. package/lib/lowcode/painter/style/pop-form.less +19 -19
  441. package/lib/lowcode/painter/style/radio.less +24 -24
  442. package/lib/lowcode/painter/style/ribbon.less +5 -5
  443. package/lib/lowcode/painter/style/rule-input.less +12 -12
  444. package/lib/lowcode/painter/style/split-display.less +18 -18
  445. package/lib/lowcode/painter/style/style-panel.less +37 -37
  446. package/lib/lowcode/painter/style/tabitems.less +90 -90
  447. package/lib/lowcode/painter/style/treedragdrop.less +19 -19
  448. package/lib/lowcode/preview/index.js +1 -0
  449. package/lib/lowcode/view/Canvas.js +24 -22
  450. package/lib/lowcode/view/Loading.js +5 -7
  451. package/lib/lowcode/view/Page.js +35 -13
  452. package/lib/lowcode/view/index.js +1 -0
  453. package/lib/lowcode/view/lc-components/Box/index.js +21 -6
  454. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  455. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  456. package/lib/lowcode/view/lc-components/Button/index.js +38 -38
  457. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  458. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  459. package/lib/lowcode/view/lc-components/CardList/meta.json +154 -153
  460. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +13 -5
  461. package/lib/lowcode/view/lc-components/Dialog/index.js +34 -25
  462. package/lib/lowcode/view/lc-components/Dialog/index.less +12 -8
  463. package/lib/lowcode/view/lc-components/Dialog/meta.json +204 -150
  464. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +52 -8
  465. package/lib/lowcode/view/lc-components/Drawer/index.js +148 -33
  466. package/lib/lowcode/view/lc-components/Drawer/index.less +13 -10
  467. package/lib/lowcode/view/lc-components/Drawer/meta.json +242 -131
  468. package/lib/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  469. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +140 -133
  470. package/lib/lowcode/view/lc-components/FieldDate/meta.json +141 -139
  471. package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  472. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +138 -138
  473. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +167 -167
  474. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +143 -142
  475. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  476. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  477. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  478. package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -152
  479. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  480. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  481. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  482. package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  483. package/lib/lowcode/view/lc-components/FieldYear/meta.json +129 -129
  484. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
  485. package/lib/lowcode/view/lc-components/Form/index.js +75 -50
  486. package/lib/lowcode/view/lc-components/Form/meta.json +645 -610
  487. package/lib/lowcode/view/lc-components/GroupTree/FunctionDesign.js +17 -0
  488. package/lib/lowcode/view/lc-components/GroupTree/FunctionLive.js +17 -0
  489. package/lib/lowcode/view/lc-components/GroupTree/FunctionPreview.js +17 -0
  490. package/lib/lowcode/view/lc-components/GroupTree/index.js +209 -0
  491. package/lib/lowcode/view/lc-components/GroupTree/meta.json +89 -0
  492. package/lib/lowcode/view/lc-components/Iframe/meta.json +33 -32
  493. package/lib/lowcode/view/lc-components/ImEx/index.js +197 -126
  494. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  495. package/lib/lowcode/view/lc-components/ImEx/meta.json +134 -113
  496. package/lib/lowcode/view/lc-components/Image/meta.json +115 -114
  497. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  498. package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
  499. package/lib/lowcode/view/lc-components/Layout/index.js +37 -20
  500. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  501. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  502. package/lib/lowcode/view/lc-components/Link/meta.json +113 -112
  503. package/lib/lowcode/view/lc-components/Page/meta.json +61 -55
  504. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  505. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  506. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  507. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +5 -1
  508. package/lib/lowcode/view/lc-components/PageLayout/meta.json +59 -59
  509. package/lib/lowcode/view/lc-components/Section/index.js +2 -6
  510. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  511. package/lib/lowcode/view/lc-components/Section/meta.json +108 -107
  512. package/lib/lowcode/view/lc-components/Split/index.js +18 -3
  513. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  514. package/lib/lowcode/view/lc-components/Table/index.js +176 -149
  515. package/lib/lowcode/view/lc-components/Table/meta.json +450 -450
  516. package/lib/lowcode/view/lc-components/Tabs/index.js +40 -37
  517. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  518. package/lib/lowcode/view/lc-components/Text/index.js +8 -1
  519. package/lib/lowcode/view/lc-components/Text/meta.json +56 -56
  520. package/lib/lowcode/view/lc-components/Tree/index.js +102 -107
  521. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  522. package/lib/lowcode/view/lc-components/Tree/meta.json +357 -357
  523. package/lib/lowcode/view/lc-components/Wrapper.js +16 -1
  524. package/lib/lowcode/view/style/canvas.less +5 -5
  525. package/lib/lowcode/view/style/loading.less +98 -84
  526. package/lib/lowcode/view/style/page.less +7 -7
  527. package/lib/services.js +20 -0
  528. package/lib/upload/FilesWall/index.js +13 -13
  529. package/lib/upload/FilesWall/index.less +74 -74
  530. package/lib/upload/Form/gridForm.js +17 -7
  531. package/lib/upload/Form/index.less +7 -7
  532. package/lib/upload/FormItem/index.js +18 -18
  533. package/lib/utils/form.js +24 -24
  534. package/lib/utils/grid.js +4 -3
  535. package/lowcode.js +1 -1
  536. package/package.json +175 -175
  537. package/upload.js +1 -1
  538. package/utils.js +1 -1
  539. package/es/lowcode/view/lc-components/Form/index.less +0 -5
  540. package/lib/lowcode/view/lc-components/Form/index.less +0 -5
@@ -22,25 +22,25 @@
22
22
  "label": "open",
23
23
  "kind": "property",
24
24
  "insertText": "open",
25
- "documentation": " /**\r\n * 弹窗打开状态\r\n * @property\r\n */\r"
25
+ "documentation": " /**\n * 弹窗打开状态\n * @property\n */"
26
26
  },
27
27
  {
28
28
  "label": "doOpen",
29
29
  "kind": "method",
30
30
  "insertText": "doOpen",
31
- "documentation": " /**\r\n * 打开弹窗\r\n * @method\r\n */\r"
31
+ "documentation": " /**\n * 打开弹窗\n * @method\n */"
32
32
  },
33
33
  {
34
34
  "label": "doClose",
35
35
  "kind": "method",
36
36
  "insertText": "doClose",
37
- "documentation": " /**\r\n * 关闭弹窗\r\n * @method\r\n */\r"
37
+ "documentation": " /**\n * 关闭弹窗\n * @method\n */"
38
38
  },
39
39
  {
40
40
  "label": "setTitle",
41
41
  "kind": "method",
42
42
  "insertText": "setTitle(title)",
43
- "documentation": " /**\r\n * 设置弹窗标题\r\n * @method\r\n * @param {stirng} title -标题\r\n */\r"
43
+ "documentation": " /**\n * 设置弹窗标题\n * @method\n * @param {stirng} title -标题\n */"
44
44
  }
45
45
  ]
46
46
  },
@@ -52,25 +52,25 @@
52
52
  "label": "open",
53
53
  "kind": "property",
54
54
  "insertText": "open",
55
- "documentation": " /**\r\n * 是否打开\r\n * @property\r\n */\r"
55
+ "documentation": " /**\n * 弹窗打开状态\n * @property\n */"
56
56
  },
57
57
  {
58
58
  "label": "doOpen",
59
59
  "kind": "method",
60
60
  "insertText": "doOpen",
61
- "documentation": " /**\r\n * 打开弹窗\r\n * @method\r\n */\r"
61
+ "documentation": " /**\n * 打开弹窗\n * @method\n */"
62
62
  },
63
63
  {
64
64
  "label": "doClose",
65
65
  "kind": "method",
66
66
  "insertText": "doClose",
67
- "documentation": " /**\r\n * 关闭弹窗\r\n * @method\r\n */\r"
67
+ "documentation": " /**\n * 关闭弹窗\n * @method\n */"
68
68
  },
69
69
  {
70
- "label": "toggle",
70
+ "label": "setTitle",
71
71
  "kind": "method",
72
- "insertText": "toggle",
73
- "documentation": " /**\r\n * @method\r\n * 切换弹窗\r\n */\r"
72
+ "insertText": "setTitle(title)",
73
+ "documentation": " /**\n * 设置弹窗标题\n * @method\n * @param {stirng} title -标题\n */"
74
74
  }
75
75
  ]
76
76
  },
@@ -82,24 +82,24 @@
82
82
  "label": "getInstance",
83
83
  "kind": "method",
84
84
  "insertText": "getInstance",
85
- "documentation": " /**\r\n * 获取表格实例\r\n * @method\r\n */\r"
85
+ "documentation": " /**\n * 获取表格实例\n * @method\n */"
86
86
  },
87
87
  {
88
88
  "label": "submit",
89
89
  "kind": "method",
90
90
  "insertText": "submit",
91
- "documentation": " /**\r\n * 提交表格数据\r\n * @method\r\n */\r"
91
+ "documentation": " /**\n * 提交表格数据\n * @method\n */"
92
92
  }
93
93
  ]
94
94
  },
95
95
  {
96
- "name": "Iframe",
97
- "triggerWord": "iframe",
96
+ "name": "GroupTree",
97
+ "triggerWord": "grouptree",
98
98
  "completions": []
99
99
  },
100
100
  {
101
- "name": "Image",
102
- "triggerWord": "image",
101
+ "name": "Iframe",
102
+ "triggerWord": "iframe",
103
103
  "completions": []
104
104
  },
105
105
  {
@@ -107,6 +107,11 @@
107
107
  "triggerWord": "imex",
108
108
  "completions": []
109
109
  },
110
+ {
111
+ "name": "Image",
112
+ "triggerWord": "image",
113
+ "completions": []
114
+ },
110
115
  {
111
116
  "name": "JSX",
112
117
  "triggerWord": "jsx",
@@ -165,7 +170,13 @@
165
170
  "label": "getInstance",
166
171
  "kind": "method",
167
172
  "insertText": "getInstance",
168
- "documentation": " /**\r\n * 获取表格实例\r\n * @method\r\n */\r"
173
+ "documentation": " /**\n * 获取表格实例\n * @method\n */"
174
+ },
175
+ {
176
+ "label": "refresh",
177
+ "kind": "method",
178
+ "insertText": "refresh",
179
+ "documentation": " /**\n * 刷新表格\n * @method\n */"
169
180
  }
170
181
  ]
171
182
  },
@@ -192,61 +203,73 @@
192
203
  "label": "loading",
193
204
  "kind": "property",
194
205
  "insertText": "loading",
195
- "documentation": " /**\r\n * @property {boolean} loading - loading状态\r\n */\r"
206
+ "documentation": " /**\n * @property {boolean} loading - loading状态\n */"
196
207
  },
197
208
  {
198
- "label": "history",
209
+ "label": "topics",
199
210
  "kind": "property",
200
- "insertText": "history",
201
- "documentation": " /**\r\n * @property {object} history - 当前路由信息\r\n */\r"
202
- },
203
- {
204
- "label": "callBehavior",
205
- "kind": "method",
206
- "insertText": "callBehavior(evns, params, data)",
207
- "documentation": " /**\r\n * @method - 执行行为接口\r\n * @param {object} evns - moduleCode: 模块编码,datasetCode:数据集编码,behaviorKey:行为key\r\n * @param {object} params - 链接参数\r\n * @param {object} data - body参数\r\n */\r"
211
+ "insertText": "topics",
212
+ "documentation": " /**\n * @property {object} topics - 内置的事件话题\n */"
208
213
  },
209
214
  {
210
- "label": "topics",
215
+ "label": "API_PREFIX",
211
216
  "kind": "property",
212
- "insertText": "topics",
213
- "documentation": " /**\r\n * @property {object} topics - 内置的事件话题\r\n */\r"
217
+ "insertText": "API_PREFIX",
218
+ "documentation": " /**\n * @property {object} topics - service api前缀\n */"
214
219
  },
215
220
  {
216
221
  "label": "PRIMARY_KEY",
217
222
  "kind": "property",
218
223
  "insertText": "PRIMARY_KEY",
219
- "documentation": " /**\r\n * @property {string} PRIMARY_KEY - 主键key\r\n */\r"
224
+ "documentation": " /**\n * @property {string} PRIMARY_KEY - 主键key\n */"
225
+ },
226
+ {
227
+ "label": "PARENT_KEY",
228
+ "kind": "property",
229
+ "insertText": "PARENT_KEY",
230
+ "documentation": " /**\n * @property {string} PARENT_KEY - 树组件主键key\n */"
220
231
  },
221
232
  {
222
233
  "label": "getElementById",
223
234
  "kind": "method",
224
235
  "insertText": "getElementById(compId)",
225
- "documentation": " /**\r\n * @method - 根据组件ID获取实例\r\n * @param {string} compId - 组件ID\r\n * @return {object} target - 组件实例\r\n */\r"
236
+ "documentation": " /**\n * @method - 根据组件ID获取实例\n * @param {string} compId - 组件ID\n * @return {object} target - 组件实例\n */"
226
237
  },
227
238
  {
228
- "label": "getParentElement",
239
+ "label": "getParentElementById",
229
240
  "kind": "method",
230
- "insertText": "getParentElement(compId)",
231
- "documentation": " /**\r\n * @method - 根据组件ID获取父组件实例\r\n * @param {string} compId - 组件ID\r\n * @return {object} target - 父组件实例\r\n */\r"
241
+ "insertText": "getParentElementById(compId)",
242
+ "documentation": " /**\n * @method - 根据组件ID获取父组件实例\n * @param {string} compId - 组件ID\n * @return {object} target - 父组件实例\n */"
232
243
  },
233
244
  {
234
245
  "label": "doAction",
235
246
  "kind": "method",
236
247
  "insertText": "doAction(actionPool, args)",
237
- "documentation": " /**\r\n * @method - 执行行为池\r\n * @param {object} actionPool - 行为池\r\n * @param {object} args - 参数\r\n */\r"
248
+ "documentation": " /**\n * @method - 执行行为池\n * @param {object} actionPool - 行为池\n * @param {object} args - 参数\n */"
238
249
  },
239
250
  {
240
- "label": "getUrlParams",
251
+ "label": "want",
241
252
  "kind": "method",
242
- "insertText": "getUrlParams",
243
- "documentation": " /**\r\n * @method - 获取URL参数\r\n * @return {object} params - url参数\r\n */\r"
253
+ "insertText": "want",
254
+ "documentation": " /**\n * @method - 是否有权限\n * @return {string} wanted - 期望的资源串\n */"
244
255
  },
245
256
  {
246
- "label": "want",
257
+ "label": "getBehaviorUrl",
247
258
  "kind": "method",
248
- "insertText": "want",
249
- "documentation": " /**\r\n * @method - 是否有权限\r\n * @return {string} wanted - 期望的资源串\r\n */\r"
259
+ "insertText": "getBehaviorUrl",
260
+ "documentation": " /**\n * @method - 获取执行行为请求的接口URL\n * @return {string} BEHAVIOR_URL - 执行行为请求的接口URL\n */"
261
+ },
262
+ {
263
+ "label": "utils",
264
+ "kind": "property",
265
+ "insertText": "utils",
266
+ "documentation": " /**\n * @property {Utils} 工具类\n */"
267
+ },
268
+ {
269
+ "label": "router",
270
+ "kind": "property",
271
+ "insertText": "router",
272
+ "documentation": " /**\n * @property {Router} router - 路由\n */"
250
273
  }
251
274
  ]
252
275
  }
@@ -6,6 +6,6 @@
6
6
  "group": "basic",
7
7
  "groupName": "基础",
8
8
  "order": 1,
9
- "css": "width: 100%; height: auto;",
9
+ "css": "",
10
10
  "render": "function Component() {\n\treturn(\n\t\t<div>\n\t\t\t此为自定义代码组件,请使用 JSX 语法\n\t\t</div>\n\t)\n}"
11
11
  }
@@ -26,5 +26,5 @@
26
26
  }
27
27
  }
28
28
  ],
29
- "css": "width: 100%; height: auto;"
29
+ "css": ""
30
30
  }
@@ -6,7 +6,7 @@
6
6
  "groupName": "布局",
7
7
  "desc": "布局容器是一种提供列比例、列间距、行间距和样式等配置选项的元素,用于创建灵活的页面布局。它使用户能够轻松组织和排列组件,并实现各种复杂的布局需求。",
8
8
  "order": 1,
9
- "css": {},
9
+ "css": "background-color: transparent;",
10
10
  "columnRatio": "12:3:9",
11
11
  "columnSpacing": 16,
12
12
  "lineSpacing": 16,
@@ -23,7 +23,7 @@
23
23
  {
24
24
  "key": "columnSpacing",
25
25
  "name": "列间距",
26
- "desc": "表示列之间的间距或距离",
26
+ "desc": "表示一行中分栏与分栏之间的间距",
27
27
  "type": "select",
28
28
  "options": [
29
29
  {
@@ -56,7 +56,7 @@
56
56
  {
57
57
  "key": "lineSpacing",
58
58
  "name": "行间距",
59
- "desc": "表示行之间的间距或距离",
59
+ "desc": "表示每一行之间的间距",
60
60
  "type": "select",
61
61
  "options": [
62
62
  {
@@ -87,20 +87,20 @@
87
87
  "default": 16
88
88
  }
89
89
  ],
90
- "css": {},
90
+ "css": "background-color: transparent;",
91
91
  "advance": {
92
92
  "events": [
93
93
  {
94
94
  "key": "onMount",
95
95
  "name": "组件首次渲染时",
96
96
  "desc": "在组件首次渲染时,执行方法",
97
- "func": "function onMount(params) {\n\t\n}"
97
+ "func": "function onMount() {\n\t\n}"
98
98
  },
99
99
  {
100
100
  "key": "onUnmount",
101
101
  "name": "组件卸载时",
102
102
  "desc": "在组件卸载时,执行方法。",
103
- "func": "function onUnmount(params) {\n\t\n}"
103
+ "func": "function onUnmount() {\n\t\n}"
104
104
  }
105
105
  ]
106
106
  }
@@ -5,8 +5,9 @@
5
5
  "group": "basic",
6
6
  "groupName": "基础",
7
7
  "desc": "用于创建可点击的链接,以便用户可以跳转到其他页面或访问相关内容。超链组件提供了简单而直观的方式来创建和管理链接。",
8
+ "hidden": true,
8
9
  "order": 1,
9
- "css": {},
10
+ "css": "",
10
11
  "textOverflow": false,
11
12
  "type": "page",
12
13
  "isLayer": false,
@@ -5,11 +5,12 @@
5
5
  "group": "basic",
6
6
  "groupName": "基础",
7
7
  "desc": "用于创建可点击的链接,以便用户可以跳转到其他页面或访问相关内容。超链组件提供了简单而直观的方式来创建和管理链接。",
8
+ "hidden": true,
8
9
  "order": 1,
9
10
  "props": [
10
11
  {
11
12
  "key": "id",
12
- "desc": "唯一标识",
13
+ "name": "唯一标识",
13
14
  "type": "string",
14
15
  "disabled": true
15
16
  },
@@ -86,7 +87,7 @@
86
87
  "default": "hidden"
87
88
  }
88
89
  ],
89
- "css": {},
90
+ "css": "",
90
91
  "advance": {
91
92
  "events": [
92
93
  {
@@ -27,6 +27,12 @@
27
27
  "default": "false"
28
28
  }
29
29
  ]
30
+ },
31
+ {
32
+ "key": "vars",
33
+ "name": "页面数据源",
34
+ "type": "_PageVars",
35
+ "wrapper": "collapse"
30
36
  }
31
37
  ],
32
38
  "css": "background-color: transparent;",
@@ -6,7 +6,7 @@
6
6
  "groupName": "布局",
7
7
  "desc": "页面布局容器一般用于构建页面时根节点的基础布局,分为左右布局、左上下布局以及左中右布局。",
8
8
  "order": 1,
9
- "css": "width: 100%; height: 100%; background-color: transparent",
9
+ "css": "width: 100%; height: 100%; background-color: transparent;",
10
10
  "width": "100%",
11
11
  "height": "100%",
12
12
  "display": "lr",
@@ -39,7 +39,7 @@
39
39
  ]
40
40
  }
41
41
  ],
42
- "css": "width: 100%; height: 100%; background-color: transparent",
42
+ "css": "width: 100%; height: 100%; background-color: transparent;",
43
43
  "advance": {
44
44
  "events": [
45
45
  {
@@ -64,7 +64,8 @@
64
64
  {
65
65
  "key": "tooltip",
66
66
  "name": "用户提示",
67
- "type": "_I18nInput"
67
+ "type": "_I18nInput",
68
+ "wrapped": "textarea"
68
69
  },
69
70
  {
70
71
  "key": "subtitle",
@@ -6,7 +6,7 @@
6
6
  "groupName": "布局",
7
7
  "desc": "分割面板容器是一种可以通过拖拽分割线调整面板大小的容器组件,用于创建页面布局或需要调整可视区域的布局场景",
8
8
  "order": 1,
9
- "css": "width: 100%, height: 100%, background-color: transparent",
9
+ "css": "width: 100%; height: 100%; background-color: transparent;",
10
10
  "display": {
11
11
  "type": "normal",
12
12
  "split": "horizontal",
@@ -31,7 +31,7 @@
31
31
  ]
32
32
  }
33
33
  ],
34
- "css": "width: 100%, height: 100%, background-color: transparent",
34
+ "css": "width: 100%; height: 100%; background-color: transparent;",
35
35
  "advance": {
36
36
  "events": [
37
37
  {
@@ -168,7 +168,7 @@
168
168
  "default": {
169
169
  "todoList": []
170
170
  },
171
- "defaultCode": "function onBatchOperationsClick(key, selectedRows) {\n\n}",
171
+ "defaultCode": "function onBatchOperationsClick(key, selectedRows, cb) {\n\n}",
172
172
  "suppressDisplay": true,
173
173
  "suppressMax": true,
174
174
  "suppressMore": true,
@@ -384,13 +384,13 @@
384
384
  "key": "onMount",
385
385
  "name": "组件首次渲染时",
386
386
  "desc": "在组件首次渲染时,执行方法",
387
- "func": "function onMount(params) {\n\t\n}"
387
+ "func": "function onMount(params, datasetCode) {\n\t\n}"
388
388
  },
389
389
  {
390
390
  "key": "onUnmount",
391
391
  "name": "组件卸载时",
392
392
  "desc": "在组件卸载时,执行方法。",
393
- "func": "function onUnmount() {\n\t\n}"
393
+ "func": "function onUnmount(datasetCode) {\n\t\n}"
394
394
  },
395
395
  {
396
396
  "key": "onRowClick",
@@ -6,8 +6,10 @@
6
6
  "groupName": "基础",
7
7
  "desc": "文本组件用于显示文本内容。",
8
8
  "order": 1,
9
- "css": {},
10
- "content": "文本",
9
+ "css": "",
10
+ "content": {
11
+ "text": "文本内容"
12
+ },
11
13
  "maxLine": 0,
12
14
  "advance": {
13
15
  "events": {}
@@ -15,22 +15,24 @@
15
15
  },
16
16
  {
17
17
  "key": "content",
18
- "name": "内容",
19
- "desc": "文本内容设置",
20
- "type": "_I18nInput",
21
- "default": "文本",
18
+ "name": "#内容",
19
+ "type": "_TextContent",
20
+ "default": {
21
+ "text": "文本内容"
22
+ },
22
23
  "wrapped": "textarea",
24
+ "wrapper": "hidden",
23
25
  "repositioning": true
24
26
  },
25
27
  {
26
28
  "key": "maxLine",
27
29
  "name": "最大行数",
28
- "desc": "超出时自动省略号展示",
30
+ "desc": "超出时自动省略号展示,0表示不限制行数",
29
31
  "type": "number",
30
32
  "default": 0
31
33
  }
32
34
  ],
33
- "css": {},
35
+ "css": "",
34
36
  "advance": {
35
37
  "events": [
36
38
  {
@@ -9,7 +9,7 @@
9
9
  "props": [
10
10
  {
11
11
  "key": "id",
12
- "desc": "唯一标识",
12
+ "name": "唯一标识",
13
13
  "type": "string",
14
14
  "disabled": true
15
15
  },
@@ -194,7 +194,7 @@
194
194
  "props": [
195
195
  {
196
196
  "key": "cancelSelect",
197
- "name": "取消选中",
197
+ "name": "允许取消选中",
198
198
  "desc": "是否可以取消选中",
199
199
  "type": "switch",
200
200
  "default": true