@luck-design-biz/luckda 0.0.25-19 → 0.0.25-20

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 (856) 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 +0 -0
  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 +0 -0
  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 +0 -0
  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 -0
  32. package/es/lowcode/constants/api-url.js +95 -90
  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 +0 -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 +0 -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 +0 -0
  55. package/es/lowcode/engine/meta/dialog.props.default.json +0 -0
  56. package/es/lowcode/engine/meta/dialog.props.json +0 -0
  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 +0 -0
  60. package/es/lowcode/engine/meta/fieldcolor.props.json +0 -0
  61. package/es/lowcode/engine/meta/fieldcomplex.props.default.json +0 -0
  62. package/es/lowcode/engine/meta/fieldcomplex.props.json +0 -0
  63. package/es/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  64. package/es/lowcode/engine/meta/fielddatadic.props.json +73 -0
  65. package/es/lowcode/engine/meta/fielddate.props.default.json +0 -0
  66. package/es/lowcode/engine/meta/fielddate.props.json +0 -0
  67. package/es/lowcode/engine/meta/fielddict.props.default.json +0 -0
  68. package/es/lowcode/engine/meta/fielddict.props.json +0 -0
  69. package/es/lowcode/engine/meta/fieldeditor.props.default.json +0 -0
  70. package/es/lowcode/engine/meta/fieldeditor.props.json +0 -0
  71. package/es/lowcode/engine/meta/fieldgroup.props.default.json +0 -0
  72. package/es/lowcode/engine/meta/fieldgroup.props.json +0 -0
  73. package/es/lowcode/engine/meta/fieldnumber.props.default.json +0 -0
  74. package/es/lowcode/engine/meta/fieldnumber.props.json +0 -0
  75. package/es/lowcode/engine/meta/fieldradio.props.default.json +0 -0
  76. package/es/lowcode/engine/meta/fieldradio.props.json +0 -0
  77. package/es/lowcode/engine/meta/fieldregion.props.default.json +0 -0
  78. package/es/lowcode/engine/meta/fieldregion.props.json +0 -0
  79. package/es/lowcode/engine/meta/fieldselect.props.default.json +0 -0
  80. package/es/lowcode/engine/meta/fieldselect.props.json +0 -0
  81. package/es/lowcode/engine/meta/fieldstring.props.default.json +0 -0
  82. package/es/lowcode/engine/meta/fieldstring.props.json +0 -0
  83. package/es/lowcode/engine/meta/fieldswitch.props.default.json +0 -0
  84. package/es/lowcode/engine/meta/fieldswitch.props.json +0 -0
  85. package/es/lowcode/engine/meta/fieldtextarea.props.default.json +0 -0
  86. package/es/lowcode/engine/meta/fieldtextarea.props.json +0 -0
  87. package/es/lowcode/engine/meta/fieldupload.props.default.json +0 -0
  88. package/es/lowcode/engine/meta/fieldupload.props.json +0 -0
  89. package/es/lowcode/engine/meta/fielduser.props.default.json +0 -0
  90. package/es/lowcode/engine/meta/fielduser.props.json +0 -0
  91. package/es/lowcode/engine/meta/fieldyear.props.default.json +0 -0
  92. package/es/lowcode/engine/meta/fieldyear.props.json +0 -0
  93. package/es/lowcode/engine/meta/form.props.default.json +0 -0
  94. package/es/lowcode/engine/meta/form.props.json +0 -0
  95. package/es/lowcode/engine/meta/iframe.props.default.json +0 -0
  96. package/es/lowcode/engine/meta/iframe.props.json +0 -0
  97. package/es/lowcode/engine/meta/image.props.default.json +0 -0
  98. package/es/lowcode/engine/meta/image.props.json +0 -0
  99. package/es/lowcode/engine/meta/imex.props.default.json +0 -0
  100. package/es/lowcode/engine/meta/imex.props.json +0 -0
  101. package/es/lowcode/engine/meta/js-editor/auto-complete.json +20 -20
  102. package/es/lowcode/engine/meta/jsx.props.default.json +0 -0
  103. package/es/lowcode/engine/meta/jsx.props.json +0 -0
  104. package/es/lowcode/engine/meta/layout.props.default.json +0 -0
  105. package/es/lowcode/engine/meta/layout.props.json +0 -0
  106. package/es/lowcode/engine/meta/link.props.default.json +0 -0
  107. package/es/lowcode/engine/meta/link.props.json +0 -0
  108. package/es/lowcode/engine/meta/page.props.default.json +0 -0
  109. package/es/lowcode/engine/meta/page.props.json +0 -0
  110. package/es/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  111. package/es/lowcode/engine/meta/pagecontent.props.json +0 -0
  112. package/es/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  113. package/es/lowcode/engine/meta/pagefooter.props.json +0 -0
  114. package/es/lowcode/engine/meta/pageheader.props.default.json +0 -0
  115. package/es/lowcode/engine/meta/pageheader.props.json +0 -0
  116. package/es/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  117. package/es/lowcode/engine/meta/pagelayout.props.json +0 -0
  118. package/es/lowcode/engine/meta/section.props.default.json +0 -0
  119. package/es/lowcode/engine/meta/section.props.json +0 -0
  120. package/es/lowcode/engine/meta/split.props.default.json +0 -0
  121. package/es/lowcode/engine/meta/split.props.json +0 -0
  122. package/es/lowcode/engine/meta/table.props.default.json +0 -0
  123. package/es/lowcode/engine/meta/table.props.json +0 -0
  124. package/es/lowcode/engine/meta/tabs.props.default.json +0 -0
  125. package/es/lowcode/engine/meta/tabs.props.json +0 -0
  126. package/es/lowcode/engine/meta/text.props.default.json +0 -0
  127. package/es/lowcode/engine/meta/text.props.json +0 -0
  128. package/es/lowcode/engine/meta/tree.props.default.json +0 -0
  129. package/es/lowcode/engine/meta/tree.props.json +0 -0
  130. package/es/lowcode/engine/provider/ContextProvider/index.js +50 -50
  131. package/es/lowcode/engine/provider/ContextProvider/usePageState.js +0 -0
  132. package/es/lowcode/engine/provider/EventBusProvider.js +0 -0
  133. package/es/lowcode/engine/provider/RemoteSourceProvider.js +6 -15
  134. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  135. package/es/lowcode/engine/tools/diff.js +0 -0
  136. package/es/lowcode/engine/tools/helper.js +1 -4
  137. package/es/lowcode/engine/tools/useCanvasRender.js +0 -0
  138. package/es/lowcode/engine/tools/useCombinedRefs.js +0 -0
  139. package/es/lowcode/engine/tools/usePageDataStore.js +0 -0
  140. package/es/lowcode/engine/tools/usePromiseState.js +0 -0
  141. package/es/lowcode/engine/tools/useTodo.js +0 -0
  142. package/es/lowcode/index.js +0 -0
  143. package/es/lowcode/painter/Components.js +2 -2
  144. package/es/lowcode/painter/Design.js +0 -0
  145. package/es/lowcode/painter/DesignOperator.js +0 -0
  146. package/es/lowcode/painter/DesignToolbar.js +0 -0
  147. package/es/lowcode/painter/I18n.js +0 -0
  148. package/es/lowcode/painter/Outline.js +0 -0
  149. package/es/lowcode/painter/Panel.js +0 -0
  150. package/es/lowcode/painter/Ribbon.js +0 -0
  151. package/es/lowcode/painter/components/ActionBindModal.js +0 -0
  152. package/es/lowcode/painter/components/AdvancePanel.js +0 -0
  153. package/es/lowcode/painter/components/AttrsPanel.js +0 -0
  154. package/es/lowcode/painter/components/Collapse.js +26 -26
  155. package/es/lowcode/painter/components/ColorInput.js +24 -24
  156. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
  157. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  158. package/es/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  159. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  160. package/es/lowcode/painter/components/FieldSelector.js +0 -0
  161. package/es/lowcode/painter/components/ListEditor.js +24 -24
  162. package/es/lowcode/painter/components/NumberInput.js +28 -28
  163. package/es/lowcode/painter/components/PanelItem.js +24 -24
  164. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  165. package/es/lowcode/painter/components/PopForm.js +27 -27
  166. package/es/lowcode/painter/components/PreviewIframe.js +0 -0
  167. package/es/lowcode/painter/components/RuleInput.js +30 -30
  168. package/es/lowcode/painter/components/SortBox.js +22 -22
  169. package/es/lowcode/painter/components/TreeEditor.js +0 -0
  170. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  171. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  172. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  173. package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  174. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  175. package/es/lowcode/painter/components/code-editor/index.js +0 -0
  176. package/es/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  177. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  178. package/es/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  179. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  180. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
  181. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  182. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
  183. package/es/lowcode/painter/components/field-setting/SettingUI.js +0 -0
  184. package/es/lowcode/painter/components/field-setting/index.js +0 -0
  185. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  186. package/es/lowcode/painter/index.js +0 -0
  187. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  188. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  189. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  190. package/es/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  191. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  192. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  193. package/es/lowcode/painter/panel-section/ButtonType.js +0 -0
  194. package/es/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  195. package/es/lowcode/painter/panel-section/DataSetSelector.js +0 -0
  196. package/es/lowcode/painter/panel-section/FieldsSetting.js +0 -0
  197. package/es/lowcode/painter/panel-section/I18nInput.js +0 -0
  198. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  199. package/es/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  200. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  201. package/es/lowcode/painter/panel-section/ImpExp.js +0 -0
  202. package/es/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
  203. package/es/lowcode/painter/panel-section/JSEditor.js +0 -0
  204. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  205. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
  206. package/es/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  207. package/es/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  208. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  209. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  210. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  211. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  212. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  213. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  214. package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  215. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  216. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  217. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  218. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  219. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  220. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  221. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  222. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  223. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  224. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  225. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  226. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  227. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  228. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  229. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  230. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  231. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  232. package/es/lowcode/painter/panel-section/TabItems.js +0 -0
  233. package/es/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  234. package/es/lowcode/painter/panel-section/TableZebra.js +0 -0
  235. package/es/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  236. package/es/lowcode/painter/panel-section/WidthHeight.js +0 -0
  237. package/es/lowcode/painter/services/I18n.js +0 -0
  238. package/es/lowcode/painter/style/action-bind-modal.less +102 -102
  239. package/es/lowcode/painter/style/actions-editor.less +15 -15
  240. package/es/lowcode/painter/style/border-editor.less +36 -36
  241. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  242. package/es/lowcode/painter/style/border-selector.less +39 -39
  243. package/es/lowcode/painter/style/button-type.less +5 -5
  244. package/es/lowcode/painter/style/collapse.less +28 -28
  245. package/es/lowcode/painter/style/color-input.less +19 -19
  246. package/es/lowcode/painter/style/components.less +91 -91
  247. package/es/lowcode/painter/style/design.less +159 -159
  248. package/es/lowcode/painter/style/display.less +17 -17
  249. package/es/lowcode/painter/style/dragdrop.less +10 -10
  250. package/es/lowcode/painter/style/fields-setting.less +25 -25
  251. package/es/lowcode/painter/style/font-editor.less +9 -9
  252. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  253. package/es/lowcode/painter/style/icon-selector.less +22 -22
  254. package/es/lowcode/painter/style/icon.less +10 -10
  255. package/es/lowcode/painter/style/impexp.less +7 -7
  256. package/es/lowcode/painter/style/index.less +6 -6
  257. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  258. package/es/lowcode/painter/style/list-editor.less +95 -95
  259. package/es/lowcode/painter/style/number-input.less +17 -17
  260. package/es/lowcode/painter/style/outline.less +28 -28
  261. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  262. package/es/lowcode/painter/style/panel-attrs.less +43 -43
  263. package/es/lowcode/painter/style/panel-item.less +54 -54
  264. package/es/lowcode/painter/style/panel.less +98 -98
  265. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  266. package/es/lowcode/painter/style/pop-form.less +19 -19
  267. package/es/lowcode/painter/style/radio.less +24 -24
  268. package/es/lowcode/painter/style/ribbon.less +5 -5
  269. package/es/lowcode/painter/style/rule-input.less +12 -12
  270. package/es/lowcode/painter/style/split-display.less +18 -18
  271. package/es/lowcode/painter/style/style-panel.less +37 -37
  272. package/es/lowcode/painter/style/tabitems.less +90 -90
  273. package/es/lowcode/painter/style/treedragdrop.less +19 -19
  274. package/es/lowcode/preview/index.js +0 -0
  275. package/es/lowcode/view/Canvas.js +0 -0
  276. package/es/lowcode/view/Loading.js +0 -0
  277. package/es/lowcode/view/Page.js +0 -0
  278. package/es/lowcode/view/index.js +0 -0
  279. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
  280. package/es/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  281. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  282. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  283. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  284. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  285. package/es/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  286. package/es/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  287. package/es/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  288. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  289. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  290. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  291. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  292. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  293. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  294. package/es/lowcode/view/lc-components/CardList/index.js +0 -0
  295. package/es/lowcode/view/lc-components/CardList/meta.json +153 -153
  296. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
  297. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  298. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  299. package/es/lowcode/view/lc-components/Dialog/index.js +13 -13
  300. package/es/lowcode/view/lc-components/Dialog/index.less +3 -3
  301. package/es/lowcode/view/lc-components/Dialog/meta.json +150 -150
  302. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  303. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  304. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  305. package/es/lowcode/view/lc-components/Drawer/index.js +12 -12
  306. package/es/lowcode/view/lc-components/Drawer/index.less +9 -9
  307. package/es/lowcode/view/lc-components/Drawer/meta.json +131 -131
  308. package/es/lowcode/view/lc-components/FieldColor/meta.json +146 -146
  309. package/es/lowcode/view/lc-components/FieldComplex/meta.json +122 -122
  310. package/es/lowcode/view/lc-components/FieldDate/meta.json +128 -128
  311. package/es/lowcode/view/lc-components/FieldDict/meta.json +127 -127
  312. package/es/lowcode/view/lc-components/FieldEditor/meta.json +127 -127
  313. package/es/lowcode/view/lc-components/FieldGroup/meta.json +156 -156
  314. package/es/lowcode/view/lc-components/FieldNumber/meta.json +131 -131
  315. package/es/lowcode/view/lc-components/FieldRadio/meta.json +104 -104
  316. package/es/lowcode/view/lc-components/FieldRegion/meta.json +110 -110
  317. package/es/lowcode/view/lc-components/FieldSelect/meta.json +141 -141
  318. package/es/lowcode/view/lc-components/FieldString/meta.json +141 -141
  319. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +114 -114
  320. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +132 -132
  321. package/es/lowcode/view/lc-components/FieldUpload/meta.json +154 -154
  322. package/es/lowcode/view/lc-components/FieldUser/meta.json +165 -165
  323. package/es/lowcode/view/lc-components/FieldYear/meta.json +118 -118
  324. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  325. package/es/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  326. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  327. package/es/lowcode/view/lc-components/Form/index.js +34 -20
  328. package/es/lowcode/view/lc-components/Form/index.less +4 -4
  329. package/es/lowcode/view/lc-components/Form/meta.json +610 -610
  330. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  331. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  332. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  333. package/es/lowcode/view/lc-components/Iframe/index.js +0 -0
  334. package/es/lowcode/view/lc-components/Iframe/meta.json +32 -32
  335. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  336. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  337. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  338. package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
  339. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  340. package/es/lowcode/view/lc-components/ImEx/meta.json +113 -113
  341. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  342. package/es/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  343. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  344. package/es/lowcode/view/lc-components/Image/index.js +0 -0
  345. package/es/lowcode/view/lc-components/Image/meta.json +114 -114
  346. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  347. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  348. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  349. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  350. package/es/lowcode/view/lc-components/JSX/index.js +0 -0
  351. package/es/lowcode/view/lc-components/JSX/meta.json +28 -28
  352. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  353. package/es/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  354. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  355. package/es/lowcode/view/lc-components/Layout/index.js +16 -16
  356. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  357. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  358. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  359. package/es/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  360. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  361. package/es/lowcode/view/lc-components/Link/index.js +0 -0
  362. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  363. package/es/lowcode/view/lc-components/Page/meta.json +55 -55
  364. package/es/lowcode/view/lc-components/PageContent/index.js +0 -0
  365. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  366. package/es/lowcode/view/lc-components/PageFooter/index.js +0 -0
  367. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  368. package/es/lowcode/view/lc-components/PageHeader/index.js +0 -0
  369. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  370. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
  371. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  372. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  373. package/es/lowcode/view/lc-components/PageLayout/index.js +0 -0
  374. package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  375. package/es/lowcode/view/lc-components/PageModal/index.js +0 -0
  376. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  377. package/es/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  378. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  379. package/es/lowcode/view/lc-components/Section/index.js +0 -0
  380. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  381. package/es/lowcode/view/lc-components/Section/meta.json +107 -107
  382. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  383. package/es/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  384. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  385. package/es/lowcode/view/lc-components/Split/index.js +0 -0
  386. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  387. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  388. package/es/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  389. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  390. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  391. package/es/lowcode/view/lc-components/Table/components/TopImex.js +0 -0
  392. package/es/lowcode/view/lc-components/Table/index.js +144 -144
  393. package/es/lowcode/view/lc-components/Table/meta.json +450 -450
  394. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  395. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  396. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  397. package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
  398. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  399. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  400. package/es/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  401. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  402. package/es/lowcode/view/lc-components/Text/index.js +0 -0
  403. package/es/lowcode/view/lc-components/Text/meta.json +66 -66
  404. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  405. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  406. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  407. package/es/lowcode/view/lc-components/Tree/index.js +96 -96
  408. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  409. package/es/lowcode/view/lc-components/Tree/meta.json +357 -357
  410. package/es/lowcode/view/lc-components/Wrapper.js +0 -0
  411. package/es/lowcode/view/style/canvas.less +5 -5
  412. package/es/lowcode/view/style/loading.less +84 -84
  413. package/es/lowcode/view/style/page.less +7 -7
  414. package/es/services.js +0 -0
  415. package/es/upload/FilesWall/file.png +0 -0
  416. package/es/upload/FilesWall/index.js +13 -13
  417. package/es/upload/FilesWall/index.less +74 -74
  418. package/es/upload/Form/gridForm.js +0 -0
  419. package/es/upload/Form/index.js +0 -0
  420. package/es/upload/Form/index.less +7 -7
  421. package/es/upload/FormItem/index.js +15 -15
  422. package/es/upload/GridCell/index.js +0 -0
  423. package/es/upload/index.js +0 -0
  424. package/es/utils/action.js +0 -0
  425. package/es/utils/form.js +21 -21
  426. package/es/utils/grid.js +0 -0
  427. package/es/utils/index.js +0 -0
  428. package/lib/components/Builder/index.js +0 -0
  429. package/lib/components/ComplexItem/index.js +0 -0
  430. package/lib/components/ComplexItem/service.js +0 -0
  431. package/lib/components/IconFont/index.js +0 -0
  432. package/lib/components/LDActions/index.js +0 -0
  433. package/lib/components/LDActions/index.less +68 -68
  434. package/lib/components/LdAutoForm/index.js +0 -0
  435. package/lib/components/LdCard/index.js +0 -0
  436. package/lib/components/LdCard/model.js +0 -0
  437. package/lib/components/LdCom/index.js +0 -0
  438. package/lib/components/LdFormList/index.js +0 -0
  439. package/lib/components/LdFormList/model.js +0 -0
  440. package/lib/components/LdGrid/index.js +4 -4
  441. package/lib/components/LdGrid/model.js +0 -0
  442. package/lib/components/LdGridForm/index.js +0 -0
  443. package/lib/components/LdGridForm/index.less +7 -7
  444. package/lib/components/LdInfoPanel/index.js +0 -0
  445. package/lib/components/LdPop/index.js +0 -0
  446. package/lib/components/LdTree/index.js +0 -0
  447. package/lib/components/LdTree/index.less +40 -40
  448. package/lib/helper/FromItems.js +0 -0
  449. package/lib/helper/action.js +6 -6
  450. package/lib/helper/form.js +14 -14
  451. package/lib/helper/index.less +7 -7
  452. package/lib/helper/ldBuilder.js +0 -0
  453. package/lib/helper/ldComBuild.js +0 -0
  454. package/lib/helper/props_config.js +0 -0
  455. package/lib/index.js +0 -0
  456. package/lib/locales/zh-CN.js +0 -0
  457. package/lib/lowcode/constants/api-url.js +94 -89
  458. package/lib/lowcode/constants/event-topics.js +0 -0
  459. package/lib/lowcode/constants/index.js +0 -0
  460. package/lib/lowcode/engine/factory/DataFactory.js +0 -0
  461. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +0 -0
  462. package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +0 -0
  463. package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +0 -0
  464. package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +0 -0
  465. package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +0 -0
  466. package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +0 -0
  467. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +0 -0
  468. package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +0 -0
  469. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +0 -0
  470. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +0 -0
  471. package/lib/lowcode/engine/factory/panel-item-factory/index.js +0 -0
  472. package/lib/lowcode/engine/launcher.js +0 -0
  473. package/lib/lowcode/engine/meta/box.props.default.json +0 -0
  474. package/lib/lowcode/engine/meta/box.props.json +0 -0
  475. package/lib/lowcode/engine/meta/button.props.default.json +0 -0
  476. package/lib/lowcode/engine/meta/button.props.json +0 -0
  477. package/lib/lowcode/engine/meta/cardlist.props.default.json +0 -0
  478. package/lib/lowcode/engine/meta/cardlist.props.json +0 -0
  479. package/lib/lowcode/engine/meta/components-list.json +0 -0
  480. package/lib/lowcode/engine/meta/dialog.props.default.json +0 -0
  481. package/lib/lowcode/engine/meta/dialog.props.json +0 -0
  482. package/lib/lowcode/engine/meta/drawer.props.default.json +0 -0
  483. package/lib/lowcode/engine/meta/drawer.props.json +0 -0
  484. package/lib/lowcode/engine/meta/fieldcolor.props.default.json +0 -0
  485. package/lib/lowcode/engine/meta/fieldcolor.props.json +0 -0
  486. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +0 -0
  487. package/lib/lowcode/engine/meta/fieldcomplex.props.json +0 -0
  488. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +16 -0
  489. package/lib/lowcode/engine/meta/fielddatadic.props.json +73 -0
  490. package/lib/lowcode/engine/meta/fielddate.props.default.json +0 -0
  491. package/lib/lowcode/engine/meta/fielddate.props.json +0 -0
  492. package/lib/lowcode/engine/meta/fielddict.props.default.json +0 -0
  493. package/lib/lowcode/engine/meta/fielddict.props.json +0 -0
  494. package/lib/lowcode/engine/meta/fieldeditor.props.default.json +0 -0
  495. package/lib/lowcode/engine/meta/fieldeditor.props.json +0 -0
  496. package/lib/lowcode/engine/meta/fieldgroup.props.default.json +0 -0
  497. package/lib/lowcode/engine/meta/fieldgroup.props.json +0 -0
  498. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +0 -0
  499. package/lib/lowcode/engine/meta/fieldnumber.props.json +0 -0
  500. package/lib/lowcode/engine/meta/fieldradio.props.default.json +0 -0
  501. package/lib/lowcode/engine/meta/fieldradio.props.json +0 -0
  502. package/lib/lowcode/engine/meta/fieldregion.props.default.json +0 -0
  503. package/lib/lowcode/engine/meta/fieldregion.props.json +0 -0
  504. package/lib/lowcode/engine/meta/fieldselect.props.default.json +0 -0
  505. package/lib/lowcode/engine/meta/fieldselect.props.json +0 -0
  506. package/lib/lowcode/engine/meta/fieldstring.props.default.json +0 -0
  507. package/lib/lowcode/engine/meta/fieldstring.props.json +0 -0
  508. package/lib/lowcode/engine/meta/fieldswitch.props.default.json +0 -0
  509. package/lib/lowcode/engine/meta/fieldswitch.props.json +0 -0
  510. package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +0 -0
  511. package/lib/lowcode/engine/meta/fieldtextarea.props.json +0 -0
  512. package/lib/lowcode/engine/meta/fieldupload.props.default.json +0 -0
  513. package/lib/lowcode/engine/meta/fieldupload.props.json +0 -0
  514. package/lib/lowcode/engine/meta/fielduser.props.default.json +0 -0
  515. package/lib/lowcode/engine/meta/fielduser.props.json +0 -0
  516. package/lib/lowcode/engine/meta/fieldyear.props.default.json +0 -0
  517. package/lib/lowcode/engine/meta/fieldyear.props.json +0 -0
  518. package/lib/lowcode/engine/meta/form.props.default.json +0 -0
  519. package/lib/lowcode/engine/meta/form.props.json +0 -0
  520. package/lib/lowcode/engine/meta/iframe.props.default.json +0 -0
  521. package/lib/lowcode/engine/meta/iframe.props.json +0 -0
  522. package/lib/lowcode/engine/meta/image.props.default.json +0 -0
  523. package/lib/lowcode/engine/meta/image.props.json +0 -0
  524. package/lib/lowcode/engine/meta/imex.props.default.json +0 -0
  525. package/lib/lowcode/engine/meta/imex.props.json +0 -0
  526. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +20 -20
  527. package/lib/lowcode/engine/meta/jsx.props.default.json +0 -0
  528. package/lib/lowcode/engine/meta/jsx.props.json +0 -0
  529. package/lib/lowcode/engine/meta/layout.props.default.json +0 -0
  530. package/lib/lowcode/engine/meta/layout.props.json +0 -0
  531. package/lib/lowcode/engine/meta/link.props.default.json +0 -0
  532. package/lib/lowcode/engine/meta/link.props.json +0 -0
  533. package/lib/lowcode/engine/meta/page.props.default.json +0 -0
  534. package/lib/lowcode/engine/meta/page.props.json +0 -0
  535. package/lib/lowcode/engine/meta/pagecontent.props.default.json +0 -0
  536. package/lib/lowcode/engine/meta/pagecontent.props.json +0 -0
  537. package/lib/lowcode/engine/meta/pagefooter.props.default.json +0 -0
  538. package/lib/lowcode/engine/meta/pagefooter.props.json +0 -0
  539. package/lib/lowcode/engine/meta/pageheader.props.default.json +0 -0
  540. package/lib/lowcode/engine/meta/pageheader.props.json +0 -0
  541. package/lib/lowcode/engine/meta/pagelayout.props.default.json +0 -0
  542. package/lib/lowcode/engine/meta/pagelayout.props.json +0 -0
  543. package/lib/lowcode/engine/meta/section.props.default.json +0 -0
  544. package/lib/lowcode/engine/meta/section.props.json +0 -0
  545. package/lib/lowcode/engine/meta/split.props.default.json +0 -0
  546. package/lib/lowcode/engine/meta/split.props.json +0 -0
  547. package/lib/lowcode/engine/meta/table.props.default.json +0 -0
  548. package/lib/lowcode/engine/meta/table.props.json +0 -0
  549. package/lib/lowcode/engine/meta/tabs.props.default.json +0 -0
  550. package/lib/lowcode/engine/meta/tabs.props.json +0 -0
  551. package/lib/lowcode/engine/meta/text.props.default.json +0 -0
  552. package/lib/lowcode/engine/meta/text.props.json +0 -0
  553. package/lib/lowcode/engine/meta/tree.props.default.json +0 -0
  554. package/lib/lowcode/engine/meta/tree.props.json +0 -0
  555. package/lib/lowcode/engine/provider/ContextProvider/index.js +50 -50
  556. package/lib/lowcode/engine/provider/ContextProvider/usePageState.js +0 -0
  557. package/lib/lowcode/engine/provider/EventBusProvider.js +0 -0
  558. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +2 -11
  559. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  560. package/lib/lowcode/engine/tools/diff.js +0 -0
  561. package/lib/lowcode/engine/tools/helper.js +1 -5
  562. package/lib/lowcode/engine/tools/useCanvasRender.js +0 -0
  563. package/lib/lowcode/engine/tools/useCombinedRefs.js +0 -0
  564. package/lib/lowcode/engine/tools/usePageDataStore.js +0 -0
  565. package/lib/lowcode/engine/tools/usePromiseState.js +0 -0
  566. package/lib/lowcode/engine/tools/useTodo.js +0 -0
  567. package/lib/lowcode/index.js +0 -0
  568. package/lib/lowcode/painter/Components.js +2 -2
  569. package/lib/lowcode/painter/Design.js +0 -0
  570. package/lib/lowcode/painter/DesignOperator.js +0 -0
  571. package/lib/lowcode/painter/DesignToolbar.js +0 -0
  572. package/lib/lowcode/painter/I18n.js +0 -0
  573. package/lib/lowcode/painter/Outline.js +0 -0
  574. package/lib/lowcode/painter/Panel.js +0 -0
  575. package/lib/lowcode/painter/Ribbon.js +0 -0
  576. package/lib/lowcode/painter/components/ActionBindModal.js +0 -0
  577. package/lib/lowcode/painter/components/AdvancePanel.js +0 -0
  578. package/lib/lowcode/painter/components/AttrsPanel.js +0 -0
  579. package/lib/lowcode/painter/components/Collapse.js +26 -26
  580. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  581. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +0 -0
  582. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +0 -0
  583. package/lib/lowcode/painter/components/DragDrop/Overlay.js +0 -0
  584. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +0 -0
  585. package/lib/lowcode/painter/components/FieldSelector.js +0 -0
  586. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  587. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  588. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  589. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  590. package/lib/lowcode/painter/components/PopForm.js +27 -27
  591. package/lib/lowcode/painter/components/PreviewIframe.js +0 -0
  592. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  593. package/lib/lowcode/painter/components/SortBox.js +22 -22
  594. package/lib/lowcode/painter/components/TreeEditor.js +0 -0
  595. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  596. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  597. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  598. package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  599. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  600. package/lib/lowcode/painter/components/code-editor/index.js +0 -0
  601. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +0 -0
  602. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +0 -0
  603. package/lib/lowcode/painter/components/field-setting/CheckRules.js +0 -0
  604. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +0 -0
  605. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +0 -0
  606. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +0 -0
  607. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +0 -0
  608. package/lib/lowcode/painter/components/field-setting/SettingUI.js +0 -0
  609. package/lib/lowcode/painter/components/field-setting/index.js +0 -0
  610. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +0 -0
  611. package/lib/lowcode/painter/index.js +0 -0
  612. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +0 -0
  613. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +0 -0
  614. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +0 -0
  615. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +0 -0
  616. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +0 -0
  617. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +0 -0
  618. package/lib/lowcode/painter/panel-section/ButtonType.js +0 -0
  619. package/lib/lowcode/painter/panel-section/ComponentSelector.js +0 -0
  620. package/lib/lowcode/painter/panel-section/DataSetSelector.js +0 -0
  621. package/lib/lowcode/painter/panel-section/FieldsSetting.js +0 -0
  622. package/lib/lowcode/painter/panel-section/I18nInput.js +0 -0
  623. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  624. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +0 -0
  625. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  626. package/lib/lowcode/painter/panel-section/ImpExp.js +0 -0
  627. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +0 -0
  628. package/lib/lowcode/painter/panel-section/JSEditor.js +0 -0
  629. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  630. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +0 -0
  631. package/lib/lowcode/painter/panel-section/SerialsSelector.js +0 -0
  632. package/lib/lowcode/painter/panel-section/SplitDisplay.js +0 -0
  633. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  634. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  635. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  636. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  637. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  638. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  639. package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +0 -0
  640. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  641. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  642. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  643. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  644. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  645. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  646. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  647. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  648. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  649. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  650. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  651. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  652. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  653. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  654. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  655. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  656. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  657. package/lib/lowcode/painter/panel-section/TabItems.js +0 -0
  658. package/lib/lowcode/painter/panel-section/TableTopFilter.js +0 -0
  659. package/lib/lowcode/painter/panel-section/TableZebra.js +0 -0
  660. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +0 -0
  661. package/lib/lowcode/painter/panel-section/WidthHeight.js +0 -0
  662. package/lib/lowcode/painter/services/I18n.js +0 -0
  663. package/lib/lowcode/painter/style/action-bind-modal.less +102 -102
  664. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  665. package/lib/lowcode/painter/style/border-editor.less +36 -36
  666. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  667. package/lib/lowcode/painter/style/border-selector.less +39 -39
  668. package/lib/lowcode/painter/style/button-type.less +5 -5
  669. package/lib/lowcode/painter/style/collapse.less +28 -28
  670. package/lib/lowcode/painter/style/color-input.less +19 -19
  671. package/lib/lowcode/painter/style/components.less +91 -91
  672. package/lib/lowcode/painter/style/design.less +159 -159
  673. package/lib/lowcode/painter/style/display.less +17 -17
  674. package/lib/lowcode/painter/style/dragdrop.less +10 -10
  675. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  676. package/lib/lowcode/painter/style/font-editor.less +9 -9
  677. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  678. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  679. package/lib/lowcode/painter/style/icon.less +10 -10
  680. package/lib/lowcode/painter/style/impexp.less +7 -7
  681. package/lib/lowcode/painter/style/index.less +6 -6
  682. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  683. package/lib/lowcode/painter/style/list-editor.less +95 -95
  684. package/lib/lowcode/painter/style/number-input.less +17 -17
  685. package/lib/lowcode/painter/style/outline.less +28 -28
  686. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  687. package/lib/lowcode/painter/style/panel-attrs.less +43 -43
  688. package/lib/lowcode/painter/style/panel-item.less +54 -54
  689. package/lib/lowcode/painter/style/panel.less +98 -98
  690. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  691. package/lib/lowcode/painter/style/pop-form.less +19 -19
  692. package/lib/lowcode/painter/style/radio.less +24 -24
  693. package/lib/lowcode/painter/style/ribbon.less +5 -5
  694. package/lib/lowcode/painter/style/rule-input.less +12 -12
  695. package/lib/lowcode/painter/style/split-display.less +18 -18
  696. package/lib/lowcode/painter/style/style-panel.less +37 -37
  697. package/lib/lowcode/painter/style/tabitems.less +90 -90
  698. package/lib/lowcode/painter/style/treedragdrop.less +19 -19
  699. package/lib/lowcode/preview/index.js +0 -0
  700. package/lib/lowcode/view/Canvas.js +0 -0
  701. package/lib/lowcode/view/Loading.js +0 -0
  702. package/lib/lowcode/view/Page.js +0 -0
  703. package/lib/lowcode/view/index.js +0 -0
  704. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +0 -0
  705. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +0 -0
  706. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +0 -0
  707. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  708. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  709. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  710. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +0 -0
  711. package/lib/lowcode/view/lc-components/Button/FunctionLive.js +0 -0
  712. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +0 -0
  713. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  714. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  715. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  716. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +0 -0
  717. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +0 -0
  718. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +0 -0
  719. package/lib/lowcode/view/lc-components/CardList/index.js +0 -0
  720. package/lib/lowcode/view/lc-components/CardList/meta.json +153 -153
  721. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +0 -0
  722. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +0 -0
  723. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +0 -0
  724. package/lib/lowcode/view/lc-components/Dialog/index.js +13 -13
  725. package/lib/lowcode/view/lc-components/Dialog/index.less +3 -3
  726. package/lib/lowcode/view/lc-components/Dialog/meta.json +150 -150
  727. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +0 -0
  728. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +0 -0
  729. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +0 -0
  730. package/lib/lowcode/view/lc-components/Drawer/index.js +12 -12
  731. package/lib/lowcode/view/lc-components/Drawer/index.less +9 -9
  732. package/lib/lowcode/view/lc-components/Drawer/meta.json +131 -131
  733. package/lib/lowcode/view/lc-components/FieldColor/meta.json +146 -146
  734. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +122 -122
  735. package/lib/lowcode/view/lc-components/FieldDate/meta.json +128 -128
  736. package/lib/lowcode/view/lc-components/FieldDict/meta.json +127 -127
  737. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +127 -127
  738. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +156 -156
  739. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +131 -131
  740. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +104 -104
  741. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +110 -110
  742. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +141 -141
  743. package/lib/lowcode/view/lc-components/FieldString/meta.json +141 -141
  744. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +114 -114
  745. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +132 -132
  746. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +154 -154
  747. package/lib/lowcode/view/lc-components/FieldUser/meta.json +165 -165
  748. package/lib/lowcode/view/lc-components/FieldYear/meta.json +118 -118
  749. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +0 -0
  750. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +0 -0
  751. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +0 -0
  752. package/lib/lowcode/view/lc-components/Form/index.js +34 -20
  753. package/lib/lowcode/view/lc-components/Form/index.less +4 -4
  754. package/lib/lowcode/view/lc-components/Form/meta.json +610 -610
  755. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +0 -0
  756. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +0 -0
  757. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +0 -0
  758. package/lib/lowcode/view/lc-components/Iframe/index.js +0 -0
  759. package/lib/lowcode/view/lc-components/Iframe/meta.json +32 -32
  760. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +0 -0
  761. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +0 -0
  762. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +0 -0
  763. package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
  764. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  765. package/lib/lowcode/view/lc-components/ImEx/meta.json +113 -113
  766. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +0 -0
  767. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +0 -0
  768. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +0 -0
  769. package/lib/lowcode/view/lc-components/Image/index.js +0 -0
  770. package/lib/lowcode/view/lc-components/Image/meta.json +114 -114
  771. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +0 -0
  772. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +0 -0
  773. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +0 -0
  774. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  775. package/lib/lowcode/view/lc-components/JSX/index.js +0 -0
  776. package/lib/lowcode/view/lc-components/JSX/meta.json +28 -28
  777. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +0 -0
  778. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +0 -0
  779. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +0 -0
  780. package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
  781. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  782. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  783. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +0 -0
  784. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +0 -0
  785. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +0 -0
  786. package/lib/lowcode/view/lc-components/Link/index.js +0 -0
  787. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  788. package/lib/lowcode/view/lc-components/Page/meta.json +55 -55
  789. package/lib/lowcode/view/lc-components/PageContent/index.js +0 -0
  790. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  791. package/lib/lowcode/view/lc-components/PageFooter/index.js +0 -0
  792. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  793. package/lib/lowcode/view/lc-components/PageHeader/index.js +0 -0
  794. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  795. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +0 -0
  796. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +0 -0
  797. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +0 -0
  798. package/lib/lowcode/view/lc-components/PageLayout/index.js +0 -0
  799. package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -47
  800. package/lib/lowcode/view/lc-components/PageModal/index.js +0 -0
  801. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +0 -0
  802. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +0 -0
  803. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +0 -0
  804. package/lib/lowcode/view/lc-components/Section/index.js +0 -0
  805. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  806. package/lib/lowcode/view/lc-components/Section/meta.json +107 -107
  807. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +0 -0
  808. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +0 -0
  809. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +0 -0
  810. package/lib/lowcode/view/lc-components/Split/index.js +0 -0
  811. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  812. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +0 -0
  813. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +0 -0
  814. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +0 -0
  815. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +0 -0
  816. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +0 -0
  817. package/lib/lowcode/view/lc-components/Table/index.js +144 -144
  818. package/lib/lowcode/view/lc-components/Table/meta.json +450 -450
  819. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +0 -0
  820. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +0 -0
  821. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +0 -0
  822. package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
  823. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  824. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +0 -0
  825. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +0 -0
  826. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +0 -0
  827. package/lib/lowcode/view/lc-components/Text/index.js +0 -0
  828. package/lib/lowcode/view/lc-components/Text/meta.json +66 -66
  829. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +0 -0
  830. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +0 -0
  831. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +0 -0
  832. package/lib/lowcode/view/lc-components/Tree/index.js +96 -96
  833. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  834. package/lib/lowcode/view/lc-components/Tree/meta.json +357 -357
  835. package/lib/lowcode/view/lc-components/Wrapper.js +0 -0
  836. package/lib/lowcode/view/style/canvas.less +5 -5
  837. package/lib/lowcode/view/style/loading.less +84 -84
  838. package/lib/lowcode/view/style/page.less +7 -7
  839. package/lib/services.js +0 -0
  840. package/lib/upload/FilesWall/file.png +0 -0
  841. package/lib/upload/FilesWall/index.js +13 -13
  842. package/lib/upload/FilesWall/index.less +74 -74
  843. package/lib/upload/Form/gridForm.js +0 -0
  844. package/lib/upload/Form/index.js +0 -0
  845. package/lib/upload/Form/index.less +7 -7
  846. package/lib/upload/FormItem/index.js +15 -15
  847. package/lib/upload/GridCell/index.js +0 -0
  848. package/lib/upload/index.js +0 -0
  849. package/lib/utils/action.js +0 -0
  850. package/lib/utils/form.js +21 -21
  851. package/lib/utils/grid.js +0 -0
  852. package/lib/utils/index.js +0 -0
  853. package/lowcode.js +1 -1
  854. package/package.json +173 -173
  855. package/upload.js +1 -1
  856. package/utils.js +1 -1
@@ -32,11 +32,13 @@ exports.getFindexcelstate = getFindexcelstate;
32
32
  exports.noAuthGetTemplateUrl = noAuthGetTemplateUrl;
33
33
  exports.uploadTemplate = uploadTemplate;
34
34
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
35
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
35
36
  var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/regeneratorRuntime"));
36
37
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
37
38
  var _utils = require("@luck-design-biz/base/utils");
38
39
  var _ApiConfig = _interopRequireDefault(require("@/services/ApiConfig"));
39
40
  var _helper = require("../engine/tools/helper");
41
+ var _constants = require("../constants");
40
42
  // icon地址
41
43
  var ICONLIST_URL = exports.ICONLIST_URL = '/public/icons/iconfont.json';
42
44
  var ICONLIST_JS = exports.ICONLIST_JS = '/public/icons/iconfont.js';
@@ -46,16 +48,16 @@ var API_PREFIX_PAGE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/page");
46
48
  var API_PREFIX_MODULE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/module");
47
49
  var API_RREFIX_DATASET = "".concat(API_PREFIX_MODULE, "/dataset");
48
50
 
49
- /**
50
- * 通过菜单编码获取page相关数据
51
- * @param {{code: string}} -code: 菜单编码
51
+ /**
52
+ * 通过菜单编码获取page相关数据
53
+ * @param {{code: string}} -code: 菜单编码
52
54
  */
53
55
  function fetchPageData(_x) {
54
56
  return _fetchPageData.apply(this, arguments);
55
57
  }
56
- /**
57
- * 获取design时模块数据
58
- * @param {{moduleCode: string}} params
58
+ /**
59
+ * 获取design时模块数据
60
+ * @param {{moduleCode: string}} params
59
61
  */
60
62
  function _fetchPageData() {
61
63
  _fetchPageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(params) {
@@ -76,11 +78,11 @@ function _fetchPageData() {
76
78
  function fetchDesignModlueData(_x2, _x3) {
77
79
  return _fetchDesignModlueData.apply(this, arguments);
78
80
  }
79
- /**
80
- * 获取preview时模块数据
81
- * @param {*} dmCode
82
- * @param {*} params
83
- * @returns
81
+ /**
82
+ * 获取preview时模块数据
83
+ * @param {*} dmCode
84
+ * @param {*} params
85
+ * @returns
84
86
  */
85
87
  function _fetchDesignModlueData() {
86
88
  _fetchDesignModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(_, params) {
@@ -88,7 +90,8 @@ function _fetchDesignModlueData() {
88
90
  while (1) switch (_context2.prev = _context2.next) {
89
91
  case 0:
90
92
  return _context2.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/fetchModuleInfo"), {
91
- params: params
93
+ params: params,
94
+ headers: (0, _defineProperty2.default)({}, _constants.COOKIE_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.COOKIE_RUNTIME_KEY))
92
95
  }));
93
96
  case 1:
94
97
  case "end":
@@ -101,9 +104,9 @@ function _fetchDesignModlueData() {
101
104
  function fetchPreviewModlueData(_x4, _x5) {
102
105
  return _fetchPreviewModlueData.apply(this, arguments);
103
106
  }
104
- /**
105
- * 获取live时模块数据
106
- * @param {{moduleCode: string}} params
107
+ /**
108
+ * 获取live时模块数据
109
+ * @param {{moduleCode: string}} params
107
110
  */
108
111
  function _fetchPreviewModlueData() {
109
112
  _fetchPreviewModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(dmCode, params) {
@@ -111,7 +114,8 @@ function _fetchPreviewModlueData() {
111
114
  while (1) switch (_context3.prev = _context3.next) {
112
115
  case 0:
113
116
  return _context3.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/fetchModuleForPreview"), {
114
- params: params
117
+ params: params,
118
+ headers: (0, _defineProperty2.default)({}, _constants.COOKIE_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.COOKIE_RUNTIME_KEY))
115
119
  }));
116
120
  case 1:
117
121
  case "end":
@@ -124,9 +128,9 @@ function _fetchPreviewModlueData() {
124
128
  function fetchModlueData(_x6, _x7) {
125
129
  return _fetchModlueData.apply(this, arguments);
126
130
  }
127
- /**
128
- * 获取数据模型下的所有数据集
129
- * @param {{ dataModelKey }} params
131
+ /**
132
+ * 获取数据模型下的所有数据集
133
+ * @param {{ dataModelKey }} params
130
134
  */
131
135
  function _fetchModlueData() {
132
136
  _fetchModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4(dmCode, params) {
@@ -134,7 +138,8 @@ function _fetchModlueData() {
134
138
  while (1) switch (_context4.prev = _context4.next) {
135
139
  case 0:
136
140
  return _context4.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModule"), {
137
- params: params
141
+ params: params,
142
+ headers: (0, _defineProperty2.default)({}, _constants.COOKIE_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.COOKIE_RUNTIME_KEY))
138
143
  }));
139
144
  case 1:
140
145
  case "end":
@@ -147,9 +152,9 @@ function _fetchModlueData() {
147
152
  function fetchAllDataset(_x8) {
148
153
  return _fetchAllDataset.apply(this, arguments);
149
154
  }
150
- /**
151
- * 向模块中添加数据集
152
- * @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
155
+ /**
156
+ * 向模块中添加数据集
157
+ * @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
153
158
  */
154
159
  function _fetchAllDataset() {
155
160
  _fetchAllDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5(params) {
@@ -170,9 +175,9 @@ function _fetchAllDataset() {
170
175
  function fetchAddDataset(_x9) {
171
176
  return _fetchAddDataset.apply(this, arguments);
172
177
  }
173
- /**
174
- * 获取数据集下的所有字段
175
- * @param {{datasetUid}} params
178
+ /**
179
+ * 获取数据集下的所有字段
180
+ * @param {{datasetUid}} params
176
181
  */
177
182
  function _fetchAddDataset() {
178
183
  _fetchAddDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee6(data) {
@@ -194,10 +199,10 @@ function _fetchAddDataset() {
194
199
  function fetchFieldsByDataset(_x10) {
195
200
  return _fetchFieldsByDataset.apply(this, arguments);
196
201
  }
197
- /**
198
- * 获取字段配置条件
199
- * @param {{moduleId,datasetId,moduleFieldId}} params
200
- * @returns
202
+ /**
203
+ * 获取字段配置条件
204
+ * @param {{moduleId,datasetId,moduleFieldId}} params
205
+ * @returns
201
206
  */
202
207
  function _fetchFieldsByDataset() {
203
208
  _fetchFieldsByDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee7(params) {
@@ -218,9 +223,9 @@ function _fetchFieldsByDataset() {
218
223
  function fetchFieldCondition(_x11) {
219
224
  return _fetchFieldCondition.apply(this, arguments);
220
225
  }
221
- /**
222
- * 更新是否标题字段
223
- * @param {{moduleId,datasetId,moduleFieldId}} params
226
+ /**
227
+ * 更新是否标题字段
228
+ * @param {{moduleId,datasetId,moduleFieldId}} params
224
229
  */
225
230
  function _fetchFieldCondition() {
226
231
  _fetchFieldCondition = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee8(params) {
@@ -241,10 +246,10 @@ function _fetchFieldCondition() {
241
246
  function fetchUpdateTitleField(_x12) {
242
247
  return _fetchUpdateTitleField.apply(this, arguments);
243
248
  }
244
- /**
245
- * 更新是否唯一校验
246
- * @param {*} data
247
- * @returns
249
+ /**
250
+ * 更新是否唯一校验
251
+ * @param {*} data
252
+ * @returns
248
253
  */
249
254
  function _fetchUpdateTitleField() {
250
255
  _fetchUpdateTitleField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee9(data) {
@@ -266,9 +271,9 @@ function _fetchUpdateTitleField() {
266
271
  function fetchUpdateUniqueField(_x13) {
267
272
  return _fetchUpdateUniqueField.apply(this, arguments);
268
273
  }
269
- /**
270
- * 新增字段属性
271
- * @param {*} data
274
+ /**
275
+ * 新增字段属性
276
+ * @param {*} data
272
277
  */
273
278
  function _fetchUpdateUniqueField() {
274
279
  _fetchUpdateUniqueField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee10(data) {
@@ -290,9 +295,9 @@ function _fetchUpdateUniqueField() {
290
295
  function fetchAddFieldAttrs(_x14) {
291
296
  return _fetchAddFieldAttrs.apply(this, arguments);
292
297
  }
293
- /**
294
- * 删除字段属性
295
- * @param {*} data
298
+ /**
299
+ * 删除字段属性
300
+ * @param {*} data
296
301
  */
297
302
  function _fetchAddFieldAttrs() {
298
303
  _fetchAddFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee11(data) {
@@ -314,9 +319,9 @@ function _fetchAddFieldAttrs() {
314
319
  function fetchDelAttrs(_x15) {
315
320
  return _fetchDelAttrs.apply(this, arguments);
316
321
  }
317
- /**
318
- * 更新字段属性
319
- * @param {*} params
322
+ /**
323
+ * 更新字段属性
324
+ * @param {*} params
320
325
  */
321
326
  function _fetchDelAttrs() {
322
327
  _fetchDelAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee12(data) {
@@ -338,10 +343,10 @@ function _fetchDelAttrs() {
338
343
  function fetchUpdateFieldAttrs(_x16) {
339
344
  return _fetchUpdateFieldAttrs.apply(this, arguments);
340
345
  }
341
- /**
342
- * 读取字段配置的属性
343
- * @param {{uid, scope}} params
344
- * @returns
346
+ /**
347
+ * 读取字段配置的属性
348
+ * @param {{uid, scope}} params
349
+ * @returns
345
350
  */
346
351
  function _fetchUpdateFieldAttrs() {
347
352
  _fetchUpdateFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee13(data) {
@@ -363,10 +368,10 @@ function _fetchUpdateFieldAttrs() {
363
368
  function fetchAttrs(_x17) {
364
369
  return _fetchAttrs.apply(this, arguments);
365
370
  }
366
- /**
367
- * 读取所有行为
368
- * @param {{uid}} params
369
- * @returns
371
+ /**
372
+ * 读取所有行为
373
+ * @param {{uid}} params
374
+ * @returns
370
375
  */
371
376
  function _fetchAttrs() {
372
377
  _fetchAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee14(params) {
@@ -387,10 +392,10 @@ function _fetchAttrs() {
387
392
  function fetchAllBehavior(_x18) {
388
393
  return _fetchAllBehavior.apply(this, arguments);
389
394
  }
390
- /**
391
- * 读取所有资源串
392
- * @param {{uid}} params
393
- * @returns
395
+ /**
396
+ * 读取所有资源串
397
+ * @param {{uid}} params
398
+ * @returns
394
399
  */
395
400
  function _fetchAllBehavior() {
396
401
  _fetchAllBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee15(params) {
@@ -411,10 +416,10 @@ function _fetchAllBehavior() {
411
416
  function fetchAllSerials(_x19) {
412
417
  return _fetchAllSerials.apply(this, arguments);
413
418
  }
414
- /**
415
- * 读取导入导出数据源
416
- * @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
417
- * @returns
419
+ /**
420
+ * 读取导入导出数据源
421
+ * @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
422
+ * @returns
418
423
  */
419
424
  function _fetchAllSerials() {
420
425
  _fetchAllSerials = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee16(params) {
@@ -456,19 +461,19 @@ function getBehaviorUrl() {
456
461
  return "".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/to/behavior/call");
457
462
  }
458
463
 
459
- /**
460
- * 执行行为
461
- * @param {*} params
462
- * @param {*} data
463
- * @returns
464
+ /**
465
+ * 执行行为
466
+ * @param {*} params
467
+ * @param {*} data
468
+ * @returns
464
469
  */
465
470
  function fetchCallBehavior(_x21, _x22) {
466
471
  return _fetchCallBehavior.apply(this, arguments);
467
472
  }
468
- /**
469
- * 清除当前模块缓存
470
- * @param {{moduleCode}} params
471
- * @returns
473
+ /**
474
+ * 清除当前模块缓存
475
+ * @param {{moduleCode}} params
476
+ * @returns
472
477
  */
473
478
  function _fetchCallBehavior() {
474
479
  _fetchCallBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee18(params, data) {
@@ -479,9 +484,9 @@ function _fetchCallBehavior() {
479
484
  method: 'POST',
480
485
  data: data,
481
486
  params: params,
482
- headers: {
487
+ headers: (0, _defineProperty2.default)({
483
488
  'Content-Type': 'application/json;charset=UTF-8'
484
- }
489
+ }, _constants.COOKIE_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.COOKIE_RUNTIME_KEY))
485
490
  }));
486
491
  case 1:
487
492
  case "end":
@@ -494,10 +499,10 @@ function _fetchCallBehavior() {
494
499
  function fetchClearCache(_x23) {
495
500
  return _fetchClearCache.apply(this, arguments);
496
501
  }
497
- /**
498
- * 更新页面配置数据
499
- * @param {*} data
500
- * @returns
502
+ /**
503
+ * 更新页面配置数据
504
+ * @param {*} data
505
+ * @returns
501
506
  */
502
507
  function _fetchClearCache() {
503
508
  _fetchClearCache = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee19(params) {
@@ -518,10 +523,10 @@ function _fetchClearCache() {
518
523
  function fetchUpdatePageData(_x24) {
519
524
  return _fetchUpdatePageData.apply(this, arguments);
520
525
  }
521
- /**
522
- * 获取数据字典
523
- * @param {{snamealias}} params
524
- * @returns
526
+ /**
527
+ * 获取数据字典
528
+ * @param {{snamealias}} params
529
+ * @returns
525
530
  */
526
531
  function _fetchUpdatePageData() {
527
532
  _fetchUpdatePageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee20(data) {
@@ -543,10 +548,10 @@ function _fetchUpdatePageData() {
543
548
  function fetchDataDic(_x25) {
544
549
  return _fetchDataDic.apply(this, arguments);
545
550
  }
546
- /**
547
- * 导出excel
548
- * @param {*} data
549
- * @returns
551
+ /**
552
+ * 导出excel
553
+ * @param {*} data
554
+ * @returns
550
555
  */
551
556
  function _fetchDataDic() {
552
557
  _fetchDataDic = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee21(params) {
@@ -567,10 +572,10 @@ function _fetchDataDic() {
567
572
  function exportExcel(_x26, _x27) {
568
573
  return _exportExcel.apply(this, arguments);
569
574
  }
570
- /**
571
- * 导入
572
- * @param {*} params, data
573
- * @returns
575
+ /**
576
+ * 导入
577
+ * @param {*} params, data
578
+ * @returns
574
579
  */
575
580
  function _exportExcel() {
576
581
  _exportExcel = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee22(params, data) {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,16 @@
1
+ {
2
+ "component": "FieldDatadic",
3
+ "name": "数据字典",
4
+ "group": "field",
5
+ "desc": "数据字典类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "display": "select",
10
+ "multiple": false,
11
+ "isTree": false,
12
+ "allowClear": false,
13
+ "advance": {
14
+ "events": {}
15
+ }
16
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "component": "FieldDatadic",
3
+ "name": "数据字典",
4
+ "group": "field",
5
+ "desc": "数据字典类型表单项",
6
+ "icon": "icon-fieldstring",
7
+ "groupName": "表单项",
8
+ "order": 1,
9
+ "props": [
10
+ {
11
+ "key": "alias",
12
+ "name": "字典key",
13
+ "type": "string"
14
+ },
15
+ {
16
+ "key": "valueField",
17
+ "name": "实际值字段",
18
+ "type": "string"
19
+ },
20
+ {
21
+ "key": "labelField",
22
+ "name": "翻译值字段",
23
+ "type": "string"
24
+ },
25
+ {
26
+ "key": "display",
27
+ "name": "展现形式",
28
+ "type": "segmented",
29
+ "options": [
30
+ {
31
+ "label": "Select",
32
+ "value": "select"
33
+ },
34
+ {
35
+ "label": "Radio",
36
+ "value": "radio"
37
+ }
38
+ ],
39
+ "default": "select"
40
+ },
41
+ {
42
+ "key": "multiple",
43
+ "name": "多选",
44
+ "desc": "仅在展现形式为Select时有效",
45
+ "type": "switch",
46
+ "default": false
47
+ },
48
+ {
49
+ "key": "isTree",
50
+ "name": "树形结构",
51
+ "desc": "用于规定树形结构的数据字典,仅在展现形式为Select时有效",
52
+ "type": "switch",
53
+ "default": false
54
+ },
55
+ {
56
+ "key": "allowClear",
57
+ "name": "允许清除",
58
+ "desc": "仅在展现形式为Select时有效",
59
+ "type": "switch",
60
+ "default": false
61
+ }
62
+ ],
63
+ "advance": {
64
+ "events": [
65
+ {
66
+ "key": "onChange",
67
+ "name": "数据变化事件",
68
+ "desc": "在数据变化事件时,执行方法",
69
+ "func": "function onChange(data) {\n\t\n}"
70
+ }
71
+ ]
72
+ }
73
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes