@luck-design-biz/luckda 1.0.2-11 → 1.0.2-13

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 (368) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/es/components/LDActions/index.less +70 -70
  4. package/es/components/LdFormList/index.js +6 -4
  5. package/es/components/LdGrid/index.js +4 -4
  6. package/es/components/LdGridForm/index.less +7 -7
  7. package/es/components/LdTree/index.less +42 -42
  8. package/es/helper/action.js +8 -6
  9. package/es/helper/form.js +14 -14
  10. package/es/helper/index.less +7 -7
  11. package/es/locales/zh-CN.js +8 -1
  12. package/es/lowcode/constants/api-url.js +121 -121
  13. package/es/lowcode/engine/meta/components-list.json +6 -6
  14. package/es/lowcode/engine/meta/dialog.props.default.json +4 -1
  15. package/es/lowcode/engine/meta/dialog.props.json +24 -4
  16. package/es/lowcode/engine/meta/drawer.props.json +1 -1
  17. package/es/lowcode/engine/meta/js-editor/auto-complete.json +30 -30
  18. package/es/lowcode/engine/provider/ContextProvider/index.js +44 -44
  19. package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js +16 -16
  20. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  21. package/es/lowcode/painter/Components.js +2 -2
  22. package/es/lowcode/painter/DesignOperator.js +4 -3
  23. package/es/lowcode/painter/components/AdvancePanel.js +1 -1
  24. package/es/lowcode/painter/components/Collapse.js +26 -26
  25. package/es/lowcode/painter/components/ColorInput.js +24 -24
  26. package/es/lowcode/painter/components/ListEditor.js +24 -24
  27. package/es/lowcode/painter/components/NumberInput.js +28 -28
  28. package/es/lowcode/painter/components/PanelItem.js +24 -24
  29. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  30. package/es/lowcode/painter/components/PopForm.js +27 -27
  31. package/es/lowcode/painter/components/RuleInput.js +30 -30
  32. package/es/lowcode/painter/components/SortBox.js +22 -22
  33. package/es/lowcode/painter/components/TreeEditor.js +10 -10
  34. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  35. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  36. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  37. package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  38. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  39. package/es/lowcode/painter/components/field-setting/SettingUI.js +0 -1
  40. package/es/lowcode/painter/panel-section/ConditionCheck.js +71 -0
  41. package/es/lowcode/painter/panel-section/DialogSize.js +76 -0
  42. package/es/lowcode/painter/panel-section/DialogWidthHeight.js +60 -0
  43. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  44. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  45. package/es/lowcode/painter/panel-section/JSEditor/index.js +30 -2
  46. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  47. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +7 -2
  48. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  49. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  50. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  51. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  52. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  53. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  54. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  55. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  56. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  57. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  58. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  59. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  60. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  61. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  62. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  63. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  64. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  65. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  66. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  67. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  68. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  69. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  70. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  71. package/es/lowcode/painter/style/action-bind-modal.less +104 -104
  72. package/es/lowcode/painter/style/actions-editor.less +15 -15
  73. package/es/lowcode/painter/style/border-editor.less +36 -36
  74. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  75. package/es/lowcode/painter/style/border-selector.less +39 -39
  76. package/es/lowcode/painter/style/button-type.less +5 -5
  77. package/es/lowcode/painter/style/collapse.less +28 -28
  78. package/es/lowcode/painter/style/color-input.less +19 -19
  79. package/es/lowcode/painter/style/components.less +91 -91
  80. package/es/lowcode/painter/style/design.less +178 -178
  81. package/es/lowcode/painter/style/display.less +17 -17
  82. package/es/lowcode/painter/style/dragdrop.less +56 -56
  83. package/es/lowcode/painter/style/fields-setting.less +25 -25
  84. package/es/lowcode/painter/style/font-editor.less +9 -9
  85. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  86. package/es/lowcode/painter/style/history.less +46 -46
  87. package/es/lowcode/painter/style/icon-selector.less +22 -22
  88. package/es/lowcode/painter/style/icon.less +10 -10
  89. package/es/lowcode/painter/style/impexp.less +7 -7
  90. package/es/lowcode/painter/style/index.less +6 -6
  91. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  92. package/es/lowcode/painter/style/list-editor.less +97 -97
  93. package/es/lowcode/painter/style/number-input.less +19 -19
  94. package/es/lowcode/painter/style/outline.less +30 -30
  95. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  96. package/es/lowcode/painter/style/page-vars.less +25 -25
  97. package/es/lowcode/painter/style/panel-attrs.less +47 -47
  98. package/es/lowcode/painter/style/panel-item.less +54 -54
  99. package/es/lowcode/painter/style/panel.less +100 -100
  100. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  101. package/es/lowcode/painter/style/pop-form.less +19 -19
  102. package/es/lowcode/painter/style/radio.less +24 -24
  103. package/es/lowcode/painter/style/ribbon.less +7 -7
  104. package/es/lowcode/painter/style/rule-input.less +12 -12
  105. package/es/lowcode/painter/style/split-display.less +18 -18
  106. package/es/lowcode/painter/style/style-panel.less +37 -37
  107. package/es/lowcode/painter/style/tabitems.less +90 -90
  108. package/es/lowcode/painter/svg/code.svg +3 -3
  109. package/es/lowcode/painter/svg/expect.svg +9 -9
  110. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  111. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  112. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  113. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  114. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  115. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  116. package/es/lowcode/view/lc-components/CardList/index.js +123 -123
  117. package/es/lowcode/view/lc-components/CardList/meta.json +332 -332
  118. package/es/lowcode/view/lc-components/Dialog/index.js +25 -18
  119. package/es/lowcode/view/lc-components/Dialog/index.less +12 -12
  120. package/es/lowcode/view/lc-components/Dialog/meta.json +224 -204
  121. package/es/lowcode/view/lc-components/Drawer/index.js +16 -16
  122. package/es/lowcode/view/lc-components/Drawer/index.less +13 -13
  123. package/es/lowcode/view/lc-components/Drawer/meta.json +242 -242
  124. package/es/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  125. package/es/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
  126. package/es/lowcode/view/lc-components/FieldDate/meta.json +140 -140
  127. package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  128. package/es/lowcode/view/lc-components/FieldEditor/meta.json +137 -137
  129. package/es/lowcode/view/lc-components/FieldGroup/meta.json +166 -166
  130. package/es/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
  131. package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  132. package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  133. package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  134. package/es/lowcode/view/lc-components/FieldString/meta.json +152 -152
  135. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  136. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  137. package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  138. package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  139. package/es/lowcode/view/lc-components/FieldYear/meta.json +128 -128
  140. package/es/lowcode/view/lc-components/Form/index.js +32 -39
  141. package/es/lowcode/view/lc-components/Form/meta.json +629 -629
  142. package/es/lowcode/view/lc-components/GroupTree/index.js +23 -23
  143. package/es/lowcode/view/lc-components/GroupTree/index.less +11 -11
  144. package/es/lowcode/view/lc-components/GroupTree/meta.json +82 -82
  145. package/es/lowcode/view/lc-components/Iframe/meta.json +31 -31
  146. package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
  147. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  148. package/es/lowcode/view/lc-components/ImEx/meta.json +134 -134
  149. package/es/lowcode/view/lc-components/Image/index.less +27 -27
  150. package/es/lowcode/view/lc-components/Image/meta.json +149 -149
  151. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  152. package/es/lowcode/view/lc-components/JSX/meta.json +29 -29
  153. package/es/lowcode/view/lc-components/Layout/index.js +16 -16
  154. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  155. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  156. package/es/lowcode/view/lc-components/Link/index.less +15 -15
  157. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  158. package/es/lowcode/view/lc-components/Page/meta.json +61 -61
  159. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  160. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  161. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  162. package/es/lowcode/view/lc-components/PageLayout/index.js +1 -1
  163. package/es/lowcode/view/lc-components/PageLayout/meta.json +59 -59
  164. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  165. package/es/lowcode/view/lc-components/Section/meta.json +108 -108
  166. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  167. package/es/lowcode/view/lc-components/Table/index.js +150 -149
  168. package/es/lowcode/view/lc-components/Table/meta.json +443 -443
  169. package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
  170. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  171. package/es/lowcode/view/lc-components/Text/meta.json +56 -56
  172. package/es/lowcode/view/lc-components/Tree/index.js +96 -96
  173. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  174. package/es/lowcode/view/lc-components/Tree/meta.json +353 -353
  175. package/es/lowcode/view/style/canvas.less +5 -5
  176. package/es/lowcode/view/style/loading.less +98 -98
  177. package/es/lowcode/view/style/page.less +7 -7
  178. package/es/upload/FilesWall/index.js +29 -19
  179. package/es/upload/FilesWall/index.less +74 -74
  180. package/es/upload/Form/gridForm.js +16 -6
  181. package/es/upload/Form/index.less +7 -7
  182. package/es/upload/FormItem/index.js +31 -19
  183. package/es/utils/form.js +21 -21
  184. package/lib/components/LDActions/index.less +70 -70
  185. package/lib/components/LdFormList/index.js +6 -4
  186. package/lib/components/LdGrid/index.js +4 -4
  187. package/lib/components/LdGridForm/index.less +7 -7
  188. package/lib/components/LdTree/index.less +42 -42
  189. package/lib/helper/action.js +8 -6
  190. package/lib/helper/form.js +14 -14
  191. package/lib/helper/index.less +7 -7
  192. package/lib/locales/zh-CN.js +8 -1
  193. package/lib/lowcode/constants/api-url.js +121 -121
  194. package/lib/lowcode/engine/meta/components-list.json +6 -6
  195. package/lib/lowcode/engine/meta/dialog.props.default.json +4 -1
  196. package/lib/lowcode/engine/meta/dialog.props.json +24 -4
  197. package/lib/lowcode/engine/meta/drawer.props.json +1 -1
  198. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +30 -30
  199. package/lib/lowcode/engine/provider/ContextProvider/index.js +44 -44
  200. package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js +16 -16
  201. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  202. package/lib/lowcode/painter/Components.js +2 -2
  203. package/lib/lowcode/painter/DesignOperator.js +4 -3
  204. package/lib/lowcode/painter/components/AdvancePanel.js +1 -1
  205. package/lib/lowcode/painter/components/Collapse.js +26 -26
  206. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  207. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  208. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  209. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  210. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  211. package/lib/lowcode/painter/components/PopForm.js +27 -27
  212. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  213. package/lib/lowcode/painter/components/SortBox.js +22 -22
  214. package/lib/lowcode/painter/components/TreeEditor.js +10 -10
  215. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  216. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  217. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  218. package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  219. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  220. package/lib/lowcode/painter/components/field-setting/SettingUI.js +0 -1
  221. package/lib/lowcode/painter/panel-section/ConditionCheck.js +79 -0
  222. package/lib/lowcode/painter/panel-section/DialogSize.js +83 -0
  223. package/lib/lowcode/painter/panel-section/DialogWidthHeight.js +67 -0
  224. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  225. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  226. package/lib/lowcode/painter/panel-section/JSEditor/index.js +29 -1
  227. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  228. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +7 -2
  229. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  230. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  231. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  232. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  233. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  234. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  235. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  236. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  237. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  238. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  239. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  240. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  241. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  242. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  243. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  244. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  245. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  246. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  247. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  248. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  249. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  250. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  251. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  252. package/lib/lowcode/painter/style/action-bind-modal.less +104 -104
  253. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  254. package/lib/lowcode/painter/style/border-editor.less +36 -36
  255. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  256. package/lib/lowcode/painter/style/border-selector.less +39 -39
  257. package/lib/lowcode/painter/style/button-type.less +5 -5
  258. package/lib/lowcode/painter/style/collapse.less +28 -28
  259. package/lib/lowcode/painter/style/color-input.less +19 -19
  260. package/lib/lowcode/painter/style/components.less +91 -91
  261. package/lib/lowcode/painter/style/design.less +178 -178
  262. package/lib/lowcode/painter/style/display.less +17 -17
  263. package/lib/lowcode/painter/style/dragdrop.less +56 -56
  264. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  265. package/lib/lowcode/painter/style/font-editor.less +9 -9
  266. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  267. package/lib/lowcode/painter/style/history.less +46 -46
  268. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  269. package/lib/lowcode/painter/style/icon.less +10 -10
  270. package/lib/lowcode/painter/style/impexp.less +7 -7
  271. package/lib/lowcode/painter/style/index.less +6 -6
  272. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  273. package/lib/lowcode/painter/style/list-editor.less +97 -97
  274. package/lib/lowcode/painter/style/number-input.less +19 -19
  275. package/lib/lowcode/painter/style/outline.less +30 -30
  276. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  277. package/lib/lowcode/painter/style/page-vars.less +25 -25
  278. package/lib/lowcode/painter/style/panel-attrs.less +47 -47
  279. package/lib/lowcode/painter/style/panel-item.less +54 -54
  280. package/lib/lowcode/painter/style/panel.less +100 -100
  281. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  282. package/lib/lowcode/painter/style/pop-form.less +19 -19
  283. package/lib/lowcode/painter/style/radio.less +24 -24
  284. package/lib/lowcode/painter/style/ribbon.less +7 -7
  285. package/lib/lowcode/painter/style/rule-input.less +12 -12
  286. package/lib/lowcode/painter/style/split-display.less +18 -18
  287. package/lib/lowcode/painter/style/style-panel.less +37 -37
  288. package/lib/lowcode/painter/style/tabitems.less +90 -90
  289. package/lib/lowcode/painter/svg/code.svg +3 -3
  290. package/lib/lowcode/painter/svg/expect.svg +9 -9
  291. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  292. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  293. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  294. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  295. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  296. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  297. package/lib/lowcode/view/lc-components/CardList/index.js +123 -123
  298. package/lib/lowcode/view/lc-components/CardList/meta.json +332 -332
  299. package/lib/lowcode/view/lc-components/Dialog/index.js +23 -16
  300. package/lib/lowcode/view/lc-components/Dialog/index.less +12 -12
  301. package/lib/lowcode/view/lc-components/Dialog/meta.json +224 -204
  302. package/lib/lowcode/view/lc-components/Drawer/index.js +14 -14
  303. package/lib/lowcode/view/lc-components/Drawer/index.less +13 -13
  304. package/lib/lowcode/view/lc-components/Drawer/meta.json +242 -242
  305. package/lib/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  306. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
  307. package/lib/lowcode/view/lc-components/FieldDate/meta.json +140 -140
  308. package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  309. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +137 -137
  310. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +166 -166
  311. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
  312. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  313. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  314. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  315. package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -152
  316. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  317. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  318. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  319. package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  320. package/lib/lowcode/view/lc-components/FieldYear/meta.json +128 -128
  321. package/lib/lowcode/view/lc-components/Form/index.js +32 -39
  322. package/lib/lowcode/view/lc-components/Form/meta.json +629 -629
  323. package/lib/lowcode/view/lc-components/GroupTree/index.js +23 -23
  324. package/lib/lowcode/view/lc-components/GroupTree/index.less +11 -11
  325. package/lib/lowcode/view/lc-components/GroupTree/meta.json +82 -82
  326. package/lib/lowcode/view/lc-components/Iframe/meta.json +31 -31
  327. package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
  328. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  329. package/lib/lowcode/view/lc-components/ImEx/meta.json +134 -134
  330. package/lib/lowcode/view/lc-components/Image/index.less +27 -27
  331. package/lib/lowcode/view/lc-components/Image/meta.json +149 -149
  332. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  333. package/lib/lowcode/view/lc-components/JSX/meta.json +29 -29
  334. package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
  335. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  336. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  337. package/lib/lowcode/view/lc-components/Link/index.less +15 -15
  338. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  339. package/lib/lowcode/view/lc-components/Page/meta.json +61 -61
  340. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  341. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  342. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  343. package/lib/lowcode/view/lc-components/PageLayout/index.js +1 -1
  344. package/lib/lowcode/view/lc-components/PageLayout/meta.json +59 -59
  345. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  346. package/lib/lowcode/view/lc-components/Section/meta.json +108 -108
  347. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  348. package/lib/lowcode/view/lc-components/Table/index.js +150 -149
  349. package/lib/lowcode/view/lc-components/Table/meta.json +443 -443
  350. package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
  351. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  352. package/lib/lowcode/view/lc-components/Text/meta.json +56 -56
  353. package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
  354. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  355. package/lib/lowcode/view/lc-components/Tree/meta.json +353 -353
  356. package/lib/lowcode/view/style/canvas.less +5 -5
  357. package/lib/lowcode/view/style/loading.less +98 -98
  358. package/lib/lowcode/view/style/page.less +7 -7
  359. package/lib/upload/FilesWall/index.js +26 -16
  360. package/lib/upload/FilesWall/index.less +74 -74
  361. package/lib/upload/Form/gridForm.js +13 -3
  362. package/lib/upload/Form/index.less +7 -7
  363. package/lib/upload/FormItem/index.js +30 -18
  364. package/lib/utils/form.js +21 -21
  365. package/lowcode.js +1 -1
  366. package/package.json +175 -176
  367. package/upload.js +1 -1
  368. package/utils.js +1 -1
@@ -1,127 +1,127 @@
1
- {
2
- "component": "Button",
3
- "name": "按钮",
4
- "desc": "用于触发特定的操作或动作,以便用户可以轻松地创建具有自定义样式和行为的界面。",
5
- "icon": "icon-button",
6
- "group": "basic",
7
- "groupName": "基础",
8
- "order": 1,
9
- "props": [
10
- {
11
- "key": "id",
12
- "name": "唯一标识",
13
- "type": "string",
14
- "disabled": true
15
- },
16
- {
17
- "key": "title",
18
- "name": "标题",
19
- "type": "_I18nInput",
20
- "repositioning": true,
21
- "default": "按钮"
22
- },
23
- {
24
- "key": "type",
25
- "name": "按钮类型",
26
- "type": "_ButtonType",
27
- "default": "default"
28
- },
29
- {
30
- "key": "size",
31
- "name": "按钮",
32
- "type": "segmented",
33
- "repositioning": true,
34
- "options": [
35
- {
36
- "label": "小",
37
- "value": "small"
38
- },
39
- {
40
- "label": "中",
41
- "value": "middle"
42
- },
43
- {
44
- "label": "大",
45
- "value": "large"
46
- }
47
- ],
48
- "default": "middle"
49
- },
50
- {
51
- "key": "block",
52
- "name": "块级",
53
- "desc": "将按钮宽度调整为其父宽度的选项",
54
- "type": "switch",
55
- "repositioning": true,
56
- "default": false
57
- },
58
- {
59
- "key": "ghost",
60
- "name": "幽灵按钮",
61
- "desc": "幽灵属性按钮,设置为 true 后,按钮的内容颜色会切换至当前 theme 的 primaryColor,按钮的hover效果会消失",
62
- "type": "switch",
63
- "default": false
64
- },
65
- {
66
- "key": "iconFont",
67
- "name": "图标",
68
- "type": "_Icon",
69
- "next": {
70
- "name": "选择图标",
71
- "autoClose": true,
72
- "props": [
73
- {
74
- "key": "iconFont",
75
- "name": "#图标选择器",
76
- "type": "_IconSelector"
77
- }
78
- ]
79
- },
80
- "repositioning": true
81
- },
82
- {
83
- "key": "serials",
84
- "name": "资源串",
85
- "type": "_SerialsSelector"
86
- },
87
- {
88
- "key": "serialEffect",
89
- "name": "越权效果",
90
- "type": "segmented",
91
- "options": [
92
- {
93
- "label": "禁用",
94
- "value": "disable"
95
- },
96
- {
97
- "label": "隐藏",
98
- "value": "hidden"
99
- }
100
- ],
101
- "default": "hidden"
102
- }
103
- ],
104
- "css": "",
105
- "advance": {
106
- "events": [
107
- {
108
- "key": "onMount",
109
- "name": "组件首次渲染时",
110
- "desc": "在组件首次渲染时,执行方法",
111
- "func": "function onMount() {\n\t\n}"
112
- },
113
- {
114
- "key": "onUnmount",
115
- "name": "组件卸载时",
116
- "desc": "在组件卸载时,执行方法。",
117
- "func": "function onUnmount() {\n\t\n}"
118
- },
119
- {
120
- "key": "onClick",
121
- "name": "点击事件",
122
- "desc": "点击按钮时,执行方法",
123
- "func": "function onClick(e) {\n\t\n}"
124
- }
125
- ]
126
- }
127
- }
1
+ {
2
+ "component": "Button",
3
+ "name": "按钮",
4
+ "desc": "用于触发特定的操作或动作,以便用户可以轻松地创建具有自定义样式和行为的界面。",
5
+ "icon": "icon-button",
6
+ "group": "basic",
7
+ "groupName": "基础",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "id",
12
+ "name": "唯一标识",
13
+ "type": "string",
14
+ "disabled": true
15
+ },
16
+ {
17
+ "key": "title",
18
+ "name": "标题",
19
+ "type": "_I18nInput",
20
+ "repositioning": true,
21
+ "default": "按钮"
22
+ },
23
+ {
24
+ "key": "type",
25
+ "name": "按钮类型",
26
+ "type": "_ButtonType",
27
+ "default": "default"
28
+ },
29
+ {
30
+ "key": "size",
31
+ "name": "按钮",
32
+ "type": "segmented",
33
+ "repositioning": true,
34
+ "options": [
35
+ {
36
+ "label": "小",
37
+ "value": "small"
38
+ },
39
+ {
40
+ "label": "中",
41
+ "value": "middle"
42
+ },
43
+ {
44
+ "label": "大",
45
+ "value": "large"
46
+ }
47
+ ],
48
+ "default": "middle"
49
+ },
50
+ {
51
+ "key": "block",
52
+ "name": "块级",
53
+ "desc": "将按钮宽度调整为其父宽度的选项",
54
+ "type": "switch",
55
+ "repositioning": true,
56
+ "default": false
57
+ },
58
+ {
59
+ "key": "ghost",
60
+ "name": "幽灵按钮",
61
+ "desc": "幽灵属性按钮,设置为 true 后,按钮的内容颜色会切换至当前 theme 的 primaryColor,按钮的hover效果会消失",
62
+ "type": "switch",
63
+ "default": false
64
+ },
65
+ {
66
+ "key": "iconFont",
67
+ "name": "图标",
68
+ "type": "_Icon",
69
+ "next": {
70
+ "name": "选择图标",
71
+ "autoClose": true,
72
+ "props": [
73
+ {
74
+ "key": "iconFont",
75
+ "name": "#图标选择器",
76
+ "type": "_IconSelector"
77
+ }
78
+ ]
79
+ },
80
+ "repositioning": true
81
+ },
82
+ {
83
+ "key": "serials",
84
+ "name": "资源串",
85
+ "type": "_SerialsSelector"
86
+ },
87
+ {
88
+ "key": "serialEffect",
89
+ "name": "越权效果",
90
+ "type": "segmented",
91
+ "options": [
92
+ {
93
+ "label": "禁用",
94
+ "value": "disable"
95
+ },
96
+ {
97
+ "label": "隐藏",
98
+ "value": "hidden"
99
+ }
100
+ ],
101
+ "default": "hidden"
102
+ }
103
+ ],
104
+ "css": "",
105
+ "advance": {
106
+ "events": [
107
+ {
108
+ "key": "onMount",
109
+ "name": "组件首次渲染时",
110
+ "desc": "在组件首次渲染时,执行方法",
111
+ "func": "function onMount() {\n\t\n}"
112
+ },
113
+ {
114
+ "key": "onUnmount",
115
+ "name": "组件卸载时",
116
+ "desc": "在组件卸载时,执行方法。",
117
+ "func": "function onUnmount() {\n\t\n}"
118
+ },
119
+ {
120
+ "key": "onClick",
121
+ "name": "点击事件",
122
+ "desc": "点击按钮时,执行方法",
123
+ "func": "function onClick(e) {\n\t\n}"
124
+ }
125
+ ]
126
+ }
127
+ }
@@ -1,3 +1,3 @@
1
- .runtime-button{
2
- transition: none;
1
+ .runtime-button{
2
+ transition: none;
3
3
  }
@@ -58,16 +58,16 @@ var LCCardList = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
58
58
  var instanceRef = (0, _useCombinedRefs.default)(ref);
59
59
  (0, _react.useImperativeHandle)(apiRef, function () {
60
60
  return {
61
- /**
62
- * 获取表格实例
63
- * @method
61
+ /**
62
+ * 获取表格实例
63
+ * @method
64
64
  */
65
65
  getInstance: function getInstance() {
66
66
  return instanceRef.current;
67
67
  },
68
- /**
69
- * 刷新表格
70
- * @method
68
+ /**
69
+ * 刷新表格
70
+ * @method
71
71
  */
72
72
  refresh: function refresh() {
73
73
  var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
@@ -299,67 +299,67 @@ var LCCardList = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
299
299
  }, events)));
300
300
  });
301
301
  LCCardList.propTypes = {
302
- /**
303
- * @name 唯一标识
304
- * @type string
305
- * @disabled true
302
+ /**
303
+ * @name 唯一标识
304
+ * @type string
305
+ * @disabled true
306
306
  */
307
307
  id: _propTypes.default.string.isRequired,
308
- /**
309
- * @name 数据集
310
- * @type _DataSetSelector
308
+ /**
309
+ * @name 数据集
310
+ * @type _DataSetSelector
311
311
  */
312
312
  dataset: _propTypes.default.shape({
313
313
  code: _propTypes.default.string.isRequired,
314
314
  uid: _propTypes.default.string.isRequired
315
315
  }),
316
- /**
317
- * @name 自动加载
318
- * @desc 首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭
319
- * @type switch
320
- * @default true
316
+ /**
317
+ * @name 自动加载
318
+ * @desc 首次数据是否自动加载,若存在必须带搜索条件再加载的情况,需要关闭
319
+ * @type switch
320
+ * @default true
321
321
  */
322
322
  autoLoad: _propTypes.default.bool,
323
- /**
324
- * @name 只读
325
- * @type switch
326
- * @default false
323
+ /**
324
+ * @name 只读
325
+ * @type switch
326
+ * @default false
327
327
  */
328
328
  readOnly: _propTypes.default.bool,
329
- /**
330
- * @name 列数
331
- * @type number
332
- * @default 4
329
+ /**
330
+ * @name 列数
331
+ * @type number
332
+ * @default 4
333
333
  */
334
334
  col: _propTypes.default.number,
335
- /**
336
- * @name 隐藏操作列
337
- * @type switch
338
- * @default false
339
- * @groupNext actionsColumn
335
+ /**
336
+ * @name 隐藏操作列
337
+ * @type switch
338
+ * @default false
339
+ * @groupNext actionsColumn
340
340
  */
341
341
  suppressActions: _propTypes.default.bool,
342
- /**
343
- * @name 拖拽排序
344
- * @type switch
345
- * @default false
342
+ /**
343
+ * @name 拖拽排序
344
+ * @type switch
345
+ * @default false
346
346
  */
347
347
  draggable: _propTypes.default.bool,
348
- /**
349
- * @name 操作项
350
- * @type _TableActions
351
- * @groupNext actionsColumn
352
- * @default {"max": 3, "moreText": "更多操作", "todoList": []}
348
+ /**
349
+ * @name 操作项
350
+ * @type _TableActions
351
+ * @groupNext actionsColumn
352
+ * @default {"max": 3, "moreText": "更多操作", "todoList": []}
353
353
  */
354
354
  actions: _propTypes.default.shape({
355
355
  max: _propTypes.default.number,
356
356
  moreText: _propTypes.default.string,
357
357
  todoList: _propTypes.default.array
358
358
  }),
359
- /**
360
- * @name 顶部操作
361
- * @type _ActionGroup
362
- * @default {"display": "button", "max": 2, "moreText": "操作", "todoList": []}
359
+ /**
360
+ * @name 顶部操作
361
+ * @type _ActionGroup
362
+ * @default {"display": "button", "max": 2, "moreText": "操作", "todoList": []}
363
363
  */
364
364
  topActionGroup: _propTypes.default.shape({
365
365
  display: _propTypes.default.oneOf(['text', 'button']),
@@ -367,130 +367,130 @@ LCCardList.propTypes = {
367
367
  moreText: _propTypes.default.string,
368
368
  todoList: _propTypes.default.array
369
369
  }),
370
- /**
371
- * @name 顶部过滤器
372
- * @type _TableTopFilter
370
+ /**
371
+ * @name 顶部过滤器
372
+ * @type _TableTopFilter
373
373
  */
374
374
  topFilter: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.array, _propTypes.default.shape({
375
375
  options: _propTypes.default.array.isRequired,
376
376
  field: _propTypes.default.string.isRequired
377
377
  })]),
378
- /**
379
- * @name 展示新增卡片
380
- * @type switch
381
- * @default false
378
+ /**
379
+ * @name 展示新增卡片
380
+ * @type switch
381
+ * @default false
382
382
  */
383
383
  showAddCard: _propTypes.default.bool,
384
- /**
385
- * @name 新增卡片高度
386
- * @type number
387
- * @default 240
384
+ /**
385
+ * @name 新增卡片高度
386
+ * @type number
387
+ * @default 240
388
388
  */
389
389
  addCardHeight: _propTypes.default.number,
390
- /**
391
- * @name 新增卡片内容
392
- * @type string
393
- * @disabled "新建"
390
+ /**
391
+ * @name 新增卡片内容
392
+ * @type string
393
+ * @disabled "新建"
394
394
  */
395
395
  addCardWords: _propTypes.default.string,
396
- /**
397
- * @name 开启选择器
398
- * @type switch
399
- * @default false
396
+ /**
397
+ * @name 开启选择器
398
+ * @type switch
399
+ * @default false
400
400
  */
401
401
  rowSelection: _propTypes.default.bool,
402
- /**
403
- * @name 不可选卡片
404
- * @type _JSEditor
405
- * @default "function disabledCheckbox(record) { \n return false; \n}"
402
+ /**
403
+ * @name 不可选卡片
404
+ * @type _JSEditor
405
+ * @default "function disabledCheckbox(record) { \n return false; \n}"
406
406
  */
407
407
  disabledCheckbox: _propTypes.default.string,
408
- /**
409
- * @name 卡片操作项
410
- * @type _ActionsEditor
408
+ /**
409
+ * @name 卡片操作项
410
+ * @type _ActionsEditor
411
411
  */
412
412
  batchOperations: _propTypes.default.shape({
413
413
  todoList: _propTypes.default.array.isRequired
414
414
  }),
415
- /**
416
- * @name 无边框风格
417
- * @type switch
418
- * @default false
415
+ /**
416
+ * @name 无边框风格
417
+ * @type switch
418
+ * @default false
419
419
  */
420
420
  nocardBoxborder: _propTypes.default.bool,
421
- /**
422
- * @name 显示图标
423
- * @type switch
424
- * @default true
421
+ /**
422
+ * @name 显示图标
423
+ * @type switch
424
+ * @default true
425
425
  */
426
426
  showAvatar: _propTypes.default.bool,
427
- /**
428
- * @name 图标地址
429
- * @type _JSEditor
430
- * @default "function avatarUrl(record) { \n return null; \n}"
427
+ /**
428
+ * @name 图标地址
429
+ * @type _JSEditor
430
+ * @default "function avatarUrl(record) { \n return null; \n}"
431
431
  */
432
432
  avatarUrl: _propTypes.default.string,
433
- /**
434
- * @name 显示标题
435
- * @type switch
436
- * @default true
433
+ /**
434
+ * @name 显示标题
435
+ * @type switch
436
+ * @default true
437
437
  */
438
438
  showTitle: _propTypes.default.bool,
439
- /**
440
- * @name 标题内容
441
- * @type _JSEditor
442
- * @default "function renderTitle(record) { \n return record.sname; \n}"
439
+ /**
440
+ * @name 标题内容
441
+ * @type _JSEditor
442
+ * @default "function renderTitle(record) { \n return record.sname; \n}"
443
443
  */
444
444
  renderTitle: _propTypes.default.string,
445
- /**
446
- * @name 显示描述
447
- * @type switch
448
- * @default true
445
+ /**
446
+ * @name 显示描述
447
+ * @type switch
448
+ * @default true
449
449
  */
450
450
  showDesc: _propTypes.default.bool,
451
- /**
452
- * @name 描述最大展示行
453
- * @type number
454
- * @default 2
451
+ /**
452
+ * @name 描述最大展示行
453
+ * @type number
454
+ * @default 2
455
455
  */
456
456
  describeLines: _propTypes.default.number,
457
- /**
458
- * @name 描述内容
459
- * @type _JSEditor
460
- * @default "function renderDescribe(record) { \n return record.describe; \n}"
457
+ /**
458
+ * @name 描述内容
459
+ * @type _JSEditor
460
+ * @default "function renderDescribe(record) { \n return record.describe; \n}"
461
461
  */
462
462
  renderDescribe: _propTypes.default.string,
463
- /**
464
- * @name 自定义
465
- * @type _JSEditor
466
- * @default "function renderContent(record) { \n return null; \n}"
463
+ /**
464
+ * @name 自定义
465
+ * @type _JSEditor
466
+ * @default "function renderContent(record) { \n return null; \n}"
467
467
  */
468
468
  renderContent: _propTypes.default.string,
469
- /**
470
- * @name 开启分页
471
- * @type switch
472
- * @default true
469
+ /**
470
+ * @name 开启分页
471
+ * @type switch
472
+ * @default true
473
473
  */
474
474
  pagination: _propTypes.default.bool,
475
- /**
476
- * @name 每页行数
477
- * @type number
478
- * @default 40
475
+ /**
476
+ * @name 每页行数
477
+ * @type number
478
+ * @default 40
479
479
  */
480
480
  pageSize: _propTypes.default.number,
481
- /**
482
- * @name 组件首次渲染时
483
- * @type _JSEditor
481
+ /**
482
+ * @name 组件首次渲染时
483
+ * @type _JSEditor
484
484
  */
485
485
  onMount: _propTypes.default.string,
486
- /**
487
- * @name 组件卸载时
488
- * @type _JSEditor
486
+ /**
487
+ * @name 组件卸载时
488
+ * @type _JSEditor
489
489
  */
490
490
  onUnmount: _propTypes.default.string,
491
- /**
492
- * @name 新增卡片点击时
493
- * @type _JSEditor
491
+ /**
492
+ * @name 新增卡片点击时
493
+ * @type _JSEditor
494
494
  */
495
495
  onAddCardClick: _propTypes.default.string
496
496
  };