@luck-design-biz/luckda 0.0.26 → 0.0.27-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 (392) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/es/components/Builder/index.js +0 -0
  4. package/es/components/LdAutoForm/index.js +0 -0
  5. package/es/components/LdCard/index.js +0 -0
  6. package/es/components/LdCard/model.js +0 -0
  7. package/es/components/LdCom/index.js +0 -0
  8. package/es/components/LdFormList/index.js +0 -0
  9. package/es/components/LdFormList/model.js +0 -0
  10. package/es/components/LdGrid/index.js +0 -0
  11. package/es/components/LdGrid/model.js +0 -0
  12. package/es/components/LdGridForm/index.js +0 -0
  13. package/es/components/LdGridForm/index.less +0 -0
  14. package/es/components/LdInfoPanel/index.js +0 -0
  15. package/es/components/LdPop/index.js +0 -0
  16. package/es/components/LdRuntimeCom/index.js +0 -0
  17. package/es/components/LdTree/index.js +0 -0
  18. package/es/components/LdTree/index.less +0 -0
  19. package/es/helper/FromItems.js +0 -0
  20. package/es/helper/action.js +0 -0
  21. package/es/helper/form.js +0 -0
  22. package/es/helper/index.less +0 -0
  23. package/es/helper/ldBuilder.js +0 -0
  24. package/es/helper/ldComBuild.js +0 -0
  25. package/es/index.js +0 -0
  26. package/es/locales/zh-CN.js +236 -0
  27. package/es/lowcode/constants/api-url.js +0 -0
  28. package/es/lowcode/constants/event-topics.js +0 -0
  29. package/es/lowcode/constants/index.js +0 -0
  30. package/es/lowcode/engine/factory/DataFactory.js +0 -0
  31. package/es/lowcode/engine/meta/box.props.default.json +13 -0
  32. package/es/lowcode/engine/meta/box.props.json +40 -0
  33. package/es/lowcode/engine/meta/button.props.default.json +0 -0
  34. package/es/lowcode/engine/meta/button.props.json +127 -0
  35. package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
  36. package/es/lowcode/engine/meta/cardlist.props.json +153 -0
  37. package/es/lowcode/engine/meta/components/button.json +0 -0
  38. package/es/lowcode/engine/meta/components/card-list.json +0 -0
  39. package/es/lowcode/engine/meta/components/drawer.json +0 -0
  40. package/es/lowcode/engine/meta/components/form.json +0 -0
  41. package/es/lowcode/engine/meta/components/iframe.json +0 -0
  42. package/es/lowcode/engine/meta/components/image.json +0 -0
  43. package/es/lowcode/engine/meta/components/imex.json +0 -0
  44. package/es/lowcode/engine/meta/components/jsx.json +0 -0
  45. package/es/lowcode/engine/meta/components/layout.json +0 -0
  46. package/es/lowcode/engine/meta/components/link.json +0 -0
  47. package/es/lowcode/engine/meta/components/modal.json +0 -0
  48. package/es/lowcode/engine/meta/components/section.json +0 -0
  49. package/es/lowcode/engine/meta/components/split.json +0 -0
  50. package/es/lowcode/engine/meta/components/table.json +0 -0
  51. package/es/lowcode/engine/meta/components/tabs.json +0 -0
  52. package/es/lowcode/engine/meta/components/text.json +0 -0
  53. package/es/lowcode/engine/meta/components/tree.json +0 -0
  54. package/es/lowcode/engine/meta/components-list.json +0 -0
  55. package/es/lowcode/engine/meta/dialog.props.default.json +27 -0
  56. package/es/lowcode/engine/meta/dialog.props.json +157 -0
  57. package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
  58. package/es/lowcode/engine/meta/drawer.props.json +131 -0
  59. package/es/lowcode/engine/meta/fieldcolor.props.default.json +19 -0
  60. package/es/lowcode/engine/meta/fieldcolor.props.json +159 -0
  61. package/es/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
  62. package/es/lowcode/engine/meta/fieldcomplex.props.json +39 -0
  63. package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  64. package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
  65. package/es/lowcode/engine/meta/fielddate.props.default.json +12 -0
  66. package/es/lowcode/engine/meta/fielddate.props.json +47 -0
  67. package/es/lowcode/engine/meta/fielddict.props.default.json +19 -0
  68. package/es/lowcode/engine/meta/fielddict.props.json +140 -0
  69. package/es/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
  70. package/es/lowcode/engine/meta/fieldeditor.props.json +44 -0
  71. package/es/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
  72. package/es/lowcode/engine/meta/fieldgroup.props.json +73 -0
  73. package/es/lowcode/engine/meta/fieldnumber.props.default.json +20 -0
  74. package/es/lowcode/engine/meta/fieldnumber.props.json +145 -0
  75. package/es/lowcode/engine/meta/fieldradio.props.default.json +12 -0
  76. package/es/lowcode/engine/meta/fieldradio.props.json +20 -0
  77. package/es/lowcode/engine/meta/fieldregion.props.default.json +12 -0
  78. package/es/lowcode/engine/meta/fieldregion.props.json +26 -0
  79. package/es/lowcode/engine/meta/fieldselect.props.default.json +14 -0
  80. package/es/lowcode/engine/meta/fieldselect.props.json +58 -0
  81. package/es/lowcode/engine/meta/fieldstring.props.default.json +17 -0
  82. package/es/lowcode/engine/meta/fieldstring.props.json +154 -0
  83. package/es/lowcode/engine/meta/fieldswitch.props.default.json +17 -0
  84. package/es/lowcode/engine/meta/fieldswitch.props.json +127 -0
  85. package/es/lowcode/engine/meta/fieldtextarea.props.default.json +18 -0
  86. package/es/lowcode/engine/meta/fieldtextarea.props.json +145 -0
  87. package/es/lowcode/engine/meta/fieldupload.props.default.json +15 -0
  88. package/es/lowcode/engine/meta/fieldupload.props.json +71 -0
  89. package/es/lowcode/engine/meta/fielduser.props.default.json +16 -0
  90. package/es/lowcode/engine/meta/fielduser.props.json +82 -0
  91. package/es/lowcode/engine/meta/fieldyear.props.default.json +12 -0
  92. package/es/lowcode/engine/meta/fieldyear.props.json +37 -0
  93. package/es/lowcode/engine/meta/form.props.default.json +0 -0
  94. package/es/lowcode/engine/meta/form.props.json +650 -0
  95. package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
  96. package/es/lowcode/engine/meta/iframe.props.json +32 -0
  97. package/es/lowcode/engine/meta/image.props.default.json +0 -0
  98. package/es/lowcode/engine/meta/image.props.json +114 -0
  99. package/es/lowcode/engine/meta/imex.props.default.json +0 -0
  100. package/es/lowcode/engine/meta/imex.props.json +114 -0
  101. package/es/lowcode/engine/meta/js-editor/auto-complete.json +205 -0
  102. package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
  103. package/es/lowcode/engine/meta/jsx.props.json +30 -0
  104. package/es/lowcode/engine/meta/layout.props.default.json +0 -0
  105. package/es/lowcode/engine/meta/layout.props.json +107 -0
  106. package/es/lowcode/engine/meta/link.props.default.json +0 -0
  107. package/es/lowcode/engine/meta/link.props.json +112 -0
  108. package/es/lowcode/engine/meta/modal.props.default.json +0 -0
  109. package/es/lowcode/engine/meta/page.props.default.json +12 -0
  110. package/es/lowcode/engine/meta/page.props.json +49 -0
  111. package/es/lowcode/engine/meta/pagecontent.props.default.json +6 -0
  112. package/es/lowcode/engine/meta/pagecontent.props.json +7 -0
  113. package/es/lowcode/engine/meta/pagefooter.props.default.json +6 -0
  114. package/es/lowcode/engine/meta/pagefooter.props.json +7 -0
  115. package/es/lowcode/engine/meta/pageheader.props.default.json +6 -0
  116. package/es/lowcode/engine/meta/pageheader.props.json +7 -0
  117. package/es/lowcode/engine/meta/pagelayout.props.default.json +14 -0
  118. package/es/lowcode/engine/meta/pagelayout.props.json +47 -0
  119. package/es/lowcode/engine/meta/section.props.default.json +0 -0
  120. package/es/lowcode/engine/meta/section.props.json +111 -0
  121. package/es/lowcode/engine/meta/split.props.default.json +0 -0
  122. package/es/lowcode/engine/meta/split.props.json +57 -0
  123. package/es/lowcode/engine/meta/table.props.default.json +0 -0
  124. package/es/lowcode/engine/meta/table.props.json +444 -0
  125. package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
  126. package/es/lowcode/engine/meta/tabs.props.json +117 -0
  127. package/es/lowcode/engine/meta/text.props.default.json +0 -0
  128. package/es/lowcode/engine/meta/text.props.json +66 -0
  129. package/es/lowcode/engine/meta/tree.props.default.json +0 -0
  130. package/es/lowcode/engine/meta/tree.props.json +366 -0
  131. package/es/lowcode/engine/provider/ContextProvider.js +0 -0
  132. package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
  133. package/es/lowcode/engine/tools/dataProcess.js +0 -0
  134. package/es/lowcode/engine/tools/helper.js +0 -0
  135. package/es/lowcode/engine/tools/lcid.js +0 -0
  136. package/es/lowcode/index.js +0 -0
  137. package/es/lowcode/painter/Components.js +0 -0
  138. package/es/lowcode/painter/Design.js +0 -0
  139. package/es/lowcode/painter/I18n.js +0 -0
  140. package/es/lowcode/painter/Outline.js +0 -0
  141. package/es/lowcode/painter/Panel.js +0 -0
  142. package/es/lowcode/painter/Ribbon.js +0 -0
  143. package/es/lowcode/painter/components/PanelItem.js +0 -0
  144. package/es/lowcode/painter/components/RuleInput.js +0 -0
  145. package/es/lowcode/painter/index.js +0 -0
  146. package/es/lowcode/painter/panel-section/LayoutRatio.js +0 -0
  147. package/es/lowcode/painter/panel-section/Radio.js +0 -0
  148. package/es/lowcode/painter/style/components.less +0 -0
  149. package/es/lowcode/painter/style/design.less +0 -0
  150. package/es/lowcode/painter/style/index.less +0 -0
  151. package/es/lowcode/painter/style/layout-ratio.less +0 -0
  152. package/es/lowcode/painter/style/outline.less +0 -0
  153. package/es/lowcode/painter/style/panel-item.less +0 -0
  154. package/es/lowcode/painter/style/panel.less +0 -0
  155. package/es/lowcode/painter/style/radio.less +0 -0
  156. package/es/lowcode/painter/style/ribbon.less +0 -0
  157. package/es/lowcode/painter/style/rule-input.less +0 -0
  158. package/es/lowcode/view/Canvas.js +0 -0
  159. package/es/lowcode/view/Loading.js +0 -0
  160. package/es/lowcode/view/Page.js +0 -0
  161. package/es/lowcode/view/index.js +0 -0
  162. package/es/lowcode/view/lc-components/Box/index.js +0 -0
  163. package/es/lowcode/view/lc-components/Button/index.js +0 -0
  164. package/es/lowcode/view/lc-components/CardList/index.js +0 -0
  165. package/es/lowcode/view/lc-components/Dialog/index.js +0 -0
  166. package/es/lowcode/view/lc-components/Dialog/index.less +0 -0
  167. package/es/lowcode/view/lc-components/Drawer/index.js +0 -0
  168. package/es/lowcode/view/lc-components/Form/index.js +0 -0
  169. package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
  170. package/es/lowcode/view/lc-components/ImEx/index.js +0 -0
  171. package/es/lowcode/view/lc-components/Image/index.js +0 -0
  172. package/es/lowcode/view/lc-components/JSX/index.js +0 -0
  173. package/es/lowcode/view/lc-components/Layout/index.js +0 -0
  174. package/es/lowcode/view/lc-components/Link/index.js +0 -0
  175. package/es/lowcode/view/lc-components/Section/index.js +0 -0
  176. package/es/lowcode/view/lc-components/Split/index.js +0 -0
  177. package/es/lowcode/view/lc-components/Table/index.js +0 -0
  178. package/es/lowcode/view/lc-components/Tabs/index.js +0 -0
  179. package/es/lowcode/view/lc-components/Text/index.js +0 -0
  180. package/es/lowcode/view/lc-components/Tree/index.js +0 -0
  181. package/es/lowcode/view/lc-components/Wrapper.js +0 -0
  182. package/es/lowcode/view/style/canvas.less +0 -0
  183. package/es/lowcode/view/style/loading.less +0 -0
  184. package/es/lowcode/view/style/page.less +0 -0
  185. package/es/services.js +0 -0
  186. package/es/upload/Form/gridForm.js +17 -2
  187. package/es/upload/Form/index.js +11 -0
  188. package/es/upload/Form/index.less +0 -0
  189. package/es/upload/FormItem/index.js +5 -6
  190. package/es/upload/GridCell/index.js +0 -0
  191. package/es/upload/index.js +0 -0
  192. package/es/utils/action.js +0 -0
  193. package/es/utils/form.js +7 -7
  194. package/es/utils/grid.js +9 -3
  195. package/es/utils/index.js +0 -0
  196. package/lib/components/Builder/index.js +0 -0
  197. package/lib/components/LdAutoForm/index.js +0 -0
  198. package/lib/components/LdCard/index.js +0 -0
  199. package/lib/components/LdCard/model.js +0 -0
  200. package/lib/components/LdCom/index.js +0 -0
  201. package/lib/components/LdFormList/index.js +0 -0
  202. package/lib/components/LdFormList/model.js +0 -0
  203. package/lib/components/LdGrid/index.js +0 -0
  204. package/lib/components/LdGrid/model.js +0 -0
  205. package/lib/components/LdGridForm/index.js +0 -0
  206. package/lib/components/LdGridForm/index.less +0 -0
  207. package/lib/components/LdInfoPanel/index.js +0 -0
  208. package/lib/components/LdPop/index.js +0 -0
  209. package/lib/components/LdRuntimeCom/index.js +0 -0
  210. package/lib/components/LdTree/index.js +0 -0
  211. package/lib/components/LdTree/index.less +0 -0
  212. package/lib/helper/FromItems.js +0 -0
  213. package/lib/helper/action.js +0 -0
  214. package/lib/helper/form.js +0 -0
  215. package/lib/helper/index.less +0 -0
  216. package/lib/helper/ldBuilder.js +0 -0
  217. package/lib/helper/ldComBuild.js +0 -0
  218. package/lib/index.js +0 -0
  219. package/lib/locales/zh-CN.js +242 -0
  220. package/lib/lowcode/constants/api-url.js +0 -0
  221. package/lib/lowcode/constants/event-topics.js +0 -0
  222. package/lib/lowcode/constants/index.js +0 -0
  223. package/lib/lowcode/engine/factory/DataFactory.js +0 -0
  224. package/lib/lowcode/engine/meta/box.props.default.json +13 -0
  225. package/lib/lowcode/engine/meta/box.props.json +40 -0
  226. package/lib/lowcode/engine/meta/button.props.default.json +0 -0
  227. package/lib/lowcode/engine/meta/button.props.json +127 -0
  228. package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
  229. package/lib/lowcode/engine/meta/cardlist.props.json +153 -0
  230. package/lib/lowcode/engine/meta/components/button.json +0 -0
  231. package/lib/lowcode/engine/meta/components/card-list.json +0 -0
  232. package/lib/lowcode/engine/meta/components/drawer.json +0 -0
  233. package/lib/lowcode/engine/meta/components/form.json +0 -0
  234. package/lib/lowcode/engine/meta/components/iframe.json +0 -0
  235. package/lib/lowcode/engine/meta/components/image.json +0 -0
  236. package/lib/lowcode/engine/meta/components/imex.json +0 -0
  237. package/lib/lowcode/engine/meta/components/jsx.json +0 -0
  238. package/lib/lowcode/engine/meta/components/layout.json +0 -0
  239. package/lib/lowcode/engine/meta/components/link.json +0 -0
  240. package/lib/lowcode/engine/meta/components/modal.json +0 -0
  241. package/lib/lowcode/engine/meta/components/section.json +0 -0
  242. package/lib/lowcode/engine/meta/components/split.json +0 -0
  243. package/lib/lowcode/engine/meta/components/table.json +0 -0
  244. package/lib/lowcode/engine/meta/components/tabs.json +0 -0
  245. package/lib/lowcode/engine/meta/components/text.json +0 -0
  246. package/lib/lowcode/engine/meta/components/tree.json +0 -0
  247. package/lib/lowcode/engine/meta/components-list.json +0 -0
  248. package/lib/lowcode/engine/meta/dialog.props.default.json +27 -0
  249. package/lib/lowcode/engine/meta/dialog.props.json +157 -0
  250. package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
  251. package/lib/lowcode/engine/meta/drawer.props.json +131 -0
  252. package/lib/lowcode/engine/meta/fieldcolor.props.default.json +19 -0
  253. package/lib/lowcode/engine/meta/fieldcolor.props.json +159 -0
  254. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
  255. package/lib/lowcode/engine/meta/fieldcomplex.props.json +39 -0
  256. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  257. package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
  258. package/lib/lowcode/engine/meta/fielddate.props.default.json +12 -0
  259. package/lib/lowcode/engine/meta/fielddate.props.json +47 -0
  260. package/lib/lowcode/engine/meta/fielddict.props.default.json +19 -0
  261. package/lib/lowcode/engine/meta/fielddict.props.json +140 -0
  262. package/lib/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
  263. package/lib/lowcode/engine/meta/fieldeditor.props.json +44 -0
  264. package/lib/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
  265. package/lib/lowcode/engine/meta/fieldgroup.props.json +73 -0
  266. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +20 -0
  267. package/lib/lowcode/engine/meta/fieldnumber.props.json +145 -0
  268. package/lib/lowcode/engine/meta/fieldradio.props.default.json +12 -0
  269. package/lib/lowcode/engine/meta/fieldradio.props.json +20 -0
  270. package/lib/lowcode/engine/meta/fieldregion.props.default.json +12 -0
  271. package/lib/lowcode/engine/meta/fieldregion.props.json +26 -0
  272. package/lib/lowcode/engine/meta/fieldselect.props.default.json +14 -0
  273. package/lib/lowcode/engine/meta/fieldselect.props.json +58 -0
  274. package/lib/lowcode/engine/meta/fieldstring.props.default.json +17 -0
  275. package/lib/lowcode/engine/meta/fieldstring.props.json +154 -0
  276. package/lib/lowcode/engine/meta/fieldswitch.props.default.json +17 -0
  277. package/lib/lowcode/engine/meta/fieldswitch.props.json +127 -0
  278. package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +18 -0
  279. package/lib/lowcode/engine/meta/fieldtextarea.props.json +145 -0
  280. package/lib/lowcode/engine/meta/fieldupload.props.default.json +15 -0
  281. package/lib/lowcode/engine/meta/fieldupload.props.json +71 -0
  282. package/lib/lowcode/engine/meta/fielduser.props.default.json +16 -0
  283. package/lib/lowcode/engine/meta/fielduser.props.json +82 -0
  284. package/lib/lowcode/engine/meta/fieldyear.props.default.json +12 -0
  285. package/lib/lowcode/engine/meta/fieldyear.props.json +37 -0
  286. package/lib/lowcode/engine/meta/form.props.default.json +0 -0
  287. package/lib/lowcode/engine/meta/form.props.json +650 -0
  288. package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
  289. package/lib/lowcode/engine/meta/iframe.props.json +32 -0
  290. package/lib/lowcode/engine/meta/image.props.default.json +0 -0
  291. package/lib/lowcode/engine/meta/image.props.json +114 -0
  292. package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
  293. package/lib/lowcode/engine/meta/imex.props.json +114 -0
  294. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +205 -0
  295. package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
  296. package/lib/lowcode/engine/meta/jsx.props.json +30 -0
  297. package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
  298. package/lib/lowcode/engine/meta/layout.props.json +107 -0
  299. package/lib/lowcode/engine/meta/link.props.default.json +0 -0
  300. package/lib/lowcode/engine/meta/link.props.json +112 -0
  301. package/lib/lowcode/engine/meta/modal.props.default.json +0 -0
  302. package/lib/lowcode/engine/meta/page.props.default.json +12 -0
  303. package/lib/lowcode/engine/meta/page.props.json +49 -0
  304. package/lib/lowcode/engine/meta/pagecontent.props.default.json +6 -0
  305. package/lib/lowcode/engine/meta/pagecontent.props.json +7 -0
  306. package/lib/lowcode/engine/meta/pagefooter.props.default.json +6 -0
  307. package/lib/lowcode/engine/meta/pagefooter.props.json +7 -0
  308. package/lib/lowcode/engine/meta/pageheader.props.default.json +6 -0
  309. package/lib/lowcode/engine/meta/pageheader.props.json +7 -0
  310. package/lib/lowcode/engine/meta/pagelayout.props.default.json +14 -0
  311. package/lib/lowcode/engine/meta/pagelayout.props.json +47 -0
  312. package/lib/lowcode/engine/meta/section.props.default.json +0 -0
  313. package/lib/lowcode/engine/meta/section.props.json +111 -0
  314. package/lib/lowcode/engine/meta/split.props.default.json +0 -0
  315. package/lib/lowcode/engine/meta/split.props.json +57 -0
  316. package/lib/lowcode/engine/meta/table.props.default.json +0 -0
  317. package/lib/lowcode/engine/meta/table.props.json +444 -0
  318. package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
  319. package/lib/lowcode/engine/meta/tabs.props.json +117 -0
  320. package/lib/lowcode/engine/meta/text.props.default.json +0 -0
  321. package/lib/lowcode/engine/meta/text.props.json +66 -0
  322. package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
  323. package/lib/lowcode/engine/meta/tree.props.json +366 -0
  324. package/lib/lowcode/engine/provider/ContextProvider.js +0 -0
  325. package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
  326. package/lib/lowcode/engine/tools/dataProcess.js +0 -0
  327. package/lib/lowcode/engine/tools/helper.js +0 -0
  328. package/lib/lowcode/engine/tools/lcid.js +0 -0
  329. package/lib/lowcode/index.js +0 -0
  330. package/lib/lowcode/painter/Components.js +0 -0
  331. package/lib/lowcode/painter/Design.js +0 -0
  332. package/lib/lowcode/painter/I18n.js +0 -0
  333. package/lib/lowcode/painter/Outline.js +0 -0
  334. package/lib/lowcode/painter/Panel.js +0 -0
  335. package/lib/lowcode/painter/Ribbon.js +0 -0
  336. package/lib/lowcode/painter/components/PanelItem.js +0 -0
  337. package/lib/lowcode/painter/components/RuleInput.js +0 -0
  338. package/lib/lowcode/painter/index.js +0 -0
  339. package/lib/lowcode/painter/panel-section/LayoutRatio.js +0 -0
  340. package/lib/lowcode/painter/panel-section/Radio.js +0 -0
  341. package/lib/lowcode/painter/style/components.less +0 -0
  342. package/lib/lowcode/painter/style/design.less +0 -0
  343. package/lib/lowcode/painter/style/index.less +0 -0
  344. package/lib/lowcode/painter/style/layout-ratio.less +0 -0
  345. package/lib/lowcode/painter/style/outline.less +0 -0
  346. package/lib/lowcode/painter/style/panel-item.less +0 -0
  347. package/lib/lowcode/painter/style/panel.less +0 -0
  348. package/lib/lowcode/painter/style/radio.less +0 -0
  349. package/lib/lowcode/painter/style/ribbon.less +0 -0
  350. package/lib/lowcode/painter/style/rule-input.less +0 -0
  351. package/lib/lowcode/view/Canvas.js +0 -0
  352. package/lib/lowcode/view/Loading.js +0 -0
  353. package/lib/lowcode/view/Page.js +0 -0
  354. package/lib/lowcode/view/index.js +0 -0
  355. package/lib/lowcode/view/lc-components/Box/index.js +0 -0
  356. package/lib/lowcode/view/lc-components/Button/index.js +0 -0
  357. package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
  358. package/lib/lowcode/view/lc-components/Dialog/index.js +0 -0
  359. package/lib/lowcode/view/lc-components/Dialog/index.less +0 -0
  360. package/lib/lowcode/view/lc-components/Drawer/index.js +0 -0
  361. package/lib/lowcode/view/lc-components/Form/index.js +0 -0
  362. package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
  363. package/lib/lowcode/view/lc-components/ImEx/index.js +0 -0
  364. package/lib/lowcode/view/lc-components/Image/index.js +0 -0
  365. package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
  366. package/lib/lowcode/view/lc-components/Layout/index.js +0 -0
  367. package/lib/lowcode/view/lc-components/Link/index.js +0 -0
  368. package/lib/lowcode/view/lc-components/Section/index.js +0 -0
  369. package/lib/lowcode/view/lc-components/Split/index.js +0 -0
  370. package/lib/lowcode/view/lc-components/Table/index.js +0 -0
  371. package/lib/lowcode/view/lc-components/Tabs/index.js +0 -0
  372. package/lib/lowcode/view/lc-components/Text/index.js +0 -0
  373. package/lib/lowcode/view/lc-components/Tree/index.js +0 -0
  374. package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
  375. package/lib/lowcode/view/style/canvas.less +0 -0
  376. package/lib/lowcode/view/style/loading.less +0 -0
  377. package/lib/lowcode/view/style/page.less +0 -0
  378. package/lib/services.js +0 -0
  379. package/lib/upload/Form/gridForm.js +17 -2
  380. package/lib/upload/Form/index.js +11 -0
  381. package/lib/upload/Form/index.less +0 -0
  382. package/lib/upload/FormItem/index.js +5 -6
  383. package/lib/upload/GridCell/index.js +0 -0
  384. package/lib/upload/index.js +0 -0
  385. package/lib/utils/action.js +0 -0
  386. package/lib/utils/form.js +5 -5
  387. package/lib/utils/grid.js +10 -4
  388. package/lib/utils/index.js +0 -0
  389. package/lowcode.js +0 -0
  390. package/package.json +1 -1
  391. package/upload.js +0 -0
  392. package/utils.js +0 -0
@@ -0,0 +1,444 @@
1
+ {
2
+ "component": "Table",
3
+ "name": "表格",
4
+ "desc": "用于展示和管理数据,实现数据的可视化和交互。用户可以根据配置数据集和表格属性,快速构建表格。",
5
+ "icon": "icon-table",
6
+ "group": "advance",
7
+ "groupName": "高级",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "id",
12
+ "name": "唯一标识",
13
+ "type": "string",
14
+ "disabled": true
15
+ },
16
+ {
17
+ "key": "dataset",
18
+ "name": "数据集",
19
+ "type": "_DataSetSelector",
20
+ "component": "table",
21
+ "next": {
22
+ "name": "字段配置",
23
+ "props": [
24
+ {
25
+ "key": "fields",
26
+ "name": "#字段配置器",
27
+ "type": "_FieldsSetting"
28
+ }
29
+ ]
30
+ }
31
+ },
32
+ {
33
+ "key": "autoLoad",
34
+ "name": "自动加载",
35
+ "desc": "首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭",
36
+ "type": "switch",
37
+ "default": true
38
+ },
39
+ {
40
+ "key": "readOnly",
41
+ "name": "只读",
42
+ "type": "switch",
43
+ "default": false
44
+ },
45
+ {
46
+ "key": "draggable",
47
+ "name": "拖拽排序",
48
+ "type": "switch",
49
+ "default": false
50
+ },
51
+ {
52
+ "key": "topSetting",
53
+ "name": "顶部操作",
54
+ "type": "group",
55
+ "default": true,
56
+ "next": {
57
+ "name": "顶部操作",
58
+ "props": [
59
+ {
60
+ "key": "topActionGroup",
61
+ "name": "顶部按钮组",
62
+ "type": "_ActionsEditor",
63
+ "default": {
64
+ "display": "button",
65
+ "max": 2,
66
+ "moreText": "操作",
67
+ "todoList": []
68
+ },
69
+ "defaultCode": "function todo() { \n \n}",
70
+ "wrapper": "collapse"
71
+ },
72
+ {
73
+ "key": "topFilter",
74
+ "name": "顶部过滤器",
75
+ "type": "_TableTopFilter",
76
+ "wrapper": "collapse"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ {
82
+ "key": "actionsColumn",
83
+ "name": "操作列",
84
+ "type": "group",
85
+ "default": true,
86
+ "next": {
87
+ "name": "操作列",
88
+ "props": [
89
+ {
90
+ "key": "suppressActions",
91
+ "name": "隐藏操作列",
92
+ "type": "switch",
93
+ "default": false
94
+ },
95
+ {
96
+ "key": "actionsColumnWidth",
97
+ "name": "列宽",
98
+ "type": "_WidthHeight",
99
+ "options": [
100
+ {
101
+ "label": "px",
102
+ "value": "px"
103
+ }
104
+ ],
105
+ "convertInt": true,
106
+ "default": 160
107
+ },
108
+ {
109
+ "key": "actions",
110
+ "name": "表格操作项",
111
+ "type": "_ActionsEditor",
112
+ "default": {
113
+ "display": "text",
114
+ "max": 2,
115
+ "moreText": "更多操作",
116
+ "todoList": []
117
+ },
118
+ "defaultCode": "function onActionClick(data, rowIndex, params) {\n\n}",
119
+ "wrapper": "collapse",
120
+ "wrapperProps": {
121
+ "suppressIcon": true
122
+ }
123
+ }
124
+ ]
125
+ }
126
+ },
127
+ {
128
+ "key": "rowSelectionSetting",
129
+ "name": "行选择器",
130
+ "type": "group",
131
+ "default": true,
132
+ "next": {
133
+ "name": "行选择器",
134
+ "props": [
135
+ {
136
+ "key": "rowSelection",
137
+ "name": "开启行选择器",
138
+ "type": "switch",
139
+ "default": false
140
+ },
141
+ {
142
+ "key": "suppressRowSelectionPagination",
143
+ "name": "停用分页多选",
144
+ "desc": "停用分页多选后,选择器将不记录跨页的行选择,而只记录当前页的行选择",
145
+ "type": "switch",
146
+ "default": false
147
+ },
148
+ {
149
+ "key": "rowSelectionMode",
150
+ "name": "选择器模式",
151
+ "type": "segmented",
152
+ "options": [
153
+ {
154
+ "label": "复选",
155
+ "value": "multiple"
156
+ },
157
+ {
158
+ "label": "单选",
159
+ "value": "single"
160
+ }
161
+ ],
162
+ "default": "multiple"
163
+ },
164
+ {
165
+ "key": "bantchActions",
166
+ "name": "批量操作",
167
+ "type": "_ActionsEditor",
168
+ "default": {
169
+ "todoList": []
170
+ },
171
+ "defaultCode": "function onBatchOperationsClick(key, selectedRows) {\n\n}",
172
+ "suppressDisplay": true,
173
+ "suppressMax": true,
174
+ "suppressMore": true,
175
+ "wrapper": "collapse",
176
+ "wrapperProps": {
177
+ "suppressIcon": true
178
+ }
179
+ },
180
+ {
181
+ "key": "defaultRowSelectedCode",
182
+ "name": "默认选中行",
183
+ "type": "_JSEditor",
184
+ "defaultCode": "function getRowDefaultSelected(data, node) { \n return false; \n}",
185
+ "mustConfirm": true,
186
+ "wrapper": "collapse",
187
+ "wrapperProps": {
188
+ "suppressIcon": true
189
+ }
190
+ },
191
+ {
192
+ "key": "rowSelectableCode",
193
+ "name": "行是否可选",
194
+ "type": "_JSEditor",
195
+ "defaultCode": "function getRowSelectable(data, node) { \n return true; \n}",
196
+ "mustConfirm": true,
197
+ "wrapper": "collapse",
198
+ "wrapperProps": {
199
+ "suppressIcon": true
200
+ }
201
+ }
202
+ ]
203
+ }
204
+ },
205
+ {
206
+ "key": "impexpSetting",
207
+ "name": "导入导出",
208
+ "type": "group",
209
+ "props": [
210
+ {
211
+ "key": "impexp",
212
+ "name": "#导入导出",
213
+ "type": "_ImpExp",
214
+ "default": {
215
+ "export": true
216
+ },
217
+ "wrapperProps": {
218
+ "suppressIcon": true
219
+ }
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "key": "styleSetting",
225
+ "name": "风格和样式",
226
+ "type": "group",
227
+ "props": [
228
+ {
229
+ "key": "width",
230
+ "name": "宽度",
231
+ "type": "_WidthHeight",
232
+ "default": "100%"
233
+ },
234
+ {
235
+ "key": "height",
236
+ "name": "高度",
237
+ "type": "_WidthHeight",
238
+ "default": "100%"
239
+ },
240
+ {
241
+ "key": "zebra",
242
+ "name": "斑马纹",
243
+ "desc": "设置条件后按条件显示斑马纹,未设置条件按偶数行显示斑马纹,删除色码将不显示斑马纹",
244
+ "type": "_TableZebra",
245
+ "default": false
246
+ },
247
+ {
248
+ "key": "suppressPreset",
249
+ "name": "关闭预设",
250
+ "type": "switch",
251
+ "default": false
252
+ },
253
+ {
254
+ "key": "bordered",
255
+ "name": "边框线",
256
+ "type": "switch",
257
+ "default": false
258
+ },
259
+ {
260
+ "key": "renderIndex",
261
+ "name": "显示序号",
262
+ "type": "switch",
263
+ "default": true
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "key": "paginationSetting",
269
+ "name": "分页设置",
270
+ "type": "group",
271
+ "props": [
272
+ {
273
+ "key": "pagination",
274
+ "name": "开启分页",
275
+ "type": "switch",
276
+ "default": true
277
+ },
278
+ {
279
+ "key": "showSizeChanger",
280
+ "name": "pageSize选择",
281
+ "type": "switch",
282
+ "default": true
283
+ },
284
+ {
285
+ "key": "showQuickJumper",
286
+ "name": "快速跳转",
287
+ "type": "switch",
288
+ "default": true
289
+ },
290
+ {
291
+ "key": "hideOnSinglePage",
292
+ "name": "单页无分页器",
293
+ "desc": "只有一页时隐藏分页器",
294
+ "type": "switch",
295
+ "default": false
296
+ },
297
+ {
298
+ "key": "paginationSimple",
299
+ "name": "简单分页",
300
+ "type": "switch",
301
+ "default": false
302
+ },
303
+ {
304
+ "key": "pageSize",
305
+ "name": "每页条数",
306
+ "type": "number",
307
+ "default": 30
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "key": "advance",
313
+ "name": "高级设置",
314
+ "type": "group",
315
+ "default": true,
316
+ "next": {
317
+ "name": "高级设置",
318
+ "props": [
319
+ {
320
+ "key": "formatDataSource",
321
+ "name": "格式化数据",
322
+ "type": "_JSEditor",
323
+ "defaultCode": "function formatDataSource(list, detail) { \n return []; \n}",
324
+ "mustConfirm": true,
325
+ "wrapper": "collapse",
326
+ "wrapperProps": {
327
+ "suppressIcon": true
328
+ }
329
+ },
330
+ {
331
+ "key": "getDataPath",
332
+ "name": "构建树层级",
333
+ "type": "_JSEditor",
334
+ "defaultCode": "function getDataPath(data) { \n return []; \n}",
335
+ "mustConfirm": true,
336
+ "wrapper": "collapse",
337
+ "wrapperProps": {
338
+ "suppressIcon": true
339
+ }
340
+ },
341
+ {
342
+ "key": "columnsRewrite",
343
+ "name": "重写表格列",
344
+ "desc": "自定义某些表格列",
345
+ "type": "_JSEditor",
346
+ "defaultCode": "function columnsRewrite(columns) { \n return columns; \n}",
347
+ "mustConfirm": true,
348
+ "wrapper": "collapse",
349
+ "wrapperProps": {
350
+ "suppressIcon": true
351
+ }
352
+ },
353
+ {
354
+ "key": "columnsReset",
355
+ "name": "重置表格列",
356
+ "desc": "完全自定义所有表格列,优先级大于columnsRewrite",
357
+ "type": "_JSEditor",
358
+ "defaultCode": "function columnsReset(columns) { \n return columns; \n}",
359
+ "mustConfirm": true,
360
+ "wrapper": "collapse",
361
+ "wrapperProps": {
362
+ "suppressIcon": true
363
+ }
364
+ },
365
+ {
366
+ "key": "modelParams",
367
+ "name": "model参数",
368
+ "type": "_JSEditor",
369
+ "defaultCode": "function getModelParams() { \n return {}; \n}",
370
+ "mustConfirm": true,
371
+ "wrapper": "collapse",
372
+ "wrapperProps": {
373
+ "suppressIcon": true
374
+ }
375
+ }
376
+ ]
377
+ }
378
+ }
379
+ ],
380
+ "advance": {
381
+ "events": [
382
+ {
383
+ "key": "onMount",
384
+ "name": "组件首次渲染时",
385
+ "desc": "在组件首次渲染时,执行方法",
386
+ "func": "function onMount(params) {\n\t\n}"
387
+ },
388
+ {
389
+ "key": "onUnmount",
390
+ "name": "组件卸载时",
391
+ "desc": "在组件卸载时,执行方法。",
392
+ "func": "function onUnmount() {\n\t\n}"
393
+ },
394
+ {
395
+ "key": "onRowClick",
396
+ "name": "行单击",
397
+ "desc": "单击表格行时,执行方法",
398
+ "func": "function onRowClick(data, rowIndex, params) {\n\t\n}"
399
+ },
400
+ {
401
+ "key": "onRowDoubleClick",
402
+ "name": "行双击",
403
+ "desc": "双击表格行时,执行方法",
404
+ "func": "function onRowDoubleClick(data, rowIndex, params) {\n\t\n}"
405
+ },
406
+ {
407
+ "key": "onRowSelected",
408
+ "name": "行选择",
409
+ "desc": "选中行时,执行方法",
410
+ "func": "function onRowSelected(data, isSelected, SelectedRows, params) {\n\t\n}"
411
+ },
412
+ {
413
+ "key": "onRowSelectChange",
414
+ "name": "行选择变化",
415
+ "desc": "行选中发生变化时,执行方法",
416
+ "func": "function onRowSelectChange(rows, nodes, params) {\n\t\n}"
417
+ },
418
+ {
419
+ "key": "onRowDragged",
420
+ "name": "行拖拽后",
421
+ "desc": "拖拽行使其顺序发生变化后,执行方法",
422
+ "func": "function onRowDragged(toId, fromId, params) {\n\t\n}"
423
+ },
424
+ {
425
+ "key": "onPagePublicResourceChanged",
426
+ "name": "页面共享资源变化后",
427
+ "desc": "当页面共享资源发生变化后(pagePublicResourceChanged),执行方法",
428
+ "func": "function onPagePublicResourceChanged(resource, prevResource, instance) {\n\t\n}"
429
+ },
430
+ {
431
+ "key": "afterInit",
432
+ "name": "初始化后的回调",
433
+ "desc": "组件及数据加载完成后,执行方法",
434
+ "func": "function afterInit(res, dispatch, props) {\n\t\n}"
435
+ },
436
+ {
437
+ "key": "afterQuery",
438
+ "name": "数据读取回调",
439
+ "desc": "读取数据源后执行方法,返回接口中原始数据",
440
+ "func": "function afterQuery(res) {\n\t\n}"
441
+ }
442
+ ]
443
+ }
444
+ }
File without changes
@@ -0,0 +1,117 @@
1
+ {
2
+ "component": "Tabs",
3
+ "name": "选项卡",
4
+ "icon": "icon-tabs",
5
+ "group": "container",
6
+ "groupName": "布局",
7
+ "desc": "用于显示多个相关内容并提供切换功能。它包含了标签项、形态、大小等配置选项,使用户能够创建具有选项卡切换功能的界面,并根据需要自定义选项卡的外观和尺寸。",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "id",
12
+ "name": "唯一标识",
13
+ "type": "string",
14
+ "disabled": true
15
+ },
16
+ {
17
+ "key": "items",
18
+ "name": "标签项",
19
+ "desc": "表示标签项或选项卡的集合",
20
+ "type": "_TabItems",
21
+ "default": [
22
+ {
23
+ "id": "tab_lvwdncx1",
24
+ "name": "标签项",
25
+ "active": true,
26
+ "destory": false,
27
+ "serial": null,
28
+ "serialEffect": "hidden"
29
+ }
30
+ ],
31
+ "wrapper": "collapse",
32
+ "wrapperProps": {
33
+ "suppressIcon": true
34
+ }
35
+ },
36
+ {
37
+ "key": "type",
38
+ "name": "基本样式",
39
+ "type": "segmented",
40
+ "options": [
41
+ {
42
+ "label": "线条式",
43
+ "value": "line"
44
+ },
45
+ {
46
+ "label": "卡片式",
47
+ "value": "card"
48
+ }
49
+ ],
50
+ "default": "line"
51
+ },
52
+ {
53
+ "key": "tabPosition",
54
+ "name": "页签位置",
55
+ "type": "segmented",
56
+ "repositioning": true,
57
+ "options": [
58
+ {
59
+ "label": "上",
60
+ "value": "top"
61
+ },
62
+ {
63
+ "label": "右",
64
+ "value": "right"
65
+ },
66
+ {
67
+ "label": "下",
68
+ "value": "bottom"
69
+ },
70
+ {
71
+ "label": "左",
72
+ "value": "left"
73
+ }
74
+ ],
75
+ "default": "top"
76
+ },
77
+ {
78
+ "key": "tabBarGutter",
79
+ "name": "Tab间隙",
80
+ "type": "number"
81
+ },
82
+ {
83
+ "key": "tabBarExtraContent",
84
+ "name": "tab bar 上额外的元素",
85
+ "type": "_JSEditor",
86
+ "defaultCode": "function Component() { \n return <div>extra</div>; \n}",
87
+ "mustConfirm": true,
88
+ "wrapper": "collapse",
89
+ "wrapperProps": {
90
+ "suppressIcon": true
91
+ }
92
+ }
93
+ ],
94
+ "css": "width: 100%; height: 100%;",
95
+ "advance": {
96
+ "events": [
97
+ {
98
+ "key": "onMount",
99
+ "name": "组件首次渲染时",
100
+ "desc": "在组件首次渲染时,执行方法",
101
+ "func": "function onMount() {\n\t\n}"
102
+ },
103
+ {
104
+ "key": "onUnmount",
105
+ "name": "组件卸载时",
106
+ "desc": "在组件卸载时,执行方法。",
107
+ "func": "function onUnmount() {\n\t\n}"
108
+ },
109
+ {
110
+ "key": "onTabClick",
111
+ "name": "tab被点击的回调",
112
+ "desc": "当tab被点击时, 执行方法",
113
+ "func": "function onTabClick(tabKey, e) {\n\t\n}"
114
+ }
115
+ ]
116
+ }
117
+ }
File without changes
@@ -0,0 +1,66 @@
1
+ {
2
+ "component": "Text",
3
+ "name": "文本",
4
+ "icon": "icon-text",
5
+ "group": "basic",
6
+ "groupName": "基础",
7
+ "desc": "文本组件用于显示文本内容。",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "id",
12
+ "desc": "唯一标识",
13
+ "type": "string",
14
+ "disabled": true
15
+ },
16
+ {
17
+ "key": "content",
18
+ "name": "内容",
19
+ "desc": "文本内容设置",
20
+ "type": "_I18nInput"
21
+ },
22
+ {
23
+ "key": "showTitle",
24
+ "name": "显示标题",
25
+ "desc": "是否显示标题",
26
+ "type": "boolean",
27
+ "default": false
28
+ },
29
+ {
30
+ "key": "title",
31
+ "name": "自定义标题",
32
+ "desc": "显示标题时配置。自定义标题内容",
33
+ "type": "_I18nInput"
34
+ },
35
+ {
36
+ "key": "maxLine",
37
+ "name": "最大行数",
38
+ "desc": "超出时自动省略号展示",
39
+ "type": "number",
40
+ "default": 0
41
+ }
42
+ ],
43
+ "css": {},
44
+ "advance": {
45
+ "events": [
46
+ {
47
+ "key": "onMount",
48
+ "name": "组件首次渲染时",
49
+ "desc": "在组件首次渲染时,执行方法",
50
+ "func": "(params)=>{\n\t\n}"
51
+ },
52
+ {
53
+ "key": "onUnmount",
54
+ "name": "组件卸载时",
55
+ "desc": "在组件卸载时,执行方法。",
56
+ "func": "(params)=>{\n\t\n}"
57
+ },
58
+ {
59
+ "key": "onClick",
60
+ "name": "点击事件",
61
+ "desc": "点击文本时,执行方法",
62
+ "func": "(e)=>{\n\t\n}"
63
+ }
64
+ ]
65
+ }
66
+ }
File without changes