@luck-design-biz/luckda 1.0.2-4 → 1.0.2-6

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 (1069) hide show
  1. package/es/components/Builder/index.js +2 -1
  2. package/es/components/Builder/index.js.map +1 -0
  3. package/es/components/ComplexItem/index.js +2 -1
  4. package/es/components/ComplexItem/index.js.map +1 -0
  5. package/es/components/ComplexItem/service.js +2 -1
  6. package/es/components/ComplexItem/service.js.map +1 -0
  7. package/es/components/IconFont/index.js +2 -1
  8. package/es/components/IconFont/index.js.map +1 -0
  9. package/es/components/LDActions/index.js +2 -1
  10. package/es/components/LDActions/index.js.map +1 -0
  11. package/es/components/LdAutoForm/index.js +2 -1
  12. package/es/components/LdAutoForm/index.js.map +1 -0
  13. package/es/components/LdCard/index.js +2 -1
  14. package/es/components/LdCard/index.js.map +1 -0
  15. package/es/components/LdCard/model.js +2 -1
  16. package/es/components/LdCard/model.js.map +1 -0
  17. package/es/components/LdCom/index.js +2 -1
  18. package/es/components/LdCom/index.js.map +1 -0
  19. package/es/components/LdFormList/index.js +2 -1
  20. package/es/components/LdFormList/index.js.map +1 -0
  21. package/es/components/LdFormList/model.js +2 -1
  22. package/es/components/LdFormList/model.js.map +1 -0
  23. package/es/components/LdGrid/index.js +2 -1
  24. package/es/components/LdGrid/index.js.map +1 -0
  25. package/es/components/LdGrid/model.js +2 -1
  26. package/es/components/LdGrid/model.js.map +1 -0
  27. package/es/components/LdGridForm/index.js +2 -1
  28. package/es/components/LdGridForm/index.js.map +1 -0
  29. package/es/components/LdInfoPanel/index.js +2 -1
  30. package/es/components/LdInfoPanel/index.js.map +1 -0
  31. package/es/components/LdPop/index.js +2 -1
  32. package/es/components/LdPop/index.js.map +1 -0
  33. package/es/components/LdTree/index.js +2 -1
  34. package/es/components/LdTree/index.js.map +1 -0
  35. package/es/helper/FromItems.js +2 -1
  36. package/es/helper/FromItems.js.map +1 -0
  37. package/es/helper/action.js +2 -1
  38. package/es/helper/action.js.map +1 -0
  39. package/es/helper/form.js +2 -1
  40. package/es/helper/form.js.map +1 -0
  41. package/es/helper/ldBuilder.js +2 -1
  42. package/es/helper/ldBuilder.js.map +1 -0
  43. package/es/helper/ldComBuild.js +2 -1
  44. package/es/helper/ldComBuild.js.map +1 -0
  45. package/es/helper/props_config.js +2 -1
  46. package/es/helper/props_config.js.map +1 -0
  47. package/es/index.js +2 -1
  48. package/es/index.js.map +1 -0
  49. package/es/locales/zh-CN.js +2 -1
  50. package/es/locales/zh-CN.js.map +1 -0
  51. package/es/lowcode/constants/api-url.js +2 -1
  52. package/es/lowcode/constants/api-url.js.map +1 -0
  53. package/es/lowcode/constants/event-topics.js +2 -1
  54. package/es/lowcode/constants/event-topics.js.map +1 -0
  55. package/es/lowcode/constants/index.js +2 -1
  56. package/es/lowcode/constants/index.js.map +1 -0
  57. package/es/lowcode/engine/factory/DataFactory.js +2 -1
  58. package/es/lowcode/engine/factory/DataFactory.js.map +1 -0
  59. package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +2 -1
  60. package/es/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js.map +1 -0
  61. package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +2 -1
  62. package/es/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js.map +1 -0
  63. package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +2 -1
  64. package/es/lowcode/engine/factory/panel-item-factory/GroupStrategy.js.map +1 -0
  65. package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +2 -1
  66. package/es/lowcode/engine/factory/panel-item-factory/NumberStrategy.js.map +1 -0
  67. package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +2 -1
  68. package/es/lowcode/engine/factory/panel-item-factory/RadioStrategy.js.map +1 -0
  69. package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +2 -1
  70. package/es/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js.map +1 -0
  71. package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +2 -1
  72. package/es/lowcode/engine/factory/panel-item-factory/SelectStrategy.js.map +1 -0
  73. package/es/lowcode/engine/factory/panel-item-factory/Strategy.js +2 -1
  74. package/es/lowcode/engine/factory/panel-item-factory/Strategy.js.map +1 -0
  75. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +2 -1
  76. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js.map +1 -0
  77. package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +2 -1
  78. package/es/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js.map +1 -0
  79. package/es/lowcode/engine/factory/panel-item-factory/index.js +2 -1
  80. package/es/lowcode/engine/factory/panel-item-factory/index.js.map +1 -0
  81. package/es/lowcode/engine/launcher.js +2 -1
  82. package/es/lowcode/engine/launcher.js.map +1 -0
  83. package/es/lowcode/engine/provider/ContextProvider/index.js +2 -1
  84. package/es/lowcode/engine/provider/ContextProvider/index.js.map +1 -0
  85. package/es/lowcode/engine/provider/ContextProvider/router.js +2 -1
  86. package/es/lowcode/engine/provider/ContextProvider/router.js.map +1 -0
  87. package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js +2 -1
  88. package/es/lowcode/engine/provider/ContextProvider/usePageDataStore.js.map +1 -0
  89. package/es/lowcode/engine/provider/ContextProvider/usePageVar.js +2 -1
  90. package/es/lowcode/engine/provider/ContextProvider/usePageVar.js.map +1 -0
  91. package/es/lowcode/engine/provider/ContextProvider/useTodo.js +2 -1
  92. package/es/lowcode/engine/provider/ContextProvider/useTodo.js.map +1 -0
  93. package/es/lowcode/engine/provider/ContextProvider/utils.js +2 -1
  94. package/es/lowcode/engine/provider/ContextProvider/utils.js.map +1 -0
  95. package/es/lowcode/engine/provider/EventBusProvider.js +2 -1
  96. package/es/lowcode/engine/provider/EventBusProvider.js.map +1 -0
  97. package/es/lowcode/engine/provider/RemoteSourceProvider.js +2 -1
  98. package/es/lowcode/engine/provider/RemoteSourceProvider.js.map +1 -0
  99. package/es/lowcode/engine/tools/dataProcess.js +2 -1
  100. package/es/lowcode/engine/tools/dataProcess.js.map +1 -0
  101. package/es/lowcode/engine/tools/diff.js +2 -1
  102. package/es/lowcode/engine/tools/diff.js.map +1 -0
  103. package/es/lowcode/engine/tools/helper.js +2 -1
  104. package/es/lowcode/engine/tools/helper.js.map +1 -0
  105. package/es/lowcode/engine/tools/initDS.js +2 -1
  106. package/es/lowcode/engine/tools/initDS.js.map +1 -0
  107. package/es/lowcode/engine/tools/useCanvasRender.js +2 -1
  108. package/es/lowcode/engine/tools/useCanvasRender.js.map +1 -0
  109. package/es/lowcode/engine/tools/useCombinedRefs.js +2 -1
  110. package/es/lowcode/engine/tools/useCombinedRefs.js.map +1 -0
  111. package/es/lowcode/engine/tools/usePromiseState.js +2 -1
  112. package/es/lowcode/engine/tools/usePromiseState.js.map +1 -0
  113. package/es/lowcode/index.js +2 -1
  114. package/es/lowcode/index.js.map +1 -0
  115. package/es/lowcode/painter/Components.js +2 -1
  116. package/es/lowcode/painter/Components.js.map +1 -0
  117. package/es/lowcode/painter/Design.js +2 -1
  118. package/es/lowcode/painter/Design.js.map +1 -0
  119. package/es/lowcode/painter/DesignOperator.js +2 -1
  120. package/es/lowcode/painter/DesignOperator.js.map +1 -0
  121. package/es/lowcode/painter/DesignToolbar.js +2 -1
  122. package/es/lowcode/painter/DesignToolbar.js.map +1 -0
  123. package/es/lowcode/painter/I18n.js +2 -1
  124. package/es/lowcode/painter/I18n.js.map +1 -0
  125. package/es/lowcode/painter/Outline.js +2 -1
  126. package/es/lowcode/painter/Outline.js.map +1 -0
  127. package/es/lowcode/painter/Panel.js +2 -1
  128. package/es/lowcode/painter/Panel.js.map +1 -0
  129. package/es/lowcode/painter/Ribbon.js +2 -1
  130. package/es/lowcode/painter/Ribbon.js.map +1 -0
  131. package/es/lowcode/painter/components/ActionBindModal.js +2 -1
  132. package/es/lowcode/painter/components/ActionBindModal.js.map +1 -0
  133. package/es/lowcode/painter/components/AdvancePanel.js +2 -1
  134. package/es/lowcode/painter/components/AdvancePanel.js.map +1 -0
  135. package/es/lowcode/painter/components/AttrsPanel.js +2 -1
  136. package/es/lowcode/painter/components/AttrsPanel.js.map +1 -0
  137. package/es/lowcode/painter/components/Collapse.js +2 -1
  138. package/es/lowcode/painter/components/Collapse.js.map +1 -0
  139. package/es/lowcode/painter/components/ColorInput.js +2 -1
  140. package/es/lowcode/painter/components/ColorInput.js.map +1 -0
  141. package/es/lowcode/painter/components/DragDrop/DragDropContext.js +2 -1
  142. package/es/lowcode/painter/components/DragDrop/DragDropContext.js.map +1 -0
  143. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js +2 -1
  144. package/es/lowcode/painter/components/DragDrop/DragDropWrapper.js.map +1 -0
  145. package/es/lowcode/painter/components/DragDrop/Overlay.js +2 -1
  146. package/es/lowcode/painter/components/DragDrop/Overlay.js.map +1 -0
  147. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +2 -1
  148. package/es/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js.map +1 -0
  149. package/es/lowcode/painter/components/FieldSelector.js +2 -1
  150. package/es/lowcode/painter/components/FieldSelector.js.map +1 -0
  151. package/es/lowcode/painter/components/ListEditor.js +2 -1
  152. package/es/lowcode/painter/components/ListEditor.js.map +1 -0
  153. package/es/lowcode/painter/components/NumberInput.js +2 -1
  154. package/es/lowcode/painter/components/NumberInput.js.map +1 -0
  155. package/es/lowcode/painter/components/PanelItem.js +2 -1
  156. package/es/lowcode/painter/components/PanelItem.js.map +1 -0
  157. package/es/lowcode/painter/components/PopConfirm.js +2 -1
  158. package/es/lowcode/painter/components/PopConfirm.js.map +1 -0
  159. package/es/lowcode/painter/components/PopForm.js +2 -1
  160. package/es/lowcode/painter/components/PopForm.js.map +1 -0
  161. package/es/lowcode/painter/components/PreviewIframe.js +2 -1
  162. package/es/lowcode/painter/components/PreviewIframe.js.map +1 -0
  163. package/es/lowcode/painter/components/RuleInput.js +2 -1
  164. package/es/lowcode/painter/components/RuleInput.js.map +1 -0
  165. package/es/lowcode/painter/components/SortBox.js +2 -1
  166. package/es/lowcode/painter/components/SortBox.js.map +1 -0
  167. package/es/lowcode/painter/components/TipIcon.js +2 -1
  168. package/es/lowcode/painter/components/TipIcon.js.map +1 -0
  169. package/es/lowcode/painter/components/TreeEditor.js +2 -1
  170. package/es/lowcode/painter/components/TreeEditor.js.map +1 -0
  171. package/es/lowcode/painter/components/VarEditor.js +2 -1
  172. package/es/lowcode/painter/components/VarEditor.js.map +1 -0
  173. package/es/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
  174. package/es/lowcode/painter/components/code-editor/BaseEditor.js.map +1 -0
  175. package/es/lowcode/painter/components/code-editor/CssEditor.js +2 -1
  176. package/es/lowcode/painter/components/code-editor/CssEditor.js.map +1 -0
  177. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js +2 -1
  178. package/es/lowcode/painter/components/code-editor/FullScreenEditor.js.map +1 -0
  179. package/es/lowcode/painter/components/code-editor/JSEditor.js +2 -1
  180. package/es/lowcode/painter/components/code-editor/JSEditor.js.map +1 -0
  181. package/es/lowcode/painter/components/code-editor/JsonEditor.js +2 -1
  182. package/es/lowcode/painter/components/code-editor/JsonEditor.js.map +1 -0
  183. package/es/lowcode/painter/components/code-editor/VisionEditor.js +2 -1
  184. package/es/lowcode/painter/components/code-editor/VisionEditor.js.map +1 -0
  185. package/es/lowcode/painter/components/code-editor/index.js +2 -1
  186. package/es/lowcode/painter/components/code-editor/index.js.map +1 -0
  187. package/es/lowcode/painter/components/field-setting/BatchSetting.js +2 -1
  188. package/es/lowcode/painter/components/field-setting/BatchSetting.js.map +1 -0
  189. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js +2 -1
  190. package/es/lowcode/painter/components/field-setting/CheckFrontRules.js.map +1 -0
  191. package/es/lowcode/painter/components/field-setting/CheckRules.js +2 -1
  192. package/es/lowcode/painter/components/field-setting/CheckRules.js.map +1 -0
  193. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +2 -1
  194. package/es/lowcode/painter/components/field-setting/FieldAttrs.js.map +1 -0
  195. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js +2 -1
  196. package/es/lowcode/painter/components/field-setting/FieldAttrsModal.js.map +1 -0
  197. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js +2 -1
  198. package/es/lowcode/painter/components/field-setting/FieldDefaultValue.js.map +1 -0
  199. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js +2 -1
  200. package/es/lowcode/painter/components/field-setting/FieldRulesModal.js.map +1 -0
  201. package/es/lowcode/painter/components/field-setting/SettingUI.js +2 -1
  202. package/es/lowcode/painter/components/field-setting/SettingUI.js.map +1 -0
  203. package/es/lowcode/painter/components/field-setting/index.js +2 -1
  204. package/es/lowcode/painter/components/field-setting/index.js.map +1 -0
  205. package/es/lowcode/painter/components/field-setting/meta/frontRules.js +2 -1
  206. package/es/lowcode/painter/components/field-setting/meta/frontRules.js.map +1 -0
  207. package/es/lowcode/painter/expect.js +2 -1
  208. package/es/lowcode/painter/expect.js.map +1 -0
  209. package/es/lowcode/painter/index.js +2 -1
  210. package/es/lowcode/painter/index.js.map +1 -0
  211. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js +2 -1
  212. package/es/lowcode/painter/panel-section/ActionsColumnWidth.js.map +1 -0
  213. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +2 -1
  214. package/es/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js.map +1 -0
  215. package/es/lowcode/painter/panel-section/ActionsEditor/index.js +2 -1
  216. package/es/lowcode/painter/panel-section/ActionsEditor/index.js.map +1 -0
  217. package/es/lowcode/painter/panel-section/BlockEditor/index.js +2 -1
  218. package/es/lowcode/painter/panel-section/BlockEditor/index.js.map +1 -0
  219. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +2 -1
  220. package/es/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js.map +1 -0
  221. package/es/lowcode/painter/panel-section/BlocksEditor/index.js +2 -1
  222. package/es/lowcode/painter/panel-section/BlocksEditor/index.js.map +1 -0
  223. package/es/lowcode/painter/panel-section/ButtonType.js +2 -1
  224. package/es/lowcode/painter/panel-section/ButtonType.js.map +1 -0
  225. package/es/lowcode/painter/panel-section/ComplexPop.js +2 -1
  226. package/es/lowcode/painter/panel-section/ComplexPop.js.map +1 -0
  227. package/es/lowcode/painter/panel-section/ComponentSelector.js +2 -1
  228. package/es/lowcode/painter/panel-section/ComponentSelector.js.map +1 -0
  229. package/es/lowcode/painter/panel-section/DataSetSelector.js +2 -1
  230. package/es/lowcode/painter/panel-section/DataSetSelector.js.map +1 -0
  231. package/es/lowcode/painter/panel-section/FieldState.js +2 -1
  232. package/es/lowcode/painter/panel-section/FieldState.js.map +1 -0
  233. package/es/lowcode/painter/panel-section/FieldsSetting.js +2 -1
  234. package/es/lowcode/painter/panel-section/FieldsSetting.js.map +1 -0
  235. package/es/lowcode/painter/panel-section/GroupClassSelector.js +2 -1
  236. package/es/lowcode/painter/panel-section/GroupClassSelector.js.map +1 -0
  237. package/es/lowcode/painter/panel-section/I18nInput.js +2 -1
  238. package/es/lowcode/painter/panel-section/I18nInput.js.map +1 -0
  239. package/es/lowcode/painter/panel-section/Icon.js +2 -1
  240. package/es/lowcode/painter/panel-section/Icon.js.map +1 -0
  241. package/es/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
  242. package/es/lowcode/painter/panel-section/IconConditionSelector.js.map +1 -0
  243. package/es/lowcode/painter/panel-section/IconSelector.js +2 -1
  244. package/es/lowcode/painter/panel-section/IconSelector.js.map +1 -0
  245. package/es/lowcode/painter/panel-section/ImpExp.js +2 -1
  246. package/es/lowcode/painter/panel-section/ImpExp.js.map +1 -0
  247. package/es/lowcode/painter/panel-section/ImpExpAlone.js +2 -1
  248. package/es/lowcode/painter/panel-section/ImpExpAlone.js.map +1 -0
  249. package/es/lowcode/painter/panel-section/JSEditor.js +9 -4
  250. package/es/lowcode/painter/panel-section/JSEditor.js.map +1 -0
  251. package/es/lowcode/painter/panel-section/LayoutRatio.js +2 -1
  252. package/es/lowcode/painter/panel-section/LayoutRatio.js.map +1 -0
  253. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +2 -1
  254. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js.map +1 -0
  255. package/es/lowcode/painter/panel-section/PageVars.js +2 -1
  256. package/es/lowcode/painter/panel-section/PageVars.js.map +1 -0
  257. package/es/lowcode/painter/panel-section/SerialsSelector.js +2 -1
  258. package/es/lowcode/painter/panel-section/SerialsSelector.js.map +1 -0
  259. package/es/lowcode/painter/panel-section/SplitDisplay.js +2 -1
  260. package/es/lowcode/painter/panel-section/SplitDisplay.js.map +1 -0
  261. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -1
  262. package/es/lowcode/painter/panel-section/StylePanel/BackGround.js.map +1 -0
  263. package/es/lowcode/painter/panel-section/StylePanel/Border.js +2 -1
  264. package/es/lowcode/painter/panel-section/StylePanel/Border.js.map +1 -0
  265. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -1
  266. package/es/lowcode/painter/panel-section/StylePanel/BorderRadius.js.map +1 -0
  267. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -1
  268. package/es/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js.map +1 -0
  269. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -1
  270. package/es/lowcode/painter/panel-section/StylePanel/BorderSelector.js.map +1 -0
  271. package/es/lowcode/painter/panel-section/StylePanel/Display.js +2 -1
  272. package/es/lowcode/painter/panel-section/StylePanel/Display.js.map +1 -0
  273. package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +2 -1
  274. package/es/lowcode/painter/panel-section/StylePanel/DisplaySvg.js.map +1 -0
  275. package/es/lowcode/painter/panel-section/StylePanel/Font.js +2 -1
  276. package/es/lowcode/painter/panel-section/StylePanel/Font.js.map +1 -0
  277. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -1
  278. package/es/lowcode/painter/panel-section/StylePanel/FontEditor.js.map +1 -0
  279. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -1
  280. package/es/lowcode/painter/panel-section/StylePanel/GapSelector.js.map +1 -0
  281. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -1
  282. package/es/lowcode/painter/panel-section/StylePanel/HighLightPanel.js.map +1 -0
  283. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -1
  284. package/es/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js.map +1 -0
  285. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -1
  286. package/es/lowcode/painter/panel-section/StylePanel/HightLightSvg.js.map +1 -0
  287. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -1
  288. package/es/lowcode/painter/panel-section/StylePanel/MainPanel.js.map +1 -0
  289. package/es/lowcode/painter/panel-section/StylePanel/Margin.js +2 -1
  290. package/es/lowcode/painter/panel-section/StylePanel/Margin.js.map +1 -0
  291. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -1
  292. package/es/lowcode/painter/panel-section/StylePanel/Opacity.js.map +1 -0
  293. package/es/lowcode/painter/panel-section/StylePanel/Padding.js +2 -1
  294. package/es/lowcode/painter/panel-section/StylePanel/Padding.js.map +1 -0
  295. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -1
  296. package/es/lowcode/painter/panel-section/StylePanel/Pointer.js.map +1 -0
  297. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -1
  298. package/es/lowcode/painter/panel-section/StylePanel/Shadow.js.map +1 -0
  299. package/es/lowcode/painter/panel-section/StylePanel/Size.js +2 -1
  300. package/es/lowcode/painter/panel-section/StylePanel/Size.js.map +1 -0
  301. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -1
  302. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js.map +1 -0
  303. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -1
  304. package/es/lowcode/painter/panel-section/StylePanel/StyleRow.js.map +1 -0
  305. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -1
  306. package/es/lowcode/painter/panel-section/StylePanel/WidthHeight.js.map +1 -0
  307. package/es/lowcode/painter/panel-section/StylePanel/index.js +2 -1
  308. package/es/lowcode/painter/panel-section/StylePanel/index.js.map +1 -0
  309. package/es/lowcode/painter/panel-section/TabItems.js +2 -1
  310. package/es/lowcode/painter/panel-section/TabItems.js.map +1 -0
  311. package/es/lowcode/painter/panel-section/TableTopFilter.js +2 -1
  312. package/es/lowcode/painter/panel-section/TableTopFilter.js.map +1 -0
  313. package/es/lowcode/painter/panel-section/TableZebra.js +2 -1
  314. package/es/lowcode/painter/panel-section/TableZebra.js.map +1 -0
  315. package/es/lowcode/painter/panel-section/TextContent.js +2 -1
  316. package/es/lowcode/painter/panel-section/TextContent.js.map +1 -0
  317. package/es/lowcode/painter/panel-section/TreeRootEditor.js +2 -1
  318. package/es/lowcode/painter/panel-section/TreeRootEditor.js.map +1 -0
  319. package/es/lowcode/painter/panel-section/WidthHeight.js +2 -1
  320. package/es/lowcode/painter/panel-section/WidthHeight.js.map +1 -0
  321. package/es/lowcode/painter/services/I18n.js +2 -1
  322. package/es/lowcode/painter/services/I18n.js.map +1 -0
  323. package/es/lowcode/painter/services/complexPop.js +2 -1
  324. package/es/lowcode/painter/services/complexPop.js.map +1 -0
  325. package/es/lowcode/preview/index.js +2 -1
  326. package/es/lowcode/preview/index.js.map +1 -0
  327. package/es/lowcode/view/Canvas.js +2 -1
  328. package/es/lowcode/view/Canvas.js.map +1 -0
  329. package/es/lowcode/view/ErrorBoundary.js +17 -15
  330. package/es/lowcode/view/ErrorBoundary.js.map +1 -0
  331. package/es/lowcode/view/Loading.js +2 -1
  332. package/es/lowcode/view/Loading.js.map +1 -0
  333. package/es/lowcode/view/Page.js +2 -1
  334. package/es/lowcode/view/Page.js.map +1 -0
  335. package/es/lowcode/view/index.js +2 -1
  336. package/es/lowcode/view/index.js.map +1 -0
  337. package/es/lowcode/view/lc-components/Box/FunctionDesign.js +2 -1
  338. package/es/lowcode/view/lc-components/Box/FunctionDesign.js.map +1 -0
  339. package/es/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
  340. package/es/lowcode/view/lc-components/Box/FunctionLive.js.map +1 -0
  341. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
  342. package/es/lowcode/view/lc-components/Box/FunctionPreview.js.map +1 -0
  343. package/es/lowcode/view/lc-components/Box/index.js +2 -1
  344. package/es/lowcode/view/lc-components/Box/index.js.map +1 -0
  345. package/es/lowcode/view/lc-components/Button/FunctionDesign.js +2 -1
  346. package/es/lowcode/view/lc-components/Button/FunctionDesign.js.map +1 -0
  347. package/es/lowcode/view/lc-components/Button/FunctionLive.js +2 -1
  348. package/es/lowcode/view/lc-components/Button/FunctionLive.js.map +1 -0
  349. package/es/lowcode/view/lc-components/Button/FunctionPreview.js +2 -1
  350. package/es/lowcode/view/lc-components/Button/FunctionPreview.js.map +1 -0
  351. package/es/lowcode/view/lc-components/Button/index.js +2 -1
  352. package/es/lowcode/view/lc-components/Button/index.js.map +1 -0
  353. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
  354. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js.map +1 -0
  355. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
  356. package/es/lowcode/view/lc-components/CardList/FunctionLive.js.map +1 -0
  357. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
  358. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js.map +1 -0
  359. package/es/lowcode/view/lc-components/CardList/index.js +2 -1
  360. package/es/lowcode/view/lc-components/CardList/index.js.map +1 -0
  361. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js +2 -1
  362. package/es/lowcode/view/lc-components/Dialog/FunctionDesign.js.map +1 -0
  363. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
  364. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js.map +1 -0
  365. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
  366. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js.map +1 -0
  367. package/es/lowcode/view/lc-components/Dialog/index.js +2 -1
  368. package/es/lowcode/view/lc-components/Dialog/index.js.map +1 -0
  369. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
  370. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js.map +1 -0
  371. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
  372. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js.map +1 -0
  373. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
  374. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js.map +1 -0
  375. package/es/lowcode/view/lc-components/Drawer/index.js +2 -1
  376. package/es/lowcode/view/lc-components/Drawer/index.js.map +1 -0
  377. package/es/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
  378. package/es/lowcode/view/lc-components/Form/FunctionDesign.js.map +1 -0
  379. package/es/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
  380. package/es/lowcode/view/lc-components/Form/FunctionLive.js.map +1 -0
  381. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +2 -1
  382. package/es/lowcode/view/lc-components/Form/FunctionPreview.js.map +1 -0
  383. package/es/lowcode/view/lc-components/Form/index.js +2 -1
  384. package/es/lowcode/view/lc-components/Form/index.js.map +1 -0
  385. package/es/lowcode/view/lc-components/GroupTree/FunctionDesign.js +2 -1
  386. package/es/lowcode/view/lc-components/GroupTree/FunctionDesign.js.map +1 -0
  387. package/es/lowcode/view/lc-components/GroupTree/FunctionLive.js +2 -1
  388. package/es/lowcode/view/lc-components/GroupTree/FunctionLive.js.map +1 -0
  389. package/es/lowcode/view/lc-components/GroupTree/FunctionPreview.js +2 -1
  390. package/es/lowcode/view/lc-components/GroupTree/FunctionPreview.js.map +1 -0
  391. package/es/lowcode/view/lc-components/GroupTree/index.js +2 -1
  392. package/es/lowcode/view/lc-components/GroupTree/index.js.map +1 -0
  393. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
  394. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js.map +1 -0
  395. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
  396. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js.map +1 -0
  397. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
  398. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js.map +1 -0
  399. package/es/lowcode/view/lc-components/Iframe/index.js +2 -1
  400. package/es/lowcode/view/lc-components/Iframe/index.js.map +1 -0
  401. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +2 -1
  402. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js.map +1 -0
  403. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
  404. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js.map +1 -0
  405. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
  406. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js.map +1 -0
  407. package/es/lowcode/view/lc-components/ImEx/index.js +2 -1
  408. package/es/lowcode/view/lc-components/ImEx/index.js.map +1 -0
  409. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
  410. package/es/lowcode/view/lc-components/Image/FunctionDesign.js.map +1 -0
  411. package/es/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
  412. package/es/lowcode/view/lc-components/Image/FunctionLive.js.map +1 -0
  413. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
  414. package/es/lowcode/view/lc-components/Image/FunctionPreview.js.map +1 -0
  415. package/es/lowcode/view/lc-components/Image/index.js +2 -1
  416. package/es/lowcode/view/lc-components/Image/index.js.map +1 -0
  417. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
  418. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js.map +1 -0
  419. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
  420. package/es/lowcode/view/lc-components/JSX/FunctionLive.js.map +1 -0
  421. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
  422. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js.map +1 -0
  423. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js +7 -8
  424. package/es/lowcode/view/lc-components/JSX/RuntimeComp.js.map +1 -0
  425. package/es/lowcode/view/lc-components/JSX/index.js +2 -1
  426. package/es/lowcode/view/lc-components/JSX/index.js.map +1 -0
  427. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js +2 -1
  428. package/es/lowcode/view/lc-components/Layout/FunctionDesign.js.map +1 -0
  429. package/es/lowcode/view/lc-components/Layout/FunctionLive.js +2 -1
  430. package/es/lowcode/view/lc-components/Layout/FunctionLive.js.map +1 -0
  431. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
  432. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js.map +1 -0
  433. package/es/lowcode/view/lc-components/Layout/index.js +2 -1
  434. package/es/lowcode/view/lc-components/Layout/index.js.map +1 -0
  435. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
  436. package/es/lowcode/view/lc-components/Link/FunctionDesign.js.map +1 -0
  437. package/es/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
  438. package/es/lowcode/view/lc-components/Link/FunctionLive.js.map +1 -0
  439. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
  440. package/es/lowcode/view/lc-components/Link/FunctionPreview.js.map +1 -0
  441. package/es/lowcode/view/lc-components/Link/index.js +2 -1
  442. package/es/lowcode/view/lc-components/Link/index.js.map +1 -0
  443. package/es/lowcode/view/lc-components/PageContent/index.js +2 -1
  444. package/es/lowcode/view/lc-components/PageContent/index.js.map +1 -0
  445. package/es/lowcode/view/lc-components/PageFooter/index.js +2 -1
  446. package/es/lowcode/view/lc-components/PageFooter/index.js.map +1 -0
  447. package/es/lowcode/view/lc-components/PageHeader/index.js +2 -1
  448. package/es/lowcode/view/lc-components/PageHeader/index.js.map +1 -0
  449. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js +2 -1
  450. package/es/lowcode/view/lc-components/PageLayout/FunctionDesign.js.map +1 -0
  451. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js +2 -1
  452. package/es/lowcode/view/lc-components/PageLayout/FunctionLive.js.map +1 -0
  453. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js +2 -1
  454. package/es/lowcode/view/lc-components/PageLayout/FunctionPreview.js.map +1 -0
  455. package/es/lowcode/view/lc-components/PageLayout/index.js +2 -1
  456. package/es/lowcode/view/lc-components/PageLayout/index.js.map +1 -0
  457. package/es/lowcode/view/lc-components/PageModal/index.js +2 -1
  458. package/es/lowcode/view/lc-components/PageModal/index.js.map +1 -0
  459. package/es/lowcode/view/lc-components/Section/FunctionDesign.js +2 -1
  460. package/es/lowcode/view/lc-components/Section/FunctionDesign.js.map +1 -0
  461. package/es/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
  462. package/es/lowcode/view/lc-components/Section/FunctionLive.js.map +1 -0
  463. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
  464. package/es/lowcode/view/lc-components/Section/FunctionPreview.js.map +1 -0
  465. package/es/lowcode/view/lc-components/Section/index.js +2 -1
  466. package/es/lowcode/view/lc-components/Section/index.js.map +1 -0
  467. package/es/lowcode/view/lc-components/Split/FunctionDesign.js +2 -1
  468. package/es/lowcode/view/lc-components/Split/FunctionDesign.js.map +1 -0
  469. package/es/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
  470. package/es/lowcode/view/lc-components/Split/FunctionLive.js.map +1 -0
  471. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
  472. package/es/lowcode/view/lc-components/Split/FunctionPreview.js.map +1 -0
  473. package/es/lowcode/view/lc-components/Split/index.js +2 -1
  474. package/es/lowcode/view/lc-components/Split/index.js.map +1 -0
  475. package/es/lowcode/view/lc-components/Table/FunctionDesign.js +2 -1
  476. package/es/lowcode/view/lc-components/Table/FunctionDesign.js.map +1 -0
  477. package/es/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
  478. package/es/lowcode/view/lc-components/Table/FunctionLive.js.map +1 -0
  479. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
  480. package/es/lowcode/view/lc-components/Table/FunctionPreview.js.map +1 -0
  481. package/es/lowcode/view/lc-components/Table/components/TopFilter.js +2 -1
  482. package/es/lowcode/view/lc-components/Table/components/TopFilter.js.map +1 -0
  483. package/es/lowcode/view/lc-components/Table/components/TopImex.js +2 -1
  484. package/es/lowcode/view/lc-components/Table/components/TopImex.js.map +1 -0
  485. package/es/lowcode/view/lc-components/Table/index.js +2 -1
  486. package/es/lowcode/view/lc-components/Table/index.js.map +1 -0
  487. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js +2 -1
  488. package/es/lowcode/view/lc-components/Tabs/FunctionDesign.js.map +1 -0
  489. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js +2 -1
  490. package/es/lowcode/view/lc-components/Tabs/FunctionLive.js.map +1 -0
  491. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js +2 -1
  492. package/es/lowcode/view/lc-components/Tabs/FunctionPreview.js.map +1 -0
  493. package/es/lowcode/view/lc-components/Tabs/index.js +2 -1
  494. package/es/lowcode/view/lc-components/Tabs/index.js.map +1 -0
  495. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
  496. package/es/lowcode/view/lc-components/Text/FunctionDesign.js.map +1 -0
  497. package/es/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
  498. package/es/lowcode/view/lc-components/Text/FunctionLive.js.map +1 -0
  499. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
  500. package/es/lowcode/view/lc-components/Text/FunctionPreview.js.map +1 -0
  501. package/es/lowcode/view/lc-components/Text/index.js +2 -1
  502. package/es/lowcode/view/lc-components/Text/index.js.map +1 -0
  503. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -1
  504. package/es/lowcode/view/lc-components/Tree/FunctionDesign.js.map +1 -0
  505. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
  506. package/es/lowcode/view/lc-components/Tree/FunctionLive.js.map +1 -0
  507. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js +2 -1
  508. package/es/lowcode/view/lc-components/Tree/FunctionPreview.js.map +1 -0
  509. package/es/lowcode/view/lc-components/Tree/index.js +2 -1
  510. package/es/lowcode/view/lc-components/Tree/index.js.map +1 -0
  511. package/es/lowcode/view/lc-components/Wrapper.js +2 -1
  512. package/es/lowcode/view/lc-components/Wrapper.js.map +1 -0
  513. package/es/services.js +2 -1
  514. package/es/services.js.map +1 -0
  515. package/es/upload/FilesWall/index.js +2 -1
  516. package/es/upload/FilesWall/index.js.map +1 -0
  517. package/es/upload/Form/gridForm.js +2 -1
  518. package/es/upload/Form/gridForm.js.map +1 -0
  519. package/es/upload/Form/index.js +2 -1
  520. package/es/upload/Form/index.js.map +1 -0
  521. package/es/upload/FormItem/index.js +2 -1
  522. package/es/upload/FormItem/index.js.map +1 -0
  523. package/es/upload/GridCell/index.js +2 -1
  524. package/es/upload/GridCell/index.js.map +1 -0
  525. package/es/upload/index.js +2 -1
  526. package/es/upload/index.js.map +1 -0
  527. package/es/utils/action.js +2 -1
  528. package/es/utils/action.js.map +1 -0
  529. package/es/utils/form.js +2 -1
  530. package/es/utils/form.js.map +1 -0
  531. package/es/utils/grid.js +2 -1
  532. package/es/utils/grid.js.map +1 -0
  533. package/es/utils/index.js +2 -1
  534. package/es/utils/index.js.map +1 -0
  535. package/lib/components/Builder/index.js +2 -1
  536. package/lib/components/Builder/index.js.map +1 -0
  537. package/lib/components/ComplexItem/index.js +2 -1
  538. package/lib/components/ComplexItem/index.js.map +1 -0
  539. package/lib/components/ComplexItem/service.js +2 -1
  540. package/lib/components/ComplexItem/service.js.map +1 -0
  541. package/lib/components/IconFont/index.js +2 -1
  542. package/lib/components/IconFont/index.js.map +1 -0
  543. package/lib/components/LDActions/index.js +2 -1
  544. package/lib/components/LDActions/index.js.map +1 -0
  545. package/lib/components/LdAutoForm/index.js +2 -1
  546. package/lib/components/LdAutoForm/index.js.map +1 -0
  547. package/lib/components/LdCard/index.js +2 -1
  548. package/lib/components/LdCard/index.js.map +1 -0
  549. package/lib/components/LdCard/model.js +2 -1
  550. package/lib/components/LdCard/model.js.map +1 -0
  551. package/lib/components/LdCom/index.js +2 -1
  552. package/lib/components/LdCom/index.js.map +1 -0
  553. package/lib/components/LdFormList/index.js +2 -1
  554. package/lib/components/LdFormList/index.js.map +1 -0
  555. package/lib/components/LdFormList/model.js +2 -1
  556. package/lib/components/LdFormList/model.js.map +1 -0
  557. package/lib/components/LdGrid/index.js +2 -1
  558. package/lib/components/LdGrid/index.js.map +1 -0
  559. package/lib/components/LdGrid/model.js +2 -1
  560. package/lib/components/LdGrid/model.js.map +1 -0
  561. package/lib/components/LdGridForm/index.js +2 -1
  562. package/lib/components/LdGridForm/index.js.map +1 -0
  563. package/lib/components/LdInfoPanel/index.js +2 -1
  564. package/lib/components/LdInfoPanel/index.js.map +1 -0
  565. package/lib/components/LdPop/index.js +2 -1
  566. package/lib/components/LdPop/index.js.map +1 -0
  567. package/lib/components/LdTree/index.js +2 -1
  568. package/lib/components/LdTree/index.js.map +1 -0
  569. package/lib/helper/FromItems.js +2 -1
  570. package/lib/helper/FromItems.js.map +1 -0
  571. package/lib/helper/action.js +2 -1
  572. package/lib/helper/action.js.map +1 -0
  573. package/lib/helper/form.js +2 -1
  574. package/lib/helper/form.js.map +1 -0
  575. package/lib/helper/ldBuilder.js +2 -1
  576. package/lib/helper/ldBuilder.js.map +1 -0
  577. package/lib/helper/ldComBuild.js +2 -1
  578. package/lib/helper/ldComBuild.js.map +1 -0
  579. package/lib/helper/props_config.js +2 -1
  580. package/lib/helper/props_config.js.map +1 -0
  581. package/lib/index.js +2 -1
  582. package/lib/index.js.map +1 -0
  583. package/lib/locales/zh-CN.js +2 -1
  584. package/lib/locales/zh-CN.js.map +1 -0
  585. package/lib/lowcode/constants/api-url.js +2 -1
  586. package/lib/lowcode/constants/api-url.js.map +1 -0
  587. package/lib/lowcode/constants/event-topics.js +2 -1
  588. package/lib/lowcode/constants/event-topics.js.map +1 -0
  589. package/lib/lowcode/constants/index.js +2 -1
  590. package/lib/lowcode/constants/index.js.map +1 -0
  591. package/lib/lowcode/engine/factory/DataFactory.js +2 -1
  592. package/lib/lowcode/engine/factory/DataFactory.js.map +1 -0
  593. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js +2 -1
  594. package/lib/lowcode/engine/factory/panel-item-factory/CheckboxStrategy.js.map +1 -0
  595. package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js +2 -1
  596. package/lib/lowcode/engine/factory/panel-item-factory/DynamicStrategy.js.map +1 -0
  597. package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js +2 -1
  598. package/lib/lowcode/engine/factory/panel-item-factory/GroupStrategy.js.map +1 -0
  599. package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js +2 -1
  600. package/lib/lowcode/engine/factory/panel-item-factory/NumberStrategy.js.map +1 -0
  601. package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js +2 -1
  602. package/lib/lowcode/engine/factory/panel-item-factory/RadioStrategy.js.map +1 -0
  603. package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js +2 -1
  604. package/lib/lowcode/engine/factory/panel-item-factory/SegmentedStrategy.js.map +1 -0
  605. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js +2 -1
  606. package/lib/lowcode/engine/factory/panel-item-factory/SelectStrategy.js.map +1 -0
  607. package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js +2 -1
  608. package/lib/lowcode/engine/factory/panel-item-factory/Strategy.js.map +1 -0
  609. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +2 -1
  610. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js.map +1 -0
  611. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js +2 -1
  612. package/lib/lowcode/engine/factory/panel-item-factory/SwitchStrategy.js.map +1 -0
  613. package/lib/lowcode/engine/factory/panel-item-factory/index.js +2 -1
  614. package/lib/lowcode/engine/factory/panel-item-factory/index.js.map +1 -0
  615. package/lib/lowcode/engine/launcher.js +2 -1
  616. package/lib/lowcode/engine/launcher.js.map +1 -0
  617. package/lib/lowcode/engine/provider/ContextProvider/index.js +2 -1
  618. package/lib/lowcode/engine/provider/ContextProvider/index.js.map +1 -0
  619. package/lib/lowcode/engine/provider/ContextProvider/router.js +2 -1
  620. package/lib/lowcode/engine/provider/ContextProvider/router.js.map +1 -0
  621. package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js +2 -1
  622. package/lib/lowcode/engine/provider/ContextProvider/usePageDataStore.js.map +1 -0
  623. package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js +2 -1
  624. package/lib/lowcode/engine/provider/ContextProvider/usePageVar.js.map +1 -0
  625. package/lib/lowcode/engine/provider/ContextProvider/useTodo.js +2 -1
  626. package/lib/lowcode/engine/provider/ContextProvider/useTodo.js.map +1 -0
  627. package/lib/lowcode/engine/provider/ContextProvider/utils.js +2 -1
  628. package/lib/lowcode/engine/provider/ContextProvider/utils.js.map +1 -0
  629. package/lib/lowcode/engine/provider/EventBusProvider.js +2 -1
  630. package/lib/lowcode/engine/provider/EventBusProvider.js.map +1 -0
  631. package/lib/lowcode/engine/provider/RemoteSourceProvider.js +2 -1
  632. package/lib/lowcode/engine/provider/RemoteSourceProvider.js.map +1 -0
  633. package/lib/lowcode/engine/tools/dataProcess.js +2 -1
  634. package/lib/lowcode/engine/tools/dataProcess.js.map +1 -0
  635. package/lib/lowcode/engine/tools/diff.js +2 -1
  636. package/lib/lowcode/engine/tools/diff.js.map +1 -0
  637. package/lib/lowcode/engine/tools/helper.js +2 -1
  638. package/lib/lowcode/engine/tools/helper.js.map +1 -0
  639. package/lib/lowcode/engine/tools/initDS.js +2 -1
  640. package/lib/lowcode/engine/tools/initDS.js.map +1 -0
  641. package/lib/lowcode/engine/tools/useCanvasRender.js +2 -1
  642. package/lib/lowcode/engine/tools/useCanvasRender.js.map +1 -0
  643. package/lib/lowcode/engine/tools/useCombinedRefs.js +2 -1
  644. package/lib/lowcode/engine/tools/useCombinedRefs.js.map +1 -0
  645. package/lib/lowcode/engine/tools/usePromiseState.js +2 -1
  646. package/lib/lowcode/engine/tools/usePromiseState.js.map +1 -0
  647. package/lib/lowcode/index.js +2 -1
  648. package/lib/lowcode/index.js.map +1 -0
  649. package/lib/lowcode/painter/Components.js +2 -1
  650. package/lib/lowcode/painter/Components.js.map +1 -0
  651. package/lib/lowcode/painter/Design.js +2 -1
  652. package/lib/lowcode/painter/Design.js.map +1 -0
  653. package/lib/lowcode/painter/DesignOperator.js +2 -1
  654. package/lib/lowcode/painter/DesignOperator.js.map +1 -0
  655. package/lib/lowcode/painter/DesignToolbar.js +2 -1
  656. package/lib/lowcode/painter/DesignToolbar.js.map +1 -0
  657. package/lib/lowcode/painter/I18n.js +2 -1
  658. package/lib/lowcode/painter/I18n.js.map +1 -0
  659. package/lib/lowcode/painter/Outline.js +2 -1
  660. package/lib/lowcode/painter/Outline.js.map +1 -0
  661. package/lib/lowcode/painter/Panel.js +2 -1
  662. package/lib/lowcode/painter/Panel.js.map +1 -0
  663. package/lib/lowcode/painter/Ribbon.js +2 -1
  664. package/lib/lowcode/painter/Ribbon.js.map +1 -0
  665. package/lib/lowcode/painter/components/ActionBindModal.js +2 -1
  666. package/lib/lowcode/painter/components/ActionBindModal.js.map +1 -0
  667. package/lib/lowcode/painter/components/AdvancePanel.js +2 -1
  668. package/lib/lowcode/painter/components/AdvancePanel.js.map +1 -0
  669. package/lib/lowcode/painter/components/AttrsPanel.js +2 -1
  670. package/lib/lowcode/painter/components/AttrsPanel.js.map +1 -0
  671. package/lib/lowcode/painter/components/Collapse.js +2 -1
  672. package/lib/lowcode/painter/components/Collapse.js.map +1 -0
  673. package/lib/lowcode/painter/components/ColorInput.js +2 -1
  674. package/lib/lowcode/painter/components/ColorInput.js.map +1 -0
  675. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js +2 -1
  676. package/lib/lowcode/painter/components/DragDrop/DragDropContext.js.map +1 -0
  677. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js +2 -1
  678. package/lib/lowcode/painter/components/DragDrop/DragDropWrapper.js.map +1 -0
  679. package/lib/lowcode/painter/components/DragDrop/Overlay.js +2 -1
  680. package/lib/lowcode/painter/components/DragDrop/Overlay.js.map +1 -0
  681. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js +2 -1
  682. package/lib/lowcode/painter/components/DragDrop/TreeDragDropWrapper.js.map +1 -0
  683. package/lib/lowcode/painter/components/FieldSelector.js +2 -1
  684. package/lib/lowcode/painter/components/FieldSelector.js.map +1 -0
  685. package/lib/lowcode/painter/components/ListEditor.js +2 -1
  686. package/lib/lowcode/painter/components/ListEditor.js.map +1 -0
  687. package/lib/lowcode/painter/components/NumberInput.js +2 -1
  688. package/lib/lowcode/painter/components/NumberInput.js.map +1 -0
  689. package/lib/lowcode/painter/components/PanelItem.js +2 -1
  690. package/lib/lowcode/painter/components/PanelItem.js.map +1 -0
  691. package/lib/lowcode/painter/components/PopConfirm.js +2 -1
  692. package/lib/lowcode/painter/components/PopConfirm.js.map +1 -0
  693. package/lib/lowcode/painter/components/PopForm.js +2 -1
  694. package/lib/lowcode/painter/components/PopForm.js.map +1 -0
  695. package/lib/lowcode/painter/components/PreviewIframe.js +2 -1
  696. package/lib/lowcode/painter/components/PreviewIframe.js.map +1 -0
  697. package/lib/lowcode/painter/components/RuleInput.js +2 -1
  698. package/lib/lowcode/painter/components/RuleInput.js.map +1 -0
  699. package/lib/lowcode/painter/components/SortBox.js +2 -1
  700. package/lib/lowcode/painter/components/SortBox.js.map +1 -0
  701. package/lib/lowcode/painter/components/TipIcon.js +2 -1
  702. package/lib/lowcode/painter/components/TipIcon.js.map +1 -0
  703. package/lib/lowcode/painter/components/TreeEditor.js +2 -1
  704. package/lib/lowcode/painter/components/TreeEditor.js.map +1 -0
  705. package/lib/lowcode/painter/components/VarEditor.js +2 -1
  706. package/lib/lowcode/painter/components/VarEditor.js.map +1 -0
  707. package/lib/lowcode/painter/components/code-editor/BaseEditor.js +2 -1
  708. package/lib/lowcode/painter/components/code-editor/BaseEditor.js.map +1 -0
  709. package/lib/lowcode/painter/components/code-editor/CssEditor.js +2 -1
  710. package/lib/lowcode/painter/components/code-editor/CssEditor.js.map +1 -0
  711. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js +2 -1
  712. package/lib/lowcode/painter/components/code-editor/FullScreenEditor.js.map +1 -0
  713. package/lib/lowcode/painter/components/code-editor/JSEditor.js +2 -1
  714. package/lib/lowcode/painter/components/code-editor/JSEditor.js.map +1 -0
  715. package/lib/lowcode/painter/components/code-editor/JsonEditor.js +2 -1
  716. package/lib/lowcode/painter/components/code-editor/JsonEditor.js.map +1 -0
  717. package/lib/lowcode/painter/components/code-editor/VisionEditor.js +2 -1
  718. package/lib/lowcode/painter/components/code-editor/VisionEditor.js.map +1 -0
  719. package/lib/lowcode/painter/components/code-editor/index.js +2 -1
  720. package/lib/lowcode/painter/components/code-editor/index.js.map +1 -0
  721. package/lib/lowcode/painter/components/field-setting/BatchSetting.js +2 -1
  722. package/lib/lowcode/painter/components/field-setting/BatchSetting.js.map +1 -0
  723. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js +2 -1
  724. package/lib/lowcode/painter/components/field-setting/CheckFrontRules.js.map +1 -0
  725. package/lib/lowcode/painter/components/field-setting/CheckRules.js +2 -1
  726. package/lib/lowcode/painter/components/field-setting/CheckRules.js.map +1 -0
  727. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +2 -1
  728. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js.map +1 -0
  729. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js +2 -1
  730. package/lib/lowcode/painter/components/field-setting/FieldAttrsModal.js.map +1 -0
  731. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js +2 -1
  732. package/lib/lowcode/painter/components/field-setting/FieldDefaultValue.js.map +1 -0
  733. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js +2 -1
  734. package/lib/lowcode/painter/components/field-setting/FieldRulesModal.js.map +1 -0
  735. package/lib/lowcode/painter/components/field-setting/SettingUI.js +2 -1
  736. package/lib/lowcode/painter/components/field-setting/SettingUI.js.map +1 -0
  737. package/lib/lowcode/painter/components/field-setting/index.js +2 -1
  738. package/lib/lowcode/painter/components/field-setting/index.js.map +1 -0
  739. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js +2 -1
  740. package/lib/lowcode/painter/components/field-setting/meta/frontRules.js.map +1 -0
  741. package/lib/lowcode/painter/expect.js +2 -1
  742. package/lib/lowcode/painter/expect.js.map +1 -0
  743. package/lib/lowcode/painter/index.js +2 -1
  744. package/lib/lowcode/painter/index.js.map +1 -0
  745. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js +2 -1
  746. package/lib/lowcode/painter/panel-section/ActionsColumnWidth.js.map +1 -0
  747. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js +2 -1
  748. package/lib/lowcode/painter/panel-section/ActionsEditor/ActionEditor.js.map +1 -0
  749. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js +2 -1
  750. package/lib/lowcode/painter/panel-section/ActionsEditor/index.js.map +1 -0
  751. package/lib/lowcode/painter/panel-section/BlockEditor/index.js +2 -1
  752. package/lib/lowcode/painter/panel-section/BlockEditor/index.js.map +1 -0
  753. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js +2 -1
  754. package/lib/lowcode/painter/panel-section/BlocksEditor/BlockEditorItem.js.map +1 -0
  755. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js +2 -1
  756. package/lib/lowcode/painter/panel-section/BlocksEditor/index.js.map +1 -0
  757. package/lib/lowcode/painter/panel-section/ButtonType.js +2 -1
  758. package/lib/lowcode/painter/panel-section/ButtonType.js.map +1 -0
  759. package/lib/lowcode/painter/panel-section/ComplexPop.js +2 -1
  760. package/lib/lowcode/painter/panel-section/ComplexPop.js.map +1 -0
  761. package/lib/lowcode/painter/panel-section/ComponentSelector.js +2 -1
  762. package/lib/lowcode/painter/panel-section/ComponentSelector.js.map +1 -0
  763. package/lib/lowcode/painter/panel-section/DataSetSelector.js +2 -1
  764. package/lib/lowcode/painter/panel-section/DataSetSelector.js.map +1 -0
  765. package/lib/lowcode/painter/panel-section/FieldState.js +2 -1
  766. package/lib/lowcode/painter/panel-section/FieldState.js.map +1 -0
  767. package/lib/lowcode/painter/panel-section/FieldsSetting.js +2 -1
  768. package/lib/lowcode/painter/panel-section/FieldsSetting.js.map +1 -0
  769. package/lib/lowcode/painter/panel-section/GroupClassSelector.js +2 -1
  770. package/lib/lowcode/painter/panel-section/GroupClassSelector.js.map +1 -0
  771. package/lib/lowcode/painter/panel-section/I18nInput.js +2 -1
  772. package/lib/lowcode/painter/panel-section/I18nInput.js.map +1 -0
  773. package/lib/lowcode/painter/panel-section/Icon.js +2 -1
  774. package/lib/lowcode/painter/panel-section/Icon.js.map +1 -0
  775. package/lib/lowcode/painter/panel-section/IconConditionSelector.js +2 -1
  776. package/lib/lowcode/painter/panel-section/IconConditionSelector.js.map +1 -0
  777. package/lib/lowcode/painter/panel-section/IconSelector.js +2 -1
  778. package/lib/lowcode/painter/panel-section/IconSelector.js.map +1 -0
  779. package/lib/lowcode/painter/panel-section/ImpExp.js +2 -1
  780. package/lib/lowcode/painter/panel-section/ImpExp.js.map +1 -0
  781. package/lib/lowcode/painter/panel-section/ImpExpAlone.js +2 -1
  782. package/lib/lowcode/painter/panel-section/ImpExpAlone.js.map +1 -0
  783. package/lib/lowcode/painter/panel-section/JSEditor.js +9 -4
  784. package/lib/lowcode/painter/panel-section/JSEditor.js.map +1 -0
  785. package/lib/lowcode/painter/panel-section/LayoutRatio.js +2 -1
  786. package/lib/lowcode/painter/panel-section/LayoutRatio.js.map +1 -0
  787. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +2 -1
  788. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js.map +1 -0
  789. package/lib/lowcode/painter/panel-section/PageVars.js +2 -1
  790. package/lib/lowcode/painter/panel-section/PageVars.js.map +1 -0
  791. package/lib/lowcode/painter/panel-section/SerialsSelector.js +2 -1
  792. package/lib/lowcode/painter/panel-section/SerialsSelector.js.map +1 -0
  793. package/lib/lowcode/painter/panel-section/SplitDisplay.js +2 -1
  794. package/lib/lowcode/painter/panel-section/SplitDisplay.js.map +1 -0
  795. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js +2 -1
  796. package/lib/lowcode/painter/panel-section/StylePanel/BackGround.js.map +1 -0
  797. package/lib/lowcode/painter/panel-section/StylePanel/Border.js +2 -1
  798. package/lib/lowcode/painter/panel-section/StylePanel/Border.js.map +1 -0
  799. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js +2 -1
  800. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadius.js.map +1 -0
  801. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js +2 -1
  802. package/lib/lowcode/painter/panel-section/StylePanel/BorderRadiusSelector.js.map +1 -0
  803. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js +2 -1
  804. package/lib/lowcode/painter/panel-section/StylePanel/BorderSelector.js.map +1 -0
  805. package/lib/lowcode/painter/panel-section/StylePanel/Display.js +2 -1
  806. package/lib/lowcode/painter/panel-section/StylePanel/Display.js.map +1 -0
  807. package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js +2 -1
  808. package/lib/lowcode/painter/panel-section/StylePanel/DisplaySvg.js.map +1 -0
  809. package/lib/lowcode/painter/panel-section/StylePanel/Font.js +2 -1
  810. package/lib/lowcode/painter/panel-section/StylePanel/Font.js.map +1 -0
  811. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js +2 -1
  812. package/lib/lowcode/painter/panel-section/StylePanel/FontEditor.js.map +1 -0
  813. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js +2 -1
  814. package/lib/lowcode/painter/panel-section/StylePanel/GapSelector.js.map +1 -0
  815. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js +2 -1
  816. package/lib/lowcode/painter/panel-section/StylePanel/HighLightPanel.js.map +1 -0
  817. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js +2 -1
  818. package/lib/lowcode/painter/panel-section/StylePanel/HighLigthtSpan.js.map +1 -0
  819. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js +2 -1
  820. package/lib/lowcode/painter/panel-section/StylePanel/HightLightSvg.js.map +1 -0
  821. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js +2 -1
  822. package/lib/lowcode/painter/panel-section/StylePanel/MainPanel.js.map +1 -0
  823. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js +2 -1
  824. package/lib/lowcode/painter/panel-section/StylePanel/Margin.js.map +1 -0
  825. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js +2 -1
  826. package/lib/lowcode/painter/panel-section/StylePanel/Opacity.js.map +1 -0
  827. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js +2 -1
  828. package/lib/lowcode/painter/panel-section/StylePanel/Padding.js.map +1 -0
  829. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js +2 -1
  830. package/lib/lowcode/painter/panel-section/StylePanel/Pointer.js.map +1 -0
  831. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js +2 -1
  832. package/lib/lowcode/painter/panel-section/StylePanel/Shadow.js.map +1 -0
  833. package/lib/lowcode/painter/panel-section/StylePanel/Size.js +2 -1
  834. package/lib/lowcode/painter/panel-section/StylePanel/Size.js.map +1 -0
  835. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +2 -1
  836. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js.map +1 -0
  837. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js +2 -1
  838. package/lib/lowcode/painter/panel-section/StylePanel/StyleRow.js.map +1 -0
  839. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js +2 -1
  840. package/lib/lowcode/painter/panel-section/StylePanel/WidthHeight.js.map +1 -0
  841. package/lib/lowcode/painter/panel-section/StylePanel/index.js +2 -1
  842. package/lib/lowcode/painter/panel-section/StylePanel/index.js.map +1 -0
  843. package/lib/lowcode/painter/panel-section/TabItems.js +2 -1
  844. package/lib/lowcode/painter/panel-section/TabItems.js.map +1 -0
  845. package/lib/lowcode/painter/panel-section/TableTopFilter.js +2 -1
  846. package/lib/lowcode/painter/panel-section/TableTopFilter.js.map +1 -0
  847. package/lib/lowcode/painter/panel-section/TableZebra.js +2 -1
  848. package/lib/lowcode/painter/panel-section/TableZebra.js.map +1 -0
  849. package/lib/lowcode/painter/panel-section/TextContent.js +2 -1
  850. package/lib/lowcode/painter/panel-section/TextContent.js.map +1 -0
  851. package/lib/lowcode/painter/panel-section/TreeRootEditor.js +2 -1
  852. package/lib/lowcode/painter/panel-section/TreeRootEditor.js.map +1 -0
  853. package/lib/lowcode/painter/panel-section/WidthHeight.js +2 -1
  854. package/lib/lowcode/painter/panel-section/WidthHeight.js.map +1 -0
  855. package/lib/lowcode/painter/services/I18n.js +2 -1
  856. package/lib/lowcode/painter/services/I18n.js.map +1 -0
  857. package/lib/lowcode/painter/services/complexPop.js +2 -1
  858. package/lib/lowcode/painter/services/complexPop.js.map +1 -0
  859. package/lib/lowcode/preview/index.js +2 -1
  860. package/lib/lowcode/preview/index.js.map +1 -0
  861. package/lib/lowcode/view/Canvas.js +2 -1
  862. package/lib/lowcode/view/Canvas.js.map +1 -0
  863. package/lib/lowcode/view/ErrorBoundary.js +17 -15
  864. package/lib/lowcode/view/ErrorBoundary.js.map +1 -0
  865. package/lib/lowcode/view/Loading.js +2 -1
  866. package/lib/lowcode/view/Loading.js.map +1 -0
  867. package/lib/lowcode/view/Page.js +2 -1
  868. package/lib/lowcode/view/Page.js.map +1 -0
  869. package/lib/lowcode/view/index.js +2 -1
  870. package/lib/lowcode/view/index.js.map +1 -0
  871. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js +2 -1
  872. package/lib/lowcode/view/lc-components/Box/FunctionDesign.js.map +1 -0
  873. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
  874. package/lib/lowcode/view/lc-components/Box/FunctionLive.js.map +1 -0
  875. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
  876. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js.map +1 -0
  877. package/lib/lowcode/view/lc-components/Box/index.js +2 -1
  878. package/lib/lowcode/view/lc-components/Box/index.js.map +1 -0
  879. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js +2 -1
  880. package/lib/lowcode/view/lc-components/Button/FunctionDesign.js.map +1 -0
  881. package/lib/lowcode/view/lc-components/Button/FunctionLive.js +2 -1
  882. package/lib/lowcode/view/lc-components/Button/FunctionLive.js.map +1 -0
  883. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js +2 -1
  884. package/lib/lowcode/view/lc-components/Button/FunctionPreview.js.map +1 -0
  885. package/lib/lowcode/view/lc-components/Button/index.js +2 -1
  886. package/lib/lowcode/view/lc-components/Button/index.js.map +1 -0
  887. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
  888. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js.map +1 -0
  889. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
  890. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js.map +1 -0
  891. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
  892. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js.map +1 -0
  893. package/lib/lowcode/view/lc-components/CardList/index.js +2 -1
  894. package/lib/lowcode/view/lc-components/CardList/index.js.map +1 -0
  895. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js +2 -1
  896. package/lib/lowcode/view/lc-components/Dialog/FunctionDesign.js.map +1 -0
  897. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
  898. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js.map +1 -0
  899. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
  900. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js.map +1 -0
  901. package/lib/lowcode/view/lc-components/Dialog/index.js +2 -1
  902. package/lib/lowcode/view/lc-components/Dialog/index.js.map +1 -0
  903. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
  904. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js.map +1 -0
  905. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
  906. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js.map +1 -0
  907. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
  908. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js.map +1 -0
  909. package/lib/lowcode/view/lc-components/Drawer/index.js +2 -1
  910. package/lib/lowcode/view/lc-components/Drawer/index.js.map +1 -0
  911. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js +2 -1
  912. package/lib/lowcode/view/lc-components/Form/FunctionDesign.js.map +1 -0
  913. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
  914. package/lib/lowcode/view/lc-components/Form/FunctionLive.js.map +1 -0
  915. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +2 -1
  916. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js.map +1 -0
  917. package/lib/lowcode/view/lc-components/Form/index.js +2 -1
  918. package/lib/lowcode/view/lc-components/Form/index.js.map +1 -0
  919. package/lib/lowcode/view/lc-components/GroupTree/FunctionDesign.js +2 -1
  920. package/lib/lowcode/view/lc-components/GroupTree/FunctionDesign.js.map +1 -0
  921. package/lib/lowcode/view/lc-components/GroupTree/FunctionLive.js +2 -1
  922. package/lib/lowcode/view/lc-components/GroupTree/FunctionLive.js.map +1 -0
  923. package/lib/lowcode/view/lc-components/GroupTree/FunctionPreview.js +2 -1
  924. package/lib/lowcode/view/lc-components/GroupTree/FunctionPreview.js.map +1 -0
  925. package/lib/lowcode/view/lc-components/GroupTree/index.js +2 -1
  926. package/lib/lowcode/view/lc-components/GroupTree/index.js.map +1 -0
  927. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
  928. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js.map +1 -0
  929. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
  930. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js.map +1 -0
  931. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
  932. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js.map +1 -0
  933. package/lib/lowcode/view/lc-components/Iframe/index.js +2 -1
  934. package/lib/lowcode/view/lc-components/Iframe/index.js.map +1 -0
  935. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +2 -1
  936. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js.map +1 -0
  937. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
  938. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js.map +1 -0
  939. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
  940. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js.map +1 -0
  941. package/lib/lowcode/view/lc-components/ImEx/index.js +2 -1
  942. package/lib/lowcode/view/lc-components/ImEx/index.js.map +1 -0
  943. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
  944. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js.map +1 -0
  945. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
  946. package/lib/lowcode/view/lc-components/Image/FunctionLive.js.map +1 -0
  947. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
  948. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js.map +1 -0
  949. package/lib/lowcode/view/lc-components/Image/index.js +2 -1
  950. package/lib/lowcode/view/lc-components/Image/index.js.map +1 -0
  951. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
  952. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js.map +1 -0
  953. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
  954. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js.map +1 -0
  955. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
  956. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js.map +1 -0
  957. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js +8 -7
  958. package/lib/lowcode/view/lc-components/JSX/RuntimeComp.js.map +1 -0
  959. package/lib/lowcode/view/lc-components/JSX/index.js +2 -1
  960. package/lib/lowcode/view/lc-components/JSX/index.js.map +1 -0
  961. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js +2 -1
  962. package/lib/lowcode/view/lc-components/Layout/FunctionDesign.js.map +1 -0
  963. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js +2 -1
  964. package/lib/lowcode/view/lc-components/Layout/FunctionLive.js.map +1 -0
  965. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
  966. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js.map +1 -0
  967. package/lib/lowcode/view/lc-components/Layout/index.js +2 -1
  968. package/lib/lowcode/view/lc-components/Layout/index.js.map +1 -0
  969. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
  970. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js.map +1 -0
  971. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
  972. package/lib/lowcode/view/lc-components/Link/FunctionLive.js.map +1 -0
  973. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
  974. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js.map +1 -0
  975. package/lib/lowcode/view/lc-components/Link/index.js +2 -1
  976. package/lib/lowcode/view/lc-components/Link/index.js.map +1 -0
  977. package/lib/lowcode/view/lc-components/PageContent/index.js +2 -1
  978. package/lib/lowcode/view/lc-components/PageContent/index.js.map +1 -0
  979. package/lib/lowcode/view/lc-components/PageFooter/index.js +2 -1
  980. package/lib/lowcode/view/lc-components/PageFooter/index.js.map +1 -0
  981. package/lib/lowcode/view/lc-components/PageHeader/index.js +2 -1
  982. package/lib/lowcode/view/lc-components/PageHeader/index.js.map +1 -0
  983. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js +2 -1
  984. package/lib/lowcode/view/lc-components/PageLayout/FunctionDesign.js.map +1 -0
  985. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js +2 -1
  986. package/lib/lowcode/view/lc-components/PageLayout/FunctionLive.js.map +1 -0
  987. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js +2 -1
  988. package/lib/lowcode/view/lc-components/PageLayout/FunctionPreview.js.map +1 -0
  989. package/lib/lowcode/view/lc-components/PageLayout/index.js +2 -1
  990. package/lib/lowcode/view/lc-components/PageLayout/index.js.map +1 -0
  991. package/lib/lowcode/view/lc-components/PageModal/index.js +2 -1
  992. package/lib/lowcode/view/lc-components/PageModal/index.js.map +1 -0
  993. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js +2 -1
  994. package/lib/lowcode/view/lc-components/Section/FunctionDesign.js.map +1 -0
  995. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
  996. package/lib/lowcode/view/lc-components/Section/FunctionLive.js.map +1 -0
  997. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
  998. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js.map +1 -0
  999. package/lib/lowcode/view/lc-components/Section/index.js +2 -1
  1000. package/lib/lowcode/view/lc-components/Section/index.js.map +1 -0
  1001. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js +2 -1
  1002. package/lib/lowcode/view/lc-components/Split/FunctionDesign.js.map +1 -0
  1003. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
  1004. package/lib/lowcode/view/lc-components/Split/FunctionLive.js.map +1 -0
  1005. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
  1006. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js.map +1 -0
  1007. package/lib/lowcode/view/lc-components/Split/index.js +2 -1
  1008. package/lib/lowcode/view/lc-components/Split/index.js.map +1 -0
  1009. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js +2 -1
  1010. package/lib/lowcode/view/lc-components/Table/FunctionDesign.js.map +1 -0
  1011. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
  1012. package/lib/lowcode/view/lc-components/Table/FunctionLive.js.map +1 -0
  1013. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
  1014. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js.map +1 -0
  1015. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js +2 -1
  1016. package/lib/lowcode/view/lc-components/Table/components/TopFilter.js.map +1 -0
  1017. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +2 -1
  1018. package/lib/lowcode/view/lc-components/Table/components/TopImex.js.map +1 -0
  1019. package/lib/lowcode/view/lc-components/Table/index.js +2 -1
  1020. package/lib/lowcode/view/lc-components/Table/index.js.map +1 -0
  1021. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js +2 -1
  1022. package/lib/lowcode/view/lc-components/Tabs/FunctionDesign.js.map +1 -0
  1023. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js +2 -1
  1024. package/lib/lowcode/view/lc-components/Tabs/FunctionLive.js.map +1 -0
  1025. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js +2 -1
  1026. package/lib/lowcode/view/lc-components/Tabs/FunctionPreview.js.map +1 -0
  1027. package/lib/lowcode/view/lc-components/Tabs/index.js +2 -1
  1028. package/lib/lowcode/view/lc-components/Tabs/index.js.map +1 -0
  1029. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
  1030. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js.map +1 -0
  1031. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
  1032. package/lib/lowcode/view/lc-components/Text/FunctionLive.js.map +1 -0
  1033. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
  1034. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js.map +1 -0
  1035. package/lib/lowcode/view/lc-components/Text/index.js +2 -1
  1036. package/lib/lowcode/view/lc-components/Text/index.js.map +1 -0
  1037. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js +2 -1
  1038. package/lib/lowcode/view/lc-components/Tree/FunctionDesign.js.map +1 -0
  1039. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
  1040. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js.map +1 -0
  1041. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js +2 -1
  1042. package/lib/lowcode/view/lc-components/Tree/FunctionPreview.js.map +1 -0
  1043. package/lib/lowcode/view/lc-components/Tree/index.js +2 -1
  1044. package/lib/lowcode/view/lc-components/Tree/index.js.map +1 -0
  1045. package/lib/lowcode/view/lc-components/Wrapper.js +2 -1
  1046. package/lib/lowcode/view/lc-components/Wrapper.js.map +1 -0
  1047. package/lib/services.js +2 -1
  1048. package/lib/services.js.map +1 -0
  1049. package/lib/upload/FilesWall/index.js +2 -1
  1050. package/lib/upload/FilesWall/index.js.map +1 -0
  1051. package/lib/upload/Form/gridForm.js +2 -1
  1052. package/lib/upload/Form/gridForm.js.map +1 -0
  1053. package/lib/upload/Form/index.js +2 -1
  1054. package/lib/upload/Form/index.js.map +1 -0
  1055. package/lib/upload/FormItem/index.js +2 -1
  1056. package/lib/upload/FormItem/index.js.map +1 -0
  1057. package/lib/upload/GridCell/index.js +2 -1
  1058. package/lib/upload/GridCell/index.js.map +1 -0
  1059. package/lib/upload/index.js +2 -1
  1060. package/lib/upload/index.js.map +1 -0
  1061. package/lib/utils/action.js +2 -1
  1062. package/lib/utils/action.js.map +1 -0
  1063. package/lib/utils/form.js +2 -1
  1064. package/lib/utils/form.js.map +1 -0
  1065. package/lib/utils/grid.js +2 -1
  1066. package/lib/utils/grid.js.map +1 -0
  1067. package/lib/utils/index.js +2 -1
  1068. package/lib/utils/index.js.map +1 -0
  1069. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useCreation","useMemoizedFn","drop","suid","useContext","useGet","addNode","deleteNode","modifyNode","Index","boxDefaultMeta","LayoutFunctionDesign","_ref","children","id","columnRatio","props","_objectWithoutProperties","_excluded","ctx","current","refreshChild","ratioArr","split","length","forEach","boxId","item","index","_current$children","ratio","parseInt","_objectSpread","style","gridColumn","concat","buildIn","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","watch","cmid","COMPONENT_MODIFY","on","_ref3","$unsubscriber","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/FunctionDesign.jsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useCreation, useMemoizedFn } from 'ahooks';\nimport { drop } from 'lodash';\nimport { suid } from '@luck-design-biz/base/utils';\nimport { useContext, useGet, addNode, deleteNode, modifyNode } from '../../../engine/provider/ContextProvider';\nimport Index from './index';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst LayoutFunctionDesign = ({ children, id, columnRatio, ...props }) => {\n const ctx = useContext();\n const current = useGet({ id })\n\n const refreshChild = useMemoizedFn(() => {\n const ratioArr = columnRatio.split(':');\n drop(current.children, ratioArr.length).forEach((boxId) => {\n deleteNode(boxId);\n });\n ratioArr.forEach((item, index) => {\n const ratio = parseInt(item, 10);\n let boxId = current.children?.[index];\n if (boxId) {\n modifyNode(current.children[index], {\n ...current[boxId].props,\n style: { gridColumn: 'span ' + ratio },\n });\n } else {\n boxId = `box_${suid()}`;\n addNode(id, boxId, {\n ...boxDefaultMeta,\n buildIn: true,\n style: { gridColumn: 'span ' + ratio },\n });\n }\n });\n });\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n }, []);\n\n useEffect(() => {\n const cmid = ctx\n .$subscriber(ctx.topics.COMPONENT_MODIFY)\n .on(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n\n return () => ctx.$unsubscriber(ctx.topics.COMPONENT_MODIFY, cmid);\n }, []);\n\n return (\n <Index id={id} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default LayoutFunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,WAAW,EAAEC,aAAa,QAAQ,QAAQ;AACnD,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SAASC,UAAU,EAAEC,MAAM,EAAEC,OAAO,EAAEC,UAAU,EAAEC,UAAU;AAC5D,OAAOC,KAAK;AACZ,OAAOC,cAAc;AAErB,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAAC,IAAA,EAAgD;EAAA,IAA1CC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAEC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IAAKC,KAAK,GAAAC,wBAAA,CAAAL,IAAA,EAAAM,SAAA;EACjE,IAAMC,GAAG,GAAGf,UAAU,CAAC,CAAC;EACxB,IAAMgB,OAAO,GAAGf,MAAM,CAAC;IAAES,EA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B,MAAM,CAACC,gBAAgB,CAAC,CACxCC,IAAI,CAAC,UAAAC,KAAA,EAAoB;MAAA,IAAbC,MAAM,GAAAD,KAAA,CAAV3B,EAAE;MACT,IAAI4B,MAAM,KAAK5B,EAAE,EAAE;MACnBO,YAAY,CAAC,CAAC;IAChB,CAAC,CAAC,CACDsB,KAAK,CAAC,CAAC;EACZ,CAAC,EAAE,EAAE,CAAC;EAEN5C,SAAS,CAAC,YAAM;IACd,IAAM6C,IAAI,GAAGzB,GAAG,CACbkB,WAAW,CAAClB,GAAG,CAACmB,MAAM,CAACO,gBAAgB,CAAC,CACxCC,EAAE,CAAC,UAAAC,KAAA,EAAoB;MAAA,IAAbL,MAAM,GAAAK,KAAA,CAAVjC,EAAE;MACP,IAAI4B,MAAM,KAAK5B,EAAE,EAAE;MACnBO,YAAY,CAAC,CAAC;IAChB,CAAC,CAAC,CACDsB,KAAK,CAAC,CAAC;IAEV,OAAO;MAAA,OAAMxB,GAAG,CAAC6B,aAAa,CAAC7B,GAAG,CAACmB,MAAM,CAACO,gBAAgB,EAAED,IAAI,CAAC;IAAA;EACnE,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE9C,KAAA,CAAAmD,aAAA,CAACxC,KAAK,EAAAyC,QAAA;IAACpC,EAAE,EAAEA;EAAG,GAAKE,KAAK,GACrBH,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,oBAAoB"}
@@ -7,4 +7,5 @@ var LayoutFunctionLive = function LayoutFunctionLive(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default LayoutFunctionLive;
10
+ export default LayoutFunctionLive;
11
+ //# sourceMappingURL=FunctionLive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","LayoutFunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst LayoutFunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default LayoutFunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAE3F,eAAeF,kBAAkB"}
@@ -7,4 +7,5 @@ var LayoutFunctionPreview = function LayoutFunctionPreview(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default LayoutFunctionPreview;
10
+ export default LayoutFunctionPreview;
11
+ //# sourceMappingURL=FunctionPreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","LayoutFunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst LayoutFunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default LayoutFunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAE9F,eAAeF,qBAAqB"}
@@ -74,4 +74,5 @@ LCLayout.propTypes = {
74
74
  };
75
75
  LCLayout.defaultProps = omitBadProps(defaultMeta);
76
76
  ;
77
- export default LCLayout;
77
+ export default LCLayout;
78
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useEffect","PropTypes","useMemoizedFn","styled","useContext","Wrapper","styles","omitBadProps","defaultMeta","StyledLayout","div","withConfig","displayName","componentId","props","$css","LCLayout","_ref","id","children","columnSpacing","lineSpacing","style","css","advance","ref","ctx","doAction","events","onMount","onUnmount","getTargetDom","current","createElement","className","_objectSpread","gap","concat","propTypes","string","isRequired","columnRatio","number","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Layout/index.jsx"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport Wrapper from '../Wrapper';\nimport styles from './index.less';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/layout.props.default.json';\n\nconst StyledLayout = styled.div`\n ${(props) => props.$css}\n`;\n\nconst LCLayout = ({ id, children, columnSpacing, lineSpacing, style, css, advance }) => {\n const ref = useRef();\n\n const ctx = useContext();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return ()=> ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"Layout\" getTargetDom={getTargetDom}>\n <StyledLayout\n ref={ref}\n className={styles['lc-component-layout']}\n style={{ ...style, gap: `${columnSpacing}px ${lineSpacing}px` }}\n $css={css}\n >\n {children}\n </StyledLayout>\n </Wrapper>\n );\n};\n\nLCLayout.propTypes = {\n /**\n * @name 唯一标识\n * @type string\n * @disabled true\n */\n id: PropTypes.string.isRequired,\n /**\n * @name 列比例\n * @type string\n * @default 12:3:9\n */\n columnRatio: PropTypes.string,\n /**\n * @name 列间距\n * @type number\n * @default 16\n */\n columnSpacing: PropTypes.number,\n /**\n * @name 行间距\n * @type number\n * @default 8\n */\n lineSpacing: PropTypes.number,\n};\nLCLayout.defaultProps = omitBadProps(defaultMeta);;\nexport default LCLayout;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAChD,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,UAAU;AACnB,OAAOC,OAAO;AACd,OAAOC,MAAM;AACb,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,YAAY,GAAGN,MAAM,CAACO,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC3B,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAA0E;EAAA,IAApEC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,aAAa,GAAAH,IAAA,CAAbG,aAAa;IAAEC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IAAEC,KAAK,GAAAL,IAAA,CAALK,KAAK;IAAEC,GAAG,GAAAN,IAAA,CAAHM,GAAG;IAAEC,OAAO,GAAAP,IAAA,CAAPO,OAAO;EAC/E,IAAMC,GAAG,GAAG1B,MAAM,CAAC,CAAC;EAEpB,IAAM2B,GAAG,GAAGtB,UAAU,CAAC,CAAC;EAExBJ,SAAS,CAAC,YAAM;IACd0B,GAAG,CAACC,QAAQ,CAACH,OAAO,CAACI,MAAM,CAACC,OAAO,CAAC;IACpC,OAAO;MAAA,OAAKH,GAAG,CAACC,QAAQ,CAACH,OAAO,CAACI,MAAM,CAACE,SAAS,CAAC;IAAA;EACpD,CAAC,EAAE,EAAE,CAAC;EAEN,IAAMC,YAAY,GAAG7B,aAAa,CAAC;IAAA,OAAMuB,GAAG,CAACO,OAAO;EAAA,EAAC;EAErD,oBACElC,KAAA,CAAAmC,aAAA,CAAC5B,OAAO;IAACa,EAAE,EAAEA,EAAG;IAACN,WAAW,EAAC,QAAQ;IAACmB,YAAY,EAAEA;EAAa,gBAC/DjC,KAAA,CAAAmC,aAAA,CAACxB,YAAY;IACXgB,GAAG,EAAEA,GAAI;IACTS,SAAS,EAAE5B,MAAM,CAAC,qBAAqB,CAAE;IACzCgB,KAAK,EAAAa,aAAA,CAAAA,aAAA,KAAOb,KAAK;MAAEc,GAAG,KAAAC,MAAA,CAAKjB,aAAa,SAAAiB,MAAA,CAAMhB,WAAW;IAAI,EAAG;IAChEN,IAAI,EAAEQ;EAAI,GAETJ,QACW,CACP,CAAC;AAEd,CAAC;AAEDH,QAAQ,CAACsB,SAAS,GAAG;EACnB;AACF;AACA;AACA;AACA;EACEpB,EAAE,EAAEjB,SAAS,CAACsC,MAAM,CAACC,UAAU;EAC/B;AACF;AACA;AACA;AACA;EACEC,WAAW,EAAExC,SAAS,CAACsC,MAAM;EAC7B;AACF;AACA;AACA;AACA;EACEnB,aAAa,EAAEnB,SAAS,CAACyC,MAAM;EAC/B;AACF;AACA;AACA;AACA;EACErB,WAAW,EAAEpB,SAAS,CAACyC;AACzB,CAAC;AACD1B,QAAQ,CAAC2B,YAAY,GAAGpC,YAAY,CAACC,WAAW,CAAC;AAAC;AAClD,eAAeQ,QAAQ"}
@@ -7,4 +7,5 @@ var FunctionDesign = function FunctionDesign(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionDesign;
10
+ export default FunctionDesign;
11
+ //# sourceMappingURL=FunctionDesign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionDesign","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/FunctionDesign.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionDesign = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionDesign;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAEvF,eAAeF,cAAc"}
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionLive;
10
+ export default FunctionLive;
11
+ //# sourceMappingURL=FunctionLive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionPreview;
10
+ export default FunctionPreview;
11
+ //# sourceMappingURL=FunctionPreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
@@ -69,4 +69,5 @@ var LCLink = function LCLink(_ref) {
69
69
  }), props.content));
70
70
  };
71
71
  LCLink.defaultProps = omitBadProps(defaultMeta);
72
- export default LCLink;
72
+ export default LCLink;
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useRef","useMemoizedFn","omitBadProps","defaultMeta","Wrapper","styled","useContext","RUNTIME","StyledLink","a","withConfig","displayName","componentId","props","textOverflow","$css","LCLink","_ref","id","css","onClick","advance","_objectWithoutProperties","_excluded","ref","ctx","doAction","events","onMount","onUnmount","handleClick","e","getTargetDom","current","createElement","_extends","href","concat","url","params","target","isBlank","title","content","runtime","DESIGN","preventDefault","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Link/index.jsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/link.props.default.json';\nimport Wrapper from '../Wrapper';\nimport styled from 'styled-components';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport { RUNTIME } from '../../../constants';\n\nconst StyledLink = styled.a`\n display: ${(props) => props.textOverflow && 'inline-block'};\n max-width: ${(props) => props.textOverflow && '100%'};\n white-space: ${(props) => props.textOverflow && 'nowrap'};\n overflow: ${(props) => props.textOverflow && 'hidden'};\n text-overflow: ${(props) => props.textOverflow && 'ellipsis'};\n ${(props) => props.$css};\n`;\n\nconst LCLink = ({ id, css, onClick, advance, ...props }) => {\n const ref = useRef();\n const ctx = useContext();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return () => ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const handleClick = useMemoizedFn((e) => {\n if (onClick) {\n onClick(e);\n return;\n }\n ctx.doAction(advance.events.onClick, { e });\n });\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"Link\" getTargetDom={getTargetDom}>\n <StyledLink\n $css={css}\n {...props}\n ref={ref}\n href={`${props.url}?${props.params}`}\n target={props.isBlank ? '_blank' : '_self'}\n title={props.textOverflow && props.content}\n onClick={(e) => {\n handleClick(e);\n ctx.runtime === RUNTIME.DESIGN && e.preventDefault();\n }}\n >\n {props.content}\n </StyledLink>\n </Wrapper>\n );\n};\n\nLCLink.defaultProps = omitBadProps(defaultMeta);\nexport default LCLink;\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,aAAa,QAAQ,QAAQ;AACtC,SAASC,YAAY;AACrB,OAAOC,WAAW;AAClB,OAAOC,OAAO;AACd,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,UAAU;AACnB,SAASC,OAAO;AAEhB,IAAMC,UAAU,GAA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M,CAACP,OAAO,EAAE;MAAEW,CAAC,EAADA;IAAE,CAAC,CAAC;EAC7C,CAAC,CAAC;EAEF,IAAMC,YAAY,GAAG/B,aAAa,CAAC;IAAA,OAAMuB,GAAG,CAACS,OAAO;EAAA,EAAC;EAErD,oBACEnC,KAAA,CAAAoC,aAAA,CAAC9B,OAAO;IAACc,EAAE,EAAEA,EAAG;IAACP,WAAW,EAAC,MAAM;IAACqB,YAAY,EAAEA;EAAa,gBAC7DlC,KAAA,CAAAoC,aAAA,CAAC1B,UAAU,EAAA2B,QAAA;IACTpB,IAAI,EAAEI;EAAI,GACNN,KAAK;IACTW,GAAG,EAAEA,GAAI;IACTY,IAAI,KAAAC,MAAA,CAAKxB,KAAK,CAACyB,GAAG,OAAAD,MAAA,CAAIxB,KAAK,CAAC0B,MAAM,CAAG;IACrCC,MAAM,EAAE3B,KAAK,CAAC4B,OAAO,GAAG,QAAQ,GAAG,OAAQ;IAC3CC,KAAK,EAAE7B,KAAK,CAACC,YAAY,IAAID,KAAK,CAAC8B,OAAQ;IAC3CvB,OAAO,EAAE,SAAAA,QAACW,CAAC,EAAK;MACdD,WAAW,CAACC,CAAC,CAAC;MACdN,GAAG,CAACmB,OAAO,KAAKrC,OAAO,CAACsC,MAAM,IAAId,CAAC,CAACe,cAAc,CAAC,CAAC;IACtD;EAAE,IAEDjC,KAAK,CAAC8B,OACG,CACL,CAAC;AAEd,CAAC;AAED3B,MAAM,CAAC+B,YAAY,GAAG7C,YAAY,CAACC,WAAW,CAAC;AAC/C,eAAea,MAAM"}
@@ -52,4 +52,5 @@ var PageContent = function PageContent() {
52
52
  }, canvas)) : null;
53
53
  };
54
54
  PageContent.defaultProps = omitBadProps(defaultMeta);
55
- export default PageContent;
55
+ export default PageContent;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useMemoizedFn","useCreation","styled","useGet","useCanvasRender","Wrapper","LC_BUILDIN_UNIT_KEY","omitBadProps","parseCSS","defaultMeta","Div","div","withConfig","displayName","componentId","props","$css","PageContent","ref","_useGet","PAGE_CONTENT","concat","PAGE_HEADER","_useGet2","_slicedToArray","pagecontent","enableHeader","headercss","canvas","contentStyle","_parseCSS","headerCss","header","_h","height","width","minHeight","getTargetDom","current","createElement","id","css","style","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageContent/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn, useCreation } from 'ahooks';\nimport styled from 'styled-components';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport Wrapper from '../Wrapper';\nimport { LC_BUILDIN_UNIT_KEY } from '../../../constants';\nimport { omitBadProps, parseCSS } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pagecontent.props.default.json';\n\nconst Div = styled.div`\n ${(props) => props.$css}\n`;\n\nconst PageContent = () => {\n const ref = useRef();\n const [pagecontent, enableHeader, headercss] = useGet([\n LC_BUILDIN_UNIT_KEY.PAGE_CONTENT,\n 'props.enableHeader',\n `${LC_BUILDIN_UNIT_KEY.PAGE_HEADER}.props.css`,\n ]);\n const canvas = useCanvasRender(pagecontent);\n\n const contentStyle = useCreation(() => {\n if (enableHeader) {\n const { header: headerCss } = parseCSS(`header{${headercss}}`);\n const _h = `calc(100% - ${headerCss.height || '0px'} - ${headerCss['margin-bottom'] || '0px'\n } - ${headerCss['margin-top'] || '0px'})`;\n return { width: '100%', height: 'auto', minHeight: _h };\n }\n return { width: '100%', height: '100%' };\n }, [enableHeader, headercss]);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return pagecontent ? (\n <Wrapper\n id={LC_BUILDIN_UNIT_KEY.PAGE_CONTENT}\n displayName=\"PageContent\"\n getTargetDom={getTargetDom}\n >\n <Div ref={ref} $css={pagecontent.props.css} style={contentStyle}>\n {canvas}\n </Div>\n </Wrapper>\n ) : null;\n};\n\nPageContent.defaultProps = omitBadProps(defaultMe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AAO;QAAEI,KAAK,EAAE,MAAM;QAAED,MAAM,EAAE,MAAM;QAAEE,SAAS,EAAEH;MAAG,CAAC;IACzD;IACA,OAAO;MAAEE,KAAK,EAAE,MAAM;MAAED,MAAM,EAAE;IAAO,CAAC;EAC1C,CAAC,EAAE,CAACR,YAAY,EAAEC,SAAS,CAAC,CAAC;EAE7B,IAAMU,YAAY,GAAGrC,aAAa,CAAC;IAAA,OAAMkB,GAAG,CAACoB,OAAO;EAAA,EAAC;EAErD,OAAOb,WAAW,gBAChB3B,KAAA,CAAAyC,aAAA,CAAClC,OAAO;IACNmC,EAAE,EAAElC,mBAAmB,CAACc,YAAa;IACrCP,WAAW,EAAC,aAAa;IACzBwB,YAAY,EAAEA;EAAa,gBAE3BvC,KAAA,CAAAyC,aAAA,CAAC7B,GAAG;IAACQ,GAAG,EAAEA,GAAI;IAACF,IAAI,EAAES,WAAW,CAACV,KAAK,CAAC0B,GAAI;IAACC,KAAK,EAAEb;EAAa,GAC7DD,MACE,CACE,CAAC,GACR,IAAI;AACV,CAAC;AAEDX,WAAW,CAAC0B,YAAY,GAAGpC,YAAY,CAACE,WAAW,CAAC;AACpD,eAAeQ,WAAW"}
@@ -35,4 +35,5 @@ var PageFooter = function PageFooter() {
35
35
  }, canvas));
36
36
  };
37
37
  PageFooter.defaultProps = omitBadProps(defaultMeta);
38
- export default PageFooter;
38
+ export default PageFooter;
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useMemoizedFn","styled","useGet","useCanvasRender","Wrapper","LC_BUILDIN_UNIT_KEY","omitBadProps","defaultMeta","Div","div","withConfig","displayName","componentId","props","$css","PageFooter","ref","pagefoot","PAGE_FOOTER","canvas","getTargetDom","current","createElement","id","css","style","width","height","background","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageFooter/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport Wrapper from '../Wrapper';\nimport { LC_BUILDIN_UNIT_KEY } from '../../../constants';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pagefooter.props.default.json';\n\nconst Div = styled.div`\n ${(props) => props.$css}\n`;\n\nconst PageFooter = () => {\n const ref = useRef();\n const pagefoot = useGet(LC_BUILDIN_UNIT_KEY.PAGE_FOOTER);\n const canvas = useCanvasRender(pagefoot);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={LC_BUILDIN_UNIT_KEY.PAGE_FOOTER} displayName=\"PageFooter\" getTargetDom={getTargetDom}>\n <Div\n ref={ref}\n $css={pagefoot.props.css}\n style={{ width: '100%', height: 80, background: '#69c0ff' }}\n >\n {canvas}\n </Div>\n </Wrapper>\n );\n};\n\nPageFooter.defaultProps = omitBadProps(defaultMeta);\nexport default PageFooter;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM;AACf,OAAOC,eAAe;AACtB,OAAOC,OAAO;AACd,SAASC,mBAAmB;AAC5B,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,GAAG,GAAGP,MAAM,CAACQ,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAClB,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAA,EAAS;EACvB,IAAMC,GAAG,GAAGjB,MAAM,CAAC,CAAC;EACpB,IAAMkB,QAAQ,GAAGf,MAAM,CAACG,mBAAmB,CAACa,WAAW,CAAC;EACxD,IAAMC,MAAM,GAAGhB,eAAe,CAACc,QAAQ,CAAC;EAExC,IAAMG,YAAY,GAAGpB,aAAa,CAAC;IAAA,OAAMgB,GAAG,CAACK,OAAO;EAAA,EAAC;EAErD,oBACEvB,KAAA,CAAAwB,aAAA,CAAClB,OAAO;IAACmB,EAAE,EAAElB,mBAAmB,CAACa,WAAY;IAACP,WAAW,EAAC,YAAY;IAACS,YAAY,EAAEA;EAAa,gBAChGtB,KAAA,CAAAwB,aAAA,CAACd,GAAG;IACFQ,GAAG,EAAEA,GAAI;IACTF,IAAI,EAAEG,QAAQ,CAACJ,KAAK,CAACW,GAAI;IACzBC,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE,EAAE;MAAEC,UAAU,EAAE;IAAU;EAAE,GAE3DT,MACE,CACE,CAAC;AAEd,CAAC;AAEDJ,UAAU,CAACc,YAAY,GAAGvB,YAAY,CAACC,WAAW,CAAC;AACnD,eAAeQ,UAAU"}
@@ -39,4 +39,5 @@ var PageHeader = function PageHeader() {
39
39
  }, canvas));
40
40
  };
41
41
  PageHeader.defaultProps = omitBadProps(defaultMeta);
42
- export default PageHeader;
42
+ export default PageHeader;
43
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useMemoizedFn","styled","useGet","useCanvasRender","Wrapper","LC_BUILDIN_UNIT_KEY","omitBadProps","defaultMeta","Div","div","withConfig","displayName","componentId","props","$css","PageHeader","ref","_useGet","PAGE_HEADER","_useGet2","_slicedToArray","pageheader","fixed","canvas","getTargetDom","current","createElement","id","css","style","position","top","zIndex","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageHeader/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport Wrapper from '../Wrapper';\nimport { LC_BUILDIN_UNIT_KEY } from '../../../constants';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pageheader.props.default.json';\n\nconst Div = styled.div`\n ${(props) => props.$css}\n`;\n\nconst PageHeader = () => {\n const ref = useRef();\n const [pageheader, fixed] = useGet([LC_BUILDIN_UNIT_KEY.PAGE_HEADER, 'props.fixedHeader']);\n const canvas = useCanvasRender(pageheader);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={LC_BUILDIN_UNIT_KEY.PAGE_HEADER} displayName=\"PageHeader\" getTargetDom={getTargetDom}>\n <Div\n ref={ref}\n $css={pageheader.props.css}\n style={fixed ? { position: 'sticky', top: 0, zIndex: 10 } : null}\n >\n {canvas}\n </Div>\n </Wrapper>\n );\n};\n\nPageHeader.defaultProps = omitBadProps(defaultMeta);\nexport default PageHeader;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM;AACf,OAAOC,eAAe;AACtB,OAAOC,OAAO;AACd,SAASC,mBAAmB;AAC5B,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,GAAG,GAAGP,MAAM,CAACQ,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAClB,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAA,EAAS;EACvB,IAAMC,GAAG,GAAGjB,MAAM,CAAC,CAAC;EACpB,IAAAkB,OAAA,GAA4Bf,MAAM,CAAC,CAACG,mBAAmB,CAACa,WAAW,EAAE,mBAAmB,CAAC,CAAC;IAAAC,QAAA,GAAAC,cAAA,CAAAH,OAAA;IAAnFI,UAAU,GAAAF,QAAA;IAAEG,KAAK,GAAAH,QAAA;EACxB,IAAMI,MAAM,GAAGpB,eAAe,CAACkB,UAAU,CAAC;EAE1C,IAAMG,YAAY,GAAGxB,aAAa,CAAC;IAAA,OAAMgB,GAAG,CAACS,OAAO;EAAA,EAAC;EAErD,oBACE3B,KAAA,CAAA4B,aAAA,CAACtB,OAAO;IAACuB,EAAE,EAAEtB,mBAAmB,CAACa,WAAY;IAACP,WAAW,EAAC,YAAY;IAACa,YAAY,EAAEA;EAAa,gBAChG1B,KAAA,CAAA4B,aAAA,CAAClB,GAAG;IACFQ,GAAG,EAAEA,GAAI;IACTF,IAAI,EAAEO,UAAU,CAACR,KAAK,CAACe,GAAI;IAC3BC,KAAK,EAAEP,KAAK,GAAG;MAAEQ,QAAQ,EAAE,QAAQ;MAAEC,GAAG,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAG,CAAC,GAAG;EAAK,GAEhET,MACE,CACE,CAAC;AAEd,CAAC;AAEDR,UAAU,CAACkB,YAAY,GAAG3B,YAAY,CAACC,WAAW,CAAC;AACnD,eAAeQ,UAAU"}
@@ -69,4 +69,5 @@ var FunctionDesign = function FunctionDesign(_ref) {
69
69
  display: display
70
70
  }, props), children);
71
71
  };
72
- export default FunctionDesign;
72
+ export default FunctionDesign;
73
+ //# sourceMappingURL=FunctionDesign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useCreation","useMemoizedFn","suid","useContext","useGet","addNode","clearChildren","Index","boxDefaultMeta","FunctionDesign","_ref","children","id","display","props","_objectWithoutProperties","_excluded","ctx","current","refreshChild","ratioArr","split","prevChildren","i","_box$children","_box","push","length","forEach","_","_boxId","concat","_objectSpread","buildIn","style","width","height","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","watch","cmid","COMPONENT_MODIFY","on","_ref3","newValue","hasOwnProperty","$unsubscriber","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/FunctionDesign.jsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useCreation, useMemoizedFn } from 'ahooks';\nimport { suid } from '@luck-design-biz/base/utils';\nimport {\n useContext,\n useGet,\n addNode,\n clearChildren,\n} from '../../../engine/provider/ContextProvider';\nimport Index from './index';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst FunctionDesign = ({ children, id, display, ...props }) => {\n const ctx = useContext();\n const current = useGet({ id });\n\n const refreshChild = useMemoizedFn(() => {\n const ratioArr = display.split('');\n const prevChildren = [];\n for (let i in current.children) {\n const _box = current[current.children[i]];\n if (_box?.children?.[0]) {\n prevChildren.push([_box.children[0], _box[_box.children[0]].props]);\n }\n if (i === ratioArr.length - 1) break;\n }\n clearChildren(id);\n ratioArr.forEach((_, i) => {\n const _boxId = `box_${suid()}`;\n addNode(id, _boxId, {\n ...boxDefaultMeta,\n buildIn: true,\n style: { width: 'calc(100% - 32px)', height: 'calc(100% - 32px)' },\n });\n if (prevChildren[i]) {\n addNode(_boxId, prevChildren[i][0], prevChildren[i][1]);\n }\n });\n });\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n }, []);\n\n useEffect(() => {\n const cmid = ctx\n .$subscriber(ctx.topics.COMPONENT_MODIFY)\n .on(({ id: compId, newValue }) => {\n if (compId !== id) return;\n if (newValue.hasOwnProperty('display')) {\n refreshChild();\n }\n })\n .watch();\n\n return () => ctx.$unsubscriber(ctx.topics.COMPONENT_MODIFY, cmid);\n }, []);\n\n return (\n <Index id={id} display={display} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,WAAW,EAAEC,aAAa,QAAQ,QAAQ;AACnD,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SACEC,UAAU,EACVC,MAAM,EACNC,OAAO,EACPC,aAAa;AAEf,OAAOC,KAAK;AACZ,OAAOC,cAAc;AAErB,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAA4C;E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ACnE,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE9C,KAAA,CAAAqD,aAAA,CAAC5C,KAAK,EAAA6C,QAAA;IAACxC,EAAE,EAAEA,EAAG;IAACC,OAAO,EAAEA;EAAQ,GAAKC,KAAK,GACvCH,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionLive;
10
+ export default FunctionLive;
11
+ //# sourceMappingURL=FunctionLive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionPreview;
10
+ export default FunctionPreview;
11
+ //# sourceMappingURL=FunctionPreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
@@ -38,4 +38,5 @@ var LCPageLayout = function LCPageLayout(_ref) {
38
38
  }, children === null || children === void 0 ? void 0 : children[1], children === null || children === void 0 ? void 0 : children[2])) : null)]));
39
39
  };
40
40
  LCPageLayout.defaultProps = omitBadProps(defaultMeta);
41
- export default LCPageLayout;
41
+ export default LCPageLayout;
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useMemoizedFn","styled","Layout","MemorySplit","Wrapper","omitBadProps","defaultMeta","StyledLayout","withConfig","displayName","componentId","props","$css","LCPageLayout","_ref","id","children","css","display","height","width","ref","getTargetDom","current","createElement","wrapperRef","Main","length","split","Sider","Fragment","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageLayout/index.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { useMemoizedFn } from 'ahooks';\nimport styled from 'styled-components';\nimport { Layout, MemorySplit } from '@luck-design-biz/base';\nimport Wrapper from '../Wrapper';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/pagelayout.props.default.json';\n\nconst StyledLayout = styled(Layout)`\n ${(props) => props.$css}\n`;\n\nconst LCPageLayout = ({ id, children, css, display, height, width }) => {\n const ref = useRef();\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n return (\n <Wrapper id={id} displayName=\"PageLayout\" getTargetDom={getTargetDom}>\n <StyledLayout wrapperRef={ref} $css={css} height={height} width={width}>\n {display === 'tb' ? (\n <Layout.Main>\n {children?.length === display.split('').length ? (\n <MemorySplit split=\"horizontal\">{children}</MemorySplit>\n ) : null}\n </Layout.Main>\n ) : (\n [\n <Layout.Sider>{children?.[0]}</Layout.Sider>,\n <Layout.Main>\n {children?.length === display.split('').length ? (\n <>\n {display === 'lr' ? (\n children?.[1]\n ) : (\n <MemorySplit split={display === 'ltb' ? 'horizontal' : 'vertical'}>\n {children?.[1]}\n {children?.[2]}\n </MemorySplit>\n )}\n </>\n ) : null}\n </Layout.Main>,\n ]\n )}\n </StyledLayout>\n </Wrapper>\n );\n};\n\nLCPageLayout.defaultProps = omitBadProps(defaultMeta);\nexport default LCPageLayout;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,aAAa,QAAQ,QAAQ;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM,EAAEC,WAAW,QAAQ,uBAAuB;AAC3D,OAAOC,OAAO;AACd,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,YAAY,GAAGN,MAAM,CAACC,MAAM,CAAC,CAAAM,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC/B,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAAsD;EAAA,IAAhDC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;IAAEC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;IAAEC,MAAM,GAAAL,IAAA,CAANK,MAAM;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AACyB,KAAK,EAAEV,OAAO,KAAK,KAAK,GAAG,YAAY,GAAG;EAAW,GAC/DF,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAG,CAAC,CAAC,EACbA,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAG,CAAC,CACF,CAEf,CAAC,GACD,IACO,CAAC,CAGN,CACP,CAAC;AAEd,CAAC;AAEDH,YAAY,CAACkB,YAAY,GAAG1B,YAAY,CAACC,WAAW,CAAC;AACrD,eAAeO,YAAY"}
@@ -17,4 +17,5 @@ var PageModal = function PageModal() {
17
17
  });
18
18
  return useCanvasRender(pagemodal);
19
19
  };
20
- export default PageModal;
20
+ export default PageModal;
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["reduce","useGet","useCanvasRender","LC_BUILDIN_UNIT_KEY_LIST","PageModal","pagemodal","pagedata","children","result","childId","includes","push"],"sources":["../../../../../luckda/lowcode/view/lc-components/PageModal/index.jsx"],"sourcesContent":["import { reduce } from 'lodash';\nimport { useGet } from '../../../engine/provider/ContextProvider';\nimport useCanvasRender from '../../../engine/tools/useCanvasRender';\nimport { LC_BUILDIN_UNIT_KEY_LIST } from '../../../constants';\n\nconst PageModal = () => {\n const pagemodal = useGet((pagedata)=> {\n return reduce(pagedata?.children, (result, childId)=> {\n if (!LC_BUILDIN_UNIT_KEY_LIST.includes(childId)) {\n result[childId] = pagedata[childId];\n if (!result.children) {\n result.children = [];\n }\n result.children.push(childId);\n }\n return result;\n }, {})\n });\n\n return useCanvasRender(pagemodal);\n};\n\nexport default PageModal;\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,QAAQ;AAC/B,SAASC,MAAM;AACf,OAAOC,eAAe;AACtB,SAASC,wBAAwB;AAEjC,IAAMC,SAAS,GAAG,SAAZA,SAASA,CAAA,EAAS;EACtB,IAAMC,SAAS,GAAGJ,MAAM,CAAC,UAACK,QAAQ,EAAI;IACpC,OAAON,MAAM,CAACM,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEC,QAAQ,EAAE,UAACC,MAAM,EAAEC,OAAO,EAAI;MACpD,IAAI,CAACN,wBAAwB,CAACO,QAAQ,CAACD,OAAO,CAAC,EAAE;QAC/CD,MAAM,CAACC,OAAO,CAAC,GAAGH,QAAQ,CAACG,OAAO,CAAC;QACnC,IAAI,CAACD,MAAM,CAACD,QAAQ,EAAE;UACpBC,MAAM,CAACD,QAAQ,GAAG,EAAE;QACtB;QACAC,MAAM,CAACD,QAAQ,CAACI,IAAI,CAACF,OAAO,CAAC;MAC/B;MACA,OAAOD,MAAM;IACf,CAAC,EAAE,CAAC,CAAC,CAAC;EACR,CAAC,CAAC;EAEF,OAAON,eAAe,CAACG,SAAS,CAAC;AACnC,CAAC;AAED,eAAeD,SAAS"}
@@ -29,4 +29,5 @@ var FunctionDesign = function FunctionDesign(_ref) {
29
29
  id: id
30
30
  }, props), children);
31
31
  };
32
- export default FunctionDesign;
32
+ export default FunctionDesign;
33
+ //# sourceMappingURL=FunctionDesign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","useCreation","suid","useContext","addNode","add","boxDefaultMeta","FunctionDesign","_ref","children","id","props","_objectWithoutProperties","_excluded","ctx","length","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","boxId","concat","_objectSpread","buildIn","watch","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/FunctionDesign.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\nimport { useCreation } from 'ahooks';\nimport { suid } from '@luck-design-biz/base/utils';\nimport { useContext, addNode } from '../../../engine/provider/ContextProvider';\nimport { add } from '../../../engine/tools/dataProcess';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst FunctionDesign = ({ children, id, ...props }) => {\n const ctx = useContext();\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n const boxId = `box_${suid()}`;\n addNode(id, boxId, {\n ...boxDefaultMeta,\n buildIn: true,\n });\n })\n .watch();\n }, []);\n\n return (\n <Index id={id} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AACZ,SAASC,WAAW,QAAQ,QAAQ;AACpC,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SAASC,UAAU,EAAEC,OAAO;AAC5B,SAASC,GAAG;AACZ,OAAOC,cAAc;AAErB,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAAmC;EAAA,IAA7BC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,EAAE,GAAAF,IAAA,CAAFE,EAAE;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC9C,IAAMC,GAAG,GAAGX,UAAU,CAAC,CAAC;EAExBF,WAAW,CAAC,YAAM;IAChB,IAAIQ,QAAQ,aAARA,QAAQ,eAARA,QAAQ,CAAEM,MAAM,EAAE;IACtBD,GAAG,CACAE,WAAW,CAACF,GAAG,CAACG,MAAM,CAACC,gBAAgB,CAAC,CACxCC,IAAI,CAAC,UAAAC,KAAA,EAAoB;MAAA,IAAbC,MAAM,GAAAD,KAAA,CAAVV,EAAE;MACT,IAAIW,MAAM,KAAKX,EAAE,EAAE;MACnB,IAAMY,KAAK,UAAAC,MAAA,CAAUrB,IAAI,CAAC,CAAC,CAAE;MAC7BE,OAAO,CAACM,EAAE,EAAEY,KAAK,EAAAE,aAAA,CAAAA,aAAA,KACZlB,cAAc;QACjBmB,OAAO,EAAE;MAAI,EACd,CAAC;IACJ,CAAC,CAAC,CACDC,KAAK,CAAC,CAAC;EACZ,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE3B,KAAA,CAAA4B,aAAA,CAAC3B,KAAK,EAAA4B,QAAA;IAAClB,EAAE,EAAEA;EAAG,GAAKC,KAAK,GACrBF,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionLive;
10
+ export default FunctionLive;
11
+ //# sourceMappingURL=FunctionLive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionPreview;
10
+ export default FunctionPreview;
11
+ //# sourceMappingURL=FunctionPreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
@@ -121,4 +121,5 @@ var LCSection = function LCSection(_ref2) {
121
121
  }, _panelProps), children)));
122
122
  };
123
123
  LCSection.defaultProps = omitBadProps(defaultMeta);
124
- export default LCSection;
124
+ export default LCSection;
125
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useEffect","findDOMNode","useMemoizedFn","useCreation","styled","classNames","Collapse","Icon","Tooltip","useContext","IconFont","RuntimeComp","omitBadProps","defaultMeta","Wrapper","styles","StyledCollapse","withConfig","displayName","componentId","props","$css","StyledPanel","Panel","padding","HeaderWrapper","div","Header","_ref","title","icon","tooltip","subtitle","createElement","type","style","marginRight","fontSize","color","theme","margin","LCSection","_ref2","id","children","collapse","iconFont","extra","simple","destroyInactivePanel","css","advance","ref","ctx","_useCreation","_collapseProps","defaultActiveKey","_panelProps","activeKey","showArrow","doAction","events","onMount","onUnmount","getTargetDom","current","_extends","bordered","className","_defineProperty","header","key","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Section/index.jsx"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport { findDOMNode } from 'react-dom';\nimport { useMemoizedFn, useCreation } from 'ahooks';\nimport styled from 'styled-components';\nimport classNames from 'classnames';\nimport { Collapse, Icon, Tooltip } from 'luck-design/antd';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport IconFont from '../../../../components/IconFont';\nimport RuntimeComp from '../JSX/RuntimeComp';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/section.props.default.json';\nimport Wrapper from '../Wrapper';\nimport styles from './index.less';\n\nconst StyledCollapse = styled(Collapse)`\n ${(props) => props.$css}\n`;\n\nconst StyledPanel = styled(Collapse.Panel)`\n .ant-collapse-content-box {\n ${(props) => (!props.padding ? 'padding: 0' : void 0)}\n }\n`;\n\nconst HeaderWrapper = styled.div`\n width: auto;\n display: inline-flex;\n align-items: center;\n`;\n\nconst Header = ({ title, icon, tooltip, subtitle }) => {\n return (\n <HeaderWrapper>\n {icon ? (\n <IconFont type={icon} style={{ marginRight: 8, fontSize: 14, color: '#878f95' }} />\n ) : null}\n {title}\n {tooltip ? (\n <Tooltip title={tooltip}>\n <Icon\n type=\"info-circle\"\n theme=\"filled\"\n style={{ margin: '0 8px', fontSize: 14, color: 'var(--ant-primary-color)' }}\n />\n </Tooltip>\n ) : null}\n {subtitle ? <RuntimeComp>{subtitle}</RuntimeComp> : null}\n </HeaderWrapper>\n );\n};\n\nconst LCSection = ({\n id,\n children,\n collapse,\n title,\n iconFont,\n tooltip,\n subtitle,\n extra,\n simple,\n destroyInactivePanel,\n padding,\n css,\n advance,\n}) => {\n const ref = useRef();\n const ctx = useContext();\n\n const { _collapseProps, _panelProps } = useCreation(() => {\n if (collapse) {\n return {\n _collapseProps: {\n defaultActiveKey: [id],\n },\n _panelProps: {},\n };\n }\n return {\n _collapseProps: {\n activeKey: [id],\n },\n _panelProps: {\n showArrow: false,\n },\n };\n }, [collapse]);\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return () => {\n ctx.doAction(advance.events.onUnmount);\n };\n }, []);\n\n const getTargetDom = useMemoizedFn(() => findDOMNode(ref.current));\n\n return (\n <Wrapper id={id} displayName=\"Section\" getTargetDom={getTargetDom}>\n <StyledCollapse\n ref={ref}\n bordered={!simple}\n className={classNames(styles['lc-component-Section'], {\n [styles['simple-theme']]: simple,\n })}\n destroyInactivePanel={destroyInactivePanel}\n $css={css}\n {..._collapseProps}\n >\n <StyledPanel\n header={<Header title={title} icon={iconFont} tooltip={tooltip} subtitle={subtitle} />}\n key={id}\n extra={extra ? <RuntimeComp>{extra}</RuntimeComp> : null}\n padding={padding}\n {..._panelProps}\n >\n {children}\n </StyledPanel>\n </StyledCollapse>\n </Wrapper>\n );\n};\n\nLCSection.defaultProps = omitBadProps(defaultMeta);\nexport default LCSection;\n"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAChD,SAASC,WAAW,QAAQ,WAAW;AACvC,SAASC,aAAa,EAAEC,WAAW,QAAQ,QAAQ;AACnD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,QAAQ,kBAAkB;AAC1D,SAASC,UAAU;AACnB,OAAOC,QAAQ;AACf,OAAOC,WAAW;AAClB,SAASC,YAAY;AACrB,OAAOC,WAAW;AAClB,OAAOC,OAAO;AACd,OAAOC,MAAM;AAEb,IAAMC,cAAc,GAAGZ,MAAM,CAACE,QAAQ,CAAC,CAAAW,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aACnC,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,WAAW,GAAGlB,MAAM,CAACE,QAAQ,CAACiB,KAAK,CAAC,CAAAN,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wCAEpC,UAACC,KAAK;EAAA,OAAM,CAACA,KAAK,CAACI,OAAO,GAAG,YAAY,GAAG,KAAK,CAAC;AAAA,CAAC,CAExD;AAED,IAAMC,aAAa,GAAGrB,MAAM,CAACsB,GAAG,CAAAT,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,0DAI/B;AAED,IAAMQ,MAAM,GAAG,SAATA,MAAMA,CAAAC,IAAA,EAA2C;EAAA,IAArCC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,IAAI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AACnB,MAAO;IAClBoB,SAAS,EAAE/D,UAAU,CAACU,MAAM,CAAC,sBAAsB,CAAC,EAAAsD,eAAA,KACjDtD,MAAM,CAAC,cAAc,CAAC,EAAGiC,MAAM,CACjC,CAAE;IACHC,oBAAoB,EAAEA,oBAAqB;IAC3C5B,IAAI,EAAE6B;EAAI,GACNK,cAAc,gBAElBzD,KAAA,CAAAmC,aAAA,CAACX,WAAW,EAAA4C,QAAA;IACVI,MAAM,eAAExE,KAAA,CAAAmC,aAAA,CAACN,MAAM;MAACE,KAAK,EAAEA,KAAM;MAACC,IAAI,EAAEgB,QAAS;MAACf,OAAO,EAAEA,OAAQ;MAACC,QAAQ,EAAEA;IAAS,CAAE,CAAE;IACvFuC,GAAG,EAAE5B,EAAG;IACRI,KAAK,EAAEA,KAAK,gBAAGjD,KAAA,CAAAmC,aAAA,CAACtB,WAAW,QAAEoC,KAAmB,CAAC,GAAG,IAAK;IACzDvB,OAAO,EAAEA;EAAQ,GACbiC,WAAW,GAEdb,QACU,CACC,CACT,CAAC;AAEd,CAAC;AAEDH,SAAS,CAAC+B,YAAY,GAAG5D,YAAY,CAACC,WAAW,CAAC;AAClD,eAAe4B,SAAS"}
@@ -60,4 +60,5 @@ var FunctionDesign = function FunctionDesign(_ref) {
60
60
  display: display
61
61
  }, props), children);
62
62
  };
63
- export default FunctionDesign;
63
+ export default FunctionDesign;
64
+ //# sourceMappingURL=FunctionDesign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useCreation","useMemoizedFn","suid","drop","useContext","useGet","addNode","deleteNode","Index","boxDefaultMeta","FunctionDesign","_ref","children","id","display","props","_objectWithoutProperties","_excluded","ctx","current","refreshChild","_current$children","ratioArr","ratio","split","length","forEach","boxId","_","index","_current$children2","concat","_objectSpread","buildIn","$subscriber","topics","COMPONENT_APPEND","once","_ref2","compId","watch","cmid","COMPONENT_MODIFY","on","_ref3","newValue","hasOwnProperty","$unsubscriber","createElement","_extends"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/FunctionDesign.jsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useCreation, useMemoizedFn } from 'ahooks';\nimport { suid } from '@luck-design-biz/base/utils';\nimport { drop } from 'lodash';\nimport { useContext, useGet, addNode, deleteNode } from '../../../engine/provider/ContextProvider';\nimport Index from './index';\nimport boxDefaultMeta from '../../../engine/meta/box.props.default.json';\n\nconst FunctionDesign = ({ children, id, display, ...props }) => {\n const ctx = useContext();\n const current = useGet({ id });\n\n const refreshChild = useMemoizedFn(() => {\n const ratioArr = display.ratio.split(':');\n if (ratioArr.length === current.children?.length) return;\n drop(current.children, ratioArr.length).forEach((boxId) => {\n deleteNode(boxId);\n });\n ratioArr.forEach((_, index) => {\n if (!current.children?.[index]) {\n addNode(id, `box_${suid()}`, { ...boxDefaultMeta, buildIn: true });\n }\n });\n });\n\n useCreation(() => {\n if (children?.length) return;\n ctx\n .$subscriber(ctx.topics.COMPONENT_APPEND)\n .once(({ id: compId }) => {\n if (compId !== id) return;\n refreshChild();\n })\n .watch();\n }, []);\n\n useEffect(() => {\n const cmid = ctx\n .$subscriber(ctx.topics.COMPONENT_MODIFY)\n .on(({ id: compId, newValue }) => {\n if (compId !== id) return;\n if (newValue.hasOwnProperty('display')) {\n refreshChild();\n }\n })\n .watch();\n\n return () => ctx.$unsubscriber(ctx.topics.COMPONENT_MODIFY, cmid);\n }, []);\n\n return (\n <Index id={id} display={display} {...props}>\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,WAAW,EAAEC,aAAa,QAAQ,QAAQ;AACnD,SAASC,IAAI,QAAQ,6BAA6B;AAClD,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,UAAU,EAAEC,MAAM,EAAEC,OAAO,EAAEC,UAAU;AAChD,OAAOC,KAAK;AACZ,OAAOC,cAAc;AAErB,IAAMC,cAAc,GAAG,SAA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MAAM,EAAE;IACtBP,GAAG,CACAgB,WAAW,CAAChB,GAAG,CAACiB,MAAM,CAACC,gBAAgB,CAAC,CACxCC,IAAI,CAAC,UAAAC,KAAA,EAAoB;MAAA,IAAbC,MAAM,GAAAD,KAAA,CAAVzB,EAAE;MACT,IAAI0B,MAAM,KAAK1B,EAAE,EAAE;MACnBO,YAAY,CAAC,CAAC;IAChB,CAAC,CAAC,CACDoB,KAAK,CAAC,CAAC;EACZ,CAAC,EAAE,EAAE,CAAC;EAENzC,SAAS,CAAC,YAAM;IACd,IAAM0C,IAAI,GAAGvB,GAAG,CACbgB,WAAW,CAAChB,GAAG,CAACiB,MAAM,CAACO,gBAAgB,CAAC,CACxCC,EAAE,CAAC,UAAAC,KAAA,EAA8B;MAAA,IAAvBL,MAAM,GAAAK,KAAA,CAAV/B,EAAE;QAAUgC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;MACzB,IAAIN,MAAM,KAAK1B,EAAE,EAAE;MACnB,IAAIgC,QAAQ,CAACC,cAAc,CAAC,SAAS,CAAC,EAAE;QACtC1B,YAAY,CAAC,CAAC;MAChB;IACF,CAAC,CAAC,CACDoB,KAAK,CAAC,CAAC;IAEV,OAAO;MAAA,OAAMtB,GAAG,CAAC6B,aAAa,CAAC7B,GAAG,CAACiB,MAAM,CAACO,gBAAgB,EAAED,IAAI,CAAC;IAAA;EACnE,CAAC,EAAE,EAAE,CAAC;EAEN,oBACE3C,KAAA,CAAAkD,aAAA,CAACxC,KAAK,EAAAyC,QAAA;IAACpC,EAAE,EAAEA,EAAG;IAACC,OAAO,EAAEA;EAAQ,GAAKC,KAAK,GACvCH,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionLive;
10
+ export default FunctionLive;
11
+ //# sourceMappingURL=FunctionLive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAErF,eAAeF,YAAY"}
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionPreview;
10
+ export default FunctionPreview;
11
+ //# sourceMappingURL=FunctionPreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
@@ -71,4 +71,5 @@ var LCSplit = function LCSplit(_ref) {
71
71
  }))));
72
72
  };
73
73
  LCSplit.defaultProps = omitBadProps(defaultMeta);
74
- export default LCSplit;
74
+ export default LCSplit;
75
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useEffect","useMemoizedFn","useCreation","styled","sum","MemorySplit","useContext","Wrapper","omitBadProps","defaultMeta","_MAPPING_","left","up","right","down","Div","div","withConfig","displayName","componentId","props","$css","LCSplit","_ref","id","children","css","display","advance","ref","ctx","doAction","events","onMount","onUnmount","getTargetDom","current","_useCreation","arr","ratio","split","map","r","parseInt","ratioArr","total","handleChange","value","onChange","createElement","i","Pane","fastTo","length","initialSize","concat","key","defaultProps"],"sources":["../../../../../luckda/lowcode/view/lc-components/Split/index.jsx"],"sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport { useMemoizedFn, useCreation } from 'ahooks';\nimport styled from 'styled-components';\nimport { sum } from 'lodash';\nimport { MemorySplit } from '@luck-design-biz/base';\nimport { useContext } from '../../../engine/provider/ContextProvider';\nimport Wrapper from '../Wrapper';\nimport { omitBadProps } from '../../../engine/tools/helper';\nimport defaultMeta from '../../../engine/meta/split.props.default.json';\n\nconst _MAPPING_ = {\n left: 'min',\n up: 'min',\n right: 'max',\n down: 'max',\n};\n\nconst Div = styled.div`\n width: 100%;\n height: 100%;\n ${(props) => props.$css}\n`;\n\nconst LCSplit = ({ id, children, css, display, advance }) => {\n const ref = useRef();\n\n const ctx = useContext();\n\n useEffect(() => {\n ctx.doAction(advance.events.onMount);\n return ()=> ctx.doAction(advance.events.onUnmount);\n }, []);\n\n const getTargetDom = useMemoizedFn(() => ref.current);\n\n const { ratioArr, total } = useCreation(() => {\n const arr = display.ratio.split(':').map((r) => parseInt(r));\n return {\n ratioArr: arr,\n total: sum(arr),\n };\n }, [display.ratio]);\n\n const handleChange = useMemoizedFn((value)=> {\n ctx.doAction(advance.events.onChange, { value });\n });\n\n return (\n <Wrapper id={id} displayName=\"Split\" getTargetDom={getTargetDom}>\n <Div ref={ref} $css={css}>\n <MemorySplit split={display.split} onChange={handleChange}>\n {ratioArr.map((r, i) => (\n <MemorySplit.Pane\n fastTo={\n !display.fastTo || i === display.fastTo.length\n ? 'max'\n : _MAPPING_[display.fastTo[i]]\n }\n initialSize={`${(r / total) * 100}%`}\n key={i}\n >\n {children?.[i]}\n </MemorySplit.Pane>\n ))}\n </MemorySplit>\n </Div>\n </Wrapper>\n );\n};\n\nLCSplit.defaultProps = omitBadProps(defaultMeta);\nexport default LCSplit;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAChD,SAASC,aAAa,EAAEC,WAAW,QAAQ,QAAQ;AACnD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,WAAW,QAAQ,uBAAuB;AACnD,SAASC,UAAU;AACnB,OAAOC,OAAO;AACd,SAASC,YAAY;AACrB,OAAOC,WAAW;AAElB,IAAMC,SAAS,GAAG;EAChBC,IAAI,EAAE,KAAK;EACXC,EAAE,EAAE,KAAK;EACTC,KAAK,EAAE,KAAK;EACZC,IAAI,EAAE;AACR,CAAC;AAED,IAAMC,GAAG,GAAGZ,MAAM,CAACa,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oCAGlB,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,IAAI;AAAA,EACxB;AAED,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAAAC,IAAA,EAAgD;EAAA,IAA1CC,EAAE,GAAAD,IAAA,CAAFC,EAAE;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;IAAEC,OAAO,GAAAJ,IAAA,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AG;IAACc,GAAG,EAAEA,GAAI;IAACR,IAAI,EAAEK;EAAI,gBACvB5B,KAAA,CAAAmD,aAAA,CAAC5C,WAAW;IAACmC,KAAK,EAAEb,OAAO,CAACa,KAAM;IAACQ,QAAQ,EAAEF;EAAa,GACvDF,QAAQ,CAACH,GAAG,CAAC,UAACC,CAAC,EAAEQ,CAAC;IAAA,oBACjBpD,KAAA,CAAAmD,aAAA,CAAC5C,WAAW,CAAC8C,IAAI;MACfC,MAAM,EACJ,CAACzB,OAAO,CAACyB,MAAM,IAAIF,CAAC,KAAKvB,OAAO,CAACyB,MAAM,CAACC,MAAM,GAC1C,KAAK,GACL3C,SAAS,CAACiB,OAAO,CAACyB,MAAM,CAACF,CAAC,CAAC,CAChC;MACDI,WAAW,KAAAC,MAAA,CAAMb,CAAC,GAAGG,KAAK,GAAI,GAAG,MAAI;MACrCW,GAAG,EAAEN;IAAE,GAENzB,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAGyB,CAAC,CACG,CAAC;EAAA,CACpB,CACU,CACV,CACE,CAAC;AAEd,CAAC;AAED5B,OAAO,CAACmC,YAAY,GAAGjD,YAAY,CAACC,WAAW,CAAC;AAChD,eAAea,OAAO"}
@@ -52,4 +52,5 @@ var FunctionDesign = function FunctionDesign(_ref) {
52
52
  onGridReady: handleGridReady
53
53
  }, props), children);
54
54
  };
55
- export default FunctionDesign;
55
+ export default FunctionDesign;
56
+ //# sourceMappingURL=FunctionDesign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","Index","useLatest","useUpdateEffect","useMemoizedFn","classNames","FunctionDesign","_ref","children","className","suppressPreset","renderIndex","zebra","actions","props","_objectWithoutProperties","_excluded","ref","gridRef","latestZebra","latestActions","handleGridReady","grid","current","itemsToUpdate","api","forEachNode","rowNode","push","data","updateRowData","update","refreshCells","columns","force","columnApi","setColumnVisible","createElement","_extends","_defineProperty","onGridReady"],"sources":["../../../../../luckda/lowcode/view/lc-components/Table/FunctionDesign.jsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport Index from './index';\nimport { useLatest, useUpdateEffect, useMemoizedFn } from 'ahooks';\nimport classNames from 'classnames';\n\nconst FunctionDesign = ({\n children,\n className,\n suppressPreset,\n renderIndex,\n zebra,\n actions,\n ...props\n}) => {\n const ref = useRef(null);\n const gridRef = useRef(null);\n\n const latestZebra = useLatest(zebra);\n const latestActions = useLatest(actions);\n\n const handleGridReady = useMemoizedFn((grid) => {\n gridRef.current = grid;\n });\n\n useUpdateEffect(() => {\n if (!gridRef.current) return;\n const itemsToUpdate = [];\n gridRef.current.api.forEachNode((rowNode) => {\n itemsToUpdate.push(rowNode.data);\n });\n gridRef.current.api.updateRowData({ update: itemsToUpdate });\n }, [zebra]);\n\n useUpdateEffect(() => {\n if (!gridRef.current) return;\n gridRef.current.api.refreshCells({\n columns: ['luck-actions'],\n force: true,\n });\n }, [actions]);\n\n useUpdateEffect(() => {\n if (!gridRef.current) return;\n gridRef.current.columnApi.setColumnVisible('luck-index', renderIndex);\n }, [renderIndex]);\n\n return (\n <Index\n ref={ref}\n className={classNames({ [className]: !!className })}\n suppressPreset\n renderIndex={renderIndex}\n zebra={latestZebra}\n actions={latestActions}\n onGridReady={handleGridReady}\n {...props}\n >\n {children}\n </Index>\n );\n};\n\nexport default FunctionDesign;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,OAAOC,KAAK;AACZ,SAASC,SAAS,EAAEC,eAAe,EAAEC,aAAa,QAAQ,QAAQ;AAClE,OAAOC,UAAU,MAAM,YAAY;AAEnC,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,IAAA,EAQd;EAAA,IAPJC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,cAAc,GAAAH,IAAA,CAAdG,cAAc;IACdC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IACXC,KAAK,GAAAL,IAAA,CA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WAAW,CAAC,CAAC;EAEjB,oBACEZ,KAAA,CAAAsC,aAAA,CAACpC,KAAK,EAAAqC,QAAA;IACJrB,GAAG,EAAEA,GAAI;IACTR,SAAS,EAAEJ,UAAU,CAAAkC,eAAA,KAAI9B,SAAS,EAAG,CAAC,CAACA,SAAS,CAAE,CAAE;IACpDC,cAAc;IACdC,WAAW,EAAEA,WAAY;IACzBC,KAAK,EAAEO,WAAY;IACnBN,OAAO,EAAEO,aAAc;IACvBoB,WAAW,EAAEnB;EAAgB,GACzBP,KAAK,GAERN,QACI,CAAC;AAEZ,CAAC;AAED,eAAeF,cAAc"}
@@ -7,4 +7,5 @@ var FunctionLive = function FunctionLive(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionLive;
10
+ export default FunctionLive;
11
+ //# sourceMappingURL=FunctionLive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionLive","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Table/FunctionLive.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionLive = ({ children, ...props }) => {\n return <Index {...props}>{children}</Index>;\n};\n\nexport default FunctionLive;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAA+B;EAAA,IAAzBC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EACxC,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAC7C,CAAC;AAED,eAAeF,YAAY"}
@@ -7,4 +7,5 @@ var FunctionPreview = function FunctionPreview(_ref) {
7
7
  props = _objectWithoutProperties(_ref, _excluded);
8
8
  return /*#__PURE__*/React.createElement(Index, props, children);
9
9
  };
10
- export default FunctionPreview;
10
+ export default FunctionPreview;
11
+ //# sourceMappingURL=FunctionPreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Index","FunctionPreview","_ref","children","props","_objectWithoutProperties","_excluded","createElement"],"sources":["../../../../../luckda/lowcode/view/lc-components/Table/FunctionPreview.jsx"],"sourcesContent":["import React from 'react';\nimport Index from './index';\n\nconst FunctionPreview = ({ children, ...props }) => <Index {...props}>{children}</Index>;\n\nexport default FunctionPreview;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK;AAEZ,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAAA,oBAAOP,KAAA,CAAAQ,aAAA,CAACP,KAAK,EAAKI,KAAK,EAAGD,QAAgB,CAAC;AAAA;AAExF,eAAeF,eAAe"}
@@ -114,4 +114,5 @@ var TopFilter = function TopFilter(_ref) {
114
114
  }, label);
115
115
  }));
116
116
  };
117
- export default TopFilter;
117
+ export default TopFilter;
118
+ //# sourceMappingURL=TopFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","useAsyncEffect","useMemoizedFn","Radio","isArray","isString","formatMessage","request","fetchDataDic","TopFilter","_ref","filter","instance","_useState","_useState2","_slicedToArray","optons","setOptions","_useState3","_useState4","apiField","setApiField","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_yield$request","options","field","_yield$fetchDataDic","code","list","detail","wrap","_callee$","_context","prev","next","sent","key","snamealias","value","label","id","concat","_toConsumableArray","map","_id","sfactvalue","sname","stop","handleValueChange","e","val","target","_key","current","onLdQuery","_defineProperty","operate","_opt","find","_ref3","createElement","Group","defaultValue","buttonStyle","onChange","_ref4","Button"],"sources":["../../../../../../luckda/lowcode/view/lc-components/Table/components/TopFilter.jsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { useAsyncEffect, useMemoizedFn } from 'ahooks';\nimport { Radio } from 'luck-design/antd';\nimport { isArray, isString } from 'lodash';\nimport { formatMessage } from '@luck-design-biz/base/utils';\nimport { request } from '@luck-design-biz/base/utils';\nimport { fetchDataDic } from '../../../../constants/api-url';\n\nconst TopFilter = ({ filter, instance }) => {\n const [optons, setOptions] = useState(isArray(filter) ? filter : []);\n const [apiField, setApiField] = useState(void 0);\n\n useAsyncEffect(async () => {\n if (isString(filter)) {\n const { options, field } = await request(filter);\n setOptions(options);\n setApiField(field);\n } else if (isArray(filter)) {\n setOptions(filter);\n } else if (filter.key && filter.field) {\n const { code, list, detail } = await fetchDataDic({ snamealias: filter.key });\n if (code === 1) {\n setOptions([\n {\n value: 'all',\n label: formatMessage({\n id: `luckda.lowcode.view.lc-components.label.all`,\n label: '全部',\n }),\n },\n ...list.map((_id) => ({\n value: detail[_id].sfactvalue,\n label: detail[_id].sname,\n })),\n ]);\n }\n }\n }, [filter]);\n\n const handleValueChange = useMemoizedFn((e) => {\n const val = e.target.value;\n const _key = apiField || filter.field;\n if (val === 'all') {\n instance.current.onLdQuery({ [_key]: { operate: 'remove' } });\n } else {\n const _opt = optons.find(({ value }) => val === value);\n instance.current.onLdQuery({ [_key]: { key: _key, value: val, label: _opt.label } });\n }\n });\n\n return (\n <Radio.Group defaultValue=\"all\" buttonStyle=\"solid\" onChange={handleValueChange}>\n {optons.map(({ value, label }) => (\n <Radio.Button key={value} value={value}>\n {label}\n </Radio.Button>\n ))}\n </Radio.Group>\n );\n};\n\nexport default TopFilter;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,cAAc,EAAEC,aAAa,QAAQ,QAAQ;AACtD,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,OAAO,EAAEC,QAAQ,QAAQ,QAAQ;AAC1C,SAASC,aA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AAK;IACrC,IAAIyB,GAAG,KAAK,KAAK,EAAE;MACjBzC,QAAQ,CAAC4C,OAAO,CAACC,SAAS,CAAAC,eAAA,KAAIH,IAAI,EAAG;QAAEI,OAAO,EAAE;MAAS,CAAC,CAAE,CAAC;IAC/D,CAAC,MAAM;MACL,IAAMC,IAAI,GAAG5C,MAAM,CAAC6C,IAAI,CAAC,UAAAC,KAAA;QAAA,IAAGrB,KAAK,GAAAqB,KAAA,CAALrB,KAAK;QAAA,OAAOY,GAAG,KAAKZ,KAAK;MAAA,EAAC;MACtD7B,QAAQ,CAAC4C,OAAO,CAACC,SAAS,CAAAC,eAAA,KAAIH,IAAI,EAAG;QAAEhB,GAAG,EAAEgB,IAAI;QAAEd,KAAK,EAAEY,GAAG;QAAEX,KAAK,EAAEkB,IAAI,CAAClB;MAAM,CAAC,CAAE,CAAC;IACtF;EACF,CAAC,CAAC;EAEF,oBACE3C,KAAA,CAAAgE,aAAA,CAAC5D,KAAK,CAAC6D,KAAK;IAACC,YAAY,EAAC,KAAK;IAACC,WAAW,EAAC,OAAO;IAACC,QAAQ,EAAEhB;EAAkB,GAC7EnC,MAAM,CAAC8B,GAAG,CAAC,UAAAsB,KAAA;IAAA,IAAG3B,KAAK,GAAA2B,KAAA,CAAL3B,KAAK;MAAEC,KAAK,GAAA0B,KAAA,CAAL1B,KAAK;IAAA,oBACzB3C,KAAA,CAAAgE,aAAA,CAAC5D,KAAK,CAACkE,MAAM;MAAC9B,GAAG,EAAEE,KAAM;MAACA,KAAK,EAAEA;IAAM,GACpCC,KACW,CAAC;EAAA,CAChB,CACU,CAAC;AAElB,CAAC;AAED,eAAejC,SAAS"}
@@ -422,4 +422,5 @@ export var TopExport = function TopExport(_ref5) {
422
422
  doExportAll(handleExportAll);
423
423
  }
424
424
  }, "\u5BFC\u51FA");
425
- };
425
+ };
426
+ //# sourceMappingURL=TopImex.js.map