@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,145 @@
1
+ {
2
+ "component": "FieldNumber",
3
+ "name": "数字",
4
+ "group": "field",
5
+ "desc": "数字类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "fieldAliasName",
12
+ "name": "字段标题",
13
+ "type": "_I18nInput"
14
+ },
15
+ {
16
+ "key": "step",
17
+ "name": "步数",
18
+ "type": "number",
19
+ "default": 1
20
+ },
21
+ {
22
+ "key": "min",
23
+ "name": "最小值",
24
+ "type": "number"
25
+ },
26
+ {
27
+ "key": "max",
28
+ "name": "最大值",
29
+ "type": "number"
30
+ },
31
+ {
32
+ "key": "addonBefore",
33
+ "name": "前置内容",
34
+ "type": "string",
35
+ "default": ""
36
+ },
37
+ {
38
+ "key": "addonAfter",
39
+ "name": "后置内容",
40
+ "type": "string",
41
+ "default": ""
42
+ },
43
+ {
44
+ "key": "generalSetting",
45
+ "name": "通用配置",
46
+ "type": "group",
47
+ "props": [
48
+ {
49
+ "key": "col",
50
+ "name": "占列数",
51
+ "type": "radio",
52
+ "repositioning": true,
53
+ "options": [
54
+ {
55
+ "label": "1",
56
+ "value": 1
57
+ },
58
+ {
59
+ "label": "2",
60
+ "value": 2
61
+ },
62
+ {
63
+ "label": "3",
64
+ "value": 3
65
+ },
66
+ {
67
+ "label": "4",
68
+ "value": 4
69
+ }
70
+ ],
71
+ "default": 1
72
+ },
73
+ {
74
+ "key": "row",
75
+ "name": "占行数",
76
+ "type": "radio",
77
+ "repositioning": true,
78
+ "options": [
79
+ {
80
+ "label": "1",
81
+ "value": 1
82
+ },
83
+ {
84
+ "label": "2",
85
+ "value": 2
86
+ },
87
+ {
88
+ "label": "3",
89
+ "value": 3
90
+ },
91
+ {
92
+ "label": "4",
93
+ "value": 4
94
+ }
95
+ ],
96
+ "default": 1
97
+ },
98
+ {
99
+ "key": "note",
100
+ "name": "字段注释",
101
+ "type": "_I18nInput"
102
+ },
103
+ {
104
+ "key": "tip",
105
+ "name": "长说明",
106
+ "type": "_I18nInput"
107
+ },
108
+ {
109
+ "key": "placeholder",
110
+ "name": "默认提示",
111
+ "type": "_I18nInput"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "key": "state",
117
+ "name": "状态",
118
+ "desc": "表单项的初始化状态",
119
+ "type": "_FieldState",
120
+ "default": {
121
+ "value": "normal"
122
+ },
123
+ "wrapper": "collapse",
124
+ "wrapperProps": {
125
+ "suppressIcon": true
126
+ }
127
+ }
128
+ ],
129
+ "advance": {
130
+ "events": [
131
+ {
132
+ "key": "onValueChange",
133
+ "name": "数据变化事件",
134
+ "desc": "在数据变化事件时,执行方法",
135
+ "func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
136
+ },
137
+ {
138
+ "key": "onChange",
139
+ "name": "值变化事件(onChange)",
140
+ "desc": "原生onChange事件,在值发生变化时,执行方法",
141
+ "func": "function onChange(value) {\n\t\n}"
142
+ }
143
+ ]
144
+ }
145
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "component": "FieldRadio",
3
+ "name": "单选组件",
4
+ "group": "field",
5
+ "desc": "圆形单选表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "advance": {
10
+ "events": {}
11
+ }
12
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "component": "FieldRadio",
3
+ "name": "单选组件",
4
+ "group": "field",
5
+ "desc": "圆形单选表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [],
10
+ "advance": {
11
+ "events": [
12
+ {
13
+ "key": "onChange",
14
+ "name": "数据变化事件",
15
+ "desc": "选中 option时,调用此函数",
16
+ "func": "function onChange(event) {\n\t\n}"
17
+ }
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "component": "FieldRegion",
3
+ "name": "省市区选择",
4
+ "group": "field",
5
+ "desc": "省市区级联选择表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "advance": {
10
+ "events": {}
11
+ }
12
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "component": "FieldRegion",
3
+ "name": "省市区选择",
4
+ "group": "field",
5
+ "desc": "省市区级联选择表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [],
10
+ "advance": {
11
+ "events": [
12
+ {
13
+ "key": "onChange",
14
+ "name": "数据变化事件",
15
+ "desc": "选中 option时,调用此函数",
16
+ "func": "function onChange(value,option) {\n\t\n}"
17
+ },
18
+ {
19
+ "key": "onPopupVisibleChange",
20
+ "name": "显示/隐藏浮层的回调",
21
+ "desc": "显示/隐藏浮层的回调",
22
+ "func": "function onPopupVisibleChange(visible) {\n\t\n}"
23
+ }
24
+ ]
25
+ }
26
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "component": "FieldSelect",
3
+ "name": "下拉选择器",
4
+ "group": "field",
5
+ "desc": "下拉选择器,支持单选、多选、tag标签选择",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "filterOption": true,
10
+ "dropdownMatchSelectWidth": true,
11
+ "advance": {
12
+ "events": {}
13
+ }
14
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "component": "FieldSelect",
3
+ "name": "下拉选择器",
4
+ "group": "field",
5
+ "desc": "下拉选择器,支持单选、多选、tag标签选择",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "filterOption",
12
+ "name": "根据输入项筛选",
13
+ "type": "switch",
14
+ "desc": "当其为一个函数时,会接收 inputValue option 两个参数,当 option 符合筛选条件时,应返回 true,反之则返回 false。异步搜索时,由于服务端已经进行过一次筛选,如不需要前端对下拉选项进行再次筛选,应设为false",
15
+ "default": true
16
+ },
17
+ {
18
+ "key": "dropdownMatchSelectWidth",
19
+ "name": "下拉和选择器同宽",
20
+ "type": "switch",
21
+ "default": true
22
+ }
23
+ ],
24
+ "advance": {
25
+ "events": [
26
+ {
27
+ "key": "onChange",
28
+ "name": "数据变化事件",
29
+ "desc": "选中 option,或 input 的 value 变化(combobox 模式下)时,调用此函数",
30
+ "func": "function onChange(value,option) {\n\t\n}"
31
+ },
32
+ {
33
+ "key": "onSelect",
34
+ "name": "被选中时回调",
35
+ "desc": "被选中时调用,参数为选中项的 value (或 key) 值",
36
+ "func": "function onSelect(value,option) {\n\t\n}"
37
+ },
38
+ {
39
+ "key": "onSearch",
40
+ "name": "搜索事件",
41
+ "desc": "文本框值变化时的回调",
42
+ "func": "function onSearch(value) {\n\t\n}"
43
+ },
44
+ {
45
+ "key": "onBlur",
46
+ "name": "失去焦点事件",
47
+ "desc": "失去焦点的时回调",
48
+ "func": "function onBlur() {\n\t\n}"
49
+ },
50
+ {
51
+ "key": "onFocus",
52
+ "name": "获得焦点事件",
53
+ "desc": "获得焦点时回调",
54
+ "func": "function onFocus() {\n\t\n}"
55
+ }
56
+ ]
57
+ }
58
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "component": "FieldString",
3
+ "name": "字符串",
4
+ "group": "field",
5
+ "desc": "字符串类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "col": 1,
10
+ "row": 1,
11
+ "state": {
12
+ "value": "normal"
13
+ },
14
+ "advance": {
15
+ "events": {}
16
+ }
17
+ }
@@ -0,0 +1,154 @@
1
+ {
2
+ "component": "FieldString",
3
+ "name": "字符串",
4
+ "group": "field",
5
+ "desc": "字符串类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "fieldAliasName",
12
+ "name": "字段标题",
13
+ "type": "_I18nInput"
14
+ },
15
+ {
16
+ "key": "maxLength",
17
+ "name": "字数限制",
18
+ "type": "number"
19
+ },
20
+ {
21
+ "key": "addonBefore",
22
+ "name": "前置内容",
23
+ "type": "string"
24
+ },
25
+ {
26
+ "key": "addonAfter",
27
+ "name": "后置内容",
28
+ "type": "string"
29
+ },
30
+ {
31
+ "key": "prefix",
32
+ "name": "前缀内容",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "key": "suffix",
37
+ "name": "后缀内容",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "key": "generalSetting",
42
+ "name": "通用配置",
43
+ "type": "group",
44
+ "props": [
45
+ {
46
+ "key": "col",
47
+ "name": "占列数",
48
+ "type": "radio",
49
+ "repositioning": true,
50
+ "options": [
51
+ {
52
+ "label": "1",
53
+ "value": 1
54
+ },
55
+ {
56
+ "label": "2",
57
+ "value": 2
58
+ },
59
+ {
60
+ "label": "3",
61
+ "value": 3
62
+ },
63
+ {
64
+ "label": "4",
65
+ "value": 4
66
+ }
67
+ ],
68
+ "default": 1
69
+ },
70
+ {
71
+ "key": "row",
72
+ "name": "占行数",
73
+ "type": "radio",
74
+ "repositioning": true,
75
+ "options": [
76
+ {
77
+ "label": "1",
78
+ "value": 1
79
+ },
80
+ {
81
+ "label": "2",
82
+ "value": 2
83
+ },
84
+ {
85
+ "label": "3",
86
+ "value": 3
87
+ },
88
+ {
89
+ "label": "4",
90
+ "value": 4
91
+ }
92
+ ],
93
+ "default": 1
94
+ },
95
+ {
96
+ "key": "note",
97
+ "name": "字段注释",
98
+ "type": "_I18nInput"
99
+ },
100
+ {
101
+ "key": "tip",
102
+ "name": "长说明",
103
+ "type": "_I18nInput"
104
+ },
105
+ {
106
+ "key": "placeholder",
107
+ "name": "默认提示",
108
+ "type": "_I18nInput"
109
+ }
110
+ ]
111
+ },
112
+ {
113
+ "key": "state",
114
+ "name": "状态",
115
+ "desc": "表单项的初始化状态",
116
+ "type": "_FieldState",
117
+ "default": {
118
+ "value": "normal"
119
+ },
120
+ "wrapper": "collapse",
121
+ "wrapperProps": {
122
+ "suppressIcon": true
123
+ }
124
+ }
125
+ ],
126
+ "advance": {
127
+ "events": [
128
+ {
129
+ "key": "onValueChange",
130
+ "name": "数据变化事件",
131
+ "desc": "在数据变化事件时,执行方法",
132
+ "func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
133
+ },
134
+ {
135
+ "key": "onChange",
136
+ "name": "值变化事件(onChange)",
137
+ "desc": "原生onChange事件,在值发生变化时,执行方法",
138
+ "func": "function onChange(e) {\n\t\n}"
139
+ },
140
+ {
141
+ "key": "onBlur",
142
+ "name": "失去焦点事件",
143
+ "desc": "在失去焦点时,执行方法",
144
+ "func": "function onBlur(e) {\n\t\n}"
145
+ },
146
+ {
147
+ "key": "onFocus",
148
+ "name": "获取焦点事件",
149
+ "desc": "获取焦点时,执行方法",
150
+ "func": "function onFocus(e) {\n\t\n}"
151
+ }
152
+ ]
153
+ }
154
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "component": "FieldSwitch",
3
+ "name": "开关",
4
+ "group": "field",
5
+ "desc": "开关类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "col": 1,
10
+ "row": 1,
11
+ "state": {
12
+ "value": "normal"
13
+ },
14
+ "advance": {
15
+ "events": {}
16
+ }
17
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "component": "FieldSwitch",
3
+ "name": "开关",
4
+ "group": "field",
5
+ "desc": "开关类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "fieldAliasName",
12
+ "name": "字段标题",
13
+ "type": "_I18nInput"
14
+ },
15
+ {
16
+ "key": "checkedChildren",
17
+ "name": "选中时文本",
18
+ "type": "string"
19
+ },
20
+ {
21
+ "key": "unCheckedChildren",
22
+ "name": "非选中时文本",
23
+ "type": "string"
24
+ },
25
+ {
26
+ "key": "generalSetting",
27
+ "name": "通用配置",
28
+ "type": "group",
29
+ "props": [
30
+ {
31
+ "key": "col",
32
+ "name": "占列数",
33
+ "type": "radio",
34
+ "repositioning": true,
35
+ "options": [
36
+ {
37
+ "label": "1",
38
+ "value": 1
39
+ },
40
+ {
41
+ "label": "2",
42
+ "value": 2
43
+ },
44
+ {
45
+ "label": "3",
46
+ "value": 3
47
+ },
48
+ {
49
+ "label": "4",
50
+ "value": 4
51
+ }
52
+ ],
53
+ "default": 1
54
+ },
55
+ {
56
+ "key": "row",
57
+ "name": "占行数",
58
+ "type": "radio",
59
+ "repositioning": true,
60
+ "options": [
61
+ {
62
+ "label": "1",
63
+ "value": 1
64
+ },
65
+ {
66
+ "label": "2",
67
+ "value": 2
68
+ },
69
+ {
70
+ "label": "3",
71
+ "value": 3
72
+ },
73
+ {
74
+ "label": "4",
75
+ "value": 4
76
+ }
77
+ ],
78
+ "default": 1
79
+ },
80
+ {
81
+ "key": "note",
82
+ "name": "字段注释",
83
+ "type": "_I18nInput"
84
+ },
85
+ {
86
+ "key": "tip",
87
+ "name": "长说明",
88
+ "type": "_I18nInput"
89
+ },
90
+ {
91
+ "key": "placeholder",
92
+ "name": "默认提示",
93
+ "type": "_I18nInput"
94
+ }
95
+ ]
96
+ },
97
+ {
98
+ "key": "state",
99
+ "name": "状态",
100
+ "desc": "表单项的初始化状态",
101
+ "type": "_FieldState",
102
+ "default": {
103
+ "value": "normal"
104
+ },
105
+ "wrapper": "collapse",
106
+ "wrapperProps": {
107
+ "suppressIcon": true
108
+ }
109
+ }
110
+ ],
111
+ "advance": {
112
+ "events": [
113
+ {
114
+ "key": "onValueChange",
115
+ "name": "数据变化事件",
116
+ "desc": "在数据变化事件时,执行方法",
117
+ "func": "function onValueChange(value, field, data, formProps) {\n\t\n}"
118
+ },
119
+ {
120
+ "key": "onChange",
121
+ "name": "值变化事件(onChange)",
122
+ "desc": "原生onChange事件,在值发生变化时,执行方法",
123
+ "func": "function onChange(checked) {\n\t\n}"
124
+ }
125
+ ]
126
+ }
127
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "component": "FieldTextarea",
3
+ "name": "文本框",
4
+ "group": "field",
5
+ "desc": "文本框类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "autosize": false,
10
+ "col": 1,
11
+ "row": 1,
12
+ "state": {
13
+ "value": "normal"
14
+ },
15
+ "advance": {
16
+ "events": {}
17
+ }
18
+ }