@luck-design-biz/luckda 0.0.25-12 → 0.0.25-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 (850) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/es/components/Builder/index.js +0 -0
  4. package/es/components/ComplexItem/index.js +0 -0
  5. package/es/components/ComplexItem/service.js +0 -0
  6. package/es/components/IconFont/index.js +0 -0
  7. package/es/components/LDActions/index.js +0 -0
  8. package/es/components/LDActions/index.less +68 -68
  9. package/es/components/LdAutoForm/index.js +2 -2
  10. package/es/components/LdCard/index.js +0 -0
  11. package/es/components/LdCard/model.js +0 -0
  12. package/es/components/LdCom/index.js +0 -0
  13. package/es/components/LdFormList/index.js +3 -1
  14. package/es/components/LdFormList/model.js +0 -0
  15. package/es/components/LdGrid/index.js +4 -4
  16. package/es/components/LdGrid/model.js +0 -0
  17. package/es/components/LdGridForm/index.js +1 -1
  18. package/es/components/LdGridForm/index.less +7 -7
  19. package/es/components/LdInfoPanel/index.js +0 -0
  20. package/es/components/LdPop/index.js +0 -0
  21. package/es/components/LdTree/index.js +0 -0
  22. package/es/components/LdTree/index.less +40 -40
  23. package/es/helper/FromItems.js +0 -0
  24. package/es/helper/action.js +6 -6
  25. package/es/helper/form.js +14 -14
  26. package/es/helper/index.less +7 -7
  27. package/es/helper/ldBuilder.js +0 -0
  28. package/es/helper/ldComBuild.js +0 -0
  29. package/es/helper/props_config.js +0 -0
  30. package/es/index.js +0 -0
  31. package/es/locales/zh-CN.js +0 -4
  32. package/es/lowcode/constants/api-url.js +84 -84
  33. package/es/lowcode/constants/event-topics.js +0 -0
  34. package/es/lowcode/constants/index.js +0 -0
  35. package/es/lowcode/engine/factory/DataFactory.js +0 -0
  36. package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
  37. package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
  38. package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
  39. package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
  40. package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +53 -0
  41. package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
  42. package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
  43. package/es/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
  44. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
  45. package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
  46. package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -0
  47. package/es/lowcode/engine/launcher.js +0 -0
  48. package/es/lowcode/engine/meta/box.props.default.json +0 -0
  49. package/es/lowcode/engine/meta/box.props.json +0 -0
  50. package/es/lowcode/engine/meta/button.props.default.json +0 -0
  51. package/es/lowcode/engine/meta/button.props.json +0 -0
  52. package/es/lowcode/engine/meta/cardlist.props.default.json +0 -0
  53. package/es/lowcode/engine/meta/cardlist.props.json +0 -0
  54. package/es/lowcode/engine/meta/components-list.json +102 -102
  55. package/es/lowcode/engine/meta/dialog.props.default.json +0 -0
  56. package/es/lowcode/engine/meta/dialog.props.json +1 -1
  57. package/es/lowcode/engine/meta/drawer.props.default.json +0 -0
  58. package/es/lowcode/engine/meta/drawer.props.json +0 -0
  59. package/es/lowcode/engine/meta/fieldcolor.props.default.json +2 -0
  60. package/es/lowcode/engine/meta/fieldcolor.props.json +77 -0
  61. package/es/lowcode/engine/meta/fieldcomplex.props.default.json +2 -0
  62. package/es/lowcode/engine/meta/fieldcomplex.props.json +77 -0
  63. package/es/lowcode/engine/meta/fielddate.props.default.json +2 -0
  64. package/es/lowcode/engine/meta/fielddate.props.json +77 -0
  65. package/es/lowcode/engine/meta/fielddict.props.default.json +2 -0
  66. package/es/lowcode/engine/meta/fielddict.props.json +77 -0
  67. package/es/lowcode/engine/meta/fieldeditor.props.default.json +2 -0
  68. package/es/lowcode/engine/meta/fieldeditor.props.json +77 -0
  69. package/es/lowcode/engine/meta/fieldgroup.props.default.json +2 -0
  70. package/es/lowcode/engine/meta/fieldgroup.props.json +77 -0
  71. package/es/lowcode/engine/meta/fieldnumber.props.default.json +2 -0
  72. package/es/lowcode/engine/meta/fieldnumber.props.json +77 -0
  73. package/es/lowcode/engine/meta/fieldradio.props.default.json +2 -0
  74. package/es/lowcode/engine/meta/fieldradio.props.json +79 -1
  75. package/es/lowcode/engine/meta/fieldregion.props.default.json +2 -0
  76. package/es/lowcode/engine/meta/fieldregion.props.json +79 -1
  77. package/es/lowcode/engine/meta/fieldselect.props.default.json +2 -0
  78. package/es/lowcode/engine/meta/fieldselect.props.json +77 -0
  79. package/es/lowcode/engine/meta/fieldstring.props.default.json +2 -0
  80. package/es/lowcode/engine/meta/fieldstring.props.json +78 -1
  81. package/es/lowcode/engine/meta/fieldswitch.props.default.json +2 -0
  82. package/es/lowcode/engine/meta/fieldswitch.props.json +77 -0
  83. package/es/lowcode/engine/meta/fieldtextarea.props.default.json +2 -0
  84. package/es/lowcode/engine/meta/fieldtextarea.props.json +77 -0
  85. package/es/lowcode/engine/meta/fieldupload.props.default.json +2 -0
  86. package/es/lowcode/engine/meta/fieldupload.props.json +77 -0
  87. package/es/lowcode/engine/meta/fielduser.props.default.json +2 -0
  88. package/es/lowcode/engine/meta/fielduser.props.json +77 -0
  89. package/es/lowcode/engine/meta/fieldyear.props.default.json +2 -0
  90. package/es/lowcode/engine/meta/fieldyear.props.json +77 -0
  91. package/es/lowcode/engine/meta/form.props.default.json +0 -0
  92. package/es/lowcode/engine/meta/form.props.json +0 -0
  93. package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
  94. package/es/lowcode/engine/meta/iframe.props.json +0 -0
  95. package/es/lowcode/engine/meta/image.props.default.json +0 -0
  96. package/es/lowcode/engine/meta/image.props.json +0 -0
  97. package/es/lowcode/engine/meta/imex.props.default.json +0 -0
  98. package/es/lowcode/engine/meta/imex.props.json +0 -0
  99. package/es/lowcode/engine/meta/js-editor/auto-complete.json +13 -13
  100. package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
  101. package/es/lowcode/engine/meta/jsx.props.json +0 -0
  102. package/es/lowcode/engine/meta/layout.props.default.json +0 -0
  103. package/es/lowcode/engine/meta/layout.props.json +0 -0
  104. package/es/lowcode/engine/meta/link.props.default.json +0 -0
  105. package/es/lowcode/engine/meta/link.props.json +0 -0
  106. package/es/lowcode/engine/meta/page.props.default.json +0 -0
  107. package/es/lowcode/engine/meta/page.props.json +0 -0
  108. package/es/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  109. package/es/lowcode/engine/meta/pagecontent.props.json +0 -0
  110. package/es/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  111. package/es/lowcode/engine/meta/pagefooter.props.json +0 -0
  112. package/es/lowcode/engine/meta/pageheader.props.default.json +0 -0
  113. package/es/lowcode/engine/meta/pageheader.props.json +0 -0
  114. package/es/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  115. package/es/lowcode/engine/meta/pagelayout.props.json +0 -0
  116. package/es/lowcode/engine/meta/section.props.default.json +0 -0
  117. package/es/lowcode/engine/meta/section.props.json +0 -0
  118. package/es/lowcode/engine/meta/split.props.default.json +0 -0
  119. package/es/lowcode/engine/meta/split.props.json +0 -0
  120. package/es/lowcode/engine/meta/table.props.default.json +0 -0
  121. package/es/lowcode/engine/meta/table.props.json +0 -0
  122. package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
  123. package/es/lowcode/engine/meta/tabs.props.json +0 -0
  124. package/es/lowcode/engine/meta/text.props.default.json +0 -0
  125. package/es/lowcode/engine/meta/text.props.json +0 -0
  126. package/es/lowcode/engine/meta/tree.props.default.json +0 -0
  127. package/es/lowcode/engine/meta/tree.props.json +0 -0
  128. package/es/lowcode/engine/provider/ContextProvider/index.js +33 -33
  129. package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
  130. package/es/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
  131. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  132. package/es/lowcode/engine/tools/diff.js +0 -0
  133. package/es/lowcode/engine/tools/helper.js +0 -0
  134. package/es/lowcode/engine/tools/useCanvasRender.js +0 -0
  135. package/es/lowcode/engine/tools/usePageDataStore.js +0 -0
  136. package/es/lowcode/engine/tools/usePromiseState.js +0 -0
  137. package/es/lowcode/engine/tools/useTodo.js +0 -0
  138. package/es/lowcode/index.js +0 -0
  139. package/es/lowcode/painter/Components.js +2 -2
  140. package/es/lowcode/painter/Design.js +0 -0
  141. package/es/lowcode/painter/DesignOperator.js +0 -0
  142. package/es/lowcode/painter/DesignToolbar.js +0 -0
  143. package/es/lowcode/painter/I18n.js +0 -0
  144. package/es/lowcode/painter/Outline.js +0 -0
  145. package/es/lowcode/painter/Panel.js +3 -2
  146. package/es/lowcode/painter/Ribbon.js +0 -0
  147. package/es/lowcode/painter/components/ActionBindModal.js +0 -0
  148. package/es/lowcode/painter/components/AdvancePanel.js +0 -0
  149. package/es/lowcode/painter/components/AttrsPanel.js +0 -0
  150. package/es/lowcode/painter/components/Collapse.js +26 -26
  151. package/es/lowcode/painter/components/ColorInput.js +24 -24
  152. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
  153. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  154. package/es/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  155. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  156. package/es/lowcode/painter/components/FieldSelector.js +0 -0
  157. package/es/lowcode/painter/components/ListEditor.js +24 -24
  158. package/es/lowcode/painter/components/NumberInput.js +28 -28
  159. package/es/lowcode/painter/components/PanelItem.js +24 -24
  160. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  161. package/es/lowcode/painter/components/PopForm.js +27 -27
  162. package/es/lowcode/painter/components/RuleInput.js +30 -30
  163. package/es/lowcode/painter/components/SortBox.js +22 -22
  164. package/es/lowcode/painter/components/TreeEditor.js +0 -0
  165. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  166. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  167. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  168. package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  169. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  170. package/es/lowcode/painter/components/code-editor/index.js +0 -0
  171. package/es/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  172. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  173. package/es/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  174. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  175. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
  176. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  177. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
  178. package/es/lowcode/painter/components/field-setting/SettingUI.js +2 -53
  179. package/es/lowcode/painter/components/field-setting/index.js +0 -2
  180. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  181. package/es/lowcode/painter/index.js +0 -0
  182. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  183. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  184. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  185. package/es/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  186. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  187. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  188. package/es/lowcode/painter/panel-section/ButtonType.js +0 -0
  189. package/es/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  190. package/es/lowcode/painter/panel-section/DataSetSelector.js +7 -4
  191. package/es/lowcode/painter/panel-section/FieldsSetting.js +21 -51
  192. package/es/lowcode/painter/panel-section/I18nInput.js +0 -0
  193. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  194. package/es/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  195. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  196. package/es/lowcode/painter/panel-section/ImpExp.js +0 -0
  197. package/es/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
  198. package/es/lowcode/painter/panel-section/JSEditor.js +0 -0
  199. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  200. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
  201. package/es/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  202. package/es/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  203. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  204. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  205. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  206. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  207. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  208. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  209. package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  210. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  211. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  212. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  213. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  214. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  215. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  216. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  217. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  218. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  219. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  220. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  221. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  222. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  223. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  224. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  225. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  226. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  227. package/es/lowcode/painter/panel-section/TabItems.js +0 -0
  228. package/es/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  229. package/es/lowcode/painter/panel-section/TableZebra.js +0 -0
  230. package/es/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  231. package/es/lowcode/painter/panel-section/WidthHeight.js +0 -0
  232. package/es/lowcode/painter/services/I18n.js +0 -0
  233. package/es/lowcode/painter/style/action-bind-modal.less +102 -102
  234. package/es/lowcode/painter/style/actions-editor.less +15 -15
  235. package/es/lowcode/painter/style/border-editor.less +36 -36
  236. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  237. package/es/lowcode/painter/style/border-selector.less +39 -39
  238. package/es/lowcode/painter/style/button-type.less +5 -5
  239. package/es/lowcode/painter/style/collapse.less +28 -28
  240. package/es/lowcode/painter/style/color-input.less +19 -19
  241. package/es/lowcode/painter/style/components.less +91 -91
  242. package/es/lowcode/painter/style/design.less +158 -158
  243. package/es/lowcode/painter/style/display.less +17 -17
  244. package/es/lowcode/painter/style/dragdrop.less +10 -10
  245. package/es/lowcode/painter/style/fields-setting.less +25 -25
  246. package/es/lowcode/painter/style/font-editor.less +9 -9
  247. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  248. package/es/lowcode/painter/style/icon-selector.less +22 -22
  249. package/es/lowcode/painter/style/icon.less +10 -10
  250. package/es/lowcode/painter/style/impexp.less +7 -7
  251. package/es/lowcode/painter/style/index.less +6 -6
  252. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  253. package/es/lowcode/painter/style/list-editor.less +95 -95
  254. package/es/lowcode/painter/style/number-input.less +17 -17
  255. package/es/lowcode/painter/style/outline.less +28 -28
  256. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  257. package/es/lowcode/painter/style/panel-attrs.less +43 -43
  258. package/es/lowcode/painter/style/panel-item.less +54 -54
  259. package/es/lowcode/painter/style/panel.less +98 -98
  260. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  261. package/es/lowcode/painter/style/pop-form.less +19 -19
  262. package/es/lowcode/painter/style/radio.less +24 -24
  263. package/es/lowcode/painter/style/ribbon.less +5 -5
  264. package/es/lowcode/painter/style/rule-input.less +12 -12
  265. package/es/lowcode/painter/style/split-display.less +18 -18
  266. package/es/lowcode/painter/style/style-panel.less +37 -37
  267. package/es/lowcode/painter/style/tabitems.less +90 -90
  268. package/es/lowcode/painter/style/treedragdrop.less +19 -19
  269. package/es/lowcode/preview/index.js +0 -0
  270. package/es/lowcode/view/Canvas.js +0 -0
  271. package/es/lowcode/view/Loading.js +0 -0
  272. package/es/lowcode/view/Page.js +0 -0
  273. package/es/lowcode/view/index.js +0 -0
  274. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
  275. package/es/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  276. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  277. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  278. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  279. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  280. package/es/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  281. package/es/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  282. package/es/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  283. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  284. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  285. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  286. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  287. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  288. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  289. package/es/lowcode/view/lc-components/CardList/index.js +0 -0
  290. package/es/lowcode/view/lc-components/CardList/meta.json +153 -153
  291. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
  292. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  293. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  294. package/es/lowcode/view/lc-components/Dialog/index.js +40 -19
  295. package/es/lowcode/view/lc-components/Dialog/index.less +3 -3
  296. package/es/lowcode/view/lc-components/Dialog/meta.json +150 -150
  297. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  298. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  299. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  300. package/es/lowcode/view/lc-components/Drawer/index.js +12 -12
  301. package/es/lowcode/view/lc-components/Drawer/index.less +9 -9
  302. package/es/lowcode/view/lc-components/Drawer/meta.json +131 -131
  303. package/es/lowcode/view/lc-components/FieldColor/meta.json +146 -69
  304. package/es/lowcode/view/lc-components/FieldComplex/meta.json +122 -45
  305. package/es/lowcode/view/lc-components/FieldDate/meta.json +128 -51
  306. package/es/lowcode/view/lc-components/FieldDict/meta.json +127 -50
  307. package/es/lowcode/view/lc-components/FieldEditor/meta.json +127 -50
  308. package/es/lowcode/view/lc-components/FieldGroup/meta.json +156 -79
  309. package/es/lowcode/view/lc-components/FieldNumber/meta.json +131 -54
  310. package/es/lowcode/view/lc-components/FieldRadio/meta.json +104 -26
  311. package/es/lowcode/view/lc-components/FieldRegion/meta.json +110 -32
  312. package/es/lowcode/view/lc-components/FieldSelect/meta.json +141 -64
  313. package/es/lowcode/view/lc-components/FieldString/meta.json +141 -64
  314. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +114 -37
  315. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +132 -55
  316. package/es/lowcode/view/lc-components/FieldUpload/meta.json +154 -77
  317. package/es/lowcode/view/lc-components/FieldUser/meta.json +165 -88
  318. package/es/lowcode/view/lc-components/FieldYear/meta.json +118 -41
  319. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  320. package/es/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  321. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  322. package/es/lowcode/view/lc-components/Form/index.js +41 -30
  323. package/es/lowcode/view/lc-components/Form/index.less +4 -4
  324. package/es/lowcode/view/lc-components/Form/meta.json +616 -616
  325. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  326. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  327. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  328. package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
  329. package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
  330. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  331. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  332. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  333. package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
  334. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  335. package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
  336. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  337. package/es/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  338. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  339. package/es/lowcode/view/lc-components/Image/index.js +0 -0
  340. package/es/lowcode/view/lc-components/Image/meta.json +114 -114
  341. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  342. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  343. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  344. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  345. package/es/lowcode/view/lc-components/JSX/index.js +0 -0
  346. package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
  347. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  348. package/es/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  349. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  350. package/es/lowcode/view/lc-components/Layout/index.js +16 -16
  351. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  352. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  353. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  354. package/es/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  355. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  356. package/es/lowcode/view/lc-components/Link/index.js +0 -0
  357. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  358. package/es/lowcode/view/lc-components/Page/meta.json +49 -49
  359. package/es/lowcode/view/lc-components/PageContent/index.js +0 -0
  360. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  361. package/es/lowcode/view/lc-components/PageFooter/index.js +0 -0
  362. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  363. package/es/lowcode/view/lc-components/PageHeader/index.js +0 -0
  364. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  365. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
  366. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  367. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  368. package/es/lowcode/view/lc-components/PageLayout/index.js +0 -0
  369. package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  370. package/es/lowcode/view/lc-components/PageModal/index.js +0 -0
  371. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  372. package/es/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  373. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  374. package/es/lowcode/view/lc-components/Section/index.js +0 -0
  375. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  376. package/es/lowcode/view/lc-components/Section/meta.json +107 -107
  377. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  378. package/es/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  379. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  380. package/es/lowcode/view/lc-components/Split/index.js +0 -0
  381. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  382. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  383. package/es/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  384. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  385. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  386. package/es/lowcode/view/lc-components/Table/components/TopImex.js +3 -1
  387. package/es/lowcode/view/lc-components/Table/index.js +153 -153
  388. package/es/lowcode/view/lc-components/Table/meta.json +405 -405
  389. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  390. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  391. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  392. package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
  393. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  394. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  395. package/es/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  396. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  397. package/es/lowcode/view/lc-components/Text/index.js +0 -0
  398. package/es/lowcode/view/lc-components/Text/meta.json +66 -66
  399. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  400. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  401. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  402. package/es/lowcode/view/lc-components/Tree/index.js +96 -96
  403. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  404. package/es/lowcode/view/lc-components/Tree/meta.json +363 -363
  405. package/es/lowcode/view/lc-components/Wrapper.js +0 -0
  406. package/es/lowcode/view/style/canvas.less +5 -5
  407. package/es/lowcode/view/style/loading.less +84 -84
  408. package/es/lowcode/view/style/page.less +7 -7
  409. package/es/services.js +0 -0
  410. package/es/upload/FilesWall/file.png +0 -0
  411. package/es/upload/FilesWall/index.js +13 -13
  412. package/es/upload/FilesWall/index.less +74 -74
  413. package/es/upload/Form/gridForm.js +0 -0
  414. package/es/upload/Form/index.js +0 -0
  415. package/es/upload/Form/index.less +7 -7
  416. package/es/upload/FormItem/index.js +15 -15
  417. package/es/upload/GridCell/index.js +0 -0
  418. package/es/upload/index.js +0 -0
  419. package/es/utils/action.js +0 -0
  420. package/es/utils/form.js +21 -21
  421. package/es/utils/grid.js +1 -1
  422. package/es/utils/index.js +0 -0
  423. package/lib/components/Builder/index.js +0 -0
  424. package/lib/components/ComplexItem/index.js +0 -0
  425. package/lib/components/ComplexItem/service.js +0 -0
  426. package/lib/components/IconFont/index.js +0 -0
  427. package/lib/components/LDActions/index.js +0 -0
  428. package/lib/components/LDActions/index.less +68 -68
  429. package/lib/components/LdAutoForm/index.js +2 -2
  430. package/lib/components/LdCard/index.js +0 -0
  431. package/lib/components/LdCard/model.js +0 -0
  432. package/lib/components/LdCom/index.js +0 -0
  433. package/lib/components/LdFormList/index.js +3 -1
  434. package/lib/components/LdFormList/model.js +0 -0
  435. package/lib/components/LdGrid/index.js +4 -4
  436. package/lib/components/LdGrid/model.js +0 -0
  437. package/lib/components/LdGridForm/index.js +1 -1
  438. package/lib/components/LdGridForm/index.less +7 -7
  439. package/lib/components/LdInfoPanel/index.js +0 -0
  440. package/lib/components/LdPop/index.js +0 -0
  441. package/lib/components/LdTree/index.js +0 -0
  442. package/lib/components/LdTree/index.less +40 -40
  443. package/lib/helper/FromItems.js +0 -0
  444. package/lib/helper/action.js +6 -6
  445. package/lib/helper/form.js +14 -14
  446. package/lib/helper/index.less +7 -7
  447. package/lib/helper/ldBuilder.js +0 -0
  448. package/lib/helper/ldComBuild.js +0 -0
  449. package/lib/helper/props_config.js +0 -0
  450. package/lib/index.js +0 -0
  451. package/lib/locales/zh-CN.js +0 -4
  452. package/lib/lowcode/constants/api-url.js +84 -84
  453. package/lib/lowcode/constants/event-topics.js +0 -0
  454. package/lib/lowcode/constants/index.js +0 -0
  455. package/lib/lowcode/engine/factory/DataFactory.js +0 -0
  456. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
  457. package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
  458. package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
  459. package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
  460. package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +59 -0
  461. package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
  462. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
  463. package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
  464. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
  465. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
  466. package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -0
  467. package/lib/lowcode/engine/launcher.js +0 -0
  468. package/lib/lowcode/engine/meta/box.props.default.json +0 -0
  469. package/lib/lowcode/engine/meta/box.props.json +0 -0
  470. package/lib/lowcode/engine/meta/button.props.default.json +0 -0
  471. package/lib/lowcode/engine/meta/button.props.json +0 -0
  472. package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
  473. package/lib/lowcode/engine/meta/cardlist.props.json +0 -0
  474. package/lib/lowcode/engine/meta/components-list.json +102 -102
  475. package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
  476. package/lib/lowcode/engine/meta/dialog.props.json +1 -1
  477. package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
  478. package/lib/lowcode/engine/meta/drawer.props.json +0 -0
  479. package/lib/lowcode/engine/meta/fieldcolor.props.default.json +2 -0
  480. package/lib/lowcode/engine/meta/fieldcolor.props.json +77 -0
  481. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +2 -0
  482. package/lib/lowcode/engine/meta/fieldcomplex.props.json +77 -0
  483. package/lib/lowcode/engine/meta/fielddate.props.default.json +2 -0
  484. package/lib/lowcode/engine/meta/fielddate.props.json +77 -0
  485. package/lib/lowcode/engine/meta/fielddict.props.default.json +2 -0
  486. package/lib/lowcode/engine/meta/fielddict.props.json +77 -0
  487. package/lib/lowcode/engine/meta/fieldeditor.props.default.json +2 -0
  488. package/lib/lowcode/engine/meta/fieldeditor.props.json +77 -0
  489. package/lib/lowcode/engine/meta/fieldgroup.props.default.json +2 -0
  490. package/lib/lowcode/engine/meta/fieldgroup.props.json +77 -0
  491. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +2 -0
  492. package/lib/lowcode/engine/meta/fieldnumber.props.json +77 -0
  493. package/lib/lowcode/engine/meta/fieldradio.props.default.json +2 -0
  494. package/lib/lowcode/engine/meta/fieldradio.props.json +79 -1
  495. package/lib/lowcode/engine/meta/fieldregion.props.default.json +2 -0
  496. package/lib/lowcode/engine/meta/fieldregion.props.json +79 -1
  497. package/lib/lowcode/engine/meta/fieldselect.props.default.json +2 -0
  498. package/lib/lowcode/engine/meta/fieldselect.props.json +77 -0
  499. package/lib/lowcode/engine/meta/fieldstring.props.default.json +2 -0
  500. package/lib/lowcode/engine/meta/fieldstring.props.json +78 -1
  501. package/lib/lowcode/engine/meta/fieldswitch.props.default.json +2 -0
  502. package/lib/lowcode/engine/meta/fieldswitch.props.json +77 -0
  503. package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +2 -0
  504. package/lib/lowcode/engine/meta/fieldtextarea.props.json +77 -0
  505. package/lib/lowcode/engine/meta/fieldupload.props.default.json +2 -0
  506. package/lib/lowcode/engine/meta/fieldupload.props.json +77 -0
  507. package/lib/lowcode/engine/meta/fielduser.props.default.json +2 -0
  508. package/lib/lowcode/engine/meta/fielduser.props.json +77 -0
  509. package/lib/lowcode/engine/meta/fieldyear.props.default.json +2 -0
  510. package/lib/lowcode/engine/meta/fieldyear.props.json +77 -0
  511. package/lib/lowcode/engine/meta/form.props.default.json +0 -0
  512. package/lib/lowcode/engine/meta/form.props.json +0 -0
  513. package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
  514. package/lib/lowcode/engine/meta/iframe.props.json +0 -0
  515. package/lib/lowcode/engine/meta/image.props.default.json +0 -0
  516. package/lib/lowcode/engine/meta/image.props.json +0 -0
  517. package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
  518. package/lib/lowcode/engine/meta/imex.props.json +0 -0
  519. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +13 -13
  520. package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
  521. package/lib/lowcode/engine/meta/jsx.props.json +0 -0
  522. package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
  523. package/lib/lowcode/engine/meta/layout.props.json +0 -0
  524. package/lib/lowcode/engine/meta/link.props.default.json +0 -0
  525. package/lib/lowcode/engine/meta/link.props.json +0 -0
  526. package/lib/lowcode/engine/meta/page.props.default.json +0 -0
  527. package/lib/lowcode/engine/meta/page.props.json +0 -0
  528. package/lib/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  529. package/lib/lowcode/engine/meta/pagecontent.props.json +0 -0
  530. package/lib/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  531. package/lib/lowcode/engine/meta/pagefooter.props.json +0 -0
  532. package/lib/lowcode/engine/meta/pageheader.props.default.json +0 -0
  533. package/lib/lowcode/engine/meta/pageheader.props.json +0 -0
  534. package/lib/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  535. package/lib/lowcode/engine/meta/pagelayout.props.json +0 -0
  536. package/lib/lowcode/engine/meta/section.props.default.json +0 -0
  537. package/lib/lowcode/engine/meta/section.props.json +0 -0
  538. package/lib/lowcode/engine/meta/split.props.default.json +0 -0
  539. package/lib/lowcode/engine/meta/split.props.json +0 -0
  540. package/lib/lowcode/engine/meta/table.props.default.json +0 -0
  541. package/lib/lowcode/engine/meta/table.props.json +0 -0
  542. package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
  543. package/lib/lowcode/engine/meta/tabs.props.json +0 -0
  544. package/lib/lowcode/engine/meta/text.props.default.json +0 -0
  545. package/lib/lowcode/engine/meta/text.props.json +0 -0
  546. package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
  547. package/lib/lowcode/engine/meta/tree.props.json +0 -0
  548. package/lib/lowcode/engine/provider/ContextProvider/index.js +33 -33
  549. package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
  550. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +0 -0
  551. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  552. package/lib/lowcode/engine/tools/diff.js +0 -0
  553. package/lib/lowcode/engine/tools/helper.js +0 -0
  554. package/lib/lowcode/engine/tools/useCanvasRender.js +0 -0
  555. package/lib/lowcode/engine/tools/usePageDataStore.js +0 -0
  556. package/lib/lowcode/engine/tools/usePromiseState.js +0 -0
  557. package/lib/lowcode/engine/tools/useTodo.js +0 -0
  558. package/lib/lowcode/index.js +0 -0
  559. package/lib/lowcode/painter/Components.js +2 -2
  560. package/lib/lowcode/painter/Design.js +0 -0
  561. package/lib/lowcode/painter/DesignOperator.js +0 -0
  562. package/lib/lowcode/painter/DesignToolbar.js +0 -0
  563. package/lib/lowcode/painter/I18n.js +0 -0
  564. package/lib/lowcode/painter/Outline.js +0 -0
  565. package/lib/lowcode/painter/Panel.js +3 -2
  566. package/lib/lowcode/painter/Ribbon.js +0 -0
  567. package/lib/lowcode/painter/components/ActionBindModal.js +0 -0
  568. package/lib/lowcode/painter/components/AdvancePanel.js +0 -0
  569. package/lib/lowcode/painter/components/AttrsPanel.js +0 -0
  570. package/lib/lowcode/painter/components/Collapse.js +26 -26
  571. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  572. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
  573. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  574. package/lib/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  575. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  576. package/lib/lowcode/painter/components/FieldSelector.js +0 -0
  577. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  578. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  579. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  580. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  581. package/lib/lowcode/painter/components/PopForm.js +27 -27
  582. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  583. package/lib/lowcode/painter/components/SortBox.js +22 -22
  584. package/lib/lowcode/painter/components/TreeEditor.js +0 -0
  585. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  586. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  587. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  588. package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  589. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  590. package/lib/lowcode/painter/components/code-editor/index.js +0 -0
  591. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  592. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  593. package/lib/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  594. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  595. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
  596. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  597. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
  598. package/lib/lowcode/painter/components/field-setting/SettingUI.js +2 -53
  599. package/lib/lowcode/painter/components/field-setting/index.js +0 -2
  600. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  601. package/lib/lowcode/painter/index.js +0 -0
  602. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  603. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  604. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  605. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  606. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  607. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  608. package/lib/lowcode/painter/panel-section/ButtonType.js +0 -0
  609. package/lib/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  610. package/lib/lowcode/painter/panel-section/DataSetSelector.js +7 -4
  611. package/lib/lowcode/painter/panel-section/FieldsSetting.js +20 -50
  612. package/lib/lowcode/painter/panel-section/I18nInput.js +0 -0
  613. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  614. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  615. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  616. package/lib/lowcode/painter/panel-section/ImpExp.js +0 -0
  617. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
  618. package/lib/lowcode/painter/panel-section/JSEditor.js +0 -0
  619. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  620. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
  621. package/lib/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  622. package/lib/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  623. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  624. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  625. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  626. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  627. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  628. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  629. package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  630. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  631. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  632. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  633. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  634. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  635. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  636. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  637. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  638. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  639. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  640. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  641. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  642. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  643. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  644. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  645. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  646. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  647. package/lib/lowcode/painter/panel-section/TabItems.js +0 -0
  648. package/lib/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  649. package/lib/lowcode/painter/panel-section/TableZebra.js +0 -0
  650. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  651. package/lib/lowcode/painter/panel-section/WidthHeight.js +0 -0
  652. package/lib/lowcode/painter/services/I18n.js +0 -0
  653. package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
  654. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  655. package/lib/lowcode/painter/style/border-editor.less +36 -36
  656. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  657. package/lib/lowcode/painter/style/border-selector.less +39 -39
  658. package/lib/lowcode/painter/style/button-type.less +5 -5
  659. package/lib/lowcode/painter/style/collapse.less +28 -28
  660. package/lib/lowcode/painter/style/color-input.less +19 -19
  661. package/lib/lowcode/painter/style/components.less +91 -91
  662. package/lib/lowcode/painter/style/design.less +158 -158
  663. package/lib/lowcode/painter/style/display.less +17 -17
  664. package/lib/lowcode/painter/style/dragdrop.less +10 -10
  665. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  666. package/lib/lowcode/painter/style/font-editor.less +9 -9
  667. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  668. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  669. package/lib/lowcode/painter/style/icon.less +10 -10
  670. package/lib/lowcode/painter/style/impexp.less +7 -7
  671. package/lib/lowcode/painter/style/index.less +6 -6
  672. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  673. package/lib/lowcode/painter/style/list-editor.less +95 -95
  674. package/lib/lowcode/painter/style/number-input.less +17 -17
  675. package/lib/lowcode/painter/style/outline.less +28 -28
  676. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  677. package/lib/lowcode/painter/style/panel-attrs.less +43 -43
  678. package/lib/lowcode/painter/style/panel-item.less +54 -54
  679. package/lib/lowcode/painter/style/panel.less +98 -98
  680. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  681. package/lib/lowcode/painter/style/pop-form.less +19 -19
  682. package/lib/lowcode/painter/style/radio.less +24 -24
  683. package/lib/lowcode/painter/style/ribbon.less +5 -5
  684. package/lib/lowcode/painter/style/rule-input.less +12 -12
  685. package/lib/lowcode/painter/style/split-display.less +18 -18
  686. package/lib/lowcode/painter/style/style-panel.less +37 -37
  687. package/lib/lowcode/painter/style/tabitems.less +90 -90
  688. package/lib/lowcode/painter/style/treedragdrop.less +19 -19
  689. package/lib/lowcode/preview/index.js +0 -0
  690. package/lib/lowcode/view/Canvas.js +0 -0
  691. package/lib/lowcode/view/Loading.js +0 -0
  692. package/lib/lowcode/view/Page.js +0 -0
  693. package/lib/lowcode/view/index.js +0 -0
  694. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
  695. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  696. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  697. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  698. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  699. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  700. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  701. package/lib/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  702. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  703. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  704. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  705. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  706. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  707. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  708. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  709. package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
  710. package/lib/lowcode/view/lc-components/CardList/meta.json +153 -153
  711. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
  712. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  713. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  714. package/lib/lowcode/view/lc-components/Dialog/index.js +39 -18
  715. package/lib/lowcode/view/lc-components/Dialog/index.less +3 -3
  716. package/lib/lowcode/view/lc-components/Dialog/meta.json +150 -150
  717. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  718. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  719. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  720. package/lib/lowcode/view/lc-components/Drawer/index.js +12 -12
  721. package/lib/lowcode/view/lc-components/Drawer/index.less +9 -9
  722. package/lib/lowcode/view/lc-components/Drawer/meta.json +131 -131
  723. package/lib/lowcode/view/lc-components/FieldColor/meta.json +146 -69
  724. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +122 -45
  725. package/lib/lowcode/view/lc-components/FieldDate/meta.json +128 -51
  726. package/lib/lowcode/view/lc-components/FieldDict/meta.json +127 -50
  727. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +127 -50
  728. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +156 -79
  729. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +131 -54
  730. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +104 -26
  731. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +110 -32
  732. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +141 -64
  733. package/lib/lowcode/view/lc-components/FieldString/meta.json +141 -64
  734. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +114 -37
  735. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +132 -55
  736. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +154 -77
  737. package/lib/lowcode/view/lc-components/FieldUser/meta.json +165 -88
  738. package/lib/lowcode/view/lc-components/FieldYear/meta.json +118 -41
  739. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  740. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  741. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  742. package/lib/lowcode/view/lc-components/Form/index.js +41 -30
  743. package/lib/lowcode/view/lc-components/Form/index.less +4 -4
  744. package/lib/lowcode/view/lc-components/Form/meta.json +616 -616
  745. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  746. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  747. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  748. package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
  749. package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
  750. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  751. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  752. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  753. package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
  754. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  755. package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
  756. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  757. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  758. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  759. package/lib/lowcode/view/lc-components/Image/index.js +0 -0
  760. package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
  761. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  762. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  763. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  764. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  765. package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
  766. package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
  767. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  768. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  769. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  770. package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
  771. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  772. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  773. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  774. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  775. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  776. package/lib/lowcode/view/lc-components/Link/index.js +0 -0
  777. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  778. package/lib/lowcode/view/lc-components/Page/meta.json +49 -49
  779. package/lib/lowcode/view/lc-components/PageContent/index.js +0 -0
  780. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  781. package/lib/lowcode/view/lc-components/PageFooter/index.js +0 -0
  782. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  783. package/lib/lowcode/view/lc-components/PageHeader/index.js +0 -0
  784. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  785. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
  786. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  787. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  788. package/lib/lowcode/view/lc-components/PageLayout/index.js +0 -0
  789. package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  790. package/lib/lowcode/view/lc-components/PageModal/index.js +0 -0
  791. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  792. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  793. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  794. package/lib/lowcode/view/lc-components/Section/index.js +0 -0
  795. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  796. package/lib/lowcode/view/lc-components/Section/meta.json +107 -107
  797. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  798. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  799. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  800. package/lib/lowcode/view/lc-components/Split/index.js +0 -0
  801. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  802. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  803. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  804. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  805. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  806. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +3 -1
  807. package/lib/lowcode/view/lc-components/Table/index.js +153 -153
  808. package/lib/lowcode/view/lc-components/Table/meta.json +405 -405
  809. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  810. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  811. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  812. package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
  813. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  814. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  815. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  816. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  817. package/lib/lowcode/view/lc-components/Text/index.js +0 -0
  818. package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
  819. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  820. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  821. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  822. package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
  823. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  824. package/lib/lowcode/view/lc-components/Tree/meta.json +363 -363
  825. package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
  826. package/lib/lowcode/view/style/canvas.less +5 -5
  827. package/lib/lowcode/view/style/loading.less +84 -84
  828. package/lib/lowcode/view/style/page.less +7 -7
  829. package/lib/services.js +0 -0
  830. package/lib/upload/FilesWall/file.png +0 -0
  831. package/lib/upload/FilesWall/index.js +13 -13
  832. package/lib/upload/FilesWall/index.less +74 -74
  833. package/lib/upload/Form/gridForm.js +0 -0
  834. package/lib/upload/Form/index.js +0 -0
  835. package/lib/upload/Form/index.less +7 -7
  836. package/lib/upload/FormItem/index.js +15 -15
  837. package/lib/upload/GridCell/index.js +0 -0
  838. package/lib/upload/index.js +0 -0
  839. package/lib/utils/action.js +0 -0
  840. package/lib/utils/form.js +21 -21
  841. package/lib/utils/grid.js +1 -1
  842. package/lib/utils/index.js +0 -0
  843. package/lowcode.js +1 -1
  844. package/package.json +174 -173
  845. package/upload.js +1 -1
  846. package/utils.js +1 -1
  847. package/es/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
  848. package/es/lowcode/engine/meta/fielddatadic.props.json +0 -73
  849. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
  850. package/lib/lowcode/engine/meta/fielddatadic.props.json +0 -73
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.default = void 0;
9
9
  var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/regeneratorRuntime"));
10
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
10
11
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
11
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
13
  var _react = _interopRequireWildcard(require("react"));
@@ -89,9 +90,11 @@ var DataSetSelector = function DataSetSelector(_ref) {
89
90
  onChange(_ds, function (exe) {
90
91
  var dsFields = res.data.dataSets[value];
91
92
  exe(fieldsKey, dsFields.map(function (f) {
92
- var _extra = JSON.parse(f.extra || '{}');
93
- var restProps = {};
93
+ var restProps = {
94
+ fieldAliasName: f.fieldAliasName
95
+ };
94
96
  if (['table', 'tableForm'].includes(component)) {
97
+ var _extra = JSON.parse(f.extra || '{}');
95
98
  var alignMapping = {
96
99
  0: 'left',
97
100
  1: 'center',
@@ -100,10 +103,10 @@ var DataSetSelector = function DataSetSelector(_ref) {
100
103
  restProps.align = alignMapping[_extra.scell_alignment];
101
104
  restProps.headerAlign = alignMapping[_extra.sheading_alignment];
102
105
  }
103
- return {
106
+ return (0, _objectSpread2.default)({
104
107
  uid: f.uid,
105
108
  field: f.field
106
- };
109
+ }, restProps);
107
110
  }));
108
111
  });
109
112
  setCurrentDataset(_ds);
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
3
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
9
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
11
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
11
  var _react = _interopRequireWildcard(require("react"));
@@ -24,9 +23,8 @@ var _BatchSetting = _interopRequireDefault(require("../components/field-setting/
24
23
  var _apiUrl = require("../../constants/api-url");
25
24
  var _helper = require("../../engine/tools/helper");
26
25
  var _fieldsSetting = _interopRequireDefault(require("../style/fields-setting.less"));
27
- var _excluded = ["fieldAliasName"];
28
26
  var _I18N_PREFIX_ = 'luckda.lowcode.painter.panel-section.fieldsSetting';
29
- var _PICK_KEYS_ = ['id', 'uid', 'field', 'width', 'align', 'headerAlign', 'pinned', 'tip', 'col', 'row', 'note', 'placeholder', 'aliasName'];
27
+ var _PICK_KEYS_ = ['id', 'uid', 'field', 'width', 'align', 'headerAlign', 'pinned', 'tip', 'col', 'row', 'note', 'placeholder', 'fieldAliasName'];
30
28
  var Header = _styledComponents.default.div.withConfig({
31
29
  displayName: "Header",
32
30
  componentId: "luckda-6530__sc-gcwvp1-0"
@@ -97,9 +95,11 @@ var FieldsSetting = function FieldsSetting(_ref) {
97
95
  return ret;
98
96
  }, []), list.map(function (id) {
99
97
  var _fieldData = detail[id];
100
- var extra = JSON.parse(_fieldData.extra || '{}');
101
- var restProps = {};
98
+ var restProps = {
99
+ fieldAliasName: _fieldData.fieldAliasName
100
+ };
102
101
  if (['table', 'tableForm'].includes(component)) {
102
+ var extra = JSON.parse(_fieldData.extra || '{}');
103
103
  var alignMapping = {
104
104
  0: 'left',
105
105
  1: 'center',
@@ -131,46 +131,6 @@ var FieldsSetting = function FieldsSetting(_ref) {
131
131
  return _fieldData._type === 'divider' ? _fieldData : (0, _lodash.pick)(_fieldData, _PICK_KEYS_);
132
132
  }));
133
133
  });
134
- var _useRequest2 = (0, _ahooks.useRequest)(_apiUrl.fetchUpdateFieldAttrs, {
135
- manual: true
136
- }),
137
- runUpdateFieldAttrs = _useRequest2.runAsync;
138
- var _useDebounceFn = (0, _ahooks.useDebounceFn)(function (field, value) {
139
- var _getLDMetaAttr = (0, _helper.getLDMetaAttr)(['moduleId', 'dataModelKey']),
140
- _getLDMetaAttr2 = (0, _slicedToArray2.default)(_getLDMetaAttr, 2),
141
- moduleId = _getLDMetaAttr2[0],
142
- dataModelKey = _getLDMetaAttr2[1];
143
- runUpdateFieldAttrs({
144
- dataModelKey: dataModelKey,
145
- datasetBusinessUids: [field.uid],
146
- fieldAliasName: value,
147
- moduleDatasetUid: datasetUid,
148
- moduleUid: moduleId,
149
- scope: 'FIELD_ALIAS_NAME',
150
- uid: field.uid
151
- }).then(function () {
152
- if (component === 'table') {
153
- var gridApi = ctx.componentMap.get(nodeId).api.self.ref.current.gridApi;
154
- var col = gridApi.columnApi.getColumn(field.field);
155
- col.colDef.headerName = value;
156
- gridApi.api.refreshHeader();
157
- } else if (['form', 'tableForm'].includes(component)) {
158
- handleChange((0, _lodash.reduce)(fields, function (ret, _ref4) {
159
- var fieldAliasName = _ref4.fieldAliasName,
160
- _field = (0, _objectWithoutProperties2.default)(_ref4, _excluded);
161
- if (fieldAliasName) {
162
- ret.push((0, _objectSpread2.default)({
163
- aliasName: fieldAliasName
164
- }, _field));
165
- }
166
- return ret;
167
- }, []));
168
- }
169
- });
170
- }, {
171
- wait: 500
172
- }),
173
- run = _useDebounceFn.run;
174
134
  var handleSortChange = (0, _ahooks.useMemoizedFn)(function (sortItems, fromIndex, toIndex) {
175
135
  dispatch({
176
136
  type: 'sort',
@@ -192,9 +152,19 @@ var FieldsSetting = function FieldsSetting(_ref) {
192
152
  data: {
193
153
  fieldAliasName: value
194
154
  }
155
+ },
156
+ callback: function callback(newFields) {
157
+ if (component === 'table') {
158
+ setTimeout(function () {
159
+ var gridApi = ctx.componentMap.get(nodeId).api.self.ref.current.gridApi;
160
+ var col = gridApi.columnApi.getColumn(field.field);
161
+ col.colDef.headerName = value;
162
+ gridApi.api.refreshHeader();
163
+ });
164
+ }
165
+ handleChange(newFields);
195
166
  }
196
167
  });
197
- run(field, value);
198
168
  });
199
169
  var handleFieldCheckChange = (0, _ahooks.useMemoizedFn)(function (e) {
200
170
  var _e$target = e.target,
@@ -228,7 +198,7 @@ var FieldsSetting = function FieldsSetting(_ref) {
228
198
  uid: groupId,
229
199
  id: groupId,
230
200
  field: 'divider',
231
- fieldAliasName: 'Group',
201
+ fieldName: 'Group',
232
202
  _type: 'divider'
233
203
  }
234
204
  },
@@ -295,8 +265,8 @@ var FieldsSetting = function FieldsSetting(_ref) {
295
265
  id: "".concat(_I18N_PREFIX_, ".title"),
296
266
  label: '标题'
297
267
  }))), /*#__PURE__*/_react.default.createElement(_SortBox.SortBox, {
298
- datas: fields.map(function (_ref5) {
299
- var uid = _ref5.uid;
268
+ datas: fields.map(function (_ref4) {
269
+ var uid = _ref4.uid;
300
270
  return uid;
301
271
  }),
302
272
  onChange: handleSortChange
File without changes
@@ -10,29 +10,29 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var _icon = _interopRequireDefault(require("../style/icon.less"));
12
12
  var _IconFont = _interopRequireDefault(require("../../../components/IconFont"));
13
- /**
14
- * 一个简单的图标选择器组件,展示了一个图标并允许用户点击选择。
15
- * 该组件使用了`Icon.createFromIconfontCN`来创建一个可以从Iconfont.cn加载图标的`IconFont`组件。
16
- * 当图标被点击时,会调用`onSelect`回调函数,并传递一个对象,其中包含了`field`字段。
17
- *
18
- * @component
19
- * @example
20
- * ```jsx
21
- * <IconSelector
22
- * field="iconField"
23
- * onSelect={({ field }) => console.log(`Selected icon field: ${field}`)}
24
- * defaultValue="icon-example"
25
- * />
26
- * ```
27
- *
28
- * @param {Object} props 组件的props
29
- * @param {string} props.field 用于识别选择的图标字段的标识符。
30
- * @param {Function} props.onSelect 当图标被点击时触发的回调函数。
31
- * 接收一个对象参数,该对象包含`field`字段。
32
- * @param {string} [props.defaultValue='iconyingyongguanli'] 初始化时图标的类型,
33
- * 默认为'iconyingyongguanli'。
34
- *
35
- * @returns {React.Element} 渲染的React元素。
13
+ /**
14
+ * 一个简单的图标选择器组件,展示了一个图标并允许用户点击选择。
15
+ * 该组件使用了`Icon.createFromIconfontCN`来创建一个可以从Iconfont.cn加载图标的`IconFont`组件。
16
+ * 当图标被点击时,会调用`onSelect`回调函数,并传递一个对象,其中包含了`field`字段。
17
+ *
18
+ * @component
19
+ * @example
20
+ * ```jsx
21
+ * <IconSelector
22
+ * field="iconField"
23
+ * onSelect={({ field }) => console.log(`Selected icon field: ${field}`)}
24
+ * defaultValue="icon-example"
25
+ * />
26
+ * ```
27
+ *
28
+ * @param {Object} props 组件的props
29
+ * @param {string} props.field 用于识别选择的图标字段的标识符。
30
+ * @param {Function} props.onSelect 当图标被点击时触发的回调函数。
31
+ * 接收一个对象参数,该对象包含`field`字段。
32
+ * @param {string} [props.defaultValue='iconyingyongguanli'] 初始化时图标的类型,
33
+ * 默认为'iconyingyongguanli'。
34
+ *
35
+ * @returns {React.Element} 渲染的React元素。
36
36
  */
37
37
  function _default(_ref) {
38
38
  var defaultValue = _ref.defaultValue,
@@ -17,22 +17,22 @@ var _utils = require("@luck-design-biz/base/utils");
17
17
  var _apiUrl = require("../../constants/api-url");
18
18
  var Search = _antd.Input.Search;
19
19
 
20
- /**
21
- * 一个用于选择图标的组件,提供了图标的搜索和选择功能。
22
- *
23
- * 该组件首先从预定义的URL加载图标列表,然后显示这些图标。用户可以通过输入框搜索图标,
24
- * 点击图标时,会通过 `onChange` 回调将选中的图标信息返回给父组件。
25
- *
26
- * @component
27
- * @example
28
- * ```jsx
29
- * <IconSelector
30
- * onChange={(selectedIcon) => console.log(selectedIcon)}
31
- * />
32
- * ```
33
- *
34
- * @param {Object} props 组件接受的props
35
- * @param {Function} props.onChange 当图标被选中时触发的回调函数,接受选中图标的信息作为参数
20
+ /**
21
+ * 一个用于选择图标的组件,提供了图标的搜索和选择功能。
22
+ *
23
+ * 该组件首先从预定义的URL加载图标列表,然后显示这些图标。用户可以通过输入框搜索图标,
24
+ * 点击图标时,会通过 `onChange` 回调将选中的图标信息返回给父组件。
25
+ *
26
+ * @component
27
+ * @example
28
+ * ```jsx
29
+ * <IconSelector
30
+ * onChange={(selectedIcon) => console.log(selectedIcon)}
31
+ * />
32
+ * ```
33
+ *
34
+ * @param {Object} props 组件接受的props
35
+ * @param {Function} props.onChange 当图标被选中时触发的回调函数,接受选中图标的信息作为参数
36
36
  */
37
37
  function _default(_ref) {
38
38
  var onChange = _ref.onChange,
File without changes
File without changes
File without changes
@@ -16,27 +16,27 @@ var _PanelItem = _interopRequireDefault(require("../components/PanelItem"));
16
16
  var _RATIOS_ = ['12', '6:6', '3:9', '9:3', '4:4:4', '3:6:3', '3:3:3:3', '2:2:2:2:2:2'];
17
17
  var _DEFAULTRATIO_ = '12:3:9';
18
18
 
19
- /**
20
- * `LayoutRatio`组件提供了一个布局比例选择器,允许用户选择或输入特定的比例配置。
21
- * 支持的比例配置包括预定义的比例数组`_RATIOS_`,用户还可以通过输入框自定义比例,
22
- * 自定义比例需要符合一定的规则:是数字或数字与冒号的组合,且数字之和必须等于12。
23
- * ,
24
- * 允许父组件获取当前选中的布局比例。
25
- *
26
- * @component
27
- * @example
28
- * ```jsxsdsdsdsdsdsdsd
29
- * <LayoutRatio
30
- * value="6:6"
31
- * onChange={(option) => console.log(option)}
32
- * />
33
- * ```
34
- *
35
- * @param {Object} props
36
- * @param {string} [props.value='12'] 初始化时选中的布局比例,默认为"12"。
37
- * @param {Function} props.onChange 当用户选择一个新的布局比例时调用的回调函数。
38
- *
39
- * @returns {React.Element} 渲染的React元素。
19
+ /**
20
+ * `LayoutRatio`组件提供了一个布局比例选择器,允许用户选择或输入特定的比例配置。
21
+ * 支持的比例配置包括预定义的比例数组`_RATIOS_`,用户还可以通过输入框自定义比例,
22
+ * 自定义比例需要符合一定的规则:是数字或数字与冒号的组合,且数字之和必须等于12。
23
+ * ,
24
+ * 允许父组件获取当前选中的布局比例。
25
+ *
26
+ * @component
27
+ * @example
28
+ * ```jsxsdsdsdsdsdsdsd
29
+ * <LayoutRatio
30
+ * value="6:6"
31
+ * onChange={(option) => console.log(option)}
32
+ * />
33
+ * ```
34
+ *
35
+ * @param {Object} props
36
+ * @param {string} [props.value='12'] 初始化时选中的布局比例,默认为"12"。
37
+ * @param {Function} props.onChange 当用户选择一个新的布局比例时调用的回调函数。
38
+ *
39
+ * @returns {React.Element} 渲染的React元素。
40
40
  */
41
41
  var LayoutRatio = function LayoutRatio(_ref) {
42
42
  var defaultValue = _ref.defaultValue,
File without changes
@@ -16,8 +16,8 @@ var _HighLightPanel = _interopRequireDefault(require("./HighLightPanel"));
16
16
  var _HightLightSvg = _interopRequireDefault(require("./HightLightSvg"));
17
17
  var textRelatedStyles = ['background-color'];
18
18
 
19
- /**
20
- * 背景设置控件
19
+ /**
20
+ * 背景设置控件
21
21
  */
22
22
  function _default() {
23
23
  return /*#__PURE__*/_react.default.createElement(_HighLightPanel.default, {
@@ -25,8 +25,8 @@ var getPropName = function getPropName(str) {
25
25
  return str.split('-').pop();
26
26
  };
27
27
 
28
- /**
29
- * 边框样式设置控件
28
+ /**
29
+ * 边框样式设置控件
30
30
  */
31
31
  function _default() {
32
32
  return /*#__PURE__*/_react.default.createElement(_HighLightPanel.default, {
@@ -19,8 +19,8 @@ var borderMainProps = ['border-radius'];
19
19
  var borderSideProps = ['border-top-right-radius', 'border-top-left-radius', 'border-bottom-left-radius', 'border-bottom-right-radius'];
20
20
  var textRelatedStyles = [].concat(borderMainProps, borderSideProps);
21
21
 
22
- /**
23
- * 圆角样式设置控件
22
+ /**
23
+ * 圆角样式设置控件
24
24
  */
25
25
  function _default() {
26
26
  return /*#__PURE__*/_react.default.createElement(_HighLightPanel.default, {
@@ -9,8 +9,8 @@ exports.default = _default;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var _borderRadiusSelector = _interopRequireDefault(require("../../style/border-radius-selector.less"));
12
- /**
13
- * 圆角设置组件
12
+ /**
13
+ * 圆角设置组件
14
14
  */
15
15
  function _default(_ref) {
16
16
  var onChange = _ref.onChange;
@@ -9,8 +9,8 @@ exports.default = _default;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var _borderSelector = _interopRequireDefault(require("../../style/border-selector.less"));
12
- /**
13
- * 边框选择组件
12
+ /**
13
+ * 边框选择组件
14
14
  */
15
15
  function _default(_ref) {
16
16
  var onChange = _ref.onChange;
@@ -15,8 +15,8 @@ var _StyleContext = require("./StyleContext");
15
15
  var _HighLightPanel = _interopRequireDefault(require("./HighLightPanel"));
16
16
  var textRelatedStyles = ['display', 'flex-direction', 'align-items', 'justify-content'];
17
17
 
18
- /**
19
- * 显示样式设置控件
18
+ /**
19
+ * 显示样式设置控件
20
20
  */
21
21
  function _default(_ref) {
22
22
  var label = _ref.label;
@@ -18,8 +18,8 @@ var _HighLightPanel = _interopRequireDefault(require("./HighLightPanel"));
18
18
  var Option = _antd.Select.Option;
19
19
  var textRelatedStyles = ['font-weight', 'font-style', 'color', 'font-size', 'line-height', 'text-align', 'text-decoration'];
20
20
 
21
- /**
22
- * 文字设置组件
21
+ /**
22
+ * 文字设置组件
23
23
  */
24
24
  function _default() {
25
25
  var style = (0, _StyleContext.useStyle)();
@@ -18,8 +18,8 @@ var _Size = _interopRequireDefault(require("./Size"));
18
18
  var _HightLightSvg = _interopRequireDefault(require("./HightLightSvg"));
19
19
  var Option = _antd.Select.Option;
20
20
 
21
- /**
22
- * 文字详细编辑组件
21
+ /**
22
+ * 文字详细编辑组件
23
23
  */
24
24
  function _default() {
25
25
  var _style$fontWeight;
@@ -11,8 +11,8 @@ var _StyleContext = require("./StyleContext");
11
11
  var _antd = require("luck-design/antd");
12
12
  var Option = _antd.Select.Option;
13
13
 
14
- /**
15
- * 间距选择组件
14
+ /**
15
+ * 间距选择组件
16
16
  */
17
17
  function _default(_ref) {
18
18
  var _style$field;
@@ -11,8 +11,8 @@ var _react = _interopRequireDefault(require("react"));
11
11
  var _PanelItem = _interopRequireDefault(require("../../components/PanelItem"));
12
12
  var _HighLigthtSpan = _interopRequireDefault(require("./HighLigthtSpan"));
13
13
  var _excluded = ["children", "label", "highLightFields", "customStyle"];
14
- /**
15
- * 标签自动高亮控件
14
+ /**
15
+ * 标签自动高亮控件
16
16
  */
17
17
  function _default(_ref) {
18
18
  var children = _ref.children,
@@ -11,8 +11,8 @@ var _react = _interopRequireDefault(require("react"));
11
11
  var _StyleContext = require("./StyleContext");
12
12
  var _stylePanel = _interopRequireDefault(require("../../style/style-panel.less"));
13
13
  var _excluded = ["children", "highLightFields", "customStyle"];
14
- /**
15
- * 标签自动高亮控件
14
+ /**
15
+ * 标签自动高亮控件
16
16
  */
17
17
  function _default(_ref) {
18
18
  var children = _ref.children,
@@ -11,8 +11,8 @@ var _react = _interopRequireDefault(require("react"));
11
11
  var _StyleContext = require("./StyleContext");
12
12
  var _stylePanel = _interopRequireDefault(require("../../style/style-panel.less"));
13
13
  var _excluded = ["children", "field", "label", "highLightFields"];
14
- /**
15
- * 标签自动高亮SVG
14
+ /**
15
+ * 标签自动高亮SVG
16
16
  */
17
17
  function _default(_ref) {
18
18
  var children = _ref.children,
@@ -26,8 +26,8 @@ var _BorderRadius = _interopRequireDefault(require("./BorderRadius"));
26
26
  var _Shadow = _interopRequireDefault(require("./Shadow"));
27
27
  var _Opacity = _interopRequireDefault(require("./Opacity"));
28
28
  var _Pointer = _interopRequireDefault(require("./Pointer"));
29
- /**
30
- * 主样式面板
29
+ /**
30
+ * 主样式面板
31
31
  */
32
32
  var MainPanel = function MainPanel() {
33
33
  var style = (0, _StyleContext.useStyle)();
@@ -22,8 +22,8 @@ function _default() {
22
22
  }));
23
23
  }
24
24
 
25
- /**
26
- * 边距样式设置组件
25
+ /**
26
+ * 边距样式设置组件
27
27
  */
28
28
  var MarginGroup = function MarginGroup() {
29
29
  var style = (0, _StyleContext.useStyle)();
@@ -13,8 +13,8 @@ var _lodash = require("lodash");
13
13
  var _HighLightPanel = _interopRequireDefault(require("./HighLightPanel"));
14
14
  var field = 'opacity';
15
15
 
16
- /**
17
- * 透明度设置组件
16
+ /**
17
+ * 透明度设置组件
18
18
  */
19
19
  function _default() {
20
20
  var style = (0, _StyleContext.useStyle)();
@@ -13,8 +13,8 @@ var _HighLightPanel = _interopRequireDefault(require("./HighLightPanel"));
13
13
  var textRelatedStyles = ['padding', 'padding-top', 'padding-right', 'padding-bottom', 'padding-left'];
14
14
  var field = 'padding';
15
15
 
16
- /**
17
- * 间距样式设置组件
16
+ /**
17
+ * 间距样式设置组件
18
18
  */
19
19
  function _default() {
20
20
  var style = (0, _StyleContext.useStyle)();
@@ -12,8 +12,8 @@ var _antd = require("luck-design/antd");
12
12
  var _HighLightPanel = _interopRequireDefault(require("./HighLightPanel"));
13
13
  var Option = _antd.Select.Option;
14
14
  var field = 'cursor';
15
- /**
16
- * 指针样式设置组件
15
+ /**
16
+ * 指针样式设置组件
17
17
  */
18
18
  function _default() {
19
19
  var _style$field;
@@ -28,8 +28,8 @@ var presetsShadowStyle = [{
28
28
  value: 'rgba(31, 56, 88, 0.2) 1px 1px 4px 0px'
29
29
  }];
30
30
 
31
- /**
32
- * 阴影样式设置组件
31
+ /**
32
+ * 阴影样式设置组件
33
33
  */
34
34
  function _default() {
35
35
  var style = (0, _StyleContext.useStyle)();
@@ -11,8 +11,8 @@ var _react = _interopRequireDefault(require("react"));
11
11
  var _StyleContext = require("./StyleContext");
12
12
  var _NumberInput = _interopRequireDefault(require("../../components/NumberInput"));
13
13
  var _excluded = ["field", "onChange", "placeholder", "customValue", "customOption"];
14
- /**
15
- * Size设置通用组件
14
+ /**
15
+ * Size设置通用组件
16
16
  */
17
17
  function _default(_ref) {
18
18
  var field = _ref.field,
@@ -22,8 +22,8 @@ var StyleContext = /*#__PURE__*/(0, _react.createContext)(null);
22
22
  var StyleDispatchContext = /*#__PURE__*/(0, _react.createContext)(null);
23
23
  var EditorContext = /*#__PURE__*/(0, _react.createContext)(null);
24
24
 
25
- /**
26
- * 样式上下文组件
25
+ /**
26
+ * 样式上下文组件
27
27
  */
28
28
  function StyleProvider(_ref) {
29
29
  var onChange = _ref.onChange,
@@ -10,8 +10,8 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _stylePanel = _interopRequireDefault(require("../../style/style-panel.less"));
12
12
  var _excluded = ["children"];
13
- /**
14
- * 样式行通用组件
13
+ /**
14
+ * 样式行通用组件
15
15
  */
16
16
  function _default(_ref) {
17
17
  var children = _ref.children,
@@ -23,8 +23,8 @@ var options = [{
23
23
  value: 'auto'
24
24
  }];
25
25
 
26
- /**
27
- * 宽高设置控件
26
+ /**
27
+ * 宽高设置控件
28
28
  */
29
29
  function _default(_ref) {
30
30
  var field = _ref.field,
@@ -9,21 +9,21 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _ContextProvider = require("../../../engine/provider/ContextProvider");
10
10
  var _StyleContext = require("./StyleContext");
11
11
  var _MainPanel = _interopRequireDefault(require("./MainPanel"));
12
- /**
13
- * StylePanel 组件是一个 React 组件,用于提供样式设置主面板。
14
- * 该组件通过 StyleProvider 将样式变更和当前样式值传递给其子组件。
15
- *
16
- * @component
17
- * @example
18
- * const handleChange = (newValue) => console.log(newValue);
19
- * const initialValue = "dark";
20
- * <StylePanel onChange={handleChange} value={initialValue} />
21
- *
22
- * @param {Object} props - 组件的属性。
23
- * @param {Function} props.onChange - 当样式变更时调用的函数,该函数接受新的样式值作为参数。
24
- * @param {any} props.value - 样式字符串
25
- *
26
- * @returns {ReactElement} 返回一个 React 元素,其中包含了 StyleProvider 和 MainPanel 组件。
12
+ /**
13
+ * StylePanel 组件是一个 React 组件,用于提供样式设置主面板。
14
+ * 该组件通过 StyleProvider 将样式变更和当前样式值传递给其子组件。
15
+ *
16
+ * @component
17
+ * @example
18
+ * const handleChange = (newValue) => console.log(newValue);
19
+ * const initialValue = "dark";
20
+ * <StylePanel onChange={handleChange} value={initialValue} />
21
+ *
22
+ * @param {Object} props - 组件的属性。
23
+ * @param {Function} props.onChange - 当样式变更时调用的函数,该函数接受新的样式值作为参数。
24
+ * @param {any} props.value - 样式字符串
25
+ *
26
+ * @returns {ReactElement} 返回一个 React 元素,其中包含了 StyleProvider 和 MainPanel 组件。
27
27
  */
28
28
  var StylePanel = function StylePanel(_ref) {
29
29
  var onChange = _ref.onChange,
File without changes
File without changes
File without changes