@luck-design-biz/luckda 0.0.25-1 → 0.0.25-11

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 (501) hide show
  1. package/es/components/ComplexItem/index.js +92 -0
  2. package/es/{lowcode/painter/services/toolbar.js → components/ComplexItem/service.js} +7 -11
  3. package/es/components/LDActions/index.js +8 -10
  4. package/es/components/LDActions/index.less +7 -4
  5. package/es/components/LdAutoForm/index.js +34 -11
  6. package/es/components/LdFormList/index.js +39 -23
  7. package/es/components/LdGrid/index.js +21 -7
  8. package/es/components/LdGridForm/index.js +32 -11
  9. package/es/components/LdTree/index.js +33 -15
  10. package/es/helper/FromItems.js +177 -94
  11. package/es/helper/form.js +55 -14
  12. package/es/helper/props_config.js +17 -0
  13. package/es/locales/zh-CN.js +26 -11
  14. package/es/lowcode/constants/api-url.js +354 -104
  15. package/es/lowcode/constants/event-topics.js +2 -0
  16. package/es/lowcode/constants/index.js +4 -2
  17. package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +5 -2
  18. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
  19. package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +5 -2
  20. package/es/lowcode/engine/meta/box.props.default.json +1 -1
  21. package/es/lowcode/engine/meta/box.props.json +4 -4
  22. package/es/lowcode/engine/meta/button.props.json +4 -4
  23. package/es/lowcode/engine/meta/cardlist.props.json +14 -4
  24. package/es/lowcode/engine/meta/components-list.json +109 -1
  25. package/es/lowcode/engine/meta/dialog.props.default.json +11 -5
  26. package/es/lowcode/engine/meta/dialog.props.json +80 -43
  27. package/es/lowcode/engine/meta/drawer.props.json +9 -21
  28. package/es/lowcode/engine/meta/fieldcolor.props.default.json +14 -0
  29. package/es/lowcode/engine/meta/fieldcolor.props.json +63 -0
  30. package/es/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
  31. package/es/lowcode/engine/meta/fieldcomplex.props.json +39 -0
  32. package/es/lowcode/engine/meta/fielddate.props.default.json +12 -0
  33. package/es/lowcode/engine/meta/fielddate.props.json +47 -0
  34. package/es/lowcode/engine/meta/fielddict.props.default.json +14 -0
  35. package/es/lowcode/engine/meta/fielddict.props.json +44 -0
  36. package/es/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
  37. package/es/lowcode/engine/meta/fieldeditor.props.json +44 -0
  38. package/es/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
  39. package/es/lowcode/engine/meta/fieldgroup.props.json +73 -0
  40. package/es/lowcode/engine/meta/fieldnumber.props.default.json +14 -0
  41. package/es/lowcode/engine/meta/fieldnumber.props.json +48 -0
  42. package/es/lowcode/engine/meta/fieldradio.props.default.json +12 -0
  43. package/es/lowcode/engine/meta/fieldradio.props.json +20 -0
  44. package/es/lowcode/engine/meta/fieldregion.props.default.json +12 -0
  45. package/es/lowcode/engine/meta/fieldregion.props.json +26 -0
  46. package/es/lowcode/engine/meta/fieldselect.props.default.json +14 -0
  47. package/es/lowcode/engine/meta/fieldselect.props.json +58 -0
  48. package/es/lowcode/engine/meta/fieldstring.props.default.json +16 -0
  49. package/es/lowcode/engine/meta/fieldstring.props.json +62 -0
  50. package/es/lowcode/engine/meta/fieldswitch.props.default.json +12 -0
  51. package/es/lowcode/engine/meta/fieldswitch.props.json +31 -0
  52. package/es/lowcode/engine/meta/fieldtextarea.props.default.json +13 -0
  53. package/es/lowcode/engine/meta/fieldtextarea.props.json +49 -0
  54. package/es/lowcode/engine/meta/fieldupload.props.default.json +15 -0
  55. package/es/lowcode/engine/meta/fieldupload.props.json +71 -0
  56. package/es/lowcode/engine/meta/fielduser.props.default.json +16 -0
  57. package/es/lowcode/engine/meta/fielduser.props.json +82 -0
  58. package/es/lowcode/engine/meta/fieldyear.props.default.json +12 -0
  59. package/es/lowcode/engine/meta/fieldyear.props.json +37 -0
  60. package/es/lowcode/engine/meta/form.props.default.json +4 -5
  61. package/es/lowcode/engine/meta/form.props.json +44 -35
  62. package/es/lowcode/engine/meta/image.props.json +2 -2
  63. package/es/lowcode/engine/meta/imex.props.default.json +8 -1
  64. package/es/lowcode/engine/meta/imex.props.json +54 -22
  65. package/es/lowcode/engine/meta/js-editor/auto-complete.json +53 -3
  66. package/es/lowcode/engine/meta/layout.props.json +2 -2
  67. package/es/lowcode/engine/meta/link.props.json +1 -1
  68. package/es/lowcode/engine/meta/page.props.json +2 -2
  69. package/es/lowcode/engine/meta/pagelayout.props.default.json +14 -0
  70. package/es/lowcode/engine/meta/pagelayout.props.json +47 -0
  71. package/es/lowcode/engine/meta/section.props.default.json +4 -6
  72. package/es/lowcode/engine/meta/section.props.json +52 -49
  73. package/es/lowcode/engine/meta/split.props.default.json +1 -1
  74. package/es/lowcode/engine/meta/split.props.json +4 -4
  75. package/es/lowcode/engine/meta/table.props.json +19 -13
  76. package/es/lowcode/engine/meta/tabs.props.json +3 -3
  77. package/es/lowcode/engine/meta/text.props.json +2 -2
  78. package/es/lowcode/engine/meta/tree.props.default.json +2 -0
  79. package/es/lowcode/engine/meta/tree.props.json +71 -8
  80. package/es/lowcode/engine/provider/ContextProvider/index.js +21 -35
  81. package/es/lowcode/engine/provider/RemoteSourceProvider.js +89 -37
  82. package/es/lowcode/engine/tools/dataProcess.js +4 -0
  83. package/es/lowcode/engine/tools/diff.js +60 -0
  84. package/es/lowcode/engine/tools/helper.js +47 -26
  85. package/es/lowcode/engine/tools/useCanvasRender.js +8 -9
  86. package/es/lowcode/engine/tools/usePageDataStore.js +331 -0
  87. package/es/lowcode/engine/tools/usePromiseState.js +8 -10
  88. package/es/lowcode/engine/tools/useTodo.js +20 -10
  89. package/es/lowcode/painter/Design.js +41 -6
  90. package/es/lowcode/painter/DesignOperator.js +112 -88
  91. package/es/lowcode/painter/DesignToolbar.js +280 -36
  92. package/es/lowcode/painter/Outline.js +12 -10
  93. package/es/lowcode/painter/Panel.js +84 -46
  94. package/es/lowcode/painter/components/ActionBindModal.js +38 -27
  95. package/es/lowcode/painter/components/AdvancePanel.js +37 -21
  96. package/es/lowcode/painter/components/AttrsPanel.js +45 -34
  97. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +1 -1
  98. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +5 -2
  99. package/es/lowcode/painter/components/FieldSelector.js +26 -13
  100. package/es/lowcode/painter/components/ListEditor.js +8 -2
  101. package/es/lowcode/painter/components/code-editor/BaseEditor.js +3 -2
  102. package/es/lowcode/painter/components/code-editor/JSEditor.js +5 -9
  103. package/es/lowcode/painter/components/field-setting/BatchSetting.js +13 -3
  104. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +108 -0
  105. package/es/lowcode/painter/components/field-setting/CheckRules.js +1 -26
  106. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +33 -13
  107. package/es/lowcode/painter/components/field-setting/SettingUI.js +182 -31
  108. package/es/lowcode/painter/components/field-setting/index.js +40 -61
  109. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +53 -0
  110. package/es/lowcode/painter/index.js +1 -28
  111. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +25 -0
  112. package/es/lowcode/painter/panel-section/BlockEditor/index.js +7 -4
  113. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +4 -3
  114. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +55 -28
  115. package/es/lowcode/painter/panel-section/ButtonType.js +4 -2
  116. package/es/lowcode/painter/panel-section/DataSetSelector.js +30 -7
  117. package/es/lowcode/painter/panel-section/FieldsSetting.js +124 -55
  118. package/es/lowcode/painter/panel-section/I18nInput.js +20 -0
  119. package/es/lowcode/painter/panel-section/ImpExp.js +99 -14
  120. package/es/lowcode/painter/panel-section/ImpExpAlone.js +108 -0
  121. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +95 -0
  122. package/es/lowcode/painter/panel-section/SerialsSelector.js +4 -2
  123. package/es/lowcode/painter/panel-section/SplitDisplay.js +25 -110
  124. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
  125. package/es/lowcode/painter/panel-section/StylePanel/index.js +10 -4
  126. package/es/lowcode/painter/panel-section/TableTopFilter.js +23 -13
  127. package/es/lowcode/painter/panel-section/TreeRootEditor.js +2 -2
  128. package/es/lowcode/painter/style/action-bind-modal.less +3 -3
  129. package/es/lowcode/painter/style/design.less +11 -4
  130. package/es/lowcode/painter/style/list-editor.less +36 -0
  131. package/es/lowcode/painter/style/page-layout-display.less +28 -0
  132. package/es/lowcode/painter/style/panel-item.less +1 -1
  133. package/es/lowcode/painter/style/split-display.less +0 -9
  134. package/es/lowcode/preview/index.js +20 -5
  135. package/es/lowcode/view/Canvas.js +6 -7
  136. package/es/lowcode/view/Page.js +5 -6
  137. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +3 -2
  138. package/es/lowcode/view/lc-components/Box/FunctionLive.js +1 -0
  139. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +1 -0
  140. package/es/lowcode/view/lc-components/Box/meta.json +4 -4
  141. package/es/lowcode/view/lc-components/Button/index.js +2 -6
  142. package/es/lowcode/view/lc-components/Button/meta.json +4 -4
  143. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +1 -0
  144. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +1 -0
  145. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +1 -0
  146. package/es/lowcode/view/lc-components/CardList/meta.json +14 -4
  147. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +3 -12
  148. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +1 -0
  149. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +1 -0
  150. package/es/lowcode/view/lc-components/Dialog/index.js +119 -19
  151. package/es/lowcode/view/lc-components/Dialog/meta.json +73 -43
  152. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +1 -0
  153. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +1 -0
  154. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +1 -0
  155. package/es/lowcode/view/lc-components/Drawer/meta.json +9 -21
  156. package/es/lowcode/view/lc-components/FieldColor/meta.json +63 -0
  157. package/es/lowcode/view/lc-components/FieldComplex/meta.json +39 -0
  158. package/es/lowcode/view/lc-components/FieldDate/meta.json +45 -0
  159. package/es/lowcode/view/lc-components/FieldDict/meta.json +44 -0
  160. package/es/lowcode/view/lc-components/FieldEditor/meta.json +44 -0
  161. package/es/lowcode/view/lc-components/FieldGroup/meta.json +73 -0
  162. package/es/lowcode/view/lc-components/FieldNumber/meta.json +48 -0
  163. package/es/lowcode/view/lc-components/FieldRadio/meta.json +20 -0
  164. package/es/lowcode/view/lc-components/FieldRegion/meta.json +26 -0
  165. package/es/lowcode/view/lc-components/FieldSelect/meta.json +58 -0
  166. package/es/lowcode/view/lc-components/FieldString/meta.json +62 -0
  167. package/es/lowcode/view/lc-components/FieldSwitch/meta.json +31 -0
  168. package/es/lowcode/view/lc-components/FieldTextarea/meta.json +49 -0
  169. package/es/lowcode/view/lc-components/FieldUpload/meta.json +71 -0
  170. package/es/lowcode/view/lc-components/FieldUser/meta.json +82 -0
  171. package/es/lowcode/view/lc-components/FieldYear/meta.json +35 -0
  172. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +61 -9
  173. package/es/lowcode/view/lc-components/Form/FunctionLive.js +1 -0
  174. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +9 -1
  175. package/es/lowcode/view/lc-components/Form/index.js +401 -66
  176. package/es/lowcode/view/lc-components/Form/meta.json +44 -35
  177. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +1 -0
  178. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +1 -0
  179. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +1 -0
  180. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +9 -3
  181. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +1 -0
  182. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +1 -0
  183. package/es/lowcode/view/lc-components/ImEx/index.js +470 -11
  184. package/es/lowcode/view/lc-components/ImEx/index.less +7 -0
  185. package/es/lowcode/view/lc-components/ImEx/meta.json +55 -23
  186. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +1 -0
  187. package/es/lowcode/view/lc-components/Image/FunctionLive.js +1 -0
  188. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +1 -0
  189. package/es/lowcode/view/lc-components/Image/meta.json +2 -2
  190. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +1 -0
  191. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +1 -0
  192. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +1 -0
  193. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +13 -21
  194. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +1 -0
  195. package/es/lowcode/view/lc-components/Layout/meta.json +2 -2
  196. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +1 -0
  197. package/es/lowcode/view/lc-components/Link/FunctionLive.js +1 -0
  198. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +1 -0
  199. package/es/lowcode/view/lc-components/Link/meta.json +1 -1
  200. package/es/lowcode/view/lc-components/Page/meta.json +2 -2
  201. package/es/lowcode/view/lc-components/PageContent/index.js +8 -9
  202. package/es/lowcode/view/lc-components/PageFooter/index.js +2 -5
  203. package/es/lowcode/view/lc-components/PageHeader/index.js +5 -6
  204. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +63 -0
  205. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +10 -0
  206. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +10 -0
  207. package/es/lowcode/view/lc-components/PageLayout/index.js +32 -0
  208. package/es/lowcode/view/lc-components/PageLayout/meta.json +47 -0
  209. package/es/lowcode/view/lc-components/PageModal/index.js +12 -15
  210. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +25 -2
  211. package/es/lowcode/view/lc-components/Section/FunctionLive.js +1 -0
  212. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +1 -0
  213. package/es/lowcode/view/lc-components/Section/index.js +114 -24
  214. package/es/lowcode/view/lc-components/Section/index.less +7 -0
  215. package/es/lowcode/view/lc-components/Section/meta.json +48 -49
  216. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +19 -22
  217. package/es/lowcode/view/lc-components/Split/FunctionLive.js +1 -0
  218. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +1 -0
  219. package/es/lowcode/view/lc-components/Split/index.js +7 -11
  220. package/es/lowcode/view/lc-components/Split/meta.json +4 -4
  221. package/es/lowcode/view/lc-components/Table/FunctionLive.js +1 -0
  222. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +1 -0
  223. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +78 -57
  224. package/es/lowcode/view/lc-components/Table/components/TopImex.js +420 -0
  225. package/es/lowcode/view/lc-components/Table/index.js +294 -47
  226. package/es/lowcode/view/lc-components/Table/meta.json +19 -13
  227. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +11 -20
  228. package/es/lowcode/view/lc-components/Tabs/index.js +27 -12
  229. package/es/lowcode/view/lc-components/Tabs/meta.json +3 -3
  230. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +1 -0
  231. package/es/lowcode/view/lc-components/Text/FunctionLive.js +1 -0
  232. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +1 -0
  233. package/es/lowcode/view/lc-components/Text/meta.json +2 -2
  234. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -3
  235. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +1 -0
  236. package/es/lowcode/view/lc-components/Tree/index.js +103 -29
  237. package/es/lowcode/view/lc-components/Tree/meta.json +71 -9
  238. package/es/lowcode/view/lc-components/Wrapper.js +10 -12
  239. package/es/services.js +0 -24
  240. package/es/upload/FilesWall/file.png +0 -0
  241. package/es/upload/FilesWall/index.js +422 -0
  242. package/es/upload/FilesWall/index.less +74 -0
  243. package/es/upload/Form/gridForm.js +10 -5
  244. package/es/upload/Form/index.js +2 -1
  245. package/es/upload/FormItem/index.js +8 -9
  246. package/es/upload/index.js +2 -1
  247. package/es/utils/action.js +2 -2
  248. package/es/utils/form.js +16 -3
  249. package/es/utils/grid.js +8 -5
  250. package/lib/components/ComplexItem/index.js +100 -0
  251. package/lib/{lowcode/painter/services/toolbar.js → components/ComplexItem/service.js} +8 -12
  252. package/lib/components/LDActions/index.js +7 -9
  253. package/lib/components/LDActions/index.less +7 -4
  254. package/lib/components/LdAutoForm/index.js +33 -10
  255. package/lib/components/LdFormList/index.js +38 -22
  256. package/lib/components/LdGrid/index.js +21 -7
  257. package/lib/components/LdGridForm/index.js +30 -9
  258. package/lib/components/LdTree/index.js +33 -15
  259. package/lib/helper/FromItems.js +175 -92
  260. package/lib/helper/form.js +53 -13
  261. package/lib/helper/props_config.js +23 -0
  262. package/lib/locales/zh-CN.js +26 -11
  263. package/lib/lowcode/constants/api-url.js +355 -104
  264. package/lib/lowcode/constants/event-topics.js +3 -1
  265. package/lib/lowcode/constants/index.js +5 -3
  266. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +7 -4
  267. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +3 -2
  268. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +6 -3
  269. package/lib/lowcode/engine/meta/box.props.default.json +1 -1
  270. package/lib/lowcode/engine/meta/box.props.json +4 -4
  271. package/lib/lowcode/engine/meta/button.props.json +4 -4
  272. package/lib/lowcode/engine/meta/cardlist.props.json +14 -4
  273. package/lib/lowcode/engine/meta/components-list.json +109 -1
  274. package/lib/lowcode/engine/meta/dialog.props.default.json +11 -5
  275. package/lib/lowcode/engine/meta/dialog.props.json +80 -43
  276. package/lib/lowcode/engine/meta/drawer.props.json +9 -21
  277. package/lib/lowcode/engine/meta/fieldcolor.props.default.json +14 -0
  278. package/lib/lowcode/engine/meta/fieldcolor.props.json +63 -0
  279. package/lib/lowcode/engine/meta/fieldcomplex.props.default.json +13 -0
  280. package/lib/lowcode/engine/meta/fieldcomplex.props.json +39 -0
  281. package/lib/lowcode/engine/meta/fielddate.props.default.json +12 -0
  282. package/lib/lowcode/engine/meta/fielddate.props.json +47 -0
  283. package/lib/lowcode/engine/meta/fielddict.props.default.json +14 -0
  284. package/lib/lowcode/engine/meta/fielddict.props.json +44 -0
  285. package/lib/lowcode/engine/meta/fieldeditor.props.default.json +13 -0
  286. package/lib/lowcode/engine/meta/fieldeditor.props.json +44 -0
  287. package/lib/lowcode/engine/meta/fieldgroup.props.default.json +15 -0
  288. package/lib/lowcode/engine/meta/fieldgroup.props.json +73 -0
  289. package/lib/lowcode/engine/meta/fieldnumber.props.default.json +14 -0
  290. package/lib/lowcode/engine/meta/fieldnumber.props.json +48 -0
  291. package/lib/lowcode/engine/meta/fieldradio.props.default.json +12 -0
  292. package/lib/lowcode/engine/meta/fieldradio.props.json +20 -0
  293. package/lib/lowcode/engine/meta/fieldregion.props.default.json +12 -0
  294. package/lib/lowcode/engine/meta/fieldregion.props.json +26 -0
  295. package/lib/lowcode/engine/meta/fieldselect.props.default.json +14 -0
  296. package/lib/lowcode/engine/meta/fieldselect.props.json +58 -0
  297. package/lib/lowcode/engine/meta/fieldstring.props.default.json +16 -0
  298. package/lib/lowcode/engine/meta/fieldstring.props.json +62 -0
  299. package/lib/lowcode/engine/meta/fieldswitch.props.default.json +12 -0
  300. package/lib/lowcode/engine/meta/fieldswitch.props.json +31 -0
  301. package/lib/lowcode/engine/meta/fieldtextarea.props.default.json +13 -0
  302. package/lib/lowcode/engine/meta/fieldtextarea.props.json +49 -0
  303. package/lib/lowcode/engine/meta/fieldupload.props.default.json +15 -0
  304. package/lib/lowcode/engine/meta/fieldupload.props.json +71 -0
  305. package/lib/lowcode/engine/meta/fielduser.props.default.json +16 -0
  306. package/lib/lowcode/engine/meta/fielduser.props.json +82 -0
  307. package/lib/lowcode/engine/meta/fieldyear.props.default.json +12 -0
  308. package/lib/lowcode/engine/meta/fieldyear.props.json +37 -0
  309. package/lib/lowcode/engine/meta/form.props.default.json +4 -5
  310. package/lib/lowcode/engine/meta/form.props.json +44 -35
  311. package/lib/lowcode/engine/meta/image.props.json +2 -2
  312. package/lib/lowcode/engine/meta/imex.props.default.json +8 -1
  313. package/lib/lowcode/engine/meta/imex.props.json +54 -22
  314. package/lib/lowcode/engine/meta/js-editor/auto-complete.json +53 -3
  315. package/lib/lowcode/engine/meta/layout.props.json +2 -2
  316. package/lib/lowcode/engine/meta/link.props.json +1 -1
  317. package/lib/lowcode/engine/meta/page.props.json +2 -2
  318. package/lib/lowcode/engine/meta/pagelayout.props.default.json +14 -0
  319. package/lib/lowcode/engine/meta/pagelayout.props.json +47 -0
  320. package/lib/lowcode/engine/meta/section.props.default.json +4 -6
  321. package/lib/lowcode/engine/meta/section.props.json +52 -49
  322. package/lib/lowcode/engine/meta/split.props.default.json +1 -1
  323. package/lib/lowcode/engine/meta/split.props.json +4 -4
  324. package/lib/lowcode/engine/meta/table.props.json +19 -13
  325. package/lib/lowcode/engine/meta/tabs.props.json +3 -3
  326. package/lib/lowcode/engine/meta/text.props.json +2 -2
  327. package/lib/lowcode/engine/meta/tree.props.default.json +2 -0
  328. package/lib/lowcode/engine/meta/tree.props.json +71 -8
  329. package/lib/lowcode/engine/provider/ContextProvider/index.js +37 -35
  330. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +86 -34
  331. package/lib/lowcode/engine/tools/dataProcess.js +4 -0
  332. package/lib/lowcode/engine/tools/diff.js +67 -0
  333. package/lib/lowcode/engine/tools/helper.js +48 -25
  334. package/lib/lowcode/engine/tools/useCanvasRender.js +6 -7
  335. package/lib/lowcode/engine/tools/usePageDataStore.js +338 -0
  336. package/lib/lowcode/engine/tools/usePromiseState.js +6 -8
  337. package/lib/lowcode/engine/tools/useTodo.js +19 -9
  338. package/lib/lowcode/painter/Design.js +39 -4
  339. package/lib/lowcode/painter/DesignOperator.js +109 -85
  340. package/lib/lowcode/painter/DesignToolbar.js +277 -33
  341. package/lib/lowcode/painter/Outline.js +10 -8
  342. package/lib/lowcode/painter/Panel.js +82 -44
  343. package/lib/lowcode/painter/components/ActionBindModal.js +36 -25
  344. package/lib/lowcode/painter/components/AdvancePanel.js +36 -20
  345. package/lib/lowcode/painter/components/AttrsPanel.js +44 -33
  346. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +1 -1
  347. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +5 -2
  348. package/lib/lowcode/painter/components/FieldSelector.js +26 -13
  349. package/lib/lowcode/painter/components/ListEditor.js +8 -2
  350. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +3 -2
  351. package/lib/lowcode/painter/components/code-editor/JSEditor.js +5 -9
  352. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +13 -3
  353. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +116 -0
  354. package/lib/lowcode/painter/components/field-setting/CheckRules.js +1 -26
  355. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +34 -13
  356. package/lib/lowcode/painter/components/field-setting/SettingUI.js +179 -28
  357. package/lib/lowcode/painter/components/field-setting/index.js +40 -61
  358. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +59 -0
  359. package/lib/lowcode/painter/index.js +1 -30
  360. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +32 -0
  361. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +7 -4
  362. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +4 -3
  363. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +53 -25
  364. package/lib/lowcode/painter/panel-section/ButtonType.js +4 -2
  365. package/lib/lowcode/painter/panel-section/DataSetSelector.js +30 -7
  366. package/lib/lowcode/painter/panel-section/FieldsSetting.js +121 -52
  367. package/lib/lowcode/painter/panel-section/I18nInput.js +27 -0
  368. package/lib/lowcode/painter/panel-section/ImpExp.js +99 -13
  369. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +114 -0
  370. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +103 -0
  371. package/lib/lowcode/painter/panel-section/SerialsSelector.js +4 -2
  372. package/lib/lowcode/painter/panel-section/SplitDisplay.js +24 -109
  373. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +5 -4
  374. package/lib/lowcode/painter/panel-section/StylePanel/index.js +10 -4
  375. package/lib/lowcode/painter/panel-section/TableTopFilter.js +22 -12
  376. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +2 -2
  377. package/lib/lowcode/painter/style/action-bind-modal.less +3 -3
  378. package/lib/lowcode/painter/style/design.less +11 -4
  379. package/lib/lowcode/painter/style/list-editor.less +36 -0
  380. package/lib/lowcode/painter/style/page-layout-display.less +28 -0
  381. package/lib/lowcode/painter/style/panel-item.less +1 -1
  382. package/lib/lowcode/painter/style/split-display.less +0 -9
  383. package/lib/lowcode/preview/index.js +21 -5
  384. package/lib/lowcode/view/Canvas.js +5 -6
  385. package/lib/lowcode/view/Page.js +5 -6
  386. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +3 -2
  387. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
  388. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
  389. package/lib/lowcode/view/lc-components/Box/meta.json +4 -4
  390. package/lib/lowcode/view/lc-components/Button/index.js +2 -6
  391. package/lib/lowcode/view/lc-components/Button/meta.json +4 -4
  392. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
  393. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
  394. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
  395. package/lib/lowcode/view/lc-components/CardList/meta.json +14 -4
  396. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +2 -11
  397. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
  398. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
  399. package/lib/lowcode/view/lc-components/Dialog/index.js +119 -19
  400. package/lib/lowcode/view/lc-components/Dialog/meta.json +73 -43
  401. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
  402. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
  403. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
  404. package/lib/lowcode/view/lc-components/Drawer/meta.json +9 -21
  405. package/lib/lowcode/view/lc-components/FieldColor/meta.json +63 -0
  406. package/lib/lowcode/view/lc-components/FieldComplex/meta.json +39 -0
  407. package/lib/lowcode/view/lc-components/FieldDate/meta.json +45 -0
  408. package/lib/lowcode/view/lc-components/FieldDict/meta.json +44 -0
  409. package/lib/lowcode/view/lc-components/FieldEditor/meta.json +44 -0
  410. package/lib/lowcode/view/lc-components/FieldGroup/meta.json +73 -0
  411. package/lib/lowcode/view/lc-components/FieldNumber/meta.json +48 -0
  412. package/lib/lowcode/view/lc-components/FieldRadio/meta.json +20 -0
  413. package/lib/lowcode/view/lc-components/FieldRegion/meta.json +26 -0
  414. package/lib/lowcode/view/lc-components/FieldSelect/meta.json +58 -0
  415. package/lib/lowcode/view/lc-components/FieldString/meta.json +62 -0
  416. package/lib/lowcode/view/lc-components/FieldSwitch/meta.json +31 -0
  417. package/lib/lowcode/view/lc-components/FieldTextarea/meta.json +49 -0
  418. package/lib/lowcode/view/lc-components/FieldUpload/meta.json +71 -0
  419. package/lib/lowcode/view/lc-components/FieldUser/meta.json +82 -0
  420. package/lib/lowcode/view/lc-components/FieldYear/meta.json +35 -0
  421. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +58 -7
  422. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
  423. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +9 -1
  424. package/lib/lowcode/view/lc-components/Form/index.js +396 -61
  425. package/lib/lowcode/view/lc-components/Form/meta.json +44 -35
  426. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
  427. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
  428. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
  429. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +9 -3
  430. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
  431. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
  432. package/lib/lowcode/view/lc-components/ImEx/index.js +468 -9
  433. package/lib/lowcode/view/lc-components/ImEx/index.less +7 -0
  434. package/lib/lowcode/view/lc-components/ImEx/meta.json +55 -23
  435. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
  436. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
  437. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
  438. package/lib/lowcode/view/lc-components/Image/meta.json +2 -2
  439. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
  440. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
  441. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
  442. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +11 -19
  443. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
  444. package/lib/lowcode/view/lc-components/Layout/meta.json +2 -2
  445. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
  446. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
  447. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
  448. package/lib/lowcode/view/lc-components/Link/meta.json +1 -1
  449. package/lib/lowcode/view/lc-components/Page/meta.json +2 -2
  450. package/lib/lowcode/view/lc-components/PageContent/index.js +7 -8
  451. package/lib/lowcode/view/lc-components/PageFooter/index.js +2 -5
  452. package/lib/lowcode/view/lc-components/PageHeader/index.js +4 -5
  453. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +71 -0
  454. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +17 -0
  455. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +17 -0
  456. package/lib/lowcode/view/lc-components/PageLayout/index.js +40 -0
  457. package/lib/lowcode/view/lc-components/PageLayout/meta.json +47 -0
  458. package/lib/lowcode/view/lc-components/PageModal/index.js +11 -14
  459. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +25 -2
  460. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
  461. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
  462. package/lib/lowcode/view/lc-components/Section/index.js +113 -23
  463. package/lib/lowcode/view/lc-components/Section/index.less +7 -0
  464. package/lib/lowcode/view/lc-components/Section/meta.json +48 -49
  465. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +18 -21
  466. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
  467. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
  468. package/lib/lowcode/view/lc-components/Split/index.js +4 -8
  469. package/lib/lowcode/view/lc-components/Split/meta.json +4 -4
  470. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
  471. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
  472. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +75 -55
  473. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +428 -0
  474. package/lib/lowcode/view/lc-components/Table/index.js +292 -45
  475. package/lib/lowcode/view/lc-components/Table/meta.json +19 -13
  476. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +9 -18
  477. package/lib/lowcode/view/lc-components/Tabs/index.js +26 -11
  478. package/lib/lowcode/view/lc-components/Tabs/meta.json +3 -3
  479. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
  480. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
  481. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
  482. package/lib/lowcode/view/lc-components/Text/meta.json +2 -2
  483. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -3
  484. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
  485. package/lib/lowcode/view/lc-components/Tree/index.js +100 -26
  486. package/lib/lowcode/view/lc-components/Tree/meta.json +71 -9
  487. package/lib/lowcode/view/lc-components/Wrapper.js +11 -12
  488. package/lib/services.js +0 -25
  489. package/lib/upload/FilesWall/file.png +0 -0
  490. package/lib/upload/FilesWall/index.js +429 -0
  491. package/lib/upload/FilesWall/index.less +74 -0
  492. package/lib/upload/Form/gridForm.js +10 -5
  493. package/lib/upload/Form/index.js +2 -1
  494. package/lib/upload/FormItem/index.js +8 -9
  495. package/lib/upload/index.js +8 -1
  496. package/lib/utils/action.js +2 -2
  497. package/lib/utils/form.js +16 -3
  498. package/lib/utils/grid.js +8 -5
  499. package/package.json +175 -171
  500. package/es/lowcode/engine/meta/local/local.zh-cn.js +0 -97
  501. package/lib/lowcode/engine/meta/local/local.zh-cn.js +0 -103
@@ -1,8 +1,9 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
1
2
  import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
3
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
4
  import { request } from '@luck-design-biz/base/utils';
4
5
  import api from "@/services/ApiConfig";
5
- import { DATA_MODEL_CODE_KEY } from "../constants";
6
+ import { getLDMetaAttr } from "../engine/tools/helper";
6
7
 
7
8
  // icon地址
8
9
  export var ICONLIST_URL = '/public/icons/iconfont.json';
@@ -46,8 +47,10 @@ export function fetchDesignModlueData(_x2, _x3) {
46
47
  }
47
48
 
48
49
  /**
49
- * 获取非design时模块数据
50
- * @param {{moduleCode: string}} params
50
+ * 获取preview时模块数据
51
+ * @param {*} dmCode
52
+ * @param {*} params
53
+ * @returns
51
54
  */
52
55
  function _fetchDesignModlueData() {
53
56
  _fetchDesignModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_, params) {
@@ -65,20 +68,20 @@ function _fetchDesignModlueData() {
65
68
  }));
66
69
  return _fetchDesignModlueData.apply(this, arguments);
67
70
  }
68
- export function fetchModlueData(_x4, _x5) {
69
- return _fetchModlueData.apply(this, arguments);
71
+ export function fetchPreviewModlueData(_x4, _x5) {
72
+ return _fetchPreviewModlueData.apply(this, arguments);
70
73
  }
71
74
 
72
75
  /**
73
- * 获取数据模型下的所有数据集
74
- * @param {{ dataModelKey }} params
76
+ * 获取live时模块数据
77
+ * @param {{moduleCode: string}} params
75
78
  */
76
- function _fetchModlueData() {
77
- _fetchModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(dmCode, params) {
79
+ function _fetchPreviewModlueData() {
80
+ _fetchPreviewModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(dmCode, params) {
78
81
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
79
82
  while (1) switch (_context3.prev = _context3.next) {
80
83
  case 0:
81
- return _context3.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModule"), {
84
+ return _context3.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/fetchModuleForPreview"), {
82
85
  params: params
83
86
  }));
84
87
  case 1:
@@ -87,9 +90,33 @@ function _fetchModlueData() {
87
90
  }
88
91
  }, _callee3);
89
92
  }));
93
+ return _fetchPreviewModlueData.apply(this, arguments);
94
+ }
95
+ export function fetchModlueData(_x6, _x7) {
96
+ return _fetchModlueData.apply(this, arguments);
97
+ }
98
+
99
+ /**
100
+ * 获取数据模型下的所有数据集
101
+ * @param {{ dataModelKey }} params
102
+ */
103
+ function _fetchModlueData() {
104
+ _fetchModlueData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(dmCode, params) {
105
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
106
+ while (1) switch (_context4.prev = _context4.next) {
107
+ case 0:
108
+ return _context4.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModule"), {
109
+ params: params
110
+ }));
111
+ case 1:
112
+ case "end":
113
+ return _context4.stop();
114
+ }
115
+ }, _callee4);
116
+ }));
90
117
  return _fetchModlueData.apply(this, arguments);
91
118
  }
92
- export function fetchAllDataset(_x6) {
119
+ export function fetchAllDataset(_x8) {
93
120
  return _fetchAllDataset.apply(this, arguments);
94
121
  }
95
122
 
@@ -98,22 +125,22 @@ export function fetchAllDataset(_x6) {
98
125
  * @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
99
126
  */
100
127
  function _fetchAllDataset() {
101
- _fetchAllDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(params) {
102
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
103
- while (1) switch (_context4.prev = _context4.next) {
128
+ _fetchAllDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) {
129
+ return _regeneratorRuntime().wrap(function _callee5$(_context5) {
130
+ while (1) switch (_context5.prev = _context5.next) {
104
131
  case 0:
105
- return _context4.abrupt("return", request("".concat(API_PREFIX_PAGE, "/option/noAuthGetDataset"), {
132
+ return _context5.abrupt("return", request("".concat(API_PREFIX_PAGE, "/option/noAuthGetDataset"), {
106
133
  params: params
107
134
  }));
108
135
  case 1:
109
136
  case "end":
110
- return _context4.stop();
137
+ return _context5.stop();
111
138
  }
112
- }, _callee4);
139
+ }, _callee5);
113
140
  }));
114
141
  return _fetchAllDataset.apply(this, arguments);
115
142
  }
116
- export function fetchAddDataset(_x7) {
143
+ export function fetchAddDataset(_x9) {
117
144
  return _fetchAddDataset.apply(this, arguments);
118
145
  }
119
146
 
@@ -122,23 +149,23 @@ export function fetchAddDataset(_x7) {
122
149
  * @param {{datasetUid}} params
123
150
  */
124
151
  function _fetchAddDataset() {
125
- _fetchAddDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(data) {
126
- return _regeneratorRuntime().wrap(function _callee5$(_context5) {
127
- while (1) switch (_context5.prev = _context5.next) {
152
+ _fetchAddDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(data) {
153
+ return _regeneratorRuntime().wrap(function _callee6$(_context6) {
154
+ while (1) switch (_context6.prev = _context6.next) {
128
155
  case 0:
129
- return _context5.abrupt("return", request("".concat(API_RREFIX_DATASET, "/add"), {
156
+ return _context6.abrupt("return", request("".concat(API_RREFIX_DATASET, "/add"), {
130
157
  data: data,
131
158
  method: 'POST'
132
159
  }));
133
160
  case 1:
134
161
  case "end":
135
- return _context5.stop();
162
+ return _context6.stop();
136
163
  }
137
- }, _callee5);
164
+ }, _callee6);
138
165
  }));
139
166
  return _fetchAddDataset.apply(this, arguments);
140
167
  }
141
- export function fetchFieldsByDataset(_x8) {
168
+ export function fetchFieldsByDataset(_x10) {
142
169
  return _fetchFieldsByDataset.apply(this, arguments);
143
170
  }
144
171
 
@@ -148,22 +175,22 @@ export function fetchFieldsByDataset(_x8) {
148
175
  * @returns
149
176
  */
150
177
  function _fetchFieldsByDataset() {
151
- _fetchFieldsByDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(params) {
152
- return _regeneratorRuntime().wrap(function _callee6$(_context6) {
153
- while (1) switch (_context6.prev = _context6.next) {
178
+ _fetchFieldsByDataset = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(params) {
179
+ return _regeneratorRuntime().wrap(function _callee7$(_context7) {
180
+ while (1) switch (_context7.prev = _context7.next) {
154
181
  case 0:
155
- return _context6.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAll"), {
182
+ return _context7.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAll"), {
156
183
  params: params
157
184
  }));
158
185
  case 1:
159
186
  case "end":
160
- return _context6.stop();
187
+ return _context7.stop();
161
188
  }
162
- }, _callee6);
189
+ }, _callee7);
163
190
  }));
164
191
  return _fetchFieldsByDataset.apply(this, arguments);
165
192
  }
166
- export function fetchFieldCondition(_x9) {
193
+ export function fetchFieldCondition(_x11) {
167
194
  return _fetchFieldCondition.apply(this, arguments);
168
195
  }
169
196
 
@@ -172,22 +199,22 @@ export function fetchFieldCondition(_x9) {
172
199
  * @param {{moduleId,datasetId,moduleFieldId}} params
173
200
  */
174
201
  function _fetchFieldCondition() {
175
- _fetchFieldCondition = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(params) {
176
- return _regeneratorRuntime().wrap(function _callee7$(_context7) {
177
- while (1) switch (_context7.prev = _context7.next) {
202
+ _fetchFieldCondition = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(params) {
203
+ return _regeneratorRuntime().wrap(function _callee8$(_context8) {
204
+ while (1) switch (_context8.prev = _context8.next) {
178
205
  case 0:
179
- return _context7.abrupt("return", request("".concat(API_PREFIX_PAGE, "/readFieldCondition"), {
206
+ return _context8.abrupt("return", request("".concat(API_PREFIX_PAGE, "/readFieldCondition"), {
180
207
  params: params
181
208
  }));
182
209
  case 1:
183
210
  case "end":
184
- return _context7.stop();
211
+ return _context8.stop();
185
212
  }
186
- }, _callee7);
213
+ }, _callee8);
187
214
  }));
188
215
  return _fetchFieldCondition.apply(this, arguments);
189
216
  }
190
- export function fetchUpdateTitleField(_x10) {
217
+ export function fetchUpdateTitleField(_x12) {
191
218
  return _fetchUpdateTitleField.apply(this, arguments);
192
219
  }
193
220
 
@@ -197,23 +224,23 @@ export function fetchUpdateTitleField(_x10) {
197
224
  * @returns
198
225
  */
199
226
  function _fetchUpdateTitleField() {
200
- _fetchUpdateTitleField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(data) {
201
- return _regeneratorRuntime().wrap(function _callee8$(_context8) {
202
- while (1) switch (_context8.prev = _context8.next) {
227
+ _fetchUpdateTitleField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(data) {
228
+ return _regeneratorRuntime().wrap(function _callee9$(_context9) {
229
+ while (1) switch (_context9.prev = _context9.next) {
203
230
  case 0:
204
- return _context8.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateTitleField"), {
231
+ return _context9.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateTitleField"), {
205
232
  method: 'POST',
206
233
  data: data
207
234
  }));
208
235
  case 1:
209
236
  case "end":
210
- return _context8.stop();
237
+ return _context9.stop();
211
238
  }
212
- }, _callee8);
239
+ }, _callee9);
213
240
  }));
214
241
  return _fetchUpdateTitleField.apply(this, arguments);
215
242
  }
216
- export function fetchUpdateUniqueField(_x11) {
243
+ export function fetchUpdateUniqueField(_x13) {
217
244
  return _fetchUpdateUniqueField.apply(this, arguments);
218
245
  }
219
246
 
@@ -222,23 +249,23 @@ export function fetchUpdateUniqueField(_x11) {
222
249
  * @param {*} data
223
250
  */
224
251
  function _fetchUpdateUniqueField() {
225
- _fetchUpdateUniqueField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(data) {
226
- return _regeneratorRuntime().wrap(function _callee9$(_context9) {
227
- while (1) switch (_context9.prev = _context9.next) {
252
+ _fetchUpdateUniqueField = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(data) {
253
+ return _regeneratorRuntime().wrap(function _callee10$(_context10) {
254
+ while (1) switch (_context10.prev = _context10.next) {
228
255
  case 0:
229
- return _context9.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateUniqueField"), {
256
+ return _context10.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateUniqueField"), {
230
257
  method: 'POST',
231
258
  data: data
232
259
  }));
233
260
  case 1:
234
261
  case "end":
235
- return _context9.stop();
262
+ return _context10.stop();
236
263
  }
237
- }, _callee9);
264
+ }, _callee10);
238
265
  }));
239
266
  return _fetchUpdateUniqueField.apply(this, arguments);
240
267
  }
241
- export function fetchAddFieldAttrs(_x12) {
268
+ export function fetchAddFieldAttrs(_x14) {
242
269
  return _fetchAddFieldAttrs.apply(this, arguments);
243
270
  }
244
271
 
@@ -247,23 +274,23 @@ export function fetchAddFieldAttrs(_x12) {
247
274
  * @param {*} data
248
275
  */
249
276
  function _fetchAddFieldAttrs() {
250
- _fetchAddFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(data) {
251
- return _regeneratorRuntime().wrap(function _callee10$(_context10) {
252
- while (1) switch (_context10.prev = _context10.next) {
277
+ _fetchAddFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(data) {
278
+ return _regeneratorRuntime().wrap(function _callee11$(_context11) {
279
+ while (1) switch (_context11.prev = _context11.next) {
253
280
  case 0:
254
- return _context10.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/addAttributes"), {
281
+ return _context11.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/addAttributes"), {
255
282
  data: data,
256
283
  method: 'POST'
257
284
  }));
258
285
  case 1:
259
286
  case "end":
260
- return _context10.stop();
287
+ return _context11.stop();
261
288
  }
262
- }, _callee10);
289
+ }, _callee11);
263
290
  }));
264
291
  return _fetchAddFieldAttrs.apply(this, arguments);
265
292
  }
266
- export function fetchDelAttrs(_x13) {
293
+ export function fetchDelAttrs(_x15) {
267
294
  return _fetchDelAttrs.apply(this, arguments);
268
295
  }
269
296
 
@@ -272,23 +299,23 @@ export function fetchDelAttrs(_x13) {
272
299
  * @param {*} params
273
300
  */
274
301
  function _fetchDelAttrs() {
275
- _fetchDelAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(data) {
276
- return _regeneratorRuntime().wrap(function _callee11$(_context11) {
277
- while (1) switch (_context11.prev = _context11.next) {
302
+ _fetchDelAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(data) {
303
+ return _regeneratorRuntime().wrap(function _callee12$(_context12) {
304
+ while (1) switch (_context12.prev = _context12.next) {
278
305
  case 0:
279
- return _context11.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/deleteAttributes"), {
306
+ return _context12.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/deleteAttributes"), {
280
307
  data: data,
281
308
  method: 'POST'
282
309
  }));
283
310
  case 1:
284
311
  case "end":
285
- return _context11.stop();
312
+ return _context12.stop();
286
313
  }
287
- }, _callee11);
314
+ }, _callee12);
288
315
  }));
289
316
  return _fetchDelAttrs.apply(this, arguments);
290
317
  }
291
- export function fetchUpdateFieldAttrs(_x14) {
318
+ export function fetchUpdateFieldAttrs(_x16) {
292
319
  return _fetchUpdateFieldAttrs.apply(this, arguments);
293
320
  }
294
321
 
@@ -298,23 +325,23 @@ export function fetchUpdateFieldAttrs(_x14) {
298
325
  * @returns
299
326
  */
300
327
  function _fetchUpdateFieldAttrs() {
301
- _fetchUpdateFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(data) {
302
- return _regeneratorRuntime().wrap(function _callee12$(_context12) {
303
- while (1) switch (_context12.prev = _context12.next) {
328
+ _fetchUpdateFieldAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(data) {
329
+ return _regeneratorRuntime().wrap(function _callee13$(_context13) {
330
+ while (1) switch (_context13.prev = _context13.next) {
304
331
  case 0:
305
- return _context12.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateAttributes"), {
332
+ return _context13.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/updateAttributes"), {
306
333
  data: data,
307
334
  method: 'POST'
308
335
  }));
309
336
  case 1:
310
337
  case "end":
311
- return _context12.stop();
338
+ return _context13.stop();
312
339
  }
313
- }, _callee12);
340
+ }, _callee13);
314
341
  }));
315
342
  return _fetchUpdateFieldAttrs.apply(this, arguments);
316
343
  }
317
- export function fetchAttrs(_x15) {
344
+ export function fetchAttrs(_x17) {
318
345
  return _fetchAttrs.apply(this, arguments);
319
346
  }
320
347
 
@@ -324,22 +351,22 @@ export function fetchAttrs(_x15) {
324
351
  * @returns
325
352
  */
326
353
  function _fetchAttrs() {
327
- _fetchAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(params) {
328
- return _regeneratorRuntime().wrap(function _callee13$(_context13) {
329
- while (1) switch (_context13.prev = _context13.next) {
354
+ _fetchAttrs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(params) {
355
+ return _regeneratorRuntime().wrap(function _callee14$(_context14) {
356
+ while (1) switch (_context14.prev = _context14.next) {
330
357
  case 0:
331
- return _context13.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAttributes"), {
358
+ return _context14.abrupt("return", request("".concat(API_RREFIX_DATASET, "/field/readAttributes"), {
332
359
  params: params
333
360
  }));
334
361
  case 1:
335
362
  case "end":
336
- return _context13.stop();
363
+ return _context14.stop();
337
364
  }
338
- }, _callee13);
365
+ }, _callee14);
339
366
  }));
340
367
  return _fetchAttrs.apply(this, arguments);
341
368
  }
342
- export function fetchAllBehavior(_x16) {
369
+ export function fetchAllBehavior(_x18) {
343
370
  return _fetchAllBehavior.apply(this, arguments);
344
371
  }
345
372
 
@@ -349,51 +376,91 @@ export function fetchAllBehavior(_x16) {
349
376
  * @returns
350
377
  */
351
378
  function _fetchAllBehavior() {
352
- _fetchAllBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(params) {
353
- return _regeneratorRuntime().wrap(function _callee14$(_context14) {
354
- while (1) switch (_context14.prev = _context14.next) {
379
+ _fetchAllBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(params) {
380
+ return _regeneratorRuntime().wrap(function _callee15$(_context15) {
381
+ while (1) switch (_context15.prev = _context15.next) {
355
382
  case 0:
356
- return _context14.abrupt("return", request("".concat(API_PREFIX_MODULE, "/behavior/readAll"), {
383
+ return _context15.abrupt("return", request("".concat(API_PREFIX_MODULE, "/behavior/readAll"), {
357
384
  params: params
358
385
  }));
359
386
  case 1:
360
387
  case "end":
361
- return _context14.stop();
388
+ return _context15.stop();
362
389
  }
363
- }, _callee14);
390
+ }, _callee15);
364
391
  }));
365
392
  return _fetchAllBehavior.apply(this, arguments);
366
393
  }
367
- export function fetchAllSerials(_x17) {
394
+ export function fetchAllSerials(_x19) {
368
395
  return _fetchAllSerials.apply(this, arguments);
369
396
  }
397
+
398
+ /**
399
+ * 读取导入导出数据源
400
+ * @param {{moduleCode, behaviorMode:[IMPORT, EXPORT]}} params
401
+ * @returns
402
+ */
370
403
  function _fetchAllSerials() {
371
- _fetchAllSerials = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(params) {
372
- return _regeneratorRuntime().wrap(function _callee15$(_context15) {
373
- while (1) switch (_context15.prev = _context15.next) {
404
+ _fetchAllSerials = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(params) {
405
+ return _regeneratorRuntime().wrap(function _callee16$(_context16) {
406
+ while (1) switch (_context16.prev = _context16.next) {
374
407
  case 0:
375
- return _context15.abrupt("return", request("".concat(API_PREFIX_MODULE, "/Serials/readAll"), {
408
+ return _context16.abrupt("return", request("".concat(API_PREFIX_MODULE, "/Serials/readAll"), {
376
409
  params: params
377
410
  }));
378
411
  case 1:
379
412
  case "end":
380
- return _context15.stop();
413
+ return _context16.stop();
381
414
  }
382
- }, _callee15);
415
+ }, _callee16);
383
416
  }));
384
417
  return _fetchAllSerials.apply(this, arguments);
385
418
  }
386
- export function fetchCallBehavior(_x18, _x19) {
419
+ export function fetchAllBehaviorEx(_x20) {
420
+ return _fetchAllBehaviorEx.apply(this, arguments);
421
+ }
422
+ function _fetchAllBehaviorEx() {
423
+ _fetchAllBehaviorEx = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(params) {
424
+ return _regeneratorRuntime().wrap(function _callee17$(_context17) {
425
+ while (1) switch (_context17.prev = _context17.next) {
426
+ case 0:
427
+ return _context17.abrupt("return", request("".concat(API_PREFIX_PAGE, "/option/noAuthGetBehavior"), {
428
+ params: params
429
+ }));
430
+ case 1:
431
+ case "end":
432
+ return _context17.stop();
433
+ }
434
+ }, _callee17);
435
+ }));
436
+ return _fetchAllBehaviorEx.apply(this, arguments);
437
+ }
438
+ export function getBehaviorUrl() {
439
+ var mdCode = getLDMetaAttr('dataModelKey');
440
+ return "".concat(api.API_HOST, "/").concat(mdCode, "/to/behavior/call");
441
+ }
442
+
443
+ /**
444
+ * 执行行为
445
+ * @param {*} params
446
+ * @param {*} data
447
+ * @returns
448
+ */
449
+ export function fetchCallBehavior(_x21, _x22) {
387
450
  return _fetchCallBehavior.apply(this, arguments);
388
451
  }
452
+
453
+ /**
454
+ * 清除当前模块缓存
455
+ * @param {{moduleCode}} params
456
+ * @returns
457
+ */
389
458
  function _fetchCallBehavior() {
390
- _fetchCallBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(params, data) {
391
- var mdCode;
392
- return _regeneratorRuntime().wrap(function _callee16$(_context16) {
393
- while (1) switch (_context16.prev = _context16.next) {
459
+ _fetchCallBehavior = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(params, data) {
460
+ return _regeneratorRuntime().wrap(function _callee18$(_context18) {
461
+ while (1) switch (_context18.prev = _context18.next) {
394
462
  case 0:
395
- mdCode = window[DATA_MODEL_CODE_KEY];
396
- return _context16.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/to/behavior/call"), {
463
+ return _context18.abrupt("return", request(getBehaviorUrl(), {
397
464
  method: 'POST',
398
465
  data: data,
399
466
  params: params,
@@ -401,11 +468,194 @@ function _fetchCallBehavior() {
401
468
  'Content-Type': 'application/json;charset=UTF-8'
402
469
  }
403
470
  }));
404
- case 2:
471
+ case 1:
405
472
  case "end":
406
- return _context16.stop();
473
+ return _context18.stop();
407
474
  }
408
- }, _callee16);
475
+ }, _callee18);
409
476
  }));
410
477
  return _fetchCallBehavior.apply(this, arguments);
478
+ }
479
+ export function fetchClearCache(_x23) {
480
+ return _fetchClearCache.apply(this, arguments);
481
+ }
482
+
483
+ /**
484
+ * 更新页面配置数据
485
+ * @param {*} data
486
+ * @returns
487
+ */
488
+ function _fetchClearCache() {
489
+ _fetchClearCache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
490
+ return _regeneratorRuntime().wrap(function _callee19$(_context19) {
491
+ while (1) switch (_context19.prev = _context19.next) {
492
+ case 0:
493
+ return _context19.abrupt("return", request("".concat(api.LUCKDA_HOST, "/cache/manage/noAuthModuleConfigClear"), {
494
+ params: params
495
+ }));
496
+ case 1:
497
+ case "end":
498
+ return _context19.stop();
499
+ }
500
+ }, _callee19);
501
+ }));
502
+ return _fetchClearCache.apply(this, arguments);
503
+ }
504
+ export function fetchUpdatePageData(_x24) {
505
+ return _fetchUpdatePageData.apply(this, arguments);
506
+ }
507
+
508
+ /**
509
+ * 获取数据字典
510
+ * @param {{snamealias}} params
511
+ * @returns
512
+ */
513
+ function _fetchUpdatePageData() {
514
+ _fetchUpdatePageData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(data) {
515
+ return _regeneratorRuntime().wrap(function _callee20$(_context20) {
516
+ while (1) switch (_context20.prev = _context20.next) {
517
+ case 0:
518
+ return _context20.abrupt("return", request("".concat(API_PREFIX_PAGE, "/data/update"), {
519
+ method: 'POST',
520
+ data: data
521
+ }));
522
+ case 1:
523
+ case "end":
524
+ return _context20.stop();
525
+ }
526
+ }, _callee20);
527
+ }));
528
+ return _fetchUpdatePageData.apply(this, arguments);
529
+ }
530
+ export function fetchDataDic(_x25) {
531
+ return _fetchDataDic.apply(this, arguments);
532
+ }
533
+
534
+ /**
535
+ * 导出excel
536
+ * @param {*} data
537
+ * @returns
538
+ */
539
+ function _fetchDataDic() {
540
+ _fetchDataDic = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(params) {
541
+ return _regeneratorRuntime().wrap(function _callee21$(_context21) {
542
+ while (1) switch (_context21.prev = _context21.next) {
543
+ case 0:
544
+ return _context21.abrupt("return", request("".concat(api.BASE_HOST, "/datadic/sysDatadic/noAuthReadAll"), {
545
+ params: params
546
+ }));
547
+ case 1:
548
+ case "end":
549
+ return _context21.stop();
550
+ }
551
+ }, _callee21);
552
+ }));
553
+ return _fetchDataDic.apply(this, arguments);
554
+ }
555
+ export function exportExcel(_x26, _x27) {
556
+ return _exportExcel.apply(this, arguments);
557
+ }
558
+
559
+ /**
560
+ * 导入
561
+ * @param {*} params, data
562
+ * @returns
563
+ */
564
+ function _exportExcel() {
565
+ _exportExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(params, data) {
566
+ var mdCode, FUNC_NAME;
567
+ return _regeneratorRuntime().wrap(function _callee22$(_context22) {
568
+ while (1) switch (_context22.prev = _context22.next) {
569
+ case 0:
570
+ mdCode = getLDMetaAttr('dataModelKey');
571
+ FUNC_NAME = params;
572
+ return _context22.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthExport").concat(FUNC_NAME), {
573
+ method: 'POST',
574
+ data: _objectSpread(_objectSpread({}, data), {}, {
575
+ gatewayUrl: "".concat(window.location.origin).concat(api.API_HOST)
576
+ })
577
+ }));
578
+ case 3:
579
+ case "end":
580
+ return _context22.stop();
581
+ }
582
+ }, _callee22);
583
+ }));
584
+ return _exportExcel.apply(this, arguments);
585
+ }
586
+ export function uploadTemplate(_x28, _x29) {
587
+ return _uploadTemplate.apply(this, arguments);
588
+ }
589
+
590
+ // var successCount = 10;
591
+ // 获取导入进度数据
592
+ function _uploadTemplate() {
593
+ _uploadTemplate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params, data) {
594
+ var mdCode, FUNC_NAME;
595
+ return _regeneratorRuntime().wrap(function _callee23$(_context23) {
596
+ while (1) switch (_context23.prev = _context23.next) {
597
+ case 0:
598
+ mdCode = getLDMetaAttr('dataModelKey');
599
+ FUNC_NAME = params;
600
+ return _context23.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthImport").concat(FUNC_NAME), {
601
+ method: 'POST',
602
+ data: data
603
+ }));
604
+ case 3:
605
+ case "end":
606
+ return _context23.stop();
607
+ }
608
+ }, _callee23);
609
+ }));
610
+ return _uploadTemplate.apply(this, arguments);
611
+ }
612
+ export function getFindexcelstate(_x30, _x31) {
613
+ return _getFindexcelstate.apply(this, arguments);
614
+ }
615
+ function _getFindexcelstate() {
616
+ _getFindexcelstate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(params, data) {
617
+ var mdCode, FUNC_NAME;
618
+ return _regeneratorRuntime().wrap(function _callee24$(_context24) {
619
+ while (1) switch (_context24.prev = _context24.next) {
620
+ case 0:
621
+ mdCode = getLDMetaAttr('dataModelKey');
622
+ FUNC_NAME = params;
623
+ return _context24.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetProgress").concat(FUNC_NAME), {
624
+ method: 'POST',
625
+ data: _objectSpread(_objectSpread({}, data), {}, {
626
+ gatewayUrl: "".concat(window.location.origin).concat(api.API_HOST)
627
+ })
628
+ }));
629
+ case 3:
630
+ case "end":
631
+ return _context24.stop();
632
+ }
633
+ }, _callee24);
634
+ }));
635
+ return _getFindexcelstate.apply(this, arguments);
636
+ }
637
+ export function noAuthGetTemplateUrl(_x32) {
638
+ return _noAuthGetTemplateUrl.apply(this, arguments);
639
+ }
640
+ function _noAuthGetTemplateUrl() {
641
+ _noAuthGetTemplateUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(params) {
642
+ var mdCode;
643
+ return _regeneratorRuntime().wrap(function _callee25$(_context25) {
644
+ while (1) switch (_context25.prev = _context25.next) {
645
+ case 0:
646
+ mdCode = getLDMetaAttr('dataModelKey');
647
+ return _context25.abrupt("return", request("".concat(api.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetTemplateUrl"), {
648
+ method: 'POST',
649
+ data: {
650
+ gatewayUrl: "".concat(window.location.origin).concat(api.API_HOST),
651
+ templateId: params
652
+ }
653
+ }));
654
+ case 2:
655
+ case "end":
656
+ return _context25.stop();
657
+ }
658
+ }, _callee25);
659
+ }));
660
+ return _noAuthGetTemplateUrl.apply(this, arguments);
411
661
  }