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

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 (450) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +40 -40
  3. package/es/components/Builder/index.js +13 -10
  4. package/es/components/LDActions/index.less +70 -70
  5. package/es/components/LdAutoForm/index.js +5 -4
  6. package/es/components/LdCom/index.js +3 -2
  7. package/es/components/LdFormList/index.js +4 -3
  8. package/es/components/LdGrid/index.js +4 -4
  9. package/es/components/LdGridForm/index.js +5 -4
  10. package/es/components/LdGridForm/index.less +7 -7
  11. package/es/components/LdTree/index.less +42 -42
  12. package/es/helper/FromItems.js +64 -5
  13. package/es/helper/action.js +6 -6
  14. package/es/helper/form.js +14 -14
  15. package/es/helper/index.less +7 -7
  16. package/es/helper/ldBuilder.js +5 -4
  17. package/es/helper/ldComBuild.js +16 -11
  18. package/es/locales/zh-CN.js +41 -5
  19. package/es/lowcode/constants/api-url.js +309 -261
  20. package/es/lowcode/constants/event-topics.js +2 -0
  21. package/es/lowcode/constants/index.js +5 -4
  22. package/es/lowcode/engine/meta/components-list.json +12 -6
  23. package/es/lowcode/engine/meta/fielddate.props.default.json +1 -0
  24. package/es/lowcode/engine/meta/fielddate.props.json +48 -0
  25. package/es/lowcode/engine/meta/js-editor/auto-complete.json +35 -30
  26. package/es/lowcode/engine/meta/proxy.props.default.json +15 -0
  27. package/es/lowcode/engine/meta/proxy.props.json +66 -0
  28. package/es/lowcode/engine/provider/ContextProvider/index.js +87 -49
  29. package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js +49 -43
  30. package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +11 -5
  31. package/es/lowcode/engine/provider/ContextProvider/useTodo.js +2 -4
  32. package/es/lowcode/engine/provider/EventBusProvider.js +14 -4
  33. package/es/lowcode/engine/provider/PageProxyProvider.js +95 -0
  34. package/es/lowcode/engine/provider/RemoteSourceProvider.js +10 -12
  35. package/es/lowcode/engine/tools/dataProcess.js +76 -76
  36. package/es/lowcode/engine/tools/helper.js +25 -1
  37. package/es/lowcode/engine/tools/initDS.js +4 -4
  38. package/es/lowcode/painter/Components.js +2 -2
  39. package/es/lowcode/painter/Design.js +1 -0
  40. package/es/lowcode/painter/DesignOperator.js +129 -27
  41. package/es/lowcode/painter/DesignToolbar.js +88 -173
  42. package/es/lowcode/painter/components/AdvancePanel.js +28 -10
  43. package/es/lowcode/painter/components/Collapse.js +26 -26
  44. package/es/lowcode/painter/components/ColorInput.js +24 -24
  45. package/es/lowcode/painter/components/ListEditor.js +24 -24
  46. package/es/lowcode/painter/components/NumberInput.js +28 -28
  47. package/es/lowcode/painter/components/PanelItem.js +24 -24
  48. package/es/lowcode/painter/components/PopConfirm.js +8 -8
  49. package/es/lowcode/painter/components/PopForm.js +27 -27
  50. package/es/lowcode/painter/components/RuleInput.js +30 -30
  51. package/es/lowcode/painter/components/SortBox.js +22 -22
  52. package/es/lowcode/painter/components/TipIcon.js +12 -4
  53. package/es/lowcode/painter/components/TreeEditor.js +10 -10
  54. package/es/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  55. package/es/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  56. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  57. package/es/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  58. package/es/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  59. package/es/lowcode/painter/components/field-setting/SettingUI.js +56 -4
  60. package/es/lowcode/painter/components/field-setting/index.js +24 -1
  61. package/es/lowcode/painter/components/shortcut-modal/KeyIcon.js +11 -0
  62. package/es/lowcode/painter/components/shortcut-modal/index.js +208 -0
  63. package/es/lowcode/painter/panel-section/BlockEditor/index.js +10 -19
  64. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +4 -1
  65. package/es/lowcode/painter/panel-section/ConditionCheck.js +0 -1
  66. package/es/lowcode/painter/panel-section/DataSetSelector.js +6 -3
  67. package/es/lowcode/painter/panel-section/FieldsSetting.js +1 -1
  68. package/es/lowcode/painter/panel-section/Icon.js +23 -23
  69. package/es/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
  70. package/es/lowcode/painter/panel-section/IconSelector.js +16 -16
  71. package/es/lowcode/painter/panel-section/JSEditor/ToolBar.js +7 -4
  72. package/es/lowcode/painter/panel-section/JSEditor/index.js +15 -5
  73. package/es/lowcode/painter/panel-section/JSEditor/index.less +4 -0
  74. package/es/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  75. package/es/lowcode/painter/panel-section/ProxyLinker.js +137 -0
  76. package/es/lowcode/painter/panel-section/ProxyParams.js +28 -0
  77. package/es/lowcode/painter/panel-section/ProxyParamsSetter.js +240 -0
  78. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  79. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  80. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  81. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  82. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  83. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  84. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  85. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  86. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  87. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  88. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  89. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  90. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  91. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  92. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  93. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  94. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  95. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  96. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  97. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  98. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  99. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  100. package/es/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  101. package/es/lowcode/painter/style/action-bind-modal.less +104 -104
  102. package/es/lowcode/painter/style/actions-editor.less +15 -15
  103. package/es/lowcode/painter/style/border-editor.less +36 -36
  104. package/es/lowcode/painter/style/border-radius-selector.less +42 -42
  105. package/es/lowcode/painter/style/border-selector.less +39 -39
  106. package/es/lowcode/painter/style/button-type.less +5 -5
  107. package/es/lowcode/painter/style/collapse.less +28 -28
  108. package/es/lowcode/painter/style/color-input.less +19 -19
  109. package/es/lowcode/painter/style/components.less +91 -91
  110. package/es/lowcode/painter/style/design.less +178 -178
  111. package/es/lowcode/painter/style/display.less +17 -17
  112. package/es/lowcode/painter/style/dragdrop.less +56 -56
  113. package/es/lowcode/painter/style/fields-setting.less +25 -25
  114. package/es/lowcode/painter/style/font-editor.less +9 -9
  115. package/es/lowcode/painter/style/fullscreen-editor.less +17 -17
  116. package/es/lowcode/painter/style/history.less +46 -46
  117. package/es/lowcode/painter/style/icon-selector.less +22 -22
  118. package/es/lowcode/painter/style/icon.less +10 -10
  119. package/es/lowcode/painter/style/impexp.less +7 -7
  120. package/es/lowcode/painter/style/index.less +6 -6
  121. package/es/lowcode/painter/style/layout-ratio.less +51 -51
  122. package/es/lowcode/painter/style/list-editor.less +97 -97
  123. package/es/lowcode/painter/style/number-input.less +19 -19
  124. package/es/lowcode/painter/style/outline.less +30 -30
  125. package/es/lowcode/painter/style/page-layout-display.less +27 -27
  126. package/es/lowcode/painter/style/page-vars.less +25 -25
  127. package/es/lowcode/painter/style/panel-attrs.less +47 -47
  128. package/es/lowcode/painter/style/panel-item.less +55 -54
  129. package/es/lowcode/painter/style/panel.less +100 -100
  130. package/es/lowcode/painter/style/pop-confirm.less +17 -17
  131. package/es/lowcode/painter/style/pop-form.less +19 -19
  132. package/es/lowcode/painter/style/radio.less +24 -24
  133. package/es/lowcode/painter/style/ribbon.less +7 -7
  134. package/es/lowcode/painter/style/rule-input.less +12 -12
  135. package/es/lowcode/painter/style/split-display.less +18 -18
  136. package/es/lowcode/painter/style/style-panel.less +37 -37
  137. package/es/lowcode/painter/style/tabitems.less +90 -90
  138. package/es/lowcode/painter/svg/code.svg +3 -3
  139. package/es/lowcode/painter/svg/expect.svg +9 -9
  140. package/es/lowcode/preview/DebugTool.js +78 -0
  141. package/es/lowcode/preview/DebugToolDetail.js +103 -0
  142. package/es/lowcode/preview/index.js +10 -17
  143. package/es/lowcode/preview/useDebugSettings.js +62 -0
  144. package/es/lowcode/view/Canvas.js +5 -1
  145. package/es/lowcode/view/Page.js +8 -3
  146. package/es/lowcode/view/lc-components/Box/index.js +4 -4
  147. package/es/lowcode/view/lc-components/Box/index.less +14 -14
  148. package/es/lowcode/view/lc-components/Box/meta.json +40 -40
  149. package/es/lowcode/view/lc-components/Button/index.js +33 -33
  150. package/es/lowcode/view/lc-components/Button/meta.json +127 -127
  151. package/es/lowcode/view/lc-components/Button/style.less +2 -2
  152. package/es/lowcode/view/lc-components/CardList/index.js +126 -123
  153. package/es/lowcode/view/lc-components/CardList/meta.json +332 -332
  154. package/es/lowcode/view/lc-components/Dialog/index.js +14 -13
  155. package/es/lowcode/view/lc-components/Dialog/index.less +12 -12
  156. package/es/lowcode/view/lc-components/Dialog/meta.json +224 -224
  157. package/es/lowcode/view/lc-components/Drawer/index.js +15 -13
  158. package/es/lowcode/view/lc-components/Drawer/index.less +13 -13
  159. package/es/lowcode/view/lc-components/Drawer/meta.json +242 -242
  160. package/es/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  161. package/es/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
  162. package/es/lowcode/view/lc-components/FieldDate/meta.json +188 -140
  163. package/es/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  164. package/es/lowcode/view/lc-components/FieldEditor/meta.json +137 -137
  165. package/es/lowcode/view/lc-components/FieldGroup/meta.json +166 -166
  166. package/es/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
  167. package/es/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  168. package/es/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  169. package/es/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  170. package/es/lowcode/view/lc-components/FieldString/meta.json +152 -152
  171. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  172. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  173. package/es/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  174. package/es/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  175. package/es/lowcode/view/lc-components/FieldYear/meta.json +128 -128
  176. package/es/lowcode/view/lc-components/Form/index.js +23 -20
  177. package/es/lowcode/view/lc-components/Form/meta.json +629 -629
  178. package/es/lowcode/view/lc-components/GroupTree/index.js +23 -23
  179. package/es/lowcode/view/lc-components/GroupTree/index.less +11 -11
  180. package/es/lowcode/view/lc-components/GroupTree/meta.json +82 -82
  181. package/es/lowcode/view/lc-components/Iframe/meta.json +31 -31
  182. package/es/lowcode/view/lc-components/ImEx/index.js +25 -25
  183. package/es/lowcode/view/lc-components/ImEx/index.less +7 -7
  184. package/es/lowcode/view/lc-components/ImEx/meta.json +134 -134
  185. package/es/lowcode/view/lc-components/Image/index.less +27 -27
  186. package/es/lowcode/view/lc-components/Image/meta.json +149 -149
  187. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  188. package/es/lowcode/view/lc-components/JSX/meta.json +29 -29
  189. package/es/lowcode/view/lc-components/Layout/index.js +16 -16
  190. package/es/lowcode/view/lc-components/Layout/index.less +5 -5
  191. package/es/lowcode/view/lc-components/Layout/meta.json +107 -107
  192. package/es/lowcode/view/lc-components/Link/index.less +15 -15
  193. package/es/lowcode/view/lc-components/Link/meta.json +112 -112
  194. package/es/lowcode/view/lc-components/Page/meta.json +61 -61
  195. package/es/lowcode/view/lc-components/PageContent/meta.json +9 -9
  196. package/es/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  197. package/es/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  198. package/es/lowcode/view/lc-components/PageLayout/meta.json +59 -59
  199. package/es/lowcode/view/lc-components/Proxy/FunctionDesign.js +17 -0
  200. package/es/lowcode/view/lc-components/Proxy/FunctionLive.js +23 -0
  201. package/es/lowcode/view/lc-components/Proxy/FunctionPreview.js +23 -0
  202. package/es/lowcode/view/lc-components/Proxy/index.js +42 -0
  203. package/es/lowcode/view/lc-components/Proxy/index.less +5 -0
  204. package/es/lowcode/view/lc-components/Proxy/meta.json +66 -0
  205. package/es/lowcode/view/lc-components/Section/index.less +7 -7
  206. package/es/lowcode/view/lc-components/Section/meta.json +108 -108
  207. package/es/lowcode/view/lc-components/Split/meta.json +53 -53
  208. package/es/lowcode/view/lc-components/Table/index.js +156 -149
  209. package/es/lowcode/view/lc-components/Table/meta.json +443 -443
  210. package/es/lowcode/view/lc-components/Tabs/index.js +23 -23
  211. package/es/lowcode/view/lc-components/Tabs/meta.json +113 -113
  212. package/es/lowcode/view/lc-components/Text/meta.json +56 -56
  213. package/es/lowcode/view/lc-components/Tree/index.js +99 -96
  214. package/es/lowcode/view/lc-components/Tree/index.less +4 -4
  215. package/es/lowcode/view/lc-components/Tree/meta.json +353 -353
  216. package/es/lowcode/view/lc-components/Wrapper.js +7 -1
  217. package/es/lowcode/view/style/canvas.less +5 -5
  218. package/es/lowcode/view/style/loading.less +98 -98
  219. package/es/lowcode/view/style/page.less +7 -7
  220. package/es/upload/FilesWall/index.js +13 -13
  221. package/es/upload/FilesWall/index.less +74 -74
  222. package/es/upload/Form/index.less +7 -7
  223. package/es/upload/FormItem/index.js +15 -15
  224. package/es/utils/form.js +21 -21
  225. package/lib/components/Builder/index.js +13 -10
  226. package/lib/components/LDActions/index.less +70 -70
  227. package/lib/components/LdAutoForm/index.js +3 -2
  228. package/lib/components/LdCom/index.js +3 -2
  229. package/lib/components/LdFormList/index.js +3 -2
  230. package/lib/components/LdGrid/index.js +4 -4
  231. package/lib/components/LdGridForm/index.js +3 -2
  232. package/lib/components/LdGridForm/index.less +7 -7
  233. package/lib/components/LdTree/index.less +42 -42
  234. package/lib/helper/FromItems.js +64 -5
  235. package/lib/helper/action.js +6 -6
  236. package/lib/helper/form.js +14 -14
  237. package/lib/helper/index.less +7 -7
  238. package/lib/helper/ldBuilder.js +4 -4
  239. package/lib/helper/ldComBuild.js +14 -9
  240. package/lib/locales/zh-CN.js +41 -5
  241. package/lib/lowcode/constants/api-url.js +309 -260
  242. package/lib/lowcode/constants/event-topics.js +3 -1
  243. package/lib/lowcode/constants/index.js +6 -5
  244. package/lib/lowcode/engine/meta/components-list.json +12 -6
  245. package/lib/lowcode/engine/meta/fielddate.props.default.json +1 -0
  246. package/lib/lowcode/engine/meta/fielddate.props.json +48 -0
  247. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +35 -30
  248. package/lib/lowcode/engine/meta/proxy.props.default.json +15 -0
  249. package/lib/lowcode/engine/meta/proxy.props.json +66 -0
  250. package/lib/lowcode/engine/provider/ContextProvider/index.js +87 -49
  251. package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js +50 -44
  252. package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js +10 -4
  253. package/lib/lowcode/engine/provider/ContextProvider/useTodo.js +1 -3
  254. package/lib/lowcode/engine/provider/EventBusProvider.js +14 -4
  255. package/lib/lowcode/engine/provider/PageProxyProvider.js +103 -0
  256. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +10 -12
  257. package/lib/lowcode/engine/tools/dataProcess.js +76 -76
  258. package/lib/lowcode/engine/tools/helper.js +25 -0
  259. package/lib/lowcode/engine/tools/initDS.js +4 -4
  260. package/lib/lowcode/painter/Components.js +2 -2
  261. package/lib/lowcode/painter/Design.js +1 -0
  262. package/lib/lowcode/painter/DesignOperator.js +126 -24
  263. package/lib/lowcode/painter/DesignToolbar.js +84 -169
  264. package/lib/lowcode/painter/components/AdvancePanel.js +27 -9
  265. package/lib/lowcode/painter/components/Collapse.js +26 -26
  266. package/lib/lowcode/painter/components/ColorInput.js +24 -24
  267. package/lib/lowcode/painter/components/ListEditor.js +24 -24
  268. package/lib/lowcode/painter/components/NumberInput.js +28 -28
  269. package/lib/lowcode/painter/components/PanelItem.js +24 -24
  270. package/lib/lowcode/painter/components/PopConfirm.js +8 -8
  271. package/lib/lowcode/painter/components/PopForm.js +27 -27
  272. package/lib/lowcode/painter/components/RuleInput.js +30 -30
  273. package/lib/lowcode/painter/components/SortBox.js +22 -22
  274. package/lib/lowcode/painter/components/TipIcon.js +12 -4
  275. package/lib/lowcode/painter/components/TreeEditor.js +10 -10
  276. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +32 -32
  277. package/lib/lowcode/painter/components/code-editor/CssEditor.js +25 -25
  278. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +23 -23
  279. package/lib/lowcode/painter/components/code-editor/JSEditor.js +20 -20
  280. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +25 -25
  281. package/lib/lowcode/painter/components/field-setting/SettingUI.js +55 -3
  282. package/lib/lowcode/painter/components/field-setting/index.js +24 -1
  283. package/lib/lowcode/painter/components/shortcut-modal/KeyIcon.js +18 -0
  284. package/lib/lowcode/painter/components/shortcut-modal/index.js +215 -0
  285. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +9 -18
  286. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +4 -1
  287. package/lib/lowcode/painter/panel-section/ConditionCheck.js +0 -1
  288. package/lib/lowcode/painter/panel-section/DataSetSelector.js +6 -3
  289. package/lib/lowcode/painter/panel-section/FieldsSetting.js +1 -1
  290. package/lib/lowcode/painter/panel-section/Icon.js +23 -23
  291. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
  292. package/lib/lowcode/painter/panel-section/IconSelector.js +16 -16
  293. package/lib/lowcode/painter/panel-section/JSEditor/ToolBar.js +7 -4
  294. package/lib/lowcode/painter/panel-section/JSEditor/index.js +14 -4
  295. package/lib/lowcode/painter/panel-section/JSEditor/index.less +4 -0
  296. package/lib/lowcode/painter/panel-section/LayoutRatio.js +21 -21
  297. package/lib/lowcode/painter/panel-section/ProxyLinker.js +145 -0
  298. package/lib/lowcode/painter/panel-section/ProxyParams.js +35 -0
  299. package/lib/lowcode/painter/panel-section/ProxyParamsSetter.js +248 -0
  300. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -2
  301. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -2
  302. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -2
  303. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -2
  304. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -2
  305. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -2
  306. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -2
  307. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -2
  308. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -2
  309. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -2
  310. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -2
  311. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -2
  312. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -2
  313. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -2
  314. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -2
  315. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -2
  316. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -2
  317. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -2
  318. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -2
  319. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -2
  320. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -2
  321. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -2
  322. package/lib/lowcode/painter/panel-section/StylePanel/index.js +15 -15
  323. package/lib/lowcode/painter/style/action-bind-modal.less +104 -104
  324. package/lib/lowcode/painter/style/actions-editor.less +15 -15
  325. package/lib/lowcode/painter/style/border-editor.less +36 -36
  326. package/lib/lowcode/painter/style/border-radius-selector.less +42 -42
  327. package/lib/lowcode/painter/style/border-selector.less +39 -39
  328. package/lib/lowcode/painter/style/button-type.less +5 -5
  329. package/lib/lowcode/painter/style/collapse.less +28 -28
  330. package/lib/lowcode/painter/style/color-input.less +19 -19
  331. package/lib/lowcode/painter/style/components.less +91 -91
  332. package/lib/lowcode/painter/style/design.less +178 -178
  333. package/lib/lowcode/painter/style/display.less +17 -17
  334. package/lib/lowcode/painter/style/dragdrop.less +56 -56
  335. package/lib/lowcode/painter/style/fields-setting.less +25 -25
  336. package/lib/lowcode/painter/style/font-editor.less +9 -9
  337. package/lib/lowcode/painter/style/fullscreen-editor.less +17 -17
  338. package/lib/lowcode/painter/style/history.less +46 -46
  339. package/lib/lowcode/painter/style/icon-selector.less +22 -22
  340. package/lib/lowcode/painter/style/icon.less +10 -10
  341. package/lib/lowcode/painter/style/impexp.less +7 -7
  342. package/lib/lowcode/painter/style/index.less +6 -6
  343. package/lib/lowcode/painter/style/layout-ratio.less +51 -51
  344. package/lib/lowcode/painter/style/list-editor.less +97 -97
  345. package/lib/lowcode/painter/style/number-input.less +19 -19
  346. package/lib/lowcode/painter/style/outline.less +30 -30
  347. package/lib/lowcode/painter/style/page-layout-display.less +27 -27
  348. package/lib/lowcode/painter/style/page-vars.less +25 -25
  349. package/lib/lowcode/painter/style/panel-attrs.less +47 -47
  350. package/lib/lowcode/painter/style/panel-item.less +55 -54
  351. package/lib/lowcode/painter/style/panel.less +100 -100
  352. package/lib/lowcode/painter/style/pop-confirm.less +17 -17
  353. package/lib/lowcode/painter/style/pop-form.less +19 -19
  354. package/lib/lowcode/painter/style/radio.less +24 -24
  355. package/lib/lowcode/painter/style/ribbon.less +7 -7
  356. package/lib/lowcode/painter/style/rule-input.less +12 -12
  357. package/lib/lowcode/painter/style/split-display.less +18 -18
  358. package/lib/lowcode/painter/style/style-panel.less +37 -37
  359. package/lib/lowcode/painter/style/tabitems.less +90 -90
  360. package/lib/lowcode/painter/svg/code.svg +3 -3
  361. package/lib/lowcode/painter/svg/expect.svg +9 -9
  362. package/lib/lowcode/preview/DebugTool.js +86 -0
  363. package/lib/lowcode/preview/DebugToolDetail.js +111 -0
  364. package/lib/lowcode/preview/index.js +10 -18
  365. package/lib/lowcode/preview/useDebugSettings.js +69 -0
  366. package/lib/lowcode/view/Canvas.js +5 -1
  367. package/lib/lowcode/view/Page.js +8 -3
  368. package/lib/lowcode/view/lc-components/Box/index.js +4 -4
  369. package/lib/lowcode/view/lc-components/Box/index.less +14 -14
  370. package/lib/lowcode/view/lc-components/Box/meta.json +40 -40
  371. package/lib/lowcode/view/lc-components/Button/index.js +33 -33
  372. package/lib/lowcode/view/lc-components/Button/meta.json +127 -127
  373. package/lib/lowcode/view/lc-components/Button/style.less +2 -2
  374. package/lib/lowcode/view/lc-components/CardList/index.js +126 -123
  375. package/lib/lowcode/view/lc-components/CardList/meta.json +332 -332
  376. package/lib/lowcode/view/lc-components/Dialog/index.js +14 -13
  377. package/lib/lowcode/view/lc-components/Dialog/index.less +12 -12
  378. package/lib/lowcode/view/lc-components/Dialog/meta.json +224 -224
  379. package/lib/lowcode/view/lc-components/Drawer/index.js +15 -13
  380. package/lib/lowcode/view/lc-components/Drawer/index.less +13 -13
  381. package/lib/lowcode/view/lc-components/Drawer/meta.json +242 -242
  382. package/lib/lowcode/view/lc-components/FieldColor/meta.json +157 -157
  383. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +140 -140
  384. package/lib/lowcode/view/lc-components/FieldDate/meta.json +188 -140
  385. package/lib/lowcode/view/lc-components/FieldDict/meta.json +138 -138
  386. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +137 -137
  387. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +166 -166
  388. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +143 -143
  389. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +115 -115
  390. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +121 -121
  391. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +152 -152
  392. package/lib/lowcode/view/lc-components/FieldString/meta.json +152 -152
  393. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +125 -125
  394. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +143 -143
  395. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +165 -165
  396. package/lib/lowcode/view/lc-components/FieldUser/meta.json +176 -176
  397. package/lib/lowcode/view/lc-components/FieldYear/meta.json +128 -128
  398. package/lib/lowcode/view/lc-components/Form/index.js +23 -20
  399. package/lib/lowcode/view/lc-components/Form/meta.json +629 -629
  400. package/lib/lowcode/view/lc-components/GroupTree/index.js +23 -23
  401. package/lib/lowcode/view/lc-components/GroupTree/index.less +11 -11
  402. package/lib/lowcode/view/lc-components/GroupTree/meta.json +82 -82
  403. package/lib/lowcode/view/lc-components/Iframe/meta.json +31 -31
  404. package/lib/lowcode/view/lc-components/ImEx/index.js +25 -25
  405. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -7
  406. package/lib/lowcode/view/lc-components/ImEx/meta.json +134 -134
  407. package/lib/lowcode/view/lc-components/Image/index.less +27 -27
  408. package/lib/lowcode/view/lc-components/Image/meta.json +149 -149
  409. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +4 -4
  410. package/lib/lowcode/view/lc-components/JSX/meta.json +29 -29
  411. package/lib/lowcode/view/lc-components/Layout/index.js +16 -16
  412. package/lib/lowcode/view/lc-components/Layout/index.less +5 -5
  413. package/lib/lowcode/view/lc-components/Layout/meta.json +107 -107
  414. package/lib/lowcode/view/lc-components/Link/index.less +15 -15
  415. package/lib/lowcode/view/lc-components/Link/meta.json +112 -112
  416. package/lib/lowcode/view/lc-components/Page/meta.json +61 -61
  417. package/lib/lowcode/view/lc-components/PageContent/meta.json +9 -9
  418. package/lib/lowcode/view/lc-components/PageFooter/meta.json +9 -9
  419. package/lib/lowcode/view/lc-components/PageHeader/meta.json +9 -9
  420. package/lib/lowcode/view/lc-components/PageLayout/meta.json +59 -59
  421. package/lib/lowcode/view/lc-components/Proxy/FunctionDesign.js +24 -0
  422. package/lib/lowcode/view/lc-components/Proxy/FunctionLive.js +30 -0
  423. package/lib/lowcode/view/lc-components/Proxy/FunctionPreview.js +30 -0
  424. package/lib/lowcode/view/lc-components/Proxy/index.js +50 -0
  425. package/lib/lowcode/view/lc-components/Proxy/index.less +5 -0
  426. package/lib/lowcode/view/lc-components/Proxy/meta.json +66 -0
  427. package/lib/lowcode/view/lc-components/Section/index.less +7 -7
  428. package/lib/lowcode/view/lc-components/Section/meta.json +108 -108
  429. package/lib/lowcode/view/lc-components/Split/meta.json +53 -53
  430. package/lib/lowcode/view/lc-components/Table/index.js +156 -149
  431. package/lib/lowcode/view/lc-components/Table/meta.json +443 -443
  432. package/lib/lowcode/view/lc-components/Tabs/index.js +23 -23
  433. package/lib/lowcode/view/lc-components/Tabs/meta.json +113 -113
  434. package/lib/lowcode/view/lc-components/Text/meta.json +56 -56
  435. package/lib/lowcode/view/lc-components/Tree/index.js +99 -96
  436. package/lib/lowcode/view/lc-components/Tree/index.less +4 -4
  437. package/lib/lowcode/view/lc-components/Tree/meta.json +353 -353
  438. package/lib/lowcode/view/lc-components/Wrapper.js +6 -0
  439. package/lib/lowcode/view/style/canvas.less +5 -5
  440. package/lib/lowcode/view/style/loading.less +98 -98
  441. package/lib/lowcode/view/style/page.less +7 -7
  442. package/lib/upload/FilesWall/index.js +13 -13
  443. package/lib/upload/FilesWall/index.less +74 -74
  444. package/lib/upload/Form/index.less +7 -7
  445. package/lib/upload/FormItem/index.js +15 -15
  446. package/lib/utils/form.js +21 -21
  447. package/lowcode.js +1 -1
  448. package/package.json +175 -175
  449. package/upload.js +1 -1
  450. package/utils.js +1 -1
@@ -16,27 +16,27 @@ var API_PREFIX_PAGE = "".concat(api.LUCKDA_HOST, "/page");
16
16
  var API_PREFIX_MODULE = "".concat(api.LUCKDA_HOST, "/module");
17
17
  var API_RREFIX_DATASET = "".concat(API_PREFIX_MODULE, "/dataset");
18
18
 
19
- /**
20
- * 获取历史版本列表
21
- * @async
22
- * @function fetchHistoryVersionList
23
- * @param {Object} params - 请求参数
24
- * @param {string} params.pageCode - 菜单编码
25
- * @returns {Promise<Object>} 返回历史版本列表的Promise
19
+ /**
20
+ * 获取历史版本列表
21
+ * @async
22
+ * @function fetchHistoryVersionList
23
+ * @param {Object} params - 请求参数
24
+ * @param {string} params.pageCode - 菜单编码
25
+ * @returns {Promise<Object>} 返回历史版本列表的Promise
26
26
  */
27
27
  export function fetchHistoryVersionList(_x) {
28
28
  return _fetchHistoryVersionList.apply(this, arguments);
29
29
  }
30
30
 
31
- /**
32
- * 添加历史版本
33
- * @async
34
- * @function fetchAddHistoryVersion
35
- * @param {Object} data - 要添加的历史版本数据
36
- * @param {string} params.pageCode - 菜单编码
37
- * @param {string} params.backupName - 版本名称
38
- * @param {string} params.backupNote - 版本描述
39
- * @returns {Promise<Object>} 返回添加历史版本的Promise
31
+ /**
32
+ * 添加历史版本
33
+ * @async
34
+ * @function fetchAddHistoryVersion
35
+ * @param {Object} data - 要添加的历史版本数据
36
+ * @param {string} params.pageCode - 菜单编码
37
+ * @param {string} params.backupName - 版本名称
38
+ * @param {string} params.backupNote - 版本描述
39
+ * @returns {Promise<Object>} 返回添加历史版本的Promise
40
40
  */
41
41
  function _fetchHistoryVersionList() {
42
42
  _fetchHistoryVersionList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
@@ -58,13 +58,13 @@ export function fetchAddHistoryVersion(_x2) {
58
58
  return _fetchAddHistoryVersion.apply(this, arguments);
59
59
  }
60
60
 
61
- /**
62
- * 删除历史版本
63
- * @async
64
- * @function fetchDelHistoryVersion
65
- * @param {Object} data - 要删除的历史版本数据
66
- * @param {string} data.uid - 历史版本的唯一标识
67
- * @returns {Promise<Object>} 返回删除历史版本的Promise
61
+ /**
62
+ * 删除历史版本
63
+ * @async
64
+ * @function fetchDelHistoryVersion
65
+ * @param {Object} data - 要删除的历史版本数据
66
+ * @param {string} data.uid - 历史版本的唯一标识
67
+ * @returns {Promise<Object>} 返回删除历史版本的Promise
68
68
  */
69
69
  function _fetchAddHistoryVersion() {
70
70
  _fetchAddHistoryVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(data) {
@@ -87,13 +87,13 @@ export function fetchDelHistoryVersion(_x3) {
87
87
  return _fetchDelHistoryVersion.apply(this, arguments);
88
88
  }
89
89
 
90
- /**
91
- * 恢复历史版本
92
- * @async
93
- * @function fetchRecoverHistoryVersion
94
- * @param {Object} data - 要恢复的历史版本数据
95
- * @param {string} data.uid - 历史版本的唯一标识
96
- * @returns {Promise<Object>} 返回恢复历史版本的Promise
90
+ /**
91
+ * 恢复历史版本
92
+ * @async
93
+ * @function fetchRecoverHistoryVersion
94
+ * @param {Object} data - 要恢复的历史版本数据
95
+ * @param {string} data.uid - 历史版本的唯一标识
96
+ * @returns {Promise<Object>} 返回恢复历史版本的Promise
97
97
  */
98
98
  function _fetchDelHistoryVersion() {
99
99
  _fetchDelHistoryVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(data) {
@@ -116,13 +116,13 @@ export function fetchRecoverHistoryVersion(_x4) {
116
116
  return _fetchRecoverHistoryVersion.apply(this, arguments);
117
117
  }
118
118
 
119
- /**
120
- * 通过菜单编码获取page相关数据
121
- * @async
122
- * @function fetchPageData
123
- * @param {Object} params - 请求参数
124
- * @param {string} params.code - 菜单编码
125
- * @returns {Promise<Object>} 返回page相关数据的Promise
119
+ /**
120
+ * 通过菜单编码获取page相关数据
121
+ * @async
122
+ * @function fetchPageData
123
+ * @param {Object} params - 请求参数
124
+ * @param {string} params.code - 菜单编码
125
+ * @returns {Promise<Object>} 返回page相关数据的Promise
126
126
  */
127
127
  function _fetchRecoverHistoryVersion() {
128
128
  _fetchRecoverHistoryVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(data) {
@@ -145,9 +145,9 @@ export function fetchPageData(_x5) {
145
145
  return _fetchPageData.apply(this, arguments);
146
146
  }
147
147
 
148
- /**
149
- * 获取design时模块数据
150
- * @param {{moduleCode: string}} params
148
+ /**
149
+ * 获取design时模块数据
150
+ * @param {{moduleCode: string}} params
151
151
  */
152
152
  function _fetchPageData() {
153
153
  _fetchPageData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) {
@@ -169,18 +169,18 @@ export function fetchDesignModlueData(_x6, _x7) {
169
169
  return _fetchDesignModlueData.apply(this, arguments);
170
170
  }
171
171
 
172
- /**
173
- * 获取preview时模块数据
174
- * @param {*} dmCode
175
- * @param {*} params
176
- * @returns
172
+ /**
173
+ * 获取preview时模块数据
174
+ * @param {*} dmCode
175
+ * @param {*} params
176
+ * @returns
177
177
  */
178
178
  function _fetchDesignModlueData() {
179
179
  _fetchDesignModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(_, params) {
180
180
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
181
181
  while (1) switch (_context6.prev = _context6.next) {
182
182
  case 0:
183
- return _context6.abrupt("return", request("".concat(API_PREFIX_PAGE, "/fetchModuleInfo"), {
183
+ return _context6.abrupt("return", request("".concat(API_PREFIX_PAGE, "/fetchModuleInfos"), {
184
184
  params: params,
185
185
  headers: _defineProperty({}, LC_RUNTIME_KEY, getMetaAttr(LC_RUNTIME_KEY))
186
186
  }));
@@ -196,16 +196,16 @@ export function fetchPreviewModlueData(_x8, _x9) {
196
196
  return _fetchPreviewModlueData.apply(this, arguments);
197
197
  }
198
198
 
199
- /**
200
- * 获取live时模块数据
201
- * @param {{moduleCode: string}} params
199
+ /**
200
+ * 获取live时模块数据
201
+ * @param {{moduleCode: string}} params
202
202
  */
203
203
  function _fetchPreviewModlueData() {
204
204
  _fetchPreviewModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(dmCode, params) {
205
205
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
206
206
  while (1) switch (_context7.prev = _context7.next) {
207
207
  case 0:
208
- return _context7.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/fetchModuleForPreview"), {
208
+ return _context7.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/fetchModulesForPreview"), {
209
209
  params: params,
210
210
  headers: _defineProperty({}, LC_RUNTIME_KEY, getMetaAttr(LC_RUNTIME_KEY))
211
211
  }));
@@ -221,16 +221,16 @@ export function fetchModlueData(_x10, _x11) {
221
221
  return _fetchModlueData.apply(this, arguments);
222
222
  }
223
223
 
224
- /**
225
- * 获取数据模型下的所有数据集
226
- * @param {{ dataModelKey }} params
224
+ /**
225
+ * 获取数据模型下的所有数据集
226
+ * @param {{ dataModelKey }} params
227
227
  */
228
228
  function _fetchModlueData() {
229
229
  _fetchModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(dmCode, params) {
230
230
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
231
231
  while (1) switch (_context8.prev = _context8.next) {
232
232
  case 0:
233
- return _context8.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModule"), {
233
+ return _context8.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModules"), {
234
234
  params: params,
235
235
  headers: _defineProperty({}, LC_RUNTIME_KEY, getMetaAttr(LC_RUNTIME_KEY))
236
236
  }));
@@ -246,9 +246,9 @@ export function fetchAllDataset(_x12) {
246
246
  return _fetchAllDataset.apply(this, arguments);
247
247
  }
248
248
 
249
- /**
250
- * 向模块中添加数据集
251
- * @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
249
+ /**
250
+ * 向模块中添加数据集
251
+ * @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
252
252
  */
253
253
  function _fetchAllDataset() {
254
254
  _fetchAllDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) {
@@ -270,9 +270,9 @@ export function fetchAddDataset(_x13) {
270
270
  return _fetchAddDataset.apply(this, arguments);
271
271
  }
272
272
 
273
- /**
274
- * 获取数据集下的所有字段
275
- * @param {{datasetUid}} params
273
+ /**
274
+ * 获取数据模型下的菜单
275
+ * @param {{ dataModelKey, menuType }} params
276
276
  */
277
277
  function _fetchAddDataset() {
278
278
  _fetchAddDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(data) {
@@ -291,21 +291,20 @@ function _fetchAddDataset() {
291
291
  }));
292
292
  return _fetchAddDataset.apply(this, arguments);
293
293
  }
294
- export function fetchFieldsByDataset(_x14) {
295
- return _fetchFieldsByDataset.apply(this, arguments);
294
+ export function fetchMenuTree(_x14) {
295
+ return _fetchMenuTree.apply(this, arguments);
296
296
  }
297
297
 
298
- /**
299
- * 获取字段配置条件
300
- * @param {{moduleId,datasetId,moduleFieldId}} params
301
- * @returns
298
+ /**
299
+ * 获取数据集下的所有字段
300
+ * @param {{datasetUid}} params
302
301
  */
303
- function _fetchFieldsByDataset() {
304
- _fetchFieldsByDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(params) {
302
+ function _fetchMenuTree() {
303
+ _fetchMenuTree = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(params) {
305
304
  return _regeneratorRuntime().wrap(function _callee11$(_context11) {
306
305
  while (1) switch (_context11.prev = _context11.next) {
307
306
  case 0:
308
- return _context11.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAll"), {
307
+ return _context11.abrupt("return", request("".concat(API_PREFIX_PAGE, "/readMenuTree"), {
309
308
  params: params
310
309
  }));
311
310
  case 1:
@@ -314,22 +313,23 @@ function _fetchFieldsByDataset() {
314
313
  }
315
314
  }, _callee11);
316
315
  }));
317
- return _fetchFieldsByDataset.apply(this, arguments);
316
+ return _fetchMenuTree.apply(this, arguments);
318
317
  }
319
- export function fetchFieldCondition(_x15) {
320
- return _fetchFieldCondition.apply(this, arguments);
318
+ export function fetchFieldsByDataset(_x15) {
319
+ return _fetchFieldsByDataset.apply(this, arguments);
321
320
  }
322
321
 
323
- /**
324
- * 更新是否标题字段
325
- * @param {{moduleId,datasetId,moduleFieldId}} params
322
+ /**
323
+ * 获取字段配置条件
324
+ * @param {{moduleId,datasetId,moduleFieldId}} params
325
+ * @returns
326
326
  */
327
- function _fetchFieldCondition() {
328
- _fetchFieldCondition = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) {
327
+ function _fetchFieldsByDataset() {
328
+ _fetchFieldsByDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) {
329
329
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
330
330
  while (1) switch (_context12.prev = _context12.next) {
331
331
  case 0:
332
- return _context12.abrupt("return", request("".concat(API_PREFIX_PAGE, "/readFieldCondition"), {
332
+ return _context12.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAll"), {
333
333
  params: params
334
334
  }));
335
335
  case 1:
@@ -338,25 +338,23 @@ function _fetchFieldCondition() {
338
338
  }
339
339
  }, _callee12);
340
340
  }));
341
- return _fetchFieldCondition.apply(this, arguments);
341
+ return _fetchFieldsByDataset.apply(this, arguments);
342
342
  }
343
- export function fetchUpdateTitleField(_x16) {
344
- return _fetchUpdateTitleField.apply(this, arguments);
343
+ export function fetchFieldCondition(_x16) {
344
+ return _fetchFieldCondition.apply(this, arguments);
345
345
  }
346
346
 
347
- /**
348
- * 更新是否唯一校验
349
- * @param {*} data
350
- * @returns
347
+ /**
348
+ * 更新是否标题字段
349
+ * @param {{moduleId,datasetId,moduleFieldId}} params
351
350
  */
352
- function _fetchUpdateTitleField() {
353
- _fetchUpdateTitleField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(data) {
351
+ function _fetchFieldCondition() {
352
+ _fetchFieldCondition = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(params) {
354
353
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
355
354
  while (1) switch (_context13.prev = _context13.next) {
356
355
  case 0:
357
- return _context13.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateTitleField"), {
358
- method: 'POST',
359
- data: data
356
+ return _context13.abrupt("return", request("".concat(API_PREFIX_PAGE, "/readFieldCondition"), {
357
+ params: params
360
358
  }));
361
359
  case 1:
362
360
  case "end":
@@ -364,22 +362,23 @@ function _fetchUpdateTitleField() {
364
362
  }
365
363
  }, _callee13);
366
364
  }));
367
- return _fetchUpdateTitleField.apply(this, arguments);
365
+ return _fetchFieldCondition.apply(this, arguments);
368
366
  }
369
- export function fetchUpdateUniqueField(_x17) {
370
- return _fetchUpdateUniqueField.apply(this, arguments);
367
+ export function fetchUpdateTitleField(_x17) {
368
+ return _fetchUpdateTitleField.apply(this, arguments);
371
369
  }
372
370
 
373
- /**
374
- * 新增字段属性
375
- * @param {*} data
371
+ /**
372
+ * 更新是否唯一校验
373
+ * @param {*} data
374
+ * @returns
376
375
  */
377
- function _fetchUpdateUniqueField() {
378
- _fetchUpdateUniqueField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(data) {
376
+ function _fetchUpdateTitleField() {
377
+ _fetchUpdateTitleField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(data) {
379
378
  return _regeneratorRuntime().wrap(function _callee14$(_context14) {
380
379
  while (1) switch (_context14.prev = _context14.next) {
381
380
  case 0:
382
- return _context14.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateUniqueField"), {
381
+ return _context14.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateTitleField"), {
383
382
  method: 'POST',
384
383
  data: data
385
384
  }));
@@ -389,24 +388,24 @@ function _fetchUpdateUniqueField() {
389
388
  }
390
389
  }, _callee14);
391
390
  }));
392
- return _fetchUpdateUniqueField.apply(this, arguments);
391
+ return _fetchUpdateTitleField.apply(this, arguments);
393
392
  }
394
- export function fetchAddFieldAttrs(_x18) {
395
- return _fetchAddFieldAttrs.apply(this, arguments);
393
+ export function fetchUpdateUniqueField(_x18) {
394
+ return _fetchUpdateUniqueField.apply(this, arguments);
396
395
  }
397
396
 
398
- /**
399
- * 删除字段属性
400
- * @param {*} data
397
+ /**
398
+ * 新增字段属性
399
+ * @param {*} data
401
400
  */
402
- function _fetchAddFieldAttrs() {
403
- _fetchAddFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(data) {
401
+ function _fetchUpdateUniqueField() {
402
+ _fetchUpdateUniqueField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(data) {
404
403
  return _regeneratorRuntime().wrap(function _callee15$(_context15) {
405
404
  while (1) switch (_context15.prev = _context15.next) {
406
405
  case 0:
407
- return _context15.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/addAttributes"), {
408
- data: data,
409
- method: 'POST'
406
+ return _context15.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateUniqueField"), {
407
+ method: 'POST',
408
+ data: data
410
409
  }));
411
410
  case 1:
412
411
  case "end":
@@ -414,22 +413,22 @@ function _fetchAddFieldAttrs() {
414
413
  }
415
414
  }, _callee15);
416
415
  }));
417
- return _fetchAddFieldAttrs.apply(this, arguments);
416
+ return _fetchUpdateUniqueField.apply(this, arguments);
418
417
  }
419
- export function fetchDelAttrs(_x19) {
420
- return _fetchDelAttrs.apply(this, arguments);
418
+ export function fetchAddFieldAttrs(_x19) {
419
+ return _fetchAddFieldAttrs.apply(this, arguments);
421
420
  }
422
421
 
423
- /**
424
- * 更新字段属性
425
- * @param {*} params
422
+ /**
423
+ * 删除字段属性
424
+ * @param {*} data
426
425
  */
427
- function _fetchDelAttrs() {
428
- _fetchDelAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(data) {
426
+ function _fetchAddFieldAttrs() {
427
+ _fetchAddFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(data) {
429
428
  return _regeneratorRuntime().wrap(function _callee16$(_context16) {
430
429
  while (1) switch (_context16.prev = _context16.next) {
431
430
  case 0:
432
- return _context16.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/deleteAttributes"), {
431
+ return _context16.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/addAttributes"), {
433
432
  data: data,
434
433
  method: 'POST'
435
434
  }));
@@ -439,23 +438,22 @@ function _fetchDelAttrs() {
439
438
  }
440
439
  }, _callee16);
441
440
  }));
442
- return _fetchDelAttrs.apply(this, arguments);
441
+ return _fetchAddFieldAttrs.apply(this, arguments);
443
442
  }
444
- export function fetchUpdateFieldAttrs(_x20) {
445
- return _fetchUpdateFieldAttrs.apply(this, arguments);
443
+ export function fetchDelAttrs(_x20) {
444
+ return _fetchDelAttrs.apply(this, arguments);
446
445
  }
447
446
 
448
- /**
449
- * 读取字段配置的属性
450
- * @param {{uid, scope}} params
451
- * @returns
447
+ /**
448
+ * 更新字段属性
449
+ * @param {*} params
452
450
  */
453
- function _fetchUpdateFieldAttrs() {
454
- _fetchUpdateFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(data) {
451
+ function _fetchDelAttrs() {
452
+ _fetchDelAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(data) {
455
453
  return _regeneratorRuntime().wrap(function _callee17$(_context17) {
456
454
  while (1) switch (_context17.prev = _context17.next) {
457
455
  case 0:
458
- return _context17.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateAttributes"), {
456
+ return _context17.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/deleteAttributes"), {
459
457
  data: data,
460
458
  method: 'POST'
461
459
  }));
@@ -465,24 +463,25 @@ function _fetchUpdateFieldAttrs() {
465
463
  }
466
464
  }, _callee17);
467
465
  }));
468
- return _fetchUpdateFieldAttrs.apply(this, arguments);
466
+ return _fetchDelAttrs.apply(this, arguments);
469
467
  }
470
- export function fetchAttrs(_x21) {
471
- return _fetchAttrs.apply(this, arguments);
468
+ export function fetchUpdateFieldAttrs(_x21) {
469
+ return _fetchUpdateFieldAttrs.apply(this, arguments);
472
470
  }
473
471
 
474
- /**
475
- * 读取所有行为
476
- * @param {{uid}} params
477
- * @returns
472
+ /**
473
+ * 读取字段配置的属性
474
+ * @param {{uid, scope}} params
475
+ * @returns
478
476
  */
479
- function _fetchAttrs() {
480
- _fetchAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(params) {
477
+ function _fetchUpdateFieldAttrs() {
478
+ _fetchUpdateFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(data) {
481
479
  return _regeneratorRuntime().wrap(function _callee18$(_context18) {
482
480
  while (1) switch (_context18.prev = _context18.next) {
483
481
  case 0:
484
- return _context18.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAttributes"), {
485
- params: params
482
+ return _context18.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateAttributes"), {
483
+ data: data,
484
+ method: 'POST'
486
485
  }));
487
486
  case 1:
488
487
  case "end":
@@ -490,23 +489,23 @@ function _fetchAttrs() {
490
489
  }
491
490
  }, _callee18);
492
491
  }));
493
- return _fetchAttrs.apply(this, arguments);
492
+ return _fetchUpdateFieldAttrs.apply(this, arguments);
494
493
  }
495
- export function fetchAllBehavior(_x22) {
496
- return _fetchAllBehavior.apply(this, arguments);
494
+ export function fetchAttrs(_x22) {
495
+ return _fetchAttrs.apply(this, arguments);
497
496
  }
498
497
 
499
- /**
500
- * 读取所有资源串
501
- * @param {{uid}} params
502
- * @returns
498
+ /**
499
+ * 读取所有行为
500
+ * @param {{uid}} params
501
+ * @returns
503
502
  */
504
- function _fetchAllBehavior() {
505
- _fetchAllBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
503
+ function _fetchAttrs() {
504
+ _fetchAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
506
505
  return _regeneratorRuntime().wrap(function _callee19$(_context19) {
507
506
  while (1) switch (_context19.prev = _context19.next) {
508
507
  case 0:
509
- return _context19.abrupt("return", request("".concat(API_PREFIX_MODULE, "/behavior/readAll"), {
508
+ return _context19.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAttributes"), {
510
509
  params: params
511
510
  }));
512
511
  case 1:
@@ -515,23 +514,23 @@ function _fetchAllBehavior() {
515
514
  }
516
515
  }, _callee19);
517
516
  }));
518
- return _fetchAllBehavior.apply(this, arguments);
517
+ return _fetchAttrs.apply(this, arguments);
519
518
  }
520
- export function fetchAllSerials(_x23) {
521
- return _fetchAllSerials.apply(this, arguments);
519
+ export function fetchAllBehavior(_x23) {
520
+ return _fetchAllBehavior.apply(this, arguments);
522
521
  }
523
522
 
524
- /**
525
- * 读取导入导出数据源
526
- * @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
527
- * @returns
523
+ /**
524
+ * 读取所有资源串
525
+ * @param {{uid}} params
526
+ * @returns
528
527
  */
529
- function _fetchAllSerials() {
530
- _fetchAllSerials = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(params) {
528
+ function _fetchAllBehavior() {
529
+ _fetchAllBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(params) {
531
530
  return _regeneratorRuntime().wrap(function _callee20$(_context20) {
532
531
  while (1) switch (_context20.prev = _context20.next) {
533
532
  case 0:
534
- return _context20.abrupt("return", request("".concat(API_PREFIX_MODULE, "/Serials/readAll"), {
533
+ return _context20.abrupt("return", request("".concat(API_PREFIX_MODULE, "/behavior/readAll"), {
535
534
  params: params
536
535
  }));
537
536
  case 1:
@@ -540,17 +539,23 @@ function _fetchAllSerials() {
540
539
  }
541
540
  }, _callee20);
542
541
  }));
543
- return _fetchAllSerials.apply(this, arguments);
542
+ return _fetchAllBehavior.apply(this, arguments);
544
543
  }
545
- export function fetchAllBehaviorEx(_x24) {
546
- return _fetchAllBehaviorEx.apply(this, arguments);
544
+ export function fetchAllSerials(_x24) {
545
+ return _fetchAllSerials.apply(this, arguments);
547
546
  }
548
- function _fetchAllBehaviorEx() {
549
- _fetchAllBehaviorEx = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(params) {
547
+
548
+ /**
549
+ * 读取导入导出数据源
550
+ * @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
551
+ * @returns
552
+ */
553
+ function _fetchAllSerials() {
554
+ _fetchAllSerials = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(params) {
550
555
  return _regeneratorRuntime().wrap(function _callee21$(_context21) {
551
556
  while (1) switch (_context21.prev = _context21.next) {
552
557
  case 0:
553
- return _context21.abrupt("return", request("".concat(API_PREFIX_PAGE, "/option/noAuthGetBehavior"), {
558
+ return _context21.abrupt("return", request("".concat(API_PREFIX_MODULE, "/Serials/readAll"), {
554
559
  params: params
555
560
  }));
556
561
  case 1:
@@ -559,34 +564,47 @@ function _fetchAllBehaviorEx() {
559
564
  }
560
565
  }, _callee21);
561
566
  }));
567
+ return _fetchAllSerials.apply(this, arguments);
568
+ }
569
+ export function fetchAllBehaviorEx(_x25) {
570
+ return _fetchAllBehaviorEx.apply(this, arguments);
571
+ }
572
+ function _fetchAllBehaviorEx() {
573
+ _fetchAllBehaviorEx = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(params) {
574
+ return _regeneratorRuntime().wrap(function _callee22$(_context22) {
575
+ while (1) switch (_context22.prev = _context22.next) {
576
+ case 0:
577
+ return _context22.abrupt("return", request("".concat(API_PREFIX_PAGE, "/option/noAuthGetBehavior"), {
578
+ params: params
579
+ }));
580
+ case 1:
581
+ case "end":
582
+ return _context22.stop();
583
+ }
584
+ }, _callee22);
585
+ }));
562
586
  return _fetchAllBehaviorEx.apply(this, arguments);
563
587
  }
564
- export function getBehaviorUrl() {
565
- var mdCode = getLDMetaAttr('dataModelKey');
588
+ export function getBehaviorUrl(_mdCode) {
589
+ var mdCode = _mdCode || getLDMetaAttr('dataModelKey');
566
590
  return "".concat(api.API_HOST, "/").concat(mdCode, "/to/behavior/call");
567
591
  }
568
592
 
569
- /**
570
- * 执行行为
571
- * @param {*} params
572
- * @param {*} data
573
- * @returns
593
+ /**
594
+ * 执行行为
595
+ * @param {*} params
596
+ * @param {*} data
597
+ * @returns
574
598
  */
575
- export function fetchCallBehavior(_x25, _x26) {
599
+ export function fetchCallBehavior(_x26, _x27) {
576
600
  return _fetchCallBehavior.apply(this, arguments);
577
601
  }
578
-
579
- /**
580
- * 清除当前模块缓存
581
- * @param {{moduleCode}} params
582
- * @returns
583
- */
584
602
  function _fetchCallBehavior() {
585
- _fetchCallBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(params, data) {
586
- return _regeneratorRuntime().wrap(function _callee22$(_context22) {
587
- while (1) switch (_context22.prev = _context22.next) {
603
+ _fetchCallBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params, data) {
604
+ return _regeneratorRuntime().wrap(function _callee23$(_context23) {
605
+ while (1) switch (_context23.prev = _context23.next) {
588
606
  case 0:
589
- return _context22.abrupt("return", request(getBehaviorUrl(), {
607
+ return _context23.abrupt("return", request(getBehaviorUrl(), {
590
608
  method: 'POST',
591
609
  data: data,
592
610
  params: params,
@@ -596,106 +614,136 @@ function _fetchCallBehavior() {
596
614
  }));
597
615
  case 1:
598
616
  case "end":
599
- return _context22.stop();
617
+ return _context23.stop();
600
618
  }
601
- }, _callee22);
619
+ }, _callee23);
602
620
  }));
603
621
  return _fetchCallBehavior.apply(this, arguments);
604
622
  }
605
- export function fetchClearCache(_x27) {
623
+ export function readCallBehavior(_x28, _x29, _x30) {
624
+ return _readCallBehavior.apply(this, arguments);
625
+ }
626
+
627
+ /**
628
+ * 清除当前模块缓存
629
+ * @param {{moduleCode}} params
630
+ * @returns
631
+ */
632
+ function _readCallBehavior() {
633
+ _readCallBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(mdCode, params, data) {
634
+ return _regeneratorRuntime().wrap(function _callee24$(_context24) {
635
+ while (1) switch (_context24.prev = _context24.next) {
636
+ case 0:
637
+ return _context24.abrupt("return", request(getBehaviorUrl(mdCode), {
638
+ method: 'POST',
639
+ data: data,
640
+ params: params,
641
+ headers: _defineProperty({
642
+ 'Content-Type': 'application/json;charset=UTF-8'
643
+ }, LC_RUNTIME_KEY, 'live')
644
+ }));
645
+ case 1:
646
+ case "end":
647
+ return _context24.stop();
648
+ }
649
+ }, _callee24);
650
+ }));
651
+ return _readCallBehavior.apply(this, arguments);
652
+ }
653
+ export function fetchClearCache(_x31) {
606
654
  return _fetchClearCache.apply(this, arguments);
607
655
  }
608
656
 
609
- /**
610
- * 更新页面配置数据
611
- * @param {*} data
612
- * @returns
657
+ /**
658
+ * 更新页面配置数据
659
+ * @param {*} data
660
+ * @returns
613
661
  */
614
662
  function _fetchClearCache() {
615
- _fetchClearCache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params) {
616
- return _regeneratorRuntime().wrap(function _callee23$(_context23) {
617
- while (1) switch (_context23.prev = _context23.next) {
663
+ _fetchClearCache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(params) {
664
+ return _regeneratorRuntime().wrap(function _callee25$(_context25) {
665
+ while (1) switch (_context25.prev = _context25.next) {
618
666
  case 0:
619
- return _context23.abrupt("return", request("".concat(api.LUCKDA_HOST, "/cache/manage/noAuthModuleConfigClear"), {
667
+ return _context25.abrupt("return", request("".concat(api.LUCKDA_HOST, "/cache/manage/noAuthModuleConfigClear"), {
620
668
  params: params
621
669
  }));
622
670
  case 1:
623
671
  case "end":
624
- return _context23.stop();
672
+ return _context25.stop();
625
673
  }
626
- }, _callee23);
674
+ }, _callee25);
627
675
  }));
628
676
  return _fetchClearCache.apply(this, arguments);
629
677
  }
630
- export function fetchUpdatePageData(_x28) {
678
+ export function fetchUpdatePageData(_x32) {
631
679
  return _fetchUpdatePageData.apply(this, arguments);
632
680
  }
633
681
 
634
- /**
635
- * 获取数据字典
636
- * @param {{snamealias}} params
637
- * @returns
682
+ /**
683
+ * 获取数据字典
684
+ * @param {{snamealias}} params
685
+ * @returns
638
686
  */
639
687
  function _fetchUpdatePageData() {
640
- _fetchUpdatePageData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(data) {
641
- return _regeneratorRuntime().wrap(function _callee24$(_context24) {
642
- while (1) switch (_context24.prev = _context24.next) {
688
+ _fetchUpdatePageData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(data) {
689
+ return _regeneratorRuntime().wrap(function _callee26$(_context26) {
690
+ while (1) switch (_context26.prev = _context26.next) {
643
691
  case 0:
644
- return _context24.abrupt("return", request("".concat(API_PREFIX_PAGE, "/data/update"), {
692
+ return _context26.abrupt("return", request("".concat(API_PREFIX_PAGE, "/data/update"), {
645
693
  method: 'POST',
646
694
  data: data
647
695
  }));
648
696
  case 1:
649
697
  case "end":
650
- return _context24.stop();
698
+ return _context26.stop();
651
699
  }
652
- }, _callee24);
700
+ }, _callee26);
653
701
  }));
654
702
  return _fetchUpdatePageData.apply(this, arguments);
655
703
  }
656
- export function fetchDataDic(_x29) {
704
+ export function fetchDataDic(_x33) {
657
705
  return _fetchDataDic.apply(this, arguments);
658
706
  }
659
707
 
660
- /**
661
- * 导出excel
662
- * @param {*} data
663
- * @returns
708
+ /**
709
+ * 导出excel
710
+ * @param {*} data
711
+ * @returns
664
712
  */
665
713
  function _fetchDataDic() {
666
- _fetchDataDic = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(params) {
667
- return _regeneratorRuntime().wrap(function _callee25$(_context25) {
668
- while (1) switch (_context25.prev = _context25.next) {
714
+ _fetchDataDic = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(params) {
715
+ return _regeneratorRuntime().wrap(function _callee27$(_context27) {
716
+ while (1) switch (_context27.prev = _context27.next) {
669
717
  case 0:
670
- return _context25.abrupt("return", request("".concat(api.BASE_HOST, "/datadic/sysDatadic/noAuthReadAll"), {
718
+ return _context27.abrupt("return", request("".concat(api.BASE_HOST, "/datadic/sysDatadic/noAuthReadAll"), {
671
719
  params: params
672
720
  }));
673
721
  case 1:
674
722
  case "end":
675
- return _context25.stop();
723
+ return _context27.stop();
676
724
  }
677
- }, _callee25);
725
+ }, _callee27);
678
726
  }));
679
727
  return _fetchDataDic.apply(this, arguments);
680
728
  }
681
- export function exportExcel(_x30, _x31) {
729
+ export function exportExcel(_x34, _x35) {
682
730
  return _exportExcel.apply(this, arguments);
683
731
  }
684
732
 
685
- /**
686
- * 导入
687
- * @param {*} params, data
688
- * @returns
733
+ /**
734
+ * 导入
735
+ * @param {*} params, data
736
+ * @returns
689
737
  */
690
738
  function _exportExcel() {
691
- _exportExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(params, data) {
739
+ _exportExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(params, data) {
692
740
  var mdCode, FUNC_NAME;
693
- return _regeneratorRuntime().wrap(function _callee26$(_context26) {
694
- while (1) switch (_context26.prev = _context26.next) {
741
+ return _regeneratorRuntime().wrap(function _callee28$(_context28) {
742
+ while (1) switch (_context28.prev = _context28.next) {
695
743
  case 0:
696
744
  mdCode = getLDMetaAttr('dataModelKey');
697
745
  FUNC_NAME = params;
698
- return _context26.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthExport").concat(FUNC_NAME), {
746
+ return _context28.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthExport").concat(FUNC_NAME), {
699
747
  method: 'POST',
700
748
  data: _objectSpread(_objectSpread({}, data), {}, {
701
749
  gatewayUrl: "".concat(window.location.origin).concat(api.API_HOST)
@@ -703,50 +751,50 @@ function _exportExcel() {
703
751
  }));
704
752
  case 3:
705
753
  case "end":
706
- return _context26.stop();
754
+ return _context28.stop();
707
755
  }
708
- }, _callee26);
756
+ }, _callee28);
709
757
  }));
710
758
  return _exportExcel.apply(this, arguments);
711
759
  }
712
- export function uploadTemplate(_x32, _x33) {
760
+ export function uploadTemplate(_x36, _x37) {
713
761
  return _uploadTemplate.apply(this, arguments);
714
762
  }
715
763
 
716
764
  // var successCount = 10;
717
765
  // 获取导入进度数据
718
766
  function _uploadTemplate() {
719
- _uploadTemplate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(params, data) {
767
+ _uploadTemplate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(params, data) {
720
768
  var mdCode, FUNC_NAME;
721
- return _regeneratorRuntime().wrap(function _callee27$(_context27) {
722
- while (1) switch (_context27.prev = _context27.next) {
769
+ return _regeneratorRuntime().wrap(function _callee29$(_context29) {
770
+ while (1) switch (_context29.prev = _context29.next) {
723
771
  case 0:
724
772
  mdCode = getLDMetaAttr('dataModelKey');
725
773
  FUNC_NAME = params;
726
- return _context27.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthImport").concat(FUNC_NAME), {
774
+ return _context29.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthImport").concat(FUNC_NAME), {
727
775
  method: 'POST',
728
776
  data: data
729
777
  }));
730
778
  case 3:
731
779
  case "end":
732
- return _context27.stop();
780
+ return _context29.stop();
733
781
  }
734
- }, _callee27);
782
+ }, _callee29);
735
783
  }));
736
784
  return _uploadTemplate.apply(this, arguments);
737
785
  }
738
- export function getFindexcelstate(_x34, _x35) {
786
+ export function getFindexcelstate(_x38, _x39) {
739
787
  return _getFindexcelstate.apply(this, arguments);
740
788
  }
741
789
  function _getFindexcelstate() {
742
- _getFindexcelstate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(params, data) {
790
+ _getFindexcelstate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30(params, data) {
743
791
  var mdCode, FUNC_NAME;
744
- return _regeneratorRuntime().wrap(function _callee28$(_context28) {
745
- while (1) switch (_context28.prev = _context28.next) {
792
+ return _regeneratorRuntime().wrap(function _callee30$(_context30) {
793
+ while (1) switch (_context30.prev = _context30.next) {
746
794
  case 0:
747
795
  mdCode = getLDMetaAttr('dataModelKey');
748
796
  FUNC_NAME = params;
749
- return _context28.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetProgress").concat(FUNC_NAME), {
797
+ return _context30.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetProgress").concat(FUNC_NAME), {
750
798
  method: 'POST',
751
799
  data: _objectSpread(_objectSpread({}, data), {}, {
752
800
  gatewayUrl: "".concat(window.location.origin).concat(api.API_HOST)
@@ -754,28 +802,28 @@ function _getFindexcelstate() {
754
802
  }));
755
803
  case 3:
756
804
  case "end":
757
- return _context28.stop();
805
+ return _context30.stop();
758
806
  }
759
- }, _callee28);
807
+ }, _callee30);
760
808
  }));
761
809
  return _getFindexcelstate.apply(this, arguments);
762
810
  }
763
- export function noAuthGetTemplateUrl(_x36) {
811
+ export function noAuthGetTemplateUrl(_x40) {
764
812
  return _noAuthGetTemplateUrl.apply(this, arguments);
765
813
  }
766
814
 
767
- /**
768
- * 页面预览调试获取模拟用户
769
- * @param {string} sname
815
+ /**
816
+ * 页面预览调试获取模拟用户
817
+ * @param {string} sname
770
818
  */
771
819
  function _noAuthGetTemplateUrl() {
772
- _noAuthGetTemplateUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(params) {
820
+ _noAuthGetTemplateUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee31(params) {
773
821
  var mdCode;
774
- return _regeneratorRuntime().wrap(function _callee29$(_context29) {
775
- while (1) switch (_context29.prev = _context29.next) {
822
+ return _regeneratorRuntime().wrap(function _callee31$(_context31) {
823
+ while (1) switch (_context31.prev = _context31.next) {
776
824
  case 0:
777
825
  mdCode = getLDMetaAttr('dataModelKey');
778
- return _context29.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetTemplateUrl"), {
826
+ return _context31.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetTemplateUrl"), {
779
827
  method: 'POST',
780
828
  data: {
781
829
  gatewayUrl: "".concat(window.location.origin).concat(api.API_HOST),
@@ -784,29 +832,29 @@ function _noAuthGetTemplateUrl() {
784
832
  }));
785
833
  case 2:
786
834
  case "end":
787
- return _context29.stop();
835
+ return _context31.stop();
788
836
  }
789
- }, _callee29);
837
+ }, _callee31);
790
838
  }));
791
839
  return _noAuthGetTemplateUrl.apply(this, arguments);
792
840
  }
793
- export function fetchSearchUser(_x37) {
841
+ export function fetchSearchUser(_x41) {
794
842
  return _fetchSearchUser.apply(this, arguments);
795
843
  }
796
844
  function _fetchSearchUser() {
797
- _fetchSearchUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30(params) {
798
- return _regeneratorRuntime().wrap(function _callee30$(_context30) {
799
- while (1) switch (_context30.prev = _context30.next) {
845
+ _fetchSearchUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee32(params) {
846
+ return _regeneratorRuntime().wrap(function _callee32$(_context32) {
847
+ while (1) switch (_context32.prev = _context32.next) {
800
848
  case 0:
801
- return _context30.abrupt("return", request("".concat(api.BASE_HOST, "/user/sysUser/noAuthReadUser"), {
849
+ return _context32.abrupt("return", request("".concat(api.BASE_HOST, "/user/sysUser/noAuthReadUser"), {
802
850
  params: params,
803
851
  method: 'POST'
804
852
  }));
805
853
  case 1:
806
854
  case "end":
807
- return _context30.stop();
855
+ return _context32.stop();
808
856
  }
809
- }, _callee30);
857
+ }, _callee32);
810
858
  }));
811
859
  return _fetchSearchUser.apply(this, arguments);
812
860
  }